/** * @license * Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris) * * This sofware is provided under multiple licenses. Please see below for * links to appropriate usage. * * Free amCharts linkware license. Details and conditions: * https://github.com/amcharts/amcharts4/blob/master/LICENSE * * One of the amCharts commercial licenses. Details and pricing: * https://www.amcharts.com/online-store/ * https://www.amcharts.com/online-store/licenses-explained/ * * If in doubt, contact amCharts at contact@amcharts.com * * PLEASE DO NOT REMOVE THIS COPYRIGHT NOTICE. * @hidden */!function(t){var e=window.am4internal_webpackJsonp;window.am4internal_webpackJsonp=function(i,o,a){for(var s,u,l,h=0,c=[];h0?(n=i/u)*n:i;return u===1/0?1/0:u*Math.sqrt(o)}})},"/Xnt":function(t,e,i){"use strict";var n=i("T9LF"),r=i("Gb1H"),o=i("wDk4"),a=i("cA+3"),s=i("kFp5"),u=i("hpnp"),l=i("ypVE"),h=i("DvJ+"),c=i("AEc5"),p=i("ID9o"),d=i("bPwn"),f=i("6/bx");t.exports=function(t,e,i,g,m,y){var v=n[t],b=v,x=m?"set":"add",_=b&&b.prototype,P={},w=function(t){var e=_[t];o(_,t,"delete"==t?function(t){return!(y&&!h(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!h(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!h(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,i){return e.call(this,0===t?0:t,i),this})};if("function"==typeof b&&(y||_.forEach&&!c(function(){(new b).entries().next()}))){var O=new b,S=O[x](y?{}:-0,1)!=O,T=c(function(){O.has(1)}),C=p(function(t){new b(t)}),k=!y&&c(function(){for(var t=new b,e=5;e--;)t[x](e,e);return!t.has(-0)});C||((b=e(function(e,i){l(e,b,t);var n=f(new v,e,b);return void 0!=i&&u(i,m,n[x],n),n})).prototype=_,_.constructor=b),(T||k)&&(w("delete"),w("has"),m&&w("get")),(k||S)&&w(x),y&&_.clear&&delete _.clear}else b=g.getConstructor(e,t,m,x),a(b.prototype,i),s.NEED=!0;return d(b,t),P[t]=b,r(r.G+r.W+r.F*(b!=v),P),y||g.setStrong(b,t,m),b}},"/dMO":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("sc+R");n(n.P+n.F*!i("GQop")([].reduce,!0),"Array",{reduce:function(t){return r(this,t,arguments.length,arguments[1],!1)}})},"/e9j":function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("sxA1"),o=i("3/51"),a=i("aCit"),s=function(t){function e(){var e=t.call(this)||this;return e.className="LinearGradientModifier",e.gradient=new r.a,e.applyTheme(),e}return n.c(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(o.a);a.c.registeredClasses.LinearGradientModifier=s},0:function(t,e,i){i("bcCe"),t.exports=i("Nv8/")},"0B2R":function(t,e,i){var n=i("Gb1H");n(n.S,"Object",{setPrototypeOf:i("7GtY").set})},"0C8c":function(t,e){var i=Math.expm1;t.exports=!i||i(10)>22025.465794806718||i(10)<22025.465794806718||-2e-17!=i(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:i},"0Czv":function(t,e,i){"use strict";i("Mvcd")("sup",function(t){return function(){return t(this,"sup","","")}})},"0FpR":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.linear=o,e.quadIn=a,e.quadOut=s,e.quadInOut=u,e.polyIn=l,e.polyOut=h,e.polyInOut=c,e.polyIn3=p,e.polyOut3=d,e.polyInOut3=f,e.expIn=g,e.expOut=m,e.expInOut=y,e.sinIn=v,e.sinOut=b,e.sinInOut=x,e.cubicIn=_,e.cubicOut=P,e.cubicInOut=w,e.circleIn=O,e.circleOut=S,e.circleInOut=T,e.bounceIn=R,e.bounceOut=L,e.bounceInOut=N,e.elasticIn=W,e.elasticOut=U,e.elasticInOut=z;var n=i("Gg2j"),r=i("aCit");function o(t){return+t}function a(t){return t*t}function s(t){return t*(2-t)}function u(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function l(t,e){return Math.pow(t,e)}function h(t,e){return 1-Math.pow(1-t,e)}function c(t,e){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}function p(t){return l(t,3)}function d(t){return h(t,3)}function f(t){return c(t,3)}function g(t){return Math.pow(2,10*t-10)}function m(t){return 1-Math.pow(2,-10*t)}function y(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function v(t){return 1-Math.cos(t*n.HALFPI)}function b(t){return Math.sin(t*n.HALFPI)}function x(t){return(1-Math.cos(n.PI*t))/2}function _(t){return t*t*t}function P(t){return--t*t*t+1}function w(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function O(t){return 1-Math.sqrt(1-t*t)}function S(t){return Math.sqrt(1- --t*t)}function T(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}r.c.registeredClasses["ease.linear"]=o,r.c.registeredClasses["ease.quadIn"]=a,r.c.registeredClasses["ease.quadOut"]=s,r.c.registeredClasses["ease.quadInOut"]=u,r.c.registeredClasses["ease.polyIn"]=l,r.c.registeredClasses["ease.polyOut"]=h,r.c.registeredClasses["ease.polyInOut"]=c,r.c.registeredClasses["ease.polyIn3"]=p,r.c.registeredClasses["ease.polyOut3"]=d,r.c.registeredClasses["ease.polyInOut3"]=f,r.c.registeredClasses["ease.expIn"]=g,r.c.registeredClasses["ease.expOut"]=m,r.c.registeredClasses["ease.expInOut"]=y,r.c.registeredClasses["ease.sinIn"]=v,r.c.registeredClasses["ease.sinOut"]=b,r.c.registeredClasses["ease.sinInOut"]=x,r.c.registeredClasses["ease.cubicIn"]=_,r.c.registeredClasses["ease.cubicOut"]=P,r.c.registeredClasses["ease.cubicInOut"]=w,r.c.registeredClasses["ease.circleIn"]=O,r.c.registeredClasses["ease.circleOut"]=S,r.c.registeredClasses["ease.circleInOut"]=T;var C=4/11,k=6/11,I=8/11,D=.75,V=9/11,M=10/11,j=.9375,A=21/22,F=63/64,E=1/C/C;function R(t){return 1-L(1-t)}function L(t){return(t=+t)0){var i=e.maxZoomFactor/e.maxZoomCount;if(b.round(e.end-e.start,3)<1/i)return t=!0,!1}else if(0!=b.round(e.start,3)||1!=b.round(e.end,3))return t=!0,!1;return!0}),x.eachContinue(this.yAxes.iterator(),function(e){if(e.toggleZoomOutButton){if(e.maxZoomCount>0){var i=e.maxZoomFactor/e.maxZoomCount;if(b.round(e.end-e.start,3)<1/i)return t=!0,!1}else if(0!=b.round(e.start,3)||1!=b.round(e.end,3))return t=!0,!1;return!0}}),this.seriesAppeared||(t=!1),t?this.zoomOutButton.show():this.zoomOutButton.hide()}},e.prototype.seriesAppeared=function(){var t=!1;return x.each(this.series.iterator(),function(e){if(!e.appeared)return t=!1,!1}),t},e.prototype.handleYAxisRangeChange=function(){var t=this.getCommonAxisRange(this.yAxes);this.scrollbarY&&this.zoomAxes(this.yAxes,t,!0),this.toggleZoomOutButton(),this.updateScrollbar(this.scrollbarY,t)},e.prototype.updateScrollbar=function(t,e){t&&(t.skipRangeEvents(),t.start=e.start,t.end=e.end)},e.prototype.getCommonAxisRange=function(t){var e,i;return x.each(t.iterator(),function(t){var n=t.start,r=t.end;t.renderer.inversed&&(n=1-t.end,r=1-t.start),(!_.isNumber(e)||ni)&&(i=r)}),{start:e,end:i}},e.prototype.updateXAxis=function(t){var e=t.axis;t.opposite?(e.parent=this.topAxesContainer,e.toFront()):(e.parent=this.bottomAxesContainer,e.toBack()),e.renderer&&e.renderer.processRenderer()},e.prototype.updateYAxis=function(t){var e=t.axis;t.opposite?(e.parent=this.rightAxesContainer,e.toBack()):(e.parent=this.leftAxesContainer,e.toFront()),e.renderer&&e.renderer.processRenderer()},e.prototype.processAxis=function(t){var e=this;t instanceof p.a&&this._dataUsers.moveValue(t);var i=t.renderer;i.gridContainer.parent=this.plotContainer,i.gridContainer.toBack(),i.breakContainer.parent=this.plotContainer,i.breakContainer.toFront(),i.breakContainer.zIndex=10,t.addDisposer(new f.b(function(){e.dataUsers.removeValue(t)})),i.bulletsContainer.parent=this.axisBulletsContainer,this._disposers.push(t.events.on("positionchanged",function(){var n=P.spritePointToSprite({x:0,y:0},t,e.axisBulletsContainer);t.renderer instanceof c.a&&(i.bulletsContainer.y=n.y),t.renderer instanceof h.a&&(i.bulletsContainer.x=n.x)},void 0,!1)),this.plotContainer.events.on("maxsizechanged",function(){e.inited&&(t.invalidateDataItems(),e.updateSeriesMasks())},t,!1)},e.prototype.updateSeriesMasks=function(){P.isIE()&&this.series.each(function(t){var e=t.mainContainer.mask;t.mainContainer.mask=void 0,t.mainContainer.mask=e})},Object.defineProperty(e.prototype,"xAxes",{get:function(){return this._xAxes||(this._xAxes=new a.b,this._xAxes.events.on("inserted",this.processXAxis,this,!1),this._xAxes.events.on("removed",this.handleAxisRemoval,this,!1)),this._xAxes},enumerable:!0,configurable:!0}),e.prototype.handleAxisRemoval=function(t){var e=t.oldValue;this.dataUsers.removeValue(e),e.autoDispose&&e.dispose()},Object.defineProperty(e.prototype,"yAxes",{get:function(){return this._yAxes||(this._yAxes=new a.b,this._yAxes.events.on("inserted",this.processYAxis,this,!1),this._yAxes.events.on("removed",this.handleAxisRemoval,this,!1)),this._yAxes},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(e){try{t.prototype.handleSeriesAdded.call(this,e);var i=e.newValue;0!=this.xAxes.length&&0!=this.yAxes.length||(y.c.removeFromInvalidComponents(i),i.dataInvalid=!1),P.used(i.xAxis),P.used(i.yAxis),i.maskBullets=i.maskBullets,void 0==i.fill&&(this.patterns?(_.hasValue(i.stroke)||(i.stroke=this.colors.next()),i.fill=this.patterns.next(),_.hasValue(i.fillOpacity)&&(i.fill.backgroundOpacity=i.fillOpacity),i.stroke instanceof s.a&&(i.fill.stroke=i.stroke,i.fill.fill=i.stroke)):i.fill=this.colors.next()),_.hasValue(i.stroke)||(i.stroke=i.fill)}catch(t){this.raiseCriticalError(t)}},Object.defineProperty(e.prototype,"cursor",{get:function(){return this._cursor},set:function(t){this._cursor!=t&&(this._cursor&&this.removeDispose(this._cursor),this._cursor=t,t&&(this._disposers.push(t),t.chart=this,t.shouldClone=!1,t.parent=this._cursorContainer,t.events.on("cursorpositionchanged",this.handleCursorPositionChange,this,!1),t.events.on("zoomstarted",this.handleCursorZoomStart,this,!1),t.events.on("zoomended",this.handleCursorZoomEnd,this,!1),t.events.on("panstarted",this.handleCursorPanStart,this,!1),t.events.on("panning",this.handleCursorPanning,this,!1),t.events.on("panended",this.handleCursorPanEnd,this,!1),t.events.on("behaviorcanceled",this.handleCursorCanceled,this,!1),t.events.on("hidden",this.handleHideCursor,this,!1),t.zIndex=Number.MAX_SAFE_INTEGER-1,this.tapToActivate&&this.setTapToActivate(this.tapToActivate)))},enumerable:!0,configurable:!0}),e.prototype.handleCursorPositionChange=function(){var t=this.cursor;if(t.visible&&!t.isHiding){var e=this.cursor.xPosition,i=this.cursor.yPosition;this.showSeriesTooltip({x:e,y:i});var n=void 0,r=t.snapToSeries;if(r){r.baseAxis==r.xAxis&&(n=r.yAxis),r.baseAxis==r.yAxis&&(n=r.xAxis);var o=r.xAxis,a=r.yAxis;if(o instanceof u.a&&!(o instanceof l.a)&&a instanceof u.a&&!(a instanceof l.a)){var s,h=1/0;r.dataItems.each(function(t){var n=o.toGlobalPosition(o.getPositionX(t,"valueX"))*o.axisFullLength,r=a.toGlobalPosition(a.getPositionY(t,"valueY"))*a.axisFullLength,u=Math.sqrt(Math.pow(e*o.axisFullLength-n,2)+Math.pow(i*a.axisFullLength-r,2));u0){var g=s.y,m=u.y;P.spritePointToDocument({x:0,y:g},this);var y=!1;if(d>g+(m-g)/2)for(var v=m,x=t.length-1;x>=0;x--){var S=(I=t[x].series).tooltip,T=t[x].point.y;if(S.setBounds({x:0,y:-f,width:this.pixelWidth,height:v+f}),S.invalid&&S.validate(),S.toBack(),(v=P.spritePointToSvg({x:0,y:S.label.pixelY-S.pixelY+T-S.pixelMarginTop},S).y)<-f){y=!0;break}}if(d<=g+(m-g)/2||y)for(var C=g,k=(x=0,t.length);x0||t.dataItems.length>0)&&t.showTooltipAtPosition(e)})},e.prototype.getUpdatedRange=function(t,e){if(t){var i,n;t.renderer.inversed?(b.invertRange(e),i=1-t.end,n=1-t.start):(i=t.start,n=t.end);var r=n-i;return{start:i+e.start*r,end:i+e.end*r}}},e.prototype.handleCursorZoomEnd=function(t){var e=this.cursor,i=e.behavior;if("zoomX"==i||"zoomXY"==i){var n=e.xRange;n&&this.xAxes.length>0&&((n=this.getUpdatedRange(this.xAxes.getIndex(0),n)).priority="start",this.zoomAxes(this.xAxes,n))}if("zoomY"==i||"zoomXY"==i){var r=e.yRange;r&&this.yAxes.length>0&&((r=this.getUpdatedRange(this.yAxes.getIndex(0),r)).priority="start",this.zoomAxes(this.yAxes,r))}this.handleHideCursor()},e.prototype.handleCursorPanStart=function(t){var e=this.xAxes.getIndex(0);e&&(this._panStartXRange={start:e.start,end:e.end});var i=this.yAxes.getIndex(0);i&&(this._panStartYRange={start:i.start,end:i.end})},e.prototype.handleCursorPanEnd=function(t){var e=this.cursor.behavior;if(this._panEndXRange&&("panX"==e||"panXY"==e)){var i=0;(n=this._panEndXRange).start<0&&(i=n.start),n.end>1&&(i=n.end-1),this.zoomAxes(this.xAxes,{start:n.start-i,end:n.end-i},!1,!0),this._panEndXRange=void 0,this._panStartXRange=void 0}if(this._panEndYRange&&("panY"==e||"panXY"==e)){var n;i=0;(n=this._panEndYRange).start<0&&(i=n.start),n.end>1&&(i=n.end-1),this.zoomAxes(this.yAxes,{start:n.start-i,end:n.end-i},!1,!0),this._panEndYRange=void 0,this._panStartYRange=void 0}},e.prototype.handleCursorCanceled=function(){this._panEndXRange=void 0,this._panStartXRange=void 0},e.prototype.handleCursorPanning=function(t){var e=this.cursor,i=e.behavior,n=e.maxPanOut;if(this._panStartXRange&&("panX"==i||"panXY"==i)){var r=this._panStartXRange,o=e.xRange,a=this.getCommonAxisRange(this.xAxes),s=r.end-r.start,u=o.start*(a.end-a.start),l=Math.max(-n,u+r.start),h=Math.min(u+r.end,1+n);l<=0&&(h=l+s),h>=1&&(l=h-s);var c={start:l,end:h};this._panEndXRange=c,this.zoomAxes(this.xAxes,c,!1,!1,e.maxPanOut)}if(this._panStartYRange&&("panY"==i||"panXY"==i)){r=this._panStartYRange,o=e.yRange,a=this.getCommonAxisRange(this.yAxes),s=r.end-r.start,u=o.start*(a.end-a.start),l=Math.max(-n,u+r.start),h=Math.min(u+r.end,1+n);l<=0&&(h=l+s),h>=1&&(l=h-s);c={start:l,end:h};this._panEndYRange=c,this.zoomAxes(this.yAxes,c,!1,!1,e.maxPanOut)}this.handleHideCursor()},e.prototype.handleYAxisSet=function(t){},e.prototype.handleCursorZoomStart=function(t){},Object.defineProperty(e.prototype,"scrollbarX",{get:function(){return this._scrollbarX},set:function(t){var e=this;this._scrollbarX&&this.removeDispose(this._scrollbarX),this._scrollbarX=t,t&&(this._disposers.push(t),t.parent=this.topAxesContainer,t.shouldClone=!1,t.startGrip.exportable=!1,t.endGrip.exportable=!1,t.toBack(),t.orientation="horizontal",t.events.on("rangechanged",this.handleXScrollbarChange,this,!1),t.adapter.add("positionValue",function(t){var i=e.xAxes.getIndex(0);return i&&(t.value=i.getPositionLabel(i.renderer.inversed?1-t.position:t.position)),t}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollbarY",{get:function(){return this._scrollbarY},set:function(t){var e=this;this._scrollbarY&&this.removeDispose(this._scrollbarY),this._scrollbarY=t,t&&(this._disposers.push(t),t.parent=this.rightAxesContainer,t.startGrip.exportable=!1,t.shouldClone=!1,t.endGrip.exportable=!1,t.toFront(),t.orientation="vertical",t.events.on("rangechanged",this.handleYScrollbarChange,this,!1),t.adapter.add("positionValue",function(t){var i=e.yAxes.getIndex(0);return i&&(t.value=i.getPositionLabel(t.position)),t}))},enumerable:!0,configurable:!0}),e.prototype.handleXScrollbarChange=function(t){if(this.inited){var e=t.target,i=e.range;0==i.start&&(i.priority="start"),1==i.end&&(i.priority="end"),i=this.zoomAxes(this.xAxes,i),e.fixRange(i)}},e.prototype.handleYScrollbarChange=function(t){if(this.inited){var e=t.target,i=e.range;1==i.end&&(i.priority="end"),0==i.start&&(i.priority="start"),i=this.zoomAxes(this.yAxes,i),e.fixRange(i)}},e.prototype.zoomAxes=function(t,e,i,n,r){var o={start:0,end:1};return this.showSeriesTooltip(),this.dataInvalid||x.each(t.iterator(),function(t){if(t.renderer.inversed&&(e=b.invertRange(e)),t.hideTooltip(0),n)if(t instanceof p.a){var a=t.getCellEndPosition(0)-t.getCellStartPosition(0);e.start=t.roundPosition(e.start+a/2-t.startLocation*a,t.startLocation),e.end=t.roundPosition(e.end-a/2+(1-t.endLocation)*a,t.endLocation)}else e.start=t.roundPosition(e.start+1e-4,0,t.startLocation),e.end=t.roundPosition(e.end+1e-4,0,t.endLocation);var s=t.zoom(e,i,i,r);t.renderer.inversed&&(s=b.invertRange(s)),o=s}),o},Object.defineProperty(e.prototype,"maskBullets",{get:function(){return this.getPropertyValue("maskBullets")},set:function(t){this.setPropertyValue("maskBullets",t,!0)&&this.bulletsContainer&&(this.bulletsContainer.mask=t?this._bulletMask:void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arrangeTooltips",{get:function(){return this.getPropertyValue("arrangeTooltips")},set:function(t){this.setPropertyValue("arrangeTooltips",t,!0)},enumerable:!0,configurable:!0}),e.prototype.handleWheel=function(t){var e=this.plotContainer,i=P.documentPointToSvg(t.point,this.htmlContainer,this.svgContainer.cssScale),n=P.svgPointToSprite(i,e),r=t.shift.y;this.handleWheelReal(r,this.mouseWheelBehavior,n)},e.prototype.handleHorizontalWheel=function(t){var e=this.plotContainer,i=P.documentPointToSvg(t.point,this.htmlContainer,this.svgContainer.cssScale),n=P.svgPointToSprite(i,e);this.handleWheelReal(t.shift.x,this.horizontalMouseWheelBehavior,n)},e.prototype.handleWheelReal=function(t,e,i){if(0!=t){var n=this.plotContainer,r=this.getCommonAxisRange(this.xAxes),o=this.getCommonAxisRange(this.yAxes);if("panX"==e||"panXY"==e){var a=r.end-r.start,s=Math.max(-0,r.start+.1*t/100*(r.end-r.start)),u=Math.min(r.end+.1*t/100*(r.end-r.start),1);s<=0&&(u=s+a),u>=1&&(s=u-a),this.zoomAxes(this.xAxes,{start:s,end:u})}if("panY"==e||"panXY"==e){t*=-1;var l=o.end-o.start,h=Math.max(-0,o.start+.1*t/100*(o.end-o.start)),c=Math.min(o.end+.1*t/100*(o.end-o.start),1);h<=0&&(c=h+l),c>=1&&(h=c-l),this.zoomAxes(this.yAxes,{start:h,end:c})}if("zoomX"==e||"zoomXY"==e){var p=i.x/n.maxWidth,d=this.xAxes.getIndex(0).toAxisPosition(p);s=Math.max(-0,r.start-.1*(r.end-r.start)*t/100*p);s=Math.min(s,d);u=Math.min(r.end+.1*(r.end-r.start)*t/100*(1-p),1);u=Math.max(u,d),this.zoomAxes(this.xAxes,{start:s,end:u})}if("zoomY"==e||"zoomXY"==e){var f=i.y/n.maxHeight,g=this.yAxes.getIndex(0).toAxisPosition(f);h=Math.max(-0,o.start-.1*(o.end-o.start)*t/100*(1-f));h=Math.min(h,g);c=Math.min(o.end+.1*t/100*f*(o.end-o.start),1);c=Math.max(c,g),this.zoomAxes(this.yAxes,{start:h,end:c})}}},Object.defineProperty(e.prototype,"mouseWheelBehavior",{get:function(){return this.getPropertyValue("mouseWheelBehavior")},set:function(t){this.setPropertyValue("mouseWheelBehavior",t)&&("none"!=t?(this._mouseWheelDisposer=this.plotContainer.events.on("wheel",this.handleWheel,this,!1),this._disposers.push(this._mouseWheelDisposer)):this._mouseWheelDisposer&&(this.plotContainer.wheelable=!1,this.plotContainer.hoverable=!1,this._mouseWheelDisposer.dispose()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalMouseWheelBehavior",{get:function(){return this.getPropertyValue("horizontalMouseWheelBehavior")},set:function(t){this.setPropertyValue("horizontalMouseWheelBehavior",t)&&("none"!=t?(this._mouseWheelDisposer2=this.plotContainer.events.on("wheel",this.handleHorizontalWheel,this,!1),this._disposers.push(this._mouseWheelDisposer2)):this._mouseWheelDisposer2&&(this.plotContainer.wheelable=!1,this.plotContainer.hoverable=!1,this._mouseWheelDisposer2.dispose()))},enumerable:!0,configurable:!0}),e.prototype.dataSourceDateFields=function(e){var i=this;return e=t.prototype.dataSourceDateFields.call(this,e),x.each(this.series.iterator(),function(t){e=i.populateDataSourceFields(e,t.dataFields,["dateX","dateY","openDateX","openDateY"])}),e},e.prototype.dataSourceNumberFields=function(e){var i=this;return e=t.prototype.dataSourceDateFields.call(this,e),x.each(this.series.iterator(),function(t){e=i.populateDataSourceFields(e,t.dataFields,["valueX","valueY","openValueX","openValueY"])}),e},e.prototype.processConfig=function(e){if(e){var i=[],n=[];if(_.hasValue(e.xAxes)&&_.isArray(e.xAxes))for(var r=0,o=e.xAxes.length;r0;){var n=this.dataItems.getIndex(0);n&&i.dataItems.remove(n),i.dataUsers.each(function(t){var e=t.dataItems.getIndex(0);e&&t.dataItems.remove(e)}),i._parseDataFrom--,e--}i.invalidateData()}},e.prototype.removeData=function(e){this.scrollbarX instanceof v.a&&this.removeScrollbarData(this.scrollbarX,e),this.scrollbarY instanceof v.a&&this.removeScrollbarData(this.scrollbarY,e),t.prototype.removeData.call(this,e)},e.prototype.setTapToActivate=function(e){t.prototype.setTapToActivate.call(this,e),this.cursor&&(this.cursor.interactions.isTouchProtected=e,this.plotContainer.interactions.isTouchProtected=e)},e.prototype.handleTapToActivate=function(){t.prototype.handleTapToActivate.call(this),this.cursor&&(this.cursor.interactions.isTouchProtected=!1,this.plotContainer.interactions.isTouchProtected=!1)},e.prototype.handleTapToActivateDeactivation=function(){t.prototype.handleTapToActivateDeactivation.call(this),this.cursor&&(this.cursor.interactions.isTouchProtected=!0,this.plotContainer.interactions.isTouchProtected=!0)},e}(r.a);y.c.registeredClasses.XYChart=C,S.c.push({relevant:S.b.maybeXS,state:function(t,e){if(t instanceof C&&t.scrollbarX){var i=t.states.create(e);return t.scrollbarX.states.create(e).properties.disabled=!0,i}return null}}),S.c.push({relevant:S.b.maybeXS,state:function(t,e){if(t instanceof C&&t.scrollbarY){var i=t.states.create(e);return t.scrollbarY.states.create(e).properties.disabled=!0,i}return null}})},"0PyG":function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("Tjl+"),o=i("zhwk"),a=i("1yyj"),s=i("Mtpk"),u=function(t){function e(e,i,n,r){var o=t.call(this)||this;return o.animations=[],o.className="Inertia",o.interaction=e,o.type=i,o.point=n,o.startPoint=r,o._disposers.push(new a.b(o.animations)),o}return n.c(e,t),Object.defineProperty(e.prototype,"x",{get:function(){return this.point.x},set:function(t){s.isNumber(t)&&(this.point.x=t,this.handleMove())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.point.y},set:function(t){s.isNumber(t)&&(this.point.y=t,this.handleMove())},enumerable:!0,configurable:!0}),e.prototype.handleMove=function(){if(this.interaction.events.isEnabled("drag")){var t={type:"drag",target:this.interaction,shift:{x:this.x-this.startPoint.x,y:this.y-this.startPoint.y},startPoint:this.startPoint,point:{x:this.x,y:this.y},touch:!1};this.interaction.events.dispatchImmediately("drag",t)}},e.prototype.done=function(){this.interaction.inertias.removeKey(this.type),"move"===this.type&&Object(o.b)().processDragStop(this.interaction),this.dispose()},e}(r.a)},"0YcW":function(t,e,i){"use strict";var n=i("cA+3"),r=i("kFp5").getWeak,o=i("snR7"),a=i("DvJ+"),s=i("ypVE"),u=i("hpnp"),l=i("dstF"),h=i("U3hN"),c=i("rFJX"),p=l(5),d=l(6),f=0,g=function(t){return t._l||(t._l=new m)},m=function(){this.a=[]},y=function(t,e){return p(t.a,function(t){return t[0]===e})};m.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var i=y(this,t);i?i[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,i,o){var l=t(function(t,n){s(t,l,e,"_i"),t._t=e,t._i=f++,t._l=void 0,void 0!=n&&u(n,i,t[o],t)});return n(l.prototype,{delete:function(t){if(!a(t))return!1;var i=r(t);return!0===i?g(c(this,e)).delete(t):i&&h(i,this._i)&&delete i[this._i]},has:function(t){if(!a(t))return!1;var i=r(t);return!0===i?g(c(this,e)).has(t):i&&h(i,this._i)}}),l},def:function(t,e,i){var n=r(o(e),!0);return!0===n?g(t).set(e,i):n[t._i]=i,t},ufstore:g}},"0Zt3":function(t,e,i){var n=i("DvJ+"),r=i("DVYA"),o=i("YEtG")("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},"0jav":function(t,e,i){var n=i("Gb1H"),r=i("DVYA");n(n.S,"Error",{isError:function(t){return"Error"===r(t)}})},"0v9/":function(t,e,i){var n,r,o,a=i("20m4"),s=i("yOPk"),u=i("Ax3V"),l=i("+wz8"),h=i("T9LF"),c=h.process,p=h.setImmediate,d=h.clearImmediate,f=h.MessageChannel,g=h.Dispatch,m=0,y={},v=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},b=function(t){v.call(t.data)};p&&d||(p=function(t){for(var e=[],i=1;arguments.length>i;)e.push(arguments[i++]);return y[++m]=function(){s("function"==typeof t?t:Function(t),e)},n(m),m},d=function(t){delete y[t]},"process"==i("DVYA")(c)?n=function(t){c.nextTick(a(v,t,1))}:g&&g.now?n=function(t){g.now(a(v,t,1))}:f?(o=(r=new f).port2,r.port1.onmessage=b,n=a(o.postMessage,o,1)):h.addEventListener&&"function"==typeof postMessage&&!h.importScripts?(n=function(t){h.postMessage(t+"","*")},h.addEventListener("message",b,!1)):n="onreadystatechange"in l("script")?function(t){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),v.call(t)}}:function(t){setTimeout(a(v,t,1),0)}),t.exports={set:p,clear:d}},"0yJt":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("mntN")(!0);n(n.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i("M/YL")("includes")},"17ao":function(t,e,i){var n=i("T9LF").parseInt,r=i("nAZS").trim,o=i("brDO"),a=/^[-+]?0[xX]/;t.exports=8!==n(o+"08")||22!==n(o+"0x16")?function(t,e){var i=r(String(t),3);return n(i,e>>>0||(a.test(i)?16:10))}:n},"1DgP":function(t,e,i){"use strict";var n=function(t,e){var i;function n(){var n,r,o=i.length,a=0,s=0;for(n=0;n=(o=(g+y)/2))?g=o:y=o,(h=i>=(a=(m+v)/2))?m=a:v=a,r=d,!(d=d[c=h<<1|l]))return r[c]=f,t;if(s=+t._x.call(null,d.data),u=+t._y.call(null,d.data),e===s&&i===u)return f.next=d,r?r[c]=f:t._root=f,t;do{r=r?r[c]=new Array(4):t._root=new Array(4),(l=e>=(o=(g+y)/2))?g=o:y=o,(h=i>=(a=(m+v)/2))?m=a:v=a}while((c=h<<1|l)==(p=(u>=a)<<1|s>=o));return r[p]=d,r[c]=f,t}var o=function(t,e,i,n,r){this.node=t,this.x0=e,this.y0=i,this.x1=n,this.y1=r};function a(t){return t[0]}function s(t){return t[1]}function u(t,e,i){var n=new l(null==e?a:e,null==i?s:i,NaN,NaN,NaN,NaN);return null==t?n:n.addAll(t)}function l(t,e,i,n,r,o){this._x=t,this._y=e,this._x0=i,this._y0=n,this._x1=r,this._y1=o,this._root=void 0}function h(t){for(var e={data:t.data},i=e;t=t.next;)i=i.next={data:t.data};return e}var c=u.prototype=l.prototype;c.copy=function(){var t,e,i=new l(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root;if(!n)return i;if(!n.length)return i._root=h(n),i;for(t=[{source:n,target:i._root=new Array(4)}];n=t.pop();)for(var r=0;r<4;++r)(e=n.source[r])&&(e.length?t.push({source:e,target:n.target[r]=new Array(4)}):n.target[r]=h(e));return i},c.add=function(t){var e=+this._x.call(null,t),i=+this._y.call(null,t);return r(this.cover(e,i),e,i,t)},c.addAll=function(t){var e,i,n,o,a=t.length,s=new Array(a),u=new Array(a),l=1/0,h=1/0,c=-1/0,p=-1/0;for(i=0;ic&&(c=n),op&&(p=o));if(l>c||h>p)return this;for(this.cover(l,h).cover(c,p),i=0;it||t>=r||n>e||e>=o;)switch(s=(ed||(a=l.y0)>f||(s=l.x1)=v)<<1|t>=y)&&(l=g[g.length-1],g[g.length-1]=g[g.length-1-h],g[g.length-1-h]=l)}else{var b=t-+this._x.call(null,m.data),x=e-+this._y.call(null,m.data),_=b*b+x*x;if(_=(s=(f+m)/2))?f=s:m=s,(h=a>=(u=(g+y)/2))?g=u:y=u,e=d,!(d=d[c=h<<1|l]))return this;if(!d.length)break;(e[c+1&3]||e[c+2&3]||e[c+3&3])&&(i=e,p=c)}for(;d.data!==t;)if(n=d,!(d=d.next))return this;return(r=d.next)&&delete d.next,n?(r?n.next=r:delete n.next,this):e?(r?e[c]=r:delete e[c],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(i?i[p]=d:this._root=d),this):(this._root=r,this)},c.removeAll=function(t){for(var e=0,i=t.length;el+f||rh+f||os.index){var g=l-a.x-a.vx,m=h-a.y-a.vy,y=g*g+m*m;yt.r&&(t.r=t[e].r)}function s(){if(e){var n,r,o=e.length;for(i=new Array(o),n=0;n=0&&(i=t.slice(n+1),t=t.slice(0,n)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:i}})}(t+"",n),o=-1,a=r.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++o0)for(var i,n,r=new Array(i),o=0;o=0&&e._call.call(null,t),e=e._next;--D}()}finally{D=0,function(){var t,e,i=k,n=1/0;for(;i;)i._call?(n>i._time&&(n=i._time),t=i,i=i._next):(e=i._next,i._next=null,i=t?t._next=e:k=e);I=t,z(n)}(),F=0}}function U(){var t=R.now(),e=t-A;e>j&&(E-=e,A=t)}function z(t){D||(V&&(V=clearTimeout(V)),t-F>24?(t<1/0&&(V=setTimeout(W,t-R.now()-E)),M&&(M=clearInterval(M))):(M||(A=R.now(),M=setInterval(U,j)),D=1,L(W)))}G.prototype=H.prototype={constructor:G,restart:function(t,e,i){if("function"!=typeof t)throw new TypeError("callback is not a function");i=(null==i?N():+i)+(null==e?0:+e),this._next||I===this||(I?I._next=this:k=this,I=this),this._call=t,this._time=i,z()},stop:function(){this._call&&(this._call=null,this._time=1/0,z())}};function Y(t){return t.x}function X(t){return t.y}var K=10,Z=Math.PI*(3-Math.sqrt(5)),q=function(t){var e,i=1,n=.001,r=1-Math.pow(n,1/300),o=0,a=.6,s=new Map,u=H(h),l=T("tick","end");function h(){c(),l.call("tick",e),i1?(null==i?s.delete(t):s.set(t,d(i)),e):s.get(t)},find:function(e,i,n){var r,o,a,s,u,l=0,h=t.length;for(null==n?n=1/0:n*=n,l=0;l1?(l.on(t,i),e):l.on(t)}}},J=function(){var t,e,i,n,r=p(-30),o=1,a=1/0,s=.81;function l(n){var r,o=t.length,a=u(t,Y,X).visitAfter(c);for(i=n,r=0;r=a)){(t.data!==e||t.next)&&(0===h&&(f+=(h=d())*h),0===c&&(f+=(c=d())*c),fe.getHitOption(this.interactions,"hitTolerance")){switch(this._generalBehavior){case"zoom":this.dispatch("zoomended");break;case"select":this.dispatch("selectended");break;case"pan":this.dispatch("panended"),e.setGlobalStyle(u.a.default)}this.downPoint=void 0,this.updateSelection()}},e.prototype.updateSelection=function(){},e.prototype.getPositions=function(){this.xPosition=this.point.x/this.innerWidth,this.yPosition=1-this.point.y/this.innerHeight},e.prototype.handleCursorDown=function(t){if(!(!this.interactionsEnabled||this.interactions.isTouchProtected&&t.touch)&&Object(o.b)().isLocalElement(t.pointer,this.paper.svg,this.uid)){var e=h.documentPointToSprite(t.pointer.point,this);this._downPointOrig={x:e.x,y:e.y},t.event.cancelable&&this.shouldPreventGestures(t.touch)&&this.fitsToBounds(e)&&t.event.preventDefault(),this.triggerMove(e),this.triggerDown(e)}},e.prototype.shouldPreventGestures=function(t){return!0},e.prototype.updatePoint=function(t){},e.prototype.handleCursorUp=function(t){if(this.interactionsEnabled&&(("zoom"==this._generalBehavior||"pan"==this._generalBehavior)&&this.downPoint||Object(o.b)().isLocalElement(t.pointer,this.paper.svg,this.uid))){var e=h.documentPointToSprite(t.pointer.point,this);this._upPointOrig={x:e.x,y:e.y},this.triggerMove(e),this.triggerUp(e)}},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t,c.hasValue(this._chart.plotContainer)&&Object(o.b)().lockElement(this._chart.plotContainer.interactions)},enumerable:!0,configurable:!0}),e}(r.a);a.c.registeredClasses.Cursor=d},"1Vzv":function(t,e,i){var n=i("Gb1H"),r=i("17ao");n(n.G+n.F*(parseInt!=r),{parseInt:r})},"1lef":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("kcsd"),o=i("FmWr"),a=i("0Zt3"),s=i("x2K9"),u=RegExp.prototype,l=function(t,e){this._r=t,this._s=e};i("Cekr")(l,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),n(n.P,"String",{matchAll:function(t){if(r(this),!a(t))throw TypeError(t+" is not a regexp!");var e=String(this),i="flags"in u?String(t.flags):s.call(t),n=new RegExp(t.source,~i.indexOf("g")?i:"g"+i);return n.lastIndex=o(t.lastIndex),new l(n,e)}})},"1qam":function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("Vs7R"),o=i("Mtpk"),a=function(t){function e(){var e=t.call(this)||this;return e.className="PointedShape",e.pointerBaseWidth=15,e.pointerLength=10,e.pointerY=0,e.pointerX=0,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),o.isNumber(this.pointerX)||(this.pointerX=this.pixelWidth/2),o.isNumber(this.pointerY)||(this.pointerY=this.pixelHeight+10)},Object.defineProperty(e.prototype,"pointerBaseWidth",{get:function(){return this.getPropertyValue("pointerBaseWidth")},set:function(t){this.setPropertyValue("pointerBaseWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerLength",{get:function(){return this.getPropertyValue("pointerLength")},set:function(t){this.setPropertyValue("pointerLength",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerX",{get:function(){return this.getPropertyValue("pointerX")},set:function(t){this.setPropertyValue("pointerX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerY",{get:function(){return this.getPropertyValue("pointerY")},set:function(t){this.setPropertyValue("pointerY",t,!0)},enumerable:!0,configurable:!0}),e}(r.a)},"1yyj":function(t,e,i){"use strict";e.c=function(t,e){var i=!1,n=Date.now();return l.a(function r(o){if(!i){var a=o-n;a>=t?e(1):(l.a(r),e(a/t))}}),new a.b(function(){i=!0})},i.d(e,"b",function(){return x}),i.d(e,"a",function(){return _});var n=i("m4/l"),r=i("Tjl+"),o=i("hpNl"),a=i("hD5A"),s=i("8ZqG"),u=i("tjMS"),l=i("/9XX"),h=i("0FpR"),c=i("hxI2"),p=i("Gg2j"),d=i("hJ5i"),f=i("Mtpk"),g=i("Rpw0");function m(t,e,i){return e+(i-e)*t}function y(t,e,i){return new u.a(m(t,e.percent,i.percent))}function v(t,e,i){return new s.a(c.interpolate(e.rgb,i.rgb,t))}function b(t,e){return e+t.charAt(0).toUpperCase()+t.substr(1)}var x=function(){function t(t){this._disposer=new a.b(function(){for(;0!==t.length;)t[0].dispose()})}return t.prototype.isDisposed=function(){return this._disposer.isDisposed()},t.prototype.dispose=function(){this._disposer.dispose()},t}(),_=function(t){function e(e,i,n,r){var o=t.call(this)||this;return o.duration=0,o.easing=h.linear,o.progress=0,o._loop=0,o._pause=!1,o._delayTimeout=null,o._time=0,o._isFinished=!1,o.className="Animation",o.object=e,o.animationOptions=d.toArray(i),o.duration=n,r&&(o.easing=r),o.applyTheme(),o}return n.c(e,t),e.prototype.debug=function(){},e.prototype.dispose=function(){t.prototype.dispose.call(this),this.pause()},e.prototype.delay=function(t){var e=this;if(t>0){this.pause(),d.move(this.object.animations,this);var i=setTimeout(function(){e._delayTimeout=null,e.start()},t);this._delayTimeout=new a.b(function(){clearTimeout(i)})}return this},e.prototype._start=function(){this._isFinished=!1,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),this.stopSameAnimations(),this._pause=!1,d.move(g.b.animations,this),d.move(this.object.animations,this),g.b.requestFrame()},e.prototype.start=function(){this._start(),this._startTime=Date.now(),this._time=0,this.staticOptions=[];for(var t=this.animationOptions.length-1;t>=0;t--){var e=this.animationOptions[t];if(f.hasValue(e.from)||(e.childObject?e.from=e.childObject[e.property]:(e.from=this.object[e.property],f.hasValue(e.from)||(e.from=o.a[e.property]))),e.from==e.to)d.remove(this.animationOptions,e);else if(f.hasValue(e.from))if(f.isNumber(e.to))if(e.updateMethod=m,e.from instanceof u.a){var i=this.object[b(e.property,"pixel")];isNaN(i)?(this.staticOptions.push(e),d.remove(this.animationOptions,e)):e.from=i}else isNaN(e.from)&&(this.staticOptions.push(e),d.remove(this.animationOptions,e));else if(e.to instanceof s.a)e.from?e.updateMethod=v:(this.staticOptions.push(e),d.remove(this.animationOptions,e));else if(e.to instanceof u.a){if(e.updateMethod=y,!isNaN(e.from)){i=this.object[b(e.property,"relative")];isNaN(i)||(e.from=Object(u.c)(100*i))}}else this.staticOptions.push(e),d.remove(this.animationOptions,e);else this.staticOptions.push(e),d.remove(this.animationOptions,e)}if(this.applyStaticOptions(),this.events.isEnabled("animationstarted")){var n={type:"animationstarted",target:this,progress:this.progress};this.events.dispatchImmediately("animationstarted",n)}return this.update(),0===this.duration&&this.end(),this},e.prototype.loop=function(t){return f.isNumber(t)||(t=1/0),this._loop=t,this},e.prototype.pause=function(){return this._pause=!0,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),d.remove(g.b.animations,this),d.remove(this.object.animations,this),this},e.prototype.resume=function(){return this._start(),this._startTime=Date.now()-this._time,this},e.prototype.end=function(){if(0==this._loop&&this.pause(),this.setProgress(1),this.applyStaticOptions(),this.events.isEnabled("animationended")){var t={type:"animationended",target:this,progress:this.progress};this.events.dispatchImmediately("animationended",t)}return this._loop>0?(this._loop--,this.start()):(this.stop(),this._isFinished=!0),this},e.prototype.kill=function(){this.pause(),this._isFinished=!0},e.prototype.isFinished=function(){return this._isFinished},e.prototype.applyStaticOptions=function(){var t=this;d.each(this.staticOptions,function(e){e.childObject?e.childObject[e.property]=1==t.progress?e.to:e.from:t.object[e.property]=1==t.progress?e.to:e.from})},e.prototype.stop=function(t){if(this.pause(),!t&&this.events.isEnabled("animationstopped")){var e={type:"animationstopped",target:this,progress:this.progress};this.events.dispatchImmediately("animationstopped",e)}return this},e.prototype.setProgress=function(t){var e=this;if(this._time=this.duration*t,d.each(this.animationOptions,function(i){if(i.updateMethod&&f.hasValue(i.from)){var n=i.updateMethod(t,i.from,i.to);i.childObject?i.childObject[i.property]=n:e.object[i.property]=n}}),this.progress=t,this.events.isEnabled("animationprogress")){var i={type:"animationprogress",target:this,progress:this.progress};this.events.dispatchImmediately("animationprogress",i)}g.b.requestFrame()},e.prototype.update=function(){if(!this._pause){var t=void 0;this._time=p.fitToRange(Date.now()-this._startTime,0,this.duration);var e=this._time/this.duration;t=this.easing(e),(0==this.duration||!f.isNumber(t)||e>=1)&&(t=1),this.setProgress(t),1==p.round(this._time/this.duration,6)&&this.end()}return this},Object.defineProperty(e.prototype,"delayed",{get:function(){return!!this._delayTimeout},enumerable:!0,configurable:!0}),e.prototype.stopSameAnimations=function(){var t=this;d.each(d.copy(this.object.animations),function(e){if(e!==t&&!e.delayed){var i=[];d.each(t.animationOptions,function(t){d.each(e.animationOptions,function(n){t.property==n.property&&t.childObject==n.childObject&&(i.push(n),0==e.animationOptions.length&&e.kill())})}),d.each(i,function(t){d.remove(e.animationOptions,t)})}})},e.prototype.asFunction=function(e){return"easing"==e||t.prototype.asIs.call(this,e)},e}(r.b)},"2/6D":function(t,e,i){"use strict";var n=i("M/YL"),r=i("36h5"),o=i("9BM3"),a=i("EhJv");t.exports=i("Uobz")(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},"20m4":function(t,e,i){var n=i("DbOM");t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},"2Dqo":function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=i("K0ev"),a=n.has,s=n.key;n.exp({hasMetadata:function(t,e){return function t(e,i,n){if(a(e,i,n))return!0;var r=o(i);return null!==r&&t(e,r,n)}(t,r(e),arguments.length<3?void 0:s(arguments[2]))}})},"2I/e":function(t,e,i){"use strict";i.d(e,"b",function(){return f}),i.d(e,"a",function(){return g});var n=i("m4/l"),r=i("VIOb"),o=i("vMqJ"),a=i("C6dT"),s=i("aM7D"),u=i("tjMS"),l=i("DHte"),h=i("aCit"),c=i("Wglt"),p=i("Mtpk"),d=i("hD5A"),f=function(t){function e(){var e=t.call(this)||this;return e.className="SerialChartDataItem",e.applyTheme(),e}return n.c(e,t),e}(r.b),g=function(t){function e(){var e=t.call(this)||this;e.className="SerialChart",e.colors=new l.a,e._usesData=!1;var i=e.chartContainer.createChild(a.a);i.shouldClone=!1,i.width=Object(u.c)(100),i.height=Object(u.c)(100),i.isMeasured=!1,i.layout="none",i.zIndex=2,e.seriesContainer=i;var n=e.chartContainer.createChild(a.a);return n.shouldClone=!1,n.width=Object(u.c)(100),n.height=Object(u.c)(100),n.isMeasured=!1,n.zIndex=3,n.layout="none",e.bulletsContainer=n,e.applyTheme(),e}return n.c(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this.colors&&this.colors.dispose(),this.patterns&&this.patterns.dispose()},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),p.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Serial chart"))},Object.defineProperty(e.prototype,"series",{get:function(){var t=this;return this._series||(this._series=new o.e(this.createSeries()),this._series.events.on("inserted",function(e){t.handleSeriesAdded(e)},void 0,!1),this._series.events.on("removed",function(e){var i=e.oldValue;t.dataUsers.removeValue(i),t.dataUsers.each(function(t){t.invalidateDataItems()}),i.autoDispose&&i.dispose(),t.feedLegend()},void 0,!1),this._disposers.push(new o.c(this._series)),this._disposers.push(this._series.template)),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(t){var e=this,i=t.newValue;i.isDisposed()||(i.chart=this,i.parent=this.seriesContainer,i.bulletsContainer.parent=this.bulletsContainer,this._dataUsers.moveValue(i),i.addDisposer(new d.b(function(){e.dataUsers.removeValue(i)})),this.handleSeriesAdded2(i),this.feedLegend())},e.prototype.handleSeriesAdded2=function(t){this.dataInvalid||t.data&&0!=t.data.length||this.invalidateData()},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];c.each(this.series.iterator(),function(t){t.hiddenInLegend||e.push(t)}),t.dataFields.name="name",t.data=e}},e.prototype.createSeries=function(){return new s.a},Object.defineProperty(e.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(t){this.setPropertyValue("colors",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"patterns",{get:function(){return this.getPropertyValue("patterns")},set:function(t){this.setPropertyValue("patterns",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.series.copyFrom(e.series)},e.prototype.appear=function(){t.prototype.appear.call(this),this.series.each(function(t){t.showOnInit&&t.inited&&t.appear()})},e}(r.a);h.c.registeredClasses.SerialChart=g},"2Nze":function(t,e,i){"use strict";var n=i("x2K9"),r=RegExp.prototype.exec,o=String.prototype.replace,a=r,s=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),u=void 0!==/()??/.exec("")[1];(s||u)&&(a=function(t){var e,i,a,l,h=this;return u&&(i=new RegExp("^"+h.source+"$(?!\\s)",n.call(h))),s&&(e=h.lastIndex),a=r.call(h,t),s&&a&&(h.lastIndex=h.global?a.index+a[0].length:e),u&&a&&a.length>1&&o.call(a[0],i,function(){for(l=1;l1&&("horizontal"==this.orientation?S.minGridDistance=this.measuredWidth/this.markerCount:S.minGridDistance=this.measuredHeight/this.markerCount),this.valueAxis.invalidate();m=this.markerCount;for(var T=this.markers.length;m0?n:i)(t)}},"4DCw":function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("mIpt"),o=i("Mtpk"),a=i("hJ5i"),s=[",",";","\t"],u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.contentType="text/csv",e.options={delimiter:"",reverse:!1,skipRows:0,skipEmpty:!0,useColumnNames:!1},e}return n.c(e,t),e.isCSV=function(t){return!!e.getDelimiterFromData(t)},e.getDelimiterFromData=function(t){var e,i=t.split("\n"),n=i.length;return a.each(s,function(t){for(var r=0,o=0,a=0;a1)){o=0;break}if(0===o)o=r;else if(r!=o){o=0;break}}o&&(e=t)}),e},e.prototype.parse=function(t){this.options.delimiter||(this.options.delimiter=e.getDelimiterFromData(t));var i,n,r,a=this.CSVToArray(t,this.options.delimiter),s=o.hasValue(this.options.emptyAs),u=this.parsableNumbers,l=this.parsableDates,h=[],c=[];for(n=0;n1||"".split(/.?/).length?function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!n(t))return i.call(r,t,e);for(var o,a,s,u=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),c=0,d=void 0===e?4294967295:e>>>0,f=new RegExp(t.source,h+"g");(o=l.call(f,r))&&!((a=f.lastIndex)>c&&(u.push(r.slice(c,o.index)),o.length>1&&o.index=d));)f.lastIndex===o.index&&f.lastIndex++;return c===r.length?!s&&f.test("")||u.push(""):u.push(r.slice(c)),u.length>d?u.slice(0,d):u}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)}:i,[function(i,n){var r=t(this),o=void 0==i?void 0:i[e];return void 0!==o?o.call(i,r,n):f.call(String(r),i,n)},function(t,e){var n=h(f,t,this,e,f!==i);if(n.done)return n.value;var l=r(t),p=String(this),g=o(l,RegExp),m=l.unicode,y=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(d?"y":"g"),v=new g(d?l:"^(?:"+l.source+")",y),b=void 0===e?4294967295:e>>>0;if(0===b)return[];if(0===p.length)return null===u(v,p)?[p]:[];for(var x=0,_=0,P=[];_document.F=Object<\/script>"),t.close(),u=t.F;n--;)delete u.prototype[o[n]];return u()};t.exports=Object.create||function(t,e){var i;return null!==t?(s.prototype=n(t),i=new s,s.prototype=null,i[a]=t):i=u(),void 0===e?i:r(i,e)}},"57Qg":function(t,e,i){var n=i("Gb1H"),r=i("sxbc");n(n.S,"Math",{cbrt:function(t){return r(t=+t)*Math.pow(Math.abs(t),1/3)}})},"58Sn":function(t,e,i){"use strict";i.d(e,"a",function(){return h}),i.d(e,"e",function(){return c}),i.d(e,"d",function(){return p}),e.g=function(t,e,i,n){return t.addEventListener(e,i,n||!1),new o.b(function(){t.removeEventListener(e,i,n||!1)})},e.q=function(t){if(l.isString(t)){var e=document.getElementById(t);if(null==e&&(e=document.getElementsByClassName(t)[0]),e instanceof HTMLElement)return e}else if(t instanceof HTMLElement)return t},e.f=function(t,e){if(!t)return;if(t.classList)t.classList.add(e);else{var i=t.getAttribute("class");i?t.setAttribute("class",i.split(" ").filter(function(t){return t!==e}).join(" ")+" "+e):t.setAttribute("class",e)}},e.x=function(t,e){if(!t)return;if(t.classList)t.classList.remove(e);else{var i=t.getAttribute("class");i&&t.setAttribute("class",i.split(" ").filter(function(t){return t!==e}).join(" "))}},e.y=function(t,e,i){t.style[e]=i},e.p=d,e.h=function(){var t=document.createElement("input");t.style.position="fixed",t.style.top="0px",t.style.left="-10000px",document.body.appendChild(t),t.focus(),t.blur(),document.body.removeChild(t)},e.o=function(t){if(t instanceof HTMLElement)t.focus();else{var e=document.createElement("input"),i=document.createElementNS(h,"foreignObject");i.appendChild(e),t.appendChild(i),e.focus(),e.disabled=!0,i.remove()}},e.v=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div"),i=t.cloneNode(!0);e.appendChild(i);var n=e.innerHTML;return n},e.s=function(t){return t instanceof Object&&t&&1===t.nodeType},e.i=function(t,e){var i=e;for(;;){if(t===i)return!0;if(null==i.parentNode){if(null==i.host)return!1;i=i.host}else i=i.parentNode}},e.r=function(t){var e=t.ownerDocument,i=t;for(;;){if(null==i.parentNode)return i===e||null!=i.host?i:null;i=i.parentNode}},e.k=function(t){return"function"==typeof t.composedPath?t.composedPath()[0]:t.target},e.j=function(t,e){u.each(t.attributes,function(t){null!=t.value&&e.setAttribute(t.name,t.value)})},e.n=function(t){Object(a.c)(function(){try{var e=t.getBoundingClientRect(),i=e.left-Math.round(e.left),n=e.top-Math.round(e.top);0!==i&&Object(a.f)(function(){t.style.left=i+"px"}),0!==n&&Object(a.f)(function(){t.style.top=n+"px"})}catch(t){}})},i.d(e,"c",function(){return g}),i.d(e,"b",function(){return y}),e.w=function(t){if("loading"!==document.readyState)t();else{var e=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",e),t())};document.addEventListener("readystatechange",e)}},e.l=function t(e){var i=d(e,"font-family");if(i)return i;var n=e.parentElement||e.parentNode;return n?t(n):void 0},e.m=function t(e){var i=d(e,"font-size");if(i)return i;var n=e.parentElement||e.parentNode;return n?t(n):void 0},e.u=function(t){return null===t.offsetParent},e.t=function t(e,i){var n=e.getBoundingClientRect();if(i){if(!t(i))return!1;var r=i.getBoundingClientRect();return n.top>=0&&n.left>=0&&n.top<=r.top+r.height&&n.left<=r.left+r.width}return n.top>=0&&n.left>=0&&n.top<=(window.innerHeight||document.documentElement.clientHeight)&&n.left<=(window.innerWidth||document.documentElement.clientWidth)};var n,r=i("m4/l"),o=i("hD5A"),a=i("/9XX"),s=i("Qkdp"),u=i("hJ5i"),l=i("Mtpk"),h="http://www.w3.org/2000/svg",c="http://www.w3.org/2000/xmlns/",p="http://www.w3.org/1999/xlink";function d(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}function f(){if(!l.hasValue(n)){var t=document.createElement("style");t.type="text/css",document.head.appendChild(t),n=t.sheet}return n}var g=function(t){function e(e,i){var n=t.call(this,function(){var t=f(),e=u.indexOf(t.cssRules,n._rule);if(-1===e)throw new Error("Could not dispose StyleRule");t.deleteRule(e)})||this;return n._rule=function(t){var e=f(),i=e.cssRules.length;return e.insertRule(t+"{}",i),e.cssRules[i]}(e),s.each(i,function(t,e){n.setStyle(t,e)}),n}return r.c(e,t),Object.defineProperty(e.prototype,"selector",{get:function(){return this._rule.selectorText},set:function(t){this._rule.selectorText=t},enumerable:!0,configurable:!0}),e.prototype._setVendorPrefixName=function(t,e){var i=this._rule.style;i.setProperty("-webkit-"+t,e,""),i.setProperty("-moz-"+t,e,""),i.setProperty("-ms-"+t,e,""),i.setProperty("-o-"+t,e,""),i.setProperty(t,e,"")},e.prototype.setStyle=function(t,e){"transition"===t?this._setVendorPrefixName(t,e):this._rule.style.setProperty(t,e,"")},e}(o.b),m=0,y=function(t){function e(e,i){var n=this,r=l.hasValue(i)?i:"__style_"+ ++m+"__";return(n=t.call(this,"."+r,e)||this)._className=r,n}return r.c(e,t),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},set:function(t){this._className=t,this.selector="."+t},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this._className},e}(g)},"5BRL":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("EhJv"),o=[].join;n(n.P+n.F*(i("sHIJ")!=Object||!i("GQop")(o)),"Array",{join:function(t){return o.call(r(this),void 0===t?",":t)}})},"5LIN":function(t,e,i){var n=i("Gb1H"),r=i("AzI1"),o=Math.sqrt,a=Math.acosh;n(n.S+n.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},"5Les":function(t,e,i){var n=i("Gb1H");n(n.S,"Number",{isInteger:i("hcxM")})},"5lay":function(t,e,i){var n=i("Gb1H"),r=i("G5U1"),o=i("AEc5");t.exports=function(t,e){var i=(r.Object||{})[t]||Object[t],a={};a[t]=e(i),n(n.S+n.F*o(function(){i(1)}),"Object",a)}},"5vid":function(t,e,i){"use strict";i.d(e,"b",function(){return _}),i.d(e,"a",function(){return P});var n=i("m4/l"),r=i("Uf57"),o=i("Vs7R"),a=i("C6dT"),s=i("vMqJ"),u=i("+qIf"),l=i("pR7v"),h=i("VB2N"),c=i("aCit"),p=i("DG6Q"),d=i("CnhP"),f=i("tjMS"),g=i("Gg2j"),m=i("Qkdp"),y=i("Wglt"),v=i("hJ5i"),b=i("Mtpk"),x=i("hD5A"),_=function(t){function e(){var e=t.call(this)||this;return e.className="ColumnSeriesDataItem",e.locations.dateX=.5,e.locations.dateY=.5,e.locations.categoryX=.5,e.locations.categoryY=.5,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"column",{get:function(){return this._column},set:function(t){this.setColumn(t)},enumerable:!0,configurable:!0}),e.prototype.setColumn=function(t){var e=this;if(this._column&&t!=this._column&&v.remove(this.sprites,this._column),this._column=t,t){var i=t.dataItem;i&&i!=this&&(i.column=void 0),this.addSprite(t),this._disposers.push(new x.b(function(){e.component&&e.component.columns.removeValue(t)}))}},Object.defineProperty(e.prototype,"rangesColumns",{get:function(){return this._rangesColumns||(this._rangesColumns=new u.a),this._rangesColumns},enumerable:!0,configurable:!0}),e}(r.b),P=function(t){function e(){var e=t.call(this)||this;e._startLocation=0,e._endLocation=1,e.className="ColumnSeries",e.width=Object(f.c)(100),e.height=Object(f.c)(100),e.strokeOpacity=0,e.fillOpacity=1,e.clustered=!0;var i=e.mainContainer.createChild(a.a);return i.shouldClone=!1,i.isMeasured=!1,i.layout="none",e._columnsContainer=i,e.columns.template.pixelPerfect=!1,e.tooltipColorSource=e.columns.template,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"columnsContainer",{get:function(){return this._columnsContainer},enumerable:!0,configurable:!0}),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),b.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Column Series"))},e.prototype.createDataItem=function(){return new _},e.prototype.validate=function(){var i=this;if(this.chart&&this.xAxis&&this.yAxis){var n,r=this.chart.series,o=0,a=0,s=[];y.each(r.iterator(),function(t){var n;t instanceof e&&(i.baseAxis==t.baseAxis&&(n=i.baseAxis==i.xAxis?i.chart.yAxes.indexOf(t.yAxis):i.chart.xAxes.indexOf(t.xAxis),s.push({series:t,axis:n})))}),s.sort(function(t,e){return t.axis-e.axis}),v.each(s,function(t){var r=t.series;r instanceof e&&((!r.stacked&&r.clustered||n!=t.axis&&r.clustered)&&o++,r==i&&(a=o-1)),n=t.axis}),this.clustered||(a=0,o=1);var u=this.baseAxis.renderer,l=u.cellStartLocation,h=u.cellEndLocation;this._startLocation=l+a/o*(h-l),this._endLocation=l+(a+1)/o*(h-l)}t.prototype.validate.call(this);for(var c=0;cthis.endIndex;c--){p=this.dataItems.getIndex(c);this.disableUnusedColumns(p)}},e.prototype.validateDataElement=function(e){this.chart&&this.xAxis&&this.yAxis&&(this.validateDataElementReal(e),t.prototype.validateDataElement.call(this,e))},e.prototype.getStartLocation=function(t){var e=this._startLocation;return this.baseAxis==this.xAxis?e+=t.locations[this.xOpenField]-.5:e+=t.locations[this.yOpenField]-.5,e},e.prototype.getEndLocation=function(t){var e=this._endLocation;return this.baseAxis==this.xAxis?e+=t.locations[this.xField]-.5:e+=t.locations[this.yField]-.5,e},e.prototype.validateDataElementReal=function(t){var e,i,n,r,a=this,s=this.getStartLocation(t),u=this.getEndLocation(t),c=this.xField,p=this.xOpenField,d=this.yField,f=this.yOpenField,v=this.columns.template,x=v.percentWidth,_=v.percentHeight,P=v.pixelWidth,w=v.pixelHeight,O=v.maxWidth,S=v.maxHeight,T=v.pixelPaddingLeft,C=v.pixelPaddingRight,k=v.pixelPaddingTop,I=v.pixelPaddingBottom,D=!1;if(this.xAxis instanceof h.a&&this.yAxis instanceof h.a){if(!t.hasValue(this._xValueFields)||!t.hasValue(this._yValueFields))return;if(s=0,u=1,!b.isNaN(x))s+=A=g.round((u-s)*(1-x/100)/2,5),u-=A;if(e=this.xAxis.getX(t,p,s),i=this.xAxis.getX(t,c,u),b.isNaN(x))e+=A=(i-e-P)/2,i-=A;if(!b.isNaN(O)&&Oj&&r>j)&&(D=!0),n=this.fixVerticalCoordinate(n),r=this.fixVerticalCoordinate(r),Math.abs(i-e)-T-C==0&&(D=!0)}else{if(!t.hasValue(this._xValueFields))return;var A;if(!b.isNaN(_))s+=A=g.round((u-s)*(1-_/100)/2,5),u-=A;if(n=this.yAxis.getY(t,f,s),r=this.yAxis.getY(t,d,u),b.isNaN(_))r-=A=(r-n-w)/2,n+=A;if(!b.isNaN(S)&&Sj&&e>j)&&(D=!0),i=this.fixHorizontalCoordinate(i),e=this.fixHorizontalCoordinate(e),Math.abs(n-r)-k-I==0&&(D=!0)}var R,L=Math.abs(i-e),N=Math.abs(r-n),B=Math.min(e,i),G=Math.min(n,r);D?this.disableUnusedColumns(t):(t.column?R=t.column:(R=this.columns.create(),m.copyProperties(this,R,o.b),m.copyProperties(this.columns.template,R,o.b),t.addSprite(R),t.column=R,R.paper=this.paper,this.itemsFocusable()?(this.role="menu",R.role="menuitem",R.focusable=!0):(this.role="list",R.role="listitem",R.focusable=!1),R.focusable&&(R.events.on("focus",function(e){R.readerTitle=a.populateString(a.itemReaderText,t)},void 0,!1),R.events.on("blur",function(t){R.readerTitle=""},void 0,!1)),R.hoverable&&(R.events.on("over",function(e){R.readerTitle=a.populateString(a.itemReaderText,t)},void 0,!1),R.events.on("out",function(t){R.readerTitle=""},void 0,!1))),R.width=L,R.height=N,R.x=B,R.y=G,R.realX=e,R.realY=n,R.realWidth=i-e,R.realHeight=r-n,R.parent=this.columnsContainer,R.virtualParent=this,this.setColumnStates(R),R.invalid&&R.validate(),R.__disabled=!1,y.each(this.axisRanges.iterator(),function(e){var i=t.rangesColumns.getKey(e.uid);i||(i=a.columns.create(),m.copyProperties(e.contents,i,o.b),t.addSprite(i),t.rangesColumns.setKey(e.uid,i),i.paper=a.paper),i.parent=e.contents,i.width=L,i.height=N,i.x=B,i.y=G,a.setColumnStates(i),i.invalid&&i.validate(),i.__disabled=!1}));t.itemWidth=L,t.itemHeight=N},e.prototype.disableUnusedColumns=function(t){t&&(t.column&&(t.column.width=0,t.column.height=0,t.column.__disabled=!0),y.each(this.axisRanges.iterator(),function(e){var i=t.rangesColumns.getKey(e.uid);i&&(i.width=0,i.height=0,i.__disabled=!0)}))},e.prototype.setColumnStates=function(t){if(this._dropFromOpenState||this._dropFromPreviousState||this._riseFromOpenState||this._riseFromPreviousState){var e=t.dataItem;if(this.xAxis instanceof l.a||this.yAxis instanceof l.a){var i,n=void 0,r=void 0;this.baseAxis==this.yAxis?this.xOpenField&&this.xField&&this.xAxis instanceof l.a&&(i=e.getValue(this.xOpenField),n=e.getValue(this.xField),r=e.getValue(this.xAxis.axisFieldName+"X","previousChange")):this.yOpenField&&this.yField&&this.yAxis instanceof l.a&&(i=e.getValue(this.yOpenField),n=e.getValue(this.yField),r=e.getValue(this.yAxis.axisFieldName+"Y","previousChange")),n")}),c=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2===i.length&&"a"===i[0]&&"b"===i[1]}();t.exports=function(t,e,i){var p=s(t),d=!o(function(){var e={};return e[p]=function(){return 7},7!=""[t](e)}),f=d?!o(function(){var e=!1,i=/a/;return i.exec=function(){return e=!0,null},"split"===t&&(i.constructor={},i.constructor[l]=function(){return i}),i[p](""),!e}):void 0;if(!d||!f||"replace"===t&&!h||"split"===t&&!c){var g=/./[p],m=i(a,p,""[t],function(t,e,i,n,r){return e.exec===u?d&&!r?{done:!0,value:g.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}}),y=m[0],v=m[1];n(String.prototype,t,y),r(RegExp.prototype,p,2==e?function(t,e){return v.call(t,this,e)}:function(t){return v.call(t,this)})}}},"7Va9":function(t,e,i){var n=i("Gb1H"),r=i("T9LF").isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},"7XB+":function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("P/bD"),o=i("Tjl+"),a=i("MipW"),s=i("aCit"),u=i("ScGY"),l=i("v9UT"),h=i("Mtpk"),c=function(t){function e(){var e=t.call(this)||this;return e._dateFormat="yyyy-MM-dd",e._inputDateFormat="yyyy-MM-dd",e._utc=!1,e._firstDayOfWeek=1,e._months=["January","February","March","April","May","June","July","August","September","October","November","December"],e._monthsShort=["Jan","Feb","Mar","Apr","May(short)","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e._weekdays=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],e._weekdaysShort=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],e._outputFormat="svg",e.capitalize=!0,e.className="DateFormatter",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"language",{get:function(){return this._language},set:function(t){this._language=t,this.dateFormat=this._language.translate("_date")},enumerable:!0,configurable:!0}),e.prototype.format=function(t,e){var i,n;if(this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.a),void 0!==e&&""!==e||(e=this._dateFormat),n=h.isString(t)?this.parse(t):l.anyToDate(t),e instanceof Object)return this.intlLocales?new Intl.DateTimeFormat(this.intlLocales,e).format(n):new Intl.DateTimeFormat(void 0,e).format(n);e=l.cleanFormat(e);var o=this.parseFormat(e);return h.hasValue(this.timezoneOffset)&&n.setMinutes(n.getMinutes()+n.getTimezoneOffset()-this.timezoneOffset),h.isNumber(n.getTime())?(i=this.applyFormat(n,o,this.language),this.capitalize&&(i=i.replace(/^.{1}/,i.substr(0,1).toUpperCase())),i):this.language.translate("Invalid date")},e.prototype.parseFormat=function(t){var e=this.getCache(t);if(h.hasValue(e))return e;for(var i={template:"",parts:[]},n=Object(a.b)().chunk(t,!0),r=0;r1&&b--,v="YYYY"==e.parts[m]?Math.abs(b).toString():Math.abs(b).toString().substr(-e.parts[m].length),b<0&&(v+=i.translate("_era_bc"));break;case"u":break;case"MMMMM":v=i.translate(this._months[r]).substr(0,1);break;case"MMMM":v=i.translate(this._months[r]);break;case"MMM":v=i.translate(this._monthsShort[r]);break;case"MM":v=l.padString(r+1,2,"0");break;case"M":v=(r+1).toString();break;case"ww":v=l.padString(l.getWeek(t,this.utc),2,"0");break;case"w":v=l.getWeek(t,this.utc).toString();break;case"W":v=l.getMonthWeek(t,this.utc).toString();break;case"dd":v=l.padString(a,2,"0");break;case"d":v=a.toString();break;case"DD":case"DDD":v=l.padString(l.getYearDay(t,this.utc).toString(),e.parts[m].length,"0");break;case"D":v=l.getYearDay(t,this.utc).toString();break;case"F":case"g":break;case"t":v=i.translateFunc("_dateOrd").call(this,a);break;case"E":v=(o||7).toString();break;case"EE":v=l.padString((o||7).toString(),2,"0");break;case"EEE":case"eee":v=i.translate(this._weekdaysShort[o]);break;case"EEEE":case"eeee":v=i.translate(this._weekdays[o]);break;case"EEEEE":case"eeeee":v=i.translate(this._weekdays[o]).substr(0,1);break;case"e":case"ee":v=(o-this.firstDayOfWeek+1).toString(),"ee"==e.parts[m]&&(v=l.padString(v,2,"0"));break;case"a":v=s>=12?i.translate("PM"):i.translate("AM");break;case"aa":v=s>=12?i.translate("P.M."):i.translate("A.M.");break;case"aaa":v=s>=12?i.translate("P"):i.translate("A");break;case"h":v=l.get12Hours(s).toString();break;case"hh":v=l.padString(l.get12Hours(s),2,"0");break;case"H":v=s.toString();break;case"HH":v=l.padString(s,2,"0");break;case"K":v=l.get12Hours(s,0).toString();break;case"KK":v=l.padString(l.get12Hours(s,0),2,"0");break;case"k":v=(s+1).toString();break;case"kk":v=l.padString(s+1,2,"0");break;case"m":v=h.toString();break;case"mm":v=l.padString(h,2,"0");break;case"s":v=c.toString();break;case"ss":v=l.padString(c,2,"0");break;case"S":case"SS":case"SSS":v=Math.round(p/1e3*Math.pow(10,e.parts[m].length)).toString();break;case"x":v=g.toString();break;case"n":case"nn":case"nnn":v=l.padString(p,e.parts[m].length,"0");break;case"z":v=l.getTimeZone(t,!1,!1,this.utc);break;case"zz":v=l.getTimeZone(t,!0,!1,this.utc);break;case"zzz":v=l.getTimeZone(t,!1,!0,this.utc);break;case"zzzz":v=l.getTimeZone(t,!0,!0,this.utc);break;case"Z":case"ZZ":var x=Math.abs(f)/60,_=Math.floor(x),P=60*x-60*_;this.utc&&(_=0,P=0),"Z"==e.parts[m]?(v="GMT",v+=f>0?"-":"+",v+=l.padString(_,2)+":"+l.padString(P,2)):(v=f>0?"-":"+",v+=l.padString(_,2)+l.padString(P,2));break;case"i":v=t.toISOString();break;case"I":v=t.toUTCString()}d=d.replace(u.d,v)}return d},e.prototype.parse=function(t,e){if(h.hasValue(e)||(e=this.inputDateFormat),t instanceof Date)return t;if("number"==typeof t)return new Date(t);var i;"string"!=typeof t&&(t=t.toString()),this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.a);var n="";e=(e=l.cleanFormat(e)).substr(0,t.length);for(var o=this.parseFormat(e),a={year:-1,year3:-1,year2:-1,year1:-1,month:-1,monthShort:-1,monthLong:-1,weekdayShort:-1,weekdayLong:-1,day:-1,yearDay:-1,week:-1,hourBase0:-1,hour12Base0:-1,hourBase1:-1,hour12Base1:-1,minute:-1,second:-1,millisecond:-1,millisecondDigits:-1,am:-1,zone:-1,timestamp:-1,iso:-1},s={year:1970,month:0,day:1,hour:0,minute:0,second:0,millisecond:0,timestamp:null,offset:0,utc:this.utc},u=0,c=0,p=0;p-1&&(s.year=parseInt(f[a.year])),a.year3>-1){var g=parseInt(f[a.year3]);g+=1e3,s.year=g}if(a.year2>-1){g=parseInt(f[a.year2]);g+=g>50?1e3:2e3,s.year=g}if(a.year1>-1){g=parseInt(f[a.year1]);g=10*Math.floor((new Date).getFullYear()/10)+g,s.year=g}if(a.monthLong>-1&&(s.month=this.resolveMonth(f[a.monthLong])),a.monthShort>-1&&(s.month=this.resolveShortMonth(f[a.monthShort])),a.month>-1&&(s.month=parseInt(f[a.month])-1),a.week>-1&&-1===a.day&&(s.month=0,s.day=l.getDayFromWeek(parseInt(f[a.week]),s.year,1,this.utc)),a.day>-1&&(s.day=parseInt(f[a.day])),a.yearDay>-1&&(s.month=0,s.day=parseInt(f[a.yearDay])),a.hourBase0>-1&&(s.hour=parseInt(f[a.hourBase0])),a.hourBase1>-1&&(s.hour=parseInt(f[a.hourBase1])-1),a.hour12Base0>-1)11==(g=parseInt(f[a.hour12Base0]))&&(g=0),a.am>-1&&!this.isAm(f[a.am])&&(g+=12),s.hour=g;if(a.hour12Base1>-1)12==(g=parseInt(f[a.hour12Base1]))&&(g=0),a.am>-1&&!this.isAm(f[a.am])&&(g+=12),s.hour=g;if(a.minute>-1&&(s.minute=parseInt(f[a.minute])),a.second>-1&&(s.second=parseInt(f[a.second])),a.millisecond>-1){g=parseInt(f[a.millisecond]);2==a.millisecondDigits?g*=10:1==a.millisecondDigits&&(g*=100),s.millisecond=g}if(a.timestamp>-1&&(s.timestamp=parseInt(f[a.timestamp])),a.zone>-1){var m=f[a.zone].replace(/:/,""),y=h.getValue(m.match(/([+\-]?)([0-9]{2})([0-9]{2})/)),v=y[1],b=y[2],x=y[3],_=60*parseInt(b)+parseInt(x);"+"==v&&(_*=-1);var P=_-(new Date).getTimezoneOffset();s.offset=P}a.iso>-1&&("Z"!=f[a.iso+7]&&"z"!=f[a.iso+7]||(s.utc=!0),s.year=h.toNumber(f[a.iso+0]),s.month=h.toNumber(f[a.iso+1])-1,s.day=h.toNumber(f[a.iso+2]),s.hour=h.toNumber(f[a.iso+3]),s.minute=h.toNumber(f[a.iso+4]),s.second=h.toNumber(f[a.iso+5]),s.millisecond=h.toNumber(f[a.iso+6])),i=s.utc?new Date(Date.UTC(s.year,s.month,s.day,s.hour,s.minute,s.second,s.millisecond)):new Date(s.year,s.month,s.day,s.hour,s.minute,s.second,s.millisecond)}else i=new Date(t);return i},e.prototype.resolveMonth=function(t){var e=this._months.indexOf(t);return e>-1?e:this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this._months).indexOf(t))>-1?e:0},e.prototype.resolveShortMonth=function(t){var e=this._monthsShort.indexOf(t);return e>-1?e:this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this._monthsShort).indexOf(t))>-1?e:0},e.prototype.isAm=function(t){return this.getStringList(["AM","A.M.","A"]).indexOf(t.toUpperCase())>-1},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},e.prototype.getStringList=function(t){for(var e=[],i=0;i>>16)*o+r*(65535&n>>>16)<<16>>>0)}})},"8ujI":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("dstF")(2);n(n.P+n.F*!i("GQop")([].filter,!0),"Array",{filter:function(t){return r(this,t,arguments[1])}})},"9BM3":function(t,e){t.exports={}},"9MGJ":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("vJiZ"),o=i("DbOM"),a=i("hjwn");i("gD3S")&&n(n.P+i("3/+B"),"Object",{__defineSetter__:function(t,e){a.f(r(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},"9UcF":function(t,e,i){var n=i("Gb1H");n(n.S,"Object",{create:i("5+SK")})},"9ZsQ":function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("ZoDA"),o=i("aCit"),a=function(t){function e(){var e=t.call(this)||this;return e.className="DateAxisBreak",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"startDate",{get:function(){return this.getPropertyValue("startDate")},set:function(t){this.setPropertyValue("startDate",t)&&(this.startValue=t.getTime(),this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endDate",{get:function(){return this.getPropertyValue("endDate")},set:function(t){this.setPropertyValue("endDate",t)&&(this.endValue=t.getTime(),this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries()))},enumerable:!0,configurable:!0}),e}(r.a);o.c.registeredClasses.DateAxisBreak=a},"9i/o":function(t,e,i){"use strict";var n=i("AEc5"),r=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=n(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!n(function(){o.call(new Date(NaN))})?function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),i=t.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+("00000"+Math.abs(e)).slice(n?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(i>99?i:"0"+a(i))+"Z"}:o},A6AV:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("Tjl+"),o=i("x79X"),a=i("1yyj"),s=i("v9UT"),u=i("hJ5i"),l=i("Mtpk"),h=function(t){function e(){var e=t.call(this)||this;return e._disabled=!1,e.hasProperties=!1,e.values={},e.categories={},e.dates={},e.locations={},e.workingLocations={},e.properties={},e.sprites=[],e.isTemplate=!1,e._index=null,e._visible=!0,e._hidden=!1,e._ignoreMinMax=!1,e.hasChildren={},e.isHiding=!1,e._valueAnimations={},e._locationAnimations={},e.className="DataItem",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"adapter",{get:function(){return this._adapterO||(this._adapterO=new o.a(this)),this._adapterO},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"index",{get:function(){return this.component&&null!=this._index?this._index:-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new a.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return!this._hidden&&this._visible},set:function(t){t&&(this.hidden=!1),this._visible!=t&&this.setVisibility(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hidden",{get:function(){return this._hidden},set:function(t){this._hidden!=t&&(this._hidden=t,t?this.setVisibility(!1):this.setVisibility(!0,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,u.each(this.sprites,function(e){e.__disabled=t})},enumerable:!0,configurable:!0}),e.prototype.setVisibility=function(t,e){if(u.each(this.sprites,function(e){t?e.visible=e.defaultState.properties.visible:e.hiddenState?e.visible=e.hiddenState.properties.visible:e.visible=!1}),this._visible=t,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("visibilitychanged")){var i={type:"visibilitychanged",target:this,visible:t};this.events.dispatchImmediately("visibilitychanged",i)}},e.prototype.show=function(t,e,i){var n,r=this;if(!this.hidden)return this.setVisibility(!0,!0),this.isHiding=!1,this._hideDisposer&&this.removeDispose(this._hideDisposer),i&&u.each(i,function(i){n=r.setWorkingValue(i,r.values[i].value,t,e)}),u.each(this.sprites,function(i){var n=i.show(t);null==n||n.isFinished()||(r._disposers.push(n),null!=e&&e>0&&n.delay(e))}),n},e.prototype.dispose=function(){t.prototype.dispose.call(this),u.each(this.sprites,function(t){t.dispose()}),this.sprites=[]},e.prototype.hide=function(t,e,i,n){var r=this;if(this.isHiding=!0,u.each(this.sprites,function(i){var n=i.hide(t);null==n||n.isFinished()||(r._disposers.push(n),null!=e&&e>0&&n.delay(e))}),l.isNumber(i)&&n){var o;if(u.each(n,function(n){var a=r.setWorkingValue(n,i,t,e);a&&(o=a)}),o&&!o.isFinished())return this._hideDisposer=o.events.on("animationended",function(){r.setVisibility(!1,!0),r.isHiding=!1}),this._disposers.push(this._hideDisposer),o;this.isHiding=!1,this.setVisibility(!1,!0)}else this.isHiding=!1,this.setVisibility(!1)},e.prototype.getDuration=function(t){if(!l.isNumber(t)){var e=this.component;e&&(t=e.interpolationDuration)}if(null!=t)return this._adapterO?this._adapterO.apply("duration",t):t},e.prototype.getValue=function(t,e){if(t&&this.component){e||(e=this.component.dataFields[t+"Show"])||(e="value");var i=this.values[t][e];return this._adapterO&&this._adapterO.isEnabled("value")?this._adapterO.apply("value",{value:i,field:t}).value:i}},e.prototype.getWorkingValue=function(t){if(t&&this.component){var e=this.component.dataFields[t+"Show"];return e||(e="workingValue"),this._adapterO?this._adapterO.apply("workingValue",{workingValue:this.values[t][e],field:t}).workingValue:this.values[t][e]}},e.prototype.getActualWorkingValue=function(t){return this.values[t].workingValue},e.prototype.setValue=function(t,e,i,n){var r=this.values[t].value,o=this.getDuration(i);if(r!==(e=l.toNumber(e))){if(this.values[t].value=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("valuechanged")){var a={type:"valuechanged",target:this,property:t};this.events.dispatchImmediately("valuechanged",a)}this.component&&this.component.handleDataItemValueChange(this,t)}this.setWorkingValue(t,e,o,n)},e.prototype.setCalculatedValue=function(t,e,i){if(this.values[t][i]!==e&&l.isNumber(e)){if(this.values[t][i]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("calculatedvaluechanged")){var n={type:"calculatedvaluechanged",target:this,property:t};this.events.dispatchImmediately("calculatedvaluechanged",n)}this.component&&this.component.handleDataItemCalculatedValueChange(this,t)}},e.prototype.setWorkingValue=function(t,e,i,n){if(l.isNumber(this.values[t].value)){var r=this.getDuration(i),o=this.values[t].workingValue;if(null!=r&&r>0&&l.isNumber(o)&&this.component){if(o!=e){var a=this.animate({childObject:this.values[t],property:"workingValue",from:o,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&a.delay(n),a.events.on("animationstarted",this.handleInterpolationProgress,this),a.events.on("animationprogress",this.handleInterpolationProgress,this),a.events.on("animationended",this.handleInterpolationProgress,this),this._valueAnimations[t]=a,a}(s=this._valueAnimations[t])&&s.stop(),this.values[t].workingValue=e}else{var s;if((s=this._valueAnimations[t])&&s.stop(),this.values[t].workingValue=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var u={type:"workingvaluechanged",target:this,property:t};this.events.dispatchImmediately("workingvaluechanged",u)}this.component&&this.component.handleDataItemWorkingValueChange(this,t)}}},e.prototype.setLocation=function(t,e,i,n){if(this.locations[t]!==e){if(this.locations[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("locationchanged")){var r={type:"locationchanged",target:this,property:t};this.events.dispatchImmediately("locationchanged",r)}this.component&&this.component.handleDataItemValueChange(this,t),this.setWorkingLocation(t,e,i,n)}},e.prototype.setWorkingLocation=function(t,e,i,n){var r=this.getDuration(i),o=this.workingLocations[t];if(null!=r&&r>0&&l.isNumber(o)&&this.component){if(o!=e){var a=this.animate({childObject:this.workingLocations,property:t,from:o,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&a.delay(n),a.events.on("animationstarted",this.handleInterpolationProgress,this),a.events.on("animationprogress",this.handleInterpolationProgress,this),a.events.on("animationended",this.handleInterpolationProgress,this),this._locationAnimations[t]=a,a}(s=this._locationAnimations[t])&&s.stop(),this.workingLocations[t]=e}else{var s;if((s=this._locationAnimations[t])&&s.stop(),this.workingLocations[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workinglocationchanged")){var u={type:"workinglocationchanged",target:this,property:t};this.events.dispatchImmediately("workinglocationchanged",u)}this.component&&this.component.handleDataItemWorkingLocationChange(this,t)}},e.prototype.setDate=function(t,e,i){!l.isDate(e)&&this.component&&(e=this.component.dateFormatter.parse(e)),this.dates[t]!==e&&(this.dates[t]=e,this.setValue(t,e.getTime(),i))},e.prototype.getDate=function(t){return this._adapterO?this._adapterO.apply("date",{date:this.dates[t],field:t}).date:this.dates[t]},e.prototype.setProperty=function(t,e){if(this.properties[t]!==e){if(this.hasProperties=!0,this.properties[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")){var i={type:"propertychanged",target:this,property:t,value:e};this.events.dispatchImmediately("propertychanged",i)}this.component&&this.component.handleDataItemPropertyChange(this,t)}},e.prototype.setCategory=function(t,e){l.isString(e)||(e=l.castString(e)),this.categories[t]!==e&&(this.categories[t]=e)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.dataContext&&(this.dataContext=s.copy(e.dataContext,{})),s.copyProperties(e.locations,this.locations),e._adapterO&&this.adapter.copyFrom(e._adapterO),this.component=e.component},Object.defineProperty(e.prototype,"opacity",{set:function(t){u.each(this.sprites,function(e){e.opacity=t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(t){if(this._ignoreMinMax=t,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")){var e={type:"propertychanged",target:this,property:"ignoreMinMax",value:t};this.events.dispatchImmediately("propertychanged",e)}this.component&&this.component.handleDataItemPropertyChange(this,"ignoreMinMax")},enumerable:!0,configurable:!0}),e.prototype.animate=function(t,e,i){return new a.a(this,t,e,i).start()},e.prototype.handleInterpolationProgress=function(t){var e=t.target.animationOptions[0];if(e){if(this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var i={type:"workingvaluechanged",target:this,property:e.dummyData};this.events.dispatchImmediately("workingvaluechanged",i)}this.component&&this.component.handleDataItemWorkingValueChange(this,e.dummyData)}},e.prototype.hasValue=function(t){for(var e=0,i=t.length;ethis.end)return i.hide(0),void(this._tooltipPosition=void 0);var n=this.renderer;i.parent||(i.parent=this.tooltipContainer);var r=n.tooltipLocation,o=this.getCellStartPosition(t),a=this.getCellEndPosition(t);if("fixed"==this.tooltipPosition&&(t=y.ceil(o+(a-o)*r,4)),t=y.fitToRange(t,this.start,this.end),this._tooltipPosition!=t){this._tooltipPosition=t;var s=n.tooltipLocation2,u=n.positionToPoint(o,s),l=n.positionToPoint(a,s);this.currentItemStartPoint=u,this.currentItemEndPoint=l,n.fullWidthTooltip&&(i.width=l.x-u.x,i.height=l.y-u.y);var h=n.positionToPoint(t,s),c=v.spritePointToSvg(h,this.renderer.line);i.text=this.getTooltipText(t),i.text&&(i.pointTo(c),i.show())}this.cursorTooltipEnabled&&!this.tooltip.disabled||i.hide(0)}},e.prototype.toAxisPosition=function(t){if(void 0!=(t=this.renderer.toAxisPosition(t)))return t*=this.end-this.start,t=this.renderer.inversed?this.end-t:this.start+t},e.prototype.toGlobalPosition=function(t){return this.renderer.inversed?t=this.end-t:t-=this.start,t/(this.end-this.start)},e.prototype.getTooltipText=function(t){},e.prototype.updateTooltip=function(t,e){var i=this._tooltip;i&&(i.pointerOrientation=t,i.setBounds(v.spriteRectToSvg(e,this.renderer.line)))},e.prototype.roundPosition=function(t,e,i){return t},e.prototype.getCellStartPosition=function(t){return t},e.prototype.getCellEndPosition=function(t){return t},Object.defineProperty(e.prototype,"axisRanges",{get:function(){if(!this._axisRanges){var t=this.createDataItem();t.isRange=!0,t.axisFill=this.renderer.axisFills.template.clone(),t.grid=this.renderer.grid.template.clone(),t.tick=this.renderer.ticks.template.clone(),t.label=this.renderer.labels.template.clone(),t.isTemplate=!0,t.component=this,t.axisFill.disabled=!1,t.tick.disabled=!1,t.grid.disabled=!1,t.label.disabled=!1,this._axisRanges=new p.e(t),this._axisRanges.events.on("inserted",this.processAxisRange,this,!1),this._disposers.push(new p.c(this._axisRanges)),this._disposers.push(this._axisRanges.template)}return this._axisRanges},enumerable:!0,configurable:!0}),e.prototype.processAxisRange=function(t){var e=t.newValue;e.component=this,e.isRange=!0},Object.defineProperty(e.prototype,"axisBreaks",{get:function(){return this._axisBreaks||(this._axisBreaks=new c.d(this.createAxisBreak(),function(t,e){return b.order(t.adjustedStartValue,e.adjustedStartValue)}),this._axisBreaks.events.on("inserted",this.processBreak,this,!1),this._disposers.push(new p.c(this._axisBreaks)),this._disposers.push(this._axisBreaks.template)),this._axisBreaks},enumerable:!0,configurable:!0}),e.prototype.createAxisBreak=function(){return new u.a},Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new p.b),this._series},enumerable:!0,configurable:!0}),e.prototype.processSeriesDataItems=function(){},e.prototype.processSeriesDataItem=function(t,e){},e.prototype.postProcessSeriesDataItems=function(){},e.prototype.postProcessSeriesDataItem=function(t){},e.prototype.updateAxisBySeries=function(){},e.prototype.hideUnusedDataItems=function(){var t=this,e=this._dataItemsIterator;e.createNewItems=!1,m.each(e.iterator(),function(e){t.validateDataElement(e),e.__disabled=!0}),e.clear(),e.createNewItems=!0},e.prototype.getSeriesDataItem=function(t,e,i){},e.prototype.getAngle=function(t,e,i,n,r){},e.prototype.getX=function(t,e,i,n,r){},e.prototype.getPositionX=function(t,e,i,n,r){},e.prototype.getY=function(t,e,i,n,r){},e.prototype.getPositionY=function(t,e,i,n,r){},Object.defineProperty(e.prototype,"basePoint",{get:function(){return{x:0,y:0}},enumerable:!0,configurable:!0}),e.prototype.dataChangeUpdate=function(){},e.prototype.seriesDataChangeUpdate=function(t){},e.prototype.adjustDifference=function(t,e){var i=e-t;if(_.isNumber(i))return this._axisBreaks&&m.eachContinue(this._axisBreaks.iterator(),function(n){var r=n.adjustedStartValue,o=n.adjustedEndValue;if(_.isNumber(r)&&_.isNumber(o)){if(r>e)return!1;if(o>=t&&_.isNumber(r)&&_.isNumber(o)){var a=n.breakSize,s=y.intersection({start:r,end:o},{start:t,end:e});s&&(i-=(s.end-s.start)*(1-a))}return!0}}),i},e.prototype.isInBreak=function(t){if(this._axisBreaks)return m.find(this._axisBreaks.iterator(),function(e){return t>=e.adjustedStartValue&&t<=e.adjustedEndValue})},e.prototype.fixAxisBreaks=function(){var t=this;if(this._axisBreaks){var e=this._axisBreaks;if(e.length>0){x.each(m.toArray(e.iterator()),function(e){var i=y.min(e.startValue,e.endValue),n=y.max(e.startValue,e.endValue);e.adjustedStartValue=i,e.adjustedEndValue=n,t._axisBreaks.update(e)});var i=e.first,n=Math.min(i.startValue,i.endValue);m.each(e.iterator(),function(t){var e=t.adjustedStartValue,i=t.adjustedEndValue;e=0;i--){var n=t[i].label;if(n){n.invalid&&n.validate();var r=n.measuredHeight;n.visible||(r=0),i==t.length-1&&(e+=r/2),n.pixelY+r>e&&(n.y=e-r,e=n.y)}}},e.prototype.getNextLabel=function(t,e){if(e.length>=t){var i=e[t];if(i)return i.label&&i.visible?i.label:this.getNextLabel(t+1,e)}},Object.defineProperty(e.prototype,"colors",{get:function(){return this.getPropertyValue("colors")},set:function(t){this.setPropertyValue("colors",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"patterns",{get:function(){return this.getPropertyValue("patterns")},set:function(t){this.setPropertyValue("patterns",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t,e){d.each(t.children.iterator(),function(i){var n=e.slice;i.defaultState.properties.fill=n.fill,i.defaultState.properties.stroke=n.stroke,i.defaultState.properties.fillOpacity=n.fillOpacity,i.defaultState.properties.strokeOpacity=n.strokeOpacity,i.fill=n.fill,i.stroke=n.stroke,i.fillOpacity=n.fillOpacity,i.strokeOpacity=n.strokeOpacity,void 0==i.fill&&(i.__disabled=!0);var r=t.dataItem;r.color=n.fill,r.colorOrig=n.fill,i.addDisposer(n.events.on("propertychanged",function(t){"fill"==t.property&&(i.__disabled=!1,i.isActive||(i.fill=n.fill),i.defaultState.properties.fill=n.fill,r.color=n.fill,r.colorOrig=n.fill),"stroke"==t.property&&(i.isActive||(i.stroke=n.stroke),i.defaultState.properties.stroke=n.stroke)},void 0,!1))})},e.prototype.handleSliceScale=function(t){var e=this,i=t.target.dataItem;d.each(i.bullets.iterator(),function(t){var i=t[1];e.positionBullet(i)})},e.prototype.handleSliceMove=function(t){},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.slices.template.copyFrom(e.slices.template),this.labels.template.copyFrom(e.labels.template),this.ticks.template.copyFrom(e.ticks.template)},Object.defineProperty(e.prototype,"alignLabels",{get:function(){return this.getPropertyValue("alignLabels")},set:function(t){this.setAlignLabels(t)},enumerable:!0,configurable:!0}),e.prototype.setAlignLabels=function(t){this.setPropertyValue("alignLabels",t,!0)},Object.defineProperty(e.prototype,"ignoreZeroValues",{get:function(){return this.getPropertyValue("ignoreZeroValues")},set:function(t){this.setPropertyValue("ignoreZeroValues",t,!0)},enumerable:!0,configurable:!0}),e.prototype.updateLegendValue=function(t){if(t){var e=t.legendDataItem,i=t.legendSettings;e&&i&&i&&(i.labelText&&(e.label.text=i.labelText),i.itemLabelText&&(e.label.text=i.itemLabelText),i.valueText&&(e.valueLabel.text=i.valueText),i.itemValueText&&(e.valueLabel.text=i.itemValueText))}},e}(r.a);p.c.registeredClasses.PercentSeries=b,p.c.registeredClasses.PercentSeriesDataItem=v,y.c.push({relevant:y.b.maybeXS,state:function(t,e){if(t instanceof b){var i=t.states.create(e);return t.labels.template.states.create(e).properties.disabled=!0,t.ticks.template.states.create(e).properties.disabled=!0,i}return null}})},AEc5:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},AaJ4:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("Vs7R"),o=i("aCit"),a=i("8ZqG"),s=i("MIZb"),u=i("TGuK"),l=function(t){function e(){var e=t.call(this)||this;e.className="Grid",e.element=e.paper.add("path"),e.location=.5,e.isMeasured=!1,e.above=!1;var i=new s.a;return e.stroke=i.getFor("grid"),e.pixelPerfect=!0,e.strokeOpacity=.15,e.fill=Object(a.c)(),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"above",{get:function(){return this.getPropertyValue("above")},set:function(t){this.setPropertyValue("above",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(r.a);o.c.registeredClasses.Grid=l,u.c.push({relevant:u.b.maybeXS,state:function(t,e){if(t instanceof l){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},AiPC:function(t,e,i){i("YJIw")("Uint16",2,function(t){return function(e,i,n){return t(this,e,i,n)}})},Ax3V:function(t,e,i){var n=i("T9LF").document;t.exports=n&&n.documentElement},AzI1:function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},"B+tY":function(t,e,i){var n=i("Gb1H");n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},B2g9:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("FUSD"),o=i("vSjZ"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*a,"String",{padEnd:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},BEgH:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("aGXA"),o=i("Vs7R"),a=i("aCit"),s=i("MIZb"),u=i("hGwe"),l=i("Mtpk"),h=function(t){function e(){var e=t.call(this)||this;e.className="ZoomOutButton",e.padding(9,9,9,9),e.showSystemTooltip=!0;var i=new s.a,n=e.background;n.cornerRadius(20,20,20,20),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var r=new o.a;r.element=e.paper.add("path");var a=u.moveTo({x:0,y:0});return a+=u.lineTo({x:11,y:0}),r.path=a,r.pixelPerfect=!0,r.padding(8,3,8,3),r.stroke=i.getFor("primaryButtonText"),e.icon=r,e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),l.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Zoom Out"))},e}(r.a);a.c.registeredClasses.ZoomOutButton=h},BTtL:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},BYDm:function(t,e,i){"use strict";var n,r=i("T9LF"),o=i("dstF")(0),a=i("wDk4"),s=i("kFp5"),u=i("bdjS"),l=i("0YcW"),h=i("DvJ+"),c=i("rFJX"),p=i("rFJX"),d=!r.ActiveXObject&&"ActiveXObject"in r,f=s.getWeak,g=Object.isExtensible,m=l.ufstore,y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(t){if(h(t)){var e=f(t);return!0===e?m(c(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return l.def(c(this,"WeakMap"),t,e)}},b=t.exports=i("/Xnt")("WeakMap",y,v,l,!0,!0);p&&d&&(u((n=l.getConstructor(y,"WeakMap")).prototype,v),s.NEED=!0,o(["delete","has","get","set"],function(t){var e=b.prototype,i=e[t];a(e,t,function(e,r){if(h(e)&&!g(e)){this._f||(this._f=new n);var o=this._f[t](e,r);return"set"==t?this:o}return i.call(this,e,r)})}))},BmDP:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("qzbU"),o=i("hD5A"),a=i("aCit"),s=function(t){function e(){var e=t.call(this)||this;return e._label=new o.d,e._slice=new o.d,e.className="PieTick",e.element=e.paper.add("polyline"),e._disposers.push(e._label),e._disposers.push(e._slice),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.slice,i=this.label,n=e.dataItem.component;if(e&&e.radius>0&&i&&i.text){var r=e.dx+e.slice.dx+e.pixelX+e.ix*e.radius*e.scale,o=e.dy+e.slice.dy+e.pixelY+e.iy*e.radiusY*e.scale,a=void 0,s=void 0,u=void 0,l=void 0;if(n.alignLabels)a=i.pixelX-this.length,s=i.pixelY,u=i.pixelX,l=s,"right"==i.horizontalCenter&&(u=(a+=2*this.length)-this.length);else{var h=i.pixelRadius(e.radius);u=a=r+h*e.ix,l=s=o+h*e.iy}this.element.attr({points:[r,o,a,s,u,l]})}},Object.defineProperty(e.prototype,"slice",{get:function(){return this._slice.get()},set:function(t){this._slice.set(t,new o.c([t.events.on("transformed",this.invalidate,this),t.events.on("validated",this.invalidate,this)]))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label.get()},set:function(t){this._label.set(t,t.events.on("transformed",this.invalidate,this,!1))},enumerable:!0,configurable:!0}),e}(r.a);a.c.registeredClasses.PieTick=s},C2uA:function(t,e,i){i("YJIw")("Int16",2,function(t){return function(e,i,n){return t(this,e,i,n)}})},C6Lh:function(t,e,i){"use strict";i.d(e,"a",function(){return v});var n=i("m4/l"),r=i("ISWh"),o=i("Vs7R"),a=i("vMqJ"),s=i("hD5A"),u=i("0Mwj"),l=i("pR7v"),h=i("KknQ"),c=i("aCit"),p=i("MIZb"),d=i("85D4"),f=i("Wglt"),g=i("Mtpk"),m=i("hGwe"),y=i("tjMS"),v=function(t){function e(){var e=t.call(this)||this;e._chart=new s.d,e.className="XYChartScrollbar";var i=new p.a;e.padding(0,0,0,0);var n=e.createChild(u.a);n.shouldClone=!1,n.margin(0,0,0,0),n.padding(0,0,0,0),n.interactionsEnabled=!1,e._scrollbarChart=n,e._disposers.push(e._scrollbarChart),e.minHeight=60,e.minWidth=60;var r=e.createChild(o.a);r.shouldClone=!1,r.setElement(e.paper.add("path")),r.fill=i.getFor("background"),r.fillOpacity=.8,r.interactionsEnabled=!1,r.isMeasured=!1,r.toBack(),e._unselectedOverlay=r,e._disposers.push(e._unselectedOverlay),n.toBack(),e.background.cornerRadius(0,0,0,0);var a=e.thumb.background;a.cornerRadius(0,0,0,0),a.fillOpacity=0,a.fill=i.getFor("background");var l=a.states.getKey("hover");l&&(l.properties.fillOpacity=.2);var h=a.states.getKey("down");return h&&(h.properties.fillOpacity=.4),e._disposers.push(e._chart),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new a.b,this._disposers.push(this._series.events.on("inserted",this.handleSeriesAdded,this,!1)),this._disposers.push(this._series.events.on("removed",this.handleSeriesRemoved,this,!1))),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesAdded=function(t){var e=t.newValue;if(e.xAxis&&e.yAxis){var i=this.scrollbarChart;i.zoomOutButton.disabled=!0,this.chart=e.chart,i.language.locale=this.chart.language.locale;var n=!0,r=!0;f.each(this.series.iterator(),function(t){t!=e&&(t.xAxis==e.xAxis&&(n=!1),t.yAxis==e.yAxis&&(r=!1))});var o=new p.a,a=e.clone();if(n){var s=e.xAxis.clone();if(i.xAxes.moveValue(s),s.title.disabled=!0,s.rangeChangeDuration=0,(v=s.renderer).ticks.template.disabled=!0,v.inside=!0,v.labels.template.inside=!0,v.line.strokeOpacity=0,v.minLabelPosition=.02,v.maxLabelPosition=.98,v.line.disabled=!0,v.axisFills.template.disabled=!0,v.baseGrid.disabled=!0,v.grid.template.strokeOpacity=.05,v.minWidth=void 0,v.minHeight=void 0,v.padding(0,0,0,0),v.chart=i,v.margin(0,0,0,0),s.width=Object(y.c)(100),v.labels.template.fillOpacity=.5,s.maxZoomCount=void 0,s.minZoomCount=void 0,s instanceof h.a){var u=s,c=e.xAxis;s.groupCount=5*c.groupCount,this._disposers.push(u.clonedFrom.events.on("extremeschanged",function(){g.isNumber(u.clonedFrom.minDefined)&&(u.min=u.clonedFrom.minDefined),g.isNumber(u.clonedFrom.maxDefined)&&(u.max=u.clonedFrom.maxDefined)},void 0,!1))}else if(s instanceof l.a){var m=s;g.isNumber(m.clonedFrom.minDefined)||(m.min=void 0),g.isNumber(m.clonedFrom.maxDefined)||(m.max=void 0),this._disposers.push(m.clonedFrom.events.on("extremeschanged",function(){g.isNumber(m.clonedFrom.minDefined)&&(m.min=m.clonedFrom.min),g.isNumber(m.clonedFrom.maxDefined)&&(m.max=m.clonedFrom.max)},void 0,!1))}a.xAxis=s}else this.scrollbarChart.xAxes.each(function(t){t.clonedFrom==e.xAxis&&(a.xAxis=t)});if(r){var v,b=e.yAxis.clone();if(i.yAxes.moveValue(b),b.title.disabled=!0,b.rangeChangeDuration=0,(v=b.renderer).ticks.template.disabled=!0,v.inside=!0,v.labels.template.inside=!0,v.line.strokeOpacity=0,v.minLabelPosition=.02,v.maxLabelPosition=.98,v.line.disabled=!0,v.axisFills.template.disabled=!0,v.grid.template.stroke=o.getFor("background"),v.baseGrid.disabled=!0,v.grid.template.strokeOpacity=.05,v.minWidth=void 0,v.minHeight=void 0,v.chart=i,v.padding(0,0,0,0),v.margin(0,0,0,0),b.height=Object(y.c)(100),v.labels.template.fillOpacity=.5,a.yAxis=b,b.maxZoomCount=void 0,b.minZoomCount=void 0,b instanceof h.a){var x=b;c=e.yAxis;b.groupCount=5*c.groupCount,this._disposers.push(x.clonedFrom.events.on("extremeschanged",function(){g.isNumber(x.clonedFrom.minDefined)&&(x.min=x.clonedFrom.minDefined),g.isNumber(x.clonedFrom.maxDefined)&&(x.max=x.clonedFrom.maxDefined)}))}else if(b instanceof l.a){var _=b;g.isNumber(_.clonedFrom.minDefined)||(_.min=void 0),g.isNumber(_.clonedFrom.maxDefined)||(_.max=void 0),this._disposers.push(_.clonedFrom.events.on("extremeschanged",function(){g.isNumber(_.clonedFrom.minDefined)&&(_.min=_.clonedFrom.minDefined),g.isNumber(_.clonedFrom.maxDefined)&&(_.max=_.clonedFrom.maxDefined)}))}}else this.scrollbarChart.yAxes.each(function(t){t.clonedFrom==e.yAxis&&(a.yAxis=t)});a.rangeChangeDuration=0,a.interpolationDuration=0,a.defaultState.transitionDuration=0,a.showOnInit=!1,this._disposers.push(a.events.on("validated",this.zoomOutAxes,this,!1)),this._disposers.push(e.events.on("datavalidated",function(){a.data!=e.data&&(a.data=e.data)},void 0,!1)),a.defaultState.properties.visible=!0,a.filters.push(new d.a),i.series.push(a),this.updateByOrientation()}},e.prototype.updateByOrientation=function(){var t=this;this._scrollbarChart&&(f.each(this._scrollbarChart.xAxes.iterator(),function(e){var i=e.renderer;"vertical"==t.orientation?(i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10):(i.grid.template.disabled=!1,i.labels.template.disabled=!1,i.minGridDistance=e.clonedFrom.renderer.minGridDistance)}),f.each(this._scrollbarChart.yAxes.iterator(),function(e){var i=e.renderer;"horizontal"==t.orientation?(i.grid.template.disabled=!0,i.labels.template.disabled=!0,i.minGridDistance=10):(i.grid.template.disabled=!1,i.labels.template.disabled=!1,i.minGridDistance=e.clonedFrom.renderer.minGridDistance)}))},e.prototype.handleSeriesRemoved=function(t){var e=t.oldValue,i=this.scrollbarChart;i.series.each(function(t){t.clonedFrom==e&&i.series.removeValue(t)}),0==i.series.length&&(i.xAxes.clear(),i.yAxes.clear());try{e.events.off("validated",this.zoomOutAxes,this)}catch(t){}},Object.defineProperty(e.prototype,"scrollbarChart",{get:function(){return this._scrollbarChart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.get()!==t&&(this._chart.set(t,t.events.on("datavalidated",this.handleDataChanged,this,!1)),this.handleDataChanged(),this._scrollbarChart.dataProvider=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unselectedOverlay",{get:function(){return this._unselectedOverlay},enumerable:!0,configurable:!0}),e.prototype.handleDataChanged=function(){this.chart.data!=this.scrollbarChart.data&&(this.scrollbarChart.data=this.chart.data),this.scrollbarChart.invalidateData()},e.prototype.zoomOutAxes=function(){var t=this.scrollbarChart;f.each(t.xAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)}),f.each(t.yAxes.iterator(),function(t){t.zoom({start:0,end:1},!0,!0)})},e.prototype.updateThumb=function(){if(t.prototype.updateThumb.call(this),this._unselectedOverlay){var e=this.thumb,i=e.pixelX||0,n=e.pixelY||0,r=e.pixelWidth||0,o=e.pixelHeight||0,a="";"horizontal"==this.orientation?(a=m.rectToPath({x:-1,y:0,width:i,height:o}),a+=m.rectToPath({x:i+r,y:0,width:(this.pixelWidth||0)-i-r,height:o})):(a=m.rectToPath({x:0,y:0,width:r,height:n}),a+=m.rectToPath({x:0,y:n+o,width:r,height:(this.pixelHeight||0)-n-o})),this._unselectedOverlay.path=a}},e.prototype.processConfig=function(e){if(e&&g.hasValue(e.series)&&g.isArray(e.series))for(var i=0,n=e.series.length;in?1:t.idx-e.idx}),t=e.map(function(t){return t.data});var i=this.element,n=!0;if(i.node&&i.node.childNodes)for(var r=0,o=i.node.childNodes.length;r0;){var t=this.children.getIndex(0);t.parent=void 0,this.children.removeValue(t)}},e.prototype.disposeChildren=function(){for(;this.children.length>0;){var t=this.children.getIndex(0);t.dispose(),this.children.removeValue(t)}},Object.defineProperty(e.prototype,"background",{get:function(){return this._background||(this._background=this.createBackground(),this.processBackground()),this._background},set:function(t){this._background&&this.background!=t&&this.removeDispose(this._background),t&&(this._background=t,this._disposers.push(t),this.processBackground())},enumerable:!0,configurable:!0}),e.prototype.handleGlobalScale=function(){t.prototype.handleGlobalScale.call(this),this.children.each(function(t){t.handleGlobalScale()})},e.prototype.createBackground=function(){return new h.a},e.prototype.processBackground=function(){var t=this._background;t&&(t.isMeasured=!1,this._background.fill=(new d.a).getFor("background"),t.parent=this,t.isMeasured=!1,this.children.removeValue(t),this._disposers.push(t),this.group.addToBack(this._background.group))},e.prototype.validateLayout=function(){var t=this;p.c.removeFromInvalidLayouts(this),this.layoutInvalid=!1,this._availableWidth=this.innerWidth,this._availableHeight=this.innerHeight;var e=0,i=0,n=!0;this.children&&(this.sortChildren(),g.each(this._childrenByLayout,function(r){var o,a;if(y.isNumber(r.relativeWidth)?(o=m.round(t._availableWidth*r.relativeWidth,2),"horizontal"==t.layout&&(o-=r.pixelMarginRight+r.pixelMarginLeft)):"horizontal"==t.layout&&r.invalid&&r.validate(),y.isNumber(r.relativeHeight)?(a=m.round(t._availableHeight*r.relativeHeight,2),"vertical"==t.layout&&(a-=r.pixelMarginTop+r.pixelMarginBottom)):"vertical"==t.layout&&r.invalid&&r.validate(),0==r.invalid){if(y.isNumber(r.relativeWidth)&&(r.maxWidth=o),y.isNumber(r.relativeHeight)&&(r.maxHeight=a),r.isMeasured){"horizontal"==t.layout&&(y.isNumber(r.percentWidth)||r.measuredWidth>0&&(t._availableWidth-=r.measuredWidth+r.pixelMarginLeft+r.pixelMarginRight)),"vertical"==t.layout&&(y.isNumber(r.percentHeight)||r.measuredHeight>0&&(t._availableHeight-=r.measuredHeight+r.pixelMarginTop+r.pixelMarginBottom));var s=r.measuredWidth,u=r.measuredHeight;"none"!=r.align&&(s+=r.pixelMarginLeft+r.pixelMarginRight),"none"!=r.valign&&(u+=r.pixelMarginTop+r.pixelMarginBottom),e=Math.max(e,s),i=Math.max(i,u)}}else r.isMeasured&&(y.isNumber(r.relativeWidth)&&r.maxWidth!=o&&(r.maxWidth=o,n=!1),y.isNumber(r.relativeHeight)&&r.maxHeight!=a&&(r.maxHeight=a,n=!1))})),this._absoluteWidth=e,this._absoluteHeight=i,n&&this.arrange()},e.prototype.arrange=function(){var t,e,i,n,r,o,a,s,u,l,h,p=this,d=this.children,v=0,b=0,x=m.max(this.innerWidth,this._absoluteWidth),_=m.max(this.innerHeight,this._absoluteHeight),P=this.pixelPaddingLeft,w=this.pixelPaddingRight,O=this.pixelPaddingTop,S=this.pixelPaddingBottom,T=0,C=0,k=0,I=0,D=[],V=[],M=this.maxWidth,j=this.maxHeight,A=this.minWidth,F=this.minHeight,E=g.copy(d.values);if(this.reverseOrder&&E.reverse(),"grid"==this.layout){o=M,r=1;for(var R=0,L=E.length;Rr&&(r=N)}}o=m.fitToRange(o,1,M),r=m.fitToRange(r,1,M),a=this.fixedWidthGrid?M/r:M/o,a=m.max(1,Math.floor(a)),a=m.min(this.maxColumns,a),D=this.getColumnWidth(E,a,r)}for(R=0,L=E.length;Rm.min(this.innerWidth,M)-$+1&&I=a&&(I=0,C+=V[k],k++,T=0)}"none"!==this.layout&&(B.moveTo({x:G,y:H}),Z=G+B.maxLeft-W,q=G+B.maxRight+U,J=H+B.maxTop-z,Q=H+B.maxBottom+Y,(q>e||!y.isNumber(e))&&(e=q),(Zn||!y.isNumber(n))&&(n=Q),(q>u||!y.isNumber(u))&&(u=q),(Zh||!y.isNumber(h))&&(h=h))}}if("none"==this.layout){var tt=this.bbox;t=tt.x,e=tt.x+tt.width,i=tt.y,n=tt.y+tt.height}y.isNumber(t)||(t=0,s=0),y.isNumber(e)||(u=e=this._availableWidth),y.isNumber(i)||(i=0,l=0),y.isNumber(n)||(h=n=this._availableHeight),y.isNumber(l)||(l=0),y.isNumber(h)||(h=l),y.isNumber(s)||(s=0),y.isNumber(u)||(u=s),v=e-t,b=n-i,y.isNumber(this.relativeWidth)&&(t=0,e=v=M-P-w),y.isNumber(this.relativeHeight)&&(i=0,n=b=j-O-S),y.isNumber(this._pixelWidth)&&(t=0,v=this._pixelWidth-P-w),y.isNumber(A)&&v0){var nt,rt,ot=v,at=b;ot=-.5&&e<=this.pixelWidth+.5&&i>=-.5&&i<=this.pixelHeight+.5},e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.layout=e.layout,this.setStateOnChildren=e.setStateOnChildren,e._background&&(this.background=e._background.clone(),this.background.copyFrom(e._background)),f.each(e.children.iterator(),function(t){t.shouldClone&&(t.clone().parent=i)})},Object.defineProperty(e.prototype,"preloader",{get:function(){var t=this._preloader;return t||(this.parent?this.parent.preloader:void 0)},set:function(t){this._preloader&&this.removeDispose(this._preloader),this._preloader=t,t&&(t.parent=this.tooltipContainer,this._disposers.push(t))},enumerable:!0,configurable:!0}),e.prototype.setPaper=function(e){var i=this,n=t.prototype.setPaper.call(this,e);return n&&(this._background&&(this._background.paper=e,this._background.topParent=this.topParent),this.children.each(function(t){t.setPaper(e),t.topParent=i.topParent})),n},e.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),p.c.removeFromInvalidLayouts(this)},e.prototype.setDataItem=function(e){this._dataItem!=e&&(f.each(this.children.iterator(),function(t){t.dataItem=e}),this._background&&(this._background.dataItem=e)),t.prototype.setDataItem.call(this,e)},e.prototype.measureElement=function(){this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||this.validateLayout()},Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this.getPropertyValue("fontFamily")},set:function(t){this.setPropertyValue("fontFamily",t,!0)&&(this.setSVGAttribute({"font-family":t}),this.invalidateLabels())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this.getPropertyValue("fontSize")},set:function(t){this.setPropertyValue("fontSize",t,!0)&&(this.setSVGAttribute({"font-size":t}),this.invalidateLabels())},enumerable:!0,configurable:!0}),e.prototype.invalidateLabels=function(){this.children.each(function(t){t.hardInvalidate?t.hardInvalidate():t instanceof e&&t.invalidateLabels()})},Object.defineProperty(e.prototype,"fontWeight",{get:function(){return this.getPropertyValue("fontWeight")},set:function(t){this.setPropertyValue("fontWeight",t),this.setSVGAttribute({"font-weight":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textDecoration",{get:function(){return this.getPropertyValue("textDecoration")},set:function(t){this.setPropertyValue("textDecoration",t),this.setSVGAttribute({"text-decoration":t})},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._background&&this._background.dispose(),this._shouldBeReady=[],this.disposeChildren(),t.prototype.dispose.call(this)},e.prototype.setState=function(e,i,n){var r=e;return e instanceof o.a&&(r=e.name),this.setStateOnChildren&&f.each(this.children.iterator(),function(t){t.setState(r,i,n),"active"!=r&&(t.isActive=!1)}),this._background&&this._background.setState(r),this.setStateOnSprites.length&&g.each(this.setStateOnSprites,function(t){t.setState(r,i,n)}),t.prototype.setState.call(this,e,i,n)},e.prototype.setActive=function(e){t.prototype.setActive.call(this,e),this._background&&(this._background.isActive=e)},e.prototype.dispatchReady=function(){var e=this;if(!this.isReady()&&!this.isDisposed()){var i=!0;f.eachContinue(this.children.iterator(),function(t){return!!(t.__disabled||t.disabled||t.isReady())||(i=!1,!1)}),g.eachContinue(this._shouldBeReady,function(t){return!!(t.__disabled||t.disabled||t.isReady())||(i=!1,!1)}),i?t.prototype.dispatchReady.call(this):p.c.events.once("exitframe",function(){e.dispatchReady(),v.b.requestFrame()},void 0,!1)}},e.prototype._systemUpdate=function(e){this.children.each(function(t){t.invalid&&(t._systemCheckIfValidate()?t.dataItem&&t.dataItem.component&&t.dataItem.component.dataInvalid?e.push(t):t.validate():e.push(t))}),t.prototype._systemUpdate.call(this,e)},e.prototype._systemValidatePositions=function(){this.children.each(function(t){t.positionInvalid&&t.validatePosition()}),t.prototype._systemValidatePositions.call(this)},e.prototype._systemValidateLayouts=function(){this.layoutInvalid&&!this.isDisposed()&&this.validateLayout()},Object.defineProperty(e.prototype,"tapToActivate",{get:function(){return this._tapToActivate},set:function(t){this._tapToActivate!=t&&this.setTapToActivate(t)},enumerable:!0,configurable:!0}),e.prototype.setTapToActivate=function(t){var e=this;this._tapToActivate=t,this.interactions.isTouchProtected=t,t&&this.interactions.setEventDisposer("container-tapToActivate",t,function(){return new s.c([e.events.on("hit",e.handleTapToActivate,e,!1),e.events.on("down",e.initTapTimeout,e,!1),e.events.on("track",e.initTapTimeout,e,!1),Object(l.b)().body.events.on("down",function(t){Object(l.b)().isLocalElement(t.pointer,e.paper.svg,e.uid)||e.handleTapToActivateDeactivation()},e,!1)])}),Object(l.b)()},e.prototype.handleTapToActivate=function(){this.interactions.isTouchProtected=!1,this.initTapTimeout()},e.prototype.handleTapToActivateDeactivation=function(){this.interactions.isTouchProtected=!0},e.prototype.initTapTimeout=function(){var t=this;this._tapToActivateTimeout&&this._tapToActivateTimeout.dispose(),this.tapToActivate&&!this.interactions.isTouchProtected&&this.tapTimeout&&(this._tapToActivateTimeout=this.setTimeout(function(){t.handleTapToActivateDeactivation()},this.tapTimeout))},e.prototype.hasLicense=function(){if(b.a.commercialLicense)return!0;for(var t=0;tthis._negativeBase?n.positive:i=0?t.toExponential(e.decimals.passive).split("e"):t.toExponential().split("e"),t=Number(l[0]),r="e"+l[1],e.modSpacing&&(r=" "+r)}else if(0===e.decimals.passive)t=Math.round(t);else if(e.decimals.passive>0){var c=Math.pow(10,e.decimals.passive);t=Math.round(t*c)/c}var p="",d=h.numberToString(t).split("."),f=d[0];if(f.length0){for(var g=[],m=f.split("").reverse().join(""),y=0,v=f.length;y<=v;y+=e.thousands.interval){var b=m.substr(y,e.thousands.interval).split("").reverse().join("");""!==b&&g.unshift(b)}f=g.join(e.thousands.separator)}p+=f,1===d.length&&d.push("");var x=d[1];return x.length1&&(p-=1),a.push(p)}this.shuffle&&a.sort(function(t,e){return Math.random()-.5});for(c=0;c1?t.l=t.l-Math.floor(t.l):t.l<0&&(t.l=-(t.l-Math.floor(t.l))),t.l=l.fitNumberRelative(t.l,this.minLightness,this.maxLightness)):(t.l>1?t.l=1:t.l<0&&(t.l=0),t.l=l.fitNumber(t.l,this.minLightness,this.maxLightness))},e.prototype.processConfig=function(e){if(e&&u.hasValue(e.list)&&u.isArray(e.list))for(var i=0,n=e.list.length;i1?arguments[1]:void 0)}}),i("M/YL")(o)},FSsr:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=i("DbOM"),a=n.key,s=n.set;n.exp({metadata:function(t,e){return function(i,n){s(t,e,(void 0!==n?r:o)(i),a(n))}}})},FUSD:function(t,e,i){var n=i("FmWr"),r=i("lhvN"),o=i("kcsd");t.exports=function(t,e,i,a){var s=String(o(t)),u=s.length,l=void 0===i?" ":String(i),h=n(e);if(h<=u||""==l)return s;var c=h-u,p=r.call(l,Math.ceil(c/l.length));return p.length>c&&(p=p.slice(0,c)),a?p+s:s+p}},FmWr:function(t,e,i){var n=i("4BRe"),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},FzPm:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("Vs7R"),o=i("tjMS"),a=i("aCit"),s=i("v9UT"),u=i("Gg2j"),l=function(t){function e(){var e=t.call(this)||this;return e.className="Circle",e.element=e.paper.add("circle"),e.setPercentProperty("radius",Object(o.c)(100)),e.setPropertyValue("horizontalCenter","middle"),e.setPropertyValue("verticalCenter","middle"),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({r:this.pixelRadius})},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return s.relativeToValue(this.radius,u.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){var t=this.pixelRadius;this._bbox={x:-t,y:-t,width:2*t,height:2*t}},e}(r.a);a.c.registeredClasses.Circle=l},G0iN:function(t,e,i){var n=i("3BzE"),r=i("pmYy"),o=i("eBSV");t.exports=function(t){var e=n(t),i=r.f;if(i)for(var a,s=i(t),u=o.f,l=0;s.length>l;)u.call(t,a=s[l++])&&e.push(a);return e}},G5U1:function(t,e){var i=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=i)},GAaQ:function(t,e,i){"use strict";i.d(e,"a",function(){return D});var n,r=i("m4/l"),o=i("qJno"),a=i("x79X"),s=i("Vs7R"),u=i("W8Sc"),l=i("vMqJ"),h=i("+qIf"),c=i("7XB+"),p=i("akNo"),d=i("CTEm"),f=i("P/bD"),g=i("/IEW"),m=i("8ZqG"),y=i("aCit"),v=i("Q4nc"),b=i("58Sn"),x=i("LBDG"),_=i("Qkdp"),P=i("OVUc"),w=i("Mtpk"),O=i("v9UT"),S=i("hJ5i"),T=i("Gg2j");var C=/src: ([^;]+);/;function k(t,e,i){return r.b(this,void 0,void 0,function(){var n,o,a,s;return r.d(this,function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,P.a(e)];case 1:return n=u.sent(),[3,3];case 2:return o=u.sent(),console.error("Failed to load stylesheet",e,o),[2];case 3:(a=t.createElement("style")).textContent=n.response,t.head.appendChild(a),u.label=4;case 4:return u.trys.push([4,,7,8]),[4,function(t){return r.b(this,void 0,void 0,function(){var e;return r.d(this,function(i){switch(i.label){case 0:e=t.sheet,i.label=1;case 1:return i.trys.push([1,2,,4]),[2,e.cssRules];case 2:return i.sent(),[4,new Promise(function(i,n){t.addEventListener("load",function(){i(e.cssRules)},!0),t.addEventListener("error",function(t){n(t)},!0),setTimeout(function(){n(new Error("Timeout while waiting for "+this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),t,s,u,l,h),m=new Blob([g],{type:"image/svg+xml"}),n=i.createObjectURL(m),[4,this.loadNewImage(n,s,u,"anonymous")];case 3:return y=r.sent(),p.drawImage(y,0,0),[3,5];case 4:return null!==n&&i.revokeObjectURL(n),null!==o&&S.each(o,function(t){i.revokeObjectURL(t)}),this.restoreRemovedObjects(),[7];case 5:return[2,a]}})})},e.prototype.getCanvasAdvanced=function(t){return r.b(this,void 0,void 0,function(){var e,i,n,o,a,s,u,l,h,c;return r.d(this,function(r){switch(r.label){case 0:return w.hasValue(t)||(t={}),[4,this.imagesToDataURI(this.sprite.dom,t)];case 1:return r.sent(),e=this.backgroundColor||this.findBackgroundColor(this.sprite.dom),[4,this.canvg];case 2:return i=r.sent(),n=this.sprite.pixelWidth,o=this.sprite.pixelHeight,a=b.l(this.sprite.dom),s=b.m(this.sprite.dom),u=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),t,n,o,a,s,e),l=this.getDisposableCanvas(),h=this.getPixelRatio(t),l.style.width=n*h+"px",l.style.height=o*h+"px",l.width=n*h,l.height=o*h,c={useCORS:!0},1!=h&&(c.ignoreDimensions=!0,c.scaleWidth=n*h,c.scaleHeight=o*h),i(l,u,c),[2,l]}})})},e.prototype.getImageAdvanced=function(t,e,i){return r.b(this,void 0,void 0,function(){var n,o,a;return r.d(this,function(r){switch(r.label){case 0:return(n=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),w.hasValue(e)||(e=this.getFormatOptions(t)),[4,this.getCanvasAdvanced(e)];case 1:return o=r.sent(),!1===i?[3,3]:[4,this.addExtras(o,e,!0)];case 2:o=r.sent(),r.label=3;case 3:return a=o.toDataURL(this.getContentType(t),e.quality),this.disposeCanvas(o),n||this.restoreNonExportableSprites(),[2,a]}})})},e.prototype.getDisposableCanvas=function(){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="-10000px",document.body.appendChild(t),t},e.prototype.disposeCanvas=function(t){document.body.removeChild(t)},e.prototype.getPixelRatio=function(t){var e=t&&t.scale?t.scale:1;return(this.useRetina?O.getPixelRatio():1)*e},e.prototype.imagesToDataURI=function(t,i){return r.b(this,void 0,void 0,function(){var n,o,a,s,u,l;return r.d(this,function(r){switch(r.label){case 0:if(!(n=t.querySelectorAll("image")).length)return[3,2];for(o=[],a=n.length,s=0;s",{},1,1)],{type:"image/svg+xml"}),a=n.createObjectURL(o),s=void 0,r.label=2;case 2:return r.trys.push([2,4,,5]),[4,this.loadNewImage(a,1,1)];case 3:return s=r.sent(),[3,5];case 4:return r.sent(),[2,!1];case 5:i.drawImage(s,0,0),n.revokeObjectURL(a);try{return y.c.setCache("simplifiedImageExport",!0),[2,!0]}catch(t){return y.c.setCache("simplifiedImageExport",!1),[2,!1]}return[3,7];case 6:return r.sent(),y.c.setCache("simplifiedImageExport",!1),[2,!1];case 7:return[2]}})})},e.prototype.loadNewImage=function(t,e,i,n){return new Promise(function(r,o){var a;function s(){if(n){var e=a.src;a.onerror=function(){o(new Error('Loading image "'+t+'" failed'))},a.removeAttribute("crossorigin"),a.src="",a.src=e}else o(new Error('Loading image "'+t+'" failed'))}a=e&&i?new Image(e,i):new Image,n&&a.setAttribute("crossOrigin",n),a.onload=function(){r(a)},a.onabort=s,a.onerror=s,a.src=t})},e.prototype.getDOMURL=function(){return self.URL||self.webkitURL||self},e.prototype.getSVG=function(t,e){return r.b(this,void 0,void 0,function(){var i,n,o,a,s,u,l,h;return r.d(this,function(r){switch(r.label){case 0:return(i=this._objectsAlreadyHidden)||this.hideNonExportableSprites(),[4,this.awaitValidSprites()];case 1:return r.sent(),n=this.sprite.pixelWidth,o=this.sprite.pixelHeight,a=b.l(this.sprite.dom),s=b.m(this.sprite.dom),u=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),e,n,o,a,s),l=this.adapter.apply("charset",{charset:"charset=utf-8",type:"svg",options:e}).charset,h=this.adapter.apply("getSVG",{data:"data:"+this.getContentType(t)+";"+l+","+encodeURIComponent(u),options:e}).data,i||this.restoreNonExportableSprites(),[2,h]}})})},e.prototype.normalizeSVG=function(t,e,i,n,r,o,a){var s="";i&&(s+='width="'+i+'px" '),n&&(s+='height="'+n+'px" ');var u="";r&&(u+="font-family: "+r.replace(/"/g,"")+";"),o&&(u+="font-size: "+o+";"),t.match(/]*)width="[^"]*"/,"$1")).replace(/(]*)height="[^"]*"/,"$1")).replace(/('+t+"",a&&(t=t.replace(/(]*>)/,'$1')),x.a()&&(t=t.replace(/]*\/>/gi,""));var l=new RegExp("url\\("+O.escapeForRgex(O.getBaseURI()),"g");return t=t.replace(l,"url(#"),t=this.adapter.apply("normalizeSVG",{data:t,options:e}).data},e.prototype.serializeElement=function(t){return(new XMLSerializer).serializeToString(t)},e.prototype.getPDF=function(t,e){return r.b(this,void 0,void 0,function(){var i,n,o,a,s,u,l,h;return r.d(this,function(r){switch(r.label){case 0:return[4,this.getImage(e.imageFormat||"png",e)];case 1:return i=r.sent(),[4,this.pdfmake];case 2:return n=r.sent(),o=[30,30,30,30],a={pageSize:e.pageSize||"A4",pageOrientation:e.pageOrientation||"portrait",pageMargins:e.pageMargins||o,content:[]},(s=this.adapter.apply("title",{title:this.title,options:e}).title)&&a.content.push({text:s,fontSize:e.fontSize,bold:!0,margin:[0,0,0,15]}),e.addURL&&a.content.push({text:this.language.translate("Saved from")+": "+document.location.href,fontSize:e.fontSize,margin:[0,0,0,15]}),"pdfdata"!=t&&a.content.push({image:i,fit:this.getPageSizeFit(a.pageSize,a.pageMargins)}),"pdfdata"==t||e.addData?(l=(u=a.content).push,h={},[4,this.getPDFData("pdf",e)]):[3,4];case 3:l.apply(u,[(h.table=r.sent(),h)]),r.label=4;case 4:return a=this.adapter.apply("pdfmakeDocument",{doc:a,options:e}).doc,[4,new Promise(function(t,e){n.createPdf(a).getDataUrl(function(e){t(e)})})];case 5:return[2,r.sent()]}})})},e.prototype.getPDFData=function(t,e){return r.b(this,void 0,void 0,function(){var t,i,n,o,a,s=this;return r.d(this,function(r){if(t={body:[]},i=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"pdf"}).dataFields,n=this.data,e.pivot)_.each(i,function(i,r){var o=[];e.addColumnNames&&o.push(r);for(var a=n.length,u=0;u=0)&&(l='"'+l+'"'),a.push(l)}),a.join(o)},e.prototype.getHTML=function(t,e){return r.b(this,void 0,void 0,function(){var i,n,o,a,s,u,l=this;return r.d(this,function(r){if(i="",e.tableClass&&(i='
'),n=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"html"}).dataFields,o=this.data,e.pivot)_.each(n,function(t,n){var r=[];e.addColumnNames&&r.push(n);for(var a=o.length,s=0;s'),i||(i=t);var s=r?"th":"td",u=!0;return _.each(i,function(i,r){var l=o.convertEmptyValue(i,t[i],e),h=n?l:o.convertToSpecialFormat(i,l,e);h=(h=""+h).replace(/[\u00A0-\u9999<>\&]/gim,function(t){return"&#"+t.charCodeAt(0)+";"});var c=s;e.pivot&&u&&(c="th"),e.cellClass?a+="\n\t\t<"+c+' class="'+e.cellClass+'">'+h+"":a+="\n\t\t<"+c+">"+h+"",u=!1}),a+="\n\t"},e.prototype.getJSON=function(t,e){return r.b(this,void 0,void 0,function(){var i,n,o,a,s,u,l,h,c=this;return r.d(this,function(r){if(n=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"csv"}).dataFields,this._dynamicDataFields)i=this.data;else for(i=[],o=this.data,a=function(t,r){var a=o[r];if("object"==typeof a){var s={};_.each(a,function(t,i){w.hasValue(n[t])&&(s[n[t]]=c.convertToSpecialFormat(t,i,e))}),i.push(s)}},s=o.length,u=0;u

'+this.language.translate('To save the image, right-click thumbnail on the left and choose "Save picture as..."')+'

'+this.language.translate("(Press ESC to close this message)")+"

",this.language.translate("Image Export Complete")):(g=void 0,e.match(/\.svg$/)?g="image/svg+xml":(g="text/plain",e+=".txt"),(m=document.createElement("iframe")).width="1px",m.height="1px",m.style.display="none",document.body.appendChild(m),(y=m.contentDocument).open(g,"replace"),y.write(decodeURIComponent(f[3])),y.close(),y.execCommand("SaveAs",!0,e),document.body.removeChild(m))):window.location.href=t;return[2,!0]})})},e.prototype.downloadSupport=function(){return this.linkDownloadSupport()||this.msBlobDownloadSupport()},e.prototype.linkDownloadSupport=function(){var t=y.c.getCache("linkDownloadSupport");if(!1===t||!0===t)return t;var e=void 0!==document.createElement("a").download;return y.c.setCache("linkDownloadSupport",e),e},e.prototype.blobDownloadSupport=function(){return w.hasValue(window.Blob)},e.prototype.msBlobDownloadSupport=function(){return w.hasValue(window.navigator.msSaveOrOpenBlob)},e.prototype.legacyIE=function(){var t=document.createElement("div");return t.innerHTML="\x3c!--[if lt IE 10]> *",{display:"none",position:"fixed",visibility:"hidden",opacity:"0",clipPath:"polygon(0px 0px,0px 0px,0px 0px,0px 0px);"}),i&&document&&document.title&&(a=document.title,document.title=i),(s=new Image).src=t,s.style.maxWidth="100%",s.style.display="block",s.style.position="relative",s.style.visibility="visible",s.style.opacity="1",s.style.clipPath="none",document.body.appendChild(s),this.setTimeout(function(){window.print()},50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&e.delay<1e3?e.delay=1e3:e.delay<100&&(e.delay=100),this.setTimeout(function(){document.body.removeChild(s),o.dispose(),a&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=n},e.delay||500),[2,!0]})})},e.prototype.printViaIframe=function(t,e,i){return r.b(this,void 0,void 0,function(){var n,o;return r.d(this,function(r){return(n=document.createElement("iframe")).style.visibility="hidden",document.body.appendChild(n),n.contentWindow.document.open(),n.contentWindow.document.close(),(o=new Image).src=t,o.style.maxWidth="100%",i&&(n.contentWindow.document.title=i),n.contentWindow.document.body.appendChild(o),n.load=function(){n.contentWindow.document.body.appendChild(o)},this.setTimeout(function(){try{n.contentWindow.document.execCommand("print",!1,null)||n.contentWindow.print()}catch(t){n.contentWindow.print()}},e.delay||50),/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&e.delay<1e3?e.delay=1e3:e.delay<100&&(e.delay=100),this.setTimeout(function(){document.body.removeChild(n)},e.delay+50||100),[2,!0]})})},e.prototype.findBackgroundColor=function(t){var e=1,i=Object(b.p)(t,"background-color");if((i.match(/[^,]*,[^,]*,[^,]*,[ ]?0/)||"transparent"==i)&&(e=0),0==e){var n=t.parentElement;return n?this.findBackgroundColor(n):Object(m.c)("#fff")}return Object(m.c)(i,e)},Object.defineProperty(e.prototype,"container",{get:function(){return this.adapter.apply("container",{container:this._container}).container},set:function(t){this._container=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sprite",{get:function(){return this.adapter.apply("sprite",{sprite:this._sprite}).sprite},set:function(t){this._sprite=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraSprites",{get:function(){return this.adapter.apply("extraSprites",{extraSprites:this._extraSprites}).extraSprites},set:function(t){this._extraSprites=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validateSprites",{get:function(){return this.adapter.apply("validateSprites",{validateSprites:this._validateSprites}).validateSprites},set:function(t){this._validateSprites=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this.adapter.apply("data",{data:this._data}).data},set:function(t){this._data=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataFields",{get:function(){return this._dataFields||this.generateDataFields(),this.adapter.apply("dataFields",{dataFields:this._dataFields}).dataFields},set:function(t){this._dataFields=t,this._dynamicDataFields=!1},enumerable:!0,configurable:!0}),e.prototype.handleDataUpdated=function(){this._dynamicDataFields&&(this._dataFields=void 0)},Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter||(this._dateFormatter=new c.a,this._dateFormatter.language=this.language),this.adapter.apply("dateFormatter",{dateFormatter:this._dateFormatter}).dateFormatter},set:function(t){this._dateFormatter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this.adapter.apply("dateFormat",{dateFormat:this._dateFormat}).dateFormat},set:function(t){this._dateFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFields",{get:function(){return this._dateFields||(this._dateFields=new l.b),this.adapter.apply("dateFields",{dateFields:this._dateFields}).dateFields},set:function(t){this._dateFields=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFormatter",{get:function(){return this._numberFormatter||(this._numberFormatter=new d.a,this._numberFormatter.language=this.language),this.adapter.apply("numberFormatter",{numberFormatter:this._numberFormatter}).numberFormatter},set:function(t){this._dateFormatter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFormat",{get:function(){return this.adapter.apply("numberFormat",{numberFormat:this._numberFormat}).numberFormat},set:function(t){this._numberFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFields",{get:function(){return this._numberFields||(this._numberFields=new l.b),this.adapter.apply("numberFields",{numberFields:this._numberFields}).numberFields},set:function(t){this._numberFields=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormatter",{get:function(){return this._durationFormatter||(this._durationFormatter=new p.a,this._durationFormatter.language=this.language),this.adapter.apply("durationFormatter",{durationFormatter:this._durationFormatter}).durationFormatter},set:function(t){this._durationFormatter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormat",{get:function(){return this.adapter.apply("durationFormat",{durationFormat:this._durationFormat}).durationFormat},set:function(t){this._durationFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFields",{get:function(){return this._durationFields||(this._durationFields=new l.b),this.adapter.apply("durationFields",{durationFields:this._durationFields}).durationFields},set:function(t){this._durationFields=t},enumerable:!0,configurable:!0}),e.prototype.generateDataFields=function(){var t=this;this._dataFields={},this.data.length&&S.each(this.data,function(e){_.each(e,function(e,i){w.hasValue(t._dataFields[e])||(t._dataFields[e]=t.adapter.apply("dataFieldName",{name:e,field:e}).name)})})},e.prototype.isDateField=function(t){return this.adapter.apply("isDateField",{isDateField:this.dateFields.contains(t),field:t}).isDateField},e.prototype.isNumberField=function(t){return this.adapter.apply("isNumberField",{isNumberField:this.numberFields.contains(t),field:t}).isNumberField},e.prototype.isDurationField=function(t){return this.adapter.apply("isDurationField",{isDurationField:this.durationFields.contains(t),field:t}).isDurationField},e.prototype.getContentType=function(t){var e="";switch(t){case"png":case"gif":e="image/"+t;break;case"jpg":e="image/jpeg";break;case"svg":e="image/svg+xml";break;case"csv":e="text/csv";break;case"json":e="application/json";break;case"html":e="text/html";break;case"pdf":case"pdfdata":e="application/pdf";break;case"xlsx":e="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}return this.adapter.apply("contentType",{contentType:e,type:t}).contentType},Object.defineProperty(e.prototype,"filePrefix",{get:function(){return this.adapter.apply("filePrefix",{filePrefix:this._filePrefix}).filePrefix},set:function(t){this._filePrefix=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this.adapter.apply("backgroundColor",{backgroundColor:this._backgroundColor}).backgroundColor},set:function(t){this._backgroundColor=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.adapter.apply("title",{title:this._title}).title},set:function(t){this._title=t},enumerable:!0,configurable:!0}),e.prototype.showPreloader=function(){var t=this.preloader;t&&(t.progress=.5,t.label.text="...")},e.prototype.hidePreloader=function(){var t=this.preloader;t&&(t.progress=1)},Object.defineProperty(e.prototype,"preloader",{get:function(){return this._sprite&&this._sprite.parent&&this._sprite.parent.preloader?this._sprite.parent.preloader:void 0},enumerable:!0,configurable:!0}),e.prototype.showTimeout=function(){this.showModal(this.adapter.apply("timeoutMessage",{message:this.language.translate("Export operation took longer than expected. Something might have gone wrong.")}).message)},e.prototype.hideTimeout=function(){this._timeoutTimeout&&(this.removeDispose(this._timeoutTimeout),this._timeoutTimeout=null),this.hideModal()},Object.defineProperty(e.prototype,"language",{get:function(){return this._language||(this._language=new f.a),this._language},set:function(t){this._language=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modal",{get:function(){return this._modal||(this._modal=new u.a,this._modal.adapter.add("classPrefix",function(t){return t=v.a.classNamePrefix+t})),this._modal},enumerable:!0,configurable:!0}),e.prototype.showModal=function(t,e){this.hideModal(),this.hidePreloader();var i=this.modal;i.container=this.sprite.svgContainer.SVGContainer,i.content=t,i.readerTitle=e,i.open()},e.prototype.hideModal=function(){this._modal&&this.modal.close()},e.prototype._canvg=function(){return r.b(this,void 0,void 0,function(){var t;return r.d(this,function(e){switch(e.label){case 0:return[4,i.e("0471").then(i.bind(null,"pu93"))];case 1:return null!=(t=e.sent()).default?[2,t.default]:[2,t]}})})},Object.defineProperty(e.prototype,"canvg",{get:function(){return this._canvg()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pdfmake",{get:function(){return null==n&&(n=function(){return r.b(this,void 0,void 0,function(){var t,e,n,o;return r.d(this,function(r){switch(r.label){case 0:return[4,Promise.all([i.e("076f").then(i.bind(null,"o2M+")),i.e("076f").then(i.bind(null,"/9Au"))])];case 1:return t=r.sent(),e=t[0],n=t[1],(o=window).pdfMake=o.pdfMake||{},o.pdfMake.vfs=n.default,e.vfs=n.default,[2,e]}})})}()),n},enumerable:!0,configurable:!0}),e.prototype._xlsx=function(){return r.b(this,void 0,void 0,function(){return r.d(this,function(t){switch(t.label){case 0:return[4,i.e("bf3e").then(i.bind(null,"s5xg"))];case 1:return[2,t.sent()]}})})},Object.defineProperty(e.prototype,"xlsx",{get:function(){return this._xlsx()},enumerable:!0,configurable:!0}),e.prototype.setFormatOptions=function(t,e){this._formatOptions.setKey(t,e)},e.prototype.getFormatOptions=function(t){return this._formatOptions.getKey(t)},e.prototype._disablePointers=function(){w.hasValue(this._spriteInteractionsEnabled)||(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled),this.sprite.interactionsEnabled=!1},e.prototype._releasePointers=function(){w.hasValue(this._spriteInteractionsEnabled)&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled)},e.prototype.hideNonExportableSprites=function(){var t=this;if(!this._objectsAlreadyHidden){var e=this.sprite.svgContainer;e&&S.each(e.nonExportableSprites,function(e){e.isHidden||e.isHiding||t._hiddenObjects.push(e),e.hide(0)}),this._objectsAlreadyHidden=!0}},e.prototype.restoreNonExportableSprites=function(){this._objectsAlreadyHidden&&(S.each(this._hiddenObjects,function(t){t.show(0)}),this._hiddenObjects=[],this._objectsAlreadyHidden=!1)},e.prototype.awaitValidSprites=function(){return r.b(this,void 0,void 0,function(){var t;return r.d(this,function(e){switch(e.label){case 0:return t=[],this.validateSprites.length&&S.each(this.validateSprites,function(e,i){e.invalid&&t.push(new Promise(function(t,i){e.events.once("validated",function(e){t()})}))}),t.length?[4,Promise.all(t)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}})})},e.prototype.processConfig=function(e){y.c.registeredClasses.ExportMenu=o.a,e&&w.hasValue(e.menu)&&!w.hasValue(e.menu.type)&&(e.menu.type="ExportMenu"),t.prototype.processConfig.call(this,e)},e.XLINK="http://www.w3.org/1999/xlink",e}(g.a)},GIxq:function(t,e,i){var n=i("DVYA");t.exports=function(t,e){if("number"!=typeof t&&"Number"!=n(t))throw TypeError(e);return+t}},GQop:function(t,e,i){"use strict";var n=i("AEc5");t.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}},Gb1H:function(t,e,i){var n=i("T9LF"),r=i("G5U1"),o=i("Vng0"),a=i("wDk4"),s=i("20m4"),u=function t(e,i,u){var l,h,c,p,d=e&t.F,f=e&t.G,g=e&t.P,m=e&t.B,y=f?n:e&t.S?n[i]||(n[i]={}):(n[i]||{}).prototype,v=f?r:r[i]||(r[i]={}),b=v.prototype||(v.prototype={});for(l in f&&(u=i),u)c=((h=!d&&y&&void 0!==y[l])?y:u)[l],p=m&&h?s(c,n):g&&"function"==typeof c?s(Function.call,c):c,y&&a(y,l,c,e&t.U),v[l]!=c&&o(v,l,p),g&&b[l]!=c&&(b[l]=c)};n.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},Gg2j:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"PI",function(){return r}),i.d(e,"HALFPI",function(){return o}),i.d(e,"RADIANS",function(){return a}),i.d(e,"DEGREES",function(){return s}),e.toNumberRange=function(t,e,i){if(n.hasValue(t))return l(t=n.toNumber(t),e,i);return t},e.round=u,e.ceil=function(t,e){if(!n.isNumber(e)||e<=0)return Math.ceil(t);var i=Math.pow(10,e);return Math.ceil(t*i)/i},e.stretch=function(t,e,i){return t*(i-e)+e},e.fitToRange=l,e.sin=h,e.tan=function(t){return u(Math.tan(a*t),10)},e.cos=c,e.max=p,e.min=d,e.closest=function(t,e){return t.reduce(function(t,i){return Math.abs(i-e)0)for(var s=0;s<=r;s++){var u=y(t,e,i,n,s/r);o+=f(a,u),a=u}return o},e.getScale=function(t,e,i,n){var r=f(e,n),o=f(t,i);return Math.abs(o/r)},e.getMidPoint=function(t,e,i){n.isNumber(i)||(i=.5);return{x:t.x+(e.x-t.x)*i,y:t.y+(e.y-t.y)*i}},e.getRotation=g,e.getAngle=m,e.getCenterShift=function(t,e,i,n,r){var o=g(e,i,n,r)-90;o<0&&(o+=360);var a=f(e,n),s=Math.cos(o)/a+e.x,u=Math.cos(o)/a+e.y;return{x:s-t.x,y:u-t.y}},e.getBBox=function(t){if(t){var e=t.length;if(0!==e){for(var i,r=void 0,o=void 0,a=void 0,s=0;so)&&(o=u.x),(!n.isNumber(r)||u.xa)&&(a=u.y)}return{x:r,y:i,width:o-r,height:a-i}}}return{x:0,y:0,width:0,height:0}},e.getCommonRectangle=function(t){var e=t.length;if(0!==e){for(var i=void 0,n=void 0,r=void 0,o=void 0,a=0;ai){var n=e;e=i,i=n}t=b(t);var r=(e-b(e))/360;ti&&(t-360>e?t-=360:t=te+(i-e)/2-180?e:i);return t},e.getArcRect=function(t,e,i){var r=Number.MAX_VALUE,o=Number.MAX_VALUE,a=-Number.MAX_VALUE,s=-Number.MAX_VALUE,u=[];n.isNumber(i)||(i=1);u.push(x(i,t)),u.push(x(i,e));for(var l=Math.min(90*Math.floor(t/90),90*Math.floor(e/90)),h=Math.max(90*Math.ceil(t/90),90*Math.ceil(e/90)),c=l;c<=h;c+=90)c>=t&&c<=e&&u.push(x(i,c));for(var p=0;pa&&(a=d.x),d.y>s&&(s=d.y)}return{x:r,y:o,width:a-r,height:s-o}},e.getArcPoint=x,e.isInRectangle=function(t,e){if(t.x>=e.x&&t.x<=e.x+e.width&&t.y>e.y&&t.yi&&(t=i),t}function h(t){return u(Math.sin(a*t),10)}function c(t){return u(Math.cos(a*t),10)}function p(t,e){return n.isNumber(t)?n.isNumber(e)&&e>t?e:t:n.isNumber(e)?e:null}function d(t,e){return n.isNumber(t)?n.isNumber(e)&&e0&&(i.maxWidth=t),e>0&&(i.maxHeight=e),u.n(this.SVGContainer)),i.maxWidth||(i.maxWidth=0),i.maxHeight||(i.maxHeight=0),this.cssScale=1,this.checkTransform(this.htmlElement))},Object.defineProperty(t.prototype,"container",{get:function(){return this._container},set:function(t){this._container=t,this.measure()},enumerable:!0,configurable:!0}),t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||l.remove(d,this),l.each(this._disposers,function(t){t.dispose()})},Object.defineProperty(t.prototype,"hideOverflow",{set:function(t){this.SVGContainer.style.overflow=t?"hidden":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"modal",{get:function(){return h.hasValue(this._modal)||(this._modal=new o.a,this._modal.container=this.SVGContainer,this._disposers.push(this._modal)),this._modal},enumerable:!0,configurable:!0}),t.prototype.openModal=function(t,e){this.closeModal();var i=this.modal;return i.content=t,i.readerTitle=e,i.open(),i},t.prototype.closeModal=function(){this._modal&&this.modal.close()},Object.defineProperty(t.prototype,"popups",{get:function(){if(!h.hasValue(this._popups)){var t=new r.a;t.container=this.SVGContainer,this._popups=new a.e(t),this._disposers.push(new a.c(this._popups)),this._disposers.push(this._popups.template)}return this._popups},enumerable:!0,configurable:!0}),t.prototype.openPopup=function(t,e){var i=this.popups.create();return i.content=t,h.hasValue(e)&&(i.title=e),i.open(),i},t.prototype.closeAllPopups=function(){this.popups.each(function(t){t.close()})},t.prototype.checkTransform=function(t){if(window.getComputedStyle){if(t&&t.style){var e=window.getComputedStyle(t,null);if(e){var i=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("-moz-transform")||e.getPropertyValue("-ms-transform")||e.getPropertyValue("-o-transform")||e.getPropertyValue("transform");if(i&&"none"!==i){var n=i.split("(")[1].split(")")[0].split(","),r=Number(n[0]),o=Number(n[1]),a=Math.sqrt(r*r+o*o);isNaN(a)||(this.cssScale*=a)}}}t.parentNode&&t.parentNode instanceof HTMLElement&&this.checkTransform(t.parentNode)}},t}()},HW78:function(t,e,i){t.exports=!i("gD3S")&&!i("AEc5")(function(){return 7!=Object.defineProperty(i("+wz8")("div"),"a",{get:function(){return 7}}).a})},HyzE:function(t,e,i){var n=i("Gb1H"),r=i("aPa3");n(n.G+n.F*(parseFloat!=r),{parseFloat:r})},ID9o:function(t,e,i){var n=i("YEtG")("iterator"),r=!1;try{var o=[7][n]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var i=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:i=!0}},o[n]=function(){return a},t(o)}catch(t){}return i}},IGCA:function(t,e,i){"use strict";i("Mvcd")("blink",function(t){return function(){return t(this,"blink","","")}})},ISWh:function(t,e,i){"use strict";i.d(e,"a",function(){return v});var n=i("m4/l"),r=i("C6dT"),o=i("xIv9"),a=i("aGXA"),s=i("zhwk"),u=i("qCRI"),l=i("CnhP"),h=i("aCit"),c=i("WYhe"),p=i("MIZb"),d=i("tjMS"),f=i("Gg2j"),g=i("0FpR"),m=i("Mtpk"),y=i("v9UT"),v=function(t){function e(){var e=t.call(this)||this;e._previousStart=0,e._previousEnd=1,e._prevStart=0,e._prevEnd=1,e._isBusy=!1,e._skipRangeEvents=!1,e.updateWhileMoving=!0,e.className="Scrollbar",e.minHeight=12,e.minWidth=12,e.animationDuration=0,e.animationEasing=g.cubicOut,e.margin(10,10,10,10);var i=new p.a,n=e.background;return n.cornerRadius(10,10,10,10),n.fill=i.getFor("fill"),n.fillOpacity=.5,e.showSystemTooltip=!0,e.startGrip=new o.a,e.endGrip=new o.a,e.events.on("transformed",e.updateThumb,e,!1),e.start=0,e.end=1,e.role="scrollbar",e.thumb.role="slider",e.thumb.readerLive="polite",e.startGrip.role="slider",e.endGrip.role="slider",e.events.once("inited",function(){e._previousStart=void 0,e.dispatchRangeChange()},void 0,!1),e.hideGrips=!1,e.orientation="horizontal",e.setSVGAttribute({"aria-valuemin":"0"}),e.setSVGAttribute({"aria-valuemax":"100"}),e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),"horizontal"===this.orientation?(m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB to select grip buttons or left and right arrows to change selection")),m.hasValue(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use left and right arrows to move selection")),m.hasValue(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use left and right arrows to move left selection")),m.hasValue(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use left and right arrows to move right selection")),this.readerOrientation="horizontal"):(m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB select grip buttons or up and down arrows to change selection")),m.hasValue(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use up and down arrows to move selection")),m.hasValue(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use up and down arrows to move upper selection")),m.hasValue(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use up and down arrows to move lower selection")),this.readerOrientation="vertical"),this.readerControls=this.baseSprite.uidAttr()},e.prototype.validateLayout=function(){this.updateSize(),t.prototype.validateLayout.call(this),this.updateExtremes()},e.prototype.processBackground=function(){t.prototype.processBackground.call(this);var e=this.background;e.clickable=!0,e.events.on("hit",this.handleBgHit,this,void 0)},e.prototype.handleBgHit=function(t){this.makeBusy();var e=t.spritePoint;e=y.spritePointToSprite(e,this.background,this);var i=this.thumb;if("horizontal"==this.orientation){var n=e.x-i.pixelWidth/2;n=f.fitToRange(n,0,this.innerWidth-i.pixelWidth),this._thumbAnimation=i.animate({property:"x",to:n},this.animationDuration,this.animationEasing)}else{var r=e.y-i.pixelHeight/2;r=f.fitToRange(r,0,this.innerHeight-i.pixelHeight),this._thumbAnimation=i.animate({property:"y",to:r},this.animationDuration,this.animationEasing)}this.animationDuration>0?this._thumbAnimation.events.on("animationended",this.makeUnbusy,this,!1):(this._thumb.validate(),this.makeUnbusy())},e.prototype.makeBusy=function(){this._isBusy=!0,this._skipRangeEvents=!1,this._unbusyTimeout&&this.removeDispose(this._unbusyTimeout),this._unbusyTimeout=void 0,this.stopAnimations()},e.prototype.stopAnimations=function(){this._thumbAnimation&&this._thumbAnimation.stop(!0),this._zoomAnimation&&this._zoomAnimation.stop(!0)},e.prototype.makeUnbusy=function(){this._unbusyTimeout=this.setTimeout(this.makeUnbusyReal.bind(this),1.1*this.animationDuration)},e.prototype.makeUnbusyReal=function(){this._usingGrip=void 0,this._isBusy=!1,this.updateWhileMoving||this.dispatchRangeChange()},e.prototype.dispatchRangeChange=function(){this._previousEnd==this.end&&this._previousStart==this.start||(this._previousStart=this.start,this._previousEnd=this.end,this.dispatch("rangechanged"))},e.prototype.updateThumb=function(){if(this.parent){var t=this.thumb,e=this.start,i=this.end,n=this.startGrip,r=this.endGrip;if("horizontal"==this.orientation){var o=this.innerWidth;t.width=o*(i-e),t.maxX=o-t.pixelWidth,t.x=e*o,n.moveTo({x:t.pixelX,y:0},void 0,void 0,!0),r.moveTo({x:t.pixelX+t.pixelWidth,y:0},void 0,void 0,!0),n.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*e)+"%",position:e}).value),n.readerValueNow=""+Math.round(100*e),n.readerValueText=n.readerTitle,r.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*i)+"%",position:i}).value),r.readerValueNow=""+Math.round(100*i),r.readerValueText=r.readerTitle}else{var a=this.innerHeight;t.height=a*(i-e),t.maxY=a-t.pixelHeight,t.y=(1-i)*a,n.moveTo({x:0,y:t.pixelY+t.pixelHeight},void 0,void 0,!0),r.moveTo({x:0,y:t.pixelY},void 0,void 0,!0),n.readerTitle=this.language.translate("To %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*(1-e))+"%",position:1-e}).value),n.readerValueNow=""+Math.round(100*e),n.readerValueText=n.readerTitle,r.readerTitle=this.language.translate("From %1",void 0,this.adapter.apply("positionValue",{value:Math.round(100*(1-i))+"%",position:1-i}).value),r.readerValueNow=""+Math.round(100*i),r.readerValueText=r.readerTitle}t.readerTitle=this.language.translate("From %1 to %2",void 0,this.adapter.apply("positionValue",{value:Math.round(100*e)+"%",position:e}).value,this.adapter.apply("positionValue",{value:Math.round(100*i)+"%",position:i}).value),t.readerValueNow=""+Math.round(100*e),t.readerValueText=t.readerTitle,this.readerValueNow=""+Math.round(100*e),this.readerValueText=t.readerTitle,!this._skipRangeEvents&&this.updateWhileMoving&&this.dispatchRangeChange()}},e.prototype.updateExtremes=function(){var t=0,e=0,i=0,n=0;"horizontal"==this.orientation?(i=this.innerWidth,e=n=this.innerHeight/2):(n=this.innerHeight,t=i=this.innerWidth/2);var r=this.startGrip;r.minX=t,r.maxX=i,r.minY=e,r.maxY=n;var o=this.endGrip;o.minX=t,o.maxX=i,o.minY=e,o.maxY=n;var a=this.thumb;a.minX=t,a.maxX=i,a.minY=e,a.maxY=n},e.prototype.updateSize=function(){var t=this.orientation,e=this.startGrip;e&&(e.orientation=t),this.endGrip&&(this.endGrip.orientation=t);var i=this.thumb;i&&("horizontal"==t?(m.isNumber(this._pixelWidth)||this.width instanceof d.a||(this.width=Object(d.c)(100)),m.hasValue(this.percentHeight)&&(this.height=this.minHeight),i.height=this.innerHeight,i.verticalCenter="middle",i.horizontalCenter="left"):(m.isNumber(this._pixelHeight)||this.height instanceof d.a||(this.height=Object(d.c)(100)),m.hasValue(this.percentWidth)&&(this.width=this.minWidth),i.width=this.innerWidth,i.verticalCenter="top",i.horizontalCenter="middle"))},Object.defineProperty(e.prototype,"start",{get:function(){return Math.min(this.getPosition(this._start),this.getPosition(this._end))},set:function(t){this._isBusy||(this.__start=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__start",{get:function(){return this._start},set:function(t){this._start=this.getPosition(t),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return Math.max(this.getPosition(this._start),this.getPosition(this._end))},set:function(t){this._isBusy||(this.__end=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__end",{get:function(){return this._end},set:function(t){this._end=this.getPosition(t),this.updateThumb()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){return{start:this.start,end:this.end,priority:this._usingGrip}},enumerable:!0,configurable:!0}),e.prototype.skipRangeEvents=function(){this._isBusy||(this._skipRangeEvents=!0)},e.prototype.fixRange=function(t){t.start==f.round(this._start,2)&&t.end==f.round(this._end,2)||(this._start=t.start,this._end=t.end,this._skipRangeEvents=!0,this.updateThumb(),this._skipRangeEvents=!1,this.thumb.validate(),this.thumb.background.validate())},e.prototype.getPosition=function(t){return f.fitToRange(f.round(t,4),0,1)},Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t)&&("horizontal"===t?(this.startGrip.cursorOverStyle=u.a.horizontalResize,this.endGrip.cursorOverStyle=u.a.horizontalResize):(this.startGrip.cursorOverStyle=u.a.verticalResize,this.endGrip.cursorOverStyle=u.a.verticalResize),this.updateByOrientation(),this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.updateByOrientation=function(){},Object.defineProperty(e.prototype,"startGrip",{get:function(){return this._startGrip},set:function(t){this._startGrip&&this.removeDispose(this._startGrip),this._startGrip=t,this.processGrip(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endGrip",{get:function(){return this._endGrip},set:function(t){this._endGrip&&this.removeDispose(this._endGrip),this._endGrip=t,this.processGrip(t)},enumerable:!0,configurable:!0}),e.prototype.processGrip=function(t){t.parent=this,t.isMeasured=!1,t.focusable=!0,t.shouldClone=!1,t.zIndex=100,t.events.on("drag",this.handleGripDrag,this,!1),t.events.on("dragstop",this.makeUnbusy,this,!1),t.events.on("down",this.makeBusy,this,!1),this._disposers.push(t)},e.prototype.handleGripDrag=function(t){this.makeBusy(),t.target===this._startGrip?this._usingGrip="start":this._usingGrip="end","horizontal"==this.orientation?(this._start=this.startGrip.pixelX/this.innerWidth,this._end=this.endGrip.pixelX/this.innerWidth):(this._start=1-this.startGrip.pixelY/this.innerHeight,this._end=1-this.endGrip.pixelY/this.innerHeight),this.updateThumb()},Object.defineProperty(e.prototype,"thumb",{get:function(){if(!this._thumb){var t=new a.a;t.background.cornerRadius(10,10,10,10),t.padding(0,0,0,0),this.thumb=t}return this._thumb},set:function(t){var e=this;t&&(this._thumb&&this.removeDispose(this._thumb),this._thumb=t,t.parent=this,t.isMeasured=!1,t.inert=!0,t.draggable=!0,t.clickable=!0,t.hoverable=!0,t.focusable=!0,t.shouldClone=!1,t.zIndex=0,t.cursorOverStyle=u.a.grab,t.cursorDownStyle=u.a.grabbing,t.events.on("dragstart",this.makeBusy,this,!1),t.events.on("dragstop",this.makeUnbusy,this,!1),t.events.on("positionchanged",this.handleThumbPosition,this,!1),t.events.on("sizechanged",this.handleThumbPosition,this,!1),t.events.on("doublehit",this.handleDoubleClick,this,!1),this._disposers.push(Object(s.b)().body.events.on("keyup",function(t){c.b.isKey(t.event,["space","enter"])&&e.thumb.isFocused&&(t.event.preventDefault(),e.handleDoubleClick())})),this._disposers.push(this._thumb))},enumerable:!0,configurable:!0}),e.prototype.handleDoubleClick=function(){this.makeBusy();var t=0,e=1;0!=this.start||1!=this.end?(this._prevStart=this.start,this._prevEnd=this.end):(t=this._prevStart,e=this._prevEnd);var i=this.animate([{property:"__start",to:t},{property:"__end",to:e}],this.animationDuration,this.animationEasing);i&&!i.isFinished()?(i.events.on("animationended",this.makeUnbusy,this,!1),this._zoomAnimation=i):this.makeUnbusy()},e.prototype.handleThumbPosition=function(){var t=this.thumb;if("horizontal"==this.orientation){var e=this.innerWidth,i=t.innerWidth,n=t.pixelX;this._start=n/e,this._end=(n+i)/e,this.updateThumb()}else{var r=this.innerHeight,o=t.innerHeight,a=t.pixelY;this._start=1-(a+o)/r,this._end=1-a/r,this.updateThumb()}},e.prototype.createBackground=function(){return new l.a},Object.defineProperty(e.prototype,"hideGrips",{get:function(){return this._hideGrips},set:function(t){var e=this;this._hideGrips=t,this._overDisposer&&this.removeDispose(this._overDisposer),this._outDisposer&&this.removeDispose(this._outDisposer),t?(this._overDisposer=this.events.on("over",function(){e.startGrip.show(),e.endGrip.show()},void 0,!1),this._outDisposer=this.events.on("out",function(){e.startGrip.hide(),e.endGrip.hide()},void 0,!1),this.startGrip.hide(),this.endGrip.hide()):(this.startGrip.show(),this.endGrip.show())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(t){this.setPropertyValue("animationDuration",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(t){this.setPropertyValue("animationEasing",t)},enumerable:!0,configurable:!0}),e.prototype.asFunction=function(e){return"animationEasing"==e||t.prototype.asIs.call(this,e)},e}(r.a);h.c.registeredClasses.Scrollbar=v},ITVZ:function(t,e,i){var n=i("Gb1H"),r=Math.PI/180;n(n.S,"Math",{radians:function(t){return t*r}})},IYrR:function(t,e,i){var n=i("YEtG")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[n]=!1,!"/./"[t](e)}catch(t){}}return!0}},IbTV:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("TDx+"),o=i("aCit"),a=i("Gg2j"),s=i("Mtpk"),u=i("hGwe"),l=i("v9UT"),h=i("tjMS"),c=function(t){function e(){var e=t.call(this)||this;return e.fdx=0,e.fdy=0,e.className="AxisLabelCircular",e.padding(0,0,0,0),e.location=.5,e.radius=0,e.isMeasured=!1,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"relativeRotation",{get:function(){return this.getPropertyValue("relativeRotation")},set:function(t){if(this.setPropertyValue("relativeRotation",t,!0),!s.hasValue(t)){this.rotation=void 0;var e=this.dataItem;e&&e.component&&e.component.invalidateDataItems()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bent",{get:function(){return this.getPropertyValue("bent")},set:function(t){this.setPropertyValue("bent",t,!0),this.setPropertyValue("wrap",!1),this.setPropertyValue("horizontalCenter","none"),this.setPropertyValue("verticalCenter","none"),t&&(this.textAlign="middle")},enumerable:!0,configurable:!0}),e.prototype.pixelRadius=function(t){var e=1;return this.inside&&(e=-1),l.relativeToValue(this.radius,t)*e},e.prototype.pixelRadiusY=function(t,e){var i=1;this.inside&&(i=-1);var n=this.radius;return s.isNumber(n)?(n*=e/t,l.relativeToValue(n,t)*i):l.relativeToValue(n,e)*i},e.prototype.fixPosition=function(t,e,i,n,r){s.isNumber(i)||(i=e),s.isNumber(n)||(n=0),s.isNumber(r)||(r=0);var o={x:e*a.cos(t),y:i*a.sin(t)};this.invalid&&this.validate();var l=!1,c=this.radius;c instanceof h.a&&c.value<0?l=!0:c<0&&(l=!0);var p=this.relativeRotation,d=this.pixelRadius(e);if(this.bent){var f={x:e*a.cos(t+180),y:i*a.sin(t+180)};return this.path=u.moveTo(f)+u.arcTo(t+180,360,e+d,i+d*i/e),void(this.locationOnPath=.5)}if(s.isNumber(p)){this.horizontalCenter="none",this.verticalCenter="none",t=a.fitAngleToRange(t,-180,180);var g=this.bbox.width,m=this.bbox.height,y=this.pixelPaddingBottom,v=this.pixelPaddingTop,b=this.pixelPaddingLeft,x=this.pixelPaddingRight;t>90||t<-90?-90==p&&(p=90,g=0):(-90==p&&(m=-m),90==p&&(p=-90,g=-b-x,m=-m-v-y)),this.rotation=p+t+90;var _=a.sin(p)/2,P=a.cos(p)/2,w=this.rotation;this.dx=m*_*a.sin(w)-g*P*a.cos(w),this.dy=-m*_*a.cos(w)-g*P*a.sin(w),this.inside?t>90||t<-90?d-=(y+v)*a.cos(p)+(b+x)*a.sin(p):d+=(y+this.bbox.height+v)*a.cos(p)+(b+x+this.bbox.width)*a.sin(p):d+=(m+y+v)*a.cos(p)+(g+b+x)*a.sin(p),o.x+=a.cos(t)*d,o.y+=a.sin(t)*d*i/e}else this.horizontalCenter="middle",this.verticalCenter="middle",l?(this.dx=0,this.dy=0,o.x=(e+d)*a.cos(t),o.y=(i+d*i/e)*a.sin(t)):(this.dy=this._measuredHeight/2*a.sin(t),this.dx=this._measuredWidth/2*a.cos(t),o.x+=a.cos(t)*d,o.y+=a.sin(t)*d*i/e);o.x+=n,o.y+=r,this.fdx=this.dx,this.fdy=this.dy,this.moveTo(o)},e}(r.a);o.c.registeredClasses.AxisLabelCircular=c},IcXr:function(t,e,i){var n=i("Gb1H"),r=i("DbOM"),o=i("snR7"),a=(i("T9LF").Reflect||{}).apply,s=Function.apply;n(n.S+n.F*!i("AEc5")(function(){a(function(){})}),"Reflect",{apply:function(t,e,i){var n=r(t),u=o(i);return a?a(n,e,u):s.call(n,e,u)}})},"Ijb/":function(t,e,i){var n=i("Gb1H"),r=i("0C8c");n(n.S+n.F*(r!=Math.expm1),"Math",{expm1:r})},Inf5:function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i("m4/l"),r=i("C6dT"),o=i("Vs7R"),a=i("aCit"),s=i("Gg2j"),u=i("hGwe"),l=i("Mtpk"),h=i("v9UT"),c=i("tjMS"),p=i("CuFa"),d=function(t){function e(){var e=t.call(this)||this;return e.className="Slice",e.setPropertyValue("cornerRadius",0),e.setPropertyValue("startAngle",0),e.setPercentProperty("innerRadius",0),e.setPercentProperty("radius",0),e.setPropertyValue("arc",0),e.setPropertyValue("shiftRadius",0),e.strokeOpacity=1,e.setPropertyValue("layout","none"),e.slice=e.createChild(o.a),e.slice.isMeasured=!1,e._disposers.push(e.slice),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.radiusY;this.radius>0&&0==e&&(e=.01),this.slice.path=u.arc(this.startAngle,this.arc,this.radius,this.pixelInnerRadius,e,this.cornerRadius,this.innerCornerRadius),this.slice.invalidate(),this.shiftRadius=this.shiftRadius,this.realFill instanceof p.a&&this.updateGradient(this.realFill),this.realStroke instanceof p.a&&this.updateGradient(this.realStroke)},e.prototype.updateGradient=function(t){t.element.attr({gradientUnits:"userSpaceOnUse"}),t.element.attr({r:this.radius}),t.cx=0,t.cy=0,t.element.attr({radius:this.radius})},Object.defineProperty(e.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;if(this.isMeasured){var t=s.getArcRect(this.startAngle,this.startAngle+this.arc,this.pixelInnerRadius),e=s.getArcRect(this.startAngle,this.startAngle+this.arc,this.radius);return s.getCommonRectangle([t,e])}return{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",s.normalizeAngle(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(t){l.isNumber(t)||(t=0),this.setPropertyValue("arc",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){var t=this.getPropertyValue("radius");return l.isNumber(t)||(t=0),t},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radiusY",{get:function(){var t=this.getPropertyValue("radiusY");return l.isNumber(t)||(t=this.radius),t},set:function(t){this.setPropertyValue("radiusY",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return h.relativeToValue(this.innerRadius,this.radius)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerCornerRadius",{get:function(){return this.getPropertyValue("innerCornerRadius")},set:function(t){this.setPropertyValue("innerCornerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftRadius",{get:function(){return this.getPropertyValue("shiftRadius")},set:function(t){this.setPropertyValue("shiftRadius",t),this.dx=t*this.radius*this.ix,this.dy=t*this.radiusY*this.iy},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ix",{get:function(){return s.cos(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iy",{get:function(){return this.radius,s.sin(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleAngle",{get:function(){return this.startAngle+this.arc/2},enumerable:!0,configurable:!0}),e.prototype.getTooltipX=function(){var t=this.getPropertyValue("tooltipX");if(l.isNumber(t))return t;var e=.5;t instanceof c.a&&(e=t.value);var i=h.relativeToValue(this.innerRadius,this.radius);return this.ix*(i+(this.radius-i)*e)},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipY");if(l.isNumber(t))return t;var e=.5;t instanceof c.a&&(e=t.value);var i=h.relativeToValue(this.innerRadius,this.radius);return this.iy*(i+(this.radius-i)*e)+this.slice.dy},e}(r.a);a.c.registeredClasses.Slice=d},Iz1H:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=function(){function t(){this._disposed=!1,this._disposers=[]}return t.prototype.init=function(){},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._disposers;for(this._disposers=null;0!==t.length;){t.shift().dispose()}}},t}()},JNIx:function(t,e,i){"use strict";e.a={_decimalSeparator:".",_thousandSeparator:",",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"μ",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(t){var e="th";if(t<11||t>13)switch(t%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd"}return e},"Zoom Out":"",Play:"",Stop:"",Legend:"","Click, tap or press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:""}},JqbS:function(t,e,i){var n=i("snR7"),r=i("DvJ+"),o=i("6w17");t.exports=function(t,e){if(n(t),r(e)&&e.constructor===t)return e;var i=o.f(t);return(0,i.resolve)(e),i.promise}},K0ev:function(t,e,i){var n=i("U3hN"),r=i("vJiZ"),o=i("VYrJ")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},K2Eo:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("oGmz")(!0);n(n.P,"String",{at:function(t){return r(this,t)}})},KfrQ:function(t,e,i){var n=i("Gb1H"),r=i("0C8c"),o=Math.exp;n(n.S,"Math",{tanh:function(t){var e=r(t=+t),i=r(-t);return e==1/0?1:i==1/0?-1:(e-i)/(o(t)+o(-t))}})},Kg3M:function(t,e,i){"use strict";var n=i("oGmz")(!0);i("Uobz")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=n(e,i),this._i+=t.length,{value:t,done:!1})})},KknQ:function(t,e,i){"use strict";i.d(e,"b",function(){return y}),i.d(e,"a",function(){return v});var n=i("m4/l"),r=i("pR7v"),o=i("vMqJ"),a=i("+qIf"),s=i("9ZsQ"),u=i("aCit"),l=i("L91H"),h=i("Mtpk"),c=i("Wglt"),p=i("Gg2j"),d=i("hJ5i"),f=i("Qkdp"),g=i("v9UT"),m=i("VGgz"),y=function(t){function e(){var e=t.call(this)||this;return e.className="DateAxisDataItem",e.applyTheme(),e.values.date={},e.values.endDate={},e}return n.c(e,t),Object.defineProperty(e.prototype,"date",{get:function(){return this.dates.date},set:function(t){this.setDate("date",t),this.value=t.getTime()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endDate",{get:function(){return this.dates.endDate},set:function(t){this.setDate("endDate",t),this.endValue=t.getTime()},enumerable:!0,configurable:!0}),e}(r.b),v=function(t){function e(){var e=t.call(this)||this;return e._gapBreaks=!1,e.gridIntervals=new o.b,e.groupIntervals=new o.b,e.dateFormats=new a.a,e.periodChangeDateFormats=new a.a,e._baseIntervalReal={timeUnit:"day",count:1},e._minDifference={},e._firstWeekDay=1,e.groupMin={},e.groupMax={},e.className="DateAxis",e.setPropertyValue("markUnitChange",!0),e.snapTooltip=!0,e.tooltipPosition="pointer",e.setPropertyValue("groupData",!1),e.groupCount=200,e.events.on("parentset",e.getDFFormatter,e,!1),e.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}]),e.groupIntervals.pushAll([{timeUnit:"millisecond",count:1},{timeUnit:"millisecond",count:10},{timeUnit:"millisecond",count:100},{timeUnit:"second",count:1},{timeUnit:"second",count:10},{timeUnit:"minute",count:1},{timeUnit:"minute",count:10},{timeUnit:"hour",count:1},{timeUnit:"day",count:1},{timeUnit:"week",count:1},{timeUnit:"month",count:1},{timeUnit:"year",count:1}]),e.axisFieldName="date",e.applyTheme(),e}return n.c(e,t),e.prototype.fillRule=function(t){var e=t.value,i=t.component,n=i._gridInterval,r=l.getDuration(n.timeUnit,n.count);Math.round((e-i.min)/r)/2==Math.round(Math.round((e-i.min)/r)/2)?t.axisFill.__disabled=!0:t.axisFill.__disabled=!1},e.prototype.applyInternalDefaults=function(){t.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"))},e.prototype.createDataItem=function(){return new y},e.prototype.createAxisBreak=function(){return new s.a},e.prototype.validateDataItems=function(){var e=this.start,i=this.end,n=this.baseDuration,r=(this.max-this.min)/n;this._firstWeekDay=this.getFirstWeekDay(),this.getDFFormatter(),t.prototype.validateDataItems.call(this);var o=l.getDuration(this.mainBaseInterval.timeUnit,this.mainBaseInterval.count);this.maxZoomFactor=(this.max-this.min)/o,this._deltaMinMax=this.baseDuration/2,e+=(i-e)*(1-r/((this.max-this.min)/n)),this.zoom({start:e,end:i},!1,!0)},e.prototype.handleSelectionExtremesChange=function(){},e.prototype.calculateZoom=function(){var e=this;t.prototype.calculateZoom.call(this);var i=this.adjustDifference(this._minZoomed,this._maxZoomed),r=!1;if(this.groupData&&h.hasValue(i)){var o=this.mainBaseInterval,a=this.chooseInterval(0,i,this.groupCount,this.groupIntervals);l.getDuration(a.timeUnit,a.count)0){var r=t.component.dataItems.getIndex(n-1),o=r[i];return!o||o.getTime()t._minDifference[i.uid]&&(e=t._minDifference[i.uid])}),e!=Number.MAX_VALUE&&0!=e||(e=l.getDuration("day")),e},enumerable:!0,configurable:!0}),e.prototype.seriesDataChangeUpdate=function(t){this._minDifference[t.uid]=Number.MAX_VALUE},e.prototype.postProcessSeriesDataItems=function(){var t=this;this.series.each(function(e){JSON.stringify(e._baseInterval[t.uid])!=JSON.stringify(t.mainBaseInterval)&&(e.mainDataSet.each(function(e){t.postProcessSeriesDataItem(e)}),e._baseInterval[t.uid]=t.mainBaseInterval,t.groupData&&t.groupSeriesData(e))}),this.addEmptyUnitsBreaks()},e.prototype.groupSeriesData=function(t){var e=this;if(t.baseAxis==this&&t.dataItems.length>0&&!t.dataGrouped){var i=[],n=this.mainBaseInterval,r=l.getDuration(n.timeUnit,n.count);this.groupIntervals.each(function(t){var n=l.getDuration(t.timeUnit,t.count);n>r&&no||!h.isNumber(s.low))&&(s.low=o),(s.high0&&i.each(function(t){var i=Math.ceil(e._gridCount*(Math.min(e.end,t.endPosition)-Math.max(e.start,t.startPosition))/(e.end-e.start));t.gridInterval=e.chooseInterval(0,t.adjustedEndValue-t.adjustedStartValue,i);var n=l.round(new Date(t.adjustedStartValue),t.gridInterval.timeUnit,t.gridInterval.count,e._firstWeekDay,e._df.utc);n.getTime()>t.startDate.getTime()&&l.add(n,t.gridInterval.timeUnit,t.gridInterval.count,e._df.utc),t.gridDate=n})},e.prototype.getFirstWeekDay=function(){return this._df?this._df.firstDayOfWeek:1},e.prototype.getGridDate=function(t,e){var i=this._gridInterval.timeUnit,n=this._gridInterval.count;l.round(t,i,1,this._firstWeekDay,this._df.utc);var r=t.getTime(),o=l.copy(t),a=l.add(o,i,e,this._df.utc).getTime(),s=this.isInBreak(a);s&&s.endDate&&(o=new Date(s.endDate.getTime()),l.round(o,i,n,this._firstWeekDay,this._df.utc),o.getTime()0){var i=e.gridInterval.timeUnit,n=e.gridInterval.count;if(p.getDistance(e.startPoint,e.endPoint)>4*u.minGridDistance)for(var r,a=e.gridDate.getTime(),s=0,h=function(){var u=l.copy(e.gridDate);if(a=l.add(u,i,n*s,t._df.utc).getTime(),s++,a>e.adjustedStartValue&&athis.baseInterval.count&&(o=r+(o-r)/(this._gridInterval.count/this.baseInterval.count)),t.position=r;var s=t.tick;s&&!s.disabled&&e.updateTickElement(s,r,o);var u=t.grid;u&&!u.disabled&&e.updateGridElement(u,r,o);var l=t.axisFill;l&&!l.disabled&&(e.updateFillElement(l,r,a),t.isRange||this.fillRule(t));var c=t.mask;c&&e.updateFillElement(c,r,o),t.bullet&&e.updateBullet(t.bullet,r,o);var p=t.label;if(p&&!p.disabled){var d=p.location;0==d&&(d=1!=this._gridInterval.count||"week"==this._gridInterval.timeUnit||t.isRange?0:.5),e.updateLabelElement(p,r,o,d)}}},Object.defineProperty(e.prototype,"baseDuration",{get:function(){return l.getDuration(this.baseInterval.timeUnit,this.baseInterval.count)},enumerable:!0,configurable:!0}),e.prototype.adjustMinMax=function(t,e){return{min:t,max:e,step:this.baseDuration}},e.prototype.fixMin=function(t){var e=this.baseInterval,i=l.round(new Date(t),e.timeUnit,e.count,this._firstWeekDay,this._df.utc).getTime();return i+(l.add(new Date(i),e.timeUnit,e.count,this._df.utc).getTime()-i)*this.startLocation},e.prototype.fixMax=function(t){var e=this.baseInterval,i=l.round(new Date(t),e.timeUnit,e.count,this._firstWeekDay,this._df.utc).getTime();return i+(l.add(new Date(i),e.timeUnit,e.count,this._df.utc).getTime()-i)*this.endLocation},e.prototype.chooseInterval=function(t,e,i,r){r||(r=this.gridIntervals);var o=r.getIndex(t),a=l.getDuration(o.timeUnit,o.count),s=r.length-1;if(t>=s)return n.a({},r.getIndex(s));var u=Math.ceil(e/a);return e0?n.a({},r.getIndex(t-1)):u<=i?n.a({},r.getIndex(t)):t+1u&&(this._minDifference[n.uid]=u)}var l=i-s;l>0&&this._minDifference[n.uid]>l&&(this._minDifference[n.uid]=l),this._prevSeriesTime=i,n._baseInterval[this.uid]?this.postProcessSeriesDataItem(t):this._baseInterval&&(n._baseInterval[this.uid]=this._baseInterval,this.postProcessSeriesDataItem(t))}},e.prototype.updateAxisBySeries=function(){t.prototype.updateAxisBySeries.call(this);var e=this.chooseInterval(0,this.minDifference,1);this.minDifference>=l.getDuration("day",27)&&"week"==e.timeUnit&&(e.timeUnit="month",e.count=1),"month"==e.timeUnit&&(this.minDifference>=l.getDuration("day",58)&&1==e.count&&(e.count=2),this.minDifference>=l.getDuration("day",87)&&2==e.count&&(e.count=3),this.minDifference>=l.getDuration("day",174)&&5==e.count&&(e.count=6)),this.minDifference>=l.getDuration("hour",23)&&"hour"==e.timeUnit&&(e.timeUnit="day",e.count=1),this.minDifference>=l.getDuration("week",1)-l.getDuration("hour",1)&&"day"==e.timeUnit&&(e.timeUnit="week",e.count=1),this.minDifference>=l.getDuration("year",1)-l.getDuration("day",1.01)&&"month"==e.timeUnit&&(e.timeUnit="year",e.count=1),this._baseIntervalReal=e,this._mainBaseInterval=e},Object.defineProperty(e.prototype,"baseInterval",{get:function(){return this._groupInterval?this._groupInterval:this._baseInterval?this._baseInterval:this._baseIntervalReal},set:function(t){JSON.stringify(this._baseInterval)!=JSON.stringify(t)&&(this._baseInterval=t,this._mainBaseInterval=t,h.isNumber(t.count)||(t.count=1),this.invalidate(),this.postProcessSeriesDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mainBaseInterval",{get:function(){return this._baseInterval?this._baseInterval:this._mainBaseInterval?this._mainBaseInterval:this._baseIntervalReal},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"skipEmptyPeriods",{get:function(){return this.getPropertyValue("skipEmptyPeriods")},set:function(t){if(t){var e=this.axisBreaks.template;e.startLine.disabled=!0,e.endLine.disabled=!0,e.fillShape.disabled=!0,e.breakSize=0}else this._gapBreaks&&(this.axisBreaks.clear(),this._gapBreaks=!1);this.setPropertyValue("skipEmptyPeriods",t)&&(this.invalidate(),this.postProcessSeriesDataItems(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipDateFormat",{get:function(){return this.getPropertyValue("tooltipDateFormat")},set:function(t){this.setPropertyValue("tooltipDateFormat",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markUnitChange",{get:function(){return this.getPropertyValue("markUnitChange")},set:function(t){this.setPropertyValue("markUnitChange",t)&&this.invalidateData()},enumerable:!0,configurable:!0}),e.prototype.getTooltipText=function(t){var e,i=this.positionToDate(t);if(i=l.round(i,this.baseInterval.timeUnit,this.baseInterval.count,this._firstWeekDay,this._df.utc,new Date(this.min)),h.hasValue(this.tooltipDateFormat))e=this._df.format(i,this.tooltipDateFormat);else{var n=this.dateFormats.getKey(this.baseInterval.timeUnit);e=n?this._df.format(i,n):this.getPositionLabel(t)}return this._adapterO?this._adapterO.apply("getTooltipText",e):e},e.prototype.roundPosition=function(t,e,i){var n=this.baseInterval,r=n.timeUnit,o=n.count,a=this.positionToDate(t);if(l.round(a,r,o,this._firstWeekDay,this._df.utc),e>0&&l.add(a,r,e*o,this._df.utc),i>0&&i<1&&a.setTime(a.getTime()+this.baseDuration*i),this.isInBreak(a.getTime()))for(;a.getTime()Math.abs(a.getTime()-o)&&(r=a):r=a}}}),r){var a=r.getTime();r=l.round(new Date(a),this.baseInterval.timeUnit,this.baseInterval.count,this._firstWeekDay,this._df.utc),a=r.getTime();var s=this.renderer.tooltipLocation;0==s&&(s=1e-4),r=new Date(r.getTime()+this.baseDuration*s),e=this.dateToPosition(r),this.series.each(function(t){var e=t.dataItemsByAxis.getKey(n.uid).getKey(a+t.currentDataSetId),i=t.showTooltipAtDataItem(e);i?n.chart._seriesPoints.push({series:t,point:i}):(t.tooltipText||t.tooltipHTML)&&t.hideTooltip()})}}t.prototype.showTooltipAtPosition.call(this,e,!0)},Object.defineProperty(e.prototype,"snapTooltip",{get:function(){return this.getPropertyValue("snapTooltip")},set:function(t){this.setPropertyValue("snapTooltip",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupData",{get:function(){return this.getPropertyValue("groupData")},set:function(t){this.setPropertyValue("groupData",t)&&(this.series.each(function(t){t.setDataSet("")}),this._currentDataSetId="",this._groupInterval=void 0,this.invalidate(),this.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupCount",{get:function(){return this.getPropertyValue("groupCount")},set:function(t){this.setPropertyValue("groupCount",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gridInterval",{get:function(){return this._gridInterval},enumerable:!0,configurable:!0}),e.prototype.makeGap=function(t,e){var i=t.component;if(t&&e&&!i.connect&&h.isNumber(i.autoGapCount)&&i.baseAxis==this){var n=t.dates["date"+this.axisLetter],r=e.dates["date"+this.axisLetter];if(n&&r)if(n.getTime()-r.getTime()>i.autoGapCount*this.baseDuration)return!0}return!1},Object.defineProperty(e.prototype,"baseValue",{get:function(){return this.min},enumerable:!0,configurable:!0}),e}(r.a);u.c.registeredClasses.DateAxis=v,u.c.registeredClasses.DateAxisDataItem=y},Kmds:function(t,e,i){var n=i("Gb1H"),r=Math.asinh;n(n.S+n.F*!(r&&1/r(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},L2Mu:function(t,e,i){var n=i("ua0L");t.exports=function(t,e){return new(n(t))(e)}},L8kC:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=n.has,a=n.key;n.exp({hasOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?void 0:a(arguments[2]))}})},L91H:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"timeUnitDurations",function(){return r}),e.getNextUnit=o,e.getDuration=a,e.now=s,e.getTime=function(){return s().getTime()},e.copy=function(t){return new Date(t.getTime())},e.checkChange=function t(e,i,n,r){e=new Date(e.getTime());i=new Date(i.getTime());var a=0;var s=0;r||"millisecond"==n||(a=e.getTimezoneOffset(),e.setUTCMinutes(e.getUTCMinutes()-a),s=i.getTimezoneOffset(),i.setUTCMinutes(i.getUTCMinutes()-s));var u=!1;switch(n){case"year":e.getUTCFullYear()!=i.getUTCFullYear()&&(u=!0);break;case"month":e.getUTCFullYear()!=i.getUTCFullYear()?u=!0:e.getUTCMonth()!=i.getUTCMonth()&&(u=!0);break;case"day":e.getUTCMonth()!=i.getUTCMonth()?u=!0:e.getUTCDate()!=i.getUTCDate()&&(u=!0);break;case"hour":e.getUTCHours()!=i.getUTCHours()&&(u=!0);break;case"minute":e.getUTCMinutes()!=i.getUTCMinutes()&&(u=!0);break;case"second":e.getUTCSeconds()!=i.getUTCSeconds()&&(u=!0);break;case"millisecond":e.getTime()!=i.getTime()&&(u=!0)}if(u)return!0;var l=o(n);return!!l&&(e.setUTCMinutes(e.getUTCMinutes()+a),i.setUTCMinutes(i.getUTCMinutes()+s),t(e,i,l,r))},e.add=function(t,e,i,n){var r=0;n||"millisecond"==e||(r=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-r));switch(e){case"day":var o=t.getUTCDate();t.setUTCDate(o+i);break;case"second":var a=t.getUTCSeconds();t.setUTCSeconds(a+i);break;case"millisecond":var s=t.getUTCMilliseconds();t.setUTCMilliseconds(s+i);break;case"hour":var u=t.getUTCHours();t.setUTCHours(u+i);break;case"minute":var l=t.getUTCMinutes();t.setUTCMinutes(l+i);break;case"year":var h=t.getUTCFullYear();t.setUTCFullYear(h+i);break;case"month":var c=t.getUTCMonth();t.setUTCMonth(c+i);break;case"week":var p=t.getUTCDate();t.setUTCDate(p+7*i)}if(!n&&"millisecond"!=e&&(t.setUTCMinutes(t.getUTCMinutes()+r),"day"==e||"week"==e||"month"==e||"year"==e)){var d=t.getTimezoneOffset();if(d!=r){var f=d-r;t.setUTCMinutes(t.getUTCMinutes()+f),t.getTimezoneOffset()!=d&&t.setUTCMinutes(t.getUTCMinutes()-f)}}return t},e.round=function t(e,i,r,o,s,u){n.isNumber(r)||(r=1);var l=0;s||"millisecond"==i||(l=e.getTimezoneOffset(),e.setUTCMinutes(e.getUTCMinutes()-l));switch(i){case"day":var h=e.getUTCDate();if(r>1){if(u){u=t(u,"day",1);var c=e.getTime()-u.getTime(),p=Math.floor(c/a("day")/r),d=a("day",p*r);e.setTime(u.getTime()+d-l*a("minute"))}}else e.setUTCDate(h);e.setUTCHours(0,0,0,0);break;case"second":var f=e.getUTCSeconds();r>1&&(f=Math.floor(f/r)*r),e.setUTCSeconds(f,0);break;case"millisecond":if(1==r)return e;var g=e.getUTCMilliseconds();g=Math.floor(g/r)*r,e.setUTCMilliseconds(g);break;case"hour":var m=e.getUTCHours();r>1&&(m=Math.floor(m/r)*r),e.setUTCHours(m,0,0,0);break;case"minute":var y=e.getUTCMinutes();g=e.getUTCMilliseconds(),r>1&&(y=Math.floor(y/r)*r),e.setUTCMinutes(y,0,0);break;case"month":var v=e.getUTCMonth();r>1&&(v=Math.floor(v/r)*r),e.setUTCMonth(v,1),e.setUTCHours(0,0,0,0);break;case"year":var b=e.getUTCFullYear();r>1&&(b=Math.floor(b/r)*r),e.setUTCFullYear(b,0,1),e.setUTCHours(0,0,0,0);break;case"week":var x=e.getUTCDate(),_=e.getUTCDay();n.isNumber(o)||(o=1),x=_>=o?x-_+o:x-(7+_)+o,e.setUTCDate(x),e.setUTCHours(0,0,0,0)}if(!s&&"millisecond"!=i&&(e.setUTCMinutes(e.getUTCMinutes()+l),"day"==i||"week"==i||"month"==i||"year"==i)){var P=e.getTimezoneOffset();if(P!=l){var w=P-l;e.setUTCMinutes(e.getUTCMinutes()+w)}}return e};var n=i("Mtpk"),r={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6};function o(t){switch(t){case"year":return;case"month":return"year";case"week":case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function a(t,e){return n.hasValue(e)||(e=1),r[t]*e}function s(){return new Date}},LBDG:function(t,e,i){"use strict";e.b=function(){return/apple/i.test(navigator.vendor)},e.a=function(){return/MSIE |Trident\//.test(navigator.userAgent)}},"LGy/":function(t,e,i){i("YJIw")("Float64",8,function(t){return function(e,i,n){return t(this,e,i,n)}})},LHMX:function(t,e,i){var n=i("T9LF"),r=i("6/bx"),o=i("hjwn").f,a=i("rkh7").f,s=i("0Zt3"),u=i("x2K9"),l=n.RegExp,h=l,c=l.prototype,p=/a/g,d=/a/g,f=new l(p)!==p;if(i("gD3S")&&(!f||i("AEc5")(function(){return d[i("YEtG")("match")]=!1,l(p)!=p||l(d)==d||"/a/i"!=l(p,"i")}))){l=function(t,e){var i=this instanceof l,n=s(t),o=void 0===e;return!i&&n&&t.constructor===l&&o?t:r(f?new h(n&&!o?t.source:t,e):h((n=t instanceof l)?t.source:t,n&&o?u.call(t):e),i?this:c,l)};for(var g=function(t){t in l||o(l,t,{configurable:!0,get:function(){return h[t]},set:function(e){h[t]=e}})},m=a(h),y=0;m.length>y;)g(m[y++]);c.constructor=l,l.prototype=c,i("wDk4")(n,"RegExp",l)}i("vdWU")("RegExp")},LLsa:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("sc+R");n(n.P+n.F*!i("GQop")([].reduceRight,!0),"Array",{reduceRight:function(t){return r(this,t,arguments.length,arguments[1],!0)}})},LMet:function(t,e,i){i("xdw4")("asyncIterator")},LNZc:function(t,e,i){"use strict";var n=i("T9LF"),r=i("gD3S"),o=i("pb4Y"),a=i("xSzy"),s=i("Vng0"),u=i("cA+3"),l=i("AEc5"),h=i("ypVE"),c=i("4BRe"),p=i("FmWr"),d=i("bytU"),f=i("rkh7").f,g=i("hjwn").f,m=i("lgQj"),y=i("bPwn"),v="prototype",b="Wrong index!",x=n.ArrayBuffer,_=n.DataView,P=n.Math,w=n.RangeError,O=n.Infinity,S=x,T=P.abs,C=P.pow,k=P.floor,I=P.log,D=P.LN2,V=r?"_b":"buffer",M=r?"_l":"byteLength",j=r?"_o":"byteOffset";function A(t,e,i){var n,r,o,a=new Array(i),s=8*i-e-1,u=(1<>1,h=23===e?C(2,-24)-C(2,-77):0,c=0,p=t<0||0===t&&1/t<0?1:0;for((t=T(t))!=t||t===O?(r=t!=t?1:0,n=u):(n=k(I(t)/D),t*(o=C(2,-n))<1&&(n--,o*=2),(t+=n+l>=1?h/o:h*C(2,1-l))*o>=2&&(n++,o/=2),n+l>=u?(r=0,n=u):n+l>=1?(r=(t*o-1)*C(2,e),n+=l):(r=t*C(2,l-1)*C(2,e),n=0));e>=8;a[c++]=255&r,r/=256,e-=8);for(n=n<0;a[c++]=255&n,n/=256,s-=8);return a[--c]|=128*p,a}function F(t,e,i){var n,r=8*i-e-1,o=(1<>1,s=r-7,u=i-1,l=t[u--],h=127&l;for(l>>=7;s>0;h=256*h+t[u],u--,s-=8);for(n=h&(1<<-s)-1,h>>=-s,s+=e;s>0;n=256*n+t[u],u--,s-=8);if(0===h)h=1-a;else{if(h===o)return n?NaN:l?-O:O;n+=C(2,e),h-=a}return(l?-1:1)*n*C(2,h-e)}function E(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function R(t){return[255&t]}function L(t){return[255&t,t>>8&255]}function N(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function B(t){return A(t,52,8)}function G(t){return A(t,23,4)}function H(t,e,i){g(t[v],e,{get:function(){return this[i]}})}function W(t,e,i,n){var r=d(+i);if(r+e>t[M])throw w(b);var o=t[V]._b,a=r+t[j],s=o.slice(a,a+e);return n?s:s.reverse()}function U(t,e,i,n,r,o){var a=d(+i);if(a+e>t[M])throw w(b);for(var s=t[V]._b,u=a+t[j],l=n(+r),h=0;hK;)(z=X[K++])in x||s(x,z,S[z]);o||(Y.constructor=x)}var Z=new _(new x(2)),q=_[v].setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||u(_[v],{setInt8:function(t,e){q.call(this,t,e<<24>>24)},setUint8:function(t,e){q.call(this,t,e<<24>>24)}},!0)}else x=function(t){h(this,x,"ArrayBuffer");var e=d(t);this._b=m.call(new Array(e),0),this[M]=e},_=function(t,e,i){h(this,_,"DataView"),h(t,x,"DataView");var n=t[M],r=c(e);if(r<0||r>n)throw w("Wrong offset!");if(r+(i=void 0===i?n-r:p(i))>n)throw w("Wrong length!");this[V]=t,this[j]=r,this[M]=i},r&&(H(x,"byteLength","_l"),H(_,"buffer","_b"),H(_,"byteLength","_l"),H(_,"byteOffset","_o")),u(_[v],{getInt8:function(t){return W(this,1,t)[0]<<24>>24},getUint8:function(t){return W(this,1,t)[0]},getInt16:function(t){var e=W(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=W(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return E(W(this,4,t,arguments[1]))},getUint32:function(t){return E(W(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return F(W(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return F(W(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){U(this,1,t,R,e)},setUint8:function(t,e){U(this,1,t,R,e)},setInt16:function(t,e){U(this,2,t,L,e,arguments[2])},setUint16:function(t,e){U(this,2,t,L,e,arguments[2])},setInt32:function(t,e){U(this,4,t,N,e,arguments[2])},setUint32:function(t,e){U(this,4,t,N,e,arguments[2])},setFloat32:function(t,e){U(this,4,t,G,e,arguments[2])},setFloat64:function(t,e){U(this,8,t,B,e,arguments[2])}});y(x,"ArrayBuffer"),y(_,"DataView"),s(_[v],a.VIEW,!0),e.ArrayBuffer=x,e.DataView=_},LSPs:function(t,e,i){var n=i("Gb1H");n(n.S,"Date",{now:function(){return(new Date).getTime()}})},"Ly/W":function(t,e,i){"use strict";i("Mvcd")("strike",function(t){return function(){return t(this,"strike","","")}})},"M/YL":function(t,e,i){var n=i("YEtG")("unscopables"),r=Array.prototype;void 0==r[n]&&i("Vng0")(r,n,{}),t.exports=function(t){r[n][t]=!0}},MIZb:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("Tjl+"),o=i("aCit"),a=i("8ZqG"),s=function(t){function e(){var e=t.call(this)||this;return e._purposes={stroke:Object(a.c)("#e5e5e5"),fill:Object(a.c)("#f3f3f3"),primaryButton:Object(a.c)("#6794dc"),primaryButtonHover:Object(a.c)("#6771dc"),primaryButtonDown:Object(a.c)("#68dc75"),primaryButtonActive:Object(a.c)("#68dc75"),primaryButtonText:Object(a.c)("#FFFFFF"),primaryButtonStroke:Object(a.c)("#FFFFFF"),secondaryButton:Object(a.c)("#d9d9d9"),secondaryButtonHover:Object(a.c)("#d9d9d9").brighten(-.25),secondaryButtonDown:Object(a.c)("#d9d9d9").brighten(-.35),secondaryButtonActive:Object(a.c)("#d9d9d9").brighten(.35),secondaryButtonText:Object(a.c)("#000000"),secondaryButtonStroke:Object(a.c)("#FFFFFF"),grid:Object(a.c)("#000000"),background:Object(a.c)("#ffffff"),alternativeBackground:Object(a.c)("#000000"),text:Object(a.c)("#000000"),alternativeText:Object(a.c)("#FFFFFF"),disabledBackground:Object(a.c)("#999999"),positive:Object(a.c)("#67dc75"),negative:Object(a.c)("#dc6788")},e.className="InterfaceColorSet",e.applyTheme(),e}return n.c(e,t),e.prototype.debug=function(){},e.prototype.getFor=function(t){return this._purposes[t]},e.prototype.setFor=function(t,e){this._purposes[t]=e},e}(r.a);o.c.registeredClasses.InterfaceColorSet=s},"MT+g":function(t,e,i){i("6+x4")("WeakSet")},MXvJ:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("jfaP"),o=i("aCit"),a=i("Gg2j"),s=i("hGwe"),u=function(t){function e(){var e=t.call(this)||this;return e.className="Polyarc",e.controlPointDistance=.5,e.controlPointPosition=.5,e.applyTheme(),e}return n.c(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments;if(t&&t.length>0){var e="";this._realSegments=[];for(var i=0,n=t.length;i0){e+=s.moveTo(r[0]);for(var u=1;u0)for(var b=0;b<=y;b++){var x=a.getPointOnCubicCurve(l,h,g,m,b/y);o.push(x),this._distance+=a.getDistance(v,x),v=x}else o.push(l)}}}this.path=e}},Object.defineProperty(e.prototype,"controlPointPosition",{get:function(){return this.getPropertyValue("controlPointPosition")},set:function(t){this.setPropertyValue("controlPointPosition",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controlPointDistance",{get:function(){return this.getPropertyValue("controlPointDistance")},set:function(t){this.setPropertyValue("controlPointDistance",t),this.makePath()},enumerable:!0,configurable:!0}),e}(r.a);o.c.registeredClasses.Polyarc=u},MZQ8:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("1qam"),o=i("Gg2j"),a=function(t){function e(){var e=t.call(this)||this;return e.className="PointedRectangle",e.element=e.paper.add("path"),e.cornerRadius=6,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.cornerRadius,i=this.innerWidth,n=this.innerHeight;if(i>0&&n>0){var r,a,s=this.pointerX,u=this.pointerY,l=this.pointerBaseWidth/2,h=o.min(i/2,n/2),c=o.fitToRange(e,0,h),p=o.fitToRange(e,0,h),d=o.fitToRange(e,0,h),f=o.fitToRange(e,0,h),g=void 0,m=void 0,y=void 0,v=void 0,b=(s-0)*(n-0)-(u-0)*(i-0),x=(s-0)*(0-n)-(u-n)*(i-0);if(b>0&&x>0)g="M"+c+",0 L"+((r=o.fitToRange(s,c+l,i-l-p))-l)+",0 L"+s+","+(u=o.fitToRange(u,-1/0,0))+" L"+(r+l)+",0 L"+(i-p)+",0";else g="M"+c+",0 L"+(i-p)+",0";if(b<0&&x<0)y=" L"+(i-d)+","+n+" L"+((r=o.fitToRange(s,f+l,i-l-d))+l)+","+n+" L"+s+","+(u=o.fitToRange(u,n,1/0))+" L"+(r-l)+","+n+" L"+f+","+n;else y=" L"+f+","+n;if(b<0&&x>0)v=" L0,"+(n-f)+" L0,"+((a=o.fitToRange(u,c+l,n-f-l))+l)+" L"+(s=o.fitToRange(s,-1/0,0))+","+u+" L0,"+(a-l)+" L0,"+c;else v=" L0,"+c;if(b>0&&x<0)m=" L"+i+","+p+" L"+i+","+((a=o.fitToRange(u,p+l,n-l-d))-l)+" L"+(s=o.fitToRange(s,i,1/0))+","+u+" L"+i+","+(a+l)+" L"+i+","+(n-d);else m=" L"+i+","+(n-d);var _=" a"+p+","+p+" 0 0 1 "+p+","+p,P=" a"+d+","+d+" 0 0 1 -"+d+","+d,w=" a"+f+","+f+" 0 0 1 -"+f+",-"+f,O=" a"+c+","+c+" 0 0 1 "+c+",-"+c;this.path=g+_+m+P+y+w+v+O}},Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),e}(r.a)},MbWG:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("e8Nv");n(n.S+n.F*i("AEc5")(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,i=new("function"==typeof this?this:Array)(e);e>t;)r(i,t,arguments[t++]);return i.length=e,i}})},Meme:function(t,e,i){"use strict";i.d(e,"a",function(){return y});var n=i("m4/l"),r=i("C6dT"),o=i("hD5A"),a=i("AAkI"),s=i("eAid"),u=i("8EhG"),l=i("AaJ4"),h=i("TDx+"),c=i("eN1s"),p=i("vMqJ"),d=i("aCit"),f=i("tjMS"),g=i("Gg2j"),m=i("Mtpk"),y=function(t){function e(){var e=t.call(this)||this;e._chart=new o.d,e.className="AxisRenderer",e.minGridDistance=50,e.inside=!1,e.inversed=!1,e.tooltipLocation=.5,e.fullWidthTooltip=!1,e.cellStartLocation=0,e.cellEndLocation=1,e.minLabelPosition=0,e.maxLabelPosition=1,e.shouldClone=!1;var i=e.createChild(r.a);i.shouldClone=!1,i.layout="none",i.virtualParent=e,i.width=Object(f.c)(100),i.height=Object(f.c)(100),e.gridContainer=i,i.events.on("maxsizechanged",function(){e.inited&&e.invalidateAxisItems()},e,!1);var n=e.createChild(r.a);n.shouldClone=!1,n.isMeasured=!1,n.layout="none",n.width=Object(f.c)(100),n.height=Object(f.c)(100),e.breakContainer=n;var a=e.createChild(r.a);a.shouldClone=!1,a.isMeasured=!1,a.layout="none",a.width=Object(f.c)(100),a.height=Object(f.c)(100),e.bulletsContainer=a,e.line=e.createChild(s.a),e.line.shouldClone=!1,e.line.strokeOpacity=0;var u=e.createChild(l.a);u.shouldClone=!1,e.baseGrid=u;var h=e._disposers;return h.push(u),h.push(e.line),h.push(i),h.push(n),h.push(a),h.push(e._chart),e.ticks.template.disabled=!0,e.axisFills.template.disabled=!0,e.axisFills.template.interactionsEnabled=!1,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis},set:function(t){this.setAxis(t)},enumerable:!0,configurable:!0}),e.prototype.setAxis=function(t){this._axis=t,this.baseGrid.parent=t,this.line.parent=t,this.gridContainer.bind("opacity",t)},e.prototype.processRenderer=function(){this.events.on("sizechanged",this.updateTooltip,this,!1),this.events.on("positionchanged",this.updateTooltip,this,!1),this.labels.template.inside=this.inside,this.ticks.template.inside=this.inside},e.prototype.updateTooltip=function(){},Object.defineProperty(e.prototype,"axisLength",{get:function(){return 0},enumerable:!0,configurable:!0}),e.prototype.positionItem=function(t,e){t&&t.moveTo(e)},e.prototype.positionToPoint=function(t,e){return{x:0,y:0}},e.prototype.positionToAngle=function(t){return 0},e.prototype.positionToCoordinate=function(t){var e=this.axis,i=e.axisFullLength;return e.renderer.inversed?(e.end-t)*i:(t-e.start)*i},e.prototype.updateGridContainer=function(){},e.prototype.getHeight=function(){var t=this.gridContainer;return t.parent?t.parent.pixelHeight:this.gridContainer.pixelHeight||0},e.prototype.getWidth=function(){var t=this.gridContainer;return t.parent?t.parent.pixelWidth:this.gridContainer.pixelWidth||0},e.prototype.coordinateToPosition=function(t,e){var i,n=this.axis,r=n.axisFullLength;return i=n.renderer.inversed?n.end-t/r:t/r+n.start,g.round(i,5)},e.prototype.pointToPosition=function(t){return 0},e.prototype.getPositionRangePath=function(t,e){return""},e.prototype.invalidateAxisItems=function(){var t=this.axis;t&&t.invalidateDataItems()},e.prototype.updateGridElement=function(t,e,i){},e.prototype.updateTickElement=function(t,e,i){},e.prototype.updateBullet=function(t,e,i){},e.prototype.updateLabelElement=function(t,e,i,n){},e.prototype.updateFillElement=function(t,e,i){t.startPosition=e,t.endPosition=i},e.prototype.updateAxisLine=function(){},e.prototype.updateBaseGridElement=function(){},e.prototype.updateBreakElement=function(t){this.positionItem(t.startLine,t.startPoint),this.toggleVisibility(t.startLine,t.startPosition,0,1),this.positionItem(t.endLine,t.endPoint),this.toggleVisibility(t.endLine,t.endPosition,0,1)},Object.defineProperty(e.prototype,"minGridDistance",{get:function(){return this.getPropertyValue("minGridDistance")},set:function(t){this.setPropertyValue("minGridDistance",t)&&this.axis&&this.axis.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart.get()},set:function(t){this._chart.set(t,null)},enumerable:!0,configurable:!0}),e.prototype.toggleVisibility=function(t,e,i,n){var r=this.axis,o=t.dataItem;o&&o instanceof a.b&&(m.isNumber(o.minPosition)&&(i=o.minPosition),m.isNumber(o.maxPosition)&&(n=o.maxPosition));var s=r.start+(r.end-r.start)*(i-1e-4),u=r.start+(r.end-r.start)*(n+1e-4);t.disabled||(t.__disabled=eu)},e.prototype.createBreakSprites=function(t){},Object.defineProperty(e.prototype,"axisFills",{get:function(){if(!this._axisFills){var t=this.createFill(this.axis);this._axisFills=new p.e(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new p.c(this._axisFills)),this._disposers.push(this._axisFills.template)}return this._axisFills},enumerable:!0,configurable:!0}),e.prototype.createFill=function(t){return new u.a(t)},Object.defineProperty(e.prototype,"grid",{get:function(){if(!this._grid){var t=this.createGrid();this._grid=new p.e(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new p.c(this._grid)),this._disposers.push(this._grid.template)}return this._grid},enumerable:!0,configurable:!0}),e.prototype.createGrid=function(){return new l.a},Object.defineProperty(e.prototype,"ticks",{get:function(){if(!this._ticks){var t=this.createTick();t.applyOnClones=!0,t.isMeasured=!1,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._ticks=new p.e(t),this._disposers.push(new p.c(this._ticks)),this._disposers.push(this._ticks.template)}return this._ticks},enumerable:!0,configurable:!0}),e.prototype.createTick=function(){return new c.a},Object.defineProperty(e.prototype,"labels",{get:function(){if(!this._labels){var t=this.createLabel();this._labels=new p.e(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new p.c(this._labels)),this._disposers.push(this._labels.template)}return this._labels},enumerable:!0,configurable:!0}),e.prototype.createLabel=function(){return new h.a},Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t)&&this.axis&&this.axis.invalidate(),t?(this.width=0,this.height=0):(this.width=void 0,this.height=void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opposite",{get:function(){return this.getPropertyValue("opposite")},set:function(t){this.setPropertyValue("opposite",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWidthTooltip",{get:function(){return this.getPropertyValue("fullWidthTooltip")},set:function(t){this.setPropertyValue("fullWidthTooltip",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipLocation",{get:function(){return this.getPropertyValue("tooltipLocation")},set:function(t){this.setPropertyValue("tooltipLocation",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipLocation2",{get:function(){return this.getPropertyValue("tooltipLocation2")},set:function(t){this.setPropertyValue("tooltipLocation2",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellStartLocation",{get:function(){return this.getPropertyValue("cellStartLocation")},set:function(t){this.setPropertyValue("cellStartLocation",t)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cellEndLocation",{get:function(){return this.getPropertyValue("cellEndLocation")},set:function(t){this.setPropertyValue("cellEndLocation",t)&&this.axis&&this.axis.invalidateSeries()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inversed",{get:function(){return this.getPropertyValue("inversed")},set:function(t){this.setPropertyValue("inversed",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minLabelPosition",{get:function(){return this.getPropertyValue("minLabelPosition")},set:function(t){this.setPropertyValue("minLabelPosition",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxLabelPosition",{get:function(){return this.getPropertyValue("maxLabelPosition")},set:function(t){this.setPropertyValue("maxLabelPosition",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.grid.template.copyFrom(e.grid.template),this.ticks.template.copyFrom(e.ticks.template),this.labels.template.copyFrom(e.labels.template),this.axisFills.template.copyFrom(e.axisFills.template),this.line.copyFrom(e.line),this.baseGrid.copyFrom(e.baseGrid)},e.prototype.toAxisPosition=function(t){return t},e.prototype.setVisibility=function(e){t.prototype.setVisibility.call(this,e),this.bulletsContainer.visible=e},e}(r.a);d.c.registeredClasses.AxisRenderer=y},MfZA:function(t,e,i){var n=i("DVYA"),r=i("YEtG")("toStringTag"),o="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,i,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?i:o?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},MipW:function(t,e,i){"use strict";i.d(e,"a",function(){return c}),e.b=function(){null==n&&(n=new c);return n};var n,r=i("m4/l"),o=i("Tjl+"),a=i("pzs1"),s=i("x79X"),u=i("aCit"),l=i("ScGY"),h=i("Mtpk"),c=function(t){function e(){var e=t.call(this)||this;return e.adapter=new s.a(e),e.className="TextFormatter",e.applyTheme(),e}return r.c(e,t),e.prototype.debug=function(){},e.prototype.format=function(t,e){h.hasValue(e)||(e="svg");var i="",n=(t=this.escape(t)).match(/\[([^\]]*?)\]/gm);if(!n)return this.wrap(t,"",e);for(var r=t.split(/\[[^\[\]]*\]/),o=0,a=r.length;o0&&(u=n[o-1].replace("[","").replace("]","")),i+=this.wrap(s,u,e)}}return i=this.unescape(i),this.cleanUp(i)},e.prototype.escape=function(t){return t.replace(/\[\[/g,u.c.getPlaceholder("1")).replace(/([^\/]{1})\]\]/g,"$1"+u.c.getPlaceholder("2")).replace(/\]\]/g,u.c.getPlaceholder("2")).replace(/\{\{/g,u.c.getPlaceholder("3")).replace(/\}\}/g,u.c.getPlaceholder("4")).replace(/\'\'/g,u.c.getPlaceholder("5"))},e.prototype.unescape=function(t){return t.replace(new RegExp(u.c.getPlaceholder("1"),"g"),"[[").replace(new RegExp(u.c.getPlaceholder("2"),"g"),"]]").replace(new RegExp(u.c.getPlaceholder("3"),"g"),"{{").replace(new RegExp(u.c.getPlaceholder("4"),"g"),"}}").replace(new RegExp(u.c.getPlaceholder("5"),"g"),"'")},e.prototype.cleanUp=function(t){return t.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")},e.prototype.wrap=function(t,e,i){switch(""!==e&&"/"!==e||(e=""),i){case"html":return this.wrapHtml(t,this.translateStyleShortcuts(e));default:return this.wrapSvg(t,this.translateStyleShortcuts(e))}},e.prototype.wrapSvg=function(t,e){return""===e?""+t+"":""+t+""},e.prototype.getSvgElement=function(t,e){var i=new a.a("tspan");return i.textContent=t,e&&i.node.setAttribute("style",e),i},e.prototype.wrapHtml=function(t,e){return""===e?""+t+"":""+t+""},e.prototype.getHtmlElement=function(t,e){var i=document.createElement("span");return i.innerHTML=t,e&&i.setAttribute("style",e),i},e.prototype.styleSvgToHtml=function(t){return t=t.replace(/fill:/,"color:")},e.prototype.translateStyleShortcuts=function(t){if(""==t||"[ ]"==t)return"";var e=u.c.getCache("translateStyleShortcuts_"+t);if(e)return e;var i=t.match(/([\w\-]*:[\s]?[^;\s\]]*)|(\#[\w]{1,6})|([\w]+)|(\/)/gi);if(!i)return t;for(var n=0;n1?arguments[1]:void 0)}})},MsQa:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{scale:i("eh+x")})},Mtpk:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isNaN=r,e.getType=o,e.getDefault=function(t,e){return t||e},e.checkString=function(t){if("string"==typeof t)return!0;throw new Error("Expected a string but got "+o(t))},e.checkBoolean=function(t){if("boolean"==typeof t)return!0;throw new Error("Expected a boolean but got "+o(t))},e.checkNumber=function(t){if("number"!=typeof t)throw new Error("Expected a number but got "+o(t));if(r(t))throw new Error("Expected a number but got NaN");return!0},e.checkObject=function(t){var e=o(t);if("[object Object]"===e)return!0;throw new Error("Expected an object but got "+e)},e.checkArray=function(t){if(Array.isArray(t))return!0;throw new Error("Expected an array but got "+o(t))},e.checkDate=function(t){var e=o(t);if("[object Date]"===e)return!0;throw new Error("Expected a date but got "+e)},e.castString=a,e.castNumber=function(t){if("string"==typeof t){var e=+t;if(r(e))throw new Error("Cannot cast string "+JSON.stringify(t)+" to a number");return e}if("number"==typeof t){if(r(t))throw new Error("Expected a number but got NaN");return t}var i=o(t);if("[object Date]"===i)return t.getTime();throw new Error("Expected a string, number, or date but got "+i)},e.toBoolean=function(t){return!!t},e.toNumber=s,e.toText=function(t){if(u(t)&&!l(t)){if(h(t))return a(t);if(c(t))return t.toString()}return t},e.toNumberOrPercent=function(t){if(!u(t)||h(t)||Object(n.b)(t))return t;if(l(t)&&-1!=t.indexOf("%"))return Object(n.c)(s(t));return s(t)},e.hasValue=u,e.getValue=function(t){if(u(t))return t;throw new Error("Value doesn't exist")},e.getValueDefault=function(t,e){return u(t)?t:e},e.isDate=function(t){return"[object Date]"===o(t)},e.isString=l,e.isNumber=h,e.isObject=c,e.isArray=function(t){return Array.isArray(t)};var n=i("tjMS");function r(t){return Number(t)!==t}function o(t){return{}.toString.call(t)}function a(t){if("string"==typeof t)return t;if("number"==typeof t)return""+t;throw new Error("Expected a string or number but got "+o(t))}function s(t){if(u(t)&&!h(t)){var e=Number(t);return r(e)&&l(t)&&""!=t?s(t.replace(/[^0-9.\-]+/g,"")):e}return t}function u(t){return null!=t}function l(t){return"string"==typeof t}function h(t){return"number"==typeof t&&Number(t)==t}function c(t){return"object"==typeof t}},Mvcd:function(t,e,i){var n=i("Gb1H"),r=i("AEc5"),o=i("kcsd"),a=/"/g,s=function(t,e,i,n){var r=String(o(t)),s="<"+e;return""!==i&&(s+=" "+i+'="'+String(n).replace(a,""")+'"'),s+">"+r+""};t.exports=function(t,e){var i={};i[t]=e(s),n(n.P+n.F*r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",i)}},"N/Yk":function(t,e,i){i("vdWU")("Array")},"ND2/":function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("PTiM"),o=i("8ZqG"),a=i("aFzC"),s=i("hGwe"),u=function(t){function e(){var e=t.call(this)||this;return e.className="WavedLine",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.pixelPerfect=!1,e.fill=Object(o.c)(),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){var t={x:this.x1,y:this.y1},e={x:this.x2,y:this.y2};this.path=s.moveTo(t)+Object(a.c)(t,e,this.waveLength,this.waveHeight,this.tension,!0)},Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),e}(r.a)},NKpi:function(t,e,i){var n=i("xCMl"),r=i("WtL7"),o=i("6MWL"),a=i("snR7"),s=i("K0ev"),u=o.keys,l=o.key;o.exp({getMetadataKeys:function(t){return function t(e,i){var o=u(e,i),a=s(e);if(null===a)return o;var l=t(a,i);return l.length?o.length?r(new n(o.concat(l))):l:o}(a(t),arguments.length<2?void 0:l(arguments[1]))}})},NSvu:function(t,e,i){i("YJIw")("Uint8",1,function(t){return function(e,i,n){return t(this,e,i,n)}},!0)},NlGZ:function(t,e,i){"use strict";var n,r;!function(o,a){void 0===(r="function"==typeof(n=a)?n.call(e,i,e,t):n)||(t.exports=r)}("undefined"!=typeof window&&window,function(){if("undefined"==typeof window)return null;var t="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||function(e){return t.setTimeout(e,20)};function i(t,e){var i=Object.prototype.toString.call(t),n="[object Array]"===i||"[object NodeList]"===i||"[object HTMLCollection]"===i||"[object Object]"===i||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements,r=0,o=t.length;if(n)for(;r=1?(this._started&&(this._started=void 0),p.c.events.once("enterframe",function(){var t=e.hide();t&&!t.isFinished()?t.events.once("animationended",function(){e.__disabled=!0}):e.__disabled=!0}),this.interactionsEnabled=!1,this.setPropertyValue("progress",0)):t>0&&(this.delay?this._started?this._started+this.delay<=(new Date).getTime()&&(this.__disabled=!1,this.show(),this.interactionsEnabled=!0):this._started=(new Date).getTime():(this.__disabled=!1,this.show(),this.interactionsEnabled=!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"delay",{get:function(){return this.getPropertyValue("delay")},set:function(t){this.setPropertyValue("delay",t)},enumerable:!0,configurable:!0}),e}(s.a);p.c.registeredClasses.Preloader=B;var G=i("GtDR"),H=i("xIv9"),W=i("CnhP"),U=i("ISWh"),z=function(t){function e(){var e=t.call(this)||this;return e.className="Slider",e.thumb.opacity=0,e.thumb.interactionsEnabled=!1,e.endGrip.opacity=0,e.endGrip.interactionsEnabled=!1,e.startGrip.events.on("drag",function(){e.endGrip.x=e.startGrip.x,e.endGrip.y=e.startGrip.y}),e.applyTheme(),e}return w.c(e,t),Object.defineProperty(e.prototype,"__end",{get:function(){return this._start},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._start},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._start},set:function(t){this._isBusy||(this.__start=t)},enumerable:!0,configurable:!0}),e}(U.a);p.c.registeredClasses.Slider=z;var Y=i("Trvg"),X=i("cxKZ"),K=i("DziZ"),Z=i("Rnbi"),q=i("Vk33"),J=i("ND2/"),Q=i("w4m0"),$=i("BEgH"),tt=function(t){function e(){var e=t.call(this)||this;e.className="PlayButton",e.padding(12,12,12,12),e.showSystemTooltip=!0;var i=new R.a,n=e.background;n.cornerRadius(25,25,25,25),n.fill=i.getFor("primaryButton"),n.stroke=i.getFor("primaryButtonStroke"),n.strokeOpacity=0,n.states.getKey("hover").properties.fill=i.getFor("primaryButtonHover"),n.states.getKey("down").properties.fill=i.getFor("primaryButtonActive");var r=new Z.a;r.direction="right",r.width=9,r.height=11,r.marginLeft=1,r.marginRight=1,r.horizontalCenter="middle",r.verticalCenter="middle",r.stroke=i.getFor("primaryButtonText"),r.fill=r.stroke,e.icon=r;var o=new W.a;o.width=11,o.height=11,o.horizontalCenter="middle",o.verticalCenter="middle",o.cornerRadius(0,0,0,0),o.stroke=i.getFor("primaryButtonText"),o.fill=r.stroke,e.togglable=!0;var a=e.states.create("active");return a.transitionDuration=0,a.properties.icon=o,e.defaultState.transitionDuration=0,e.applyTheme(),e}return w.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),S.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Play"))},e}(x.a);p.c.registeredClasses.PlayButton=tt;var et=i("ncT3"),it=i("Mr4Y"),nt=i("nPzZ"),rt=i("GAaQ"),ot=i("qJno"),at=i("7XB+"),st=i("akNo"),ut=i("CTEm"),lt=i("MipW"),ht=i("0PyG"),ct=i("zhwk"),pt=i("Oe1l"),dt=i("vbOF"),ft=i("YotE"),gt=i("qCRI"),mt=i("pzs1"),yt=i("cOH5"),vt=i("P7v+"),bt=i("aFzC"),xt=i("HDh7"),_t=i("DA7/"),Pt=i("sxA1"),wt=i("/e9j"),Ot=i("CuFa"),St=function(t){function e(){var e=t.call(this)||this;return e.className="RadialGradientModifier",e.gradient=new Ot.a,e.applyTheme(),e}return w.c(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(i("3/51").a);p.c.registeredClasses.RadialGradientModifier=St;var Tt=i("WODi"),Ct=i("ZLF9"),kt=i("2gKx"),It=i("ohjg"),Dt=function(t){function e(){var e=t.call(this)||this;return e.className="ColorizeFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"matrix"}),e.filterPrimitives.push(e.feColorMatrix),e.intensity=1,e.applyTheme(),e}return w.c(e,t),e.prototype.applyFilter=function(){var t,e,i,n=this.intensity,r=1-n,o=this.color;o&&o.rgb?(t=o.rgb.r/255*n,e=o.rgb.g/255*n,i=o.rgb.b/255*n):(t=0,e=0,i=0),this.feColorMatrix.attr({values:r+" 0 0 0 "+t+" 0 "+r+" 0 0 "+e+" 0 0 "+r+" 0 "+i+" 0 0 0 1 0"})},Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.properties.color=t,this.applyFilter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intensity",{get:function(){return this.properties.intensity},set:function(t){this.properties.intensity=t,this.applyFilter()},enumerable:!0,configurable:!0}),e}(It.a);p.c.registeredClasses.ColorizeFilter=Dt;var Vt=i("85D4"),Mt=i("VAFc"),jt=function(t){function e(){var e=t.call(this)||this;return e.className="BlurFilter",e.feGaussianBlur=e.paper.add("feGaussianBlur"),e.feGaussianBlur.attr({result:"blurOut",in:"SourceGraphic"}),e.filterPrimitives.push(e.feGaussianBlur),e.width=200,e.height=200,e.blur=1.5,e.applyTheme(),e}return w.c(e,t),Object.defineProperty(e.prototype,"blur",{get:function(){return this.properties.blur},set:function(t){this.properties.blur=t,this.feGaussianBlur.attr({stdDeviation:t/this.scale})},enumerable:!0,configurable:!0}),e}(It.a);p.c.registeredClasses.BlurFilter=jt;var At=function(t){function e(){var e=t.call(this)||this;return e.className="FocusFilter",e.feFlood=e.paper.add("feFlood"),e.feFlood.attr({"flood-color":(new R.a).getFor("primaryButtonHover"),result:"base"}),e.filterPrimitives.push(e.feFlood),e.feMorphology=e.paper.add("feMorphology"),e.feMorphology.attr({result:"bigger",in:"SourceGraphic",operator:"dilate",radius:"2"}),e.filterPrimitives.push(e.feMorphology),e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({result:"mask",in:"bigger",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"}),e.filterPrimitives.push(e.feColorMatrix),e.feComposite=e.paper.add("feComposite"),e.feComposite.attr({result:"drop",in:"base",in2:"mask",operator:"in"}),e.filterPrimitives.push(e.feComposite),e.feBlend=e.paper.add("feBlend"),e.feBlend.attr({in:"SourceGraphic",in2:"drop",mode:"normal"}),e.filterPrimitives.push(e.feBlend),e.width=130,e.height=130,e.applyTheme(),e}return w.c(e,t),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.properties.stroke},set:function(t){this.properties.stroke=t,this.feFlood.attr({"flood-color":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth},set:function(t){this.properties.strokeWidth=t,this.feMorphology.attr({radius:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.properties.opacity},set:function(t){this.properties.opacity=t,this.feColorMatrix.attr({values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "+t+" 0"})},enumerable:!0,configurable:!0}),e.prototype.setSprite=function(e){this._sprite&&this._sprite!=e&&this._sprite.group.removeStyle("outline"),e.group.addStyle({outline:"none"}),t.prototype.setSprite.call(this,e)},e}(It.a),Ft=i("C84C"),Et=i("x79X"),Rt=i("1yyj"),Lt=i("/9XX"),Nt=i("eCqC"),Bt=i("8ZqG"),Gt=i("DHte"),Ht=i("W0E6"),Wt=i("+qIf"),Ut=i("hD5A"),zt=i("o0Lc"),Yt=i("Wglt"),Xt=i("WYhe"),Kt=i("P/bD"),Zt=i("vMqJ"),qt=i("oC3T"),Jt=i("MlsF"),Qt=i("Iz1H"),$t=i("TGuK"),te=i("VGgz"),ee=i("ScGY"),ie=i("/IEW"),ne=i("hGwe"),re=i("hxI2"),oe=i("0FpR"),ae=i("Gg2j"),se=i("hJ5i"),ue=i("3Cxr"),le=i("Qkdp"),he=i("wUYf"),ce=i("L91H"),pe=i("v9UT"),de=function(t){function e(){var e=t.call(this)||this;e.className="AmChartsLogo",e.valign="bottom";var i=.3;e.opacity=.3,e.defaultState.properties.opacity=.4,e.url="https://www.amcharts.com/",e.urlTarget="_blank",e.showSystemTooltip=!0,e.readerTitle="Chart created using amCharts library",e.width=66,e.height=21,e.background.opacity=0;var n=Object(Bt.c)("#474758");"#ffffff"==(new R.a).getFor("background").alternative.hex&&(n=Object(Bt.c)("#ffffff"));var r=new Pt.a;r.addColor(n),r.addColor(n,1,.75),r.addColor(Object(Bt.c)("#3cabff"),1,.755),r.rotation=-10;var o=r,a=e.createChild(E.a);a.shouldClone=!1,a.isMeasured=!1,a.segments=[[{x:15,y:15},{x:27,y:15},{x:36,y:6},{x:40.5,y:10.5},{x:45,y:6},{x:54,y:15},{x:60,y:15}]],a.strokeWidth=6*i,a.tensionX=.8,a.tensionY=1,a.stroke=Object(Bt.c)("#3cabff");var s=e.createChild(E.a);s.shouldClone=!1,s.isMeasured=!1,s.segments=[[{x:6,y:15},{x:15,y:15},{x:27,y:12*i},{x:39.9,y:15},{x:51,y:15},{x:60,y:15}]],s.strokeWidth=6*i,s.tensionX=.75,s.tensionY=1,s.stroke=o,e._disposers.push(s);var u=new Vt.a;e.filters.push(u);var l=new Vt.a;l.saturation=1;var h=e.states.create("hover");return h.properties.opacity=1,h.filters.push(l),e.applyTheme(),e}return w.c(e,t),e}(s.a),fe=i("pjXm");function ge(t,e){var i=O.q(t);if(i){i.innerHTML="";var n=new xt.a(i),o=new vt.a(n.SVGContainer,"svg-"+(xt.b.length-1)),a=new s.a;a.htmlContainer=i,a.svgContainer=n,a.width=Object(N.c)(100),a.height=Object(N.c)(100),a.background.fillOpacity=0,a.paper=o,o.append(a.group),a.relativeWidth=1,a.relativeHeight=1,n.container=a;var u=a.createChild(e);u.topParent=a;var l=u.uid;p.c.invalidSprites[l]=[],p.c.invalidDatas[l]=[],p.c.invalidPositions[l]=[],p.c.invalidLayouts[l]=[],a.baseId=l,u.isBaseSprite=!0,u.focusFilter=new At,p.c.baseSprites.push(u),p.c.baseSpritesByUid[l]=u,u.maskRectangle={x:0,y:0,width:Math.max(n.width,0),height:Math.max(n.height,0)},a.events.on("maxsizechanged",function(t){0!=t.previousWidth&&0!=t.previousHeight||a.deepInvalidate(),u.maskRectangle&&(u.maskRectangle={x:0,y:0,width:Math.max(n.width,0),height:Math.max(n.height,0)})});var h=null,c=function(){u.isDisposed()?h=null:null==O.r(u.dom)?(fe.b("Chart was not disposed",u.uid),h=null):h=setTimeout(c,1e3)};c(),u.addDisposer(new Ut.b(function(){null!==h&&clearTimeout(h),se.remove(p.c.baseSprites,u),p.c.baseSpritesByUid[u.uid]=void 0})),u.addDisposer(a);var f=a.createChild(s.a);f.topParent=a,f.width=Object(N.c)(100),f.height=Object(N.c)(100),f.isMeasured=!1,a.tooltipContainer=f,u.tooltip=new X.a,u.tooltip.hide(0),u.tooltip.setBounds({x:0,y:0,width:f.maxWidth,height:f.maxHeight}),f.events.on("maxsizechanged",function(){S.getValue(u.tooltip).setBounds({x:0,y:0,width:f.maxWidth,height:f.maxHeight})},void 0,!1);var g=new B;if(g.events.on("inited",function(){g.__disabled=!0},void 0,!1),a.preloader=g,u instanceof s.a&&!u.hasLicense()){var m=f.createChild(de);f.events.on("maxsizechanged",function(t){f.maxWidth<=100||f.maxHeight<=50?m.hide():(m.isHidden||m.isHiding)&&m.show()},void 0,!1),u.logo=m,m.align="left",m.valign="bottom"}if(pe.used(u.numberFormatter),a.isStandaloneInstance=!0,d.a.onlyShowOnViewport)if(O.t(i,d.a.viewportTarget))d.a.queue&&ye(u);else{u.__disabled=!0,u.tooltipContainer.__disabled=!0;var y=[O.g(window,"DOMContentLoaded",function(){be(u)}),O.g(window,"load",function(){be(u)}),O.g(window,"resize",function(){be(u)}),O.g(window,"scroll",function(){be(u)})];d.a.viewportTarget&&(y.push(O.g(d.a.viewportTarget,"resize",function(){be(u)})),y.push(O.g(d.a.viewportTarget,"scroll",function(){be(u)})));var v=new Ut.c(y);u.addDisposer(v),u.vpDisposer=v}else d.a.queue&&ye(u);return u}throw r.b.log("html container not found"),new Error("html container not found")}function me(){for(;0!==p.c.baseSprites.length;)p.c.baseSprites.pop().dispose()}function ye(t){-1==p.c.queue.indexOf(t)&&(t.__disabled=!0,t.tooltipContainer.__disabled=!0,t.events.disableType("appeared"),0==p.c.queue.length&&xe(t),t.addDisposer(new Ut.b(function(){ve(t)})),p.c.queue.push(t))}function ve(t){var e=p.c.queue.indexOf(t);if(e>=0){p.c.queue.splice(p.c.queue.indexOf(t),1);var i=p.c.queue[e];i&&xe(i)}}function be(t){t.__disabled&&O.t(t.htmlContainer,d.a.viewportTarget)&&(t.vpDisposer&&t.vpDisposer.dispose(),ye(t))}function xe(t){t.__disabled=!1,t.tooltipContainer.__disabled=!1,t.events.enableType("appeared"),t.showOnInit&&t.events.on("appeared",function(){ve(t)}),t.vpDisposer&&t.vpDisposer.dispose(),t instanceof a.a?(t.invalidateData(),t.reinit(),t.events.once("datavalidated",function(){t.showOnInit?t.appear():ve(t)})):t.showOnInit?t.appear():ve(t)}function _e(t,e){var i;S.isString(e)&&(S.hasValue(p.c.registeredClasses[e])?e=p.c.registeredClasses[e]:(e=p.c.registeredClasses.Container,i=new Error("Class ["+e+"] is not loaded.")));var n=ge(t,e);return i&&n.raiseCriticalError(i),n}function Pe(t,e,i){var n,r;S.hasValue(i)||(i=t.type,delete t.type),S.hasValue(e)||(e=t.container,delete t.container),S.isString(i)&&S.hasValue(p.c.registeredClasses[i])?n=p.c.registeredClasses[i]:"function"!=typeof i?(n=s.a,r=new Error("Class ["+i+"] is not loaded.")):n=i;var o=ge(e,n);return r?o.raiseCriticalError(r):o.config=t,o}function we(t){-1===p.c.themes.indexOf(t)&&p.c.themes.push(t)}function Oe(t){se.remove(p.c.themes,t)}function Se(){p.c.themes=[]}function Te(t){d.a.licenses.push(t)}window.am4core=n,i.p=function(t){return/(.*\/)[^\/]*$/.exec(t)[1]}(function(){if(document.currentScript)return document.currentScript;var t=document.getElementsByTagName("script");return t[t.length-1]}().src)},O8xK:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("G5U1"),o=i("T9LF"),a=i("QXbb"),s=i("JqbS");n(n.P+n.R,"Promise",{finally:function(t){var e=a(this,r.Promise||o.Promise),i="function"==typeof t;return this.then(i?function(i){return s(e,t()).then(function(){return i})}:t,i?function(i){return s(e,t()).then(function(){throw i})}:t)}})},"OB1/":function(t,e,i){var n=i("G5U1"),r=i("T9LF"),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i("pb4Y")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},ODWe:function(t,e,i){var n=i("U3hN"),r=i("EhJv"),o=i("mntN")(!1),a=i("VYrJ")("IE_PROTO");t.exports=function(t,e){var i,s=r(t),u=0,l=[];for(i in s)i!=a&&n(s,i)&&l.push(i);for(;e.length>u;)n(s,i=e[u++])&&(~o(l,i)||l.push(i));return l}},OKlB:function(t,e,i){var n=i("Gb1H");n(n.S,"Number",{isNaN:function(t){return t!=t}})},OVUc:function(t,e,i){"use strict";e.a=function(t,e,i){return new Promise(function(r,o){var a=n.hasValue(i)&&"blob"==i.responseType,s=new XMLHttpRequest;if(s.onload=function(){if(200===s.status){var t,i=void 0;if(a)return void function(t){return new Promise(function(e,i){var n=new FileReader;n.onload=function(t){e(n.result)},n.onerror=function(t){i(t)},n.readAsText(t)})}(t=s.response).then(function(i){var n={xhr:s,error:!1,response:i,blob:t,type:s.getResponseHeader("Content-Type"),target:e};r(n)});i=s.responseText||s.response;var n={xhr:s,error:!1,response:i,blob:t,type:s.getResponseHeader("Content-Type"),target:e};r(n)}else o({xhr:s,error:!0,type:s.getResponseHeader("Content-Type"),target:e})},s.onerror=function(){o({xhr:s,error:!0,type:s.getResponseHeader("Content-Type"),target:e})},s.open("GET",t,!0),i&&i.withCredentials&&(s.withCredentials=!0),n.hasValue(i)){if(n.hasValue(i.requestHeaders))for(var u=0;un+.2)o.hide(0);else{var a=c.spritePointToSprite({x:0,y:0},this.gridContainer,o.parent).x;o.path=h.moveTo({x:0,y:0})+h.lineTo({x:i,y:0}),o.moveTo({x:a,y:r}),o.show(0)}},e.prototype.updateLabelElement=function(t,e,i,n){p.hasValue(n)||(n=t.location),e+=(i-e)*n,t.isMeasured=!t.inside;var r,o=this.positionToPoint(e),a=0,s=this.gridContainer.maxWidth;this.opposite?(t.inside?(r="right","left"==t.align&&(a=-s,r="left"),"center"==t.align&&(a=-s/2,r="middle")):r="left",o.x=0+a):(t.inside?(r="left","right"==t.align&&(a=s,r="right"),"center"==t.align&&(a=s/2,r="middle")):r="right",o.x=this.measuredWidth+a),0==t.rotation&&(t.horizontalCenter=r),this.positionItem(t,o),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},e.prototype.updateBreakElement=function(e){t.prototype.updateBreakElement.call(this,e);var i=e.startLine,n=e.endLine,r=e.fillShape,o=e.startPoint,a=e.endPoint,s=e.pixelMarginLeft,u=this.getWidth()-e.pixelMarginLeft-e.pixelMarginRight;o.y=l.fitToRange(o.y,-1,this.axisLength+1),a.y=l.fitToRange(a.y,-1,this.axisLength+1),o.y==a.y&&(o.y<0||o.y>this.axisLength)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1;var h=Math.abs(u-s);i.x=s,i.height=0,i.width=h,n.x=s,n.height=0,n.width=h,r.width=h,r.height=Math.abs(a.y-o.y),r.x=s,r.y=a.y},e.prototype.createBreakSprites=function(t){t.startLine=new o.a,t.endLine=new o.a;var e=new a.a;e.setWavedSides(!0,!1,!0,!1),t.fillShape=e},e.prototype.positionToCoordinate=function(t){var e,i=this.axis,n=i.axisFullLength;return e=i.renderer.inversed?(t-i.start)*n:(i.end-t)*n,l.round(e,1)},e.prototype.updateBullet=function(t,e,i){var n=.5;t instanceof f.a&&(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);r.x=c.spritePointToSprite({x:this.line.pixelX,y:0},this.line.parent,this.gridContainer).x,this.positionItem(t,r),this.toggleVisibility(t,e,0,1)},e}(r.a);s.c.registeredClasses.AxisRendererY=g,d.c.push({relevant:d.b.widthS,state:function(t,e){if(t instanceof g){var i=t.states.create(e);return i.properties.inside=!0,i.properties.maxLabelPosition=.9,i.properties.minLabelPosition=.1,i}return null}}),d.c.push({relevant:d.b.widthXS,state:function(t,e){if(t instanceof g){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},Obr2:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("vJiZ"),o=i("W0fk"),a=i("K0ev"),s=i("nHHr").f;i("gD3S")&&n(n.P+i("3/+B"),"Object",{__lookupGetter__:function(t){var e,i=r(this),n=o(t,!0);do{if(e=s(i,n))return e.get}while(i=a(i))}})},Oe1l:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("zhwk"),r=i("Rpw0"),o=i("hJ5i"),a=function(){function t(t,e){this._disposed=!1,this.directionX=0,this.directionY=0,this.interaction=t,this.keyboardEvent=e,this._startedOn=(new Date).getTime(),Object(n.b)().processDragStart(t),r.b.animations.push(this),this.update()}return t.prototype.update=function(){var t=this.interaction,e=Object(n.b)().getKeyboardOption(t,"speed"),i=Object(n.b)().getKeyboardOption(t,"accelleration"),r=Object(n.b)().getKeyboardOption(t,"accellerationDelay"),o={x:0,y:0};this.keyboardEvent.shiftKey?(e*=.5,i=1):this.keyboardEvent.ctrlKey&&(e*=2);var a=(new Date).getTime()-this._startedOn,s=a-r;if(i>0&&s>0){var u=a/r;a=r,o.x+=this.directionX*(e*i*u*s),o.y+=this.directionY*(e*i*u*s)}o.x+=this.directionX*(e*a),o.y+=this.directionY*(e*a),Object(n.b)().handleTransformMove(t,o,{x:0,y:0},this.keyboardEvent,!0,!1)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(Object(n.b)().processDragStop(this.interaction),o.remove(r.b.animations,this))},t}()},"Oko+":function(t,e,i){"use strict";var n=i("Gb1H"),r=i("dstF")(3);n(n.P+n.F*!i("GQop")([].some,!0),"Array",{some:function(t){return r(this,t,arguments[1])}})},OuXI:function(t,e,i){var n=i("Gb1H"),r=i("iAlL")(!0);n(n.S,"Object",{entries:function(t){return r(t)}})},OxI3:function(t,e,i){var n=i("Gb1H"),r=i("0C8c"),o=Math.exp;n(n.S+n.F*i("AEc5")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(r(t)-r(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},"P/bD":function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("Tjl+"),o=i("x79X"),a=i("hJ5i"),s=i("Mtpk"),u=i("JNIx"),l=i("Q4nc"),h=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.a(e),e._locale=u.a,e._defaultLocale=u.a,e.className="Language",s.hasValue(l.a.defaultLocale)&&(e.locale=l.a.defaultLocale),e.applyTheme(),e}return n.c(e,t),e.prototype.getLocale=function(t){return null==t&&(t=this._locale),this.adapter.apply("locale",{locale:t}).locale},e.prototype.translate=function(t,e){for(var i=[],r=2;rthis._maxRadiusPercent&&(this._maxRadiusPercent=i)}t.prototype.validate.call(this),this.alignLabels&&(this.startAngle>this.endAngle?this._rightItems.reverse():this._leftItems.reverse(),this._rightItems.sort(function(t,e){var i=(t.slice.middleAngle+360)%360,n=(e.slice.middleAngle+360)%360;return i>270&&(i-=360),n>270&&(n-=360),i0){this.ignoreZeroValues&&0==e.value?e.__disabled=!0:e.__disabled=!1;var i=e.slice;if(i.radius=this.pixelRadius,h.isNumber(e.radiusValue)&&(i.radius=this.pixelInnerRadius+(this.pixelRadius-this.pixelInnerRadius)*e.values.radiusValue.percent/this._maxRadiusPercent),i.innerRadius instanceof c.a||(i.innerRadius=this.pixelInnerRadius),i.startAngle=this._currentStartAngle,i.arc=Math.abs(e.values.value.percent)*(this.endAngle-this.startAngle)/100,!this.labels.template.disabled){var n=e.label,r=e.tick;r.slice=i,r.label=n;var o=(i.middleAngle+360)%360,a=void 0;if(this.alignLabels){var s=n.pixelRadius(i.radius),u=r.length+s;n.dx=0,n.dy=0,n.verticalCenter="middle";var l=this._arcRect;o>270||o<=90?(u+=(l.width+l.x)*this.pixelRadius,n.horizontalCenter="left",this._rightItems.push(e)):(u-=l.x*this.pixelRadius,n.horizontalCenter="right",this._leftItems.push(e),u*=-1);var p=i.radius+r.length+s;a={x:u,y:i.iy*p},n.moveTo(a)}else{var d=i.depth;h.isNumber(d)||(d=0),n.fixPosition(i.middleAngle,i.radius,i.radiusY,0,-d)}}this._currentStartAngle+=i.arc,t.prototype.validateDataElement.call(this,e)}},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelRadius",{get:function(){return this._pixelRadius},set:function(t){this._pixelRadius!=t&&(this._pixelRadius=t,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return this._pixelInnerRadius},set:function(t){this._pixelInnerRadius!=t&&(this._pixelInnerRadius=t,this.invalidateDataItems())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){var t=this.getPropertyValue("startAngle");return h.isNumber(t)?t:this._startAngleInternal},set:function(t){this.setPropertyValue("startAngle",l.normalizeAngle(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){var t=this.getPropertyValue("endAngle");return h.isNumber(t)?t:this._endAngleInternal},set:function(t){this.setPropertyValue("endAngle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem.slice,n=e.locationX;h.isNumber(n)||(n=.5);var r=e.locationY;h.isNumber(r)||(r=1);var o=i.startAngle+i.arc*n;e.x=r*i.radius*l.cos(o),e.y=r*i.radiusY*l.sin(o)},e.prototype.handleSliceMove=function(t){if(!this.alignLabels){var e=t.target,i=e.dataItem;if(i){var n=i.label;n&&(n.dx=n.fdx+e.dx+e.pixelX,n.dy=n.fdy+e.dy+e.pixelY)}}},Object.defineProperty(e.prototype,"bbox",{get:function(){if(this.definedBBox)return this.definedBBox;var t=this.chart;return t?l.getArcRect(t.startAngle,t.endAngle,this.pixelRadius):l.getArcRect(this.startAngle,this.endAngle,this.pixelRadius)},enumerable:!0,configurable:!0}),e}(r.a);u.c.registeredClasses.PieSeries=d,u.c.registeredClasses.PieSeriesDataItem=p},Q4nc:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n={verbose:!0,commercialLicense:!1,classNamePrefix:"amcharts-",autoSetClassName:!1,minPolylineStep:.5,onlyShowOnViewport:!1,queue:!1,licenses:[]}},QXbb:function(t,e,i){var n=i("snR7"),r=i("DbOM"),o=i("YEtG")("species");t.exports=function(t,e){var i,a=n(t).constructor;return void 0===a||void 0==(i=n(a)[o])?e:r(i)}},QZG2:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("mntN")(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;n(n.P+n.F*(a||!i("GQop")(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:r(this,t,arguments[1])}})},Qgck:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{imulh:function(t,e){var i=+t,n=+e,r=65535&i,o=65535&n,a=i>>16,s=n>>16,u=(a*o>>>0)+(r*o>>>16);return a*s+(u>>16)+((r*s>>>0)+(65535&u)>>16)}})},Qkdp:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.entries=function(t){return function(e){for(var i in t)if(s(t,i)&&!e([i,t[i]]))break}},e.keys=o,e.keysOrdered=a,e.hasKey=s,e.getKey=function(t,e){return t[e]},e.eachContinue=u,e.each=function(t,e){u(t,function(t,i){return e(t,i),!0})},e.eachOrdered=function(t,e,i){n.each(a(t,i),function(i){e(i,t[i])})},e.copy=function(t){return Object.assign({},t)},e.merge=function(t,e){return Object.assign({},t,e)},e.copyProperties=l,e.softCopyProperties=function(t,e,i){n.each(i,function(i){r.hasValue(t[i])&&!r.hasValue(e[i])&&(e[i]=t[i])})},e.forceCopyProperties=function(t,e,i){n.each(i,function(i){e[i]=t[i]})},e.copyAllProperties=function(t,e){l(t,e,o(t))};var n=i("hJ5i"),r=i("Mtpk");function o(t){var e=[];for(var i in t)s(t,i)&&e.push(i);return e}function a(t,e){return o(t).sort(e)}function s(t,e){return{}.hasOwnProperty.call(t,e)}function u(t,e){for(var i in t)if(s(t,i)&&!e(i,t[i]))break}function l(t,e,i){n.each(i,function(i){r.hasValue(t[i])&&(e[i]=t[i])})}},QtEf:function(t,e,i){var n=i("Gb1H"),r=Math.atanh;n(n.S+n.F*!(r&&1/r(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},R6wv:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("Vs7R"),o=i("oC3T"),a=i("aCit"),s=i("hGwe"),u=i("Mtpk"),l=function(t){function e(){var e=t.call(this)||this;return e.className="Polygon",e.element=e.paper.add("path"),e.shapeRendering="auto",e._currentPoints=[],e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"points",{get:function(){var t=this.getPropertyValue("points"),e=this.path;if(e&&(!t||0==t.length)){for(var i=e.slice(1,e.length-1).split("ZM"),n=0;n0){var o=r.split("M"),a=o[0],s=o[1];if(a&&a.length>0){var u=a.split("L");if(u.length>0){var l=[],h=[l];t.push(h);for(var c=0;c0){var d=s.split("L");if(d.length>0){var f=[];h.push(f);for(c=d.length-1;c>=0;c--){p=d[c].split(",");f.push({x:+p[0],y:+p[1]})}}}}}}}this.setPropertyValue("points",t),this._currentPoints=t}return t},set:function(t){this.setPropertyValue("points",t,!0),this._currentPoints=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentPoints",{get:function(){return this._currentPoints&&0!=this._currentPoints.length||!this.path||(this._currentPoints=this.points),this._currentPoints},set:function(t){this._currentPoints!=t&&(this._currentPoints=t,this.draw())},enumerable:!0,configurable:!0}),e.prototype.draw=function(){var e,i,n,r,o="",a=this._currentPoints;if(a.length>0){for(var l=0,h=a.length;l0){var d=c[0];o+=s.moveTo(d);for(var f=0;fd.x)&&(e=d.x),(!u.isNumber(n)||n>d.y)&&(n=d.y),(!u.isNumber(r)||r0){d=p[0];o+=s.moveTo(d);for(var g=0,m=p.length;g1?arguments[1]:void 0,n=r(e.length),s=void 0===i?n:Math.min(r(i),n),u=String(t);return a?a.call(e,u,s):e.slice(s-u.length,s)===u}})},Rnbi:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("Vs7R"),o=i("aCit"),a=i("hGwe"),s=function(t){function e(){var e=t.call(this)||this;return e.className="Triangle",e.element=e.paper.add("path"),e.direction="top",e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e,i=this.pixelWidth,n=this.pixelHeight;switch(this.direction){case"right":e=a.moveTo({x:0,y:0})+a.lineTo({x:i,y:n/2})+a.lineTo({x:0,y:n})+a.closePath();break;case"left":e=a.moveTo({x:i,y:0})+a.lineTo({x:0,y:n/2})+a.lineTo({x:i,y:n})+a.closePath();break;case"bottom":e=a.moveTo({x:0,y:0})+a.lineTo({x:i,y:0})+a.lineTo({x:i/2,y:n})+a.closePath();break;case"top":e=a.moveTo({x:i/2,y:0})+a.lineTo({x:i,y:n})+a.lineTo({x:0,y:n})+a.closePath()}this.path=e},Object.defineProperty(e.prototype,"direction",{get:function(){return this.getPropertyValue("direction")},set:function(t){this.setPropertyValue("direction",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);o.c.registeredClasses.Triangle=s},RpVB:function(t,e,i){"use strict";i("Mvcd")("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},Rpw0:function(t,e,i){"use strict";i.d(e,"a",function(){return l}),i.d(e,"b",function(){return h});var n=i("aCit"),r=i("C6dT"),o=i("/9XX"),a=i("hJ5i"),s=i("Qkdp"),u=i("pjXm"),l=function(){function t(){this._isPaused=!1,this.animations=[],this.uid=n.c.getUniqueId(),this.dummyCounter=0,this._frameRequested=!1,this.updateStepDuration=45,this.time=Date.now()}return t.prototype.reportTime=function(t,e){this.dummyCounter,e&&(this.time=Date.now())},t.prototype.update=function(){var t=this;if(!this._isPaused){this._frameRequested=!1;var e=Date.now();n.c.dispatchImmediately("enterframe");for(var i in n.c.invalidDatas)if(s.hasKey(n.c.invalidDatas,i)){for(var r=n.c.invalidDatas[i];r.length>0;){var u=(l=r[0]).dataProvider;if(l.isDisposed())a.remove(r,l);else if(u&&u.dataInvalid)try{if(u.validateData(),u.dataValidationProgress<1)break}catch(t){a.remove(r,u),u.raiseCriticalError(t)}else try{if(l.validateData(),l.dataValidationProgress<1)break}catch(t){a.remove(r,l),l.raiseCriticalError(t)}}if(Date.now()-e>this.updateStepDuration)break}for(;n.c.invalidRawDatas.length>0;){if((l=n.c.invalidRawDatas[0]).isDisposed())a.remove(n.c.invalidRawDatas,l);else try{l.validateRawData()}catch(t){a.remove(n.c.invalidRawDatas,l),l.raiseCriticalError(t)}}for(;n.c.invalidDataItems.length>0;){u=(l=n.c.invalidDataItems[0]).dataProvider;if(l.isDisposed()||l.dataInvalid||u&&u.dataInvalid);else try{l.validateDataItems()}catch(t){a.remove(n.c.invalidDataItems,l),l.raiseCriticalError(t)}a.remove(n.c.invalidDataItems,l)}for(;n.c.invalidDataRange.length>0;){var l;u=(l=n.c.invalidDataRange[0]).dataProvider;if(l.isDisposed()||l.dataInvalid||u&&u.dataInvalid);else try{l.validateDataRange(),l.skipRangeEvent||l.dispatchImmediately("datarangechanged"),l.skipRangeEvent=!1}catch(t){a.remove(n.c.invalidDataRange,l),l.raiseCriticalError(t)}a.remove(n.c.invalidDataRange,l)}var h=[];s.each(n.c.invalidLayouts,function(e){t.validateLayouts(e)}),s.each(n.c.invalidPositions,function(e){t.validatePositions(e)});var c=!1;if(e=Date.now(),s.each(n.c.invalidSprites,function(i,r){for(var o=0;r.length>0;){if(t.validateLayouts(i),t.validatePositions(i),5==++o){if(Date.now()-e>t.updateStepDuration)break;o=0}var s=r[r.length-1];if(s&&!s.isDisposed()){if(s._systemCheckIfValidate())if(t.checkIfValidate2(s))try{s._systemUpdate(h)}catch(t){s.invalid=!1,a.remove(r,s),s.raiseCriticalError(t)}else h.push(s);else h.push(s);s.invalid=!1}a.remove(r,s)}n.c.invalidSprites[i]=n.c.invalidSprites[i].concat(h)}),s.each(n.c.invalidSprites,function(t,e){e.length>0&&(c=!0)}),s.each(n.c.invalidDatas,function(t,e){e.length>0&&(c=!0)}),a.each(a.copy(this.animations),function(t){t.update()}),s.each(n.c.invalidLayouts,function(e){t.validateLayouts(e)}),s.each(n.c.invalidPositions,function(e){t.validatePositions(e)}),Object(o.d)(),s.each(n.c.invalidLayouts,function(e){t.validateLayouts(e)}),s.each(n.c.invalidPositions,function(e){t.validatePositions(e)}),n.c.dispatchImmediately("exitframe"),(c||this.animations.length>0||[].length>0)&&this.requestFrame(),this.updateStepDuration<200){var p=!0;s.each(n.c.invalidDatas,function(t,e){e.length>0&&(p=!1)}),s.each(n.c.invalidSprites,function(t,e){e.length>0&&(p=!1)}),p&&(this.updateStepDuration=200)}}},t.prototype.checkIfValidate2=function(t){return!(t.dataItem&&t.dataItem.component&&t.dataItem.component.dataInvalid&&!t.dataItem.component.isTemplate)},t.prototype.requestFrame=function(){var t=this;this._frameRequested||(Object(o.b)(function(){t.update()}),this._frameRequested=!0)},t.prototype.softInvalidate=function(t){var e=this;t.children.each(function(t){t instanceof r.a&&e.softInvalidate(t),t.measureFailed&&(Object(n.b)(t,"Label")?t.hardInvalidate():t.invalidate(),t.measureFailed=!1)})},t.prototype.validatePositions=function(t){for(var e=n.c.invalidPositions[t];e.length>0;){var i=e[e.length-1];if(i.isDisposed())a.remove(e,i);else try{i._systemValidatePositions()}catch(t){i.positionInvalid=!1,a.remove(e,i),i.raiseCriticalError(t)}}},t.prototype.validateLayouts=function(t){for(var e=n.c.invalidLayouts[t];e.length>0;){var i=e[e.length-1];if(i.isDisposed())a.remove(e,i);else try{i.children.each(function(t){t._systemValidateLayouts()}),i.validateLayout()}catch(t){i.layoutInvalid=!1,a.remove(e,i),i.raiseCriticalError(t)}}},t.prototype.log=function(t){u.a(t)},Object.defineProperty(t.prototype,"isPaused",{get:function(){return this._isPaused},set:function(t){this._isPaused=t,t||(this._frameRequested=!1,this.requestFrame())},enumerable:!0,configurable:!0}),t.VERSION="4.7.18",t}(),h=new l},RzG0:function(t,e,i){var n=i("T9LF"),r=i("0v9/").set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,u="process"==i("DVYA")(a);t.exports=function(){var t,e,i,l=function(){var n,r;for(u&&(n=a.domain)&&n.exit();t;){r=t.fn,t=t.next;try{r()}catch(n){throw t?i():e=void 0,n}}e=void 0,n&&n.enter()};if(u)i=function(){a.nextTick(l)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var h=s.resolve(void 0);i=function(){h.then(l)}}else i=function(){r.call(n,l)};else{var c=!0,p=document.createTextNode("");new o(l).observe(p,{characterData:!0}),i=function(){p.data=c=!c}}return function(n){var r={fn:n,next:void 0};e&&(e.next=r),t||(t=r,i()),e=r}}},S9D9:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{log1p:i("AzI1")})},ScGY:function(t,e,i){"use strict";i.d(e,"f",function(){return n}),i.d(e,"g",function(){return r}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a}),i.d(e,"b",function(){return s}),i.d(e,"d",function(){return u}),i.d(e,"e",function(){return l});var n="px",r="string",o="number",a="date",s="duration",u="__§§§__",l="__§§§§__"},T3RA:function(t,e,i){"use strict";var n=i("T9LF"),r=i("U3hN"),o=i("DVYA"),a=i("6/bx"),s=i("W0fk"),u=i("AEc5"),l=i("rkh7").f,h=i("nHHr").f,c=i("hjwn").f,p=i("nAZS").trim,d=n.Number,f=d,g=d.prototype,m="Number"==o(i("5+SK")(g)),y="trim"in String.prototype,v=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var i,n,r,o=(e=y?e.trim():p(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(i=e.charCodeAt(2))||120===i)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+e}for(var a,u=e.slice(2),l=0,h=u.length;lr)return NaN;return parseInt(u,n)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof d&&(m?u(function(){g.valueOf.call(i)}):"Number"!=o(i))?a(new f(v(e)),i,d):v(e)};for(var b,x=i("gD3S")?l(f):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;x.length>_;_++)r(f,b=x[_])&&!r(d,b)&&c(d,b,h(f,b));d.prototype=g,g.constructor=d,i("wDk4")(n,"Number",d)}},T3m9:function(t,e,i){"use strict";var n,r,o,a,s=i("pb4Y"),u=i("T9LF"),l=i("20m4"),h=i("MfZA"),c=i("Gb1H"),p=i("DvJ+"),d=i("DbOM"),f=i("ypVE"),g=i("hpnp"),m=i("QXbb"),y=i("0v9/").set,v=i("RzG0")(),b=i("6w17"),x=i("wYgt"),_=i("vSjZ"),P=i("JqbS"),w=u.TypeError,O=u.process,S=O&&O.versions,T=S&&S.v8||"",C=u.Promise,k="process"==h(O),I=function(){},D=r=b.f,V=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[i("YEtG")("species")]=function(t){t(I,I)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(I)instanceof e&&0!==T.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(t){}}(),M=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},j=function(t,e){if(!t._n){t._n=!0;var i=t._c;v(function(){for(var n=t._v,r=1==t._s,o=0,a=function(e){var i,o,a,s=r?e.ok:e.fail,u=e.resolve,l=e.reject,h=e.domain;try{s?(r||(2==t._h&&E(t),t._h=1),!0===s?i=n:(h&&h.enter(),i=s(n),h&&(h.exit(),a=!0)),i===e.promise?l(w("Promise-chain cycle")):(o=M(i))?o.call(i,u,l):u(i)):l(n)}catch(t){h&&!a&&h.exit(),l(t)}};i.length>o;)a(i[o++]);t._c=[],t._n=!1,e&&!t._h&&A(t)})}},A=function(t){y.call(u,function(){var e,i,n,r=t._v,o=F(t);if(o&&(e=x(function(){k?O.emit("unhandledRejection",r,t):(i=u.onunhandledrejection)?i({promise:t,reason:r}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",r)}),t._h=k||F(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},E=function(t){y.call(u,function(){var e;k?O.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},R=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),j(e,!0))},L=function t(e){var i,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw w("Promise can't be resolved itself");(i=M(e))?v(function(){var r={_w:n,_d:!1};try{i.call(e,l(t,r,1),l(R,r,1))}catch(t){R.call(r,t)}}):(n._v=e,n._s=1,j(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};V||(C=function(t){f(this,C,"Promise","_h"),d(t),n.call(this);try{t(l(L,this,1),l(R,this,1))}catch(t){R.call(this,t)}},(n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=i("cA+3")(C.prototype,{then:function(t,e){var i=D(m(this,C));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=k?O.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&j(this,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n;this.promise=t,this.resolve=l(L,t,1),this.reject=l(R,t,1)},b.f=D=function(t){return t===C||t===a?new o(t):r(t)}),c(c.G+c.W+c.F*!V,{Promise:C}),i("bPwn")(C,"Promise"),i("vdWU")("Promise"),a=i("G5U1").Promise,c(c.S+c.F*!V,"Promise",{reject:function(t){var e=D(this);return(0,e.reject)(t),e.promise}}),c(c.S+c.F*(s||!V),"Promise",{resolve:function(t){return P(s&&this===a?C:this,t)}}),c(c.S+c.F*!(V&&i("ID9o")(function(t){C.all(t).catch(I)})),"Promise",{all:function(t){var e=this,i=D(e),n=i.resolve,r=i.reject,o=x(function(){var i=[],o=0,a=1;g(t,!1,function(t){var s=o++,u=!1;i.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,i[s]=t,--a||n(i))},r)}),--a||n(i)});return o.e&&r(o.v),i.promise},race:function(t){var e=this,i=D(e),n=i.reject,r=x(function(){g(t,!1,function(t){e.resolve(t).then(i.resolve,n)})});return r.e&&n(r.v),i.promise}})},"T9+M":function(t,e,i){i("6+x4")("Set")},T9LF:function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},"TDx+":function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("p9TX"),o=i("aCit"),a=function(t){function e(){var e=t.call(this)||this;return e.className="AxisLabel",e.isMeasured=!1,e.padding(10,10,10,10),e.location=.5,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(r.a);o.c.registeredClasses.AxisLabel=a},TGuK:function(t,e,i){"use strict";i.d(e,"a",function(){return c}),i.d(e,"c",function(){return p}),i.d(e,"b",function(){return d});var n=i("m4/l"),r=i("Tjl+"),o=i("vMqJ"),a=i("x79X"),s=i("aCit"),u=i("Wglt"),l=i("hJ5i"),h=i("Mtpk"),c=function(t){function e(){var e=t.call(this)||this;return e._rules=new o.b,e._appliedRules={},e._appliedTargets=[],e._useDefault=!0,e.adapter=new a.a(e),e._enabled=!1,e._noStates=[],e.className="Responsive",e.rules.events.on("inserted",e.checkRules,!0),e.rules.events.on("removed",e.checkRules,!0),e._disposers.push(e.rules.events),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"component",{get:function(){return this._component},set:function(t){t!=this._component&&(this._sizeEventDisposer&&this.removeDispose(this._sizeEventDisposer),this._component=t,this._sizeEventDisposer=h.getValue(this.component).events.on("sizechanged",this.checkRules,this),this._disposers.push(this._sizeEventDisposer),this.enabled=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.adapter.apply("enabled",this._enabled)},set:function(t){this._enabled!=t&&(this._enabled=t,this.applyRules())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useDefault",{get:function(){return this.adapter.apply("useDefault",this._useDefault)},set:function(t){this._useDefault!=t&&(this._useDefault=t,this.applyRules())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rules",{get:function(){return this.adapter.apply("rules",this._rules)},set:function(t){this._rules=t,this._enabled=!0,this.applyRules()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultRules",{get:function(){return this.adapter.apply("defaultRules",p)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allRules",{get:function(){var t=new o.b;return this.useDefault&&t.copyFrom(this.defaultRules),t.copyFrom(this.rules),this.adapter.apply("allRules",t)},enumerable:!0,configurable:!0}),e.prototype.isApplied=function(t){var e=this._appliedRules[t];return!!h.hasValue(e)&&e},e.prototype.checkRules=function(){var t=this,e=this.allRules;if(e&&0!=e.length){var i=!1,n=h.getValue(this.component);if(u.each(e.iterator(),function(e){e.id||(e.id=s.c.getUniqueId());var r=e.relevant(n);(r&&!t.isApplied(e.id)||!r&&t.isApplied(e.id))&&(i=!0),t._appliedRules[e.id]=r}),i){if(!this.component.isReady())return n.hidden=!0,void n.events.once("ready",function(e){e.target.show(0),t.applyRules()});this.dispatchImmediately("ruleschanged"),this.applyRules()}}},e.prototype.applyRules=function(t){var e=this,i=h.hasValue(t)?t:h.getValue(this.component),n=!1;this.enabled&&u.each(this.allRules.iterator(),function(t){var r=e.getState(t,i);r&&(n||(-1!==l.indexOf(e._appliedTargets,i.uid)&&i.applyCurrentState(0),n=!0),l.remove(e._appliedTargets,i.uid),e.isApplied(h.getValue(t.id))&&(r.transitionDuration=0,i.setState(r),e.dispatchImmediately("ruleapplied",{rule:t}),l.replace(e._appliedTargets,i.uid)))}),i.children&&u.each(i.children.iterator(),function(t){e.applyRules(t)})},e.prototype.getState=function(t,e){var i="responsive-"+t.id,n=e.uid+"_"+i;if(-1===l.indexOf(this._noStates,n)){if(e.states.hasKey(i))return e.states.getKey(i);var r=t.state(e,i);return r||this._noStates.push(n),r}},e.prototype.getValue=function(t,e){var i=t.getPropertyValue(e);return!h.hasValue(i)&&h.hasValue(t[e])&&(i=t[e]),i},e}(r.b),p=new o.b;p.events.on("inserted",function(t){t.newValue.id=s.c.getUniqueId()});var d=function(){function t(){}return t.widthXXS=function(e){return e.pixelWidth<=t.XXS},t.widthXS=function(e){return e.pixelWidth<=t.XS},t.widthS=function(e){return e.pixelWidth<=t.S},t.widthM=function(e){return e.pixelWidth<=t.M},t.widthL=function(e){return e.pixelWidth<=t.L},t.widthXL=function(e){return e.pixelWidth<=t.XL},t.widthXXL=function(e){return e.pixelWidth<=t.XXL},t.heightXXS=function(e){return e.pixelHeight<=t.XXS},t.heightXS=function(e){return e.pixelHeight<=t.XS},t.heightS=function(e){return e.pixelHeight<=t.S},t.heightM=function(e){return e.pixelHeight<=t.M},t.heightL=function(e){return e.pixelHeight<=t.L},t.heightXL=function(e){return e.pixelHeight<=t.XL},t.heightXXL=function(e){return e.pixelHeight<=t.XXL},t.isXXS=function(e){return e.pixelWidth<=t.XXS&&e.pixelHeight<=t.XXS},t.isXS=function(e){return e.pixelWidth<=t.XS&&e.pixelHeight<=t.XS},t.isS=function(e){return e.pixelWidth<=t.S&&e.pixelHeight<=t.S},t.isM=function(e){return e.pixelWidth<=t.M&&e.pixelHeight<=t.M},t.isL=function(e){return e.pixelWidth<=t.L&&e.pixelHeight<=t.L},t.isXL=function(e){return e.pixelWidth<=t.XL&&e.pixelHeight<=t.XL},t.isXXL=function(e){return e.pixelWidth<=t.XXL&&e.pixelHeight<=t.XXL},t.maybeXXS=function(e){return e.pixelWidth<=t.XXS||e.pixelHeight<=t.XXS},t.maybeXS=function(e){return e.pixelWidth<=t.XS||e.pixelHeight<=t.XS},t.maybeS=function(e){return e.pixelWidth<=t.S||e.pixelHeight<=t.S},t.maybeM=function(e){return e.pixelWidth<=t.M||e.pixelHeight<=t.M},t.maybeL=function(e){return e.pixelWidth<=t.L||e.pixelHeight<=t.L},t.maybeXL=function(e){return e.pixelWidth<=t.XL||e.pixelHeight<=t.XL},t.maybeXXL=function(e){return e.pixelWidth<=t.XXL||e.pixelHeight<=t.XXL},t.XXS=100,t.XS=200,t.S=300,t.M=400,t.L=600,t.XL=800,t.XXL=1e3,t}()},TXRX:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("C6dT"),o=i("aCit"),a=i("TGuK"),s=function(t){function e(){var e=t.call(this)||this;return e.className="Bullet",e.isMeasured=!1,e.tooltipX=0,e.tooltipY=0,e.layout="none",e.applyOnClones=!0,e.copyToLegendMarker=!0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"locationX",{get:function(){return this.getPropertyValue("locationX")},set:function(t){if(this.setPropertyValue("locationX",t)){var e=this.dataItem;e&&e.component&&e.component.invalidate()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationY",{get:function(){return this.getPropertyValue("locationY")},set:function(t){if(this.setPropertyValue("locationY",t)){var e=this.dataItem;e&&e.component&&e.component.invalidate()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xField",{get:function(){return this.getPropertyValue("xField")},set:function(t){this.setPropertyValue("xField",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yField",{get:function(){return this.getPropertyValue("yField")},set:function(t){this.setPropertyValue("yField",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDynamic",{get:function(){return this.getPropertyValue("isDynamic")},set:function(t){this.setPropertyValue("isDynamic",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"copyToLegendMarker",{get:function(){return this.getPropertyValue("copyToLegendMarker")},set:function(t){this.setPropertyValue("copyToLegendMarker",t)},enumerable:!0,configurable:!0}),e}(r.a);o.c.registeredClasses.Bullet=s,a.c.push({relevant:a.b.isXS,state:function(t,e){if(t instanceof s){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},"Tjl+":function(t,e,i){"use strict";i.d(e,"a",function(){return y}),i.d(e,"b",function(){return v});var n=i("m4/l"),r=i("vMqJ"),o=i("VGgz"),a=i("+qIf"),s=i("hD5A"),u=i("o0Lc"),l=i("x79X"),h=i("8ZqG"),c=i("tjMS"),p=i("aCit"),d=i("eCqC"),f=i("hJ5i"),g=i("Qkdp"),m=i("Mtpk"),y=function(){function t(){this._disposed=!1,this._disposers=[],this.className="BaseObject"}return t.prototype.debug=function(){},Object.defineProperty(t.prototype,"uid",{get:function(){return this._uid||(this._uid=p.c.getUniqueId(),p.c.map.setKey(this._uid,this)),this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"map",{get:function(){return this._map||(this._map=new a.a),this._map},enumerable:!0,configurable:!0}),t.prototype.applyTheme=function(){var t=this;if(p.c){var e=this.getCurrentThemes();e&&f.each(e,function(e,i){e(t)})}},Object.defineProperty(t.prototype,"themes",{get:function(){return this._themes},set:function(t){this._themes=t},enumerable:!0,configurable:!0}),t.prototype.getCurrentThemes=function(){return this.themes||p.c.themes},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._disposers;for(this._disposers=null;0!==t.length;){t.shift().dispose()}this.clearCache(),this.clonedFrom&&this.clonedFrom.clones.removeValue(this);var e=this._uid;null!=e&&p.c.map.removeKey(e)}},t.prototype.addDisposer=function(t){this._disposers.push(t)},t.prototype.removeDispose=function(t){if(!this._disposed){var e=f.indexOf(this._disposers,t);e>-1&&this._disposers.splice(e,1)}t.dispose()},t.prototype.clone=function(t){t||(t="clone-"+p.c.getUniqueId());var e=new this.constructor;return e.cloneId=t,e.copyFrom(this),e},Object.defineProperty(t.prototype,"clones",{get:function(){return this._clones||(this._clones=new r.b),this._clones},enumerable:!0,configurable:!0}),t.prototype.copyFrom=function(t){t.clones.push(this),this.clonedFrom=t},Object.defineProperty(t.prototype,"className",{get:function(){return this._className},set:function(t){this._className=t},enumerable:!0,configurable:!0}),t.prototype.setCache=function(t,e,i){d.b.set(this.uid,t,e,i)},t.prototype.getCache=function(t,e){return void 0===e&&(e=void 0),d.b.get(this.uid,t,e)},t.prototype.clearCache=function(){d.b.clear(this.uid)},t.prototype.setTimeout=function(t,e){var i=this,n=setTimeout(function(){i.removeDispose(r),t()},e),r=new s.b(function(){clearTimeout(n)});return this._disposers.push(r),r},t.prototype.setInterval=function(t,e){var i=this,n=setInterval(function(){i.removeDispose(r),t()},e),r=new s.b(function(){clearTimeout(n)});return this._disposers.push(r),r},Object.defineProperty(t.prototype,"config",{set:function(t){try{this.processConfig(t)}catch(t){this.raiseCriticalError(t)}},enumerable:!0,configurable:!0}),t.prototype.processConfig=function(e){var i=this;if(e){var n=this;if(g.eachOrdered(e,function(e,s){var d,f=s;if("callback"==e&&"function"==typeof s&&s.call(n),i.hasProperty(e))if(!m.isObject(f)||!m.hasValue(f.type)||m.isObject(n[e])&&m.hasValue(n[e].className)&&!f.forceCreate&&n[e].className==f.type||i.asIs(e)?d=n[e]:(d=i.createClassInstance(f.type))?n[e]=d:d=n[e],d instanceof l.a)i.processAdapters(d,f);else if(d instanceof u.a)i.processEvents(d,f);else if("locale"==e&&m.isString(f))document["am4lang_"+f]&&(n[e]=document["am4lang_"+f]);else if("parent"==e&&m.isString(f)){var y=i.map.getKey(f);if(!y)throw Error('Non-existing ID in config: "'+f+'".');n[e]=y}else if(i.asIs(e))n[e]=f;else if(i.asFunction(e)&&m.isString(f)){if(!m.hasValue(p.c.registeredClasses[f]))throw Error("Invalid easing function: "+f);n[e]=p.c.registeredClasses[f]}else if(f instanceof t)n[e]=f;else if(d instanceof t)d.config=f;else if(d instanceof r.e||d instanceof o.b||d instanceof o.d){if(m.isArray(f))d instanceof r.e?i.processListTemplate(f,d):i.processOrderedTemplate(f,d);else if(m.isObject(f))if(f instanceof t)d.template=f;else{var v=void 0;v=m.hasValue(f.template)?f.template:f,d.template instanceof t?d.template.config=v:g.each(v,function(e,n){var o=d.template[e];o instanceof l.a?i.processAdapters(o,n):o instanceof u.a?i.processEvents(o,n):o instanceof a.c?i.processDictionaryTemplate(o,n):d.template[e]instanceof t?d.template[e].config=n:m.isObject(n)&&m.hasValue(n.type)?(o=i.createClassInstance(n.type))?(o instanceof t&&(o.config=n),d.template[e]=o):d.template[e]=n:o instanceof r.b?i.processList(n,o):d.template[e]=i.maybeColorOrPercent(n)}),m.hasValue(f.values)&&(d instanceof r.e?i.processListTemplate(f.values,d):i.processOrderedTemplate(f.values,d))}}else d instanceof r.b?"children"==e?i.processList(f,d,i):i.processList(f,d):d instanceof a.c?i.processDictionaryTemplate(d,f):d instanceof a.a?i.processDictionary(d,f):d instanceof h.a||d instanceof c.a?n[e]=i.maybeColorOrPercent(f):m.isObject(d)&&m.isObject(f)?g.copyAllProperties(f,d):(f=i.maybeColorOrPercent(f),n[e]=f);else i.isReserved(e)||(n[e]=f)},this.configOrder),this.processingErrors.length){var s=this.processingErrors.join("\n");throw this._processingErrors=[],Error(s)}}},t.prototype.maybeColorOrPercent=function(t){if(m.isString(t)){if(t.match(/^[\-]?[0-9.]+\%$/))return Object(c.c)(m.toNumber(t));if(t.match(/^\#[0-9abcdef]{3,}$/i))return Object(h.c)(t)}return t},t.prototype.processAdapters=function(t,e){var i=this;m.isArray(e)?f.each(e,function(e,n){t.add(e.key,e.callback,e.priority||0,i)}):m.isObject(e)&&g.each(e,function(e,i){t.has(e,i)||t.add(e,i)})},t.prototype.processEvents=function(t,e){var i=this;m.isObject(e)?g.each(e,function(e,i){t.has(e,i)||t.on(e,i)}):m.isArray(e)&&f.each(e,function(e,n){t.on(e.type,e.callback,i)})},t.prototype.processDictionaryTemplate=function(e,i){m.isObject(i)&&g.each(i,function(i,n){var r;(r="template"==i?e.template:e.hasKey(i)?e.getKey(i):e.create(i))instanceof t?r.config=n:m.isObject(r)&&m.isObject(n)?g.copyAllProperties(n,r):r.setKey(i,n)})},t.prototype.processDictionary=function(t,e){m.isObject(e)&&g.each(e,function(e,i){t.setKey(e,i)})},t.prototype.processListTemplate=function(e,i){var n=this;for(f.each(e,function(e,r){var o,a=n.getConfigEntryType(e);if(i.hasIndex(r)&&!e.forceCreate)o=i.getIndex(r);else{if(e instanceof t)return void i.push(e);o=a?i.create(a):i.create()}e===o||m.isObject(e)&&(o instanceof t?o.config=e:m.isObject(o)&&m.isObject(e)?g.copyAllProperties(e,o):i.setIndex(i.indexOf(o),e))});e.length>i.length;)i.pop()},t.prototype.processOrderedTemplate=function(e,i){var n=this;f.each(e,function(e,r){var o,a=n.getConfigEntryType(e);o=a?i.create(a):i.create(),m.isObject(e)&&(o instanceof t?o.config=e:m.isObject(o)&&m.isObject(e)?g.copyAllProperties(e,o):i.insert(e))})},t.prototype.processList=function(e,i,n){var r=this;m.isArray(e)||(e=[e]);var o=i.length;for(f.each(e,function(e,a){if(m.isObject(e)){var s=void 0;if(ai.length;)i.pop()},t.prototype.configOrder=function(t,e){return t==e?0:"language"==t?-1:"language"==e?1:0},t.prototype.asIs=function(t){return-1!=f.indexOf(["locale"],t)},t.prototype.asFunction=function(t){return!1},t.prototype.createClassInstance=function(t){if(m.hasValue(p.c.registeredClasses[t]))return new p.c.registeredClasses[t];throw Error('Invalid type: "'+t+'".')},t.prototype.createEntryInstance=function(t){var e;return m.hasValue(t.type)&&(e=this.createClassInstance(t.type)),e||t},t.prototype.getConfigEntryType=function(t){if(m.hasValue(t.type)){if(m.hasValue(p.c.registeredClasses[t.type]))return p.c.registeredClasses[t.type];throw Error('Invalid type: "'+t.type+'".')}},t.prototype.hasProperty=function(t){return t in this},t.prototype.isReserved=function(t){return-1!==["type","forceCreate"].indexOf(t)},Object.defineProperty(t.prototype,"processingErrors",{get:function(){return this._processingErrors||(this._processingErrors=[]),this._processingErrors},enumerable:!0,configurable:!0}),t}(),v=function(t){function e(){var e=t.call(this)||this;return e.className="BaseObjectEvents",e}return n.c(e,t),Object.defineProperty(e.prototype,"events",{get:function(){return this._eventDispatcher||(this._eventDispatcher=new u.a,this._disposers.push(this._eventDispatcher)),this._eventDispatcher},enumerable:!0,configurable:!0}),e.prototype.dispatch=function(t,e){this._eventDispatcher&&this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatch(t,{type:t,target:this})):this.events.dispatch(t,{type:t,target:this}))},e.prototype.dispatchImmediately=function(t,e){this._eventDispatcher&&this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatchImmediately(t,e)):this.events.dispatchImmediately(t,{type:t,target:this}))},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e._eventDispatcher&&this.events.copyFrom(e._eventDispatcher)},e}(y)},Trvg:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("p9TX"),o=i("qCRI"),a=i("MIZb"),s=i("aCit"),u=function(t){function e(){var e=t.call(this)||this;e.className="TextLink",e.selectable=!0;var i=new a.a;return e.fill=i.getFor("primaryButton").brighten(.3),e.states.create("hover").properties.fill=i.getFor("primaryButtonHover").brighten(.3),e.states.create("down").properties.fill=i.getFor("primaryButtonDown").brighten(.3),e.cursorOverStyle=o.a.pointer,e.applyTheme(),e}return n.c(e,t),e}(r.a);s.c.registeredClasses.TextLink=u},U1Gp:function(t,e,i){"use strict";var n=i("20m4"),r=i("Gb1H"),o=i("vJiZ"),a=i("sNEp"),s=i("a8UT"),u=i("FmWr"),l=i("e8Nv"),h=i("iOZG");r(r.S+r.F*!i("ID9o")(function(t){Array.from(t)}),"Array",{from:function(t){var e,i,r,c,p=o(t),d="function"==typeof this?this:Array,f=arguments.length,g=f>1?arguments[1]:void 0,m=void 0!==g,y=0,v=h(p);if(m&&(g=n(g,f>2?arguments[2]:void 0,2)),void 0==v||d==Array&&s(v))for(i=new d(e=u(p.length));e>y;y++)l(i,y,m?g(p[y],y):p[y]);else for(c=v.call(p),i=new d;!(r=c.next()).done;y++)l(i,y,m?a(c,g,[r.value,y],!0):r.value);return i.length=y,i}})},U3hN:function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},UPxv:function(t,e,i){var n=i("Gb1H");n(n.S,"System",{global:i("T9LF")})},UXfn:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("FmWr"),o=i("zAAN"),a="".startsWith;n(n.P+n.F*i("IYrR")("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),i=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return a?a.call(e,n,i):e.slice(i,i+n.length)===n}})},Uf57:function(t,e,i){"use strict";i.d(e,"b",function(){return _}),i.d(e,"a",function(){return P});var n=i("m4/l"),r=i("aM7D"),o=i("Vs7R"),a=i("pR7v"),s=i("+qIf"),u=i("hD5A"),l=i("0Mwj"),h=i("VB2N"),c=i("KknQ"),p=i("aCit"),d=i("Wglt"),f=i("Gg2j"),g=i("v9UT"),m=i("Mtpk"),y=i("L91H"),v=i("hJ5i"),b=i("Qkdp"),x=i("hGwe"),_=function(t){function e(){var e=t.call(this)||this;return e.className="XYSeriesDataItem",e.values.customValue={},e.values.valueX={stack:0},e.values.valueY={stack:0},e.values.openValueX={},e.values.openValueY={},e.values.dateX={},e.values.dateY={},e.values.openDateX={},e.values.openDateY={},e.setLocation("dateX",.5,0),e.setLocation("dateY",.5,0),e.setLocation("categoryX",.5,0),e.setLocation("categoryY",.5,0),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"valueX",{get:function(){return this.values.valueX.value},set:function(t){this.setValue("valueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"customValue",{get:function(){return this.values.customValue.value},set:function(t){this.setValue("customValue",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueY",{get:function(){return this.values.valueY.value},set:function(t){this.setValue("valueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateX",{get:function(){return this.getDate("dateX")},set:function(t){this.setDate("dateX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateY",{get:function(){return this.getDate("dateY")},set:function(t){this.setDate("dateY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categoryX",{get:function(){return this.categories.categoryX},set:function(t){this.setCategory("categoryX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"categoryY",{get:function(){return this.categories.categoryY},set:function(t){this.setCategory("categoryY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openValueX",{get:function(){return this.values.openValueX.value},set:function(t){this.setValue("openValueX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openValueY",{get:function(){return this.values.openValueY.value},set:function(t){this.setValue("openValueY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openDateX",{get:function(){return this.getDate("openDateX")},set:function(t){this.setDate("openDateX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openDateY",{get:function(){return this.getDate("openDateY")},set:function(t){this.setDate("openDateY",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openCategoryX",{get:function(){return this.categories.openCategoryX},set:function(t){this.setCategory("openCategoryX",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openCategoryY",{get:function(){return this.categories.openCategoryY},set:function(t){this.setCategory("openCategoryY",t)},enumerable:!0,configurable:!0}),e.prototype.getMin=function(t,e,i){var n,r=this;return m.isNumber(i)||(i=0),v.each(t,function(t){var o;o=e?r.getWorkingValue(t):r.getValue(t),((o+=i)n||!m.isNumber(n))&&(n=o)}),n},e}(r.b),P=function(t){function e(){var e=t.call(this)||this;return e.groupFields={},e._xAxis=new u.d,e._yAxis=new u.d,e._xValueFields=[],e._yValueFields=[],e._baseInterval={},e.dataGrouped=!1,e.usesShowFields=!1,e._dataSetChanged=!1,e.className="XYSeries",e.isMeasured=!1,e.groupFields.valueX="close",e.groupFields.valueY="close",e.groupFields.customValue="close",e.groupFields.openValueX="open",e.groupFields.openValueY="open",e.cursorTooltipEnabled=!0,e.cursorHoverEnabled=!0,e.excludeFromTotal=!1,e.mainContainer.mask=new o.a,e.mainContainer.mask.setElement(e.paper.add("path")),e.stacked=!1,e.snapTooltip=!1,e.tooltip.pointerOrientation="horizontal",e.hideTooltipWhileZooming=!0,e.maskBullets=!0,e.tooltip.events.on("hidden",function(){e.returnBulletDefaultState()},void 0,!1),e._disposers.push(e._xAxis),e._disposers.push(e._yAxis),e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("X/Y Series"))},e.prototype.createDataItem=function(){return new _},e.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)},e.prototype.validateData=function(){this._baseInterval={};var e=this.dataFields;if(e.valueYShow||e.openValueXShow||e.openValueXShow||e.openValueYShow?this.usesShowFields=!0:this.usesShowFields=!1,this.defineFields(),this.data.length>0&&this.dataChangeUpdate(),t.prototype.validateData.call(this),this.updateItemReaderText(),this.chart&&(!m.hasValue(this.dataFields[this._xField])||!m.hasValue(this.dataFields[this._yField])))throw Error('Data fields for series "'+(this.name?this.name:this.uid)+'" are not properly defined.');this.dataGrouped=!1},e.prototype.processDataItem=function(e,i){try{t.prototype.processDataItem.call(this,e,i),this.xAxis.processSeriesDataItem(e,"X"),this.yAxis.processSeriesDataItem(e,"Y"),this.setInitialWorkingValues(e)}catch(t){this._chart&&this._chart.raiseCriticalError(t)}},e.prototype.updateDataItem=function(e){t.prototype.updateDataItem.call(this,e),this.xAxis.processSeriesDataItem(e,"X"),this.yAxis.processSeriesDataItem(e,"Y")},e.prototype.setInitialWorkingValues=function(t){},e.prototype.disposeData=function(){t.prototype.disposeData.call(this);var e=this.xAxis,i=this.yAxis;if(e){var n=this.dataItemsByAxis.getKey(e.uid);n&&n.clear(),e instanceof h.a&&this.clearCatAxis(e)}if(i){var r=this.dataItemsByAxis.getKey(i.uid);r&&r.clear(),i instanceof h.a&&this.clearCatAxis(i)}},e.prototype.clearCatAxis=function(t){var e=this.uid;t.dataItems.each(function(t){t.seriesDataItems[e]&&(t.seriesDataItems[e]=[])})},e.prototype.defineFields=function(){var t=this.xAxis,e=this.yAxis;if(t&&e){var i=t.axisFieldName,n=i+"X",r="open"+g.capitalize(i)+"X",o=e.axisFieldName,a=o+"Y",s="open"+g.capitalize(o)+"Y";this._xField=n,this._yField=a,this.dataFields[r]&&(this._xOpenField=r),this.dataFields[s]&&(this._yOpenField=s),this.dataFields[s]||this.baseAxis!=e||(this._yOpenField=a),this.dataFields[r]||this.baseAxis!=t||(this._xOpenField=n),this.stacked&&this.baseAxis==t&&(this._xOpenField=n),this.stacked&&this.baseAxis==e&&(this._yOpenField=a),t instanceof h.a&&e instanceof h.a&&(this._yOpenField||(this._yOpenField=a)),this._xValueFields=[],this._yValueFields=[],this.addValueField(t,this._xValueFields,this._xField),this.addValueField(t,this._xValueFields,this._xOpenField),this.addValueField(e,this._yValueFields,this._yField),this.addValueField(e,this._yValueFields,this._yOpenField)}},e.prototype.addValueField=function(t,e,i){t instanceof a.a&&m.hasValue(this.dataFields[i])&&-1==e.indexOf(i)&&e.push(i)},e.prototype.setCategoryAxisField=function(t,e){m.hasValue(this.dataFields[t])||(this.dataFields[t]=e.dataFields.category)},e.prototype.setDateAxisField=function(t,e){m.hasValue(this.dataFields[t])||(this.dataFields[t]=e.dataFields.date)},e.prototype.afterDraw=function(){t.prototype.afterDraw.call(this),this.createMask()},e.prototype.createMask=function(){if(this.mainContainer.mask){var t=this.getMaskPath();d.each(this.axisRanges.iterator(),function(e){e.axisFill.fillPath&&(e.axisFill.validate(),t+=e.axisFill.fillPath)}),this.mainContainer.mask.path=t}},e.prototype.getMaskPath=function(){return this.xAxis&&this.yAxis?x.rectToPath({x:0,y:0,width:this.xAxis.axisLength,height:this.yAxis.axisLength}):""},e.prototype.getAxisField=function(t){return t==this.xAxis?this.xField:t==this.yAxis?this.yField:void 0},e.prototype.validateDataItems=function(){var e=this.xAxis,i=this.yAxis;e&&i&&(e.updateAxisBySeries(),i.updateAxisBySeries()),t.prototype.validateDataItems.call(this),e&&i&&(e.postProcessSeriesDataItems(),i.postProcessSeriesDataItems())},e.prototype.validateDataRange=function(){var e=this.xAxis,i=this.yAxis;e&&i&&(e.dataRangeInvalid&&e.validateDataRange(),i.dataRangeInvalid&&i.validateDataRange()),t.prototype.validateDataRange.call(this)},e.prototype.validate=function(){var e=this.xAxis,i=this.yAxis;if(e&&i){e.invalid&&e.validate(),i.invalid&&i.validate(),this.y=i.pixelY,this.x=e.pixelX,this._showBullets=!0;var n=this.minBulletDistance;m.isNumber(n)&&this.baseAxis.axisLength/(this.endIndex-this.startIndex)l&&(l=x)),this.baseAxis==n&&(bs&&(s=b)))}i.processSeriesDataItems(),n.processSeriesDataItems();var _=i.uid,P=n.uid;if(!(this.xAxis instanceof a.a&&(o==1/0||s==-1/0)||this.yAxis instanceof a.a&&(u==1/0||l==-1/0))){if(!e&&(this._tmin.getKey(_)!=o||this._tmax.getKey(_)!=s||this._tmin.getKey(P)!=u||this._tmax.getKey(P)!=l)){this._tmin.setKey(_,o),this._tmax.setKey(_,s),this._tmin.setKey(P,u),this._tmax.setKey(P,l);var w=this.stackedSeries;w&&(w.isDisposed()?this.stackedSeries=void 0:w.processValues(!1)),this.dispatchImmediately("extremeschanged")}if(h!=d||p!=g){o=1/0,s=-1/0,u=1/0,l=-1/0;for(y=d;yl&&(l=x)),this.baseAxis==n&&(bs&&(s=b)))}}if(!(this.xAxis instanceof a.a&&(o==1/0||s==-1/0)||this.yAxis instanceof a.a&&(u==1/0||l==-1/0))){if((this._smin.getKey(_)!=o||this._smax.getKey(_)!=s||this._smin.getKey(P)!=u||this._smax.getKey(P)!=l)&&(this._smin.setKey(_,o),this._smax.setKey(_,s),this._smin.setKey(P,u),this._smax.setKey(P,l),this.appeared||0!=this.start||1!=this.end||this.dataItems!=this.mainDataSet)){var O=!1;if(n instanceof a.a&&!(n instanceof c.a)){var S=this._tmin.getKey(P);(!m.isNumber(S)||(this.usesShowFields||this._dataSetChanged)&&uT||this.stackedSeries)&&(this._tmax.setKey(P,l),O=!0)}if(i instanceof a.a&&!(i instanceof c.a)){S=this._tmin.getKey(_);(!m.isNumber(S)||(this.usesShowFields||this._dataSetChanged)&&oT||this.stackedSeries)&&(this._tmax.setKey(_,s),O=!0)}O&&this.dispatchImmediately("extremeschanged"),0==this.start&&1==this.end&&(this._dataSetChanged=!1),this.dispatchImmediately("selectionextremeschanged")}!e&&this.stacked&&this.processValues(!0)}}}},e.prototype.hideTooltip=function(){t.prototype.hideTooltip.call(this),this.returnBulletDefaultState(),this._prevTooltipDataItem=void 0},e.prototype.showTooltipAtPosition=function(t,e){var i;if(this.visible&&!this.isHiding&&!this.isShowing){var n=this._xAxis.get(),r=this._yAxis.get();n==this.baseAxis&&(i=n.getSeriesDataItem(this,n.toAxisPosition(t),this.snapTooltip)),r==this.baseAxis&&(i=r.getSeriesDataItem(this,r.toAxisPosition(e),this.snapTooltip));var o=this.showTooltipAtDataItem(i);if(o)return o;if(!this.tooltipText)return}this.hideTooltip()},e.prototype.getAdjustedXLocation=function(t,e){return t.locations[e]},e.prototype.getAdjustedYLocation=function(t,e){return t.locations[e]},e.prototype.showTooltipAtDataItem=function(t){var e,i,r=this.chart.cursor;if(r&&r.hideSeriesTooltipsOnSelection&&r.selection.visible&&r.downPoint)this.hideTooltip();else if(this.returnBulletDefaultState(t),t&&t.visible){if(this.updateLegendValue(t),this.cursorTooltipEnabled){this.tooltipDataItem=t;var o=this.tooltipXField,a=this.tooltipYField;if(m.hasValue(t[o])&&m.hasValue(t[a])){var s=this.getPoint(t,o,a,this.getAdjustedXLocation(t,o),this.getAdjustedYLocation(t,a));if(s){if(this.tooltipX=s.x,this.tooltipY=s.y,this._prevTooltipDataItem!=t&&(this.dispatchImmediately("tooltipshownat",{type:"tooltipshownat",target:this,dataItem:t}),this._prevTooltipDataItem=t),this.cursorHoverEnabled)try{for(var u=n.g(t.sprites),l=u.next();!l.done;l=u.next()){var h=l.value;!h.parent.visible||h.isHidden||h.__disabled||h.disabled||h.isHiding||(h.isHover=!0)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(e)throw e.error}}return this.showTooltip()?g.spritePointToSvg({x:s.x,y:s.y},this):void 0}}}}else this.updateLegendValue(t,!0)},e.prototype.returnBulletDefaultState=function(t){if(this._prevTooltipDataItem&&this._prevTooltipDataItem!=t)try{for(var e=n.g(this._prevTooltipDataItem.sprites),i=e.next();!i.done;i=e.next()){var r=i.value;r.isDisposed()?this._prevTooltipDataItem=void 0:r.isHover=!1}}catch(t){o={error:t}}finally{try{i&&!i.done&&(a=e.return)&&a.call(e)}finally{if(o)throw o.error}}var o,a},e.prototype.shouldCreateBullet=function(t,e){var i=e.xField;m.hasValue(i)||(i=this.xField);var n=e.yField;if(m.hasValue(n)||(n=this.yField),this.xAxis instanceof a.a&&!t.hasValue([i])||this.yAxis instanceof a.a&&!t.hasValue([n]))return!1;if(e.disabled){var r=e.propertyFields.disabled,o=t.dataContext;return!(!o||!1!==o[r])}return!0},e.prototype.positionBullet=function(e){t.prototype.positionBullet.call(this,e);var i=e.dataItem,n=e.xField;m.hasValue(n)||(n=this.xField);var r=e.yField;m.hasValue(r)||(r=this.yField);var o=this.xAxis,s=this.yAxis;if(o instanceof a.a&&!i.hasValue([n])||s instanceof a.a&&!i.hasValue([r]))e.visible=!1;else{var u=this.getBulletLocationX(e,n),l=this.getBulletLocationY(e,r);if(this.getPoint(i,n,r,u,l)){var p=this.xOpenField,d=this.yOpenField,f=void 0,g=void 0;if(o instanceof c.a){m.isNumber(u)||(u=0);var v=void 0,b=i.getWorkingValue(n);if(p?v=i.getWorkingValue(p):o==this.baseAxis&&(v=o.baseValue),m.isNumber(v)||(v=b),(v+=T=i.getValue("valueX","stack"))==(b+=T)){var x=o.baseInterval,_=o.dateFormatter;v=y.round(new Date(v),x.timeUnit,x.count,_.firstDayOfWeek,_.utc).getTime(),b=y.add(new Date(v),x.timeUnit,x.count,_.utc).getTime()}var P=void 0;P=o==this.baseAxis?v+(b-v)*u:v+(b-v)*(1-u),f=o.valueToPosition(P)}else if(o instanceof a.a){m.isNumber(u)||(u=0);v=void 0,b=i.getWorkingValue(n);v=p?i.getWorkingValue(p):o.baseValue;P=(v+=T=i.getValue("valueX","stack"))+((b+=T)-v)*(1-u);f=o.valueToPosition(P)}else if(o instanceof h.a){var w=this.getAdjustedXLocation(i,n),O=this.getAdjustedXLocation(i,p);f=o.categoryToPosition(i[n],w);var S=void 0;p&&(S=o.categoryToPosition(i[p],O)),m.isNumber(S)||(S=1),f=S+(f-S)*u}if(s instanceof c.a){m.isNumber(l)||(l=0);v=void 0,b=i.getWorkingValue(r);if(d?v=i.getWorkingValue(d):s==this.baseAxis&&(v=s.baseValue),m.isNumber(v)||(v=b),(v+=T=i.getValue("valueY","stack"))==(b+=T)){x=s.baseInterval,_=s.dateFormatter;v=y.round(new Date(v),x.timeUnit,x.count,_.firstDayOfWeek,_.utc).getTime(),b=y.add(new Date(v),x.timeUnit,x.count,_.utc).getTime()}P=void 0;P=s==this.baseAxis?v+(b-v)*l:v+(b-v)*(1-l),g=s.valueToPosition(P)}else if(s instanceof a.a){m.isNumber(l)||(l=0);var T;v=void 0,b=i.getWorkingValue(r);v=d?i.getWorkingValue(d):s.baseValue;P=(v+=T=i.getValue("valueY","stack"))+((b+=T)-v)*(1-l);g=s.valueToPosition(P)}else if(s instanceof h.a){g=s.categoryToPosition(i[r],l);var C=this.getAdjustedYLocation(i,r),k=this.getAdjustedYLocation(i,d);g=s.categoryToPosition(i[r],C);var I=void 0;d&&(I=s.categoryToPosition(i[d],k)),m.isNumber(I)||(I=1),g=I+(g-I)*l}e.visible=!0,this.positionBulletReal(e,f,g)}else e.visible=!1}},e.prototype.positionBulletReal=function(t,e,i){t.x=this.xAxis.renderer.positionToPoint(e,i).x,t.y=this.yAxis.renderer.positionToPoint(i,e).y},e.prototype.getBulletLocationX=function(t,e){var i=t.locationX,n=t.dataItem;return m.isNumber(i)||(i=n.workingLocations[e]),i},e.prototype.getBulletLocationY=function(t,e){var i=t.locationY,n=t.dataItem;return m.isNumber(i)||(i=n.workingLocations[e]),i},Object.defineProperty(e.prototype,"stacked",{get:function(){return this.getPropertyValue("stacked")},set:function(t){this.setPropertyValue("stacked",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"snapTooltip",{get:function(){return this.getPropertyValue("snapTooltip")},set:function(t){this.setPropertyValue("snapTooltip",t)},enumerable:!0,configurable:!0}),e.prototype.show=function(e){var i,n=this;this.xAxis instanceof a.a&&this.xAxis!=this.baseAxis&&(i=this._xValueFields),this.yAxis instanceof a.a&&this.yAxis!=this.baseAxis&&(i=this._yValueFields);var r,o=this.startIndex,s=this.endIndex,u=0,l=this.defaultState.transitionDuration;m.isNumber(e)&&(l=e),d.each(d.indexed(this.dataItems.iterator()),function(t){var e=t[0],a=t[1];n.sequencedInterpolation&&l>0&&(u=n.sequencedInterpolationDelay*e+l*(e-o)/(s-o)),r=a.show(l,u,i)}),this.dataSets.each(function(t,e){e!=n.dataItems&&e.each(function(t){t.events.disable(),t.show(0,0,i),t.events.enable()})}),this.mainDataSet!=this.dataItems&&this.mainDataSet.each(function(t){t.events.disable(),t.show(0,0,i),t.events.enable()});var h=t.prototype.show.call(this,e);return r&&!r.isFinished()&&(h=r),this.hidden&&(this.dispatchImmediately("selectionextremeschanged"),this.hidden=!1),h},e.prototype.hide=function(e){var i,n,r=this,o=this.xAxis;o instanceof a.a&&o!=this.baseAxis&&(i=this._xValueFields,n=this.stacked||o.minZoomedo.baseValue||this.stackedSeries?o.baseValue:o.min);var s=this.yAxis;s instanceof a.a&&s!=this.baseAxis&&(i=this._yValueFields,n=this.stacked||s.minZoomeds.baseValue||this.stackedSeries?s.baseValue:s.min);var u=this.startIndex,l=this.endIndex,h=this.hiddenState.transitionDuration;m.isNumber(e)&&(h=e);var c,p=0;d.each(d.indexed(this.dataItems.iterator()),function(t){var e=t[0],o=t[1];0==h?o.hide(0,0,n,i):(r.sequencedInterpolation&&h>0&&(p=r.sequencedInterpolationDelay*e+h*(e-u)/(l-u)),c=o.hide(h,p,n,i))});var f=t.prototype.hide.call(this,h);return f&&!f.isFinished()&&f.delay(p),c&&!c.isFinished()&&(f=c),this.validateDataElements(),f},e.prototype.handleDataItemWorkingValueChange=function(e,i){t.prototype.handleDataItemWorkingValueChange.call(this,e,i);var n=this.baseAxis.series;d.each(n.iterator(),function(t){(t.stacked||t.stackedSeries)&&t.invalidateProcessedData()})},e.prototype.getStackValue=function(t,e){var i=this,n=this.xAxis,r=this.yAxis;if(this.stacked&&n&&r){var o,s=this.chart,u=s.series.indexOf(this);n!=this.baseAxis&&n instanceof a.a&&(o=this.xField),r!=this.baseAxis&&r instanceof a.a&&(o=this.yField),o&&(t.setCalculatedValue(o,0,"stack"),d.eachContinue(s.series.range(0,u).backwards().iterator(),function(a){if(a.xAxis==n&&a.yAxis==r){a.stackedSeries=i;var s=a.dataItems.getIndex(t.index);if(s&&s.hasValue(i._xValueFields)&&s.hasValue(i._yValueFields)){var u=t.getValue(o),l=void 0,h=s.getValue(o)+s.getValue(o,"stack");if(l=e?s.getWorkingValue(o)+s.getValue(o,"stack"):s.getValue(o)+s.getValue(o,"stack"),u>=0&&h>=0||u<0&&h<0)return t.setCalculatedValue(o,l,"stack"),!1}else if(!a.stacked)return!1}return!0}))}},Object.defineProperty(e.prototype,"xField",{get:function(){return this._xField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yField",{get:function(){return this._yField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xOpenField",{get:function(){return this._xOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yOpenField",{get:function(){return this._yOpenField},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipXField",{get:function(){return this._tooltipXField?this._tooltipXField:this._xField},set:function(t){this._tooltipXField=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipYField",{get:function(){return this._tooltipYField?this._tooltipYField:this._yField},set:function(t){this._tooltipYField=t},enumerable:!0,configurable:!0}),e.prototype.min=function(t){return this._tmin.getKey(t.uid)},e.prototype.max=function(t){return this._tmax.getKey(t.uid)},e.prototype.selectionMin=function(t){var e=this._smin.getKey(t.uid);return m.isNumber(e)||(e=this.min(t)),e},e.prototype.selectionMax=function(t){var e=this._smax.getKey(t.uid);return m.isNumber(e)||(e=this.max(t)),e},e.prototype.processConfig=function(e){if(e){if(m.hasValue(e.baseAxis)&&m.isString(e.baseAxis)&&(this.map.hasKey(e.baseAxis)?e.baseAxis=this.map.getKey(e.baseAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.baseAxis+'" found for `baseAxis`.'),delete e.baseAxis)),m.hasValue(e.xAxis)&&m.isString(e.xAxis)&&(this.map.hasKey(e.xAxis)?e.xAxis=this.map.getKey(e.xAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.xAxis+'" found for `xAxis`.'),delete e.xAxis)),m.hasValue(e.yAxis)&&m.isString(e.yAxis)&&(this.map.hasKey(e.yAxis)?e.yAxis=this.map.getKey(e.yAxis):(this.processingErrors.push("[XYSeries ("+(this.name||"unnamed")+')] No axis with id "'+e.yAxis+'" found for `yAxis`.'),delete e.yAxis)),m.hasValue(e.axisRanges)&&m.isArray(e.axisRanges))for(var i=0,n=e.axisRanges.length;i=i.dataItems.length&&r--;for(var o=t.uid,a=void 0,s=void 0,u=n;u<=r;u++){var l=i.dataItems.getIndex(u);if(l){var h=l.seriesDataItems[o];if(h)for(var p=0;ps)&&(s=f)}}}}c.isNumber(a)?t.startIndex=a:t.start=i.start,c.isNumber(s)?t.endIndex=s+1:t.end=i.end,i._axisBreaks&&i._axisBreaks.length>0&&t.invalidateDataRange()}})},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this);var i=this.dataItems.length,n=h.fitToRange(Math.floor(this.start*i-1),0,i),r=h.fitToRange(Math.ceil(this.end*i),0,i);this.renderer.invalid&&this.renderer.validate();var o=this.renderer.axisLength/this.renderer.minGridDistance,a=Math.min(this.dataItems.length,Math.ceil((r-n)/o));if(this._startIndex=Math.floor(n/a)*a,this._endIndex=Math.ceil(this.end*i),this.fixAxisBreaks(),this._startIndex==this._endIndex&&this._endIndex++,this._frequency=a,!(this.axisLength<=0)){this.maxZoomFactor=this.dataItems.length,this.dataItems.length<=0&&(this.maxZoomFactor=1),this.resetIterators(),n=h.max(0,this._startIndex-this._frequency),r=h.min(this.dataItems.length,this._endIndex+this._frequency);for(var s=0,u=0;uthis.ghostLabel.measuredWidth||r instanceof o.a&&e.label.measuredHeight>this.ghostLabel.measuredHeight)&&(e.label.html?this.ghostLabel.html=e.label.currentText:this.ghostLabel.text=e.label.currentText));var y=e.axisFill;y&&!y.disabled&&(e.isRange||(u=n+this._frequency,l=this.indexToPosition(n,y.location),h=this.indexToPosition(u,y.location)),r.updateFillElement(y,l,h),e.isRange||this.fillRule(e,i)),e.bullet&&r.updateBullet(e.bullet,p,d);var v=e.mask;v&&r.updateFillElement(v,l,h)},e.prototype.disposeData=function(){this.dataItemsByCategory.clear(),t.prototype.disposeData.call(this)},e.prototype.processDataItem=function(e,i){e&&(t.prototype.processDataItem.call(this,e,i),c.hasValue(e.category)&&this.dataItemsByCategory.setKey(e.category,e))},e.prototype.getDataItem=function(t){var e=t[this.dataFields.category];if(c.hasValue(e)){var i=this.dataItemsByCategory.getKey(e);return i||this.dataItems.create()}},e.prototype.indexToPosition=function(t,e){c.isNumber(e)||(e=.5);var i=this.startIndex,n=this.endIndex,r=this.adjustDifference(i,n),o=this.startLocation;if(r-=o,r-=1-this.endLocation,this._axisBreaks){var a=this._axisBreaks;p.eachContinue(a.iterator(),function(e){var r=e.adjustedStartValue,o=e.adjustedEndValue;if(to?i+=(o-r)*(1-a):t=0;i--){var n=t.dataItems.getIndex(i);if(t.xAxis==this&&n.categoryX==e)return n;if(t.yAxis==this&&n.categoryY==e)return n}},e.prototype.getSeriesDataItem=function(t,e,i){var n=this;if(c.isNumber(e)){var r=this.positionToIndex(e);r>=this.dataItems.length&&r--;var o=this.dataItems.getIndex(r);if(o){var a,s=o.category,u=t.dataItems.getIndex(r);if(u){if(t.xAxis==this&&u.categoryX==s)return u;if(t.yAxis==this&&u.categoryY==s)return u}return t.dataItems.each(function(e){t.xAxis==n&&e.categoryX==s&&(a||(a=e),Math.abs(r-a.index)>Math.abs(r-e.index)&&(a=e)),t.yAxis==n&&e.categoryY==s&&(a||(a=e),Math.abs(r-a.index)>Math.abs(r-e.index)&&(a=e))}),a}}},e.prototype.getX=function(t,e,i,n,r){var o=this.getPositionX(t,e,i,n,r);return c.isNaN(o)?this.basePoint.x:this.renderer.positionToPoint(o).x},e.prototype.getPositionX=function(t,e,i,n,r){var o;return c.hasValue(e)&&(o=this.categoryToPosition(t.categories[e],i)),r&&(o=h.fitToRange(o,r.start,r.end)),o},e.prototype.getY=function(t,e,i,n,r){var o=this.getPositionY(t,e,i,n,r);return c.isNaN(o)?this.basePoint.y:this.renderer.positionToPoint(o).y},e.prototype.getPositionY=function(t,e,i,n,r){var o;return c.hasValue(e)&&(o=this.categoryToPosition(t.categories[e],i)),r&&(o=h.fitToRange(o,r.start,r.end)),o},e.prototype.getAngle=function(t,e,i,n,r){var o=this.categoryToPosition(t.categories[e],i);return r&&(o=h.fitToRange(o,r.start,r.end)),this.positionToAngle(o)},e.prototype.getCellStartPosition=function(t){return this.roundPosition(t,0)},e.prototype.getCellEndPosition=function(t){return this.roundPosition(t,1)},e.prototype.getTooltipText=function(t){var e=this.dataItems.getIndex(this.positionToIndex(t));if(e)return this.tooltipDataItem=e,this.tooltip.dataItem=e,this.tooltipText?this.tooltipText:this._adapterO?this._adapterO.apply("getTooltipText",e.category):e.category},e.prototype.positionToIndex=function(t){(t=h.round(t,10))<0&&(t=0),t>1&&(t=1);var e=this.startIndex,i=this.endIndex,n=i-e-this.startLocation-(1-this.endLocation);t+=1/n*this.startLocation;var r=null;if(this._axisBreaks){var o=this._axisBreaks;p.eachContinue(o.iterator(),function(o){var a=o.startPosition,s=o.endPosition,u=o.adjustedStartValue,l=o.adjustedEndValue;u=h.max(u,e),l=h.min(l,i);var c=o.breakSize;if(n-=(l-u)*(1-c),t>s)e+=(l-u)*(1-c);else if(!(t=this.dataItems.length&&(r=this.dataItems.length-1),r},e.prototype.positionToCategory=function(t){return this.getPositionLabel(t)},e.prototype.getPositionLabel=function(t){var e=this.dataItems.getIndex(this.positionToIndex(t));if(e)return e.category},Object.defineProperty(e.prototype,"basePoint",{get:function(){return this.renderer.positionToPoint(1)},enumerable:!0,configurable:!0}),e.prototype.initRenderer=function(){t.prototype.initRenderer.call(this),this.renderer.baseGrid.disabled=!0},Object.defineProperty(e.prototype,"frequency",{get:function(){return this._frequency},enumerable:!0,configurable:!0}),e}(r.a);s.c.registeredClasses.CategoryAxis=g,s.c.registeredClasses.CategoryAxisDataItem=f},VCCo:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("FUSD"),o=i("vSjZ"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*a,"String",{padStart:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},VGgz:function(t,e,i){"use strict";i.d(e,"a",function(){return u}),i.d(e,"c",function(){return l}),i.d(e,"b",function(){return h}),i.d(e,"d",function(){return c});var n=i("m4/l"),r=i("o0Lc"),o=i("hJ5i"),a=i("Wglt"),s=i("Mtpk"),u=function(){function t(t){this._values=[],this.events=new r.a,null!=t&&this.setAll(t)}return Object.defineProperty(t.prototype,"values",{get:function(){return this._values},enumerable:!0,configurable:!0}),t.prototype._insert=function(t){return this._values.push(t),this._values.length-1},Object.defineProperty(t.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.indexOf=function(t){return o.indexOf(this._values,t)},t.prototype.contains=function(t){return-1!==this.indexOf(t)},t.prototype.getIndex=function(t){return this._values[t]},Object.defineProperty(t.prototype,"first",{get:function(){return this._values[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._values[this._values.length-1]},enumerable:!0,configurable:!0}),t.prototype.insert=function(t){var e=this._insert(t);this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,index:e,newValue:t})},t.prototype.remove=function(t){var e=this.indexOf(t);if(-1!==e){var i=this._values[e];o.removeIndex(this._values,e),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,index:e,oldValue:i})}},t.prototype.setAll=function(t){var e=this;o.eachReverse(this._values,function(t,i){e._values.pop(),e.events.isEnabled("removed")&&e.events.dispatchImmediately("removed",{type:"removed",target:e,index:i,oldValue:t})}),o.each(t,function(t){e.insert(t)})},t.prototype.clear=function(){this.setAll([])},t.prototype.slice=function(e,i){var n=new t;return n._values=this._values.slice(e,i),n},t.prototype.findClosestIndex=function(t,e,i){void 0===i&&(i="any");var n,r,o=-1,u=0;return a.eachContinue(this.iterator(),function(a){var l=e(a);if("any"===i){if(l===t)return o=u,!1;var h=Math.abs(t-l);(!s.hasValue(r)||r>h)&&(o=u,n=l,r=h)}else"left"===i&&l=t&&(!s.hasValue(n)||n>=l)&&(o=u,n=l);return++u,!0}),-1===o&&("left"===i?o=0:"right"===i&&(o=this.length-1)),o},t.prototype.iterator=function(){return a.fromArray(this._values)},t.prototype[Symbol.iterator]=function(){var t,e;return n.d(this,function(i){switch(i.label){case 0:t=this._values.length,e=0,i.label=1;case 1:return e10&&(i.properties.paddingLeft=10),t.pixelPaddingRight>10&&(i.properties.paddingRight=10),i}return null}}),b.c.push({relevant:b.b.heightXS,state:function(t,e){if(t instanceof _){var i=t.states.create(e);return t.pixelPaddingTop>10&&(i.properties.paddingTop=10),t.pixelPaddingBottom>10&&(i.properties.paddingBottom=10),i}return null}}),b.c.push({relevant:b.b.widthXXS,state:function(t,e){if(t instanceof _){var i=t.states.create(e);return i.properties.paddingLeft=0,i.properties.paddingRight=0,i}return null}}),b.c.push({relevant:b.b.heightXXS,state:function(t,e){if(t instanceof _){var i=t.states.create(e);return i.properties.paddingTop=0,i.properties.paddingBottom=0,i}return null}})},VYrJ:function(t,e,i){var n=i("OB1/")("keys"),r=i("7bL/");t.exports=function(t){return n[t]||(n[t]=r(t))}},Vk33:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("FzPm"),o=i("aCit"),a=i("hGwe"),s=i("Gg2j"),u=i("v9UT"),l=i("aFzC"),h=function(t){function e(){var e=t.call(this)||this;return e.className="WavedCircle",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.fill=void 0,e.fillOpacity=0,e.tension=.8,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){var t="",e=this.pixelRadius;if(e>0){var i=this.getPoints(e);t=a.moveTo(i[0])+new l.b(this.tension,this.tension).smooth(i)}var n=this.pixelInnerRadius;n>0&&((i=this.getPoints(n)).reverse(),t+=a.moveTo(i[0])+new l.b(this.tension,this.tension).smooth(i));this.path=t},e.prototype.getPoints=function(t){for(var e=t*Math.PI*2,i=this.waveHeight/2,n=e/Math.round(e/this.waveLength),r=n/2,o=[],a=e/n,u=0;u<=a;u++){var l=u*n/e*360,h=(u*n+r)/e*360;o.push({x:(t-i)*s.cos(l),y:(t-i)*s.sin(l)}),o.push({x:(t+i)*s.cos(h),y:(t+i)*s.sin(h)})}return o.pop(),o},Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return u.relativeToValue(this.innerRadius,s.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),e}(r.a);o.c.registeredClasses.WavedCircle=h},Vng0:function(t,e,i){var n=i("hjwn"),r=i("Wbjh");t.exports=i("gD3S")?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},Vs7R:function(t,e,i){"use strict";i.d(e,"b",function(){return R}),i.d(e,"a",function(){return L});var n=i("m4/l"),r=i("ux7t"),o=i("kQxV"),a=i("Tjl+"),s=i("x79X"),u=i("+qIf"),l=i("vMqJ"),h=i("hD5A"),c=i("1yyj"),p=i("P7v+"),d=i("C6dT"),f=i("ZLF9"),g=i("sxA1"),m=i("CuFa"),y=i("8ZqG"),v=i("zhwk"),b=i("qCRI"),x=i("Q4nc"),_=i("aCit"),P=i("CTEm"),w=i("7XB+"),O=i("akNo"),S=i("MipW"),T=i("P/bD"),C=i("GAaQ"),k=i("v9UT"),I=i("Gg2j"),D=i("ScGY"),V=i("hJ5i"),M=i("Qkdp"),j=i("Mtpk"),A=i("Wglt"),F=i("Rpw0"),E=i("tjMS"),R=["fill","fillOpacity","stroke","strokeOpacity","strokeWidth","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin"],L=function(t){function e(){var e=t.call(this)||this;return e.properties={},e._eventDispatcher=new o.a(e),e._bindings={},e._isTemplate=!1,e._isPath=!1,e._inited=!1,e._ready=!1,e.isHiding=!1,e._isHidden=!1,e.isShowing=!1,e.isStandaloneInstance=!1,e._isActive=!1,e._mask=new h.d,e._positionPrecision=3,e._language=new h.d,e._exporting=new h.d,e._exportable=!0,e._bbox={x:0,y:0,width:0,height:0},e.invalid=!1,e.positionInvalid=!1,e.propertyFields={},e.applyOnClones=!1,e._measuredWidthSelf=0,e._measuredHeightSelf=0,e.maxLeft=0,e.maxRight=0,e.maxTop=0,e.maxBottom=0,e.maxLeftSelf=0,e.maxRightSelf=0,e.maxTopSelf=0,e.maxBottomSelf=0,e._isDragged=!1,e._isResized=!1,e._disabled=!1,e._internalDisabled=!1,e._updateDisabled=!1,e._internalDefaultsApplied=!1,e.rollOutDelay=0,e.isBaseSprite=!1,e.shouldClone=!0,e.appeared=!1,e.ex=0,e.ey=0,e.dragWhileResize=!1,e.measureFailed=!1,e.preventShow=!1,e.className="Sprite",e._disposers.push(e._eventDispatcher),k.used(e.uid),e.group=e.paper.addGroup("g"),e.setPropertyValue("scale",1),e.setPropertyValue("rotation",0),e.setPropertyValue("align","none"),e.setPropertyValue("valign","none"),e.setPropertyValue("pixelPerfect",!1),e.setPropertyValue("visible",!0),e.setPropertyValue("tooltipPosition","fixed"),e.setPropertyValue("verticalCenter","none"),e.setPropertyValue("horizontalCenter","none"),e.setPropertyValue("tooltipX",Object(E.c)(50)),e.setPropertyValue("tooltipX",Object(E.c)(50)),e.setPropertyValue("marginTop",0),e.setPropertyValue("marginBottom",0),e.setPropertyValue("marginLeft",0),e.setPropertyValue("marginRight",0),e.setPropertyValue("dx",0),e.setPropertyValue("dy",0),e.setPropertyValue("paddingTop",0),e.setPropertyValue("paddingBottom",0),e.setPropertyValue("paddingRight",0),e.setPropertyValue("paddingLeft",0),e.setPropertyValue("togglable",!1),e.setPropertyValue("hidden",!1),e.setPropertyValue("urlTarget","_self"),e.setPropertyValue("alwaysShowTooltip",!1),e.setPropertyValue("showTooltipOn","hover"),e._prevMeasuredWidth=0,e._prevMeasuredHeight=0,e._measuredWidth=0,e._measuredHeight=0,e._isMeasured=!0,e.invalidate(),e.applyTheme(),e._disposers.push(e.events),e._disposers.push(e.group),e._disposers.push(e._mask),e._disposers.push(e._language),e._disposers.push(e._exporting),e._disposers.push(new h.b(function(){M.each(e._bindings,function(t,e){e.dispose()})})),e.setPropertyValue("interactionsEnabled",!0),e}return n.c(e,t),Object.defineProperty(e.prototype,"events",{get:function(){return this._eventDispatcher},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"adapter",{get:function(){return this._adapterO||(this._adapterO=new s.a(this)),this._adapterO},enumerable:!0,configurable:!0}),e.prototype.applyTheme=function(){t.prototype.applyTheme.call(this),x.a.autoSetClassName&&this.setClassName()},e.prototype.getCurrentThemes=function(){var t=this._themes;if(t)return t;var e=this.parent;return e?e.getCurrentThemes():_.c.themes},e.prototype.applyInternalDefaults=function(){this._internalDefaultsApplied=!0},e.prototype.invalidate=function(){this.disabled||this._isTemplate||this.invalid||(this.invalid=!0,_.c.addToInvalidSprites(this),F.b.requestFrame())},e.prototype.validate=function(){this.dispatchImmediately("beforevalidated"),this._internalDefaultsApplied||this.applyInternalDefaults(),this.beforeDraw(),this.draw(),this.invalid=!1,_.c.removeFromInvalidSprites(this),this.afterDraw()},e.prototype.invalidatePosition=function(){this.disabled||this._isTemplate||this.positionInvalid||(this.positionInvalid=!0,_.c.addToInvalidPositions(this),F.b.requestFrame())},e.prototype.validatePosition=function(){var t=this.pixelX,e=this.pixelY,i=this.dx,n=this.dy,r=t+i,o=e+n;this._updateDisabled&&(this._internalDisabled?this.group.attr({display:"none"}):this.disabled||this.removeSVGAttribute("display"),this._updateDisabled=!1);var a=this.measure(),s=this.group.transformString;this.group.moveTo({x:r,y:o}),this.group.rotation=this.rotation,this.nonScaling?this.group.scale=this.scale/this.globalScale:this.group.scale=this.scale,(s!=this.group.transformString||a)&&(null==s?this.dispatch("transformed"):this.dispatchImmediately("transformed"),this.dispatch("positionchanged"),"hit"!=this.showTooltipOn&&"always"!=this.showTooltipOn||this.updateTooltipPosition()),t+i==r&&e+n==o&&(_.c.removeFromInvalidPositions(this),this.positionInvalid=!1);var u=this._maskRectangle;u&&this._clipElement.moveTo({x:u.x-t,y:u.y-e})},e.prototype.beforeDraw=function(){},e.prototype.draw=function(){},e.prototype.afterDraw=function(){if((this.isMeasured||"none"!==this.horizontalCenter||"none"!==this.verticalCenter)&&this.measureElement(),this._inited)this.dispatch("validated");else{if(this._adapterO)try{for(var t=n.g(this._adapterO.keys()),e=t.next();!e.done;e=t.next()){var i=e.value;switch(i){case"mask":case"fill":case"opacity":case"fillOpacity":case"stroke":case"strokeOpacity":case"strokeWidth":case"shapeRendering":case"strokeDasharray":case"strokeDashoffset":case"strokeLinecap":case"strokeLinejoin":case"textDecoration":case"fontSize":case"fontFamily":case"fontWeight":this[i]=this[i]}}}catch(t){r={error:t}}finally{try{e&&!e.done&&(o=t.return)&&o.call(t)}finally{if(r)throw r.error}}this.applyFilters(),this.visible=this.visible,this.interactionsEnabled=this.getPropertyValue("interactionsEnabled"),this._inited=!0,this.showOnInit||(this.appeared=!0),this.hidden&&this.hide(0),this.applyMask(),this.dispatch("validated"),this.dispatch("inited"),this.dispatchReady()}var r,o;"always"==this.showTooltipOn&&(!this.visible||this.disabled||this.__disabled?this.hideTooltip(0):this.showTooltip())},e.prototype.dispatchReady=function(){this.isReady()||(this._ready=!0,this.dispatch("ready"))},e.prototype.reinit=function(){this._inited=!1,this.setState(this.defaultState),this.invalidate()},e.prototype.handleGlobalScale=function(){this.dispatch("globalscalechanged"),this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth),this.nonScaling&&this.validatePosition(),this.updateFilterScale()},e.prototype.updateFilterScale=function(){var t=this;A.each(this.filters.iterator(),function(e){e.scale=t.globalScale})},e.prototype.removeFromInvalids=function(){_.c.removeFromInvalidSprites(this),_.c.removeFromInvalidPositions(this)},e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),this.isMeasured=e.isMeasured,this.states.copyFrom(e.states),e.filters.length>0&&e.filters.each(function(t){i.filters.push(t.clone())}),e._adapterO&&this.adapter.copyFrom(e._adapterO),e._interaction&&this.interactions.copyFrom(e.interactions),e._plugins&&this.plugins.copyFrom(e.plugins),this.configField=e.configField,this.applyOnClones=e.applyOnClones,this.disabled=e.disabled,this.virtualParent=e.virtualParent,this.exportable=e.exportable,e._tooltip&&(this._tooltip?this._tooltip.copyFrom(e.tooltip):this.tooltip=e.tooltip.clone()),this._showSystemTooltip=e.showSystemTooltip,k.copyProperties(e.propertyFields,this.propertyFields),k.copyProperties(e.properties,this),e.fillModifier&&(this.fillModifier=e.fillModifier.clone()),e.strokeModifier&&(this.strokeModifier=e.strokeModifier.clone())},e.prototype.dispose=function(){if(!this.isDisposed()){if(this.dispatchImmediately("beforedisposed"),this.isBaseSprite){if(this.htmlContainer)for(;this.htmlContainer.childNodes.length>0;)this.htmlContainer.removeChild(this.htmlContainer.firstChild);this.isBaseSprite=!1}if(t.prototype.dispose.call(this),this._adapterO&&this._adapterO.clear(),this.applyOnClones&&this._clones)for(var e=this._clones.length-1;e>=0;e--){this._clones.getIndex(e).dispose()}this._svgContainer&&this._svgContainer.dispose(),this._interactionDisposer&&(this._interactionDisposer.dispose(),this._interactionDisposer=void 0),this._urlDisposer&&this._urlDisposer.dispose(),this.removeFromInvalids(),this.element&&this.element.dispose(),this.group&&this.group.dispose(),this._numberFormatter&&this._numberFormatter.dispose(),this._focusFilter&&this._focusFilter.dispose();var i=this.stroke;!i||i instanceof y.a||!i.dispose||this.clonedFrom&&this.clonedFrom.stroke==i||i.dispose();var n=this.fill;if(!n||n instanceof y.a||!n.dispose||this.clonedFrom&&this.clonedFrom.fill==n||n.dispose(),j.hasValue(this.id)&&this.map.removeKey(this.id),this.parent=void 0,this._filters)for(;this._filters.length>0;){var r=this._filters.getIndex(0);r.dispose(),this._filters.removeValue(r)}this._alwaysShowDisposers=void 0}},Object.defineProperty(e.prototype,"isTemplate",{get:function(){return this._isTemplate},set:function(t){t=j.toBoolean(t),this._isTemplate!=t&&(this._isTemplate=t,this instanceof d.a&&A.each(this.children.iterator(),function(e){e.isTemplate=t}),t?(this.parent=this.parent,this.removeFromInvalids()):this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showSystemTooltip",{get:function(){return j.hasValue(this._showSystemTooltip)?this._showSystemTooltip:this.virtualParent?this.virtualParent.showSystemTooltip:!!this.parent&&this.parent.showSystemTooltip},set:function(t){t=j.toBoolean(t),this._showSystemTooltip!=t&&(this._showSystemTooltip=t,this.applyAccessibility())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topParent",{get:function(){return this._topParent?this._topParent:this.parent?this.parent.topParent:void 0},set:function(t){this._topParent=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},set:function(t){if(!this._isTemplate){k.used(this.paper);var e=this._parent;e!=t&&(e&&e.children.removeValue(this),this._parent=t,t?(this.topParent=t.topParent,t.isTemplate&&(this.isTemplate=!0),this.baseId=t.baseId,t.children.push(this),this._tooltip&&!this._tooltipContainer&&(this._tooltip.parent=t.tooltipContainer),this._dataItem||(this.dataItem=t.dataItem),this.handleAlwaysShowTooltip(),this.dispatchImmediately("parentset")):this.topParent=void 0)}},enumerable:!0,configurable:!0}),e.prototype.handleAlwaysShow=function(){this.showTooltip()},e.prototype.handleAlwaysShowTooltip=function(){var t=this,e=this._alwaysShowDisposers;if(e&&V.each(e,function(t){t.dispose()}),this._alwaysShowDisposers=[],"always"==this.showTooltipOn)for(;void 0!=t;){var i=t.events.on("visibilitychanged",this.handleAlwaysShow,this,!1);this.addDisposer(i),this._alwaysShowDisposers.push(i),t=t.parent}},Object.defineProperty(e.prototype,"virtualParent",{get:function(){return this._virtualParent},set:function(t){this._virtualParent=t},enumerable:!0,configurable:!0}),e.prototype.appendDefs=function(){this.filterElement&&this.paper.appendDef(this.filterElement);var t=this.fill;t&&t.element&&this.paper.appendDef(t.element);var e=this.stroke;if(e&&e.element&&this.paper.appendDef(e.element),this.fillModifier&&this.fill instanceof y.a){var i=this.fillModifier.modify(this.fill);i&&i.element&&this.paper.appendDef(i.element)}if(this.strokeModifier&&this.stroke instanceof y.a){var n=this.strokeModifier.modify(this.stroke);n&&n.element&&this.paper.appendDef(n.element)}this._clipPath&&this.paper.appendDef(this._clipPath),!1===this._exportable&&(this.exportable=!1)},Object.defineProperty(e.prototype,"map",{get:function(){var t=this.topParent;return t?t.map:(this._map||(this._map=new u.a),this._map)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){if(this._id!=t){if(this._id=t,this.map.hasKey(t))throw Error("Duplicate id ("+t+") used on multiple objects.");this.map.setKey(t,this),x.a.autoSetClassName&&this.setClassName()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dom",{get:function(){return this.group.node},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:this.parent?this.parent.paper:Object(p.b)()},set:function(t){this.setPaper(t)},enumerable:!0,configurable:!0}),e.prototype.setPaper=function(t){return this._paper!=t&&(this._paper=t,this.appendDefs(),!0)},Object.defineProperty(e.prototype,"htmlContainer",{get:function(){return this._htmlContainer?this._htmlContainer:this.parent?this.parent.htmlContainer:void 0},set:function(t){this._htmlContainer=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"titleElement",{get:function(){return this._titleElement||(this._titleElement=this.paper.add("title"),this.group.add(this._titleElement)),this._titleElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"descriptionElement",{get:function(){return this._descriptionElement||(this._descriptionElement=this.paper.add("desc"),this.group.add(this._descriptionElement)),this._descriptionElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filters",{get:function(){return this._filters||(this._filters=new l.b,this._disposers.push(this._filters.events.onAll(this.applyFilters,this)),this._disposers.push(new l.c(this._filters))),this._filters},enumerable:!0,configurable:!0}),e.prototype.setSVGAttributes=function(){this.fill=this.fill,this.opacity=this.opacity,this.fillOpacity=this.fillOpacity,this.stroke=this.stroke,this.strokeOpacity=this.strokeOpacity,this.shapeRendering=this.shapeRendering,this.strokeDasharray=this.strokeDasharray,this.strokeDashoffset=this.strokeDashoffset,this.strokeLinecap=this.strokeLinecap,this.strokeLinejoin=this.strokeLinejoin,this.focusable=this.focusable,this.tabindex=this.tabindex,this.role=this.role},e.prototype.setSVGAttribute=function(t){this.group.attr(t)},e.prototype.removeSVGAttribute=function(t){this.group.removeAttr(t)},e.prototype.setClassName=function(){var t=this.className,e=x.a.classNamePrefix;this.element&&this.element.addClass(e+t),this.group.addClass(e+t+"-group"),j.hasValue(this.id)&&this.group.addClass(e+this.id)},e.prototype.uidAttr=function(){return this.setSVGAttribute({id:this.uid}),this.uid},e.prototype.updateClipPath=function(){var t=this._clipElement;t&&t.moveTo({x:this.mask.pixelX,y:this.mask.pixelY})},e.prototype.createClipPath=function(){if(!this._clipPath){this._clipPath=this.paper.addGroup("clipPath"),this.paper.appendDef(this._clipPath),this._disposers.push(this._clipPath);var t=_.c.getUniqueId();this._clipPath.attr({id:t}),this.group.attr({"clip-path":'url("'+k.getBaseURI()+t+'")'})}},e.prototype.applyMask=function(){var t=this.mask;if(this._clipPath&&t)if(t instanceof d.a){this._clipElement.attr({width:I.max(0,t.pixelWidth),height:I.max(0,t.pixelHeight)});var e=k.spritePointToSprite({x:t.pixelX,y:t.pixelY},t.parent,this);this._clipPath.x=e.x,this._clipPath.y=e.y}else t.element&&t.element!=this._clipElement&&(this._clipElement=t.element,this._clipPath.add(this._clipElement)),this._clipPath.scale=t.scale,this._clipPath.x=t.pixelX,this._clipPath.y=t.pixelY,this._clipPath.rotation=t.rotation},e.prototype.applyFilters=function(){var t=this;if(this._filters&&this._filters.length>0){var e=100,i=100;this.filterElement?this.filterElement.removeChildNodes():(this.filterElement=this.paper.addGroup("filter"),this._disposers.push(this.filterElement)),this.paper.appendDef(this.filterElement);var n="filter-"+this.uid;this.filterElement.attr({id:n}),A.each(this.filters.iterator(),function(n){n.sprite=t,n.paper=t.paper,n.appendPrimitives(t.filterElement),n.width>e&&(e=n.width),n.height>i&&(i=n.height),n.scale=t.globalScale});var r=e+"%",o=i+"%";this.filterElement.attr({width:r,height:o,x:-(e-100)/2+"%",y:-(i-100)/2+"%"}),this.group.attr({filter:'url("'+k.getBaseURI()+n+'")'})}else this.filterElement&&(this.group.removeAttr("filter"),this.filterElement.removeChildNodes())},e.prototype.removeClipPath=function(){this._clipPath&&(this.removeDispose(this._clipPath),this._clipPath=void 0)},e.prototype.setElement=function(t){this.element=t,this.setSVGAttributes(),this.applyAccessibility()},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},set:function(t){this.removeElement(),this._element=t,this.group.add(t),t.node instanceof SVGPathElement&&(this._isPath=!0),this.invalid||this.validate(),x.a.autoSetClassName&&this.setClassName()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"svgContainer",{get:function(){return this._svgContainer?this._svgContainer:this.parent?this.parent.svgContainer:void 0},set:function(t){this._svgContainer=t},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){if(this.element)if(this.definedBBox)this._bbox=this.definedBBox;else{var t=this.element.getBBox();this._bbox={x:t.x,y:t.y,width:t.width,height:t.height}}},e.prototype.updateCenter=function(){if(this.element){var t=this.element.transformString,e=this.bbox,i=0,n=0,r=e.x,o=e.y,a=e.width,s=e.height,u=this.pixelPaddingLeft,l=this.pixelPaddingRight,h=this.pixelPaddingTop,c=this.pixelPaddingBottom,p=I.max(a+u+l,this.pixelWidth),d=I.max(s+h+c,this.pixelHeight),f=e.x,g=e.x+p,m=e.y,y=e.y+d,v=this.horizontalCenter,b=this.verticalCenter;switch(v){case"none":i=r+u;break;case"left":i=u;break;case"middle":i=u-(a+l+u)/2;break;case"right":i=-l-a}switch(b){case"none":n=o+h;break;case"top":n=h;break;case"middle":n=h-(s+c+h)/2;break;case"bottom":n=-c-s}this._measuredHeight=d,this._measuredWidth=p;var x=I.round(i-r,this._positionPrecision,!0),_=I.round(n-o,this._positionPrecision,!0);this.ex=x-u,this.ey=_-h,this.maxLeft=f+x-u,this.maxRight=g+x-u,this.maxTop=m+_-h,this.maxBottom=y+_-h,this.pixelPerfect&&(x-=.5,_-=.5),this.element.moveTo({x:x,y:_}),t!=this.element.transformString&&this.dispatchImmediately("transformed")}},e.prototype.measure=function(){this.updateCenter();var t=this._measuredWidth,e=this._measuredHeight,i=this.maxLeft,n=this.maxRight,r=this.maxTop,o=this.maxBottom;this._measuredWidthSelf=t,this._measuredHeightSelf=e;var a=this._positionPrecision;if(this.maxLeftSelf=this.maxLeft,this.maxRightSelf=this.maxRight,this.maxTopSelf=this.maxTop,this.maxBottomSelf=this.maxBottom,0!==this.rotation||1!==this.scale){this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth);var s=this.paper.svg,u=s.createSVGMatrix(),l=this.rotation;u.a=I.cos(l)*this.scale,u.c=-I.sin(l)*this.scale,u.e=0,u.b=I.sin(l)*this.scale,u.d=I.cos(l)*this.scale,u.f=0;var h=s.createSVGPoint();h.x=i,h.y=r;var c=s.createSVGPoint();c.x=n,c.y=r;var p=s.createSVGPoint();p.x=n,p.y=o;var d=s.createSVGPoint();d.x=i,d.y=o;var f=h.matrixTransform(u),g=c.matrixTransform(u),m=p.matrixTransform(u),y=d.matrixTransform(u);i=Math.min(f.x,g.x,m.x,y.x),n=Math.max(f.x,g.x,m.x,y.x),r=Math.min(f.y,g.y,m.y,y.y),t=n-i,e=(o=Math.max(f.y,g.y,m.y,y.y))-r,this.maxLeft=I.round(i,a,!0),this.maxRight=I.round(n,a,!0),this.maxTop=I.round(r,a,!0),this.maxBottom=I.round(o,a,!0)}return this._measuredWidth=I.round(t,a,!0),this._measuredHeight=I.round(e,a,!0),(this._measuredWidth!=this._prevMeasuredWidth||this._measuredHeight!=this._prevMeasuredHeight)&&(this._prevMeasuredHeight=this._measuredHeight,this._prevMeasuredWidth=this._measuredWidth,this.dispatch("sizechanged"),(this.isHover||"hit"==this.showTooltipOn||"always"==this.showTooltipOn)&&this.tooltip&&this.tooltip.visible&&(j.hasValue(this.tooltipText)||j.hasValue(this.tooltipHTML))&&this.updateTooltipPosition(),!0)},e.prototype.insertBefore=function(t){var e=this.parent;if(e){var i=e.children.indexOf(t);-1!==i&&(e.children.moveValue(this,i),e.sortChildren())}return this},e.prototype.insertAfter=function(t){var e=this.parent;if(e){var i=e.children.indexOf(t);-1!==i&&(e.children.moveValue(this,i+1),e.sortChildren())}return this},e.prototype.removeElement=function(){this._element&&(this.removeDispose(this._element),this._element=void 0)},e.prototype.getRelativeX=function(t){return t instanceof E.a?t.value:this.parent?t/this.parent.innerWidth:0},e.prototype.getRelativeY=function(t){return t instanceof E.a?t.value:this.parent?t/this.parent.innerHeight:0},e.prototype.getPixelX=function(t){var e=0;if(j.isNumber(t))e=t;else if(t instanceof E.a){var i=t.value;this.parent&&(e=I.round(this.parent.innerWidth*i,this._positionPrecision,!0))}return e},e.prototype.getPixelY=function(t){var e=0;if(j.isNumber(t))e=t;else if(t instanceof E.a){var i=t.value;this.parent&&(e=I.round(this.parent.innerHeight*i,this._positionPrecision,!0))}return e},e.prototype.moveTo=function(t,e,i,n){this.isDragged&&!n||(t&&(j.isNumber(t.x)&&this.setPropertyValue("x",I.round(t.x,this._positionPrecision,!0)),j.isNumber(t.y)&&this.setPropertyValue("y",I.round(t.y,this._positionPrecision,!0))),j.isNumber(e)&&(this.rotation=e),j.isNumber(i)&&(this.scale=i),this.invalidatePosition())},Object.defineProperty(e.prototype,"mask",{get:function(){return this._adapterO?this._adapterO.apply("mask",this._mask.get()):this._mask.get()},set:function(t){var e=this;this._mask.get()!==t&&(t?(this.createClipPath(),t instanceof d.a?this._clipElement=this.paper.add("rect"):(t.isMeasured=!1,t.element&&(this._clipElement=t.element)),this._clipElement&&this._clipPath.add(this._clipElement),this._mask.set(t,new h.c([t.events.on("maxsizechanged",function(){e.inited&&e.applyMask()},void 0,!1),t.events.on("validated",this.applyMask,this,!1),t.events.on("positionchanged",this.applyMask,this,!1)])),this.applyMask()):(this._mask.reset(),this.group.removeAttr("clip-path"),this.removeClipPath()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maskRectangle",{get:function(){return this._maskRectangle},set:function(t){t?(this.createClipPath(),this._clipElement||(this._clipElement=this.paper.add("rect"),this._clipPath.add(this._clipElement)),this._clipElement.attr({width:t.width,height:t.height})):(this.removeClipPath(),this._clipElement=void 0),this._maskRectangle=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isMeasured",{get:function(){return this._isMeasured},set:function(t){(t=j.toBoolean(t))||(this._measuredWidth=0,this._measuredHeight=0),this._isMeasured!=t&&(this._isMeasured=t,this.invalidatePosition())},enumerable:!0,configurable:!0}),e.prototype.hitTest=function(t){this.invalid&&this.validate(),t.invalid&&t.validate();var e=this.pixelX,i=this.pixelY,n=e+this.measuredWidth,r=i+this.measuredHeight,o=t.pixelX,a=t.pixelY,s=o+t.measuredWidth,u=a+t.measuredHeight;return!(o>n||sr||u0&&((n=this.animate(o,e,i))&&!n.isFinished()?this._disposers.push(n.events.on("animationended",function(){r.dispatchImmediately("transitionended")})):this.dispatchImmediately("transitionended")),t.filters.length>0){var s=[];A.each(t.filters.iterator(),function(t){var n=t.clone();s.push(n);var o=[];A.each(r.filters.iterator(),function(t){t.className==n.className&&(A.contains(r.defaultState.filters.iterator(),function(t){return t.className===n.className})||r.defaultState.filters.push(t),M.each(n.properties,function(e,i){var n=t.properties[e];n!=i&&o.push({property:e,from:n,to:i})}))}),n.animate(o,e,i)}),this.filters.clear(),this.filters.pushAll(s)}return n},e.prototype.isInTransition=function(){return this.animations.length>0},Object.defineProperty(e.prototype,"isHover",{get:function(){return!!this.isInteractive()&&this.interactions.isHover},set:function(t){(t=j.toBoolean(t))!==this.isHover&&this.isInteractive()&&(this.interactions.isHover=t,t?this.handleOver():this.handleOut())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDragged",{get:function(){return this._isDragged},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isResized",{get:function(){return this._isResized},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDown",{get:function(){return!!this.isInteractive()&&this.interactions.isDown},set:function(t){t=j.toBoolean(t),this.isInteractive()&&this.isDown!=t&&(this.interactions.isDown=t,t?this.handleDown():this.handleUp())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFocused",{get:function(){return!!this.isInteractive()&&this.interactions.isFocused},set:function(t){t=j.toBoolean(t),this.focusable&&this.isFocused!=t&&this.isInteractive()&&(this.interactions.isFocused=t,!0===t?this.handleFocus():this.handleBlur())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isActive",{get:function(){return this._isActive},set:function(t){this.setActive(t)},enumerable:!0,configurable:!0}),e.prototype.setActive=function(t){t=j.toBoolean(t),this._isActive!==t&&(this._isActive=t,t&&this.states.hasKey("active")?(this.setState("active"),this.isHover&&this.states.hasKey("hoverActive")&&this.setState("hoverActive")):this.applyCurrentState(),this.dispatchImmediately("toggled"))},Object.defineProperty(e.prototype,"disabled",{get:function(){var t=this.getPropertyValue("disabled");return j.hasValue(t)?t:this.virtualParent?this.virtualParent.disabled:!!this.parent&&this.parent.disabled},set:function(t){this.setDisabled(t)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(t){if(t=j.toBoolean(t),this.getPropertyValue("disabled")!=t){if(this.setPropertyValue("disabled",t,!0),t)this.parent=this.parent,this.removeFromInvalids(),this.group.attr({display:"none"}),this.dispatch("disabled");else{if(this.parent){var e=this.parent.element;e.hasChild(this.group)||e.add(this.group)}this instanceof d.a?(this.deepInvalidate(),this._background&&this._background.invalidate()):this.invalidate(),this.__disabled||this.removeSVGAttribute("display"),this.dispatch("enabled")}return this.dispatch("transformed"),F.b.requestFrame(),!0}return!1},Object.defineProperty(e.prototype,"__disabled",{get:function(){return this._internalDisabled},set:function(t){this._internalDisabled!=t&&(this._internalDisabled=t,this._updateDisabled=!0,this.invalidatePosition())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFormatter",{get:function(){return this._numberFormatter?this._numberFormatter:this.virtualParent?this.virtualParent.numberFormatter:this.parent?this.parent.numberFormatter:(this._numberFormatter=new P.a,this._numberFormatter.language=this.language,this.numberFormatter)},set:function(t){this._numberFormatter=t,this._numberFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.virtualParent?this.virtualParent.dateFormatter:this.parent?this.parent.dateFormatter:(this._dateFormatter=new w.a,this._dateFormatter.language=this.language,this.dateFormatter)},set:function(t){this._dateFormatter=t,this._dateFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormatter",{get:function(){return this._durationFormatter?this._durationFormatter:this.virtualParent?this.virtualParent.durationFormatter:this.parent?this.parent.durationFormatter:(this._durationFormatter=new O.a,this._durationFormatter.language=this.language,this.durationFormatter)},set:function(t){this._durationFormatter=t,this._durationFormatter.language=this.language},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){var t=this._language.get();return t||(this.virtualParent?this.virtualParent.language:this.parent?this.parent.language:(t=new T.a,this.language=t,t))},set:function(t){var e=this;this._language.get()!==t&&this._language.set(t,t.events.on("localechanged",function(t){if(e._numberFormatter&&(e._numberFormatter.language=e.language),e._dateFormatter&&(e._dateFormatter.language=e.language),e._durationFormatter&&(e._durationFormatter.language=e.language),e._exporting.get()){var i=e._exporting.get();i.numberFormatter.language=e.language,i.dateFormatter.language=e.language,i.durationFormatter.language=e.language,i.language=e.language}e instanceof d.a&&e.deepInvalidate()}))},enumerable:!0,configurable:!0}),e.prototype.populateString=function(t,e){if(j.hasValue(t)){t=j.castString(t);var i=(t=Object(S.b)().escape(t)).match(/\{([^}]+)\}/g),n=void 0;if(i)for(n=0;n-1||void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inertiaOptions",{get:function(){return!this.interactions.inertiaOptions&&this.parent?this.parent.inertiaOptions:this.interactions.inertiaOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"draggable",{get:function(){return this.getPropertyValue("draggable")},set:function(t){var e=this;t=j.toBoolean(t),this.setPropertyValue("draggable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.draggable=t,this.interactions.setEventDisposer("sprite-draggable",t,function(){return new h.c([e.events.on("down",e.handleDown,e,!1),e.events.on("dragstart",e.handleDragStart,e,!1),e.events.on("drag",e.handleDragMove,e,!1),e.events.on("dragstop",e.handleDragStop,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleDragStart=function(t){this.interactions.isTouchProtected&&t.touch||(this.interactions.originalPosition={x:this.pixelX,y:this.pixelY},this._isDragged=!0,this.hideTooltip(0))},e.prototype.dragStart=function(t){this._isDragged=!0,Object(v.b)().dragStart(this.interactions,t)},e.prototype.handleDragStop=function(t){this.interactions.isTouchProtected&&t.touch||(this._isDragged=!1,this.showTooltip(),this.interactions.originalPosition=void 0)},e.prototype.dragStop=function(t){this._isDragged=!1,Object(v.b)().dragStop(this.interactions,t)},e.prototype.handleDragMove=function(t){if(!this.interactions.isTouchProtected||!t.touch){var e=this.interactions.originalPosition;if(e&&this._isDragged){var i=this.parent.globalScale*this.svgContainer.cssScale;this.moveTo({x:e.x+t.shift.x/i,y:e.y+t.shift.y/i},void 0,void 0,!0)}this.dispatchImmediately("dragged",t)}},Object.defineProperty(e.prototype,"inert",{get:function(){return this.getPropertyValue("inert")},set:function(t){t=j.toBoolean(t),this.setPropertyValue("inert",t)&&(t||this.isInteractive())&&(this.interactions.inert=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverOptions",{get:function(){if(!this.interactions.hoverOptions){if(this.virtualParent)return this.virtualParent.hoverOptions;if(this.parent)return this.parent.hoverOptions}return this.interactions.hoverOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverable",{get:function(){return this.getPropertyValue("hoverable")},set:function(t){var e=this;t=j.toBoolean(t),this.setPropertyValue("hoverable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.hoverable=t,this.interactions.setEventDisposer("sprite-hoverable",t,function(){return new h.c([e.events.on("over",e.handleOver,e,!1),e.events.on("out",e.handleOut,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleOver=function(t){if(this._outTimeout&&this._outTimeout.dispose(),this.isHover){this.states.hasKey("hover")&&(this.isHidden||this.applyCurrentState());var e=void 0;t&&t.pointer&&(e=k.documentPointToSvg(t.pointer.point,this.svgContainer.SVGContainer,this.svgContainer.cssScale)),"hover"==this.showTooltipOn&&this.showTooltip(e)}else"hover"==this.showTooltipOn&&this.hideTooltip(),!this.isHidden&&this.states.hasKey("hover")&&this.applyCurrentState()},e.prototype.handleOut=function(t){var e=this;this.tooltip&&this.tooltip.targetSprite==this&&this.tooltip.keepTargetHover?this._outTimeout=this.setTimeout(function(){e.tooltip.isHover||(e.tooltip.targetSprite==e&&e.hideTooltip(),e._outTimeout=e.setTimeout(e.handleOutReal.bind(e),e.rollOutDelay))},10):("hover"==this.showTooltipOn&&this.hideTooltip(),this._outTimeout=this.setTimeout(this.handleOutReal.bind(this),this.rollOutDelay))},e.prototype.handleOutReal=function(){this.isHidden||this.isHiding||!this.states.hasKey("hover")||this.applyCurrentState()},Object.defineProperty(e.prototype,"hitOptions",{get:function(){if(!this.interactions.hitOptions){if(this.virtualParent)return this.virtualParent.hitOptions;if(this.parent)return this.parent.hitOptions}return this.interactions.hitOptions},enumerable:!0,configurable:!0}),e.prototype.handleDown=function(t){1===this.interactions.downPointers.length&&(this.interactions.originalPosition={x:this.pixelX,y:this.pixelY},this.interactions.originalAngle=this.rotation,this.interactions.originalScale=this.scale,this.states.hasKey("down")&&this.setState("down"))},e.prototype.handleUp=function(t){var e=this;this._isResized=!1,this.states.hasKey("down")&&this.applyCurrentState(),"hit"==this.showTooltipOn&&(this.showTooltip(),this._disposers.push(Object(v.b)().body.events.once("down",function(t){e.hideTooltip()})))},Object.defineProperty(e.prototype,"clickable",{get:function(){return this.getPropertyValue("clickable")},set:function(t){var e=this;t=j.toBoolean(t),this.setPropertyValue("clickable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.clickable=t,this.interactions.setEventDisposer("sprite-clickable",t,function(){return new h.c([e.events.on("down",e.handleDown,e,!1),e.events.on("up",e.handleUp,e,!1)])}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"togglable",{get:function(){return this.getPropertyValue("togglable")},set:function(t){var e=this;t=j.toBoolean(t),this.setPropertyValue("togglable",t)&&(t||this.isInteractive())&&this.interactions.setEventDisposer("sprite-togglable",t,function(){return e.events.on("hit",e.handleToggle,e,!1)})},enumerable:!0,configurable:!0}),e.prototype.handleToggle=function(t){this.isActive=!this.isActive},Object.defineProperty(e.prototype,"contextMenuDisabled",{get:function(){return this.getPropertyValue("contextMenuDisabled")},set:function(t){t=j.toBoolean(t),this.setPropertyValue("contextMenuDisabled",t)&&(this.interactions.contextMenuDisabled=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.getPropertyValue("url")},set:function(t){this.setPropertyValue("url",t)&&(this._urlDisposer&&this._urlDisposer.dispose(),k.isNotEmpty(t)&&(this._urlDisposer=this.events.on("hit",this.urlHandler,this,!1),this.clickable=!0,this.cursorOverStyle=b.a.pointer))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseId",{get:function(){return!this._baseId&&this.parent&&(this.baseId=this.parent.baseId),this._baseId},set:function(t){this.setBaseId(t)},enumerable:!0,configurable:!0}),e.prototype.setBaseId=function(t){t!=this._baseId&&(this.invalid&&(this.invalid=!1,_.c.removeFromInvalidSprites(this),this.invalidate()),this._baseId=t)},Object.defineProperty(e.prototype,"baseSprite",{get:function(){return this.isBaseSprite?this:this.parent?this.parent.baseSprite:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"urlTarget",{get:function(){return this.getPropertyValue("urlTarget")},set:function(t){this.setPropertyValue("urlTarget",t)},enumerable:!0,configurable:!0}),e.prototype.urlHandler=function(t){if(k.isNotEmpty(this.url)){var e=this.populateString(this.url);"_self"===this.urlTarget?window.location.href=e:window.open(e,this.urlTarget)}},Object.defineProperty(e.prototype,"swipeOptions",{get:function(){if(!this.interactions.swipeOptions){if(this.virtualParent)return this.virtualParent.swipeOptions;if(this.parent)return this.parent.swipeOptions}return this.interactions.swipeOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeable",{get:function(){return this.getPropertyValue("swipeable")},set:function(t){t=j.toBoolean(t),this.setPropertyValue("swipeable",t)&&(this.applyCursorStyle(),(t||this.isInteractive())&&(this.interactions.swipeable=t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trackable",{get:function(){return this.getPropertyValue("trackable")},set:function(t){t=j.toBoolean(t),this.setPropertyValue("trackable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.trackable=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wheelable",{get:function(){return this.getPropertyValue("wheelable")},set:function(t){this.setPropertyValue("wheelable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.wheelable=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resizable",{get:function(){return this.getPropertyValue("resizable")},set:function(t){var e=this;t=j.toBoolean(t),this.setPropertyValue("resizable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.resizable=t,this.interactions.setEventDisposer("sprite-resizable",t,function(){return new h.c([e.events.on("down",e.handleDown,e,!1),e.events.on("resize",e.handleResize,e,!1)])}))},enumerable:!0,configurable:!0}),e.prototype.handleResize=function(t){if((!this.interactions.isTouchProtected||!t.touch)&&(this._isResized=!0,this.scale=this.interactions.originalScale*t.scale,this.validatePosition(),this.draggable||this.dragWhileResize)){this._isDragged=!1;var e=k.documentPointToSvg(t.point1,this.htmlContainer,this.svgContainer.cssScale),i=k.documentPointToSvg(t.point2,this.htmlContainer,this.svgContainer.cssScale),n=I.getMidPoint(e,i),r=k.documentPointToSprite(t.startPoint1,this.parent),o=k.documentPointToSprite(t.startPoint2,this.parent),a=this.interactions.originalPosition,s=this.interactions.originalScale;if(a){var u={x:(r.x-a.x)/s,y:(r.y-a.y)/s},l={x:(o.x-a.x)/s,y:(o.y-a.y)/s},h=I.getMidPoint(u,l),c=k.svgPointToSprite(n,this.parent);this.moveTo({x:c.x-h.x*this.scale,y:c.y-h.y*this.scale},void 0,void 0,!0)}}},Object.defineProperty(e.prototype,"cursorOptions",{get:function(){if(!this.interactions.cursorOptions){if(this.virtualParent)return this.virtualParent.cursorOptions;if(this.parent)return this.parent.cursorOptions}return this.interactions.cursorOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorOverStyle",{set:function(t){this.cursorOptions.overStyle||(this.interactions.cursorOptions={defaultStyle:this.cursorOptions.defaultStyle}),this.cursorOptions.overStyle=t,Object(v.b)().applyCursorOverStyle(this.interactions)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorDownStyle",{set:function(t){this.cursorOptions.downStyle=t},enumerable:!0,configurable:!0}),e.prototype.applyCursorStyle=function(){},Object.defineProperty(e.prototype,"interactionsEnabled",{get:function(){return!1!==this.getPropertyValue("interactionsEnabled")&&(this.virtualParent?this.virtualParent.interactionsEnabled:!this.parent||this.parent.interactionsEnabled)},set:function(t){if(t=j.toBoolean(t),this.setPropertyValue("interactionsEnabled",t)){var e=null;t?this.group.node.style.pointerEvents="":e="none",this.group.node.style.pointerEvents=e}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"exporting",{get:function(){return this.getExporting()},set:function(t){this._exporting.set(t,t)},enumerable:!0,configurable:!0}),e.prototype.getExporting=function(){var t=this._exporting.get();return t||(!this.isStandaloneInstance&&this.parent?this.parent.exporting:((t=new C.a(this.svgContainer.SVGContainer)).sprite=this,t.language=this.language,t.numberFormatter=this.numberFormatter,t.dateFormatter=this.dateFormatter,t.durationFormatter=this.durationFormatter,this._exporting.set(t,t),t))},Object.defineProperty(e.prototype,"exportable",{get:function(){return this._exportable},set:function(t){var e=this.svgContainer;this._exportable=t,e&&(t?V.remove(e.nonExportableSprites,this):-1==V.indexOf(e.nonExportableSprites,this)&&e.nonExportableSprites.push(this))},enumerable:!0,configurable:!0}),e.prototype.modalPrefix=function(t){return t=x.a.classNamePrefix+t},Object.defineProperty(e.prototype,"modal",{get:function(){var t=this.svgContainer;if(t){var e=t.modal;return e.adapter.has("classPrefix",this.modalPrefix)||e.adapter.add("classPrefix",this.modalPrefix),e}},enumerable:!0,configurable:!0}),e.prototype.openModal=function(t,e){var i=this.svgContainer;if(i)return i.openModal(t,e)},e.prototype.closeModal=function(){var t=this.svgContainer;t&&t.closeModal()},Object.defineProperty(e.prototype,"popups",{get:function(){var t=this.svgContainer;if(t){var e=t.popups;return e.template.sprite=this,e.template.adapter.has("classPrefix",this.modalPrefix)||e.template.adapter.add("classPrefix",this.modalPrefix),e}},enumerable:!0,configurable:!0}),e.prototype.openPopup=function(t,e){var i=this.svgContainer;if(i)return i.openPopup(t,e)},e.prototype.closeAllPopups=function(){var t=this.svgContainer;t&&t.closeAllPopups()},Object.defineProperty(e.prototype,"x",{get:function(){return this.getPropertyValue("x")},set:function(t){this.isDragged||this.setPercentProperty("x",t,!1,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelX",{get:function(){var t=I.fitToRange(this.getPixelX(this.x),this.minX,this.maxX);return this._adapterO?this._adapterO.apply("pixelX",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeX",{get:function(){return this._adapterO?this._adapterO.apply("relativeX",this.getRelativeX(this.x)):this.getRelativeX(this.x)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minX",{get:function(){return this.getPropertyValue("minX")},set:function(t){j.isNumber(t)&&(t=I.round(t,this._positionPrecision,!0),this.setPropertyValue("minX",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxX",{get:function(){return this.getPropertyValue("maxX")},set:function(t){j.isNumber(t)&&(t=I.round(t,this._positionPrecision,!0),this.setPropertyValue("maxX",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.getPropertyValue("y")},set:function(t){this.isDragged||this.setPercentProperty("y",t,!1,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelY",{get:function(){var t=I.fitToRange(this.getPixelY(this.y),this.minY,this.maxY);return this._adapterO?this._adapterO.apply("pixelY",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeY",{get:function(){return this._adapterO?this._adapterO.apply("relativeY",this.getRelativeX(this.y)):this.getRelativeX(this.y)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minY",{get:function(){return this.getPropertyValue("minY")},set:function(t){j.isNumber(t)&&(t=I.round(t,this._positionPrecision,!0),this.setPropertyValue("minY",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxY",{get:function(){return this.getPropertyValue("maxY")},set:function(t){j.isNumber(t)&&(t=I.round(t,this._positionPrecision,!0),this.setPropertyValue("maxY",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dx",{get:function(){return this.getPropertyValue("dx")},set:function(t){j.isNumber(t)&&(t=I.round(t,this._positionPrecision,!0),this.setPropertyValue("dx",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dy",{get:function(){return this.getPropertyValue("dy")},set:function(t){j.isNumber(t)&&(t=I.round(t,this._positionPrecision,!0),this.setPropertyValue("dy",t,!1,!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this.getPropertyValue("rotation")},set:function(t){t=j.toNumber(t),j.isNumber(t)||(t=0),this.setPropertyValue("rotation",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.getPropertyValue("align")},set:function(t){t=j.toText(t),this.setPropertyValue("align",t)&&this.parent&&this.parent.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valign",{get:function(){return this.getPropertyValue("valign")},set:function(t){t=j.toText(t),this.setPropertyValue("valign",t)&&this.parent&&this.parent.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalCenter",{get:function(){return this.getPropertyValue("horizontalCenter")},set:function(t){t=j.toText(t),this.setPropertyValue("horizontalCenter",t)&&this.updateCenter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalCenter",{get:function(){return this.getPropertyValue("verticalCenter")},set:function(t){t=j.toText(t),this.setPropertyValue("verticalCenter",t)&&this.updateCenter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){var t=this.getPropertyValue("maxWidth");return!j.isNumber(t)&&this.parent?this.parent.maxWidth:t},set:function(t){this.setMaxWidth(t)},enumerable:!0,configurable:!0}),e.prototype.setMaxWidth=function(t){var e=this.maxWidth,i=this.maxHeight;if(this.setPropertyValue("maxWidth",t)){j.isNumber(this.relativeWidth)&&this.invalidate();var n={type:"maxsizechanged",target:this,previousWidth:e,previousHeight:i};this.dispatchImmediately("maxsizechanged",n)}},Object.defineProperty(e.prototype,"maxHeight",{get:function(){var t=this.getPropertyValue("maxHeight");return!j.isNumber(t)&&this.parent?this.parent.maxHeight:t},set:function(t){this.setMaxHeight(t)},enumerable:!0,configurable:!0}),e.prototype.setMaxHeight=function(t){var e=this.maxWidth,i=this.maxHeight;if(this.setPropertyValue("maxHeight",t)){j.isNumber(this.relativeHeight)&&this.invalidate();var n={type:"maxsizechanged",target:this,previousWidth:e,previousHeight:i};this.dispatchImmediately("maxsizechanged",n)}},Object.defineProperty(e.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth")},set:function(t){this.setPropertyValue("minWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this.getPropertyValue("minHeight")},set:function(t){this.setPropertyValue("minHeight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.getPropertyValue("width")},set:function(t){this.setPercentProperty("width",t,!0,!1,this._positionPrecision,!0)&&(this.percentWidth=void 0,this.relativeWidth=void 0,t instanceof E.a?(this.percentWidth=t.percent,j.isNumber(this._pixelWidth)&&(this.maxWidth=void 0),this._pixelWidth=void 0):(this._pixelWidth=Number(t),this.maxWidth=this._pixelWidth),this.invalidatePosition())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.getPropertyValue("height")},set:function(t){this.setPercentProperty("height",t,!0,!1,this._positionPrecision,!0)&&(this.percentHeight=void 0,this._relativeHeight=void 0,t instanceof E.a?(this.percentHeight=t.percent,j.isNumber(this._pixelHeight)&&(this.maxHeight=void 0),this._pixelHeight=void 0):(this._pixelHeight=Number(t),this.maxHeight=this._pixelHeight),this.invalidatePosition())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelWidth",{get:function(){var t;t=j.isNumber(this.percentWidth)?this.maxWidth:j.isNumber(this._pixelWidth)?this._pixelWidth:0;var e=this.minWidth;null!=e&&tt?e:t}var l=function(){function t(t,e){this.createNewItems=!1,this.list=t,this._create=e,this.reset()}return t.prototype.reset=function(){this._listCopy=o(this.list.iterator())},t.prototype.clear=function(){this._listCopy.length=0},t.prototype.getFirst=function(){return this.returnItem(0)},t.prototype.getLast=function(){return this.returnItem(this._listCopy.length-1)},t.prototype.find=function(t){var e=n.findIndex(this._listCopy,t);if(-1!==e){var i=this._listCopy[e];return n.remove(this._listCopy,i),i}return this.getLast()},t.prototype.removeItem=function(t){return n.remove(this._listCopy,t)},t.prototype.returnItem=function(t){if(t>=0&&t0;)this.data.shift(),e--;this.invalidateData()},e.prototype.removeData=function(t){if(x.isNumber(t)){for(;t>0;){var e=this.mainDataSet.getIndex(0);e&&this.mainDataSet.remove(e),this.dataUsers.each(function(t){if(!t.data||0==t.data.length){var e=t.dataItems.getIndex(0);e&&t.dataItems.remove(e)}}),this.data.shift(),this._parseDataFrom>0&&this._parseDataFrom--,t--}this.invalidateData()}},e.prototype.invalidateData=function(){this.disabled||this.isTemplate||(d.c.addToInvalidComponents(this),c.b.requestFrame(),this.dataInvalid=!0,v.each(this.dataUsers.iterator(),function(t){t.invalidateDataItems()}))},e.prototype.invalidateDataUsers=function(){v.each(this.dataUsers.iterator(),function(t){t.invalidate()})},e.prototype.invalidateDataItems=function(){this.disabled||this.isTemplate||(g.move(d.c.invalidDataItems,this),c.b.requestFrame(),this.dataItemsInvalid=!0,v.each(this.dataUsers.iterator(),function(t){t.invalidateDataItems()}))},e.prototype.invalidateDataRange=function(){this.disabled||this.isTemplate||(this.dataRangeInvalid=!0,g.move(d.c.invalidDataRange,this),c.b.requestFrame())},e.prototype.validateDataRange=function(){g.remove(d.c.invalidDataRange,this),this.dataRangeInvalid=!1,this.startIndex==this._prevStartIndex&&this.endIndex==this._prevEndIndex||(this.rangeChangeUpdate(),this.appendDataItems(),this.invalidate(),this.dispatchImmediately("datarangechanged"))},e.prototype.sliceData=function(){this._workingStartIndex=this.startIndex,this._workingEndIndex=this.endIndex},e.prototype.rangeChangeUpdate=function(){this.sliceData(),this._prevStartIndex=this.startIndex,this._prevEndIndex=this.endIndex},e.prototype.appendDataItems=function(){for(var t=this.endIndex,e=this.startIndex;e0&&this.disposeData(),this.data.length>0){var e=this.preloader;v.each(this.dataUsers.iterator(),function(t){t._startIndex=void 0,t._endIndex=void 0});for(var i=0,n=Date.now(),r=this._parseDataFrom,o=this.data.length,a=function(){var t=s.data[r];if(s._usesData){var o=s.getDataItem(t);s.processDataItem(o,t)}if((s.dataUsers.each(function(e){if(0==e.data.length){var i=e.getDataItem(t);e.processDataItem(i,t)}}),100==++i)&&(i=0,Date.now()-n>s.parsingStepDuration&&r.5&&!e.visible||(e.progress=r/s.data.length)),s.dataValidationProgress=r/s.data.length,r=s.data.length,s.invalidateData(),{value:void 0}},s=this;r0&&this.invalidateData()},e.prototype.getDataSource=function(t){var e=this;return x.hasValue(this._dataSources[t])||(this._dataSources[t]=new l.a,this._dataSources[t].component=this,this.setDataSourceEvents(this._dataSources[t],t),this._dataSources[t].adapter.add("dateFields",function(t){return e.dataSourceDateFields(t)}),this._dataSources[t].adapter.add("numberFields",function(t){return e.dataSourceNumberFields(t)}),this.events.on("inited",function(){e.loadData(t)},this,!1)),this._dataSources[t]},Object.defineProperty(e.prototype,"dataSource",{get:function(){return this._dataSources.data||this.getDataSource("data"),this._dataSources.data},set:function(t){var e=this;this._dataSources.data&&this.removeDispose(this._dataSources.data),this._dataSources.data=t,this._dataSources.data.component=this,this.events.on("inited",function(){e.loadData("data")},this,!1),this.setDataSourceEvents(t,"data")},enumerable:!0,configurable:!0}),e.prototype.loadData=function(t){this._dataSources[t].load()},e.prototype.dataSourceDateFields=function(t){return t},e.prototype.dataSourceNumberFields=function(t){return t},e.prototype.populateDataSourceFields=function(t,e,i){return g.each(i,function(i){e[i]&&-1===g.indexOf(t,e[i])&&t.push(e[i])}),t},e.prototype.setDataSourceEvents=function(t,e){var i=this;t.events.on("started",function(t){var e=i.preloader;e&&(e.progress=0)},void 0,!1),t.events.on("loadstarted",function(t){var e=i.preloader;e&&(e.progress=.25)},void 0,!1),t.events.on("loadended",function(t){var e=i.preloader;e&&(e.progress=.5)},void 0,!1),t.events.on("parseended",function(t){var e=i.preloader;e&&(e.progress=.75)},void 0,!1),t.events.on("ended",function(t){var e=i.preloader;e&&(e.progress=1)},void 0,!1),t.events.on("error",function(t){var e=i.preloader;e&&(e.progress=1),i.openModal(t.message)},void 0,!1),e&&t.events.on("done",function(n){var r=i.preloader;r&&(r.progress=1),"data"!=e||x.isArray(n.data)||(n.data=[n.data]),t.incremental&&"data"==e&&i.data.length?i.addData(n.data,t.keepCount?n.data.length:0):t.updateCurrentData&&"data"==e&&i.data.length?(g.each(i.data,function(t,e){x.hasValue(n.data[e])&&b.each(t,function(i,r){x.hasValue(n.data[e][i])&&(t[i]=n.data[e][i])})}),i.invalidateRawData()):i[e]=n.data})},Object.defineProperty(e.prototype,"responsive",{get:function(){return this._responsive||(this._responsive=new h.a,this._responsive.component=this),this._responsive},set:function(t){this._responsive=t,this._responsive.component=this},enumerable:!0,configurable:!0}),e.prototype.zoom=function(t,e,i,n){var r=this;void 0===e&&(e=!1),void 0===i&&(i=!1);var o=t.start,a=t.end,s=t.priority;if(t.start==t.end&&(t.start=t.start-.5/this.maxZoomFactor,t.end=t.end+.5/this.maxZoomFactor),"end"==s&&1==a&&0!=o&&othis.end&&(s="end"),x.isNumber(n)||(n=this.maxZoomDeclination),!x.isNumber(o)||!x.isNumber(a))return{start:this.start,end:this.end};if(this._finalStart!=o||this._finalEnd!=a){var u=this.maxZoomFactor/this.minZoomCount,l=this.maxZoomFactor/this.maxZoomCount;if("start"==s?(this.maxZoomCount>0&&1/(a-o)u&&(a=o+1/u),a>1&&a-o<1/u&&(o=a-1/u)):(this.maxZoomCount>0&&1/(a-o)u&&(o=a-1/u),o<0&&a-o<1/u&&(a=o+1/u)),o<-n&&(o=-n),1/(a-o)>u&&(a=o+1/u),a>1+n&&(a=1+n),1/(a-o)>u&&(o=a-1/u),this._finalEnd=a,this._finalStart=o,this.skipRangeEvent=e,this.dispatchImmediately("rangechangestarted"),this.rangeChangeDuration>0&&!i){var h=this.rangeChangeAnimation;if(h&&h.progress<1){var c=h.animationOptions;if(c.length>1){if(c[0].to==o&&c[1].to==a)return{start:o,end:a};h.isDisposed()||h.stop()}}this.rangeChangeAnimation&&this.rangeChangeAnimation.kill(),h=this.animate([{property:"start",to:o},{property:"end",to:a}],this.rangeChangeDuration,this.rangeChangeEasing),this.rangeChangeAnimation=h,h&&!h.isFinished()?h.events.on("animationended",function(){r.dispatchImmediately("rangechangeended")}):this.dispatchImmediately("rangechangeended")}else this.start=o,this.end=a,this.dispatch("rangechangeended")}return{start:o,end:a}},e.prototype.zoomToIndexes=function(t,e,i,n){if(x.isNumber(t)&&x.isNumber(e)){var r=t/this.dataItems.length,o=e/this.dataItems.length;this.zoom({start:r,end:o},i,n)}},Object.defineProperty(e.prototype,"zoomFactor",{get:function(){return f.fitToRange(1/(this.end-this.start),1,this.maxZoomFactor)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomFactor",{get:function(){return this.getPropertyValue("maxZoomFactor")},set:function(t){this.setPropertyValue("maxZoomFactor",t)&&(1==t&&(this.maxZoomDeclination=0),this.invalidateDataRange())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomDeclination",{get:function(){return this.getPropertyValue("maxZoomDeclination")},set:function(t){this.setPropertyValue("maxZoomDeclination",t)&&this.invalidateDataRange()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startIndex",{get:function(){return x.isNumber(this._startIndex)||(this._startIndex=0),this._startIndex},set:function(t){this._startIndex=f.fitToRange(Math.round(t),0,this.dataItems.length),this.start=this.indexToPosition(this._startIndex)},enumerable:!0,configurable:!0}),e.prototype.indexToPosition=function(t){return t/this.dataItems.length},Object.defineProperty(e.prototype,"endIndex",{get:function(){var t=this.dataItems.length;return(!x.isNumber(this._endIndex)||this._endIndex>t)&&(this._endIndex=t),this._endIndex},set:function(t){this._endIndex=f.fitToRange(Math.round(t),0,this.dataItems.length),this.end=this.indexToPosition(this._endIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._adapterO?this._adapterO.apply("start",this._start):this._start},set:function(t){if(this._start!=t){this._start=t;var e=Math.max(0,Math.floor(this.dataItems.length*t)||0);this._startIndex=Math.min(e,this.dataItems.length),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("startchanged"),this.dispatch("startendchanged")}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._adapterO?this._adapterO.apply("end",this._end):this._end},set:function(t){this._end!=t&&(this._end=t,this._endIndex=Math.min(this.dataItems.length,Math.ceil(this.dataItems.length*t)||0),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("endchanged"),this.dispatch("startendchanged"))},enumerable:!0,configurable:!0}),e.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),d.c.removeFromInvalidComponents(this),g.remove(d.c.invalidDataItems,this),g.remove(d.c.invalidDataRange,this),g.remove(d.c.invalidRawDatas,this)},Object.defineProperty(e.prototype,"dataItems",{get:function(){if(""!=this._currentDataSetId){var t=this.dataSets.getKey(this._currentDataSetId);if(t)return t}return this._dataItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataSets",{get:function(){return this._dataSets||(this._dataSets=new s.a),this._dataSets},enumerable:!0,configurable:!0}),e.prototype.setDataSet=function(t){if(this._currentDataSetId!=t){if(this.dataSets.getKey(t))return this.dataItems.each(function(t){t.__disabled=!0}),this._currentDataSetId=t,this.invalidateDataRange(),this._prevStartIndex=void 0,this.dataItems.each(function(t){t.__disabled=!1}),!0;if(""!=this._currentDataSetId)return this.dataItems.each(function(t){t.__disabled=!0}),this._currentDataSetId="",this.invalidateDataRange(),this._prevStartIndex=void 0,this.dataItems.each(function(t){t.__disabled=!1}),!0}return!1},Object.defineProperty(e.prototype,"currentDataSetId",{get:function(){return this._currentDataSetId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mainDataSet",{get:function(){return this._dataItems},enumerable:!0,configurable:!0}),e.prototype._updateDataItemIndexes=function(t){for(var e=this.mainDataSet.values,i=e.length,n=t;nr;)q(t,i=n[r++],e[i]);return t},Q=function(t){var e=N.call(this,t=w(t,!0));return!(this===W&&o(G,t)&&!o(H,t))&&(!(e||!o(this,t)||!o(G,t)||o(this,R)&&this[R][t])||e)},$=function(t,e){if(t=P(t),e=w(e,!0),t!==W||!o(G,e)||o(H,e)){var i=V(t,e);return!i||!o(G,e)||o(t,R)&&t[R][e]||(i.enumerable=!0),i}},tt=function(t){for(var e,i=j(P(t)),n=[],r=0;i.length>r;)o(G,e=i[r++])||e==R||e==l||n.push(e);return n},et=function(t){for(var e,i=t===W,n=j(i?H:P(t)),r=[],a=0;n.length>a;)!o(G,e=n[a++])||i&&!o(W,e)||r.push(G[e]);return r};U||(u((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0);return a&&Y&&X(W,t,{configurable:!0,set:function e(i){this===W&&e.call(H,i),o(this,R)&&o(this[R],t)&&(this[R][t]=!1),X(this,t,O(1,i))}}),K(t)}).prototype,"toString",function(){return this._k}),C.f=$,I.f=q,i("rkh7").f=T.f=tt,i("eBSV").f=Q,k.f=et,a&&!i("pb4Y")&&u(W,"propertyIsEnumerable",Q,!0),g.f=function(t){return K(f(t))}),s(s.G+s.W+s.F*!U,{Symbol:A});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;it.length>nt;)f(it[nt++]);for(var rt=D(f.store),ot=0;rt.length>ot;)m(rt[ot++]);s(s.S+s.F*!U,"Symbol",{for:function(t){return o(B,t+="")?B[t]:B[t]=A(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),s(s.S+s.F*!U,"Object",{create:function(t,e){return void 0===e?S(t):J(S(t),e)},defineProperty:q,defineProperties:J,getOwnPropertyDescriptor:$,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var at=h(function(){k.f(1)});s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return k.f(_(t))}}),F&&s(s.S+s.F*(!U||h(function(){var t=A();return"[null]"!=E([t])||"{}"!=E({a:t})||"{}"!=E(Object(t))})),"JSON",{stringify:function(t){for(var e,i,n=[t],r=1;arguments.length>r;)n.push(arguments[r++]);if(i=e=n[1],(x(e)||void 0!==t)&&!Z(t))return v(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!Z(e))return e}),n[1]=e,E.apply(F,n)}}),A.prototype[L]||i("Vng0")(A.prototype,L,A.prototype.valueOf),p(A,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},YEtG:function(t,e,i){var n=i("OB1/")("wks"),r=i("7bL/"),o=i("T9LF").Symbol,a="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=n},YF4K:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{DEG_PER_RAD:Math.PI/180})},YJIw:function(t,e,i){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}if(i("gD3S")){var r=i("pb4Y"),o=i("T9LF"),a=i("AEc5"),s=i("Gb1H"),u=i("xSzy"),l=i("LNZc"),h=i("20m4"),c=i("ypVE"),p=i("Wbjh"),d=i("Vng0"),f=i("cA+3"),g=i("4BRe"),m=i("FmWr"),y=i("bytU"),v=i("UwWU"),b=i("W0fk"),x=i("U3hN"),_=i("MfZA"),P=i("DvJ+"),w=i("vJiZ"),O=i("a8UT"),S=i("5+SK"),T=i("K0ev"),C=i("rkh7").f,k=i("iOZG"),I=i("7bL/"),D=i("YEtG"),V=i("dstF"),M=i("mntN"),j=i("QXbb"),A=i("2/6D"),F=i("9BM3"),E=i("ID9o"),R=i("vdWU"),L=i("lgQj"),N=i("y2pX"),B=i("hjwn"),G=i("nHHr"),H=B.f,W=G.f,U=o.RangeError,z=o.TypeError,Y=o.Uint8Array,X=Array.prototype,K=l.ArrayBuffer,Z=l.DataView,q=V(0),J=V(2),Q=V(3),$=V(4),tt=V(5),et=V(6),it=M(!0),nt=M(!1),rt=A.values,ot=A.keys,at=A.entries,st=X.lastIndexOf,ut=X.reduce,lt=X.reduceRight,ht=X.join,ct=X.sort,pt=X.slice,dt=X.toString,ft=X.toLocaleString,gt=D("iterator"),mt=D("toStringTag"),yt=I("typed_constructor"),vt=I("def_constructor"),bt=u.CONSTR,xt=u.TYPED,_t=u.VIEW,Pt=V(1,function(t,e){return Ct(j(t,t[vt]),e)}),wt=a(function(){return 1===new Y(new Uint16Array([1]).buffer)[0]}),Ot=!!Y&&!!Y.prototype.set&&a(function(){new Y(1).set({})}),St=function(t,e){var i=g(t);if(i<0||i%e)throw U("Wrong offset!");return i},Tt=function(t){if(P(t)&&xt in t)return t;throw z(t+" is not a typed array!")},Ct=function(t,e){if(!(P(t)&&yt in t))throw z("It is not a typed array constructor!");return new t(e)},kt=function(t,e){return It(j(t,t[vt]),e)},It=function(t,e){for(var i=0,n=e.length,r=Ct(t,n);n>i;)r[i]=e[i++];return r},Dt=function(t,e,i){H(t,e,{get:function(){return this._d[i]}})},Vt=function(t){var e,i,n,r,o,a,s=w(t),u=arguments.length,l=u>1?arguments[1]:void 0,c=void 0!==l,p=k(s);if(void 0!=p&&!O(p)){for(a=p.call(s),n=[],e=0;!(o=a.next()).done;e++)n.push(o.value);s=n}for(c&&u>2&&(l=h(l,arguments[2],2)),e=0,i=m(s.length),r=Ct(this,i);i>e;e++)r[e]=c?l(s[e],e):s[e];return r},Mt=function(){for(var t=0,e=arguments.length,i=Ct(this,e);e>t;)i[t]=arguments[t++];return i},jt=!!Y&&a(function(){ft.call(new Y(1))}),At=function(){return ft.apply(jt?pt.call(Tt(this)):Tt(this),arguments)},Ft={copyWithin:function(t,e){return N.call(Tt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return $(Tt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return L.apply(Tt(this),arguments)},filter:function(t){return kt(this,J(Tt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return tt(Tt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return et(Tt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){q(Tt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Tt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return it(Tt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ht.apply(Tt(this),arguments)},lastIndexOf:function(t){return st.apply(Tt(this),arguments)},map:function(t){return Pt(Tt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ut.apply(Tt(this),arguments)},reduceRight:function(t){return lt.apply(Tt(this),arguments)},reverse:function(){for(var t,e=Tt(this).length,i=Math.floor(e/2),n=0;n1?arguments[1]:void 0)},sort:function(t){return ct.call(Tt(this),t)},subarray:function(t,e){var i=Tt(this),n=i.length,r=v(t,n);return new(j(i,i[vt]))(i.buffer,i.byteOffset+r*i.BYTES_PER_ELEMENT,m((void 0===e?n:v(e,n))-r))}},Et=function(t,e){return kt(this,pt.call(Tt(this),t,e))},Rt=function(t){Tt(this);var e=St(arguments[1],1),i=this.length,n=w(t),r=m(n.length),o=0;if(r+e>i)throw U("Wrong length!");for(;o255?255:255&r),o.v[p](i*e+o.o,r,wt)}(this,i,t)},enumerable:!0})};b?(f=i(function(t,i,n,r){c(t,f,l,"_d");var o,a,s,u,h=0,p=0;if(P(i)){if(!(i instanceof K||"ArrayBuffer"==(u=_(i))||"SharedArrayBuffer"==u))return xt in i?It(f,i):Vt.call(f,i);o=i,p=St(n,e);var g=i.byteLength;if(void 0===r){if(g%e)throw U("Wrong length!");if((a=g-p)<0)throw U("Wrong length!")}else if((a=m(r)*e)+p>g)throw U("Wrong length!");s=a/e}else s=y(i),o=new K(a=s*e);for(d(t,"_d",{b:o,o:p,l:a,e:s,v:new Z(o)});h0&&e.length>0){var r=s.moveTo({x:t[0].x-.2,y:t[0].y-.2})+s.moveTo(t[0])+new h.b(i,n).smooth(t);0==this.strokeOpacity||0==this.strokeSprite.strokeOpacity||(this.strokeSprite.path=r),(this.fillOpacity>0||this.fillSprite.fillOpacity>0)&&(r+=s.lineTo(e[0])+new h.b(i,n).smooth(e),r+=s.lineTo(t[0]),r+=s.closePath(),this.fillSprite.path=r)}else this.fillSprite.path="",this.strokeSprite.path=""},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e);var i=this.strokeSprite;u.copyProperties(e,i.properties,o.b),i.events.copyFrom(e.strokeSprite.events),i.fillOpacity=0;var n=this.fillSprite;u.copyProperties(e,n.properties,o.b),n.events.copyFrom(e.fillSprite.events),n.strokeOpacity=0},e}(r.a);a.c.registeredClasses.LineSeriesSegment=c},Ybtf:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("FzPm"),o=i("aCit"),a=function(t){function e(){var e=t.call(this)||this;return e.className="Ellipse",e.element=e.paper.add("ellipse"),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.element.attr({rx:this.radius}),this.element.attr({ry:this.radiusY})},Object.defineProperty(e.prototype,"radiusY",{get:function(){return this.innerHeight/2},set:function(t){this.height=2*t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.innerWidth/2},set:function(t){this.width=2*t,this.invalidate()},enumerable:!0,configurable:!0}),e}(r.a);o.c.registeredClasses.Ellipse=a},YnyG:function(t,e,i){var n=i("Gb1H"),r=i("K0ev"),o=i("snR7");n(n.S,"Reflect",{getPrototypeOf:function(t){return r(o(t))}})},YotE:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("o0Lc"),o=i("hD5A"),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._domEvents={},e}return n.c(e,t),e.prototype._addDOMEvent=function(t,e,i,n){var r=this;if(!this._domEvents[t]){var a=function(t){i.call(n,e,t)};this.target.element.addEventListener(t,a,!1),this._domEvents[t]=new o.a(function(){delete r._domEvents[t],r.target.element.removeEventListener(t,a,!1)})}return this._domEvents[t].increment()},e.prototype._dispatchKeyboardEvent=function(t,e){this.target.events.isEnabled(t)&&this.target.events.dispatchImmediately(t,{type:t,target:this.target,event:e})},e.prototype._on=function(e,i,n,r,a,s){var u=t.prototype._on.call(this,e,i,n,r,a,s),l=[u.disposer];switch(i){case"hit":case"doublehit":case"rightclick":case"down":case"up":this.target.clickable=!0;break;case"drag":case"dragstart":case"dragstop":this.target.draggable=!0;break;case"track":this.target.trackable=!0;break;case"resize":this.target.resizable=!0;break;case"swipe":case"swipeleft":case"swiperight":this.target.swipeable=!0;break;case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":this.target.wheelable=!0;break;case"over":case"out":this.target.hoverable=!0;break;case"focus":case"blur":case"focusin":case"focusout":this.target.focusable=!0;break;case"keydown":case"keyup":case"keypress":case"input":l.push(this._addDOMEvent(i,i,this._dispatchKeyboardEvent,this))}return u.disposer=new o.c(l),u},e}(r.b)},YxCF:function(t,e,i){"use strict";var n=i("oGmz")(!0);t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},ZLF9:function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i("m4/l"),r=i("Tjl+"),o=i("P7v+"),a=i("vMqJ"),s=i("1yyj"),u=i("aCit"),l=i("MIZb"),h=i("Wglt"),c=i("Qkdp"),p=i("Mtpk"),d=function(t){function e(){var e=t.call(this)||this;e._elements=new a.b,e.properties={},e.className="Pattern",e.width=10,e.height=10,e.x=0,e.y=0,e.patternUnits="userSpaceOnUse";var i=new l.a;return e.backgroundFill=i.getFor("background"),e.backgroundOpacity=0,e.fillOpacity=1,e.fill=i.getFor("alternativeBackground"),e.stroke=i.getFor("alternativeBackground"),e.strokeOpacity=1,e.strokeWidth=1,e.shapeRendering="crispEdges",e.rotation=0,e.element=e.paper.addGroup("pattern"),e.id="pattern-"+u.c.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e._disposers.push(new a.c(e._elements)),e.patternUnits=e.patternUnits,e.width=e.width,e.height=e.height,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){var t=this,e=this.element;if(e){e.removeChildNodes();var i=this.paper.add("rect");i.attr({width:this.width,height:this.height,"shape-rendering":"crispEdges",fill:this.backgroundFill.hex,"fill-opacity":this.backgroundOpacity,stroke:this.backgroundFill.hex,"stroke-opacity":this.backgroundOpacity}),e.add(i),e.attr({x:this.x,y:this.y,width:this.width,height:this.height,stroke:this.stroke.hex,fill:this.fill.hex,"fill-opacity":this.fillOpacity,"stroke-opacity":this.strokeOpacity,"stroke-width":this.strokeWidth,"shape-rendering":this.shapeRendering,patternUnits:this.patternUnits,"stroke-dasharray":this.strokeDasharray}),h.each(this._elements.iterator(),function(e){e.rotation=t.rotation,e.rotationX=t.properties.rotationX,e.rotationY=t.properties.rotationY,t.element.add(e)})}},e.prototype.animate=function(t,e,i){return new s.a(this,t,e,i).start()},e.prototype.addElement=function(t){this._elements.push(t),this._disposers.push(t)},e.prototype.removeElement=function(t){this._elements.removeValue(t),this.removeDispose(t)},Object.defineProperty(e.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillOpacity",{get:function(){return this.properties.fillOpacity},set:function(t){this.properties.fillOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.properties.fill},set:function(t){this.properties.fill=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundFill",{get:function(){return this.properties.backgroundFill},set:function(t){this.properties.backgroundFill=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundOpacity",{get:function(){return this.properties.backgroundOpacity},set:function(t){this.properties.backgroundOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.properties.stroke},set:function(t){this.properties.stroke=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeOpacity",{get:function(){return this.properties.strokeOpacity},set:function(t){this.properties.strokeOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth},set:function(t){this.properties.strokeWidth=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shapeRendering",{get:function(){return this.properties.shapeRendering},set:function(t){this.properties.shapeRendering=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this.properties.rotation},set:function(t){this.properties.rotation=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"patternUnits",{get:function(){return this.properties.patternUnits},set:function(t){this.properties.patternUnits=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.properties.width},set:function(t){this.properties.width=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.properties.height},set:function(t){this.properties.height=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x",{get:function(){return this.properties.x},set:function(t){this.properties.x=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.properties.y},set:function(t){this.properties.y=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:Object(o.b)()},set:function(t){this._paper!=t&&(this._paper=t,this.draw(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),c.each(e.properties,function(t,e){i[t]=e})},Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new s.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDasharray",{get:function(){return this.properties.strokeDashArray},set:function(t){this.properties.strokeDashArray=t,this.draw()},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){if(e&&p.hasValue(e.elements)&&p.isArray(e.elements))for(var i=0,n=e.elements.length;i1&&(n=Math.min(n,o(arguments[1]))),n<0&&(n=i+n);n>=0;n--)if(n in e&&e[n]===t)return n||0;return-1}})},ZytL:function(t,e,i){i("6+x4")("Map")},a8UT:function(t,e,i){var n=i("9BM3"),r=i("YEtG")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[r]===t)}},aCit:function(t,e,i){"use strict";i.d(e,"a",function(){return l}),i.d(e,"c",function(){return h}),e.b=function(t,e){var i=h.registeredClasses[e];return null!=i&&t instanceof i};var n=i("o0Lc"),r=i("+qIf"),o=i("eCqC"),a=i("Mtpk"),s=i("wUYf"),u=i("hJ5i"),l=function(){function t(){this.events=new n.a,this.themes=[],this.loadedThemes={},this._uidCount=0,this.registeredClasses={},this._placeholders={},this.invalidSprites={},this.invalidDatas={},this.invalidRawDatas=[],this.invalidDataItems=[],this.invalidDataRange=[],this.invalidPositions={},this.invalidLayouts={},this.baseSprites=[],this.baseSpritesByUid={},this.queue=[],this.uid=this.getUniqueId(),this.invalidSprites.noBase=[],this.invalidDatas.noBase=[],this.invalidLayouts.noBase=[],this.invalidPositions.noBase=[]}return t.prototype.getUniqueId=function(){var t=this._uidCount;return this._uidCount+=1,"id-"+t},Object.defineProperty(t.prototype,"map",{get:function(){return this._map||(this._map=new r.a),this._map},enumerable:!0,configurable:!0}),t.prototype.setCache=function(t,e,i){o.b.set(this.uid,t,e,i)},t.prototype.getCache=function(t,e){return void 0===e&&(e=void 0),o.b.get(this.uid,t,e)},t.prototype.dispatch=function(t,e){this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatch(t,{type:t,target:this})):this.events.dispatch(t,{type:t,target:this}))},t.prototype.dispatchImmediately=function(t,e){this.events.isEnabled(t)&&(e?(e.type=t,e.target=e.target||this,this.events.dispatchImmediately(t,e)):this.events.dispatchImmediately(t,{type:t,target:this}))},t.prototype.getPlaceholder=function(t){return a.hasValue(this._placeholders[t])?this._placeholders[t]:(this._placeholders[t]="__amcharts_"+t+"_"+s.random(8)+"__",this._placeholders[t])},t.prototype.addToInvalidComponents=function(t){t.baseId?u.move(this.invalidDatas[t.baseId],t):u.move(this.invalidDatas.noBase,t)},t.prototype.removeFromInvalidComponents=function(t){t.baseId&&u.remove(this.invalidDatas[t.baseId],t),u.remove(this.invalidDatas.noBase,t)},t.prototype.addToInvalidSprites=function(t){t.baseId?u.add(this.invalidSprites[t.baseId],t):u.add(this.invalidSprites.noBase,t)},t.prototype.removeFromInvalidSprites=function(t){t.baseId&&u.remove(this.invalidSprites[t.baseId],t),u.remove(this.invalidSprites.noBase,t)},t.prototype.addToInvalidPositions=function(t){t.baseId?u.add(this.invalidPositions[t.baseId],t):u.add(this.invalidPositions.noBase,t)},t.prototype.removeFromInvalidPositions=function(t){t.baseId&&u.remove(this.invalidPositions[t.baseId],t),u.remove(this.invalidPositions.noBase,t)},t.prototype.addToInvalidLayouts=function(t){t.baseId?u.add(this.invalidLayouts[t.baseId],t):u.add(this.invalidLayouts.noBase,t)},t.prototype.removeFromInvalidLayouts=function(t){t.baseId&&u.remove(this.invalidLayouts[t.baseId],t),u.remove(this.invalidLayouts.noBase,t)},t}(),h=new l},aFzC:function(t,e,i){"use strict";i.d(e,"b",function(){return u}),e.c=function(t,e,i,o,l,h){var c=t.x,p=t.y,d=e.x,f=e.y,g=s.getDistance(t,e);h&&(i=g/Math.round(g/i));var m=n.c.getCache(a.stringify(["wavedLine",t.x,e.x,t.y,e.y,i,o]));if(!m){if(g>0){var y=Math.atan2(f-p,d-c),v=Math.cos(y),b=Math.sin(y),x=i*v,_=i*b;if(i<=1||o<=1)m=r.lineTo(e);else{var P=Math.round(2*g/i),w=[],O=1;d=1&&i>=1)return r.polyline(t);var n=t[0],o=t[t.length-1],a=!1;s.round(n.x,3)==s.round(o.x)&&s.round(n.y)==s.round(o.y)&&(a=!0);for(var u="",l=0,h=t.length-1;l0&&e=0;i--){var n=this.dataItems.getIndex(i).getActualWorkingValue(t);if(_.isNumber(n))return n}return null},e.prototype.getAbsoluteFirstValue=function(t){for(var e=0;e0){var g=i.getIndex(d-1);x.each(g.values,function(t,e){var i=g.getActualWorkingValue(t);_.isNumber(i)&&(h[t]=i)})}for(var m=function(t){var f=i.getIndex(t);x.each(f.values,function(t,i){var g=f.getActualWorkingValue(t);if(_.isNumber(g)){_.isNumber(n[t])||(n[t]=0),n[t]++,_.isNumber(r[t])||(r[t]=0),r[t]+=g,_.isNumber(o[t])||(o[t]=0),o[t]+=Math.abs(g),_.isNumber(u[t])||(u[t]=g),l[t]=g,_.isNumber(a[t])?a[t]>g&&(a[t]=g):a[t]=g,_.isNumber(s[t])?s[t]0){n==i&&(i=e.values[t].value);var r=n/i*100;e.setCalculatedValue(t,r,"percent")}else e.setCalculatedValue(t,0,"percent")})};for(v=d;v0){var P=i.getIndex(d-1);x.each(P.values,function(t){var e=P.values[t].value;P.setCalculatedValue(t,e-u[t],"change"),P.setCalculatedValue(t,(e-u[t])/u[t]*100,"changePercent")})}var w=this.dataItem;x.each(w.values,function(t){w.setCalculatedValue(t,r[t],"sum"),w.setCalculatedValue(t,o[t],"absoluteSum"),w.setCalculatedValue(t,r[t]/n[t],"average"),w.setCalculatedValue(t,u[t],"open"),w.setCalculatedValue(t,l[t],"close"),w.setCalculatedValue(t,a[t],"low"),w.setCalculatedValue(t,s[t],"high"),w.setCalculatedValue(t,n[t],"count")})}},e.prototype.validate=function(){m.each(this.axisRanges.iterator(),function(t){t.validate()}),t.prototype.validate.call(this);var e=this.bulletsContainer;if(e.fill=this.fill,e.stroke=this.stroke,e.x=this.pixelX,e.y=this.pixelY,this.bulletsContainer.children.length>0)if(this._showBullets){for(var i=0;ithis.endIndex;i--){var n;(n=this.dataItems.getIndex(i))&&n.bullets.each(function(t,e){e.__disabled=!0})}}else this.bulletsContainer.children.each(function(t){t.__disabled=!0});this.updateTooltipBounds()},e.prototype.updateTooltipBounds=function(){if(this.topParent){var t={x:0,y:0,width:this.topParent.maxWidth,height:this.topParent.maxHeight};this.tooltip.setBounds(t)}},e.prototype.shouldCreateBullet=function(t,e){return!0},e.prototype.validateDataElement=function(e){var i=this;t.prototype.validateDataElement.call(this,e),this._showBullets?(this.isHidden||(this.bulletsContainer.visible=!0),this.bullets.each(function(t){var n=e.bullets.getKey(t.uid);if(i.shouldCreateBullet(e,t)){if(!n){var r=t.propertyFields.disabled,o=e.dataContext;r&&o&&!1===o[r]?(t.applyOnClones=!1,t.disabled=!1,n=t.clone(),t.disabled=!0,t.applyOnClones=!0):n=t.clone(),n.shouldClone=!1,e.addSprite(n),i.visible&&!i.isHiding||n.hide(0)}var a=n.dataItem;if(a!=e){a&&a.bullets.setKey(t.uid,void 0);var s=i.itemReaderText;n instanceof c.a&&(s||(s="{"+n.xField+"}: {"+n.yField+"}"),n.isDynamic&&(e.events.on("workingvaluechanged",n.deepInvalidate,n,!1),i.dataItem.events.on("workingvaluechanged",n.deepInvalidate,n,!1)),n.deepInvalidate()),n.focusable&&(n.events.on("focus",function(t){n.readerTitle=i.populateString(s,n.dataItem)},void 0,!1),n.events.on("blur",function(t){n.readerTitle=""},void 0,!1)),n.hoverable&&(n.events.on("over",function(t){n.readerTitle=i.populateString(s,n.dataItem)},void 0,!1),n.events.on("out",function(t){n.readerTitle=""},void 0,!1))}n.parent=i.bulletsContainer,e.bullets.setKey(t.uid,n),n.maxWidth=e.itemWidth,n.maxHeight=e.itemHeight,n.__disabled=!1,i.positionBullet(n)}})):this.bulletsContainer.visible=!1},e.prototype.handleDataItemWorkingValueChange=function(t,e){this.dataRangeInvalid||this.invalidateProcessedData()},Object.defineProperty(e.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(t){this._ignoreMinMax=t,this.invalidateDataItems()},enumerable:!0,configurable:!0}),e.prototype.createMask=function(){},e.prototype.processAxisRange=function(t){this.rangesContainer||(this.rangesContainer=this.createChild(l.a),this.rangesContainer.shouldClone=!1,this.rangesContainer.isMeasured=!1);var e=t.newValue;e&&(e.contents.parent=this.rangesContainer,e.isRange=!0,e.events.on("valuechanged",this.invalidateDataItems,this,!1))},e.prototype.getAxisField=function(t){},e.prototype.showTooltipAtPosition=function(t,e){},Object.defineProperty(e.prototype,"minBulletDistance",{get:function(){return this.getPropertyValue("minBulletDistance")},set:function(t){this.setPropertyValue("minBulletDistance",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bullets",{get:function(){return this._bullets||(this._bullets=new a.e(new c.a),this._bullets.template.virtualParent=this,this._bullets.events.on("inserted",this.processBullet,this,!1),this._bullets.events.on("removed",this.removeBullet,this,!1),this._disposers.push(new a.c(this._bullets)),this._disposers.push(this._bullets.template)),this._bullets},enumerable:!0,configurable:!0}),e.prototype.createLegendMarker=function(t){},Object.defineProperty(e.prototype,"hiddenInLegend",{get:function(){return this.getPropertyValue("hiddenInLegend")},set:function(t){this.setPropertyValue("hiddenInLegend",t)&&this.chart&&this.chart.feedLegend()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.getPropertyValue("name")},set:function(t){this.setPropertyValue("name",t);var e=this.legendDataItem;e&&(e.component.invalidate(),e.component.invalidateRawData()),this.readerTitle=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemReaderText",{get:function(){var t=this._itemReaderText;return t||(this.tooltipText?t=b.plainText(this.tooltipText):this.tooltipHTML&&(t=b.plainText(this.tooltipHTML))),this._adapterO?this._adapterO.apply("itemReaderText",t):t},set:function(t){this._itemReaderText=t,this._itemReaderTextChanged=!0},enumerable:!0,configurable:!0}),e.prototype.itemsFocusable=function(){return!(this.dataItems.length>=this.skipFocusThreshold)},Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),e.prototype.updateLegendValue=function(t,e){if(this.legendDataItem){var i=this.legendSettings,n=this.legendDataItem,r=n.label,o=n.valueLabel;t||e?(o&&(i.itemValueText&&(o.text=i.itemValueText),o.dataItem=t),r&&(i.itemLabelText&&(r.text=i.itemLabelText),r.dataItem=t)):(r&&((i.labelText||void 0!=i.itemLabelText)&&(r.text=i.labelText),r.dataItem=this.dataItem),o&&((i.valueText||void 0!=i.itemValueText)&&(o.text=i.valueText),o.dataItem=this.dataItem))}},e.prototype.copyFrom=function(e){this.bullets.copyFrom(e.bullets),this.bulletsContainer.copyFrom(e.bulletsContainer),this.calculatePercent=e.calculatePercent,this.simplifiedProcessing=e.simplifiedProcessing,t.prototype.copyFrom.call(this,e)},e.prototype.raiseCriticalError=function(t){this._chart&&this._chart.modal&&(this._chart.modal.content=this._chart.adapter.apply("criticalError",t).message,this._chart.modal.closable=!1,this._chart.modal.open(),this._chart.disabled=!0),d.a.verbose&&console.log(t)},e.prototype.applyFilters=function(){var e=this;t.prototype.applyFilters.call(this),this.bulletsContainer.filters.clear(),m.each(this.filters.iterator(),function(t){e.bulletsContainer.filters.push(t.clone())})},Object.defineProperty(e.prototype,"heatRules",{get:function(){var t=this;return this._heatRules||(this._heatRules=new a.b,this._heatRules.events.on("inserted",function(e){var i=e.newValue,n=i.target;if(n){var r=i.dataField;_.hasValue(r)||(r="value");var a=i.min,s=i.max,u=t.dataItem,h=i.property,c=_.toNumber(i.minValue),p=_.toNumber(i.maxValue);_.isNumber(c)||_.isNumber(p)||t.dataItem.events.on("calculatedvaluechanged",function(e){e.property==r&&m.each(t.dataItems.iterator(),function(t){var e=!1;P.each(t.sprites,function(t){if(t.clonedFrom==n){var i=t;i[h]=i[h],e=!0}}),e||P.each(t.sprites,function(t){t instanceof l.a&&m.each(t.children.iterator(),function(t){if(t.className==n.className){var e=t;e[h]=e[h]}else t instanceof l.a&&t.deepInvalidate()})})})}),t.dataItems.template.events.on("workingvaluechanged",function(t){if(t.property==r){var e=t.target,i=!1;P.each(e.sprites,function(t){if(t.clonedFrom==n){var e=t;e[h]=e[h],i=!0}}),i||P.each(e.sprites,function(t){t instanceof l.a&&m.each(t.children.iterator(),function(t){if(t.className==n.className){var e=t;e[h]=e[h]}else t instanceof l.a&&t.deepInvalidate()})})}}),n.adapter.add(h,function(t,e,n){var l=_.toNumber(i.minValue),h=_.toNumber(i.maxValue);if(e instanceof o.a){var c=e.propertyFields[n];if(c&&e.dataItem){var p=e.dataItem.dataContext;if(p&&_.hasValue(p[c]))return t}}var d=e.dataItem;if((_.isNumber(l)||(l=u.values[r].low),_.isNumber(h)||(h=u.values[r].high),d)&&d.values[r]){var g=d.getActualWorkingValue(r);if(_.hasValue(a)&&_.hasValue(s)&&_.isNumber(l)&&_.isNumber(h)&&_.isNumber(g)){var m=(g-l)/(h-l);if(_.isNumber(g)&&!_.isNumber(m)&&(m=.5),_.isNumber(a))return a+(s-a)*m;if(a instanceof f.a)return new f.a(w.interpolate(a.rgb,s.rgb,m))}}return t})}})),this._heatRules},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){var i;if(e){if(_.hasValue(e.bullets)&&_.isArray(e.bullets))for(var n=0,r=e.bullets.length;n0)m=t(e,i,f,o(f.length),m,c-1)-1;else{if(m>=9007199254740991)throw TypeError();e[m]=f}m++}y++}return m}},aae5:function(t,e,i){var n=i("Gb1H");n(n.P,"String",{repeat:i("lhvN")})},akNo:function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i("m4/l"),r=i("P/bD"),o=i("Tjl+"),a=i("MipW"),s=i("aCit"),u=i("ScGY"),l=i("Qkdp"),h=i("v9UT"),c=i("Mtpk"),p=i("Gg2j"),d=function(t){function e(){var e=t.call(this)||this;return e._negativeBase=0,e._baseUnit="second",e._outputFormat="svg",e._unitValues={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6},e._unitAliases={Y:"y",D:"d",H:"h",K:"h",k:"h",n:"S"},e.className="DurationFormatter",e.applyTheme(),e}return n.c(e,t),e.prototype.format=function(t,e,i){this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.a);var n=i||this._baseUnit;void 0!==e&&""!==e||(e=c.hasValue(this.durationFormat)?this.durationFormat:this.getFormat(c.toNumber(t),null,n)),e=h.cleanFormat(e);var o,a=this.parseFormat(e,n),s=Number(t);o=s>this._negativeBase?a.positive:s"+u+"":"html"===this._outputFormat&&(u=""+u+"")),u},e.prototype.parseFormat=function(t,e){var i=this,n=this.getCache(t);if(c.hasValue(n))return n;var r=e||this._baseUnit,o={positive:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1},negative:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1},zero:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1}},s=(t=t.replace("||",u.e)).split("|");return o.positive.source=s[0],void 0===s[2]?o.zero=o.positive:o.zero.source=s[2],void 0===s[1]?o.negative=o.positive:o.negative.source=s[1],l.each(o,function(t,e){if(!e.parsed)if(void 0===i.getCache(e.source)){var n,r=e.source;(n=e.source.match(/^\[([^\]]*)\]/))&&n.length&&""!==n[0]&&(r=e.source.substr(n[0].length),e.color=n[1]);for(var s=Object(a.b)().chunk(r,!0),l=0;lh;)for(var d,f=u(arguments[h++]),g=c?r(f).concat(c(f)):r(f),m=g.length,y=0;m>y;)d=g[y++],n&&!p.call(f,d)||(i[d]=f[d]);return i}:l},brDO:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},bytU:function(t,e,i){var n=i("4BRe"),r=i("FmWr");t.exports=function(t){if(void 0===t)return 0;var e=n(t),i=r(e);if(e!==i)throw RangeError("Wrong length!");return i}},"cA+3":function(t,e,i){var n=i("wDk4");t.exports=function(t,e,i){for(var r in e)n(t,r,e[r],i);return t}},cOH5:function(t,e,i){"use strict";i.d(e,"a",function(){return r});var n=i("m4/l"),r=function(t){function e(e){return t.call(this,e)||this}return n.c(e,t),e.prototype.add=function(t){t&&this.node.appendChild(t.node)},e.prototype.addToBack=function(t){if(t){var e=this.node.childNodes[0];e?e!=t.node&&this.node.insertBefore(t.node,e):this.node.appendChild(t.node)}},e.prototype.removeElement=function(t){if(t)try{t.node&&t.node.parentNode==this.node&&this.node.removeChild(t.node)}catch(t){}},e.prototype.hasChild=function(t){for(var e=0;e0;){var t=this.node.firstChild;t&&t.parentNode&&t.parentNode.removeChild(t)}},e}(i("pzs1").a)},ch2R:function(t,e,i){var n=i("hjwn"),r=i("Gb1H"),o=i("snR7"),a=i("W0fk");r(r.S+r.F*i("AEc5")(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,i){o(t),e=a(e,!0),o(i);try{return n.f(t,e,i),!0}catch(t){return!1}}})},cm0w:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{umulh:function(t,e){var i=+t,n=+e,r=65535&i,o=65535&n,a=i>>>16,s=n>>>16,u=(a*o>>>0)+(r*o>>>16);return a*s+(u>>>16)+((r*s>>>0)+(65535&u)>>>16)}})},cxKZ:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n=i("m4/l"),r=i("C6dT"),o=i("aCit"),a=i("MZQ8"),s=i("p9TX"),u=i("1yyj"),l=i("8ZqG"),h=i("VAFc"),c=i("Gg2j"),p=i("0FpR"),d=i("v9UT"),f=function(t){function e(){var e=t.call(this)||this;e._boundingRect={x:-4e4,y:-4e4,width:8e4,height:8e4},e._pointTo={x:0,y:0},e.fitPointerToBounds=!1,e._verticalOrientation="up",e.className="Tooltip",e.isMeasured=!1,e.getFillFromObject=!0,e.margin(5,5,5,5),e.defaultState.transitionDuration=1,e.hiddenState.transitionDuration=1;var i=e.background;i.interactionsEnabled=!1,i.fillOpacity=.9,i.strokeWidth=1,i.strokeOpacity=1,i.stroke=Object(l.c)("#ffffff"),i.cornerRadius=3,i.pointerLength=6,i.pointerBaseWidth=10;var n=new h.a;n.dy=1,n.dx=1,n.opacity=.5,i.filters.push(n),e.autoTextColor=!0;var r=e.createChild(s.a);return r.shouldClone=!1,e.label=r,r.padding(7,12,4,12),r.interactionsEnabled=!1,r.horizontalCenter="middle",r.fill=Object(l.c)("#ffffff"),e._disposers.push(r),e.label.events.on("sizechanged",e.drawBackground,e),e.label.zIndex=1,e.pointerOrientation="vertical",e.animationDuration=0,e.animationEasing=p.cubicOut,e.setPropertyValue("showInViewport",!1),e.role="tooltip",e.visible=!1,e.opacity=0,e.x=0,e.y=0,e.events.on("visibilitychanged",e.handleVisibility,e),e.applyTheme(),e}return n.c(e,t),e.prototype.handleVisibility=function(){this.visible&&this.label.invalidate()},Object.defineProperty(e.prototype,"getStrokeFromObject",{get:function(){return this.getPropertyValue("getStrokeFromObject")},set:function(t){this.setPropertyValue("getStrokeFromObject",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoTextColor",{get:function(){return this.getPropertyValue("autoTextColor")},set:function(t){this.setPropertyValue("autoTextColor",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepTargetHover",{get:function(){return this.getPropertyValue("keepTargetHover")},set:function(t){var e=this;this.setPropertyValue("keepTargetHover",t,!0)&&t&&(this.hoverable=!0,this.background.interactionsEnabled=!0,this._disposers.push(this.events.on("over",function(t){e.targetSprite&&e.targetSprite.hoverable&&(e.targetSprite.isHover=!0)})),this._disposers.push(this.events.on("out",function(t){e.targetSprite&&e.targetSprite.hoverable&&(e.targetSprite.isHover=!1)})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showInViewport",{get:function(){return this.getPropertyValue("showInViewport")},set:function(t){this.setPropertyValue("showInViewport",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"getFillFromObject",{get:function(){return this.getPropertyValue("getFillFromObject")},set:function(t){this.setPropertyValue("getFillFromObject",t,!0)},enumerable:!0,configurable:!0}),e.prototype.createBackground=function(){return new a.a},Object.defineProperty(e.prototype,"pointerOrientation",{get:function(){return this.getPropertyValue("pointerOrientation")},set:function(t){this.setPropertyValue("pointerOrientation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this.getPropertyValue("animationDuration")},set:function(t){this.setPropertyValue("animationDuration",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animationEasing",{get:function(){return this.getPropertyValue("animationEasing")},set:function(t){this.setPropertyValue("animationEasing",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"html",{get:function(){return this.label.html},set:function(t){this.label.html!=t&&(this.label.html=t,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this.label.text},set:function(t){this.label.text!=t&&(this.label.text=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.label;e.invalid&&e.validate();var i,n,r=this._pointTo.x,o=this._pointTo.y,a=this._boundingRect,s=e.measuredWidth,u=e.measuredHeight,l=this.background.pointerLength;if(s>a.width){d.spritePointToDocument({x:a.x,y:a.y},this.parent);var h=d.spritePointToDocument({x:a.x+a.width,y:a.y+a.height},this.parent),p=document.body.offsetWidth;d.used(document.body.offsetHeight),h.x>p/2?a.x=a.width-s:a.width=a.x+s}var f=this.pointerOrientation;"horizontal"==f||"left"==f||"right"==f?(n=-u/2,i="horizontal"==f?r>a.x+a.width/2?-s/2-l:s/2+l:"left"==f?s/2+l:-s/2-l):(i=c.fitToRange(0,a.x-r+s/2,a.x-r+a.width-s/2),"vertical"==f?o>a.y+u+l?(n=-u-l,this._verticalOrientation="up"):(n=l,this._verticalOrientation="down"):"down"==f?(n=-u-l,this._verticalOrientation="up"):(n=l,this._verticalOrientation="down")),n=c.fitToRange(n,a.y-o,a.y+a.height-u-o),e.x=i,e.y=n,this.drawBackground()},e.prototype.updateBackground=function(){this.group.addToBack(this.background.group)},e.prototype.drawBackground=function(){var t=this.label,e=this.background,i=t.measuredWidth,n=t.measuredHeight,r=this._boundingRect,o=i,a=t.pixelX-i/2,s=n,u=t.pixelY,l=this._pointTo.x,h=this._pointTo.y,p=r.x-l,d=p+r.width,f=r.y-h,g=f+r.height;e.x=a,e.y=u,e.width=o,e.height=s,this.fitPointerToBounds?(e.pointerX=c.fitToRange(-e.x,p-e.x,d-e.x),e.pointerY=c.fitToRange(-e.y,f-e.y,g-e.y)):(e.pointerX=-e.x,e.pointerY=-e.y),e.validate()},e.prototype.pointTo=function(t,e){this._pointTo.x==t.x&&this._pointTo.y==t.y||(this._pointTo=t,this.invalidate(),!this.visible||e?(this.moveTo(this._pointTo),this._animation&&this._animation.kill()):0==this.pixelX&&0==this.pixelY?this.moveTo(this._pointTo):(this._animation&&this._animation.kill(),this._animation=new u.a(this,[{property:"x",to:t.x,from:this.pixelX},{property:"y",to:t.y,from:this.pixelY}],this.animationDuration,this.animationEasing).start()))},e.prototype.setBounds=function(t){var e=this._boundingRect;e.x==t.x&&e.y==t.y&&e.width==t.width&&e.height==t.height||(this._boundingRect=t,this.invalidate())},Object.defineProperty(e.prototype,"boundingContainer",{set:function(t){this._boundingContainer=t,t.events.on("sizechanged",this.updateBounds,this),t.events.on("positionchanged",this.updateBounds,this)},enumerable:!0,configurable:!0}),e.prototype.updateBounds=function(){var t=this._boundingContainer,e=d.spriteRectToSvg({x:t.pixelX,y:t.pixelY,width:t.maxWidth,height:t.maxHeight},t);this.setBounds(e)},Object.defineProperty(e.prototype,"verticalOrientation",{get:function(){return this._verticalOrientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltip",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.label.copyFrom(e.label),e._boundingRect&&(this._boundingRect=e._boundingRect)},e.prototype.asFunction=function(e){return"animationEasing"==e||t.prototype.asIs.call(this,e)},e}(r.a);o.c.registeredClasses.Tooltip=f},d5pU:function(t,e,i){i("6+x4")("WeakMap")},dJEq:function(t,e,i){var n=i("MfZA"),r=i("WtL7");t.exports=function(t){return function(){if(n(this)!=t)throw TypeError(t+"#toJSON isn't generic");return r(this)}}},dLrC:function(t,e,i){"use strict";var n=i("hgv4"),r=i("rFJX");t.exports=i("/Xnt")("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=n.getEntry(r(this,"Map"),t);return e&&e.v},set:function(t,e){return n.def(r(this,"Map"),0===t?0:t,e)}},n,!0)},"dS+R":function(t,e,i){i("YJIw")("Int8",1,function(t){return function(e,i,n){return t(this,e,i,n)}})},ds6r:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("dstF")(1);n(n.P+n.F*!i("GQop")([].map,!0),"Array",{map:function(t){return r(this,t,arguments[1])}})},dstF:function(t,e,i){var n=i("20m4"),r=i("sHIJ"),o=i("vJiZ"),a=i("FmWr"),s=i("L2Mu");t.exports=function(t,e){var i=1==t,u=2==t,l=3==t,h=4==t,c=6==t,p=5==t||c,d=e||s;return function(e,s,f){for(var g,m,y=o(e),v=r(y),b=n(s,f,3),x=a(v.length),_=0,P=i?d(e,x):u?d(e,0):void 0;x>_;_++)if((p||_ in v)&&(m=b(g=v[_],_,y),t))if(i)P[_]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return _;case 2:P.push(g)}else if(h)return!1;return c?-1:l||h?h:P}}},"e/xe":function(t,e,i){var n=i("Gb1H");n(n.S,"Object",{is:i("DVvQ")})},e8Nv:function(t,e,i){"use strict";var n=i("hjwn"),r=i("Wbjh");t.exports=function(t,e,i){e in t?n.f(t,e,r(0,i)):t[e]=i}},"e8Y+":function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{fround:i("kg8J")})},eAid:function(t,e,i){"use strict";i.d(e,"a",function(){return u});var n=i("m4/l"),r=i("Vs7R"),o=i("aCit"),a=i("8ZqG"),s=i("MIZb"),u=function(t){function e(){var e=t.call(this)||this;e.className="AxisLine",e.element=e.paper.add("path");var i=new s.a;return e.stroke=i.getFor("grid"),e.strokeOpacity=.15,e.pixelPerfect=!0,e.fill=Object(a.c)(),e.applyTheme(),e.interactionsEnabled=!1,e}return n.c(e,t),e}(r.a);o.c.registeredClasses.AxisLine=u},eBSV:function(t,e){e.f={}.propertyIsEnumerable},eCqC:function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return a});var n=i("+qIf"),r=i("Mtpk"),o=function(){function t(){this._storage=new n.a,this.ttl=1e3}return t.prototype.set=function(t,e,i,o){var a=this._storage.insertKeyIfEmpty(t,function(){return new n.a}),s={touched:(new Date).getTime(),ttl:r.isNumber(o)?o:this.ttl,value:i};a.setKey(e,s)},t.prototype.get=function(t,e,i){if(void 0===i&&(i=void 0),this._storage.hasKey(t)){var n=this._storage.getKey(t);if(n.hasKey(e)){var r=n.getKey(e);return r.ttl&&r.touched+r.ttl<(new Date).getTime()&&(r.expired=!0),r.expired?(n.removeKey(e),i):r.value}return i}return i},t.prototype.clear=function(t){t?this._storage.removeKey(t):this._storage.clear()},t}(),a=new o},eN1s:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("m4/l"),r=i("qzbU"),o=i("aCit"),a=function(t){function e(){var e=t.call(this)||this;return e.className="AxisTick",e.element=e.paper.add("path"),e.location=.5,e.above=!1,e.isMeasured=!1,e.pixelPerfect=!0,e.strokeOpacity=0,e.length=5,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inside",{get:function(){return this.getPropertyValue("inside")},set:function(t){this.setPropertyValue("inside",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"above",{get:function(){return this.getPropertyValue("above")},set:function(t){this.setPropertyValue("above",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(r.a);o.c.registeredClasses.AxisTick=a},eaU5:function(t,e,i){"use strict";i("Mvcd")("fixed",function(t){return function(){return t(this,"tt","","")}})},"eh+x":function(t,e){t.exports=Math.scale||function(t,e,i,n,r){return 0===arguments.length||t!=t||e!=e||i!=i||n!=n||r!=r?NaN:t===1/0||t===-1/0?t:(t-e)*(r-n)/(i-e)+n}},f5kt:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("dstF")(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),n(n.P+n.F*o,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),i("M/YL")("find")},fDnL:function(t,e,i){var n=i("Gb1H"),r=i("RzG0")(),o=i("T9LF").process,a="process"==i("DVYA")(o);n(n.G,{asap:function(t){var e=a&&o.domain;r(e?e.bind(t):t)}})},fL7J:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},fRTO:function(t,e,i){var n=i("vJiZ"),r=i("K0ev");i("5lay")("getPrototypeOf",function(){return function(t){return r(n(t))}})},fTgz:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},fi6C:function(t,e,i){"use strict";i("Mvcd")("link",function(t){return function(e){return t(this,"a","href",e)}})},fyXH:function(t,e,i){var n=i("Gb1H");n(n.P,"Function",{bind:i("lLkc")})},g2OP:function(t,e,i){var n=i("DvJ+"),r=i("kFp5").onFreeze;i("5lay")("seal",function(t){return function(e){return t&&n(e)?t(r(e)):e}})},gD3S:function(t,e,i){t.exports=!i("AEc5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},gJSe:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=i("K0ev"),a=n.has,s=n.get,u=n.key;n.exp({getMetadata:function(t,e){return function t(e,i,n){if(a(e,i,n))return s(e,i,n);var r=o(i);return null!==r?t(e,r,n):void 0}(t,r(e),arguments.length<3?void 0:u(arguments[2]))}})},gc4I:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("Ax3V"),o=i("DVYA"),a=i("UwWU"),s=i("FmWr"),u=[].slice;n(n.P+n.F*i("AEc5")(function(){r&&u.call(r)}),"Array",{slice:function(t,e){var i=s(this.length),n=o(this);if(e=void 0===e?i:e,"Array"==n)return u.call(this,t,e);for(var r=a(t,i),l=a(e,i),h=s(l-r),c=new Array(h),p=0;p3&&"pan"==this._generalBehavior&&(this.getPanningRanges(),this.dispatch("panning"))},e.prototype.updateLinePositions=function(t){t=this.fixPoint(this.point),this.lineX&&this.lineX.visible&&!this.xAxis&&(this.lineX.x=t.x),this.lineY&&this.lineY.visible&&!this.yAxis&&(this.lineY.y=t.y),this.updateSelection()},e.prototype.triggerDownReal=function(e){if(this.visible&&!this.isHiding)if("select"==this._generalBehavior&&(this.selection.parent=this.parent),this.fitsToBounds(e)){this.downPoint={x:e.x,y:e.y},this.updatePoint(e),this.point.x=this.downPoint.x,this.point.y=this.downPoint.y;var i=this.selection,n=this.downPoint.x,r=this.downPoint.y;this._usesSelection&&(i.x=n,i.y=r,i.path="",i.show()),t.prototype.triggerDownReal.call(this,e)}else this.downPoint=void 0;else this.downPoint=void 0},e.prototype.updatePoint=function(t){this.lineX&&(t.x=this.lineX.pixelX),this.lineY&&(t.y=this.lineY.pixelY)},e.prototype.triggerUpReal=function(e){if(p.getDistance(this._upPointOrig,this._downPointOrig)>Object(h.b)().getHitOption(this.interactions,"hitTolerance"))this.downPoint&&(this.upPoint=e,this.updatePoint(this.upPoint),"pan"!=this._generalBehavior&&this.getRanges(),"select"!=this._generalBehavior&&this.selection.hide(),t.prototype.triggerUpReal.call(this,e));else{if("select"!=this._generalBehavior?this.selection.hide(0):(this.xRange=void 0,this.yRange=void 0,this.dispatchImmediately("selectended")),"pan"==this._generalBehavior)Object(h.b)().setGlobalStyle(c.a.default);this.dispatchImmediately("behaviorcanceled")}this.downPoint=void 0,this.dispatch("cursorpositionchanged")},e.prototype.getPanningRanges=function(){var t=p.round(this.downPoint.x/this.innerWidth,5),e=1-p.round(this.downPoint.y/this.innerHeight,5),i=t-p.round(this.point.x/this.innerWidth,5),n=e-(1-p.round(this.point.y/this.innerHeight,5));this.xRange={start:i,end:1+i},this.yRange={start:n,end:1+n},"panX"==this.behavior&&(this.yRange.start=0,this.yRange.end=1),"panY"==this.behavior&&(this.xRange.start=0,this.xRange.end=1)},e.prototype.getRanges=function(){this.lineX&&(this.upPoint.x=this.lineX.pixelX),this.lineY&&(this.upPoint.y=this.lineY.pixelY),d.used(this.selection);var t=p.round(this.downPoint.x/this.innerWidth,5),e=p.round(this.upPoint.x/this.innerWidth,5),i=1-p.round(this.downPoint.y/this.innerHeight,5),n=1-p.round(this.upPoint.y/this.innerHeight,5);this.xRange={start:p.min(t,e),end:p.max(t,e)},this.yRange={start:p.min(i,n),end:p.max(i,n)}},Object.defineProperty(e.prototype,"behavior",{get:function(){return this.getPropertyValue("behavior")},set:function(t){this.setPropertyValue("behavior",t,!0),this._usesSelection=!1,-1!=t.indexOf("zoom")&&(this._generalBehavior="zoom",this._usesSelection=!0),-1!=t.indexOf("select")&&(this._generalBehavior="select",this._usesSelection=!0),-1!=t.indexOf("pan")&&(this._generalBehavior="pan",this._usesSelection=!1)},enumerable:!0,configurable:!0}),e.prototype.shouldPreventGestures=function(t){return!(this.interactions.isTouchProtected&&t||"none"==this.behavior)},Object.defineProperty(e.prototype,"fullWidthLineX",{get:function(){return this.getPropertyValue("fullWidthLineX")},set:function(t){this.setPropertyValue("fullWidthLineX",t),t||this.updateSize()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWidthLineY",{get:function(){return this.getPropertyValue("fullWidthLineY")},set:function(t){this.setPropertyValue("fullWidthLineY",t),t||this.updateSize()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideSeriesTooltipsOnSelection",{get:function(){return this.getPropertyValue("hideSeriesTooltipsOnSelection")},set:function(t){this.setPropertyValue("hideSeriesTooltipsOnSelection",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxTooltipDistance",{get:function(){return this.getPropertyValue("maxTooltipDistance")},set:function(t){this.setPropertyValue("maxTooltipDistance",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxPanOut",{get:function(){return this.getPropertyValue("maxPanOut")},set:function(t){this.setPropertyValue("maxPanOut",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"xAxis",{get:function(){return this._xAxis.get()},set:function(t){var e=this;this._xAxis.get()!=t&&this._xAxis.set(t,new a.c([t.tooltip.events.on("positionchanged",this.handleXTooltipPosition,this,!1),t.events.on("rangechangestarted",function(t){e.hide(0),e.preventShow=!0},void 0,!1),t.events.on("rangechangeended",function(t){e.preventShow=!1,e.hide(0),e.dispatch("cursorpositionchanged")},void 0,!1)]))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"yAxis",{get:function(){return this._yAxis.get()},set:function(t){var e=this;this._yAxis.get()!=t&&this._yAxis.set(t,new a.c([t.tooltip.events.on("positionchanged",this.handleYTooltipPosition,this,!1),t.events.on("rangechangestarted",function(t){e.hide(0),e.__disabled=!0},void 0,!1),t.events.on("rangechangeended",function(t){e.__disabled=!1,e.hide(0),e.dispatch("cursorpositionchanged")},void 0,!1)]))},enumerable:!0,configurable:!0}),e.prototype.handleXTooltipPosition=function(t){var e=this.xAxis.tooltip,i=d.svgPointToSprite({x:e.pixelX,y:e.pixelY},this),n=i.x;if(i.y=1,this.lineX&&(this.lineX.x=n,this.fitsToBounds(i)||this.hide()),this.xAxis&&this.fullWidthLineX){var r=this.xAxis.currentItemStartPoint,o=this.xAxis.currentItemEndPoint;if(r&&o){this.lineX.x=n;var a=o.x-r.x;this.lineX.path=g.rectangle(a,this.innerHeight,-a/2)}}},e.prototype.handleYTooltipPosition=function(t){var e=this.yAxis.tooltip,i=d.svgPointToSprite({x:e.pixelX,y:e.pixelY},this),n=i.y;if(i.x=1,this.lineY&&(this.lineY.y=n,this.fitsToBounds(i)||this.hide()),this.yAxis&&this.fullWidthLineY){var r=this.yAxis.currentItemStartPoint,o=this.yAxis.currentItemEndPoint;if(r&&o){this.lineY.y=n;var a=o.y-r.y;this.lineY.path=g.rectangle(this.innerWidth,a,0,-a/2)}}},Object.defineProperty(e.prototype,"lineX",{get:function(){return this._lineX.get()},set:function(t){t?(t.setElement(this.paper.add("path")),this._lineX.set(t,t.events.on("positionchanged",this.updateSelection,this,!1)),t.interactionsEnabled=!1,t.parent=this):this._lineX.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineY",{get:function(){return this._lineY.get()},set:function(t){t?(t.setElement(this.paper.add("path")),this._lineY.set(t,t.events.on("positionchanged",this.updateSelection,this,!1)),t.parent=this,t.interactionsEnabled=!1):this._lineY.reset()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){return this._selection},set:function(t){this._selection=t,t&&(t.element=this.paper.add("path"),t.parent=this)},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){e&&(f.hasValue(e.xAxis)&&f.isString(e.xAxis)&&(this.map.hasKey(e.xAxis)?e.xAxis=this.map.getKey(e.xAxis):(this.processingErrors.push('[XYCursor] No axis with id "'+e.xAxis+'" found for `xAxis`'),delete e.xAxis)),f.hasValue(e.yAxis)&&f.isString(e.yAxis)&&(this.map.hasKey(e.yAxis)?e.yAxis=this.map.getKey(e.yAxis):(this.processingErrors.push('[XYCursor] No axis with id "'+e.yAxis+'" found for `yAxis`'),delete e.yAxis)),f.hasValue(e.snapToSeries)&&f.isString(e.snapToSeries)&&(this.map.hasKey(e.snapToSeries)?e.snapToSeries=this.map.getKey(e.snapToSeries):(this.processingErrors.push('[XYCursor] No series with id "'+e.snapToSeries+'" found for `series`'),delete e.snapToSeries))),t.prototype.processConfig.call(this,e)},Object.defineProperty(e.prototype,"snapToSeries",{get:function(){return this.getPropertyValue("snapToSeries")},set:function(t){this.setPropertyValue("snapToSeries",t)&&(this._snapToDisposer&&this._snapToDisposer.dispose(),t&&(this._snapToDisposer=t.events.on("tooltipshownat",this.handleSnap,this,!1)))},enumerable:!0,configurable:!0}),e.prototype.handleSnap=function(){var t=this.snapToSeries,e=t.getTooltipX(),i=t.getTooltipY();this.xAxis&&this.xAxis.renderer.opposite&&(i-=this.pixelHeight),this.point={x:e,y:i},this.getPositions();var n=e,r=i;e-=this.pixelWidth,this.yAxis&&this.yAxis.renderer.opposite&&(e+=this.pixelWidth);var o=t.tooltip,a=o.animationDuration,s=o.animationEasing;t.baseAxis==t.xAxis&&t.yAxis.showTooltipAtPosition(this.yPosition),t.baseAxis==t.yAxis&&t.xAxis.showTooltipAtPosition(this.xPosition),this.lineX.animate([{property:"y",to:i}],a,s),this.lineY.animate([{property:"x",to:e}],a,s),this.xAxis||this.lineX.animate([{property:"x",to:n}],a,s),this.yAxis||this.lineY.animate([{property:"y",to:r}],a,s)},e.prototype.dispose=function(){this.hide(0),t.prototype.dispose.call(this)},e}(r.a);s.c.registeredClasses.XYCursor=m},hD5A:function(t,e,i){"use strict";i.d(e,"b",function(){return a}),i.d(e,"c",function(){return s}),i.d(e,"d",function(){return u}),i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("hJ5i"),o=i("Mtpk"),a=function(){function t(t){this._disposed=!1,this._dispose=t}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._dispose())},t}(),s=function(t){function e(e){return t.call(this,function(){r.each(e,function(t){t.dispose()})})||this}return n.c(e,t),e}(a),u=function(t){function e(){var e=t.call(this,function(){o.hasValue(e._disposer)&&(e._disposer.dispose(),e._disposer=void 0)})||this;return e}return n.c(e,t),e.prototype.get=function(){return this._value},e.prototype.set=function(t,e){o.hasValue(this._disposer)&&this._disposer.dispose(),this._disposer=e,this._value=t},e.prototype.reset=function(){this.set(void 0,void 0)},e}(a),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._counter=0,e}return n.c(e,t),e.prototype.increment=function(){var t=this;return++this._counter,new a(function(){--t._counter,0===t._counter&&t.dispose()})},e}(a)},hGwe:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.polyline=function(t){var e=u(t[0]),i={x:0,y:0},o=a.a.minPolylineStep;r.isNumber(o)||(o=.5);for(var s=0,l=t.length;so&&(e+=u(h),i=h)}return e},e.moveTo=s,e.lineTo=u,e.quadraticCurveTo=function(t,e){return" Q"+n.round(e.x,4)+","+n.round(e.y,4)+" "+n.round(t.x,4)+","+n.round(t.y,4)},e.cubicCurveTo=function(t,e,i){return" C"+n.round(e.x,4)+","+n.round(e.y,4)+" "+n.round(i.x,4)+","+n.round(i.y,4)+" "+n.round(t.x,4)+","+n.round(t.y,4)},e.closePath=l,e.arcTo=h,e.arc=function(t,e,i,o,a,l,p){if(0==e)return"";r.isNumber(o)||(o=0);if(0==i&&o<=0)return"";if(i(f-t)/2&&(D=O);var V="";360==e?V=s(T):(V=s(S),V+=u(T),V+=c(I,l,y,!0));V+=h(t+b,e-2*b,i,a),r.isNumber(o)&&0!=o?(360==e&&0==l?V+=s(k):(V+=c(C,l,y,!0),V+=u(k),V+=c(D,p,v,!0)),V+=h(f-_,-(e-2*_),o,m),(e<360||l>0)&&(V+=c(S,p,v,!0)),V+=u(S)):(V+=c(C,l,y,!0),e<360&&(V+=u(S)));return V},e.arcToPoint=c,e.rectangle=function(t,e,i,n){r.isNumber(i)||(i=0);r.isNumber(n)||(n=0);return s({x:i,y:n})+u({x:i+t,y:n})+u({x:i+t,y:n+e})+u({x:i,y:n+e})+" Z"},e.rectToPath=function(t,e){var i=",",n=" L";return e?"M"+t.x+i+t.y+n+t.x+i+(t.y+t.height)+n+(t.x+t.width)+i+(t.y+t.height)+n+(t.x+t.width)+i+t.y+n+t.x+i+t.y:"M"+t.x+i+t.y+n+(t.x+t.width)+i+t.y+n+(t.x+t.width)+i+(t.y+t.height)+n+t.x+i+(t.y+t.height)+n+t.x+i+t.y},e.pathToPoints=function(t,e){var i=Object(o.b)().add("path").node;if(i.setAttribute("d",t),i.getPointAtLength&&i.getTotalLength){for(var n=i.getTotalLength(),r=[],a=0;ac&&(f=2*c),(p+=2*Math.asin(f/2/c))*n.DEGREES>h+(i-a)/u*360)break;var g=p*n.DEGREES,m={x:t+c*Math.cos(p),y:e+c*o/i*Math.sin(p)};d.push(m),c=a+g/360*u}return d.shift(),d},e.pointsToPath=function(t){if(!t||0==t.length)return"";var e=s(t[0]);if(t&&t.length>0)for(var i=1;i3e3){var g=t+e;return u({x:y=n.round(n.cos(g)*i,4),y:v=n.round(n.sin(g)*o,4)})}for(var m=0;m>1,s=e(i,t[a]);s<0?r=a:0===s?(o=!0,n=a+1):n=a+1}return{found:o,index:o?n-1:n}},e.findIndex=h,e.find=function(t,e){var i=h(t,e);if(-1!==i)return t[i]},e.shuffle=function(t){var e,i,n=t.length;for(;0!==n;)i=Math.floor(Math.random()*n),e=t[n-=1],t[n]=t[i],t[i]=e};var n=i("Gg2j"),r=i("Mtpk");function o(t,e){for(var i=t.length,n=0;n1?arguments[1]:void 0,3);i=i?i.n:this._f;)for(n(i.v,i.k,this);i&&i.r;)i=i.p},has:function(t){return!!m(f(this,e),t)}}),p&&n(h.prototype,"size",{get:function(){return f(this,e)[g]}}),h},def:function(t,e,i){var n,r,o=m(t,e);return o?o.v=i:(t._l=o={i:r=d(e,!0),k:e,v:i,p:n=t._l,n:void 0,r:!1},t._f||(t._f=o),n&&(n.n=o),t[g]++,"F"!==r&&(t._i[r]=o)),t},getEntry:m,setStrong:function(t,e,i){l(t,e,function(t,i){this._t=f(t,e),this._k=i,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?h(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,h(1))},i?"entries":"values",!i,!0),c(e)}}},hjwn:function(t,e,i){var n=i("snR7"),r=i("HW78"),o=i("W0fk"),a=Object.defineProperty;e.f=i("gD3S")?Object.defineProperty:function(t,e,i){if(n(t),e=o(e,!0),n(i),r)try{return a(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},hpNl:function(t,e,i){"use strict";i.d(e,"a",function(){return r});var n=i("8ZqG"),r=function(){function t(){}return t.opacity=1,t.strokeOpacity=1,t.strokeWidth=1,t.fillOpacity=1,t.fill=Object(n.c)("#000000"),t.stroke=Object(n.c)("#000000"),t.focusable=void 0,t.tabindex=0,t}()},hpnp:function(t,e,i){var n=i("20m4"),r=i("sNEp"),o=i("a8UT"),a=i("snR7"),s=i("FmWr"),u=i("iOZG"),l={},h={};(e=t.exports=function(t,e,i,c,p){var d,f,g,m,y=p?function(){return t}:u(t),v=n(i,c,e?2:1),b=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=s(t.length);d>b;b++)if((m=e?v(a(f=t[b])[0],f[1]):v(t[b]))===l||m===h)return m}else for(g=y.call(t);!(f=g.next()).done;)if((m=r(g,v,f.value,e))===l||m===h)return m}).BREAK=l,e.RETURN=h},hxI2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.rgb=function(t,e){var i;o[t]?i=o[t]:"#"===t.charAt(0)?i=a(t):t.match(/^rgba?\(/)&&(i=s(t));i||(i={r:0,g:0,b:0,a:1});r.hasValue(e)&&(i.a=e);return i},e.hexToRgb=a,e.rgbaToRgb=s,e.rgbToHex=function(t){return"#"+u(t.r.toString(16))+u(t.g.toString(16))+u(t.b.toString(16))},e.rgbToRGBA=function(t){return r.hasValue(t.a)&&1!==t.a?"rgba("+t.r+","+t.g+","+t.b+","+t.a+")":"rgb("+t.r+","+t.g+","+t.b+")"},e.pad2=u,e.interpolate=function(t,e,i){return i=n.fitToRange(i,0,1),t?e?{r:t.r+Math.round((e.r-t.r)*i),g:t.g+Math.round((e.g-t.g)*i),b:t.b+Math.round((e.b-t.b)*i),a:(t.a||1)+Math.round(((e.a||1)-(t.a||1))*i)}:t:e||t},e.lighten=function(t,e){return t?{r:Math.max(0,Math.min(255,t.r+l(t.r,e))),g:Math.max(0,Math.min(255,t.g+l(t.g,e))),b:Math.max(0,Math.min(255,t.b+l(t.b,e))),a:t.a}:t},e.getLightnessStep=l,e.brighten=function(t,e){if(t){var i=Math.min(Math.max(t.r,t.g,t.b),230),n=l(i,e);return{r:Math.max(0,Math.min(255,Math.round(t.r+n))),g:Math.max(0,Math.min(255,Math.round(t.g+n))),b:Math.max(0,Math.min(255,Math.round(t.b+n))),a:t.a}}return t},e.getBrightnessStep=function(t,e){return Math.round(255*e)},e.saturate=function(t,e){if(null==t||1==e)return t;var i=c(t);return i.s=e,h(i)},e.hslToRgb=h,e.rgbToHsl=c,e.rgbToHsv=function(t){var e=t.r/255,i=t.g/255,n=t.b/255,r=Math.max(e,i,n),o=Math.min(e,i,n),a=0,s=0,u=r,l=r-o;if(s=0==r?0:l/r,r==o)a=0;else{switch(r){case e:a=(i-n)/l+(i=128};var n=i("Gg2j"),r=i("Mtpk"),o={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgrey:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},grey:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgrey:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},rebeccapurple:{r:102,g:51,b:153},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}};function a(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,i,n){return e+e+i+i+n+n});var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:void 0}function s(t){var e=(t=t.replace(/[ ]/g,"")).match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(e)e.push("1");else if(!(e=t.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i)))return;return{r:parseInt(e[1]),g:parseInt(e[2]),b:parseInt(e[3]),a:parseFloat(e[4])}}function u(t){return 1==t.length?"0"+t:""+t}function l(t,e){var i=e>0?255-t:t;return Math.round(i*e)}function h(t){var e,i,n,r=t.h,o=t.s,a=t.l;if(0==o)e=i=n=a;else{var s=function(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t},u=a<.5?a*(1+o):a+o-a*o,l=2*a-u;e=s(l,u,r+1/3),i=s(l,u,r),n=s(l,u,r-1/3)}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*n)}}function c(t){var e=t.r/255,i=t.g/255,n=t.b/255,r=Math.max(e,i,n),o=Math.min(e,i,n),a=0,s=0,u=(r+o)/2;if(r===o)a=s=0;else{var l=r-o;switch(s=u>.5?l/(2-r-o):l/(r+o),r){case e:a=(i-n)/l+(ih;)i=u[h++],n&&!a.call(s,i)||c.push(t?[i,s[i]]:s[i]);return c}}},iOZG:function(t,e,i){var n=i("MfZA"),r=i("YEtG")("iterator"),o=i("9BM3");t.exports=i("G5U1").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[n(t)]}},iTz5:function(t,e,i){var n=i("Gb1H"),r=i("UwWU"),o=String.fromCharCode,a=String.fromCodePoint;n(n.S+n.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,i=[],n=arguments.length,a=0;n>a;){if(e=+arguments[a++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");i.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return i.join("")}})},iYyY:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("snR7"),o=function(t){this._t=r(t),this._i=0;var e,i=this._k=[];for(e in t)i.push(e)};i("Cekr")(o,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),n(n.S,"Reflect",{enumerate:function(t){return new o(t)}})},icDv:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("aZcm"),o=i("vJiZ"),a=i("FmWr"),s=i("DbOM"),u=i("L2Mu");n(n.P,"Array",{flatMap:function(t){var e,i,n=o(this);return s(t),e=a(n.length),i=u(n,0),r(i,n,n,e,0,1,t,arguments[1]),i}}),i("M/YL")("flatMap")},iuHC:function(t,e,i){var n=i("Gb1H"),r=i("17ao");n(n.S+n.F*(Number.parseInt!=r),"Number",{parseInt:r})},izpu:function(t,e,i){var n=i("Gb1H");n(n.G,{global:i("T9LF")})},j2vi:function(t,e,i){var n=i("Gb1H"),r=i("snR7"),o=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){r(t);try{return o&&o(t),!0}catch(t){return!1}}})},jfaP:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("Vs7R"),o=i("8ZqG"),a=i("aCit"),s=i("hGwe"),u=i("Gg2j"),l=function(t){function e(){var e=t.call(this)||this;return e._distance=0,e.className="Polyline",e.element=e.paper.add("path"),e.shapeRendering="auto",e.fill=Object(o.c)(),e.strokeOpacity=1,e.applyTheme(),e}return n.c(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments;if(t&&t.length>0){for(var e="",i=0,n=t.length;i0){e+=s.moveTo(r[0]);for(var o=1;o1){for(var p=1;pt){h=i.length;break}}else 1==c.length&&(s=c[0],l=c[0],o=0,a=1)}if(s&&l){var d=(t-o)/(a-o),f=u.getMidPoint(s,l,d);return{x:f.x,y:f.y,angle:e+u.getAngle(s,l)}}}return{x:0,y:0,angle:0}},Object.defineProperty(e.prototype,"realSegments",{get:function(){return this._realSegments},enumerable:!0,configurable:!0}),e}(r.a);a.c.registeredClasses.Polyline=l},jgQn:function(t,e,i){i("gD3S")&&"g"!=/./g.flags&&i("hjwn").f(RegExp.prototype,"flags",{configurable:!0,get:i("x2K9")})},jvLk:function(t,e,i){"use strict";i("jgQn");var n=i("snR7"),r=i("x2K9"),o=i("gD3S"),a=/./.toString,s=function(t){i("wDk4")(RegExp.prototype,"toString",t,!0)};i("AEc5")(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var t=n(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?r.call(t):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},k6kv:function(t,e,i){"use strict";i.d(e,"a",function(){return g});var n=i("m4/l"),r=i("Meme"),o=i("5xph"),a=i("ND2/"),s=i("w4m0"),u=i("aCit"),l=i("tjMS"),h=i("Gg2j"),c=i("hGwe"),p=i("v9UT"),d=i("Mtpk"),f=i("TGuK"),g=function(t){function e(){var e=t.call(this)||this;return e.className="AxisRendererX",e.minGridDistance=120,e.opposite=!1,e.rotation=0,e.width=Object(l.c)(100),e.labels.template.horizontalCenter="middle",e.applyTheme(),e}return n.c(e,t),e.prototype.setAxis=function(e){t.prototype.setAxis.call(this,e),e.layout="vertical"},e.prototype.updateGridContainer=function(){var t=this.axis;if(t){var e=this.gridContainer;e.x=t.pixelX,e.width=t.axisLength}},e.prototype.processRenderer=function(){t.prototype.processRenderer.call(this);var e=this.axis;if(e){e.width instanceof l.a||(e.width=Object(l.c)(100)),p.used(this.line);var i=e.title;i.rotation=0,i.align="center",this.opposite?(this.line.toFront(),i.toBack()):(i.toFront(),this.toBack(),this.line.toBack())}},e.prototype.updateTooltip=function(){if(this.axis){var t=this.line.pixelX,e=this.line.pixelY,i=this.axisLength,n=1e3;this.opposite?this.inside||(e=-1e3,n=1e3):this.inside&&(e=-1e3,n=1e3),this.axis.updateTooltip("vertical",{x:t,y:e,width:i,height:n})}},e.prototype.updateLabelElement=function(t,e,i,n){d.hasValue(n)||(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);t.isMeasured=!t.inside;var o,a=0,s=this.gridContainer.maxHeight;this.opposite?(t.inside?(o="top","bottom"==t.valign&&(a=s,o="bottom"),"middle"==t.valign&&(a=s/2,o="middle")):o="bottom",r.y=a):(t.inside?(o="bottom","top"==t.valign&&(a=-s,o="top"),"middle"==t.valign&&(a=-s/2,o="middle")):o="top",r.y+=a),0==t.rotation&&(t.verticalCenter=o),this.positionItem(t,r),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)},Object.defineProperty(e.prototype,"axisLength",{get:function(){var t=this.axis;return t.measuredWidth-t.pixelPaddingRight-t.pixelPaddingLeft||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t,e){return{x:this.positionToCoordinate(t),y:0}},e.prototype.pointToPosition=function(t){return this.coordinateToPosition(t.x,t.y)},e.prototype.getPositionRangePath=function(t,e){var i=h.fitToRange(this.positionToCoordinate(t),0,this.axisLength),n=h.fitToRange(this.positionToCoordinate(e),0,this.axisLength),r=Math.abs(n-i),o=this.getHeight(),a=Math.min(i,n);return c.rectToPath({x:a,y:0,width:r,height:o},!0)},e.prototype.updateBreakElement=function(e){t.prototype.updateBreakElement.call(this,e);var i=e.startLine,n=e.endLine,r=e.fillShape,o=e.startPoint,a=e.endPoint,s=e.pixelMarginLeft,u=this.getHeight()-e.pixelMarginTop-e.pixelMarginBottom;o.x=h.fitToRange(o.x,-1,this.axisLength+1),a.x=h.fitToRange(a.x,-1,this.axisLength+1),o.x==a.x&&(o.x<0||o.x>this.axisLength)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1,i.y=s,i.width=0,i.height=u,n.y=s,n.width=0,n.height=u,r.height=u,r.width=Math.abs(a.x-o.x),r.y=s,r.x=o.x},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);t.path=c.moveTo({x:0,y:0})+c.lineTo({x:0,y:this.getHeight()}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateTickElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e),r=t.length;n.y=p.spritePointToSprite({x:0,y:this.line.pixelY},this.line.parent,this.gridContainer).y,this.opposite?r*=t.inside?1:-1:r*=t.inside?-1:1,t.path=c.moveTo({x:0,y:0})+c.lineTo({x:0,y:r}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateAxisLine=function(){this.line.path=c.moveTo({x:0,y:0})+c.lineTo({x:this.axisLength,y:0})},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.axis,i=this.getHeight(),n=this.axisLength,r=this.baseGrid,o=e.basePoint.x;if(o<-.2||o>n+.2)r.hide(0);else{var a=p.spritePointToSprite({x:0,y:0},this.gridContainer,r.parent).y;r.path=c.moveTo({x:0,y:0})+c.lineTo({x:0,y:i}),r.moveTo({x:o,y:a}),r.show(0)}},e.prototype.createBreakSprites=function(t){t.startLine=new a.a,t.endLine=new a.a;var e=new s.a;e.setWavedSides(!1,!0,!1,!0),t.fillShape=e},e.prototype.toAxisPosition=function(t){var e=t,i=this.axis;if(i){var n=i.relativePositionSprite,r=i.pixelX;if(n?r=p.spritePointToSprite({x:this.pixelX,y:0},this.parent,n).x:n=i.parent,n)return(e-r/n.innerWidth)/(i.axisLength/n.innerWidth)}return t},e.prototype.updateBullet=function(t,e,i){var n=.5;t instanceof o.a&&(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);r.y=p.spritePointToSprite({x:0,y:this.line.pixelY},this.line.parent,this.gridContainer).y,this.positionItem(t,r),this.toggleVisibility(t,e,0,1)},e}(r.a);u.c.registeredClasses.AxisRendererX=g,f.c.push({relevant:f.b.heightXS,state:function(t,e){if(t instanceof g){var i=t.states.create(e);return i.properties.inside=!0,i.properties.maxLabelPosition=.9,i.properties.minLabelPosition=.1,i}return null}}),f.c.push({relevant:f.b.heightXXS,state:function(t,e){if(t instanceof g){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},kFp5:function(t,e,i){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=i("7bL/")("meta"),o=i("DvJ+"),a=i("U3hN"),s=i("hjwn").f,u=0,l=Object.isExtensible||function(){return!0},h=!i("AEc5")(function(){return l(Object.preventExtensions({}))}),c=function(t){s(t,r,{value:{i:"O"+ ++u,w:{}}})},p=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==n(t)?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[r].i},getWeak:function(t,e){if(!a(t,r)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[r].w},onFreeze:function(t){return h&&p.NEED&&l(t)&&!a(t,r)&&c(t),t}}},kHwJ:function(t,e,i){var n=i("DVYA");t.exports=Array.isArray||function(t){return"Array"==n(t)}},kJ6f:function(t,e,i){"use strict";var n=i("snR7"),r=i("W0fk");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return r(n(this),"number"!=t)}},kQxV:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("+qIf"),o=i("o0Lc"),a=i("hD5A"),s=i("v9UT"),u=i("Qkdp"),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._interactionEvents=new r.a,e}return n.c(e,t),e.prototype._dispatchSpriteEvent=function(t){if(!this.target.disabled&&!this.target.isTemplate&&this.target.events.isEnabled(t.type)){var e=u.merge(t,{target:this.target});this.target.events.dispatchImmediately(e.type,e)}},e.prototype._dispatchSpritePointEvent=function(t){if(!this.target.disabled&&!this.target.isTemplate&&this.target.events.isEnabled(t.type)){var e=u.merge(t,{target:this.target,spritePoint:s.documentPointToSprite(t.point,this.target),svgPoint:this.target.getSvgPoint(t.point)});this.target.events.dispatchImmediately(e.type,e)}},e.prototype._addInteractionObjectEvent=function(t,e,i,n){var r=this;return this._interactionEvents.insertKeyIfEmpty(t,function(){var o=r.target.interactions.events.on(t,e,i,n);return new a.a(function(){r._interactionEvents.removeKey(t),o.dispose()})}).increment()},e.prototype._on=function(e,i,n,r,o,s){var u=t.prototype._on.call(this,e,i,n,r,o,s),l=[u.disposer];switch(i){case"hit":case"track":case"doublehit":case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":l.push(this._addInteractionObjectEvent(i,this._dispatchSpritePointEvent,this,o));break;case"rightclick":case"down":case"up":case"drag":case"dragged":case"dragstart":case"dragstop":case"over":case"out":case"swipe":case"swipeleft":case"swiperight":case"resize":case"focus":case"blur":case"toggled":l.push(this._addInteractionObjectEvent(i,this._dispatchSpriteEvent,this,o))}switch(i){case"hit":case"doublehit":case"rightclick":case"down":case"up":this.target.clickable=!0;break;case"toggled":this.target.togglable=!0;break;case"drag":case"dragstart":case"dragstop":this.target.draggable=!0;break;case"track":this.target.trackable=!0;break;case"resize":this.target.resizable=!0;break;case"swipe":case"swipeleft":case"swiperight":this.target.swipeable=!0;break;case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":this.target.wheelable=!0;break;case"over":this.target.hoverable=!0;case"out":this.target.hoverable=!0;break;case"focus":case"blur":this.target.focusable=!0}return u.disposer=new a.c(l),u},e}(o.b)},kcsd:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},kg8J:function(t,e,i){var n=i("sxbc"),r=Math.pow,o=r(2,-52),a=r(2,-23),s=r(2,127)*(2-a),u=r(2,-126);t.exports=Math.fround||function(t){var e,i,r=Math.abs(t),l=n(t);return rs||i!=i?l*(1/0):l*i}},l2gh:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{iaddh:function(t,e,i,n){var r=t>>>0,o=i>>>0;return(e>>>0)+(n>>>0)+((r&o|(r|o)&~(r+o>>>0))>>>31)|0}})},l3rq:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{isubh:function(t,e,i,n){var r=t>>>0,o=i>>>0;return(e>>>0)-(n>>>0)-((~r&o|~(r^o)&r-o>>>0)>>>31)|0}})},l3wE:function(t,e,i){i("5lay")("getOwnPropertyNames",function(){return i("8rbL").f})},l9Vx:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("oGmz")(!1);n(n.P,"String",{codePointAt:function(t){return r(this,t)}})},lKl7:function(t,e,i){var n=i("Gb1H");n(n.P,"Array",{fill:i("lgQj")}),i("M/YL")("fill")},lLkc:function(t,e,i){"use strict";var n=i("DbOM"),r=i("DvJ+"),o=i("yOPk"),a=[].slice,s={};t.exports=Function.bind||function(t){var e=n(this),i=a.call(arguments,1),u=function n(){var r=i.concat(a.call(arguments));return this instanceof n?function(t,e,i){if(!(e in s)){for(var n=[],r=0;r1?arguments[1]:void 0,i),u=a>2?arguments[2]:void 0,l=void 0===u?i:r(u,i);l>s;)e[s++]=t;return e}},lhvN:function(t,e,i){"use strict";var n=i("4BRe"),r=i("kcsd");t.exports=function(t){var e=String(r(this)),i="",o=n(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(i+=e);return i}},"m4/l":function(t,e,i){"use strict";e.c=function(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},i.d(e,"a",function(){return r}),e.b=function(t,e,i,n){return new(i||(i=Promise))(function(r,o){function a(t){try{u(n.next(t))}catch(t){o(t)}}function s(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){t.done?r(t.value):new i(function(e){e(t.value)}).then(a,s)}u((n=n.apply(t,e||[])).next())})},e.d=function(t,e){var i,n,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}}}function a(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,r,o=i.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}},mIpt:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i("7XB+"),r=i("v9UT"),o=i("Mtpk"),a=function(){function t(){}return t.prototype.parse=function(t){return[]},Object.defineProperty(t.prototype,"parsableNumbers",{get:function(){return this.options.numberFields&&this.options.numberFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToNumber=function(t,e){return-1!==this.options.numberFields.indexOf(t)?r.anyToNumber(e):e},Object.defineProperty(t.prototype,"parsableDates",{get:function(){return this.options.dateFields&&this.options.dateFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToDate=function(t,e){return-1!==this.options.dateFields.indexOf(t)?this.options.dateFormatter.parse(e,this.dateFormat):e},t.prototype.maybeToEmpty=function(t){return o.hasValue(t)&&""!=t||!o.hasValue(this.options.emptyAs)?t:this.options.emptyAs},Object.defineProperty(t.prototype,"dateFormatter",{get:function(){return this.options.dateFormatter||(this.options.dateFormatter=new n.a,this.options.dateFormat&&(this.options.dateFormat=this.options.dateFormat)),this.options.dateFormatter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dateFormat",{get:function(){return this.options.dateFormat||this.dateFormatter.inputDateFormat},enumerable:!0,configurable:!0}),t}()},mL9U:function(t,e,i){var n=i("Gb1H");n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},mOSd:function(t,e,i){var n=i("Gb1H"),r=i("iAlL")(!1);n(n.S,"Object",{values:function(t){return r(t)}})},ma7z:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=n.key,a=n.map,s=n.store;n.exp({deleteMetadata:function(t,e){var i=arguments.length<3?void 0:o(arguments[2]),n=a(r(e),i,!1);if(void 0===n||!n.delete(t))return!1;if(n.size)return!0;var u=s.get(e);return u.delete(i),!!u.size||s.delete(e)}})},mntN:function(t,e,i){var n=i("EhJv"),r=i("FmWr"),o=i("UwWU");t.exports=function(t){return function(e,i,a){var s,u=n(e),l=r(u.length),h=o(a,l);if(t&&i!=i){for(;l>h;)if((s=u[h++])!=s)return!0}else for(;l>h;h++)if((t||h in u)&&u[h]===i)return t||h||0;return!t&&-1}}},nAZS:function(t,e,i){var n=i("Gb1H"),r=i("kcsd"),o=i("AEc5"),a=i("brDO"),s="["+a+"]",u=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),h=function(t,e,i){var r={},s=o(function(){return!!a[t]()||"​…"!="​…"[t]()}),u=r[t]=s?e(c):a[t];i&&(r[i]=u),n(n.P+n.F*s,"String",r)},c=h.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=h},nEmP:function(t,e,i){"use strict";i("nAZS")("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},nHHr:function(t,e,i){var n=i("eBSV"),r=i("Wbjh"),o=i("EhJv"),a=i("W0fk"),s=i("U3hN"),u=i("HW78"),l=Object.getOwnPropertyDescriptor;e.f=i("gD3S")?l:function(t,e){if(t=o(t),e=a(e,!0),u)try{return l(t,e)}catch(t){}if(s(t,e))return r(!n.f.call(t,e),t[e])}},nPzZ:function(t,e,i){"use strict";i.d(e,"a",function(){return d});var n=i("m4/l"),r=i("Inf5"),o=i("Vs7R"),a=i("Gg2j"),s=i("hGwe"),u=i("Mtpk"),l=i("8ZqG"),h=i("CuFa"),c=i("sxA1"),p=i("C84C"),d=function(t){function e(){var e=t.call(this)||this;e.className="Slice3D",e.layout="none";var i=e.createChild(o.a);e.edge=i,i.shouldClone=!1,i.isMeasured=!1,i.toBack(),e.angle=30,e.depth=20;var n=e.createChild(o.a);e.sideA=n,n.shouldClone=!1,n.isMeasured=!1;var r=e.createChild(o.a);return e.sideB=r,r.shouldClone=!1,r.isMeasured=!1,e.applyTheme(),e}return n.c(e,t),e.prototype.setFill=function(e){var i;if(t.prototype.setFill.call(this,e),e instanceof l.a)i=e.hex;else if(e instanceof c.a||e instanceof h.a)i=e.stops.getIndex(0).color.hex;else{var n=new p.a;n.lightness=-.25,this.edge.filters.push(n),this.sideA.filters.push(n.clone()),this.sideB.filters.push(n.clone())}if(i){var r=Object(l.c)(i).lighten(-.25);this.edge.fill=r,this.sideA.fill=r,this.sideB.fill=r,this.edge.stroke=r,this.sideA.stroke=r,this.sideB.stroke=r}},e.prototype.draw=function(){if(this.cornerRadius=0,this.innerCornerRadius=0,t.prototype.draw.call(this),0!==this.arc&&this.radius>0&&this.depth>0){this.sideB.show(0),this.sideA.show(0),this.edge.show(0);for(var e=this.startAngle,i=this.arc,n=this.pixelInnerRadius||0,r=this.radiusY||0,o=this.radius,u=e+i,l=r/o*n,h={x:a.cos(e)*n,y:a.sin(e)*l},c={x:a.cos(e)*o,y:a.sin(e)*r},p={x:a.cos(u)*o,y:a.sin(u)*r},d={x:a.cos(u)*n,y:a.sin(u)*l},f=this.depth,g={x:h.x,y:h.y-f},m={x:c.x,y:c.y-f},y={x:p.x,y:p.y-f},v={x:d.x,y:d.y-f},b="",x=Math.ceil(i/5),_=i/x,P=e,w=m,O=0;O0&&P<180){b+=s.moveTo(w);var S={x:a.cos(P)*o,y:a.sin(P)*r-f};b+=s.lineTo({x:w.x,y:w.y+f}),b+=s.arcToPoint({x:S.x,y:S.y+f},o,r,!0),b+=s.lineTo(S),b+=s.arcToPoint(w,o,r),b+="z",w=S}else{b+=s.moveTo(w);S={x:a.cos(P)*o,y:a.sin(P)*r-f};b+=s.arcToPoint(S,o,r,!0),b+=s.lineTo({x:S.x,y:S.y+f}),b+=s.arcToPoint({x:w.x,y:w.y+f},o,r),b+=s.lineTo(w),b+="z",w=S}w=g,P=e;for(O=0;O0&&P<180){b+=s.moveTo(w);S={x:a.cos(P)*n,y:a.sin(P)*l-f};b+=s.lineTo({x:w.x,y:w.y+f}),b+=s.arcToPoint({x:S.x,y:S.y+f},n,l,!0),b+=s.lineTo(S),b+=s.arcToPoint(w,n,l),b+="z",w=S}else{b+=s.moveTo(w);S={x:a.cos(P)*n,y:a.sin(P)*l-f};b+=s.arcToPoint(S,n,l,!0),b+=s.lineTo({x:S.x,y:S.y+f}),b+=s.arcToPoint({x:w.x,y:w.y+f},n,l),b+=s.lineTo(w),b+="z",w=S}this.edge.path=b,this.sideA.path=s.moveTo(h)+s.lineTo(c)+s.lineTo(m)+s.lineTo(g)+s.closePath(),this.sideB.path=s.moveTo(p)+s.lineTo(d)+s.lineTo(v)+s.lineTo(y)+s.closePath(),this.startAngle<90?this.sideA.toBack():this.sideA.toFront(),this.startAngle+this.arc>90?this.sideB.toBack():this.sideB.toFront(),this.slice.dy=-f}else this.sideA.hide(0),this.sideB.hide(0),this.edge.hide(0)},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){var t=this.getPropertyValue("angle");return u.isNumber(t)||(t=0),t},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radiusY",{get:function(){var t=this.getPropertyValue("radiusY");return u.isNumber(t)||(t=this.radius-this.radius*this.angle/90),t},set:function(t){this.setPropertyValue("radiusY",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.edge.copyFrom(e.edge),this.sideA.copyFrom(e.sideA),this.sideB.copyFrom(e.sideB)},e}(r.a)},nZH2:function(t,e,i){var n=i("Gb1H");n(n.P,"Array",{copyWithin:i("y2pX")}),i("M/YL")("copyWithin")},ncT3:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("C6dT"),o=i("Vs7R"),a=i("Ybtf"),s=i("/e9j"),u=i("tjMS"),l=i("Qkdp"),h=i("hGwe"),c=function(t){function e(){var e=t.call(this)||this;return e.className="Cone",e.angle=30,e.radius=Object(u.c)(100),e.topRadius=Object(u.c)(100),e.top=e.createChild(a.a),e.top.shouldClone=!1,e.bottom=e.createChild(a.a),e.bottom.shouldClone=!1,e.body=e.createChild(o.a),e.body.shouldClone=!1,e.body.setElement(e.paper.add("path")),e.layout="none",e.bodyFillModifier=new s.a,e.bodyFillModifier.lightnesses=[0,-.25,0],e.body.fillModifier=e.bodyFillModifier,e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),l.copyProperties(this,this.top,o.b),l.copyProperties(this,this.bottom,o.b),l.copyProperties(this,this.body,o.b);var e,i,n,r=this.innerWidth,a=this.innerHeight,s=this.bottom,u=this.top,c=this.angle;"horizontal"==this.orientation?(e=a/2,s.y=a/2,u.y=a/2,u.x=r,i=(90-c)/90,n=0,this.bodyFillModifier.gradient.rotation=90):(i=0,n=(90-c)/90,e=r/2,s.y=a,s.x=r/2,u.x=r/2,this.bodyFillModifier.gradient.rotation=0);var p,d=this.radius.value*e,f=this.topRadius.value*e;s.radius=d-d*i,s.radiusY=d-d*n,u.radius=f-f*i,u.radiusY=f-f*n,p="horizontal"==this.orientation?h.moveTo({x:0,y:a/2-s.radiusY})+h.arcTo(-90,-180,s.radius,s.radiusY)+h.lineTo({x:r,y:a/2+u.radiusY})+h.arcTo(90,180,u.radius,u.radiusY)+h.closePath():h.moveTo({x:r/2-u.radius,y:0})+h.arcTo(180,-180,u.radius,u.radiusY)+h.lineTo({x:r/2+s.radius,y:a})+h.arcTo(0,180,s.radius,s.radiusY)+h.closePath(),this.body.path=p},Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topRadius",{get:function(){return this.getPropertyValue("topRadius")},set:function(t){this.setPropertyValue("topRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0)},enumerable:!0,configurable:!0}),e}(r.a)},necU:function(t,e,i){var n=i("Gb1H");n(n.S,"Reflect",{has:function(t,e){return e in t}})},o0Lc:function(t,e,i){"use strict";i.d(e,"a",function(){return u}),i.d(e,"b",function(){return l});var n=i("m4/l"),r=i("hD5A"),o=i("hJ5i"),a=i("/9XX"),s=i("Mtpk"),u=function(){function t(){this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{o.each(t,function(t){t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}},t.prototype.hasListeners=function(){return 0!==this._listeners.length},t.prototype.hasListenersByType=function(t){return o.any(this._listeners,function(e){return(null===e.type||e.type===t)&&!e.killed})},t.prototype.enable=function(){this._enabled=!0},t.prototype.disable=function(){this._enabled=!1},t.prototype.enableType=function(t){delete this._disabled[t]},t.prototype.disableType=function(t,e){void 0===e&&(e=1/0),this._disabled[t]=e},t.prototype._removeListener=function(t){if(0===this._iterating){var e=this._listeners.indexOf(t);if(-1===e)throw new Error("Invalid state: could not remove listener");this._listeners.splice(e,1)}else this._killed.push(t)},t.prototype._removeExistingListener=function(t,e,i,n){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(function(r){r.once!==t||r.type!==e||null!=i&&r.callback!==i||r.context!==n||r.disposer.dispose()})},t.prototype.isEnabled=function(t){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(t)&&null==this._disabled[t]},t.prototype.has=function(t,e,i){return-1!==o.findIndex(this._listeners,function(n){return!0!==n.once&&n.type===t&&(null==e||n.callback===e)&&n.context===i})},t.prototype._shouldDispatch=function(t){if(this._disposed)throw new Error("EventDispatcher is disposed");var e=this._disabled[t];return s.isNumber(e)?(e<=1?delete this._disabled[t]:--this._disabled[t],!1):this._enabled},t.prototype._eachListener=function(t){var e=this;++this._iterating;try{o.each(this._listeners,t)}finally{--this._iterating,0===this._iterating&&0!==this._killed.length&&(o.each(this._killed,function(t){e._removeListener(t)}),this._killed.length=0)}},t.prototype.dispatchImmediately=function(t,e){this._shouldDispatch(t)&&this._eachListener(function(i){i.killed||null!==i.type&&i.type!==t||i.dispatch(t,e)})},t.prototype.dispatch=function(t,e){this._shouldDispatch(t)&&this._eachListener(function(i){i.killed||null!==i.type&&i.type!==t||a.e(function(){i.killed||i.dispatch(t,e)})})},t.prototype._on=function(t,e,i,n,o,a){var s=this;if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(t,e,i,n);var u={type:e,callback:i,context:n,shouldClone:o,dispatch:a,killed:!1,once:t,disposer:new r.b(function(){u.killed=!0,s._removeListener(u)})};return this._listeners.push(u),u},t.prototype.onAll=function(t,e,i){return void 0===i&&(i=!0),this._on(!1,null,t,e,i,function(i,n){return t.call(e,i,n)}).disposer},t.prototype.on=function(t,e,i,n){return void 0===n&&(n=!0),this._on(!1,t,e,i,n,function(t,n){return e.call(i,n)}).disposer},t.prototype.once=function(t,e,i,n){void 0===n&&(n=!0);var r=this._on(!0,t,e,i,n,function(t,n){r.disposer.dispose(),e.call(i,n)});return r.disposer},t.prototype.off=function(t,e,i){this._removeExistingListener(!1,t,e,i)},t.prototype.copyFrom=function(t){var e=this;if(this._disposed)throw new Error("EventDispatcher is disposed");if(t===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");o.each(t._listeners,function(t){!t.killed&&t.shouldClone&&(null===t.type?e.onAll(t.callback,t.context):t.once?e.once(t.type,t.callback,t.context):e.on(t.type,t.callback,t.context))})},t}(),l=function(t){function e(e){var i=t.call(this)||this;return i.target=e,i}return n.c(e,t),e.prototype.copyFrom=function(t){var e=this;if(this._disposed)throw new Error("EventDispatcher is disposed");if(t===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");o.each(t._listeners,function(i){i.context!==t.target&&!i.killed&&i.shouldClone&&(null===i.type?e.onAll(i.callback,i.context):i.once?e.once(i.type,i.callback,i.context):e.on(i.type,i.callback,i.context))})},e}(u)},oAPj:function(t,e,i){var n=i("nHHr"),r=i("Gb1H"),o=i("snR7");r(r.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},oC3T:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("Tjl+"),o=i("1yyj"),a=i("Gg2j"),s=i("0FpR"),u=i("Mtpk"),l=function(t){function e(e){var i=t.call(this)||this;return i._bboxes=[],i.morphDuration=800,i.morphEasing=s.cubicOut,i.morphToSingle=!0,i.scaleRatio=1,i.className="Morpher",i.morphable=e,i.applyTheme(),i}return n.c(e,t),e.prototype.morphToPolygon=function(t,e,i){var n=this.morphable.currentPoints;if(n&&t){this.sortPoints(n),this.sortPoints(t),this._morphFromPointsReal=[],this._morphToPointsReal=[],u.hasValue(e)||(e=this.morphDuration),u.hasValue(i)||(i=this.morphEasing),this._morphFromPointsReal=this.normalizePoints(t,n),this._morphToPointsReal=this.normalizePoints(n,t),this.morphable.currentPoints=this._morphFromPointsReal;var r=new o.a(this,{property:"morphProgress",from:0,to:1},e,i);return this._disposers.push(r),r.start(),r}},e.prototype.normalizePoints=function(t,e){for(var i=0,n=t.length;in.width*n.height?-1:1});for(var e=[],i=0,n=t.length;ib&&(b=h.length);for(var x=360/((b=(d=this.addPoints(h,b)).length)-1),_=0;_0)for(var O=0,S=c.length;O0){var c=t[t.length-1];for(u=n.length;u0)for(var b=d.x+d.width/2,x=d.y+d.height/2,_=0,P=h.length;_0&&l&&l.length>0){for(var c=[],p=0,d=s.length;p0&&h&&h.length>0){for(var y=[],v=0,b=u.length;v=l?t?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},oMjf:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=n.get,a=n.key;n.exp({getOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?void 0:a(arguments[2]))}})},oVsg:function(t,e,i){var n=i("Gb1H"),r=i("nHHr").f,o=i("snR7");n(n.S,"Reflect",{deleteProperty:function(t,e){var i=r(o(t),e);return!(i&&!i.configurable)&&delete t[e]}})},"of/x":function(t,e,i){"use strict";i("nAZS")("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},ohjg:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("Tjl+"),o=i("P7v+"),a=i("1yyj"),s=i("vMqJ"),u=i("Qkdp"),l=i("Wglt"),h=function(t){function e(){var e=t.call(this)||this;return e.properties={},e.isTemplate=!1,e._scale=1,e._nonScaling=!0,e.className="Filter",e.filterPrimitives=new s.b,e.filterPrimitives.events.on("inserted",function(t){e._disposers.push(t.newValue)}),e.width=120,e.height=120,e.applyTheme(),e}return n.c(e,t),e.prototype.appendPrimitives=function(t){l.each(this.filterPrimitives.iterator(),function(e){t.add(e)})},e.prototype.animate=function(t,e,i){return new a.a(this,t,e,i).start()},Object.defineProperty(e.prototype,"width",{get:function(){return this.properties.width},set:function(t){this.properties.width=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.properties.height},set:function(t){this.properties.height=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),u.each(e.properties,function(t,e){i[t]=e})},Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:Object(o.b)()},set:function(t){this._paper!=t&&(this._paper=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new a.b(this._animations))),this._animations},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this._scale},set:function(t){this._scale=t,this.updateScale()},enumerable:!0,configurable:!0}),e.prototype.updateScale=function(){},Object.defineProperty(e.prototype,"nonScaling",{get:function(){return this._nonScaling},set:function(t){this._nonScaling=t,t||(this._scale=1),this.updateScale()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sprite",{set:function(t){this.setSprite(t)},enumerable:!0,configurable:!0}),e.prototype.setSprite=function(t){this._sprite&&this._sprite!=t&&this._sprite.filters.removeValue(this),this._sprite=t},e}(r.a)},osLN:function(t,e,i){var n=i("Gb1H");n(n.P+n.R,"Set",{toJSON:i("dJEq")("Set")})},p3CN:function(t,e,i){var n=i("hjwn"),r=i("snR7"),o=i("3BzE");t.exports=i("gD3S")?Object.defineProperties:function(t,e){r(t);for(var i,a=o(e),s=a.length,u=0;s>u;)n.f(t,i=a[u++],e[i]);return t}},p4R3:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},p9TX:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n=i("m4/l"),r=i("C6dT"),o=i("aCit"),a=i("MipW"),s=i("hD5A"),u=i("MIZb"),l=i("Gg2j"),h=i("v9UT"),c=i("Mtpk"),p=i("58Sn"),d=i("TGuK"),f=function(t){function e(){var e=t.call(this)||this;return e.isOversized=!1,e.className="Label",e.fill=(new u.a).getFor("text"),e.wrap=!1,e.truncate=!1,e.fullWords=!0,e.ellipsis="...",e.textAlign="start",e.textValign="top",e.layout="absolute",e.baseLineRatio=-.27,e._positionPrecision=1,e.events.on("maxsizechanged",function(){e.inited&&e.handleMaxSize()},e,!1),e.events.once("validated",e.handleValidate,e,!1),e.applyTheme(),e}return n.c(e,t),e.prototype.afterDraw=function(){t.prototype.afterDraw.call(this),this.validatePosition()},e.prototype.setPaper=function(e){var i=t.prototype.setPaper.call(this,e);return i&&this.hardInvalidate(),i},e.prototype.handleValidate=function(){!this.currentText&&!this.text||0!=this.bbox.width&&0!=this.bbox.height||o.c.events.once("exitframe",this.hardInvalidate,this)},e.prototype.handleMaxSize=function(){this.bbox.width>this.availableWidth||this.bbox.widththis.availableHeight||this.bbox.heightr){this.isOversized=!0;var k=O.element.textContent,I=O.bbox.width/k.length,D=l.min(Math.ceil((O.bbox.width-r)/I),k.length);if(this.truncate){var V=!1,M=O.element.node;if(M&&M.childNodes)for(var j=O.element.node.childNodes.length-1;j>=0;j--){var A=O.element.node.childNodes[j];if(V&&O.bbox.width<=r&&(A.textContent+=" "+this.ellipsis,O.bbox=O.element.getBBox(),O.bbox.width=Math.floor(O.bbox.width),O.bbox.width<=r))break;V=!1;var F=A.textContent;for(k=O.element.textContent,D=l.min(Math.ceil((O.bbox.width-r)/I),k.length);O.bbox.width>r&&D<=k.length&&D>0;){(L=l.max(F.length-D-this.ellipsis.length,1))<=1&&(D=0,j>0&&(V=!0,O.element.node.removeChild(A))),(F=h.truncateWithEllipsis(F,L,this.ellipsis,this.fullWords,this.rtl)).length>L&&this.fullWords&&(F=h.truncateWithEllipsis(F,L,this.ellipsis,!1,this.rtl)),A.textContent=F,O.bbox=O.element.getBBox(),O.bbox.width=Math.floor(O.bbox.width),D=Math.ceil(1.1*D)}w=!0}}else{if(O.element.node){for(var E=O.element.node.lastChild,R=void 0;O.bbox.width>r&&D<=k.length&&D>0;){var L=l.max(T.text.length-D,1);P?R=h.splitTextByCharCount(T.text,L,!0,this.rtl):((R=h.splitTextByCharCount(T.text,L,!0,this.rtl))[0].length>L||1===L)&&(O.element.node.removeChild(E),D=0),D>0&&(E.textContent=Object(a.b)().cleanUp(h.trim(R.shift()))),O.bbox=O.element.getBBox(),O.bbox.width=Math.floor(O.bbox.width),D=Math.ceil(1.1*D)}if(R.length>0){var N="";c.hasValue(R)&&(this.rtl?N+=R.join("")+y:N+=y+R.join("").replace(/([\[\]]{1})/g,"$1$1"));for(var B=S+1;B0&&(m+=W),g.removeElement(H)}}this.maybeHideOversized(),this.measureFailed=!1,0!=this.bbox.width&&0!=this.bbox.height||(this.measureFailed=!0),this._measuredWidth=l.round(l.max(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight)),this._measuredHeight=l.round(l.max(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom)),this.alignSVGText(),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,i==this._measuredHeight&&e==this._measuredWidth||this.dispatch("transformed"),this.hideUnused(d.length)}else{this.element.removeAttr("display"),this.resetBBox(),(g=this.element).removeChildren();var U=this.paper.foreignObject();g.add(U),this.maxWidth&&U.attr({width:this.maxWidth}),this.maxHeight&&U.attr({height:this.maxHeight});var z=this.getHTMLLineElement(p);U.node.appendChild(z),z.style.display="inline-block";var Y=z.clientWidth,X=z.clientHeight;z.style.display="block",this._bbox={x:0,y:0,width:Y,height:X},U.attr({width:Y,height:X}),this.maybeHideOversized(),this._measuredWidth=l.max(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight),this._measuredHeight=l.max(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,this.truncate&&(z.style.overflow="hidden"),(Y>r||X>o)&&(this.isOversized=!0)}this.setStyles(),this.updateCenter(),this.updateBackground(),"none"==f&&this.group.attr({display:"none"}),this.pathElement&&this.paper.appendDef(this.pathElement)}else this.element.attr({display:"none"})}}else n.events.once("maxsizechanged",this.hardInvalidate,this,!1)},e.prototype.maybeHideOversized=function(){this.hideOversized&&(this.availableWidth=0;r--){var o=e[r];if(o.setAttribute("text-anchor",this.textAlign),this.textPathElement)o.removeAttribute("x"),o.removeAttribute("y");else{switch(this.textAlign){case"middle":o.setAttribute("x",(i/2).toString()+"px");break;case"end":this.rtl||o.setAttribute("x",i.toString());break;default:this.rtl?o.setAttribute("x",i.toString()):o.removeAttribute("text-anchor")}var a=c.toNumber(o.getAttribute("y"));switch(this.textValign){case"middle":o.setAttribute("y",(a+(n-this.bbox.height)/2).toString());break;case"bottom":o.setAttribute("y",(a+n-this.bbox.height).toString());break;default:o.setAttribute("y",a.toString())}}}}},e.prototype.getSVGLineElement=function(t,e){var i=this.paper.addGroup("text");return i.textContent=t,i.attr({x:"0"}),c.hasValue(e)&&i.attr({y:e.toString()}),(this.truncate||this.wrap)&&i.attr({overflow:"hidden"}),this.rtl&&i.attr({direction:"rtl"}),i},e.prototype.resetBBox=function(){this._bbox={x:0,y:0,width:0,height:0}},e.prototype.getHTMLLineElement=function(t){var e=document.createElement("div");switch(e.innerHTML=t,this.textAlign){case"middle":e.style.textAlign="center";break;case"end":e.style.textAlign="right"}return this.wrap?e.style.wordWrap="break-word":e.style.whiteSpace="nowrap",this.rtl&&(e.style.direction="rtl"),c.hasValue(this.fill)&&(e.style.color=this.fill.toString()),e},e.prototype.setStyles=function(){var t=this.element;!this.selectable||this.draggable||this.resizable||this.swipeable?t.addStyle({webkitUserSelect:"none",msUserSelect:"none"}):this.selectable&&(t.removeStyle("webkitUserSelect"),t.removeStyle("msUserSelect"))},e.prototype.hideUnused=function(t){this.initLineCache();var e=this.getCache("lineInfo");if(e.length>=t)for(var i=t;it?e[t]:void 0},e.prototype.addLineInfo=function(t,e){this.initLineCache(),this.getCache("lineInfo")[e]=t},e.prototype.initLineCache=function(){c.hasValue(this.getCache("lineInfo"))||this.setCache("lineInfo",[],0)},e.prototype.setDataItem=function(e){this._sourceDataItemEvents&&this._sourceDataItemEvents.dispose(),e&&(this._sourceDataItemEvents=new s.c([e.events.on("valuechanged",this.invalidate,this,!1),e.events.on("workingvaluechanged",this.invalidate,this,!1),e.events.on("calculatedvaluechanged",this.invalidate,this,!1),e.events.on("propertychanged",this.invalidate,this,!1)])),t.prototype.setDataItem.call(this,e)},Object.defineProperty(e.prototype,"availableWidth",{get:function(){return c.hasValue(this.maxWidth)?this.maxWidth:this.pixelWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"availableHeight",{get:function(){return c.hasValue(this.maxHeight)?this.maxHeight:this.pixelHeight},enumerable:!0,configurable:!0}),e.prototype.getSvgElement=function(t,e){var i=this.paper.add("tspan");return i.textContent=t,e&&i.node.setAttribute("style",e),i},e.prototype.deepInvalidate=function(){t.prototype.deepInvalidate.call(this),this.hardInvalidate()},Object.defineProperty(e.prototype,"readerTitle",{get:function(){var t=this.getPropertyValue("readerTitle");return t||(t=this.populateString(h.plainText(h.isNotEmpty(this.html)?this.html:this.text))),t},set:function(t){t=c.toText(t),this.setPropertyValue("readerTitle",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),e}(r.a);o.c.registeredClasses.Label=f,d.c.push({relevant:d.b.heightXS,state:function(t,e){if(t instanceof f&&t.parent&&t.parent.isBaseSprite){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},pR7v:function(t,e,i){"use strict";i.d(e,"b",function(){return f}),i.d(e,"a",function(){return g});var n=i("m4/l"),r=i("AAkI"),o=i("OXm9"),a=i("hD5A"),s=i("aCit"),u=i("ZoDA"),l=i("Gg2j"),h=i("Wglt"),c=i("Qkdp"),p=i("Mtpk"),d=i("v9UT"),f=function(t){function e(){var e=t.call(this)||this;return e.className="ValueAxisDataItem",e.values.value={},e.values.endValue={},e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){return this.values.endValue.value},set:function(t){this.setValue("endValue",t)},enumerable:!0,configurable:!0}),e}(r.b),g=function(t){function e(){var e=t.call(this)||this;return e._stepDecimalPlaces=0,e._baseValue=0,e._adjustedStart=0,e._adjustedEnd=1,e._extremesChanged=!1,e._deltaMinMax=1,e.calculateTotals=!1,e.className="ValueAxis",e.axisFieldName="value",e.setPropertyValue("maxZoomFactor",1e3),e.setPropertyValue("extraMin",0),e.setPropertyValue("extraMax",0),e.setPropertyValue("strictMinMax",!1),e.setPropertyValue("maxPrecision",Number.MAX_VALUE),e.keepSelection=!1,e.includeRangesInMinMax=!1,e.applyTheme(),e}return n.c(e,t),e.prototype.fillRule=function(t){var e=t.value,i=t.component;t.axisFill.disabled||(l.round(e/i.step/2,5)==Math.round(e/i.step/2)?t.axisFill.__disabled=!0:t.axisFill.__disabled=!1)},e.prototype.createDataItem=function(){return new f},e.prototype.createAxisBreak=function(){return new u.a},e.prototype.dataChangeUpdate=function(){this.keepSelection?(0!=this._start&&this.dispatchImmediately("startchanged"),1!=this._end&&this.dispatchImmediately("endchanged"),0==this._start&&1==this._end||this.dispatchImmediately("startendchanged")):0==this._start&&1==this._end||(this._start=0,this._end=1,this.dispatchImmediately("startendchanged")),this._maxZoomed=this._maxDefined,this._minZoomed=this._minDefined,this._maxAdjusted=this._maxDefined,this._minAdjusted=this._minDefined},e.prototype.processSeriesDataItems=function(){if(this.calculateTotals){var t=this.series.getIndex(0),e=t.startIndex;if(t.dataItems.length>0){e>0&&e--;var i=t.endIndex;i1?e=Math.pow(10,Math.log(this.min)*Math.LOG10E):0==(e=Math.floor(this.minZoomed/this._step)*this._step)&&(e=this.minZoomed);else e=Math.floor(e/this._step)*this._step;var i=this._maxZoomed+this._step;this.resetIterators();for(var n=this._dataItemsIterator,r=0;e<=i;){if(!this.isInBreak(e)){var o=n.find(function(t){return t.value===e});o.__disabled&&(o.__disabled=!1),this.appendDataItem(o),o.axisBreak=void 0,o.value!=e&&(o.value=e,o.text=this.formatLabel(e),o.label&&o.label.invalid&&o.label.validate(),o.value>=this.min&&o.value<=this.max&&o.label&&("Y"==this.axisLetter&&o.label.measuredWidth>this.ghostLabel.measuredWidth||"X"==this.axisLetter&&o.label.measuredHeight>this.ghostLabel.measuredHeight)&&(this.ghostLabel.text=o.label.currentText,this.ghostLabel.validate())),this.validateDataElement(o)}if(r++,this.logarithmic)Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E>1?e=Math.pow(10,Math.log(this.min)*Math.LOG10E+r):e+=this._step;else e+=this._step;var a=Math.pow(10,Math.floor(Math.log(Math.abs(this._step))*Math.LOG10E));if(a<1){var s=Math.round(Math.abs(Math.log(Math.abs(a))*Math.LOG10E))+2;e=l.round(e,s)}}var u=this._axisBreaks;if(u){var c=this.renderer;h.each(u.iterator(),function(e){if(e.breakSize>0&&l.getDistance(e.startPoint,e.endPoint)>c.minGridDistance)for(var i=e.adjustedMin;i<=e.adjustedMax;){if(i>=e.adjustedStartValue&&i<=e.adjustedEndValue){var r=n.find(function(t){return t.value===i});r.__disabled&&(r.__disabled=!1),t.appendDataItem(r),r.axisBreak=e,r.value!=i&&(r.value=i,r.text=t.formatLabel(i),r.label&&r.label.invalid&&r.label.validate()),t.validateDataElement(r)}i+=e.adjustedStep}})}}},e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e),e.itemIndex=this._axisItemCount,this._axisItemCount++;var i=this.renderer,n=e.value,r=e.endValue,o=this.valueToPosition(n);e.position=o;var a=o,s=this.valueToPosition(n+this._step);p.isNumber(r)&&(s=a=this.valueToPosition(r)),e.point=i.positionToPoint(o);var u=e.tick;u&&!u.disabled&&i.updateTickElement(u,o,a);var l=e.grid;l&&!l.disabled&&i.updateGridElement(l,o,a);var h=e.label;h&&!h.disabled&&i.updateLabelElement(h,o,a);var c=e.axisFill;c&&!c.disabled&&(i.updateFillElement(c,o,s),e.isRange||this.fillRule(e)),e.bullet&&i.updateBullet(e.bullet,o,a);var d=e.mask;d&&i.updateFillElement(d,o,s)},e.prototype.formatLabel=function(t){return this.numberFormatter.format(t)},Object.defineProperty(e.prototype,"basePoint",{get:function(){var t=this.baseValue,e=this.valueToPosition(t);return this.renderer.positionToPoint(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseValue",{get:function(){var t=this._baseValue;return this.logarithmic&&(t=this.min),this._adapterO?this._adapterO.apply("baseValue",t):t},set:function(t){this._baseValue=t,this.invalidateLayout(),this.invalidateSeries()},enumerable:!0,configurable:!0}),e.prototype.anyToPosition=function(t){return this.valueToPosition(t)},e.prototype.valueToPoint=function(t){var e=this.valueToPosition(t),i=this.renderer.positionToPoint(e),n=this.renderer.positionToAngle(e);return{x:i.x,y:i.y,angle:n}},e.prototype.anyToPoint=function(t){return this.valueToPoint(t)},e.prototype.valueToPosition=function(t){if(p.isNumber(t)){var e=this.min,i=this.max;if(p.isNumber(e)&&p.isNumber(i)){var n=this._difference,r=this._axisBreaks;r&&r.length>0&&h.eachContinue(r.iterator(),function(n){var r=n.adjustedStartValue,o=n.adjustedEndValue;if(p.isNumber(r)&&p.isNumber(o)){if(to?e+=(o-r)*(1-a):t0&&h.eachContinue(o.iterator(),function(o){var a=o.startPosition,s=o.endPosition,u=o.adjustedStartValue,h=o.adjustedEndValue;if(p.isNumber(u)&&p.isNumber(h)){if(u>i)return!1;if(l.intersect({start:u,end:h},{start:e,end:i})){u=l.max(u,e),h=l.min(h,i);var c=o.breakSize;if(n-=(h-u)*(1-c),t>s)e+=(h-u)*(1-c);else if(!(ti&&(i=o)}}),this.includeRangesInMinMax&&this.axisRanges.each(function(t){if(!t.ignoreMinMax){var n=l.min(t.value,t.endValue),r=l.max(t.value,t.endValue);(ni||!p.isNumber(i))&&(i=r)}})),this.logarithmic&&e<=0)throw Error("Logarithmic value axis can not have vales <= 0.");if(0==e&&0==i&&(i=.9,e=-.9),p.isNumber(this._minDefined)&&(e=this._minDefined),p.isNumber(this._maxDefined)&&(i=this._maxDefined),this._adapterO&&(e=this._adapterO.apply("min",e)),this._adapterO&&(i=this._adapterO.apply("max",i)),p.isNumber(e)&&p.isNumber(i)){this._minReal=e,this._maxReal=i,e==Number.POSITIVE_INFINITY&&(e=void 0),i==Number.NEGATIVE_INFINITY&&(i=void 0);var n=this.adjustDifference(e,i);if(e=this.fixMin(e),(i=this.fixMax(i))-e<=1/Math.pow(10,15)){if(i-e!=0)this._deltaMinMax=(i-e)/2;else{var r=Math.log(Math.abs(i))*Math.LOG10E,o=Math.pow(10,Math.floor(r));o/=10,this._deltaMinMax=o}e-=this._deltaMinMax,i+=this._deltaMinMax}e-=(i-e)*this.extraMin,i+=(i-e)*this.extraMax;var a=this.strictMinMax;p.isNumber(this._maxDefined)&&(a=!0);var s=this.adjustMinMax(e,i,n,this._gridCount,a);if(e=s.min,n=(i=s.max)-e,s=this.adjustMinMax(e,i,i-e,this._gridCount,!0),e=s.min,i=s.max,this.strictMinMax&&(e=p.isNumber(this._minDefined)?this._minDefined:this._minReal,(i=p.isNumber(this._maxDefined)?this._maxDefined:this._maxReal)-e<=1e-8&&(e-=this._deltaMinMax,i+=this._deltaMinMax),e-=(i-e)*this.extraMin,i+=(i-e)*this.extraMax),this._adapterO&&(e=this._adapterO.apply("min",e)),this._adapterO&&(i=this._adapterO.apply("max",i)),(this._minAdjusted!=e||this._maxAdjusted!=i)&&p.isNumber(e)&&p.isNumber(i)){var u=this._minMaxAnimation;if(this._extremesChanged&&p.isNumber(this._minAdjusted)&&p.isNumber(this._maxAdjusted)&&this.inited){if(u&&!u.isFinished()&&this._finalMax==i&&this._finalMin==e)return;this._finalMin=e,this._finalMax=i,(u=this.animateMinMax(e,i))&&!u.isFinished()?(u.events.on("animationprogress",this.validateDataItems,this),u.events.on("animationended",function(){t.series.each(function(t){t.validate()}),t.validateDataItems(),t.handleSelectionExtremesChange()}),this._minMaxAnimation=u):this.series.each(function(t){t.validate()}),this.validateDataItems(),this.dispatchImmediately("extremeschanged"),this.handleSelectionExtremesChange()}else{if(u&&!u.isFinished()&&this._finalMax==i&&this._finalMin==e)return;this._minAdjusted=e,this._maxAdjusted=i,this._finalMin=e,this._finalMax=i,this.invalidateDataItems(),this.dispatchImmediately("extremeschanged")}}this._extremesChanged=!1,this._difference=this.adjustDifference(e,i)}},e.prototype.fixMin=function(t){return t},e.prototype.fixMax=function(t){return t},e.prototype.adjustMinMax=function(t,e,i,n,r){n<=1&&(n=1),n=Math.round(n);var o=t,a=e;0===i&&(i=Math.abs(e));var s=Math.log(Math.abs(i))*Math.LOG10E,u=Math.pow(10,Math.floor(s)),h=u/=10;r&&(h=0),this.logarithmic?(t<=0&&(t=this.baseValue),t==1/0&&(t=1),e==-1/0&&(e=10),t=Math.pow(10,Math.floor(Math.log(Math.abs(t))*Math.LOG10E)),e=Math.pow(10,Math.ceil(Math.log(Math.abs(e))*Math.LOG10E))):(r?(t=Math.floor(t/u)*u,e=Math.ceil(e/u)*u):(t=Math.ceil(t/u)*u-h,e=Math.floor(e/u)*u+h),t<0&&o>=0&&(t=0),e>0&&a<=0&&(e=0)),s=Math.log(Math.abs(i))*Math.LOG10E,u=Math.pow(10,Math.floor(s)),u/=10;var c=Math.ceil(i/n/u)*u,p=Math.pow(10,Math.floor(Math.log(Math.abs(c))*Math.LOG10E)),d=Math.ceil(c/p);d>5?d=10:d<=5&&d>2&&(d=5),c=Math.ceil(c/(p*d))*p*d,this.maxPrecisiono&&(t-=c)}return{min:t,max:e,step:c}},Object.defineProperty(e.prototype,"min",{get:function(){var t=this._minAdjusted;return p.isNumber(t)||(t=this._minDefined),t},set:function(t){this._minDefined!=t&&(this._minDefined=t,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minDefined",{get:function(){return this._minDefined},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxDefined",{get:function(){return this._maxDefined},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraMin",{get:function(){return this.getPropertyValue("extraMin")},set:function(t){this.setPropertyValue("extraMin",t)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extraMax",{get:function(){return this.getPropertyValue("extraMax")},set:function(t){this.setPropertyValue("extraMax",t)&&this.invalidateDataItems()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){return this._step},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"max",{get:function(){var t=this._maxAdjusted;return p.isNumber(t)||(t=this._maxDefined),t},set:function(t){this._maxDefined!=t&&(this._maxDefined=t,this.invalidate())},enumerable:!0,configurable:!0}),e.prototype.registerSeries=function(e){return new a.c([t.prototype.registerSeries.call(this,e),e.events.on("extremeschanged",this.handleExtremesChange,this,!1),e.events.on("selectionextremeschanged",this.handleSelectionExtremesChange,this,!1),this.events.on("extremeschanged",e.invalidate,e,!1)])},e.prototype.handleSelectionExtremesChange=function(){var t,e,i=this,n=!0;if(h.each(this.series.iterator(),function(r){if(!r.ignoreMinMax&&!r.isHidden){r.visible&&!r.isHiding&&(n=!1);var o=r.selectionMin(i),a=r.selectionMax(i);p.isNumber(o)&&(!p.isNumber(t)||oe)&&(e=a)}}),this.includeRangesInMinMax&&this.axisRanges.each(function(t){if(!t.ignoreMinMax){var i=l.min(t.value,t.endValue),n=l.max(t.value,t.endValue);ie&&(e=n)}}),p.isNumber(this._minDefined)?t=this.strictMinMax?this._minDefined:this.min:this.strictMinMax&&(t=this._minReal),p.isNumber(this._maxDefined)?e=this.strictMinMax?this._maxDefined:this.max:this.strictMinMax&&(e=this._maxReal),t==e){t-=this._deltaMinMax,e+=this._deltaMinMax;var r=this.adjustMinMax(t,e,0,this._gridCount,this.strictMinMax);t=r.min,e=r.max}var o=this.adjustDifference(t,e),a=this.adjustMinMax(t,e,o,this._gridCount);t=a.min,e=a.max,t-=(e-t)*this.extraMin,e+=(e-t)*this.extraMax,t=l.fitToRange(t,this.min,this.max),e=l.fitToRange(e,this.min,this.max),o=this.adjustDifference(t,e),a=this.adjustMinMax(t,e,o,this._gridCount,!0),t=a.min,e=a.max,this.strictMinMax&&(t=l.max(t,this._minDefined),e=l.min(e,this._maxDefined)),this._minZoomed=t,this._maxZoomed=e,this._step=a.step,this._difference=this.adjustDifference(this.min,this.max);var s=this.valueToPosition(t),u=this.valueToPosition(e);n&&(s=0,u=1),this.keepSelection||this.zoom({start:s,end:u},!1,!1,0)},Object.defineProperty(e.prototype,"strictMinMax",{get:function(){return this.getPropertyValue("strictMinMax")},set:function(t){this.setPropertyValue("strictMinMax",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"logarithmic",{get:function(){return this.getPropertyValue("logarithmic")},set:function(t){this.setPropertyValue("logarithmic",t)&&this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepSelection",{get:function(){return this.getPropertyValue("keepSelection")},set:function(t){this.setPropertyValue("keepSelection",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"includeRangesInMinMax",{get:function(){return this.getPropertyValue("includeRangesInMinMax")},set:function(t){this.setPropertyValue("includeRangesInMinMax",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxPrecision",{get:function(){return this.getPropertyValue("maxPrecision")},set:function(t){this.setPropertyValue("maxPrecision",t)&&this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.handleExtremesChange=function(){var t=this;if(this._extremesChanged=!0,this.getMinMax(),this.ghostLabel){this.dataItems.each(function(e){e.label&&e.label.pixelWidth>0&&(t.ghostLabel.text=e.label.currentText)})}},e.prototype.getX=function(t,e,i,n,r){return this.renderer.positionToPoint(this.getPositionX(t,e,i,n,r)).x},e.prototype.getPositionX=function(t,e,i,n,r){var o=t.getWorkingValue(e);p.hasValue(n)||(n="valueX");var a=t.getValue(n,"stack");p.isNumber(o)||(o=this.baseValue,this.logarithmic&&a>0&&(o=0));var s=this.valueToPosition(o+a);return r&&(s=l.fitToRange(s,r.start,r.end)),s},e.prototype.getY=function(t,e,i,n,r){return this.renderer.positionToPoint(this.getPositionY(t,e,i,n,r)).y},e.prototype.getPositionY=function(t,e,i,n,r){var o=t.getWorkingValue(e);p.hasValue(n)||(n="valueY");var a=t.getValue(n,"stack");p.isNumber(o)||(o=this.baseValue,this.logarithmic&&a>0&&(o=0));var s=this.valueToPosition(o+a);return r&&(s=l.fitToRange(s,r.start,r.end)),s},e.prototype.getAngle=function(t,e,i,n,r){var o=t.getWorkingValue(e),a=t.getValue(n,"stack");p.isNumber(o)||(o=this.baseValue);var s=this.valueToPosition(o+a);return r&&(s=l.fitToRange(s,r.start,r.end)),this.positionToAngle(s)},e.prototype.getAnyRangePath=function(t,e,i){var n=this.valueToPosition(t),r=this.valueToPosition(e);return this.getPositionRangePath(n,r)},e.prototype.getTooltipText=function(t){var e=l.round(this.positionToValue(t),this._stepDecimalPlaces),i=this.tooltip.numberFormatter.format(e);return this._adapterO?this._adapterO.apply("getTooltipText",i):i},e.prototype.zoomToValues=function(t,e,i,n){var r=(t-this.min)/(this.max-this.min),o=(e-this.min)/(this.max-this.min);this.zoom({start:r,end:o},i,n)},Object.defineProperty(e.prototype,"minZoomed",{get:function(){return l.max(this.min,this._minZoomed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomed",{get:function(){return l.min(this.max,this._maxZoomed)},enumerable:!0,configurable:!0}),e.prototype.fixAxisBreaks=function(){var e=this;t.prototype.fixAxisBreaks.call(this);var i=this._axisBreaks;i&&i.length>0&&i.each(function(t){var i=t.adjustedStartValue,n=t.adjustedEndValue,r=n-i,o=Math.ceil(r*t.breakSize)*e._gridCount/(e.max-e.min),a=e.adjustMinMax(i,n,r,o,!0);t.adjustedStep=a.step,t.adjustedMin=a.min,t.adjustedMax=a.max}),this._difference=this.adjustDifference(this.min,this.max)},e.prototype.getPositionLabel=function(t){var e=this.positionToValue(t);return this.numberFormatter.format(e)},e.prototype.showTooltipAt=function(t){this.showTooltipAtPosition(this.valueToPosition(t))},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.min=e.min,this.max=e.max,this.calculateTotals=e.calculateTotals,this._baseValue=e.baseValue},e}(r.a);s.c.registeredClasses.ValueAxis=g,s.c.registeredClasses.ValueAxisDataItem=f},pb4Y:function(t,e){t.exports=!1},pjXm:function(t,e,i){"use strict";e.a=function(){for(var t=[],e=0;e0;)this.node.removeChild(this.node.firstChild)},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.dispose=function(){this.removeNode()},t}()},"q+2p":function(t,e,i){var n=Date.prototype,r=n.toString,o=n.getTime;new Date(NaN)+""!="Invalid Date"&&i("wDk4")(n,"toString",function(){var t=o.call(this);return t==t?r.call(this):"Invalid Date"})},qCRI:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=function(){function t(){}return t.grab=[{property:"cursor",value:"move"},{property:"cursor",value:"grab"},{property:"cursor",value:"-webkit-grab"}],t.grabbing=[{property:"cursor",value:"move"},{property:"cursor",value:"grabbing"},{property:"cursor",value:"-webkit-grabbing"}],t.pointer=[{property:"cursor",value:"pointer"}],t.default=[{property:"cursor",value:"default"}],t.horizontalResize=[{property:"cursor",value:"ew-resize"}],t.verticalResize=[{property:"cursor",value:"ns-resize"}],t.notAllowed=[{property:"cursor",value:"not-allowed"}],t}()},qJno:function(t,e,i){"use strict";var n=i("m4/l"),r=i("58Sn"),o=i("MIZb"),a=i("+qIf"),s=i("hD5A"),u=new a.a,l=i("x79X"),h=i("vMqJ"),c=i("zhwk"),p=i("P/bD"),d=i("/IEW"),f=i("WYhe"),g=i("v9UT"),m=i("Wglt"),y=i("Mtpk");i.d(e,"a",function(){return v});var v=function(t){function e(){var e=t.call(this)||this;return e.adapter=new l.a(e),e.closeDelay=1e3,e.closeOnClick=!0,e._language=new s.d,e._menuTag="ul",e._itemTag="li",e._labelTag="a",e._iconTag="img",e._classPrefix="amexport",e._defaultStyles=!0,e._align="right",e._verticalAlign="top",e._tabindex=0,e._ignoreNextClose=!1,e._items=[{label:"...",menu:[{label:"Image",menu:[{type:"png",label:"PNG"},{type:"jpg",label:"JPG"},{type:"svg",label:"SVG"},{type:"pdf",label:"PDF"}]},{label:"Data",menu:[{type:"json",label:"JSON"},{type:"csv",label:"CSV"},{type:"xlsx",label:"XLSX"},{type:"html",label:"HTML"},{type:"pdfdata",label:"PDF"}]},{label:"Print",type:"print"}]}],e.className="ExportMenu",e._disposers.push(e._language),e.invalidate(),e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){this.draw(),t.prototype.validate.call(this)},e.prototype.draw=function(){var t=this;this._element?(this._element.innerHTML="",this._element.className=this.getMenuItemClass(0)):this._element=this.createMenuElement(0),this.defaultStyles&&(this._element.style.display="none"),y.getValue(this._container).appendChild(this._element);for(var e=this.adapter.apply("items",{items:this._items}).items,i=e.length,n=0;n a",{padding:"0","text-align":"center",overflow:"hidden"}),new r.c("."+e+"-item."+e+"-item-level-0:before",{display:"block"}),new r.c("."+e+"-item",{position:"relative",display:"block",opacity:"0","z-index":"1","border-radius":"3px","background-color":i.getFor("secondaryButton").hex,padding:"0",margin:"1px 1px 0 0",color:i.getFor("secondaryButton").alternative.hex,transition:"all 100ms ease-in-out, opacity 0.5s ease 0.5s"}),new r.c("."+e+"-left ."+e+"-item",{margin:"1px 0 0 1px"}),new r.c("."+e+"-item:hover, ."+e+"-item.active",{background:i.getFor("secondaryButtonHover").hex,color:i.getFor("secondaryButtonText").hex}),new r.c("."+e+"-item > ."+e+"-menu",{position:"absolute",top:"-1px",right:"0","margin-right":"100%"}),new r.c("."+e+"-left ."+e+"-item > ."+e+"-menu",{left:"0",right:"auto","margin-left":"100%","margin-right":"auto"}),new r.c("."+e+"-right ."+e+"-item > ."+e+"-menu",{left:"auto",right:"0","margin-left":"auto","margin-right":"100%"}),new r.c("."+e+"-top ."+e+"-item > ."+e+"-menu",{top:"-1px",bottom:"auto"}),new r.c("."+e+"-bottom ."+e+"-item > ."+e+"-menu",{top:"auto",bottom:"0"}),new r.c("."+e+"-item > ."+e+"-menu",{display:"none"}),new r.c("."+e+"-item:hover > ."+e+"-menu, ."+e+"-item.active > ."+e+"-menu",{display:"block"}),new r.c("."+e+"-item:hover > ."+e+"-menu > ."+e+"-item, ."+e+"-item.active > ."+e+"-menu > ."+e+"-item",{opacity:"1"}),new r.c("."+e+"-menu",{display:"block","list-style":"none",margin:"0",padding:"0"}),new r.c("."+e+"-label",{display:"block",cursor:"default",padding:"0.5em 1em"}),new r.c("."+e+"-icon",{display:"block",cursor:"default",padding:"0.2em 0.4em",width:"1.2em",height:"1.2em","min-width":"32px","min-height":"32px",margin:"auto auto","border-radius":"3px"}),new r.c("."+e+"-item-level-0 > ."+e+"-icon",{padding:"0.1em 0.2em"}),new r.c("."+e+"-clickable",{cursor:"pointer"})]);return new s.a(function(){u.removeKey(e),t.dispose()})}).increment()}(this.classPrefix)),this._element&&(this._element.style.display="")},Object.defineProperty(e.prototype,"tabindex",{get:function(){return this.adapter.apply("tabindex",{tabindex:this._tabindex}).tabindex},set:function(t){this._tabindex=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){var t=this,e=this._language.get();return null==e&&(e=new p.a,this._language.set(e,e.events.on("localechanged",function(e){t.invalidate()}))),e},set:function(t){var e=this;this._language.set(t,t.events.on("localechanged",function(t){e.invalidate()})),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.close=function(){var t=this;if(this._ignoreNextClose)this._ignoreNextClose=!1;else{if(this.closeOnClick&&(this._element.style.pointerEvents="none",setTimeout(function(){t._element.style.pointerEvents="auto"},100)),this._currentSelection&&(this.setBlur(this._currentSelection),this._currentSelection=void 0),this._element)for(var e=this._element.getElementsByClassName("active"),i=e.length-1;i>=0;i--)e[i]&&r.x(e[i],"active");this.events.dispatchImmediately("closed",{type:"closed",target:this})}},e.prototype.selectBranch=function(t){var e=this;if(t.closeTimeout&&(this.removeDispose(t.closeTimeout),t.closeTimeout=void 0),r.f(t.interactions.element.parentElement,"active"),this._currentSelection&&this._currentSelection!==t&&this._currentSelection.ascendants&&m.each(m.concat(m.fromArray([this._currentSelection]),this._currentSelection.ascendants.iterator()),function(i){t.ascendants.contains(i)||t===i||e.unselectBranch(i,!0)}),m.each(t.ascendants.iterator(),function(t){t.closeTimeout&&(e.removeDispose(t.closeTimeout),t.closeTimeout=void 0),r.f(t.interactions.element.parentElement,"active")}),this._currentSelection=t,this.events.isEnabled("branchselected")){var i={type:"branchselected",target:this,branch:t};this.events.dispatchImmediately("branchselected",i)}},e.prototype.unselectBranch=function(t,e){if(r.x(t.interactions.element.parentElement,"active"),this._currentSelection==t&&(this._currentSelection=void 0),this.events.isEnabled("branchunselected")){var i={type:"branchunselected",target:this,branch:t};this.events.dispatchImmediately("branchunselected",i)}},e.prototype.delayUnselectBranch=function(t,e){var i=this;t.closeTimeout&&(this.removeDispose(t.closeTimeout),t.closeTimeout=void 0),t.closeTimeout=this.setTimeout(function(){i.unselectBranch(t,e)},this.closeDelay),!0!==e&&t.ascendants&&m.each(t.ascendants.iterator(),function(t){i.delayUnselectBranch(t,!0)})},e.prototype.moveSelection=function(t){if(this._currentSelection){var e;if("up"==t)e=this.getPrevSibling(this._currentSelection);else if("down"==t)e=this.getNextSibling(this._currentSelection);else if("left"==t&&"right"==this.align||"right"==t&&"left"==this.align){var i=this.getSubMenu(this._currentSelection);null!=i&&(e=i[0])}else("right"==t&&"right"==this.align||"left"==t&&"left"==this.align)&&(e=this.getParentItem(this._currentSelection));e&&e!==this._currentSelection&&(this.selectBranch(e),this.setFocus(e),this._currentSelection=e)}},e.prototype.getSiblings=function(t){var e=this.getParentItem(t);return e&&e.menu?e.menu:[]},e.prototype.getParentItem=function(t){return t.ascendants&&t.ascendants.length?t.ascendants.getIndex(t.ascendants.length-1):void 0},e.prototype.getNextSibling=function(t){var e=this.getSiblings(t);if(e.length>1){var i=e.indexOf(t)+1;return e[i=e.length==i?0:i].unsupported?this.getNextSibling(e[i]):e[i]}return t},e.prototype.getPrevSibling=function(t){var e=this.getSiblings(t);if(e.length>1){var i=e.indexOf(t)-1;return e[i=-1==i?e.length-1:i].unsupported?this.getPrevSibling(e[i]):e[i]}return t},e.prototype.setFocus=function(t){if(t.interactions)try{t.interactions.element.focus()}catch(t){}},e.prototype.setBlur=function(t){if(t.interactions)try{t.interactions.element.blur()}catch(t){}},e.prototype.hideBranch=function(t){t.element.style.display="none"},e.prototype.showBranch=function(t){t.element.style.display=""},e}(d.a)},qgJR:function(t,e,i){"use strict";var n=i("snR7"),r=i("DVvQ"),o=i("2i0j");i("7V6K")("search",1,function(t,e,i,a){return[function(i){var n=t(this),r=void 0==i?void 0:i[e];return void 0!==r?r.call(i,n):new RegExp(i)[e](String(n))},function(t){var e=a(i,t,this);if(e.done)return e.value;var s=n(t),u=String(this),l=s.lastIndex;r(l,0)||(s.lastIndex=0);var h=o(s,u);return r(s.lastIndex,l)||(s.lastIndex=l),null===h?-1:h.index}]})},quKg:function(t,e,i){"use strict";i.d(e,"b",function(){return p}),i.d(e,"a",function(){return d});var n=i("m4/l"),r=i("DXFp"),o=i("tjMS"),a=i("Puh1"),s=i("aCit"),u=i("Wglt"),l=i("v9UT"),h=i("Gg2j"),c=i("Mtpk"),p=function(t){function e(){var e=t.call(this)||this;return e.className="PieChartDataItem",e.applyTheme(),e}return n.c(e,t),e}(r.b),d=function(t){function e(){var e=t.call(this)||this;e.className="PieChart",e.innerRadius=0,e.radius=Object(o.c)(80),e.align="none",e.valign="none",e.startAngle=-90,e.endAngle=270;var i=e.seriesContainer;return i.isMeasured=!0,i.valign="middle",i.align="center",i.layout="absolute",i.width=void 0,i.height=void 0,e.chartContainer.minHeight=50,e.chartContainer.minWidth=50,e.chartContainer.events.on("maxsizechanged",e.updateRadius,e,!1),e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),c.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Pie chart"))},e.prototype.validateLayout=function(){t.prototype.validateLayout.call(this),this.updateRadius()},e.prototype.handleSeriesAdded=function(e){t.prototype.handleSeriesAdded.call(this,e),this._chartPixelRadius=void 0,this.updateSeriesAngles()},e.prototype.updateSeriesAngles=function(){var t=this;this.series.each(function(e){e._startAngleInternal=t.startAngle,e._endAngleInternal=t.endAngle})},e.prototype.updateRadius=function(){var t=this.chartContainer,e=h.getArcRect(this.startAngle,this.endAngle,1),i={x:0,y:0,width:0,height:0},n=this.innerRadius;n instanceof o.a&&(i=h.getArcRect(this.startAngle,this.endAngle,n.value)),e=h.getCommonRectangle([e,i]);var r=Math.min(t.innerWidth/e.width,t.innerHeight/e.height);c.isNumber(r)||(r=0);var a=l.relativeRadiusToValue(this.radius,r),s=l.relativeRadiusToValue(this.innerRadius,r),p=(a-s)/this.series.length;a==this._chartPixelRadius&&s==this._chartPixelInnerRadius||(this._chartPixelRadius=a,this._chartPixelInnerRadius=s,u.each(u.indexed(this.series.iterator()),function(t){var e=t[0],i=t[1],n=s+l.relativeRadiusToValue(i.radius,a-s),r=s+l.relativeRadiusToValue(i.innerRadius,a-s);c.isNumber(n)||(n=s+p*(e+1)),c.isNumber(r)||(r=s+p*e),i.pixelRadius=n,i.pixelInnerRadius=r}),this.seriesContainer.definedBBox={x:a*e.x,y:a*e.y,width:a*e.width,height:a*e.height},this.seriesContainer.invalidateLayout(),this.bulletsContainer.x=this.seriesContainer.x,this.bulletsContainer.y=this.seriesContainer.y)},Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPercentProperty("radius",t,!0,!1,10,!1)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),e.prototype.createSeries=function(){return new a.a},Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")},set:function(t){this.setPropertyValue("startAngle",t)&&(this.updateRadius(),this.updateSeriesAngles())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endAngle",{get:function(){return this.getPropertyValue("endAngle")},set:function(t){this.setPropertyValue("endAngle",t)&&(this.updateRadius(),this.updateSeriesAngles())},enumerable:!0,configurable:!0}),e}(r.a);s.c.registeredClasses.PieChart=d,s.c.registeredClasses.PieChartDataItem=p},qzbU:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("Vs7R"),o=i("aCit"),a=i("MIZb"),s=function(t){function e(){var e=t.call(this)||this;e.className="Tick";var i=new a.a;return e.fillOpacity=0,e.length=6,e.strokeOpacity=.2,e.stroke=i.getFor("grid"),e.isMeasured=!1,e.nonScalingStroke=!0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"length",{get:function(){return this.disabled?0:this.getPropertyValue("length")},set:function(t){this.setPropertyValue("length",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);o.c.registeredClasses.Tick=s},r7ZX:function(t,e,i){i("3mH9")("Set")},rFJX:function(t,e,i){var n=i("DvJ+");t.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},rTLi:function(t,e,i){"use strict";i("Mvcd")("small",function(t){return function(){return t(this,"small","","")}})},"rU+O":function(t,e,i){"use strict";var n=i("snR7"),r=i("vJiZ"),o=i("FmWr"),a=i("4BRe"),s=i("YxCF"),u=i("2i0j"),l=Math.max,h=Math.min,c=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,f=function(t){return void 0===t?t:String(t)};i("7V6K")("replace",2,function(t,e,i,g){return[function(n,r){var o=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,o,r):i.call(String(o),n,r)},function(t,e){var r=g(i,t,this,e);if(r.done)return r.value;var c=n(t),p=String(this),d="function"==typeof e;d||(e=String(e));var y=c.global;if(y){var v=c.unicode;c.lastIndex=0}for(var b=[];;){var x=u(c,p);if(null===x)break;if(b.push(x),!y)break;""===String(x[0])&&(c.lastIndex=s(p,o(c.lastIndex),v))}for(var _="",P=0,w=0;w=P&&(_+=p.slice(P,S)+D,P=S+O.length)}return _+p.slice(P)}];function m(t,e,n,o,a,s){var u=n+t.length,l=o.length,h=d;return void 0!==a&&(a=r(a),h=p),i.call(s,h,function(i,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(u);case"<":s=a[r.slice(1,-1)];break;default:var h=+r;if(0===h)return i;if(h>l){var p=c(h/10);return 0===p?i:p<=l?void 0===o[p-1]?r.charAt(1):o[p-1]+r.charAt(1):i}s=o[h-1]}return void 0===s?"":s})}})},rU6r:function(t,e,i){i("YJIw")("Uint8",1,function(t){return function(e,i,n){return t(this,e,i,n)}})},rkh7:function(t,e,i){var n=i("ODWe"),r=i("heQh").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},rutD:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("4BRe"),o=i("GIxq"),a=i("lhvN"),s=1..toFixed,u=Math.floor,l=[0,0,0,0,0,0],h="Number.toFixed: incorrect invocation!",c=function(t,e){for(var i=-1,n=e;++i<6;)n+=t*l[i],l[i]=n%1e7,n=u(n/1e7)},p=function(t){for(var e=6,i=0;--e>=0;)i+=l[e],l[e]=u(i/t),i=i%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==l[t]){var i=String(l[t]);e=""===e?i:e+a.call("0",7-i.length)+i}return e},f=function t(e,i,n){return 0===i?n:i%2==1?t(e,i-1,n*e):t(e*e,i/2,n)};n(n.P+n.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!i("AEc5")(function(){s.call({})})),"Number",{toFixed:function(t){var e,i,n,s,u=o(this,h),l=r(t),g="",m="0";if(l<0||l>20)throw RangeError(h);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(g="-",u=-u),u>1e-21)if(i=(e=function(t){for(var e=0,i=t;i>=4096;)e+=12,i/=4096;for(;i>=2;)e+=1,i/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),i*=4503599627370496,(e=52-e)>0){for(c(0,i),n=l;n>=7;)c(1e7,0),n-=7;for(c(f(10,n,1),0),n=e-1;n>=23;)p(1<<23),n-=23;p(1<0?g+((s=m.length)<=l?"0."+a.call("0",l-s)+m:m.slice(0,s-l)+"."+m.slice(s-l)):g+m}})},sHIJ:function(t,e,i){var n=i("DVYA");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},sNEp:function(t,e,i){var n=i("snR7");t.exports=function(t,e,i,r){try{return r?e(n(i)[0],i[1]):e(i)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},"sc+R":function(t,e,i){var n=i("DbOM"),r=i("vJiZ"),o=i("sHIJ"),a=i("FmWr");t.exports=function(t,e,i,s,u){n(e);var l=r(t),h=o(l),c=a(l.length),p=u?c-1:0,d=u?-1:1;if(i<2)for(;;){if(p in h){s=h[p],p+=d;break}if(p+=d,u?p<0:c<=p)throw TypeError("Reduce of empty array with no initial value")}for(;u?p>=0:c>p;p+=d)p in h&&(s=e(s,h[p],p,l));return s}},snR7:function(t,e,i){var n=i("DvJ+");t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},ssJO:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("dstF")(0),o=i("GQop")([].forEach,!0);n(n.P+n.F*!o,"Array",{forEach:function(t){return r(this,t,arguments[1])}})},sxA1:function(t,e,i){"use strict";i.d(e,"a",function(){return c});var n=i("m4/l"),r=i("Tjl+"),o=i("vMqJ"),a=i("P7v+"),s=i("aCit"),u=i("Wglt"),l=i("Gg2j"),h=i("Mtpk"),c=function(t){function e(){var e=t.call(this)||this;return e._stops=new o.b,e._rotation=0,e.className="LinearGradient",e._stops.events.on("setIndex",e.validate,e),e._stops.events.on("inserted",e.validate,e),e.element=e.paper.addGroup("linearGradient"),e.id="gradient-"+s.c.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e.applyTheme(),e}return n.c(e,t),e.prototype.validate=function(){var t=this,e=(this._rotation+90)*l.RADIANS,i=Math.round(50+50*Math.sin(e+Math.PI))+"%",n=Math.round(50+50*Math.cos(e))+"%",r=Math.round(50+50*Math.sin(e))+"%",o=Math.round(50+50*Math.cos(e+Math.PI))+"%",a=this.element;a.removeChildNodes(),a.attr({x1:i,x2:r,y1:n,y2:o}),u.each(u.indexed(this._stops.iterator()),function(e){var i=e[0],n=e[1],r=n.offset;h.isNumber(r)||(r=i/(t._stops.length-1));var o=t.paper.add("stop");h.hasValue(n.color)&&o.attr({"stop-color":n.color.toString()}),h.isNumber(n.opacity)&&o.attr({"stop-opacity":n.opacity}),h.isNumber(r)&&o.attr({offset:r}),a.add(o)})},e.prototype.clear=function(){this._stops.clear()},e.prototype.addColor=function(t,e,i){this._stops.push({color:t,opacity:e,offset:i})},Object.defineProperty(e.prototype,"stops",{get:function(){return this._stops},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:Object(a.b)()},set:function(t){this._paper!=t&&(this._paper=t,this.validate(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation=t,this.validate()},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.stops.copyFrom(e.stops),this._rotation=e.rotation},e}(r.a);s.c.registeredClasses.LinearGradient=c},sxbc:function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},t3Ma:function(t,e,i){"use strict";i("Mvcd")("bold",function(t){return function(){return t(this,"b","","")}})},tIuN:function(t,e,i){var n=i("Gb1H");n(n.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},tYpR:function(t,e,i){i("3mH9")("WeakMap")},tjMS:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),e.c=function(t){return new n(t)},e.b=function(t){return t instanceof n};var n=function(){function t(t){this._value=t}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value/100},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"percent",{get:function(){return this._value},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this._value+"%"},t}()},tzvs:function(t,e,i){var n=i("EhJv"),r=i("nHHr").f;i("5lay")("getOwnPropertyDescriptor",function(){return function(t,e){return r(n(t),e)}})},uWmK:function(t,e,i){"use strict";i.d(e,"b",function(){return _}),i.d(e,"c",function(){return P}),i.d(e,"a",function(){return w});var n=i("m4/l"),r=i("Y9w3"),o=i("A6AV"),a=i("vMqJ"),s=i("CnhP"),u=i("C6dT"),l=i("p9TX"),h=i("WYhe"),c=i("aCit"),p=i("zhwk"),d=i("tjMS"),f=i("MIZb"),g=i("v9UT"),m=i("Mtpk"),y=i("Vs7R"),v=i("hD5A"),b=i("qCRI"),x=i("TGuK"),_=function(t){function e(){var e=t.call(this)||this;return e.childrenCreated=!1,e.className="LegendDataItem",e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"label",{get:function(){var t=this;if(!this._label){var e=this.component.labels.create();this._label=e,this.addSprite(e),this._disposers.push(e),e.parent=this.itemContainer,this._disposers.push(new v.b(function(){m.hasValue(t.component)&&t.component.labels.removeValue(e)}))}return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.setProperty("color",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueLabel",{get:function(){var t=this;if(!this._valueLabel){var e=this.component.valueLabels.create();this._valueLabel=e,this.addSprite(e),this._disposers.push(e),e.parent=this.itemContainer,this._disposers.push(new v.b(function(){m.hasValue(t.component)&&t.component.valueLabels.removeValue(e)}))}return this._valueLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemContainer",{get:function(){var t=this;if(!this._itemContainer){var e=this.component,i=e.itemContainers.create();i.parent=e,this._itemContainer=i,this.addSprite(i),this._disposers.push(i),i.togglable&&i.events.on("toggled",function(t){e.toggleDataItem(t.target.dataItem)},void 0,!1),i.focusable&&(i.events.on("focus",function(t){e.focusedItem=t.target.dataItem},void 0,!1),i.events.on("blur",function(t){e.focusedItem=void 0},void 0,!1)),this._disposers.push(new v.b(function(){m.hasValue(t.component)&&t.component.itemContainers.removeValue(i)})),this.dataContext.uidAttr&&(i.readerControls=this.dataContext.uidAttr(),i.readerLabelledBy=this.dataContext.uidAttr());var n=this.dataContext;(n instanceof o.a||n instanceof y.a)&&!n.isDisposed()&&(i.addDisposer(n.events.on("visibilitychanged",function(t){i.readerChecked=t.visible,i.events.disableType("toggled"),i.isActive=!t.visible,i.events.enableType("toggled")},void 0,!1)),n.addDisposer(new v.b(function(){t.component&&t.component.dataItems.remove(t)})),n instanceof y.a&&(i.addDisposer(n.events.on("hidden",function(t){i.readerChecked=!1,i.events.disableType("toggled"),i.isActive=!0,i.events.enableType("toggled")},void 0,!1)),i.addDisposer(n.events.on("shown",function(t){i.readerChecked=!0,i.events.disableType("toggled"),i.isActive=!1,i.events.enableType("toggled")},void 0,!1))))}return this._itemContainer},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marker",{get:function(){var t=this;if(!this._marker){var e=this.component.markers.create();this._marker=e,e.parent=this.itemContainer,this.addSprite(e),this._disposers.push(e),this._disposers.push(new v.b(function(){m.hasValue(t.component)&&t.component.markers.removeValue(e)}))}return this._marker},enumerable:!0,configurable:!0}),e}(o.a),P=function(){return function(){this.createMarker=!0}}(),w=function(t){function e(){var e=t.call(this)||this;e.className="Legend",e.layout="grid",e.setPropertyValue("useDefaultMarker",!1),e.setPropertyValue("contentAlign","center");var i=new u.a;i.applyOnClones=!0,i.padding(10,0,10,0),i.margin(0,10,0,0),i.layout="horizontal",i.clickable=!0,i.focusable=!0,i.role="switch",i.togglable=!0,i.cursorOverStyle=b.a.pointer,i.background.fillOpacity=0,e.itemContainers=new a.e(i),e._disposers.push(new a.c(e.itemContainers)),e._disposers.push(e.itemContainers.template),e._disposers.push(Object(p.b)().body.events.on("keyup",function(t){h.b.isKey(t.event,"enter")&&e.focusedItem&&e.focusedItem.itemContainer.clickable&&e.toggleDataItem(e.focusedItem)},e));var n=new f.a,r=new u.a;r.width=23,r.height=23,r.interactionsEnabled=!1,r.applyOnClones=!0,r.setStateOnChildren=!0,r.background.fillOpacity=0,r.background.strokeOpacity=0,r.propertyFields.fill="fill",r.valign="middle";var o=n.getFor("disabledBackground");r.events.on("childadded",function(t){var e=t.newValue.states.create("active");e.properties.stroke=o,e.properties.fill=o}),e.markers=new a.e(r),e._disposers.push(new a.c(e.markers)),e._disposers.push(e.markers.template);var c=r.createChild(s.a);c.width=Object(d.c)(100),c.height=Object(d.c)(100),c.applyOnClones=!0,c.propertyFields.fill="fill",c.strokeOpacity=0;var g=new l.a;g.text="{name}",g.margin(0,5,0,5),g.valign="middle",g.applyOnClones=!0,g.states.create("active").properties.fill=n.getFor("disabledBackground"),e.labels=new a.e(g),e._disposers.push(new a.c(e.labels)),e._disposers.push(e.labels.template),g.interactionsEnabled=!1;var m=new l.a;return m.margin(0,5,0,0),m.valign="middle",m.width=50,m.align="right",m.textAlign="end",m.applyOnClones=!0,m.states.create("active").properties.fill=n.getFor("disabledBackground"),m.interactionsEnabled=!1,e.valueLabels=new a.e(m),e._disposers.push(new a.c(e.valueLabels)),e._disposers.push(e.valueLabels.template),e.position="bottom",i.states.create("active"),i.setStateOnChildren=!0,e.role="group",e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),m.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Legend"))},e.prototype.createDataItem=function(){return new _},e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e);var i=e.itemContainer,n=e.marker;g.used(e.label);var r=e.valueLabel;i.readerChecked=e.dataContext.visible,e.dataContext.legendDataItem=e;var o=e.dataContext.legendSettings,a=e.dataContext;!a.createLegendMarker||this.useDefaultMarker&&a instanceof y.a||e.childrenCreated||(a.createLegendMarker(n),e.childrenCreated=!0),a.updateLegendValue&&a.updateLegendValue(),a.component&&a.component.updateLegendValue&&a.component.updateLegendValue(a),r.invalid&&r.validate(),""==r.currentText||void 0==r.currentText?r.__disabled=!0:r.__disabled=!1,!o||void 0==o.itemValueText&&void 0==o.valueText||(r.__disabled=!1);var s=e.dataContext.visible;void 0===s&&(s=!0),s=m.toBoolean(s),e.dataContext.visible=s,i.events.disableType("toggled"),i.isActive=!s,i.events.enableType("toggled")},Object.defineProperty(e.prototype,"position",{get:function(){return this.getPropertyValue("position")},set:function(t){this.setPropertyValue("position",t)&&("left"==t||"right"==t?(this.margin(10,20,10,20),this.valign="middle",this.itemContainers.template.width=Object(d.c)(100),this.valueLabels.template.width=Object(d.c)(100),this.labels.template.truncate=!0,this.labels.template.fullWords=!1):(this.itemContainers.template.width=void 0,this.itemContainers.template.maxWidth=void 0,this.valueLabels.template.width=50,this.labels.template.truncate=!1,this.width=Object(d.c)(100)),this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"useDefaultMarker",{get:function(){return this.getPropertyValue("useDefaultMarker")},set:function(t){this.setPropertyValue("useDefaultMarker",t,!0)},enumerable:!0,configurable:!0}),e.prototype.toggleDataItem=function(t){var e=t.dataContext;!e.visible||e.isHiding||e instanceof y.a&&e.isHidden?(t.color=t.colorOrig,t.itemContainer.isActive=!1,!0===e.hidden&&(e.hidden=!1),e.show?e.show():e.visible=!0):(t.itemContainer.isActive=!0,e.hide?e.hide():e.visible=!1,t.color=(new f.a).getFor("disabledBackground"))},Object.defineProperty(e.prototype,"preloader",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.handleDataItemPropertyChange=function(t,e){t.valueLabel.invalidate(),t.label.invalidate()},e}(r.a);c.c.registeredClasses.Legend=w,x.c.push({relevant:x.b.widthXS,state:function(t,e){if(t instanceof w&&("left"==t.position||"right"==t.position)){var i=t.states.create(e);return i.properties.position="bottom",i}return null}}),x.c.push({relevant:x.b.heightXS,state:function(t,e){if(t instanceof w&&("top"==t.position||"bottom"==t.position)){var i=t.states.create(e);return i.properties.position="right",i}return null}}),x.c.push({relevant:x.b.isXS,state:function(t,e){if(t instanceof w){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},ua0L:function(t,e,i){var n=i("DvJ+"),r=i("kHwJ"),o=i("YEtG")("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=void 0),n(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},"uc+e":function(t,e,i){i("xdw4")("observable")},uqxK:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=n.key,a=n.set;n.exp({defineMetadata:function(t,e,i,n){a(t,e,r(i),o(n))}})},uuf2:function(t,e,i){var n=i("Gb1H"),r=Math.exp;n(n.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},ux7t:function(t,e,i){"use strict";i.d(e,"a",function(){return f});var n=i("m4/l"),r=i("Tjl+"),o=i("aCit"),a=i("x79X"),s=i("vMqJ"),u=i("8ZqG"),l=i("tjMS"),h=i("v9UT"),c=i("0FpR"),p=i("Qkdp"),d=i("Mtpk"),f=function(t){function e(){var e=t.call(this)||this;return e.transitionDuration=0,e.transitionEasing=c.cubicOut,e.properties={},e.propertyFields={},e.filters=new s.b,e.isTemplate=!1,e.className="SpriteState",e._disposers.push(new s.c(e.filters)),e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"adapter",{get:function(){var t=this;return this._adapterO||(this._adapterO=new a.a(this),this._adapterO.events.on("inserted",function(e){t[e.newValue.key]=t[e.newValue.key]},void 0,!1),this._adapterO.events.on("removed",function(e){t[e.newValue.key]=t[e.newValue.key]},void 0,!1)),this._adapterO},enumerable:!0,configurable:!0}),e.prototype.getPropertyValue=function(t){var e=this.properties[t],i=this.sprite;if(i){var n=this.propertyFields[t];if(d.hasValue(n)&&i.dataItem&&(e=i.dataItem.dataContext[n]),d.hasValue(e))this._adapterO&&(e=this._adapterO.apply(t,e));else{var r=i.getPropertyValue(t);(e=this._adapterO?this._adapterO.apply(t,r):r)==r&&(e=void 0)}}return e},e.prototype.copyFrom=function(t){t&&t!=this&&(this.transitionDuration=t.transitionDuration,this.transitionEasing=t.transitionEasing,h.copyProperties(t.properties,this.properties),h.copyProperties(t.propertyFields,this.propertyFields),this.filters.copyFrom(t.filters),t._adapterO&&this.adapter.copyFrom(t._adapterO))},Object.defineProperty(e.prototype,"allValues",{get:function(){var t=this,e={};if(p.each(this.properties,function(i,n){e[i]=t.getPropertyValue(i)}),this._adapterO){var i=this._adapterO.keys();p.each(i,function(i,n){var r=t.getPropertyValue(n);e[n]=r})}var n=this.propertyFields;return p.each(n,function(i){var n=t.getPropertyValue(i);e[i]=n}),e},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.properties={},this.filters.clear()},e.prototype.processConfig=function(e){d.hasValue(e)&&d.hasValue(e.properties)&&p.each(e.properties,function(t,i){d.isString(i)&&(i.match(/^[0-9.\-]+\%$/)?e.properties[t]=Object(l.c)(d.toNumber(i)):i.match(/^\#[0-9abcdef]{3,}$/i)&&(e.properties[t]=Object(u.e)(i)))}),t.prototype.processConfig.call(this,e)},e.prototype.asFunction=function(e){return"transitionEasing"==e||t.prototype.asIs.call(this,e)},e}(r.a);o.c.registeredClasses.SpriteState=f},v36H:function(t,e,i){"use strict";i.d(e,"b",function(){return _}),i.d(e,"a",function(){return P});var n=i("m4/l"),r=i("Uf57"),o=i("Vs7R"),a=i("C6dT"),s=i("vMqJ"),u=i("YOID"),l=i("pR7v"),h=i("KknQ"),c=i("VB2N"),p=i("aCit"),d=i("PTiM"),f=i("p9TX"),g=i("GtDR"),m=i("Wglt"),y=i("Qkdp"),v=i("Mtpk"),b=i("hJ5i"),x=i("TXRX"),_=function(t){function e(){var e=t.call(this)||this;return e.className="LineSeriesDataItem",e}return n.c(e,t),e}(r.b),P=function(t){function e(){var e=t.call(this)||this;return e.minDistance=.5,e.segments=new s.e(e.createSegment()),e.segments.template.applyOnClones=!0,e._disposers.push(new s.c(e.segments)),e._disposers.push(e.segments.template),e._segmentsIterator=new m.ListIterator(e.segments,function(){return e.segments.create()}),e._segmentsIterator.createNewItems=!0,e.className="LineSeries",e.strokeOpacity=1,e.fillOpacity=0,e.connect=!0,e.tensionX=1,e.tensionY=1,e.autoGapCount=1.1,e.segmentsContainer=e.mainContainer.createChild(a.a),e.segmentsContainer.isMeasured=!1,e.bulletsContainer.toFront(),e.applyTheme(),e}return n.c(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),v.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Line Series"))},e.prototype.createSegment=function(){return new u.a},e.prototype.createDataItem=function(){return new _},e.prototype.setInitialWorkingValues=function(t){var e=this._yAxis.get(),i=this._xAxis.get();if(this.appeared&&this.visible){var n=this.dataItems.getIndex(t.index-1);if(t.component=this,this.baseAxis==i&&e instanceof l.a){var r=e.minZoomed;n&&(r=n.values.valueY.workingValue),t.setWorkingValue("valueY",r,0),t.setWorkingValue("valueY",t.values.valueY.value),i instanceof h.a&&(t.setWorkingLocation("dateX",t.locations.dateX-1,0),t.setWorkingLocation("dateX",t.locations.dateX))}if(this.baseAxis==e&&i instanceof l.a){var o=i.minZoomed;n&&(o=n.values.valueX.workingValue),t.setWorkingValue("valueX",o,0),t.setWorkingValue("valueX",t.values.valueX.value),e instanceof h.a&&(t.setWorkingLocation("dateY",t.locations.dateX-1,0),t.setWorkingLocation("dateY",t.locations.dateY))}}else this.baseAxis==i&&e instanceof l.a&&(i instanceof h.a&&t.setWorkingLocation("dateX",t.locations.dateX),i instanceof c.a&&t.setWorkingLocation("categoryX",t.locations.categoryX)),this.baseAxis==e&&i instanceof l.a&&(e instanceof h.a&&t.setWorkingLocation("dateY",t.locations.dateY),e instanceof c.a&&t.setWorkingLocation("categoryY",t.locations.categoryY))},e.prototype.updateLegendValue=function(e,i){t.prototype.updateLegendValue.call(this,e,i),e&&e.segment&&(this.tooltipColorSource=e.segment)},e.prototype.validate=function(){var e=this;t.prototype.validate.call(this),this.xAxis&&this.yAxis&&(this._segmentsIterator.reset(),this.openSegmentWrapper(this._adjustedStartIndex),m.each(this.axisRanges.iterator(),function(t){e.openSegmentWrapper(e._adjustedStartIndex,t)}),m.each(this._segmentsIterator.iterator(),function(t){t.__disabled=!0}))},e.prototype.sliceData=function(){for(var t=this.startIndex,e=this.endIndex,i=this.startIndex-1;i>=0;i--){if((r=this.dataItems.getIndex(i))&&r.hasValue(this._xValueFields)&&r.hasValue(this._yValueFields)){t=i;break}}this._adjustedStartIndex=this.findAdjustedIndex(t,["stroke","strokeWidth","strokeDasharray","strokeOpacity","fill","fillOpacity","opacity"]);i=this.endIndex;for(var n=this.dataItems.length;i=0;o--){var a=i.dataItems.getIndex(o);if(a&&v.hasValue(a.properties[e])){t>o&&(t=o);break}}}),t},e.prototype.openSegmentWrapper=function(t,e){var i={index:t,axisRange:e};do{i=this.openSegment(i.index,i.axisRange)}while(i)},e.prototype.openSegment=function(t,e){var i=!1,n=[];t=Math.min(t,this.dataItems.length);var r,a=Math.min(this._workingEndIndex,this.dataItems.length);this._workingEndIndex=Math.min(this._workingEndIndex,this.dataItems.length);var s=!1,u=this._segmentsIterator.getFirst();u.__disabled=!1,e?(u.parent=e.contents,y.copyProperties(e.contents,u,o.b)):(y.copyProperties(this,u,o.b),u.filters.clear(),u.parent=this.segmentsContainer);for(var l=this.connect,c=!1,p=t;p=i;s--){var u=this.dataItems.getIndex(s);u.hasValue(this._xValueFields)&&u.hasValue(this._yValueFields)&&this.addPoints(a,u,this.xOpenField,this.yOpenField,!0)}else{var l=this.baseAxis,h=e.length,c=this.xAxis,p=this.yAxis;h>0&&(l==c?(a.push({x:e[h-1].x,y:p.basePoint.y}),a.push({x:e[0].x,y:p.basePoint.y})):(a.push({x:c.basePoint.x,y:e[h-1].y}),a.push({x:c.basePoint.x,y:e[0].y})))}return this.drawSegment(t,e,a),o&&n++,n0){var s=t.createChild(g.a);y.copyProperties(this,s,o.b),s.width=i,s.height=n,s.y=0,s.strokeOpacity=0,s.visible=!0,r.y=0}var u=t.dataItem;u.color=this.stroke,u.colorOrig=this.fill,m.eachContinue(this.bullets.iterator(),function(r){if(r instanceof x.a&&!r.copyToLegendMarker)return!1;var o=!1;if(r instanceof a.a&&m.each(r.children.iterator(),function(t){if(t instanceof f.a)return o=!0,!0}),!o){var s=r.clone();return s.parent=t,s.isMeasured=!0,s.tooltipText=void 0,s.x=i/2,e.fillOpacity>0?s.y=0:s.y=n/2,s.visible=!0,v.hasValue(s.fill)||(s.fill=e.fill),v.hasValue(s.stroke)||(s.stroke=e.stroke),!1}})},e.prototype.disposeData=function(){t.prototype.disposeData.call(this),this.segments.clear()},Object.defineProperty(e.prototype,"autoGapCount",{get:function(){return this.getPropertyValue("autoGapCount")},set:function(t){this.setPropertyValue("autoGapCount",t,!0)},enumerable:!0,configurable:!0}),e}(r.a);p.c.registeredClasses.LineSeries=P,p.c.registeredClasses.LineSeriesDataItem=_},v9UT:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.used=function(t){},e.copyProperties=function(t,e){return l.each(t,function(t,i){a.hasValue(i)&&(e[t]=i)}),e},e.stripHash=c,e.getBaseURI=function(){var t="#";if(Object(r.b)()){var e=document.baseURI;if(e){e=c(e);var i=c(location.href);e!==i&&(t=i+t)}}return t},e.softCopyProperties=function(t,e){return l.each(t,function(t,i){a.hasValue(i)&&!a.hasValue(e[t])&&(e[t]=i)}),e},e.copy=function(t,e){return l.each(t,function(t,i){e[t]=i}),e},e.isNotEmpty=function(t){return a.hasValue(t)&&""!==t.toString()},e.relativeToValue=function(t,e){return a.isNumber(t)?t:null!=t&&a.isNumber(t.value)&&a.isNumber(e)?e*t.value:0},e.relativeRadiusToValue=function(t,e,i){var n;a.isNumber(t)?(n=t)<0&&(n=i?e+n:e-n):null!=t&&a.isNumber(t.value)&&(n=e*t.value);return n},e.valueToRelative=function(t,e){return t instanceof n.a?t.value:t/e},e.getPixelRatio=function(){return window.devicePixelRatio||1},e.camelToDashed=function(t){return t.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase()},e.capitalize=function(t){var e=t.split("");return e[0]=e[0].toUpperCase(),e.join("")},e.stringify=function(t){return JSON.stringify(t)},e.escapeForRgex=function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},e.splitTextByCharCount=p,e.truncateWithEllipsis=function(t,e,i,n,r){if(t.length<=e)return t;(e-=i.length)<1&&(e=1);return(p(t,e,n,r)[0]||"")+i},e.trim=function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},e.rtrim=function(t){return t.replace(/[\s\uFEFF\xA0]+$/g,"")},e.ltrim=function(t){return t.replace(/^[\s\uFEFF\xA0]+/g,"")},e.reverseString=d,e.unquote=function(t){var e=t.trim();(e=t.replace(/^'(.*)'$/,"$1"))==t&&(e=t.replace(/^"(.*)"$/,"$1"));return e},e.padString=function(t,e,i){void 0===e&&(e=0);void 0===i&&(i="0");"string"!=typeof t&&(t=t.toString());return e>t.length?Array(e-t.length+1).join(i)+t:t},e.getFormat=function(t){if(void 0===t)return u.g;var e=(t=(t=(t=t.toLowerCase().replace(/^\[[^\]]*\]/,"")).replace(/\[[^\]]+\]/,"")).trim()).match(/\/(date|number|duration)$/);if(e)return e[1];if(t===u.c)return u.c;if(t===u.a)return u.a;if(t===u.b)return u.b;if(t.match(/[#0]/))return u.c;if(t.match(/[ymwdhnsqaxkzgtei]/))return u.a;return u.g},e.cleanFormat=function(t){return t.replace(/\/(date|number|duration)$/i,"")},e.stripTags=f,e.plainText=function(t){return t?f(t.replace(/[\n\r]+/g,". ")):t},e.numberToString=function(t){if(a.isNaN(t))return"NaN";if(t===1/0)return"Infinity";if(t===-1/0)return"-Infinity";if(0===t&&1/t==-1/0)return"-0";var e=t<0;t=Math.abs(t);var i,n=a.getValue(/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+t)),r=n[1],o=n[2]||"";if(null==n[3])i=""===o?r:r+"."+o;else{var u=+n[3];if(t<1){var l=u-1;i="0."+s.repeat("0",l)+r+o}else{var l=u-o.length;i=0===l?r+o:l<0?r+o.slice(0,l)+"."+o.slice(l):r+o+s.repeat("0",l)}}return e?"-"+i:i},e.anyToDate=function(t){if(a.isDate(t))return new Date(t);if(a.isNumber(t))return new Date(t);var e=Number(t);return a.isNumber(e)?new Date(e):new Date(t)},e.anyToNumber=function(t){if(a.isDate(t))return t.getTime();if(a.isNumber(t))return t;if(a.isString(t)){var e=Number(t);return a.isNumber(e)?e:void 0}},e.getYearDay=g,e.getWeek=m,e.getMonthWeek=function(t,e){void 0===e&&(e=!1);var i=m(new Date(t.getFullYear(),t.getMonth(),1),e),n=m(t,e);1==n&&(n=53);return n-i+1},e.getDayFromWeek=function(t,e,i,n){void 0===i&&(i=1);void 0===n&&(n=!1);var r=new Date(e,0,4,0,0,0,0);n&&r.setUTCFullYear(e);return 7*t+i-((r.getDay()||7)+3)},e.get12Hours=function(t,e){t>12?t-=12:0===t&&(t=12);return a.hasValue(e)?t+(e-1):t},e.getTimeZone=function(t,e,i,n){void 0===e&&(e=!1);void 0===i&&(i=!1);void 0===n&&(n=!1);if(n)return e?"Coordinated Universal Time":"UTC";var r=t.toLocaleString("UTC"),o=t.toLocaleString("UTC",{timeZoneName:e?"long":"short"}).substr(r.length);!1===i&&(o=o.replace(/ (standard|daylight|summer|winter) /i," "));return o},e.random=function(t,e){return Math.floor(Math.random()*e)+t},e.fitNumber=function(t,e,i){if(t>i)return i;if(ti?t=e+(t-n*Math.floor(t/n)):t1&&r.pop(),h.pushAll(r,o),i.path=r.join("/"),""!==i.path&&"/"!==i.path[0])throw new Error("URL path must start with /")}return i.query=n.query,i.hash=n.hash,w(i)}return w(n)},e.isIE=function(){return!!window.MSInputMethodContext&&!!document.documentMode};var n=i("tjMS"),r=i("LBDG"),o=i("Gg2j"),a=i("Mtpk"),s=i("wUYf"),u=i("ScGY"),l=i("Qkdp"),h=i("hJ5i");function c(t){return/^[^#]*/.exec(t)[0]}function p(t,e,i,n){if(t.length<=e)return[t];var r=[];if(i)for(var o=-1,a=t.replace(/([,;:!?\\\/\.\s]+)/g,u.d+"$1"+u.d).split(u.d),s=0;se){if(n&&(l=d(l)),c=l.match(new RegExp(".{1,"+e+"}","g"))){if(n)for(var p=0;pe&&""!==r[o]&&(r.push(""),o++),r[o]+=l;o=r.length-1}}else if(c=t.match(new RegExp(".{1,"+e+"}","g"))){if(n)for(p=0;pe&&(r=[]),r}function d(t){return t.split("").reverse().join("")}function f(t){return t?t.replace(/<[^>]*>/g,""):t}function g(t,e){void 0===e&&(e=!1);var i=new Date(t.getFullYear(),0,1,0,0,0,0);return Math.floor((t.getTime()-i.getTime())/864e5)+1}function m(t,e){void 0===e&&(e=!1);var i=g(t,e)-1,n=Math.floor((i-(t.getDay()||7)+10)/7);return 0===n?n=53:53===n&&(n=1),n}function y(t,e){var i=t.x,n=t.y,r=[];if(e){for(;a.hasValue(e.parent);)r.push(e),e=e.parent;r.reverse();for(var s=0;s=t._end&&e(t._array[i]);--i);}},t.prototype.backwards=function(){return new t(this._array,this._end,this._start)},t.prototype.range=function(e,i){if(e<=i){if(this._start===this._end)return this;if(this._start=0&&t=0&&t0);if(o>=a)return a;this.swap(o,a)}},t.prototype.sort=function(t){this._sortQuicksort(0,this._values.length-1,t)},t.prototype.swap=function(t,e){var i=this._values.length;if(c(t,i),c(e,i),t!==e){var n=this._values[t],r=this._values[e];this._values[t]=r,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:t,oldValue:n,newValue:r}),this._values[e]=n,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:e,oldValue:r,newValue:n})}},t.prototype.removeIndex=function(t){c(t,this._values.length);var e=this._values[t];return a.removeIndex(this._values,t),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:t,oldValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:e}),e},t.prototype.moveValue=function(t,e){var i=this.indexOf(t);if(-1!==i){var n=this._values[i];a.removeIndex(this._values,i),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:i,oldValue:n})}null==e?(e=this._values.length,this._values.push(t)):a.insertIndex(this._values,e,t),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:t}),-1===i&&this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:t})},t.prototype.push=function(t){var e=this._values.push(t)-1;return this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:t}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:t}),t},t.prototype.unshift=function(t){this.insertIndex(0,t)},t.prototype.pushAll=function(t){var e=this;a.each(t,function(t){e.push(t)})},t.prototype.copyFrom=function(t){this.pushAll(t._values)},t.prototype.pop=function(){return this._values.length-1<0?void 0:this.removeIndex(this._values.length-1)},t.prototype.shift=function(){return this._values.length?this.removeIndex(0):void 0},t.prototype.setAll=function(t){var e=this,i=a.copy(this._values);this._values.length=0,a.each(t,function(t){e._values.push(t)}),this.events.isEnabled("setAll")&&this.events.dispatchImmediately("setAll",{type:"setAll",target:this,oldArray:i,newArray:this._values}),this.events.isEnabled("removed")&&a.each(i,function(t){e.events.dispatchImmediately("removed",{type:"removed",target:e,oldValue:t})}),this.events.isEnabled("inserted")&&a.each(this._values,function(t){e.events.dispatchImmediately("inserted",{type:"inserted",target:e,newValue:t})})},t.prototype.clear=function(){this.setAll([])},t.prototype.iterator=function(){return s.fromArray(this._values)},t.prototype[Symbol.iterator]=function(){var t,e;return n.d(this,function(i){switch(i.label){case 0:t=this._values.length,e=0,i.label=1;case 1:return e0?arguments[0]:void 0)}},{add:function(t){return n.def(r(this,"WeakSet"),t,!0)}},n,!1,!0)},vbOF:function(t,e,i){"use strict";i.d(e,"a",function(){return h});var n=i("m4/l"),r=i("YotE"),o=i("Tjl+"),a=i("vMqJ"),s=i("+qIf"),u=i("zhwk"),l=i("Mtpk"),h=function(t){function e(e){var i=t.call(this)||this;return i._eventDispatcher=new r.a(i),i.eventDisposers=new s.a,i.replacedStyles=new s.a,i._clickable=!1,i._contextMenuDisabled=!1,i._hoverable=!1,i._trackable=!1,i._draggable=!1,i._swipeable=!1,i._resizable=!1,i._wheelable=!1,i._inert=!1,i._isHover=!1,i._isHoverByTouch=!1,i._isDown=!1,i._isFocused=!1,i._isTouchProtected=!1,i._inertiaOptions=new s.a,i.inertias=new s.a,i._hitOptions={},i._hoverOptions={},i._swipeOptions={},i._keyboardOptions={},i._mouseOptions={},i._cursorOptions={defaultStyle:[{property:"cursor",value:"default"}]},i._disposers.push(i._eventDispatcher),i._element=e,i.className="InteractionObject",i._disposers.push(new s.b(i.inertias)),i._disposers.push(new s.b(i.eventDisposers)),i.applyTheme(),i}return n.c(e,t),Object.defineProperty(e.prototype,"events",{get:function(){return this._eventDispatcher},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHover",{get:function(){return this._isHover},set:function(t){this.isHover!=t&&(this._isHover=t,t?Object(u.b)().overObjects.moveValue(this):Object(u.b)().overObjects.removeValue(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHoverByTouch",{get:function(){return this._isHoverByTouch},set:function(t){this.isHoverByTouch!=t&&(this._isHoverByTouch=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overPointers",{get:function(){return this._overPointers||(this._overPointers=new a.b),this._overPointers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDown",{get:function(){return this._isDown},set:function(t){this.isDown!=t&&(this._isDown=t,t?Object(u.b)().downObjects.moveValue(this):Object(u.b)().downObjects.removeValue(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"downPointers",{get:function(){return this._downPointers||(this._downPointers=new a.b),this._downPointers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFocused",{get:function(){return this._isFocused},set:function(t){this.isFocused!=t&&(this._isFocused=t,Object(u.b)().focusedObject=t?this:void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isTouchProtected",{get:function(){return this._isTouchProtected},set:function(t){this._isTouchProtected!=t&&(this._isTouchProtected=t,t?Object(u.b)().unprepElement(this):(this.draggable||this.swipeable||this.trackable||this.resizable)&&Object(u.b)().prepElement(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clickable",{get:function(){return this._clickable},set:function(t){this._clickable!==t&&(this._clickable=t,Object(u.b)().processClickable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contextMenuDisabled",{get:function(){return this._contextMenuDisabled},set:function(t){this._contextMenuDisabled!==t&&(this._contextMenuDisabled=t,Object(u.b)().processContextMenu(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverable",{get:function(){return this._hoverable},set:function(t){this._hoverable!==t&&(this._hoverable=t,Object(u.b)().processHoverable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trackable",{get:function(){return this._trackable},set:function(t){this._trackable!==t&&(this._trackable=t,Object(u.b)().processTrackable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"draggable",{get:function(){return this._draggable},set:function(t){this._draggable!==t&&(this._draggable=t,Object(u.b)().processDraggable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeable",{get:function(){return this._swipeable},set:function(t){this._swipeable!==t&&(this._swipeable=t,Object(u.b)().processSwipeable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resizable",{get:function(){return this._resizable},set:function(t){this._resizable!==t&&(this._resizable=t,Object(u.b)().processResizable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wheelable",{get:function(){return this._wheelable},set:function(t){this._wheelable!==t&&(this._wheelable=t,Object(u.b)().processWheelable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inert",{get:function(){return this._inert},set:function(t){this._inert!==t&&(this._inert=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focusable",{get:function(){return this._focusable},set:function(t){this._focusable!==t&&(this._focusable=t,this._focusable&&-1==this.tabindex&&(this._tabindex=1),Object(u.b)().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){return l.getValueDefault(this._tabindex,-1)},set:function(t){this._tabindex!==t&&(this._tabindex=t,t>-1&&(this.focusable=!0),Object(u.b)().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._element},set:function(t){this._element=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalPosition",{get:function(){return this._originalPosition||{x:0,y:0}},set:function(t){this._originalPosition=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalScale",{get:function(){return l.getValueDefault(this._originalScale,1)},set:function(t){this._originalScale!==t&&(this._originalScale=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalAngle",{get:function(){return l.getValueDefault(this._originalAngle,0)},set:function(t){this._originalAngle!==t&&(this._originalAngle=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inertiaOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("inertiaOptions",this._inertiaOptions):this._inertiaOptions},set:function(t){this._inertiaOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hitOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("hitOptions",this._hitOptions):this._hitOptions},set:function(t){this._hitOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("hoverOptions",this._hoverOptions):this._hoverOptions},set:function(t){this._hoverOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("swipeOptions",this._swipeOptions):this._swipeOptions},set:function(t){this._swipeOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyboardOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("keyboardOptions",this._keyboardOptions):this._keyboardOptions},set:function(t){this._keyboardOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mouseOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("mouseOptions",this._mouseOptions):this._mouseOptions},set:function(t){this._mouseOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("cursorOptions",this._cursorOptions):this._cursorOptions},set:function(t){this._cursorOptions=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.inertiaOptions=e.inertiaOptions,this.hitOptions=e.hitOptions,this.hoverOptions=e.hoverOptions,this.swipeOptions=e.swipeOptions,this.keyboardOptions=e.keyboardOptions,this.cursorOptions=e.cursorOptions,this.contextMenuDisabled=e.contextMenuDisabled,Object(u.b)().applyCursorOverStyle(this)},e.prototype.setEventDisposer=function(t,e,i){var n=this.eventDisposers.getKey(t);e?null==n&&this.eventDisposers.setKey(t,i()):null!=n&&(n.dispose(),this.eventDisposers.removeKey(t))},e.prototype.dispose=function(){t.prototype.dispose.call(this);var e=Object(u.b)();e.overObjects.removeValue(this),e.downObjects.removeValue(this),e.trackedObjects.removeValue(this),e.transformedObjects.removeValue(this),this.isHover&&this.wheelable&&e.unlockWheel(),e.focusedObject===this&&(e.focusedObject=void 0)},e}(o.b)},vdWU:function(t,e,i){"use strict";var n=i("T9LF"),r=i("hjwn"),o=i("gD3S"),a=i("YEtG")("species");t.exports=function(t){var e=n[t];o&&e&&!e[a]&&r.f(e,a,{configurable:!0,get:function(){return this}})}},vsTS:function(t,e,i){var n=i("hjwn"),r=i("nHHr"),o=i("K0ev"),a=i("U3hN"),s=i("Gb1H"),u=i("Wbjh"),l=i("snR7"),h=i("DvJ+");s(s.S,"Reflect",{set:function t(e,i,s){var c,p,d=arguments.length<4?e:arguments[3],f=r.f(l(e),i);if(!f){if(h(p=o(e)))return t(p,i,s,d);f=u(0)}if(a(f,"value")){if(!1===f.writable||!h(d))return!1;if(c=r.f(d,i)){if(c.get||c.set||!1===c.writable)return!1;c.value=s,n.f(d,i,c)}else n.f(d,i,u(0,s));return!0}return void 0!==f.set&&(f.set.call(d,s),!0)}})},w1yl:function(t,e,i){var n=i("YEtG")("toPrimitive"),r=Date.prototype;n in r||i("Vng0")(r,n,i("kJ6f"))},w4m0:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("m4/l"),r=i("GtDR"),o=i("aFzC"),a=i("hGwe"),s=function(t){function e(){var e=t.call(this)||this;return e.className="WavedRectangle",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.setPropertyValue("wavedLeft",!0),e.setPropertyValue("wavedRight",!0),e.setPropertyValue("wavedTop",!0),e.setPropertyValue("wavedBottom",!0),e.applyTheme(),e}return n.c(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this.pixelHeight;if(e>0&&i>0){var n={x:0,y:0},r={x:e,y:0},s={x:e,y:i},u={x:0,y:i},l=Math.min(e,this.waveLength),h=Math.min(i,this.waveHeight),c=Math.min(i,this.waveLength),p=Math.min(e,this.waveHeight),d="",f="",g="",m="";this.wavedTop&&(d=Object(o.c)(n,r,l,h,this.tension,!0)),this.wavedRight&&(f=Object(o.c)(r,s,c,p,this.tension,!0)),this.wavedBottom&&(g=Object(o.c)(s,u,l,h,this.tension,!0)),this.wavedLeft&&(m=Object(o.c)(u,n,c,p,this.tension,!0)),this.path=a.moveTo(n)+d+a.lineTo(r)+f+a.lineTo(s)+g+a.lineTo(u)+m+"z"}},Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.setWavedSides=function(t,e,i,n){this.wavedTop=t,this.wavedRight=e,this.wavedBottom=i,this.wavedLeft=n},Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wavedRight",{get:function(){return this.getPropertyValue("wavedRight")},set:function(t){this.setPropertyValue("wavedRight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wavedLeft",{get:function(){return this.getPropertyValue("wavedLeft")},set:function(t){this.setPropertyValue("wavedLeft",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wavedTop",{get:function(){return this.getPropertyValue("wavedTop")},set:function(t){this.setPropertyValue("wavedTop",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wavedBottom",{get:function(){return this.getPropertyValue("wavedBottom")},set:function(t){this.setPropertyValue("wavedBottom",t,!0)},enumerable:!0,configurable:!0}),e}(r.a)},wDk4:function(t,e,i){var n=i("T9LF"),r=i("Vng0"),o=i("U3hN"),a=i("7bL/")("src"),s=i("+BwA"),u=(""+s).split("toString");i("G5U1").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,i,s){var l="function"==typeof i;l&&(o(i,"name")||r(i,"name",e)),t[e]!==i&&(l&&(o(i,a)||r(i,a,t[e]?""+t[e]:u.join(String(e)))),t===n?t[e]=i:s?t[e]?t[e]=i:r(t,e,i):(delete t[e],r(t,e,i)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},wUYf:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.order=function(t,e){return t===e?0:tc;)void 0!==(i=u(n,e=l[c++]))&&s(h,e,i);return h}})},x2K9:function(t,e,i){"use strict";var n=i("snR7");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},x79X:function(t,e,i){"use strict";i.d(e,"b",function(){return l}),i.d(e,"c",function(){return h}),i.d(e,"a",function(){return c});var n=i("VGgz"),r=i("3Cxr"),o=i("MlsF"),a=i("Wglt"),s=i("hJ5i"),u=i("Mtpk"),l=function(){function t(){this._callbackId=0,this._callbacks=new n.c(function(t,e){return o.a(r.order(t.priority,e.priority),r.order(t.id,e.id))})}return t.prototype.addAll=function(t,e,i,n,r){void 0===n&&(n=0),this._callbacks.insert({id:++this._callbackId,key:e,callback:i,priority:n,scope:r,type:t})},t.prototype.isEnabled=function(t,e){return this._callbacks.length>0},t.prototype.applyAll=function(t,e,i){var n=this._callbacks.values,r=n.length;if(0==r)return i;for(var o=0;o0||h.isEnabled(this.object,t)},t.prototype.apply=function(t,e){var i=this._callbacks.values,n=i.length;if(n>0)for(var r=0;r0?arguments[0]:void 0)}},{add:function(t){return n.def(r(this,"Set"),t=0===t?0:t,t)}},n)},xDSx:function(t,e,i){var n=i("DvJ+"),r=i("kFp5").onFreeze;i("5lay")("freeze",function(t){return function(e){return t&&n(e)?t(r(e)):e}})},xEZ5:function(t,e,i){"use strict";i("Mvcd")("anchor",function(t){return function(e){return t(this,"a","name",e)}})},xIv9:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("aGXA"),o=i("Vs7R"),a=i("MIZb"),s=i("aCit"),u=i("hGwe"),l=function(t){function e(){var e=t.call(this)||this;e.className="ResizeButton",e.orientation="horizontal",e.layout="absolute",e.horizontalCenter="middle",e.verticalCenter="middle",e.draggable=!0,e.padding(8,8,8,8),e.background.cornerRadius(20,20,20,20);var i=new o.a;i.element=e.paper.add("path");var n=u.moveTo({x:-2,y:-6});return n+=u.lineTo({x:-2,y:6}),n+=u.moveTo({x:2,y:-6}),n+=u.lineTo({x:2,y:6}),i.path=n,i.pixelPerfect=!0,i.padding(0,4,0,4),i.stroke=(new a.a).getFor("alternativeText"),i.strokeOpacity=.7,e.icon=i,e.label.dispose(),e.label=void 0,e.applyTheme(),e}return n.c(e,t),Object.defineProperty(e.prototype,"orientation",{set:function(t){var e=this.icon;e&&(e.rotation="horizontal"==t?0:-90)},enumerable:!0,configurable:!0}),e}(r.a);s.c.registeredClasses.ResizeButton=l},xSzy:function(t,e,i){for(var n,r=i("T9LF"),o=i("Vng0"),a=i("7bL/"),s=a("typed_array"),u=a("view"),l=!(!r.ArrayBuffer||!r.DataView),h=l,c=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");c<9;)(n=r[p[c++]])?(o(n.prototype,s,!0),o(n.prototype,u,!0)):h=!1;t.exports={ABV:l,CONSTR:h,TYPED:s,VIEW:u}},xdw4:function(t,e,i){var n=i("T9LF"),r=i("G5U1"),o=i("pb4Y"),a=i("xxwE"),s=i("hjwn").f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},xgTw:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i("m4/l"),r=i("jfaP"),o=i("aCit"),a=i("Gg2j"),s=i("Mtpk"),u=i("hGwe"),l=function(t){function e(){var e=t.call(this)||this;return e.className="Polyspline",e.tensionX=.5,e.tensionY=.5,e.applyTheme(),e}return n.c(e,t),e.prototype.makePath=function(){this._distance=0;var t=this.segments,e=this.tensionX,i=this.tensionY;if(this.allPoints=[],t&&t.length>0){var n="";this._realSegments=[];for(var r=0,o=t.length;r0){var h=s[0],c=s[s.length-1],p=!1;a.round(h.x,3)==a.round(c.x)&&a.round(h.y)==a.round(c.y)&&(p=!0),n+=u.moveTo(s[0]);for(var d=0;d0)for(var P=0;P<=x;P++){var w=a.getPointOnCubicCurve(g,m,v,b,P/x);if(w.x!=_.x||w.y!=_.y){l.push(w);var O=a.round(a.getAngle(_,w),5);this._distance+=a.getDistance(_,w),this.allPoints[Math.floor(this._distance)]={x:w.x,y:w.y,angle:O},_=w}}else l.push(f)}}var S=this.allPoints;if(S.length>1)for(var T=0;T1)S[T]=S[T-1];else for(var C=1;C1)for(var r=1;r1){if(e&&r>3){if(t<0){t<-.01&&(t=-.01);var o=n[0],u=n[1];return{x:l=o.x-(o.x-u.x)*r*t,y:h=o.y-(o.y-u.y)*r*t,angle:a.getAngle(o,u)}}if(t>1){t>1.01&&(t=1.01);var l,h;o=n[n.length-2],u=n[n.length-3];return{x:l=o.x+(o.x-u.x)*r*(t-1),y:h=o.y+(o.y-u.y)*r*(t-1),angle:a.getAngle(o,{x:l,y:h})}}if(1==t){var c=n[n.length-1];return{x:c.x,y:c.y,angle:c.angle}}}else t<0&&(t=Math.abs(t),i=180),t>=1&&(t=.9999999999999);var p;return{x:(p=n[Math.floor(t*r)]).x,y:p.y,angle:p.angle+i}}return 1==r?{x:(p=n[0]).x,y:p.y,angle:p.angle}:{x:0,y:0,angle:0}},e}(r.a);o.c.registeredClasses.Polyspline=l},xwvB:function(t,e,i){"use strict";var n=i("Gb1H"),r=i("DbOM"),o=i("vJiZ"),a=i("AEc5"),s=[].sort,u=[1,2,3];n(n.P+n.F*(a(function(){u.sort(void 0)})||!a(function(){u.sort(null)})||!i("GQop")(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),r(t))}})},xxwE:function(t,e,i){e.f=i("YEtG")},y2pX:function(t,e,i){"use strict";var n=i("vJiZ"),r=i("UwWU"),o=i("FmWr");t.exports=[].copyWithin||function(t,e){var i=n(this),a=o(i.length),s=r(t,a),u=r(e,a),l=arguments.length>2?arguments[2]:void 0,h=Math.min((void 0===l?a:r(l,a))-u,a-s),c=1;for(u0;)u in i?i[s]=i[u]:delete i[s],s+=c,u+=c;return i}},yBbu:function(t,e,i){var n=i("6MWL"),r=i("snR7"),o=n.keys,a=n.key;n.exp({getOwnMetadataKeys:function(t){return o(r(t),arguments.length<2?void 0:a(arguments[1]))}})},yOPk:function(t,e){t.exports=function(t,e,i){var n=void 0===i;switch(e.length){case 0:return n?t():t.call(i);case 1:return n?t(e[0]):t.call(i,e[0]);case 2:return n?t(e[0],e[1]):t.call(i,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(i,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(i,e[0],e[1],e[2],e[3])}return t.apply(i,e)}},ybeA:function(t,e,i){var n=i("T9LF"),r=i("Gb1H"),o=i("vSjZ"),a=[].slice,s=/MSIE .\./.test(o),u=function(t){return function(e,i){var n=arguments.length>2,r=!!n&&a.call(arguments,2);return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,r)}:e,i)}};r(r.G+r.B+r.F*s,{setTimeout:u(n.setTimeout),setInterval:u(n.setInterval)})},yl71:function(t,e,i){var n=i("Gb1H"),r=i("EhJv"),o=i("FmWr");n(n.S,"String",{raw:function(t){for(var e=r(t.raw),i=o(e.length),n=arguments.length,a=[],s=0;i>s;)a.push(String(e[s++])),s-1&&!this._useTouchEventsOnly)t.eventDisposers.hasKey("focusable")||t.eventDisposers.setKey("focusable",new s.c([Object(p.g)(t.element,"focus",function(i){return e.handleFocus(t,i)}),Object(p.g)(t.element,"blur",function(i){return e.handleBlur(t,i)}),Object(p.g)(t.element,this._pointerEvents.pointerdown,function(i){return e.handleFocusBlur(t,i)}),Object(p.g)(t.element,"touchstart",function(i){return e.handleFocusBlur(t,i)},!!this._passiveSupported&&{passive:!1})]));else{var i=t.eventDisposers.getKey("focusable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("focusable"))}},e.prototype.processTouchable=function(t){var e=this;if(t.clickable||t.hoverable||t.trackable||t.draggable||t.swipeable||t.resizable)this.addGlobalEvents(),t.eventDisposers.hasKey("touchable")||(this._useTouchEventsOnly||this._usePointerEventsOnly?this._useTouchEventsOnly?this._usePointerEventsOnly||t.eventDisposers.setKey("touchable",Object(p.g)(t.element,"touchstart",function(i){return e.handleTouchDown(t,i)},!!this._passiveSupported&&{passive:!1})):t.eventDisposers.setKey("touchable",Object(p.g)(t.element,this._pointerEvents.pointerdown,function(i){return e.handlePointerDown(t,i)})):t.eventDisposers.setKey("touchable",new s.c([Object(p.g)(t.element,this._pointerEvents.pointerdown,function(i){return e.handlePointerDown(t,i)}),Object(p.g)(t.element,"touchstart",function(i){return e.handleTouchDown(t,i)},!!this._passiveSupported&&{passive:!1})])));else{var i=t.eventDisposers.getKey("touchable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("touchable"))}},e.prototype.handleFocus=function(t,e){if(t.focusable){if(t.isFocused=!0,t.events.isEnabled("focus")&&!f.b.isPaused){var i={type:"focus",target:t,event:e};t.events.dispatchImmediately("focus",i)}}else e.preventDefault()},e.prototype.handleFocusBlur=function(t,e){!1!==t.focusable&&this.getHitOption(t,"noFocus")&&t.events.once("focus",function(){t.events.disableType("blur"),p.h(),t.sprite&&t.sprite.handleBlur(),t.events.enableType("blur")})},e.prototype.handleBlur=function(t,e){if(t.focusable){if(t.isFocused=!1,t.events.isEnabled("blur")&&!f.b.isPaused){var i={type:"blur",target:t,event:e};t.events.dispatchImmediately("blur",i)}}else e.preventDefault()},e.prototype.handleGlobalKeyDown=function(t){if(this.focusedObject)if(d.b.isKey(t,"esc"))p.h();else if(this.focusedObject.draggable&&d.b.isKey(t,["up","down","left","right"])){t.preventDefault();var e=this.focusedObject;if(e.eventDisposers.hasKey("interactionKeyboardObject"))return;var i=new l.a(e,t);switch(e.eventDisposers.setKey("interactionKeyboardObject",i),d.b.getEventKey(t)){case"up":i.directionY=-1;break;case"down":i.directionY=1;break;case"left":i.directionX=-1;break;case"right":i.directionX=1}}},e.prototype.handleGlobalKeyUp=function(t){if(this.focusedObject){var e=this.focusedObject.eventDisposers.getKey("interactionKeyboardObject");null!=e&&(t.preventDefault(),e.dispose(),this.focusedObject.eventDisposers.removeKey("interactionKeyboardObject"))}},e.prototype.handleGlobalPointerMove=function(t){var e=this.getPointer(t);if(e.point=this.getPointerPoint(t),this.events.isEnabled("track")&&!f.b.isPaused){var i={type:"track",target:this,event:t,pointer:e,touch:e.touch};this.events.dispatchImmediately("track",i)}this.addBreadCrumb(e,e.point),this.handleGlobalMove(e,t)},e.prototype.handleGlobalPointerDown=function(t){this.processDelayed();var e=this.getPointer(t);if(this.events.isEnabled("down")&&!f.b.isPaused){var i={type:"down",target:this,event:t,pointer:e,touch:e.touch};this.events.dispatchImmediately("down",i)}},e.prototype.preventTouchAction=function(t){t.defaultPrevented||t.preventDefault()},e.prototype.handleGlobalPointerUp=function(t,e){void 0===e&&(e=!1);var i=this.getPointer(t);if(this.events.isEnabled("up")&&!f.b.isPaused){var n={type:"up",target:this,event:t,pointer:i,touch:i.touch};this.events.dispatchImmediately("up",n)}this.handleGlobalUp(i,t,e)},e.prototype.handleGlobalTouchMove=function(t){for(var e=0;e=n-this.getHitOption(t,"doubleHitTime")){if(n-t.lastHit<100)return;if(t.lastHit=void 0,t.lastHitPointer=void 0,t.events.isEnabled("doublehit")&&!f.b.isPaused){var r={type:"doublehit",target:t,point:e.point,event:i,touch:e.touch};t.events.dispatchImmediately("doublehit",r)}}else if(t.lastHit=n,t.lastHitPointer=e,3===e.button){if(t.events.isEnabled("rightclick")&&!f.b.isPaused){r={type:"rightclick",target:t,event:i};t.events.dispatchImmediately("rightclick",r)}}else if(t.events.isEnabled("hit")&&!f.b.isPaused){r={type:"hit",target:t,event:i,point:e.point,touch:e.touch};t.events.dispatchImmediately("hit",r)}},e.prototype.handleOver=function(t,e,i,n){if(void 0===n&&(n=!1),t.hoverable&&(this.processDelayed(),t.overPointers.moveValue(e),!t.isHover&&(t.isHover=!0,this.overObjects.moveValue(t),this.handleTrack(this.body,e,i,!0),t.events.isEnabled("over")&&!f.b.isPaused))){var r={type:"over",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("over",r)}},e.prototype.handleOut=function(t,e,i,n,r){var o=this;if(void 0===n&&(n=!1),void 0===r&&(r=!1),t.hoverable&&(t.overPointers.removeValue(e),t.isHover&&(!t.hasDelayedOut||r))){if(n&&t.overPointers.length)return;if(e.touch&&!r&&!this.old(e)){var a=this.getHoverOption(t,"touchOutBehavior");if("leave"==a)return this._delayedEvents.out.push({type:"out",io:t,pointer:e,event:i,keepUntil:b.getTime()+500}),void(t.hasDelayedOut=!0);if("delay"==a&&this.getHoverOption(t,"touchOutDelay"))return void this._delayedEvents.out.push({type:"out",io:t,pointer:e,event:i,keepUntil:b.getTime()+500,timeout:this.setTimeout(function(){o.handleOut(t,e,i,!0)},this.getHoverOption(t,"touchOutDelay"))})}if(t.isHover=!1,this.overObjects.removeValue(t),t.events.isEnabled("out")&&!f.b.isPaused){var s={type:"out",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("out",s)}t.overPointers.clear(),t.hasDelayedOut=!1}},e.prototype.processDelayed=function(){for(var t;t=this._delayedEvents.out.pop();)t.timeout&&t.timeout.dispose(),this.handleOut(t.io,t.pointer,t.event,!1,!0)},e.prototype.handleDown=function(t,e,i){if(this.maybePreventDefault(t,i,e),t.inert&&this.stopInertia(t),this.handleOver(t,e,i,!0),t.downPointers.moveValue(e),this.applyCursorDownStyle(t,e),t.isDown||(!1!==t.focusable&&this.getHitOption(t,"noFocus")&&this.focusedObject&&p.h(),t.isDown=!0,this.downObjects.moveValue(t),t.draggable&&this.processDragStart(t,e,i),t.resizable&&this.processResizeStart(t,e,i)),t.events.isEnabled("down")&&!f.b.isPaused){var n={type:"down",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("down",n)}},e.prototype.handleGlobalUp=function(t,e,i){var n=this;void 0===i&&(i=!1),y.each(this.downObjects.backwards().iterator(),function(r){r&&r.downPointers.contains(t)&&n.handleUp(r,t,e,i)})},e.prototype.handleUp=function(t,e,i,n){if(void 0===n&&(n=!1),this.restoreCursorDownStyle(t,e),t.downPointers.removeValue(e),(e.touch||this._useTouchEventsOnly)&&this.handleOut(t,e,i,!0),t.isDown){if(0==t.downPointers.length&&(t.isDown=!1,this.downObjects.removeValue(t)),t.events.isEnabled("up")&&!f.b.isPaused){var r={type:"up",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("up",r)}n||(t.swipeable&&this.swiped(t,e)?this.handleSwipe(t,e,i):(t.clickable&&!this.moved(e,this.getHitOption(t,"hitTolerance"))&&this.handleHit(t,e,i),t.inert&&this.moved(e,this.getHitOption(t,"hitTolerance"))?this.handleInertia(t,e):t.draggable&&this.processDragStop(t,e,i),t.resizable&&this.processResizeStop(t,e,i)))}},e.prototype.maybePreventDefault=function(t,e,i){!v.hasValue(e)||!(t.draggable||t.swipeable||t.trackable||t.resizable)||this.isGlobalElement(t)||!1===e.cancelable||t.isTouchProtected&&i&&i.touch||e.preventDefault()},e.prototype.handleGlobalMove=function(t,e){var i=this;if(!t.touch){var n=p.k(t.lastEvent);y.each(this.overObjects.backwards().iterator(),function(r){if(r&&r.overPointers.contains(t)&&r.hoverable){var o=!1;r.element&&t.lastEvent&&p.i(r.element,n)||(o=!0),o&&i.handleOut(r,t,e,!0)}})}y.each(this.transformedObjects.backwards().iterator(),function(n){!n.downPointers.contains(t)||n.swipeable&&i.swiping(n,t)||!n.draggable&&!n.resizable||i.handleTransform(n,e)}),y.each(this.trackedObjects.backwards().iterator(),function(n){n.overPointers.contains(t)||i.handleTrack(n,t,e)})},e.prototype.handleTrack=function(t,e,i,n){if(void 0===n&&(n=!1),(n||this.moved(e,0))&&t.events.isEnabled("track")&&!f.b.isPaused){var r={type:"track",target:t,event:i,point:e.point,pointer:e,touch:e.touch};t.events.dispatchImmediately("track",r)}},e.prototype.handleSwipe=function(t,e,i){if(t.events.isEnabled("swipe")&&!f.b.isPaused){var n={type:"swipe",target:t,event:i,touch:e.touch};t.events.dispatchImmediately("swipe",n)}if(e.startPoint.x0?t.events.isEnabled("swiperight")&&!f.b.isPaused&&t.events.dispatchImmediately("wheelright",{type:"wheelright",target:t,event:r,point:e.point,shift:o}):n<0?t.events.isEnabled("wheelup")&&!f.b.isPaused&&t.events.dispatchImmediately("wheelup",{type:"wheelup",target:t,event:r,point:e.point,shift:o}):n>0&&t.events.isEnabled("wheeldown")&&!f.b.isPaused&&t.events.dispatchImmediately("wheeldown",{type:"wheeldown",target:t,event:r,point:e.point,shift:o})},e.prototype.handleInertia=function(t,e){t.draggable&&0===t.downPointers.length&&this.handleMoveInertia(t,e),t.resizable&&t.downPointers.length>1&&this.handleResizeInertia(t,e)},e.prototype.handleMoveInertia=function(t,e){var i=t,n={x:e.point.x,y:e.point.y},r={x:e.startPoint.x,y:e.startPoint.y},o=new c.a(i,"move",n,r),s=this.getTrailPoint(e,b.getTime()-this.getInertiaOption(t,"move","time"));if(void 0!==s){var u=this.getInertiaOption(t,"move","factor"),l=[{to:e.point.x+(e.point.x-s.point.x)*u,property:"x"},{to:e.point.y+(e.point.y-s.point.y)*u,property:"y"}],h=new a.a(o,l,this.getInertiaOption(t,"move","duration"),this.getInertiaOption(t,"move","easing")).start();this._disposers.push(h.events.on("animationended",function(t){o.done()})),t.inertias.setKey("move",o)}else this.processDragStop(t,e,e.lastUpEvent)},e.prototype.handleResizeInertia=function(t,e){},e.prototype.handleTransform=function(t,e){var i,n,r,o=t.downPointers.getIndex(0),a=null,s=null;o&&(a=o.point,s=o.startPoint),r=n={x:t.originalPosition.x,y:t.originalPosition.y};for(var u=!0,l=1;li-this.getSwipeOption(t,"time"))},e.prototype.swiped=function(t,e){var i=b.getTime();return!e.swipeCanceled&&(Math.abs(e.startPoint.x-e.point.x)>this.getSwipeOption(t,"horizontalThreshold")&&Math.abs(e.startPoint.y-e.point.y)i-this.getSwipeOption(t,"time"))},e.prototype.applyCursorOverStyle=function(t){var e=t.cursorOptions;if(v.hasValue(e.overStyle))for(var i=0;ie||Math.abs(n.y)>e},e.prototype.old=function(t,e){return void 0===e&&(e=300),b.getTime()-t.startTime>e},e.prototype.getShift=function(t){return{x:t.startPoint.x-t.point.x,y:t.startPoint.y-t.point.y}},e.prototype.getTrailPoint=function(t,e){for(var i,n=0;n=e){i=t.track[n];break}return i},e.prototype.pointerExists=function(t,e){var i=!1;return t.each(function(t){t!=e&&(i=t.point.x==e.point.x&&t.point.y==e.point.y)}),i},e.prototype.getInteraction=function(t){return new u.a(t)},e.prototype.setTemporaryStyle=function(t,e,i){var n=t.element;v.hasValue(n.style[e])&&!t.replacedStyles.hasKey(e)&&t.replacedStyles.setKey(e,n.style[e]),p.y(n,e,i)},e.prototype.restoreStyle=function(t,e){t.replacedStyles.hasKey(e)?(t.element.style[e]=t.replacedStyles.getKey(e),t.replacedStyles.removeKey(e)):delete t.element.style[e]},e.prototype.restoreAllStyles=function(t){y.each(t.replacedStyles.iterator(),function(e){var i=e[0],n=e[1];t.element.style[i]=n,t.replacedStyles.removeKey(i)})},e.prototype.dispose=function(){this.isDisposed()||(t.prototype.dispose.call(this),this.restoreAllStyles(this.body),this.unlockWheel())},e.prototype.log=function(t,e,i){if(e.changedTouches)for(var n=0;n