PageSourceSearch

https://readerbench.com/js/199.3669e633.js

js readerbench.com collected 2026-10-08 06:45:52 UTC 692,357 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkreaderbench_vue"]=self["webpackChunkreaderbench_vue"]||[]).push([[199],{88907:function(t,e,i){i.d(e,{d:function(){return x},k:function(){return _}});i(70560);var n=i(60199),r=i(69580),s=i(86484),o=i(73818),a=i(4781),h=i(25980),l=i(64531),u=i(96572),p=i(79285),c=i(20646),d=i(10431),f=i(70874),g=function(t){function e(){var e=t.call(this)||this;e.className="Grip";var i=new c.h;e.layout="absolute",e.padding(10,10,10,10),e.margin(3,3,3,3),e.background.fillOpacity=.3,e.background.cornerRadius(10,10,10,10);var n=new p.jy;n.element=e.paper.add("path");var r=f.Ao({x:-6,y:0});return r+=f.kZ({x:6,y:0}),r+=f.Ao({x:-8,y:-6}),r+=f.kZ({x:0,y:-12}),r+=f.kZ({x:8,y:-6}),r+=f.Ao({x:-8,y:6}),r+=f.kZ({x:0,y:12}),r+=f.kZ({x:8,y:6}),n.path=r,n.strokeWidth=2,n.fillOpacity=0,n.pixelPerfect=!0,n.padding(0,4,0,4),n.stroke=i.getFor("text"),n.strokeOpacity=.7,n.align="center",n.valign="middle",e.icon=n,e.label.dispose(),e.label=void 0,e.position="right",e.autoHideDelay=3e3,e.events.on("shown",(function(t){e._autoHideTimeout&&e._autoHideTimeout.dispose(),e.autoHideDelay&&(e._autoHideTimeout=e.setTimeout((function(){e.hide()}),e.autoHideDelay))})),e.events.on("down",(function(t){e._autoHideTimeout&&e._autoHideTimeout.dispose()})),e.events.on("out",(function(t){e.autoHideDelay&&(e._autoHideTimeout=e.setTimeout((function(){e.hide()}),e.autoHideDelay))})),e.applyTheme(),e}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"position",{get:function(){return this.getPropertyValue("position")},set:function(t){if(this.setPropertyValue("position",t))switch(t){case"left":this.align="left",this.valign="middle",this.horizontalCenter="left",this.verticalCenter="middle",this.icon.rotation=0,this.width=void 0,this.height=(0,d.aQ)(30);break;case"right":this.align="right",this.valign="middle",this.horizontalCenter="right",this.verticalCenter="middle",this.icon.rotation=0,this.width=void 0,this.height=(0,d.aQ)(30);break;case"top":this.align="center",this.valign="top",this.horizontalCenter="middle",this.verticalCenter="top",this.icon.rotation=90,this.width=(0,d.aQ)(30),this.height=void 0;break;case"bottom":this.align="center",this.valign="bottom",this.horizontalCenter="middle",this.verticalCenter="bottom",this.icon.rotation=90,this.width=(0,d.aQ)(30),this.height=void 0;break;default:this.align="center",this.valign="middle",this.horizontalCenter="middle",this.verticalCenter="middle",this.icon.rotation=90,this.width=(0,d.aQ)(30),this.height=void 0}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoHideDelay",{get:function(){return this.getPropertyValue("autoHideDelay")},set:function(t){this.setPropertyValue("autoHideDelay",t)},enumerable:!0,configurable:!0}),e}(u.z);r.i.registeredClasses["Grip"]=g;var y=i(30964),m=i(78398),v=i(52248),b=i(58403),_=function(t){function e(){var e=t.call(this)||this;return e.className="ChartDataItem",e.applyTheme(),e}return(0,n.ZT)(e,t),e}(y.z),x=function(t){function e(){var i=t.call(this)||this;if(i._legend=new o.cx,i.constructor===e)throw new Error("'Chart' cannot be instantiated directly. Please use a specific chart type.");i.className="Chart";var n=new l._;i.titles=new a.o(n),i._disposers.push(new a.zQ(i.titles)),i._disposers.push(n),i.width=(0,d.aQ)(100),i.height=(0,d.aQ)(100),i.layout="vertical";var r=i.createChild(h.W);r.shouldClone=!1,r.layout="vertical",r.width=(0,d.aQ)(100),r.height=(0,d.aQ)(100),i.chartAndLegendContainer=r;var s=r.createChild(h.W);return s.shouldClone=!1,s.width=(0,d.aQ)(100),s.height=(0,d.aQ)(100),i.chartContainer=s,i.showOnInit=!0,i._disposers.push(i._legend),i.titles.events.on("inserted",(function(t){i.processTitle(t),i.updateReaderTitleReferences()}),i,!1),i.titles.events.on("removed",(function(t){i.updateReaderTitleReferences()}),i,!1),i.role="region",i.defaultState.transitionDuration=1,i.applyTheme(),i}return(0,n.ZT)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),v.Uh(this.readerTitle)||(this.readerTitle=this.language.translate("Chart"))},e.prototype.draw=function(){this.fixLayout(),t.prototype.draw.call(this)},e.prototype.fixLayout=function(){var t=this.legend;if(t){var e=this.chartAndLegendContainer,i=this.chartContainer;switch(i.x=void 0,i.y=void 0,"absolute"!=t.position&&(t.x=void 0,t.y=void 0),t.position){case"left":e.layout="horizontal",t.toBack();break;case"right":e.layout="horizontal",t.toFront();break;case"top":e.layout="vertical",t.toBack();break;case"bottom":e.layout="vertical",t.toFront();break;case"absolute":t.isMeasured=!1;break}}},e.prototype.feedLegend=function(){},e.prototype.processTitle=function(t){var e=t.newValue;return e.parent=this,e.toBack(),e.shouldClone=!1,e.align="center",e.uidAttr(),e},e.prototype.updateReaderTitleReferences=function(){if(this.titles.length){var t=[];m.S6(this.titles.iterator(),(function(e){t.push(e.uid)})),this.setSVGAttribute({"aria-labelledby":t.join(" ")})}else this.removeSVGAttribute("aria-labelledby")},Object.defineProperty(e.prototype,"legend",{get:function(){return this._legend.get()},set:function(t){this.setLegend(t)},enumerable:!0,configurable:!0}),e.prototype.setLegend=function(t){var e=this;this._legend.get()!==t&&(t?(t.parent=this.chartAndLegendContainer,this._legend.set(t,t.events.on("propertychanged",(function(t){"position"==t.property&&e.fixLayout()}),void 0,!1)),t.addDisposer(new o.ku((function(){e.legend=void 0})))):this._legend.reset(),this.feedLegend())},e.prototype.dispose=function(){this.legend&&this.legend.dispose(),t.prototype.dispose.call(this)},e.prototype.processConfig=function(e){e&&v.Uh(e.legend)&&!v.Uh(e.legend.type)&&(e.legend.type="Legend"),t.prototype.processConfig.call(this,e)},e.prototype.copyFrom=function(e){this.titles.copyFrom(e.titles),this.chartContainer.copyFrom(e.chartContainer),e.legend&&(this.legend=e.legend.clone(),this.legend.removeChildren()),t.prototype.copyFrom.call(this,e)},Object.defineProperty(e.prototype,"dragGrip",{get:function(){var t=this;if(!this._dragGrip){var e=this.tooltipContainer.createChild(g);e.align="right",e.valign="middle",e.hide(0),e.events.on("down",(function(e){e.touch&&(t.interactionsEnabled=!1)})),e.events.on("up",(function(e){t.interactionsEnabled=!0})),this.events.on("down",(function(t){t.touch&&e.show()})),this._dragGrip=e}return this._dragGrip},set:function(t){this._dragGrip=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focusable",{get:function(){return this.parent.focusable},set:function(t){this.parent.focusable=t},enumerable:!0,configurable:!0}),e}(s.w);r.i.registeredClasses["Chart"]=x,b.IH.push({relevant:b.Xf.widthXS,state:function(t,e){if(t instanceof x){var i=t.states.create(e);return t.pixelPaddingLeft>10&&(i.properties.paddingLeft=10),t.pixelPaddingRight>10&&(i.properties.paddingRight=10),i}return null}}),b.IH.push({relevant:b.Xf.heightXS,state:function(t,e){if(t instanceof x){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.IH.push({relevant:b.Xf.widthXXS,state:function(t,e){if(t instanceof x){var i=t.states.create(e);return i.properties.paddingLeft=0,i.properties.paddingRight=0,i}return null}}),b.IH.push({relevant:b.Xf.heightXXS,state:function(t,e){if(t instanceof x){var i=t.states.create(e);return i.properties.paddingTop=0,i.properties.paddingBottom=0,i}return null}})}
1,36839:function(t,e,i){i.d(e,{BZ:function(){return O}});i(70560);var n=i(60199),r=i(86484),s=i(30964),o=i(4781),a=i(16555),h=i(25980),l=i(64531),u=i(2513),p=i(69580),c=i(15993),d=i(10431),f=i(20646),g=i(81245),y=i(52248),m=i(28502),v=i(79285),b=i(73818),_=i(87614),x=i(58403),P=i(79406),w=function(t){function e(){var e=t.call(this)||this;return e.childrenCreated=!1,e.className="LegendDataItem",e.applyTheme(),e}return(0,n.ZT)(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 b.ku((function(){y.Uh(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 b.ku((function(){y.Uh(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("hit",(function(t){e.focusedItem=void 0}),void 0,!1),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 b.ku((function(){y.Uh(t.component)&&t.component.itemContainers.removeValue(i)}))),this.dataContext.uidAttr&&(i.readerControls=this.dataContext.uidAttr(),i.readerLabelledBy=this.dataContext.uidAttr());var n=this.dataContext;if((n instanceof s.z||n instanceof v.jy)&&!n.isDisposed()){var r=function(t){i.readerChecked=t.visible,i.events.disableType("toggled"),i.isActive=!t.visible,i.events.enableType("toggled")};n.addDisposer(new b.ku((function(){t.component&&t.component.dataItems.remove(t)}))),n instanceof v.jy?(i.addDisposer(n.events.on("visibilitychanged",r,void 0,!1)),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))):i.addDisposer(n.events.on("visibilitychanged",r,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 b.ku((function(){y.Uh(t.component)&&t.component.markers.removeValue(e)})))}return this._marker},enumerable:!0,configurable:!0}),e}(s.z),O=function(){function t(){this.createMarker=!0}return t}(),S=function(t){function e(){var e=t.call(this)||this;e.className="Legend",e.layout="grid",e.setPropertyValue("useDefaultMarker",!1),e.setPropertyValue("scrollable",!1),e.setPropertyValue("contentAlign","center");var i=new h.W;i.applyOnClones=!0,i.padding(8,0,8,0),i.margin(0,10,0,10),i.layout="horizontal",i.clickable=!0,i.focusable=!0,i.role="switch",i.togglable=!0,i.cursorOverStyle=_.c.pointer,i.background.fillOpacity=0,e.itemContainers=new o.o(i),e._disposers.push(new o.zQ(e.itemContainers)),e._disposers.push(e.itemContainers.template),e._disposers.push((0,c.S)().body.events.on("keyup",(function(t){if(u.d.isKey(t.event,"enter")&&e.focusedItem){var i=e.focusedItem,n=i.itemContainer;n.togglable?e.toggleDataItem(i):n.clickable&&n.events.isEnabled("hit")&&(n.dispatchImmediately("hit",{event:t}),e.focusedItem=i)}}),e));var n=new f.h,r=new h.W;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";
1var s=n.getFor("disabledBackground");r.events.on("childadded",(function(t){var e=t.newValue,i=e.states.create("active");i.properties.stroke=s,i.properties.fill=s})),e.markers=new o.o(r),e._disposers.push(new o.zQ(e.markers)),e._disposers.push(e.markers.template);var p=r.createChild(a.c);p.width=(0,d.aQ)(100),p.height=(0,d.aQ)(100),p.applyOnClones=!0,p.propertyFields.fill="fill",p.strokeOpacity=0;var g=new l._;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 o.o(g),e._disposers.push(new o.zQ(e.labels)),e._disposers.push(e.labels.template),g.interactionsEnabled=!1,g.truncate=!0,g.fullWords=!1;var y=new l._;return y.margin(0,5,0,0),y.valign="middle",y.width=50,y.align="right",y.textAlign="end",y.applyOnClones=!0,y.states.create("active").properties.fill=n.getFor("disabledBackground"),y.interactionsEnabled=!1,e.valueLabels=new o.o(y),e._disposers.push(new o.zQ(e.valueLabels)),e._disposers.push(e.valueLabels.template),e.position="bottom",i.states.create("active"),i.setStateOnChildren=!0,e.role="group",e.events.on("layoutvalidated",e.handleScrollbar,e,!1),e.events.on("parentset",(function(){var t=e.parent;t&&e._disposers.push(t.events.on("maxsizechanged",(function(){e.scrollable&&e.setTimeout((function(){e.updateMasks(),e.handleScrollbar(),e._handleWheelReal(1)}),100)})))})),e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),y.Uh(this.readerTitle)||(this.readerTitle=this.language.translate("Legend"))},e.prototype.createDataItem=function(){return new w},e.prototype.validateDataElements=function(){this.scrollbar&&(this.scrollbar.start=0,this.scrollbar.end=1),t.prototype.validateDataElements.call(this)},e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e);var i=e.itemContainer,n=e.marker;g.A5(e.label);var r=e.valueLabel;i.readerChecked=e.dataContext.visible,e.dataContext.legendDataItem=e;var s=e.label.maxWidth;e.label.width instanceof d.gG||(e.label.width=void 0),s>0&&(e.label.maxWidth=s),"right"==r.align&&(r.width=void 0);var o=e.dataContext.legendSettings,a=e.dataContext;!a.createLegendMarker||this.useDefaultMarker&&a instanceof v.jy?this.markers.template.propertyFields.fill=void 0: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.text||void 0==r.text?r.__disabled=!0:r.__disabled=!1,!o||void 0==o.itemValueText&&void 0==o.valueText||(r.__disabled=!1);var h=e.dataContext.visible;void 0===h&&(h=!0),h=y.sw(h),e.dataContext.visible=h,i.events.disableType("toggled"),i.isActive=!h,i.isActive?i.setState("active",0):i.setState("default",0),i.events.enableType("toggled")},e.prototype.afterDraw=function(){var e=this,i=this.getPropertyValue("maxWidth"),n=0;this.labels.each((function(t){t.invalid&&(t.maxWidth=void 0,t.validate()),t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight>n&&(n=t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight)}));var r=0;this.valueLabels.each((function(t){t.invalid&&t.validate(),t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight>r&&(r=t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight)}));var s=0;this.markers.each((function(t){t.invalid&&t.validate(),t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight>s&&(s=t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight)}));var o,a=this.itemContainers.template,h=a.pixelMarginRight+a.pixelMarginLeft,l=n+r+s;y.hj(i)?(i-=h,i>l&&(i=l),o=i-s-r):o=n,this.labels.each((function(t){("right"==e.valueLabels.template.align||t.measuredWidth>o)&&(t.width instanceof d.gG||(t.width=Math.min(t.maxWidth,o-t.pixelMarginLeft-t.pixelMarginRight),t.maxWidth=t.width))})),"right"==this.valueLabels.template.align&&this.valueLabels.each((function(t){t.width=r-t.pixelMarginRight-t.pixelMarginLeft})),t.prototype.afterDraw.call(this)},e.prototype.handleScrollbar=function(){var t=this.scrollbar;if(this.scrollable&&t){var e=this.maxHeight;t.height=e,t.x=this.measuredWidth-t.pixelWidth-t.pixelMarginLeft,this.contentHeight>e?(t.visible=!0,t.thumb.height=t.height*e/this.contentHeight,this.paddingRight=t.pixelWidth+t.pixelMarginLeft+t.pixelMarginRight):(t.thumb.height=t.height*e/this.contentHeight,this.paddingRight=t.pixelWidth+t.pixelMarginLeft+t.pixelMarginRight,t.visible=!1,t.start=0,t.end=1),t.handleThumbPosition(),this.updateMasks()}},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,5,10,10),this.valign="middle",this.contentAlign="none",this.valueLabels.template.align="right",y.hj(this.maxColumns)||(this.maxColumns=1),this.width=void 0,this.maxWidth=220):(this.maxColumns=void 0,this.width=(0,d.aQ)(100),this.valueLabels.template.align="left"),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}),Object.defineProperty(e.prototype,"scrollable",{get:function(){return this.getPropertyValue("scrollable")}
1,set:function(t){if(this.setPropertyValue("scrollable",t,!0))if(t){var e=this.createChild(P.L);this.scrollbar=e,e.isMeasured=!1,e.orientation="vertical",e.endGrip.__disabled=!0,e.startGrip.__disabled=!0,e.visible=!1,e.marginLeft=5,this._mouseWheelDisposer=this.events.on("wheel",this.handleWheel,this,!1),this._disposers.push(this._mouseWheelDisposer),this._disposers.push(e.events.on("rangechanged",this.updateMasks,this,!1))}else this._mouseWheelDisposer&&(this._mouseWheelDisposer.dispose(),this.scrollbar&&(this.scrollbar.dispose(),this.scrollbar=void 0))},enumerable:!0,configurable:!0}),e.prototype.handleWheel=function(t){this._handleWheelReal(t.shift.y)},e.prototype._handleWheelReal=function(t){var e=this.scrollbar;if(e){var i=t/1e3*this.measuredHeight/this.contentHeight,n=e.end-e.start;t>0?(e.start=m.Fp(0,e.start-i),e.end=e.start+n):(e.end=m.VV(1,e.end-i),e.start=e.end-n)}},e.prototype.updateMasks=function(){var t=this;this.scrollbar&&this.itemContainers.each((function(e){e.dy=-t.scrollbar.thumb.pixelY*t.contentHeight/t.maxHeight,e.maskRectangle={x:0,y:-e.dy,width:t.measuredWidth,height:t.maxHeight}})),this.invalidatePosition()},e.prototype.toggleDataItem=function(t){var e=t.dataContext;!e.visible||e.isHiding||e instanceof v.jy&&e.isHidden?(t.color=t.colorOrig,e.appeared=!0,t.itemContainer.isActive=!1,!0===e.hidden&&(e.hidden=!1),e.show?e.show():e.visible=!0,this.svgContainer.readerAlert(this.language.translate("%1 shown",this.language.locale,t.label.readerTitle))):(t.itemContainer.isActive=!0,e.appeared=!0,e.hide?e.hide():e.visible=!1,this.svgContainer.readerAlert(this.language.translate("%1 hidden",this.language.locale,t.label.readerTitle)),t.color=(new f.h).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.w);p.i.registeredClasses["Legend"]=S,x.IH.push({relevant:x.Xf.widthXS,state:function(t,e){if(t instanceof S&&("left"==t.position||"right"==t.position)){var i=t.states.create(e);return i.properties.position="bottom",i}return null}}),x.IH.push({relevant:x.Xf.heightXS,state:function(t,e){if(t instanceof S&&("top"==t.position||"bottom"==t.position)){var i=t.states.create(e);return i.properties.position="right",i}return null}}),x.IH.push({relevant:x.Xf.isXS,state:function(t,e){if(t instanceof S){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},90271:function(t,e,i){i.d(e,{M4:function(){return w},RD:function(){return O}});i(70560);var n,r=i(60199),s=i(86484),o=i(25980),a=i(30964),h=i(64781),l=i(64531),u=i(58519),p=i(96579),c=i(4781),d=i(73818),f=i(69580),g=i(20646),y=i(78398),m=i(28502),v=i(81245),b=i(14965),_=i(91564),x=i(52248),P=i(58403),w=function(t){function e(){var e=t.call(this)||this;return e.className="AxisDataItem",e.applyTheme(),e}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"grid",{get:function(){if(!this._grid){var t=this.component;if(t){var e,i=void 0;if(this.isRange){if(i=t.axisRanges.template.grid,i.disabled)return;e=i.clone()}else{if(i=t.renderer.grid.template,i.disabled)return;e=t.renderer.grid.create(),this._disposers.push(new d.ku((function(){t.renderer.grid.removeValue(e)})))}this.grid=e,e.shouldClone=!1,this._disposers.push(e),e.axis=this.component}}return this._grid},set:function(t){this._grid&&this._grid!=t&&(_.Od(this.sprites,this._grid),this._grid.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(_.Od(t.dataItem.sprites,t),t.dataItem.grid=void 0),this.addSprite(t)),this._grid=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tick",{get:function(){if(!this._tick){var t=this.component;if(t){var e,i=void 0;if(this.isRange){if(i=t.axisRanges.template.tick,i.disabled)return;e=i.clone()}else{if(i=t.renderer.ticks.template,i.disabled)return;e=t.renderer.ticks.create(),this._disposers.push(new d.ku((function(){t.renderer.ticks.removeValue(e)})))}this.tick=e,e.axis=this.component,e.shouldClone=!1,this._disposers.push(e)}}return this._tick},set:function(t){this._tick&&this._tick!=t&&(_.Od(this.sprites,this._tick),this._tick.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(_.Od(t.dataItem.sprites,t),t.dataItem.tick=void 0),this.addSprite(t)),this._tick=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){if(!this._label){var t=this.component;if(t){var e,i=void 0;if(this.isRange){if(i=t.axisRanges.template.label,i.disabled)return;e=i.clone()}else{if(i=t.renderer.labels.template,i.disabled)return;e=t.renderer.labels.create(),this._disposers.push(new d.ku((function(){t.renderer.labels.removeValue(e)})))}this._disposers.push(e),this.label=e,e.shouldClone=!1,e.axis=this.component,e.virtualParent=t}}return this._label},set:function(t){this._label&&this._label!=t&&(_.Od(this.sprites,this._label),this._label.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(_.Od(t.dataItem.sprites,t),t.dataItem.label=void 0),this.addSprite(t)),this._label=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisFill",{get:function(){if(!this._axisFill){var t=this.component;if(t){var e,i=void 0;if(this.isRange){if(i=t.axisRanges.template.axisFill,!this.isTemplate&&i.disabled)return;e=i.clone()}else{if(i=t.renderer.axisFills.template,i.disabled)return;e=t.renderer.axisFills.create(),this._disposers.push(new d.ku((function(){t.renderer.axisFills.removeValue(e)})))}this.axisFill=e,e.shouldClone=!1,this._disposers.push(e)}}return this._axisFill},set:function(t){this._axisFill&&this._axisFill!=t&&(_.Od(this.sprites,this._axisFill),this._axisFill.dataItem=void 0),t&&(t.dataItem&&t.dataItem!=this&&(_.Od(t.dataItem.sprites,t),t.dataItem.axisFill=void 0),t.axis=this.component,this.addSprite(t)),this._axisFill=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t,this._label&&(this._label.text=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mask",{get:function(){return this._mask},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contents",{get:function(){if(!this._contents){var t=new o.W;this.addSprite(t),t.isMeasured=!1,this._contents=t;var e=this.component;if(e){var i=e.renderer.createFill(this.component);i.disabled=!1,i.axis=e,this.addSprite(i),this._mask=i,t.mask=i}}return this._contents},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"axisBreak",{get:function(){return this._axisBreak},set:function(t){this._axisBreak&&this._axisBreak.dataItems.removeValue(this),t&&t.dataItems.push(this),this._axisBreak=t},enumerable:!0,configurable:!0}),e.prototype.validate=function(){this.component&&this.component.validateDataElement(this)},e.prototype.appendChildren=function(){this.component&&this.component.appendDataItem(this)},e.prototype.hasProperty=function(e){return"component"==e||t.prototype.hasProperty.call(this,e)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.text=e.text,e.bullet&&(this.bullet=e.bullet.clone()),this.minPosition=e.minPosition,this.maxPosition=e.maxPosition},e.prototype.setVisibility=function(e,i){t.prototype.setVisibility.call(this,e,i),this._contents&&(this._contents.visible=e)},Object.defineProperty(e.prototype,"bullet",{get:function(){return this._bullet},set:function(t){this._bullet&&this._bullet!=t&&(_.Od(this.sprites,this._bullet),this._bullet.dataItem=void 0),this._bullet=t,t&&this.addSprite(t)},enumerable:!0,configurable:!0}),e}(a.z);(function(t){t[t["Start"]=0]="Start",t[t["Middle"]=.5]="Middle",t[t["End"]=1]="End"})(n||(n={}));var O=function(t){function e(){var i=t.call(this)||this;if(i._gridCount=10,i._series=new c.aV,i.autoDispose=!0,i._axisItemCount=0,i.c
1onstructor===e)throw new Error("'Axis' cannot be instantiated directly. Please use a specific axis type.");i.hideTooltipWhileZooming=!0,i.minWidth=1e-4,i.minHeight=1e-4,i.className="Axis",i.shouldClone=!1,i.setPropertyValue("cursorTooltipEnabled",!0),i.toggleZoomOutButton=!0,i.zoomable=!0;var n=new g.h;i.title=new l._,i.title.shouldClone=!1,i._disposers.push(i.title),i.setPropertyValue("startLocation",0),i.setPropertyValue("endLocation",1),i._dataItemsIterator=new y.RZ(i.dataItems,(function(){return i.dataItems.create()})),i._dataItemsIterator.createNewItems=!0;var r=new u.u;i._disposers.push(r),r.label.padding(5,10,5,10),r.background.pointerLength=5,r.fitPointerToBounds=!0,r.background.filters.clear(),r.virtualParent=i;var s=r.background;return s.cornerRadius=0,s.fill=n.getFor("alternativeBackground"),s.stroke=s.fill,s.strokeWidth=1,s.fillOpacity=1,r.label.fill=n.getFor("alternativeText"),i.tooltip=r,i.readerHidden=!0,i.events.on("rangechangestarted",(function(){i.series.each((function(t){t.hideTooltipWhileZooming&&(t.tooltip.hide(),t.tooltip.preventShow=!0)})),i.hideTooltipWhileZooming&&(i.tooltip.hide(),i.tooltip.preventShow=!0)}),void 0,!1),i.events.on("rangechangeended",(function(){i.series.each((function(t){t.hideTooltipWhileZooming&&(t.tooltip.hide(),t.tooltip.preventShow=!1)})),i.hideTooltipWhileZooming&&(i.tooltip.hide(),i.tooltip.preventShow=!1)}),void 0,!1),i.applyTheme(),i}return(0,r.ZT)(e,t),e.prototype.fillRule=function(t,e){x.hj(e)||(e=t.index),e/2==Math.round(e/2)?(t.axisFill.__disabled=!0,t.axisFill.opacity=0):(t.axisFill.opacity=1,t.axisFill.__disabled=!1)},e.prototype.createDataItem=function(){return new w},e.prototype.invalidateLayout=function(){t.prototype.invalidateLayout.call(this),y.S6(this.series.iterator(),(function(t){t.invalidateLayout()}))},e.prototype.invalidateSeries=function(){y.S6(this.series.iterator(),(function(t){t.invalidate()}))},e.prototype.validateDataElements=function(){this._axisItemCount=0,this.ghostLabel&&(this.renderer.updateLabelElement(this.ghostLabel,this.start,this.end),this.ghostLabel.validate())},e.prototype.updateGridCount=function(){if(this.renderer){var t=this.axisLength/this.renderer.minGridDistance;t!=this._gridCount&&(this._gridCount=t,this.clearCache())}},e.prototype.validateLayout=function(){this.axisFullLength=this.axisLength/(this.end-this.start),t.prototype.validateLayout.call(this),this.updateGridCount();var e=this.renderer;e&&(e.updateAxisLine(),e.updateTooltip(),e.updateBaseGridElement()),this._prevLength!=this.axisLength&&(this.dispatchImmediately("lengthchanged"),this._prevLength=this.axisLength)},e.prototype.initRenderer=function(){},e.prototype.appendDataItem=function(t){var e=this.renderer,i=t.tick;i&&(i.above?i.parent=e.bulletsContainer:i.parent=e.gridContainer),t.label&&(t.label.parent=e);var n=t.axisFill;n&&(n.above?n.parent=e.bulletsContainer:n.parent=e.gridContainer);var r=t.grid;r&&(r.above?r.parent=e.bulletsContainer:r.parent=e.gridContainer),t.bullet&&(t.bullet.parent=e.bulletsContainer)},e.prototype.validate=function(){t.prototype.validate.call(this),this.validateLayout(),this.renderer.updateGridContainer()},e.prototype.validateAxisRanges=function(){var t=this;y.S6(this.axisRanges.iterator(),(function(e){t.appendDataItem(e),t.validateDataElement(e),e.grid&&e.grid.validate(),e.tick&&e.tick.validate(),e.axisFill&&e.axisFill.validate(),e.label&&e.label.validate()}))},e.prototype.validateBreaks=function(){this._axisBreaks&&y.S6(this._axisBreaks.iterator(),(function(t){t.invalidate()}))},e.prototype.processBreak=function(t){var e=t.newValue;e.parent=this.renderer.breakContainer,e.axis=this},e.prototype.registerSeries=function(t){var e=this;return this.series.moveValue(t),new d.FV([new d.ku((function(){e.series.removeValue(t)})),this.events.on("lengthchanged",t.invalidate,t,!1),this.events.on("lengthchanged",t.createMask,t,!1),this.events.on("startchanged",t.invalidate,t,!1),this.events.on("endchanged",t.invalidate,t,!1)])},Object.defineProperty(e.prototype,"renderer",{get:function(){return this._renderer},set:function(t){if(t!=this._renderer){this._renderer=t,t.chart=this.chart,t.axis=this,t.parent=this,this.title.parent=this,this.initRenderer(),this._disposers.push(t.gridContainer.events.on("maxsizechanged",this.invalidate,this,
1!1));var e=this.renderer.labels.create();this._disposers.push(e),e.dataItem=this.dataItems.template.clone(),e.text="L",e.parent=this.renderer,e.shouldClone=!1,e.fillOpacity=0,e.opacity=0,e.strokeOpacity=0,e.interactionsEnabled=!1,e.validate(),this.ghostLabel=e,this.events.on("beforedatavalidated",(function(){e.text="L"}),void 0,!1)}},enumerable:!0,configurable:!0}),e.prototype.positionToAngle=function(t){return this.renderer.positionToAngle(t)},e.prototype.pointToPosition=function(t){return this.renderer.pointToPosition(t)},e.prototype.positionToCoordinate=function(t){return this.renderer.positionToCoordinate(t)},e.prototype.getAnyRangePath=function(t,e){return this.renderer.getPositionRangePath(t,e)},e.prototype.anyToPosition=function(t){return 0},e.prototype.anyToPoint=function(t){return{x:0,y:0,angle:0}},e.prototype.getPositionRangePath=function(t,e){return this.renderer?this.renderer.getPositionRangePath(t,e):""},Object.defineProperty(e.prototype,"axisLength",{get:function(){return this.renderer?this.renderer.axisLength:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cursorTooltipEnabled",{get:function(){return this.getPropertyValue("cursorTooltipEnabled")},set:function(t){this.setPropertyValue("cursorTooltipEnabled",t)&&(t&&this.renderer?this.renderer.updateTooltip():this.tooltip&&this.tooltip.hide(0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"toggleZoomOutButton",{get:function(){return this.getPropertyValue("toggleZoomOutButton")},set:function(t){this.setPropertyValue("toggleZoomOutButton",t)},enumerable:!0,configurable:!0}),e.prototype.hideTooltip=function(e){t.prototype.hideTooltip.call(this,e),this._tooltipPosition=void 0},e.prototype.showTooltipAtPosition=function(t,e){var i=this._tooltip;if(!i||this.dataItems.length<=0)this._tooltipPosition=void 0;else{if(e||(t=this.toAxisPosition(t)),!x.hj(t)||t<this.start||t>this.end)return i.hide(0),void(this._tooltipPosition=void 0);var n=this.renderer;i.parent||(i.parent=this.tooltipContainer);var r=n.tooltipLocation,s=this.getCellStartPosition(t),o=this.getCellEndPosition(t);if("fixed"==this.tooltipPosition&&(t=s+(o-s)*r),t=m.C7(t,this.start,this.end),this._tooltipPosition!=t){this._tooltipPosition=t;var a=n.tooltipLocation2,h=n.positionToPoint(s,a),l=n.positionToPoint(o,a);this.currentItemStartPoint=h,this.currentItemEndPoint=l,n.fullWidthTooltip&&(i.width=l.x-h.x,i.height=l.y-h.y);var u=n.positionToPoint(t,a),p=v.Ql(u,this.renderer.line);i.text=this.getTooltipText(t),i.text&&(i.delayedPointTo(p),i.show())}this.cursorTooltipEnabled&&!this.tooltip.disabled||i.hide(0)}},e.prototype.toAxisPosition=function(t){if(t=this.renderer.toAxisPosition(t),void 0!=t)return t*=this.end-this.start,t=this.renderer.inversed?this.end-t:this.start+t,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.fixDoc=!1,i.pointerOrientation=t,i.setBounds(v.pm(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 c.o(t),this._axisRanges.events.on("inserted",this.processAxisRange,this,!1),this._disposers.push(new c.zQ(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 p.Rj(this.createAxisBreak(),(function(t,e){return b.v(t.adjustedStartValue,e.adjustedStartValue)})),this._axisBreaks.events.on("inserted",this.processBreak,this,!1),this._disposers.push(new c.zQ(this._axisBreaks)),this._disposers.push(this._axisBreaks.template)),this._axisBreaks},enumerable:!0,configurable:!0}),e.prototype.createAxisBreak=function(){return new h.f},Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new c.aV),this._series},enumerable:!0,configurable:!0}
1),e.prototype.processSeriesDataItems=function(){},e.prototype.processSeriesDataItem=function(t,e){},e.prototype.postProcessSeriesDataItems=function(t){},e.prototype.postProcessSeriesDataItem=function(t){},e.prototype.updateAxisBySeries=function(){},e.prototype.hideUnusedDataItems=function(){var t=this,e=this._dataItemsIterator;e.createNewItems=!1,y.S6(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(x.hj(i))return this._axisBreaks&&y.vn(this._axisBreaks.iterator(),(function(n){var r=n.adjustedStartValue,s=n.adjustedEndValue;if(x.hj(r)&&x.hj(s)){if(r>e)return!1;if(s>=t&&x.hj(r)&&x.hj(s)){var o=n.breakSize,a=m.jV({start:r,end:s},{start:t,end:e});a&&(i-=(a.end-a.start)*(1-o))}return!0}})),i},e.prototype.isInBreak=function(t){if(this._axisBreaks)return y.sE(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){_.S6(y.qo(e.iterator()),(function(e){var i=m.VV(e.startValue,e.endValue),n=m.Fp(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);y.S6(e.iterator(),(function(t){var e=t.adjustedStartValue,i=t.adjustedEndValue;e<n&&(e=n,i<n&&(i=n)),t.adjustedStartValue=e,t.adjustedEndValue=i}))}}},Object.defineProperty(e.prototype,"startIndex",{get:function(){return 0},set:function(t){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endIndex",{get:function(){return this.dataItems.length},set:function(t){},enumerable:!0,configurable:!0}),e.prototype.getPositionLabel=function(t){return Math.round(100*t)+"%x"},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t},enumerable:!0,configurable:!0}),e.prototype.createSeriesRange=function(t){var e=this.axisRanges.create();return e.component=this,e.axisFill=this.renderer.axisFills.template.clone(),e.axisFill.disabled=!1,e.axisFill.fillOpacity=0,e.grid=this.renderer.grid.template.clone(),e.grid.disabled=!0,e.tick=this.renderer.ticks.template.clone(),e.tick.disabled=!0,e.label=this.renderer.labels.template.clone(),e.label.disabled=!0,e.addDisposer(new d.ku((function(){t.axisRanges.removeValue(e)}))),t.axisRanges.push(e),e},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.renderer?this.renderer.copyFrom(e.renderer):e.renderer&&(this.renderer=e.renderer.clone(),this._disposers.push(this.renderer)),e.title&&(this.title?this.title.copyFrom(e.title):(this.title=e.title.clone(),this.title.parent=this),this._disposers.push(this.title))},e.prototype.resetIterators=function(){this._dataItemsIterator.reset()},e.prototype.processConfig=function(e){if(e&&x.Uh(e.axisRanges)&&x.kJ(e.axisRanges))for(var i=0,n=e.axisRanges.length;i<n;i++){var r=e.axisRanges[i];x.Uh(r["series"])&&x.HD(r["series"])&&this.map.hasKey(r["series"])&&(e.axisRanges[i]=this.createSeriesRange(this.map.getKey(r["series"])),delete r["series"],e.axisRanges[i].config=r)}t.prototype.processConfig.call(this,e)},e.prototype.configOrder=function(e,i){return e==i?0:"title"==e?1:"title"==i||"component"==e?-1:"component"==i?1:t.prototype.configOrder.call(this,e,i)},Object.defineProperty(e.prototype,"startLocation",{get:function(){return this.getPropertyValue("startLocation")},set:function(t){this.setPropertyValue("startLocation",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLocation",{get:function(){return this.getPropertyValue("endLocation")},set:function(t){this.setPropertyValue("endLocation",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.renderer&&(this.renderer.gridContainer.disabled=e),i},Object.defineProperty(e.prototype,"title",{get:function(){return this._title},set:function(t){this._title&&this._title!=t&&this._title.dispose(),t&&(this._title=t,t.parent=this,t.shouldClone=!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideTooltipWhileZooming",{get:function(){return this.getPropertyValue("hideTooltipWhileZooming")}
1,set:function(t){this.setPropertyValue("hideTooltipWhileZooming",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"zoomable",{get:function(){return this.getPropertyValue("zoomable")},set:function(t){this.setPropertyValue("zoomable",t)},enumerable:!0,configurable:!0}),e}(s.w);f.i.registeredClasses["Axis"]=O,f.i.registeredClasses["AxisDataItem"]=w,P.IH.push({relevant:P.Xf.maybeXS,state:function(t,e){if(t instanceof O&&t.tooltip){var i=t.states.create(e);return i.properties.cursorTooltipEnabled=!1,i}return null}})},64781:function(t,e,i){i.d(e,{f:function(){return p}});i(70560);var n=i(60199),r=i(25980),s=i(73818),o=i(60484),a=i(4781),h=i(69580),l=i(71015),u=i(20646),p=function(t){function e(){var e=t.call(this)||this;e._axis=new s.cx,e.dataItems=new a.aV,e.className="AxisBreak",e.breakSize=.01,e.marginLeft=-5,e.marginRight=-5,e.marginTop=-5,e.marginBottom=-5;var i=new u.h,n=new o.$;n.fill=i.getFor("background"),n.stroke=(0,l.$_)(),n.fillOpacity=.9,n.zIndex=0,e._fillShape=n;var r=new o.$;r.fill=(0,l.$_)(),r.stroke=i.getFor("grid"),r.strokeOpacity=.3,r.zIndex=1,e._startLine=r;var h=new o.$;return h.fill=(0,l.$_)(),h.stroke=(0,l.$_)("#000000"),h.strokeOpacity=.3,h.zIndex=2,e._endLine=h,e._disposers.push(e._axis),e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this._fillShape&&this._fillShape.dispose(),this._startLine&&this._startLine.dispose(),this._endLine&&this._endLine.dispose()},Object.defineProperty(e.prototype,"startLine",{get:function(){return this._startLine},set:function(t){this._startLine&&this._startLine.dispose(),this._startLine=t,this.addBreakSprite(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLine",{get:function(){return this._endLine},set:function(t){this._endLine&&this._endLine.dispose(),this._endLine=t,this.addBreakSprite(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillShape",{get:function(){return this._fillShape},set:function(t){this._fillShape&&this._fillShape.dispose(),this._fillShape=t,this.addBreakSprite(t)},enumerable:!0,configurable:!0}),e.prototype.addBreakSprite=function(t){t.parent=this,t.isMeasured=!1,this._disposers.push(t)},Object.defineProperty(e.prototype,"axis",{get:function(){return this._axis.get()},set:function(t){if(this._axis.get()!==t){this._axis.set(t,t.renderer.gridContainer.events.on("transformed",this.invalidate,this,!1)),t.renderer.createBreakSprites(this);var e=t.axisBreaks.template;this.startLine.copyFrom(e.startLine),this.endLine.copyFrom(e.endLine),this.fillShape.copyFrom(e.fillShape)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"breakSize",{get:function(){return this.getPropertyValue("breakSize")},set:function(t){this.setPropertyValue("breakSize",t)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startPoint",{get:function(){var t=this.axis.renderer;if(t)return t.positionToPoint(this.startPosition)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPoint",{get:function(){var t=this.axis.renderer;if(t)return t.positionToPoint(this.endPosition)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startPosition",{get:function(){},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){},enumerable:!0,configurable:!0}),e.prototype.draw=function(){if(t.prototype.draw.call(this),this.axis){var e=this.axis.renderer;e.updateBreakElement(this)}},Object.defineProperty(e.prototype,"startValue",{get:function(){return this.getPropertyValue("startValue")},set:function(t){this.setPropertyValue("startValue",t)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endValue",{get:function(){return this.getPropertyValue("endValue")},set:function(t){this.setPropertyValue("endValue",t)&&this.axis&&(this.axis.invalidate(),this.axis.invalidateSeries())},enumerable:!0,configurable:!0}),e}(r.W);h.i.registeredClasses["AxisBreak"]=p}
1,22672:function(t,e,i){i.d(e,{_:function(){return o}});var n=i(60199),r=i(25980),s=i(69580),o=function(t){function e(){var e=t.call(this)||this;return e.className="AxisBullet",e.location=.5,e.isMeasured=!1,e.applyTheme(),e}return(0,n.ZT)(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}),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e}(r.W);s.i.registeredClasses["AxisBullet"]=o},32591:function(t,e,i){i.d(e,{u:function(){return h}});var n=i(60199),r=i(79285),s=i(69580),o=i(20646),a=i(52248),h=function(t){function e(e){var i=t.call(this)||this;i.axis=e,i.element=i.paper.add("path"),i.className="AxisFill",i.isMeasured=!1,i.location=0,i.above=!1;var n=new o.h;return i.fill=n.getFor("alternativeBackground"),i.fillOpacity=0,i.applyTheme(),i}return(0,n.ZT)(e,t),e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return this.axis&&this.axis.invalidateDataItems(),i},e.prototype.draw=function(){t.prototype.draw.call(this),this.__disabled||this.disabled||this.axis&&a.hj(this.startPosition)&&a.hj(this.endPosition)&&(this.fillPath=this.axis.getPositionRangePath(this.startPosition,this.endPosition),this.path=this.fillPath,this.isMeasured&&this.measure())},Object.defineProperty(e.prototype,"startPosition",{get:function(){return this.getPropertyValue("startPosition")},set:function(t){this.setPropertyValue("startPosition",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){return this.getPropertyValue("endPosition")},set:function(t){this.setPropertyValue("endPosition",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"location",{get:function(){return this.getPropertyValue("location")},set:function(t){this.setPropertyValue("location",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setPath=function(t){return!!this.setPropertyValue("path",t)&&(this.element.attr({d:t}),!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}(r.jy);s.i.registeredClasses["AxisFill"]=h},80656:function(t,e,i){i.d(e,{k:function(){return o}});var n=i(60199),r=i(64531),s=i(69580),o=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(0,n.ZT)(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._);s.i.registeredClasses["AxisLabel"]=o},97837:function(t,e,i){i.d(e,{$:function(){return h}});var n=i(60199),r=i(79285),s=i(69580),o=i(71015),a=i(20646),h=function(t){function e(){var e=t.call(this)||this;e.className="AxisLine",e.element=e.paper.add("path");var i=new a.h;return e.stroke=i.getFor("grid"),e.strokeOpacity=.15,e.pixelPerfect=!0,e.fill=(0,o.$_)(),e.applyTheme(),e.interactionsEnabled=!1,e}return(0,n.ZT)(e,t),e}(r.jy);s.i.registeredClasses["AxisLine"]=h},87005:function(t,e,i){i.d(e,{Y:function(){return m}});i(70560);var n=i(60199),r=i(25980),s=i(73818),o=i(90271),a=i(97837),h=i(32591),l=i(62738),u=i(80656),p=i(48634),c=i(4781),d=i(69580),f=i(10431),g=i(28502),y=i(52248),m=function(t){function e(){var e=t.call(this)||this;e._chart=new s.cx,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.W);i.shouldClone=!1,i.layout="none",i.virtualParent=e,i.width=(0,f.aQ)(100),i.height=(0,f.aQ)(100),e.gridContainer=i,i.events.on("maxsizechanged",(function(){e.inited&&e.invali
1dateAxisItems()}),e,!1);var n=e.createChild(r.W);n.shouldClone=!1,n.isMeasured=!1,n.layout="none",n.width=(0,f.aQ)(100),n.height=(0,f.aQ)(100),e.breakContainer=n;var o=e.createChild(r.W);o.shouldClone=!1,o.isMeasured=!1,o.layout="none",o.width=(0,f.aQ)(100),o.height=(0,f.aQ)(100),e.bulletsContainer=o,e.line=e.createChild(a.$),e.line.shouldClone=!1,e.line.strokeOpacity=0;var h=e.createChild(l.r);h.shouldClone=!1,e.baseGrid=h;var u=e._disposers;return u.push(h),u.push(e.line),u.push(i),u.push(n),u.push(o),u.push(e._chart),e.ticks.template.disabled=!0,e.axisFills.template.disabled=!0,e.axisFills.template.interactionsEnabled=!1,e.applyTheme(),e}return(0,n.ZT)(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,i=this.axis,n=i.axisFullLength;return e=i.renderer.inversed?(i.end-t)*n:(t-i.start)*n,e},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.NM(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.invalidateDataItems()},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,s=t.dataItem;s&&s instanceof o.M4&&(y.hj(s.minPosition)&&(i=s.minPosition),y.hj(s.maxPosition)&&(n=s.maxPosition));var a=r.start+(r.end-r.start)*(i-1e-4),h=r.start+(r.end-r.start)*(n+1e-4);t.disabled||(t.__disabled=e<a||e>h)},e.prototype.createBreakSprites=function(t){},Object.defineProperty(e.prototype,"axisFills",{get:function(){if(!this._axisFills){var t=this.createFill(this.axis);this._axisFills=new c.o(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new c.zQ(this._axisFills)),this._disposers.push(this._axisFills.template)}return this._axisFills},enumerable:!0,configurable:!0}),e.prototype.createFill=function(t){return new h.u(t)},Object.defineProperty(e.prototype,"grid",{get:function(){if(!this._grid){var t=this.createGrid();this._grid=new c.o(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new c.zQ(this._grid)),this._disposers.push(this._grid.template)}return this._grid},enumerable:!0,configurable:!0}),e.prototype.createGrid=function(){return new l.r},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 c.o(t),this._disposers.push(new c.zQ(this._ticks)),this._disposers.push(this._ticks.template)}return this._ticks},enumerable:!0,configurable:!0}),e.prototype.createTick=function(){return new p.T},Object.defineProperty(e.prototype,"labels",{get:function(){if(!this._labels){var t=this.createLabel();this._labels=new c.o(t),t.applyOnClones=!0,t.events.on("enabled",this.invalidateAxisItems,this,!1),this._disposers.push(new c.zQ(this._labels)),this._disposers.push(this._labels.template)}return this._labels},enumerable:!0,configurable:!0}),e.prototype.createLabel=function(){return new u.k},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")}
1,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.W);d.i.registeredClasses["AxisRenderer"]=m},84071:function(t,e,i){i.d(e,{n:function(){return g}});i(70560);var n=i(60199),r=i(87005),s=i(22672),o=i(60484),a=i(97732),h=i(69580),l=i(10431),u=i(28502),p=i(70874),c=i(81245),d=i(52248),f=i(58403),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=(0,l.aQ)(100),e.labels.template.horizontalCenter="middle",e.applyTheme(),e}return(0,n.ZT)(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.gG||(e.width=(0,l.aQ)(100)),c.A5(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(){var t=this.axis;if(t){var e=1e3,i=this.line.pixelX,n=this.line.pixelY,r=this.axisLength,s=e;this.opposite?this.inside||(n=-e,s=e):this.inside&&(n=-e,s=e),this.axis.updateTooltip("vertical",{x:i,y:n,width:r,height:s})}},e.prototype.updateLabelElement=function(t,e,i,n){d.Uh(n)||(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);t.isMeasured=!t.inside;var s,o=0,a=this.gridContainer.maxHeight;this.opposite?(t.inside?(s="top","bottom"==t.valign&&(o=a,s="bottom"),"middle"==t.valign&&(o=a/2,s="middle")):s="bottom",r.y=o):(t.inside?(s="bottom","top"==t.valign&&(o=-a,s="top"),"middle"==t.valign&&(o=-a/2,s="middle")):s="top",r.y+=o),0==t.rotation&&(t.verticalCenter=s),this.positionItem(t,r),this.toggleVisibility(t,e,this.minLabelPosition,this.maxLabelPosition)}
1,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=u.C7(this.positionToCoordinate(t),0,this.axisLength),n=u.C7(this.positionToCoordinate(e),0,this.axisLength),r=Math.abs(n-i),s=this.getHeight(),o=Math.min(i,n),a=0;return p.H5({x:o,y:a,width:r,height:s},!0)},e.prototype.updateBreakElement=function(e){t.prototype.updateBreakElement.call(this,e);var i=e.startLine,n=e.endLine,r=e.fillShape,s=e.startPoint,o=e.endPoint,a=e.pixelMarginLeft,h=this.getHeight()-e.pixelMarginTop-e.pixelMarginBottom;s.x=u.C7(s.x,-1,this.axisLength+1),o.x=u.C7(o.x,-1,this.axisLength+1),s.x==o.x&&(s.x<0||s.x>this.axisLength)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1,i.y=a,i.width=0,i.height=h,n.y=a,n.width=0,n.height=h,r.height=h,r.width=Math.abs(o.x-s.x),r.y=a,r.x=s.x},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);t.path=p.Ao({x:0,y:0})+p.kZ({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=c.Ou({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=p.Ao({x:0,y:0})+p.kZ({x:0,y:r}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateAxisLine=function(){this.line.path=p.Ao({x:0,y:0})+p.kZ({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,s=e.basePoint.x;if(s<-.2||s>n+.2)r.hide(0);else{var o=c.Ou({x:0,y:0},this.gridContainer,r.parent).y;r.path=p.Ao({x:0,y:0})+p.kZ({x:0,y:i}),r.moveTo({x:s,y:o}),r.show(0)}},e.prototype.createBreakSprites=function(t){t.startLine=new o.$,t.endLine=new o.$;var e=new a.T;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=c.Ou({x:this.pixelX,y:0},this.parent,n).x:n=i.parent,n){var s=r/n.innerWidth,o=i.axisLength/n.innerWidth;return(e-s)/o}}return t},e.prototype.updateBullet=function(t,e,i){var n=.5;t instanceof s._&&(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);r.y=c.Ou({x:0,y:this.line.pixelY},this.line.parent,this.gridContainer).y,this.positionItem(t,r),this.toggleVisibility(t,e,0,1)},e}(r.Y);h.i.registeredClasses["AxisRendererX"]=g,f.IH.push({relevant:f.Xf.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.IH.push({relevant:f.Xf.heightXXS,state:function(t,e){if(t instanceof g){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},57043:function(t,e,i){i.d(e,{j:function(){return g}});i(70560);var n=i(60199),r=i(87005),s=i(60484),o=i(97732),a=i(69580),h=i(10431),l=i(28502),u=i(70874),p=i(81245),c=i(52248),d=i(58403),f=i(22672),g=function(t){function e(){var e=t.call(this)||this;return e.className="AxisRendererY",e.minGridDistance=40,e.opposite=!1,e.height=(0,h.aQ)(100),e.labels.template.verticalCenter="middle",e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.setAxis=function(e){t.prototype.setAxis.call(this,e),e.layout="horizontal"},e.prototype.updateGridContainer=function(){var t=this.axis;if(t){var e=this.gridContainer;e.y=t.pixelY,e.height=t.axisLength}},e.prototype.toAxisPosition=function(t){var e=this.axis;if(e){var i=1-t,n=e.relativePositionSprite,r=e.pixelY;if(n?r=p.Ou({x:0,y:this.pixelY},this.parent,n).y:n=e.parent,n){var s=r/n.innerHeight,o=e.axisLength/n.innerHeight;return 1-(i-s)/o}}return t},e.prototype.processRenderer=function(){t.prototype.processRenderer.call(this);var e=this.axis;if(e){var i=e.title;
1i.valign="middle",e.height instanceof h.gG||(e.height=(0,h.aQ)(100)),this.opposite?(i.rotation=90,this.line.toBack(),i.toFront()):(i.rotation=-90,i.toBack(),this.line.toFront())}},e.prototype.updateTooltip=function(){var t=this.axis;if(t){var e=2e3,i=0,n=0,r=e,s=this.axisLength;this.opposite?this.inside&&(i=-e,r=e):this.inside||(i=-e,r=e),this.axis.updateTooltip("horizontal",{x:i,y:n,width:r,height:s})}},Object.defineProperty(e.prototype,"axisLength",{get:function(){var t=this.axis;return t.measuredHeight-t.pixelPaddingTop-t.pixelPaddingBottom||0},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t,e){return{x:0,y:this.positionToCoordinate(t)}},e.prototype.pointToPosition=function(t){return this.coordinateToPosition(t.y,t.x)},e.prototype.coordinateToPosition=function(t,e){var i,n=this.axis,r=n.axisFullLength;return i=n.renderer.inversed?1-n.start-t/r:t/r+(1-n.end),l.NM(i,5)},e.prototype.getPositionRangePath=function(t,e){var i=l.C7(this.positionToCoordinate(t),0,this.axisLength),n=l.C7(this.positionToCoordinate(e),0,this.axisLength),r=Math.abs(n-i),s=this.getWidth(),o=Math.min(i,n),a=0;return u.H5({x:a,y:o,width:s,height:r},!0)},e.prototype.updateGridElement=function(t,e,i){e+=(i-e)*t.location;var n=this.positionToPoint(e);t.path=u.Ao({x:0,y:0})+u.kZ({x:this.getWidth(),y:0}),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;try{p.A5(this.axis.title.measuredWidth)}catch(s){}n.x=p.Ou({x:this.line.pixelX,y:0},this.line.parent,this.gridContainer).x,this.opposite?r*=t.inside?-1:1:r*=t.inside?1:-1,t.path=u.Ao({x:0,y:0})+u.kZ({x:r,y:0}),this.positionItem(t,n),this.toggleVisibility(t,e,0,1)},e.prototype.updateAxisLine=function(){this.line.path=u.Ao({x:0,y:0})+u.kZ({x:0,y:this.axisLength})},e.prototype.updateBaseGridElement=function(){t.prototype.updateBaseGridElement.call(this);var e=this.axis,i=this.getWidth(),n=this.axisLength,r=e.basePoint.y,s=this.baseGrid;if(r<-.2||r>n+.2)s.hide(0);else{var o=p.Ou({x:0,y:0},this.gridContainer,s.parent).x;s.path=u.Ao({x:0,y:0})+u.kZ({x:i,y:0}),s.moveTo({x:o,y:r}),s.show(0)}},e.prototype.updateLabelElement=function(t,e,i,n){c.Uh(n)||(n=t.location),e+=(i-e)*n,t.isMeasured=!t.inside;var r,s=this.positionToPoint(e),o=0,a=this.gridContainer.maxWidth;this.opposite?(t.inside?(r="right","left"==t.align&&(o=-a,r="left"),"center"==t.align&&(o=-a/2,r="middle")):r="left",s.x=0+o):(t.inside?(r="left","right"==t.align&&(o=a,r="right"),"center"==t.align&&(o=a/2,r="middle")):r="right",s.x=this.measuredWidth+o),0==t.rotation&&(t.horizontalCenter=r),this.positionItem(t,s),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,s=e.startPoint,o=e.endPoint,a=e.pixelMarginLeft,h=this.getWidth()-e.pixelMarginLeft-e.pixelMarginRight;s.y=l.C7(s.y,-1,this.axisLength+1),o.y=l.C7(o.y,-1,this.axisLength+1),s.y==o.y&&(s.y<0||s.y>this.axisLength)?e.fillShape.__disabled=!0:e.fillShape.__disabled=!1;var u=Math.abs(h-a);i.x=a,i.height=0,i.width=u,n.x=a,n.height=0,n.width=u,r.width=u,r.height=Math.abs(o.y-s.y),r.x=a,r.y=o.y},e.prototype.createBreakSprites=function(t){t.startLine=new s.$,t.endLine=new s.$;var e=new o.T;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,e},e.prototype.updateBullet=function(t,e,i){var n=.5;t instanceof f._&&(n=t.location),e+=(i-e)*n;var r=this.positionToPoint(e);r.x=p.Ou({x:this.line.pixelX,y:0},this.line.parent,this.gridContainer).x,this.positionItem(t,r),this.toggleVisibility(t,e,0,1)},e}(r.Y);a.i.registeredClasses["AxisRendererY"]=g,d.IH.push({relevant:d.Xf.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.IH.push({relevant:d.Xf.widthXS,state:function(t,e){if(t instanceof g){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})}
1,48634:function(t,e,i){i.d(e,{T:function(){return o}});var n=i(60199),r=i(19006),s=i(69580),o=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(0,n.ZT)(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.d);s.i.registeredClasses["AxisTick"]=o},62738:function(t,e,i){i.d(e,{r:function(){return l}});i(70560);var n=i(60199),r=i(79285),s=i(69580),o=i(71015),a=i(20646),h=i(58403),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 a.h;return e.stroke=i.getFor("grid"),e.pixelPerfect=!0,e.strokeOpacity=.15,e.fill=(0,o.$_)(),e.applyTheme(),e}return(0,n.ZT)(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.jy);s.i.registeredClasses["Grid"]=l,h.IH.push({relevant:h.Xf.maybeXS,state:function(t,e){if(t instanceof l){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},48841:function(t,e,i){i.d(e,{J:function(){return f},m:function(){return g}});i(70560);var n=i(60199),r=i(90271),s=i(57043),o=i(73818),a=i(69580),h=i(46048),l=i(28502),u=i(78398),p=i(52639),c=i(52248),d=i(81245),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(0,n.ZT)(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.M4),g=function(t){function e(){var e=t.call(this)||this;return e._stepDecimalPlaces=0,e._prevStepDecimalPlaces=0,e._adjustLabelPrecision=!0,e._baseValue=0,e._adjustedStart=0,e._adjustedEnd=1,e._extremesChanged=!1,e._deltaMinMax=1,e._dsc=!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.setPropertyValue("adjustLabelPrecision",!0),e.setPropertyValue("extraTooltipPrecision",0),e.keepSelection=!1,e.includeRangesInMinMax=!1,e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.fillRule=function(t){var e=t.value,i=t.component;t.axisFill.disabled||(l.NM(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 h.Z},e.prototype.dataChangeUpdate=function(){this.clearCache(),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||
1(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;i<t.dataItems.length&&i++;for(var n=function(t){var e={},i={};r.series.each((function(n){if(!n.excludeFromTotal){var r=n.dataItems.getIndex(t);r&&p.S6(r.values,(function(t){var n=r.values[t].workingValue;c.hj(n)&&(c.hj(e[t])?e[t]+=Math.abs(n):e[t]=Math.abs(n),c.hj(i[t])?i[t]+=n:i[t]=n)}))}})),r.series.each((function(n){if(!n.excludeFromTotal){var r=n.dataItems.getIndex(t);r&&p.S6(r.values,(function(t){var n=r.values[t].workingValue;c.hj(n)&&(r.setCalculatedValue(t,e[t],"total"),r.setCalculatedValue(t,100*n/e[t],"totalPercent"),r.setCalculatedValue(t,i[t],"sum"))}))}}))},r=this,s=e;s<i;++s)n(s)}}},e.prototype.validate=function(){this.axisLength<=0||(t.prototype.validate.call(this),this.getMinMax(),c.hj(this._minAdjusted)||this.dataItems.each((function(t){t.value=null})),this.fixAxisBreaks(),this.calculateZoom(),this.validateAxisElements(),this.validateAxisRanges(),this.validateBreaks(),this.hideUnusedDataItems(),this.renderer.invalidateLayout())},e.prototype.calculateZoom=function(){if(c.hj(this.min)&&c.hj(this.max)){var t=this.positionToValue(this.start),e=this.positionToValue(this.end),i=this.adjustDifference(t,e),n=this.adjustMinMax(t,e,i,this._gridCount,!0),r=d.N3(n.step);this._stepDecimalPlaces=r,t=l.NM(t,r),e=l.NM(e,r),n=this.adjustMinMax(t,e,i,this._gridCount,!0);var s=n.step;if(this.syncWithAxis){var o=this.getCache(t+"-"+e);c.hj(o)&&(s=o)}else t=n.min,e=n.max;(this._minZoomed!=t||this._maxZoomed!=e||this._step!=s||this._dsc)&&(this._dsc=!1,this._minZoomed=t,this._maxZoomed=e,this._step=s,this.dispatchImmediately("selectionextremeschanged"))}},e.prototype.fixSmallStep=function(t){return 1+t==1?(t*=2,this.fixSmallStep(t)):t},e.prototype.validateAxisElements=function(){var t=this;if(c.hj(this.max)&&c.hj(this.min)){var e=this.minZoomed-2*this._step;if(this.logarithmic){var i=Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E;i>1?e=Math.pow(10,Math.log(this.min)*Math.LOG10E):(e=Math.floor(this.minZoomed/this._step)*this._step,0==e&&(e=this.minZoomed))}else e=Math.floor(e/this._step)*this._step;var n=this._maxZoomed+this._step;this.resetIterators();var r=this._dataItemsIterator;if(0==this._step)return;this._step=this.fixSmallStep(this._step);var s=0,o=this._prevStepDecimalPlaces!=this._stepDecimalPlaces;this._prevStepDecimalPlaces=this._stepDecimalPlaces;while(e<=n){var a=this.isInBreak(e);if(!a){var h=r.find((function(t){return t.value===e}));h.__disabled&&(h.__disabled=!1),this.appendDataItem(h),h.axisBreak=void 0,(h.value!=e||o)&&(h.value=e,h.text=this.formatLabel(e),h.label&&h.label.invalid&&h.label.validate(),h.value>=this.min&&h.value<=this.max&&h.label&&("Y"==this.axisLetter&&h.label.measuredWidth>this.ghostLabel.measuredWidth||"X"==this.axisLetter&&h.label.measuredHeight>this.ghostLabel.measuredHeight)&&(this.ghostLabel.text=h.label.currentText,this.ghostLabel.validate())),this.validateDataElement(h)}s++;var p=e;if(this.logarithmic){i=Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E;i>1?e=Math.pow(10,Math.log(this.min)*Math.LOG10E+s):e+=this._step}else e+=this._step;var d=Math.pow(10,Math.floor(Math.log(Math.abs(this._step))*Math.LOG10E));if(d<1){var f=Math.round(Math.abs(Math.log(Math.abs(d))*Math.LOG10E))+2;if(f=Math.min(13,f),e=l.NM(e,f),p==e){e=n;break}}}var g=this._axisBreaks;if(g){var y=this.renderer;u.S6(g.iterator(),(function(e){if(e.breakSize>0&&l.Sp(e.startPoint,e.endPoint)>y.minGridDistance){var i=e.adjustedMin;while(i<=e.adjustedMax){if(i>=e.adjustedStartValue&&i<=e.adjustedEndValue){var n=r.find((function(t){return t.value===i}));n.__disabled&&(n.__disabled=!1),t.appendDataItem(n),n.axisBreak=e,n.value!=i&&(n.value=i,n.text=t.formatLabel(i),n.label&&n.label.invalid&&n.label.validate()),t.validateDataElement(n)}i+=e.adjustedStep}}}))}}},e.prototype.validateDataElement=function(e){t.prototype.validateDataElement.call(this,e),e.itemIndex=this._axisItemCount,this._axisItemCount++;
1var i=this.renderer,n=e.value,r=e.endValue,s=this.valueToPosition(n);e.position=s;var o=s,a=this.valueToPosition(n+this._step);c.hj(r)&&(o=this.valueToPosition(r),a=o),e.point=i.positionToPoint(s);var h=e.tick;h&&!h.disabled&&i.updateTickElement(h,s,o);var l=e.grid;l&&!l.disabled&&i.updateGridElement(l,s,o);var u=e.label;u&&!u.disabled&&i.updateLabelElement(u,s,o);var p=e.axisFill;p&&!p.disabled&&(i.updateFillElement(p,s,a),e.isRange||this.fillRule(e)),e.bullet&&i.updateBullet(e.bullet,s,o);var d=e.mask;d&&i.updateFillElement(d,s,a)},e.prototype.formatLabel=function(t){return this.adjustLabelPrecision&&0!=t?this.numberFormatter.format(t,void 0,this._stepDecimalPlaces):this.numberFormatter.format(t)},Object.defineProperty(e.prototype,"basePoint",{get:function(){var t=this.baseValue,e=this.valueToPosition(t),i=this.renderer.positionToPoint(e);return i},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(c.hj(t)){var e=this.min,i=this.max;if(c.hj(e)&&c.hj(i)){var n=this._difference,r=this._axisBreaks;r&&r.length>0&&u.vn(r.iterator(),(function(n){var r=n.adjustedStartValue,s=n.adjustedEndValue;if(c.hj(r)&&c.hj(s)){if(t<r)return!1;if(l.wf({start:r,end:s},{start:e,end:i})){r=Math.max(r,e),s=Math.min(s,i);var o=n.breakSize;t>s?e+=(s-r)*(1-o):t<r||(t=r+(t-r)*o)}}return!0}));var s=void 0;if(this.logarithmic){var o=this.treatZeroAs;c.hj(o)&&t<=o&&(t=o),s=(Math.log(t)*Math.LOG10E-Math.log(this.min)*Math.LOG10E)/(Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E)}else s=(t-e)/n;return s}}return 0},e.prototype.invalidateLabels=function(){t.prototype.invalidateLabels.call(this),this.dataItems&&(this.dataItems.each((function(t){t.value=void 0})),this.invalidate())},e.prototype.positionToValue=function(t){var e=this.min,i=this.max;if(c.hj(e)&&c.hj(i)){var n=i-e,r=null,s=this._axisBreaks;return s&&s.length>0&&u.vn(s.iterator(),(function(s){var o=s.startPosition,a=s.endPosition,h=s.adjustedStartValue,u=s.adjustedEndValue;if(c.hj(h)&&c.hj(u)){if(h>i)return!1;if(l.wf({start:h,end:u},{start:e,end:i})){h=l.Fp(h,e),u=l.VV(u,i);var p=s.breakSize;if(n-=(u-h)*(1-p),t>a)e+=(u-h)*(1-p);else if(!(t<o)){var d=(t-o)/(a-o);return r=h+d*(u-h),!1}}return!0}})),c.hj(r)||(r=this.logarithmic?Math.pow(Math.E,(t*(Math.log(this.max)*Math.LOG10E-Math.log(this.min)*Math.LOG10E)+Math.log(this.min)*Math.LOG10E)/Math.LOG10E):t*n+e),r}},e.prototype.xToValue=function(t){return this.positionToValue(this.pointToPosition({x:t,y:0}))},e.prototype.yToValue=function(t){return this.positionToValue(this.pointToPosition({x:0,y:t}))},e.prototype.pointToPosition=function(t){return this.renderer instanceof s.j?1-this.renderer.pointToPosition(t):this.renderer.pointToPosition(t)},e.prototype.animateMinMax=function(t,e){return this.animate([{property:"_minAdjusted",from:this._minAdjusted,to:t},{property:"_maxAdjusted",from:this._maxAdjusted,to:e}],this.rangeChangeDuration,this.rangeChangeEasing)},e.prototype.getMinMax=function(){var t=this;this.updateGridCount();var e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;if(c.hj(this._minDefined)&&c.hj(this._maxDefined)||(this.series.each((function(n){if(!n.ignoreMinMax){var r=n.min(t);c.hj(r)&&r<e&&(e=r);var s=n.max(t);c.hj(s)&&s>i&&(i=s)}})),this.includeRangesInMinMax&&this.axisRanges.each((function(t){if(!t.ignoreMinMax){var n=l.VV(t.value,t.endValue),r=l.Fp(t.value,t.endValue);(n<e||!c.hj(e))&&(e=n),(r>i||!c.hj(i))&&(i=r)}}))),this.logarithmic){var n=this.treatZeroAs;c.hj(n)&&e<=0&&(e=n),e<=0&&this.raiseCriticalError(new Error("Logarithmic value axis can not have values <= 0."),!0)}if(0==e&&0==i&&(i=.9,e=-.9),c.hj(this._minDefined)&&(e=this._minDefined),c.hj(this._maxDefined)&&(i=this._maxDefined),this._adapterO&&(e=this._adapterO.apply("min",e)),this._adapterO&&(i=this._adapterO.apply("max",i)),c.hj(e)&&c.hj(i)){this._minReal=e,this._maxReal=i,e==Number.POSITIVE_INFINITY&&(e=void 0),i==Number.NEGATIVE_INFINITY&&(i=void 0);var r=this.adjustDifference(e,i);if(e=this.fixMin(e),i=this.fixMax(i),i-e<=1/Math.pow(10,15)){if(i-e!=0)this._deltaMinMax=(i-e)/2;else{var s=Math.log(Math.abs(i))*Math.LOG10E,o=Math.pow(10,Math.floor(s));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;c.hj(this._maxDefined)&&(a=!0);var h=this.adjustMinMax(e,i,r,this._gridCount,a);if(e=h.min,i=h.max,r=i-e,h=this.adjustMinMax(e,i,i-e,this._gridCount,!0),e=h.min,i=h.max,this.strictMinMax&&(e=c.hj(this._minDefined)?this._minDefined:this._minReal,i=c.hj(this._maxDefined)?this._maxDefined:this._maxReal,i-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._step=h.step,c.hj(e)||c.hj(i)||(this.start=0,this.end=1,this.renderer.labels.each((function(t){t.dataItem.text=""}))),(this._minAdjusted!=e||this._maxAdjusted!=i)&&c.hj(e)&&c.hj(i)){var u=this._minMaxAnimation;if(this._extremesChanged&&c.hj(this._minAdjusted)&&c.hj(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&&!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.invalidate()})),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._saveMinMax(e,i)}}this._extremesChanged=!1,this._difference=this.adjustDifference(e,i)}},e.prototype.fixMin=function(t){return t},e.prototype.fixMax=function(t){return t}
1,e.prototype.adjustMinMax=function(t,e,i,n,r){n<=1&&(n=1),n=Math.round(n);var s=t,o=e;0===i&&(i=Math.abs(e));var a=Math.log(Math.abs(i))*Math.LOG10E,h=Math.pow(10,Math.floor(a));h/=10;var u=h;r&&(u=0),this.logarithmic?(t<=0&&(t=this.baseValue),t==1/0&&(t=1),e==-1/0&&(e=10),this.strictMinMax?(this._minDefined>0&&(t=this._minDefined),this._maxDefined):(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/h)*h,e=Math.ceil(e/h)*h):(t=Math.ceil(t/h)*h-u,e=Math.floor(e/h)*h+u),t<0&&s>=0&&(t=0),e>0&&o<=0&&(e=0)),a=Math.log(Math.abs(i))*Math.LOG10E,h=Math.pow(10,Math.floor(a)),h/=10;var p=Math.ceil(i/n/h)*h,c=Math.pow(10,Math.floor(Math.log(Math.abs(p))*Math.LOG10E)),d=Math.ceil(p/c);d>5?d=10:d<=5&&d>2&&(d=5),p=Math.ceil(p/(c*d))*c*d,this.maxPrecision<Number.MAX_VALUE&&p!=l.mD(p,this.maxPrecision)&&(p=l.mD(p,this.maxPrecision));var f=0;if(c<1&&(f=Math.round(Math.abs(Math.log(Math.abs(c))*Math.LOG10E))+1,p=l.NM(p,f)),!this.logarithmic){var g=Math.floor(t/p);t=l.NM(p*g,f);var y=void 0;y=r?Math.floor(e/p):Math.ceil(e/p),y==g&&y++,e=l.NM(p*y,f),e<o&&(e+=p),t>s&&(t-=p)}return{min:t,max:e,step:p}},Object.defineProperty(e.prototype,"min",{get:function(){var t=this._minAdjusted;return c.hj(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 c.hj(t)||(t=this._maxDefined),t},set:function(t){this._maxDefined!=t&&(this._maxDefined=t,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"adjustLabelPrecision",{get:function(){return this.getPropertyValue("adjustLabelPrecision")},set:function(t){this.setPropertyValue("adjustLabelPrecision",t)&&this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.registerSeries=function(e){return new o.FV([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(u.S6(this.series.iterator(),(function(r){if(!r.ignoreMinMax&&!r.isHidden&&!r.outOfRange){r.visible&&!r.isHiding&&(n=!1);var s=r.selectionMin(i),o=r.selectionMax(i);c.hj(s)&&(!c.hj(t)||s<t)&&(t=s),c.hj(o)&&(!c.hj(e)||o>e)&&(e=o)}})),this.includeRangesInMinMax&&this.axisRanges.each((function(i){if(!i.ignoreMinMax){var n=l.VV(i.value,i.endValue),r=l.Fp(i.value,i.endValue);n<t&&(t=n),r>e&&(e=r)}})),c.hj(this._minDefined)?t=this.strictMinMax?this._minDefined:this.min:this.strictMinMax&&(t=this._minReal),c.hj(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 s=this.adjustDifference(t,e),o=this.adjustMinMax(t,e,s,this._gridCount);t=o.min,e=o.max,t-=(e-t)*this.extraMin,e+=(e-t)*this.extraMax,t=l.C7(t,this.min,this.max),e=l.C7(e,this.min,this.max),s=this.adjustDifference(t,e),o=this.adjustMinMax(t,e,s,this._gridCount,!0),t=o.min,e=o.max,this.strictMinMax&&(t=l.Fp(t,this._minDefined),e=l.VV(e,this._maxDefined));var a=o.step;this.syncWithAxis&&(o=this.syncAxes(t,e,a),t=o.min,e=o.max,this.invalidate()),a=o.step,this._difference=this.adjustDifference(this.min,this.max);var h=this.valueToPosition(t),p=this.valueToPosition(e);n&&!this.syncWithAxis&&(h=0,p=1);var d=0;this.syncWithAxis?(d=5,this.setCache(t+"-"+e,a)):(this._step==a&&this._minZoomed==t&&this._maxZoomed==e||(this._dsc=!0),this._step=a,this._minZoomed=t,this._maxZoomed=e),this.keepSelection||this.zoom({start:h,end:p},!1,!1,d)},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(),this.series.each((function(t){t.invalidateDataItems()})))},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}),Object.defineProperty(e.prototype,"extraTooltipPrecision",{get:function(){return this.getPropertyValue("extraTooltipPrecision")},set:function(t){this.setPropertyValue("extraTooltipPrecision",t)&&this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.handleExtremesChange=function(){var t=this;if(this._extremesChanged=!0,this.getMinMax(),this.ghostLabel){var e=0;this.dataItems.each((function(i){i.label&&i.label.pixelWidth>e&&(t.ghostLabel.text=i.label.currentText)}))}}
1,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 s=t.getWorkingValue(e);c.Uh(n)||(n="valueX");var o=t.getValue(n,"stack");c.hj(s)||(s=this.baseValue,this.logarithmic&&o>0&&(s=0));var a=this.valueToPosition(s+o);return r&&(a=l.C7(a,r.start,r.end)),a},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 s=t.getWorkingValue(e);c.Uh(n)||(n="valueY");var o=t.getValue(n,"stack");c.hj(s)||(s=this.baseValue,this.logarithmic&&o>0&&(s=0));var a=this.valueToPosition(s+o);return r&&(a=l.C7(a,r.start,r.end)),a},e.prototype.getAngle=function(t,e,i,n,r){var s=t.getWorkingValue(e),o=t.getValue(n,"stack");c.hj(s)||(s=this.baseValue);var a=this.valueToPosition(s+o);return r&&(a=l.C7(a,r.start,r.end)),this.positionToAngle(a)},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.NM(this.positionToValue(t),this._stepDecimalPlaces+this.extraTooltipPrecision),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),s=(e-this.min)/(this.max-this.min);this.zoom({start:r,end:s},i,n)},Object.defineProperty(e.prototype,"minZoomed",{get:function(){return this.syncWithAxis?this._minZoomed:l.Fp(this.min,this._minZoomed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomed",{get:function(){return this.syncWithAxis?this._maxZoomed:l.VV(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,s=Math.ceil(r*t.breakSize)*e._gridCount/(e.max-e.min),o=e.adjustMinMax(i,n,r,s,!0);t.adjustedStep=o.step,t.adjustedMin=o.min,t.adjustedMax=o.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},Object.defineProperty(e.prototype,"syncWithAxis",{get:function(){return this.getPropertyValue("syncWithAxis")},set:function(t){var e=this;this.setPropertyValue("syncWithAxis",t,!0)&&t&&(this._disposers.push(t.events.on("extremeschanged",this.handleSelectionExtremesChange,this,!1)),this._disposers.push(t.events.on("selectionextremeschanged",this.handleSelectionExtremesChange,this,!1)),this._disposers.push(t.events.on("startendchanged",this.handleSelectionExtremesChange,this,!1)),this.events.on("shown",this.handleSelectionExtremesChange,this,!1),this.events.on("maxsizechanged",(function(){e.clearCache(),e._disposers.push(a.i.events.once("exitframe",(function(){e.handleSelectionExtremesChange()})))}),this,!1))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"treatZeroAs",{get:function(){return this.getPropertyValue("treatZeroAs")},set:function(t){this.setPropertyValue("treatZeroAs",t,!0)},enumerable:!0,configurable:!0}),e.prototype.syncAxes=function(t,e,i){var n=this.syncWithAxis;if(n){c.hj(t)||(t=this.min),c.hj(e)||(e=this.max),c.hj(i)||(i=this._step);var r=Math.round((n.maxZoomed-n.minZoomed)/n.step),s=Math.round((e-t)/i);if(c.hj(r)&&c.hj(s)){var o=!1,a=0,h=.01*(e-t),l=t,u=e,p=i;while(1!=o)if(o=this.checkSync(l,u,p,r),a++,a>1e3&&(o=!0),o)t=l,e=u,i=p;else{a/3==Math.round(a/3)?(l=t-h*a,t>=0&&l<0&&(l=0)):(u=e+h*a,u<=0&&u>0&&(u=0));var d=this.adjustMinMax(l,u,u-l,this._gridCount,!0);l=d.min,u=d.max,p=d.step}}}return{min:t,max:e,step:i}},e.prototype.checkSync=function(t,e,i,n){for(var r=(e-t)/i,s=1;s<n;s++)if(l.NM(r/s,1)==n||r*s==n)return!0;return!1},e.prototype.processConfig=function(e){e&&c.Uh(e.syncWithAxis)&&c.HD(e.syncWithAxis)&&(this.map.hasKey(e.syncWithAxis)?e.syncWithAxis=this.map.getKey(e.syncWithAxis):(this.processingErrors.push('[ValueAxis] No axis with id "'+e.syncWithAxis+'" found for `syncWithAxis`'),delete e.xAxis)),t.prototype.processConfig.call(this,e)},e.prototype._saveMinMax=function(t,e){},e}(r.RD);a.i.registeredClasses["ValueAxis"]=g,a.i.registeredClasses["ValueAxisDataItem"]=f}
1,46048:function(t,e,i){i.d(e,{Z:function(){return o}});var n=i(60199),r=i(64781),s=i(69580),o=function(t){function e(){var e=t.call(this)||this;return e.className="ValueAxisBreak",e.applyTheme(),e}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"startPosition",{get:function(){if(this.axis)return this.axis.valueToPosition(this.adjustedStartValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endPosition",{get:function(){if(this.axis)return this.axis.valueToPosition(this.adjustedEndValue)},enumerable:!0,configurable:!0}),e}(r.f);s.i.registeredClasses["ValueAxisBreak"]=o},34722:function(t,e,i){i.d(e,{g:function(){return a}});i(70560);var n=i(60199),r=i(25980),s=i(69580),o=i(58403),a=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(0,n.ZT)(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.W);s.i.registeredClasses["Bullet"]=a,o.IH.push({relevant:o.Xf.isXS,state:function(t,e){if(t instanceof a){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},32985:function(t,e,i){i(70560);var n=i(60199),r=i(25980),s=i(71311),o=i(69580),a=i(71015),h=i(4781),l=i(10431),u=i(48841),p=i(84071),c=i(57043),d=i(78398),f=i(52248),g=i(36387),y=i(16555),m=function(t){function e(){var e=t.call(this)||this;e.className="HeatLegend",e.markerContainer=e.createChild(r.W),e.markerContainer.shouldClone=!1,e.markerCount=1;var i=new y.c;return i.minHeight=20,i.minWidth=20,i.interactionsEnabled=!1,i.fillOpacity=1,i.cornerRadius(0,0,0,0),e.markerContainer.minHeight=20,e.markerContainer.minWidth=20,e.orientation="horizontal",e.markers=new h.o(i),e._disposers.push(new h.zQ(e.markers)),e._disposers.push(e.markers.template),e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.getMinFromRules=function(t){var e,i=this.series;if(i)return d.vn(i.heatRules.iterator(),(function(i){return i.property!=t||(e=i.min,!1)})),e},e.prototype.getMaxFromRules=function(t){var e,i=this.series;if(i)return d.S6(i.heatRules.iterator(),(function(i){return i.property!=t||(e=i.max,!1)})),e},e.prototype.validate=function(){t.prototype.validate.call(this),this.valueAxis.renderer.inversed=this.reverseOrder;var e=this.series,i=this.minColor,n=this.maxColor;if(f.Uh(i)||(i=(0,a.p9)(this.getMinFromRules("fill"))),f.Uh(n)||(n=(0,a.p9)(this.getMaxFromRules("fill"))),e){var r=e.fill;!f.Uh(i)&&r instanceof a.Il&&(i=r),!f.Uh(n)&&r instanceof a.Il&&(n=r)}f.Uh(n)||(n=(0,a.p9)(this.getMaxFromRules("fill")));var o=f.He(this.getMinFromRules("fillOpacity"));f.hj(o)||(o=1);var h=f.He(this.getMaxFromRules("fillOpacity"));f.hj(h)||(h=1);var u=f.He(this.getMinFromRules("strokeOpacity"));f.hj(u)||(u=1);var p=f.He(this.getMaxFromRules("strokeOpacity"));f.hj(p)||(p=1);for(var c=(0,a.p9)(this.getMinFromRules("stroke")),d=(0,a.p9)(this.getMaxFromRules("stroke")),y=0;y<this.markerCount;y++){var m=this.markers.getIndex(y);if(m||(m=this.markers.create(),m.parent=this.markerContainer,m.height=(0,l.aQ)(100),m.width=(0,l.aQ)(100)),1==this.markerCount){var v=new s.o;
1if(this.reverseOrder?(v.addColor(n,h),v.addColor(i,o)):(v.addColor(i,o),v.addColor(n,h)),"vertical"==this.orientation&&(v.rotation=-90),m.fill=v,f.Uh(c)&&f.Uh(d)){var b=new s.o;this.reverseOrder?(b.addColor(d,p),b.addColor(c,u)):(b.addColor(c,u),b.addColor(d,p)),"vertical"==this.orientation&&(b.rotation=-90),m.stroke=b}}else{var _=y;this.reverseOrder&&(_=this.markerCount-y-1);var x=new a.Il(g.sX(i.rgb,n.rgb,_/this.markerCount));m.fill=x;var P=o+(h-o)*_/this.markerCount;if(m.fillOpacity=P,f.Uh(c)&&f.Uh(d)){var w=new a.Il(g.sX(c.rgb,d.rgb,_/this.markerCount));m.stroke=w;var O=u+(p-u)*_/this.markerCount;m.strokeOpacity=O}}}var S=this.valueAxis.renderer;this.markerCount>1&&("horizontal"==this.orientation?S.minGridDistance=this.measuredWidth/this.markerCount:S.minGridDistance=this.measuredHeight/this.markerCount),this.valueAxis.invalidate();y=this.markerCount;for(var C=this.markers.length;y<C;y++)this.markers.getIndex(y).parent=void 0},Object.defineProperty(e.prototype,"minColor",{get:function(){return this.getPropertyValue("minColor")},set:function(t){t instanceof a.Il||(t=(0,a.p9)(t)),this.setColorProperty("minColor",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxColor",{get:function(){return this.getPropertyValue("maxColor")},set:function(t){t instanceof a.Il||(t=(0,a.p9)(t)),this.setColorProperty("maxColor",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markerCount",{get:function(){return this.getPropertyValue("markerCount")},set:function(t){this.setPropertyValue("markerCount",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minValue",{get:function(){return this.getPropertyValue("minValue")},set:function(t){this.setPropertyValue("minValue",t),this.valueAxis.min=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxValue",{get:function(){return this.getPropertyValue("maxValue")},set:function(t){this.setPropertyValue("maxValue",t),this.valueAxis.max=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0);var e=this.markerContainer,i=this.valueAxis;"horizontal"==t?(f.Uh(this.width)||(this.width=200),this.height=void 0,i.width=(0,l.aQ)(100),i.height=void 0,i.tooltip.pointerOrientation="vertical",this.layout="vertical",e.width=(0,l.aQ)(100),e.height=void 0,i.renderer instanceof p.n||(i.renderer=new p.n)):(f.Uh(this.height)||(this.height=200),this.width=void 0,this.layout="horizontal",e.width=void 0,e.height=(0,l.aQ)(100),i.height=(0,l.aQ)(100),i.width=void 0,i.tooltip.pointerOrientation="horizontal",i.renderer instanceof c.j||(i.renderer=new c.j),i.renderer.inside=!0,i.renderer.labels.template.inside=!0,this.markerContainer.reverseOrder=!0);var n=i.renderer;n.grid.template.disabled=!0,n.axisFills.template.disabled=!0,n.baseGrid.disabled=!0,n.labels.template.padding(2,3,2,3),n.minHeight=void 0,n.minWidth=void 0,this.markerContainer.layout=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueAxis",{get:function(){return this._valueAxis||(this.valueAxis=this.createChild(u.m),this.valueAxis.shouldClone=!1),this._valueAxis},set:function(t){this._valueAxis=t,t.parent=this,t.strictMinMax=!0,this.orientation=this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"series",{get:function(){return this._series},set:function(t){var e=this;this._series=t;var i="value";try{var n=t.heatRules.getIndex(0).dataField;n&&(i=n)}catch(r){}this.updateMinMax(t.dataItem.values[i].low,t.dataItem.values[i].high),t.dataItem.events.on("calculatedvaluechanged",(function(n){e.updateMinMax(t.dataItem.values[i].low,t.dataItem.values[i].high)}),void 0,!1),t.heatRules.events.on("inserted",this.invalidate,this,!1),t.heatRules.events.on("removed",this.invalidate,this,!1)},enumerable:!0,configurable:!0}),e.prototype.updateMinMax=function(t,e){var i=this.valueAxis;f.hj(this.minValue)||(i.min=t,i.invalidate()),f.hj(this.maxValue)||(i.max=e,i.invalidate())},e.prototype.processConfig=function(e){if(e&&f.Uh(e.series)&&f.HD(e.series)&&f.HD(e.series))if(this.map.hasKey(e.series))e.series=this.map.getKey(e.series);else{var i=e.series,n=this.map.events.on("insertKey",(function(t){t.key==i&&(this.series=t.newValue,n.dispose())}),this);this._disposers.push(n),delete e.series}t.prototype.processConfig.call(this,e)},e}(r.W);o.i.registeredClasses["HeatLegend"]=m}
1,19006:function(t,e,i){i.d(e,{d:function(){return a}});var n=i(60199),r=i(79285),s=i(69580),o=i(20646),a=function(t){function e(){var e=t.call(this)||this;e.className="Tick";var i=new o.h;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(0,n.ZT)(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.jy);s.i.registeredClasses["Tick"]=a},40352:function(t,e,i){i.d(e,{F:function(){return S},m:function(){return O}});i(70560);var n=i(60199),r=i(86484),s=i(79285),o=i(4781),a=i(64142),h=i(30964),l=i(25980),u=i(58519),p=i(34722),c=i(36839),d=i(95298),f=i(71015),g=i(69580),y=i(78398),m=i(28502),v=i(29520),b=i(81245),_=i(52639),x=i(52248),P=i(91564),w=i(36387),O=function(t){function e(){var e=t.call(this)||this;return e.className="SeriesDataItem",e.values.value={},e.values.value={},e.applyTheme(),e}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"bullets",{get:function(){return this._bullets||(this._bullets=new a.Xy,this._disposers.push(new a.a7(this._bullets))),this._bullets},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.bullets.clear(),t.prototype.dispose.call(this)},Object.defineProperty(e.prototype,"value",{get:function(){return this.values.value.value},set:function(t){this.setValue("value",t)},enumerable:!0,configurable:!0}),e}(h.z),S=function(t){function e(){var i=t.call(this)||this;if(i._ignoreMinMax=!1,i._showBullets=!0,i.legendSettings=new c.BZ,i._tmin=new a.Xy,i._tmax=new a.Xy,i._smin=new a.Xy,i._smax=new a.Xy,i.dataItemsByAxis=new a.Xy,i.skipFocusThreshold=20,i._itemReaderTextChanged=!1,i.calculatePercent=!1,i.usePercentHack=!0,i.autoDispose=!0,i.simplifiedProcessing=!1,i.constructor===e)throw new Error("'Series' cannot be instantiated directly. Please use a specific series type.");i.className="Series",i.isMeasured=!1,i.layout="none",i.shouldClone=!1,i.setPropertyValue("hidden",!1),i.axisRanges=new o.aV,i.axisRanges.events.on("inserted",i.processAxisRange,i,!1),i.minBulletDistance=0,i.mainContainer=i.createChild(l.W),i.mainContainer.shouldClone=!1,i.mainContainer.mask=i.createChild(s.jy),i._disposers.push(i.mainContainer);var n=i.mainContainer.createChild(l.W);return i._shouldBeReady.push(n),n.shouldClone=!1,n.layout="none",n.virtualParent=i,i._disposers.push(n),i.bulletsContainer=n,i.tooltip=new u.u,i.tooltip.virtualParent=i,i._disposers.push(i.tooltip),i.hiddenState.transitionEasing=v.Jd,i.dataItem=i.createDataItem(),i._disposers.push(i.dataItem),i.dataItem.component=i,i.role="group",i.applyTheme(),i}return(0,n.ZT)(e,t),e.prototype.applyTheme=function(){t.prototype.applyTheme.call(this),d.Y.autoSetClassName&&this.bulletsContainer&&(this.bulletsContainer.className=this.className+"-bullets",this.bulletsContainer.setClassName())},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),x.Uh(this.readerTitle)||(this.readerTitle=this.language.translate("Series"))},e.prototype.createDataItem=function(){return new O},Object.defineProperty(e.prototype,"chart",{get:function(){return this._chart},set:function(t){this._chart=t},enumerable:!0,configurable:!0}),e.prototype.positionBullet=function(t){},e.prototype.processBullet=function(t){var e=this,i=t.newValue;i.isTemplate=!0,this.events.once("datavalidated",(function(t){e.itemsFocusable()&&(i.focusable=!0)})),this.invalidate()},e.prototype.removeBullet=function(t){var e=t.oldValue;this.dataItems.each((function(t){var i=t.bullets.getKey(e.uid);i&&i.dispose()})),this.invalidate()},e.prototype.validateDataItems=function(){t.prototype.validateDataItems.call(this),this.processValues(!1)},e.prototype.getFirstValue=function(t,e){for(var i=e;i>=0;i--){var n=this.dataItems.getIndex(i),r=n.getActualWorkingValue(t);if(x.hj(r))return r}return null},e.prototype.getAbsoluteFirstValue=function(t){for(var e=0;e<this.dataItems.length;e++){var i=this.dataItems.getIndex(e),n=i.values[t].value;if(x.hj(n))return n}return null},e.prototype.rangeChangeUpdate=function(){t.prototype.rangeChangeUpdate.call(this),this.processValues(!0)},e.prototype.processValues=function(t){var e=this;if(!this.simplifiedProcessing){var i=this.dataItems,n={},r={},s={},o={},a={},h={},l={},u={},p={},c={},d=m.Fp(0,this.startIndex);d=m.VV(d,this.dataItems.length);var f=m.VV(this.endIndex,this.dataItems.length);if(x.hj(d)||(d=0),x.hj(f)||(f=this.dataItems.length),d>0){var g=i.getIndex(d-1);_.S6(g.values,(function(t,e){var i=g.getActualWorkingValue(t);x.hj(i)&&(u[t]=i)}))}for(var y=function(t){var f=i.getIndex(t);_.S6(f.values,(function(t,i){var g=f.getActualWorkingValue(t);if(x.hj(g)){x.hj(n[t])||(n[t]=0),n[t]++,x.hj(r[t])||(r[t]=0),r[t]+=g,x.hj(s[t])||(s[t]=0),s[t]+=Math.abs(g),x.hj(h[t])||(h[t]=g),l[t]=g,x.hj(o[t])?o[t]>g&&(o[t]=g):o[t]=g,x.hj(a[t])?a[t]<g&&(a[t]=g):a[t]=g,x.hj(p[t])||(p[t]=e.getFirstValue(t,d)),x.hj(c[t])||(c[t]=e.getAbsoluteFirstValue(t)),f.setCalculatedValue(t,g-p[t],"change"),f.setCalculatedValue(t,(g-p[t])/p[t]*100,"changePercent"),f.setCalculatedValue(t,g-c[t],"startChange"),f.setCalculatedValue(t,(g-c[t])/c[t]*100,"startChangePercent");var y=u[t];x.hj(y)||(y=g),f.setCalculatedValue(t,g-y,"previousChange"),f.setCalculatedValue(t,(g-y)/y*100,"previousChangePercent"),u[t]=g}}))},v=d;v<f;v++)y(v);if(this.calculatePercent){var b=function(t){var n=i.getIndex(t);_.S6(n.values,(function(t){var i=s[t],r=n.getActualWorkingValue(t);if(x.hj(r))if(i>0){e.usePercentHack&&r==i&&(i=n.values[t].value);var o=r/i*100;n.setCalculatedValue(t,o,"percent")}else n.setCalculatedValue(t,0,"percent")}))};for(v=d;v<f;v++)b(v)}if(d>0){var P=i.getIndex(d-1);_.S6(P.values,(function(t){var e=P.values[t].value;P.setCalculatedValue(t,e-h[t],"change"),P.setCalculatedValue(t,(e-h[t])/h[t]*100,"changePercent")}))}var w=this.dataItem;_.S6(w.values,(function(t){w.setCalculatedValue(t,r[t],"sum"),w.setCalculatedValue(t,s[t],"absoluteSum"),w.setCalculatedValue(t,r[t]/n[t],"average"),w.setCalculatedValue(t,h[t],"open"),w.setCalculatedValue(t,l[t],"close"),w.setCalculatedValue(t,o[t],"low"),w.setCalculatedValue(t,a[t],"high"),w.setCalculatedValue(t,n[t],"count")}))}},e.prototype.validate=function(){b.w1()&&this.filters.clear(),y.S6(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;i<this.startIndex;i++){var n=this.dataItems.getIndex(i);n&&n.bullets.each((function(t,e){e.__disabled=!0}))}for(i=this.dataItems.length-1;i>this.endIndex;i--){n=this.dataItems.getIndex(i);n&&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=0,e=0,i=this.topParent.maxWidth,n=this.topParent.maxHeight,r={x:t,y:e,width:i,height:n};this.tooltip.setBounds(r)}
1},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,s=e.dataContext;r&&s&&!1===s[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 o=n.dataItem;if(o!=e){o&&o.bullets.setKey(t.uid,void 0);var a=i.itemReaderText;n instanceof p.g&&(a||(a="{"+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(a,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(a,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)}else n&&(n.__disabled=!0)}))):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.W),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 o.o(new p.g),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 o.zQ(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.Kd(this.tooltipText):this.tooltipHTML&&(t=b.Kd(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,s=n.valueLabel;t&&!t.isDisposed()||e?(s&&(i.itemValueText&&(s.text=i.itemValueText),s.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),s&&((i.valueText||void 0!=i.itemValueText)&&(s.text=i.valueText),s.dataItem=this.dataItem))}},e.prototype.copyFrom=function(e){this.bullets.copyFrom(e.bullets),this.bulletsContainer.copyFrom(e.bulletsContainer),this.calculatePercent=e.calculatePercent,this.usePercentHack=e.usePercentHack,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,d.Y.suppressErrors||this._chart.modal.open(),this._chart.disabled=!0),d.Y.verbose&&console.log(t)},e.prototype.applyFilters=function(){var e=this;t.prototype.applyFilters.call(this),this.bulletsContainer.filters.clear(),y.S6(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 o.aV,this._heatRules.events.on("inserted",(function(e){var i=e.newValue,n=i.target;if(n){var r=i.dataField;x.Uh(r)||(r="value");var o=t.dataItem,a=i.property,h=x.He(i.minValue),u=x.He(i.maxValue);x.hj(h)||x.hj(u)||t.dataItem.events.on("calculatedvaluechanged",(function(e){e.property==r&&y.S6(t.dataItems.iterator(),(function(t){var e=!1;P.S6(t.sprites,(function(t){if(t.clonedFrom==n){var i=t;i[a]=i[a],e=!0}})),e||P.S6(t.sprites,(function(t){t instanceof l.W&&y.S6(t.children.iterator(),(function(t){if(t.className==n.className){var e=t;e[a]=e[a]}else t instanceof l.W&&t.deepInvalidate()}))}))}))})),t.dataItems.template.events.on("workingvaluechanged",(function(t){if(t.property==r){var e=t.target,i=!1;P.S6(e.sprites,(function(t){if(t.clonedFrom==n){var e=t;e[a]=e[a],i=!0}})),i||P.S6(e.sprites,(function(t){t instanceof l.W&&y.S6(t.children.iterator(),(function(t){if(t.className==n.className){var e=t;e[a]=e[a]}else t instanceof l.W&&t.deepInvalidate()}))}))}})),n.adapter.add(a,(function(t,e,n){var a=x.He(i.minValue),h=x.He(i.maxValue),l=i.min,u=i.max;if(e instanceof s.jy){var p=e,c=p.propertyFields[n];if(c&&e.dataItem){var d=e.dataItem.dataContext;if(d&&x.Uh(d[c]))return t}}var g=e.dataItem;if(x.hj(a)||(a=o.values[r].low),x.hj(h)||(h=o.values[r].high),g){var y=g.values[r];if(y){var m=g.getActualWorkingValue(r);if(x.Uh(l)&&x.Uh(u)&&x.hj(a)&&x.hj(h)&&x.hj(m)){var v=void 0;if(v=i.logarithmic?(Math.log(m)*Math.LOG10E-Math.log(a)*Math.LOG10E)/(Math.log(h)*Math.LOG10E-Math.log(a)*Math.LOG10E):(m-a)/(h-a),!x.hj(m)||x.hj(v)&&Math.abs(v)!=1/0||(v=.5),x.hj(l))return l+(u-l)*v;if(l instanceof f.Il)return new f.Il(w.sX(l.rgb,u.rgb,v))}}}return t}))}}))),this._heatRules},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){var i;if(e){if(x.Uh(e.bullets)&&x.kJ(e.bullets))for(var n=0,r=e.bullets.length;n<r;n++){var s=e.bullets[n];x.Uh(s.type)||(s.type="Bullet")}x.Uh(e.heatRules)&&x.kJ(e.heatRules)&&(i=e.heatRules,delete e.heatRules)}if(t.prototype.processConfig.call(this,e),i){for(n=0,r=i.length;n<r;n++){var a=i[n],h=this;if(x.Uh(a.target)&&x.HD(a.target))if(this.map.hasKey(a.target))h=this.map.getKey(a.target);else for(var l=a.target.split("."),u=0;u<l.length;u++)if(h instanceof o.aV){var p=h.getIndex(x.He(l[u]));h=p||h[l[u]]}else{var c=l[u].match(/^(.*)\[([0-9]+)\]/);
1h=c?h[c[1]]instanceof o.aV?h[c[1]].getIndex(x.He(c[2])):h[c[1]][x.He(c[2])]:h[l[u]]}a.target=h,x.Uh(a.min)&&(a.min=this.maybeColorOrPercent(a.min)),x.Uh(a.max)&&(a.max=this.maybeColorOrPercent(a.max))}t.prototype.processConfig.call(this,{heatRules:i})}},e.prototype.configOrder=function(e,i){return e==i?0:"heatRules"==e?1:"heatRules"==i?-1:t.prototype.configOrder.call(this,e,i)},e.prototype.setVisibility=function(e){t.prototype.setVisibility.call(this,e),this.bulletsContainer.visible=e},e}(r.w);g.i.registeredClasses["Series"]=S,g.i.registeredClasses["SeriesDataItem"]=O},46118:function(t,e,i){i.d(e,{c:function(){return g},j:function(){return y}});i(70560);var n=i(60199),r=i(88907),s=i(4781),o=i(25980),a=i(40352),h=i(10431),l=i(58042),u=i(69580),p=i(78398),c=i(52248),d=i(91564),f=i(73818),g=function(t){function e(){var e=t.call(this)||this;return e.className="SerialChartDataItem",e.applyTheme(),e}return(0,n.ZT)(e,t),e}(r.k),y=function(t){function e(){var e=t.call(this)||this;e._exitDP={},e.className="SerialChart",e.colors=new l.U,e._usesData=!1;var i=e.chartContainer.createChild(o.W);i.shouldClone=!1,i.width=(0,h.aQ)(100),i.height=(0,h.aQ)(100),i.isMeasured=!1,i.layout="none",i.zIndex=2,e.seriesContainer=i;var n=e.chartContainer.createChild(o.W);return n.shouldClone=!1,n.width=(0,h.aQ)(100),n.height=(0,h.aQ)(100),n.isMeasured=!1,n.zIndex=3,n.layout="none",e.bulletsContainer=n,e.applyTheme(),e}return(0,n.ZT)(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),c.Uh(this.readerTitle)||(this.readerTitle=this.language.translate("Serial chart"))},Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new s.o(this.createSeries()),this._series.events.on("inserted",this.handleSeriesAdded,this,!1),this._series.events.on("removed",this.handleSeriesRemoved,this,!1),this._disposers.push(new s.zQ(this._series,!1)),this._disposers.push(this._series.template)),this._series},enumerable:!0,configurable:!0}),e.prototype.handleSeriesRemoved=function(t){var e=t.oldValue;this.dataUsers.removeValue(e),this.dataUsers.each((function(t){t.invalidateDataItems()})),this._exitDP[e.uid]&&(this._exitDP[e.uid].dispose(),delete this._exitDP[e.uid]),e.autoDispose?e.dispose():(e.parent=void 0,e.bulletsContainer.parent=void 0);var i=this.legend;if(i){for(var n=this.legend.dataItems,r=n.length-1;r>=0;r--){var s=n.getIndex(r);s&&s.dataContext==e&&i.dataItems.remove(s)}for(r=i.data.length-1;r>=0;r--){var o=i.data[r];o&&o==e&&d.Od(i.data,o)}}},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 f.ku((function(){e.dataUsers.removeValue(i)}))),this.handleSeriesAdded2(i),this.handleLegendSeriesAdded(i))},e.prototype.handleLegendSeriesAdded=function(t){t.hiddenInLegend||this.legend&&this.legend.addData(t)},e.prototype.handleSeriesAdded2=function(t){var e=this;this.dataInvalid||(this._exitDP[t.uid]=u.i.events.once("exitframe",(function(){t.data&&0!=t.data.length||(t.data=e.data,t.showOnInit&&(t.reinit(),t.setPropertyValue("showOnInit",!1),t.showOnInit=!0),t.isDisposed()||t.events.once("datavalidated",(function(){t.data==e.data&&(t._data=[])})))})),this._disposers.push(this._exitDP[t.uid]))},e.prototype.feedLegend=function(){var t=this.legend;if(t){var e=[];p.S6(this.series.iterator(),(function(t){t.hiddenInLegend||e.push(t)})),t.dataFields.name="name",t.data=e}},e.prototype.createSeries=function(){return new a.F},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
1()}))},e}(r.d);u.i.registeredClasses["SerialChart"]=y},56399:function(t,e,i){i.d(e,{L:function(){return m},y:function(){return v}});i(70560);var n=i(60199),r=i(4781),s=i(96579),o=i(64142),a=i(73818),h=i(65250),l=i(98306),u=i(71015),p=i(10431),c=i(69580),d=i(86604),f=i(91564),g=i(52639),y=i(52248),m=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=c.i.getUniqueId(),c.i.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 o.Xy),this._map},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"delayedMap",{get:function(){return this._delayedMap||(this._delayedMap=new o.Xy),this._delayedMap},enumerable:!0,configurable:!0}),t.prototype.addDelayedMap=function(t,e){var i=this.delayedMap;i.hasKey(e)||i.setKey(e,[]);var n=i.getKey(e);n.push({property:t,target:this})},t.prototype.processDelayedMap=function(){var t=this;this.delayedMap.each((function(e,i){if(t.map.hasKey(e)){var n=t.map.getKey(e);f.S6(i,(function(t){t.target[t.property]=n})),t.delayedMap.removeKey(e)}}))},t.prototype.applyTheme=function(){var t=this;if(c.i){var e=this.getCurrentThemes();e&&f.S6(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||c.i.themes},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._disposers;this._disposers=null;while(0!==t.length){var e=t.shift();e.dispose()}this.clearCache(),this.clonedFrom&&this.clonedFrom.clones.removeValue(this);var i=this._uid;null!=i&&c.i.map.removeKey(i)}},t.prototype.addDisposer=function(t){this._disposers.push(t)},t.prototype.removeDispose=function(t){if(!this._disposed){var e=f.cq(this._disposers,t);e>-1&&this._disposers.splice(e,1)}t.dispose()},t.prototype.clone=function(t){t||(t="clone-"+c.i.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.aV),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.F.set(this.uid,t,e,i)},t.prototype.getCache=function(t,e){return void 0===e&&(e=void 0),d.F.get(this.uid,t,e)},t.prototype.clearCache=function(){d.F.clear(this.uid)},t.prototype.setTimeout=function(t,e){var i=this,n=setTimeout((function(){i.removeDispose(r),t()}),e),r=new a.ku((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 a.ku((function(){clearTimeout(n)}));return this._disposers.push(r),r},Object.defineProperty(t.prototype,"config",{set:function(t){try{this.processConfig(t)}catch(e){this.raiseCriticalError(e)}},enumerable:!0,configurable:!0}),t.prototype.processConfig=function(e){var i=this;if(e){var n=this;if(g.JE(e,(function(e,a){var d,f=a;if("callback"==e&&"function"==typeof a&&a.call(n),i.hasProperty(e))if(!y.Kn(f)||!y.Uh(f["type"])||y.Kn(n[e])&&y.Uh(n[e].className)&&!f["forceCreate"]&&n[e].className==f["type"]||i.asIs(e)?d=n[e]:(d=i.createClassInstance(f["type"]),d?n[e]=d:d=n[e]),d instanceof l.L1)i.processAdapters(d,f);else if(d instanceof h.p)i.processEvents(d,f);else if("locale"==e&&y.HD(f))window["am4lang_"+f]&&(n[e]=window["am4lang_"+f]);else if("parent"==e&&y.HD(f)){var m=i.map.getKey(f);m?n[e]=m:i.addDelayedMap("parent",f)}else if(i.asIs(e))n[e]=f;else if(i.asFunction(e)&&y.HD(f)){if(!y.Uh(c.i.registeredClasses[f]))throw Error("Invalid easing function: "+f);n[e]=c.i.registeredClasses[f]}else if(f instanceof t)n[e]=f;else if(d instanceof t)d.config=f;else if(d instanceof r.o||d instanceof s.IK||d instanceof s.Rj){if(y.kJ(f))d instanceof r.o?i.processListTemplate(f,d):i.processOrderedTemplate(f,d);else if(y.Kn(f))if(f instanceof t)d.template=f;else{var v=void 0;v=y.Uh(f.template)?f.template:f,d.template instanceof t?d.template.config=v:g.S6(v,(function(e,n){var s=d.template[e];s instanceof l.L1?i.processAdapters(s,n):s instanceof h.p?i.processEvents(s,n):s instanceof o.NE?i.processDictionaryTemplate(s,n):d.template[e]instanceof t?d.template[e].config=n:y.Kn(n)&&y.Uh(n["type"])?(s=i.createClassInstance(n["type"]),s?(s instanceof t&&(s.config=n),d.template[e]=s):d.template[e]=n):s instanceof r.aV?i.processList(n,s):d.template[e]=i.maybeColorOrPercent(n)})),y.Uh(f.values)&&(d instanceof r.o?i.processListTemplate(f.values,d):i.processOrderedTemplate(f.values,d))}}else d instanceof r.aV?"children"==e?i.processList(f,d,i):i.processList(f,d):d instanceof o.NE?i.processDictionaryTemplate(d,f):d instanceof o.Xy?i.processDictionary(d,f):d instanceof u.Il||d instanceof p.gG?n[e]=i.maybeColorOrPercent(f):y.Kn(d)&&y.Kn(f)?g.Bx(f,d):(f=i.maybeColorOrPercent(f),n[e]=f);else i.isReserved(e)||(n[e]=f)}),this.configOrder),this.processingErrors.length){var a=this.processingErrors.join("\n");throw this._processingErrors=[],Error(a)}}},t.prototype.maybeColorOrPercent=function(t){if(y.HD(t)){if(t.match(/^[\-]?[0-9.]+\%$/))return(0,p.aQ)(y.He(t));if(t.match(/^\#[0-9abcdef]{3,}$/i))return(0,u.$_)(t)}return t},t.prototype.processAdapters=function(t,e){var i=this;y.kJ(e)?f.S6(e,(function(e,n){t.add(e.key,e.callback,e.priority||0,i)})):y.Kn(e)&&g.S6(e,(function(e,i){t.has(e,i)||t.add(e,i)}))},t.prototype.processEvents=function(t,e){var i=this;y.kJ(e)?f.S6(e,(function(e,n){t.on(e.type,e.callback,i)})):y.Kn(e)&&g.S6(e,(function(e,i){t.has(e,i)||t.on(e,i)}))},t.prototype.processDictionaryTemplate=function(e,i){y.Kn(i)&&g.S6(i,(function(i,n){var r;r="template"==i?e.template:e.hasKey(i)?e.getKey(i):e.create(i),r instanceof t?r.config=n:y.Kn(r)&&y.Kn(n)?g.Bx(n,r):r.setKey(i,n)}))},t.prototype.processDictionary=function(t,e){y.Kn(e)&&g.S6(e,(function(e,i){t.setKey(e,i)}))},t.prototype.processListTemplate=function(e,i){var n=this;f.S6(e,(function(e,r){var s,o=n.getConfigEntryType(e);if(i.hasIndex(r)&&!e["forceCreate"])s=i.getIndex(r);else{if(e instanceof t)return void i.push(e);s=o?i.create(o):i.create()}e===s||y.Kn(e)&&(s instanceof t?s.config=e:y.Kn(s)&&y.Kn(e)?g.Bx(e,s):i.setIndex(i.indexOf(s),e))}));while(e.length>i.length)i.pop()},t.prototype.processOrderedTemplate=function(e,i){var n=this;f.S6(e,(function(e,r){var s,o=n.getConfigEntryType(e);s=o?i.create(o):i.create(),y.Kn(e)&&(s instanceof t?s.config=e:y.Kn(s)&&y.Kn(e)?g.Bx(e,s):i.insert(e))}))},t.prototype.processList=function(e,i,n){var r=this;y.kJ(e)||(e=[e]);var s=i.length,o=0;f.S6(e,(function(e,a){if(y.Kn(e)){var h=void 0;if(a<s&&!e["forceCreate"])h=i.getIndex(a);else{if(e instanceof t)return void i.push(e);o++,h=r.createEntryInstance(e),n?h.parent=n:i.push(h)}h instanceof t?h.config=e:y.Kn(h)&&y.Kn(e)&&g.Bx(e,h)}else i.hasIndex(a)?i.setIndex(a,e):i.push(e)}));while(!n&&e.length+o<i.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.cq(["locale"],t)},t.prototype.asFunction=function(t){return!1},t.prototype.createClassInstance=function(t){if(y.Uh(c.i.registeredClasses[t]))return new c.i.registeredClasses[t];throw Error('Invalid type: "'+t+'".')},t.prototype.createEntryInstance=function(t){var e;return y.Uh(t["type"])&&(e=this.createClassInstance(t["type"])),e||t},t.prototype.getConfigEntryType=function(t){if(y.Uh(t["type"])){if
1(y.Uh(c.i.registeredClasses[t["type"]]))return c.i.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(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"events",{get:function(){return this._eventDispatcher||(this._eventDispatcher=new h.p,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}(m)},86484:function(t,e,i){i.d(e,{w:function(){return x}});i(70560);var n=i(60199),r=i(25980),s=i(4781),o=i(96579),a=i(64142),h=i(73818),l=i(51338),u=i(58403),p=i(80149),c=i(30964),d=i(69580),f=i(28502),g=i(91564),y=i(29520),m=i(81245),v=i(78398),b=i(52639),_=i(52248),x=function(t){function e(){var e=t.call(this)||this;return e.dataFields={},e._dataSources={},e._parseDataFrom=0,e._dataDisposers=[],e._currentDataSetId="",e._start=0,e._end=1,e.skipRangeEvent=!1,e.rangeChangeDuration=0,e.rangeChangeEasing=y._e,e.parsingStepDuration=50,e.dataInvalid=!1,e.rawDataInvalid=!1,e.dataRangeInvalid=!1,e.dataItemsInvalid=!1,e.interpolationDuration=0,e.interpolationEasing=y._e,e.sequencedInterpolation=!0,e.sequencedInterpolationDelay=0,e.dataValidationProgress=0,e._addAllDataItems=!0,e._usesData=!0,e.className="Component",e.minZoomCount=1,e.maxZoomCount=0,e._dataItems=new o.IK(e.createDataItem()),e._dataItems.events.on("inserted",e.handleDataItemAdded,e,!1),e._dataItems.events.on("removed",e.handleDataItemRemoved,e,!1),e._disposers.push(new s.zQ(e._dataItems)),e._disposers.push(e._dataItems.template),e.invali
1dateData(),e.dataUsers.events.on("inserted",e.handleDataUserAdded,e,!1),e._disposers.push(new h.FV(e._dataDisposers)),e._start=0,e._end=1,e.maxZoomDeclination=1,e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.createDataItem=function(){return new c.z},e.prototype.handleDataUserAdded=function(t){var e=t.newValue;e.dataProvider=this},e.prototype.handleDataItemValueChange=function(t,e){this.dataItemsInvalid||this.invalidateDataItems()},e.prototype.handleDataItemWorkingValueChange=function(t,e){},e.prototype.handleDataItemWorkingLocationChange=function(t,e){},e.prototype.handleDataItemCalculatedValueChange=function(t,e){},e.prototype.handleDataItemPropertyChange=function(t,e){},e.prototype.processDataItem=function(t,e){var i=this;if(t){e||(e={}),t.dataContext=e;var n=!1;b.S6(this.dataFields,(function(r,a){var h=r,l=e[a];if(i._adapterO&&i._adapterO.isEnabled("dataContextValue")&&(l=i._adapterO.apply("dataContextValue",{field:h,value:l,dataItem:t}).value),_.Uh(l))if(n=!0,t.hasChildren[h]){var u=i.createDataItem();u.copyFrom(i.mainDataSet.template);var p=new o.IK(u);p.events.on("inserted",i.handleDataItemAdded,i,!1),p.events.on("removed",i.handleDataItemRemoved,i,!1),i._dataDisposers.push(new s.zQ(p));for(var c=l.length,d=0;d<c;d++){var f=l[d],g=p.create();g.parent=t,i.processDataItem(g,f)}var y=t;y[h]=p}else t[h]=l})),b.S6(this.propertyFields,(function(i,r){var s=i,o=e[r];_.Uh(o)&&(n=!0,t.setProperty(s,o))})),this._addAllDataItems||n||this.mainDataSet.remove(t)}},e.prototype.updateDataItem=function(t){var e=this;if(t){var i=t.dataContext;b.S6(this.dataFields,(function(n,r){var s=n,o=i[r];if(e._adapterO&&(o=e._adapterO.apply("dataContextValue",{field:s,value:o,dataItem:t}).value),_.Uh(o))if(t.hasChildren[s]){var a=t,h=a[s];h.each((function(t){e.updateDataItem(t)}))}else t[s]=o})),b.S6(this.propertyFields,(function(e,n){var r=e,s=i[n];_.Uh(s)&&t.setProperty(r,s)}))}},e.prototype.validateDataElements=function(){for(var t=this.endIndex,e=this.startIndex;e<t;e++){var i=this.dataItems.getIndex(e);i&&this.validateDataElement(i)}},e.prototype.validate=function(){this.validateDataElements(),t.prototype.validate.call(this)},e.prototype.validateDataElement=function(t){},e.prototype.addData=function(t,e,i){var n=this;if(!this.dataInvalid&&this.inited&&(this._parseDataFrom=this.data.length),i||(t instanceof Array?g.S6(t,(function(t){n.data.push(t)})):this.data.push(t)),this.inited)this.removeData(e,i);else if(_.hj(e))while(e>0)this.data.shift(),e--;this.invalidateData()},e.prototype.removeData=function(t,e){if(_.hj(t)&&t>0){while(t>0){var i=this.mainDataSet.getIndex(0);i&&this.mainDataSet.remove(i),this.dataUsers.each((function(t){if(!t.data||0==t.data.length){var e=t.mainDataSet.getIndex(0);e&&t.mainDataSet.remove(e)}})),e||this.data.shift(),this._parseDataFrom>0&&this._parseDataFrom--,t--}this.invalidateDataItems()}},e.prototype.invalidateData=function(){this.disabled||this.isTemplate||(d.i.addToInvalidComponents(this),p.B.requestFrame(),this.dataInvalid=!0,v.S6(this.dataUsers.iterator(),(function(t){t.invalidateDataItems()})))},e.prototype.invalidateDataUsers=function(){v.S6(this.dataUsers.iterator(),(function(t){t.invalidate()}))},e.prototype.invalidateDataItems=function(){this.disabled||this.isTemplate||(g.pB(d.i.invalidDataItems,this),p.B.requestFrame(),this.dataItemsInvalid=!0,v.S6(this.dataUsers.iterator(),(function(t){t.invalidateDataItems()})))},e.prototype.invalidateDataRange=function(){this.disabled||this.isTemplate||(this.dataRangeInvalid=!0,g.pB(d.i.invalidDataRange,this),p.B.requestFrame())},e.prototype.validateDataRange=function(){g.Od(d.i.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;e<t;e++){var i=this.dataItems.getIndex(e);i&&(i.__disabled=!1)}for(e=0;e<this.startIndex;e++){i=this.dataItems.getIndex(e);i&&(i.__disabled=!0)}for(e=this.endIndex;e<this.dataItems.length;e++){i=this.dataItems.getIndex(e);i&&(i.__disabled=!0)}},e.prototype.invalidateRawData=function(){this.disabled||this.isTemplate||(g.pB(d.i.invalidRawDatas,this),p.B.requestFrame(),this.rawDataInvalid=!0,v.S6(this.dataUsers.iterator(),(function(t){t.invalidateRawData()})))},e.prototype.validateRawData=function(){var t=this;g.Od(d.i.invalidRawDatas,this),v.S6(this.mainDataSet.iterator(),(function(e){e&&t.updateDataItem(e)}))},e.prototype.dispose=function(){var e=this;this.mainDataSet.template.clones.clear(),b.S6(this._dataSources,(function(t,i){e.removeDispose(i)})),this.disposeData(),t.prototype.dispose.call(this)},e.prototype.disposeData=function(){this.mainDataSet.template.clones.clear(),g.S6(this._dataDisposers,(function(t){t.dispose()})),v.S6(this.dataUsers.iterator(),(function(t){t.disposeData()})),this._dataDisposers.length=0,this._startIndex=void 0,this._endIndex=void 0,this.mainDataSet.clear(),this.mainDataSet.template.clones.clear(),this._dataSets&&this._dataSets.clear()},e.prototype.getDataItem=function(t){return this.mainDataSet.create()},e.prototype.validateData=function(){if(this.dispatchImmediately("beforedatavalidated"),this.dataInvalid=!1,d.i.removeFromInvalidComponents(this),!this.__disabled){if(this.dataValidationProgress=0,this._prevStartIndex=void 0,this._prevEndIndex=void 0,this._startIndex=void 0,this._endIndex=void 0,this.dataFields.data&&this.dataItem){var t=this.dataItem.dataContext;this._data=t[this.dataFields.data]}if(0===this._parseDataFrom&&this.data.length>0&&this.disposeData(),this.data.length>0){var e=this.preloader;v.S6(this.dataUsers.iterator(),(function(t){t._startIndex=void 0,t._endIndex=void 0}));var i=0,n=Date.now(),r=this._parseDataFrom,s=this.data.length,o=function(){var t=a.data[r];if(a._usesData){var s=a.getDataItem(t);a.processDataItem(s,t)}if(a.dataUsers.each((function(e){if(0==e.data.length){var i=e.getDataItem(t);e.processDataItem(i,t)}})),i++,100==i){i=0;var o=Date.now()-n;if(o>a.parsingStepDuration&&r<a.data.length-10)return a._parseDataFrom=r+1,e&&(r/a.data.length>.5&&!e.visible||(e.progress=r/a.data.length)),a.dataValidationProgress=r/a.data.length,r=a.data.length,a.invalidateData(),{value:void 0}}},a=this;for(r;r<s;r++){var h=o();if("object"===typeof h)return h.value}e&&(e.progress=1),this.dataUsers.each((function(t){(t.hidden||t.appeared&&!t.visible&&t.stacked)&&t.hide(0)}))}this.dataValidationProgress=1,this._parseDataFrom=0,this.invalidateDataItems(),this._internalDefaultsApplied||this.applyInternalDefaults(),this.dispatch("datavalidated")}},e.prototype.validateDataItems=function(){g.Od(d.i.invalidDataItems,this),this.dataItemsInvali
1d=!1,this.invalidateDataRange(),this.invalidate(),this.dispatch("dataitemsvalidated")},Object.defineProperty(e.prototype,"data",{get:function(){return this._data||(this._data=[]),this._adapterO?this._adapterO.apply("data",this._data):this._data},set:function(t){this.setData(t)},enumerable:!0,configurable:!0}),e.prototype.setData=function(t){this.isDisposed()||(this._parseDataFrom=0,this.disposeData(),this._data=t,t&&t.length>0?this.invalidateData():(this.dispatchImmediately("beforedatavalidated"),this.dispatch("datavalidated")))},e.prototype.getDataSource=function(t){var e=this;return _.Uh(this._dataSources[t])||(this._dataSources[t]=new l.o,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.S6(i,(function(i){e[i]&&-1===g.cq(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||_.kJ(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.S6(i.data,(function(t,e){_.Uh(n.data[e])&&b.S6(t,(function(i,r){_.Uh(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 u.Et,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 s=t.start,o=t.end,a=t.priority;if(t.start==t.end&&(t.start=t.start-.5/this.maxZoomFactor,t.end=t.end+.5/this.maxZoomFactor),"end"==a&&1==o&&0!=s&&s<this.start&&(a="start"),"start"==a&&0==s&&o>this.end&&(a="end"),_.hj(n)||(n=this.maxZoomDeclination),!_.hj(s)||
1!_.hj(o))return{start:this.start,end:this.end};if(this._finalStart!=s||this._finalEnd!=o){var h=this.maxZoomFactor/this.minZoomCount,l=this.maxZoomFactor/this.maxZoomCount;if("start"==a?(this.maxZoomCount>0&&1/(o-s)<l&&(o=s+1/l),1/(o-s)>h&&(o=s+1/h),o>1&&o-s<1/h&&(s=o-1/h)):(this.maxZoomCount>0&&1/(o-s)<l&&(s=o-1/l),1/(o-s)>h&&(s<=0?o=s+1/h:s=o-1/h),s<0&&o-s<1/h&&(o=s+1/h)),s<-n&&(s=-n),1/(o-s)>h&&(o=s+1/h),o>1+n&&(o=1+n),1/(o-s)>h&&(s=o-1/h),this._finalEnd=o,this._finalStart=s,this.skipRangeEvent=e,this.dispatchImmediately("rangechangestarted"),this.rangeChangeDuration>0&&!i){var u=this.rangeChangeAnimation;if(u&&u.progress<1){var p=u.animationOptions;if(p.length>1){if(p[0].to==s&&p[1].to==o)return{start:s,end:o};u.isDisposed()||u.stop()}}this.rangeChangeAnimation&&this.rangeChangeAnimation.kill(),u=this.animate([{property:"start",to:s},{property:"end",to:o}],this.rangeChangeDuration,this.rangeChangeEasing),this.rangeChangeAnimation=u,u&&!u.isFinished()?u.events.on("animationended",(function(){r.dispatchImmediately("rangechangeended")})):this.dispatchImmediately("rangechangeended")}else this.start=s,this.end=o,this.dispatch("rangechangeended")}return{start:s,end:o}},e.prototype.zoomToIndexes=function(t,e,i,n){if(_.hj(t)&&_.hj(e)){var r=t/this.dataItems.length,s=e/this.dataItems.length;this.zoom({start:r,end:s},i,n)}},Object.defineProperty(e.prototype,"zoomFactor",{get:function(){return f.C7(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 _.hj(this._startIndex)||(this._startIndex=0),this._startIndex},set:function(t){this._startIndex=f.C7(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(!_.hj(this._endIndex)||this._endIndex>t)&&(this._endIndex=t),this._endIndex},set:function(t){this._endIndex=f.C7(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.i.removeFromInvalidComponents(this),g.Od(d.i.invalidDataItems,this),g.Od(d.i.invalidDataRange,this),g.Od(d.i.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 a.Xy),this._dataSets},enumerable:!0,configurable:!0}),e.prototype.setDataSet=function(t){if(this._currentDataSetId!=t){var e=this.dataSets.getKey(t);if(e)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;n<i;++n)e[n]._index=n},e.prototype.handleDataItemAdded=function(t){t.newValue.component=this,this._updateDataItemIndexes(t.index),this.dataItemsInvali
1d||this.invalidateDataItems()},e.prototype.handleDataItemRemoved=function(t){this._updateDataItemIndexes(t.index),this.dataItemsInvalid||this.invalidateDataItems()},e.prototype.bindDataField=function(t,e){this.dataFields[t]=e,this.invalidateDataRange()},e.prototype.invalidateProcessedData=function(){this.resetProcessedRange(),this.invalidateDataRange()},e.prototype.resetProcessedRange=function(){this._prevEndIndex=null,this._prevStartIndex=null},Object.defineProperty(e.prototype,"dataUsers",{get:function(){var t=this;return this._dataUsers||(this._dataUsers=new s.aV,this._disposers.push(new h.ku((function(){v.S6(t._dataUsers.iterator(),(function(t){t.dispose()}))})))),this._dataUsers},enumerable:!0,configurable:!0}),e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.dataFields=m.BS(this.dataFields,{}),e},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.data=e.data,this.sequencedInterpolation=e.sequencedInterpolation,this.sequencedInterpolationDelay=e.sequencedInterpolationDelay,this.interpolationDuration=e.interpolationDuration,this.interpolationEasing=e.interpolationEasing},e.prototype.reinit=function(){this._inited=!1,this.deepInvalidate()},e.prototype.getExporting=function(){var e=t.prototype.getExporting.call(this);return e.adapter.has("data",this._exportData,-1,this)||(e.adapter.add("data",this._exportData,-1,this),this.events.on("datavalidated",(function(t){e.handleDataUpdated()}))),e},e.prototype._exportData=function(t){return t.data=this.data,t},e.prototype.setDisabled=function(e){var i=t.prototype.setDisabled.call(this,e);return i&&this.invalidateData(),i},e.prototype.setShowOnInit=function(e){e!=this.getPropertyValue("showOnInit")&&(!e||this.inited||this.hidden?this._showOnInitDisposer2&&this.removeDispose(this._showOnInitDisposer2):(this._showOnInitDisposer2=this.events.once("dataitemsvalidated",this.hideInitially,this,!1),this._disposers.push(this._showOnInitDisposer2))),t.prototype.setShowOnInit.call(this,e)},e.prototype.setBaseId=function(e){e!=this._baseId&&this.dataInvalid&&(this.dataInvalid=!1,d.i.removeFromInvalidComponents(this),this._baseId=e,this.invalidateData()),t.prototype.setBaseId.call(this,e)},Object.defineProperty(e.prototype,"minZoomCount",{get:function(){return this.getPropertyValue("minZoomCount")},set:function(t){this.setPropertyValue("minZoomCount",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomCount",{get:function(){return this.getPropertyValue("maxZoomCount")},set:function(t){this.setPropertyValue("maxZoomCount",t)},enumerable:!0,configurable:!0}),e.prototype._systemCheckIfValidate=function(){return!(this.dataInvalid||this.dataProvider&&this.dataProvider.dataInvalid)},e.prototype.asFunction=function(e){return"interpolationEasing"==e||"rangeChangeEasing"==e||t.prototype.asIs.call(this,e)},e}(r.W);d.i.registeredClasses["Component"]=x},25980:function(t,e,i){i.d(e,{W:function(){return x}});i(70560);var n=i(60199),r=i(79285),s=i(5096),o=i(4781),a=i(73818),h=i(64142),l=i(15993),u=i(76699),p=i(10431),c=i(69580),d=i(20646),f=i(78398),g=i(91564),y=i(28502),m=i(52248),v=i(19606),b=i(80149),_=i(95298),x=function(t){function e(){var e=t.call(this)||this;return e._childrenByLayout=[],e._childrenDisposers=new h.Xy,e.hasFocused=!1,e.setStateOnSprites=[],e.layoutInvalid=!1,e._absoluteWidth=0,e._absoluteHeight=0,e._shouldBeReady=[],e._tapToActivate=!1,e.tapTimeout=3e3,e.className="Container",e._element=e.paper.addGroup("g"),e.group.add(e.element),e.setPropertyValue("pixelPerfect",!1),e.setPropertyValue("layout","absolute"),e.setPropertyValue("fixedWidthGrid",!1),e.setPropertyValue("verticalCenter","none"),e.setPropertyValue("horizontalCenter","none"),e._positionPrecision=4,e._disposers.push(new h.a7(e._childrenDisposers)),e.children.events.on("inserted",e.handleChildAdded,e),e.children.events.on("removed",e.handleChildRemoved,e),e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.handleChildAdded=function(t){this.processChild(t.newValue)},e.prototype.processChild=function(t){try{this._childrenDisposers.insertKey(t.uid,new a.FV([t.events.on("transformed",this.handleChildTransform,this),t.events.on("zIndexChanged",this.sortAndAdd,this)]))}catch(i){}if(this.element){var e=this.element;e.add(t.group)}t.parent=this,t.paper=this.paper,this.dispatchImmediately("childadded",{type:"childadded",newValue:t}),this.invalidate()},e.prototype.sortAndAdd=function(){this.sortChildren(),this.addChildren()},e.prototype.handleChildRemoved=function(t){var e=t.oldValue;if(this._childrenDisposers.removeKey(e.uid),this.element){var i=this.element;i.removeElement(e.group)}e.isMeasured&&this.invalidateLayout(),this.dispatchImmediately("childremoved",{type:"childremoved",oldValue:e})},e.prototype.handleChildTransform=function(t){var e=t.target;e.isMeasured&&this.invalidateLayout()},e.prototype.invalidateLayout=function(){this.layoutInvalid||this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||(this.layoutInvalid=!0,c.i.addToInvalidLayouts(this),b.B.requestFrame())},e.prototype.invalidate=function(){t.prototype.invalidate.call(this),this.invalidateLayout()},e.prototype.deepInvalidate=function(){t.prototype.invalidate.call(this),g.S6(this._childrenByLayout,(function(t){t instanceof e?t.deepInvalidate():t.invali
1date()})),this.invalidateLayout()},Object.defineProperty(e.prototype,"children",{get:function(){return this._children||(this._children=new o.aV),this._children},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minWidth",{get:function(){return this.getPropertyValue("minWidth")},set:function(t){this.setPropertyValue("minWidth",t)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this.getPropertyValue("minHeight")},set:function(t){this.setPropertyValue("minHeight",t)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),e.prototype.removeElement=function(){},e.prototype.sortChildren=function(){var t=this;if(this._childrenByLayout=[],"none"!=this.layout&&"absolute"!=this.layout&&this.layout){var e=[],i=[];f.S6(this.children.iterator(),(function(n){"horizontal"==t.layout||"grid"==t.layout?m.hj(n.percentWidth)?i.push(n):e.push(n):"vertical"==t.layout&&m.hj(n.percentHeight)?i.push(n):e.push(n)})),this._childrenByLayout=e.concat(i)}else this._childrenByLayout=this.children.values;this.calculateRelativeSize()},e.prototype.calculateRelativeSize=function(){var t=this,e=0,i=0;g.S6(this._childrenByLayout,(function(t){t.isMeasured&&(m.hj(t.percentWidth)&&(e+=t.percentWidth),m.hj(t.percentHeight)&&(i+=t.percentHeight))})),g.S6(this._childrenByLayout,(function(n){n.isMeasured&&("horizontal"==t.layout&&(m.hj(n.percentWidth)&&(n.relativeWidth=n.percentWidth/e),m.hj(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100)),"vertical"==t.layout&&(m.hj(n.percentHeight)&&(n.relativeHeight=n.percentHeight/i),m.hj(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100)),"grid"==t.layout&&(m.hj(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100),m.hj(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100))),"absolute"!=t.layout&&n.isMeasured||(m.hj(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100),m.hj(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100))}))},e.prototype.addChildren=function(){if(this.element){var t=g.JG(this.children.values),e=t.map((function(t,e){return{idx:e,data:t}}));e.sort((function(t,e){var i=t.data.zIndex||0,n=e.data.zIndex||0;return i<n?-1:i>n?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,s=i.node.childNodes.length;r<s;r++)if(i.node.childNodes[r]!=t[r].group.node){n=!1;break}n||(g.S6(t,(function(t){t.group&&i.add(t.group)})),this._background&&this.group.addToBack(this._background.group),this.invalidateLayout())}},e.prototype.createChild=function(t){var e=new t;return e.parent=this,e},e.prototype.removeChildren=function(){while(this.children.length>0){var t=this.children.getIndex(0);t.parent=void 0,this.children.removeValue(t)}},e.prototype.disposeChildren=function(){while(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 u.A},e.prototype.processBackground=function(){var t=this._background;t&&(t.isMeasured=!1,this._background.fill=(new d.h).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;c.i.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.S6(this._childrenByLayout,(function(r){var s,o;if(m.hj(r.relativeWidth)?(s=y.NM(t._availableWidth*r.relativeWidth,2),"horizontal"==t.layout&&(s-=r.pixelMarginRight+r.pixelMarginLeft)):"horizontal"==t.layout&&r.invalid&&r.validate(),m.hj(r.relativeHeight)?(o=y.NM(t._availableHeight*r.relativeHeight,2),"vertical"==t.layout&&(o-=r.pixelMarginTop+r.pixelMarginBottom)):"vertical"==t.layout&&r.invalid&&r.validate(),0==r.invali
1d){if(m.hj(r.relativeWidth)&&(r.maxWidth=s),m.hj(r.relativeHeight)&&(r.maxHeight=o),r.isMeasured){"horizontal"==t.layout&&(m.hj(r.percentWidth)||r.measuredWidth>0&&(t._availableWidth-=r.measuredWidth+r.pixelMarginLeft+r.pixelMarginRight)),"vertical"==t.layout&&(m.hj(r.percentHeight)||r.measuredHeight>0&&(t._availableHeight-=r.measuredHeight+r.pixelMarginTop+r.pixelMarginBottom));var a=r.measuredWidth,h=r.measuredHeight;"none"!=r.align&&(a+=r.pixelMarginLeft+r.pixelMarginRight),"none"!=r.valign&&(h+=r.pixelMarginTop+r.pixelMarginBottom),e=Math.max(e,a),i=Math.max(i,h)}}else r.isMeasured&&(m.hj(r.relativeWidth)&&r.maxWidth!=s&&(r.maxWidth=s,n=!1),m.hj(r.relativeHeight)&&r.maxHeight!=o&&(r.maxHeight=o,n=!1))}))),this._absoluteWidth=e,this._absoluteHeight=i,n&&this.arrange()},e.prototype.arrange=function(){var t,e,i,n,r,s,o,a,h,l,u,c=this,d=this.children,v=0,b=0,_=y.Fp(this.innerWidth,this._absoluteWidth),x=y.Fp(this.innerHeight,this._absoluteHeight),P=this.pixelPaddingLeft,w=this.pixelPaddingRight,O=this.pixelPaddingTop,S=this.pixelPaddingBottom,C=0,k=0,T=0,j=0,D=[],I=[],M=this.maxWidth,V=this.maxHeight,F=this.minWidth,E=this.minHeight,L=g.JG(d.values);if(this.reverseOrder&&L.reverse(),"grid"==this.layout){s=M,r=1;for(var A=0,R=L.length;A<R;A++){var B=L[A];if(B.isMeasured&&!B.disabled&&!B.__disabled){var H=B.measuredWidth;H<s&&(s=H),H>r&&(r=H)}}s=y.C7(s,1,M),r=y.C7(r,1,M),o=this.fixedWidthGrid?M/r:M/s,o=y.Fp(1,Math.floor(o)),o=y.VV(this.maxColumns,o),D=this.getColumnWidth(L,o,r)}for(A=0,R=L.length;A<R;A++){B=L[A];if(!B.isMeasured||B.disabled||B.__disabled)B.validatePosition();else{var U=void 0,N=void 0,W=B.pixelMarginLeft,z=B.pixelMarginRight,G=B.pixelMarginTop,Z=B.pixelMarginBottom,X=B.measuredWidth,K=B.measuredHeight,Y=void 0,$=void 0,q=void 0,J=void 0;switch(this.layout){case"none":break;case"absolute":switch(B.align){case"left":U=W-B.maxLeft;break;case"center":U=(_-X)/2-B.maxLeft;break;case"right":U=_-z-B.maxRight;break;default:B.x instanceof p.gG||(U=B.pixelX);break}switch(B.valign){case"top":N=G-B.maxTop;break;case"middle":N=(x-K)/2-B.maxTop;break;case"bottom":N=x-Z-B.maxBottom;break;default:B.y instanceof p.gG||(N=B.pixelY);break}break;case"vertical":switch(B.align){case"left":U=W-B.maxLeft;break;case"center":U=(_-X)/2-B.maxLeft;break;case"right":U=_-z-B.maxRight;break;default:U=B.pixelX;break}N=k+G-B.maxTop,k=N+B.maxBottom+Z;break;case"horizontal":switch(B.valign){case"top":N=G-B.maxTop;break;case"middle":N=(x-K)/2-B.maxTop;break;case"bottom":N=x-Z-B.maxBottom;break;default:N=B.pixelY;break}U=C+W-B.maxLeft,C=U+B.maxRight+z;break;case"grid":switch(U=C+W-B.maxLeft,B.valign){case"top":N=k+G-B.maxTop;break;case"middle":N=k+(x-K)/2-B.maxTop;break;case"bottom":N=k+x-Z-B.maxBottom;break;default:N=k-B.maxTop;break}C+=D[j],I[T]=y.Fp(I[T],K),j++;var Q=D[j];if(m.hj(Q)||(Q=r),C>y.VV(this.innerWidth,M)-Q+1&&j<o){o=j,C=0,k=0,T=0,j=0,D=this.getColumnWidth(L,o,r),I=[],A=-1;continue}j>=o&&(j=0,k+=I[T],T++,C=0);break}"none"!==this.layout&&(B.moveTo({x:U,y:N}),Y=U+B.maxLeft-W,$=U+B.maxRight+z,q=N+B.maxTop-G,J=N+B.maxBottom+Z,($>e||!m.hj(e))&&(e=$),(Y<t||!m.hj(t))&&(t=Y),(q<i||!m.hj(i))&&(i=q),(J>n||!m.hj(n))&&(n=J),($>h||!m.hj(h))&&(h=$),(Y<a||!m.hj(a))&&(a=Y),(q<l||!m.hj(l))&&(l=q),J>u||m.hj(u))}}if("none"==this.layout){var tt=this.bbox;t=tt.x,e=tt.x+tt.width,i=tt.y,n=tt.y+tt.height}m.hj(t)||(t=0,a=0),m.hj(e)||(e=this._availableWidth,h=e),m.hj(i)||(i=0,l=0),m.hj(n)||(n=this._availableHeight,u=n),m.hj(l)||(l=0),m.hj(u)||(u=l),m.hj(a)||(a=0),m.hj(h)||(h=a),v=e-t,b=n-i,m.hj(this.relativeWidth)&&(v=M-P-w,t=0,e=v),m.hj(this.relativeHeight)&&(b=V-O-S,i=0,n=b),m.hj(this._pixelWidth)&&(t=0,v=this._pixelWidth-P-w),m.hj(F)&&v<F&&(t=0,v=this.minWidth-P-w),m.hj(this._pixelHeight)&&(i=0,b=this._pixelHeight-O-S),m.hj(E)&&b<E&&(i=0,b=E-O-S);var et=h-a,it=u-l;if("none"!=this.layout&&(this.contentAlign||this.contentValign)&&d.length>0){var nt,rt,st=v,ot=b;st<et&&(st=et),ot<it&&(ot=it),"center"==this.contentAlign&&(nt=(st-et)/2),"right"==this.contentAlign&&(nt=st-et),"middle"==this.contentValign&&(rt=(ot-it)/2),"bottom"==this.contentValign&&(rt=ot-it),m.hj(nt)&&f.S6(d.iterator(),(function(t){var e=t.maxLeft,i=nt;"horizontal"==c.layout&&(t.x=t.pixelX+i),"grid"==c.layout&&(t.x=t.pixelX+i),"vertical"==c.layout&&(i+=t.pixelMarginLeft,"none"==t.align&&(t.x=i-e)),"absolute"==c.layout&&(i+=t.pixelMarginLeft,"none"==t.align&&(t.x=i-e))})),m.hj(rt)&&f.S6(d.iterator(),(function(t){var e=t.maxTop,i=rt;"horizontal"==c.layout&&(i+=t.pixelMarginTop,"none"==t.valign&&(t.y=i-e)),"grid"==c.layout&&(i+=t.pixelMarginTop,t.y=i-e),"vertical"==c.layout&&(t.y=t.pixelY+i),"absolute"==c.layout&&(i+=t.pixelMarginTop,"none"==t.valign&&(t.y=i-e))}))}var at=this.bbox;v=y.Fp(v,F),b=y.Fp(b,E),this.contentWidth=v,this.contentHeight=b,v=y.VV(v,M),b=y.VV(b,V),this._bbox={x:t,y:i,width:v,height:b};var ht=this.maxLeft,lt=this.maxTop,ut=this.maxBottom,pt=this.maxRight;if(this.measure(),(ht!=this.maxLeft||pt!=this.maxRight||lt!=this.maxTop||ut!=this.maxBottom)&&this.events.isEnabled("transformed")){var ct={type:"transformed",target:this};at&&(ct.dummyData=at.width+" "+v+"  "+at.height+" "+b),this.events.dispatchImmediately("transformed",ct)}this.dispatchImmediately("layoutvalidated")},e.prototype.updateCenter=function(){t.prototype.updateCenter.call(this),this.updateBackgroun
1d()},e.prototype.updateBackground=function(){var t=this._background;t&&(t.x=this.maxLeft,t.y=this.maxTop,t.width=this.maxRight-this.maxLeft,t.height=this.maxBottom-this.maxTop)},e.prototype.getColumnWidth=function(t,e,i){var n=this,r=[],s=0;return g.S6(t,(function(t){!t.isMeasured||t.disabled||t.__disabled||(n.fixedWidthGrid?r[s]=i:r[s]=y.Fp(r[s],t.measuredWidth+t.pixelMarginRight+t.pixelMarginLeft),s++,s==e&&(s=0))})),r},Object.defineProperty(e.prototype,"layout",{get:function(){return this.getPropertyValue("layout")},set:function(t){this.setPropertyValue("layout",t)&&this.invalidateLayout()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentValign",{get:function(){return this.getPropertyValue("contentValign")},set:function(t){this.setPropertyValue("contentValign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentAlign",{get:function(){return this.getPropertyValue("contentAlign")},set:function(t){this.setPropertyValue("contentAlign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedWidthGrid",{get:function(){return this.getPropertyValue("fixedWidthGrid")},set:function(t){this.setPropertyValue("fixedWidthGrid",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxColumns",{get:function(){return this.getPropertyValue("maxColumns")},set:function(t){this.setPropertyValue("maxColumns",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reverseOrder",{get:function(){return this.getPropertyValue("reverseOrder")},set:function(t){this.setPropertyValue("reverseOrder",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"setStateOnChildren",{get:function(){return this.getPropertyValue("setStateOnChildren")},set:function(t){this.setPropertyValue("setStateOnChildren",t,!0)},enumerable:!0,configurable:!0}),e.prototype.fitsToBounds=function(t){var e=t.x,i=t.y,n=.5;return e>=-n&&e<=this.pixelWidth+n&&i>=-n&&i<=this.pixelHeight+n},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.S6(e.children.iterator(),(function(t){if(t.shouldClone){var e=t.clone();e.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),c.i.removeFromInvalidLayouts(this)},e.prototype.setDataItem=function(e){this._dataItem!=e&&(f.S6(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.events.once("validated",t.handleValidate,t,!1)):t instanceof e&&t.invalidateLabels()}))},Object.defineProperty(e.prototype,"fontWeight",{get:function(){return this.getPropertyValue("fontWeight")}
1,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 s.q&&(r=e.name),this.setStateOnChildren&&f.S6(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.S6(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.vn(this.children.iterator(),(function(t){return!!(t.__disabled||t.disabled||t.isReady())||(i=!1,!1)})),g.vn(this._shouldBeReady,(function(t){return!!(t.__disabled||t.disabled||t.isReady())||(i=!1,!1)})),i?t.prototype.dispatchReady.call(this):c.i.events.once("exitframe",(function(){e.dispatchReady(),b.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 a.FV([e.events.on("hit",e.handleTapToActivate,e,!1),e.events.on("down",e.initTapTimeout,e,!1),e.events.on("track",e.initTapTimeout,e,!1),(0,l.S)().body.events.on("down",(function(t){(0,l.S)().isLocalElement(t.pointer,e.paper.svg,e.uid)||e.handleTapToActivateDeactivation()}),e,!1)])})),(0,l.S)()},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.moveHtmlContainer=function(t){var e=v.sb(t);if(e){this.htmlContainer=e;var i=this.svgContainer;i.htmlElement=e,i.htmlElement.appendChild(i.SVGContainer),i.initSensor(),i.measure()}else m.HD(t)&&""!=t&&b.B.log("html container '"+t+"' not found")},e.prototype.hasLicense=function(){if(_.Y.commercialLicense)return!0;for(var t=0;t<_.Y.licenses.length;t++)if(_.Y.licenses[t].match(/^CH.{5,}/i))return!0;return!1},e}(r.jy);c.i.registeredClasses["Container"]=x},30964:function(t,e,i){i.d(e,{z:function(){return u}});i(70560);var n=i(60199),r=i(56399),s=i(98306),o=i(80677),a=i(81245),h=i(91564),l=i(52248),u=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(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"adapter",{get:function(){return this._adapterO||(this._adapterO=new s.L1(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 o.w3(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,h.S6(this.sprites,(function(e){e.__disabled=t}))},enumerable:!0,configurable:!0}),e.prototype.setVisibility=function(t,e){if(h.S6(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)}}
1,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&&h.S6(i,(function(i){n=r.setWorkingValue(i,r.values[i].value,t,e)})),h.S6(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),h.S6(this.sprites,(function(t){t.dispose()})),this.sprites=[]},e.prototype.hide=function(t,e,i,n){var r=this;if(this.isHiding=!0,h.S6(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.hj(i)&&n){var s;if(h.S6(n,(function(n){var o=r.setWorkingValue(n,i,t,e);o&&(s=o)})),s&&!s.isFinished())return this._hideDisposer=s.events.on("animationended",(function(){r.setVisibility(!1,!0),r.isHiding=!1})),this._disposers.push(this._hideDisposer),s;this.isHiding=!1,this.setVisibility(!1,!0)}else this.isHiding=!1,this.setVisibility(!1)},e.prototype.getDuration=function(t){if(!l.hj(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||(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,s=this.getDuration(i);if(e=l.He(e),r!==e){if(this.values[t].value=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("valuechanged")){var o={type:"valuechanged",target:this,property:t};this.events.dispatchImmediately("valuechanged",o)}this.component&&this.component.handleDataItemValueChange(this,t)}this.setWorkingValue(t,e,s,n)},e.prototype.setCalculatedValue=function(t,e,i){var n=this.values[t][i];if(n!==e&&l.hj(e)){if(this.values[t][i]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("calculatedvaluechanged")){var r={type:"calculatedvaluechanged",target:this,property:t};this.events.dispatchImmediately("calculatedvaluechanged",r)}this.component&&this.component.handleDataItemCalculatedValueChange(this,t)}},e.prototype.setWorkingValue=function(t,e,i,n){if(l.hj(this.values[t].value)){var r=this.getDuration(i),s=this.values[t].workingValue;if(null!=r&&r>0&&l.hj(s)&&this.component){if(s!=e){var o=this.animate({childObject:this.values[t],property:"workingValue",from:s,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&o.delay(n),o.events.on("animationstarted",this.handleInterpolationProgress,this),o.events.on("animationprogress",this.handleInterpolationProgress,this),o.events.on("animationended",this.handleInterpolationProgress,this),this._valueAnimations[t]=o,o}var a=this._valueAnimations[t];a&&a.stop(),this.values[t].workingValue=e}else{a=this._valueAnimations[t];if(a&&a.stop(),this.values[t].workingValue=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var h={type:"workingvaluechanged",target:this,property:t};this.events.dispatchImmediately("workingvaluechanged",h)}this.component&&this.component.handleDataItemWorkingValueChange(this,t)}}},e.prototype.setLocation=function(t,e,i,n){var r=this.locations[t];if(r!==e){if(this.locations[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("locationchanged")){var s={type:"locationchanged",target:this,property:t};this.events.dispatchImmediately("locationchanged",s)}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),s=this.workingLocations[t];if(null!=r&&r>0&&l.hj(s)&&this.component){if(s!=e){var o=this.animate({childObject:this.workingLocations,property:t,from:s,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&o.delay(n),o.events.on("animationstarted",this.handleInterpolationProgress,this),o.events.on("animationprogress",this.handleInterpolationProgress,this),o.events.on("animationended",this.handleInterpolationProgress,this),this._locationAnimations[t]=o,o}var a=this._locationAnimations[t];a&&a.stop(),this.workingLocations[t]=e}else{a=this._locationAnimations[t];if(a&&a.stop(),this.workingLocations[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workinglocationchanged")){var h={type:"workinglocationchanged",target:this,property:t};this.events.dispatchImmediately("workinglocationchanged",h)}this.component&&this.component.handleDataItemWorkingLocationChange(this,t)}}
1,e.prototype.setDate=function(t,e,i){!l.J_(e)&&this.component&&(e=this.component.dateFormatter.parse(e));var n=this.dates[t];n!==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.HD(e)||(e=l.PN(e)),this.categories[t]!==e&&(this.categories[t]=e)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.dataContext&&(this.dataContext=a.JG(e.dataContext,{})),a.BS(e.locations,this.locations),e._adapterO&&this.adapter.copyFrom(e._adapterO),this.component=e.component},Object.defineProperty(e.prototype,"opacity",{set:function(t){h.S6(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 o.fw(this,t,e,i).start()},e.prototype.handleInterpolationProgress=function(t){var e=t.target,i=e.animationOptions[0];if(i){if(this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var n={type:"workingvaluechanged",target:this,property:i.dummyData};this.events.dispatchImmediately("workingvaluechanged",n)}this.component&&this.component.handleDataItemWorkingValueChange(this,i.dummyData)}},e.prototype.hasValue=function(t){for(var e=0,i=t.length;e<i;e++){var n=this.values[t[e]];if(!n||!l.Uh(n.value))return!1}return!0},Object.defineProperty(e.prototype,"depth",{get:function(){return this.parent?this.parent.depth+1:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dataContext",{get:function(){return this._dataContext},set:function(t){this._dataContext=t},enumerable:!0,configurable:!0}),e.prototype.addSprite=function(t){t.dataItem&&t.dataItem!=this&&h.Od(t.dataItem.sprites,t),this.visible||t.hide(0),this.isHiding&&t.hide(),this.sprites.push(t),t.dataItem=this},e}(r.y)},95298:function(t,e,i){i.d(e,{Y:function(){return n}});var n={verbose:!0,commercialLicense:!1,classNamePrefix:"amcharts-",autoSetClassName:!1,minPolylineStep:.5,onlyShowOnViewport:!1,queue:!1,autoDispose:!1,licenses:[],suppressErrors:!1,suppressWarnings:!1,animationsEnabled:!0,nonce:"",deferredDelay:100,disableHoverOnTransform:"never",pixelPerfectPrecision:0}},69580:function(t,e,i){i.d(e,{i:function(){return u},is:function(){return p}});var n=i(65250),r=i(64142),s=i(86604),o=i(52248),a=i(59866),h=i(91564),l=function(){function t(){var t=this;this.events=new n.p,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.deferred=[],this.uid=this.getUniqueId(),this.invalidSprites.noBase=[],this.invalidDatas.noBase=[],this.invalidLayouts.noBase=[],this.invalidPositions.noBase=[],"undefined"!==typeof addEventListener&&(addEventListener("beforeprint",(function(){h.S6(t.baseSprites,(function(t){var e=t.paper.svg;e.setAttribute("viewBox","0 0 "+e.clientWidth+" "+e.clientHeight)}))})),addEventListener("afterprint",(function(){h.S6(t.baseSprites,(function(t){var e=t.paper.svg;e.removeAttribute("viewBox")}))})))}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.Xy),this._map},enumerable:!0,configurable:!0}
1),t.prototype.setCache=function(t,e,i){s.F.set(this.uid,t,e,i)},t.prototype.getCache=function(t,e){return void 0===e&&(e=void 0),s.F.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 o.Uh(this._placeholders[t])||(this._placeholders[t]="__amcharts_"+t+"_"+a.MX(8)+"__"),this._placeholders[t]},t.prototype.addToInvalidComponents=function(t){t.baseId?h.pB(this.invalidDatas[t.baseId],t):h.pB(this.invalidDatas["noBase"],t)},t.prototype.removeFromInvalidComponents=function(t){t.baseId&&h.Od(this.invalidDatas[t.baseId],t),h.Od(this.invalidDatas["noBase"],t)},t.prototype.addToInvalidSprites=function(t){t.baseId?h.IH(this.invalidSprites[t.baseId],t):h.IH(this.invalidSprites["noBase"],t)},t.prototype.removeFromInvalidSprites=function(t){t.baseId&&h.Od(this.invalidSprites[t.baseId],t),h.Od(this.invalidSprites["noBase"],t)},t.prototype.addToInvalidPositions=function(t){t.baseId?h.IH(this.invalidPositions[t.baseId],t):h.IH(this.invalidPositions["noBase"],t)},t.prototype.removeFromInvalidPositions=function(t){t.baseId&&h.Od(this.invalidPositions[t.baseId],t),h.Od(this.invalidPositions["noBase"],t)},t.prototype.addToInvalidLayouts=function(t){t.baseId?h.IH(this.invalidLayouts[t.baseId],t):h.IH(this.invalidLayouts["noBase"],t)},t.prototype.removeFromInvalidLayouts=function(t){t.baseId&&h.Od(this.invalidLayouts[t.baseId],t),h.Od(this.invalidLayouts["noBase"],t)},t}(),u=new l;function p(t,e){var i=u.registeredClasses[e];return null!=i&&t instanceof i}},79285:function(t,e,i){i.d(e,{hh:function(){return A},jy:function(){return R}});i(70560);var n=i(60199),r=i(5096),s=i(9248),o=i(56399),a=i(98306),h=i(64142),l=i(4781),u=i(73818),p=i(80677),c=i(97625),d=i(25980),f=i(94941),g=i(71311),y=i(96741),m=i(71015),v=i(15993),b=i(87614),_=i(95298),x=i(69580),P=i(42467),w=i(86237),O=i(9888),S=i(43419),C=i(51763),k=i(52804),T=i(81245),j=i(28502),D=i(94339),I=i(91564),M=i(52639),V=i(52248),F=i(78398),E=i(80149),L=i(10431),A=["fill","fillOpacity","stroke","strokeOpacity","strokeWidth","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin"],R=function(t){function e(){var e=t.call(this)||this;return e.properties={},e._eventDispatcher=new s.g(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 u.cx,e._positionPrecision=3,e._language=new u.cx,e._exporting=new u.cx,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.cloneTooltip=!0,e.className="Sprite",e._disposers.push(e._eventDispatcher),T.A5(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",(0,L.aQ)(50)),e.setPropertyValue("tooltipX",(0,L.aQ)(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.invali
1date(),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 u.ku((function(){M.S6(e._bindings,(function(t,e){e.dispose()}))}))),e.setPropertyValue("interactionsEnabled",!0),e}return(0,n.ZT)(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 a.L1(this)),this._adapterO},enumerable:!0,configurable:!0}),e.prototype.applyTheme=function(){t.prototype.applyTheme.call(this),_.Y.autoSetClassName&&this.setClassName()},e.prototype.getCurrentThemes=function(){var t=this._themes;if(t)return t;var e=this._parent;return e?e.getCurrentThemes():x.i.themes},e.prototype.applyInternalDefaults=function(){this._internalDefaultsApplied=!0},e.prototype.invalidate=function(){this.disabled||this._isTemplate||this.__disabled||this.invalid||(this.invalid=!0,x.i.addToInvalidSprites(this),E.B.requestFrame())},e.prototype.validate=function(){this.dispatchImmediately("beforevalidated"),this._internalDefaultsApplied||this.applyInternalDefaults(),this.beforeDraw(),this.draw(),this.invalid=!1,x.i.removeFromInvalidSprites(this),this.afterDraw()},e.prototype.invalidatePosition=function(){this.disabled||this._isTemplate||this.positionInvalid||(this.positionInvalid=!0,x.i.addToInvalidPositions(this),E.B.requestFrame())},e.prototype.validatePosition=function(){var t=this.pixelX,e=this.pixelY,i=this.dx,n=this.dy,r=t+i,s=e+n;this._updateDisabled&&(this._internalDisabled?this.group.attr({display:"none"}):this.disabled||this.removeSVGAttribute("display"),this._updateDisabled=!1);var o=this.measure(),a=this.group.transformString;this.group.moveTo({x:r,y:s}),this.group.rotation=this.rotation,this.nonScaling?this.group.scale=this.scale/this.globalScale:this.group.scale=this.scale,(a!=this.group.transformString||o)&&(null==a?this.dispatch("transformed"):this.dispatchImmediately("transformed"),this.dispatch("positionchanged"),"hit"!=this.showTooltipOn&&"always"!=this.showTooltipOn||this.updateTooltipPosition()),t+i==r&&e+n==s&&(x.i.removeFromInvalidPositions(this),this.positionInvalid=!1);var h=this._maskRectangle;h&&this._clipElement.moveTo({x:h.x-t,y:h.y-e})},e.prototype.beforeDraw=function(){},e.prototype.draw=function(){},e.prototype.afterDraw=function(){var t,e;if((this.isMeasured||"none"!==this.horizontalCenter||"none"!==this.verticalCenter)&&this.measureElement(),this._inited)this.dispatch("validated");else{if(this._adapterO)try{for(var i=(0,n.XA)(this._adapterO.keys()),r=i.next();!r.done;r=i.next()){var s=r.value;switch(s){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[s]=this[s];break}}}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.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()}"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;F.S6(this.filters.iterator(),(function(e){e.scale=t.globalScale}))},e.prototype.removeFromInvalids=function(){x.i.removeFromInvalidSprites(this),x.i.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.exp
1ortable,e._tooltip&&(this._tooltip?this._tooltip.copyFrom(e.tooltip):e.cloneTooltip?this.tooltip=e.tooltip.clone():this._tooltip=e.tooltip),this._showSystemTooltip=e.showSystemTooltip,T.BS(e.propertyFields,this.propertyFields),T.BS(e.properties,this),e.fillModifier&&(this.fillModifier=e.fillModifier.clone()),e.strokeModifier&&(this.strokeModifier=e.strokeModifier.clone()),e.focusFilter&&(this.focusFilter=e.focusFilter.clone())},e.prototype.dispose=function(){if(!this.isDisposed()){if("always"==this.showTooltipOn&&this.tooltip&&this.tooltip.hide(),this.dispatchImmediately("beforedisposed"),this.isBaseSprite){if(this.htmlContainer)while(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--){var i=this._clones.getIndex(e);i.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 n=this.stroke;!n||n instanceof m.Il||!n.dispose||this.clonedFrom&&this.clonedFrom.stroke==n||n.dispose();var r=this.fill;if(!r||r instanceof m.Il||!r.dispose||this.clonedFrom&&this.clonedFrom.fill==r||r.dispose(),V.Uh(this.id)&&this.map.removeKey(this.id),this.parent=void 0,this._filters)while(this._filters.length>0){var s=this._filters.getIndex(0);s.dispose(),this._filters.removeValue(s)}this._alwaysShowDisposers=void 0}},Object.defineProperty(e.prototype,"isTemplate",{get:function(){return this._isTemplate},set:function(t){t=V.sw(t),this._isTemplate!=t&&(this._isTemplate=t,this instanceof d.W&&F.S6(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 V.Uh(this._showSystemTooltip)?this._showSystemTooltip:this.virtualParent?this.virtualParent.showSystemTooltip:!!this._parent&&this._parent.showSystemTooltip},set:function(t){t=V.sw(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){T.A5(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.dataItem&&this.applyAccessibility(),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&&I.S6(e,(function(t){t.dispose()})),this._alwaysShowDisposers=[],"always"==this.showTooltipOn)while(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,this.dataItem&&this.applyAccessibility()},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 m.Il){var i=this.fillModifier.modify(this.fill);i&&i.element&&this.paper.appendDef(i.element)}if(this.strokeModifier&&this.stroke instanceof m.Il){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 h.Xy),this._map)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"delayedMap",{get:function(){var t=this.topParent;return t?t.delayedMap:(this._delayedMap||(this._delayedMap=new h.Xy),this._delayedMap)},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),_.Y.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(){if(this._paper)return this._paper;var t=this._parent;return t?t.paper:(0,c.V)()},set:function(t){this.setPaper(t)},enumerable:!0,configurable:!0}),e.prototype.setPaper=function(t){var e=this._paper;return e!=t&&(this._paper=t,this.appendDefs(),!0)},Object.defineProperty(e.prototype,"htmlContainer",{get:function(){if(this._htmlContainer)return this._htmlContainer;var t=this._parent;return t?t.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.aV,this._disposers.push(this._filters.events.onAll(this.applyFilters,this)),this._disposers.push(new l.zQ(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=_.Y.classNamePrefix;this.element&&this.element.addClass(e+t),this.group.addClass(e+t+"-group"),V.Uh(this.id)&&this.group.addClass(e+this.id
1),this.userClassName&&this.group.addClass(this.userClassName)},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=x.i.getUniqueId();this._clipPath.attr({id:t}),this.group.attr({"clip-path":'url("'+T.Lw()+t+'")'})}},e.prototype.applyMask=function(){var t=this.mask;if(this._clipPath&&t)if(t instanceof d.W){this._clipElement.attr({width:j.Fp(0,t.pixelWidth),height:j.Fp(0,t.pixelHeight)});var e=T.Ou({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}),F.S6(this.filters.iterator(),(function(n){n.sprite=t,n.paper=t.paper,t.filterElement.attr({filterUnits:n.filterUnits}),n.appendPrimitives(t.filterElement),n.width>e&&(e=n.width),n.height>i&&(i=n.height),n.scale=t.globalScale}));var r=e+"%",s=i+"%";this.filterElement.attr({width:r,height:s,x:-(e-100)/2+"%",y:-(i-100)/2+"%"}),this.group.attr({filter:'url("'+T.Lw()+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(),_.Y.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,s=e.y,o=e.width,a=e.height,h=this.pixelPaddingLeft,l=this.pixelPaddingRight,u=this.pixelPaddingTop,p=this.pixelPaddingBottom,c=j.Fp(o+h+l,this.pixelWidth),d=j.Fp(a+u+p,this.pixelHeight),f=e.x,g=e.x+c,y=e.y,m=e.y+d,v=this.horizontalCenter,b=this.verticalCenter;switch(v){case"none":i=r+h;break;case"left":i=h;break;case"middle":i=h-(o+l+h)/2;break;case"right":i=-l-o;break}switch(b){case"none":n=s+u;break;case"top":n=u;break;case"middle":n=u-(a+p+u)/2;break;case"bottom":n=-p-a;break}this._measuredHeight=d,this._measuredWidth=c;var x=j.NM(i-r,this._positionPrecision,!0),P=j.NM(n-s,this._positionPrecision,!0);this.ex=x-h,this.ey=P-u,this.maxLeft=f+x-h,this.maxRight=g+x-h,this.maxTop=y+P-u,this.maxBottom=m+P-u,this.pixelPerfect&&0==_.Y.pixelPerfectPrecision&&(x-=.5,P-=.5),this.element.moveTo({x:x,y:P}),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,s=this.maxBottom;this._measuredWidthSelf=t,this._measuredHeightSelf=e;var o=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.nonScaling){this.nonScalingStroke&&(this.strokeWidth=this.strokeWidth);var a=this.paper.svg,h=a.createSVGMatrix(),l=this.rotation,u=this.scale;this.nonScaling&&(u=this.scale/this.globalScale),h.a=j.mC(l)*u,h.c=-j.O$(l)*u,h.e=0,h.b=j.O$(l)*u,h.d=j.mC(l)*u,h.f=0;var p=a.createSVGPoint();p.x=i,p.y=r;var c=a.createSVGPoint();c.x=n,c.y=r;var d=a.createSVGPoint();d.x=n,d.y=s;var f=a.createSVGPoint();f.x=i,f.y=s;var g=p.matrixTransform(h),y=c.matrixTransform(h),m=d.matrixTransform(h),v=f.matrixTransform(h);i=Math.min(g.x,y.x,m.x,v.x),n=Math.max(g.x,y.x,m.x,v.x),r=Math.min(g.y,y.y,m.y,v.y),s=Math.max(g.y,y.y,m.y,v.y),t=n-i,e=s-r,this.maxLeft=j.NM(i,o,!0),this.maxRight=j.NM(n,o,!0),this.maxTop=j.NM(r,o,!0),this.maxBottom=j.NM(s,o,!0)}return this._measuredWidth=j.NM(t,o,!0),this._measuredHeight=j.NM(e,o,!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&&(V.Uh(this.tooltipText)||V.Uh(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 L.gG?t.value:this._parent?t/this._parent.innerWidth:0},e.prototype.getRelativeY=function(t){return t instanceof L.gG?t.value:this._parent?t/this._parent.innerHe
1ight:0},e.prototype.getPixelX=function(t){var e=0;if(V.hj(t))e=t;else if(t instanceof L.gG){var i=t.value;this._parent&&(e=j.NM(this._parent.innerWidth*i,this._positionPrecision,!0))}return e},e.prototype.getPixelY=function(t){var e=0;if(V.hj(t))e=t;else if(t instanceof L.gG){var i=t.value;this._parent&&(e=j.NM(this._parent.innerHeight*i,this._positionPrecision,!0))}return e},e.prototype.moveTo=function(t,e,i,n){this.isDragged&&!n||(t&&(V.hj(t.x)&&this.setPropertyValue("x",j.NM(t.x,this._positionPrecision,!0)),V.hj(t.y)&&this.setPropertyValue("y",j.NM(t.y,this._positionPrecision,!0))),V.hj(e)&&(this.rotation=e),V.hj(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.W?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 u.FV([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=V.sw(t),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+this.maxLeft,i=this.pixelY+this.maxTop,n=e+this.maxRight,r=i+this.maxBottom,s=t.pixelX+t.maxLeft,o=t.pixelY+t.maxTop,a=s+t.maxRight,h=o+t.maxBottom;return!(s>n||a<e||o>r||h<i)},Object.defineProperty(e.prototype,"inited",{get:function(){return this._inited},enumerable:!0,configurable:!0}),e.prototype.isReady=function(){return this._ready},Object.defineProperty(e.prototype,"states",{get:function(){if(!this._states){var t=new r.q;this._states=new h.NE(t),this._disposers.push(this._states.events.on("insertKey",this.processState,this,!1)),this._disposers.push(this._states.events.on("setKey",this.processState,this,!1)),this._disposers.push(new h.a7(this._states)),this._disposers.push(t)}return this._states},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenState",{get:function(){if(!this.states.getKey("hidden")){var t=this.states.create("hidden");t.properties.opacity=0,t.properties.visible=!1}return this.states.getKey("hidden")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultState",{get:function(){if(!this.states.getKey("default")){var t=this.states.create("default");t.properties.opacity=1}return this.states.getKey("default")},enumerable:!0,configurable:!0}),e.prototype.processState=function(t){var e=t.newValue;if(e.sprite=this,e.name=t.key,(this.states.hasKey("hover")||"hover"==this.showTooltipOn&&(V.Uh(this.tooltipHTML)||V.Uh(this.tooltipText)))&&(this.hoverable=!0),(this.states.hasKey("down")||"hover"==this.showTooltipOn&&(V.Uh(this.tooltipHTML)||V.Uh(this.tooltipText)))&&(this.clickable=!0),this.states.hasKey("focus")&&(this.focusable=!0),this.applyOnClones)for(var i=this.clones.values,n=i.length,r=0;r<n;++r){var s=i[r];s.isDisposed()||s.states.setKey(e.name,e)}},Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new p.w3(this._animations))),this._animations},enumerable:!0,configurable:!0}),e.prototype.getSvgPoint=function(t){try{var e=this.htmlContainer.getBoundingClientRect();return{x:t.x-e.left,y:t.y-e.top}}catch(i){return t}}
1,e.prototype.animate=function(t,e,i){return new p.fw(this,t,e,i).start()},e.prototype.setState=function(t,e,i){var n;if(t instanceof r.q)this.states.setKey(t.name,t),n=t;else if(n=this.states.getKey(t),!n)return;if("hover"==n.name){if(this.isHidden)return;this.isHover=!0}return"hidden"==n.name?this.isHiding=!0:this.visible||this.setVisibility(n.properties.visible||this.defaultState.properties.visible),"active"==n.name&&(this.isActive=!0),V.hj(e)||(e=n.transitionDuration),V.Uh(i)||(i=n.transitionEasing),this.transitTo(n,e,i)},e.prototype.applyCurrentState=function(t){var e=this.setState(this.defaultState,t);return this.isHover&&(e=this.setState("hover",t)),this.isDown&&this.interactions.downPointers.length&&(e=this.setState("down",t)),this.isFocused=this.isFocused,this.isActive&&(e=this.setState("active",t),this.isHover&&this.states.hasKey("hoverActive")&&(e=this.setState("hoverActive",t))),e},e.prototype.transitTo=function(t,e,i){var n,r=this,s=[],o=t.allValues;if(M.S6(o,(function(t,e){var i=r[t];if(e!=i&&void 0==r.defaultState.properties[t]&&(r.defaultState.properties[t]=i),"__unset"!=e){var n={from:i,to:e,property:t};s.push(n)}})),s.length>0&&(n=this.animate(s,e,i),n&&!n.isFinished()?this._disposers.push(n.events.on("animationended",(function(){r.dispatchImmediately("transitionended")}))):this.dispatchImmediately("transitionended")),t.filters.length>0){var a=[];F.S6(t.filters.iterator(),(function(t){var n=t.clone();a.push(n);var s=[];F.S6(r.filters.iterator(),(function(t){t.className==n.className&&(F.r3(r.defaultState.filters.iterator(),(function(t){return t.className===n.className}))||r.defaultState.filters.push(t),M.S6(n.properties,(function(e,i){var n=t.properties[e];n!=i&&s.push({property:e,from:n,to:i})})))})),n.animate(s,e,i)})),this.filters.clear(),this.filters.pushAll(a)}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=V.sw(t),t!==this.isHover&&this.isInteractive()&&(this.interactions.isHover=t,t?this.handleOver():(this.interactions.isRealHover=!1,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=V.sw(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=V.sw(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=V.sw(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 V.Uh(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){t=V.sw(t);var e=this.getPropertyValue("disabled");if(e!=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 i=this._parent.element;i.hasChild(this.group)||i.add(this.group)}this instanceof d.W?(this.deepInvalidate(),this._background&&this._background.invalidate()):this.invalidate(),this.__disabled||this.removeSVGAttribute("display"),this.dispatch("enabled")}return this.dispatch("transformed"),E.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(),t||this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFormatter",{get:function(){return this._numberFormatter?this._numberFormatter:this.virtualParent?this.virtualParent.
1numberFormatter:this._parent?this._parent.numberFormatter:(this._numberFormatter=new P.e,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.C,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.$,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 C.S,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.W&&e.deepInvalidate()})))},enumerable:!0,configurable:!0}),e.prototype.populateString=function(t,e){if(V.Uh(t)){t=V.PN(t),t=(0,S.k)().escape(t);var i=t.match(/\{([^}]+)\}/g),n=void 0;if(i)for(n=0;n<i.length;n++){var r=i[n].replace(/\{([^}]+)\}/,"$1"),s=this.getTagValue(r,"",e);V.Uh(s)||(s=""),t=t.split(i[n]).join(s)}t=(0,S.k)().unescape(t)}else t="";return this._adapterO?this._adapterO.apply("populateString",t):t},e.prototype.getTagValue=function(t,e,i){var n;V.Uh(i)||(i=this.dataItem);var r,s=[],o=/([^.]+)\(([^)]*)\)|([^.]+)/g;while(1){if(r=o.exec(t),null===r)break;
1if(r[3])s.push({prop:r[3]});else{var a=[];if(""!=T.fy(r[2])){var h=/'([^']*)'|"([^"]*)"|([0-9\-]+)/g,l=void 0;while(1){if(l=h.exec(r[2]),null===l)break;a.push(l[1]||l[2]||l[3])}}s.push({method:r[1],params:a})}}if(i){n=this.getTagValueFromObject(s,i.values),V.Uh(n)&&!V.Kn(n)||(n=this.getTagValueFromObject(s,i));var u=i.dataContext;!V.Uh(n)&&u&&(n=this.getTagValueFromObject(s,i.dataContext),V.Uh(n)||(n=this.getTagValueFromObject([{prop:t}],u)),!V.Uh(n)&&u.dataContext&&(n=this.getTagValueFromObject(s,u.dataContext))),!V.Uh(n)&&i.component&&i.component.dataItem!==i&&(n=i.component.getTagValue(t,e))}return V.Uh(n)||(n=this.getTagValueFromObject(s,this.populateStringFrom||this)),!V.Uh(n)&&this._parent&&(n=this._parent.getTagValue(t,e)),n},e.prototype.getTagValueFromObject=function(t,e,i){for(var n=e,r=!1,s=0,o=t.length;s<o;s++){var a=t[s];if(a.prop){if(n=n[a.prop],!V.Uh(n))return}else switch(a.method){case"formatNumber":var h=T.IX(n);V.Uh(h)&&(n=this.numberFormatter.format(h,i||a.params[0]||void 0),r=!0);break;case"formatDate":var l=void 0;if(l=V.HD(n)?this.dateFormatter.parse(n):T.yr(n),!V.J_(l)||V.i2(l.getTime()))return;V.Uh(l)&&(n=this.dateFormatter.format(l,i||a.params[0]||void 0),r=!0);break;case"formatDuration":var u=T.IX(n);V.Uh(u)&&(n=this.durationFormatter.format(u,i||a.params[0]||void 0,a.params[1]||void 0),r=!0);break;case"urlEncode":case"encodeURIComponent":n=encodeURIComponent(n);break;default:n[a.method]&&n[a.method].apply(this,a.params);break}}if(!r){var p=[{method:"",params:i}];if(V.Uh(i)){var c=T.y6(i);c===D.Wu?p[0].method="formatNumber":c===D.Hu?p[0].method="formatDate":c===D.th&&(p[0].method="formatDuration")}else V.hj(n)?(p[0].method="formatNumber",p[0].params=""):V.J_(n)&&(p[0].method="formatDate",p[0].params="");p[0].method&&(n=this.getTagValueFromObject(p,n))}return n},Object.defineProperty(e.prototype,"dataItem",{get:function(){if(!this._dataItem){if(this.virtualParent)return this.virtualParent.dataItem;if(this._parent)return this._parent.dataItem}return this._dataItem},set:function(t){this.setDataItem(t)},enumerable:!0,configurable:!0}),e.prototype.setDataItem=function(t){var e=this;if(this._dataItem!=t){if(this._dataItem=t,t){if(this.configField){var i=t.dataContext;i&&(this.config=i[this.configField],!this.config&&i.dataContext&&(this.config=i.dataContext[this.configField]))}var n=t.dataContext;if(n){var r=n.dataContext;M.S6(this.propertyFields,(function(t,i){if(V.Uh(n[i])){var s=e;s[t]=n[i]}else if(r){var o=r[i];if(V.Uh(o)){s=e;s[t]=o}}}))}}this.invalidate()}},e.prototype.getPropertyValue=function(t){var e=this.properties[t];return this._isTemplate||(this._adapterO&&(e=this._adapterO.apply(t,e)),e=a.FA.applyAll(this,t,e)),e},e.prototype.setColorProperty=function(t,e,i){var n=this.properties[t];return!(e instanceof m.Il&&n instanceof m.Il&&e.toString()==n.toString())&&this.setPropertyValue(t,e,i)},e.prototype.setPercentProperty=function(t,e,i,n,r,s){if(e=V.DW(e),V.hj(e))return V.hj(r)&&(e=j.NM(e,r,s)),this.setPropertyValue(t,e,i,n);var o=this.properties[t];
1return!(e instanceof L.gG&&o instanceof L.gG&&e.value==o.value)&&this.setPropertyValue(t,e,i,n)},e.prototype.setPropertyValue=function(t,e,i,n){if(this.properties[t]!==e&&!this.isDisposed()){if(this.properties[t]=e,this.events.isEnabled("propertychanged")){var r={type:"propertychanged",target:this,property:t};this.events.dispatchImmediately("propertychanged",r)}if(i&&this.invalidate(),n&&this.invalidatePosition(),this.applyOnClones)for(var s=this.clones.values,o=s.length,a=0;a<o;++a){var h=s[a];h.isDisposed()||(h[t]=e)}return!0}return!1},e.prototype.bind=function(t,e,i,n){var r=this;void 0===i&&(i=t),V.Uh(this._bindings[t])&&this._bindings[t].dispose(),this[t]=e[i],this._bindings[t]=e.events.on("propertychanged",(function(s){if(s.property===i){var o=e[i];n&&(o=n(o)),r[t]=o}}))},e.prototype.observe=function(t,e,i,n){var r=this;return new u.FV(I.UI(I.qo(t),(function(t){return r.events.on("propertychanged",(function(n){n.property===t&&e.call(i,n)}),i,n)})))},e.prototype.applyAccessibility=function(){var t=this.readerTitle,e=this.readerDescription,i=this.role,n=this.readerHidden,r=this.readerChecked,s=this.readerControls,o=this.readerLive,a=this.readerOrientation,h=this.readerValueNow,l=this.readerValueText,u=[],p=[],c=this.readerLabelledBy;c&&u.push(c);var d=this.readerDescribedBy;if(d&&p.push(d),t)if(u.length||this.showSystemTooltip){var f=this.titleElement,g=this.uid+"-title";f.node.textContent!=t&&(f.node.textContent=t,f.attr({id:g})),u.push(g)}else this._titleElement&&(this.group.removeElement(this._titleElement),this._titleElement=void 0),this.setSVGAttribute({"aria-label":t});else this.removeSVGAttribute("aria-label"),this._titleElement&&(this.group.removeElement(this._titleElement),this._titleElement=void 0);if(e){var y=this.descriptionElement,m=this.uid+"-description";y.node.textContent!=e&&(y.node.textContent=e,y.attr({id:m})),p.push(m)}else this._descriptionElement&&(this.group.removeElement(this._descriptionElement),this._descriptionElement=void 0);u.length?this.setSVGAttribute({"aria-labelledby":u.join(" ")}):this.removeSVGAttribute("aria-labelledby"),p.length?this.setSVGAttribute({"aria-describedby":p.join(" ")}):this.removeSVGAttribute("aria-describedby"),i?this.setSVGAttribute({role:i}):this.removeSVGAttribute("role"),n?this.setSVGAttribute({"aria-hidden":"true"}):this.removeSVGAttribute("aria-hidden"),r?this.setSVGAttribute({"aria-checked":"true"}):!1===r?this.setSVGAttribute({"aria-checked":"false"}):this.removeSVGAttribute("aria-checked"),s?this.setSVGAttribute({"aria-controls":s}):this.removeSVGAttribute("aria-controls"),o?this.setSVGAttribute({"aria-live":o}):this.removeSVGAttribute("aria-live"),a?this.setSVGAttribute({"aria-orientation":a}):this.removeSVGAttribute("aria-orientation"),h?this.setSVGAttribute({"aria-valuenow":h}):this.removeSVGAttribute("aria-valuenow"),l?this.setSVGAttribute({"aria-valuetext":l}):this.removeSVGAttribute("aria-valuetext")},Object.defineProperty(e.prototype,"readerTitle",{get:function(){var t=this.getPropertyValue("readerTitle");return V.Uh(t)&&this.dataItem?this.populateString(t):t},set:function(t){t=V.lr(t),this.setPropertyValue("readerTitle",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerDescription",{get:function(){var t=this.getPropertyValue("readerDescription");return V.Uh(t)&&this.dataItem?this.populateString(t):this.getPropertyValue("readerDescription")},set:function(t){t=V.lr(t),this.setPropertyValue("readerDescription",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"role",{get:function(){return this.getPropertyValue("role")},set:function(t){t=V.lr(t),this.setPropertyValue("role",t)&&(this.applyAccessibility(),"slider"==t&&(this.setSVGAttribute({"aria-valuemin":"0"}),this.setSVGAttribute({"aria-valuemax":"100"})))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerHidden",{get:function(){return this.getPropertyValue("readerHidden")},set:function(t){t=V.sw(t),this.setPropertyValue("readerHidden",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerChecked",{get:function(){return this.getPropertyValue("readerChecked")},set:function(t){t=V.sw(t),this.setPropertyValue("readerChecked",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerControls",{get:function(){return this.getPropertyValue("readerControls")},set:function(t){t=V.lr(t),this.setPropertyValue("readerControls",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerLive",{get:function(){return this.getPropertyValue("readerLive")}
1,set:function(t){t=V.lr(t),this.setPropertyValue("readerLive",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerLabelledBy",{get:function(){return this.getPropertyValue("readerLabelledBy")},set:function(t){t=V.lr(t),this.setPropertyValue("readerLabelledBy",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerDescribedBy",{get:function(){return this.getPropertyValue("readerDescribedBy")},set:function(t){t=V.lr(t),this.setPropertyValue("readerDescribedBy",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerOrientation",{get:function(){return this.getPropertyValue("readerOrientation")},set:function(t){t=V.lr(t),this.setPropertyValue("readerOrientation",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerValueNow",{get:function(){return this.getPropertyValue("readerValueNow")},set:function(t){t=V.lr(t),this.setPropertyValue("readerValueNow",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerValueText",{get:function(){return this.getPropertyValue("readerValueText")},set:function(t){t=V.lr(t),this.setPropertyValue("readerValueText",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyboardOptions",{get:function(){if(!this.interactions.keyboardOptions){if(this.virtualParent)return this.virtualParent.keyboardOptions;if(this._parent)return this._parent.keyboardOptions}return this.interactions.keyboardOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mouseOptions",{get:function(){if(!this.interactions.mouseOptions){if(this.virtualParent)return this.virtualParent.mouseOptions;if(this._parent)return this._parent.mouseOptions}return this.interactions.mouseOptions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"interactions",{get:function(){if(!this._interaction){var t=(0,v.S)().getInteraction(this.dom);this._interaction=t,t.clickable=this.clickable,t.hoverable=this.hoverable,t.trackable=this.trackable,t.draggable=this.draggable,t.swipeable=this.swipeable,t.resizable=this.resizable,t.wheelable=this.wheelable,t.contextMenuDisabled=this.contextMenuDisabled,t.inert=this.inert,t.sprite=this,this._disposers.push(t)}return this._interaction},enumerable:!0,configurable:!0}),e.prototype.isInteractive=function(){return!!this._interaction},Object.defineProperty(e.prototype,"focusable",{get:function(){return this.getPropertyValue("focusable")},set:function(t){var e=this;t=V.sw(t),this.setPropertyValue("focusable",t)&&(t||this.isInteractive())&&(this.interactions.focusable=t,t?(this.setSVGAttribute({focusable:t}),V.Uh(this._tabindex)||(this.tabindex=0)):(this.removeSVGAttribute("focusable"),this.tabindex=void 0),this.interactions.setEventDisposer("sprite-focusable",t,(function(){return new u.FV([e.events.on("blur",e.handleBlur,e,!1),e.events.on("focus",e.handleFocus,e,!1)])})))},enumerable:!0,configurable:!0}),e.prototype.handleFocus=function(t){this.focusable&&(this.topParent&&(this.topParent.hasFocused=!0,this.topParent.focusedElement=this),this.focusFilter&&this.filters.push(this.focusFilter),this.hoverOnFocus&&(this.isHover=!0,this.handleOver()))},e.prototype.handleBlur=function(t){this.focusable&&(this.topParent&&(this.topParent.hasFocused=!1,this.topParent.focusedElement=void 0),this.focusFilter&&this.filters.removeValue(this.focusFilter),this.hoverOnFocus&&(this.isHover=!1,this.handleOut()))},Object.defineProperty(e.prototype,"focusFilter",{get:function(){var t=this._focusFilter;return t||(this.virtualParent?this.virtualParent.focusFilter:this._parent?this._parent.focusFilter:void 0)},set:function(t){this._focusFilter=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hoverOnFocus",{get:function(){return this.getPropertyValue("hoverOnFocus")},set:function(t){t!==this.hoverOnFocus&&this.setPropertyValue("hoverOnFocus",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){var t=this._tabindex;return null!=t?t:this.virtualParent?this.virtualParent.tabindex:this._parent?this._parent.tabindex:void 0},set:function(t){t=V.He(t),this.setPropertyValue("tabindex",t)&&V.hj(t)&&(this.interactions.tabindex=t,this.setSVGAttribute({tabindex:t}),this._tabindex=t,this.focusable=!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")}
1,set:function(t){var e=this;t=V.sw(t),this.setPropertyValue("draggable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.draggable=t,this.interactions.setEventDisposer("sprite-draggable",t,(function(){return new u.FV([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,(0,v.S)().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,e){this._isDragged=!1,(0,v.S)().dragStop(this.interactions,t,e)},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=V.sw(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=V.sw(t),this.setPropertyValue("hoverable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.hoverable=t,this.interactions.setEventDisposer("sprite-hoverable",t,(function(){return new u.FV([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=T.zl(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.updateTooltipPosition(t.pointer?t.pointer.point:void 0),this._disposers.push(x.i.events.once("exitframe",(function(){e.showTooltip()}))),this._disposers.push((0,v.S)().body.events.once("down",(function(t){e.hideTooltip()}))))},Object.defineProperty(e.prototype,"clickable",{get:function(){return this.getPropertyValue("clickable")}
1,set:function(t){var e=this;t=V.sw(t),this.setPropertyValue("clickable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.clickable=t,this.interactions.setEventDisposer("sprite-clickable",t,(function(){return new u.FV([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=V.sw(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=V.sw(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(),T.UE(t)&&(this._urlDisposer=this.events.on("hit",this.urlHandler,this,!1),this.clickable=!0,this.cursorOverStyle=b.c.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,x.i.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(T.UE(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=V.sw(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=V.sw(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=V.sw(t),this.setPropertyValue("resizable",t)&&(t||this.isInteractive())&&(this.applyCursorStyle(),this.interactions.resizable=t,this.interactions.setEventDisposer("sprite-resizable",t,(function(){return new u.FV([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=T.zl(t.point1,this.htmlContainer,this.svgContainer.cssScale),i=T.zl(t.point2,this.htmlContainer,this.svgContainer.cssScale),n=j.SO(e,i),r=T.Di(t.startPoint1,this._parent),s=T.Di(t.startPoint2,this._parent),o=this.interactions.originalPosition,a=this.interactions.originalScale;if(o){var h={x:(r.x-o.x)/a,y:(r.y-o.y)/a},l={x:(s.x-o.x)/a,y:(s.y-o.y)/a},u=j.SO(h,l),p=T.iP(n,this._parent);this.moveTo({x:p.x-u.x*this.scale,y:p.y-u.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,(0,v.S)().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(){var t=this.getPropertyValue("interactionsEnabled");return!1!==t&&(this.virtualParent?this.virtualParent.interactionsEnabled:!this._parent||this._parent.interactionsEnabled)},set:function(t){if(t=V.sw(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 k.D(this.svgContainer.SVGContainer),t.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?I.Od(e.nonExportableSprites,this):-1==I.cq(e.nonExportableSprites,this)&&e.nonExportableSprites.push(this))},enumerable:!0,configurable:!0}),e.prototype.modalPrefix=function(t){return t=_.Y.classNamePrefix+t,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()}
1,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=j.C7(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){V.hj(t)&&(t=j.NM(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){V.hj(t)&&(t=j.NM(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=j.C7(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){V.hj(t)&&(t=j.NM(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){V.hj(t)&&(t=j.NM(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){V.hj(t)&&(t=j.NM(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){V.hj(t)&&(t=j.NM(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=V.He(t),V.hj(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=V.lr(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=V.lr(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=V.lr(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=V.lr(t),this.setPropertyValue("verticalCenter",t)&&this.updateCenter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){var t=this.getPropertyValue("maxWidth");if(!V.hj(t)&&this._parent){var e=this._parent.maxWidth;
1return"absolute"!=this._parent.layout&&"none"!=this.align&&void 0!=this.align&&(e=e-this.pixelMarginLeft-this.pixelMarginRight),e}return 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)){V.hj(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");if(!V.hj(t)&&this._parent){var e=this._parent.maxHeight;return"absolute"!=this._parent.layout&&"none"!=this.valign&&void 0!=this.valign&&(e=e-this.pixelMarginTop-this.pixelMarginBottom),e}return 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)){V.hj(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){var e=this.setPercentProperty("width",t,!0,!1,this._positionPrecision,!0);e&&(this.percentWidth=void 0,this.relativeWidth=void 0,t instanceof L.gG?(this.percentWidth=t.percent,V.hj(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){var e=this.setPercentProperty("height",t,!0,!1,this._positionPrecision,!0);e&&(this.percentHeight=void 0,this._relativeHeight=void 0,t instanceof L.gG?(this.percentHeight=t.percent,V.hj(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=V.hj(this.percentWidth)?this.maxWidth:V.hj(this._pixelWidth)?this._pixelWidth:0;var e=this.minWidth;null!=e&&t<e&&(t=e);var i=j.NM(t,this._positionPrecision,!0);return this._adapterO?this._adapterO.apply("pixelWidth",i):i},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelHeight",{get:function(){var t;t=V.hj(this.percentHeight)?this.maxHeight:V.hj(this._pixelHeight)?this._pixelHeight:0;var e=this.minHeight;null!=e&&t<e&&(t=e);var i=j.NM(t,this._positionPrecision,!0);return this._adapterO?this._adapterO.apply("pixelHeight",i):i},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeWidth",{get:function(){var t=this._relativeWidth;if(V.hj(t))return this._adapterO?this._adapterO.apply("relativeWidth",t):t},set:function(t){this._relativeWidth!=t&&(this._relativeWidth=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeHeight",{get:function(){var t=this._relativeHeight;if(V.hj(t))return this._adapterO?this._adapterO.apply("relativeHeight",t):t},set:function(t){this._relativeHeight!=t&&(this._relativeHeight=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"measuredWidth",{get:function(){return this.disabled||this.__disabled?0:this._adapterO?this._adapterO.apply("measuredWidth",this._measuredWidth):this._measuredWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"measuredHeight",{get:function(){return this.disabled||this.__disabled?0:this._adapterO?this._adapterO.apply("measuredHeight",this._measuredHeight):this._measuredHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outerWidth",{get:function(){var t=this.pixelWidth+this.pixelMarginRight+this.pixelMarginLeft;return this._adapterO?this._adapterO.apply("outerWidth",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outerHeight",{get:function(){var t=this.pixelHeight+this.pixelMarginTop+this.pixelMarginBottom;return this._adapterO?this._adapterO.apply("outerHeight",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerWidth",{get:function(){var t=Math.max(0,this.pixelWidth-this.pixelPaddingRight-this.pixelPaddingLeft);return this._adapterO?this._adapterO.apply("innerWidth",t):t},enumerable:!0,configurable:!0}
1),Object.defineProperty(e.prototype,"innerHeight",{get:function(){var t=Math.max(0,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom);return this._adapterO?this._adapterO.apply("innerHeight",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"globalScale",{get:function(){var t=this.scale;return this._parent&&(t*=this._parent.globalScale),this._adapterO?this._adapterO.apply("globalScale",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scale",{get:function(){return this.getPropertyValue("scale")},set:function(t){t=V.He(t),t<0&&(t=0),t!=this.getPropertyValue("scale")&&(this.setPropertyValue("scale",t,!1,!0),this.handleGlobalScale())},enumerable:!0,configurable:!0}),e.prototype.margin=function(t,e,i,n){return this.marginTop=t,this.marginRight=e,this.marginBottom=i,this.marginLeft=n,this},Object.defineProperty(e.prototype,"marginLeft",{get:function(){return this.getPropertyValue("marginLeft")},set:function(t){this.setPercentProperty("marginLeft",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marginRight",{get:function(){return this.getPropertyValue("marginRight")},set:function(t){this.setPercentProperty("marginRight",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marginTop",{get:function(){return this.getPropertyValue("marginTop")},set:function(t){this.setPercentProperty("marginTop",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marginBottom",{get:function(){return this.getPropertyValue("marginBottom")},set:function(t){this.setPercentProperty("marginBottom",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginRight",{get:function(){var t=this.getPixelX(this.marginRight);return this._adapterO?this._adapterO.apply("pixelMarginRight",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginRight",{get:function(){var t=this.getRelativeX(this.marginRight);return this._adapterO?this._adapterO.apply("relativeMarginRight",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginLeft",{get:function(){var t=this.getPixelX(this.marginLeft);return this._adapterO?this._adapterO.apply("pixelMarginLeft",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginLeft",{get:function(){var t=this.getRelativeX(this.marginLeft);return this._adapterO?this._adapterO.apply("relativeMarginLeft",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginTop",{get:function(){var t=this.getPixelY(this.marginTop);return this._adapterO?this._adapterO.apply("pixelMarginTop",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginTop",{get:function(){var t=this.getRelativeY(this.marginTop);return this._adapterO?this._adapterO.apply("relativeMarginTop",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelMarginBottom",{get:function(){var t=this.getPixelY(this.marginBottom);return this._adapterO?this._adapterO.apply("pixelMarginBottom",t):t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativeMarginBottom",{get:function(){var t=this.getRelativeY(this.marginBottom);return this._adapterO?this._adapterO.apply("relativeMarginBottom",t):t},enumerable:!0,configurable:!0}),e.prototype.padding=function(t,e,i,n){return this.paddingTop=t,this.paddingRight=e,this.paddingBottom=i,this.paddingLeft=n,this},Object.defineProperty(e.prototype,"paddingLeft",{get:function(){return this.getPropertyValue("paddingLeft")},set:function(t){this.setPercentProperty("paddingLeft",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingRight",{get:function(){return this.getPropertyValue("paddingRight")},set:function(t){this.setPercentProperty("paddingRight",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingTop",{get:function(){return this.getPropertyValue("paddingTop")},set:function(t){this.setPercentProperty("paddingTop",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paddingBottom",{get:function(){return this.getPropertyValue("paddingBottom")},set:function(t){this.setPercentProperty("paddingBottom",t,!0,!0,this._positionPrecision,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingRight",{get:function(){return this.getPixelX(this.paddingRight)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingRight",{get:function(){return this.getRelativeX(this.paddingRight)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingLeft",{get:function(){return this.getPixelX(this.paddingLeft)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingLeft",{get:function(){return this.getRelativeX(this.paddingLeft)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingTop",{get:function(){return this.getPixelY(this.paddingTop)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingTop",{get:function(){return this.getRelativeY(this.paddingTop)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPaddingBottom",{get:function(){return this.getPixelY(this.paddingBottom)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relativePaddingBottom",{get:function(){return this.getRelativeY(this.paddingBottom)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this.getPropertyValue("path")},set:function(t){this.setPath(t)},enumerable:!0,configurable:!0}),e.prototype.setPath=function(t){return!!this.setPropertyValue("path",t)&&(this._adapterO&&(t=this._adapterO.apply("path",t)),this._isPath||(this.element&&(!this.element.node||this.element.node instanceof SVGPathElement)||(this.element=this.paper.add("path")),this._isPath=!0),V.Uh(t)?this.element.attr({d:t}):this.element.removeAttr("d"),this.invalidatePosition(),this.inited||this.events.once("inited",this.validatePosition,this,!1),!0)},Object.defineProperty(e.prototype,"fillModifier",{get:function(){return this.getPropertyValue("fillModifier")},set:function(t){this.setPropertyValue("fillModifier",t)&&this.setFill(this.fill)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeModifier",{get:function(){return this.getPropertyValue("strokeModifier")},set:function(t){this.setPropertyValue("strokeModifier",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillOpacity",{get:function(){return this.getPropertyValue("fillOpacity")},set:function(t){t=j.Wg(t,0,1),this.setPropertyValue("fillOpacity",t)&&this.setSVGAttribute({"fill-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fill",{get:function(){return this.getPropertyValue("fill")}
1,set:function(t){this.setFill(t)},enumerable:!0,configurable:!0}),e.prototype.setFill=function(t){if(V.Kn(t)&&!("r"in t)||(t=(0,m.p9)(t)),this.setColorProperty("fill",t)||this.fillModifier)if(t instanceof m.Il&&this.fillModifier&&(t=this.fillModifier.modify(t)),this.realFill=t,t instanceof m.Il)this.setSVGAttribute({fill:t.toString()});else if(V.Uh(t)){if(t instanceof f.c||t instanceof g.o||t instanceof y.X){var e=t;e.paper=this.paper,this.setSVGAttribute({fill:'url("'+T.Lw()+e.id+'")'})}}else this.removeSVGAttribute("fill")},Object.defineProperty(e.prototype,"opacity",{get:function(){return this.getPropertyValue("opacity")},set:function(t){t=j.Wg(t,0,1),this.setPropertyValue("opacity",t)&&this.setSVGAttribute({opacity:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stroke",{get:function(){return this.getPropertyValue("stroke")},set:function(t){this.setStroke(t)},enumerable:!0,configurable:!0}),e.prototype.setStroke=function(t){if(V.Kn(t)&&!("r"in t)||(t=(0,m.p9)(t)),this.setColorProperty("stroke",t)||this.strokeModifier)if(t instanceof m.Il&&this.strokeModifier&&(t=this.strokeModifier.modify(t)),this.realStroke=t,t instanceof m.Il)"none"==t.hex?this.removeSVGAttribute("stroke"):this.setSVGAttribute({stroke:t.toString()});else if(V.Uh(t)){if(t instanceof f.c||t instanceof g.o||t instanceof y.X){var e=t;e.paper=this.paper,this.setSVGAttribute({stroke:'url("'+T.Lw()+e.id+'")'})}}else this.removeSVGAttribute("stroke")},Object.defineProperty(e.prototype,"strokeOpacity",{get:function(){return this.getPropertyValue("strokeOpacity")},set:function(t){t=j.Wg(t,0,1),this.setPropertyValue("strokeOpacity",t)&&this.setSVGAttribute({"stroke-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonScalingStroke",{get:function(){return this.getPropertyValue("nonScalingStroke")},set:function(t){t=V.sw(t),this.setPropertyValue("nonScalingStroke",t)&&(this.strokeWidth=this.strokeWidth)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nonScaling",{get:function(){return this.getPropertyValue("nonScaling")},set:function(t){t=V.sw(t),this.setPropertyValue("nonScaling",t,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.getPropertyValue("strokeWidth")},set:function(t){t=V.He(t),this.setPropertyValue("strokeWidth",t,!0),this.nonScalingStroke&&(V.hj(t)||(t=1),t/=this.globalScale),this.setSVGAttribute({"stroke-width":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDasharray",{get:function(){return this.getPropertyValue("strokeDasharray")},set:function(t){t=V.lr(t),this.setPropertyValue("strokeDasharray",t)&&this.setSVGAttribute({"stroke-dasharray":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeDashoffset",{get:function(){return this.getPropertyValue("strokeDashoffset")},set:function(t){t=V.He(t),this.setPropertyValue("strokeDashoffset",t)&&this.setSVGAttribute({"stroke-dashoffset":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeLinecap",{get:function(){return this.getPropertyValue("strokeLinecap")},set:function(t){this.setPropertyValue("strokeLinecap",t)&&this.setSVGAttribute({"stroke-linecap":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeLinejoin",{get:function(){return this.getPropertyValue("strokeLinejoin")},set:function(t){this.setPropertyValue("strokeLinejoin",t)&&this.setSVGAttribute({"stroke-linejoin":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shapeRendering",{get:function(){return this.getPropertyValue("shapeRendering")},set:function(t){t=V.lr(t),this.setPropertyValue("shapeRendering",t)&&this.setSVGAttribute({"shape-rendering":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelPerfect",{get:function(){return this.getPropertyValue("pixelPerfect")},set:function(t){t=V.sw(t),this._positionPrecision=t?_.Y.pixelPerfectPrecision:3,this.setPropertyValue("pixelPerfect",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rtl",{get:function(){return V.Uh(this._rtl)?this._rtl:!!this._topParent&&this._topParent.rtl},set:function(t){t=V.sw(t),this.isBaseSprite&&(this.topParent.rtl=t),this._rtl=t},enumerable:!0,configurable:!0}),e.prototype.show=function(t){return this.showReal(t)},e.prototype.showReal=function(t){var e=this;if(!this.preventShow){var i,n=this.defaultState.properties;if(!this.disabled&&(this.isHidden||!this.visible||this.isHiding||null!=n.opacity&&this.opacity<n.opacity&&!this.isShowing)&&!this.isDisposed()){this.invalid&&this.validate(),this.positionInvalid&&this.validatePosition(),V.hj(t)||(t=this.defaultState.transitionDuration),this._hideAnimation&&(this._hideAnimation.kill(),this._hideAnimation=void 0),this._showHideDisposer&&this.removeDispose(this._showHideDisposer),this._isHidden=!1,this.isHiding=!1,this.isShowing=!0,i=this.applyCurrentState(t),i&&!i.isFinished()?(this._showHideDisposer=i.events.on("animationended",(function(){e.isShowing=!1})),this._disposers.push(this._showHideDisposer)):this.isShowing=!1;var r=this.defaultState.properties.visible;V.Uh(r)||(r=!0),this.visible=r,this.readerHidden=!1,this.dispatchImmediately("shown")}return i}},e.prototype.hide=function(t){return this.hideReal(t)},e.prototype.hideReal=function(t){var e,i=this;if(!this.isHiding&&this.visible&&!this.isDisposed()){this.tooltip&&this.tooltip.currentSprite==this&&this.hideTooltip(0),this._hideAnimation&&(this._hideAnimation.kill(),this._hideAnimation=void 0),this.isShowing=!1,this._showHideDisposer&&this.removeDispose(this._showHideDisposer);var n=this.hiddenState;n?(e=this.setState(n,t,void 0),e&&!e.isFinished()?(this._hideAnimation=e,this._showHideDisposer=e.events.on("animationended",(function(){i.isHiding=!1,i._isHidden=!0,0==n.properties.visible&&(i.visible=!1)}),this),this._disposers.push(this._showHideDisposer),this._disposers.push(e)):(this.isHiding=!1,this._isHidden=!0)):(this.visible=!1,this.isHiding=!1,this._isHidden=!0),this.readerHidden=!0,this.dispatchImmediately("hidden"),this.invalidate()}return V.hj(t)||(t=this.hiddenState.transitionDuration),e},Object.defineProperty(e.prototype,"visible",{get:function(){return this.getVisibility()},set:function(t){t=V.sw(t),this.setVisibility(t)},enumerable:!0,configurable:!0}),e.prototype.getVisibility=function(){var t=this.getPropertyValue("visible");return V.Uh(t)||(t=!0),t},e.prototype.setVisibility=function(t){if(this.setPropertyValue("visible",t)&&(t?this.group.removeAttr("visibility"):this.group.attr({visibility:"hidden"}),this.events.isEnabled("visibilitychanged"))){var e={type:"visibilitychanged",target:this,visible:t};this.events.dispatchImmediately("visibilitychanged",e)}},Object.defineProperty(e.prototype,"zIndex",{get:function(){return this.getPropertyValue("zIndex")},set:function(t){t=V.He(t),this.setPropertyValue("zIndex",t)&&this.dispatch("zIndexChanged")},enumerable:!0,configurable:!0}),e.prototype.toFront=function(){var t=this._parent;t&&t.children.indexOf(this)!=t.children.length-1&&(t.children.moveValue(this,t.children.length-1),this.dispatch("zIndexChanged"))},e.prototype.toBack=function(){var t=this._parent;t&&0!=t.children.indexOf(this)&&(t.children.moveValue(this,0),this.dispatch("zIndexChanged"))},Object.defineProperty(e.prototype,"userClassName",{get:function(){return this.getPropertyValue("userClassName")}
1,set:function(t){this.setPropertyValue("userClassName",t)&&(!t&&this.userClassName&&this.group.removeClass(this.userClassName),this.setClassName())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltip",{get:function(){return this._tooltip?this._tooltip:this.virtualParent?this.virtualParent.tooltip:this._parent?this._parent.tooltip:void 0},set:function(t){this._tooltip&&this.removeDispose(this._tooltip),this._tooltip=t,t&&(t.parent=this.tooltipContainer)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipDataItem",{get:function(){var t=this._tooltipDataItem;return t||this.dataItem},set:function(t){this._tooltipDataItem=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipColorSource",{get:function(){return this._tooltipColorSource},set:function(t){this._tooltipColorSource=t},enumerable:!0,configurable:!0}),e.prototype.showTooltip=function(t){"always"==this.showTooltipOn&&!this._tooltip&&this.tooltip&&(this._tooltip=this.tooltip.clone()),!t&&"pointer"==this.tooltipPosition&&this.isHover&&(t=T.zl((0,v.S)().lastPointer.point,this.svgContainer.SVGContainer,this.svgContainer.cssScale));var e=this;while(void 0!=e){if(!e.visible||e.disabled||e.__disabled)return void(this._tooltip&&this._tooltip.visible&&this._tooltip.hide(0));e=e.parent}if(V.Uh(this.tooltipText)||V.Uh(this.tooltipHTML)){var i=this.tooltip,n=this.tooltipDataItem;if(i){i.targetSprite=this;var r=this,s=this.tooltipColorSource;if((i.getStrokeFromObject||i.getFillFromObject)&&s&&(s.isTemplate?n&&I.vn(n.sprites,(function(t){return t.clonedFrom!=s||(r=t,!1)})):r=s),i.getStrokeFromObject){var o=this.stroke,a=r;while(void 0!=a.parent)if(o=a.stroke,void 0==o&&(a=a.parent),void 0!=o)break;o instanceof m.Il?i.background.animate({property:"stroke",to:o},i.animationDuration):i.background.stroke=o}if(i.dataItem=n,i.label.populateStringFrom=this,i.getFillFromObject){var h=this.fill;a=r;while(void 0!=a.parent)if(h=a.fill,void 0==h||h instanceof m.Il&&void 0==h.rgb)a=a.parent;else if(void 0!=h)break;void 0==h&&(h=(0,m.$_)("#000000")),h instanceof m.Il&&i.visible?i.background.animate({property:"fill",to:h},i.animationDuration):i.background.fill=h,i.autoTextColor&&h instanceof m.Il&&(i.label.fill=h.alternative)}var l="";if(this.tooltipHTML&&(i.html=this.tooltipHTML,l=this.tooltipHTML),this.tooltipText&&(i.text=this.tooltipText,l=this.tooltipText),this.updateTooltipPosition(t)){if(i.readerDescribedBy=this.uidAttr(),i.label.invalid&&i.label.validate(),void 0!=l&&""!=l&&""!=i.label.currentText){i&&!i.parent&&(i.parent=this.tooltipContainer);var u=i.defaultState.transitionDuration;return u<=0&&(u=1),i.show(u),i.currentSprite=this,!0}this.hideTooltip(0)}else this.hideTooltip(0)}}return!1},e.prototype.updateTooltipPosition=function(t){var e=this;if("pointer"!=this.tooltipPosition){var i=T.Ql({x:this.getTooltipX(),y:this.getTooltipY()},this);return this.pointTooltipTo(i)}if(this._interactionDisposer&&this._interactionDisposer.dispose(),this._interactionDisposer=(0,v.S)().body.events.on("track",(function(t){return e.pointTooltipTo(T.zl(t.point,e.svgContainer.SVGContainer,e.svgContainer.cssScale),!0)})),t)return this.pointTooltipTo(t,!0)},e.prototype.pointTooltipTo=function(t,e){var i=this.tooltip;if(i&&this.topParent){if(i.showInViewport)return i.pointTo(t,e),!0;if(j.XD(t,{x:0,y:0,width:this.topParent.maxWidth,height:this.topParent.maxHeight}))return i.pointTo(t,e),!0}return!1},e.prototype.hideTooltip=function(t){if("always"!=this.showTooltipOn){var e=this.tooltip;e&&(e.targetSprite==this&&(e.targetSprite=void 0),e.hide(t),this._interactionDisposer&&(this._interactionDisposer.dispose(),this._interactionDisposer=void 0))}},Object.defineProperty(e.prototype,"tooltipHTML",{get:function(){return this.getPropertyValue("tooltipHTML")},set:function(t){t=V.lr(t),this.hoverable=!0,this.setPropertyValue("tooltipHTML",t)&&this.tooltip&&this.tooltip.visible&&this.showTooltip()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipText",{get:function(){return this.getPropertyValue("tooltipText")},set:function(t){t=V.lr(t),t&&(this.hoverable=!0),this.setPropertyValue("tooltipText",t)&&this.tooltip&&this.tooltip.visible&&this.showTooltip()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipContainer",{get:function(){return this._tooltipContainer?this._tooltipContainer:this._parent?this._parent.tooltipContainer:void 0},set:function(t){this._tooltipContainer=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipX",{get:function(){return this.getTooltipX()},set:function(t){this.setPercentProperty("tooltipX",t)&&this.tooltip&&this.tooltip.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alwaysShowTooltip",{get:function(){return"always"==this.getPropertyValue("showTooltipOn")},set:function(t){t=V.sw(t),t&&(this.showTooltipOn="always")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showTooltipOn",{get:function(){return this.getPropertyValue("showTooltipOn")},set:function(t){this.setPropertyValue("showTooltipOn",t)&&("hit"==t&&(this.clickable=!0),this.tooltip&&("always"==t?this.showTooltip():this.handleAlwaysShowTooltip()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipPosition",{get:function(){return this.getPropertyValue("tooltipPosition")},set:function(t){this.setPropertyValue("tooltipPosition",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipY",{get:function(){return this.getTooltipY()},set:function(t){this.setPercentProperty("tooltipY",t)&&this.tooltip&&this.tooltip.invalidate()},enumerable:!0,configurable:!0}),e.prototype.getTooltipX=function(){var t,e=this.getPropertyValue("tooltipX");return V.Uh(e)||(e=(0,L.aQ)(50)),V.hj(e)&&(t=e),e instanceof L.gG&&(t=this.maxLeftSelf+this._measuredWidthSelf*e.value-this.pixelPaddingLeft-this.ex),V.hj(t)||(t=0),t}
1,e.prototype.getTooltipY=function(){var t,e=this.getPropertyValue("tooltipY");return V.Uh(e)||(e=(0,L.aQ)(50)),V.hj(e)&&(t=e),e instanceof L.gG&&(t=this.maxTopSelf+this._measuredHeightSelf*e.value-this.pixelPaddingTop-this.ey),V.hj(t)||(t=0),t},e.prototype.raiseCriticalError=function(t,e){this.svgContainer&&(this._adapterO?this.modal.content=this._adapterO.apply("criticalError",t).message:this.modal.content=t.message,e?this.modal.closable=!0:this.disabled=!0,_.Y.suppressErrors||this.modal.open()),_.Y.verbose&&console.log(t)},e.prototype.processConfig=function(e){e&&(V.Uh(e.tooltipColorSource)&&V.HD(e.tooltipColorSource)&&this.map.hasKey(e.tooltipColorSource)&&(e.tooltipColorSource=this.map.getKey(e.tooltipColorSource)),V.Uh(e.cursorOverStyle)&&V.HD(e.cursorOverStyle)&&(e.cursorOverStyle=this.getCursorStyle(e.cursorOverStyle)),V.Uh(e.cursorDowntyle)&&V.HD(e.cursorDowntyle)&&(e.cursorDowntyle=this.getCursorStyle(e.cursorDowntyle)),V.Uh(e.cursorOptions)&&(V.Uh(e.cursorOptions.overStyle)&&V.HD(e.cursorOptions.overStyle)&&(e.cursorOptions.overStyle=this.getCursorStyle(e.cursorOptions.overStyle)),V.Uh(e.cursorOptions.downStyle)&&V.HD(e.cursorOptions.downStyle)&&(e.cursorOptions.downStyle=this.getCursorStyle(e.cursorOptions.downStyle)))),t.prototype.processConfig.call(this,e),this.processDelayedMap()},e.prototype.getCursorStyle=function(t){switch(t){case"grab":return b.c.grab;case"grabbing":return b.c.grabbing;case"pointer":return b.c.pointer;case"horizontalResize":return b.c.horizontalResize;case"verticalResize":return b.c.verticalResize;default:return b.c.default}},e.prototype.configOrder=function(e,i){return e==i?0:"tooltipColorSource"==e?1:"tooltipColorSource"==i?-1:t.prototype.configOrder.call(this,e,i)},Object.defineProperty(e.prototype,"isHidden",{get:function(){return this._isHidden?this._isHidden:!!this._parent&&this._parent.isHidden},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showOnInit",{get:function(){return this.getPropertyValue("showOnInit")},set:function(t){t=V.sw(t),this.setShowOnInit(t)},enumerable:!0,configurable:!0}),e.prototype.setShowOnInit=function(t){this.setPropertyValue("showOnInit",t)&&(this.isTemplate||(!t||this.inited||this.hidden?this._showOnInitDisposer&&this._showOnInitDisposer.dispose():(this._showOnInitDisposer=new u.FV([x.i.events.once("enterframe",this.hideInitially,this),this.events.once("beforevalidated",this.hideInitially,this,!1),this.events.on("inited",this.appear,this,!1)]),this._disposers.push(this._showOnInitDisposer))))},e.prototype.hideInitially=function(){this.isDisposed()||(this.appeared=!1,this.inited||this.hide(0))},e.prototype.appear=function(){var t=this;if(this.appeared=!1,this.hidden||this.isHidden||this.hide(0),this.hidden)this.appeared=!0,this.dispatch("appeared");else{var e=this.show();e&&!e.isFinished()?this.addDisposer(e.events.on("animationended",(function(){t.appeared=!0,t.dispatch("appeared")}))):(this.appeared=!0,this.dispatch("appeared"))}},Object.defineProperty(e.prototype,"hidden",{get:function(){return this.getPropertyValue("hidden")},set:function(t){t=V.sw(t),this.setPropertyValue("hidden",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this._bbox},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"plugins",{get:function(){var t=this;return this._plugins||(this._plugins=new l.aV,this._disposers.push(this._plugins.events.on("inserted",(function(e){e.newValue.target=t,e.newValue.init()}))),this._disposers.push(new l.zQ(this._plugins))),this._plugins},enumerable:!0,configurable:!0}),e.prototype._systemUpdate=function(t){this.validate()},e.prototype._systemCheckIfValidate=function(){return!0},e.prototype._systemValidatePositions=function(){this.validatePosition()},e.prototype._systemValidateLayouts=function(){},e}(o.y);x.i.registeredClasses["Sprite"]=R},9248:function(t,e,i){i.d(e,{g:function(){return l}});i(70560);var n=i(60199),r=i(64142),s=i(65250),o=i(73818),a=i(81245),h=i(52639),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._interactionEvents=new r.Xy,e}return(0,n.ZT)(e,t),e.prototype._dispatchSpriteEvent=function(t){if(!this.target.disabled&&!this.target.isTemplate&&this.target.events.isEnabled(t.type)){var e=h.TS(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=h.TS(t,{target:this.target,spritePoint:t.point?a.Di(t.point,this.target):void 0,svgPoint:this.target.getSvgPoint(t.point)});this.target.events.dispatchImmediately(e.type,e)}}
1,e.prototype._addInteractionObjectEvent=function(t,e,i,n){var r=this,s=n+"-"+t,a=this._interactionEvents.insertKeyIfEmpty(s,(function(){var a=r.target.interactions.events.on(t,e,i,n);return new o.DM((function(){r._interactionEvents.removeKey(s),a.dispose()}))}));return a.increment()},e.prototype._on=function(e,i,n,r,s,a){var h=t.prototype._on.call(this,e,i,n,r,s,a),l=[h.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,s));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,s));break}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;break}return h.disposer=new o.FV(l),h},e}(s.r)},5096:function(t,e,i){i.d(e,{q:function(){return f}});i(70560);var n=i(60199),r=i(56399),s=i(69580),o=i(98306),a=i(4781),h=i(71015),l=i(10431),u=i(81245),p=i(29520),c=i(52639),d=i(52248),f=function(t){function e(){var e=t.call(this)||this;return e.transitionDuration=0,e.transitionEasing=p._e,e.properties={},e.propertyFields={},e.filters=new a.aV,e.isTemplate=!1,e.className="SpriteState",e._disposers.push(new a.zQ(e.filters)),e.applyTheme(),e}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"adapter",{get:function(){var t=this;return this._adapterO||(this._adapterO=new o.L1(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.Uh(n)&&(i.dataItem&&(e=i.dataItem.dataContext[n]),void 0==e&&(e="__unset")),d.Uh(e))this._adapterO&&(e=this._adapterO.apply(t,e));else{var r=i.getPropertyValue(t);e=this._adapterO?this._adapterO.apply(t,r):r,e==r&&(e=void 0)}}return e},e.prototype.copyFrom=function(t){t&&t!=this&&(this.transitionDuration=t.transitionDuration,this.transitionEasing=t.transitionEasing,u.BS(t.properties,this.properties),u.BS(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(c.S6(this.properties,(function(i,n){e[i]=t.getPropertyValue(i)})),this._adapterO){var i=this._adapterO.keys();c.S6(i,(function(i,n){var r=t.getPropertyValue(n);e[n]=r}))}var n=this.propertyFields;return c.S6(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.Uh(e)&&d.Uh(e["properties"])&&c.S6(e["properties"],(function(t,i){d.HD(i)&&(i.match(/^[0-9.\-]+\%$/)?e["properties"][t]=(0,l.aQ)(d.He(i)):i.match(/^\#[0-9abcdef]{3,}$/i)&&(e["properties"][t]=(0,h.p9)(i)))})),t.prototype.processConfig.call(this,e)},e.prototype.asFunction=function(e){return"transitionEasing"==e||t.prototype.asIs.call(this,e)},e}(r.L);s.i.registeredClasses["SpriteState"]=f},80149:function(t,e,i){i.d(e,{B:function(){return u}});i(70560);var n=i(69580),r=i(25980),s=i(49413),o=i(91564),a=i(52639),h=i(69594),l=function(){function t(){this._isPaused=!1,this.animations=[],this.uid=n.i.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.i.dispatchImmediately("enterframe");var i=[];for(var r in n.i.invalidDatas)if(a.wH(n.i.invalidDatas,r)){var h=n.i.invalidDatas[r];while(h.length>0){var l=h[0],u=l.dataProvider;if(l.isDisposed())o.Od(h,l);
1else if(u&&u.dataInvalid)try{if(u.validateData(),u.dataValidationProgress<1)break}catch(f){o.Od(h,u),u.raiseCriticalError(f)}else try{if(l.validateData(),l.dataValidationProgress<1)break}catch(f){o.Od(h,l),l.raiseCriticalError(f)}}if(Date.now()-e>this.updateStepDuration)break}while(n.i.invalidRawDatas.length>0){l=n.i.invalidRawDatas[0];if(l.isDisposed())o.Od(n.i.invalidRawDatas,l);else try{l.validateRawData()}catch(f){o.Od(n.i.invalidRawDatas,l),l.raiseCriticalError(f)}}while(n.i.invalidDataItems.length>0){l=n.i.invalidDataItems[0],u=l.dataProvider;if(l.isDisposed()||l.dataInvalid||u&&u.dataInvalid);else try{l.validateDataItems()}catch(f){o.Od(n.i.invalidDataItems,l),l.raiseCriticalError(f)}o.Od(n.i.invalidDataItems,l)}while(n.i.invalidDataRange.length>0){l=n.i.invalidDataRange[0],u=l.dataProvider;if(l.isDisposed()||l.dataInvalid||u&&u.dataInvalid);else try{l.validateDataRange(),l.skipRangeEvent||l.dispatchImmediately("datarangechanged"),l.skipRangeEvent=!1}catch(f){o.Od(n.i.invalidDataRange,l),l.raiseCriticalError(f)}o.Od(n.i.invalidDataRange,l)}var p=[];a.S6(n.i.invalidLayouts,(function(e){t.validateLayouts(e)})),a.S6(n.i.invalidPositions,(function(e){t.validatePositions(e)}));var c=!1;if(e=Date.now(),a.S6(n.i.invalidSprites,(function(i,r){var s=0;while(r.length>0){if(t.validateLayouts(i),t.validatePositions(i),s++,5==s){if(Date.now()-e>t.updateStepDuration)break;s=0}var a=r[r.length-1];if(a&&!a.isDisposed()){if(a._systemCheckIfValidate())if(t.checkIfValidate2(a))try{a._systemUpdate(p)}catch(f){a.invalid=!1,o.Od(r,a),a.raiseCriticalError(f)}else p.push(a);else p.push(a);a.invalid=!1}o.Od(r,a)}n.i.invalidSprites[i]=n.i.invalidSprites[i].concat(p)})),a.S6(n.i.invalidSprites,(function(t,e){e.length>0&&(c=!0)})),a.S6(n.i.invalidDatas,(function(t,e){e.length>0&&(c=!0)})),o.S6(o.JG(this.animations),(function(t){t.update()})),a.S6(n.i.invalidLayouts,(function(e){t.validateLayouts(e)})),a.S6(n.i.invalidPositions,(function(e){t.validatePositions(e)})),(0,s.YO)(),a.S6(n.i.invalidLayouts,(function(e){t.validateLayouts(e)})),a.S6(n.i.invalidPositions,(function(e){t.validatePositions(e)})),n.i.dispatchImmediately("exitframe"),(c||this.animations.length>0||i.length>0)&&this.requestFrame(),this.updateStepDuration<200){var d=!0;a.S6(n.i.invalidDatas,(function(t,e){e.length>0&&(d=!1)})),a.S6(n.i.invalidSprites,(function(t,e){e.length>0&&(d=!1)})),d&&(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||((0,s.Wn)((function(){t.update()})),this._frameRequested=!0)},t.prototype.softInvalidate=function(t){var e=this;t.children.each((function(t){t instanceof r.W&&e.softInvalidate(t),t.measureFailed&&((0,n.is)(t,"Label")?t.hardInvalidate():t.invalidate(),t.measureFailed=!1)}))},t.prototype.validatePositions=function(t){var e=n.i.invalidPositions[t];while(e.length>0){var i=e[e.length-1];if(i.isDisposed())o.Od(e,i);else try{i._systemValidatePositions()}catch(r){i.positionInvalid=!1,o.Od(e,i),i.raiseCriticalError(r)}}},t.prototype.validateLayouts=function(t){var e=n.i.invalidLayouts[t];while(e.length>0){var i=e[e.length-1];if(i.isDisposed())o.Od(e,i);else try{i.children.each((function(t){t._systemValidateLayouts()})),i.validateLayout()}catch(r){i.layoutInvalid=!1,o.Od(e,i),i.raiseCriticalError(r)}}},t.prototype.log=function(t){h.c(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.10.38",t}(),u=new l},95778:function(t,e,i){i.d(e,{t:function(){return h}});i(70560);var n=i(60199),r=i(90023),s=i(52248),o=i(91564),a=[",",";","\t"],h=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(0,n.ZT)(e,t),e.isCSV=function(t){return!!e.getDelimiterFromData(t)},e.getDelimiterFromData=function(t){var e,i=t.split("\n"),n=i.length;return o.S6(a,(function(t){for(var r=0,s=0,o=0;o<n;++o){if(r=i[o].split(t).length,!(r>1)){s=0;break}if(0===s)s=r;else if(r!=s){s=0;break}}s&&(e=t)})),e},e.prototype.parse=function(t){this.options.delimiter||(this.options.delimiter=e.getDelimiterFromData(t));var i,n,r,o=this.CSVToArray(t,this.options.delimiter),a=s.Uh(this.options.emptyAs),h=this.parsableNumbers,l=this.parsableDates,u=[],p=[];for(n=0;n<this.options.skipRows;n++)o.shift();if(this.options.useColumnNames){p=o.shift();for(var c=0;c<p.length;c++)i=s.Uh(p[c])?p[c].replace(/^\s+|\s+$/gm,""):"",""===i&&(i="col"+c),p[c]=i}while(1){if(r=this.options.reverse?o.pop():o.shift(),!r)break;
1if(!this.options.skipEmpty||1!==r.length||""!==r[0]){var d={};for(n=0;n<r.length;n++)i=void 0===p[n]?"col"+n:p[n],d[i]=""===r[n]?this.options.emptyAs:r[n],a&&(d[i]=this.maybeToEmpty(d[i])),h&&(d[i]=this.maybeToNumber(i,d[i])),l&&(d[i]=this.maybeToDate(i,d[i]));u.push(d)}}return u},e.prototype.CSVToArray=function(t,e){e=e||",";var i=new RegExp("(\\"+e+'|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\'+e+"\\r\\n]*))","gi"),n=[[]],r=null;while(1){if(r=i.exec(t),!r)break;var s=r[1];s.length&&s!==e&&n.push([]);var o=void 0;o=r[2]?r[2].replace(new RegExp('""',"g"),'"'):r[3],n[n.length-1].push(o)}return n},e}(r._)},91341:function(t,e,i){i.d(e,{x:function(){return l}});var n=i(95778),r=i(2809),s=i(98306),o=i(17578),a=i(91564),h=function(){function t(){this.adapter=new s.L1(this)}return t.prototype.load=function(t){var e=Array.isArray(t)?t:[t],i=a.UI(e,(function(t){return t.dispatchImmediately("started"),t.dispatchImmediately("loadstarted"),o.z(t.url,t,t.requestOptions)}));Promise.all(i).then((function(t){a.S6(t,(function(t){var e=t.target;e.dispatchImmediately("loadended"),t.error?e.events.isEnabled("error")&&e.events.dispatchImmediately("error",{type:"error",code:t.xhr.status,message:e.language.translate("Unable to load file: %1",null,e.url),target:e}):e.processData(t.response,t.type),e.dispatchImmediately("ended")}))})).catch((function(t){t.target&&(t.target.dispatchImmediately("loadended"),t.target.events.isEnabled("error")&&t.target.events.dispatchImmediately("error",{type:"error",code:t.xhr.status,message:t.target.language.translate("Unable to load file: %1",null,t.target.url),target:t.target}),t.target.dispatchImmediately("ended"))}))},t.prototype.getParserByType=function(t){var e=this.adapter.apply("getParserByType",{parser:null,type:t}).parser;return e||("csv"==t||"text/csv"==t||"application/vnd.ms-excel"==t?new n.t:"json"==t||"application/json"==t?new r.c:void 0)},t.prototype.getParserByData=function(t,e){var i=this.adapter.apply("getParserByData",{parser:null,data:t,type:e}).parser;if(!i){if(i=this.getParserByType(e),i)return i;if(r.c.isJSON(t))return this.getParserByType("json");if(n.t.isCSV(t))return this.getParserByType("csv")}return i},t}(),l=new h},90023:function(t,e,i){i.d(e,{_:function(){return o}});var n=i(86237),r=i(81245),s=i(52248),o=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.IX(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 s.Uh(t)&&""!=t||!s.Uh(this.options.emptyAs)?t:this.options.emptyAs},Object.defineProperty(t.prototype,"dateFormatter",{get:function(){return this.options.dateFormatter||(this.options.dateFormatter=new n.C,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}()},51338:function(t,e,i){i.d(e,{o:function(){return f}});i(70560);var n=i(60199),r=i(91341),s=i(2809),o=i(95778),a=i(56399),h=i(98306),l=i(51763),u=i(86237),p=i(69580),c=i(52248),d=i(52639),f=function(t){function e(e,i){var n=t.call(this)||this;return n.adapter=new h.L1(n),n._requestOptions={},n._incremental=!1,n._incrementalParams={},n._keepCount=!1,n._updateCurrentData=!1,n.showPreloader=!0,n.className="DataSource",e&&(n.url=e),i&&(n.parser="string"==typeof i?r.x.getParserByType(i):i),n}return(0,n.ZT)(e,t),e.prototype.processData=function(t,e){if(this.dispatchImmediately("parsestarted"),this.parser||(this.parser=r.x.getParserByData(t,e),this.parser)){if(this.parser.options=this.adapter.apply("parserOptions",this.parser.options),this.parser.options.dateFields=this.adapter.apply("dateFields",this.parser.options.dateFields||[]),this.parser.options.numberFields=this.adapter.apply("numberFields",this.parser.options.numberFields||[]),this.parser.options.dateFields&&!this.parser.options.dateFormatter&&(this.parser.options.dateFormatter=this.dateFormatter),this.data=this.adapter.apply("parsedData",this.parser.parse(this.adapter.apply("unparsedData",t))),!c.Uh(this.data)&&this.events.isEnabled("parseerror")){var i={type:"parseerror",message:this.language.translate("Error parsing file: %1",null,this.url),target:this};this.events.dispatchImmediately("parseerror",i)}this.dispatchImmediately("parseended"),c.Uh(this.data)&&this.dispatchImmediately("done",{data:this.data}),this.lastLoad=new Date}else{if(this.events.isEnabled("parseerror")){var n={type:"parseerror",message:this.language.translate("No parser available for file: %1",null,this.url),target:this};this.events.dispatchImmediately("parseerror",n)}this.dispatchImmediately("parseended")}},Object.defineProperty(e.prototype,"url",{get:function(){var t=this.disableCache?this.timestampUrl(this._url):this._url;return this.incremental&&this.component.data.length&&(t=this.addUrlParams(t,this.incrementalParams)),this.adapter.apply("url",t)},set:function(t){this._url=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"requestOptions",{get:function(){return this.adapter.apply("requestOptions",this._requestOptions)},set:function(t){this._requestOptions=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._parser||(this._parser=new s.c),this.adapter.apply("parser",this._parser)}
1,set:function(t){this._parser=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reloadFrequency",{get:function(){return this.adapter.apply("reloadTimeout",this._reloadFrequency)},set:function(t){var e=this;this._reloadFrequency!=t&&(this._reloadFrequency=t,t?c.Uh(this._reloadDisposer)||(this._reloadDisposer=this.events.on("ended",(function(t){e._reloadTimeout=setTimeout((function(){e.load()}),e.reloadFrequency)}))):c.Uh(this._reloadDisposer)&&(this._reloadDisposer.dispose(),this._reloadDisposer=void 0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incremental",{get:function(){return this.adapter.apply("incremental",this._incremental)},set:function(t){this._incremental=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incrementalParams",{get:function(){return this.adapter.apply("incrementalParams",this._incrementalParams)},set:function(t){this._incrementalParams=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keepCount",{get:function(){return this.adapter.apply("keepCount",this._keepCount)},set:function(t){this._keepCount=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateCurrentData",{get:function(){return this.adapter.apply("updateCurrentData",this._updateCurrentData)},set:function(t){this._updateCurrentData=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"language",{get:function(){return this._language?this._language:this.component?(this._language=this.component.language,this._language):(this.language=new l.S,this.language)},set:function(t){this._language=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter?this._dateFormatter:this.component?(this._dateFormatter=this.component.dateFormatter,this._dateFormatter):(this.dateFormatter=new u.C,this.dateFormatter)},set:function(t){this._dateFormatter=t},enumerable:!0,configurable:!0}),e.prototype.timestampUrl=function(t){var e=(new Date).getTime().toString(),i={};return i[e]="",this.addUrlParams(t,i)},e.prototype.dispose=function(){t.prototype.dispose.call(this),this._reloadTimeout&&clearTimeout(this._reloadTimeout),c.Uh(this._reloadDisposer)&&(this._reloadDisposer.dispose(),this._reloadDisposer=void 0)},e.prototype.load=function(){this.url&&(this._reloadTimeout&&clearTimeout(this._reloadTimeout),r.x.load(this))},e.prototype.addUrlParams=function(t,e){var i=t.match(/\?/)?"&":"?",n=[];return d.S6(e,(function(t,e){""!=e?n.push(t+"="+encodeURIComponent(e)):n.push(t)})),n.length?t+i+n.join("&"):t},e.prototype.processConfig=function(e){p.i.registeredClasses["json"]=s.c,p.i.registeredClasses["JSONParser"]=s.c,p.i.registeredClasses["csv"]=o.t,p.i.registeredClasses["CSVParser"]=o.t,t.prototype.processConfig.call(this,e)},e}(a.y)},2809:function(t,e,i){i.d(e,{c:function(){return a}});var n=i(60199),r=i(90023),s=i(52639),o=i(52248),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.contentType="application/json",e.options={},e}return(0,n.ZT)(e,t),e.isJSON=function(t){try{return JSON.parse(t),!0}catch(e){return!1}},e.prototype.parse=function(t){var e,i=this;try{o.Uh(JSON)&&(e=JSON.parse(t))}catch(p){return}var n=o.Uh(this.options.emptyAs),r=this.parsableNumbers,a=this.parsableDates;if(Array.isArray(e)&&(r||a||n))for(var h=function(t,o){var h=e[t];s.S6(h,(function(t,e){n&&(h[t]=i.maybeToEmpty(h[t])),r&&(h[t]=i.maybeToNumber(t,h[t])),a&&(h[t]=i.maybeToDate(t,h[t]))}))},l=0,u=e.length;l<u;l++)h(l,u);return e},e}(r._)},69785:function(t,e,i){i.d(e,{n:function(){return r}});var n=i(71015),r=function(){function t(){}return t.opacity=1,t.strokeOpacity=1,t.strokeWidth=1,t.fillOpacity=1,t.fill=(0,n.$_)("#000000"),t.stroke=(0,n.$_)("#000000"),t.focusable=void 0,t.tabindex=0,t}()},94212:function(t,e,i){i.d(e,{Q:function(){return p}});var n=i(60199),r=i(25980),s=i(79285),o=i(85020),a=i(81767),h=i(10431),l=i(52639),u=i(70874),p=function(t){function e(){var e=t.call(this)||this;return e.className="Cone",e.angle=30,e.radius=(0,h.aQ)(100),e.topRadius=(0,h.aQ)(100),e.top=e.createChild(o.P),e.top.shouldClone=!1,e.bottom=e.createChild(o.P),e.bottom.shouldClone=!1,e.body=e.createChild(s.jy),e.body.shouldClone=!1,e.body.setElement(e.paper.add("path")),e.layout="none",e.bodyFillModifier=new a.Y,e.bodyFillModifier.lightnesses=[0,-.25,0],e.body.fillModifier=e.bodyFillModifier,e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),l.BS(this,this.top,s.hh),l.BS(this,this.bottom,s.hh),l.BS(this,this.body,s.hh);var e,i,n,r=this.innerWidth,o=this.innerHeight,a=this.bottom,h=this.top,p=this.angle;
1"horizontal"==this.orientation?(e=o/2,a.y=o/2,a.x=0,h.y=o/2,h.x=r,i=(90-p)/90,n=0,this.bodyFillModifier.gradient.rotation=90):(i=0,n=(90-p)/90,e=r/2,a.y=o,a.x=r/2,h.x=r/2,this.bodyFillModifier.gradient.rotation=0);var c,d=this.radius.value*e,f=this.topRadius.value*e;a.radius=d-d*i,a.radiusY=d-d*n,h.radius=f-f*i,h.radiusY=f-f*n,c="horizontal"==this.orientation?u.Ao({x:0,y:o/2-a.radiusY})+u.dH(-90,-180,a.radius,a.radiusY)+u.kZ({x:r,y:o/2+h.radiusY})+u.dH(90,180,h.radius,h.radiusY)+u.ZM():u.Ao({x:r/2-h.radius,y:0})+u.dH(180,-180,h.radius,h.radiusY)+u.kZ({x:r/2+a.radius,y:o})+u.dH(0,180,a.radius,a.radiusY)+u.ZM(),this.body.path=c},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.W)},15381:function(t,e,i){i.d(e,{l:function(){return d}});i(70560);var n=i(60199),r=i(25980),s=i(79285),o=i(28502),a=i(70874),h=i(71015),l=i(96741),u=i(71311),p=i(42516),c=i(52248),d=function(t){function e(){var e=t.call(this)||this;e.angle=30,e.depth=30,e.className="Rectangle3D",e.layout="none";var i=e.createChild(s.jy);i.shouldClone=!1,i.setElement(e.paper.add("path")),i.isMeasured=!1,e.sideBack=i,e._disposers.push(e.sideBack);var n=e.createChild(s.jy);n.shouldClone=!1,n.setElement(e.paper.add("path")),n.isMeasured=!1,e.sideBottom=n,e._disposers.push(e.sideBottom);var r=e.createChild(s.jy);r.shouldClone=!1,r.setElement(e.paper.add("path")),r.isMeasured=!1,e.sideLeft=r,e._disposers.push(e.sideLeft);var o=e.createChild(s.jy);o.shouldClone=!1,o.setElement(e.paper.add("path")),o.isMeasured=!1,e.sideRight=o,e._disposers.push(e.sideRight);var a=e.createChild(s.jy);a.shouldClone=!1,a.setElement(e.paper.add("path")),a.isMeasured=!1,e.sideTop=a,e._disposers.push(e.sideTop);var h=e.createChild(s.jy);return h.shouldClone=!1,h.setElement(e.paper.add("path")),h.isMeasured=!1,e.sideFront=h,e._disposers.push(e.sideFront),e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.innerWidth,i=this.innerHeight,n=this.depth,r=this.angle,s=o.O$(r),h=o.mC(r),l={x:0,y:0},u={x:e,y:0},p={x:e,y:i},c={x:0,y:i},d={x:n*h,y:-n*s},f={x:n*h+e,y:-n*s},g={x:n*h+e,y:-n*s+i},y={x:n*h,y:-n*s+i};this.sideFront.path=a.Ao(l)+a.kZ(u)+a.kZ(p)+a.kZ(c)+a.ZM(),this.sideBack.path=a.Ao(d)+a.kZ(f)+a.kZ(g)+a.kZ(y)+a.ZM(),this.sideLeft.path=a.Ao(l)+a.kZ(d)+a.kZ(y)+a.kZ(c)+a.ZM(),this.sideRight.path=a.Ao(u)+a.kZ(f)+a.kZ(g)+a.kZ(p)+a.ZM(),this.sideBottom.path=a.Ao(c)+a.kZ(y)+a.kZ(g)+a.kZ(p)+a.ZM(),this.sideTop.path=a.Ao(l)+a.kZ(d)+a.kZ(f)+a.kZ(u)+a.ZM()},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(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),e.prototype.setFill=function(e){var i;if(t.prototype.setFill.call(this,e),c.Kn(e)&&!("r"in e)||(e=(0,h.p9)(e)),e instanceof h.Il)i=e.hex;else if(e instanceof u.o||e instanceof l.X)i=e.stops.getIndex(0).color.hex;else{var n=new p.H;n.lightness=-.2,this.sideBack.filters.push(n);var r=n.clone();r.lightness=-.4,this.sideLeft.filters.push(r);var s=n.clone();s.lightness=-.2,this.sideRight.filters.push(s);var o=n.clone();o.lightness=-.1,this.sideTop.filters.push(o);var a=n.clone();a.lightness=-.5,this.sideBottom.filters.push(a)}i&&(this.sideBack.fill=(0,h.$_)(i).lighten(-.2),this.sideLeft.fill=(0,h.$_)(i).lighten(-.4),this.sideRight.fill=(0,h.$_)(i).lighten(-.2),this.sideTop.fill=(0,h.$_)(i).lighten(-.1),this.sideBottom.fill=(0,h.$_)(i).lighten(-.5))},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.sideBack.copyFrom(e.sideBack),this.sideLeft.copyFrom(e.sideLeft),this.sideRight.copyFrom(e.sideRight),this.sideTop.copyFrom(e.sideTop),this.sideBottom.copyFrom(e.sideBottom)},e}(r.W)}
1,90107:function(t,e,i){i.d(e,{V:function(){return d}});i(70560);var n=i(60199),r=i(15950),s=i(79285),o=i(28502),a=i(70874),h=i(52248),l=i(71015),u=i(96741),p=i(71311),c=i(42516),d=function(t){function e(){var e=t.call(this)||this;e.className="Slice3D",e.layout="none";var i=e.createChild(s.jy);e.edge=i,i.shouldClone=!1,i.isMeasured=!1,i.toBack(),e.angle=30,e.depth=20;var n=e.createChild(s.jy);e.sideA=n,n.shouldClone=!1,n.isMeasured=!1;var r=e.createChild(s.jy);return e.sideB=r,r.shouldClone=!1,r.isMeasured=!1,e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.setFill=function(e){var i;if(t.prototype.setFill.call(this,e),e instanceof l.Il)i=e.hex;else if(e instanceof p.o||e instanceof u.X)i=e.stops.getIndex(0).color.hex;else{var n=new c.H;n.lightness=-.25,this.edge.filters.push(n),this.sideA.filters.push(n.clone()),this.sideB.filters.push(n.clone())}if(i){var r=(0,l.$_)(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,s=this.radius,h=e+i,l=r/s*n,u={x:o.mC(e)*n,y:o.O$(e)*l},p={x:o.mC(e)*s,y:o.O$(e)*r},c={x:o.mC(h)*s,y:o.O$(h)*r},d={x:o.mC(h)*n,y:o.O$(h)*l},f=this.depth,g={x:u.x,y:u.y-f},y={x:p.x,y:p.y-f},m={x:c.x,y:c.y-f},v={x:d.x,y:d.y-f},b="",_=Math.ceil(i/5),x=i/_,P=e,w=y,O=0;O<_;O++)if(P+=x,P>0&&P<180){b+=a.Ao(w);var S={x:o.mC(P)*s,y:o.O$(P)*r-f};b+=a.kZ({x:w.x,y:w.y+f}),b+=a.iw({x:S.x,y:S.y+f},s,r,!0),b+=a.kZ(S),b+=a.iw(w,s,r),b+="z",w=S}else{b+=a.Ao(w);S={x:o.mC(P)*s,y:o.O$(P)*r-f};b+=a.iw(S,s,r,!0),b+=a.kZ({x:S.x,y:S.y+f}),b+=a.iw({x:w.x,y:w.y+f},s,r),b+=a.kZ(w),b+="z",w=S}w=g,P=e;for(O=0;O<_;O++)if(P+=x,P>0&&P<180){b+=a.Ao(w);S={x:o.mC(P)*n,y:o.O$(P)*l-f};b+=a.kZ({x:w.x,y:w.y+f}),b+=a.iw({x:S.x,y:S.y+f},n,l,!0),b+=a.kZ(S),b+=a.iw(w,n,l),b+="z",w=S}else{b+=a.Ao(w);S={x:o.mC(P)*n,y:o.O$(P)*l-f};b+=a.iw(S,n,l,!0),b+=a.kZ({x:S.x,y:S.y+f}),b+=a.iw({x:w.x,y:w.y+f},n,l),b+=a.kZ(w),b+="z",w=S}this.edge.path=b,this.sideA.path=a.Ao(u)+a.kZ(p)+a.kZ(y)+a.kZ(g)+a.ZM(),this.sideB.path=a.Ao(c)+a.kZ(d)+a.kZ(v)+a.kZ(m)+a.ZM(),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 h.hj(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 h.hj(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.p)},96572:function(t,e,i){i.d(e,{z:function(){return l}});i(70560);var n=i(60199),r=i(25980),s=i(64531),o=i(16555),a=i(20646),h=i(69580),l=function(t){function e(){var e=t.call(this)||this;e.className="Button",e.tooltipY=0,e.iconPosition="left",e.layout="horizontal",e.contentAlign="center",e.contentValign="middle",e.padding(8,16,8,16),e.setStateOnChildren=!0;var i=new a.h,n=e.background;n.fill=i.getFor("secondaryButton"),n.stroke=i.getFor("secondaryButtonStroke"),n.fillOpacity=1,n.strokeOpacity=1,n.cornerRadius(3,3,3,3),e.label=new s._,e.label.fill=i.getFor("secondaryButtonText"),e.label.shouldClone=!1;var r=n.states.create("hover");r.properties.fillOpacity=1,r.properties.fill=i.getFor("secondaryButtonHover");var o=n.states.create("down");return o.transitionDuration=100,o.properties.fill=i.getFor("secondaryButtonDown"),o.properties.fillOpacity=1,e.role="button",e.focusable=!0,e.applyTheme(),e}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"icon",{get:function(){return this._icon},set:function(t){var e=this._icon;e&&(e.parent=void 0),t&&(this._icon=t,t.parent=this,t.interactionsEnabled=!1,t.shouldClone=!1,this.iconPosition=this.iconPosition,this._disposers.push(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconPosition",{get:function(){return this.getPropertyValue("iconPosition")},set:function(t){this.setPropertyValue("iconPosition",t),this.icon&&("left"==t?this.icon.toBack():this.icon.toFront())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label},set:function(t){this._label&&this.removeDispose(this._label),this._label=t,t&&(t.parent=this,t.interactionsEnabled=!1,this._disposers.push(this._label))},enumerable:!0,configurable:!0}
1),e.prototype.createBackground=function(){return new o.c},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.label&&this.label.copyFrom(e.label),e.icon&&(this.icon=e.icon.clone())},e}(r.W);h.i.registeredClasses["Button"]=l},75144:function(t,e,i){i.d(e,{C:function(){return l}});var n=i(60199),r=i(79285),s=i(10431),o=i(69580),a=i(81245),h=i(28502),l=function(t){function e(){var e=t.call(this)||this;return e.className="Circle",e.element=e.paper.add("circle"),e.setPercentProperty("radius",(0,s.aQ)(100)),e.setPropertyValue("horizontalCenter","middle"),e.setPropertyValue("verticalCenter","middle"),e.applyTheme(),e}return(0,n.ZT)(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 a.Iy(this.radius,h.VV(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.jy);o.i.registeredClasses["Circle"]=l},85020:function(t,e,i){i.d(e,{P:function(){return o}});var n=i(60199),r=i(75144),s=i(69580),o=function(t){function e(){var e=t.call(this)||this;return e.className="Ellipse",e.element=e.paper.add("ellipse"),e.applyTheme(),e}return(0,n.ZT)(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.C);s.i.registeredClasses["Ellipse"]=o},64531:function(t,e,i){i.d(e,{_:function(){return g}});i(70560),i(13429);var n=i(60199),r=i(25980),s=i(69580),o=i(43419),a=i(73818),h=i(20646),l=i(28502),u=i(81245),p=i(52248),c=i(19606),d=i(58403),f=i(95298),g=function(t){function e(){var e=t.call(this)||this;return e.isOversized=!1,e.className="Label",e.fill=(new h.h).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(0,n.ZT)(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||s.i.events.once("exitframe",this.hardInvalidate,this)},e.prototype.handleMaxSize=function(){(this.bbox.width>this.availableWidth||this.bbox.width<this.availableWidth&&(this.isOversized||this.truncate)||this.bbox.height>this.availableHeight||this.bbox.height<this.availableHeight&&this.isOversized)&&this.invalidate()},e.prototype.arrange=function(){},e.prototype.updateCurrentText=function(){var t,e;u.UE(this.html)&&this.paper.supportsForeignObject()?(t="html",e=this.html):(t="svg",e=this.text),p.Kn(e)&&(e=e.toString()),p.Uh(e)&&""!==e&&(e=this.populateString(e,this.dataItem)),"html"==t?this._adapterO&&(e=this._adapterO.apply("htmlOutput",e)):this._adapterO&&(e=this._adapterO.apply("textOutput",e));var i=e!=this.currentText||t!=this._currentFormat;return this.currentText=e,this._currentFormat=t,i},e.prototype.hardInvalidate=function(){this._prevStatus="",this.invalidate()},e.prototype.getLineBBox=function(t){var e=t&&t.element,i=e&&e.node;i&&i.parentNode&&(t.bbox=e.getBBox())},e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.bbox.width,i=this.bbox.height,n=this.topParent;if(!n||n.maxWidth&&n.maxHeight){var r=l.Fp(this.availableWidth-this.pixelPaddingLeft-this.pixelPaddingRight,0),s=l.Fp(this.availableHeight-this.pixelPaddingTop-this.pixelPaddingBottom,0),a=s+","+r+this.wrap+this.truncate+this.fullWords+this.rtl+this.ellipsis;if(this.updateCurrentText()||!this.inited||this._prevStatus!=a){this._measuredWidth=0,this._measuredHeight=0,this.isOversized=!1;var h=this._currentFormat,c=this.currentText;if(p.Uh(c)&&""!=c){var d=c.split("\n");this._prevStatus=a,this.textAlign=this.textAlign;var f=this.group.getAttr("display");if("none"==f&&this.group.removeAttr("display"),this.textPathElement&&this.textPathElement.removeChildren(),"svg"===h){this.element.removeAttr("display");var g=this.element;this.resetBBox();for(var y=0,m="",v=0;v<d.length;v++){var b=d[v];if(""!=b){var _=(0,o.k)().chunk(b,null,this.ignoreFormatting),x=0,P=!0,w=!1,O=this.getLineInfo(v);O?(O.text="",O.element.textContent=""):(O={text:"",element:this.getSVGLineElement("",0),complex:!1},g.add(O.element)),O.element.removeAttr("display"),O.element.removeChildren(),this.textPathElement&&O.element.add(this.textPathElement);for(var S=0;S<_.length;S++){S&&(O.complex=!0);var C=_[S];if("format"===C.type)m=C.text;else{if(w)continue;if(O.text=C.text,O.style=(0,o.k)().translateStyleShortcuts(m),this.textPathElement?this.get
1SvgElement(O.text,O.style,this.textPathElement):this.getSvgElement(O.text,O.style,O.element),this.getLineBBox(O),O.bbox.width=Math.ceil(O.bbox.width),x<O.bbox.height&&(x=O.bbox.height),(this.wrap||this.truncate)&&O.bbox.width>r){this.isOversized=!0;var k=O.element.textContent,T=O.bbox.width/k.length,j=l.VV(Math.ceil((O.bbox.width-r)/T),k.length);if(this.truncate){var D=!1,I=O.element.node;if(I&&I.childNodes)for(var M=O.element.node.childNodes.length-1;M>=0;M--){var V=O.element.node.childNodes[M];if(D&&O.bbox.width<=r&&(V.textContent+=" "+this.ellipsis,O.bbox=O.element.getBBox(),O.bbox.width=Math.floor(O.bbox.width),O.bbox.width<=r))break;D=!1;var F=V.textContent;k=O.element.textContent,j=l.VV(Math.ceil((O.bbox.width-r)/T),k.length);while(O.bbox.width>r&&j<=k.length&&j>0){var E=l.Fp(k.length-j-this.ellipsis.length,1);E<=1&&(j=0,M>0&&(D=!0,O.element.node.removeChild(V))),F=u.nA(F,E,this.ellipsis,this.fullWords,this.rtl),F.length>E&&this.fullWords&&(F=u.nA(F,E,this.ellipsis,!1,this.rtl)),V.textContent=F,O.bbox=O.element.getBBox(),O.bbox.width=Math.floor(O.bbox.width),j=Math.ceil(1.1*j)}w=!0}}else{var L=O.element.node;if(L){var A=O.element.node.lastChild,R=void 0;while(O.bbox.width>r&&j<=k.length&&j>0){E=l.Fp(C.text.length-j,1);if(P?R=u.pQ(C.text,E,!0,this.rtl):(R=u.pQ(C.text,E,!0,this.rtl,!1),(R[0].length>E||1===E)&&(O.element.node.removeChild(A),j=0)),j>0){var B=R.shift();P&&(B=u.fy(B)),A.textContent=(0,o.k)().cleanUp(B)}O.bbox=O.element.getBBox(),O.bbox.width=Math.floor(O.bbox.width),j++}if(R.length>0){var H="";p.Uh(R)&&(this.rtl?H+=R.join("")+m:H+=m+R.join("").replace(/([\[\]]{1})/g,"$1$1"));for(var U=S+1;U<_.length;U++)"value"==_[U].type?H+=_[U].text.replace(/([\[\]]{1})/g,"$1$1"):H+=_[U].text;d.splice(v+1,0,H)}w=!0}}}this.bbox.width<O.bbox.width&&(this.bbox.width=O.bbox.width),this.bbox.height=y+x,this.textPathElement?O.element.attr({dy:-this.paddingBottom.toString()}):O.element.attr({x:"0",y:y+x,dy:l.NM(this.baseLineRatio*x,3).toString()}),P=!1}}var N=O.element.node;if(N){A=N.lastChild;A&&(A.textContent=this.rtl?u.j3(A.textContent):u.oL(A.textContent))}y+=x,this.addLineInfo(O,v)}else{var W=this.getSVGLineElement("",0);W.add(this.getSvgElement(".",(0,o.k)().translateStyleShortcuts(m))),g.add(W);var z=Math.ceil(W.getBBox().height);z>0&&(y+=z),g.removeElement(W);var G=this.getLineInfo(v);G&&(G.text="",G.element.textContent="")}}this.maybeHideOversized(),this.measureFailed=!1,0!=this.bbox.width&&0!=this.bbox.height||(this.measureFailed=!0),this._measuredWidth=l.NM(l.Fp(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight)),this._measuredHeight=l.NM(l.Fp(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;g.removeChildren(),this.setCache("lineInfo",[],0);var Z=this.paper.foreignObject();g.add(Z),this.maxWidth&&Z.attr({width:this.maxWidth-this.pixelPaddingLeft-this.pixelPaddingRight}),this.maxHeight&&Z.attr({height:this.maxHeight-this.pixelPaddingTop-this.pixelPaddingBottom});var X=this.getHTMLLineElement(c);Z.node.appendChild(X),X.style.display="inline-block";var K=X.clientWidth,Y=X.clientHeight;X.style.display="block",this._bbox={x:0,y:0,width:K,height:Y},Z.attr({width:K+1,height:Y}),this.maybeHideOversized(),this._measuredWidth=l.Fp(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight),this._measuredHeight=l.Fp(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,this.truncate&&(X.style.overflow="hidden"),(K>r||Y>s)&&(this.isOversized=!0)}
1this.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<this.bbox.width||this.availableHeight<this.bbox.height?(this.element.attr({display:"none"}),this.isOversized=!0):(this.element.removeAttr("display"),this.isOversized=!1))},e.prototype.alignSVGText=function(){var t=this.element,e=t.node.children||t.node.childNodes;if(e&&(!e||0!=e.length)){var i=this._measuredWidth,n=this._measuredHeight;u.A5(this.pixelPaddingLeft),u.A5(this.pixelPaddingRight),u.A5(this.pixelPaddingTop),u.A5(this.pixelPaddingBottom),this.rtl?t.attr({direction:"rtl"}):t.removeAttr("direction");for(var r=e.length-1;r>=0;r--){var s=e[r];if(s.setAttribute("text-anchor",this.textAlign),this.textPathElement)s.removeAttribute("x"),s.removeAttribute("y");else{switch(this.textAlign){case"middle":s.setAttribute("x",(i/2).toString()+"px");break;case"end":this.rtl||s.setAttribute("x",i.toString());break;default:this.rtl?s.setAttribute("x",i.toString()):s.removeAttribute("text-anchor");break}var o=p.He(s.getAttribute("y"));switch(this.textValign){case"middle":s.setAttribute("y",((o||0)+(n-this.bbox.height)/2).toString());break;case"bottom":s.setAttribute("y",((o||0)+n-this.bbox.height).toString());break;default:s.setAttribute("y",(o||0).toString());break}}}}},e.prototype.getSVGLineElement=function(t,e){var i=this.paper.addGroup("text");return i.textContent=t,i.attr({x:"0"}),p.Uh(e)&&i.attr({y:e.toString()}),(this.truncate||this.wrap)&&i.attr({overflow:"hidden"}),i},Object.defineProperty(e.prototype,"rtl",{get:function(){return p.Uh(this._rtl)?this._rtl:!!this._topParent&&this._topParent.rtl},set:function(t){t=p.sw(t),this._rtl=t,this.element&&this.alignSVGText()},enumerable:!0,configurable:!0}),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";break}return this.wrap?e.style.wordWrap="break-word":e.style.whiteSpace="nowrap",this.rtl&&(e.style.direction="rtl"),p.Uh(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;i<e.length;i++){var n=e[i];n&&n.element&&n.element.attr({display:"none"})}},Object.defineProperty(e.prototype,"text",{get:function(){return this.getPropertyValue("text")},set:function(t){this.setPropertyValue("text",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this.getPropertyValue("path")},set:function(t){this.setPropertyValue("path",t,!0)&&(this.pathElement&&this.pathElement.dispose(),this.textPathElement&&this.textPathElement.dispose(),this.pathElement=this.paper.add("path"),this.pathElement.attr({d:t}),this.pathElement.attr({id:"text-path-"+this.uid}),this._disposers.push(this.pathElement),this.textPathElement=this.paper.addGroup("textPath"),this.textPathElement.attrNS(c.Xz,"xlink:href","#text-path-"+this.uid),this.textPathElement.attr({path:t}),this._disposers.push(this.textPathElement),this.hardInvalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"locationOnPath",{get:function(){return this.getPropertyValue("locationOnPath")},set:function(t){this.setPropertyValue("locationOnPath",t),this.textPathElement&&this.textPathElement.attr({startOffset:100*t+"%"})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"baseLineRatio",{get:function(){return this.getPropertyValue("baseLineRatio")},set:function(t){this.setPropertyValue("baseLineRatio",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrap",{get:function(){return this.getPropertyValue("wrap")},set:function(t){this.resetBBox(),this.setPropertyValue("wrap",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"truncate",{get:function(){return this.getPropertyValue("truncate")}
1,set:function(t){this.resetBBox(),this.setPropertyValue("truncate",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullWords",{get:function(){return this.getPropertyValue("fullWords")},set:function(t){this.setPropertyValue("fullWords",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ellipsis",{get:function(){return this.getPropertyValue("ellipsis")},set:function(t){this.setPropertyValue("ellipsis",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectable",{get:function(){return this.getPropertyValue("selectable")},set:function(t){this.setPropertyValue("selectable",t,!0),this.setStyles()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textAlign",{get:function(){return this.getPropertyValue("textAlign")},set:function(t){this.setPropertyValue("textAlign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textValign",{get:function(){return this.getPropertyValue("textValign")},set:function(t){this.setPropertyValue("textValign",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"html",{get:function(){return this.getPropertyValue("html")},set:function(t){if(this.setPropertyValue("html",t,!0),!p.Uh(t)){var e=this.element;e.removeChildrenByTag("foreignObject")}},enumerable:!0,configurable:!0}),e.prototype.setFill=function(e){if(t.prototype.setFill.call(this,e),this.html)for(var i=this.element,n=i.node.getElementsByTagName("div"),r=0;r<n.length;r++){var s=n[r];p.Uh(this.fill)&&(s.style.color=this.fill.toString())}},Object.defineProperty(e.prototype,"hideOversized",{get:function(){return this.getPropertyValue("hideOversized")},set:function(t){this.setPropertyValue("hideOversized",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignoreFormatting",{get:function(){return this.getPropertyValue("ignoreFormatting")},set:function(t){this.setPropertyValue("ignoreFormatting",t,!0)},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){},e.prototype.getLineInfo=function(t){this.initLineCache();var e=this.getCache("lineInfo");return e.length>t?e[t]:void 0},e.prototype.addLineInfo=function(t,e){this.initLineCache(),this.getCache("lineInfo")[e]=t},e.prototype.initLineCache=function(){p.Uh(this.getCache("lineInfo"))||this.setCache("lineInfo",[],0)},e.prototype.setDataItem=function(e){this._sourceDataItemEvents&&this._sourceDataItemEvents.dispose(),e&&(this._sourceDataItemEvents=new a.FV([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 p.Uh(this.maxWidth)?this.maxWidth:this.pixelWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"availableHeight",{get:function(){return p.Uh(this.maxHeight)?this.maxHeight:this.pixelHeight},enumerable:!0,configurable:!0}),e.prototype.getSvgElement=function(t,e,i){var n=this.paper.add("tspan");if(n.textContent=t,e)if(f.Y.nonce&&i){var r="amcharts_element_style_"+btoa(e).replace(/[^\w]*/g,"");n.node.setAttribute("class",r);var s=document.createElementNS(c.qu,"defs");i.node.appendChild(s);var o=document.createElement("style");o.type="text/css",o.innerHTML="."+r+" { "+e+"}",o.setAttribute("nonce",f.Y.nonce),s.appendChild(o)}else n.node.setAttribute("style",e);return i&&i.add(n),n},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?this.dataItem&&(t=this.populateString(t)):t=this.populateString(u.Kd(u.UE(this.html)?this.html:this.text)),t},set:function(t){t=p.lr(t),this.setPropertyValue("readerTitle",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),e}(r.W);s.i.registeredClasses["Label"]=g,d.IH.push({relevant:d.Xf.heightXS,state:function(t,e){if(t instanceof g&&t.parent&&t.parent.isBaseSprite){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})}
1,19035:function(t,e,i){i.d(e,{x:function(){return u}});var n=i(60199),r=i(79285),s=i(71015),o=i(71311),a=i(69580),h=i(52248),l=i(28502),u=function(t){function e(){var e=t.call(this)||this;return e.className="Line",e.element=e.paper.add("line"),e.fill=(0,s.$_)(),e.x1=0,e.y1=0,e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.x1==this.x2||this.y1==this.y2?this.pixelPerfect=!0:this.pixelPerfect=!1,this.x1=this.x1,this.x2=this.x2,this.y1=this.y1,this.y2=this.y2},Object.defineProperty(e.prototype,"x1",{get:function(){return this.getPropertyValue("x1")},set:function(t){h.hj(t)||(t=0);var e=0;this.pixelPerfect&&this.stroke instanceof o.o&&(e=1e-5),this.setPropertyValue("x1",t,!0),this.element.attr({x1:t+e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"x2",{get:function(){var t=this.getPropertyValue("x2");return h.hj(t)||(t=this.pixelWidth),t},set:function(t){h.hj(t)||(t=0),this.setPropertyValue("x2",t,!0),this.element.attr({x2:t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y1",{get:function(){return this.getPropertyValue("y1")},set:function(t){h.hj(t)||(t=0);var e=0;this.pixelPerfect&&this.stroke instanceof o.o&&(e=1e-5),this.setPropertyValue("y1",t,!0),this.element.attr({y1:t+e})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y2",{get:function(){var t=this.getPropertyValue("y2");return h.hj(t)||(t=this.pixelHeight),t},set:function(t){h.hj(t)||(t=0),this.setPropertyValue("y2",t,!0),this.element.attr({y2:t})},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e={x:this.x1,y:this.y1},i={x:this.x2,y:this.y2},n=l.SO(e,i,t),r=l._O(e,i);return{x:n.x,y:n.y,angle:r}},e}(r.jy);a.i.registeredClasses["Line"]=u},18485:function(t,e,i){i.d(e,{u:function(){return o}});var n=i(60199),r=i(29532),s=i(98306),o=function(t){function e(){var e=t.call(this)||this;return e.adapter=new s.L1(e),e.className="Modal",e.showCurtain=!0,e.draggable=!1,e}return(0,n.ZT)(e,t),e}(r.G)},66494:function(t,e,i){i.d(e,{i:function(){return o}});var n=i(60199),r=i(93566),s=i(28502),o=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(0,n.ZT)(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=this.pointerX,o=this.pointerY,a=this.pointerBaseWidth/2,h=s.VV(i/2,n/2),l=s.C7(e,0,h),u=s.C7(e,0,h),p=s.C7(e,0,h),c=s.C7(e,0,h),d=0,f=0,g=i,y=0,m=i,v=n,b=0,_=n,x=void 0,P=void 0,w=void 0,O=void 0,S=(r-d)*(v-f)-(o-f)*(m-d),C=(r-b)*(y-_)-(o-_)*(g-b);if(S>0&&C>0){var k=s.C7(r,l+a,i-a-u);o=s.C7(o,-1/0,0),x="M"+l+",0 L"+(k-a)+",0 L"+r+","+o+" L"+(k+a)+",0 L"+(i-u)+",0"}else x="M"+l+",0 L"+(i-u)+",0";if(S<0&&C<0){k=s.C7(r,c+a,i-a-p);o=s.C7(o,n,1/0),w=" L"+(i-p)+","+n+" L"+(k+a)+","+n+" L"+r+","+o+" L"+(k-a)+","+n+" L"+c+","+n}else w=" L"+c+","+n;if(S<0&&C>0){var T=s.C7(o,l+a,n-c-a);r=s.C7(r,-1/0,0),O=" L0,"+(n-c)+" L0,"+(T+a)+" L"+r+","+o+" L0,"+(T-a)+" L0,"+l}else O=" L0,"+l;if(S>0&&C<0){T=s.C7(o,u+a,n-a-p);r=s.C7(r,i,1/0),P=" L"+i+","+u+" L"+i+","+(T-a)+" L"+r+","+o+" L"+i+","+(T+a)+" L"+i+","+(n-p)}else P=" L"+i+","+(n-p);var j=" a"+u+","+u+" 0 0 1 "+u+","+u,D=" a"+p+","+p+" 0 0 1 -"+p+","+p,I=" a"+c+","+c+" 0 0 1 -"+c+",-"+c,M=" a"+l+","+l+" 0 0 1 "+l+",-"+l;this.path=x+j+P+D+w+I+O+M}},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.j)},93566:function(t,e,i){i.d(e,{j:function(){return o}});var n=i(60199),r=i(79285),s=i(52248),o=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(0,n.ZT)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),s.hj(this.pointerX)||(this.pointerX=this.pixelWidth/2),s.hj(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")}
1,set:function(t){this.setPropertyValue("pointerY",t,!0)},enumerable:!0,configurable:!0}),e}(r.jy)},79223:function(t,e,i){i.d(e,{y:function(){return h}});i(70560);var n=i(60199),r=i(44065),s=i(69580),o=i(28502),a=i(70874),h=function(t){function e(){var e=t.call(this)||this;return e.className="Polyarc",e.controlPointDistance=.5,e.controlPointPosition=.5,e.applyTheme(),e}return(0,n.ZT)(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;i<n;i++){var r=t[i],s=[];if(this._realSegments.push(s),r.length>0){e+=a.Ao(r[0]);for(var h=1;h<r.length;h++){var l=r[h-1],u=r[h],p=o.Sp(u,l),c=p*this.controlPointDistance,d=this.controlPointPosition,f=-o._O(l,u),g=l.x+(u.x-l.x)*d*.5-c*o.O$(f),y=l.y+(u.y-l.y)*d*.5-c*o.mC(f),m={x:g,y:y},v=l.x+(u.x-l.x)*d*1.5-c*o.O$(f),b=l.y+(u.y-l.y)*d*1.5-c*o.mC(f),_={x:v,y:b};e+=a.EZ(u,m,_);var x=Math.ceil(p),P=l;if(x>0)for(var w=0;w<=x;w++){var O=o.zI(l,u,m,_,w/x);s.push(O),this._distance+=o.Sp(P,O),P=O}else s.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);s.i.registeredClasses["Polyarc"]=h},89023:function(t,e,i){i.d(e,{m:function(){return l}});i(70560);var n=i(60199),r=i(79285),s=i(22959),o=i(69580),a=i(70874),h=i(52248),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(0,n.ZT)(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),n=i.split("ZM"),r=0;r<n.length;r++){var s=n[r];if(s.length>0){var o=s.split("M"),a=o[0],h=o[1];if(a&&a.length>0){var l=a.split("L");if(l.length>0){var u=[],p=[u];t.push(p);for(var c=0;c<l.length;c++){var d=l[c].split(",");u.push({x:+d[0],y:+d[1]})}if(h&&h.length>0){var f=h.split("L");if(f.length>0){var g=[];p.push(g);for(c=f.length-1;c>=0;c--){d=f[c].split(",");g.push({x:+d[0],y:+d[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,s="",o=this._currentPoints;if(o.length>0){for(var l=0,u=o.length;l<u;l++){var p=o[l][0],c=o[l][1];if(p&&p.length>0){var d=p[0];s+=a.Ao(d);for(var f=0;f<p.length;f++)d=p[f],s+=a.kZ(d),(!h.hj(i)||i<d.x)&&(i=d.x),(!h.hj(e)||e>d.x)&&(e=d.x),(!h.hj(n)||n>d.y)&&(n=d.y),(!h.hj(r)||r<d.y)&&(r=d.y)}if(c&&c.length>0){d=c[0];s+=a.Ao(d);for(var g=0,y=c.length;g<y;g++)d=c[g],s+=a.kZ(d)}}s&&(s+=a.ZM()),this.bbox.x=e,this.bbox.y=n,this.bbox.width=i-e,this.bbox.height=r-n,t.prototype.setPath.call(this,s)}},e.prototype.setPath=function(e){return!!t.prototype.setPath.call(this,e)&&(this.points=[],this._bbox=this.group.getBBox(),!0)},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"centerPoint",{get:function(){return{x:this.bbox.x+this.bbox.width/2,y:this.bbox.y+this.bbox.height/2}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"morpher",{get:function(){return this._morpher||(this._morpher=new s.T(this),this._disposers.push(this._morpher)),this._morpher},enumerable:!0,configurable:!0}),e}(r.jy);o.i.registeredClasses["Polygon"]=l},44065:function(t,e,i){i.d(e,{a:function(){return l}});var n=i(60199),r=i(79285),s=i(71015),o=i(69580),a=i(70874),h=i(28502),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=(0,s.$_)(),e.strokeOpacity=1,e.a
1pplyTheme(),e}return(0,n.ZT)(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;i<n;i++){var r=t[i];if(r.length>0){e+=a.Ao(r[0]);for(var s=1;s<r.length;s++){var o=r[s];e+=a.kZ(o),this._distance+=h.Sp(r[s-1],o)}}}this.path=e}this._realSegments=t},Object.defineProperty(e.prototype,"segments",{get:function(){return this.getPropertyValue("segments")},set:function(t){this.setPropertyValue("segments",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"distance",{get:function(){return this._distance},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t){var e=0;t<0&&(t=Math.abs(t),e=180);var i=this._realSegments;if(i){for(var n=this.distance,r=0,s=void 0,o=0,a=0,l=void 0,u=void 0,p=0;p<i.length;p++){var c=i[p];if(c.length>1){for(var d=1;d<c.length;d++)if(l=c[d-1],u=c[d],o=r/n,s=h.Sp(l,u),r+=s,a=r/n,o<=t&&a>t){p=i.length;break}}else 1==c.length&&(l=c[0],u=c[0],o=0,a=1)}if(l&&u){var f=(t-o)/(a-o),g=h.SO(l,u,f);return{x:g.x,y:g.y,angle:e+h._O(l,u)}}}return{x:0,y:0,angle:0}},Object.defineProperty(e.prototype,"realSegments",{get:function(){return this._realSegments},enumerable:!0,configurable:!0}),e}(r.jy);o.i.registeredClasses["Polyline"]=l},15158:function(t,e,i){i.d(e,{o:function(){return l}});i(70560);var n=i(60199),r=i(44065),s=i(69580),o=i(28502),a=i(52248),h=i(70874),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(0,n.ZT)(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,s=t.length;r<s;r++){var a=t[r],l=[];if(this._realSegments.push(l),a.length>0){var u=a[0],p=a[a.length-1],c=!1;o.NM(u.x,3)==o.NM(p.x)&&o.NM(u.y)==o.NM(p.y)&&(c=!0),n+=h.Ao(a[0]);for(var d=0;d<a.length-1;d++){var f=a[d-1],g=a[d],y=a[d+1],m=a[d+2];0===d?f=a[d]:d==a.length-2&&(m=a[d+1]),m||(m=y),0===d?f=c?a[a.length-2]:a[r]:d==a.length-2&&(m=c?a[1]:a[d+1]);var v=o.je(f,g,y,m,e,i),b=o.WL(f,g,y,m,e,i);n+=h.EZ(y,v,b);var _=1.2*Math.ceil(o.Up(g,y,v,b,20)),x=g;if(_>0)for(var P=0;P<=_;P++){var w=o.zI(g,y,v,b,P/_);if(w.x!=x.x||w.y!=x.y){l.push(w);var O=o.NM(o._O(x,w),5);this._distance+=o.Sp(x,w),this.allPoints[Math.floor(this._distance)]={x:w.x,y:w.y,angle:O},x=w}}else l.push(f)}}var S=this.allPoints;if(S.length>1)for(var C=0;C<S.length;C++)if(!S[C])if(C>1)S[C]=S[C-1];else for(var k=1;k<S.length;k++)if(S[k]){S[C]=S[k];break}}this.path=n}},e.prototype.getClosestPointIndex=function(t){var e,i=this.allPoints,n=1/0;if(i.length>1)for(var r=1;r<i.length;r++){var s=o.Sp(t,i[r]);s<n&&(e=r,n=s)}return e},Object.defineProperty(e.prototype,"tensionX",{get:function(){return this.getPropertyValue("tensionX")},set:function(t){this.setPropertyValue("tensionX",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tensionY",{get:function(){return this.getPropertyValue("tensionY")},set:function(t){this.setPropertyValue("tensionY",t,!0),this.makePath()},enumerable:!0,configurable:!0}),e.prototype.positionToPoint=function(t,e){var i=0,n=this.allPoints,r=n.length;if(a.hj(t)||(t=0),r>1){if(e&&r>3){if(t<0){t<-.01&&(t=-.01);var s=n[0],h=n[1],l=s.x-(s.x-h.x)*r*t,u=s.y-(s.y-h.y)*r*t;return{x:l,y:u,angle:o._O(s,h)}}if(t>1){t>1.01&&(t=1.01);s=n[n.length-2],h=n[n.length-3],l=s.x+(s.x-h.x)*r*(t-1),u=s.y+(s.y-h.y)*r*(t-1);return{x:l,y:u,angle:o._O(s,{x:l,y:u})}}if(1==t){var p=n[n.length-1];return{x:p.x,y:p.y,angle:p.angle}}}else t<0&&(t=Math.abs(t),i=180),t>=1&&(t=.9999999999999);var c=n[Math.floor(t*r)];return{x:c.x,y:c.y,angle:c.angle+i}}if(1==r){c=n[0];return{x:c.x,y:c.y,angle:c.angle}}return{x:0,y:0,angle:0}},e}(r.a);s.i.registeredClasses["Polyspline"]=l},29532:function(t,e,i){i.d(e,{G:function(){return y}});i(70560);var n=i(60199),r=i(19606),s=i(64142),o=i(73818),a=i(20646),h=new s.Xy;function l(t,e){e||(e="ampopup");var i=new a.h,n=i.getFor("text"),s=i.getFor("background");s.alpha=.8;var l=i.getFor("alternativeBackground");l.alpha=.05;var u=h.insertKeyIfEmpty(e,(function(){var i=new o.FV([new r.u0(t,"."+e,{overflow:"visible",position:"absolute",top:"0",left:"0","z-index":"2000"}),new r.u0(t,"."+e+"-curtain",{width:"100%",height:"100%",position:"absolute",top:"0",left:"0","z-index":"2001","background-color":s.hex,opacity:"0.5"}),new r.u0(t,"."+e+"-header",{display:"block",width:"100%","min-height":"1.8em",background:l.rgba}),new r.u0(t,"."+e+"-title",{"font-weight":"bold","font-size":"110%",padding:"0.5em 1.2em 0.5em 1em"}),new r.u0(t,"."+e+"-content",{background:s.hex,"background-color":s.rgba,color:n.hex,display:"inline-block",position:"absolute",top:"0",left:"0","max-width":"90%","max-height":"90%",overflow:"auto","z-index":"2002"}),new r.u0(t,"."+e+"-inside",{padding:"1em"}),new r.u0(t,"."+e+"-close",{display:"block",position:"absolute",top:"0.3em",right:"0.3em","background-color":"rgb(100, 100, 100)",background:"rgba(100, 100, 100, 0.1) url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyBoZWlnaHQ9IjUxMiIgdmVyc2lvbj0iMSIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHdpZHRoPSI1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ0NS4yIDEwOS4ybC00Mi40LTQyLjRMMjU2IDIxMy42IDEwOS4yIDY2LjhsLTQyLjQgNDIuNEwyMTMuNiAyNTYgNjYuOCA0MDIuOGw0Mi40IDQyLjRMMjU2IDI5OC40bDE0Ni44IDE0Ni44IDQyLjQtNDIuNEwyOTguNCAyNTYiLz48L3N2Zz4=) no-repeat center","background-size":"80%",width:"1.2em",height:"1.2em",cursor:"pointer"})]);return new o.DM((function(){h.removeKey(e),i.dispose()}))}));return u.increment()}var u=i(98306),p=i(56399),c=i(15993),d=i(2513),f=i(52248),g=i(52639),y=function(t){function e(){var e=t.call(this)||this;
1return e.adapter=new u.L1(e),e._elements={},e._IOs={},e._content="",e._title="",e._classPrefix="ampopup",e._defaultStyles=!0,e._showCurtain=!1,e._draggable=!0,e._align="center",e._dynamicResize=!0,e._verticalAlign="middle",e._shift={x:0,y:0},e._tempShift={x:0,y:0},e._readerTitle="",e._closable=!0,e._cssLoaded=!1,e._fitTo="window",e.isTemplate=!1,e._sized=!1,e.className="Popup",e}return(0,n.ZT)(e,t),e.prototype.open=function(){this.container&&(this._elements.wrapper&&this.container.appendChild(this._elements.wrapper),this._elements.curtain&&(this.container.appendChild(this._elements.curtain),this.showCurtain=this.showCurtain),this.positionElement(),this.dispatchImmediately("opened"))},e.prototype.close=function(){this._elements.wrapper&&this._elements.wrapper.parentElement&&this._elements.wrapper.parentElement.removeChild(this._elements.wrapper),this._elements.curtain&&this._elements.curtain.parentElement&&this._elements.curtain.parentElement.removeChild(this._elements.curtain),this.dispatchImmediately("closed"),this.releasePointers()},e.prototype.dispose=function(){this.close(),t.prototype.dispose.call(this)},e.prototype.positionElement=function(t){var e=this;void 0===t&&(t=!0),this._elements.wrapper&&setTimeout((function(){if(e._elements.wrapper){if(t||!e._sized){e._elements.wrapper.style.opacity="0.01",e._elements.wrapper.style.left="0",e._elements.wrapper.style.top="0",e._elements.wrapper.style.margin="0 0 0 0",e._elements.wrapper.style.width="",e._elements.wrapper.style.height="";var i=e._elements.wrapper.getBoundingClientRect();e._elements.wrapper.style.width=i.width+"px",e._elements.wrapper.style.height=i.height+"px",e._sized=!0}if(e.dynamicResize)for(var n=e._elements.wrapper.getElementsByTagName("img"),r=0;r<n.length;r++){var s=n[r];if(!s.complete){s.addEventListener("load",(function(){e.positionElement(!0)}));break}}setTimeout((function(){if(e._elements.wrapper){var i;switch(!t&&e._sized||!e._bbox?(i=e._elements.wrapper.getBoundingClientRect(),e._elements.wrapper.style.opacity=""):i=e._bbox,e.align){case"left":e._elements.wrapper.style.left="0",e._elements.wrapper.style.right="auto",e._elements.wrapper.style.marginLeft=e.toStyle(e._shift.x+e._tempShift.x);break;case"center":e._elements.wrapper.style.left="50%",e._elements.wrapper.style.right="auto",e._elements.wrapper.style.marginLeft=e.toStyle(Math.round(-i.width/2)+(e._shift.x+e._tempShift.x));break;case"right":e._elements.wrapper.style.left="auto",e._elements.wrapper.style.right="0",e._elements.wrapper.style.marginLeft=e.toStyle(e._shift.x+e._tempShift.x);break;default:e._elements.wrapper.style.left=e.toStyle(e.left)||"auto",e._elements.wrapper.style.right=e.toStyle(e.right)||"auto",e._elements.wrapper.style.marginLeft=e.toStyle(e._shift.x+e._tempShift.x);break}switch(e.verticalAlign){case"top":e._elements.wrapper.style.top="0",e._elements.wrapper.style.bottom="auto",e._elements.wrapper.style.marginTop=e.toStyle(e._shift.y+e._tempShift.y);break;case"middle":e._elements.wrapper.style.top="50%",e._elements.wrapper.style.bottom="auto",e._elements.wrapper.style.marginTop=e.toStyle(Math.round(-i.height/2)+(e._shift.y+e._tempShift.y));break;case"bottom":e._elements.wrapper.style.top="auto",e._elements.wrapper.style.bottom="0",e._elements.wrapper.style.marginTop=e.toStyle(e._shift.y+e._tempShift.y);break;default:e._elements.wrapper.style.top=e.toStyle(e.top)||"auto",e._elements.wrapper.style.bottom=e.toStyle(e.bottom)||"auto",e._elements.wrapper.style.marginTop=e.toStyle(e._shift.y+e._tempShift.y);break}}}),1)}}),1)},e.prototype.setupDragging=function(){var t=this;this.draggable?(this._IOs.header.events.has("drag")||this._IOs.header.events.on("drag",(function(e){t._tempShift.x=e.shift.x,t._tempShift.y=e.shift.y,t.positionElement(!1)})),this._IOs.header.events.has("dragstop")||this._IOs.header.events.on("dragstop",(function(e){t._shift.x+=t._tempShift.x,t._shift.y+=t._tempShift.y,t._tempShift.x=0,t._tempShift.y=0,t.positionElement(!1)}))):this._IOs.header&&((0,c.S)().unprepElement(this._IOs.header),this._IOs.header.events.has("drag")&&this._IOs.header.events.off("drag"),this._IOs.header.events.has("dragstop")&&this._IOs.header.events.off("dragstop"))},e.prototype.toStyle=function(t){return f.Uh(t)?f.hj(t)?t+"px":t.toString():null},Object.defineProperty(e.prototype,"classPrefix",{get:function(){return this.adapter.apply("classPrefix",this._classPrefix)},set:function(t){this._classPrefix=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classPrefixRaw",{get:function(){return this._classPrefix},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"content",{get:function(){return this.adapter.apply("content",this._content)},set:function(t){this._content!=t&&(this._content=t,this._elements.content||this.createContentElement(),this._elements.content.innerHTML=t,this.positionElement())},enumerable:!0,configurable:!0}),e.prototype.getClassNames=function(){return this.adapter.apply("classNames",{wrapperClass:this.classPrefix+"",headerClass:this.classPrefix+"-header",titleClass:this.classPrefix+"-title",contentClass:this.classPrefix+"-content",insideClass:this.classPrefix+"-inside",curtainClass:this.classPrefix+"-curtain",closeClass:this.classPrefix+"-close"})},e.prototype.createContentElement=function(){if(!this._elements.wrapper){var t=this.getClassNames(),e=document.createElement("div");e.className=t.contentClass,e.style.opacity="0.01";var i=document.createElement("a");i.className=t.closeClass;var n=document.createElement("div");n.className=t.headerClass;var r=document.createElement("div");r.innerHTML=this.title,r.className=t.titleClass,this.title||(r.style.display="none");var s=document.createElement("div");s.className=t.insideClass,s.innerHTML=this.content,this._IOs.wrapper=(0,c.S)().getInteraction(e),this._IOs.header=(0,c.S)().getInteraction(n),this._disposers.push(this._IOs.wrapper),this._IOs.wrapper.events.on("over",this.disablePointers,this),this._IOs.wrapper.events.on("out",this.releasePointers,this),this._IOs.close=(0,c.S)().getInteraction(i),this._disposers.push(this._IOs.close),i.style.visibility="hidden",e.setAttribute("role","dialog"),n.appendChild(i),n.appendChild(r),e.a
1ppendChild(n),e.appendChild(s),this.container.appendChild(e),this._elements.wrapper=e,this._elements.header=n,this._elements.content=s,this._elements.title=r,this._elements.close=i,this.defaultStyles&&this.loadDefaultCSS(),this.createCurtainElement(),this.applyEvents(),this.applyReaderSettings(),this.setupDragging()}},Object.defineProperty(e.prototype,"title",{get:function(){return this.adapter.apply("title",this._title)},set:function(t){this._title!=t&&(this._title=t,this._elements.content||this.createContentElement(),this._elements.title.innerHTML=t,this.positionElement(),this.applyReaderSettings())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readerTitle",{get:function(){return this.adapter.apply("readerTitle",""!=this._readerTitle?this._readerTitle:this.title)},set:function(t){this._readerTitle!=t&&(this._readerTitle=t,this.applyReaderSettings())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closable",{get:function(){return this.adapter.apply("closable",this._closable)},set:function(t){t!==this._closable&&(this._closable=t,this.applyEvents())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fitTo",{get:function(){return this.adapter.apply("fitTo",this._fitTo)},set:function(t){t!=this._fitTo&&(this._fitTo=t,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultStyles",{get:function(){return this.adapter.apply("defaultStyles",this._defaultStyles)},set:function(t){this._defaultStyles!=t&&(this._defaultStyles=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showCurtain",{get:function(){return this.adapter.apply("showCurtain",this._showCurtain)},set:function(t){this._showCurtain!=t&&(this._showCurtain=t,this._elements.curtain&&(this._elements.curtain.style.display=t?"block":"none"))},enumerable:!0,configurable:!0}),e.prototype.createCurtainElement=function(){var t=this.getClassNames(),e=document.createElement("div");e.className=t.curtainClass,this.container.appendChild(e),this._IOs.curtain=(0,c.S)().getInteraction(e),this._disposers.push(this._IOs.curtain),this._IOs.curtain.events.on("over",this.disablePointers,this),this._IOs.curtain.events.on("out",this.releasePointers,this),e.style.display=this.showCurtain?"block":"none",this._elements.curtain=e},Object.defineProperty(e.prototype,"draggable",{get:function(){return this.adapter.apply("draggable",this._draggable)},set:function(t){this._draggable!=t&&(this._draggable=t,this.setupDragging())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dynamicResize",{get:function(){return this.adapter.apply("dynamicResize",this._dynamicResize)},set:function(t){this._dynamicResize!=t&&(this._dynamicResize=t,this.positionElement(!0))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.adapter.apply("align",this._align)},set:function(t){this._align!=t&&(this._align=t,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalAlign",{get:function(){return this.adapter.apply("verticalAlign",this._verticalAlign)},set:function(t){this._verticalAlign!=t&&(this._verticalAlign=t,this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.adapter.apply("left",this._left)},set:function(t){this.left!=t&&(this._left=t,this._align="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"right",{get:function(){return this.adapter.apply("right",this._right)},set:function(t){this.right!=t&&(this._right=t,this._align="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.adapter.apply("top",this._top)},set:function(t){this.top!=t&&(this._top=t,this._verticalAlign="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottom",{get:function(){return this.adapter.apply("bottom",this._bottom)},set:function(t){this.bottom!=t&&(this._bottom=t,this._verticalAlign="none",this.positionElement())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),e.prototype.loadDefaultCSS=function(){this._cssLoaded||(this._disposers.push(l((0,r.Ay)(this.container),this.classPrefix)),g.S6(this._elements,(function(t,e){e.style.display=""})),this._cssLoaded=!0)},e.prototype.applyEvents=function(){var t=this;if(this._IOs.close)if(this.closable){this._IOs.close.element.style.visibility="visible";var e=[(0,c.S)().body.events.on("keyup",(function(e){d.d.isKey(e.event,"esc")&&t.closable&&t.close()})),this._IOs.close.events.on("hit",(function(e){t.close()}))];e.push(this._IOs.curtain.events.on("hit",(function(e){t.showCurtain&&t.closable&&t.close()}))),this._disposers.push(new o.FV(e))}else this._IOs.close.element.style.visibility="hidden"},e.prototype.disablePointers=function(){this.sprite&&(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled,this.sprite.interactionsEnabled=!1)},e.prototype.releasePointers=function(){f.Uh(this._spriteInteractionsEnabled)&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled,this._spriteInteractionsEnabled=void 0)},e.prototype.applyReaderSettings=function(){this.elements.wrapper.setAttribute("aria-label",this.readerTitle)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.container=e.container,this.sprite=e.sprite,this.classPrefix=e.classPrefixRaw,this.content=e.content,this.title=e.title,this.readerTitle=e.readerTitle,this.defaultStyles=e.defaultStyles,this.showCurtain=e.showCurtain,this.align=e.align,this.verticalAlign=e.verticalAlign,this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.adapter.copyFrom(e.adapter)},e}(p.y)}
1,76699:function(t,e,i){i.d(e,{A:function(){return a}});var n=i(60199),r=i(79285),s=i(69580),o=i(28502),a=function(t){function e(){var e=t.call(this)||this;return e.className="Rectangle",e.element=e.paper.add("rect"),e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this._positionPrecision;this.pixelPerfect&&(e=0);var i=o.NM(this.innerWidth,e),n=o.NM(this.innerHeight,e);this.element.attr({width:i,height:n})},e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.isMeasured?{x:0,y:0,width:this.innerWidth,height:this.innerHeight}:{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),e}(r.jy);s.i.registeredClasses["Rectangle"]=a},90619:function(t,e,i){i.d(e,{H:function(){return l}});var n=i(60199),r=i(96572),s=i(79285),o=i(20646),a=i(69580),h=i(70874),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 s.jy;i.element=e.paper.add("path");var n=h.Ao({x:-2,y:-6});return n+=h.kZ({x:-2,y:6}),n+=h.Ao({x:2,y:-6}),n+=h.kZ({x:2,y:6}),i.path=n,i.pixelPerfect=!0,i.padding(0,4,0,4),i.stroke=(new o.h).getFor("alternativeText"),i.strokeOpacity=.7,e.icon=i,e.label.dispose(),e.label=void 0,e.applyTheme(),e}return(0,n.ZT)(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.z);a.i.registeredClasses["ResizeButton"]=l},16555:function(t,e,i){i.d(e,{c:function(){return l}});var n=i(60199),r=i(79285),s=i(69580),o=i(28502),a=i(52248),h=i(81245),l=function(t){function e(){var e=t.call(this)||this;return e.className="RoundedRectangle",e.element=e.paper.add("path"),e.cornerRadius(3,3,3,3),e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.innerWidth,i=this.innerHeight;if(a.hj(e)&&a.hj(i)){var n=o.VV(e,i)/2,r=h.Iy(this.cornerRadiusTopLeft,n),s=h.Iy(this.cornerRadiusTopRight,n),l=h.Iy(this.cornerRadiusBottomRight,n),u=h.Iy(this.cornerRadiusBottomLeft,n),p=o.VV(Math.abs(e/2),Math.abs(i/2)),c=o.C7(r,0,p),d=o.C7(s,0,p),f=o.C7(l,0,p),g=o.C7(u,0,p),y="M"+c+",0 L"+(e-d)+",0",m=" L"+g+","+i,v=" L0,"+c,b=" L"+e+","+(i-f),_=" a"+d+","+d+" 0 0 1 "+d+","+d,x=" a"+f+","+f+" 0 0 1 -"+f+","+f,P=" a"+g+","+g+" 0 0 1 -"+g+",-"+g,w=" a"+c+","+c+" 0 0 1 "+c+",-"+c,O=y+_+b+x+m+P+v+w+" Z";this.path=O}},e.prototype.cornerRadius=function(t,e,i,n){this.cornerRadiusTopLeft=t,this.cornerRadiusTopRight=e,this.cornerRadiusBottomLeft=i,this.cornerRadiusBottomRight=n},Object.defineProperty(e.prototype,"cornerRadiusTopLeft",{get:function(){return this.getPropertyValue("cornerRadiusTopLeft")},set:function(t){this.setPercentProperty("cornerRadiusTopLeft",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusTopRight",{get:function(){return this.getPropertyValue("cornerRadiusTopRight")},set:function(t){this.setPercentProperty("cornerRadiusTopRight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusBottomRight",{get:function(){return this.getPropertyValue("cornerRadiusBottomRight")},set:function(t){this.setPercentProperty("cornerRadiusBottomRight",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadiusBottomLeft",{get:function(){return this.getPropertyValue("cornerRadiusBottomLeft")},set:function(t){this.setPercentProperty("cornerRadiusBottomLeft",t,!0)},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){},Object.defineProperty(e.prototype,"bbox",{get:function(){return this.definedBBox?this.definedBBox:this.isMeasured?{x:0,y:0,width:this.innerWidth,height:this.innerHeight}:{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),e}(r.jy);s.i.registeredClasses["RoundedRectangle"]=l},79406:function(t,e,i){i.d(e,{L:function(){return v}});i(70560);var n=i(60199),r=i(25980),s=i(90619),o=i(96572),a=i(15993),h=i(87614),l=i(16555),u=i(69580),p=i(2513),c=i(20646),d=i(10431),f=i(28502),g=i(29520),y=i(52248),m=i(81245),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._e,e.margin(10,10,10,10);var i=new c.h,n=e.background;return n.cornerRadius(10,10,10,10),n.fill=i.getFor("fill"),n.fillOpacity=.5,e.showSystemTooltip=!0,e.startGrip=new s.H,e.endGrip=new s.H,e.events.on("transformed",(function(){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":"
10"}),e.setSVGAttribute({"aria-valuemax":"100"}),e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),"horizontal"===this.orientation?(y.Uh(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB to select grip buttons or left and right arrows to change selection")),y.Uh(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use left and right arrows to move selection")),y.Uh(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use left and right arrows to move left selection")),y.Uh(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use left and right arrows to move right selection")),this.readerOrientation="horizontal"):(y.Uh(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB select grip buttons or up and down arrows to change selection")),y.Uh(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use up and down arrows to move selection")),y.Uh(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use up and down arrows to move upper selection")),y.Uh(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=m.Ou(e,this.background,this);var i=this.thumb;if("horizontal"==this.orientation){var n=e.x-i.pixelWidth/2;n=f.C7(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.C7(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(t){if(void 0===t&&(t=!0),this.parent){var e,i,n=this.thumb,r=this.start,s=this.end,o=this.startGrip,a=this.endGrip,h=this.adapter.apply("positionValueDirection",{flipped:!1}).flipped,l=h?"To %1":"From %1",u=h?"From %1":"To %1";if("horizontal"==this.orientation){var p=this.innerWidth;n.width=p*(s-r),n.maxX=p-n.pixelWidth,n.x=r*p,o.moveTo({x:n.pixelX,y:0},void 0,void 0,!0),a.moveTo({x:n.pixelX+n.pixelWidth,y:0},void 0,void 0,!0),e=this.adapter.apply("positionValue",{value:Math.round(100*r)+"%",position:r}).value,i=this.adapter.apply("positionValue",{value:Math.round(100*s)+"%",position:s}).value,o.readerTitle=this.language.translate(l,void 0,e),o.readerValueNow=""+Math.round(100*r),o.readerValueText=o.readerTitle,a.readerTitle=this.language.translate(u,void 0,i),a.readerValueNow=""+Math.round(100*s),a.readerValueText=a.readerTitle}else{var c=this.innerHeight;n.height=c*(s-r),n.maxY=c-n.pixelHeight,n.y=(1-s)*c,o.moveTo({x:0,y:n.pixelY+n.pixelHeight},void 0,void 0,!0),a.moveTo({x:0,y:n.pixelY},void 0,void 0,!0),e=this.adapter.apply("positionValue",{value:Math.round(100*(1-r))+"%",position:1-r}).value,i=this.adapter.apply("positionValue",{value:Math.round(100*(1-s))+"%",position:1-s}).value,o.readerTitle=this.language.translate(u,void 0,e),o.readerValueNow=""+Math.round(100*r),o.readerValueText=o.readerTitle,a.readerTitle=this.language.translate(l,void 0,i),a.readerValueNow=""+Math.round(100*s),a.readerValueText=a.readerTitle}n.readerTitle=this.language.translate("From %1 to %2",void 0,e,i),n.readerValueNow=""+Math.round(100*r),n.readerValueText=n.readerTitle,this.readerValueNow=""+Math.round(100*r),this.readerValueText=n.readerTitle,!this._skipRangeEvents&&this.updateWhileMoving&&t&&this.dispatchRangeChange()}},e.prototype.updateExtremes=function(){var t=this.orientation,e=0,i=0,n=0,r=0;"horizontal"==t?(n=this.innerWidth,i=r=this.innerHeight/2):(r=this.innerHeight,e=n=this.innerWidth/2);var s=this.startGrip;s.minX=e,s.maxX=n,s.minY=i,s.maxY=r;var o=this.endGrip;o.minX=e,o.maxX=n,o.minY=i,o.maxY=r;var a=this.thumb;a.minX=e,a.maxX=n,a.minY=i,a.maxY=r},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?(y.hj(this._pixelWidth)||this.width instanceof d.gG||(this.width=(0,d.aQ)(100)),y.Uh(this.percentHeight)&&(this.height=this.minHeight),i.height=this.innerHeight,i.verticalCenter="middle",i.horizontalCenter="left"):(y.hj(this._pixelHeight)||this.height instanceof d.gG||(this.height=(0,d.aQ)(100)),y.Uh(this.percentWidth)&&(this.width=this.minWidth),i.width=this.innerWidth,i.verticalCenter="top",i.horizontalCenter="middle"))},Object.defineProperty(e.prototype,"isBusy",{get:function(){return this._isBusy},enumerable:!0,configurable:!0}),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.NM(this._start,2)&&t.end==f.NM(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.C7(f.NM(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=h.c.horizontalResize,this.endGrip.cursorOverStyle=h.c.horizontalResize):(this.startGrip.cursorOverStyle=h.c.verticalResize,this.endGrip.cursorOverStyle=h.c.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.focu
1sable=!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),t.events.on("up",this.makeUnbusy,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 o.z;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=h.c.grab,t.cursorDownStyle=h.c.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((0,a.S)().body.events.on("keyup",(function(t){p.d.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,s=t.innerHeight,o=t.pixelY;o+s>r&&(o=r-s,t.y=o),this._start=1-(o+s)/r,this._end=1-o/r,this.updateThumb()}},e.prototype.createBackground=function(){return new l.c},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.W);u.i.registeredClasses["Scrollbar"]=v},15950:function(t,e,i){i.d(e,{p:function(){return d}});i(70560);var n=i(60199),r=i(25980),s=i(79285),o=i(69580),a=i(28502),h=i(70874),l=i(52248),u=i(81245),p=i(10431),c=i(96741),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(s.jy),e.slice.isMeasured=!1,e._disposers.push(e.slice),e.applyTheme(),e}return(0,n.ZT)(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=h.Nb(this.startAngle,this.arc,this.radius,this.pixelInnerRadius,e,this.cornerRadius,this.innerCornerRadius),this.slice.invalidate(),this.shiftRadius=this.shiftRadius,this.realFill instanceof c.X&&this.updateGradient(this.realFill),this.realStroke instanceof c.X&&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=a.nJ(this.startAngle,this.startAngle+this.arc,this.pixelInnerRadius),e=a.nJ(this.startAngle,this.startAngle+this.arc,this.radius);return a.DP([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")}
1,set:function(t){this.setPropertyValue("startAngle",a.LW(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(t){l.hj(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.hj(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.hj(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 u.Iy(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),t=this.getPropertyValue("shiftRadius"),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 a.mC(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iy",{get:function(){return a.O$(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.hj(t))return t;var e=.5;t instanceof p.gG&&(e=t.value);var i=u.Iy(this.innerRadius,this.radius);return this.ix*(i+(this.radius-i)*e)},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipY");if(l.hj(t))return t;var e=.5;t instanceof p.gG&&(e=t.value);var i=u.Iy(this.innerRadius,this.radius);return this.iy*(i+(this.radius-i)*e)+this.slice.dy},e}(r.W);o.i.registeredClasses["Slice"]=d},52150:function(t,e,i){i.d(e,{h:function(){return h}});var n=i(60199),r=i(64531),s=i(87614),o=i(20646),a=i(69580),h=function(t){function e(){var e=t.call(this)||this;e.className="TextLink",e.selectable=!0;var i=new o.h;e.fill=i.getFor("primaryButton").brighten(.3);var n=e.states.create("hover");n.properties.fill=i.getFor("primaryButtonHover").brighten(.3);var r=e.states.create("down");return r.properties.fill=i.getFor("primaryButtonDown").brighten(.3),e.cursorOverStyle=s.c.pointer,e.applyTheme(),e}return(0,n.ZT)(e,t),e}(r._);a.i.registeredClasses["TextLink"]=h},58519:function(t,e,i){i.d(e,{u:function(){return f}});i(70560);var n=i(60199),r=i(25980),s=i(69580),o=i(66494),a=i(64531),h=i(80677),l=i(71015),u=i(60209),p=i(28502),c=i(29520),d=i(81245),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.fixDoc=!0,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=(0,l.$_)("#ffffff"),i.cornerRadius=3,i.pointerLength=6,i.pointerBaseWidth=10;var n=new u.p;n.dy=1,n.dx=1,n.opacity=.5,i.filters.push(n),e.autoTextColor=!0;var r=e.createChild(a._);return r.shouldClone=!1,e.label=r,r.padding(7,12,4,12),r.interactionsEnabled=!1,r.horizontalCenter="middle",r.fill=(0,l.$_)("#ffffff"),e._disposers.push(r),e.label.events.on("sizechanged",e.drawBackgroun
1d,e),e.label.zIndex=1,e.pointerOrientation="vertical",e.animationDuration=0,e.animationEasing=c._e,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(0,n.ZT)(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 o.i},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,s=this._pointTo.y,o=this._boundingRect,a=e.measuredWidth,h=e.measuredHeight,l=this.background.pointerLength;if(this.ignoreBounds&&(o=void 0),o&&this.fixDoc&&a>o.width){d.zy({x:o.x,y:o.y},this.parent);var u=d.zy({x:o.x+o.width,y:o.y+o.height},this.parent),c=document.body.offsetWidth;d.A5(document.body.offsetHeight),u.x>c/2?o.x=o.width-a:o.width=o.x+a}var f=this.pointerOrientation;"horizontal"==f||"left"==f||"right"==f?(n=-h/2,i="horizontal"==f?o&&r>o.x+o.width/2?-a/2-l:a/2+l:"left"==f?a/2+l:-a/2-l):(o&&(i=p.C7(0,o.x-r+a/2,o.x-r+o.width-a/2)),"vertical"==f?o&&s>o.y+h+l?(n=-h-l,this._verticalOrientation="up"):(n=l,this._verticalOrientation="down"):"down"==f?(n=-h-l,this._verticalOrientation="up"):(n=l,this._verticalOrientation="down")),o&&(n=p.C7(n,o.y-s,o.y+o.height-h-s)),e.x=i,e.y=n,this.drawBackground()}
1,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,s=i,o=t.pixelX-i/2,a=n,h=t.pixelY,l=this._pointTo.x,u=this._pointTo.y,c=r.x-l,d=c+r.width,f=r.y-u,g=f+r.height;e.x=o,e.y=h,e.width=s,e.height=a,this.fitPointerToBounds?(e.pointerX=p.C7(-e.x,c-e.x,d-e.x),e.pointerY=p.C7(-e.y,f-e.y,g-e.y)):(e.pointerX=-e.x,e.pointerY=-e.y),e.validate()},e.prototype.delayedPointTo=function(t,e){var i=this;this._pointToDisposer&&this._pointToDisposer.dispose(),this._pointToDisposer=s.i.events.once("exitframe",(function(){i.pointTo(t,e)})),this.addDisposer(this._pointToDisposer)},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 h.fw(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.pm({x:t.pixelX,y:t.pixelY,width:t.maxWidth,height:t.maxHeight},t);this.setBounds(e)},Object.defineProperty(e.prototype,"ignoreBounds",{get:function(){return this.getPropertyValue("ignoreBounds")},set:function(t){this.setPropertyValue("ignoreBounds",t)},enumerable:!0,configurable:!0}),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.W);s.i.registeredClasses["Tooltip"]=f},55591:function(t,e,i){i.d(e,{Z:function(){return u}});var n=i(60199),r=i(79285),s=i(10431),o=i(69580),a=i(81245),h=i(52248),l=i(70874),u=function(t){function e(){var e=t.call(this)||this;return e.className="Trapezoid",e.element=e.paper.add("path"),e.topSide=(0,s.aQ)(100),e.bottomSide=(0,s.aQ)(100),e.leftSide=(0,s.aQ)(100),e.rightSide=(0,s.aQ)(100),e.isMeasured=!1,e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this);var e=this.pixelWidth,i=this.pixelHeight,n=a.Iy(this.topSide,e),r=a.Iy(this.bottomSide,e),s=a.Iy(this.leftSide,i),o=a.Iy(this.rightSide,i),u=(e-n)/2,p=(i-s)/2,c=e-(e-n)/2,d=(i-o)/2,f=e-(e-r)/2,g=i-(i-o)/2,y=(e-r)/2,m=i-(i-s)/2,v="",b="",_="",x="";if(h.Uh(this.horizontalNeck)){var P=this.horizontalNeck.value;v=l.kZ({x:e*P,y:Math.max(p,d)}),_=l.kZ({x:e*P,y:Math.min(g,m)})}if(h.Uh(this.verticalNeck)){var w=this.verticalNeck.value;b=l.kZ({x:Math.min(c,f),y:i*w}),x=l.kZ({x:Math.max(u,y),y:i*w})}var O=l.Ao({x:u,y:p})+v+l.kZ({x:c,y:d})+b+l.kZ({x:f,y:g})+_+l.kZ({x:y,y:m})+x;this.path=O},Object.defineProperty(e.prototype,"topSide",{get:function(){return this.getPropertyValue("topSide")},set:function(t){this.setPercentProperty("topSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bottomSide",{get:function(){return this.getPropertyValue("bottomSide")},set:function(t){this.setPercentProperty("bottomSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftSide",{get:function(){return this.getPropertyValue("leftSide")},set:function(t){this.setPercentProperty("leftSide",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightSide",{get:function(){return this.getPropertyValue("rightSide")},set:function(t){this.setPercentProperty("rightSide",t,!0,!1,10,
1!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontalNeck",{get:function(){return this.getPropertyValue("horizontalNeck")},set:function(t){this.setPropertyValue("horizontalNeck",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalNeck",{get:function(){return this.getPropertyValue("verticalNeck")},set:function(t){this.setPropertyValue("verticalNeck",t,!0)},enumerable:!0,configurable:!0}),e}(r.jy);o.i.registeredClasses["Trapezoid"]=u},8136:function(t,e,i){i.d(e,{C:function(){return a}});var n=i(60199),r=i(79285),s=i(69580),o=i(70874),a=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(0,n.ZT)(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=o.Ao({x:0,y:0})+o.kZ({x:i,y:n/2})+o.kZ({x:0,y:n})+o.ZM();break;case"left":e=o.Ao({x:i,y:0})+o.kZ({x:0,y:n/2})+o.kZ({x:i,y:n})+o.ZM();break;case"bottom":e=o.Ao({x:0,y:0})+o.kZ({x:i,y:0})+o.kZ({x:i/2,y:n})+o.ZM();break;case"top":e=o.Ao({x:i/2,y:0})+o.kZ({x:i,y:n})+o.kZ({x:0,y:n})+o.ZM();break}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.jy);s.i.registeredClasses["Triangle"]=a},60966:function(t,e,i){i.d(e,{U:function(){return u}});i(70560);var n=i(60199),r=i(75144),s=i(69580),o=i(70874),a=i(28502),h=i(81245),l=i(50292),u=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(0,n.ZT)(e,t),e.prototype.draw=function(){var t="",e=this.pixelRadius;if(e>0){var i=this.getPoints(e);t=o.Ao(i[0])+new l.Jb(this.tension,this.tension).smooth(i)}var n=this.pixelInnerRadius;if(n>0){i=this.getPoints(n);i.reverse(),t+=o.Ao(i[0])+new l.Jb(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,s=[],o=e/n,h=0;h<=o;h++){var l=h*n/e*360,u=(h*n+r)/e*360;s.push({x:(t-i)*a.mC(l),y:(t-i)*a.O$(l)}),s.push({x:(t+i)*a.mC(u),y:(t+i)*a.O$(u)})}return s.pop(),s},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 h.Iy(this.innerRadius,a.VV(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.C);s.i.registeredClasses["WavedCircle"]=u},60484:function(t,e,i){i.d(e,{$:function(){return h}});var n=i(60199),r=i(19035),s=i(71015),o=i(50292),a=i(70874),h=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=(0,s.$_)(),e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.draw=function(){var t={x:this.x1,y:this.y1},e={x:this.x2,y:this.y2};this.path=a.Ao(t)+(0,o.A0)(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")}
1,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.x)},97732:function(t,e,i){i.d(e,{T:function(){return a}});var n=i(60199),r=i(76699),s=i(50292),o=i(70874),a=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(0,n.ZT)(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},a={x:e,y:i},h={x:0,y:i},l=Math.min(e,this.waveLength),u=Math.min(i,this.waveHeight),p=Math.min(i,this.waveLength),c=Math.min(e,this.waveHeight),d="",f="",g="",y="";this.wavedTop&&(d=(0,s.A0)(n,r,l,u,this.tension,!0)),this.wavedRight&&(f=(0,s.A0)(r,a,p,c,this.tension,!0)),this.wavedBottom&&(g=(0,s.A0)(a,h,l,u,this.tension,!0)),this.wavedLeft&&(y=(0,s.A0)(h,n,p,c,this.tension,!0)),this.path=o.Ao(n)+d+o.kZ(r)+f+o.kZ(a)+g+o.kZ(h)+y+"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)},82137:function(t,e,i){i.d(e,{x:function(){return u}});var n=i(60199),r=i(96572),s=i(79285),o=i(69580),a=i(20646),h=i(70874),l=i(52248),u=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 a.h,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 s.jy;r.element=e.paper.add("path");var o=h.Ao({x:0,y:0});return o+=h.kZ({x:11,y:0}),r.path=o,r.pixelPerfect=!0,r.padding(8,3,8,3),r.stroke=i.getFor("primaryButtonText"),e.icon=r,e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),l.Uh(this.readerTitle)||(this.readerTitle=this.language.translate("Zoom Out"))},e}(r.z);o.i.registeredClasses["ZoomOutButton"]=u},52804:function(t,e,i){i.d(e,{D:function(){return A}});i(70560),i(13429),i(98858),i(61318),i(33228),i(24224),i(61121),i(37133);var n,r=i(60199),s=i(67133),o=i(98306),a=i(79285),h=i(18485),l=i(4781),u=i(64142),p=i(86237),c=i(9888),d=i(42467),f=i(51763),g=i(42879),y=i(71015),m=i(69580),v=i(95298),b=i(19606),_=i(23017),x=i(52639),P=i(17578),w=i(52248),O=i(69594),S=i(81245),C=i(91564),k=i(28502),T=i(94339);function j(){return(0,r.mG)(this,void 0,void 0,(function(){var t,e,n,s;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return[4,Promise.all([i.e(643).then(i.t.bind(i,89770,23)),i.e(643).then(i.bind(i,95668))])];case 1:return t=r.sent(),e=t[0].default||t[0],n=t[1].default||t[1],s=window,s.pdfMake=s.pdfMake||{},s.pdfMake.vfs=n,e.vfs=n,[2,e]}}))}))}var D=/src: ([^;]+);/;function I(){return null!=window.navigator.msSaveOrOpenBlob}function M(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.readAsDataURL(t)}))}function V(t){return(0,r.mG)(this,void 0,void 0,(function(){var e;return(0,r.Jh)(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 <style> to load"))}),1e4)}))];case 3:return[2,i.sent()];case 4:return[2]}}
1))}))}function F(t,e,i){return(0,r.mG)(this,void 0,void 0,(function(){var n,s,o,a;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,P.z(e)];case 1:return n=r.sent(),[3,3];case 2:return s=r.sent(),console.error("Failed to load stylesheet",e,s),[2];case 3:o=t.createElement("style"),o.textContent=n.response,""!=v.Y.nonce&&o.setAttribute("nonce",v.Y.nonce),t.head.appendChild(o),r.label=4;case 4:return r.trys.push([4,,7,8]),[4,V(o)];case 5:return a=r.sent(),[4,E(t,e,a,i)];case 6:return r.sent(),[3,8];case 7:return t.head.removeChild(o),[7];case 8:return[2]}}))}))}function E(t,e,i,n){return(0,r.mG)(this,void 0,void 0,(function(){var s,o,a,h,l;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:for(s=[],o=i.length,a=0;a<o;a++)h=i[a],h.type===CSSRule.IMPORT_RULE?(l=h.href,l&&(l=S.pv(e,l),s.push(F(t,l,n)))):n(e,h);return s.length?[4,Promise.all(s)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))}function L(t){return(0,r.mG)(this,void 0,void 0,(function(){var e,i;return(0,r.Jh)(this,(function(n){switch(n.label){case 0:e=document.createElement("iframe"),e.src="about:blank",e.setAttribute("title",""),document.head.appendChild(e),n.label=1;case 1:return n.trys.push([1,,3,4]),i=e.contentDocument,[4,Promise.all(C.UI(document.styleSheets,(function(e){var n=e.href;return null==n?E(i,location.href,e.cssRules,t):(n=S.pv(location.href,n),F(i,n,t))})))];case 2:return n.sent(),[3,4];case 3:return document.head.removeChild(e),[7];case 4:return[2]}}
1))}))}var A=function(t){function e(e){var i=t.call(this)||this;return i.adapter=new o.L1(i),i._formatOptions=new u.Xy,i._extraSprites=[],i._validateSprites=[],i.dataFieldsOrder=[],i._dynamicDataFields=!0,i._removedObjects=new l.aV,i._hiddenObjects=[],i._objectsAlreadyHidden=!1,i._filePrefix="amCharts",i.useWebFonts=!0,i.useRetina=!0,i.useSimplifiedExport=!0,i.timeoutDelay=2e3,i._exportRunning=!1,i._prevHasData=!1,i._container=e,i.className="Export",i._formatOptions.setKey("png",{}),i._formatOptions.setKey("jpg",{quality:.8}),i._formatOptions.setKey("gif",{}),i._formatOptions.setKey("svg",{}),i._formatOptions.setKey("pdf",{fontSize:14,imageFormat:"png",align:"left",addURL:!0,addColumnNames:!0}),i._formatOptions.setKey("json",{indent:2,useLocale:!0}),i._formatOptions.setKey("csv",{addColumnNames:!0,emptyAs:"",addBOM:!0}),i._formatOptions.setKey("xlsx",{addColumnNames:!0,useLocale:!0,emptyAs:""}),i._formatOptions.setKey("html",{addColumnNames:!0,emptyAs:""}),i._formatOptions.setKey("pdfdata",{fontSize:14,imageFormat:"png",addURL:!0,addColumnNames:!0,emptyAs:""}),i._formatOptions.setKey("print",{delay:500,printMethod:"iframe"}),i.adapter.add("options",(function(t){var e=i._formatOptions.getKey(t.type);return t.options?t.options=x.TS(e,t.options):t.options=e,t})),i.applyTheme(),i.dispatchImmediately("inited"),i}return(0,r.ZT)(e,t),Object.defineProperty(e.prototype,"menu",{get:function(){return this._menu},set:function(t){var e=this;this._menu&&this.removeDispose(this._menu),this._menu=t,this._menu.container=this.container,this._menu.language=this._language,this._menu.adapter.add("branch",(function(t){return t.branch.unsupported=!e.typeSupported(t.branch.type),t})),this._menu.events.on("hit",(function(t){e.export(t.branch.type,t.branch.options),e.menu.close()})),this._menu.events.on("enter",(function(t){e.export(t.branch.type,t.branch.options),e.menu.close()})),this._menu.events.on("over",(function(t){e._disablePointers()})),this._menu.events.on("out",(function(t){setTimeout((function(){e._releasePointers()}),10)})),this.dispatchImmediately("menucreated"),this._menu.adapter.add("classPrefix",(function(t){return t.classPrefix=v.Y.classNamePrefix+t.classPrefix,t})),this._disposers.push(this._menu)},enumerable:!0,configurable:!0}),e.prototype.typeSupported=function(t){var e=!0,i=this.getFormatOptions(t);return w.Uh(i)&&i.disabled?e=!1:"pdf"===t||("xlsx"===t?e=!!this._hasData():("print"!=t||window.print)&&(-1===["json","csv","html","pdfdata"].indexOf(t)||this._hasData())||(e=!1)),this.adapter.apply("supported",{supported:e,type:t}).supported},e.prototype._hasData=function(){return this.data&&this.data.length},e.prototype._getFunction=function(t){switch(t){case"png":case"gif":case"jpg":return this.getImage;case"svg":return this.getSVG;case"pdf":case"pdfdata":return this.getPDF;case"xlsx":return this.getExcel;case"csv":return this.getCSV;case"json":return this.getJSON;case"html":return this.getHTML;case"print":return this.getPrint;default:return this.unsupported}},e.prototype.export=function(t,e){return(0,r.mG)(this,void 0,void 0,(function(){var i,n,s,o,a,h=this;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return"custom"==t?(this.handleCustom(e),[2,!0]):(this._exportRunning=!0,this.events.isEnabled("exportstarted")&&(i={type:"exportstarted",target:this,format:t,options:e},this.events.dispatchImmediately("exportstarted",i)),this.showPreloader(),this.timeoutDelay&&(this.hideTimeout(),this._timeoutTimeout=this.setTimeout((function(){if(h.events.isEnabled("exporttimedout")){var i={type:"exporttimedout",target:h,format:t,options:e};h.events.dispatchImmediately("exporttimedout",i)}h.showTimeout()}),this.timeoutDelay)),this.hideNonExportableSprites(),n=this._getFunction(t),e=this.adapter.apply("options",{options:e,type:t}).options,n=this.adapter.apply("exportFunction",{func:n,type:t,options:e}).func,[4,n.call(this,t,e)]);case 1:return s=r.sent(),this._exportRunning=!1,this._releasePointers(),this.restoreNonExportableSprites(),s?(this.events.isEnabled("exportfinished")&&(o={type:"exportfinished",target:this,format:t,options:e},this.events.dispatchImmediately("exportfinished",o)),this.hidePreloader(),this.hideTimeout(),this.menu&&this.menu.close(),"print"===t?[2,this.print(s,e,this.adapter.apply("title",{title:this.title,options:e}).title)]:"pdfdata"==t?[2,this.download(s,this.filePrefix+".pdf")]:[2,this.download(s,this.filePrefix+"."+t,e&&e.addBOM)]):(this.events.isEnabled("error")&&(a={type:"error",target:this,format:t,options:e},this.events.dispatchImmediately("error",a)),[2,!1])}}))}))},e.prototype.unsupported=function(t,e){return(0,r.mG)(this,void 0,void 0,(function(){return(0,r.Jh)(this,(function(t){return[2,""]}))}
1))},e.prototype.handleCustom=function(t){w.Uh(t)&&w.Uh(t.callback)&&t.callback.call(t.callbackTarget||this,t)},e.prototype.getPrint=function(t,e){return(0,r.mG)(this,void 0,void 0,(function(){return(0,r.Jh)(this,(function(t){return[2,this.getImage("png",e)]}))}))},e.prototype.getFontFamilies=function(){return(0,r.mG)(this,void 0,void 0,(function(){var t,e,i,n,s=this;return(0,r.Jh)(this,(function(o){switch(o.label){case 0:return t=this.getDOMURL(),e=[],i=[],[4,L((function(n,o){if(o.type===CSSRule.FONT_FACE_RULE){var a=o.cssText,h=D.exec(a);if(null!==h){var l=h[1].split(/ *, */).map((function(i){return(0,r.mG)(s,void 0,void 0,(function(){var s,o,a,h,l,u;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return s=/^url\(["']?([^"'\)]+)["']?\)([^,]*)$/.exec(i),null!==s?[3,1]:[2,i];case 1:if(o=s[2],a=S.pv(n,s[1]),this.webFontFilter&&!a.match(this.webFontFilter))return[2,null];r.label=2;case 2:return r.trys.push([2,7,,8]),[4,P.z(a,void 0,{responseType:"blob"})];case 3:return h=r.sent(),I()?(l=t.createObjectURL(h.blob),e.push(l),[3,6]):[3,4];case 4:return[4,M(h.blob)];case 5:l=r.sent(),r.label=6;case 6:return[2,'url("'+l+'")'+o];case 7:return u=r.sent(),console.error("Failed to load font",a,u),[2,null];case 8:return[2]}}
1))}))}));i.push(Promise.all(l).then((function(t){return t=t.filter((function(t){return null!=t})),0===t.length?"":a.replace(D,"src: "+t.join(", ")+";")})))}}}))];case 1:return o.sent(),[4,Promise.all(i)];case 2:return n=o.sent(),[2,{blobs:e,cssText:n.filter((function(t){return!!t})).join("\n")}]}}))}))},e.prototype.getImage=function(t,e,i){return(0,r.mG)(this,void 0,void 0,(function(){var n,s,o,a,h,l;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return n=this._objectsAlreadyHidden,n||this.hideNonExportableSprites(),w.Uh(e)||(e=this.getFormatOptions(t)),[4,this.awaitValidSprites()];case 1:return r.sent(),[4,this.simplifiedImageExport()];case 2:if(!r.sent())return[3,10];s=void 0,r.label=3;case 3:return r.trys.push([3,7,,9]),[4,this.getCanvas(e)];case 4:return s=r.sent(),!1===i?[3,6]:[4,this.addExtras(s,e)];case 5:o=r.sent(),this.disposeCanvas(s),s=o,r.label=6;case 6:return a=s.toDataURL(this.getContentType(t),e.quality),this.disposeCanvas(s),n||this.restoreNonExportableSprites(),[2,a];case 7:return h=r.sent(),console.error(h.message+"\n"+h.stack),O.Z("Simple export failed, falling back to advanced export"),s&&this.disposeCanvas(s),[4,this.getImageAdvanced(t,e,i)];case 8:return l=r.sent(),n||this.restoreNonExportableSprites(),[2,l];case 9:return[3,12];case 10:return[4,this.getImageAdvanced(t,e,i)];case 11:return l=r.sent(),n||this.restoreNonExportableSprites(),[2,l];case 12:return[2]}}
1))}))},e.prototype.addExtras=function(t,e,i){return(0,r.mG)(this,void 0,void 0,(function(){var n,s,o,h,l,u,p,c,d,f,g,y,m,v,b=this;return(0,r.Jh)(this,(function(_){switch(_.label){case 0:return this.extraSprites.length?(n=0,s=0,o=t.width,h=t.height,l=0,u=0,[4,Promise.all(C.UI(this.extraSprites,(function(t){return(0,r.mG)(b,void 0,void 0,(function(){var p,c,d,f;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return p=t instanceof a.jy?{sprite:t,position:"bottom"}:t,p.position=p.position||"bottom",p.marginTop=p.marginTop||0,p.marginRight=p.marginRight||0,p.marginBottom=p.marginBottom||0,p.marginLeft=p.marginLeft||0,i?[4,p.sprite.exporting.getCanvasAdvanced(e)]:[3,2];case 1:return c=r.sent(),[3,4];case 2:return[4,p.sprite.exporting.getCanvas(e)];case 3:c=r.sent(),r.label=4;case 4:return d=c.width+p.marginLeft+p.marginRight,f=c.height+p.marginTop+p.marginBottom,"top"==p.position?(o=p.crop?h:k.Fp(o,d),s+=f):"right"==p.position?(h=p.crop?h:k.Fp(h,f),l+=d):"left"==p.position?(h=p.crop?h:k.Fp(h,f),n+=d):"bottom"===p.position&&(o=p.crop?h:k.Fp(o,d),u+=f),[2,{canvas:c,position:p.position,left:p.marginLeft,top:p.marginTop,width:d,height:f}]}}))}))})))]):[3,2];case 1:return p=_.sent(),c=this.getDisposableCanvas(),c.width=n+o+l,c.height=s+h+u,d=c.getContext("2d"),f=this.backgroundColor||this.findBackgroundColor(this.sprite.dom),f&&(d.fillStyle=f.toString(),d.fillRect(0,0,c.width,c.height)),g=n,y=s,m=g+o,v=y+h,C.S6(p,(function(t){"top"==t.position?(y-=t.height,d.drawImage(t.canvas,n+t.left,y+t.top)):"right"==t.position?(d.drawImage(t.canvas,m+t.left,s+t.top),m+=t.width):"left"==t.position?(g-=t.width,d.drawImage(t.canvas,g+t.left,s+t.top)):"bottom"===t.position&&(d.drawImage(t.canvas,n+t.left,v+t.top),v+=t.height),b.disposeCanvas(t.canvas)})),d.drawImage(t,n,s),[2,c];case 2:return[2,t]}}))}))},e.prototype.getCanvas=function(t){return(0,r.mG)(this,void 0,void 0,(function(){var e,i,n,s,o,a,h,l,u,p,c,d,f,g,y,m,v;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:w.Uh(t)||(t={}),e=this.backgroundColor||this.findBackgroundColor(this.sprite.dom),i=this.getDOMURL(),n=null,s=null,r.label=1;case 1:return r.trys.push([1,,4,5]),a=this.sprite.pixelWidth,h=this.sprite.pixelHeight,l=b.gR(this.sprite.dom),u=b.w(this.sprite.dom),p=t.scale||1,c=this.getPixelRatio(t),p=this.getAdjustedScale(a*c,h*c,p,t),o=this.getDisposableCanvas(),o.style.width=a*p+"px",o.style.height=h*p+"px",o.width=a*p,o.height=h*p,d=o.getContext("2d"),e&&(d.fillStyle=e.toString(),d.fillRect(0,0,a*p,h*p)),f=[],this.useWebFonts&&f.push(this.getFontFamilies().then((function(t){return s=t.blobs,t.cssText}))),f.push(this.imagesToDataURI(this.sprite.dom,t)),f.push(this.prepForeignObjects(this.sprite.dom,t)),[4,Promise.all(f)];case 2:return g=r.sent(),y=this.normalizeSVG("<style>"+g[0]+"</style>"+this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),t,a,h,p,l,u),m=new Blob([y],{type:"image/svg+xml"}),n=i.createObjectURL(m),[4,this.loadNewImage(n,a*p*c,h*p*c,"anonymous")];case 3:return v=r.sent(),d.drawImage(v,0,0),[3,5];case 4:return null!==n&&i.revokeObjectURL(n),null!==s&&C.S6(s,(function(t){i.revokeObjectURL(t)})),this.restoreRemovedObjects(),[7];case 5:return[2,o]}}))}))},e.prototype.getCanvasAdvanced=function(t){return(0,r.mG)(this,void 0,void 0,(function(){var e,i,n,s,o,a,h,l,u,p,c;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return w.Uh(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,s=this.sprite.pixelHeight,o=b.gR(this.sprite.dom),a=b.w(this.sprite.dom),h=t.scale||1,l=this.getPixelRatio(t),h=this.getAdjustedScale(n*l,s*l,h,t),u=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),t,n,s,h,o,a,e),p=this.getDisposableCanvas(),p.style.width=n*l*h+"px",p.style.height=s*l*h+"px",p.width=n*l*h,p.height=s*l*h,c={useCORS:!0},1!=l&&(c.ignoreDimensions=!0,c.scaleWidth=n*l*h,c.scaleHeight=s*l*h),[4,i.fromString(p.getContext("2d"),u,c).render()];case 3:return r.sent(),[2,p]}}))}))}
1,e.prototype.getImageAdvanced=function(t,e,i){return(0,r.mG)(this,void 0,void 0,(function(){var n,s,o;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return n=this._objectsAlreadyHidden,n||this.hideNonExportableSprites(),w.Uh(e)||(e=this.getFormatOptions(t)),[4,this.getCanvasAdvanced(e)];case 1:return s=r.sent(),!1===i?[3,3]:[4,this.addExtras(s,e,!0)];case 2:s=r.sent(),r.label=3;case 3:return o=s.toDataURL(this.getContentType(t),e.quality),this.disposeCanvas(s),n||this.restoreNonExportableSprites(),[2,o]}}))}))},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.contains(t)&&document.body.removeChild(t)},e.prototype.getPixelRatio=function(t){return this.useRetina?S.mX():1},e.prototype.getAdjustedScale=function(t,e,i,n){if(!n)return i;var r,s,o=t*i,a=t*i;return n.maxWidth&&o>n.maxWidth&&(r=n.maxWidth/t),n.maxHeight&&a>n.maxHeight&&(s=n.maxHeight/e),r||s?k.VV(r,s):(n.minWidth&&o<n.minWidth&&(r=n.minWidth/t),n.minHeight&&a<n.minHeight&&(s=n.minHeight/e),r||s?k.Fp(r,s):i)},e.prototype.imagesToDataURI=function(t,i){return(0,r.mG)(this,void 0,void 0,(function(){var n,s,o,a,h,l;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:if(n=t.querySelectorAll("image"),!n.length)return[3,2];for(s=[],o=n.length,a=0;a<o;a++)h=n[a],l=h.getAttributeNS(e.XLINK,"href"),l&&(-1!==l.indexOf("data:image")||(-1!==l.indexOf(".svg")?s.push(this.svgToDataURI(h,i)):s.push(this.imageToDataURI(h,i))));return[4,Promise.all(s)];case 1:return r.sent(),[2];case 2:return[2]}}
1))}))},e.prototype.prepForeignObjects=function(t,e){return(0,r.mG)(this,void 0,void 0,(function(){var e,i,n;return(0,r.Jh)(this,(function(r){if(e=t.querySelectorAll("foreignObject"),e.length)for(i=e.length,n=0;n<i;n++)this.temporarilyRemoveObject(e[n]);return[2]}))}))},e.prototype.imageToDataURI=function(t,i){return(0,r.mG)(this,void 0,void 0,(function(){var n,s,o;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.loadNewImage(t.getAttributeNS(e.XLINK,"href"),null,null,"anonymous")];case 1:n=r.sent(),s=document.createElement("canvas"),s.width=n.width,s.height=n.height,s.getContext("2d").drawImage(n,0,0);try{return o=s.toDataURL(),t.setAttribute("href",o),[2,o]}catch(a){return!1!==i.keepTainted&&this.temporarilyRemoveObject(t),[2,void 0]}return[3,3];case 2:return r.sent(),i&&!1===i.keepTainted||this.temporarilyRemoveObject(t),[2,void 0];case 3:return[2]}}))}))},e.prototype.svgToDataURI=function(t,i){return(0,r.mG)(this,void 0,void 0,(function(){var n,s,o,a;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:n=t.getAttributeNS(e.XLINK,"href"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,P.z(n)];case 2:return s=r.sent(),o=this.adapter.apply("charset",{charset:"base64",type:"svg",options:i}).charset,a=this.adapter.apply("svgToDataURI",{data:"data:"+this.getContentType("svg")+";"+o+","+btoa(s.response),options:i}).data,t.setAttributeNS(e.XLINK,"href",a),[2,a];case 3:return r.sent(),i&&!1===i.keepTainted||this.temporarilyRemoveObject(t),[2,void 0];case 4:return[2]}}
1))}))},e.prototype.temporarilyRemoveObject=function(t,e){var i=t.parentElement||t.parentNode;e||(e=this.sprite.paper.add("g").node),i.insertBefore(e,t),t.textContent,i.removeChild(t),this._removedObjects.push({element:t,placeholder:e})},e.prototype.restoreRemovedObjects=function(){var t;while(1){if(t=this._removedObjects.pop(),!t)break;var e=t.placeholder.parentElement||t.placeholder.parentNode;e.insertBefore(t.element,t.placeholder)}},e.prototype.simplifiedImageExport=function(){return(0,r.mG)(this,void 0,void 0,(function(){var t,e,i,n,s,o,a;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:if(!1===this.useSimplifiedExport)return[2,!1];if(t=m.i.getCache("simplifiedImageExport"),!1===t||!0===t)return[2,t];r.label=1;case 1:r.trys.push([1,6,,7]),e=document.createElement("canvas"),e.width=1,e.height=1,i=e.getContext("2d"),n=this.getDOMURL(),s=new Blob([this.normalizeSVG("<g></g>",{},1,1)],{type:"image/svg+xml"}),o=n.createObjectURL(s),a=void 0,r.label=2;case 2:return r.trys.push([2,4,,5]),[4,this.loadNewImage(o,1,1)];case 3:return a=r.sent(),[3,5];case 4:return r.sent(),[2,!1];case 5:i.drawImage(a,0,0),n.revokeObjectURL(o);try{return m.i.setCache("simplifiedImageExport",!0),[2,!0]}catch(h){return m.i.setCache("simplifiedImageExport",!1),[2,!1]}return[3,7];case 6:return r.sent(),m.i.setCache("simplifiedImageExport",!1),[2,!1];case 7:return[2]}}
1))}))},e.prototype.loadNewImage=function(t,e,i,n){return new Promise((function(r,s){var o;function a(){if(n){var e=o.src;o.onerror=function(){s(new Error('Loading image "'+t+'" failed'))},o.removeAttribute("crossorigin"),o.src="",o.src=e}else s(new Error('Loading image "'+t+'" failed'))}o=e&&i?new Image(e,i):new Image,n&&o.setAttribute("crossOrigin",n),o.onload=function(){r(o)},o.onabort=a,o.onerror=a,o.src=t}))},e.prototype.getDOMURL=function(){return self.URL||self.webkitURL||self},e.prototype.getSVG=function(t,e,i){return void 0===i&&(i=!0),(0,r.mG)(this,void 0,void 0,(function(){var n,s,o,a,h,l,u,p,c,d;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return n=this._objectsAlreadyHidden,n||this.hideNonExportableSprites(),w.Uh(e)||(e=this.getFormatOptions("svg")),[4,this.awaitValidSprites()];case 1:return r.sent(),s=this.sprite.pixelWidth,o=this.sprite.pixelHeight,a=b.gR(this.sprite.dom),h=b.w(this.sprite.dom),l=e.scale||1,u=this.getPixelRatio(e),l=this.getAdjustedScale(s*u,o*u,l,e),p=this.normalizeSVG(this.serializeElement(this.sprite.paper.defs)+this.serializeElement(this.sprite.dom),e,s,o,l,a,h),c=this.adapter.apply("charset",{charset:"charset=utf-8",type:"svg",options:e}).charset,d=this.adapter.apply("getSVG",{data:i?"data:"+this.getContentType(t)+";"+c+","+encodeURIComponent(p):p,options:e}).data,n||this.restoreNonExportableSprites(),[2,d]}}))}))},e.prototype.normalizeSVG=function(t,e,i,n,r,s,o,a){var h="";i&&(h+='width="'+Math.round(i*(r||1))+'px" '),n&&(h+='height="'+Math.round(n*(r||1))+'px" ');var l="";s&&(l+="font-family: "+s.replace(/"/g,"")+";"),o&&(l+="font-size: "+o+";"),r&&(h+='viewBox="0 0 '+i+" "+n+'" ');var u=[],p=t.match(/<foreignObject[\s\S]*<\/foreignObject>/gi);if(p)for(var c=0;c<p.length;c++)t=t.replace(p[c],T.l7),u.push(p[c]);t.match(/<svg/)?""!==h&&(t=t.replace(/(<svg[^>]*)width="[^"]*"/,"$1"),t=t.replace(/(<svg[^>]*)height="[^"]*"/,"$1"),t=t.replace(/(<svg)/,"$1"+h)):t='<?xml version="1.0" encoding="utf-8"?><svg '+h+' style="'+l+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'+t+"</svg>",a&&(t=t.replace(/(<svg[^>]*>)/,'$1<rect width="100%" height="100%" fill="'+a.rgba+'"/>')),_.w()&&(t=t.replace(/<feColorMatrix [^\/>]*\/>/gi,""));var d=new RegExp("url\\("+S.UK(S.Lw()),"g");if(t=t.replace(d,"url(#"),t=t.replace(/url\(&quot;([^)]*)&quot;\)/gm,"url($1)"),u.length)for(c=0;c<u.length;c++)t=t.replace(T.l7,u[c]);return t=this.adapter.apply("normalizeSVG",{data:t,options:e}).data,t},e.prototype.serializeElement=function(t){return(new XMLSerializer).serializeToString(t)},e.prototype.getPDF=function(t,e){return(0,r.mG)(this,void 0,void 0,(function(){function i(t){var e={};e.normal=t.normal.path,f[t.normal.path]=t.normal.bytes,t.bold?(e.bold=t.bold.path,f[t.bold.path]=t.bold.bytes):e.bold=t.normal.path,t.italics?(e.italics=t.italics.path,f[t.italics.path]=t.italics.bytes):e.italics=t.normal.path,t.bolditalics?(e.bolditalics=t.bolditalics.path,f[t.bolditalics.path]=t.bolditalics.bytes):e.bolditalics=t.normal.path,d[t.name]=e}var n,s,o,a,h,l,u,p,c,d,f;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return[4,this.getImage(e.imageFormat||"png",e)];case 1:return n=r.sent(),[4,this.pdfmake];case 2:return s=r.sent(),o=[30,30,30,30],a={pageSize:e.pageSize||"A4",pageOrientation:e.pageOrientation||"portrait",pageMargins:e.pageMargins||o,defaultStyle:{font:e.font?e.font.name:void 0},content:[]},h=this.adapter.apply("title",{title:this.title,options:e}).title,l=0,h&&(a.content.push({text:h,fontSize:e.fontSize||14,bold:!0,margin:[0,0,0,15]}),l+=50),e.addURL&&(a.content.push({text:this.language.translate("Saved from")+": "+document.location.href,fontSize:e.fontSize,margin:[0,0,0,15]}),l+=50),"pdfdata"!=t&&a.content.push({image:n,alignment:e.align||"left",fit:this.getPageSizeFit(a.pageSize,a.pageMargins,l)}),"pdfdata"==t||e.addData?(p=(u=a.content).push,c={},[4,this.getPDFData("pdf",e)]):[3,4];case 3:p.apply(u,[(c.table=r.sent(),c.fontSize=e.fontSize||14,c)]),r.label=4;case 4:return a=this.adapter.apply("pdfmakeDocument",{doc:a,options:e}).doc,d=null,f=null,e.font&&(d={},f={},i(e.font),e.extraFonts&&C.S6(e.extraFonts,i)),[4,new Promise((function(t,e){s.createPdf(a,null,d,f).getDataUrl((function(e){t(e)}))}))];case 5:return[2,r.sent()]}}))}))},e.prototype.getPDFData=function(t,e){return(0,r.mG)(this,void 0,void 0,(function(){var t,i,n,s,o,a,h=this;return(0,r.Jh)(this,(function(r){if(t={body:[]},i=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"pdf"}).dataFields,n=this.data,e.pivot)s=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"pdfdata"}).dataFieldsOrder,x.JE(i,(function(i,r){var s=[];e.addColumnNames&&s.push(r);for(var o=n.length,a=0;a<o;a++){var l=n[a][i];s.push(h.convertToSpecialFormat(i,l,e,!0))}t.body.push(h.getPDFDataRow(s,e,void 0,!0))}),(function(t,e){var i=s.indexOf(t),n=s.indexOf(e);return i>n?1:i<n?-1:0}));else for(e.addColumnNames&&(t.body.push(this.getPDFDataRow(i,e,void 0,!0)),t.headerRows=1),o=n.length,a=0;a<o;a++)t.body.push(this.getPDFDataRow(n[a],e,i));return[2,this.adapter.apply("pdfmakeTable",{table:t,options:e}).table]}))}))}
1,e.prototype.getPDFDataRow=function(t,e,i,n){var r=this;void 0===n&&(n=!1);var s=[];i||(i=t);var o=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"pdfdata"}).dataFieldsOrder;return x.JE(i,(function(i,o){var a=r.convertEmptyValue(i,t[i],e),h=n?a:r.convertToSpecialFormat(i,a,e);h=""+h,s.push(h)}),(function(t,e){var i=o.indexOf(t),n=o.indexOf(e);return i>n?1:i<n?-1:0})),s},e.prototype.getPageSizeFit=function(t,e,i){void 0===i&&(i=0);var n=[0,0,0,0];"number"==typeof e?n=[e,e,e,e]:2==e.length?n=[e[0],e[1],e[0],e[1]]:4==e.length&&(n=e);var r={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]},s=r[t];return s[0]-=n[0]+n[2],s[1]-=n[1]+n[3]+i,s},e.prototype.getExcel=function(t,e){return(0,r.mG)(this,void 0,void 0,(function(){var i,n,s,o,a,h,l,u,p,c,d=this;return(0,r.Jh)(this,(function(r){switch(r.label){case 0:return w.Uh(e)||(e=this.getFormatOptions("xlsx")),[4,this.xlsx];case 1:if(i=r.sent(),n=this.adapter.apply("xlsxWorkbookOptions",{xlsx:i,options:{bookType:"xlsx",bookSST:!1,type:"base64"}}).options,s=this.normalizeExcelSheetName(this.adapter.apply("xlsxSheetName",{xlsx:i,name:this.title||this.language.translate("Data")}).name),o={SheetNames:[s],Sheets:{}},a=[],h=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"xslx"}).dataFields,e.pivot)l=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"xlsx"}).dataFieldsOrder,x.JE(h,(function(t,i){var n=[];e.addColumnNames&&n.push(i);for(var r=d.data.length,s=0;s<r;s++){var o=d.data[s][t];n.push(d.convertToSpecialFormat(t,o,e,!0))}a.push(d.getExcelRow(n,e,void 0,!0))}),(function(t,e){var i=l.indexOf(t),n=l.indexOf(e);return i>n?1:i<n?-1:0}));else for(e.addColumnNames&&a.push(this.getExcelRow(h,e,void 0,!0)),u=this.data.length,p=0;p<u;p++)a.push(this.getExcelRow(this.data[p],e,h));return o.Sheets[s]=i.utils.aoa_to_sheet(a),o=this.adapter.apply("xlsxWorkbook",{xlsx:i,workbook:o,options:e}).workbook,c=this.adapter.apply("getExcel",{data:"data:"+this.getContentType(t)+";base64,"+i.write(o,n),options:e}).data,[2,c]}}))}))},e.prototype.normalizeExcelSheetName=function(t){return t=t.replace(/([:\\\/?*\[\]]+)/g," "),S.nA(t,31,"...",!0)},e.prototype.getExcelRow=function(t,e,i,n){var r=this;void 0===n&&(n=!1);var s=[];i||(i=t);var o=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"xlsx"}).dataFieldsOrder;return x.JE(i,(function(i,o){var a=r.convertEmptyValue(i,t[i],e),h=n?a:r.convertToSpecialFormat(i,a,e,!0);s.push(h)}),(function(t,e){var i=o.indexOf(t),n=o.indexOf(e);return i>n?1:i<n?-1:0})),s},e.prototype.getCSV=function(t,e,i){return void 0===i&&(i=!0),(0,r.mG)(this,void 0,void 0,(function(){var n,s,o,a,h,l,u,p,c,d,f=this;return(0,r.Jh)(this,(function(r){if(w.Uh(e)||(e=this.getFormatOptions("csv")),n="",s=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"csv"}).dataFields,o="",a=this.data,e.pivot)h=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"csv"}).dataFieldsOrder,x.JE(s,(function(t,i){var r=[];e.addColumnNames&&r.push(i);for(var s=a.length,h=0;h<s;h++){var l=a[h][t];r.push(f.convertToSpecialFormat(t,l,e,!0))}n+=o+f.getCSVRow(r,e,void 0,!0),o="\n"}),(function(t,e){var i=h.indexOf(t),n=h.indexOf(e);return i>n?-1:i<n?1:0}));else{for(l=a.length,u=0;u<l;u++)p=this.getCSVRow(a[u],e,s),e.reverse?n=p+o+n:n+=o+p,o="\n";e.addColumnNames&&(n=this.getCSVRow(s,e,void 0,!0)+o+n)}return c=this.adapter.apply("charset",{charset:"charset=utf-8",type:t,options:e}).charset,d=this.adapter.apply("getCSV",{data:i?"data:"+this.getContentType(t)+";"+c+","+encodeURIComponent(n):n,options:e}).data,[2,d]}))}))}
1,e.prototype.getCSVRow=function(t,e,i,n){var r=this;void 0===n&&(n=!1);var s=e.separator||",",o=[];i||(i=t);var a=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"csv"}).dataFieldsOrder;return x.JE(i,(function(i,a){var h=r.convertEmptyValue(i,t[i],e),l=n?h:r.convertToSpecialFormat(i,h,e);l=""+l,l=l.replace(/"/g,'""'),(e.forceQuotes||l.search(new RegExp('"|\n|'+s,"g"))>=0)&&(l='"'+l+'"'),o.push(l)}),(function(t,e){var i=a.indexOf(t),n=a.indexOf(e);return i>n?1:i<n?-1:0})),o.join(s)},e.prototype.getHTML=function(t,e,i){return void 0===i&&(i=!0),(0,r.mG)(this,void 0,void 0,(function(){var n,s,o,a,h,l,u,p,c=this;return(0,r.Jh)(this,(function(r){if(w.Uh(e)||(e=this.getFormatOptions("html")),n="<table>",e.tableClass&&(n='<table class="'+e.tableClass+'">'),s=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"html"}).dataFields,o=this.data,e.pivot)a=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"html"}).dataFieldsOrder,n+="\n<tbody>",x.JE(s,(function(t,i){var r=[];e.addColumnNames&&r.push(i);for(var s=o.length,a=0;a<s;a++){var h=o[a][t];r.push(c.convertToSpecialFormat(t,h,e,!0))}n+="\n"+c.getHTMLRow(r,e,void 0,!0)}),(function(t,e){var i=a.indexOf(t),n=a.indexOf(e);return i>n?-1:i<n?1:0})),n+="\n</tbody>";else{for(e.addColumnNames&&(n+="\n<thead>\n"+this.getHTMLRow(s,e,void 0,!0,!0)+"\n</thead>"),n+="\n<tbody>",h=o.length,l=0;l<h;l++)n+="\n"+this.getHTMLRow(o[l],e,s);n+="\n</tbody>"}return n+="\n</table>",u=this.adapter.apply("charset",{charset:"charset=utf-8",type:t,options:e}).charset,p=this.adapter.apply("getHTML",{data:i?"data:"+this.getContentType(t)+";"+u+","+encodeURIComponent(n):n,options:e}).data,[2,p]}))}))},e.prototype.getHTMLRow=function(t,e,i,n,r){var s=this;void 0===n&&(n=!1),void 0===r&&(r=!1);var o="\t<tr>";e.rowClass&&(o='\t<tr class="'+e.rowClass+'">'),i||(i=t);var a=this.adapter.apply("dataFieldsOrder",{dataFieldsOrder:this.dataFieldsOrder,format:"html"}).dataFieldsOrder,h=r?"th":"td",l=!0;return x.JE(i,(function(i,r){var a=s.convertEmptyValue(i,t[i],e),u=n?a:s.convertToSpecialFormat(i,a,e);u=""+u,u=u.replace(/[\u00A0-\u9999<>\&]/gim,(function(t){return"&#"+t.charCodeAt(0)+";"}));var p=h;e.pivot&&l&&(p="th"),e.cellClass?o+="\n\t\t<"+p+' class="'+e.cellClass+'">'+u+"</"+p+">":o+="\n\t\t<"+p+">"+u+"</"+p+">",l=!1}),(function(t,e){var i=a.indexOf(t),n=a.indexOf(e);return i>n?1:i<n?-1:0})),o+="\n\t</tr>",o},e.prototype.getJSON=function(t,e,i){return void 0===i&&(i=!0),(0,r.mG)(this,void 0,void 0,(function(){var n,s,o,a,h,l,u,p,c,d=this;return(0,r.Jh)(this,(function(r){if(w.Uh(e)||(e=this.getFormatOptions("json")),s=this.adapter.apply("formatDataFields",{dataFields:this.dataFields,format:"json"}).dataFields,this._dynamicDataFields)n=this.data;else for(n=[],o=this.data,a=function(t,i){var r=o[i];if("object"==typeof r){var a={};x.S6(r,(function(t,i){w.Uh(s[t])&&(a[s[t]]=d.convertToSpecialFormat(t,i,e))})),n.push(a)}},h=o.length,l=0;l<h;l++)a(h,l);return u=JSON.stringify(n,(function(t,i){return"object"==typeof i&&x.S6(i,(function(t,n){i[t]=d.convertToSpecialFormat(t,n,e)})),i}),e.indent),p=this.adapter.apply("charset",{charset:"charset=utf-8",type:t,options:e}).charset,c=this.adapter.apply("getJSON",{data:i?"data:"+this.getContentType(t)+";"+p+","+encodeURIComponent(u):u,options:e}).data,[2,c]}))}))},e.prototype.convertToSpecialFormat=function(t,e,i,n){if("number"==typeof e)if(this.isDateField(t))e=new Date(e);else{if(this.isDurationField(t))return this.durationFormatter.format(e,this.durationFormat);if(this.isNumberField(t)&&this.numberFormat)return this.numberFormatter.format(e,this.numberFormat)}return e instanceof Date?i.useTimestamps?e=e.getTime():i.useLocale?n||(e=e.toLocaleString()):e=this.dateFormatter.format(e,this.dateFormat):w.HD(e)&&this.isDateField(t)&&this.dateFormat&&(e=this.dateFormatter.format(this.dateFormatter.parse(e),this.dateFormat)),e},e.prototype.convertEmptyValue=function(t,e,i){return w.Uh(e)?e:i.emptyAs},e.prototype.download=function(t,e,i){return void 0===i&&(i=!1),(0,r.mG)(this,void 0,void 0,(function(){var n,s,o,a,h,l,u,p,c,d,f,g,y,m,v;return(0,r.Jh)(this,(function(r){if(this.msBlobDownloadSupport()){if(g=t.split(";"),y=g.shift().replace(/data:/,""),t=decodeURIComponent(g.join(";").replace(/^[^,]*,/,"")),-1!=["image/svg+xml","application/json","text/csv"].indexOf(y))return n=new Blob([t],{type:y}),window.navigator.msSaveBlob(n,e),[2,!0];try{o=atob(t),t=o}catch(b){return[2,!1]}for(l=new Array(t.length),u=0;u<t.length;++u)p=t.charCodeAt(u),l[u]=p;c=new Blob([new Uint8Array(l)],{type:y}),window.navigator.msSaveBlob(c,e)}else if(this.blobDownloadSupport()){if(s=document.createElement("a"),s.download=e,document.body.appendChild(s),g=t.split(";"),y=g.shift().replace(/data:/,""),t=decodeURIComponent(g.join(";").replace(/^[^,]*,/,"")),-1!=["image/svg+xml","application/json","text/csv","text/html"].indexOf(y))return i&&(t="\ufeff"+t),a=new Blob([t],{type:y}),h=window.URL.createObjectURL(a),s.href=h,s.download=e,s.click(),setTimeout((function(){document.body.removeChild(s),window.URL.revokeObjectURL(h)}),100),[2,!0];try{o=atob(t),t=o}catch(b){return[2,!1]}for(l=new Array(t.length),u=0;u<t.length;++u)p=t.charCodeAt(u),l[u]=p;i&&(l=[239,187,191].concat(l)),c=new Blob([new Uint8Array(l)],{type:y}),d=window.URL.createObjectURL(c),s.href=d,s.download=e,document.body.appendChild(s),s.click(),document.body.removeChild(s),setTimeout((function(){window.URL.revokeObjectURL(d)}),100)}else this.linkDownloadSupport()?(f=document.createElement("a"),f.download=e,f.href=t,document.body.appendChild(f),f.click(),document.body.removeChild(f)):this.legacyIE()?(g=t.match(/^data:(.*);[ ]*([^,]*),(.*)$/),4===g.length&&("base64"==g[2]?g[1].match(/^image\//)&&this.showModal('<img src="'+t+'" style="float: left; max-width: 50%; max-height: 80%; margin: 0 1em 0.5em 0; border: 1px solid #eee;" /><p>'+this.language.translate('To save the image, right-click thumbnail on the left and choose "Save picture as..."')+'</p><p style="text-align: center;"><small>'+this.language.translate("(Press ESC to close this message)")+"</small></p>",this.language.translate("Image Export Complete")):(y=void 0,e.match(/\.svg$/)?y="image/svg+xml":(y="text/plain",e+=".txt"),m=document.createElement("iframe"),m.width="1px",m.height="1px",m.style.display="none",document.body.appendChild(m),v=m.contentDocument,v.open(y,"replace"),v.write(decodeURIComponent(g[3])),v.close(),v.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=m.i.getCache("linkDownloadSupport");if(!1===t||!0===t)return t;var e=document.createElement("a"),i="undefined"!==typeof e.download;return m.i.setCache("linkDownloadSupport",i),i},e.prototype.blobDownloadSupport=function(){return w.Uh(window.Blob)},e.prototype.msBlobDownloadSupport=function(){return w.Uh(window.navigator.msSaveOrOpenBlob)},e.prototype.legacyIE=function(){var t=document.createElement("div");return t.innerHTML="\x3c!--[if lt IE 10]><i></i><![endif]--\x3e",1==t.getElementsByTagName("i").length}
1,e.prototype.print=function(t,e,i){return(0,r.mG)(this,void 0,void 0,(function(){return(0,r.Jh)(this,(function(n){return"css"==e.printMethod?[2,this.printViaCSS(t,e,i)]:[2,this.printViaIframe(t,e,i)]}))}))},e.prototype.printViaCSS=function(t,e,i){return(0,r.mG)(this,void 0,void 0,(function(){var n,s,o,a,h;return(0,r.Jh)(this,(function(r){return n=document.documentElement.scrollTop||document.body.scrollTop,s=new b.u0(b.Ay(this.container),"body > *",{display:"none",position:"fixed",visibility:"hidden",opacity:"0",clipPath:"polygon(0px 0px,0px 0px,0px 0px,0px 0px);"}),i&&document&&document.title&&(o=document.title,document.title=i),a=new Image,a.src=t,a.style.maxWidth="100%",a.style.display="block",a.style.position="relative",a.style.visibility="visible",a.style.opacity="1",a.style.clipPath="none",document.body.appendChild(a),this.setTimeout((function(){window.print()}),50),h=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,h&&e.delay<1e3?e.delay=1e3:e.delay<100&&(e.delay=100),this.setTimeout((function(){document.body.removeChild(a),s.dispose(),o&&(document.title=document.title),document.documentElement.scrollTop=document.body.scrollTop=n}),e.delay||500),[2,!0]}))}))},e.prototype.printViaIframe=function(t,e,i){return(0,r.mG)(this,void 0,void 0,(function(){var n,s,o;return(0,r.Jh)(this,(function(r){return n=document.createElement("iframe"),n.style.visibility="hidden",document.body.appendChild(n),n.contentWindow.document.open(),n.contentWindow.document.close(),s=new Image,s.src=t,s.style.maxWidth="100%",s.style.height="auto",i&&(n.contentWindow.document.title=i),n.contentWindow.document.body.appendChild(s),n.load=function(){n.contentWindow.document.body.appendChild(s)},this.setTimeout((function(){try{n.contentWindow.document.execCommand("print",!1,null)||n.contentWindow.print()}catch(t){n.contentWindow.print()}}),e.delay||50),o=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,o&&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=(0,b.Dx)(t,"background-color");if((i.match(/[^,]*,[^,]*,[^,]*,[ ]?0/)||"transparent"==i)&&(e=0),0==e){var n=t.parentElement;return n?this.findBackgroundColor(n):(0,y.$_)("#fff")}return(0,y.$_)(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);var t=this.data.length>0;this._prevHasData!=t&&(this._prevHasData=t,this.menu&&this.menu.invalidate())},Object.defineProperty(e.prototype,"dateFormatter",{get:function(){return this._dateFormatter||(this._dateFormatter=new p.C,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.aV),this.adapter.apply("dateFields",{dateFields:this._dateFields}).dateFields}
1,set:function(t){this._dateFields=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numberFormatter",{get:function(){return this._numberFormatter||(this._numberFormatter=new d.e,this._numberFormatter.language=this.language),this.adapter.apply("numberFormatter",{numberFormatter:this._numberFormatter}).numberFormatter},set:function(t){this._numberFormatter=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.aV),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 c.$,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.aV),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&&C.S6(this.data,(function(e){x.S6(e,(function(e,i){w.Uh(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";break}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()}
1,Object.defineProperty(e.prototype,"language",{get:function(){return this._language||(this._language=new f.S),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 h.u,this._modal.adapter.add("classPrefix",(function(t){return t=v.Y.classNamePrefix+t,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(0,r.mG)(this,void 0,void 0,(function(){var t;return(0,r.Jh)(this,(function(e){switch(e.label){case 0:return[4,i.e(265).then(i.bind(i,68302))];case 1:return t=e.sent(),null!=t.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=j()),n},enumerable:!0,configurable:!0}),e.prototype._xlsx=function(){return(0,r.mG)(this,void 0,void 0,(function(){return(0,r.Jh)(this,(function(t){switch(t.label){case 0:return[4,i.e(297).then(i.bind(i,67433))];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)},Object.defineProperty(e.prototype,"formatOptions",{get:function(){return this._formatOptions},enumerable:!0,configurable:!0}),e.prototype._disablePointers=function(){w.Uh(this._spriteInteractionsEnabled)||(this._spriteInteractionsEnabled=this.sprite.interactionsEnabled),this.sprite.interactionsEnabled=!1},e.prototype._releasePointers=function(){w.Uh(this._spriteInteractionsEnabled)&&!this._exportRunning&&(this.sprite.interactionsEnabled=this._spriteInteractionsEnabled)},e.prototype.hideNonExportableSprites=function(){var t=this;if(!this._objectsAlreadyHidden){var e=this.sprite.svgContainer;e&&C.S6(e.nonExportableSprites,(function(e){e.isHidden||e.isHiding||!e.visible||t._hiddenObjects.push(e),e.hide(0)})),this._objectsAlreadyHidden=!0}},e.prototype.restoreNonExportableSprites=function(){this._objectsAlreadyHidden&&(C.S6(this._hiddenObjects,(function(t){t.show(0)})),this._hiddenObjects=[],this._objectsAlreadyHidden=!1)},e.prototype.awaitValidSprites=function(){return(0,r.mG)(this,void 0,void 0,(function(){var t;return(0,r.Jh)(this,(function(e){switch(e.label){case 0:return t=[],this.validateSprites.length&&C.S6(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]}}
1))}))},e.prototype.processConfig=function(e){m.i.registeredClasses["ExportMenu"]=s.G,e&&(w.Uh(e.menu)&&!w.Uh(e.menu.type)&&(e.menu.type="ExportMenu"),w.Uh(e.dataFields)&&w.Kn(e.dataFields)&&(this.dataFields=e.dataFields,delete e.dataFields)),t.prototype.processConfig.call(this,e)},e.XLINK="http://www.w3.org/1999/xlink",e}(g.c)},67133:function(t,e,i){i.d(e,{G:function(){return b}});i(70560);var n=i(60199),r=i(19606),s=i(20646),o=i(64142),a=i(73818),h=new o.Xy;function l(t,e){var i=e||"amexport",n=new s.h,o=h.insertKeyIfEmpty(i,(function(){var e=new a.FV([new r.u0(t,"."+i+"-menu *",{"box-sizing":"border-box"}),new r.u0(t,"."+i+"-menu-level-0",{position:"absolute",top:"5px",right:"5px"}),new r.u0(t,"."+i+"-menu-level-0."+i+"-left",{right:"auto",left:"5px"}),new r.u0(t,"."+i+"-menu-level-0."+i+"-right",{right:"5px",left:"auto"}),new r.u0(t,"."+i+"-menu-level-0."+i+"-top",{top:"5px",bottom:"auto"}),new r.u0(t,"."+i+"-menu-level-0."+i+"-bottom",{top:"auto",bottom:"5px"}),new r.u0(t,"."+i+"-item."+i+"-item-level-0",{opacity:"0.3",width:"30px","min-height":"30px",transition:"all 100ms ease-in-out"}),new r.u0(t,"div:hover > div > ."+i+"-menu ."+i+"-item."+i+"-item-level-0, ."+i+"-item."+i+"-item-level-0.active",{opacity:"0.9"}),new r.u0(t,"."+i+"-item."+i+"-item-level-0 > a",{padding:"0","text-align":"center",overflow:"hidden"}),new r.u0(t,"."+i+"-item."+i+"-item-level-0:before",{display:"block"}),new r.u0(t,"."+i+"-item",{position:"relative",display:"block",opacity:"0","z-index":"1","border-radius":"3px","background-color":n.getFor("secondaryButton").hex,padding:"0",margin:"1px 1px 0 0",color:n.getFor("secondaryButton").alternative.hex,transition:"all 100ms ease-in-out, opacity 0.5s ease 0.5s"}),new r.u0(t,"."+i+"-left ."+i+"-item",{margin:"1px 0 0 1px"}),new r.u0(t,"."+i+"-item:hover, ."+i+"-item.active",{background:n.getFor("secondaryButtonHover").hex,color:n.getFor("secondaryButtonText").hex}),new r.u0(t,"."+i+"-item > ."+i+"-menu",{position:"absolute",top:"-1px",right:"0","margin-right":"100%"}),new r.u0(t,"."+i+"-left ."+i+"-item > ."+i+"-menu",{left:"0",right:"auto","margin-left":"100%","margin-right":"auto"}),new r.u0(t,"."+i+"-right ."+i+"-item > ."+i+"-menu",{left:"auto",right:"0","margin-left":"auto","margin-right":"100%"}),new r.u0(t,"."+i+"-top ."+i+"-item > ."+i+"-menu",{top:"-1px",bottom:"auto"}),new r.u0(t,"."+i+"-bottom ."+i+"-item > ."+i+"-menu",{top:"auto",bottom:"0"}),new r.u0(t,"."+i+"-item > ."+i+"-menu",{display:"none"}),new r.u0(t,"."+i+"-item:hover > ."+i+"-menu, ."+i+"-item.active > ."+i+"-menu",{display:"block"}),new r.u0(t,"."+i+"-item:hover > ."+i+"-menu > ."+i+"-item, ."+i+"-item.active > ."+i+"-menu > ."+i+"-item",{opacity:"1"}),new r.u0(t,"."+i+"-menu",{display:"block","list-style":"none",margin:"0",padding:"0"}),new r.u0(t,"."+i+"-label",{display:"block",cursor:"default",padding:"0.5em 1em"}),new r.u0(t,"."+i+"-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.u0(t,"."+i+"-item-level-0 > ."+i+"-icon",{padding:"0.1em 0.2em"}),new r.u0(t,"."+i+"-clickable",{cursor:"pointer"})]);return new a.DM((function(){h.removeKey(i),e.dispose()}))}));return o.increment()}var u=i(98306),p=i(4781),c=i(15993),d=i(51763),f=i(42879),g=i(2513),y=i(81245),m=i(78398),v=i(52248),b=function(t){function e(){var e=t.call(this)||this;return e.adapter=new u.L1(e),e.closeDelay=1e3,e.closeOnClick=!0,e._language=new a.cx,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.invali
1date(),e.applyTheme(),e}return(0,n.ZT)(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"),v.NA(this._container).appendChild(this._element);for(var e=this.adapter.apply("items",{items:this._items}).items,i=e.length,n=0;n<i;n++)this.drawBranch(this._element,e[n],0);this._element=this.adapter.apply("menuElement",{menuElement:this._element}).menuElement,this._disposers.push((0,c.S)().body.events.on("down",(function(e){e.pointer.touch||(t._ignoreNextClose=!1),t.close()}))),this._disposers.push((0,c.S)().body.events.on("keydown",(function(e){var i=g.d.getEventKey(e.event);switch(i){case"esc":t.close();break;case"up":case"down":case"left":case"right":t._currentSelection&&e.event.preventDefault(),t.moveSelection(i);break}}))),this.defaultStyles&&this.loadDefaultCSS()},e.prototype.drawBranch=function(t,e,i){var n=this;if(e=this.adapter.apply("branch",{branch:e,level:i}).branch,!0!==e.unsupported){e.ascendants||(e.ascendants=new p.aV);var r,s=e.type,o=this.createItemElement(i,s);e.icon?(r=this.createIconElement(i,s),r.src=e.icon,(e.label||e.title)&&(r.title=e.title||e.label)):e.svg?(r=this.createSvgElement(i,s,e.svg),(e.label||e.title)&&(r.title=e.title||e.label)):(r=this.createLabelElement(i,s),r.innerHTML=e.label?this.language.translate(e.label):"",e.title&&(r.title=e.title));var a=this.getReaderLabel(e,r.innerHTML);r.setAttribute("aria-label",a),o.appendChild(r),e.interactions=(0,c.S)().getInteraction(o),e.element=o,this.typeClickable(s)&&(e.interactions.events.on("hit",(function(t){if(n.events.isEnabled("hit")&&!n.isDisposed()){var i={type:"hit",event:t.event,target:n,branch:e};n.events.dispatchImmediately("hit",i)}})),e.interactions.events.on("keyup",(function(t){if(g.d.isKey(t.event,"enter")&&n.events.isEnabled("enter")){var i={type:"enter",event:t.event,target:n,branch:e};n.events.dispatchImmediately("enter",i)}})));var h=this.getSubMenu(e);null!=h&&(e.interactions.events.on("keyup",(function(t){g.d.isKey(t.event,"enter")&&(n.selectBranch(h[0]),n.setFocus(h[0]))})),e.interactions.events.on("hit",(function(t){n.selectBranch(e)}))),e.interactions.events.on("over",(function(t){if(t.pointer.touch&&(n._ignoreNextClose=!0),n.selectBranch(e),n.events.isEnabled("over")){var i={type:"over",event:t.event,target:n,branch:e};n.events.dispatchImmediately("over",i)}})),e.interactions.events.on("out",(function(t){if(!n.isDisposed()&&(t.pointer.touch||n.delayUnselectBranch(e),n.events.isEnabled("out"))){var i={type:"out",event:t.event,target:n,branch:e};n.events.dispatchImmediately("out",i)}})),e.interactions.events.on("focus",(function(t){n.selectBranch(e)})),e.interactions.events.on("blur",(function(t){n.delayUnselectBranch(e)}));var l=i+1;if(e.menu){var u=this.createMenuElement(l);e.submenuElement=u;for(var d=e.menu.length,f=0;f<d;f++){var y=new p.aV;e.menu[f].ascendants=y,e.ascendants.length&&y.copyFrom(e.ascendants),y.push(e),this.drawBranch(u,e.menu[f],l)}if(""==u.innerHTML)return;o.appendChild(u)}e.hidden&&this.hideBranch(e),e.id&&o.setAttribute("id",e.id),e.color&&(o.style.backgroundColor=e.color.hex),t.appendChild(o)}},e.prototype.createMenuElement=function(t){var e=document.createElement(this.menuTag);return e.className=this.getMenuItemClass(t),0===t?e.setAttribute("role","menubar"):e.setAttribute("role","menu"),e},e.prototype.getMenuItemClass=function(t){var e=this.classPrefix+"-menu "+this.classPrefix+"-menu-level-"+t;return 0===t&&(e+=" "+this.classPrefix+"-menu-root "+this.classPrefix+"-"+this.align+" "+this.classPrefix+"-"+this.verticalAlign),this.adapter.apply("menuClass",{className:e,level:t}).className},e.prototype.createItemElement=function(t,e){var i=document.createElement(this.itemTag),n=this.classPrefix+"-item "+this.classPrefix+"-item-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return i.className=this.adapter.apply("itemClass",{className:n,level:t,type:e}).className,i.setAttribute("role","menuitem"),i.setAttribute("tabindex",this.tabindex.toString()),i},e.prototype.createLabelElement=function(t,e){var i=document.createElement(this.labelTag),n=this.classPrefix+"-label "+this.classPrefix+"-label-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return this.typeClickable(e)&&(n+=" "+this.classPrefix+"-clickable"),i.className=this.adapter.apply("labelClass",{className:n,level:t,type:e}).className,i},e.prototype.createIconElement=function(t,e){var i=document.createElement(this.iconTag),n=this.classPrefix+"-icon "+this.classPrefix+"-icon-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return this.typeClickable(e)&&(n+=" "+this.classPrefix+"-clickable"),i.className=this.adapter.apply("labelClass",{className:n,level:t,type:e}).className,i.setAttribute("tabindex",this.tabindex.toString()),i.setAttribute("role","menuitem"),i}
1,e.prototype.createSvgElement=function(t,e,i){var n=new DOMParser,r=n.parseFromString(i,"image/svg+xml").documentElement,s=this.classPrefix+"-icon "+this.classPrefix+"-icon-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return this.typeClickable(e)&&(s+=" "+this.classPrefix+"-clickable"),r.setAttribute("class",this.adapter.apply("labelClass",{className:s,level:t,type:e}).className),r.setAttribute("tabindex",this.tabindex.toString()),r.setAttribute("role","menuitem"),r},e.prototype.dispose=function(){this._disposed||(t.prototype.dispose.call(this),this._element&&this._element.parentNode&&this._element.parentNode.removeChild(this._element))},e.prototype.typeClickable=function(t){return v.Uh(t)},e.prototype.hasSubMenu=function(t){return!(!t.menu||!t.menu.length)},e.prototype.getSubMenu=function(t){if(t.menu&&t.menu.length)return t.menu},e.prototype.getReaderLabel=function(t,e){return e=y.oN(e),0==t.ascendants.length?(e="..."==e?this.language.translate("Export"):e,e+=" ["+this.language.translate("Press ENTER or use arrow keys to navigate")+"]"):this.hasSubMenu(t)?e+=" ["+this.language.translate("Click, tap or press ENTER to open")+"]":"print"==t.type?e=this.language.translate("Click, tap or press ENTER to print."):this.typeClickable(t.type)&&(e=this.language.translate("Click, tap or press ENTER to export as %1.",void 0,e)),this.adapter.apply("rederLabel",{label:e,branch:t}).label},Object.defineProperty(e.prototype,"container",{get:function(){return this._container},set:function(t){this._container=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this._items},set:function(t){this._items=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tag",{set:function(t){this._menuTag=t,this._itemTag="ul"==t?"li":"div",this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"menuTag",{get:function(){return this.adapter.apply("menuTag",{tag:this._menuTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemTag",{get:function(){return this.adapter.apply("itemTag",{tag:this._itemTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"labelTag",{get:function(){return this.adapter.apply("labelTag",{tag:this._labelTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconTag",{get:function(){return this.adapter.apply("iconTag",{tag:this._iconTag}).tag},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.adapter.apply("align",{align:this._align}).align},set:function(t){this._align=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalAlign",{get:function(){return this.adapter.apply("verticalAlign",{verticalAlign:this._verticalAlign}).verticalAlign},set:function(t){this._verticalAlign=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classPrefix",{get:function(){return this.adapter.apply("classPrefix",{classPrefix:this._classPrefix}).classPrefix},set:function(t){this._classPrefix=t,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"defaultStyles",{get:function(){return this.adapter.apply("defaultStyles",{defaultStyles:this._defaultStyles}).defaultStyles},set:function(t){this._defaultStyles!=t&&(this._defaultStyles=t,t&&this.loadDefaultCSS()),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.loadDefaultCSS=function(){this._disposers.push(l(r.Ay(this.container),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 d.S,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.invali
1date()}))),this.invalidate()},enumerable:!0,configurable:!0}),e.prototype.close=function(){var t=this;if(!this.isDisposed())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,n=i-1;n>=0;n--)e[n]&&r.IV(e[n],"active");this.events.dispatchImmediately("closed",{type:"closed",target:this})}},e.prototype.selectBranch=function(t){var e=this;if(!this.isDisposed()&&(t.closeTimeout&&(this.removeDispose(t.closeTimeout),t.closeTimeout=void 0),r.cn(t.element,"active"),t.submenuElement&&t.submenuElement.setAttribute("aria-expanded","true"),this._currentSelection&&this._currentSelection!==t&&this._currentSelection.ascendants&&m.S6(m.zo(m.nI([this._currentSelection]),this._currentSelection.ascendants.iterator()),(function(i){t.ascendants.contains(i)||t===i||e.unselectBranch(i,!0)})),m.S6(t.ascendants.iterator(),(function(t){t.closeTimeout&&(e.removeDispose(t.closeTimeout),t.closeTimeout=void 0),r.cn(t.element,"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(!this.isDisposed()&&(r.IV(t.element,"active"),t.submenuElement&&t.submenuElement.removeAttribute("aria-expanded"),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;this.isDisposed()||(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.S6(t.ascendants.iterator(),(function(t){i.delayUnselectBranch(t,!0)})))},e.prototype.moveSelection=function(t){if(!this.isDisposed()&&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 i=e.length==i?0:i,e[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 i=-1==i?e.length-1:i,e[i].unsupported?this.getPrevSibling(e[i]):e[i]}return t},e.prototype.setFocus=function(t){if(t.interactions)try{t.interactions.element.focus()}catch(e){}},e.prototype.setBlur=function(t){if(t.interactions)try{t.interactions.element.blur()}catch(e){}},e.prototype.hideBranch=function(t){t.element.style.display="none"},e.prototype.showBranch=function(t){t.element.style.display=""},Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),e}(f.c)},86237:function(t,e,i){i.d(e,{C:function(){return c}});i(70560);var n=i(60199),r=i(51763),s=i(56399),o=i(43419),a=i(69580),h=i(94339),l=i(81245),u=i(52248),p=i(71915),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.timezoneMinutes=0,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","Frid
1ay","Saturday"],e.weekdaysShort=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],e._outputFormat="svg",e.capitalize=!0,e.className="DateFormatter",e.applyTheme(),e}return(0,n.ZT)(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,i){var n,s;if(this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.S),"undefined"!==typeof e&&""!==e||(e=this._dateFormat),s=u.HD(t)?this.parse(t):l.yr(t),u.Kn(e))try{return this.intlLocales?new Intl.DateTimeFormat(this.intlLocales,e).format(s):new Intl.DateTimeFormat(void 0,e).format(s)}catch(a){return"Invalid"}else{e=l.Uv(e);var o=this.parseFormat(e);if(u.Uh(this.timezoneOffset)?s.setMinutes(s.getMinutes()+s.getTimezoneOffset()-this.timezoneOffset):u.Uh(this.timezone)&&!1!==i&&(s=p.zA(s,this.timezone)),!u.hj(s.getTime()))return this.language.translate("Invalid date");n=this.applyFormat(s,o,this.language),this.capitalize&&(n=n.replace(/^.{1}/,n.substr(0,1).toUpperCase()))}return n},e.prototype.parseFormat=function(t){var e=this.getCache(t);if(u.Uh(e))return e;for(var i={template:"",parts:[]},n=(0,o.k)().chunk(t,!0),r=0;r<n.length;r++){var s=n[r];if("value"===s.type){s.text.match(/^date$/i)&&u.HD(this._dateFormat)&&(s.text=this._dateFormat);var a=s.text.match(/G|yyyy|yyy|yy|y|YYYY|YYY|YY|Y|u|q|MMMMM|MMMM|MMM|MM|M|ww|w|W|dd|d|DDD|DD|D|F|g|EEEEE|EEEE|EEE|EE|E|eeeee|eeee|eee|ee|e|aaa|aa|a|hh|h|HH|H|KK|K|kk|k|mm|m|ss|s|SSS|SS|S|A|zzzz|zzz|zz|z|ZZ|Z|t|x|nnn|nn|n|i|I/g);if(a)for(var l=0;l<a.length;l++)i.parts.push(a[l]),s.text=s.text.replace(a[l],h.l7)}i.template+=s.text}return this.setCache(t,i),i},e.prototype.applyFormat=function(t,e,i){var n,r,s,o,a,u,p,c,d=e.template,f=t.getTimezoneOffset(),g=t.getTime();this.utc?(n=t.getUTCFullYear(),r=t.getUTCMonth(),s=t.getUTCDay(),o=t.getUTCDate(),a=t.getUTCHours(),u=t.getUTCMinutes(),p=t.getUTCSeconds(),c=t.getUTCMilliseconds()):(n=t.getFullYear(),r=t.getMonth(),s=t.getDay(),o=t.getDate(),a=t.getHours(),u=t.getMinutes(),p=t.getSeconds(),c=t.getMilliseconds());for(var y=0,m=e.parts.length;y<m;y++){var v="";switch(e.parts[y]){case"G":v=i.translate(n<0?"_era_bc":"_era_ad");break;case"yyyy":v=Math.abs(n).toString(),n<0&&(v+=i.translate("_era_bc"));break;case"yyy":case"yy":case"y":v=Math.abs(n).toString().substr(-e.parts[y].length),n<0&&(v+=i.translate("_era_bc"));break;case"YYYY":case"YYY":case"YY":case"Y":var b=l.Qk(t),_=n;1==b&&s>4&&_--,v="YYYY"==e.parts[y]?Math.abs(_).toString():Math.abs(_).toString().substr(-e.parts[y].length),_<0&&(v+=i.translate("_era_bc"));break;case"u":break;case"q":v=""+Math.ceil((t.getMonth()+1)/3);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.NE(r+1,2,"0");break;case"M":v=(r+1).toString();break;case"ww":v=l.NE(l.Qk(t,this.utc),2,"0");break;case"w":v=l.Qk(t,this.utc).toString();break;case"W":v=l.PY(t,this.utc).toString();break;case"dd":v=l.NE(o,2,"0");break;case"d":v=o.toString();break;case"DD":case"DDD":v=l.NE(l.Jo(t,this.utc).toString(),e.parts[y].length,"0");break;case"D":v=l.Jo(t,this.utc).toString();break;case"F":break;case"g":break;case"t":v=i.translateFunc("_dateOrd").call(this,o);break;case"E":v=(s||7).toString();break;case"EE":v=l.NE((s||7).toString(),2,"0");break;case"EEE":case"eee":v=i.translate(this.weekdaysShort[s]);break;case"EEEE":case"eeee":v=i.translate(this.weekdays[s]);break;case"EEEEE":case"eeeee":v=i.translate(this.weekdays[s]).substr(0,1);break;case"e":case"ee":v=(s-this.firstDayOfWeek+1).toString(),"ee"==e.parts[y]&&(v=l.NE(v,2,"0"));break;case"a":v=a>=12?i.translate("PM"):i.translate("AM");break;case"aa":v=a>=12?i.translate("P.M."):i.translate("A.M.");break;case"aaa":v=a>=12?i.translate("P"):i.translate("A");break;case"h":v=l.LS(a).toString();break;case"hh":v=l.NE(l.LS(a),2,"0");break;case"H":v=a.toString();break;case"HH":v=l.NE(a,2,"0");break;case"K":v=l.LS(a,0).toString();break;case"KK":v=l.NE(l.LS(a,0),2,"0");break;case"k":v=(a+1).toString();break;case"kk":v=l.NE(a+1,2,"0");break;case"m":v=u.toString();break;case"mm":v=l.NE(u,2,"0");break;case"s":v=p.toString();break;case"ss":v=l.NE(p,2,"0");break;case"S":case"SS":case"SSS":v=Math.round(c/1e3*Math.pow(10,e.parts[y].length)).toString();break;case"x":v=g.toString();break;case"n":case"nn":case"nnn":v=l.NE(c,e.parts[y].length,"0");break;case"z":v=l.Ze(t,!1,!1,this.utc);break;case"zz":v=l.Ze(t,!0,!1,this.utc);break;case"zzz":v=l.Ze(t,!1,!0,this.utc);break;
1case"zzzz":v=l.Ze(t,!0,!0,this.utc);break;case"Z":case"ZZ":var x=Math.abs(f)/60,P=Math.floor(x),w=60*x-60*P;this.utc&&(P=0,w=0),"Z"==e.parts[y]?(v="GMT",v+=f>0?"-":"+",v+=l.NE(P,2)+":"+l.NE(w,2)):(v=f>0?"-":"+",v+=l.NE(P,2)+l.NE(w,2));break;case"i":v=t.toISOString();break;case"I":v=t.toUTCString();break}d=d.replace(h.l7,v)}return d},e.prototype.parse=function(t,e){if(u.Uh(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.S);var n="";e=l.Uv(e),e=e.substr(0,t.length);for(var s=this.parseFormat(e),o={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},a={year:1970,month:0,day:1,hour:0,minute:0,second:0,millisecond:0,timestamp:null,offset:0,utc:this.utc},h=0,p=0,c=0;c<s.parts.length;c++){switch(p=c+h+1,s.parts[c]){case"yyyy":case"YYYY":n+="([0-9]{4})",o.year=p;break;case"yyy":case"YYY":n+="([0-9]{3})",o.year3=p;break;case"yy":case"YY":n+="([0-9]{2})",o.year2=p;break;case"y":case"Y":n+="([0-9]{1})",o.year1=p;break;case"MMMM":n+="("+this.getStringList(this.months).join("|")+")",o.monthLong=p;break;case"MMM":n+="("+this.getStringList(this.monthsShort).join("|")+")",o.monthShort=p;break;case"MM":case"M":n+="([0-9]{2}|[0-9]{1})",o.month=p;break;case"ww":case"w":n+="([0-9]{2}|[0-9]{1})",o.week=p;break;case"dd":case"d":n+="([0-9]{2}|[0-9]{1})",o.day=p;break;case"DDD":case"DD":case"D":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",o.yearDay=p;break;case"dddd":n+="("+this.getStringList(this.weekdays).join("|")+")",o.weekdayLong=p;break;case"ddd":n+="("+this.getStringList(this.weekdaysShort).join("|")+")",o.weekdayShort=p;break;case"aaa":case"aa":case"a":n+="("+this.getStringList(["AM","PM","A.M.","P.M.","A","P"]).join("|")+")",o.am=p;break;case"hh":case"h":n+="([0-9]{2}|[0-9]{1})",o.hour12Base1=p;break;case"HH":case"H":n+="([0-9]{2}|[0-9]{1})",o.hourBase0=p;break;case"KK":case"K":n+="([0-9]{2}|[0-9]{1})",o.hour12Base0=p;break;case"kk":case"k":n+="([0-9]{2}|[0-9]{1})",o.hourBase1=p;break;case"mm":case"m":n+="([0-9]{2}|[0-9]{1})",o.minute=p;break;case"ss":case"s":n+="([0-9]{2}|[0-9]{1})",o.second=p;break;case"SSS":case"SS":case"S":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",o.millisecond=p,o.millisecondDigits=s.parts[c].length;break;case"nnn":case"nn":case"n":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",o.millisecond=p;break;case"x":n+="([0-9]{1,})",o.timestamp=p;break;case"Z":n+="GMT([-+]+[0-9]{2}:[0-9]{2})",o.zone=p;break;case"ZZ":n+="([\\-+]+[0-9]{2}[0-9]{2})",o.zone=p;break;case"i":n+="([0-9]{4})-?([0-9]{2})-?([0-9]{2})T?([0-9]{2}):?([0-9]{2}):?([0-9]{2}).?([0-9]{0,3})([zZ]|[+-][0-9]{2}:?[0-9]{2}|$)",o.iso=p,h+=7;break;case"G":case"YYYY":case"YYY":case"YY":case"Y":case"MMMMM":case"W":case"EEEEE":case"EEEE":case"EEE":case"EE":case"E":case"eeeee":case"eeee":case"eee":case"ee":case"e":case"zzzz"
1:case"zzz":case"zz":case"z":case"t":h--;break}n+="[^0-9]*"}var d=new RegExp(n),f=t.match(d);if(f){if(o.year>-1&&(a.year=parseInt(f[o.year])),o.year3>-1){var g=parseInt(f[o.year3]);g+=1e3,a.year=g}if(o.year2>-1){g=parseInt(f[o.year2]);g+=g>50?1e3:2e3,a.year=g}if(o.year1>-1){g=parseInt(f[o.year1]);g=10*Math.floor((new Date).getFullYear()/10)+g,a.year=g}if(o.monthLong>-1&&(a.month=this.resolveMonth(f[o.monthLong])),o.monthShort>-1&&(a.month=this.resolveShortMonth(f[o.monthShort])),o.month>-1&&(a.month=parseInt(f[o.month])-1),o.week>-1&&-1===o.day&&(a.month=0,a.day=l.un(parseInt(f[o.week]),a.year,1,this.utc)),o.day>-1&&(a.day=parseInt(f[o.day])),o.yearDay>-1&&(a.month=0,a.day=parseInt(f[o.yearDay])),o.hourBase0>-1&&(a.hour=parseInt(f[o.hourBase0])),o.hourBase1>-1&&(a.hour=parseInt(f[o.hourBase1])-1),o.hour12Base0>-1){g=parseInt(f[o.hour12Base0]);11==g&&(g=0),o.am>-1&&!this.isAm(f[o.am])&&(g+=12),a.hour=g}if(o.hour12Base1>-1){g=parseInt(f[o.hour12Base1]);12==g&&(g=0),o.am>-1&&!this.isAm(f[o.am])&&(g+=12),a.hour=g}if(o.minute>-1&&(a.minute=parseInt(f[o.minute])),o.second>-1&&(a.second=parseInt(f[o.second])),o.millisecond>-1){g=parseInt(f[o.millisecond]);2==o.millisecondDigits?g*=10:1==o.millisecondDigits&&(g*=100),a.millisecond=g}if(o.timestamp>-1){a.timestamp=parseInt(f[o.timestamp]);var y=new Date(a.timestamp);a.year=y.getUTCFullYear(),a.month=y.getUTCMonth(),a.day=y.getUTCDate(),a.hour=y.getUTCHours(),a.minute=y.getUTCMinutes(),a.second=y.getUTCSeconds(),a.millisecond=y.getUTCMilliseconds()}o.zone>-1&&(a.offset=this.resolveTimezoneOffset(new Date(a.year,a.month,a.day),f[o.zone])),o.iso>-1&&(a.year=u.He(f[o.iso+0]),a.month=u.He(f[o.iso+1])-1,a.day=u.He(f[o.iso+2]),a.hour=u.He(f[o.iso+3]),a.minute=u.He(f[o.iso+4]),a.second=u.He(f[o.iso+5]),a.millisecond=u.He(f[o.iso+6]),"Z"==f[o.iso+7]||"z"==f[o.iso+7]?a.utc=!0:""!=f[o.iso+7]&&(a.offset=this.resolveTimezoneOffset(new Date(a.year,a.month,a.day),f[o.iso+7]))),i=a.utc?new Date(Date.UTC(a.year,a.month,a.day,a.hour,a.minute,a.second,a.millisecond)):new Date(a.year,a.month,a.day,a.hour,a.minute+a.offset,a.second,a.millisecond)}else i=new Date(t);return i},e.prototype.resolveTimezoneOffset=function(t,e){var i=e.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/);if(i){var n=u.NA(e.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)),r=n[1],s=n[2],o=n[3],a=60*parseInt(s)+parseInt(o);"+"==r&&(a*=-1);var h=(t||new Date).getTimezoneOffset(),l=a-h;return l}return 0},e.prototype.resolveMonth=function(t){var e=this.months.indexOf(t);return e>-1||this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this.months).indexOf(t),e>-1)?e:0},e.prototype.resolveShortMonth=function(t){var e=this.monthsShort.indexOf(t);return e>-1?e:(e=this.months.indexOf(t),e>-1||this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this.monthsShort).indexOf(t),e>-1)?e:0)},e.prototype.isAm=function(t){var e=this.getStringList(["AM","A.M.","A"]);return e.indexOf(t.toUpperCase())>-1},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},e.prototype.getStringList=function(t){for(var e=[],i=0;i<t.length;i++)this.language?e.push(l.UK(this.language.translate(t[i]))):e.push(l.UK(t[i]));return e},Object.defineProperty(e.prototype,"dateFormat",{get:function(){return this._dateFormat},set:function(t){this._dateFormat=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputDateFormat",{get:function(){return this._inputDateFormat},set:function(t){this._inputDateFormat=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intlLocales",{get:function(){return this._intlLocales},set:function(t){this._intlLocales=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"utc",{get:function(){return this._utc},set:function(t){this._utc=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timezoneOffset",{get:function(){return this._timezoneOffset},set:function(t){this._timezoneOffset!=t&&(this._timezoneOffset=t,this.invalidateSprite())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timezone",{get:function(){return this._timezone},set:function(t){this._timezone!=t&&(this._timezone=t,this.timezoneMinutes=p._z(t),this.invalidateSprite())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstDayOfWeek",{get:function(){return this._firstDayOfWeek},set:function(t){this._firstDayOfWeek=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(t){this._outputFormat=t.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),e}(s.L);a.i.registeredClasses["DateFormatter"]=c}
1,9888:function(t,e,i){i.d(e,{$:function(){return d}});i(70560);var n=i(60199),r=i(51763),s=i(56399),o=i(43419),a=i(69580),h=i(94339),l=i(52639),u=i(81245),p=i(52248),c=i(28502),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(0,n.ZT)(e,t),e.prototype.format=function(t,e,i){this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.S);var n=i||this._baseUnit;"undefined"!==typeof e&&""!==e||(e=p.Uh(this.durationFormat)?this.durationFormat:this.getFormat(p.He(t),null,n)),e=u.Uv(e);var s,o=this.parseFormat(e,n),a=Number(t);s=a>this._negativeBase?o.positive:a<this._negativeBase?o.negative:o.zero;var h=this.applyFormat(a,s);return""!==s.color&&("svg"===this._outputFormat?h="<tspan fill='"+s.color+"'>"+h+"</tspan>":"html"===this._outputFormat&&(h="<span style='color: "+s.color+";'>"+h+"</span>")),h},e.prototype.parseFormat=function(t,e){var i=this,n=this.getCache(t);if(p.Uh(n))return n;var r=e||this._baseUnit,s={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}};t=t.replace("||",h.Cb);var a=t.split("|");return s.positive.source=a[0],"undefined"===typeof a[2]?s.zero=s.positive:s.zero.source=a[2],"undefined"===typeof a[1]?s.negative=s.positive:s.negative.source=a[1],l.S6(s,(function(t,e){if(!e.parsed)if("undefined"===typeof i.getCache(e.source)){var n=e.source,r=[];r=e.source.match(/^\[([^\]]*)\]/),r&&r.length&&""!==r[0]&&(n=e.source.substr(r[0].length),e.color=r[1]);for(var a=(0,o.k)().chunk(n,!0),l=0;l<a.length;l++){var u=a[l];if(u.text=u.text.replace(h.Cb,"|"),"value"===u.type){u.text.match(/[yYMdDwhHKkmsSn]+a/)&&(e.absolute=!0,u.text=u.text.replace(/([yYMdDwhHKkmsSn]+)a/,"$1"));var c=u.text.match(/y+|Y+|M+|d+|D+|w+|h+|H+|K+|k+|m+|s+|S+|n+/g);if(c)for(var d=0;d<c.length;d++)p.Uh(c[d])||(c[d]=i._unitAliases[c[d]]),e.parts.push(c[d]),u.text=u.text.replace(c[d],h.l7)}e.template+=u.text}i.setCache(e.source,e),e.parsed=!0}else s[t]=i.getCache(e.source)})),this.setCache(t,s),s},e.prototype.applyFormat=function(t,e){var i=!e.absolute&&t<this._negativeBase;t=Math.abs(t);for(var n=this.toTimeStamp(t,e.baseUnit),r=e.template,s=0,o=e.parts.length;s<o;s++){var a=e.parts[s],l=this.toTimeUnit(a.substr(0,1)),p=a.length,c=Math.floor(n/this._unitValues[l]);r=r.replace(h.l7,u.NE(c,p,"0")),n-=c*this._unitValues[l]}return i&&(r="-"+r),r},e.prototype.toTimeStamp=function(t,e){return t*this._unitValues[e]},e.prototype.toTimeUnit=function(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year"}},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},Object.defineProperty(e.prototype,"baseUnit",{get:function(){return this._baseUnit},set:function(t){this._baseUnit=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(t){this._outputFormat=t.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),e.prototype.getFormat=function(t,e,i){if(p.Uh(this.durationFormat))return this.durationFormat;if(i||(i=this.baseUnit),p.Uh(e)&&t!=e){t=Math.abs(t),e=Math.abs(e);var n=this.getValueUnit(c.Fp(t,e),i);return this.durationFormats[i][n]}var r=this.getValueUnit(t,i);return this.durationFormats[i][r]},e.prototype.getValueUnit=function(t,e){var i;e||(e=this.baseUnit);var n=this.getMilliseconds(t,e);return l.vn(this._unitValues,(function(t,r){if(t==e||i){var s=n/r;if(s<=1)return i||(i=t),!1;i=t}return!0})),i},e.prototype.getMilliseconds=function(t,e){return e||(e=this.baseUnit),t*this._unitValues[e]},Object.defineProperty(e.prototype,"durationFormat",{get:function(){return this._durationFormat},set:function(t){this._durationFormat!=t&&(this._durationFormat=t,this.invalidateSprite())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationFormats",{get:function(){return this._durationFormats||(this._durationFormats={millisecond:{millisecond:this.language.translate("_duration_millisecond"),second:this.language.translate("_duration_millisecond_second"),minute:this.language.translate("_duration_millisecond_minute"),hour:this.language.translate("_duration_millisecond_hour"),day:this.language.translate("_duration_millisecond_day"),week:this.language.translate("_duration_millisecond_week"),month:this.language.translate("_duration_millisecond_month"),year:this.language.translate("_duration_millisecond_year")},second:{second:this.language.translate("_duration_second"),minute:this.language.translate("_duration_second_minute"),hour:this.language.translate("_duration_second_hour"),day:this.language.translate("_duration_second_day"),week:this.language.translate("_duration_second_week"),month:this.language.translate("_duration_second_month"),year:this.language.translate("_duration_second_year")},minute:{minute:this.language.translate("_duration_minute"),hour:this.language.translate("_duration_minute_hour"),day:this.language.translate("_duration_minute_day"),week:this.language.translate("_duration_minute_week"),month:this.language.translate("_duration_minute_month"),year:this.language.translate("_duration_minute_year")},hour:{hour:this.language.translate("_duration_hour"),day:this.language.translate("_duration_hour_day"),week:this.language.translate("_duration_hour_week"),month:this.language.translate("_duration_hour_month"),year:this.language.translate("_duration_hour_year")},day:{day:this.language.translate("_duration_day"),week:this.language.translate("_duration_day_week"),month:this.language.translate("_duration_day_month"),year:this.language.translate("_duration_day_year")},week:{week:this.language.translate("_duration_week"),month:this.language.translate("_duration_week_month"),year:this.language.translate("_duration_week_year")},month:{month:this.language.translate("_duration_month"),year:this.language.translate("_duration_month_year")},year:{year:this.language.translate("_duration_year")}}),this._durationFormats},set:function(t){this._durationFormats=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),e}(s.L);a.i.registeredClasses["DurationFormatter"]=d}
1,42467:function(t,e,i){i.d(e,{e:function(){return d}});i(70560);var n=i(60199),r=i(51763),s=i(56399),o=i(43419),a=i(69580),h=i(94339),l=i(52639),u=i(81245),p=i(52248),c=i(28502),d=function(t){function e(){var e=t.call(this)||this;return e._negativeBase=0,e._numberFormat="#,###.#####",e._outputFormat="svg",e._smallNumberThreshold=1,e._forceLTR=!1,e.className="NumberFormatter",e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this.language&&this.language.dispose()},Object.defineProperty(e.prototype,"language",{get:function(){return this._language||(this.sprite?this._language=this.sprite.language:this._language=new r.S),this._language},set:function(t){this._language=t},enumerable:!0,configurable:!0}),e.prototype.format=function(t,e,i){var n;("undefined"===typeof e||p.HD(e)&&"number"===e.toLowerCase())&&(e=this._numberFormat);var r=Number(t);if(p.Kn(e))try{return this.intlLocales?new Intl.NumberFormat(this.intlLocales,e).format(r):new Intl.NumberFormat(void 0,e).format(r)}catch(a){return"Invalid"}else{e=u.Uv(e);var s=this.parseFormat(e,this.language),o=void 0;o=r>this._negativeBase?s.positive:r<this._negativeBase?s.negative:s.zero,p.Uh(i)&&!o.mod&&(o=l.d9(o),o.decimals.active=0==r?0:i),n=o.template.split(h.l7).join(this.applyFormat(r,o))}return this.forceLTR&&(n="‎"+n),n},e.prototype.parseFormat=function(t,e){var i=this,n=this.getCache(t);if(p.Uh(n))return n;var r={positive:{thousands:{active:-1,passive:-1,interval:-1,separator:e.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:e.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1},negative:{thousands:{active:-1,passive:-1,interval:-1,separator:e.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:e.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1},zero:{thousands:{active:-1,passive:-1,interval:-1,separator:e.translateEmpty("_thousandSeparator")},decimals:{active:-1,passive:-1,separator:e.translateEmpty("_decimalSeparator")},template:"",source:"",parsed:!1}};t=t.replace("||",h.Cb);var s=t.split("|");return r.positive.source=s[0],"undefined"===typeof s[2]?r.zero=r.positive:r.zero.source=s[2],"undefined"===typeof s[1]?r.negative=r.positive:r.negative.source=s[1],l.S6(r,(function(t,e){if(!e.parsed)if("undefined"===typeof i.getCache(e.source)){var n=e.source;"number"===n.toLowerCase()&&(n=p.HD(i._numberFormat)?i._numberFormat:"#,###.#####");for(var s=(0,o.k)().chunk(n,!0),a=0;a<s.length;a++){var l=s[a];if(l.text=l.text.replace(h.Cb,"|"),"value"===l.type){var u=l.text.match(/[#0.,]+[ ]?[abespABESP%!]?[abespABESP‰!]?/);if(u)if(null===u||""===u[0])e.template+=l.text;else{var c=u[0].match(/[abespABESP%‰!]{2}|[abespABESP%‰]{1}$/);c&&(e.mod=c[0].toLowerCase(),e.modSpacing=!!u[0].match(/[ ]{1}[abespABESP%‰!]{1}$/));var d=u[0].split(".");if(""===d[0]);
1else{e.thousands.active=(d[0].match(/0/g)||[]).length,e.thousands.passive=(d[0].match(/\#/g)||[]).length+e.thousands.active;var f=d[0].split(",");1===f.length||(e.thousands.interval=p.NA(f.pop()).length,0===e.thousands.interval&&(e.thousands.interval=-1))}"undefined"===typeof d[1]||(e.decimals.active=(d[1].match(/0/g)||[]).length,e.decimals.passive=(d[1].match(/\#/g)||[]).length+e.decimals.active),e.template+=l.text.split(u[0]).join(h.l7)}}else e.template+=l.text}i.setCache(e.source,e),e.parsed=!0}else r[t]=i.getCache(e.source)})),this.setCache(t,r),r},e.prototype.applyFormat=function(t,e){var i=t<0;t=Math.abs(t);var n="",r="",s=e.mod?e.mod.split(""):[];if(-1!==s.indexOf("b")){var o=this.applyPrefix(t,this.bytePrefixes,-1!==s.indexOf("!"));t=o[0],n=o[1],r=o[2],e.modSpacing&&(r=" "+r)}else if(-1!==s.indexOf("a")){var a=this.applyPrefix(t,t<this.smallNumberThreshold?this.smallNumberPrefixes:this.bigNumberPrefixes,-1!==s.indexOf("!"));t=a[0],n=a[1],r=a[2],e.modSpacing&&(r=" "+r)}else if(-1!==s.indexOf("p")){var h=Math.min(t.toString().length+2,21);t=parseFloat(t.toPrecision(h)),n=this.language.translate("_percentPrefix")||"",r=this.language.translate("_percentSuffix")||"",""==n&&""==r&&(r="%")}else if(-1!==s.indexOf("%")){h=c.VV(t.toString().length+2,21);t*=100,t=parseFloat(t.toPrecision(h)),r="%"}else if(-1!==s.indexOf("‰")){h=c.VV(t.toString().length+3,21);t*=1e3,t=parseFloat(t.toPrecision(h)),r="‰"}if(-1!==s.indexOf("e")){var l=void 0;l=e.decimals.passive>=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 p=Math.pow(10,e.decimals.passive);t=Math.round(t*p)/p}var d="",f=u.D$(t).split("."),g=f[0];if(g.length<e.thousands.active&&(g=Array(e.thousands.active-g.length+1).join("0")+g),e.thousands.interval>0){for(var y=[],m=g.split("").reverse().join(""),v=0,b=g.length;v<=b;v+=e.thousands.interval){var _=m.substr(v,e.thousands.interval).split("").reverse().join("");""!==_&&y.unshift(_)}g=y.join(e.thousands.separator)}d+=g,1===f.length&&f.push("");var x=f[1];return x.length<e.decimals.active&&(x+=Array(e.decimals.active-x.length+1).join("0")),""!==x&&(d+=e.decimals.separator+x),""===d&&(d="0"),0!==t&&i&&-1===s.indexOf("s")&&(d="-"+d),n&&(d=n+d),r&&(d+=r),d},e.prototype.applyPrefix=function(t,e,i){void 0===i&&(i=!1);for(var n=t,r="",s="",o=!1,a=1,h=0,l=e.length;h<l;h++)e[h].number<=t&&(0===e[h].number?n=0:(n=t/e[h].number,a=e[h].number),r=e[h].prefix,s=e[h].suffix,o=!0);return!o&&i&&e.length&&0!=t&&(n=t/e[0].number,r=e[0].prefix,s=e[0].suffix,o=!0),o&&(n=parseFloat(n.toPrecision(c.VV(a.toString().length+Math.floor(n).toString().replace(/[^0-9]*/g,"").length,21)))),[n,r,s]},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},Object.defineProperty(e.prototype,"numberFormat",{get:function(){return this._numberFormat},set:function(t){this._numberFormat=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intlLocales",{get:function(){return this._intlLocales},set:function(t){this._intlLocales=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"negativeBase",{get:function(){return this._negativeBase},set:function(t){this._negativeBase=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bigNumberPrefixes",{get:function(){return p.Uh(this._bigNumberPrefixes)||(this._bigNumberPrefixes=[{number:1e3,suffix:this.language.translate("_big_number_suffix_3")},{number:1e6,suffix:this.language.translate("_big_number_suffix_6")},{number:1e9,suffix:this.language.translate("_big_number_suffix_9")},{number:1e12,suffix:this.language.translate("_big_number_suffix_12")},{number:1e15,suffix:this.language.translate("_big_number_suffix_15")},{number:1e18,suffix:this.language.translate("_big_number_suffix_18")},{number:1e21,suffix:this.language.translate("_big_number_suffix_21")},{number:1e24,suffix:this.language.translate("_big_number_suffix_24")}]),this._bigNumberPrefixes},set:function(t){this._bigNumberPrefixes=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"smallNumberPrefixes",{get:function(){return p.Uh(this._smallNumberPrefixes
1)||(this._smallNumberPrefixes=[{number:1e-24,suffix:this.language.translate("_small_number_suffix_24")},{number:1e-21,suffix:this.language.translate("_small_number_suffix_21")},{number:1e-18,suffix:this.language.translate("_small_number_suffix_18")},{number:1e-15,suffix:this.language.translate("_small_number_suffix_15")},{number:1e-12,suffix:this.language.translate("_small_number_suffix_12")},{number:1e-9,suffix:this.language.translate("_small_number_suffix_9")},{number:1e-6,suffix:this.language.translate("_small_number_suffix_6")},{number:.001,suffix:this.language.translate("_small_number_suffix_3")}]),this._smallNumberPrefixes},set:function(t){this._smallNumberPrefixes=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"smallNumberThreshold",{get:function(){return this._smallNumberThreshold},set:function(t){this._smallNumberThreshold=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bytePrefixes",{get:function(){return p.Uh(this._bytePrefixes)||(this._bytePrefixes=[{number:1,suffix:this.language.translate("_byte_suffix_B")},{number:1024,suffix:this.language.translate("_byte_suffix_KB")},{number:1048576,suffix:this.language.translate("_byte_suffix_MB")},{number:1073741824,suffix:this.language.translate("_byte_suffix_GB")},{number:1099511627776,suffix:this.language.translate("_byte_suffix_TB")},{number:0x4000000000000,suffix:this.language.translate("_byte_suffix_PB")}]),this._bytePrefixes},set:function(t){this._bytePrefixes=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputFormat",{get:function(){return this._outputFormat},set:function(t){this._outputFormat=t.toLowerCase(),this.invalidateSprite()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"forceLTR",{get:function(){return this._forceLTR},set:function(t){this._forceLTR=t,this.invalidateSprite()},enumerable:!0,configurable:!0}),e.prototype.escape=function(t){return t.replace("||",h.Cb)},e.prototype.unescape=function(t){return t.replace(h.Cb,"|")},e}(s.L);a.i.registeredClasses["NumberFormatter"]=d},43419:function(t,e,i){i.d(e,{k:function(){return c}});i(70560);var n,r=i(60199),s=i(56399),o=i(32918),a=i(98306),h=i(69580),l=i(94339),u=i(52248),p=function(t){function e(){var e=t.call(this)||this;return e.adapter=new a.L1(e),e.className="TextFormatter",e.applyTheme(),e}return(0,r.ZT)(e,t),e.prototype.debug=function(){},e.prototype.format=function(t,e){u.Uh(e)||(e="svg");var i="";t=this.escape(t);var n=t.match(/\[([^\]]*?)\]/gm);if(!n)return this.wrap(t,"",e);for(var r=t.split(/\[[^\[\]]*\]/),s=0,o=r.length;s<o;s++){var a=r[s];if(""!==a){a=this.adapter.apply("chunk",a);var h="";s>0&&(h=n[s-1].replace("[","").replace("]","")),i+=this.wrap(a,h,e)}}return i=this.unescape(i),this.cleanUp(i)},e.prototype.escape=function(t){return t.replace(/\[\[/g,h.i.getPlaceholder("1")).replace(/([^\/\]]{1})\]\]/g,"$1"+h.i.getPlaceholder("2")).replace(/\]\]/g,h.i.getPlaceholder("2")).replace(/\{\{/g,h.i.getPlaceholder("3")).replace(/\}\}/g,h.i.getPlaceholder("4")).replace(/\'\'/g,h.i.getPlaceholder("5"))},e.prototype.unescape=function(t){return t.replace(new RegExp(h.i.getPlaceholder("1"),"g"),"[[").replace(new RegExp(h.i.getPlaceholder("2"),"g"),"]]").replace(new RegExp(h.i.getPlaceholder("3"),"g"),"{{").replace(new RegExp(h.i.getPlaceholder("4"),"g"),"}}").replace(new RegExp(h.i.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?"<tspan>"+t+"</tspan>":"<tspan style='"+e+"'>"+t+"</tspan>"},e.prototype.getSvgElement=function(t,e){var i=new o._("tspan");return i.textContent=t,e&&i.node.setAttribute("style",e),i},e.prototype.wrapHtml=function(t,e){return""===e?"<span>"+t+"</span>":"<span style='"+this.styleSvgToHtml(e)+"'>"+t+"</span>"},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:"),t},e.prototype.translateStyleShortcuts=function(t){if(""==t||"[ ]"==t)return"";var e=h.i.getCache("translateStyleShortcuts_"+t);if(e)return e;var i=t.match(/('[^']*')|("[^"]*")/gi);if(i)for(var n=0;n<i.length;n++)t=t.replace(i[n],i[n].replace(/['"]*/g,"").replace(/[ ]+/g,"+"));var r=t.match(/([\w\-]*:[\s]?[^;\s\]]*)|(\#[\w]{1,6})|([\w]+)|(\/)/gi);if(!r)return t;for(n=0;n<r.length;n++)r[n].match(/^bold$/i)?r[n]="font-weight:"+r[n]:"/"==r[n]?r[n]="":r[n].match(/:/)?r[n]=r[n].replace(/\+/g," "):r[n]="fill:"+r[n];var s=r.join(";");return h.i.setCache("translateStyleShortcuts_"+t,s),s}
1,e.prototype.chunk=function(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=[];t=this.escape(t);for(var r=e?t.split("'"):[t],s=0;s<r.length;s++){var o=r[s];if(""!==o)if(s%2===0){o=o.replace(/\]\[/g,"]"+l.l7+"["),o=o.replace(/\[\]/g,"[ ]");for(var a=o.split(/[\[\]]+/),h=0;h<a.length;h++){var u=this.cleanUp(this.unescape(a[h]));u!==l.l7&&(""!==u&&(h%2===0?n.push({type:"value",text:this.adapter.apply("chunk",u)}):n.push({type:i?"value":"format",text:"["+u+"]"})))}}else for(a=o.split(/[\[\]]+/),h=0;h<a.length;h++){u=this.cleanUp(this.unescape(a[h]));""!==u&&(h%2===0?n.push({type:"text",text:u}):this.isImage(u)?n.push({type:"image",text:"["+u+"]"}):n.push({type:"format",text:"["+u+"]"}))}}return n},e.prototype.isImage=function(t){return!!t.match(/img[ ]?:/)},e}(s.L);function c(){return null==n&&(n=new p),n}h.i.registeredClasses["TextFormatter"]=p},81197:function(t,e,i){i.d(e,{r:function(){return h}});i(70560);var n=i(60199),r=i(56399),s=i(15993),o=i(80677),a=i(52248),h=function(t){function e(e,i,n,r){var s=t.call(this)||this;return s.animations=[],s.className="Inertia",s.interaction=e,s.type=i,s.point=n,s.startPoint=r,s._disposers.push(new o.w3(s.animations)),s}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"x",{get:function(){return this.point.x},set:function(t){a.hj(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){a.hj(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&&(0,s.S)().processDragStop(this.interaction),this.dispose()},e}(r.L)},15993:function(t,e,i){i.d(e,{S:function(){return O}});i(70560);var n=i(60199),r=i(56399),s=i(4781),o=i(80677),a=i(73818),h=i(86755),l=i(3258),u=i(64142),p=i(81197),c=i(19606),d=i(2513),f=i(80149),g=i(95298),y=i(29520),m=i(28502),v=i(91564),b=i(78398),_=i(52248),x=i(71915),P=function(t){function e(){var i=t.call(this)||this;return i._globalEventsAdded=!1,i._pointerEvents={pointerdown:"mousedown",pointerup:"mouseup",pointermove:"mousemove",pointercancel:"mouseup",pointerover:"mouseover",pointerout:"mouseout",wheel:"wheel"},i._usePointerEventsOnly=!1,i._useTouchEventsOnly=!1,i._addHoverEvents=!0,i._passiveSupported=!1,i._delayedEvents={out:[]},i.overObjects=new s.aV,i.downObjects=new s.aV,i.trackedObjects=new s.aV,i.transformedObjects=new s.aV,i.pointers=new u.Xy,i.inertiaOptions=new u.Xy,i.hitOptions={doubleHitTime:300,hitTolerance:10,noFocus:!0},i.hoverOptions={touchOutBehavior:"leave",touchOutDelay:1e3},i.swipeOptions={time:500,verticalThreshold:75,horizontalThreshold:30},i.keyboardOptions={speed:.1,accelleration:1.2,accellerationDelay:2e3},i.mouseOptions={sensitivity:1},i.className="Interaction",i.body=i.getInteraction(document.body),i._disposers.push(i.body),window.hasOwnProperty("PointerEvent")?(i._pointerEvents.pointerdown="pointerdown",i._pointerEvents.pointerup="pointerup",i._pointerEvents.pointermove="pointermove",i._pointerEvents.pointercancel="pointercancel",i._pointerEvents.pointerover="pointerover",i._pointerEvents.pointerout="pointerout"):window.hasOwnProperty("MSPointerEvent")?(i._pointerEvents.pointerdown="MSPointerDown",i._pointerEvents.pointerup="MSPointerUp",i._pointerEvents.pointermove="MSPointerMove",i._pointerEvents.pointercancel="MSPointerUp",i._pointerEvents.pointerover="MSPointerOver",i._pointerEvents.pointerout="MSPointerOut"):"undefined"!==typeof matchMedia&&matchMedia("(pointer:fine)").matches?"ontouchstart"in window&&(i._addHoverEvents=!1,i._useTouchEventsOnly=!0):window.navigator.userAgent.match(/MSIE /)||i.fullFF()?i._usePointerEventsOnly=!0:i._useTouchEventsOnly=!0,"onwheel"in document.createElement("div")?i._pointerEvents.wheel="wheel":_.Uh(document.onmousewheel)&&(i._pointerEvents.wheel="mousewheel"),i.inertiaOptions.setKey("move",{time:100,duration:500,factor:1,easing:y.Wx}),i.inertiaOptions.setKey("resize",{time:100,duration:500,factor:1,easing:y.Wx}),i._passiveSupported=e.passiveSupported,i.applyTheme(),i}return(0,n.ZT)(e,t),e.prototype.fullFF=function(){return window.navigator.userAgent.match(/Firefox/)&&!window.navigator.userAgent.match(/Android/)},e.prototype.debug=function(){},e.prototype.addGlobalEvents=function(){var t=this;this._globalEventsAdded||(this._useTouchEventsOnly||(this._disposers.push((0,c.Oo)(document,this._pointerEvents.pointerdown,(function(e){t.handleGlobalPointerDown(e)}))),this._disposers.push((0,c.Oo)(document,this._pointerEvents.pointermove,(function(e){t.handleGlobalPointerMove(e)}))),this._disposers.push((0,c.Oo)(document,this._pointerEvents.pointerup,(function(e){t.handleGlobalPointerUp(e)}))),this._disposers.push((0,c.Oo)(document,this._pointerEvents.pointercancel,(function(e){t.handleGlobalPointerUp(e,!0)}))),this._disposers.push((0,c.Oo)(document,"mouseenter",(function(e){_.Uh(e.relatedTarget)||0!=e.buttons&&0!=e.which||t.handleDocumentLeave(e)})))),this._usePointerEventsOnly||(this._disposers.push((0,c.Oo)(document,"touchstart",(function(e){t.handleGlobalTouchStart(e)}))),this._disposers.push((0,c.Oo)(document,"touchmove",(function(e){t.handleGlobalTouchMove(e)}))),this._disposers.push((0,c.Oo)(document,"touchend",(function(e){t.handleGlobalTouchEnd(e)})))),this._disposers.push((0,c.Oo)(document,"keydown",(function(e){t.handleGlobalKeyDown(e)}))),this._disposers.push((0,c.Oo)(document,"keyup",(function(e){t.handleGlobalKeyUp(e)}))),this._globalEventsAdded=!0)},e.prototype.processClickable=function(t){this.processTouchable(t)}
1,e.prototype.processContextMenu=function(t){t.contextMenuDisabled?t.eventDisposers.hasKey("contextMenuDisabled")||t.eventDisposers.setKey("contextMenuDisabled",(0,c.Oo)(t.element,"contextmenu",(function(t){t.preventDefault()}))):t.eventDisposers.hasKey("contextMenuDisabled")&&t.eventDisposers.getKey("contextMenuDisabled").dispose()},e.prototype.processHoverable=function(t){var e=this;if(t.hoverable||t.trackable)this.addGlobalEvents(),this.applyCursorOverStyle(t),!t.eventDisposers.hasKey("hoverable")&&this._addHoverEvents&&t.eventDisposers.setKey("hoverable",new a.FV([(0,c.Oo)(t.element,this._pointerEvents.pointerout,(function(i){return e.handlePointerOut(t,i)})),(0,c.Oo)(t.element,this._pointerEvents.pointerover,(function(i){return e.handlePointerOver(t,i)}))])),t.trackable;else{var i=t.eventDisposers.getKey("hoverable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("hoverable"))}this.processTouchable(t)},e.prototype.processMovable=function(t){(t.draggable||t.swipeable||t.trackable||t.resizable)&&(this.isGlobalElement(t)||t.isTouchProtected||this.prepElement(t),this.applyCursorOverStyle(t)),this.processTouchable(t)},e.prototype.processTrackable=function(t){this.processHoverable(t),this.processMovable(t),t.trackable?this.trackedObjects.moveValue(t):this.trackedObjects.removeValue(t)},e.prototype.processDraggable=function(t){this.processMovable(t)},e.prototype.processSwipeable=function(t){this.processMovable(t)},e.prototype.processResizable=function(t){this.processMovable(t)},e.prototype.processWheelable=function(t){var e=this;if(t.wheelable)t.eventDisposers.hasKey("wheelable")||t.eventDisposers.setKey("wheelable",new a.FV([(0,c.Oo)(t.element,this._pointerEvents.wheel,(function(i){return e.handleMouseWheel(t,i)}),!!this._passiveSupported&&{passive:!1}),t.events.on("out",(function(i){t.wheelable&&e.unlockWheel()})),t.events.on("over",(function(i){t.wheelable&&e.lockWheel()}))]));else{var i=t.eventDisposers.getKey("wheelable");null!=i&&(i.dispose(),t.eventDisposers.removeKey("wheelable"))}},e.prototype.processFocusable=function(t){var e=this;if(!0===t.focusable&&t.tabindex>-1&&!this._useTouchEventsOnly)t.eventDisposers.hasKey("focusable")||t.eventDisposers.setKey("focusable",new a.FV([(0,c.Oo)(t.element,"focus",(function(i){return e.handleFocus(t,i)})),(0,c.Oo)(t.element,"blur",(function(i){return e.handleBlur(t,i)})),(0,c.Oo)(t.element,this._pointerEvents.pointerdown,(function(i){return e.handleFocusBlur(t,i)})),(0,c.Oo)(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",(0,c.Oo)(t.element,"touchstart",(function(i){return e.handleTouchDown(t,i)}),!!this._passiveSupported&&{passive:!1})):t.eventDisposers.setKey("touchable",(0,c.Oo)(t.element,this._pointerEvents.pointerdown,(function(i){return e.handlePointerDown(t,i)}))):t.eventDisposers.setKey("touchable",new a.FV([(0,c.Oo)(t.element,this._pointerEvents.pointerdown,(function(i){return e.handlePointerDown(t,i)})),(0,c.Oo)(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"),c.yv(),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.d.isKey(t,"esc"))c.yv();else if(this.focusedObject.draggable&&d.d.isKey(t,["up","down","left","right"])){t.preventDefault();var e=this.focusedObject,i="interactionKeyboardObject";if(e.eventDisposers.hasKey(i))return;var n=new l.J(e,t);switch(e.eventDisposers.setKey(i,n),d.d.getEventKey(t)){case"up":n.directionY=-1;break;case"down":n.directionY=1;break;case"left":n.directionX=-1;break;case"right":n.directionX=1;break}}},e.prototype.handleGlobalKeyUp=function(t){var e="interactionKeyboardObject";if(this.focusedObject){var i=this.focusedObject.eventDisposers.getKey(e);null!=i&&(t.preventDefault(),i.dispose(),this.focusedObject.eventDisposers.removeKey(e));
1var n=this.focusedObject.sprite;d.d.isKey(t,"enter")&&n&&(n.events.isEnabled("hit")||n.events.isEnabled("toggled")?this.focusedObject.dispatchImmediately("hit"):"hit"==n.showTooltipOn&&this.focusedObject.dispatchImmediately("up"))}},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<t.changedTouches.length;e++){var i=this.getPointer(t.changedTouches[e]);if(i.point=this.getPointerPoint(t.changedTouches[e]),this.events.isEnabled("track")&&!f.B.isPaused){var n={type:"track",target:this,event:t,pointer:i,touch:i.touch};this.events.dispatchImmediately("track",n)}this.addBreadCrumb(i,i.point),this.handleGlobalMove(i,t)}},e.prototype.handleGlobalTouchStart=function(t){this.processDelayed();for(var e=0;e<t.changedTouches.length;e++){var i=this.getPointer(t.changedTouches[e]);if(!this._usePointerEventsOnly&&this.events.isEnabled("down")&&!f.B.isPaused){var n={type:"down",target:this,event:t,pointer:i,touch:i.touch};this.events.dispatchImmediately("down",n)}}},e.prototype.handleGlobalTouchEnd=function(t){for(var e=0;e<t.changedTouches.length;e++){var i=this.getPointer(t.changedTouches[e]);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.prototype.handlePointerDown=function(t,e){var i=this.getPointer(e);(i.touch||1==e.which||3==e.which)&&(i.button=e.which,this.resetPointer(i,e),this.handleDown(t,i,e))},e.prototype.handlePointerOver=function(t,e){var i=this.getPointer(e);this.handleOver(t,i,e)},e.prototype.handlePointerOut=function(t,e){var i=this.getPointer(e);this.handleOut(t,i,e)},e.prototype.handleMouseWheel=function(t,e){var i=this.getPointer(e);i.point=this.getPointerPoint(e);var n=0,r=0,s=1;if(1==e.deltaMode&&(s=50),s*=this.getMouseOption(t,"sensitivity"),!(e instanceof WheelEvent))throw new Error("Invalid event type");n=Math.round(-1*e.wheelDeltaX||e.deltaX*s),r=Math.round(-1*e.wheelDeltaY||e.deltaY*s),this.handleWheel(t,i,n,r,e)},e.prototype.handleTouchDown=function(t,e){for(var i=0;i<e.changedTouches.length;i++){var n=this.getPointer(e.changedTouches[i]);this.maybePreventDefault(t,e,n),this.resetPointer(n,e.changedTouches[i]),this.handleDown(t,n,e)}},e.prototype.handleHit=function(t,e,i){var n=x.hK();if(t.lastHit&&t.lastHit>=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){var r=!1;if(this.shouldCancelHovers(e)&&this.areTransformed()&&this.moved(e,this.getHitOption(t,"hitTolerance"))&&(r=!0,this.cancelAllHovers(i)),this.processDelayed(),t.overPointers.moveValue(e),!t.isRealHover&&(r||(t.isHover=!0,t.isRealHover=!0,this.overObjects.moveValue(t)),this.handleTrack(this.body,e,i,!0),t.events.isEnabled("over")&&!f.B.isPaused&&!r)){var s={type:"over",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("over",s)}}}
1,e.prototype.handleOut=function(t,e,i,n,r){var s=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&&e.touch&&!r&&!this.old(e)){var o=this.getHoverOption(t,"touchOutBehavior");if("leave"==o)return this._delayedEvents.out.push({type:"out",io:t,pointer:e,event:i,keepUntil:x.hK()+500}),void(t.hasDelayedOut=!0);if("delay"==o&&this.getHoverOption(t,"touchOutDelay"))return void this._delayedEvents.out.push({type:"out",io:t,pointer:e,event:i,keepUntil:x.hK()+500,timeout:this.setTimeout((function(){s.handleOut(t,e,i,!0)}),this.getHoverOption(t,"touchOutDelay"))})}if(t.isHover=!1,this.overObjects.removeValue(t),!t.isDisposed()&&t.events.isEnabled("out")&&!f.B.isPaused){var a={type:"out",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("out",a)}t.overPointers.clear(),t.hasDelayedOut=!1}},e.prototype.processDelayed=function(){var t;while(1){if(t=this._delayedEvents.out.pop(),!t)break;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&&c.yv(),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);var r=this.downObjects.values.slice();r.sort((function(t,e){if(t&&e){var i=t.element.compareDocumentPosition(e.element);return i&Node.DOCUMENT_POSITION_CONTAINED_BY?1:i&Node.DOCUMENT_POSITION_CONTAINS?-1:0}return 0})),v.S6(r,(function(r){r&&r.downPointers.contains(t)&&n.handleUp(r,t,e,i)}))},e.prototype.handleDocumentLeave=function(t){var e=this;b.S6(this.downObjects.backwards().iterator(),(function(i){i.downPointers.each((function(n){e.handleUp(i,n,t)}))}))},e.prototype.handleUp=function(t,e,i,n){if(void 0===n&&(n=!1),this.restoreCursorDownStyle(t,e),t.downPointers.removeValue(e),(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&&e){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){!_.Uh(e)||!(t.draggable||t.swipeable||t.trackable||t.resizable)||this.isGlobalElement(t)||!1===e.cancelable||t.isTouchProtected&&i&&i.touch||e.preventDefault()},e.prototype.cancelAllHovers=function(t){var e=this;b.S6(this.overObjects.backwards().iterator(),(function(i){if(i){var n=i.overPointers.getIndex(0);e.handleOut(i,n,t,!0,!0)}}))},e.prototype.shouldCancelHovers=function(t){return"always"==g.Y.disableHoverOnTransform||"touch"==g.Y.disableHoverOnTransform&&t.touch},e.prototype.handleGlobalMove=function(t,e){var i=this;if(!t.touch){var n=c.kM(t.lastEvent);b.S6(this.overObjects.backwards().iterator(),(function(r){if(r&&r.overPointers.contains(t)&&r.hoverable){var s=!1;r.element&&t.lastEvent&&c.r3(r.element,n)||(s=!0),s&&i.handleOut(r,t,e,!0)}}))}b.S6(this.transformedObjects.backwards().iterator(),(function(n){!n.downPointers.contains(t)||n.swipeable&&i.swiping(n,t)||!n.draggable&&!n.resizable||i.handleTransform(n,e)})),b.S6(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)}}
1,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.x<e.point.x){if(t.events.isEnabled("swiperight")&&!f.B.isPaused){n={type:"swiperight",target:t,event:i,touch:e.touch};t.events.dispatchImmediately("swiperight",n)}}else if(t.events.isEnabled("swipeleft")&&!f.B.isPaused){n={type:"swipeleft",target:t,event:i,touch:e.touch};t.events.dispatchImmediately("swipeleft",n)}},e.prototype.handleWheel=function(t,e,i,n,r){var s={x:i,y:n};t.events.isEnabled("wheel")&&!f.B.isPaused&&t.events.dispatchImmediately("wheel",{type:"wheel",target:t,event:r,point:e.point,shift:s}),i<0?t.events.isEnabled("wheelleft")&&!f.B.isPaused&&t.events.dispatchImmediately("wheelleft",{type:"wheelleft",target:t,event:r,point:e.point,shift:s}):i>0?t.events.isEnabled("swiperight")&&!f.B.isPaused&&t.events.dispatchImmediately("wheelright",{type:"wheelright",target:t,event:r,point:e.point,shift:s}):n<0?t.events.isEnabled("wheelup")&&!f.B.isPaused&&t.events.dispatchImmediately("wheelup",{type:"wheelup",target:t,event:r,point:e.point,shift:s}):n>0&&t.events.isEnabled("wheeldown")&&!f.B.isPaused&&t.events.dispatchImmediately("wheeldown",{type:"wheeldown",target:t,event:r,point:e.point,shift:s})},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="move",r={x:e.point.x,y:e.point.y},s={x:e.startPoint.x,y:e.startPoint.y},a=new p.r(i,n,r,s),h=this.getTrailPoint(e,x.hK()-this.getInertiaOption(t,"move","time"));if("undefined"!==typeof h){var l=this.getInertiaOption(t,"move","factor"),u=[{to:e.point.x+(e.point.x-h.point.x)*l,property:"x"},{to:e.point.y+(e.point.y-h.point.y)*l,property:"y"}],c=new o.fw(a,u,this.getInertiaOption(t,"move","duration"),this.getInertiaOption(t,"move","easing")).start();this._disposers.push(c.events.on("animationended",(function(t){a.done()}))),t.inertias.setKey("move",a)}else this.processDragStop(t,e,e.lastUpEvent)},e.prototype.handleResizeInertia=function(t,e){},e.prototype.handleTransform=function(t,e){var i,n,r,s=t.downPointers.getIndex(0),o=null,a=null;s&&(o=s.point,a=s.startPoint),n={x:t.originalPosition.x,y:t.originalPosition.y},r=n;for(var h=!0,l=1;l<t.downPointers.length;l++){var u=t.downPointers.getIndex(l);if(a.x!=u.startPoint.x&&a.y!=u.startPoint.y){h=!1,i=u,n=i.point,r=i.startPoint;break}}var p=s&&this.moved(s,0);if(t.draggable&&s&&s.dragStartEvents&&s.dragStartEvents.length&&p&&t.events.isEnabled("dragstart")&&!f.B.isPaused&&t.events.dispatchImmediately("dragstart",s.dragStartEvents.shift()),h&&t.draggable)this.handleTransformMove(t,o,a,e,p,s.touch),this.shouldCancelHovers(s)&&this.moved(s,this.getHitOption(t,"hitTolerance"))&&this.cancelAllHovers(e);else{var c=i&&this.moved(i,0);(this.shouldCancelHovers(s)&&this.moved(s,this.getHitOption(t,"hitTolerance"))||this.shouldCancelHovers(i)&&this.moved(i,this.getHitOption(t,"hitTolerance")))&&this.cancelAllHovers(e),t.draggable&&t.resizable?(this.handleTransformMove(t,o,a,e,p&&c,s.touch),this.handleTransformResize(t,o,a,n,r,e,p&&c,s.touch)):(t.draggable&&this.handleTransformMove(t,o,a,e,p,s.touch),!t.resizable||h&&!e.ctrlKey||this.handleTransformResize(t,o,a,n,r,e,p&&c,s.touch))}},e.prototype.handleTransformMove=function(t,e,i,n,r,s){if(r&&t.events.isEnabled("drag")&&!f.B.isPaused&&(!t.isTouchProtected||!s)){var o={type:"drag",target:t,event:n,shift:{x:e.x-i.x,y:e.y-i.y},startPoint:i,point:e,touch:s};t.events.dispatchImmediately("drag",o)}},e.prototype.handleTransformResize=function(t,e,i,n,r,s,o,a){if(t.events.isEnabled("resize")&&!f.B.isPaused&&(!t.isTouchProtected||!a)){var h={type:"resize",target:t,event:s,scale:m.yZ(e,i,n,r),startPoint1:i,point1:e,startPoint2:r,point2:n,touch:a};t.events.dispatchImmediately("resize",h)}},e.prototype.processDragStart=function(t,e,i){this.transformedObjects.moveValue(t),this.shouldCancelHovers(e)&&this.cancelAllHovers(i);var n={type:"dragstart",target:t,event:i,touch:!!e&&e.touch};e&&(e.dragTarget=t),e&&e.dragStartEvents?e.dragStartEvents.push(n):f.B.isPaused||t.dispatchImmediately("dragstart",n)}
1,e.prototype.processDragStop=function(t,e,i){if(e||(e=this.getDragPointer(t)),e&&(e.dragTarget=void 0),this.transformedObjects.removeValue(t),(!e||this.moved(e,0))&&t.events.isEnabled("dragstop")&&!f.B.isPaused){var n={type:"dragstop",target:t,touch:!!e&&e.touch};t.events.dispatchImmediately("dragstop",n)}},e.prototype.processResizeStart=function(t,e,i){this.transformedObjects.moveValue(t)},e.prototype.processResizeStop=function(t,e,i){this.transformedObjects.removeValue(t)},e.prototype.dragStart=function(t,e){e||(e=this.getDragPointer(t)),e&&this.handleDown(t,e,e.lastDownEvent)},e.prototype.dragStop=function(t,e,i){e||(e=this.getDragPointer(t)),e&&!i&&this.handleGlobalUp(e,e.lastUpEvent,i)},e.prototype.getDragPointer=function(t){return t?t.downPointers.getIndex(0):this.transformedObjects.length?this.getDragPointer(this.transformedObjects.getIndex(0)):void 0},e.prototype.getPointerId=function(t){var e="";return e=_.Uh(t.identifier)?""+t.identifier:_.Uh(t.pointerId)?""+t.pointerId:"m",e.replace("-","")},e.prototype.getPointerPoint=function(t){return{x:t.clientX,y:t.clientY}},e.prototype.getPointer=function(t){var e,i=this.getPointerId(t),n=this.getPointerPoint(t);return this.pointers.hasKey(i)?(e=this.pointers.getKey(i),e.touch=this.isPointerTouch(t)):(e={id:i,touch:this.isPointerTouch(t),startPoint:n,startTime:x.hK(),point:n,track:[],swipeCanceled:!1,dragStartEvents:[]},this.addBreadCrumb(e,n),this.pointers.setKey(i,e)),e.lastEvent=t,this.lastPointer=e,e},e.prototype.isPointerTouch=function(t){if("undefined"!==typeof Touch&&t instanceof Touch)return!0;if("undefined"!==typeof PointerEvent&&t instanceof PointerEvent&&_.Uh(t.pointerType))switch(t.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(t instanceof MouseEvent)}else if(_.Uh(t.type)&&t.type.match(/^mouse/))return!1;return!0},e.prototype.resetPointer=function(t,e){var i=this.getPointerPoint(e);t.startTime=x.hK(),t.startPoint={x:i.x,y:i.y},t.point={x:i.x,y:i.y},t.track=[],t.swipeCanceled=!1},e.prototype.addBreadCrumb=function(t,e){t.track.push({timestamp:x.hK(),point:e})},e.prototype.lockDocument=function(){this.prepElement(this.body)},e.prototype.unlockDocument=function(){0==this.transformedObjects.length&&this.restoreAllStyles(this.body)},e.prototype.lockElement=function(t){this.prepElement(t)},e.prototype.unlockElement=function(t){this.restoreAllStyles(t)},e.prototype.lockWheel=function(){window.addEventListener(this._pointerEvents.wheel,this.wheelLockEvent,!!this._passiveSupported&&{passive:!1})},e.prototype.unlockWheel=function(){window.removeEventListener(this._pointerEvents.wheel,this.wheelLockEvent)},e.prototype.isLocalElement=function(t,e,i){var n=this.getCache("local_pointer_"+t.id);if(_.Uh(n))return n;var r=c.yj(e)||document;if(r.elementFromPoint){var s=r.elementFromPoint(t.point.x,t.point.y),o=s&&c.r3(e,s);return this.setCache("local_pointer_"+t.id+"_"+i,o,100),o}return!1},e.prototype.wheelLockEvent=function(t){return t.preventDefault(),!1},e.prototype.prepElement=function(t){var e=t.element;if(e){for(var i=["touchAction","webkitTouchAction","MozTouchAction","MSTouchAction","msTouchAction","oTouchAction","userSelect","webkitUserSelect","MozUserSelect","MSUserSelect","msUserSelect","oUserSelect","touchSelect","webkitTouchSelect","MozTouchSelect","MSTouchSelect","msTouchSelect","oTouchSelect","touchCallout","webkitTouchCallout","MozTouchCallout","MSTouchCallout","msTouchCallout","oTouchCallout","contentZooming","webkitContentZooming","MozContentZooming","MSContentZooming","msContentZooming","oContentZooming","userDrag","webkitUserDrag","MozUserDrag","MSUserDrag","msUserDrag","oUserDrag"],n=0;n<i.length;n++)i[n]in e.style&&this.setTemporaryStyle(t,i[n],"none");this.setTemporaryStyle(t,"tapHighlightColor","rgba(0, 0, 0, 0)")}},e.prototype.unprepElement=function(t){var e=t.element;if(e){for(var i=["touchAction","webkitTouchAction","MozTouchAction","MSTouchAction","msTouchAction","oTouchAction","userSelect","webkitUserSelect","MozUserSelect","MSUserSelect","msUserSelect","oUserSelect","touchSelect","webkitTouchSelect","MozTouchSelect","MSTouchSelect","msTouchSelect","oTouchSelect","touchCallout","webkitTouchCallout","MozTouchCallout","MSTouchCallout","msTouchCallout","oTouchCallout","contentZooming","
1webkitContentZooming","MozContentZooming","MSContentZooming","msContentZooming","oContentZooming","userDrag","webkitUserDrag","MozUserDrag","MSUserDrag","msUserDrag","oUserDrag"],n=0;n<i.length;n++)i[n]in e.style&&this.restoreStyle(t,i[n]);this.restoreStyle(t,"tapHighlightColor")}},e.prototype.getHitOption=function(t,e){var i=t.hitOptions[e];return"undefined"===typeof i&&(i=this.hitOptions[e]),i},e.prototype.getHoverOption=function(t,e){var i=t.hoverOptions[e];return"undefined"===typeof i&&(i=this.hoverOptions[e]),i},e.prototype.getSwipeOption=function(t,e){var i=t.swipeOptions[e];return"undefined"===typeof i&&(i=this.swipeOptions[e]),i},e.prototype.getKeyboardOption=function(t,e){var i=t.keyboardOptions[e];return"undefined"===typeof i&&(i=this.keyboardOptions[e]),i},e.prototype.getMouseOption=function(t,e){var i=t.mouseOptions[e];return"undefined"===typeof i&&(i=this.mouseOptions[e]),i},e.prototype.getInertiaOption=function(t,e,i){var n,r=t.inertiaOptions.getKey(e);return n=r&&_.Uh(r[i])?r[i]:this.inertiaOptions.getKey(e)[i],n},e.prototype.stopInertia=function(t){for(var e,i=["move","resize"],n=0;n<i.length;n++)if(e=i[n],t.inertias.hasKey(e)){var r=t.inertias.getKey(e);if(r){r.dispose();continue}}},e.prototype.swiping=function(t,e){var i=x.hK();return!(e.swipeCanceled||!t.swipeable)&&(Math.abs(e.startPoint.y-e.point.y)<this.getSwipeOption(t,"verticalThreshold")&&e.startTime>i-this.getSwipeOption(t,"time"))},e.prototype.swiped=function(t,e){var i=x.hK();return!e.swipeCanceled&&(Math.abs(e.startPoint.x-e.point.x)>this.getSwipeOption(t,"horizontalThreshold")&&Math.abs(e.startPoint.y-e.point.y)<this.getSwipeOption(t,"verticalThreshold")&&e.startTime>i-this.getSwipeOption(t,"time"))},e.prototype.applyCursorOverStyle=function(t){var e=t.cursorOptions;if(_.Uh(e.overStyle))for(var i=0;i<e.overStyle.length;i++)c.A_(t.element,e.overStyle[i].property,e.overStyle[i].value)},e.prototype.applyCursorDownStyle=function(t,e){if(!e||!e.touch){var i=t.cursorOptions.downStyle;if(t.downPointers.contains(e)&&_.Uh(i))for(var n=0;n<i.length;n++)this.setTemporaryStyle(this.body,i[n].property,i[n].value),this.setTemporaryStyle(t,i[n].property,i[n].value)}},e.prototype.restoreCursorDownStyle=function(t,e){if(!e||!e.touch){var i=t.cursorOptions.downStyle;if(t.downPointers.contains(e)&&_.Uh(i))for(var n=0;n<i.length;n++)this.restoreStyle(this.body,i[n].property),this.restoreStyle(t,i[n].property)}},e.prototype.setGlobalStyle=function(t){for(var e=O().body,i=_.kJ(t)?t:[t],n=0;n<i.length;n++)this.setTemporaryStyle(e,i[n].property,i[n].value)},e.prototype.restoreGlobalStyle=function(t){for(var e=O().body,i=_.kJ(t)?t:[t],n=0;n<i.length;n++)this.restoreStyle(e,i[n].property)},e.prototype.isGlobalElement=function(t){return document.body===t.element},e.prototype.moved=function(t,e,i){void 0===i&&(i=300);var n=this.getShift(t);return Math.abs(n.x)>e||Math.abs(n.y)>e},e.prototype.old=function(t,e){return void 0===e&&(e=300),x.hK()-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<t.track.length;n++)if(t.track[n].timestamp>=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 h.E(t)},e.prototype.setTemporaryStyle=function(t,e,i){var n=t.element;_.Uh(n.style[e])&&!t.replacedStyles.hasKey(e)&&t.replacedStyles.setKey(e,n.style[e]),c.A_(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){b.S6(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){var n=!0;if(n){if(e.changedTouches){for(var r=0;r<e.changedTouches.length;r++)this.logTouch(t,e.type,e.changedTouches[r]);return}var s="";if(e.pointerType)switch(e.pointerType){case 2:s="touch";break;case 4:s="mouse";break;default:s=e.pointerType;break}else s="undefined"!=typeof TouchEvent&&e instanceof TouchEvent?"touch":e.type.match(/^mouse/)?"mouse":"???";var o="";o=_.Uh(e.identifier)?e.identifier:_.Uh(e.pointerId)?e.pointerId:"???",i?console.log(t+" ("+i.uid+")  "+e.type+"  "+s+"  "+o):console.log(t+"  "+e.type+"  "+s+"  "+o)}},e.prototype.areTransformed=function(t){var e=this.transformedObjects.length;if(t)for(var i=_.kJ(t)?t:[t],n=0;n<i.length;n++)this.transformedObjects.contains(i[n])&&e--;return e>0}
1,e.prototype.logTouch=function(t,e,i){console.log(t+"  "+e+"  touch  "+i.identifier)},Object.defineProperty(e,"passiveSupported",{get:function(){var t=this;if(null==this._passiveSupported)try{var e=Object.defineProperty({},"passive",{get:function(){t._passiveSupported=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(i){this._passiveSupported=!1}return this._passiveSupported},enumerable:!0,configurable:!0}),e}(r.y),w=null;function O(){return null==w&&(w=new P),w}},3258:function(t,e,i){i.d(e,{J:function(){return o}});i(70560);var n=i(15993),r=i(80149),s=i(91564),o=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(),(0,n.S)().processDragStart(t),r.B.animations.push(this),this.update()}return t.prototype.update=function(){var t=this.interaction,e=(0,n.S)().getKeyboardOption(t,"speed"),i=(0,n.S)().getKeyboardOption(t,"accelleration"),r=(0,n.S)().getKeyboardOption(t,"accellerationDelay"),s={x:0,y:0};this.keyboardEvent.shiftKey?(e*=.5,i=1):this.keyboardEvent.ctrlKey&&(e*=2);var o=(new Date).getTime()-this._startedOn,a=o-r;if(i>0&&a>0){var h=o/r;o=r,s.x+=this.directionX*(e*i*h*a),s.y+=this.directionY*(e*i*h*a)}s.x+=this.directionX*(e*o),s.y+=this.directionY*(e*o),(0,n.S)().handleTransformMove(t,s,{x:0,y:0},this.keyboardEvent,!0,!1)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||((0,n.S)().processDragStop(this.interaction),s.Od(r.B.animations,this))},t}()},86755:function(t,e,i){i.d(e,{E:function(){return u}});i(70560);var n=i(60199),r=i(87388),s=i(56399),o=i(4781),a=i(64142),h=i(15993),l=i(52248),u=function(t){function e(e){var i=t.call(this)||this;return i._eventDispatcher=new r.A(i),i.eventDisposers=new a.Xy,i.replacedStyles=new a.Xy,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.isRealHover=!1,i._isHoverByTouch=!1,i._isDown=!1,i._isFocused=!1,i._isTouchProtected=!1,i._inertiaOptions=new a.Xy,i.inertias=new a.Xy,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 a.a7(i.inertias)),i._disposers.push(new a.a7(i.eventDisposers)),i.applyTheme(),i}return(0,n.ZT)(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?(0,h.S)().overObjects.moveValue(this):(this.isRealHover=!1,(0,h.S)().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 o.aV),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?(0,h.S)().downObjects.moveValue(this):(0,h.S)().downObjects.removeValue(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"downPointers",{get:function(){return this._downPointers||(this._downPointers=new o.aV),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,(0,h.S)().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?(0,h.S)().unprepElement(this):(this.draggable||this.swipeable||this.trackable||this.resizable)&&(0,h.S)().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,(0,h.S)().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,(0,h.S)().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,(0,h.S)().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,(0,h.S)().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,(0,h.S)().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,(0,h.S)().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,(0,h.S)().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,(0,h.S)().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),(0,h.S)().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){return l.QS(this._tabindex,-1)},set:function(t){this._tabindex!==t&&(this._tabindex=t,t>-1&&(this.focusable=!0),(0,h.S)().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.QS(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.QS(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}
1,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,(0,h.S)().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=(0,h.S)();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}(s.y)},87388:function(t,e,i){i.d(e,{A:function(){return o}});i(70560);var n=i(60199),r=i(65250),s=i(73818),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._domEvents={},e}return(0,n.ZT)(e,t),e.prototype._addDOMEvent=function(t,e,i,n){var r=this;if(!this._domEvents[t]){var o=function(t){i.call(n,e,t)};this.target.element.addEventListener(t,o,!1),this._domEvents[t]=new s.DM((function(){delete r._domEvents[t],r.target.element.removeEventListener(t,o,!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,o,a){var h=t.prototype._on.call(this,e,i,n,r,o,a),l=[h.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":l.push(this._addDOMEvent(i,i,this._dispatchKeyboardEvent,this));break;case"keyup":l.push(this._addDOMEvent(i,i,this._dispatchKeyboardEvent,this));break;case"keypress":l.push(this._addDOMEvent(i,i,this._dispatchKeyboardEvent,this));break;case"input":l.push(this._addDOMEvent(i,i,this._dispatchKeyboardEvent,this));break}return h.disposer=new s.FV(l),h},e}(r.r)}
1,87614:function(t,e,i){i.d(e,{c: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.text=[{property:"cursor",value:"text"}],t}()},32918:function(t,e,i){i.d(e,{_:function(){return o}});var n=i(19606),r=i(52639),s=i(52248),o=function(){function t(t){this._isDisposed=!1,this._x=0,this._y=0,this._rotationY=0,this._rotationX=0,this._rotation=0,this._scale=1,this.node="string"===typeof t?document.createElementNS(n.qu,t):t}return t.prototype.removeNode=function(){this.node&&this.node.parentNode&&this.node.parentNode.removeChild(this.node)},Object.defineProperty(t.prototype,"transformString",{get:function(){if(this.node)return this._transformString},enumerable:!0,configurable:!0}),t.prototype.transform=function(){var t="translate("+this._x+","+this._y+")";if(1!=this._scale&&(t+=(t?" ":"")+"scale("+this._scale+")"),0!=this._rotation){var e="rotate("+this._rotation+")";this._rotationX&&this._rotationY&&(e="rotate("+this._rotation+" "+this._rotationX+" "+this._rotationY+")"),t+=(t?" ":"")+e}this._transformString=t,this.node.setAttribute("transform",t)},t.prototype.getBBox=function(){var t={width:0,height:0,x:0,y:0};if(this.node&&this.node.parentNode)try{var e=this.node.getBBox();t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height}catch(i){}return t},t.prototype.moveTo=function(t){if(t){var e=t.x,i=t.y;this._x==e&&this._y==i||(this._x=e,this._y=i,this.transform())}},Object.defineProperty(t.prototype,"content",{get:function(){return this.node.innerHTML||""},set:function(t){this.node.innerHTML=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.node.textContent||""},set:function(t){this.node.textContent=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"x",{get:function(){return this._x},set:function(t){this._x!=t&&(this._x=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"y",{get:function(){return this._y},set:function(t){this._y!=t&&(this._y=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotation",{get:function(){return this._rotation},set:function(t){this._rotation!=t&&(this._rotation=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotationX",{get:function(){return this._rotationX},set:function(t){this._rotationX!=t&&(this._rotationX=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rotationY",{get:function(){return this._rotationY},set:function(t){this._rotationY!=t&&(this._rotationY=t,this.transform())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scale",{get:function(){return this._scale},set:function(t){this._scale!=t&&(this._scale=t,this.transform())},enumerable:!0,configurable:!0}),t.prototype.removeAttr=function(t){this.node.removeAttribute(t)},t.prototype.attr=function(t){var e=this;return r.S6(t,(function(t,i){s.Uh(i)?e.node.setAttribute(t,i):e.node.removeAttribute(t)})),this},t.prototype.getAttr=function(t){return this.node.getAttribute(t)},t.prototype.attrNS=function(t,e,i){return this.node.setAttributeNS(t,e,
1i),this},t.prototype.getAttrNS=function(t,e){return this.node.getAttributeNS(t,e)},t.prototype.removeStyle=function(t){this.node.style[t]=null,delete this.node.style[t]},t.prototype.getStyle=function(t){return this.node.style[t]},t.prototype.addStyle=function(t){var e=this;return r.S6(t,(function(t,i){s.Uh(i)?e.node.style[t]=i:e.removeStyle(t)})),this},t.prototype.addClass=function(t){n.cn(this.node,t)},t.prototype.removeClass=function(t){n.IV(this.node,t)},t.prototype.setClass=function(t){this.node.setAttribute("class",t)},t.prototype.removeChildNodes=function(){while(this.node.childNodes.length>0)this.node.removeChild(this.node.firstChild)},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.dispose=function(){this.removeNode()},t}()},36323:function(t,e,i){i.d(e,{Z:function(){return s}});var n=i(60199),r=i(32918),s=function(t){function e(e){return t.call(this,e)||this}return(0,n.ZT)(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(e){}},e.prototype.hasChild=function(t){for(var e=0;e<this.node.childNodes.length;e++)if(this.node.childNodes[e]==t.node)return!0;return!1},Object.defineProperty(e.prototype,"content",{get:function(){return this.node.innerHTML},set:function(t){this.node.innerHTML=t},enumerable:!0,configurable:!0}),e.prototype.removeChildren=function(){if(this.node.childNodes)while(this.node.childNodes.length>0){var t=this.node.firstChild;t&&t.parentNode&&t.parentNode.removeChild(t)}},e.prototype.removeChildrenByTag=function(t){if(this.node.childNodes)for(var e=this.node.getElementsByTagName(t),i=0;i<e.length;i++)this.node.removeChild(e[i])},e}(r._)},97625:function(t,e,i){i.d(e,{V:function(){return l},X:function(){return a}});var n=i(32918),r=i(36323),s=i(4650),o=i(19606),a=function(){function t(t,e){this.container=t,this.id=e;var i=document.createElementNS(o.qu,"svg");i.setAttribute("version","1.1"),i.setAttributeNS(o.rv,"xmlns",o.qu),i.setAttributeNS(o.rv,"xmlns:xlink",o.Xz),i.setAttribute("role","group"),this.container.appendChild(i),this.defs=document.createElementNS(o.qu,"defs"),i.appendChild(this.defs),i.style.width="100%",i.style.height="100%",i.style.overflow="visible",this.svg=i}return t.prototype.add=function(t){return new n._(t)},t.prototype.addGroup=function(t){return new r.Z(t)},t.prototype.append=function(t){t&&this.svg.appendChild(t.node)},t.prototype.appendDef=function(t){t&&this.defs.appendChild(t.node)},t.prototype.foreignObject=function(){var t=new n._("foreignObject");return t},t.prototype.supportsForeignObject=function(){return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Extensibility","1.1")},t}(),h=null;function l(){if(null===h){var t=document.createElement("div");t.hidden=!0,t.style.width="1px",t.style.height="1px",t.style.position="absolute",t.style.zIndex="-1000000",document.body.appendChild(t);var e=new s.g(t,!0);h=new a(e.SVGContainer,"ghost")}return h}},70874:function(t,e,i){i.d(e,{Ao:function(){return a},C9:function(){return g},EZ:function(){return u},H5:function(){return y},Nb:function(){return d},Rx:function(){return o},ZM:function(){return p},dH:function(){return c},iw:function(){return f},kZ:function(){return h},pt:function(){return l}});i(70560);var n=i(28502),r=i(52248),s=(i(97625),i(95298));function o(t){var e=h(t[0]),i={x:0,y:0},o=s.Y.minPolylineStep;r.hj(o)||(o=.5);for(var a=0,l=t.length;a<l;a++){var u=t[a];n.Sp(u,i)>o&&(e+=h(u),i=u)}return e}function a(t){return" M"+n.NM(t.x,4)+","+n.NM(t.y,4)+" "}function h(t){return" L"+n.NM(t.x,4)+","+n.NM(t.y,4)+" "}function l(t,e){return" Q"+n.NM(e.x,4)+","+n.NM(e.y,4)+" "+n.NM(t.x,4)+","+n.NM(t.y,4)}function u(t,e,i){return" C"+n.NM(e.x,4)+","+n.NM(e.y,4)+" "+n.NM(i.x,4)+","+n.NM(i.y,4)+" "+n.NM(t.x,4)+","+n.NM(t.y,4)}function p(){return" Z"}function c(t,e,i,s){if(0==e)return"";r.hj(s)||(s=i);var o="",a=",",l=Math.ceil(Math.abs(e)/180),u=1;e<0&&(u=0);var p=0,c=0,d=-n.mC(t)*i,f=-n.O$(t)*s;if(e<.5&&i>3e3){var g=t+e,y=n.NM(n.mC(g)*i,4),m=n.NM(n.O$(g)*s,4);return h({x:y,y:m})}for(var v=0;v<l;v++){g=t+e/l*(v+1),y=n.NM(n.mC(g)*i+d-p,4),m=n.NM(n.O$(g)*s+f-c,4);o+=" a"+i+a+s+a+0+a+0+a+u+a+y+a+m,p=y,c=m}return o}function d(t,e,i,s,o,l,u){if(0==e)return"";if(r.hj(s)||(s=0),0==i&&s<=0)return"";if(i<s){var p=i;i=s,s=p,r.hj(o)&&(o=o/s*i)}e=n.VV(e,360),360==e&&(l=0,u=0);var d=t+e,g=n.O$(n.VV(e,45)/2);o=r.hj(o)?o:i,l=l||0,u=r.hj(u)?u:l;var y=o/i*s,m=o/i*l,v=o/i*u;l=n.C7(l,0,(i-s)/2),m=n.C7(m,0,(o-y)/2),u=n.C7(u,0,(i-s)/2),v=n.C7(v,0,(o-y)/2),l=n.NM(n.C7(l,0,i*g),4),m=n.NM(n.C7(m,0,o*g),4),u=n.NM(n.C7(u,0,s*g),4),v=n.NM(n.C7(v,0,y*g),4);var b=Math.asin(l/i/2)*n.v4*2,_=Math.asin(m/o/2)*n.v4*2;s<u&&(s=u),y<v&&(y=v);var x=Math.asin(u/s/2)*n.v4*2,P=Math.asin(v/y/2)*n.v4*2;r.hj(x)||(x=0),r.hj(P)||(P=0);var w=t+e/2,O={x:n.NM(n.mC(w)*s,4),y:n.O$(w)*y},S={x:n.mC(t)*(s+u),y:n.O$(t)*(y+v)},C={x:n.mC(t)*(i-l),y:n.O$(t)*(o-m)},k={x:n.mC(d)*(i-l),y:n.O$(d)*(o-m)},T={x:n.mC(d)*(s+u),y:n.O$(d)*(y+v)},j={x:n.mC(t+b)*i,y:n.O$(t+_)*o},D={x:n.mC(d-x)*s,y:n.O$(d-P)*y};u+=u*n.O$(x/2),v+=v*n.O$(P/2),x>(d-t)/2&&(D=O);var I="";return 360==e?I=a(C):(I=a(S),I+=h(C),I+=f(j,l,m,!0)),I+=c(t+b,e-2*b,i,o),r.hj(s)&&0!=s?(360==e&&0==l?I+=a(T):(I+=f(k,l,m,!0),I+=h(T),I+=f(D,u,v,!0)),I+=c(d-x,-(e-2*x),s,y),(e<360||l>0)&&(I+=f(S,u,v,!0)),I+=h(S)):(I+=f(k,l,m,!0),e<360&&(I+=h(S))),I}function f(t,e,i,r,s,o){if(0==e)return"";o=o||0,s=Boolean(s),r=Boolean(r);var a=",",h=+r,l=+s;return" A"+e+a+i+a+o+a+l+a+h+a+n.NM(t.x,4)+a+n.NM(t.y,4)}function g(t,e,i,n){return r.hj(i)||(i=0),r.hj(n)||(n=0),a({x:i,y:n})+h({x:i+t,y:n})+h({x:i+t,y:n+e})+h({x:i,y:n+e})+p()}function y(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}}
1,4650:function(t,e,i){i.d(e,{g:function(){return m},k:function(){return y}});i(70560);var n=i(29532),r=i(18485),s=i(4781),o=i(81245),a=i(19606),h=i(91564),l=i(52248),u=i(69594),p=function(){function t(){var t=this;this._targets=[],this._observer=new ResizeObserver((function(e){h.S6(e,(function(e){h.S6(t._targets,(function(t){t.target===e.target&&t.callback()}))}))}))}return t.prototype.addTarget=function(t,e){this._observer.observe(t,{box:"content-box"}),this._targets.push({target:t,callback:e})},t.prototype.removeTarget=function(t){this._observer.unobserve(t),h.ZR(this._targets,(function(e){return e.target!==t}))},t}(),c=function(){function t(){this._targets=[]}return t.prototype.addTarget=function(e,i){var n=this;if(0===this._targets.length){var r=null,s=function(){var e=Date.now();(null===r||e>r+t.delay)&&(r=e,h.S6(n._targets,(function(t){var e=t.target.getBoundingClientRect();e.width===t.size.width&&e.height===t.size.height||(t.size=e,t.callback())}))),n._timer=requestAnimationFrame(s)};this._timer=requestAnimationFrame(s)}var o=e.getBoundingClientRect();this._targets.push({target:e,callback:i,size:o})},t.prototype.removeTarget=function(t){h.ZR(this._targets,(function(e){return e.target!==t})),0===this._targets.length&&cancelAnimationFrame(this._timer)},t.delay=200,t}(),d=null;function f(){return null===d&&(d="undefined"!==typeof ResizeObserver?new p:new c),d}var g=function(){function t(t,e){this._disposed=!1,this._sensor=f(),this._element=t,this._sensor.addTarget(t,e)}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){this._disposed||(this._disposed=!0,this._sensor.removeTarget(this._element))},Object.defineProperty(t.prototype,"sensor",{get:function(){return this._sensor},enumerable:!0,configurable:!0}),t.prototype.reset=function(){u.Z("resizeSensor.reset() is no longer needed and can be removed")},t}(),y=[],m=function(){function t(t,e){var i=this;this._disposed=!1,this.autoResize=!0,this.nonExportableSprites=[],this._disposers=[],this.cssScale=1,this._printing=!1,this.htmlElement=t,e||(this._printing=!1,this.initSensor(),this._disposers.push(a.Oo(window,"beforeprint",(function(){i._printing=!0}))),this._disposers.push(a.Oo(window,"afterprint",(function(){i._printing=!1})))),y.push(this);var n=document.createElement("div"),r=n.style;r.width="100%",r.height="100%",r.position="relative",t.appendChild(n),this.SVGContainer=n}return t.prototype.initSensor=function(){var t=this;this.resizeSensor&&this.resizeSensor.dispose();var e=function(){t.autoResize&&!t._printing&&t.measure()};this.resizeSensor=new g(this.htmlElement,e),this._disposers.push(this.resizeSensor)},t.prototype.measure=function(){var t=o.bf(this.htmlElement),e=o.Cb(this.htmlElement),i=this.container;i&&(this.width==t&&this.height==e||(this.width=t,this.height=e,t>0&&(i.maxWidth=t),e>0&&(i.maxHeight=e),a.C(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||h.Od(y,this),h.S6(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 l.Uh(this._modal)||(this._modal=new r.u,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.title=e||"",i.open(),i},t.prototype.closeModal=function(){this._modal&&this.modal.close()},Object.defineProperty(t.prototype,"popups",{get:function(){if(!l.Uh(this._popups)){var t=new n.G;t.container=this.SVGContainer,this._popups=new s.o(t),this._disposers.push(new s.zQ(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,l.Uh(e)&&(i.title=e),i.open(),i},t.prototype.closeAllPopups=function(){this.popups.each((function(t){t.close()}))},Object.defineProperty(t.prototype,"readerAlertElement",{get:function(){if(!l.Uh(this._readerAlertElement)){var t=document.createElement("div");t.setAttribute("role","alert"),t.style.zIndex="-100000",t.style.opacity="0",t.style.position="absolute",t.style.top="0",this.SVGContainer.appendChild(t),this._readerAlertElement=t}return this._readerAlertElement},enumerable:!0,configurable:!0}),t.prototype.readerAlert=function(t){this.readerAlertElement.innerHTML=t},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]),s=Number(n[1]),o=Math.sqrt(r*r+s*s);isNaN(o)||(this.cssScale*=o)}}}t.parentNode&&t.parentNode instanceof HTMLElement&&this.checkTransform(t.parentNode)}},t}()}
1,50292:function(t,e,i){i.d(e,{A0:function(){return u},Jb:function(){return l},Yi:function(){return g},br:function(){return y}});i(70560);var n=i(60199),r=i(69580),s=i(70874),o=i(91564),a=i(81245),h=i(28502),l=function(){function t(t,e){this._tensionX=t,this._tensionY=e}return t.prototype.smooth=function(t){for(var e=t.length-1;e>0;e--){var i=t[e],n=t[e-1];Math.abs(i.x-n.x)<.1&&Math.abs(i.y-n.y)<.1&&t.splice(e-1,1)}var r=this._tensionX,o=this._tensionY;if(t.length<3||r>=1&&o>=1)return s.Rx(t);var a=t[0],l=t[t.length-1],u=!1;h.NM(a.x,3)==h.NM(l.x)&&h.NM(a.y)==h.NM(l.y)&&(u=!0);for(var p="",c=(e=0,t.length-1);e<c;e++){i=t[e-1],n=t[e];var d=t[e+1],f=t[e+2];0===e?i=u?t[t.length-2]:t[e]:e==t.length-2&&(f=u?t[1]:t[e+1]);var g=h.je(i,n,d,f,r,o),y=h.WL(i,n,d,f,r,o);p+=s.EZ(d,g,y)}return p},t}();function u(t,e,i,n,o,u){var p=t.x,c=t.y,d=e.x,f=e.y,g=h.Sp(t,e);u&&(i=g/Math.round(g/i));var y=r.i.getCache(a.Pz(["wavedLine",t.x,e.x,t.y,e.y,i,n]));if(!y){if(g>0){var m=Math.atan2(f-c,d-p),v=Math.cos(m),b=Math.sin(m),_=i*v,x=i*b;if(i<=1||n<=1)y=s.kZ(e);else{var P=Math.round(2*g/i),w=[],O=1;d<p&&(O*=-1),f<c&&(O*=-1);for(var S=0;S<=P;S++){O*=-1;var C=p+S*_/2+O*n/2*b,k=c+S*x/2-O*n/2*v;w.push({x:C,y:k})}y=new l(o,o).smooth(w)}}else y="";r.i.setCache(a.Pz(["wavedLine",t.x,e.x,t.y,e.y,i,n]),y)}return y}var p=function(){function t(t,e){this._reversed=t,this._closed=e.closed}return t.prototype._curve=function(t,e,i,n,r,o){var a=(e-t)/3;return this._reversed?s.EZ({x:n,y:e},{x:i+a*r,y:t+a},{x:n-a*o,y:e-a}):s.EZ({x:e,y:n},{x:t+a,y:i+a*r},{x:e-a,y:n-a*o})},t.prototype.smooth=function(t){var e=this,i=NaN,n=NaN,r=NaN,a=NaN,h=NaN,l=0,u="";switch(o.S6(t,(function(t){var o=t.x,p=t.y;if(e._reversed){var c=o;o=p,p=c}var g=NaN;if(o!==n||p!==a){switch(l){case 0:l=1,e._reversed?u+=s.kZ({x:p,y:o}):u+=s.kZ({x:o,y:p});break;case 1:l=2;break;case 2:l=3,u+=e._curve(i,n,r,a,d(i,n,r,a,g=f(i,n,r,a,o,p)),g);break;default:u+=e._curve(i,n,r,a,h,g=f(i,n,r,a,o,p));break}i=n,n=o,r=a,a=p,h=g}})),l){case 2:this._reversed?u+=s.kZ({x:a,y:n}):u+=s.kZ({x:n,y:a});break;case 3:u+=this._curve(i,n,r,a,h,d(i,n,r,a,h));break}return this._closed&&(u+=s.ZM()),u},t}();function c(t){return t<0?-1:1}function d(t,e,i,n,r){var s=e-t;return s?(3*(n-i)/s-r)/2:r}function f(t,e,i,n,r,s){var o=e-t,a=r-e,h=(n-i)/(o||a<0&&-0),l=(s-n)/(a||o<0&&-0),u=(h*a+l*o)/(o+a);return(c(h)+c(l))*Math.min(Math.abs(h),Math.abs(l),.5*Math.abs(u))||0}var g=function(t){function e(e){return t.call(this,!1,e)||this}return(0,n.ZT)(e,t),e}(p),y=function(t){function e(e){return t.call(this,!0,e)||this}return(0,n.ZT)(e,t),e}(p);(function(){function t(t){this._closed=t.closed}t.prototype.smooth=function(t){var e=this,i=NaN,n=NaN,r=NaN,a=NaN,h=NaN,l=NaN,u=NaN,p=NaN,c=NaN,d=NaN,f=0,g="",y=function(t,e){g+=s.EZ({x:(i+4*n+t)/6,y:(l+4*u+e)/6},{x:(2*i+n)/3,y:(2*l+u)/3},{x:(i+2*n)/3,y:(l+2*u)/3})},m=function(t){var o=t.x,m=t.y;switch(f){case 0:f=1,e._closed?(r=o,p=m):g+=s.kZ({x:o,y:m});break;case 1:f=2,e._closed&&(a=o,c=m);break;case 2:if(f=3,e._closed){h=o,d=m,g+=s.Ao({x:(i+4*n+o)/6,y:(l+4*u+m)/6});break}g+=s.kZ({x:(5*i+n)/6,y:(5*l+u)/6});default:y(o,m);break}i=n,n=o,l=u,u=m};if(o.S6(t,m),this._closed)switch(f){case 1:g+=s.Ao({x:r,y:p}),g+=s.ZM();break;case 2:g+=s.Ao({x:(r+2*a)/3,y:(p+2*c)/3}),g+=s.kZ({x:(a+2*r)/3,y:(c+2*p)/3}),g+=s.ZM();break;case 3:m({x:r,y:p}),m({x:a,y:c}),m({x:h,y:d});break}else{switch(f){case 3:y(n,u);case 2:g+=s.kZ({x:n,y:u});break}g+=s.ZM()}return g}})()},67471:function(t,e,i){i.d(e,{P:function(){return o}});var n=i(60199),r=i(56399),s=i(69580),o=function(t){function e(){var e=t.call(this)||this;return e.className="ColorModifier",e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.modify=function(t){return t},e}(r.L);s.i.registeredClasses["ColorModifier"]=o},30927:function(t,e,i){i.d(e,{u:function(){return h}});var n=i(60199),r=i(67471),s=i(69580),o=i(28502),a=i(52248),h=function(t){function e(){var e=t.call(this)||this;return e.lightnesses=[],e.brightnesses=[],e.opacities=[],e.offsets=[],e.className="GradientModifier",e.applyTheme(),e}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"lightnesses",{get:function(){return this._lightnesses},set:function(t){this._lightnesses=t,this._brightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"brightnesses",{get:function(){return this._brightnesses},set:function(t){this._brightnesses=t,this._lightnesses=[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacities",{get:function(){return this._opacities},set:function(t){this._opacities=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsets",{get:function(){return this._offsets},set:function(t){this._offsets=t},enumerable:!0,configurable:!0}),e.prototype.modify=function(t){this.gradient.clear();var e=0;this.opacities&&(e=o.Fp(e,this.opacities.length)),this.lightnesses&&(e=o.Fp(e,this.lightnesses.length)),this.brightnesses&&(e=o.Fp(e,this.brightnesses.length));for(var i,n,r=1,s=0;s<e;s++){var h=t;this.opacities&&a.hj(this.opacities[s])&&(r=this.opacities[s]),this.lightnesses&&a.hj(this.lightnesses[s])&&(i=this.lightnesses[s],n=void 0),this.brightnesses&&a.hj(this.brightnesses[s])&&(n=this.brightnesses[s],i=void 0),a.hj(n)?h=t.brighten(this.brightnesses[s]):a.hj(i)&&(h=t.lighten(this.lightnesses[s]));var l=this.offsets[s];
1this.gradient.addColor(h,r,l)}return this.gradient},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this._offsets=e.offsets,this._brightnesses=e.brightnesses,this._lightnesses=e.lightnesses,this._opacities=e.opacities},e}(r.P);s.i.registeredClasses["GradientModifier"]=h},71311:function(t,e,i){i.d(e,{o:function(){return p}});i(70560);var n=i(60199),r=i(56399),s=i(4781),o=i(97625),a=i(69580),h=i(78398),l=i(28502),u=i(52248),p=function(t){function e(){var e=t.call(this)||this;return e._stops=new s.aV,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-"+a.i.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.validate=function(){var t=this,e=(this._rotation+90)*l.sE,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))+"%",s=Math.round(50+50*Math.cos(e+Math.PI))+"%",o=this.element;o.removeChildNodes(),o.attr({x1:i,x2:r,y1:n,y2:s}),h.S6(h.Sb(this._stops.iterator()),(function(e){var i=e[0],n=e[1],r=n.offset;u.hj(r)||(r=i/(t._stops.length-1));var s=t.paper.add("stop");u.Uh(n.color)&&s.attr({"stop-color":n.color.toString()}),u.hj(n.opacity)&&s.attr({"stop-opacity":n.opacity}),u.hj(r)&&s.attr({offset:r}),o.add(s)}))},e.prototype.clear=function(){this._stops.clear()},e.prototype.addColor=function(t,e,i){this._stops.push({color:t,o
1pacity: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:(0,o.V)()},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},Object.defineProperty(e.prototype,"gradientUnits",{set:function(t){this.element.attr({gradientUnits:t})},enumerable:!0,configurable:!0}),e}(r.L);a.i.registeredClasses["LinearGradient"]=p},81767:function(t,e,i){i.d(e,{Y:function(){return a}});var n=i(60199),r=i(71311),s=i(30927),o=i(69580),a=function(t){function e(){var e=t.call(this)||this;return e.className="LinearGradientModifier",e.gradient=new r.o,e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(s.u);o.i.registeredClasses["LinearGradientModifier"]=a},94941:function(t,e,i){i.d(e,{c:function(){return d}});i(70560);var n=i(60199),r=i(56399),s=i(97625),o=i(4781),a=i(80677),h=i(69580),l=i(20646),u=i(78398),p=i(52639),c=i(52248),d=function(t){function e(){var e=t.call(this)||this;e._elements=new o.aV,e.properties={},e.className="Pattern",e.width=10,e.height=10,e.x=0,e.y=0,e.patternUnits="userSpaceOnUse";var i=new l.h;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-"+h.i.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e._disposers.push(new o.zQ(e._elements)),e.patternUnits=e.patternUnits,e.width=e.width,e.height=e.height,e.applyTheme(),e}return(0,n.ZT)(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":0}),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}),u.S6(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 a.fw(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"]}
1,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:(0,s.V)()},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),p.S6(e.properties,(function(t,e){i[t]=e}))}
1,Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new a.w3(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&&c.Uh(e.elements)&&c.kJ(e.elements))for(var i=0,n=e.elements.length;i<n;i++){var s=e.elements[i];if(c.Uh(s["type"])){var o=this.createEntryInstance(s);o instanceof r.L&&(o.config=s),this.addElement(c.Uh(s["typeProperty"])?o[s["typeProperty"]]:o.element)}}t.prototype.processConfig.call(this,e)},e}(r.L);h.i.registeredClasses["Pattern"]=d},96741:function(t,e,i){i.d(e,{X:function(){return p}});i(70560);var n=i(60199),r=i(56399),s=i(4781),o=i(97625),a=i(69580),h=i(78398),l=i(52248),u=i(10431),p=function(t){function e(){var e=t.call(this)||this;return e._stops=new s.aV,e.element=e.paper.addGroup("radialGradient"),e.id="gradient-"+a.i.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.draw=function(){var t=this,e=this.element;if(l.hj(this.cx)){var i=this.cx;i instanceof u.gG&&(i=i.percent+"%"),e.attr({cx:i})}if(l.hj(this.cy)){i=this.cy;i instanceof u.gG&&(i=i.percent+"%"),e.attr({cy:i})}if(this.fx){i=this.fx;i instanceof u.gG&&(i=i.percent+"%"),e.attr({fx:i})}if(this.fy){i=this.fy;i instanceof u.gG&&(i=i.percent+"%"),e.attr({fy:i})}e.removeChildNodes(),h.S6(h.Sb(this._stops.iterator()),(function(i){var n=i[0],r=i[1],s=r.offset;l.hj(s)||(s=n/(t._stops.length-1));var o=t.paper.add("stop");l.Uh(r.color)&&o.attr({"stop-color":r.color.toString()}),l.hj(r.opacity)&&o.attr({"stop-opacity":r.opacity}),l.hj(s)&&o.attr({offset:s}),e.add(o)}))},e.prototype.addColor=function(t,e,i){this._stops.push({color:t,o
1pacity:e,offset:i}),this.draw()},Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:(0,o.V)()},set:function(t){this._paper!=t&&(this._paper=t,this.draw(),t.appendDef(this.element))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cx",{get:function(){return this._cx},set:function(t){this._cx=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cy",{get:function(){return this._cy},set:function(t){this._cy=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fx",{get:function(){return this._fx},set:function(t){this._fx=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fy",{get:function(){return this._fy},set:function(t){this._fy=t,this.draw()},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.stops.copyFrom(e.stops),this.cx=e.cx,this.cy=e.cy,this.fx=e.fx,this.fy=e.fy},Object.defineProperty(e.prototype,"stops",{get:function(){return this._stops},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this._stops.clear()},e}(r.L);a.i.registeredClasses["RadialGradient"]=p},16775:function(t,e,i){i.d(e,{q:function(){return o}});i(70560);var n=i(60199),r=i(3077),s=i(69580),o=function(t){function e(){var e=t.call(this)||this;return e.className="DesaturateFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"saturate"}),e.filterPrimitives.push(e.feColorMatrix),e.width=120,e.height=120,e.saturation=0,e.applyTheme(),e}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"saturation",{get:function(){return this.properties["saturation"]},set:function(t){this.properties["saturation"]=t,this.feColorMatrix.attr({values:t.toString()})},enumerable:!0,configurable:!0}),e}(r.w);s.i.registeredClasses["DesaturateFilter"]=o},60209:function(t,e,i){i.d(e,{p:function(){return a}});i(70560);var n=i(60199),r=i(3077),s=i(71015),o=i(69580),a=function(t){function e(){var e=t.call(this)||this;return e.className="DropShadowFilter",e.color=(0,s.$_)("#000"),e.feGaussianBlur=e.paper.add("feGaussianBlur"),e.feGaussianBlur.attr({result:"blurOut",in:"SourceGraphic"}),e.filterPrimitives.push(e.feGaussianBlur),e.feOffset=e.paper.add("feOffset"),e.feOffset.attr({result:"offsetBlur"}),e.filterPrimitives.push(e.feOffset),e.feFlood=e.paper.add("feFlood"),e.feFlood.attr({"flood-color":e.color}),e.filterPrimitives.push(e.feFlood),e.feComposite=e.paper.add("feComposite"),e.feComposite.attr({in2:"offsetBlur",operator:"in"}),e.filterPrimitives.push(e.feComposite),e.feMerge=e.paper.addGroup("feMerge"),e.feMerge.add(e.paper.add("feMergeNode")),e.feMerge.add(e.paper.add("feMergeNode").attr({in:"SourceGraphic"})),e.filterPrimitives.push(e.feMerge),e.width=200,e.height=200,e.blur=1.5,e.dx=3,e.dy=3,e.opacity=.5,e.applyTheme(),e}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.properties.color=t,this.feFlood&&this.feFlood.attr({"flood-color":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacity",{get:function(){return this.properties.opacity},set:function(t){this.properties.opacity=t,this.feFlood.attr({"flood-opacity":t})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dx",{get:function(){return this.properties.dx},set:function(t){this.properties.dx=t,this.feOffset.attr({dx:t/this.scale})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dy",{get:function(){return this.properties.dy},set:function(t){this.properties.dy=t,this.feOffset.attr({dy:t/this.scale})},enumerable:!0,configurable:!0}),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.prototype.updateScale=function(){this.dx=this.dx,this.dy=this.dy,this.blur=this.blur},e}(r.w);o.i.registeredClasses["DropShadowFilter"]=a},3077:function(t,e,i){i.d(e,{w:function(){return u}});i(70560);var n=i(60199),r=i(56399),s=i(97625),o=i(80677),a=i(4781),h=i(52639),l=i(78398),u=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 a.aV,e.properties.filterUnits="objectBoundingBox",e.filterPrimitives.events.on("inserted",(function(t){e._disposers.push(t.newValue)})),e.width=120,e.height=120,e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.appendPrimitives=function(t){l.S6(this.filterPrimitives.iterator(),(function(e){t.add(e)}))}
1,e.prototype.animate=function(t,e,i){var n=new o.fw(this,t,e,i).start();return n},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),h.S6(e.properties,(function(t,e){i[t]=e}))},Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:(0,s.V)()},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 o.w3(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,"filterUnits",{get:function(){return this.properties.filterUnits},set:function(t){this.properties.filterUnits=t},enumerable:!0,configurable:!0}),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.L)},42516:function(t,e,i){i.d(e,{H:function(){return o}});i(70560);var n=i(60199),r=i(3077),s=i(69580),o=function(t){function e(){var e=t.call(this)||this;return e.className="LightenFilter",e.feColorMatrix=e.paper.add("feColorMatrix"),e.feColorMatrix.attr({type:"matrix"}),e.filterPrimitives.push(e.feColorMatrix),e.lightness=0,e.applyTheme(),e}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"lightness",{get:function(){return this.properties["lightness"]},set:function(t){this.properties["lightness"]=t;var e=t+1;this.feColorMatrix.attr({values:e+" 0 0 0 0 0 "+e+" 0 0 0 0 0 "+e+" 0 0 0 0 0 1 0"})},enumerable:!0,configurable:!0}),e}(r.w);s.i.registeredClasses["LightenFilter"]=o},98306:function(t,e,i){i.d(e,{FA:function(){return p},L1:function(){return c}});var n=i(96579),r=i(14965),s=i(54421),o=i(78398),a=i(91564),h=i(52248),l=i(52639),u=function(){function t(){this._callbackId=0,this._callbacks=new n.$X((function(t,e){return s.or(r.v(t.priority,e.priority),r.v(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 a.Yj(this._callbacks.values,(function(i){return i.key===e&&t instanceof i.type}))},t.prototype.applyAll=function(t,e,i){var n=this._callbacks.values,r=n.length;if(0==r)return i;for(var s=0;s<r;++s){var o=n[s];o.key===e&&t instanceof o.type&&(i=o.callback.call(o.scope,i,t,e))}return i},t}(),p=new u,c=function(){function t(t){this._callbackId=0,this._callbacks=new n.$X((function(t,e){return s.or(r.v(t.priority,e.priority),r.v(t.id,e.id))})),this._disabled={},this.object=t,this.events=this._callbacks.events}return t.prototype.add=function(t,e,i,n){void 0===i&&(i=0),this._callbacks.insert({id:++this._callbackId,key:t,callback:e,priority:i,scope:n})},t.prototype.has=function(t,e,i,n){return void 0===i&&(i=0),o.r3(this._callbacks.iterator(),(function(r){return r.key===t&&r.callback===e&&r.priority===i&&r.scope===n}))},t.prototype.remove=function(t,e){var i=this;a.S6(o.qo(this._callbacks.iterator()),(function(n){n.key!==t||h.hj(e)&&e!==n.priority||i._callbacks.remove(n)}))},t.prototype.enableKey=function(t){delete this._disabled[t]},t.prototype.disableKey=function(t,e){void 0===e&&(e=1/0),this._disabled[t]=e},t.prototype._hasListenersByType=function(t){return a.Yj(this._callbacks.values,(function(e){return e.key===t}))},t.prototype.isEnabled=function(t){return null==this._disabled[t]&&(this._hasListenersByType(t)||p.isEnabled(this.object,t))},t.prototype._shouldDispatch=function(t){var e=this._disabled[t];return!h.hj(e)||(e<=1?delete this._disabled[t]:--this._disabled[t],!1)},t.prototype.apply=function(t,e){if(this._shouldDispatch(t)){var i=this._callbacks.values,n=i.length;if(n>0)for(var r=0;r<n;++r){var s=i[r];s.key===t&&(e=s.callback.call(s.scope,e,this.object,t))}return e=p.applyAll(this.object,t,e),e}return e},t.prototype.keys=function(){return o.qo(o.UI(this._callbacks.iterator(),(function(t){return t.key})))},t.prototype.copyFrom=function(t){var e=this;o.S6(t._callbacks.iterator(),(function(t){e.add(t.key,t.callback,t.priority,t.scope)})),l.S6(t._disabled,(function(t,i){e._disabled[t]=i}))},t.prototype.clear=function(){this._callbacks.clear()},t}()}
1,80677:function(t,e,i){i.d(e,{fw:function(){return x},w3:function(){return _}});i(70560);var n=i(60199),r=i(56399),s=i(69785),o=i(73818),a=i(71015),h=i(10431),l=(i(49413),i(29520)),u=i(36387),p=i(28502),c=i(91564),d=i(52248),f=i(80149),g=i(95298);function y(t,e,i){return e+(i-e)*t}function m(t,e,i){return new h.gG(y(t,e.percent,i.percent))}function v(t,e,i){var n=new a.Il(u.sX(e.rgb,i.rgb,t));return e.alpha!=i.alpha&&(n.alpha=e.alpha+(i.alpha-e.alpha)*t),n}function b(t,e){return e+t.charAt(0).toUpperCase()+t.substr(1)}var _=function(){function t(t){this._disposer=new o.ku((function(){while(0!==t.length)t[0].dispose()}))}return t.prototype.isDisposed=function(){return this._disposer.isDisposed()},t.prototype.dispose=function(){this._disposer.dispose()},t}(),x=function(t){function e(e,i,n,r){var s=t.call(this)||this;return s.duration=0,s.easing=l.GE,s.progress=0,s._loop=0,s._pause=!1,s._delayTimeout=null,s._time=0,s._isFinished=!1,s.className="Animation",!1===g.Y.animationsEnabled&&(n=0),s.object=e,s.animationOptions=c.qo(i),s.duration=n,r&&(s.easing=r),s.applyTheme(),s}return(0,n.ZT)(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(),c.pB(this.object.animations,this);var i=setTimeout((function(){e._delayTimeout=null,e.start()}),t);this._delayTimeout=new o.ku((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,c.pB(f.B.animations,this),c.pB(this.object.animations,this),f.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(d.Uh(e.from)||(e.childObject?e.from=e.childObject[e.property]:(e.from=this.object[e.property],d.Uh(e.from)||(e.from=s.n[e.property]))),e.from==e.to)c.Od(this.animationOptions,e);else if(!d.Uh(e.from)||!(e.from instanceof h.gG)&&e.to instanceof h.gG||e.from instanceof h.gG&&!(e.to instanceof h.gG))this.staticOptions.push(e),c.Od(this.animationOptions,e);else if(d.hj(e.to))if(e.updateMethod=y,e.from instanceof h.gG){var i=this.object[b(e.property,"pixel")];isNaN(i)?(this.staticOptions.push(e),c.Od(this.animationOptions,e)):e.from=i}else isNaN(e.from)&&(this.staticOptions.push(e),c.Od(this.animationOptions,e));else if(e.to instanceof a.Il)e.from?e.updateMethod=v:(this.staticOptions.push(e),c.Od(this.animationOptions,e));else if(e.to instanceof h.gG){if(e.updateMethod=m,!isNaN(e.from)){i=this.object[b(e.property,"relative")];isNaN(i)||(e.from=(0,h.aQ)(100*i))}}else this.staticOptions.push(e),c.Od(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 d.hj(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),c.Od(f.B.animations,this),c.Od(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;c.S6(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,c.S6(this.animationOptions,(function(i){if(i.updateMethod&&d.Uh(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)}f.B.requestFrame()},e.prototype.update=function(){if(!this._pause){var t=void 0;this._time=p.C7(Date.now()-this._startTime,0,this.duration);var e=this._time/this.duration;t=this.easing(e),(0==this.duration||!d.hj(t)||e>=1)&&(t=1),this.setProgress(t),1==p.NM(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;c.S6(c.JG(this.object.animations),(function(e){if(e!==t&&!e.delayed){var i=[];c.S6(t.animationOptions,(function(t){c.S6(e.animationOptions,(function(n){t.property==n.property&&t.childObject==n.childObject&&(i.push(n),0==e.animationOptions.length&&e.kill())}
1))})),c.S6(i,(function(t){c.Od(e.animationOptions,t)}))}}))},e.prototype.asFunction=function(e){return"easing"==e||t.prototype.asIs.call(this,e)},e}(r.y)},91564:function(t,e,i){i.d(e,{$E:function(){return b},Bg:function(){return v},G8:function(){return h},IH:function(){return f},JG:function(){return m},Od:function(){return c},PL:function(){return u},S6:function(){return a},UI:function(){return o},Yj:function(){return s},ZR:function(){return w},cq:function(){return r},cx:function(){return x},gx:function(){return g},pB:function(){return d},qo:function(){return y},sE:function(){return P},sK:function(){return _},vn:function(){return l},wd:function(){return p}});i(70560),i(28502);var n=i(52248);function r(t,e){for(var i=t.length,n=0;n<i;++n)if(t[n]===e)return n;return-1}function s(t,e){for(var i=t.length,n=0;n<i;++n)if(e(t[n]))return!0;return!1}function o(t,e){for(var i=t.length,n=new Array(i),r=0;r<i;++r)n[r]=e(t[r],r);return n}function a(t,e){for(var i=t.length,n=0;n<i;++n)e(t[n],n)}function h(t,e){var i=t.length;while(i--)e(t[i],i)}function l(t,e){for(var i=t.length,n=0;n<i;++n)if(!e(t[n],n))break}function u(t,e){for(var i=t.length,n=e;n<i;++n)t[n-e]=t[n];t.length=i-e}function p(t,e){for(var i=e.length,n=0;n<i;++n)t.push(e[n])}function c(t,e){var i=!1,n=t.indexOf(e);if(-1!==n){i=!0,t.splice(n,1);var r=t.length;while(n<r)t[n]===e?(t.splice(n,1),--r):++n}return i}function d(t,e,i){var n=r(t,e);-1!==n&&b(t,n),null==i?t.push(e):v(t,i,e)}function f(t,e,i){n.hj(i)?0===i?t.unshift(e):t.splice(i,0,e):t.push(e)}function g(t,e,i){var r=t.indexOf(e);-1!==r&&t.splice(r,1),n.hj(i)?t.splice(i,0,e):t.push(e)}function y(t){return Array.isArray(t)?t:[t]}function m(t){for(var e=t.length,i=new Array(e),n=0;n<e;++n)i[n]=t[n];return i}function v(t,e,i){t.splice(e,0,i)}function b(t,e){t.splice(e,1)}function _(t,e,i){var n=0,r=t.length,s=!1;while(n<r){var o=n+r>>1,a=e(i,t[o]);a<0?r=o:0===a?(s=!0,n=o+1):n=o+1}return{found:s,index:s?n-1:n}}function x(t,e){for(var i=t.length,n=0;n<i;++n)if(e(t[n],n))return n;return-1}function P(t,e){var i=x(t,e);if(-1!==i)return t[i]}function w(t,e){var i=t.length,n=0;while(n<i)e(t[n])?++n:(t.splice(n,1),--i)}},49413:function(t,e,i){i.d(e,{Eo:function(){return d},Wn:function(){return u},YO:function(){return y},pT:function(){return g},rA:function(){return f}});i(70560);var n=i(91564),r=!1,s=[],o=[],a=[],h=[],l=1e3/60,u="function"===typeof requestAnimationFrame?function(t){requestAnimationFrame(t)}:function(t){setTimeout(t,l)};function p(){for(var t=Date.now(),e=s.length,i=0;i<e;++i)s[i](t);n.PL(s,e);for(i=0;i<o.length;++i)o[i](t);o.length=0;for(i=0;i<a.length;++i)a[i](t);a.length=0,0===s.length&&0===o.length?r=!1:u(p)}function c(){r||(r=!0,u(p))}function d(t){o.push(t),c()}function f(t){a.push(t),c()}function g(t){h.push(t)}function y(){for(var t=Date.now(),e=h.length,i=0;i<e;++i)h.shift()(t)}},23017:function(t,e,i){function n(){return/apple/i.test(navigator.vendor)}function r(){return/MSIE |Trident\//.test(navigator.userAgent)}i.d(e,{G:function(){return n},w:function(){return r}})},86604:function(t,e,i){i.d(e,{F:function(){return o}});var n=i(64142),r=i(52248),s=function(){function t(){this._storage=new n.Xy,this.ttl=1e3}return t.prototype.set=function(t,e,i,s){var o=this._storage.insertKeyIfEmpty(t,(function(){return new n.Xy})),a={touched:(new Date).getTime(),ttl:r.hj(s)?s:this.ttl,value:i};o.setKey(e,a)},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}(),o=new s},71015:function(t,e,i){i.d(e,{$_:function(){return a},Il:function(){return o},p9:function(){return u}});var n=i(69580),r=i(36387),s=i(52248),o=function(){function t(t){this._value=t}return Object.defineProperty(t.prototype,"rgb",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hex",{get:function(){return this._value?r.vq(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rgba",{get:function(){return this._value?r.Mw(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"alpha",{get:function(){return null!=this._value&&null!=this._value.a?this._value.a:1},set:function(t){this._value&&(this._value.a=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lightColor",{get:function(){return this._lightColor||(this._lightColor=new t({r:255,g:255,b:255})),this._lightColor},set:function(t){this._lightColor=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"darkColor",{get:function(){return this._darkColor||(this._darkColor=new t({r:0,g:0,b:0})),this._darkColor},set:function(t){this._darkColor=t},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.alpha<1?this.rgba:this.hex},t.prototype.lighten=function(e){return new t(r.$n(this.rgb,e))},t.prototype.brighten=function(e){return new t(r.Q0(this.rgb,e))},t.prototype.saturate=function(e){return new t(r.p_(this.rgb,e))},Object.defineProperty(t.prototype,"alternative",{get:function(){if(null!=this.rgb)return r.RQ(this.rgb)?this.darkColor:this.lightColor;throw new Error("Color does not exist")},enumerable:!0,configurable:!0}),t}();function a(t,e){if(!s.Uh(t))return new o(void 0);if("string"==typeof t){var i="_color_"+t+"_"+(e||"1"),a=n.i.getCache(i);if(a)return new o({r:a.r,g:a.g,b:a.b,a:a.a});var h=r.B8(t,e);return n.i.setCache(i,h),new o(h)}return t instanceof o?(s.Uh(e)&&(t.alpha=e),t):new o(t)}function h(t){return t instanceof o}function l(t){return a(t)}function u(t){return s.Uh(t)&&!h(t)?l(t):t}}
1,58042:function(t,e,i){i.d(e,{U:function(){return p}});i(70560);var n=i(60199),r=i(56399),s=i(71015),o=i(69580),a=i(36387),h=i(52248),l=i(81245),u=i(28502),p=function(t){function e(){var e=t.call(this)||this;return e._list=[],e._currentStep=0,e._startIndex=0,e._currentPass=0,e.baseColor=new s.Il({r:103,g:183,b:220}),e.stepOptions={},e.passOptions={brighten:-.2},e.step=1,e.minColors=20,e.minLightness=.2,e.maxLightness=.9,e.shuffle=!1,e.wrap=!0,e.reuse=!1,e.saturation=1,e.className="ColorSet",e.applyTheme(),e}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"list",{get:function(){return this._list||this.generate(this.minColors),this._list},set:function(t){this._list=t,this.reset()},enumerable:!0,configurable:!0}),e.prototype.getReusableColor=function(t){if(0==this._list.length)return this.generate(1),this.list[0];var e=t-Math.floor(t/this._list.length)*this.list.length;return this.list[e]},e.prototype.next=function(){var t;return this.list.length<=this._currentStep?this.reuse?t=this.getReusableColor(this._currentStep):(this.generate(u.Fp(this.minColors,this._currentStep+1)),t=this.list[this._currentStep]):t=this.list[this._currentStep],this._currentStep+=this.step,t.saturate(this.saturation)},e.prototype.getIndex=function(t){var e;return this.list.length<=t?this.reuse?e=this.getReusableColor(t):(this.generate(this.minColors),e=this.getIndex(t)):e=this.list[t],e.saturate(this.saturation)},e.prototype.reset=function(){this._currentStep=this._startIndex},Object.defineProperty(e.prototype,"currentStep",{get:function(){return this._currentStep},set:function(t){this._currentStep=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startIndex",{get:function(){return this._startIndex},set:function(t){this._startIndex=t,this.reset()},enumerable:!0,configurable:!0}),e.prototype.generate=function(t){var e=this.currentColor,i=a.lC(h.NA(e.rgb)),n=h.Uh(this.stepOptions.hue)?this.stepOptions.hue:1/t,r={brighten:0,lighten:0,hue:i.h,lightness:i.l,saturation:i.s},o=[],u=0==this.list.length?0:1;if(this.reuse)for(var p=u;p<=t;p++)o.push(a.lC(h.NA(this._list[p].rgb)).h);else for(p=u;p<=t;p++){var c=i.h+n*p;this.wrap&&c>1&&(c-=1),o.push(c)}this.shuffle&&o.sort((function(t,e){return Math.random()-.5}));for(p=0;p<t;p++){this.reuse?i=a.lC(h.NA(this._list[p].rgb)):i.h=o.shift(),this.applyStepOptions(i,r,p,this._currentPass);var d=(0,s.$_)(a.ve(i)),f=(this.stepOptions.brighten||0)*p+(this.passOptions.brighten||0)*this._currentPass;0!=f&&(f=this.wrap?l.m1(f,this.minLightness,this.maxLightness):l.wv(f,this.minLightness,this.maxLightness),d=d.brighten(f));var g=(this.stepOptions.lighten||0)*p+(this.passOptions.lighten||0)*this._currentPass;0!=g&&(g=this.wrap?l.m1(g,this.minLightness,this.maxLightness):l.wv(g,this.minLightness,this.maxLightness),d=d.lighten(g)),this._list.push(d)}this._currentPass++},Object.defineProperty(e.prototype,"currentColor",{get:function(){return 0==this._list.length?this.baseColor.saturate(this.saturation):this._list[this._list.length-1].saturate(this.saturation)},enumerable:!0,configurable:!0}),e.prototype.applyStepOptions=function(t,e,i,n){t.l=e.lightness+(this.stepOptions.lightness||0)*i+(this.passOptions.lightness||0)*n,this.wrap?(t.l>1?t.l=t.l-Math.floor(t.l):t.l<0&&(t.l=-(t.l-Math.floor(t.l))),t.l=l.m1(t.l,this.minLightness,this.maxLightness)):(t.l>1?t.l=1:t.l<0&&(t.l=0),t.l=l.wv(t.l,this.minLightness,this.maxLightness))},e.prototype.processConfig=function(e){if(e){if(h.Uh(e.list)&&h.kJ(e.list))for(var i=0,n=e.list.length;i<n;i++)e.list[i]instanceof s.Il||(e.list[i]=(0,s.$_)(e.list[i]));!h.Uh(e.baseColor)||e.baseColor instanceof s.Il||(e.baseColor=(0,s.$_)(e.baseColor))}t.prototype.processConfig.call(this,e)},e}(r.L);o.i.registeredClasses["ColorSet"]=p},36387:function(t,e,i){i.d(e,{$n:function(){return f},B8:function(){return o},Mw:function(){return p},Q0:function(){return y},RQ:function(){return _},lC:function(){return b},p_:function(){return m},sX:function(){return d},ve:function(){return v},vq:function(){return u}});i(70560);var n=i(28502),r=i(52248),s={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}
1,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 o(t,e){var i;return s[t]?i=s[t]:"#"===t.charAt(0)?i=a(t):t.match(/^rgba?\(/)&&(i=l(t)),i||(i={r:0,g:0,b:0,a:1}),r.Uh(e)&&(i.a=e),i}function a(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;t=t.replace(e,(function(t,e,i,n){return e+e+i+i+n+n}));var i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return i?{r:parseInt(i[1],16),g:parseInt(i[2],16),b:parseInt(i[3],16)}:h(t)}function h(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])$/i;t=t.replace(e,(function(t,e,i,n,r){return e+e+i+i+n+n+r+r}));var i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return i?{r:parseInt(i[1],16),g:parseInt(i[2],16),b:parseInt(i[3],16),a:parseInt(i[4],16)/256}:void 0}function l(t){t=t.replace(/[ ]/g,"");var e=t.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),!e)return;return{r:parseInt(e[1]),g:parseInt(e[2]),b:parseInt(e[3]),a:parseFloat(e[4])}}function u(t){return"#"+c(t.r.toString(16))+c(t.g.toString(16))+c(t.b.toString(16))}function p(t){return r.Uh(t.a)&&1!==t.a?"rgba("+t.r+","+t.g+","+t.b+","+t.a+")":"rgb("+t.r+","+t.g+","+t.b+")"}function c(t){return 1==t.length?"0"+t:""+t}function d(t,e,i){return i=n.C7(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}function f(t,e){return t?{r:Math.max(0,Math.min(255,t.r+g(t.r,e))),g:Math.max(0,Math.min(255,t.g+g(t.g,e))),b:Math.max(0,Math.min(255,t.b+g(t.b,e))),a:t.a}:t}function g(t,e){var i=e>0?255-t:t;return Math.round(i*e)}function y(t,e){if(t){var i=Math.min(Math.max(t.r,t.g,t.b),230),n=g(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}function m(t,e){if(null==t||1==e)return t;var i=b(t);return i.s=e,v(i)}function v(t){var e,i,n,r=t.h,s=t.s,o=t.l;if(0==s)e=i=n=o;
1else{var a=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},h=o<.5?o*(1+s):o+s-o*s,l=2*o-h;e=a(l,h,r+1/3),i=a(l,h,r),n=a(l,h,r-1/3)}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*n)}}function b(t){var e=t.r/255,i=t.g/255,n=t.b/255,r=Math.max(e,i,n),s=Math.min(e,i,n),o=0,a=0,h=(r+s)/2;if(r===s)o=a=0;else{var l=r-s;switch(a=h>.5?l/(2-r-s):l/(r+s),r){case e:o=(i-n)/l+(i<n?6:0);break;case i:o=(n-e)/l+2;break;case n:o=(e-i)/l+4;break}o/=6}return{h:o,s:a,l:h}}function _(t){return(299*t.r+587*t.g+114*t.b)/1e3>=128}},19606:function(t,e,i){i.d(e,{A_:function(){return v},Ay:function(){return P},C:function(){return S},Cd:function(){return D},Dx:function(){return b},IV:function(){return m},Oo:function(){return f},PZ:function(){return V},Xz:function(){return d},cn:function(){return y},gR:function(){return I},kM:function(){return O},qu:function(){return p},r3:function(){return x},rv:function(){return c},sb:function(){return g},u0:function(){return T},w:function(){return M},yj:function(){return w},yv:function(){return _}});var n,r=i(60199),s=i(73818),o=i(49413),a=i(95298),h=i(52639),l=i(91564),u=i(52248),p="http://www.w3.org/2000/svg",c="http://www.w3.org/2000/xmlns/",d="http://www.w3.org/1999/xlink";function f(t,e,i,n){return t.addEventListener(e,i,n||!1),new s.ku((function(){t.removeEventListener(e,i,n||!1)}))}function g(t){if(u.HD(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}function y(t,e){if(t)if(t.classList){var i=e.split(" ");l.S6(i,(function(e){t.classList.add(e)}))}else{var n=t.getAttribute("class");n?t.setAttribute("class",n.split(" ").filter((function(t){return t!==e})).join(" ")+" "+e):t.setAttribute("class",e)}}function m(t,e){if(t)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(" "))}}function v(t,e,i){t.style[e]=i}function b(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)}function _(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{var t=document.createElement("button");t.style.position="fixed",t.style.top="0px",t.style.left="-10000px",document.body.appendChild(t),t.focus(),t.blur(),document.body.removeChild(t)}}function x(t,e){var i=e;while(1){if(t===i)return!0;if(null==i.parentNode){if(null==i.host)return!1;i=i.host}else i=i.parentNode}}function P(t){var e=t;while(1){if(null==e.parentNode)return null!=e.host?e:null;e=e.parentNode}}function w(t){var e=t.ownerDocument,i=t;while(1){if(null==i.parentNode)return i===e||null!=i.host?i:null;i=i.parentNode}}function O(t){return"function"===typeof t.composedPath?t.composedPath()[0]:t.target}function S(t){(0,o.Eo)((function(){try{var e=t.getBoundingClientRect(),i=e.left-Math.round(e.left),n=e.top-Math.round(e.top);0!==i&&(0,o.rA)((function(){t.style.left=i+"px"})),0!==n&&(0,o.rA)((function(){t.style.top=n+"px"}))}catch(r){}}))}function C(t){if(null==t){if(!u.Uh(n)){var e=document.createElement("style");e.type="text/css",""!=a.Y.nonce&&e.setAttribute("nonce",a.Y.nonce),document.head.appendChild(e),n=e.sheet}return n}e=document.createElement("style");return e.type="text/css",""!=a.Y.nonce&&e.setAttribute("nonce",a.Y.nonce),t.appendChild(e),e.sheet}function k(t,e){var i=t.cssRules.length;return t.insertRule(e+"{}",i),t.cssRules[i]}var T=function(t){function e(e,i,n){var r=this,s=C(e);return r=t.call(this,(function(){var t=l.cq(s.cssRules,r._rule);if(-1===t)throw new Error("Could not dispose StyleRule");s.deleteRule(t)}))||this,r._rule=k(s,i),h.S6(n,(function(t,e){r.setStyle(t,e)})),r}return(0,r.ZT)(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}(s.ku),j=0;(function(t){function e(e,i,n){var r=this,s=u.Uh(n)?n:"__style_"+ ++j+"__";return r=t.call(this,e,"."+s,i)||this,r._className=s,r}(0,r.ZT)(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}})(T);function D(t){if("loading"!==document.readyState)t();else{var e=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",e),t())};document.addEventListener("readystatechange",e)}}function I(t){var e=b(t,"font-family");if(e)return e;var i=t.parentElement||t.parentNode;return i?I(i):void 0}function M(t){var e=b(t,"font-size");if(e)return e;var i=t.parentElement||t.parentNode;return i?M(i):void 0}function V(t,e){var i=t.getBoundingClientRect(),n=u.kJ(e)?e:e?[e]:[];if(n.length){for(var r=0;r<n.length;r++){var s=n[r];if(!V(s))return!1;var o=s.getBoundingClientRect();if(i.top>=0&&i.left>=0&&i.top<=o.top+o.height&&i.left<=o.left+o.width)return!0}return!1}return i.top>=0&&i.left>=0&&i.top<=(window.innerHeight||document.documentElement.clientHeight)&&i.left<=(window.innerWidth||document.documentElement.clientWidth)}}
1,64142:function(t,e,i){i.d(e,{NE:function(){return p},Xy:function(){return u},a7:function(){return l}});i(70560);var n=i(60199),r=i(73818),s=i(65250),o=i(52639),a=i(78398),h=i(59866),l=function(t){function e(e){var i=this,n=e.events.on("removed",(function(t){t.oldValue.dispose()}),void 0,!1);return i=t.call(this,(function(){n.dispose(),a.S6(e.iterator(),(function(t){var e=t[1];e.dispose()}))}))||this,i}return(0,n.ZT)(e,t),e}(r.ku),u=function(){function t(){this.events=new s.p,this._dictionary={}}return t.prototype.hasKey=function(t){return o.wH(this._dictionary,t)},t.prototype.getKey=function(t){return this._dictionary[t]},t.prototype.insertKey=function(t,e){if(o.wH(this._dictionary,t))throw new Error("Key "+t+" already exists in dictionary");this._dictionary[t]=e,this.events.isEnabled("insertKey")&&this.events.dispatchImmediately("insertKey",{type:"insertKey",target:this,key:t,newValue:e})},t.prototype.setKey=function(t,e){if(o.wH(this._dictionary,t)){var i=this._dictionary[t];i!==e&&(this._dictionary[t]=e,this.events.isEnabled("setKey")&&this.events.dispatchImmediately("setKey",{type:"setKey",target:this,key:t,oldValue:i,newValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}))}else this._dictionary[t]=e,this.events.isEnabled("insertKey")&&this.events.dispatchImmediately("insertKey",{type:"insertKey",target:this,key:t,newValue:e})},t.prototype.updateKey=function(t,e){if(!o.wH(this._dictionary,t))throw new Error("Key "+t+" doesn't exist in dictionary");var i=this._dictionary[t],n=e(i);i!==n&&(this._dictionary[t]=n,this.events.isEnabled("setKey")&&this.events.dispatchImmediately("setKey",{type:"setKey",target:this,key:t,oldValue:i,newValue:n}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}))},t.prototype.removeKey=function(t){if(o.wH(this._dictionary,t)){var e=this._dictionary[t];delete this._dictionary[t],this.events.isEnabled("removeKey")&&this.events.dispatchImmediately("removeKey",{type:"removeKey",target:this,key:t,oldValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:e})}},t.prototype.insertKeyIfEmpty=function(t,e){return this.hasKey(t)||this.insertKey(t,e()),this.getKey(t)},t.prototype.clear=function(){var t=this;this.events.isEnabled("removed")&&o.S6(this._dictionary,(function(e,i){t.events.dispatchImmediately("removed",{type:"removed",target:t,oldValue:i})})),this._dictionary={},this.events.isEnabled("cleared")&&this.events.dispatchImmediately("cleared",{type:"cleared",target:this})},t.prototype.copyFrom=function(t){var e=this;a.S6(t.iterator(),(function(t){e.setKey(t[0],t[1])}))},t.prototype.iterator=function(){return o.qh(this._dictionary)},t.prototype[Symbol.iterator]=function(){var t,e,i,r;return(0,n.Jh)(this,(function(n){switch(n.label){case 0:for(e in t=[],this._dictionary)t.push(e);i=0,n.label=1;case 1:return i<t.length?(r=t[i],o.wH(this._dictionary,r)?[4,[r,this._dictionary[r]]]:[3,3]):[3,4];case 2:n.sent(),n.label=3;case 3:return i++,[3,1];case 4:return[2]}}
1))},t.prototype.each=function(t){a.S6(this.iterator(),(function(e){var i=(0,n.CR)(e,2),r=i[0],s=i[1];return t(r,s)}))},t.prototype.sortedIterator=function(){return a.DY(this.iterator(),(function(t,e){return h.vm(t[0],e[0])}))},t}(),p=function(t){function e(e){var i=t.call(this)||this;return i.template=e,i}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;a.S6(t.iterator(),(function(t){e.setKey(t[0],t[1].clone())}))},e.prototype.create=function(t){var e=this;return this.insertKeyIfEmpty(t,(function(){return e.template.clone()}))},e}(u)},73818:function(t,e,i){i.d(e,{DM:function(){return l},FV:function(){return a},cx:function(){return h},ku:function(){return o}});var n=i(60199),r=i(91564),s=i(52248),o=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}(),a=function(t){function e(e){return t.call(this,(function(){r.S6(e,(function(t){t.dispose()}))}))||this}return(0,n.ZT)(e,t),e}(o),h=function(t){function e(){var e=t.call(this,(function(){s.Uh(e._disposer)&&(e._disposer.dispose(),e._disposer=void 0)}))||this;return e}return(0,n.ZT)(e,t),e.prototype.get=function(){return this._value},e.prototype.set=function(t,e){s.Uh(this._disposer)&&this._disposer.dispose(),this._disposer=e,this._value=t},e.prototype.reset=function(){this.set(void 0,void 0)},e}(o),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._counter=0,e}return(0,n.ZT)(e,t),e.prototype.increment=function(){var t=this;return++this._counter,new o((function(){--t._counter,0===t._counter&&t.dispose()}))},e}(o)},29520:function(t,e,i){i.d(e,{Dh:function(){return b},GE:function(){return s},Jd:function(){return x},Wx:function(){return d},_e:function(){return P}});var n=i(28502),r=i(69580);function s(t){return+t}function o(t){return t*t}function a(t){return t*(2-t)}function h(t){return t*=2,(t<=1?t*t:--t*(2-t)+1)/2}function l(t,e){return Math.pow(t,e)}function u(t,e){return 1-Math.pow(1-t,e)}function p(t,e){return t*=2,(t<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}function c(t){return l(t,3)}function d(t){return u(t,3)}function f(t){return p(t,3)}function g(t){return Math.pow(2,10*t-10)}function y(t){return 1-Math.pow(2,-10*t)}function m(t){return t*=2,(t<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function v(t){return 1-Math.cos(t*n.$_)}function b(t){return Math.sin(t*n.$_)}function _(t){return(1-Math.cos(n.PI*t))/2}function x(t){return t*t*t}function P(t){return--t*t*t+1}function w(t){return t*=2,(t<=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 C(t){return t*=2,(t<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}r.i.registeredClasses["ease.linear"]=s,r.i.registeredClasses["ease.quadIn"]=o,r.i.registeredClasses["ease.quadOut"]=a,r.i.registeredClasses["ease.quadInOut"]=h,r.i.registeredClasses["ease.polyIn"]=l,r.i.registeredClasses["ease.polyOut"]=u,r.i.registeredClasses["ease.polyInOut"]=p,r.i.registeredClasses["ease.polyIn3"]=c,r.i.registeredClasses["ease.polyOut3"]=d,r.i.registeredClasses["ease.polyInOut3"]=f,r.i.registeredClasses["ease.expIn"]=g,r.i.registeredClasses["ease.expOut"]=y,r.i.registeredClasses["ease.expInOut"]=m,r.i.registeredClasses["ease.sinIn"]=v,r.i.registeredClasses["ease.sinOut"]=b,r.i.registeredClasses["ease.sinInOut"]=_,r.i.registeredClasses["ease.cubicIn"]=x,r.i.registeredClasses["ease.cubicOut"]=P,r.i.registeredClasses["ease.cubicInOut"]=w,r.i.registeredClasses["ease.circleIn"]=O,r.i.registeredClasses["ease.circleOut"]=S,r.i.registeredClasses["ease.circleInOut"]=C;var k=4/11,T=6/11,j=8/11,D=3/4,I=9/11,M=10/11,V=15/16,F=21/22,E=63/64,L=1/k/k;function A(t){return 1-R(1-t)}function R(t){return t=+t,t<k?L*t*t:t<j?L*(t-=T)*t+D:t<M?L*(t-=I)*t+V:L*(t-=F)*t+E}function B(t){return t*=2,(t<=1?1-R(1-t):R(t-1)+1)/2}r.i.registeredClasses["ease.bounceIn"]=A,r.i.registeredClasses["ease.bounceOut"]=R,r.i.registeredClasses["ease.bounceInOut"]=B;var H=2*Math.PI,U=1,N=.3/H,W=Math.asin(1/U)*N;function z(t){return U*Math.pow(2,10*--t)*Math.sin((W-t)/N)}
1function G(t){return 1-U*Math.pow(2,-10*(t=+t))*Math.sin((t+W)/N)}function Z(t){return t=2*t-1,(t<0?U*Math.pow(2,10*t)*Math.sin((W-t)/N):2-U*Math.pow(2,-10*t)*Math.sin((W+t)/N))/2}r.i.registeredClasses["ease.elasticIn"]=z,r.i.registeredClasses["ease.elasticOut"]=G,r.i.registeredClasses["ease.elasticInOut"]=Z},65250:function(t,e,i){i.d(e,{p:function(){return h},r:function(){return l}});i(70560);var n=i(60199),r=i(73818),s=i(91564),o=i(49413),a=i(52248),h=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{s.S6(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 s.Yj(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){var n=s.cx(this._listeners,(function(n){return!0!==n.once&&n.type===t&&(null==e||n.callback===e)&&n.context===i}));return-1!==n},t.prototype._shouldDispatch=function(t){if(this._disposed)throw new Error("EventDispatcher is disposed");var e=this._disabled[t];return a.hj(e)?(e<=1?delete this._disabled[t]:--this._disabled[t],!1):this._enabled},t.prototype._eachListener=function(t){var e=this;++this._iterating;try{s.S6(this._listeners,t)}finally{--this._iterating,0===this._iterating&&0!==this._killed.length&&(s.S6(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||o.pT((function(){i.killed||i.dispatch(t,e)}))}))},t.prototype._on=function(t,e,i,n,s,o){var a=this;if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(t,e,i,n);var h={type:e,callback:i,context:n,shouldClone:s,dispatch:o,killed:!1,once:t,disposer:new r.ku((function(){h.killed=!0,a._removeListener(h)}))};return this._listeners.push(h),h},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");s.S6(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(0,n.ZT)(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");s.S6(t._listeners,(function(i){i.context!==t.target&&!i.killed&&i.shouldClone&&(null===i.t
1ype?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}(h)},20646:function(t,e,i){i.d(e,{h:function(){return a}});var n=i(60199),r=i(56399),s=i(69580),o=i(71015),a=function(t){function e(){var e=t.call(this)||this;return e._purposes={stroke:(0,o.$_)("#e5e5e5"),fill:(0,o.$_)("#f3f3f3"),primaryButton:(0,o.$_)("#6794dc"),primaryButtonHover:(0,o.$_)("#6771dc"),primaryButtonDown:(0,o.$_)("#68dc75"),primaryButtonActive:(0,o.$_)("#68dc75"),primaryButtonText:(0,o.$_)("#FFFFFF"),primaryButtonStroke:(0,o.$_)("#FFFFFF"),secondaryButton:(0,o.$_)("#d9d9d9"),secondaryButtonHover:(0,o.$_)("#d9d9d9").brighten(-.25),secondaryButtonDown:(0,o.$_)("#d9d9d9").brighten(-.35),secondaryButtonActive:(0,o.$_)("#d9d9d9").brighten(.35),secondaryButtonText:(0,o.$_)("#000000"),secondaryButtonStroke:(0,o.$_)("#FFFFFF"),grid:(0,o.$_)("#000000"),background:(0,o.$_)("#ffffff"),alternativeBackground:(0,o.$_)("#000000"),text:(0,o.$_)("#000000"),alternativeText:(0,o.$_)("#FFFFFF"),disabledBackground:(0,o.$_)("#999999"),positive:(0,o.$_)("#67dc75"),negative:(0,o.$_)("#dc6788")},e.className="InterfaceColorSet",e.applyTheme(),e}return(0,n.ZT)(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.L);s.i.registeredClasses["InterfaceColorSet"]=a},78398:function(t,e,i){i.d(e,{DY:function(){return l},RZ:function(){return y},S6:function(){return h},Sb:function(){return d},UI:function(){return u},kE:function(){return s},nI:function(){return r},qo:function(){return o},r3:function(){return g},sE:function(){return f},vn:function(){return a},xH:function(){return c},zo:function(){return p}});i(70560);var n=i(91564);function r(t){return function(e){for(var i=t.length,n=0;n<i;++n)if(!e(t[n]))break}}function s(t){var e=0;return t((function(t){return++e,!0})),e}function o(t){var e=[];return t((function(t){return e.push(t),!0})),e}function a(t,e){t(e)}function h(t,e){t((function(t){return e(t),!0}))}function l(t,e){return r(o(t).sort(e))}function u(t,e){return function(i){return t((function(t){return i(e(t))}))}}function p(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){for(var i=!0,n=function(t){return i=e(t)},r=t.length,s=0;s<r;++s)if(t[s](n),!i)break}}function c(t){return function(e){var i=!0,n=function(t){return i=e(t)};t((function(t){return t(n),i}))}}function d(t){return function(e){var i=0;t((function(t){return e([i++,t])}))}}function f(t,e){var i;return t((function(t){return!e(t)||(i=t,!1)})),i}function g(t,e){var i=!1;return t((function(t){return!e(t)||(i=!0,!1)})),i}var y=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.cx(this._listCopy,t);if(-1!==e){var i=this._listCopy[e];return n.Od(this._listCopy,i),i}return this.getLast()},t.prototype.removeItem=function(t){return n.Od(this._listCopy,t)},t.prototype.returnItem=function(t){if(t>=0&&t<this._listCopy.length){var e=this._listCopy[t];return n.Od(this._listCopy,e),e}if(this.createNewItems)return this._create()},t.prototype.iterator=function(){return r(this._listCopy)},t}()},2513:function(t,e,i){i.d(e,{d:function(){return s}});var n=i(52248),r=function(){function t(){}return t.prototype.getEventKey=function(t){var e,i=t.keyCode||t.which;switch(i){case 38:e="up";break;case 40:e="down";break;case 37:e="left";break;case 39:e="right";break;case 13:e="enter";break;case 27:e="esc";break;case 36:e="home";break;case 35:e="end";break;case 9:e="tab";break;case 17:e="ctrl";break;case 18:e="alt";break;case 16:e="shift";break;case 32:e="space";break;case 36:e="home";break;case 35:e="end";break;case 33:e="pgup";break;case 34:e="pgdn";break;case 45:e="ins";break;case 46:e="del";break;case 107:e="plus";break;case 109:e="minus";break;default:e="other";break}return e},t.prototype.isKey=function(t,e){var i=this.getEventKey(t);return n.HD(e)&&(e=[e]),-1!==e.indexOf(i)},t.prototype.shiftKey=function(t){return t.shiftKey},t.prototype.ctrlKey=function(t){return t.ctrlKey},t.prototype.altKey=function(t){return t.altKey},t.prototype.metaKey=function(t){return t.metaKey},t}(),s=new r}
1,51763:function(t,e,i){i.d(e,{S:function(){return u}});var n=i(60199),r=i(56399),s=i(98306),o=i(91564),a=i(52248),h={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_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";break}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:"","Press ENTER or use arrow keys to navigate":"","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:""},l=i(95298),u=function(t){function e(){var e=t.call(this)||this;return e.adapter=new s.L1(e),e._locale=h,e._defaultLocale=h,e.className="Language",a.Uh(l.Y.defaultLocale)&&(e.locale=l.Y.defaultLocale),e.a
1pplyTheme(),e}return(0,n.ZT)(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;r<arguments.length;r++)i[r-2]=arguments[r];e=this.getLocale(e);var s=t,o=this.getTranslations(e),h=o[t];if(null===h)s="";else if(a.Uh(h))h&&(s=h);else if(e!==this._defaultLocale)return this.translate.apply(this,(0,n.fl)([t,this._defaultLocale],i));if(i.length)for(var l=i.length,u=0;u<l;++u)s=s.split("%"+(u+1)).join(i[u]);return this.adapter.apply("translate",{translation:s,locale:e}).translation},e.prototype.translateAny=function(t,e){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return this.translate.apply(this,(0,n.fl)([t,e],i))},e.prototype.setTranslationAny=function(t,e,i){var n=i||this.locale;n[t]=e},e.prototype.translateEmpty=function(t,e){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var s=this.translate.apply(this,(0,n.fl)([t,e],i));return s==t?"":s},e.prototype.translateFunc=function(t,e){e=this.getLocale(e);var i=this.getTranslations(e),n=i[t];return null!=n?n:e!==this._defaultLocale?this.translateFunc(t,this._defaultLocale):function(){return""}},e.prototype.translateAll=function(t,e){var i=this;return this.isDefault()?t:o.UI(t,(function(t){return i.translate(t,e)}))},e.prototype.isDefault=function(){return this._defaultLocale===this._locale},Object.defineProperty(e.prototype,"locale",{get:function(){return this._locale},set:function(t){if(this._locale!=t&&(this._locale=t,this.events.isEnabled("localechanged"))){var e={type:"localechanged",locale:t,target:this};this.events.dispatchImmediately("localechanged",e)}},enumerable:!0,configurable:!0}),e.prototype.getTranslations=function(t){return this.adapter.apply("translations",{translations:t,locale:t}).translations},e}(r.y)},4781:function(t,e,i){i.d(e,{aV:function(){return p},o:function(){return c},zQ:function(){return l}});i(70560);var n=i(60199),r=i(73818),s=i(65250),o=i(91564),a=i(78398),h=function(){function t(t,e,i){this._array=t,this._start=e,this._end=i}return t.prototype.iterator=function(){var t=this;return function(e){if(t._start!==t._end)if(t._start<t._end){for(var i=t._start;i<t._end;++i)if(!e(t._array[i]))break}else for(i=t._start-1;i>=t._end;--i)if(!e(t._array[i]))break}},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<this._end){var n=i-e;return e=Math.max(this._start+e,this._start),i=Math.min(e+n,this._end),new t(this._array,e,i)}n=i-e;return e=Math.max(this._start-e,this._end),i=Math.max(e-n,this._end),new t(this._array,e,i)}throw new Error("Start index must be lower than end index")},t}(),l=(function(t){function e(e,i,n){var r=t.call(this,[e.events.on("inserted",(function(t){var i=t.newValue,n=r._getKey(i),s=0;a.vn(e.iterator(),(function(t){return t!==i&&(r._getKey(t)===n&&++s,!0)})),r._insert(i,n,s)}),void 0,!1),e.events.on("removed",(function(t){r._remove(t.oldValue)}),void 0,!1)])||this;return r._keys=[],r._groups={},r._getKey=i,r._sort=n,a.S6(e.iterator(),(function(t){r._insert(t,i(t))})),r}(0,n.ZT)(e,t),e.prototype._insert=function(t,e,i){if(null==this._groups[e]){this._groups[e]=[];var n=o.sK(this._keys,this._sort,e),r=n.found,s=n.index;if(r)throw new Error("Key already exists: "+e);o.Bg(this._keys,s,e)}null==i?this._groups[e].push(t):o.Bg(this._groups[e],i,t)},e.prototype._remove=function(t){var e=this._getKey(t),i=this._groups[e];if(null!=i&&(o.Od(i,t),0===i.length)){delete this._groups[e];var n=o.sK(this._keys,this._sort,e),r=n.found,s=n.index;if(!r)throw new Error("Key doesn't exist: "+e);o.$E(this._keys,s)}},e.prototype.iterator=function(){var t=this;return a.xH(a.UI(a.nI(this._keys),(function(e){return a.nI(t._groups[e])})))}}(r.FV),function(t){function e(e,i){void 0===i&&(i=!0);var n=this;if(i){var r=e.events.on("removed",(function(t){t.oldValue.dispose()}),void 0,!1);n=t.call(this,(function(){r.dispose(),a.S6(e.iterator(),(function(t){t.dispose()}))}))||this}else n=t.call(this,(function(){a.S6(e.iterator(),(function(t){t.dispose()}))}))||this;return n}return(0,n.ZT)(e,t),e}(r.ku));function u(t,e){if(!(t>=0&&t<e))throw new Error("Index out of bounds: "+t)}var p=function(){function t(t){void 0===t&&(t=[]),this.events=new s.p,this._values=t}return Object.defineProperty(t.prototype,"values",{get:function(){return this._values},enumerable:!0,configurable:!0}),t.prototype.contains=function(t){return-1!==this._values.indexOf(t)},t.prototype.removeValue=function(t){var e=0,i=this._values.length;while(e<i)this._values[e]===t?(this.removeIndex(e),--i):++e},t.prototype.indexOf=function(t){return o.cq(this._values,t)},Object.defineProperty(t.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.hasIndex=function(t){return t>=0&&t<this._values.length},t.prototype.getIndex=function(t){return this._values[t]},t.prototype.setIndex=function(t,e){u(t,this._values.length);var i=this._values[t];return i!==e&&(this._values[t]=e,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:t,oldValue:i,newValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:i}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:e})),i},t.prototype.insertIndex=function(t,e){u(t,this._values.length+1),o.Bg(this._values,t,e),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:t,newValue:e}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:e})}
1,t.prototype._sortQuicksort=function(t,e,i){if(t<e){var n=this._sortPartition(t,e,i);this._sortQuicksort(t,n,i),this._sortQuicksort(n+1,e,i)}},t.prototype._sortPartition=function(t,e,i){for(var n=this._values,r=n[t],s=t-1,o=e+1;;){do{++s}while(i(n[s],r)<0);do{--o}while(i(n[o],r)>0);if(s>=o)return o;this.swap(s,o)}},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(u(t,i),u(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){u(t,this._values.length);var e=this._values[t];return o.$E(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];o.$E(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)):o.Bg(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;o.S6(t,(function(t){e.push(t)}))},t.prototype.copyFrom=function(t){this.pushAll(t._values)},t.prototype.pop=function(){var t=this._values.length-1;return t<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=o.JG(this._values);this._values.length=0,o.S6(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")&&o.S6(i,(function(t){e.events.dispatchImmediately("removed",{type:"removed",target:e,oldValue:t})})),this.events.isEnabled("inserted")&&o.S6(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 a.nI(this._values)},t.prototype[Symbol.iterator]=function(){var t,e;return(0,n.Jh)(this,(function(i){switch(i.label){case 0:t=this._values.length,e=0,i.label=1;case 1:return e<t?[4,this._values[e]]:[3,4];case 2:i.sent(),i.label=3;case 3:return++e,[3,1];case 4:return[2]}}
1))},t.prototype.each=function(t){o.S6(this._values,t)},t.prototype.range=function(t,e){if(t<=e){var i=e-t;return t=Math.max(t,0),e=Math.min(t+i,this._values.length),new h(this._values,t,e)}throw new Error("Start index must be lower than end index")},t.prototype.backwards=function(){return new h(this._values,this._values.length,0)},t}(),c=function(t){function e(e){var i=t.call(this)||this;return i.template=e,i}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;a.S6(t.iterator(),(function(t){e.push(t.clone())}))},e.prototype.create=function(t){var e=null!=t?new t:this.template.clone();return this.push(e),e},e.prototype.clone=function(){for(var t=new e(this.template),i=this.values,n=i.length,r=0;r<n;++r)t.push(i[r].clone());return t},e}(p)},69594:function(t,e,i){i.d(e,{Z:function(){return o},c:function(){return s}});var n=i(60199),r=i(95298);function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];r.Y.verbose&&console&&console.log.apply(console,(0,n.fl)(t))}function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];r.Y.suppressWarnings||console&&console.warn.apply(console,(0,n.fl)(t))}},28502:function(t,e,i){i.d(e,{$_:function(){return s},C7:function(){return p},DP:function(){return j},Fp:function(){return g},L4:function(){return b},LW:function(){return E},M0:function(){return w},NM:function(){return l},Ns:function(){return L},O$:function(){return c},OR:function(){return d},PI:function(){return r},Q5:function(){return P},SO:function(){return C},Sp:function(){return x},Up:function(){return O},VV:function(){return y},WL:function(){return V},Wg:function(){return h},XD:function(){return B},YH:function(){return D},_O:function(){return k},jV:function(){return _},jY:function(){return T},je:function(){return M},mC:function(){return f},mD:function(){return u},nJ:function(){return A},oq:function(){return m},sE:function(){return o},v4:function(){return a},wf:function(){return v},yZ:function(){return S},zI:function(){return I}});i(70560);var n=i(52248),r=Math.PI,s=r/2,o=r/180,a=180/r;function h(t,e,i){return n.Uh(t)?(t=n.He(t),p(t,e,i)):t}function l(t,e,i){if(!n.hj(e)||e<=0){var r=Math.round(t);return i&&r-t==.5&&r--,r}var s=Math.pow(10,e);return Math.round(t*s)/s}function u(t,e){if(!n.hj(e)||e<=0)return Math.ceil(t);var i=Math.pow(10,e);return Math.ceil(t*i)/i}function p(t,e,i){if(n.hj(e)){if(n.hj(i)&&i<e){var r=i;i=e,e=r}t<e&&(t=e)}return n.hj(i)&&t>i&&(t=i),t}function c(t){return l(Math.sin(o*t),10)}function d(t){return l(Math.tan(o*t),10)}function f(t){return l(Math.cos(o*t),10)}function g(t,e){return n.hj(t)?n.hj(e)&&e>t?e:t:n.hj(e)?e:null}function y(t,e){return n.hj(t)?n.hj(e)&&e<t?e:t:n.hj(e)?e:null}function m(t,e){return t.reduce((function(t,i){return Math.abs(i-e)<Math.abs(t-e)?i:t}))}function v(t,e){var i=n.NA(t.start),r=n.NA(e.start),s=n.NA(t.end),o=n.NA(e.end);return Math.max(i,r)<=Math.min(s,o)}function b(t){var e=n.NA(t.start),i=n.NA(t.end);return{start:1-i,end:1-e}}function _(t,e){var i=n.NA(t.start),r=n.NA(e.start),s=n.NA(t.end),o=n.NA(e.end),a=Math.max(i,r),h=Math.min(s,o);return h<a?void 0:{start:a,end:h}}function x(t,e){return t?(e||(e={x:0,y:0}),Math.sqrt(Math.pow(Math.abs(t.x-e.x),2)+Math.pow(Math.abs(t.y-e.y),2))):0}function P(t,e){return t?(e||(e={x:0,y:0}),Math.abs(t.x-e.x)):0}function w(t,e){return t?(e||(e={x:0,y:0}),Math.abs(t.y-e.y)):0}function O(t,e,i,n,r){if(!t)return 0;e||(e={x:0,y:0});var s=0,o=t;if(r>0)for(var a=0;a<=r;a++){var h=I(t,e,i,n,a/r);s+=x(o,h),o=h}return s}function S(t,e,i,n){var r=x(e,n),s=x(t,i);return Math.abs(s/r)}function C(t,e,i){return n.hj(i)||(i=.5),{x:t.x+(e.x-t.x)*i,y:t.y+(e.y-t.y)*i}}function k(t,e){e||(e={x:2*t.x,y:2*t.y});var i=e.x-t.x,n=e.y-t.y,r=Math.atan2(n,i)*a;return r<0&&(r+=360),E(r)}function T(t){if(t){var e=t.length;if(0!==e){for(var i,r=void 0,s=void 0,o=void 0,a=0;a<e;a++){var h=t[a];(!n.hj(s)||h.x>s)&&(s=h.x),(!n.hj(r)||h.x<r)&&(r=h.x),(!n.hj(i)||h.y<i)&&(i=h.y),(!n.hj(o)||h.y>o)&&(o=h.y)}return{x:r,y:i,width:s-r,height:o-i}}}return{x:0,y:0,width:0,height:0}}function j(t){var e=t.length;if(0!==e){for(var i=void 0,n=void 0,r=void 0,s=void 0,o=0;o<e;o++){var a=t[o];
1i=y(a.x,i),n=y(a.y,n),r=g(a.x+a.width,r),s=g(a.y+a.height,s)}return{x:i,y:n,width:r-i,height:s-n}}}function D(t,e,i,n){var r=(1-n)*(1-n)*t.x+2*(1-n)*n*i.x+n*n*e.x,s=(1-n)*(1-n)*t.y+2*(1-n)*n*i.y+n*n*e.y;return{x:r,y:s}}function I(t,e,i,n,r){var s={x:0,y:0},o=1-r,a=o*o,h=a*o;return s.x=t.x*h+3*i.x*a*r+3*n.x*o*r*r+e.x*r*r*r,s.y=t.y*h+3*i.y*a*r+3*n.y*o*r*r+e.y*r*r*r,s}function M(t,e,i,n,r,s){return r=F(r),s=F(s),{x:(-t.x+e.x/r+i.x)*r,y:(-t.y+e.y/s+i.y)*s}}function V(t,e,i,n,r,s){return r=F(r),s=F(s),{x:(e.x+i.x/r-n.x)*r,y:(e.y+i.y/s-n.y)*s}}function F(t){return 1-t+1e-5}function E(t){return 360==t?360:t%360}function L(t,e,i){if(e>i){var n=e;e=i,i=n}t=E(t);var r=(e-E(e))/360;t<e&&(t+=360*(r+1));var s=e+(i-e)/2+180,o=e+(i-e)/2-180;return t>i&&(t-360>e?t-=360:t=t<s?i:e),t<e&&(t=t>o?e:i),t}function A(t,e,i){var r=Number.MAX_VALUE,s=Number.MAX_VALUE,o=-Number.MAX_VALUE,a=-Number.MAX_VALUE,h=[];n.hj(i)||(i=1),h.push(R(i,t)),h.push(R(i,e));for(var l=Math.min(90*Math.floor(t/90),90*Math.floor(e/90)),u=Math.max(90*Math.ceil(t/90),90*Math.ceil(e/90)),p=l;p<=u;p+=90)p>=t&&p<=e&&h.push(R(i,p));for(var c=0;c<h.length;c++){var d=h[c];d.x<r&&(r=d.x),d.y<s&&(s=d.y),d.x>o&&(o=d.x),d.y>a&&(a=d.y)}return{x:r,y:s,width:o-r,height:a-s}}function R(t,e){return{x:t*f(e),y:t*c(e)}}function B(t,e){return t.x>=e.x&&t.x<=e.x+e.width&&t.y>=e.y&&t.y<=e.y+e.height}},22959:function(t,e,i){i.d(e,{T:function(){return l}});i(70560);var n=i(60199),r=i(56399),s=i(80677),o=i(28502),a=i(29520),h=i(52248),l=function(t){function e(e){var i=t.call(this)||this;return i._bboxes=[],i.morphDuration=800,i.morphEasing=a._e,i.morphToSingle=!0,i.scaleRatio=1,i.className="Morpher",i.morphable=e,i.applyTheme(),i}return(0,n.ZT)(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=[],h.Uh(e)||(e=this.morphDuration),h.Uh(i)||(i=this.morphEasing),this._morphFromPointsReal=this.normalizePoints(t,n),this._morphToPointsReal=this.normalizePoints(n,t),this.morphable.currentPoints=this._morphFromPointsReal;var r=new s.fw(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;i<n;i++){var r=t[i][0],s=t[i][1],a=h.NA(o.jY(r)),l=a.x+a.width,u=a.y+a.height;if(e[i]||(e[i]=[]),r&&!e[i][0]&&(e[i][0]=[{x:l,y:u},{x:l,y:u}]),e[i][0]){e[i][0]=this.addPoints(e[i][0],r.length);for(var p=1/0,c=0,d=0;d<e[i][0].length;d++){var f=o.Sp(e[i][0][d],r[0]);f<p&&(c=d,p=f)}var g=e[i][0].slice(0,c),y=e[i][0].slice(c);e[i][0]=y.concat(g)}s&&(e[i][1]||(e[i][1]=[{x:l,y:u},{x:l,y:u}]),e[i][1]=this.addPoints(e[i][1],s.length))}return e},e.prototype.sortPoints=function(t){t.sort((function(t,e){var i=h.NA(o.jY(t[0])),n=h.NA(o.jY(e[0]));return i.width*i.height>n.width*n.height?-1:1}));for(var e=[],i=0,n=t.length;i<n;i++){var r=t[i][0];r&&e.push(h.NA(o.jY(r)))}return o.DP(e)},e.prototype.morphToCircle=function(t,e,i){var n=this.morphable.points,r=this.sortPoints(n);this._morphFromPointsReal=[],this._morphToPointsReal=[],h.Uh(e)||(e=this.morphDuration),h.Uh(i)||(i=this.morphEasing);for(var a=0,l=n.length;a<l;a++){var u=n[a][0],p=n[a][1];if(this._morphFromPointsReal[a]=[],this._morphToPointsReal[a]=[],u){var c=u,d=u,f=h.NA(o.jY(d));this.morphToSingle&&(f=h.NA(r));var g=f.x+f.width/2,y=f.y+f.height/2,m=t;h.hj(m)||(m=Math.min(f.width/2,f.height/2)),c=[];var v=o._O({x:g,y:y},u[0]),b=100;u.length>b&&(b=u.length),d=this.addPoints(u,b),b=d.length;for(var _=360/(b-1),x=0;x<b;x++){var P=_*x+v,w={x:g+m*o.mC(P),y:y+m*o.O$(P)};c[x]=w}if(p&&p.length>0)for(var O=0,S=p.length;O<S;O++)c.push({x:g,y:y});this._morphFromPointsReal[a][0]=d,this._morphToPointsReal[a][0]=c}}this.morphable.currentPoints=this._morphFromPointsReal;var C=new s.fw(this,{property:"morphProgress",from:0,to:1},e,i);return this._disposers.push(C),C.start(),C},e.prototype.addPoints=function(t,e){for(var i=Math.round(e/t.length),n=[],r=0,s=t.length;r<s;r++){var o=t[r],a=void 0;a=r==t.length-1?t[0]:t[r+1],n.push(o);for(var h=1;h<i;h++){var l=h/i,u={x:o.x+(a.x-o.x)*l,y:o.y+(a.y-o.y)*l};n.push(u)}n.length+t.length-r==e&&(i=0)}if(n.length<e&&t.length>0){var p=t[t.length-1];for(h=n.length;h<e;h++)n.push({x:p.x,y:p.y})}return n}
1,e.prototype.morphToRectangle=function(t,e,i,n){var r=this.morphable.points;this.sortPoints(r),this._morphFromPointsReal=[],this._morphToPointsReal=[],h.Uh(i)||(i=this.morphDuration),h.Uh(n)||(n=this.morphEasing);for(var o=0,a=r.length;o<a;o++){var l=r[o][0],u=r[o][1];if(this._morphFromPointsReal[o]=[],this._morphToPointsReal[o]=[],l){var p=l,c=l,d=this._bboxes[o];this.morphToSingle;var f=d.x,g=d.y,y=t,m=e;if(h.hj(y)||(y=d.width),h.hj(m)||(m=d.height),p=[{x:f,y:g},{x:f+y,y:g},{x:f+y,y:g+m},{x:f,y:g+m}],p=this.addPoints(p,l.length),l.length<4)for(var v=l.length;v<4;v++)p.push({x:l[v].x,y:l[v].y});if(u&&u.length>0)for(var b=d.x+d.width/2,_=d.y+d.height/2,x=0,P=u.length;x<P;x++)p.push({x:b,y:_});this._morphFromPointsReal[o][0]=c,this._morphToPointsReal[o][0]=p}}this.morphable.currentPoints=this._morphFromPointsReal;var w=new s.fw(this,{property:"morphProgress",from:0,to:1},i,n);return this._disposers.push(w),w.start(),w},Object.defineProperty(e.prototype,"morphProgress",{get:function(){return this._morphProgress},set:function(t){this._morphProgress=t;var e=[];if(null!=t){var i=this._morphFromPointsReal,n=this._morphToPointsReal;if(null!=i&&null!=n)for(var r=0,s=i.length;r<s;r++){var o=[];e.push(o);var a=i[r][0],h=i[r][1],l=n[r][0],u=n[r][1];if(a&&a.length>0&&l&&l.length>0){for(var p=[],c=0,d=a.length;c<d;c++){var f=a[c],g=l[c],y={x:f.x+(g.x*this.scaleRatio-f.x)*t,y:f.y+(g.y*this.scaleRatio-f.y)*t};p.push(y)}o[0]=p}if(h&&h.length>0&&u&&u.length>0){for(var m=[],v=0,b=h.length;v<b;v++){f=h[v],g=u[v],y={x:f.x+(g.x*this.scaleRatio-f.x)*t,y:f.y+(g.y*this.scaleRatio-f.y)*t};m.push(y)}o[1]=m}}}this.morphable.currentPoints=e},enumerable:!0,configurable:!0}),e.prototype.morphBack=function(t,e){this._morphToPointsReal=this._morphFromPointsReal,this._morphFromPointsReal=this.morphable.currentPoints,h.Uh(t)||(t=this.morphDuration),h.Uh(e)||(e=this.morphEasing);var i=new s.fw(this,{property:"morphProgress",from:0,to:1},t,e);return this._disposers.push(i),i.start(),i},Object.defineProperty(e.prototype,"animations",{get:function(){return this._animations||(this._animations=[],this._disposers.push(new s.w3(this._animations))),this._animations},enumerable:!0,configurable:!0}),e}(r.L)},17578:function(t,e,i){i.d(e,{z:function(){return r}});var n=i(52248);function r(t,e,i){return new Promise((function(r,o){var a=n.Uh(i)&&"blob"==i.responseType,h=new XMLHttpRequest;if(h.onload=function(){if(200===h.status){var t,i=void 0;if(a)return t=h.response,void s(t).then((function(i){var n={xhr:h,error:!1,response:i,blob:t,type:h.getResponseHeader("Content-Type"),target:e};r(n)}));i=h.responseText||h.response;var n={xhr:h,error:!1,response:i,blob:t,type:h.getResponseHeader("Content-Type"),target:e};r(n)}else o({xhr:h,error:!0,type:h.getResponseHeader("Content-Type"),target:e})},h.onerror=function(){o({xhr:h,error:!0,type:h.getResponseHeader("Content-Type"),target:e})},h.open("GET",t,!0),i&&i.withCredentials&&(h.withCredentials=!0),n.Uh(i)){if(n.Uh(i.requestHeaders))for(var l=0;l<i.requestHeaders.length;l++){var u=i.requestHeaders[l];h.setRequestHeader(u.key,u.value)}n.Uh(i.responseType)&&(h.responseType=i.responseType)}h.send()}))}function s(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)}))}},14965:function(t,e,i){function n(t,e){return t===e?0:t<e?-1:1}i.d(e,{v:function(){return n}})},52639:function(t,e,i){i.d(e,{BS:function(){return f},Bx:function(){return y},Dc:function(){return g},JE:function(){return p},S6:function(){return u},TS:function(){return c},d9:function(){return d},qh:function(){return s},vn:function(){return l},wH:function(){return h}});i(70560);var n=i(91564),r=i(52248);function s(t){return function(e){for(var i in t)if(h(t,i)&&!e([i,t[i]]))break}}function o(t){var e=[];for(var i in t)h(t,i)&&e.push(i);return e}function a(t,e){return o(t).sort(e)}function h(t,e){return{}.hasOwnProperty.call(t,e)}function l(t,e){for(var i in t)if(h(t,i)&&!e(i,t[i]))break}function u(t,e){l(t,(function(t,i){return e(t,i),!0}))}function p(t,e,i){n.S6(a(t,i),(function(i){e(i,t[i])}))}function c(t,e){return Object.assign({},t,e)}function d(t){return JSON.parse(JSON.stringify(t))}
1function f(t,e,i){n.S6(i,(function(i){r.Uh(t[i])&&(e[i]=t[i])}))}function g(t,e,i){n.S6(i,(function(i){e[i]=t[i]}))}function y(t,e){f(t,e,o(t))}},54421:function(t,e,i){function n(t){switch(t){case 0:return 0;case-1:return 1;case 1:return-1}}function r(t,e){return 0===t?e:t}i.d(e,{G:function(){return n},or:function(){return r}})},10431:function(t,e,i){i.d(e,{aQ:function(){return r},gG:function(){return n},hU:function(){return s}});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}();function r(t){return new n(t)}function s(t){return t instanceof n}},58403:function(t,e,i){i.d(e,{Et:function(){return c},IH:function(){return d},Xf:function(){return f}});i(70560);var n=i(60199),r=i(56399),s=i(4781),o=i(98306),a=i(69580),h=i(78398),l=i(91564),u=i(52248),p=i(52639),c=function(t){function e(){var e=t.call(this)||this;return e._rules=new s.aV,e._appliedRules={},e._appliedTargets=[],e._useDefault=!0,e.adapter=new o.L1(e),e._enabled=!1,e._responsiveDisposers=[],e._noStates=[],e.className="Responsive",e.rules.events.on("inserted",(function(){e.checkRules()}),!0),e.rules.events.on("removed",(function(){e.checkRules()}),!0),e._disposers.push(e.rules.events),e.applyTheme(),e}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"component",{get:function(){return this._component},set:function(t){var e=this;t!=this._component&&(this.disposeResponsiveHandlers(),this._component=t,this._responsiveDisposers.push(u.NA(this.component).events.on("sizechanged",(function(){e.checkRules()}),this)),this._responsiveDisposers.push(u.NA(this.component).events.once("datavalidated",(function(){e._component.isReady()&&e.checkRules(!0)}),this)),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",d)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allRules",{get:function(){var t=new s.aV;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!!u.Uh(e)&&e},e.prototype.checkRules=function(t){var e=this;void 0===t&&(t=!1);var i=this.allRules;if(i&&0!=i.length){var n=!1,r=u.NA(this.component);if(0!=r.pixelWidth&&0!=r.pixelHeight&&(h.S6(i.iterator(),(function(t){t.id||(t.id=a.i.getUniqueId());var i=t.relevant(r);(i&&!e.isApplied(t.id)||!i&&e.isApplied(t.id))&&(n=!0),e._appliedRules[t.id]=i})),t&&(n=!0),n)){if(!this.component.isReady())return r.hidden=!0,void r.events.once("ready",(function(t){t.target.show(0),e._applyRules()}));this.dispatchImmediately("ruleschanged"),this._applyRules()}}},e.prototype._applyRules=function(){var t=this;this._timeout&&this._timeout.dispose(),this._timeout=this.setTimeout((function(){t.applyRules()}),10)},e.prototype.applyRules=function(t){var e=this,i=u.Uh(t)?t:u.NA(this.component),n=!1;if(this.enabled){var r=!1;h.S6(this.allRules.iterator(),(function(t){var s=e.getState(t,i);s&&(n||(-1!==l.cq(e._appliedTargets,i.uid)&&i.setState(e.getDefaultState(i),0),n=!0),e.isApplied(u.NA(t.id))&&(s.transitionDuration=0,e.setTargetState(i,s),e.dispatchImmediately("ruleapplied",{rule:t}),r=!0))})),r?l.gx(this._appliedTargets,i.uid):l.Od(this._appliedTargets,i.uid)}i.children&&h.S6(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.cq(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.getDefaultState=function(t){return t.states.hasKey("responsive-default")?t.states.getKey("responsive-default"):t.states.create("responsive-default")}
1,e.prototype.setTargetState=function(t,e){var i=this,n=this.getDefaultState(t);p.S6(e.properties,(function(e,r){u.Uh(n.properties[e])||(n.properties[e]=i.getValue(t,e))})),t.setState(e)},e.prototype.getValue=function(t,e){var i=t.getPropertyValue(e);return!u.Uh(i)&&u.Uh(t[e])&&(i=t[e]),i},e.prototype.dispose=function(){this.disposeResponsiveHandlers(),t.prototype.dispose.call(this)},e.prototype.disposeResponsiveHandlers=function(){var t=this._responsiveDisposers.pop();while(t)t.dispose(),t=this._responsiveDisposers.pop()},e}(r.y),d=new s.aV;d.events.on("inserted",(function(t){t.newValue.id=a.i.getUniqueId()}));var f=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}()},96579:function(t,e,i){i.d(e,{$X:function(){return l},IK:function(){return u},Rj:function(){return p}});i(70560);var n=i(60199),r=i(65250),s=i(91564),o=i(78398),a=i(52248),h=function(){function t(t){this._values=[],this.events=new r.p,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 s.cq(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];s.$E(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;s.G8(this._values,(function(t,i){e._values.pop(),e.events.isEnabled("removed")&&e.events.dispatchImmediately("removed",{type:"removed",target:e,index:i,oldValue:t})})),s.S6(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}
1,t.prototype.findClosestIndex=function(t,e,i){void 0===i&&(i="any");var n,r,s=-1,h=0;return o.vn(this.iterator(),(function(o){var l=e(o);if("any"===i){if(l===t)return s=h,!1;var u=Math.abs(t-l);(!a.Uh(r)||r>u)&&(s=h,n=l,r=u)}else"left"===i&&l<t?(!a.Uh(n)||n<l)&&(s=h,n=l):"right"===i&&l>=t&&(!a.Uh(n)||n>=l)&&(s=h,n=l);return++h,!0})),-1===s&&("left"===i?s=0:"right"===i&&(s=this.length-1)),s},t.prototype.iterator=function(){return o.nI(this._values)},t.prototype[Symbol.iterator]=function(){var t,e;return(0,n.Jh)(this,(function(i){switch(i.label){case 0:t=this._values.length,e=0,i.label=1;case 1:return e<t?[4,this._values[e]]:[3,4];case 2:i.sent(),i.label=3;case 3:return++e,[3,1];case 4:return[2]}}))},t.prototype.each=function(t){s.S6(this._values,t)},t}(),l=function(t){function e(e){var i=t.call(this)||this;return i._ordering=e,i}return(0,n.ZT)(e,t),e.prototype._insert=function(t){var e=s.sK(this._values,this._ordering,t).index;return s.Bg(this._values,e,t),e},e.prototype.indexOf=function(t){var e=s.sK(this._values,this._ordering,t),i=e.found,n=e.index;return i?n:-1},e.prototype.update=function(t){var e=s.cq(this._values,t);if(-1!==e){var i=this._values.length-1;(0===e||this._ordering(this._values[e-1],t)<0)&&(e===i||this._ordering(t,this._values[e+1])<0)||(s.$E(this._values,e),this._insert(t))}},e}(h),u=function(t){function e(e){var i=t.call(this)||this;return i.template=e,i}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;o.S6(t.iterator(),(function(t){e.insert(t.clone())}))},e.prototype.slice=function(t,i){var n=new e(this.template);return n._values=this._values.slice(t,i),n},e.prototype.create=function(t){var e=null!=t?new t:this.template.clone();return this.insert(e),e},e}(h),p=function(t){function e(e,i){var n=t.call(this,i)||this;return n.template=e,n}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"template",{get:function(){return this._template},set:function(t){t.isTemplate=!0,this._template=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(t){var e=this;o.S6(t.iterator(),(function(t){e.insert(t.clone())}))},e.prototype.create=function(t){var e=null!=t?new t:this.template.clone();return this.insert(e),e},e}(l)},59866:function(t,e,i){function n(t,e){return t===e?0:t<e?-1:1}function r(t,e){return new Array(e+1).join(t)}function s(t){for(var e="",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=0;n<t;n++)e+=i.charAt(Math.floor(Math.random()*i.length));return e}i.d(e,{MX:function(){return s},rx:function(){return r},vm:function(){return n}})},94339:function(t,e,i){i.d(e,{Cb:function(){return h},Hu:function(){return s},Wu:function(){return r},jd:function(){return n},l7:function(){return a},th:function(){return o}});var n="string",r="number",s="date",o="duration",a="__§§§__",h="__§§§§__"},71915:function(t,e,i){i.d(e,{IH:function(){return p},JG:function(){return l},NM:function(){return c},XC:function(){return s},_z:function(){return f},g9:function(){return o},hK:function(){return h},oE:function(){return u},zA:function(){return d}});var n=i(52248),r={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6};function s(t){switch(t){case"year":return;case"month":return"year";case"week":return"month";case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function o(t,e){return n.Uh(e)||(e=1),r[t]*e}function a(){return new Date}function h(){return a().getTime()}function l(t){return new Date(t.getTime())}function u(t,e,i,n){t=new Date(t.getTime()),e=new Date(e.getTime());var r=0,o=0;n||"millisecond"==i||(r=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-r),o=e.getTimezoneOffset(),e.setUTCMinutes(e.getUTCMinutes()-o));var a=!1;switch(i){case"year":t.getUTCFullYear()!=e.getUTCFullYear()&&(a=!0);break;case"month":(t.getUTCFullYear()!=e.getUTCFullYear()||t.getUTCMonth()!=e.getUTCMonth())&&(a=!0);break;case"day":(t.getUTCMonth()!=e.getUTCMonth()||t.getUTCDate()!=e.getUTCDate())&&
1(a=!0);break;case"hour":t.getUTCHours()!=e.getUTCHours()&&(a=!0);break;case"minute":t.getUTCMinutes()!=e.getUTCMinutes()&&(a=!0);break;case"second":t.getUTCSeconds()!=e.getUTCSeconds()&&(a=!0);break;case"millisecond":t.getTime()!=e.getTime()&&(a=!0);break}if(a)return!0;var h=s(i);return!!h&&(t.setUTCMinutes(t.getUTCMinutes()+r),e.setUTCMinutes(e.getUTCMinutes()+o),u(t,e,h,n))}function p(t,e,i,n){var r=0;switch(n||"millisecond"==e||(r=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-r)),e){case"day":var s=t.getUTCDate();t.setUTCDate(s+i);break;case"second":var o=t.getUTCSeconds();t.setUTCSeconds(o+i);break;case"millisecond":var a=t.getUTCMilliseconds();t.setUTCMilliseconds(a+i);break;case"hour":var h=t.getUTCHours();t.setUTCHours(h+i);break;case"minute":var l=t.getUTCMinutes();t.setUTCMinutes(l+i);break;case"year":var u=t.getUTCFullYear();t.setUTCFullYear(u+i);break;case"month":var p=t.getUTCMonth();t.setUTCMonth(p+i);break;case"week":var c=t.getUTCDate();t.setUTCDate(c+7*i);break}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}function c(t,e,i,r,s,a,h,l){void 0===h&&(h=0),n.hj(i)||(i=1);var u=0;switch(l&&-1!=["day","month","week","year"].indexOf(e)&&(t=d(t,l)),s||"millisecond"==e||(u=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-u)),e){case"day":var p=t.getUTCDate();if(i>1){if(a){a=c(a,"day",1);var f=t.getTime()-a.getTime(),g=Math.floor(f/o("day")/i),y=o("day",g*i);t.setTime(a.getTime()+y-u*o("minute"))}}else t.setUTCDate(p);t.setUTCHours(0,0,0,0);break;case"second":var m=t.getUTCSeconds();i>1&&(m=Math.floor(m/i)*i),t.setUTCSeconds(m,0);break;case"millisecond":if(1==i)return t;var v=t.getUTCMilliseconds();v=Math.floor(v/i)*i,t.setUTCMilliseconds(v);break;case"hour":var b=t.getUTCHours();i>1&&(b=Math.floor(b/i)*i),t.setUTCHours(b,h,0,0);break;case"minute":var _=t.getUTCMinutes();v=t.getUTCMilliseconds(),i>1&&(_=Math.floor(_/i)*i),t.setUTCMinutes(_,0,0);break;case"month":var x=t.getUTCMonth();i>1&&(x=Math.floor(x/i)*i),t.setUTCMonth(x,1),t.setUTCHours(0,h,0,0);break;case"year":var P=t.getUTCFullYear();i>1&&(P=Math.floor(P/i)*i),t.setUTCFullYear(P,0,1),t.setUTCHours(0,h,0,0);break;case"week":var w=t.getUTCDate(),O=t.getUTCDay();n.hj(r)||(r=1),w=O>=r?w-O+r:w-(7+O)+r,t.setUTCDate(w),t.setUTCHours(0,h,0,0);break}if(!s&&"millisecond"!=e&&(t.setUTCMinutes(t.getUTCMinutes()+u),"day"==e||"week"==e||"month"==e||"year"==e)){var S=t.getTimezoneOffset();if(S!=u){var C=S-u;t.setUTCMinutes(t.getUTCMinutes()+C)}}return t}function d(t,e){var i=new Date(t.toLocaleString("en-US",{timeZone:e}));return i}function f(t){var e=new Date;e.setHours(0,0,0,0);var i=d(e,t);return i.getMinutes()}},52248:function(t,e,i){i.d(e,{DW:function(){return u},HD:function(){return g},He:function(){return h},J_:function(){return f},Kn:function(){return m},NA:function(){return c},PN:function(){return o},QS:function(){return d},Uh:function(){return p},hj:function(){return y},i2:function(){return r},kJ:function(){return v},lr:function(){return l},sw:function(){return a}});var n=i(10431);function r(t){return Number(t)!==t}function s(t){return{}.toString.call(t)}function o(t){if("string"===typeof t)return t;if("number"===typeof t)return""+t;throw new Error("Expected a string or number but got "+s(t))}function a(t){return!!t}function h(t){if(p(t)&&!y(t)){var e=Number(t);return r(e)&&g(t)&&""!=t?h(t.replace(/[^0-9.\-]+/g,"")):e}return t}function l(t){if(p(t)&&!g(t)){if(y(t))return o(t);if(m(t))return t.toString()}return t}function u(t){return!p(t)||y(t)||(0,n.hU)(t)?t:g(t)&&-1!=t.indexOf("%")?(0,n.aQ)(h(t)):h(t)}function p(t){return null!=t}function c(t){if(p(t))return t;throw new Error("Value doesn't exist")}function d(t,e){return p(t)?t:e}function f(t){return"[object Date]"===s(t)}function g(t){return"string"===typeof t}function y(t){return"number"===typeof t&&Number(t)==t}function m(t){return"object"===typeof t&&null!=t}function v(t){return Array.isArray(t)}}
1,81245:function(t,e,i){i.d(e,{A5:function(){return u},BS:function(){return p},Cb:function(){return tt},D$:function(){return F},Di:function(){return q},IX:function(){return L},Iy:function(){return m},JG:function(){return g},Jo:function(){return A},Kd:function(){return V},LS:function(){return U},Lw:function(){return d},N3:function(){return et},NE:function(){return j},Ou:function(){return X},PY:function(){return B},Pz:function(){return x},Qk:function(){return R},Ql:function(){return Z},UE:function(){return y},UK:function(){return P},Uv:function(){return I},VN:function(){return f},Ze:function(){return N},bf:function(){return Q},fy:function(){return S},iP:function(){return G},j3:function(){return k},kC:function(){return _},m1:function(){return z},mX:function(){return b},n1:function(){return v},nA:function(){return O},oL:function(){return C},oN:function(){return M},pQ:function(){return w},pm:function(){return K},pv:function(){return ot},un:function(){return H},w1:function(){return at},wv:function(){return W},y6:function(){return D},yr:function(){return E},zl:function(){return Y},zy:function(){return J},zz:function(){return $}});i(70560),i(10431);var n=i(23017),r=i(28502),s=i(52248),o=i(59866),a=i(94339),h=i(52639),l=i(91564);function u(t){}function p(t,e){return h.S6(t,(function(t,i){s.Uh(i)&&(e[t]=i)})),e}function c(t){return/^[^#]*/.exec(t)[0]}function d(){var t="#";if((0,n.G)()){var e=document.baseURI;if(e){e=c(e);var i=c(location.href);e!==i&&(t=i+t)}}return t}function f(t,e){return h.S6(t,(function(t,i){s.Uh(i)&&!s.Uh(e[t])&&(e[t]=i)})),e}function g(t,e){return h.S6(t,(function(t,i){e[t]=i})),e}function y(t){return s.Uh(t)&&""!==t.toString()}function m(t,e){return s.hj(t)?t:null!=t&&s.hj(t.value)&&s.hj(e)?e*t.value:0}function v(t,e,i){var n;return s.hj(t)?(n=t,n<0&&(n=i?e+n:e-n)):null!=t&&s.hj(t.value)&&(n=e*t.value),n}function b(){var t=window.devicePixelRatio||1;return t}function _(t){var e=t.split("");return e[0]=e[0].toUpperCase(),e.join("")}function x(t){return JSON.stringify(t)}function P(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function w(t,e,i,n,r){if(t.length<=e)return[t];var s=[];if(i){for(var o=-1,h=t.replace(/([,;:!?\\\/]+|[\s])/g,a.l7+"$1"+a.l7),l=h.split(a.l7),u=1;u<l.length;u++){var p=l[u];"."!=p&&","!=p||!l[u-1].match(/[\w]+$/)||(l[u-1]+=p,l[u]="")}for(u=0;u<l.length;u++){p=l[u];var c=p.length;if(0!==c){if(c>e&&(!0!==i||0!=r)){n&&(p=T(p));var d=p.match(new RegExp(".{1,"+e+"}","g"));if(d){if(n)for(var f=0;f<d.length;f++)d[f]=T(d[f]);s=s.concat(d)}}else-1===o&&(s.push(""),o=0),s[o].length+c+1>e&&""!==s[o]&&(s.push(""),o++),s[o]+=p;o=s.length-1}}}else{d=t.match(new RegExp(".{1,"+e+"}","g"));if(d){if(n)for(f=0;f<d.length;f++)n||(d[f]=T(d[f]));s=d}}return 1==s.length&&i&&r&&s[0].length>e&&(s=[]),s}function O(t,e,i,n,r){if(t.length<=e)return t;e-=i.length,e<1&&(e=1);var s=w(t,e,n,r);return(s[0]||"")+i}function S(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function C(t){return t.replace(/[\s\uFEFF\xA0]+$/g,"")}function k(t){return t.replace(/^[\s\uFEFF\xA0]+/g,"")}function T(t){return t.split("").reverse().join("")}function j(t,e,i){return void 0===e&&(e=0),void 0===i&&(i="0"),"string"!==typeof t&&(t=t.toString()),e>t.length?Array(e-t.length+1).join(i)+t:t}function D(t){if("undefined"===typeof t)return a.jd;t=t.toLowerCase().replace(/^\[[^\]]*\]/,""),t=t.replace(/\[[^\]]+\]/,""),t=t.trim();var e=t.match(/\/(date|number|duration)$/);return e?e[1]:t===a.Wu?a.Wu:t===a.Hu?a.Hu:t===a.th?a.th:t.match(/[#0]/)?a.Wu:t.match(/[ymwdhnsqaxkzgtei]/)?a.Hu:a.jd}function I(t){return t.replace(/\/(date|number|duration)$/i,"")}function M(t){return t?t.replace(/<[^>]*>/g,""):t}function V(t){return t?M((""+t).replace(/[\n\r]+/g,". ")):t}function F(t){if(s.i2(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=s.NA(/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+t)),r=n[1],a=n[2]||"";if(null==n[3])i=""===a?r:r+"."+a;else{var h=+n[3];if(t<1){var l=h-1;i="0."+o.rx("0",l)+r+a}else{l=h-a.length;i=0===l?r+a:l<0?r+a.slice(0,l)+"."+a.slice(l):r+a+o.rx("0",l)}}return e?"-"+i:i}function E(t){if(s.J_(t)){var e=new Date(t);return e.setMilliseconds(t.getMilliseconds()),e}if(s.hj(t))return new Date(t);var i=Number(t);return s.hj(i)?new Date(i):new Date(t)}function L(t){if(s.J_(t))return t.getTime();if(s.hj(t))return t;if(s.HD(t)){var e=Number(t);return s.hj(e)?e:void 0}}function A(t,e){void 0===e&&(e=!1);var i=new Date(t.getFullYear(),0,0),n=t.getTime()-i.getTime()+60*(i.getTimezoneOffset()-t.getTimezoneOffset())*1e3,r=864e5;return Math.floor(n/r)}function R(t,e){void 0===e&&(e=!1);var i=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())),n=i.getUTCDay()||7;i.setUTCDate(i.getUTCDate()+4-n);var r=new Date(Date.UTC(i.getUTCFullYear(),0,1));return Math.ceil(((i.getTime()-r.getTime())/864e5+1)/7)}function B(t,e){void 0===e&&(e=!1);var i=R(new Date(t.getFullYear(),t.getMonth(),1),e),n=R(t,e);return 1==n&&(n=53),n-i+1}
1function H(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);var s=7*t+i-((r.getDay()||7)+3);return s}function U(t,e){return t>12?t-=12:0===t&&(t=12),s.Uh(e)?t+(e-1):t}function N(t,e,i,n){if(void 0===e&&(e=!1),void 0===i&&(i=!1),void 0===n&&(n=!1),n)return e?"Coordinated Universal Time":"UTC";var r=t.toLocaleString("UTC"),s=t.toLocaleString("UTC",{timeZoneName:e?"long":"short"}).substr(r.length);return!1===i&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),s}function W(t,e,i){return t>i?i:t<e?e:t}function z(t,e,i){var n=i-e;return(t>i||t<e)&&(t=e+(t-n*Math.floor(t/n))),t}function G(t,e){var i=t.x,n=t.y,o=[];if(e){while(s.Uh(e.parent))o.push(e),e=e.parent;o.reverse();for(var a=0;a<o.length;a++){var h=o[a],l=h.rotation,u=i-h.pixelX-h.ex,p=n-h.pixelY-h.ey;h.dx&&(i-=h.dx),h.dy&&(n-=h.dy);var c=h.scale;h.group&&(c=h.group.scale),i=(r.mC(-l)*u-r.O$(-l)*p)/c-h.pixelPaddingLeft,n=(r.mC(-l)*p+r.O$(-l)*u)/c-h.pixelPaddingTop}}return{x:i,y:n}}function Z(t,e){var i=t.x,n=t.y;if(e)while(s.Uh(e.parent)){var o=e.rotation;i+=e.pixelPaddingLeft+e.ex,n+=e.pixelPaddingTop+e.ey;var a=e.scale;e.group&&(a=e.group.scale);var h=e.pixelX+(i*r.mC(o)-n*r.O$(o))*a,l=e.pixelY+(i*r.O$(o)+n*r.mC(o))*a;e.dx&&(h+=e.dx),e.dy&&(l+=e.dy),i=h,n=l,e=e.parent}return{x:i,y:n}}function X(t,e,i){return G(Z(t,e),i)}function K(t,e){var i=Z(t,e),n=Z({x:t.x+t.width,y:t.y+t.height},e);return{x:i.x,y:i.y,width:n.x-i.x,height:n.y-i.y}}function Y(t,e,i){try{var n=e.getBoundingClientRect();return s.hj(i)||(i=1),{x:(t.x-n.left)/i,y:(t.y-n.top)/i}}catch(r){return t}}function $(t,e){try{var i=e.getBoundingClientRect();return{x:t.x+i.left,y:t.y+i.top}}catch(n){return t}}function q(t,e){if(e&&e.htmlContainer){var i=Y(t,s.NA(e.htmlContainer),e.svgContainer.cssScale);return G(i,e)}return t}function J(t,e){if(e&&e.htmlContainer){var i=Z(t,e);return $(i,s.NA(e.htmlContainer))}return t}function Q(t){var e=getComputedStyle(t),i=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight),n=parseFloat(e.borderLeftWidth)+parseFloat(e.borderRightWidth);return t.clientWidth-i-n}function tt(t){var e=getComputedStyle(t),i=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),n=parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth);return t.clientHeight-i-n}function et(t){var e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}var it=/^([a-zA-Z][a-zA-Z0-9\+\.\-]*:)?(?:(\/\/)([^\@]+\@)?([^\/\?\#\:]*)(\:[0-9]+)?)?([^\?\#]*)(\?[^\#]*)?(\#.*)?$/;function nt(t){var e=it.exec(t);return{protocol:e&&e[1]||"",separator:e&&e[2]||"",authority:e&&e[3]||"",domain:e&&e[4]||"",port:e&&e[5]||"",path:e&&e[6]||"",query:e&&e[7]||"",hash:e&&e[8]||""}}function rt(t){return t.protocol+t.separator+t.authority+t.domain+t.port+t.path+t.query+t.hash}function st(t){return""===t.protocol&&""===t.separator&&""===t.authority&&""===t.domain&&""===t.port}function ot(t,e){var i=nt(t),n=nt(e);if(st(i))throw new Error("Left URL is not absolute");if(st(n)){if(""!==n.path)if("/"===n.path[0])i.path=n.path;else{var r=i.path.split(/\//),s=n.path.split(/\//);if(0===r.length?0!==s.length&&r.push(""):r.length>1&&r.pop(),l.wd(r,s),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,rt(i)}return rt(n)}function at(){return!!window.MSInputMethodContext&&!!document.documentMode}},42879:function(t,e,i){i.d(e,{c:function(){return o}});var n=i(60199),r=i(56399),s=i(69580),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._validateDisposer=null,e}return(0,n.ZT)(e,t),e.prototype.invalidate=function(){null===this._validateDisposer&&(this._validateDisposer=s.i.events.on("exitframe",this.validate,this))},e.prototype.validate=function(){null!==this._validateDisposer&&(this._validateDisposer.dispose(),this._validateDisposer=null)},e.prototype.dispose=function(){null!==this._validateDisposer&&(this._validateDisposer.dispose(),this._validateDisposer=null),t.prototype.dispose.call(this)},e}(r.y)},35374:function(t,e,i){i.d(e,{Cdc:function(){return p.C},U_U:function(){return K.U},LWI:function(){return k.L},$_Y:function(){return X.$_},Ue8:function(){return ot},aQA:function(){return _.aQ},FgM:function(){return at}});var n=i(80149),r=i(56399),s=i(86484),o=i(25980),a=(i(30964),i(79285)),h=(i(9248),i(5096),i(69580)),l=i(95298),u=(i(95778),i(91341),i(90023),i(51338),i(2809),i(69785),i(96572)),p=i(75144),c=(i(85020),i(60199)),d=i(19606),f=i(52248),g=function(t){function e(){var e=t.call(this)||this;return e.className="Image",e.element=e.paper.add("image"),e.applyTheme(),e.width=50,e.height=50,e}return(0,c.ZT)(e,t),e.prototype.draw=function(){if(t.prototype.draw.call(this),this.href){var e=this.innerWidth,i=this.innerHeight;f.hj(this.widthRatio)&&(e=i*this.widthRatio,this.width=e),f.hj(this.heightRatio)&&(i=e*this.heightRatio,this.height=i),this.element.attr({width:e,height:i}),this.element.attrNS(d.Xz,"xlink:href",this.href)}},Object.defineProperty(e.prototype,"href",{get:function(){return this.getPropertyValue("href")},set:function(t){this.setPropertyValue("href",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widthRatio",{get:function(){return this.getPropertyValue("widthRatio")},set:function(t){this.setPropertyValue("widthRatio",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"heightRatio",{get:function(){return this.getPropertyValue("heightRatio")},set:function(t){this.setPropertyValue("heightRatio",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bbox",{get:function(){return{x:0,y:0,width:this.pixelWidth,height:this.pixelHeight}},enumerable:!0,configurable:!0}),e}(a.jy);h.i.registeredClasses["Image"]=g;var y=i(64531),m=(i(19035),i(29532),i(18485),i(66494),i(93566),i(79223),i(89023),i(44065),i(15158)),v=(i(70560),i(20646)),b=i(15950),_=i(10431),x=function(t){function e(){var e=t.call(this)||this;e.className="Preloader",e.width=(0,_.aQ)(100),e.height=(0,_.aQ)(100);var i=new v.h,n=e.createChild(o.W);n.shouldClone=!1;var r=n.createChild(b.p);r.shouldClone=!1,r.radius=53,r.arc=360,r.fill=i.getFor("fill"),r.fillOpacity=.8,r.innerRadius=42,r.isMeasured=!1,e.backgroundSlice=r;var s=n.createChild(b.p);s.shouldClone=!1,s.radius=50,s.innerRadius=45,s.fill=i.getFor("alternativeBackgroun
1d"),s.fillOpacity=.2,s.isMeasured=!1,e.progressSlice=s;var a=n.createChild(y._);a.shouldClone=!1,a.horizontalCenter="middle",a.verticalCenter="middle",a.isMeasured=!1,a.fill=i.getFor("text"),a.align="center",a.valign="middle",a.textAlign="middle",a.fillOpacity=.4,e.label=a,e.background.opacity=1,e.background.fill=i.getFor("background"),e.contentAlign="center",e.contentValign="middle",e.delay=300;var h=e.states.create("hidden");return h.properties.opacity=0,e.visible=!1,e.hide(0),e.__disabled=!0,e._disposers.push(e.backgroundSlice),e._disposers.push(e.progressSlice),e._disposers.push(e.label),e._disposers.push(n),e}return(0,c.ZT)(e,t),Object.defineProperty(e.prototype,"progress",{get:function(){return this.getPropertyValue("progress")},set:function(t){var e=this;this.__disabled=!1,this.validateLayout(),this.setPropertyValue("progress",t),this.progressSlice.arc=360*t,this.label&&(this.label.text=Math.round(100*t)+"%"),t>=1?(this._started&&(this._started=void 0),h.i.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}(o.W);h.i.registeredClasses["Preloader"]=x;i(76699),i(90619);var P=i(70874),w=i(87614),O=function(t){function e(){var e=t.call(this)||this;e.className="CloseButton",e.padding(8,8,8,8),e.showSystemTooltip=!0,e.width=30,e.height=30;var i=new v.h;e.cursorOverStyle=w.c.pointer;var n=e.background;n.cornerRadius(20,20,20,20);var r=i.getFor("background");n.fill=r,n.stroke=i.getFor("primaryButton"),n.strokeOpacity=1,n.strokeWidth=1;var s=i.getFor("primaryButtonActive"),o=n.states.getKey("hover");o.properties.strokeWidth=3,o.properties.fill=r;var h=n.states.getKey("down");h.properties.stroke=s,h.properties.fill=r;var l=new a.jy;return l.element=e.paper.add("path"),l.stroke=n.stroke,e.icon=l,e.applyTheme(),e}return(0,c.ZT)(e,t),e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.pixelWidth/3,i=this.pixelHeight/3,n=P.Ao({x:-e/2,y:-i/2});n+=P.kZ({x:e/2,y:i/2}),n+=P.Ao({x:e/2,y:-i/2}),n+=P.kZ({x:-e/2,y:i/2}),this.icon.path=n,this.invalidateLayout()},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),f.Uh(this.readerTitle)||(this.readerTitle=this.language.translate("Close"))},e}(u.z);h.i.registeredClasses["CloseButton"]=O;var S=function(t){function e(){var e=t.call(this)||this;e.className="SwitchButton",e.tooltipY=0,e.layout="horizontal",e.contentAlign="center",e.contentValign="middle",e.padding(8,16,8,16),e.setStateOnChildren=!0,e.states.create("active");var i=new v.h,n=new y._;n.fillOpacity=.3;var r=n.states.create("active");r.properties.fillOpacity=1,n.isActive=!0,e.leftLabel=n;var s=new u.z,o=new p.C;s.contentValign="none",s.padding(0,0,0,0),o.radius=10,s.icon=o,s.icon.valign="middle",s.label=void 0;var a=(0,_.aQ)(100);s.background.cornerRadius(a,a,a,a),s.width=3.5*o.radius,s.height=2.1*o.radius,s.marginLeft=8,s.marginRight=8,s.togglable=!0,o.dx=.7*-o.radius,o.fill=i.getFor("primaryButton");var h=o.states.create("hover");h.properties.fill=i.getFor("primaryButtonHover");var l=o.states.create("active");l.properties.fill=i.getFor("primaryButtonActive"),l.properties.dx=.7*o.radius,e.switchButton=s,e.events.on("toggled",(function(){e.leftLabel.isActive=!e.isActive,e.rightLabel.isActive=e.isActive}));var c=new y._;c.fillOpacity=.3;var d=c.states.create("active");return d.properties.fillOpacity=1,e.rightLabel=c,e.role="button",e.focusable=!0,c.valign="middle",n.valign="middle",s.valign="middle",e.applyTheme(),e}return(0,c.ZT)(e,t),Object.defineProperty(e.prototype,"leftLabel",{get:function(){return this._leftLabel},set:function(t){this._leftLabel&&this.removeDispose(this._leftLabel),this._leftLabel=t,t&&(t.parent=this,t.interactionsEnabled=!1,t.shouldClone=!1,this._disposers.push(this._leftLabel))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rightLabel",{get:function(){return this._rightLabel},set:function(t){this._rightLabel&&this.removeDispose(this._rightLabel),this._rightLabel=t,t&&(t.parent=this,t.interactionsEnabled=!1,t.shouldClone=!1,this._disposers.push(this._rightLabel))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"switch",{get:function(){return this._switchButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"switchButton",{get:function(){return this._switchButton},set:function(t){this._switchButton&&this.removeDispose(this._switchButton),this._switchButton=t,t&&(t.parent=this,t.shouldClone=!1,this._disposers.push(this._switchButton))},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.leftLabel&&this.left
1Label.copyFrom(e.leftLabel),e.rightLabel&&this.rightLabel.copyFrom(e.rightLabel),e.switchButton&&this.switchButton.copyFrom(e.switchButton)},e}(o.W);h.i.registeredClasses["SwitchButton"]=S;var C=i(16555),k=i(79406),T=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(0,c.ZT)(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}(k.L);h.i.registeredClasses["Slider"]=T;i(52150);var j=i(58519),D=(i(55591),i(8136)),I=(i(60966),i(60484),i(97732),i(82137),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 v.h,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 D.C;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 s=new C.c;s.width=11,s.height=11,s.horizontalCenter="middle",s.verticalCenter="middle",s.cornerRadius(0,0,0,0),s.stroke=i.getFor("primaryButtonText"),s.fill=r.stroke,e.togglable=!0;var o=e.states.create("active");return o.transitionDuration=0,o.properties.icon=s,e.defaultState.transitionDuration=0,e.applyTheme(),e}return(0,c.ZT)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),f.Uh(this.readerTitle)||(this.readerTitle=this.language.translate("Play"))},e}(u.z));h.i.registeredClasses["PlayButton"]=I;i(94212),i(15381),i(90107),i(52804),i(67133),i(86237),i(9888),i(42467),i(43419),i(81197),i(15993),i(3258),i(86755),i(87388),i(32918),i(36323);var M=i(97625),V=(i(50292),i(4650)),F=(i(67471),i(71311)),E=(i(81767),i(96741)),L=i(30927),A=function(t){function e(){var e=t.call(this)||this;return e.className="RadialGradientModifier",e.gradient=new E.X,e.applyTheme(),e}return(0,c.ZT)(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(L.u);h.i.registeredClasses["RadialGradientModifier"]=A;var R=i(94941),B=function(t){function e(){var e=t.call(this)||this;return e.properties["gap"]=0,e._line=e.paper.add("path"),e.addElement(e._line),e}return(0,c.ZT)(e,t),e.prototype.draw=function(){if(t.prototype.draw.call(this),Math.round(this.rotation/90)!=this.rotation/90&&(this.properties["shapeRendering"]="auto"),this._line){var e=this.width,i=this.height,n="";if(this.gap)for(var r=this.gap+this.strokeWidth,s=this.height/r,o=-s/2;o<1.5*s;o++)Math.round(this.rotation/90)!=this.rotation/90?(n+=P.Ao({x:-e,y:(o+.5)*r})+P.kZ({x:2*e,y:(o+.5)*r}),this.properties["rotationX"]=this.width/2,this.properties["rotationY"]=this.height/2):n+=P.Ao({x:-e,y:o*r})+P.kZ({x:2*e,y:o*r});else Math.round(this.rotation/90)!=this.rotation/90?(n=P.Ao({x:-e,y:i/2})+P.kZ({x:2*e,y:i/2}),this.properties["rotationX"]=this.width/2,this.properties["rotationY"]=this.height/2):n=P.Ao({x:0,y:0})+P.kZ({x:e,y:0});this._line.attr({d:n})}},Object.defineProperty(e.prototype,"gap",{get:function(){return this.properties["gap"]},set:function(t){this.properties["gap"]=t,this.draw()},enumerable:!0,configurable:!0}),e}(R.c);h.i.registeredClasses["LinePattern"]=B;var H=function(t){function e(){var e=t.call(this)||this;return e.properties["radius"]=2,e._circle=e.paper.add("circle"),e.addElement(e._circle),e.shapeRendering="auto",e}return(0,c.ZT)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this._circle&&this._circle.attr({r:this.radius,cx:this.width/2,cy:this.height/2})},Object.defineProperty(e.prototype,"radius",{get:function(){return this.properties["radiu
1s"]},set:function(t){this.properties["radius"]=t,this.draw()},enumerable:!0,configurable:!0}),e}(R.c);h.i.registeredClasses["CirclePattern"]=H;var U=function(t){function e(){var e=t.call(this)||this;return e.rectHeight=1,e.rectWidth=1,e._rect=e.paper.add("rect"),e.addElement(e._rect),e}return(0,c.ZT)(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.properties["rotationX"]=this.width/2,this.properties["rotationY"]=this.height/2,this._rect&&this._rect.attr({width:this.rectWidth,height:this.rectHeight,x:(this.width-this.rectWidth)/2,y:(this.height-this.rectHeight)/2})},Object.defineProperty(e.prototype,"rectWidth",{get:function(){return this.properties["rectWidth"]},set:function(t){this.properties["rectWidth"]=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rectHeight",{get:function(){return this.properties["rectHeight"]},set:function(t){this.properties["rectHeight"]=t,this.draw()},enumerable:!0,configurable:!0}),e}(R.c);h.i.registeredClasses["RectPattern"]=U;var N=i(3077),W=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(0,c.ZT)(e,t),e.prototype.applyFilter=function(){var t,e,i,n=this.intensity,r=1-n,s=this.color;s&&s.rgb?(t=s.rgb.r/255*n,e=s.rgb.g/255*n,i=s.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}(N.w);h.i.registeredClasses["ColorizeFilter"]=W;var z=i(16775),G=(i(60209),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(0,c.ZT)(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}(N.w));h.i.registeredClasses["BlurFilter"]=G;var Z=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 v.h).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(0,c.ZT)(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}(N.w),X=(i(42516),i(98306),i(80677),i(49413),i(86604),i(71015)),K=i(58042),Y=function(t){function e(){var e=t.call(this)||this;e._list=[],e._currentStep=0,e._startIndex=0,e._currentPass=0,e.baseColor=new X.Il({r:103,g:183,b:220}),e.className="PatternSet";var i=new v.h;return e.list=[e.getLinePattern(1e3,45,1,6),e.getRectPattern(10,0,4),e.getLinePattern(1e3,-45,1,6),e.getCirclePattern(11,2,!0),e.getLinePattern(6,90,1),e.getRectPattern(12,45,6,!0),e.getLinePattern(6,0,1),e.getRectPattern(7,0,4),e.getLinePattern(1e3,45,2,3,"4,2"),e.getCirclePattern(9,3,!1),e.getLinePattern(1e3,-45,2,3,"4,2"),e.getRectPattern(10,45,Math.sqrt(50)),e.getLinePattern(1e3,-45,2,1),e.getRectPattern(10,0,9),e.getLinePattern(1e3,45,2,1),e.getLinePattern(1e3,0,3,1),e.getRectPattern(10,45,10),e.getLinePattern(1e3,90,3,1)],e.baseColor=i.getFor("stroke"),e.applyTheme(),e}
1return(0,c.ZT)(e,t),e.prototype.getLinePattern=function(t,e,i,n,r){var s=new B;return s.width=t,s.height=t,s.stroke=this.baseColor,s.gap=n,s.strokeDasharray=r,s.strokeWidth=i,s.rotation=e,s},e.prototype.getRectPattern=function(t,e,i,n){var r=new U;return r.width=t,r.height=t,r.rectWidth=i,r.rectHeight=i,n?(r.stroke=this.baseColor,r.strokeWidth=1,r.fillOpacity=0):(r.fill=this.baseColor,r.strokeWidth=0),0!=e&&(r.shapeRendering="auto"),r.rotation=e,r},e.prototype.getCirclePattern=function(t,e,i){var n=new H;return n.width=t,n.height=t,n.shapeRendering="auto",n.radius=e,i?(n.stroke=this.baseColor,n.strokeWidth=1,n.fillOpacity=0):(n.fill=this.baseColor,n.strokeWidth=0),n},Object.defineProperty(e.prototype,"list",{get:function(){return this._list},set:function(t){this._list=t,this.reset()},enumerable:!0,configurable:!0}),e.prototype.next=function(){var t=this.getIndex(this.currentStep);return this._currentStep++,t},e.prototype.getIndex=function(t){var e;while(this.list.length<=t)this.generatePatterns();return e=this.list[t],e.clone()},e.prototype.generatePatterns=function(){var t=this.list.length/(this._currentPass+1);this._currentPass++;for(var e=0;e<t;e++)this.list.push(this.list[e].clone())},e.prototype.reset=function(){this._currentStep=this._startIndex},Object.defineProperty(e.prototype,"currentStep",{get:function(){return this._currentStep},set:function(t){this._currentStep=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startIndex",{get:function(){return this._startIndex},set:function(t){this._startIndex=t,this.reset()},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){t.prototype.processConfig.call(this,e)},e}(r.L);h.i.registeredClasses["PatternSet"]=Y;i(64142);var $=i(73818),q=(i(65250),i(78398),i(2513),i(51763),i(4781),i(22959),function(){function t(){this._disposed=!1,this._disposers=[]}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;this._disposers=null;while(0!==t.length){var e=t.shift();e.dispose()}}}}(),i(58403),i(96579),i(42879),i(36387),i(29520),i(28502),i(91564)),J=(i(52639),i(71915),i(81245)),Q=(i(17578),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=220*i,e.height=70*i,e.background.opacity=0;var n=(0,X.$_)("#474758");"#ffffff"==(new v.h).getFor("background").alternative.hex&&(n=(0,X.$_)("#ffffff"));var r=new F.o;
1r.addColor(n),r.addColor(n,1,.75),r.addColor((0,X.$_)("#3cabff"),1,.755),r.rotation=-10;var s=r,o=e.createChild(m.o);o.shouldClone=!1,o.isMeasured=!1,o.segments=[[{x:50*i,y:50*i},{x:90*i,y:50*i},{x:120*i,y:20*i},{x:135*i,y:35*i},{x:150*i,y:20*i},{x:180*i,y:50*i},{x:200*i,y:50*i}]],o.strokeWidth=6*i,o.tensionX=.8,o.tensionY=1,o.stroke=(0,X.$_)("#3cabff");var a=e.createChild(m.o);a.shouldClone=!1,a.isMeasured=!1,a.segments=[[{x:20*i,y:50*i},{x:50*i,y:50*i},{x:90*i,y:12*i},{x:133*i,y:50*i},{x:170*i,y:50*i},{x:200*i,y:50*i}]],a.strokeWidth=6*i,a.tensionX=.75,a.tensionY=1,a.stroke=s,e._disposers.push(a);var h=new z.q;e.filters.push(h);var l=new z.q;l.saturation=1;var u=e.states.create("hover");return u.properties.opacity=1,u.filters.push(l),e.applyTheme(),e}return(0,c.ZT)(e,t),e}(o.W)),tt=i(69594);function et(t,e){var i=d.sb(t),r=!1;if(i||(i=document.createElement("div"),i.style.width="200px",i.style.height="200px",i.style.top="0",i.style.left="0",i.style.visibility="hidden",i.style.position="absolute",document.body.appendChild(i),r=!0),i){i.innerHTML="";var s=new V.g(i),a=new M.X(s.SVGContainer,"svg-"+(V.k.length-1)),u=new o.W;u.htmlContainer=i,u.svgContainer=s,u.width=(0,_.aQ)(100),u.height=(0,_.aQ)(100),u.background.fillOpacity=0,u.paper=a,a.append(u.group),r&&d.Cd((function(){u.moveHtmlContainer(t)})),u.relativeWidth=1,u.relativeHeight=1,s.container=u;var p=u.createChild(e);p.topParent=u;var c=p.uid;h.i.invalidSprites[c]=[],h.i.invalidDatas[c]=[],h.i.invalidPositions[c]=[],h.i.invalidLayouts[c]=[],u.baseId=c,p.isBaseSprite=!0,p.focusFilter=new Z,h.i.baseSprites.push(p),h.i.baseSpritesByUid[c]=p,p.maskRectangle={x:0,y:0,width:Math.max(s.width||0,0),height:Math.max(s.height||0,0)},u.events.on("maxsizechanged",(function(t){0!=t.previousWidth&&0!=t.previousHeight||u.deepInvalidate(),p.maskRectangle&&(p.maskRectangle={x:0,y:0,width:Math.max(s.width||0,0),height:Math.max(s.height||0,0)})}));var g=null,y=function(){p.isDisposed()?g=null:null==d.yj(p.dom)?(l.Y.autoDispose?(u.htmlContainer=void 0,s.htmlElement=void 0,p.dispose()):tt.Z("Chart was not disposed",p.uid),g=null):g=window.setTimeout(y,1e3)};y(),p.addDisposer(new $.ku((function(){null!==g&&clearTimeout(g),q.Od(h.i.baseSprites,p),h.i.baseSpritesByUid[p.uid]=void 0}))),p.addDisposer(u);var m=u.createChild(o.W);m.topParent=u,m.width=(0,_.aQ)(100),m.height=(0,_.aQ)(100),m.isMeasured=!1,u.tooltipContainer=m,p.tooltip=new j.u,p.tooltip.hide(0),p.tooltip.setBounds({x:0,y:0,width:m.maxWidth,height:m.maxHeight}),m.events.on("maxsizechanged",(function(){f.NA(p.tooltip).setBounds({x:0,y:0,width:m.maxWidth,height:m.maxHeight})}),void 0,!1);var v=new x;if(v.events.on("inited",(function(){v.__disabled=!0}),void 0,!1),u.preloader=v,p instanceof o.W&&!p.hasLicense()){var b=m.createChild(Q);m.events.on("maxsizechanged",(function(t){m.maxWidth<=100||m.maxHeight<=50?b.hide():(b.isHidden||b.isHiding)&&b.show()}),void 0,!1),p.logo=b,b.align="left",b.valign="bottom"}if(J.A5(p.numberFormatter),u.isStandaloneInstance=!0,l.Y.onlyShowOnViewport)if(d.PZ(i,l.Y.viewportTarget))l.Y.queue&&it(p);else{p.__disabled=!0,p.tooltipContainer.__disabled=!0;var P=[d.Oo(window,"DOMContentLoaded",(function(){rt(p)})),d.Oo(window,"load",(function(){rt(p)})),d.Oo(window,"resize",(function(){rt(p)})),d.Oo(window,"scroll",(function(){rt(p)}))];if(l.Y.viewportTarget)for(var w=f.kJ(l.Y.viewportTarget)?l.Y.viewportTarget:l.Y.viewportTarget?[l.Y.viewportTarget]:[],O=0;O<w.length;O++){var S=w[O];P.push(d.Oo(S,"resize",(function(){rt(p)}))),P.push(d.Oo(S,"scroll",(function(){rt(p)})))}var C=new $.FV(P);p.addDisposer(C),p.vpDisposer=C}else l.Y.queue&&it(p);return p}throw n.B.log("html container not found"),new Error("html container not found")}function it(t){-1==h.i.queue.indexOf(t)&&(t.__disabled=!0,t.tooltipContainer.__disabled=!0,t.events.disableType("appeared"),0==h.i.queue.length&&(h.i.events.once("exitframe",(function(){st(t)})),n.B.requestFrame()),t.addDisposer(new $.ku((function(){nt(t)}))),h.i.queue.push(t))}function nt(t){var e=h.i.queue.indexOf(t);if(e>=0){h.i.queue.splice(h.i.queue.indexOf(t),1);var i=h.i.queue[e];i&&st(i)}}function rt(t){t.__disabled&&d.PZ(t.htmlContainer,l.Y.viewportTarget)&&(t.vpDisposer&&t.vpDisposer.dispose(),it
1(t))}function st(t){t&&t.tooltipContainer&&(t.__disabled=!1,t.tooltipContainer.__disabled=!1,t.events.enableType("appeared"),t.dispatch("removedfromqueue"),t.showOnInit&&t.events.on("appeared",(function(){nt(t)})),t.vpDisposer&&t.vpDisposer.dispose(),t instanceof o.W&&t.invalidateLabels(),t.tooltipContainer&&t.tooltipContainer.invalidateLayout(),t instanceof s.w?(t.invalidateData(),t.reinit(),t.events.once("datavalidated",(function(){t.showOnInit?t.appear():nt(t)}))):(t.reinit(),t.events.once("inited",(function(){nt(t)})),t.showOnInit&&t.appear()))}function ot(t,e){var i;f.HD(e)&&(f.Uh(h.i.registeredClasses[e])?e=h.i.registeredClasses[e]:(e=h.i.registeredClasses["Container"],i=new Error("Class ["+e+"] is not loaded.")));var n=et(t,e);return i&&n.raiseCriticalError(i),n}function at(t){-1===h.i.themes.indexOf(t)&&h.i.themes.push(t)}},64548:function(t,e,i){i.d(e,{Z:function(){return s}});var n=i(69580),r=function(t){(0,n.is)(t,"SpriteState")&&(t.transitionDuration=400),(0,n.is)(t,"Component")&&(t.rangeChangeDuration=500,t.interpolationDuration=500,t.sequencedInterpolation=!1,(0,n.is)(t,"SankeyDiagram")&&(t.sequencedInterpolation=!0),(0,n.is)(t,"FunnelSeries")&&(t.sequencedInterpolation=!0)),(0,n.is)(t,"Chart")&&(t.defaultState.transitionDuration=2e3,t.hiddenState.transitionDuration=1e3),(0,n.is)(t,"Tooltip")&&(t.animationDuration=400,t.defaultState.transitionDuration=400,t.hiddenState.transitionDuration=400),(0,n.is)(t,"Scrollbar")&&(t.animationDuration=500),(0,n.is)(t,"Series")&&(t.defaultState.transitionDuration=1e3,t.hiddenState.transitionDuration=700,t.hiddenState.properties.opacity=1,t.showOnInit=!0),(0,n.is)(t,"MapSeries")&&(t.hiddenState.properties.opacity=0),(0,n.is)(t,"PercentSeries")&&(t.hiddenState.properties.opacity=0),(0,n.is)(t,"FunnelSlice")&&(t.defaultState.transitionDuration=800,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),(0,n.is)(t,"Slice")&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),(0,n.is)(t,"Preloader")&&(t.hiddenState.transitionDuration=2e3),(0,n.is)(t,"Column")&&(t.defaultState.transitionDuration=700,t.hiddenState.transitionDuration=1e3,t.hiddenState.properties.opacity=1),(0,n.is)(t,"Column3D")&&(t.hiddenState.properties.opacity=0)},s=r},98008:function(t,e,i){t.exports=i.p+"img/curved14.ee4f00d8.jpg"},60199:function(t,e,i){i.d(e,{CR:function(){return l},Jh:function(){return a},XA:function(){return h},ZT:function(){return r},fl:function(){return u},mG:function(){return o},pi:function(){return s}});i(70560);
1var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},n(t,e)};function r(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var s=function(){return s=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},s.apply(this,arguments)};function o(t,e,i,n){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,s){function o(t){try{h(n.next(t))}catch(e){s(e)}}function a(t){try{h(n["throw"](t))}catch(e){s(e)}}function h(t){t.done?i(t.value):r(t.value).then(o,a)}h((n=n.apply(t,e||[])).next())}))}function a(t,e){var i,n,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(e){return h([t,e])}}function h(a){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(o=0)),o)try{if(i=1,n&&(r=2&a[0]?n["return"]:a[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,a[1])).done)return r;switch(n=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(r=o.trys,!(r=r.length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(h){a=[6,h],n=0}finally{i=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}Object.create;function h(t){var e="function"===typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(t,e){var i="function"===typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,r,s=i.call(t),o=[];try{while((void 0===e||e-- >0)&&!(n=s.next()).done)o.push(n.value)}catch(a){r={error:a}}finally{try{n&&!n.done&&(i=s["return"])&&i.call(s)}finally{if(r)throw r.error}}return o}function u(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}Object.create;"function"===typeof SuppressedError&&SuppressedError}}]);
2//# sourceMappingURL=199.3669e633.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.