isite
Version:
Create High Level Multi-Language Web Site [Fast and Easy]
1 lines • 209 kB
JavaScript
webpackJsonp(["689e"],{"2zgF":function(e,t,i){"use strict";i.d(t,"a",function(){return y});var a=i("m4/l"),n=i("Meme"),s=i("Lrmi"),r=i("yrKf"),o=i("IbTV"),l=i("aCit"),h=i("tjMS"),u=i("Gg2j"),d=i("hGwe"),c=i("v9UT"),p=i("Mtpk"),y=function(e){function t(){var t=e.call(this)||this;return t.pixelRadiusReal=0,t.layout="none",t.className="AxisRendererCircular",t.isMeasured=!1,t.startAngle=-90,t.endAngle=270,t.useChartAngles=!0,t.radius=Object(h.c)(100),t.isMeasured=!1,t.grid.template.location=0,t.labels.template.location=0,t.labels.template.radius=15,t.ticks.template.location=0,t.ticks.template.pixelPerfect=!1,t.tooltipLocation=0,t.line.strokeOpacity=0,t.applyTheme(),t}return a.c(t,e),t.prototype.setAxis=function(t){var i=this;e.prototype.setAxis.call(this,t),t.isMeasured=!1;var a=t.tooltip;a.adapter.add("dx",function(e,t){var a=c.svgPointToSprite({x:t.pixelX,y:t.pixelY},i);return i.pixelRadius*Math.cos(Math.atan2(a.y,a.x))-a.x}),a.adapter.add("dy",function(e,t){var a=c.svgPointToSprite({x:t.pixelX,y:t.pixelY},i);return i.pixelRadius*Math.sin(Math.atan2(a.y,a.x))-a.y})},t.prototype.validate=function(){this.chart&&this.chart.invalid&&this.chart.validate(),e.prototype.validate.call(this)},Object.defineProperty(t.prototype,"axisLength",{get:function(){return 2*Math.PI*this.pixelRadius},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pixelRadius",{get:function(){return c.relativeRadiusToValue(this.radius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!1,!1,10,!1)&&this.axis&&this.axis.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"useChartAngles",{get:function(){return this.getPropertyValue("useChartAngles")},set:function(e){this.setPropertyValue("useChartAngles",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pixelInnerRadius",{get:function(){return c.relativeRadiusToValue(this.innerRadius,this.pixelRadiusReal)||0},enumerable:!0,configurable:!0}),t.prototype.positionToPoint=function(e){var t=this.positionToCoordinate(e),i=this.startAngle+(this.endAngle-this.startAngle)*t/this.axisLength;return{x:this.pixelRadius*u.cos(i),y:this.pixelRadius*u.sin(i)}},t.prototype.positionToAngle=function(e){var t,i=this.axis,a=(this.endAngle-this.startAngle)/(i.end-i.start);return t=i.renderer.inversed?this.startAngle+(i.end-e)*a:this.startAngle+(e-i.start)*a,u.round(t,3)},t.prototype.updateAxisLine=function(){var e=this.pixelRadius,t=this.startAngle,i=this.endAngle-t;this.line.path=d.moveTo({x:e*u.cos(t),y:e*u.sin(t)})+d.arcTo(t,i,e,e)},t.prototype.updateGridElement=function(e,t,i){t+=(i-t)*e.location;var a=this.positionToPoint(t);if(e.element){var n=u.DEGREES*Math.atan2(a.y,a.x),s=c.relativeRadiusToValue(p.hasValue(e.radius)?e.radius:Object(h.c)(100),this.pixelRadius),r=c.relativeRadiusToValue(e.innerRadius,this.pixelRadius);e.zIndex=0;var o=c.relativeRadiusToValue(p.isNumber(r)?r:this.innerRadius,this.pixelRadius,!0);e.path=d.moveTo({x:o*u.cos(n),y:o*u.sin(n)})+d.lineTo({x:s*u.cos(n),y:s*u.sin(n)})}this.toggleVisibility(e,t,0,1)},t.prototype.updateTickElement=function(e,t,i){t+=(i-t)*e.location;var a=this.positionToPoint(t);if(e.element){var n=this.pixelRadius,s=u.DEGREES*Math.atan2(a.y,a.x),r=e.length;e.inside&&(r=-r),e.zIndex=1,e.path=d.moveTo({x:n*u.cos(s),y:n*u.sin(s)})+d.lineTo({x:(n+r)*u.cos(s),y:(n+r)*u.sin(s)})}this.toggleVisibility(e,t,0,1)},t.prototype.updateLabelElement=function(e,t,i,a){p.hasValue(a)||(a=e.location),t+=(i-t)*a;var n=this.positionToPoint(t);e.fixPoint(n,this.pixelRadius),e.zIndex=2,this.positionItem(e,n),this.toggleVisibility(e,t,this.minLabelPosition,this.maxLabelPosition)},t.prototype.fitsToBounds=function(e){return!0},Object.defineProperty(t.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(e){this.setPropertyValue("startAngle",e)&&(this.invalidateAxisItems(),this.axis&&this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(e){this.setPropertyValue("endAngle",e)&&(this.invalidateAxisItems(),this.axis&&this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),t.prototype.getPositionRangePath=function(e,t,i,a,n){var s="";if(p.isNumber(e)&&p.isNumber(t)){p.hasValue(i)||(i=this.radius),e=u.max(e,this.axis.start),(t=u.min(t,this.axis.end))<e&&(t=e);var r=c.relativeRadiusToValue(i,this.pixelRadius),o=c.relativeRadiusToValue(a,this.pixelRadius,!0),l=this.positionToAngle(e),h=this.positionToAngle(t)-l;s=d.arc(l,h,r,o,r,n)}return s},t.prototype.createGrid=function(){return new r.a},t.prototype.createFill=function(e){return new s.a(e)},t.prototype.createLabel=function(){return new o.a},t.prototype.pointToPosition=function(e){var t=u.fitAngleToRange(u.getAngle(e),this.startAngle,this.endAngle);return this.coordinateToPosition((t-this.startAngle)/360*this.axisLength)},t}(n.a);l.b.registeredClasses.AxisRendererCircular=y},IbTV:function(e,t,i){"use strict";i.d(t,"a",function(){return h});var a=i("m4/l"),n=i("TDx+"),s=i("aCit"),r=i("Gg2j"),o=i("Mtpk"),l=i("v9UT"),h=function(e){function t(){var t=e.call(this)||this;return t.fdx=0,t.fdy=0,t.className="AxisLabelCircular",t.padding(0,0,0,0),t.location=.5,t.radius=0,t.isMeasured=!1,t.applyTheme(),t}return a.c(t,e),Object.defineProperty(t.prototype,"relativeRotation",{get:function(){return this.getPropertyValue("relativeRotation")},set:function(e){this.setPropertyValue("relativeRotation",e,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),t.prototype.pixelRadius=function(e){var t=1;return this.inside&&(t=-1),l.relativeToValue(this.radius,e)*t},t.prototype.fixPoint=function(e,t,i){var a=r.DEGREES*Math.atan2(e.y,e.x);o.isNumber(i)||(i=t),this.invalid&&this.validate();var n=this.relativeRotation;this.dy=-this._measuredHeight*(1-(e.y+t)/(2*t)),this.dx=-this._measuredWidth*(1-(e.x+t)/(2*t));var s=this.pixelRadius(t);if(o.isNumber(n)){var l=this.bbox.width,h=this.bbox.height;a>90||a<-90?-90==n&&(n=90,l=0):(-90==n&&(h=-h),90==n&&(n=-90,l=0,h=-h)),this.rotation=n+a+90;var u=r.sin(n)/2,d=r.cos(n)/2,c=this.rotation;this.dx=h*u*r.sin(c)-l*d*r.cos(c),this.dy=-h*u*r.cos(c)-l*d*r.sin(c);var p=this.pixelPaddingBottom,y=this.pixelPaddingTop,g=this.pixelPaddingLeft,f=this.pixelPaddingRight;this.inside?a>90||a<-90?s-=(p+y)*r.cos(n)+(g+f)*r.sin(n):s+=(p+this.bbox.height+y)*r.cos(n)+(g+f+this.bbox.width)*r.sin(n):s+=(h+p+y)*r.cos(n)+(l+g+f)*r.sin(n)}return this.fdx=this.dx,this.fdy=this.dy,e.x+=r.cos(a)*s,e.y+=r.sin(a)*s*i/t,e},t}(n.a);s.b.registeredClasses.AxisLabelCircular=h},Lrmi:function(e,t,i){"use strict";i.d(t,"a",function(){return l});var a=i("m4/l"),n=i("8EhG"),s=i("tjMS"),r=i("aCit"),o=i("Mtpk"),l=function(e){function t(t){var i=e.call(this,t)||this;return i.className="AxisFillCircular",i.element=i.paper.add("path"),i.radius=Object(s.c)(100),i.applyTheme(),i}return a.c(t,e),t.prototype.draw=function(){if(e.prototype.draw.call(this),this.axis){var t=this.axis.renderer;this.fillPath=t.getPositionRangePath(this.startPosition,this.endPosition,this.radius,o.hasValue(this.innerRadius)?this.innerRadius:t.innerRadius,this.cornerRadius),this.path=this.fillPath}},Object.defineProperty(t.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(e){this.setPercentProperty("innerRadius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(e){this.setPercentProperty("radius",e,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(e){this.setPropertyValue("cornerRadius",e,!0)},enumerable:!0,configurable:!0}),t}(n.a);r.b.registeredClasses.AxisFillCircular=l},XFs4:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={};i.d(a,"GaugeChartDataItem",function(){return pe}),i.d(a,"GaugeChart",function(){return ye}),i.d(a,"RadarChartDataItem",function(){return he}),i.d(a,"RadarChart",function(){return ue}),i.d(a,"XYChartDataItem",function(){return K}),i.d(a,"XYChart",function(){return G}),i.d(a,"SerialChartDataItem",function(){return s.b}),i.d(a,"SerialChart",function(){return s.a}),i.d(a,"PieChart3DDataItem",function(){return Se}),i.d(a,"PieChart3D",function(){return Re}),i.d(a,"PieChartDataItem",function(){return _e}),i.d(a,"PieChart",function(){return Ie}),i.d(a,"SlicedChart",function(){return Oe}),i.d(a,"SlicedChartDataItem",function(){return Fe}),i.d(a,"FlowDiagramDataItem",function(){return ke.b}),i.d(a,"FlowDiagram",function(){return ke.a}),i.d(a,"SankeyDiagramDataItem",function(){return we.b}),i.d(a,"SankeyDiagram",function(){return we.a}),i.d(a,"ChordDiagramDataItem",function(){return Be}),i.d(a,"ChordDiagram",function(){return We}),i.d(a,"TreeMapDataItem",function(){return qe}),i.d(a,"TreeMap",function(){return Je}),i.d(a,"XYChart3DDataItem",function(){return at}),i.d(a,"XYChart3D",function(){return nt}),i.d(a,"ChartDataItem",function(){return st.b}),i.d(a,"Chart",function(){return st.a}),i.d(a,"LegendDataItem",function(){return rt.b}),i.d(a,"Legend",function(){return rt.a}),i.d(a,"LegendSettings",function(){return rt.c}),i.d(a,"HeatLegend",function(){return ot.a}),i.d(a,"SeriesDataItem",function(){return A.b}),i.d(a,"Series",function(){return A.a}),i.d(a,"XYSeriesDataItem",function(){return w}),i.d(a,"XYSeries",function(){return L}),i.d(a,"LineSeriesDataItem",function(){return ee}),i.d(a,"LineSeries",function(){return te}),i.d(a,"LineSeriesSegment",function(){return q}),i.d(a,"CandlestickSeriesDataItem",function(){return ht}),i.d(a,"CandlestickSeries",function(){return ut}),i.d(a,"OHLCSeriesDataItem",function(){return ct}),i.d(a,"OHLCSeries",function(){return pt}),i.d(a,"ColumnSeriesDataItem",function(){return Ue}),i.d(a,"ColumnSeries",function(){return He}),i.d(a,"StepLineSeriesDataItem",function(){return gt}),i.d(a,"StepLineSeries",function(){return ft}),i.d(a,"RadarSeriesDataItem",function(){return ie}),i.d(a,"RadarSeries",function(){return ae}),i.d(a,"RadarColumnSeriesDataItem",function(){return xt}),i.d(a,"RadarColumnSeries",function(){return vt}),i.d(a,"PieSeriesDataItem",function(){return Pe}),i.d(a,"PieSeries",function(){return Ce}),i.d(a,"FunnelSeries",function(){return bt.a}),i.d(a,"FunnelSeriesDataItem",function(){return bt.b}),i.d(a,"PyramidSeries",function(){return Pt}),i.d(a,"PyramidSeriesDataItem",function(){return At}),i.d(a,"PictorialStackedSeries",function(){return _t}),i.d(a,"PictorialStackedSeriesDataItem",function(){return Ct}),i.d(a,"PieTick",function(){return Ae}),i.d(a,"FunnelSlice",function(){return It.a}),i.d(a,"PieSeries3DDataItem",function(){return Te}),i.d(a,"PieSeries3D",function(){return Ve}),i.d(a,"TreeMapSeriesDataItem",function(){return Ke}),i.d(a,"TreeMapSeries",function(){return Ge}),i.d(a,"ColumnSeries3DDataItem",function(){return tt}),i.d(a,"ColumnSeries3D",function(){return it}),i.d(a,"ConeSeriesDataItem",function(){return Vt}),i.d(a,"ConeSeries",function(){return St}),i.d(a,"CurvedColumnSeries",function(){return Ot}),i.d(a,"CurvedColumnSeriesDataItem",function(){return Ft}),i.d(a,"AxisDataItem",function(){return u.b}),i.d(a,"Axis",function(){return u.a}),i.d(a,"Grid",function(){return kt.a}),i.d(a,"AxisTick",function(){return wt.a}),i.d(a,"AxisLabel",function(){return Lt.a}),i.d(a,"AxisLine",function(){return Xt.a}),i.d(a,"AxisFill",function(){return Yt.a}),i.d(a,"AxisRenderer",function(){return jt.a}),i.d(a,"AxisBreak",function(){return p.a}),i.d(a,"ValueAxisDataItem",function(){return C.b}),i.d(a,"ValueAxis",function(){return C.a}),i.d(a,"CategoryAxisDataItem",function(){return v}),i.d(a,"CategoryAxis",function(){return b}),i.d(a,"CategoryAxisBreak",function(){return y}),i.d(a,"DateAxisDataItem",function(){return S}),i.d(a,"DateAxis",function(){return R}),i.d(a,"DurationAxisDataItem",function(){return Nt}),i.d(a,"DurationAxis",function(){return Mt}),i.d(a,"DateAxisBreak",function(){return D}),i.d(a,"ValueAxisBreak",function(){return I.a}),i.d(a,"AxisRendererX",function(){return l.a}),i.d(a,"AxisRendererY",function(){return h.a}),i.d(a,"AxisRendererRadial",function(){return le}),i.d(a,"AxisLabelCircular",function(){return ve.a}),i.d(a,"AxisRendererCircular",function(){return re.a}),i.d(a,"AxisFillCircular",function(){return Bt.a}),i.d(a,"GridCircular",function(){return Wt.a}),i.d(a,"AxisRendererX3D",function(){return Qe}),i.d(a,"AxisRendererY3D",function(){return $e}),i.d(a,"Tick",function(){return be.a}),i.d(a,"Bullet",function(){return Xe.a}),i.d(a,"LabelBullet",function(){return Et.a}),i.d(a,"CircleBullet",function(){return zt}),i.d(a,"ErrorBullet",function(){return Ut}),i.d(a,"XYChartScrollbar",function(){return H}),i.d(a,"ClockHand",function(){return ce}),i.d(a,"FlowDiagramNode",function(){return Le.a}),i.d(a,"FlowDiagramLink",function(){return je.a}),i.d(a,"SankeyNode",function(){return Ht.a}),i.d(a,"SankeyLink",function(){return Kt.a}),i.d(a,"ChordNode",function(){return Ye}),i.d(a,"ChordLink",function(){return Me}),i.d(a,"NavigationBarDataItem",function(){return Qt}),i.d(a,"NavigationBar",function(){return $t}),i.d(a,"Column",function(){return Ee.a}),i.d(a,"Candlestick",function(){return lt}),i.d(a,"OHLC",function(){return dt}),i.d(a,"RadarColumn",function(){return mt}),i.d(a,"Column3D",function(){return et.a}),i.d(a,"ConeColumn",function(){return Tt}),i.d(a,"CurvedColumn",function(){return Rt}),i.d(a,"XYCursor",function(){return W}),i.d(a,"Cursor",function(){return N}),i.d(a,"RadarCursor",function(){return se});var n=i("m4/l"),s=i("2I/e"),r=i("C6dT"),o=i("vMqJ"),l=i("k6kv"),h=i("OXm9"),u=i("AAkI"),d=i("aCit"),c=i("+qIf"),p=i("Uslz"),y=function(e){function t(){var t=e.call(this)||this;return t.className="CategoryAxisBreak",t.applyTheme(),t}return n.c(t,e),Object.defineProperty(t.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedStartValue)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.indexToPosition(this.adjustedEndValue)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startCategory",{get:function(){return this.getPropertyValue("startCategory")},set:function(e){this.setPropertyValue("startCategory",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endCategory",{get:function(){return this.getPropertyValue("endCategory")},set:function(e){this.setPropertyValue("endCategory",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startValue",{get:function(){var e=this.getPropertyValue("startCategory");return e?this.axis.categoryToIndex(e):this.getPropertyValue("startValue")},set:function(e){this.setPropertyValue("startValue",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endValue",{get:function(){var e=this.getPropertyValue("endCategory");return e?this.axis.categoryToIndex(e):this.getPropertyValue("endValue")},set:function(e){this.setPropertyValue("endValue",e)&&this.axis&&(this.axis.invalidateDataItems(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),t}(p.a);d.b.registeredClasses.CategoryAxisBreak=y;var g=i("Gg2j"),f=i("Mtpk"),m=i("Wglt"),x=i("x79X"),v=function(e){function t(){var t=e.call(this)||this;return t.adapter=new x.a(t),t.className="CategoryAxisDataItem",t.text="{category}",t.locations.category=0,t.locations.endCategory=1,t.applyTheme(),t}return n.c(t,e),Object.defineProperty(t.prototype,"category",{get:function(){return this.adapter.isEnabled("category")?this.adapter.apply("category",this.properties.category):this.properties.category},set:function(e){this.setProperty("category",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endCategory",{get:function(){return this.properties.endCategory},set:function(e){this.setProperty("endCategory",e)},enumerable:!0,configurable:!0}),t}(u.b),b=function(e){function t(){var t=e.call(this)||this;return t.dataItemsByCategory=new c.a,t.className="CategoryAxis",t.axisFieldName="category",t._lastDataItem=t.createDataItem(),t._lastDataItem.component=t,t._disposers.push(t._lastDataItem),t.applyTheme(),t}return n.c(t,e),t.prototype.createDataItem=function(){return new v},t.prototype.createAxisBreak=function(){return new y},t.prototype.validateDataRange=function(){var i=this;e.prototype.validateDataRange.call(this),m.each(this._series.iterator(),function(e){if(e.xAxis instanceof t&&e.yAxis instanceof t)e.invalidateDataRange();else{var a=i.getSeriesDataItem(e,i.start),n=i.getSeriesDataItem(e,i.end,!0);a?e.startIndex=a.index:e.start=i.start,n?e.endIndex=n.index+1:e.end=i.end,i.axisBreaks.length>0&&e.invalidateDataRange()}})},t.prototype.validate=function(){var t=this;e.prototype.validate.call(this);var i=this.dataItems.length,a=g.fitToRange(Math.floor(this.start*i-1),0,i),n=g.fitToRange(Math.ceil(this.end*i),0,i);this.renderer.invalid&&this.renderer.validate();var s=this.renderer.axisLength/this.renderer.minGridDistance,r=Math.min(this.dataItems.length,Math.ceil((n-a)/s));if(this._startIndex=Math.floor(a/r)*r,this._endIndex=Math.ceil(this.end*i),this.fixAxisBreaks(),this._startIndex==this._endIndex&&this._endIndex++,this._frequency=r,!(this.axisLength<=0)){this.maxZoomFactor=this.dataItems.length,this.dataItems.length<=0&&(this.maxZoomFactor=1),this.resetIterators(),a=g.max(0,this._startIndex-this._frequency),n=g.min(this.dataItems.length,this._endIndex+this._frequency);for(var o=0,l=0;l<a;l++){(u=this.dataItems.getIndex(l)).__disabled=!0}l=n;for(var h=this.dataItems.length;l<h;l++){(u=this.dataItems.getIndex(l)).__disabled=!0}for(l=a;l<n;l++)if(l<this.dataItems.length){var u=this.dataItems.getIndex(l);if(l/this._frequency==Math.round(l/this._frequency))this.isInBreak(l)||(this.appendDataItem(u),this.validateDataElement(u,o)),o++;else this.validateDataElement(u,o),u.__disabled=!0}this.appendDataItem(this._lastDataItem),this.validateDataElement(this._lastDataItem,o+1,this.dataItems.length),this.axisBreaks.each(function(e){var i=e.adjustedStartValue,a=e.adjustedEndValue;if(g.intersect({start:i,end:a},{start:t._startIndex,end:t._endIndex}))for(var n=g.fitToRange(Math.ceil(t._frequency/e.breakSize),1,a-i),s=0,r=i;r<=a;r+=n){var o=t.dataItems.getIndex(r);t.appendDataItem(o),t.validateDataElement(o,s),s++}}),this.validateBreaks(),this.validateAxisRanges(),this.ghostLabel.invalidate(),this.renderer.invalidateLayout()}},t.prototype.validateDataElement=function(t,i,a){e.prototype.validateDataElement.call(this,t);var n=this.renderer;f.isNumber(a)||(a=this.categoryToIndex(t.category));var s=this.categoryToIndex(t.endCategory);f.isNumber(s)||(s=a);var r,o,l,h=this.indexToPosition(a,t.locations.category),u=this.indexToPosition(s,t.locations.endCategory);t.position=h,t.isRange&&(r=s,o=this.indexToPosition(a,t.locations.category),l=this.indexToPosition(r,t.locations.endCategory)),t.point=n.positionToPoint(h);var d=t.tick;d&&!d.disabled&&n.updateTickElement(d,h,u);var c=t.grid;c&&!c.disabled&&n.updateGridElement(c,h,u);var p=t.label;p&&!p.disabled&&(t.isRange&&void 0!=p.text||(t.text=t.text),n.updateLabelElement(p,h,u),(t.label.measuredWidth>this.ghostLabel.measuredWidth||t.label.measuredHeight>this.ghostLabel.measuredHeight)&&(this.ghostLabel.text=t.label.currentText));var y=t.axisFill;y&&!y.disabled&&(t.isRange||(r=a+this._frequency,o=this.indexToPosition(a,y.location),l=this.indexToPosition(r,y.location)),n.updateFillElement(y,o,l),t.isRange||this.fillRule(t,i));var g=t.mask;g&&n.updateFillElement(g,o,l)},t.prototype.processDataItem=function(t,i){e.prototype.processDataItem.call(this,t,i);var a=this.dataItemsByCategory.getKey(t.category);a!=t&&this.dataItems.remove(a),this.dataItemsByCategory.setKey(t.category,t)},t.prototype.indexToPosition=function(e,t){f.isNumber(t)||(t=.5);var i=this.startIndex,a=this.endIndex,n=this.adjustDifference(i,a),s=this.startLocation;n-=s,n-=1-this.endLocation;var r=this.axisBreaks;return m.eachContinue(r.iterator(),function(t){var n=t.adjustedStartValue,s=t.adjustedEndValue;if(e<i)return!1;if(g.intersect({start:n,end:s},{start:i,end:a})){n=Math.max(i,n),s=Math.min(a,s);var r=t.breakSize;e>s?i+=(s-n)*(1-r):e<n||(e=n+(e-n)*r)}return!0}),g.round((e+t-s-i)/n,5)},t.prototype.categoryToPosition=function(e,t){var i=this.categoryToIndex(e);return this.indexToPosition(i,t)},t.prototype.categoryToPoint=function(e,t){var i=this.categoryToPosition(e,t),a=this.renderer.positionToPoint(i),n=this.renderer.positionToAngle(i);return{x:a.x,y:a.y,angle:n}},t.prototype.anyToPoint=function(e,t){return this.categoryToPoint(e,t)},t.prototype.anyToPosition=function(e,t){return this.categoryToPosition(e,t)},t.prototype.categoryToIndex=function(e){if(f.hasValue(e)){var t=this.dataItemsByCategory.getKey(e);if(t)return t.index}},t.prototype.zoomToCategories=function(e,t){this.zoomToIndexes(this.categoryToIndex(e),this.categoryToIndex(t)+1)},t.prototype.getAnyRangePath=function(e,t,i,a){var n=this.categoryToPosition(e,i),s=this.categoryToPosition(t,a);return this.getPositionRangePath(n,s)},t.prototype.roundPosition=function(e,t){var i=this.positionToIndex(e);return this.indexToPosition(i,t)},t.prototype.getSeriesDataItem=function(e,t,i){var a=this;if(f.isNumber(t)){var n=this.positionToIndex(t),s=this.dataItems.getIndex(n);if(s){var r,o=s.category;if(!i){var l=e.dataItems.getIndex(n);return e.xAxis==this&&l.categoryX==o?l:e.yAxis==this&&l.categoryY==o?l:(m.eachContinue(e.dataItems.iterator(),function(t){return e.xAxis==a&&t.categoryX==o?(r=t,!1):e.yAxis!=a||t.categoryY!=o||(r=t,!1)}),r)}for(var h=e.dataItems.length-1;h>=0;h--){var u=e.dataItems.getIndex(h);if(e.xAxis==this&&u.categoryX==o)return u;if(e.yAxis==this&&u.categoryY==o)return u}}}},t.prototype.getX=function(e,t,i){var a;return f.hasValue(t)&&(a=this.categoryToPosition(e.categories[t],i)),f.isNaN(a)?this.basePoint.x:this.renderer.positionToPoint(a).x},t.prototype.getY=function(e,t,i){var a;return f.hasValue(t)&&(a=this.categoryToPosition(e.categories[t],i)),f.isNaN(a)?this.basePoint.y:this.renderer.positionToPoint(a).y},t.prototype.getAngle=function(e,t,i,a){return this.positionToAngle(this.categoryToPosition(e.categories[t],i))},t.prototype.getCellStartPosition=function(e){return this.roundPosition(e,0)},t.prototype.getCellEndPosition=function(e){return this.roundPosition(e,1)},t.prototype.getTooltipText=function(e){var t=this.dataItems.getIndex(this.positionToIndex(e));if(t)return this.adapter.apply("getTooltipText",t.category)},t.prototype.positionToIndex=function(e){(e=g.round(e,10))<0&&(e=0);var t=this.startIndex,i=this.endIndex,a=i-t,n=this.axisBreaks,s=null;return m.eachContinue(n.iterator(),function(n){var r=n.startPosition,o=n.endPosition,l=n.adjustedStartValue,h=n.adjustedEndValue;l=g.max(l,t),h=g.min(h,i);var u=n.breakSize;if(a-=(h-l)*(1-u),e>o)t+=(h-l)*(1-u);else if(!(e<r)){var d=(e-r)/(o-r);return s=l+Math.round(d*(h-l)),!1}return!0}),f.isNumber(s)||(s=Math.floor(e*a+t)),s>=i&&s--,s},t.prototype.getPositionLabel=function(e){var t=this.dataItems.getIndex(this.positionToIndex(e));if(t)return t.category},Object.defineProperty(t.prototype,"basePoint",{get:function(){return this.renderer.positionToPoint(1)},enumerable:!0,configurable:!0}),t.prototype.initRenderer=function(){e.prototype.initRenderer.call(this),this.renderer.baseGrid.disabled=!0},t}(u.a);d.b.registeredClasses.CategoryAxis=b,d.b.registeredClasses.CategoryAxisDataItem=v;var A=i("aM7D"),P=i("Vs7R"),C=i("pR7v"),_=i("hD5A"),I=i("ZoDA"),D=function(e){function t(){var t=e.call(this)||this;return t.className="DateAxisBreak",t.applyTheme(),t}return n.c(t,e),Object.defineProperty(t.prototype,"startDate",{get:function(){return this.getPropertyValue("startDate")},set:function(e){this.setPropertyValue("startDate",e)&&(this.startValue=e.getTime(),this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endDate",{get:function(){return this.getPropertyValue("endDate")},set:function(e){this.setPropertyValue("endDate",e)&&(this.endValue=e.getTime(),this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries()))},enumerable:!0,configurable:!0}),t}(I.a);d.b.registeredClasses.DateAxisBreak=D;var T=i("L91H"),V=i("Qkdp"),S=function(e){function t(){var t=e.call(this)||this;return t.className="DateAxisDataItem",t.applyTheme(),t.values.date={},t.values.endDate={},t}return n.c(t,e),Object.defineProperty(t.prototype,"date",{get:function(){return this.dates.date},set:function(e){this.setDate("date",e),this.value=e.getTime()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endDate",{get:function(){return this.dates.endDate},set:function(e){this.setDate("endDate",e),this.endValue=e.getTime()},enumerable:!0,configurable:!0}),t}(C.b),R=function(e){function t(){var t=e.call(this)||this;return t.gridIntervals=new o.b,t.dateFormats=new c.a,t.periodChangeDateFormats=new c.a,t._baseIntervalReal={timeUnit:"day",count:1},t._minDifference={},t.className="DateAxis",t.setPropertyValue("markUnitChange",!0),t.snapTooltip=!0,t.gridIntervals.pushAll([{timeUnit:"millisecond",count:1},{timeUnit:"millisecond",count:5},{timeUnit:"millisecond",count:10},{timeUnit:"millisecond",count:50},{timeUnit:"millisecond",count:100},{timeUnit:"millisecond",count:500},{timeUnit:"second",count:1},{timeUnit:"second",count:5},{timeUnit:"second",count:10},{timeUnit:"second",count:30},{timeUnit:"minute",count:1},{timeUnit:"minute",count:5},{timeUnit:"minute",count:10},{timeUnit:"minute",count:15},{timeUnit:"minute",count:30},{timeUnit:"hour",count:1},{timeUnit:"hour",count:3},{timeUnit:"hour",count:6},{timeUnit:"hour",count:12},{timeUnit:"day",count:1},{timeUnit:"day",count:2},{timeUnit:"day",count:3},{timeUnit:"day",count:4},{timeUnit:"day",count:5},{timeUnit:"week",count:1},{timeUnit:"month",count:1},{timeUnit:"month",count:2},{timeUnit:"month",count:3},{timeUnit:"month",count:6},{timeUnit:"year",count:1},{timeUnit:"year",count:2},{timeUnit:"year",count:5},{timeUnit:"year",count:10},{timeUnit:"year",count:50},{timeUnit:"year",count:100},{timeUnit:"year",count:200},{timeUnit:"year",count:500},{timeUnit:"year",count:1e3},{timeUnit:"year",count:2e3},{timeUnit:"year",count:5e3},{timeUnit:"year",count:1e4},{timeUnit:"year",count:1e5}]),t.axisFieldName="date",t.applyTheme(),t}return n.c(t,e),t.prototype.fillRule=function(e){var t=e.value,i=e.component,a=i._gridInterval,n=T.getDuration(a.timeUnit,a.count);Math.round((t-i.min)/n)/2==Math.round(Math.round((t-i.min)/n)/2)?e.axisFill.__disabled=!0:e.axisFill.__disabled=!1},t.prototype.applyInternalDefaults=function(){e.prototype.applyInternalDefaults.call(this),this.dateFormats.hasKey("millisecond")||this.dateFormats.setKey("millisecond",this.language.translate("_date_millisecond")),this.dateFormats.hasKey("second")||this.dateFormats.setKey("second",this.language.translate("_date_second")),this.dateFormats.hasKey("minute")||this.dateFormats.setKey("minute",this.language.translate("_date_minute")),this.dateFormats.hasKey("hour")||this.dateFormats.setKey("hour",this.language.translate("_date_hour")),this.dateFormats.hasKey("day")||this.dateFormats.setKey("day",this.language.translate("_date_day")),this.dateFormats.hasKey("week")||this.dateFormats.setKey("week",this.language.translate("_date_day")),this.dateFormats.hasKey("month")||this.dateFormats.setKey("month",this.language.translate("_date_month")),this.dateFormats.hasKey("year")||this.dateFormats.setKey("year",this.language.translate("_date_year")),this.periodChangeDateFormats.hasKey("millisecond")||this.periodChangeDateFormats.setKey("millisecond",this.language.translate("_date_millisecond")),this.periodChangeDateFormats.hasKey("second")||this.periodChangeDateFormats.setKey("second",this.language.translate("_date_second")),this.periodChangeDateFormats.hasKey("minute")||this.periodChangeDateFormats.setKey("minute",this.language.translate("_date_minute")),this.periodChangeDateFormats.hasKey("hour")||this.periodChangeDateFormats.setKey("hour",this.language.translate("_date_hour")),this.periodChangeDateFormats.hasKey("day")||this.periodChangeDateFormats.setKey("day",this.language.translate("_date_day")),this.periodChangeDateFormats.hasKey("week")||this.periodChangeDateFormats.setKey("week",this.language.translate("_date_day")),this.periodChangeDateFormats.hasKey("month")||this.periodChangeDateFormats.setKey("month",this.language.translate("_date_month")+" "+this.language.translate("_date_year"))},t.prototype.createDataItem=function(){return new S},t.prototype.createAxisBreak=function(){return new D},t.prototype.validateDataItems=function(){var t=this.start,i=this.end,a=(this.max-this.min)/this.baseDuration;e.prototype.validateDataItems.call(this),this.maxZoomFactor=(this.max-this.min)/this.baseDuration,t+=(i-t)*(1-a/((this.max-this.min)/this.baseDuration)),this.zoom({start:t,end:i},!1,!0)},t.prototype.handleSelectionExtremesChange=function(){},t.prototype.calculateZoom=function(){var t=this;e.prototype.calculateZoom.call(this);var i=this.chooseInterval(0,this.adjustDifference(this._minZoomed,this._maxZoomed),this._gridCount);T.getDuration(i.timeUnit,i.count)<this.baseDuration&&(i=n.a({},this.baseInterval)),this._gridInterval=i,this._gridDate=T.round(new Date(this.min),i.timeUnit,i.count),this._nextGridUnit=T.getNextUnit(i.timeUnit),this._intervalDuration=T.getDuration(i.timeUnit,i.count);var a=Math.ceil(this._difference/this._intervalDuration);a=Math.floor(this.start*a)-3,T.add(this._gridDate,i.timeUnit,a*i.count),m.each(this.series.iterator(),function(e){if(e.baseAxis==t){var i=e.getAxisField(t),a=e.dataItems.findClosestIndex(t._minZoomed,function(e){return e[i]},"left"),n=e.dataItems.findClosestIndex(t._maxZoomed-1,function(e){return e[i]},"left")+1;e.startIndex=a,e.endIndex=n}})},t.prototype.validateData=function(){e.prototype.validateData.call(this),f.isNumber(this.baseInterval.count)||(this.baseInterval.count=1)},Object.defineProperty(t.prototype,"minDifference",{get:function(){var e=this,t=Number.MAX_VALUE;return this.series.each(function(i){t>e._minDifference[i.uid]&&(t=e._minDifference[i.uid])}),t!=Number.MAX_VALUE&&0!=t||(t=T.getDuration("day")),t},enumerable:!0,configurable:!0}),t.prototype.seriesDataChangeUpdate=function(e){this._minDifference[e.uid]=Number.MAX_VALUE},t.prototype.postProcessSeriesDataItems=function(){var e=this;m.each(this.series.iterator(),function(t){m.each(t.dataItems.iterator(),function(t){e.postProcessSeriesDataItem(t)})}),this.addEmptyUnitsBreaks()},t.prototype.postProcessSeriesDataItem=function(e){var t=this,i=this.baseInterval;V.each(e.dates,function(a){var n=e.getDate(a),s=T.round(T.copy(n),i.timeUnit,i.count),r=T.add(T.copy(s),i.timeUnit,i.count);e.setCalculatedValue(a,s.getTime(),"open"),e.setCalculatedValue(a,r.getTime(),"close"),e.component.dataItemsByAxis.getKey(t.uid).setKey(s.getTime().toString(),e)})},t.prototype.addEmptyUnitsBreaks=function(){var e=this;if(this.skipEmptyPeriods&&f.isNumber(this.min)&&f.isNumber(this.max)){var t=this.baseInterval.timeUnit,i=this.baseInterval.count;this.axisBreaks.clear();for(var a=T.round(new Date(this.min),t,i),n=void 0,s=function(){T.add(a,t,i);var s=a.getTime(),o=s.toString();m.contains(r.series.iterator(),function(t){return!!t.dataItemsByAxis.getKey(e.uid).getKey(o)})?n&&(n.endDate=new Date(s-1),n=void 0):n||((n=r.axisBreaks.create()).startDate=new Date(s))},r=this;a.getTime()<this.max-this.baseDuration;)s()}},t.prototype.fixAxisBreaks=function(){var t=this;e.prototype.fixAxisBreaks.call(this);var i=this._axisBreaks;m.each(i.iterator(),function(e){var i=Math.ceil(t._gridCount*(Math.min(t.end,e.endPosition)-Math.max(t.start,e.startPosition))/(t.end-t.start));e.gridInterval=t.chooseInterval(0,e.adjustedEndValue-e.adjustedStartValue,i);var a=T.round(new Date(e.adjustedStartValue),e.gridInterval.timeUnit,e.gridInterval.count);a.getTime()>e.startDate.getTime()&&T.add(a,e.gridInterval.timeUnit,e.gridInterval.count),e.gridDate=a})},t.prototype.getGridDate=function(e,t){var i=this._gridInterval.timeUnit,a=this._gridInterval.count;T.round(e,i);var n=e.getTime(),s=T.copy(e),r=T.add(s,i,t).getTime(),o=this.isInBreak(r);o&&(s=new Date(o.endDate.getTime()),T.round(s,i,a),s.getTime()<o.endDate.getTime()&&T.add(s,i,a),r=s.getTime());var l=this.adjustDifference(n,r);return Math.round(l/T.getDuration(i))<a?this.getGridDate(e,t+a):s},t.prototype.getBreaklessDate=function(e,t,i){var a=new Date(e.endValue);T.round(a,t,i),T.add(a,t,i);var n=a.getTime();return(e=this.isInBreak(n))?this.getBreaklessDate(e,t,i):a},t.prototype.validateAxisElements=function(){var e=this;if(f.isNumber(this.max)&&f.isNumber(this.min)){this.calculateZoom();var t=this._gridDate.getTime(),i=this._gridInterval.timeUnit,a=this._gridInterval.count,n=T.copy(this._gridDate),s=this._dataItemsIterator;this.resetIterators();for(var r=function(){var e=o.getGridDate(new Date(n),a);t=e.getTime();var r=T.copy(e);r=T.add(r,i,a);var l=o.dateFormats.getKey(i);o.markUnitChange&&n&&T.checkChange(e,n,o._nextGridUnit)&&"year"!==i&&(l=o.periodChangeDateFormats.getKey(i));var h=o.dateFormatter.format(e,l),u=s.find(function(e){return e.text===h});o.appendDataItem(u),u.axisBreak=void 0,u.date=e,u.endDate=r,u.text=h,n=e,o.validateDataElement(u)},o=this;t<=this._maxZoomed;)r();var l=this.renderer;m.each(this.axisBreaks.iterator(),function(t){if(t.breakSize>0){var i=t.gridInterval.timeUnit,a=t.gridInterval.count;if(g.getDistance(t.startPoint,t.endPoint)>4*l.minGridDistance)for(var n,r=t.gridDate.getTime(),o=0,h=function(){var l=T.copy(t.gridDate);if(r=T.add(l,i,a*o).getTime(),o++,r>t.adjustedStartValue&&r<t.adjustedEndValue){var h=T.copy(l);h=T.add(h,i,a);var u=e.dateFormats.getKey(i);e.markUnitChange&&n&&T.checkChange(l,n,e._nextGridUnit)&&"year"!==i&&(u=e.periodChangeDateFormats.getKey(i));var d=e.dateFormatter.format(l,u),c=s.find(function(e){return e.text===d});e.appendDataItem(c),c.axisBreak=t,t.dataItems.moveValue(c),c.date=l,c.endDate=h,c.text=d,n=l,e.validateDataElement(c)}};r<=t.adjustedMax;)h()}})}},t.prototype.validateDataElement=function(e){if(f.isNumber(this.max)&&f.isNumber(this.min)){var t=this.renderer,i=e.value,a=e.endValue;f.isNumber(a)||(a=i);var n=this.valueToPosition(i),s=this.valueToPosition(a),r=s;!e.isRange&&this._gridInterval.count>1&&(s=n+(s-n)/this._gridInterval.count),e.position=n;var o=e.tick;o&&!o.disabled&&t.updateTickElement(o,n,s);var l=e.grid;l&&!l.disabled&&t.updateGridElement(l,n,s);var h=e.axisFill;h&&!h.disabled&&(t.updateFillElement(h,n,r),e.isRange||this.fillRule(e));var u=e.mask;u&&t.updateFillElement(u,n,s);var d=e.label;if(d&&!d.disabled){var c=d.location;0==c&&(c=1!=this._gridInterval.count||"week"==this._gridInterval.timeUnit||e.isRange?0:.5),t.updateLabelElement(d,n,s,c)}}},Object.defineProperty(t.prototype,"baseDuration",{get:function(){return T.getDuration(this.baseInterval.timeUnit,this.baseInterval.count)},enumerable:!0,configurable:!0}),t.prototype.adjustMinMax=function(e,t){return{min:e,max:t,step:this.baseDuration}},t.prototype.fixMin=function(e){return T.round(new Date(e),this.baseInterval.timeUnit,this.baseInterval.count).getTime()+this.baseDuration*this.startLocation},t.prototype.fixMax=function(e){return T.round(new Date(e),this.baseInterval.timeUnit,this.baseInterval.count).getTime()+this.baseDuration*this.endLocation},t.prototype.chooseInterval=function(e,t,i){var a=this.gridIntervals,s=a.getIndex(e),r=T.getDuration(s.timeUnit,s.count),o=a.length-1;if(e>=o)return n.a({},a.getIndex(o));var l=Math.ceil(t/r);return t<r&&e>0?n.a({},a.getIndex(e-1)):l<=i?n.a({},a.getIndex(e)):e+1<a.length?this.chooseInterval(e+1,t,i):n.a({},a.getIndex(e))},t.prototype.formatLabel=function(e){return this.dateFormatter.format(e)},t.prototype.dateToPosition=function(e){return this.valueToPosition(e.getTime())},t.prototype.anyToPosition=function(e){return e instanceof Date?this.dateToPosition(e):this.valueToPosition(e)},t.prototype.dateToPoint=function(e){var t=this.dateToPosition(e),i=this.renderer.positionToPoint(t),a=this.renderer.positionToAngle(t);return{x:i.x,y:i.y,angle:a}},t.prototype.anyToPoint=function(e){return e instanceof Date?this.dateToPoint(e):this.valueToPoint(e)},t.prototype.positionToDate=function(e){return new Date(this.positionToValue(e))},t.prototype.getX=function(e,t,i){var a=this.getTimeByLocation(e,t,i);return f.isNumber(a)||(a=this.baseValue),this.renderer.positionToPoint(this.valueToPosition(a)).x},t.prototype.getY=function(e,t,i){var a=this.getTimeByLocation(e,t,i),n=e.getValue("valueX","stack");return f.isNumber(a)||(a=this.baseValue),this.renderer.positionToPoint(this.valueToPosition(a+n)).y},t.prototype.getAngle=function(e,t,i,a){var n=this.getTimeByLocation(e,t,i),s=e.getValue(a,"stack");return f.isNumber(n)||(n=this.baseValue),this.positionToAngle(this.valueToPosition(n+s))},t.prototype.getTimeByLocation=function(e,t,i){if(f.hasValue(t)){f.isNumber(i)||(i=e.workingLocations[t],f.isNumber(i)||(i=0));var a=e.values[t].open,n=e.values[t].close;return f.isNumber(a)&&f.isNumber(n)?a+(n-a)*i:void 0}},t.prototype.processSeriesDataItem=function(e,t){var i,a=e.component,n=e["date"+t];if(n){i=n.getTime();var s,r=e["openDate"+t],o=this._prevSeriesTime;if(r&&(s=r.getTime()),f.isNumber(s)){var l=Math.abs(i-s);this._minDifference[a.uid]>l&&(this._minDifference[a.uid]=l)}var h=i-o;h>0&&this._minDifference[a.uid]>h&&(this._minDifference[a.uid]=h),this._prevSeriesTime=i}},t.prototype.updateAxisBySeries=function(){e.prototype.updateAxisBySeries.call(this);var t=this.chooseInterval(0,this.minDifference,1);this.minDifference>=T.getDuration("day",27)&&"week"==t.timeUnit&&(t.timeUnit="month",t.count=1),this.minDifference>=T.getDuration("hour",23)&&"hour"==t.timeUnit&&(t.timeUnit="day",t.count=1),this._baseIntervalReal=t},Object.defineProperty(t.prototype,"baseInterval",{get:function(){return this._baseInterval?this._baseInterval:this._baseIntervalReal},set:function(e){this._baseInterval=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"skipEmptyPeriods",{get:function(){return this.getPropertyValue("skipEmptyPeriods")},set:function(e){if(this.setPropertyValue("skipEmptyPeriods",e)&&this.invalidateData(),e){var t=this.axisBreaks.template;t.startLine.disabled=!0,t.endLine.disabled=!0,t.fillShape.disabled=!0,t.breakSize=0}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipDateFormat",{get:function(){return this.getPropertyValue("tooltipDateFormat")},set:function(e){this.setPropertyValue("tooltipDateFormat",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"markUnitChange",{get:function(){return this.getPropertyValue("markUnitChange")},set:function(e){this.setPropertyValue("markUnitChange",e)&&this.invalidateData()},enumerable:!0,configurable:!0}),t.prototype.getTooltipText=function(e){var t,i=this.positionToDate(e);if(i=T.round(i,this.baseInterval.timeUnit,this.baseInterval.count),f.hasValue(this.tooltipDateFormat))t=this.dateFormatter.format(i,this.tooltipDateFormat);else{var a=this.dateFormats.getKey(this.baseInterval.timeUnit);t=a?this.dateFormatter.format(i,a):this.getPositionLabel(e)}return this.adapter.apply("getTooltipText",t)},t.prototype.roundPosition=function(e,t){var i=this.baseInterval,a=i.timeUnit,n=i.count,s=this.positionToDate(e);if(T.round(s,a,n),t>0&&T.add(s,a,t*n),this.isInBreak(s.getTime()))for(;s.getTime()<this.max&&(T.add(s,a,n),this.isInBreak(s.getTime())););return this.dateToPosition(s)},t.prototype.getCellStartPosition=function(e){return this.roundPosition(e,0)},t.prototype.getCellEndPosition=function(e){return this.roundPosition(e,1)},t.prototype.getSeriesDataItem=function(e,t,i){var a=this.positionToValue(t),n=T.round(new Date(a),this.baseInterval.timeUnit,this.baseInterval.count),s=e.dataItemsByAxis.getKey(this.uid).getKey(n.getTime().toString());if(!s&&i){for(var r=0,o=void 0,l=new Date(n.getTime());l.getTime()>this.minZoomed&&(l=T.add(l,this.baseInterval.timeUnit,-this.baseInterval.count),!(o=e.dataItemsByAxis.getKey(this.uid).getKey(l.getTime().toString())))&&!(++r>5e3););for(var h=0,u=void 0,d=new Date(n.getTime());d.getTime()<this.maxZoomed&&(d=T.add(d,this.baseInterval.timeUnit,this.baseInterval.count),!(u=e.dataItemsByAxis.getKey(this.uid).getKey(d.getTime().toString())))&&!(++h>5e3););if(o&&!u)return o;if(!o&&u)return u;if(o&&u)return r<h?o:u}return s},t.prototype.getPositionLabel=function(e){var t=this.positionToDate(e);return this.dateFormatter.format(t,this.getCurrentLabelFormat())},t.prototype.getCurrentLabelFormat=function(){return this.dateFormats.getKey(this._gridInterval?this._gridInterval.timeUnit:"day")},t.prototype.initRenderer=function(){e.prototype.initRenderer.call(this);var t=this.renderer;t&&(t.ticks.template.location=0,t.grid.template.location=0,t.labels.template.location=0,t.baseGrid.disabled=!0)},Object.defineProperty(t.prototype,"basePoint",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),t.prototype.zoomToDates=function(e,t,i,a){e=this.dateFormatter.parse(e),t=this.dateFormatter.parse(t),this.zoomToValues(e.getTime(),t.getTime(),i,a)},t.prototype.asIs=function(t){return"baseInterval"==t||e.prototype.asIs.call(this,t)},t.prototype.copyFrom=function(t){e.prototype.copyFrom.call(this,t),this.dateFormats=t.dateFormats,this.periodChangeDateFormats=t.periodChangeDateFormats,t._baseInterval&&(this.baseInterval=t.baseInterval)},t.prototype.showTooltipAtPosition=function(t,i){var a=this;if(i||(t=this.toAxisPosition(t)),this.snapTooltip){var n,s=T.round(this.positionToDate(t),this.baseInterval.timeUnit,1).getTime();this.series.each(function(e){var i=a.getSeriesDataItem(e,t,!0);if(i){var r=void 0;e.xAxis==a&&(r=i.dateX),e.yAxis==a&&(r=i.dateY),n?Math.abs(n.getTime()-s)>Math.abs(r.getTime()-s)&&(n=r):n=r}}),n&&(n=T.round(new Date(n.getTime()),this.baseInterval.timeUnit,this.baseInterval.count),n=new Date(n.getTime()+this.baseDuration/2),t=this.dateToPosition(n))}e.prototype.showTooltipAtPosition.call(this,t,!0);var r=this.toGlobalPosition(t);this.series.each(function(e){e.xAxis==a&&e.showTooltipAtPosition(r,void 0),e.yAxis==a&&e.showTooltipAtPosition(void 0,r)})},Object.defineProperty(t.prototype,"snapTooltip",{get:function(){return this.getPropertyValue("snapTooltip")},set:function(e){this.setPropertyValue("snapTooltip",e)},enumerable:!0,configurable:!0}),t}(C.a);d.b.registeredClasses.DateAxis=R,d.b.registeredClasses.DateAxisDataItem=S;var F=i("v9UT"),O=i("hJ5i"),k=i("hGwe"),w=function(e){function t(){var t=e.call(this)||this;return t.className="XYSeriesDataItem",t.values.valueX={stack:0},t.values.valueY={stack:0},t.values.openValueX={},t.values.openValueY={},t.values.dateX={},t.values.dateY={},t.values.openDateX={},t.values.openDateY={},t.setLocation("dateX",.5,0),t.setLocation("dateY",.5,0),t.setLocation("categoryX",.5,0),t.setLocation("categoryY",.5,0),t.applyTheme(),t}return n.c(t,e),Object.defineProperty(t.prototype,"valueX",{get:function(){return this.values.valueX.value},set:function(e){this.setValue("valueX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueY",{get:function(){return this.values.valueY.value},set:function(e){this.setValue("valueY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateX",{get:function(){return this.getDate("dateX")},set:function(e){this.setDate("dateX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateY",{get:function(){return this.getDate("dateY")},set:function(e){this.setDate("dateY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"categoryX",{get:function(){return this.categories.categoryX},set:function(e){this.setCategory("categoryX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"categoryY",{get:function(){return this.categories.categoryY},set:function(e){this.setCategory("categoryY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openValueX",{get:function(){return this.values.openValueX.value},set:function(e){this.setValue("openValueX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openValueY",{get:function(){return this.values.openValueY.value},set:function(e){this.setValue("openValueY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openDateX",{get:function(){return this.getDate("openDateX")},set:function(e){this.setDate("openDateX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openDateY",{get:function(){return this.getDate("openDateY")},set:function(e){this.setDate("openDateY",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openCategoryX",{get:function(){return this.categories.openCategoryX},set:function(e){this.setProperty("openCategoryX",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openCategoryY",{get:function(){return this.categories.openCategoryY},set:function(e){this.setProperty("openCategoryY",e)},enumerable:!0,configurable:!0}),t.prototype.getMin=function(e,t,i){var a,n=this;return f.isNumber(i)||(i=0),O.each(e,function(e){var s;s=t?n.getWorkingValue(e):n.getValue(e),((s+=i)<a||!f.isNumber(a))&&(a=s)}),a},t.prototype.getMax=function(e,t,i){var a,n=this;return f.isNumber(i)||(i=0),O.each(e,function(e){var s;s=t?n.getWorkingValue(e):n.getValue(e),((s+=i)>a||!f.isNumber(a))&&(a=s)}),a},t}(A.b),L=function(e){function t(){var t=e.call(this)||this;return t._xAxis=new _.d,t._yAxis=new _.d,t._xValueFields=[],t._yValueFields=[],t.className="XYSeries",t.isMeasured=!1,t.cursorTooltipEnabled=!0,t.mainContainer.mask=new P.a,t.mainContainer.mask.setElement(t.paper.add("path")),t.stacked=!1,t.snapTooltip=!1,t.tooltip.pointerOrientation="horizontal",t.tooltip.events.on("hidden",function(){t.returnBulletDefaultState()},void 0,!1),t._disposers.push(t._xAxis),t._disposers.push(t._yAxis),t.applyTheme(),t}return n.c(t,e),t.prototype.applyInternalDefaults=function(){e.prototype.applyInternalDefaults.call(this),f.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("X/Y Series"))},t.prototype.createDataItem=function(){return new w},t.prototype.dataChangeUpdate=function(){this._tmin.clear(),this._tmax.clear(),this._smin.clear(),this._smax.clear(),this.xAxis&&this.xAxis.seriesDataChangeUpdate(this),this.yAxis&&this.yAxis.seriesDataChangeUpdate(this)},t.prototype.validateData=function(){if(this.defineFields(),this.data.length>0&&this.dataChangeUpdate(),e.prototype.validateData.call(this),this.updateItemReaderText(),!f.hasValue(this.dataFields[this._xField])||!f.hasValue(this.dataFields[this._yField]))throw Error('Data fields for series "'+(this.name?this.name:this.uid)+'" are not properly defined.')},t.prototype.processDataItem=function(t,i){try{e.prototype.processDataItem.call(this,t,i),t.events.disable(),this.xAxis.processSeriesDataItem(t,"X"),this.yAxis.processSeriesDataItem(t,"Y"),t.events.enable(),this.setInitialWorkingValues(t)}catch(e){this._chart.raiseCriticalError(e)}},t.prototype.setInitialWorkingValues=function(e){},t.prototype.disposeData=function(){if(e.prototype.disposeData.call(this),this.xAxis){var t=this.dataItemsByAxis.getKey(this.xAxis.uid);t&&t.clear()}if(this.yAxis){var i=this.dataItemsByAxis.getKey(this.yAxis.uid);i&&i.clear()}},t.prototype.defineFields=function(){var e=this.xAxis,t=this.yAxis,i=e.axisFieldName,a=i+"X",n="open"+F.capitalize(i)+"X",s=t.axisFieldName,r=s+"Y",o="open"+F.capitalize(s)+"Y";this._xField=a,this._yField=r,this.dataFields[n]&&(this._xOpenField=n),this.dataFields[o]&&(this._yOpenField=o),this.dataFields[o]||this.baseAxis!=this.yAxis||(this._yOpenField=r),this.dataFields[n]||this.baseAxis!=this.xAxis||(this._xOpenField=a),this.stacked&&this.baseAxis==this.xAxis&&(this._xOpenField=a),this.stacked&&this.baseAxis==this.yAxis&&(this._yOpenField=r),this.xAxis instanceof b&&this.yAxis instanceof b&&(this._yOpenField||(this._yOpenField=r)),this._xValueFields=[],this._yValueFields=[],this.addValueField(this.xAxis,this._xValueFields,this._xField),this.addValueField(this.xAxis,this._xValueFields,this._xOpenField),this.addValueField(this.yAxis,this._yValueFields,this._yField),this.addValueField(this.yAxis,this._yValueFields,this._yOpenField)},t.prototype.addValueField=function(e,t,i){e instanceof C.a&&f.hasValue(this.dataFields[i])&&-1==t.indexOf(i)&&t.push(i)},t.prototype.setCategoryAxisField=function(e,t){f.hasValue(this.dataFields[e])||(this.dataFields[e]=t.dataFields.category)},t.prototype.setDateAxisField=function(e,t){f.hasValue(this.dataFields[e])||(this.dataFields[e]=t.dataFields.date)},t.prototype.afterDraw=function(){e.prototype.afterDraw.call(this),this.createMask()},t.prototype.createMask=function(){if(this.mainContainer.mask){var e=this.getMaskPath();m.each(this.axisRanges.iterator(),function(t){t.axisFill.fillPath&&(t.axisFill.validate(),e+=t.axisFill.fillPath)}),this.mainContainer.mask.path=e}},t.prototype.getMaskPath=function(){return k.rectToPath({x:0,y:0,width:this.xAxis.axisLength,height:this.yAxis.axisLength})},t.prototype.getAxisField=function(e){return e==this.xAxis?this.xField:e==this.yAxis?this.yField:void 0},t.prototype.validateDataItems=function(){this.xAxis.updateAxisBySeries(),this.yAxis.updateAxisBySeries(),e.prototype.validateDataItems.call(this),this.xAxis.postProcessSeriesDa