1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6043],{33968:function(t,e,i){i.d(e,{d:function(){return x},k:function(){return _}});var n=i(19845),r=i(69260),o=i(83797),s=i(29138),a=i(87155),u=i(71121),l=i(5590),h=i(91290),c=i(39866),p=i(62e3),d=i(48864),f=i(71334),g=function(t){function e(){var e=t.call(this)||this;e.className="Grip";var i=new p.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 c.jy;n.element=e.paper.add("path");var r=f.moveTo({x:-6,y:0});return r+=f.lineTo({x:6,y:0}),r+=f.moveTo({x:-8,y:-6}),r+=f.lineTo({x:0,y:-12}),r+=f.lineTo({x:8,y:-6}),r+=f.moveTo({x:-8,y:6}),r+=f.lineTo({x:0,y:12}),r+=f.lineTo({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}(h.z);r.i.registeredClasses.Grip=g;var y=i(4324),m=i(12352),v=i(24306),b=i(45121),_=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 s.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(u.W);r.shouldClone=!1,r.layout="vertical",r.width=(0,d.aQ)(100),r.height=(0,d.aQ)(100),i.chartAndLegendContainer=r;var o=r.createChild(u.W);return o.shouldClone=!1,o.width=(0,d.aQ)(100),o.height=(0,d.aQ)(100),i.chartContainer=o,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.hasValue(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}}},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.each(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 s.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.hasValue(e.legend)&&!v.hasValue(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}(o.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,70518:function(t,e,i){i.d(e,{BZ:function(){return T},De:function(){return O},UQ:function(){return P}});var n=i(19845),r=i(83797),o=i(4324),s=i(87155),a=i(6701),u=i(71121),l=i(5590),h=i(67556),c=i(69260),p=i(406),d=i(48864),f=i(62e3),g=i(80008),y=i(24306),m=i(64112),v=i(39866),b=i(29138),_=i(3856),x=i(45121),w=i(39065),P=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.hasValue(t.component)&&t.component.labels.removeValue(e)})))}return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.setProperty("color",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueLabel",{get:function(){var t=this;if(!this._valueLabel){var e=this.component.valueLabels.create();this._valueLabel=e,this.addSprite(e),this._disposers.push(e),e.parent=this.itemContainer,this._disposers.push(new b.ku((function(){y.hasValue(t.component)&&t.component.valueLabels.removeValue(e)})))}return this._valueLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemContainer",{get:function(){var t=this;if(!this._itemContainer){var e=this.component,i=e.itemContainers.create();i.parent=e,this._itemContainer=i,this.addSprite(i),this._disposers.push(i),i.togglable&&i.events.on("toggled",(function(t){e.toggleDataItem(t.target.dataItem)}),void 0,!1),i.focusable&&(i.events.on("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.hasValue(t.component)&&t.component.itemContainers.removeValue(i)}))),this.dataContext.uidAttr&&(i.readerControls=this.dataContext.uidAttr(),i.readerLabelledBy=this.dataContext.uidAttr());var n=this.dataContext;if((n instanceof o.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.hasValue(t.component)&&t.component.markers.removeValue(e)})))}return this._marker},enumerable:!0,configurable:!0}),e}(o.z),T=function(){this.createMarker=!0},O=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 u.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 s.o(i),e._disposers.push(new s.zQ(e.itemContainers)),e._disposers.push(e.itemContainers.template),e._disposers.push((0,p.S)().body.events.on("keyup",(function(t){if(h.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 u.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 o=n.getFor("disabledBackground");r.events.on("childadded",(function(t){var e=t.newValue.states.create("active");e.properties.stroke=o,e.properties.fill=o})),e.markers=new s.o(r),e._disposers.push(new s.zQ(e.markers)),e._disposers.push(e.markers.template);var c=r.createChild(a.c);c.width=(0,d.aQ)(100),c.height=(0,d.aQ)(100),c.applyOnClones=!0,c.propertyFields.fill="fill",c.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 s.o(g),e._disposers.push(new s.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 s.o(y),e._disposers.push(new s.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.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Legend"))},e.prototype.createDataItem=function(){return new P},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.used(e.label);var r=e.valueLabel;i.readerChecked=e.dataContext.visible,e.dataContext.legendDataItem=e;var o=e.label.maxWidth;e.label.width instanceof d.gG||(e.label.width=void 0),o>0&&(e.label.maxWidth=o),"right"==r.align&&(r.width=void 0);var s=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,!s||void 0==s.itemValueText&&void 0==s.valueText||(r.__disabled=!1);var u=e.dataContext.visible;void 0===u&&(u=!0),u=y.toBoolean(u),e.dataContext.visible=u,i.events.disableType("toggled"),i.isActive=!u,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 o=0;this.markers.each((function(t){t.invalid&&t.validate(),t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight>o&&(o=t.measuredWidth+t.pixelMarginLeft+t.pixelMarginRight)}));var s,a=this.itemContainers.template,u=a.pixelMarginRight+a.pixelMarginLeft,l=n+r+o;y.isNumber(i)?((i-=u)>l&&(i=l),s=i-o-r):s=n,this.labels.each((function(t){("right"==e.valueLabels.template.align||t.measuredWidth>s)&&(t.width instanceof d.gG||(t.width=Math.min(t.maxWidth,s-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.isNumber(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(w.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.max(0,e.start-i),e.end=e.start+n):(e.end=m.min(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);c.i.registeredClasses.Legend=O,x.IH.push({relevant:x.Xf.widthXS,state:function(t,e){if(t instanceof O&&("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 O&&("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 O){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})},72283:function(t,e,i){i.d(e,{g:function(){return a}});var n=i(19845),r=i(71121),o=i(69260),s=i(45121),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);o.i.registeredClasses.Bullet=a,s.IH.push({relevant:s.Xf.isXS,state:function(t,e){if(t instanceof a){var i=t.states.create(e);return i.properties.disabled=!0,i}return null}})}
1,32244:function(t,e,i){i.d(e,{F:function(){return O},m:function(){return T}});var n=i(19845),r=i(83797),o=i(39866),s=i(87155),a=i(3485),u=i(4324),l=i(71121),h=i(19991),c=i(72283),p=i(70518),d=i(99934),f=i(86820),g=i(69260),y=i(12352),m=i(64112),v=i(70522),b=i(80008),_=i(59205),x=i(24306),w=i(36442),P=i(40078),T=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}(u.z),O=function(t){function e(){var i=t.call(this)||this;if(i._ignoreMinMax=!1,i._showBullets=!0,i.legendSettings=new p.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 s.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(o.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 h.u,i.tooltip.virtualParent=i,i._disposers.push(i.tooltip),i.hiddenState.transitionEasing=v.cubicIn,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.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Series"))},e.prototype.createDataItem=function(){return new T},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).getActualWorkingValue(t);if(x.isNumber(n))return n}return null},e.prototype.getAbsoluteFirstValue=function(t){for(var e=0;e<this.dataItems.length;e++){var i=this.dataItems.getIndex(e).values[t].value;if(x.isNumber(i))return i}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={},o={},s={},a={},u={},l={},h={},c={},p={},d=m.max(0,this.startIndex);d=m.min(d,this.dataItems.length);var f=m.min(this.endIndex,this.dataItems.length);if(x.isNumber(d)||(d=0),x.isNumber(f)||(f=this.dataItems.length),d>0){var g=i.getIndex(d-1);_.each(g.values,(function(t,e){var i=g.getActualWorkingValue(t);x.isNumber(i)&&(h[t]=i)}))}for(var y=function(t){var f=i.getIndex(t);_.each(f.values,(function(t,i){var g=f.getActualWorkingValue(t);if(x.isNumber(g)){x.isNumber(n[t])||(n[t]=0),n[t]++,x.isNumber(r[t])||(r[t]=0),r[t]+=g,x.isNumber(o[t])||(o[t]=0),o[t]+=Math.abs(g),x.isNumber(u[t])||(u[t]=g),l[t]=g,x.isNumber(s[t])?s[t]>g&&(s[t]=g):s[t]=g,x.isNumber(a[t])?a[t]<g&&(a[t]=g):a[t]=g,x.isNumber(c[t])||(c[t]=e.getFirstValue(t,d)),x.isNumber(p[t])||(p[t]=e.getAbsoluteFirstValue(t)),f.setCalculatedValue(t,g-c[t],"change"),f.setCalculatedValue(t,(g-c[t])/c[t]*100,"changePercent"),f.setCalculatedValue(t,g-p[t],"startChange"),f.setCalculatedValue(t,(g-p[t])/p[t]*100,"startChangePercent");var y=h[t];x.isNumber(y)||(y=g),f.setCalculatedValue(t,g-y,"previousChange"),f.setCalculatedValue(t,(g-y)/y*100,"previousChangePercent"),h[t]=g}}))},v=d;v<f;v++)y(v);if(this.calculatePercent){var b=function(t){var n=i.getIndex(t);_.each(n.values,(function(t){var i=o[t],r=n.getActualWorkingValue(t);if(x.isNumber(r))if(i>0){e.usePercentHack&&r==i&&(i=n.values[t].value);var s=r/i*100;n.setCalculatedValue(t,s,"percent")}else n.setCalculatedValue(t,0,"percent")}))};for(v=d;v<f;v++)b(v)}if(d>0){var w=i.getIndex(d-1);_.each(w.values,(function(t){var e=w.values[t].value;w.setCalculatedValue(t,e-u[t],"change"),w.setCalculatedValue(t,(e-u[t])/u[t]*100,"changePercent")}))}var P=this.dataItem;_.each(P.values,(function(t){P.setCalculatedValue(t,r[t],"sum"),P.setCalculatedValue(t,o[t],"absoluteSum"),P.setCalculatedValue(t,r[t]/n[t],"average"),P.setCalculatedValue(t,u[t],"open"),P.setCalculatedValue(t,l[t],"close"),P.setCalculatedValue(t,s[t],"low"),P.setCalculatedValue(t,a[t],"high"),P.setCalculatedValue(t,n[t],"count")}))}},e.prototype.validate=function(){b.isIE()&&this.filters.clear(),y.each(this.axisRanges.iterator(),(function(t){t.validate()})),t.prototype.validate.call(this);var e=this.bulletsContainer;if(e.fill=this.fill,e.stroke=this.stroke,e.x=this.pixelX,e.y=this.pixelY,this.bulletsContainer.children.length>0)if(this._showBullets){for(var i=0;i<this.startIndex;i++){(n=this.dataItems.getIndex(i))&&n.bullets.each((function(t,e){e.__disabled=!0}))}for(i=this.dataItems.length-1;i>this.endIndex;i--){var n;(n=this.dataItems.getIndex(i))&&n.bullets.each((function(t,e){e.__disabled=!0}))}}else this.bulletsContainer.children.each((function(t){t.__disabled=!0}));this.updateTooltipBounds()},e.prototype.updateTooltipBounds=function(){if(this.topParent){var t={x:0,y:0,width:this.topParent.maxWidth,height:this.topParent.maxHeight};this.tooltip.setBounds(t)}},e.prototype.shouldCreateBullet=function(t,e){return!0},e.prototype.validateDataElement=function(e){var i=this;t.prototype.validateDataElement.call(this,e),this._showBullets?(this.isHidden||(this.bulletsContainer.visible=!0),this.bullets.each((function(t){var n=e.bullets.getKey(t.uid);if(i.shouldCreateBullet(e,t)){if(!n){var r=t.propertyFields.disabled,o=e.dataContext;r&&o&&!1===o[r]?(t.applyOnClones=!1,t.disabled=!1,n=t.clone(),t.disabled=!0,t.applyOnClones=!0):n=t.clone(),n.shouldClone=!1,e.addSprite(n),i.visible&&!i.isHiding||n.hide(0)}var s=n.dataItem;if(s!=e){s&&s.bullets.setKey(t.uid,void 0);var a=i.itemReaderText;n instanceof c.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 s.o(new c.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 s.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")}
1,set:function(t){this.setPropertyValue("name",t);var e=this.legendDataItem;e&&(e.component.invalidate(),e.component.invalidateRawData()),this.readerTitle=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemReaderText",{get:function(){var t=this._itemReaderText;return t||(this.tooltipText?t=b.plainText(this.tooltipText):this.tooltipHTML&&(t=b.plainText(this.tooltipHTML))),this._adapterO?this._adapterO.apply("itemReaderText",t):t},set:function(t){this._itemReaderText=t,this._itemReaderTextChanged=!0},enumerable:!0,configurable:!0}),e.prototype.itemsFocusable=function(){return!(this.dataItems.length>=this.skipFocusThreshold)},Object.defineProperty(e.prototype,"legendDataItem",{get:function(){return this._legendDataItem},set:function(t){this._legendDataItem=t,this._legendDataItem.itemContainer.deepInvalidate()},enumerable:!0,configurable:!0}),e.prototype.updateLegendValue=function(t,e){if(this.legendDataItem){var i=this.legendSettings,n=this.legendDataItem,r=n.label,o=n.valueLabel;t&&!t.isDisposed()||e?(o&&(i.itemValueText&&(o.text=i.itemValueText),o.dataItem=t),r&&(i.itemLabelText&&(r.text=i.itemLabelText),r.dataItem=t)):(r&&((i.labelText||void 0!=i.itemLabelText)&&(r.text=i.labelText),r.dataItem=this.dataItem),o&&((i.valueText||void 0!=i.itemValueText)&&(o.text=i.valueText),o.dataItem=this.dataItem))}},e.prototype.copyFrom=function(e){this.bullets.copyFrom(e.bullets),this.bulletsContainer.copyFrom(e.bulletsContainer),this.calculatePercent=e.calculatePercent,this.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.each(this.filters.iterator(),(function(t){e.bulletsContainer.filters.push(t.clone())}))},Object.defineProperty(e.prototype,"heatRules",{get:function(){var t=this;return this._heatRules||(this._heatRules=new s.aV,this._heatRules.events.on("inserted",(function(e){var i=e.newValue,n=i.target;if(n){var r=i.dataField;x.hasValue(r)||(r="value");var s=t.dataItem,a=i.property,u=x.toNumber(i.minValue),h=x.toNumber(i.maxValue);x.isNumber(u)||x.isNumber(h)||t.dataItem.events.on("calculatedvaluechanged",(function(e){e.property==r&&y.each(t.dataItems.iterator(),(function(t){var e=!1;w.each(t.sprites,(function(t){if(t.clonedFrom==n){var i=t;i[a]=i[a],e=!0}})),e||w.each(t.sprites,(function(t){t instanceof l.W&&y.each(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;w.each(e.sprites,(function(t){if(t.clonedFrom==n){var e=t;e[a]=e[a],i=!0}})),i||w.each(e.sprites,(function(t){t instanceof l.W&&y.each(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.toNumber(i.minValue),u=x.toNumber(i.maxValue),l=i.min,h=i.max;if(e instanceof o.jy){var c=e.propertyFields[n];if(c&&e.dataItem){var p=e.dataItem.dataContext;if(p&&x.hasValue(p[c]))return t}}var d=e.dataItem;if((x.isNumber(a)||(a=s.values[r].low),x.isNumber(u)||(u=s.values[r].high),d)&&d.values[r]){var g=d.getActualWorkingValue(r);if(x.hasValue(l)&&x.hasValue(h)&&x.isNumber(a)&&x.isNumber(u)&&x.isNumber(g)){var y=void 0;if(y=i.logarithmic?(Math.log(g)*Math.LOG10E-Math.log(a)*Math.LOG10E)/(Math.log(u)*Math.LOG10E-Math.log(a)*Math.LOG10E):(g-a)/(u-a),!x.isNumber(g)||x.isNumber(y)&&Math.abs(y)!=1/0||(y=.5),x.isNumber(l))return l+(h-l)*y;if(l instanceof f.Il)return new f.Il(P.interpolate(l.rgb,h.rgb,y))}}return t}))}}))),this._heatRules},enumerable:!0,configurable:!0}),e.prototype.processConfig=function(e){var i;if(e){if(x.hasValue(e.bullets)&&x.isArray(e.bullets))for(var n=0,r=e.bullets.length;n<r;n++){var o=e.bullets[n];x.hasValue(o.type)||(o.type="Bullet")}x.hasValue(e.heatRules)&&x.isArray(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],u=this;if(x.hasValue(a.target)&&x.isString(a.target))if(this.map.hasKey(a.target))u=this.map.getKey(a.target);else for(var l=a.target.split("."),h=0;h<l.length;h++)if(u instanceof s.aV){var c=u.getIndex(x.toNumber(l[h]));u=c||u[l[h]]}else{var p=l[h].match(/^(.*)\[([0-9]+)\]/);u=p?u[p[1]]instanceof s.aV?u[p[1]].getIndex(x.toNumber(p[2])):u[p[1]][x.toNumber(p[2])]:u[l[h]]}a.target=u,x.hasValue(a.min)&&(a.min=this.maybeColorOrPercent(a.min)),x.hasValue(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=O,g.i.registeredClasses.SeriesDataItem=T}
1,61362:function(t,e,i){i.d(e,{c:function(){return g},j:function(){return y}});var n=i(19845),r=i(33968),o=i(87155),s=i(71121),a=i(32244),u=i(48864),l=i(8754),h=i(69260),c=i(12352),p=i(24306),d=i(36442),f=i(29138),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(s.W);i.shouldClone=!1,i.width=(0,u.aQ)(100),i.height=(0,u.aQ)(100),i.isMeasured=!1,i.layout="none",i.zIndex=2,e.seriesContainer=i;var n=e.chartContainer.createChild(s.W);return n.shouldClone=!1,n.width=(0,u.aQ)(100),n.height=(0,u.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),p.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Serial chart"))},Object.defineProperty(e.prototype,"series",{get:function(){return this._series||(this._series=new o.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 o.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 o=n.getIndex(r);o&&o.dataContext==e&&i.dataItems.remove(o)}for(r=i.data.length-1;r>=0;r--){var s=i.data[r];s&&s==e&&d.remove(i.data,s)}}},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]=h.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=[];c.each(this.series.iterator(),(function(t){t.hiddenInLegend||e.push(t)})),t.dataFields.name="name",t.data=e}},e.prototype.createSeries=function(){return new 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()}))},e}(r.d);h.i.registeredClasses.SerialChart=y},73870:function(t,e,i){i.d(e,{L:function(){return m},y:function(){return v}});var n=i(19845),r=i(87155),o=i(25542),s=i(3485),a=i(29138),u=i(9209),l=i(61765),h=i(86820),c=i(48864),p=i(69260),d=i(46947),f=i(36442),g=i(59205),y=i(24306),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=p.i.getUniqueId(),p.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 s.Xy),this._map},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"delayedMap",{get:function(){return this._delayedMap||(this._delayedMap=new s.Xy),this._delayedMap},enumerable:!0,configurable:!0}),t.prototype.addDelayedMap=function(t,e){var i=this.delayedMap;i.hasKey(e)||i.setKey(e,[]),i.getKey(e).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.each(i,(function(t){t.target[t.property]=n})),t.delayedMap.removeKey(e)}}))},t.prototype.applyTheme=function(){var t=this;if(p.i){var e=this.getCurrentThemes();e&&f.each(e,(function(e,i){e(t)}))}},Object.defineProperty(t.prototype,"themes",{get:function(){return this._themes},set:function(t){this._themes=t},enumerable:!0,configurable:!0}),t.prototype.getCurrentThemes=function(){return this.themes||p.i.themes},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._disposers;for(this._disposers=null;0!==t.length;){t.shift().dispose()}this.clearCache(),this.clonedFrom&&this.clonedFrom.clones.removeValue(this);var e=this._uid;null!=e&&p.i.map.removeKey(e)}},t.prototype.addDisposer=function(t){this._disposers.push(t)},t.prototype.removeDispose=function(t){if(!this._disposed){var e=f.indexOf(this._disposers,t);e>-1&&this._disposers.splice(e,1)}t.dispose()},t.prototype.clone=function(t){t||(t="clone-"+p.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}
1),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.eachOrdered(e,(function(e,a){var d,f=a;if("callback"==e&&"function"==typeof a&&a.call(n),i.hasProperty(e))if(!y.isObject(f)||!y.hasValue(f.type)||y.isObject(n[e])&&y.hasValue(n[e].className)&&!f.forceCreate&&n[e].className==f.type||i.asIs(e)?d=n[e]:(d=i.createClassInstance(f.type))?n[e]=d:d=n[e],d instanceof l.L1)i.processAdapters(d,f);else if(d instanceof u.p)i.processEvents(d,f);else if("locale"==e&&y.isString(f))window["am4lang_"+f]&&(n[e]=window["am4lang_"+f]);else if("parent"==e&&y.isString(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.isString(f)){if(!y.hasValue(p.i.registeredClasses[f]))throw Error("Invalid easing function: "+f);n[e]=p.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 o.IK||d instanceof o.Rj){if(y.isArray(f))d instanceof r.o?i.processListTemplate(f,d):i.processOrderedTemplate(f,d);else if(y.isObject(f))if(f instanceof t)d.template=f;else{var v=void 0;v=y.hasValue(f.template)?f.template:f,d.template instanceof t?d.template.config=v:g.each(v,(function(e,n){var o=d.template[e];o instanceof l.L1?i.processAdapters(o,n):o instanceof u.p?i.processEvents(o,n):o instanceof s.NE?i.processDictionaryTemplate(o,n):d.template[e]instanceof t?d.template[e].config=n:y.isObject(n)&&y.hasValue(n.type)?(o=i.createClassInstance(n.type))?(o instanceof t&&(o.config=n),d.template[e]=o):d.template[e]=n:o instanceof r.aV?i.processList(n,o):d.template[e]=i.maybeColorOrPercent(n)})),y.hasValue(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 s.NE?i.processDictionaryTemplate(d,f):d instanceof s.Xy?i.processDictionary(d,f):d instanceof h.Il||d instanceof c.gG?n[e]=i.maybeColorOrPercent(f):y.isObject(d)&&y.isObject(f)?g.copyAllProperties(f,d):(f=i.maybeColorOrPercent(f),n[e]=f);else i.isReserved(e)||(n[e]=f)}),this.configOrder),this.processingErrors.length){var a=this.processingErrors.join("\n");throw this._processingErrors=[],Error(a)}}},t.prototype.maybeColorOrPercent=function(t){if(y.isString(t)){if(t.match(/^[\-]?[0-9.]+\%$/))return(0,c.aQ)(y.toNumber(t));if(t.match(/^\#[0-9abcdef]{3,}$/i))return(0,h.$_)(t)}return t},t.prototype.processAdapters=function(t,e){var i=this;y.isArray(e)?f.each(e,(function(e,n){t.add(e.key,e.callback,e.priority||0,i)})):y.isObject(e)&&g.each(e,(function(e,i){t.has(e,i)||t.add(e,i)}))},t.prototype.processEvents=function(t,e){var i=this;y.isArray(e)?f.each(e,(function(e,n){t.on(e.type,e.callback,i)})):y.isObject(e)&&g.each(e,(function(e,i){t.has(e,i)||t.on(e,i)}))},t.prototype.processDictionaryTemplate=function(e,i){y.isObject(i)&&g.each(i,(function(i,n){var r;(r="template"==i?e.template:e.hasKey(i)?e.getKey(i):e.create(i))instanceof t?r.config=n:y.isObject(r)&&y.isObject(n)?g.copyAllProperties(n,r):r.setKey(i,n)}))},t.prototype.processDictionary=function(t,e){y.isObject(e)&&g.each(e,(function(e,i){t.setKey(e,i)}))},t.prototype.processListTemplate=function(e,i){var n=this;for(f.each(e,(function(e,r){var o,s=n.getConfigEntryType(e);if(i.hasIndex(r)&&!e.forceCreate)o=i.getIndex(r);else{if(e instanceof t)return void i.push(e);o=s?i.create(s):i.create()}e===o||y.isObject(e)&&(o instanceof t?o.config=e:y.isObject(o)&&y.isObject(e)?g.copyAllProperties(e,o):i.setIndex(i.indexOf(o),e))}));e.length>i.length;)i.pop()},t.prototype.processOrderedTemplate=function(e,i){var n=this;f.each(e,(function(e,r){var o,s=n.getConfigEntryType(e);o=s?i.create(s):i.create(),y.isObject(e)&&(o instanceof t?o.config=e:y.isObject(o)&&y.isObject(e)?g.copyAllProperties(e,o):i.insert(e))}))},t.prototype.processList=function(e,i,n){var r=this;y.isArray(e)||(e=[e]);var o=i.length,s=0;for(f.each(e,(function(e,a){if(y.isObject(e)){var u=void 0;if(a<o&&!e.forceCreate)u=i.getIndex(a);else{if(e instanceof t)return void i.push(e);s++,u=r.createEntryInstance(e),n?u.parent=n:i.push(u)}u instanceof t?u.config=e:y.isObject(u)&&y.isObject(e)&&g.copyAllProperties(e,u)}else i.hasIndex(a)?i.setIndex(a,e):i.push(e)}));!n&&e.length+s<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.indexOf(["locale"],t)},t.prototype.asFunction=function(t){return!1},t.prototype.createClassInstance=function(t){if(y.hasValue(p.i.registeredClasses[t]))return new p.i.registeredClasses[t];throw Error('Invalid type: "'+t+'".')},t.prototype.createEntryInstance=function(t){var e;return y.hasValue(t.type)&&(e=this.createClassInstance(t.type)),e||t},t.prototype.getConfigEntryType=function(t){if(y.hasValue(t.type)){if(y.hasValue(p.i.registeredClasses[t.type]))return p.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 u.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)}
1,83797:function(t,e,i){i.d(e,{w:function(){return x}});var n=i(19845),r=i(71121),o=i(87155),s=i(25542),a=i(3485),u=i(29138),l=i(21459),h=i(45121),c=i(78816),p=i(4324),d=i(69260),f=i(64112),g=i(36442),y=i(70522),m=i(80008),v=i(12352),b=i(59205),_=i(24306),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.cubicOut,e.parsingStepDuration=50,e.dataInvalid=!1,e.rawDataInvalid=!1,e.dataRangeInvalid=!1,e.dataItemsInvalid=!1,e.interpolationDuration=0,e.interpolationEasing=y.cubicOut,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 s.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 o.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 u.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 p.z},e.prototype.handleDataUserAdded=function(t){t.newValue.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.each(this.dataFields,(function(r,a){var u=r,l=e[a];if(i._adapterO&&i._adapterO.isEnabled("dataContextValue")&&(l=i._adapterO.apply("dataContextValue",{field:u,value:l,dataItem:t}).value),_.hasValue(l))if(n=!0,t.hasChildren[u]){var h=i.createDataItem();h.copyFrom(i.mainDataSet.template);var c=new s.IK(h);c.events.on("inserted",i.handleDataItemAdded,i,!1),c.events.on("removed",i.handleDataItemRemoved,i,!1),i._dataDisposers.push(new o.zQ(c));for(var p=l.length,d=0;d<p;d++){var f=l[d],g=c.create();g.parent=t,i.processDataItem(g,f)}t[u]=c}else t[u]=l})),b.each(this.propertyFields,(function(i,r){var o=i,s=e[r];_.hasValue(s)&&(n=!0,t.setProperty(o,s))})),this._addAllDataItems||n||this.mainDataSet.remove(t)}},e.prototype.updateDataItem=function(t){var e=this;if(t){var i=t.dataContext;b.each(this.dataFields,(function(n,r){var o=n,s=i[r];(e._adapterO&&(s=e._adapterO.apply("dataContextValue",{field:o,value:s,dataItem:t}).value),_.hasValue(s))&&(t.hasChildren[o]?t[o].each((function(t){e.updateDataItem(t)})):t[o]=s)})),b.each(this.propertyFields,(function(e,n){var r=e,o=i[n];_.hasValue(o)&&t.setProperty(r,o)}))}},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.each(t,(function(t){n.data.push(t)})):this.data.push(t)),this.inited)this.removeData(e,i);else if(_.isNumber(e))for(;e>0;)this.data.shift(),e--;this.invalidateData()},e.prototype.removeData=function(t,e){if(_.isNumber(t)&&t>0){for(;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),c.B.requestFrame(),this.dataInvalid=!0,v.each(this.dataUsers.iterator(),(function(t){t.invalidateDataItems()})))},e.prototype.invalidateDataUsers=function(){v.each(this.dataUsers.iterator(),(function(t){t.invalidate()}))},e.prototype.invalidateDataItems=function(){this.disabled||this.isTemplate||(g.move(d.i.invalidDataItems,this),c.B.requestFrame(),this.dataItemsInvalid=!0,v.each(this.dataUsers.iterator(),(function(t){t.invalidateDataItems()})))},e.prototype.invalidateDataRange=function(){this.disabled||this.isTemplate||(this.dataRangeInvalid=!0,g.move(d.i.invalidDataRange,this),c.B.requestFrame())},e.prototype.validateDataRange=function(){g.remove(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++){(i=this.dataItems.getIndex(e))&&(i.__disabled=!1)}for(e=0;e<this.startIndex;e++){(i=this.dataItems.getIndex(e))&&(i.__disabled=!0)}for(e=this.endIndex;e<this.dataItems.length;e++){var i;(i=this.dataItems.getIndex(e))&&(i.__disabled=!0)}},e.prototype.invalidateRawData=function(){this.disabled||this.isTemplate||(g.move(d.i.invalidRawDatas,this),c.B.requestFrame(),this.rawDataInvalid=!0,v.each(this.dataUsers.iterator(),(function(t){t.invalidateRawData()})))},e.prototype.validateRawData=function(){var t=this;g.remove(d.i.invalidRawDatas,this),v.each(this.mainDataSet.iterator(),(function(e){e&&t.updateDataItem(e)}))},e.prototype.dispose=function(){var e=this;this.mainDataSet.template.clones.clear(),b.each(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.each(this._dataDisposers,(function(t){t.dispose()})),v.each(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.each(this.dataUsers.iterator(),(function(t){t._startIndex=void 0,t._endIndex=void 0}));for(var i=0,n=Date.now(),r=this._parseDataFrom,o=this.data.length,s=function(){var t=a.data[r];if(a._usesData){var o=a.getDataItem(t);a.processDataItem(o,t)}if((a.dataUsers.each((function(e){if(0==e.data.length){var i=e.getDataItem(t);e.processDataItem(i,t)}})),100==++i)&&(i=0,Date.now()-n>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;r<o;r++){var u=s();if("object"===typeof u)return u.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.remove(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 _.hasValue(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.each(i,(function(i){e[i]&&-1===g.indexOf(t,e[i])&&t.push(e[i])})),t},e.prototype.setDataSourceEvents=function(t,e){var i=this;t.events.on("started",(function(t){var e=i.preloader;e&&(e.progress=0)}),void 0,!1),t.events.on("loadstarted",(function(t){var e=i.preloader;e&&(e.progress=.25)}),void 0,!1),t.events.on("loadended",(function(t){var e=i.preloader;e&&(e.progress=.5)}),void 0,!1),t.events.on("parseended",(function(t){var e=i.preloader;e&&(e.progress=.75)}),void 0,!1),t.events.on("ended",(function(t){var e=i.preloader;e&&(e.progress=1)}),void 0,!1),t.events.on("error",(function(t){var e=i.preloader;e&&(e.progress=1),i.openModal(t.message)}),void 0,!1),e&&t.events.on("done",(function(n){var r=i.preloader;r&&(r.progress=1),"data"!=e||_.isArray(n.data)||(n.data=[n.data]),t.incremental&&"data"==e&&i.data.length?i.addData(n.data,t.keepCount?n.data.length:0):t.updateCurrentData&&"data"==e&&i.data.length?(g.each(i.data,(function(t,e){_.hasValue(n.data[e])&&b.each(t,(function(i,r){_.hasValue(n.data[e][i])&&(t[i]=n.data[e][i])}))})),i.invalidateRawData()):i[e]=n.data}))},Object.defineProperty(e.prototype,"responsive",{get:function(){return this._responsive||(this._responsive=new h.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 o=t.start,s=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==s&&0!=o&&o<this.start&&(a="start"),"start"==a&&0==o&&s>this.end&&(a="end"),_.isNumber(n)||(n=this.maxZoomDeclination),!_.isNumber(o)||!_.isNumber(s))return{start:this.start,end:this.end};if(this._finalStart!=o||this._finalEnd!=s){var u=this.maxZoomFactor/this.minZoomCount,l=this.maxZoomFactor/this.maxZoomCount;if("start"==a?(this.maxZoomCount>0&&1/(s-o)<l&&(s=o+1/l),1/(s-o)>u&&(s=o+1/u),s>1&&s-o<1/u&&(o=s-1/u)):(this.maxZoomCount>0&&1/(s-o)<l&&(o=s-1/l),1/(s-o)>u&&(o<=0?s=o+1/u:o=s-1/u),o<0&&s-o<1/u&&(s=o+1/u)),o<-n&&(o=-n),1/(s-o)>u&&(s=o+1/u),s>1+n&&(s=1+n),1/(s-o)>u&&(o=s-1/u),this._finalEnd=s,this._finalStart=o,this.skipRangeEvent=e,this.dispatchImmediately("rangechangestarted"),this.rangeChangeDuration>0&&!i){var h=this.rangeChangeAnimation;if(h&&h.progress<1){var c=h.animationOptions;if(c.length>1){if(c[0].to==o&&c[1].to==s)return{start:o,end:s};h.isDisposed()||h.stop()}}this.rangeChangeAnimation&&this.rangeChangeAnimation.kill(),h=this.animate([{property:"start",to:o},{property:"end",to:s}],this.rangeChangeDuration,this.rangeChangeEasing),this.rangeChangeAnimation=h,h&&!h.isFinished()?h.events.on("animationended",(function(){r.dispatchImmediately("rangechangeended")})):this.dispatchImmediately("rangechangeended")}else this.start=o,this.end=s,this.dispatch("rangechangeended")}return{start:o,end:s}}
1,e.prototype.zoomToIndexes=function(t,e,i,n){if(_.isNumber(t)&&_.isNumber(e)){var r=t/this.dataItems.length,o=e/this.dataItems.length;this.zoom({start:r,end:o},i,n)}},Object.defineProperty(e.prototype,"zoomFactor",{get:function(){return f.fitToRange(1/(this.end-this.start),1,this.maxZoomFactor)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomFactor",{get:function(){return this.getPropertyValue("maxZoomFactor")},set:function(t){this.setPropertyValue("maxZoomFactor",t)&&(1==t&&(this.maxZoomDeclination=0),this.invalidateDataRange())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxZoomDeclination",{get:function(){return this.getPropertyValue("maxZoomDeclination")},set:function(t){this.setPropertyValue("maxZoomDeclination",t)&&this.invalidateDataRange()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startIndex",{get:function(){return _.isNumber(this._startIndex)||(this._startIndex=0),this._startIndex},set:function(t){this._startIndex=f.fitToRange(Math.round(t),0,this.dataItems.length),this.start=this.indexToPosition(this._startIndex)},enumerable:!0,configurable:!0}),e.prototype.indexToPosition=function(t){return t/this.dataItems.length},Object.defineProperty(e.prototype,"endIndex",{get:function(){var t=this.dataItems.length;return(!_.isNumber(this._endIndex)||this._endIndex>t)&&(this._endIndex=t),this._endIndex},set:function(t){this._endIndex=f.fitToRange(Math.round(t),0,this.dataItems.length),this.end=this.indexToPosition(this._endIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._adapterO?this._adapterO.apply("start",this._start):this._start},set:function(t){if(this._start!=t){this._start=t;var e=Math.max(0,Math.floor(this.dataItems.length*t)||0);this._startIndex=Math.min(e,this.dataItems.length),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("startchanged"),this.dispatch("startendchanged")}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._adapterO?this._adapterO.apply("end",this._end):this._end},set:function(t){this._end!=t&&(this._end=t,this._endIndex=Math.min(this.dataItems.length,Math.ceil(this.dataItems.length*t)||0),this.invalidateDataRange(),this.invalidate(),this.dispatchImmediately("endchanged"),this.dispatch("startendchanged"))},enumerable:!0,configurable:!0}),e.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),d.i.removeFromInvalidComponents(this),g.remove(d.i.invalidDataItems,this),g.remove(d.i.invalidDataRange,this),g.remove(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){if(this.dataSets.getKey(t))return this.dataItems.each((function(t){t.__disabled=!0})),this._currentDataSetId=t,this.invalidateDataRange(),this._prevStartIndex=void 0,this.dataItems.each((function(t){t.__disabled=!1})),!0;if(""!=this._currentDataSetId)return this.dataItems.each((function(t){t.__disabled=!0})),this._currentDataSetId="",this.invalidateDataRange(),this._prevStartIndex=void 0,this.dataItems.each((function(t){t.__disabled=!1})),!0}return!1},Object.defineProperty(e.prototype,"currentDataSetId",{get:function(){return this._currentDataSetId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mainDataSet",{get:function(){return this._dataItems},enumerable:!0,configurable:!0}),e.prototype._updateDataItemIndexes=function(t){for(var e=this.mainDataSet.values,i=e.length,n=t;n<i;++n)e[n]._index=n},e.prototype.handleDataItemAdded=function(t){t.newValue.component=this,this._updateDataItemIndexes(t.index),this.dataItemsInvalid||this.invalidateDataItems()},e.prototype.handleDataItemRemoved=function(t){this._updateDataItemIndexes(t.index),this.dataItemsInvali
1d||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 o.aV,this._disposers.push(new u.ku((function(){v.each(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.copyProperties(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},71121:function(t,e,i){i.d(e,{W:function(){return x}});var n=i(19845),r=i(39866),o=i(7830),s=i(87155),a=i(29138),u=i(3485),l=i(406),h=i(44545),c=i(48864),p=i(69260),d=i(62e3),f=i(12352),g=i(36442),y=i(64112),m=i(24306),v=i(43281),b=i(78816),_=i(99934),x=function(t){function e(){var e=t.call(this)||this;return e._childrenByLayout=[],e._childrenDisposers=new u.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 u.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(e){}this.element&&this.element.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;(this._childrenDisposers.removeKey(e.uid),this.element)&&this.element.removeElement(e.group);e.isMeasured&&this.invalidateLayout(),this.dispatchImmediately("childremoved",{type:"childremoved",oldValue:e})},e.prototype.handleChildTransform=function(t){t.target.isMeasured&&this.invalidateLayout()},e.prototype.invalidateLayout=function(){this.layoutInvalid||this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||(this.layoutInvalid=!0,p.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.each(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 s.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.each(this.children.iterator(),(function(n){"horizontal"==t.layout||"grid"==t.layout?m.isNumber(n.percentWidth)?i.push(n):e.push(n):"vertical"==t.layout&&m.isNumber(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.each(this._childrenByLayout,(function(t){t.isMeasured&&(m.isNumber(t.percentWidth)&&(e+=t.percentWidth),m.isNumber(t.percentHeight)&&(i+=t.percentHeight))})),g.each(this._childrenByLayout,(function(n){n.isMeasured&&("horizontal"==t.layout&&(m.isNumber(n.percentWidth)&&(n.relativeWidth=n.percentWidth/e),m.isNumber(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100)),"vertical"==t.layout&&(m.isNumber(n.percentHeight)&&(n.relativeHeight=n.percentHeight/i),m.isNumber(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100)),"grid"==t.layout&&(m.isNumber(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100),m.isNumber(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100))),"absolute"!=t.layout&&n.isMeasured||(m.isNumber(n.percentWidth)&&(n.relativeWidth=n.percentWidth/100),m.isNumber(n.percentHeight)&&(n.relativeHeight=n.percentHeight/100))}))},e.prototype.addChildren=function(){if(this.element){var t=g.copy(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,o=i.node.childNodes.length;r<o;r++)if(i.node.childNodes[r]!=t[r].group.node){n=!1;break}n||(g.each(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(){for(;this.children.length>0;){var t=this.children.getIndex(0);t.parent=void 0,this.children.removeValue(t)}},e.prototype.disposeChildren=function(){for(;this.children.length>0;){var t=this.children.getIndex(0);t.dispose(),this.children.removeValue(t)}},Object.defineProperty(e.prototype,"background",{get:function(){return this._background||(this._background=this.createBackground(),this.processBackground()),this._background},set:function(t){this._background&&this.background!=t&&this.removeDispose(this._background),t&&(this._background=t,this._disposers.push(t),this.processBackground())},enumerable:!0,configurable:!0}),e.prototype.handleGlobalScale=function(){t.prototype.handleGlobalScale.call(this),this.children.each((function(t){t.handleGlobalScale()}))},e.prototype.createBackground=function(){return new h.A},e.prototype.processBackground=function(){var t=this._background;t&&(t.isMeasured=!1,this._background.fill=(new d.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;p.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.each(this._childrenByLayout,(function(r){var o,s;if(m.isNumber(r.relativeWidth)?(o=y.round(t._availableWidth*r.relativeWidth,2),"horizontal"==t.layout&&(o-=r.pixelMarginRight+r.pixelMarginLeft)):"horizontal"==t.layout&&r.invalid&&r.validate(),m.isNumber(r.relativeHeight)?(s=y.round(t._availableHeight*r.relativeHeight,2),"vertical"==t.layout&&(s-=r.pixelMarginTop+r.pixelMarginBottom)):"vertical"==t.layout&&r.invalid&&r.validate(),0==r.invali
1d){if(m.isNumber(r.relativeWidth)&&(r.maxWidth=o),m.isNumber(r.relativeHeight)&&(r.maxHeight=s),r.isMeasured){"horizontal"==t.layout&&(m.isNumber(r.percentWidth)||r.measuredWidth>0&&(t._availableWidth-=r.measuredWidth+r.pixelMarginLeft+r.pixelMarginRight)),"vertical"==t.layout&&(m.isNumber(r.percentHeight)||r.measuredHeight>0&&(t._availableHeight-=r.measuredHeight+r.pixelMarginTop+r.pixelMarginBottom));var a=r.measuredWidth,u=r.measuredHeight;"none"!=r.align&&(a+=r.pixelMarginLeft+r.pixelMarginRight),"none"!=r.valign&&(u+=r.pixelMarginTop+r.pixelMarginBottom),e=Math.max(e,a),i=Math.max(i,u)}}else r.isMeasured&&(m.isNumber(r.relativeWidth)&&r.maxWidth!=o&&(r.maxWidth=o,n=!1),m.isNumber(r.relativeHeight)&&r.maxHeight!=s&&(r.maxHeight=s,n=!1))}))),this._absoluteWidth=e,this._absoluteHeight=i,n&&this.arrange()},e.prototype.arrange=function(){var t,e,i,n,r,o,s,a,u,l,h,p=this,d=this.children,v=0,b=0,_=y.max(this.innerWidth,this._absoluteWidth),x=y.max(this.innerHeight,this._absoluteHeight),w=this.pixelPaddingLeft,P=this.pixelPaddingRight,T=this.pixelPaddingTop,O=this.pixelPaddingBottom,C=0,S=0,k=0,D=0,I=[],V=[],M=this.maxWidth,E=this.maxHeight,j=this.minWidth,F=this.minHeight,N=g.copy(d.values);if(this.reverseOrder&&N.reverse(),"grid"==this.layout){o=M,r=1;for(var L=0,R=N.length;L<R;L++){if((A=N[L]).isMeasured&&!A.disabled&&!A.__disabled){var B=A.measuredWidth;B<o&&(o=B),B>r&&(r=B)}}o=y.fitToRange(o,1,M),r=y.fitToRange(r,1,M),s=this.fixedWidthGrid?M/r:M/o,s=y.max(1,Math.floor(s)),s=y.min(this.maxColumns,s),I=this.getColumnWidth(N,s,r)}for(L=0,R=N.length;L<R;L++){var A;if(!(A=N[L]).isMeasured||A.disabled||A.__disabled)A.validatePosition();else{var H=void 0,z=void 0,W=A.pixelMarginLeft,U=A.pixelMarginRight,G=A.pixelMarginTop,X=A.pixelMarginBottom,Y=A.measuredWidth,K=A.measuredHeight,Z=void 0,q=void 0,$=void 0,Q=void 0;switch(this.layout){case"none":break;case"absolute":switch(A.align){case"left":H=W-A.maxLeft;break;case"center":H=(_-Y)/2-A.maxLeft;break;case"right":H=_-U-A.maxRight;break;default:A.x instanceof c.gG||(H=A.pixelX)}switch(A.valign){case"top":z=G-A.maxTop;break;case"middle":z=(x-K)/2-A.maxTop;break;case"bottom":z=x-X-A.maxBottom;break;default:A.y instanceof c.gG||(z=A.pixelY)}break;case"vertical":switch(A.align){case"left":H=W-A.maxLeft;break;case"center":H=(_-Y)/2-A.maxLeft;break;case"right":H=_-U-A.maxRight;break;default:H=A.pixelX}S=(z=S+G-A.maxTop)+A.maxBottom+X;break;case"horizontal":switch(A.valign){case"top":z=G-A.maxTop;break;case"middle":z=(x-K)/2-A.maxTop;break;case"bottom":z=x-X-A.maxBottom;break;default:z=A.pixelY}C=(H=C+W-A.maxLeft)+A.maxRight+U;break;case"grid":switch(H=C+W-A.maxLeft,A.valign){case"top":z=S+G-A.maxTop;break;case"middle":z=S+(x-K)/2-A.maxTop;break;case"bottom":z=S+x-X-A.maxBottom;break;default:z=S-A.maxTop}C+=I[D],V[k]=y.max(V[k],K);var J=I[++D];if(m.isNumber(J)||(J=r),C>y.min(this.innerWidth,M)-J+1&&D<s){s=D,C=0,S=0,k=0,D=0,I=this.getColumnWidth(N,s,r),V=[],L=-1;continue}D>=s&&(D=0,S+=V[k],k++,C=0)}"none"!==this.layout&&(A.moveTo({x:H,y:z}),Z=H+A.maxLeft-W,q=H+A.maxRight+U,$=z+A.maxTop-G,Q=z+A.maxBottom+X,(q>e||!m.isNumber(e))&&(e=q),(Z<t||!m.isNumber(t))&&(t=Z),($<i||!m.isNumber(i))&&(i=$),(Q>n||!m.isNumber(n))&&(n=Q),(q>u||!m.isNumber(u))&&(u=q),(Z<a||!m.isNumber(a))&&(a=Z),($<l||!m.isNumber(l))&&(l=$),Q>h||m.isNumber(h))}}if("none"==this.layout){var tt=this.bbox;t=tt.x,e=tt.x+tt.width,i=tt.y,n=tt.y+tt.height}m.isNumber(t)||(t=0,a=0),m.isNumber(e)||(u=e=this._availableWidth),m.isNumber(i)||(i=0,l=0),m.isNumber(n)||(h=n=this._availableHeight),m.isNumber(l)||(l=0),m.isNumber(h)||(h=l),m.isNumber(a)||(a=0),m.isNumber(u)||(u=a),v=e-t,b=n-i,m.isNumber(this.relativeWidth)&&(t=0,e=v=M-w-P),m.isNumber(this.relativeHeight)&&(i=0,n=b=E-T-O),m.isNumber(this._pixelWidth)&&(t=0,v=this._pixelWidth-w-P),m.isNumber(j)&&v<j&&(t=0,v=this.minWidth-w-P),m.isNumber(this._pixelHeight)&&(i=0,b=this._pixelHeight-T-O),m.isNumber(F)&&b<F&&(i=0,b=F-T-O);var et=u-a,it=h-l;if("none"!=this.layout&&(this.contentAlign||this.contentValign)&&d.length>0){var nt,rt,ot=v,st=b;ot<et&&(ot=et),st<it&&(st=it),"center"==this.contentAlign&&(nt=(ot-et)/2),"right"==this.contentAlign&&(nt=ot-et),"middle"==this.contentValign&&(rt=(st-it)/2),"bottom"==this.contentValign&&(rt=st-it),m.isNumber(nt)&&f.each(d.iterator(),(function(t){var e=t.maxLeft,i=nt;"horizontal"==p.layout&&(t.x=t.pixelX+i),"grid"==p.layout&&(t.x=t.pixelX+i),"vertical"==p.layout&&(i+=t.pixelMarginLeft,"none"==t.align&&(t.x=i-e)),"absolute"==p.layout&&(i+=t.pixelMarginLeft,"none"==t.align&&(t.x=i-e))})),m.isNumber(rt)&&f.each(d.iterator(),(function(t){var e=t.maxTop,i=rt;"horizontal"==p.layout&&(i+=t.pixelMarginTop,"none"==t.valign&&(t.y=i-e)),"grid"==p.layout&&(i+=t.pixelMarginTop,t.y=i-e),"vertical"==p.layout&&(t.y=t.pixelY+i),"absolute"==p.layout&&(i+=t.pixelMarginTop,"none"==t.valign&&(t.y=i-e))}))}var at=this.bbox;v=y.max(v,j),b=y.max(b,F),this.contentWidth=v,this.contentHeight=b,v=y.min(v,M),b=y.min(b,E),this._bbox={x:t,y:i,width:v,height:b};var ut=this.maxLeft,lt=this.maxTop,ht=this.maxBottom,ct=this.maxRight;if(this.measure(),(ut!=this.maxLeft||ct!=this.maxRight||lt!=this.maxTop||ht!=this.maxBottom)&&this.events.isEnabled("transformed")){var pt={type:"transformed",target:this};at&&(pt.dummyData=at.width+" "+v+" "+at.height+" "+b),this.events.dispatchImmediately("transformed",pt)}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=[],o=0;return g.each(t,(function(t){!t.isMeasured||t.disabled||t.__disabled||(n.fixedWidthGrid?r[o]=i:r[o]=y.max(r[o],t.measuredWidth+t.pixelMarginRight+t.pixelMarginLeft),++o==e&&(o=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>=-.5&&e<=this.pixelWidth+n&&i>=-.5&&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.each(e.children.iterator(),(function(t){t.shouldClone&&(t.clone().parent=i)}))},Object.defineProperty(e.prototype,"preloader",{get:function(){var t=this._preloader;return t||(this.parent?this.parent.preloader:void 0)},set:function(t){this._preloader&&this.removeDispose(this._preloader),this._preloader=t,t&&(t.parent=this.tooltipContainer,this._disposers.push(t))},enumerable:!0,configurable:!0}),e.prototype.setPaper=function(e){var i=this,n=t.prototype.setPaper.call(this,e);return n&&(this._background&&(this._background.paper=e,this._background.topParent=this.topParent),this.children.each((function(t){t.setPaper(e),t.topParent=i.topParent}))),n},e.prototype.removeFromInvalids=function(){t.prototype.removeFromInvalids.call(this),p.i.removeFromInvalidLayouts(this)},e.prototype.setDataItem=function(e){this._dataItem!=e&&(f.each(this.children.iterator(),(function(t){t.dataItem=e})),this._background&&(this._background.dataItem=e)),t.prototype.setDataItem.call(this,e)},e.prototype.measureElement=function(){this.disabled||this.isTemplate||"none"==this.layout||this.__disabled||this.validateLayout()},Object.defineProperty(e.prototype,"fontFamily",{get:function(){return this.getPropertyValue("fontFamily")},set:function(t){this.setPropertyValue("fontFamily",t,!0)&&(this.setSVGAttribute({"font-family":t}),this.invalidateLabels())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fontSize",{get:function(){return this.getPropertyValue("fontSize")},set:function(t){this.setPropertyValue("fontSize",t,!0)&&(this.setSVGAttribute({"font-size":t}),this.invalidateLabels())},enumerable:!0,configurable:!0}),e.prototype.invalidateLabels=function(){this.children.each((function(t){t.hardInvalidate?(t.hardInvalidate(),t.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 o.q&&(r=e.name),this.setStateOnChildren&&f.each(this.children.iterator(),(function(t){t.setState(r,i,n),"active"!=r&&(t.isActive=!1)})),this._background&&this._background.setState(r),this.setStateOnSprites.length&&g.each(this.setStateOnSprites,(function(t){t.setState(r,i,n)})),t.prototype.setState.call(this,e,i,n)},e.prototype.setActive=function(e){t.prototype.setActive.call(this,e),this._background&&(this._background.isActive=e)},e.prototype.dispatchReady=function(){var e=this;if(!this.isReady()&&!this.isDisposed()){var i=!0;f.eachContinue(this.children.iterator(),(function(t){return!!(t.__disabled||t.disabled||t.isReady())||(i=!1,!1)})),g.eachContinue(this._shouldBeReady,(function(t){return!!(t.__disabled||t.disabled||t.isReady())||(i=!1,!1)})),i?t.prototype.dispatchReady.call(this):p.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.isString(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);p.i.registeredClasses.Container=x},4324:function(t,e,i){i.d(e,{z:function(){return h}});var n=i(19845),r=i(73870),o=i(61765),s=i(42053),a=i(80008),u=i(36442),l=i(24306),h=function(t){function e(){var e=t.call(this)||this;return e._disabled=!1,e.hasProperties=!1,e.values={},e.categories={},e.dates={},e.locations={},e.workingLocations={},e.properties={},e.sprites=[],e.isTemplate=!1,e._index=null,e._visible=!0,e._hidden=!1,e._ignoreMinMax=!1,e.hasChildren={},e.isHiding=!1,e._valueAnimations={},e._locationAnimations={},e.className="DataItem",e.applyTheme(),e}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"adapter",{get:function(){return this._adapterO||(this._adapterO=new o.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 s.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,u.each(this.sprites,(function(e){e.__disabled=t}))},enumerable:!0,configurable:!0}),e.prototype.setVisibility=function(t,e){if(u.each(this.sprites,(function(e){t?e.visible=e.defaultState.properties.visible:e.hiddenState?e.visible=e.hiddenState.properties.visible:e.visible=!1})),this._visible=t,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("visibilitychanged")){var i={type:"visibilitychanged",target:this,visible:t};this.events.dispatchImmediately("visibilitychanged",i)}}
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&&u.each(i,(function(i){n=r.setWorkingValue(i,r.values[i].value,t,e)})),u.each(this.sprites,(function(i){var n=i.show(t);null==n||n.isFinished()||(r._disposers.push(n),null!=e&&e>0&&n.delay(e))})),n},e.prototype.dispose=function(){t.prototype.dispose.call(this),u.each(this.sprites,(function(t){t.dispose()})),this.sprites=[]},e.prototype.hide=function(t,e,i,n){var r=this;if(this.isHiding=!0,u.each(this.sprites,(function(i){var n=i.hide(t);null==n||n.isFinished()||(r._disposers.push(n),null!=e&&e>0&&n.delay(e))})),l.isNumber(i)&&n){var o;if(u.each(n,(function(n){var s=r.setWorkingValue(n,i,t,e);s&&(o=s)})),o&&!o.isFinished())return this._hideDisposer=o.events.on("animationended",(function(){r.setVisibility(!1,!0),r.isHiding=!1})),this._disposers.push(this._hideDisposer),o;this.isHiding=!1,this.setVisibility(!1,!0)}else this.isHiding=!1,this.setVisibility(!1)},e.prototype.getDuration=function(t){if(!l.isNumber(t)){var e=this.component;e&&(t=e.interpolationDuration)}if(null!=t)return this._adapterO?this._adapterO.apply("duration",t):t},e.prototype.getValue=function(t,e){if(t&&this.component){e||(e=this.component.dataFields[t+"Show"])||(e="value");var i=this.values[t][e];return this._adapterO&&this._adapterO.isEnabled("value")?this._adapterO.apply("value",{value:i,field:t}).value:i}},e.prototype.getWorkingValue=function(t){if(t&&this.component){var e=this.component.dataFields[t+"Show"];return e||(e="workingValue"),this._adapterO?this._adapterO.apply("workingValue",{workingValue:this.values[t][e],field:t}).workingValue:this.values[t][e]}},e.prototype.getActualWorkingValue=function(t){return this.values[t].workingValue},e.prototype.setValue=function(t,e,i,n){var r=this.values[t].value,o=this.getDuration(i);if(r!==(e=l.toNumber(e))){if(this.values[t].value=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("valuechanged")){var s={type:"valuechanged",target:this,property:t};this.events.dispatchImmediately("valuechanged",s)}this.component&&this.component.handleDataItemValueChange(this,t)}this.setWorkingValue(t,e,o,n)},e.prototype.setCalculatedValue=function(t,e,i){if(this.values[t][i]!==e&&l.isNumber(e)){if(this.values[t][i]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("calculatedvaluechanged")){var n={type:"calculatedvaluechanged",target:this,property:t};this.events.dispatchImmediately("calculatedvaluechanged",n)}this.component&&this.component.handleDataItemCalculatedValueChange(this,t)}},e.prototype.setWorkingValue=function(t,e,i,n){if(l.isNumber(this.values[t].value)){var r=this.getDuration(i),o=this.values[t].workingValue;if(null!=r&&r>0&&l.isNumber(o)&&this.component){if(o!=e){var s=this.animate({childObject:this.values[t],property:"workingValue",from:o,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&s.delay(n),s.events.on("animationstarted",this.handleInterpolationProgress,this),s.events.on("animationprogress",this.handleInterpolationProgress,this),s.events.on("animationended",this.handleInterpolationProgress,this),this._valueAnimations[t]=s,s}(a=this._valueAnimations[t])&&a.stop(),this.values[t].workingValue=e}else{var a;if((a=this._valueAnimations[t])&&a.stop(),this.values[t].workingValue=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var u={type:"workingvaluechanged",target:this,property:t};this.events.dispatchImmediately("workingvaluechanged",u)}this.component&&this.component.handleDataItemWorkingValueChange(this,t)}}},e.prototype.setLocation=function(t,e,i,n){if(this.locations[t]!==e){if(this.locations[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("locationchanged")){var r={type:"locationchanged",target:this,property:t};this.events.dispatchImmediately("locationchanged",r)}this.component&&this.component.handleDataItemValueChange(this,t),this.setWorkingLocation(t,e,i,n)}},e.prototype.setWorkingLocation=function(t,e,i,n){var r=this.getDuration(i),o=this.workingLocations[t];if(null!=r&&r>0&&l.isNumber(o)&&this.component){if(o!=e){var s=this.animate({childObject:this.workingLocations,property:t,from:o,to:e,dummyData:t},r,this.component.interpolationEasing);return null!=n&&s.delay(n),s.events.on("animationstarted",this.handleInterpolationProgress,this),s.events.on("animationprogress",this.handleInterpolationProgress,this),s.events.on("animationended",this.handleInterpolationProgress,this),this._locationAnimations[t]=s,s}(a=this._locationAnimations[t])&&a.stop(),this.workingLocations[t]=e}else{var a;if((a=this._locationAnimations[t])&&a.stop(),this.workingLocations[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workinglocationchanged")){var u={type:"workinglocationchanged",target:this,property:t};this.events.dispatchImmediately("workinglocationchanged",u)}this.component&&this.component.handleDataItemWorkingLocationChange(this,t)}}
1,e.prototype.setDate=function(t,e,i){!l.isDate(e)&&this.component&&(e=this.component.dateFormatter.parse(e)),this.dates[t]!==e&&(this.dates[t]=e,this.setValue(t,e.getTime(),i))},e.prototype.getDate=function(t){return this._adapterO?this._adapterO.apply("date",{date:this.dates[t],field:t}).date:this.dates[t]},e.prototype.setProperty=function(t,e){if(this.properties[t]!==e){if(this.hasProperties=!0,this.properties[t]=e,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")){var i={type:"propertychanged",target:this,property:t,value:e};this.events.dispatchImmediately("propertychanged",i)}this.component&&this.component.handleDataItemPropertyChange(this,t)}},e.prototype.setCategory=function(t,e){l.isString(e)||(e=l.castString(e)),this.categories[t]!==e&&(this.categories[t]=e)},e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),e.dataContext&&(this.dataContext=a.copy(e.dataContext,{})),a.copyProperties(e.locations,this.locations),e._adapterO&&this.adapter.copyFrom(e._adapterO),this.component=e.component},Object.defineProperty(e.prototype,"opacity",{set:function(t){u.each(this.sprites,(function(e){e.opacity=t}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ignoreMinMax",{get:function(){return this._ignoreMinMax},set:function(t){if(this._ignoreMinMax=t,this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("propertychanged")){var e={type:"propertychanged",target:this,property:"ignoreMinMax",value:t};this.events.dispatchImmediately("propertychanged",e)}this.component&&this.component.handleDataItemPropertyChange(this,"ignoreMinMax")},enumerable:!0,configurable:!0}),e.prototype.animate=function(t,e,i){return new s.fw(this,t,e,i).start()},e.prototype.handleInterpolationProgress=function(t){var e=t.target.animationOptions[0];if(e){if(this._eventDispatcher&&!this.__disabled&&this.events.isEnabled("workingvaluechanged")){var i={type:"workingvaluechanged",target:this,property:e.dummyData};this.events.dispatchImmediately("workingvaluechanged",i)}this.component&&this.component.handleDataItemWorkingValueChange(this,e.dummyData)}},e.prototype.hasValue=function(t){for(var e=0,i=t.length;e<i;e++){var n=this.values[t[e]];if(!n||!l.hasValue(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&&u.remove(t.dataItem.sprites,t),this.visible||t.hide(0),this.isHiding&&t.hide(),this.sprites.push(t),t.dataItem=this},e}(r.y)},99934: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}},69260:function(t,e,i){i.d(e,{B:function(){return l},i:function(){return h},is:function(){return c}});var n=i(9209),r=i(3485),o=i(46947),s=i(24306),a=i(82896),u=i(36442),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(){u.each(t.baseSprites,(function(t){var e=t.paper.svg;e.setAttribute("viewBox","0 0 "+e.clientWidth+" "+e.clientHeight)}))})),addEventListener("afterprint",(function(){u.each(t.baseSprites,(function(t){t.paper.svg.removeAttribute("viewBox")}))}
1)))}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}),t.prototype.setCache=function(t,e,i){o.F.set(this.uid,t,e,i)},t.prototype.getCache=function(t,e){return void 0===e&&(e=void 0),o.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 s.hasValue(this._placeholders[t])||(this._placeholders[t]="__amcharts_"+t+"_"+a.random(8)+"__"),this._placeholders[t]},t.prototype.addToInvalidComponents=function(t){t.baseId?u.move(this.invalidDatas[t.baseId],t):u.move(this.invalidDatas.noBase,t)},t.prototype.removeFromInvalidComponents=function(t){t.baseId&&u.remove(this.invalidDatas[t.baseId],t),u.remove(this.invalidDatas.noBase,t)},t.prototype.addToInvalidSprites=function(t){t.baseId?u.add(this.invalidSprites[t.baseId],t):u.add(this.invalidSprites.noBase,t)},t.prototype.removeFromInvalidSprites=function(t){t.baseId&&u.remove(this.invalidSprites[t.baseId],t),u.remove(this.invalidSprites.noBase,t)},t.prototype.addToInvalidPositions=function(t){t.baseId?u.add(this.invalidPositions[t.baseId],t):u.add(this.invalidPositions.noBase,t)},t.prototype.removeFromInvalidPositions=function(t){t.baseId&&u.remove(this.invalidPositions[t.baseId],t),u.remove(this.invalidPositions.noBase,t)},t.prototype.addToInvalidLayouts=function(t){t.baseId?u.add(this.invalidLayouts[t.baseId],t):u.add(this.invalidLayouts.noBase,t)},t.prototype.removeFromInvalidLayouts=function(t){t.baseId&&u.remove(this.invalidLayouts[t.baseId],t),u.remove(this.invalidLayouts.noBase,t)},t}(),h=new l;function c(t,e){var i=h.registeredClasses[e];return null!=i&&t instanceof i}},75305:function(t,e,i){i.d(e,{g:function(){return l}});var n=i(19845),r=i(3485),o=i(9209),s=i(29138),a=i(80008),u=i(59205),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=u.merge(t,{target:this.target});this.target.events.dispatchImmediately(e.type,e)}},e.prototype._dispatchSpritePointEvent=function(t){if(!this.target.disabled&&!this.target.isTemplate&&this.target.events.isEnabled(t.type)){var e=u.merge(t,{target:this.target,spritePoint:t.point?a.documentPointToSprite(t.point,this.target):void 0,svgPoint:this.target.getSvgPoint(t.point)});this.target.events.dispatchImmediately(e.type,e)}},e.prototype._addInteractionObjectEvent=function(t,e,i,n){var r=this,o=n+"-"+t;return this._interactionEvents.insertKeyIfEmpty(o,(function(){var a=r.target.interactions.events.on(t,e,i,n);return new s.DM((function(){r._interactionEvents.removeKey(o),a.dispose()}))})).increment()},e.prototype._on=function(e,i,n,r,o,a){var u=t.prototype._on.call(this,e,i,n,r,o,a),l=[u.disposer];switch(i){case"hit":case"track":case"doublehit":case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":l.push(this._addInteractionObjectEvent(i,this._dispatchSpritePointEvent,this,o));break;case"rightclick":case"down":case"up":case"drag":case"dragged":case"dragstart":case"dragstop":case"over":case"out":case"swipe":case"swipeleft":case"swiperight":case"resize":case"focus":case"blur":case"toggled":l.push(this._addInteractionObjectEvent(i,this._dispatchSpriteEvent,this,o))}switch(i){case"hit":case"doublehit":case"rightclick":case"down":case"up":this.target.clickable=!0;break;case"toggled":this.target.togglable=!0;break;case"drag":case"dragstart":case"dragstop":this.target.draggable=!0;break;case"track":this.target.trackable=!0;break;case"resize":this.target.resizable=!0;break;
1case"swipe":case"swipeleft":case"swiperight":this.target.swipeable=!0;break;case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":this.target.wheelable=!0;break;case"over":this.target.hoverable=!0;case"out":this.target.hoverable=!0;break;case"focus":case"blur":this.target.focusable=!0}return u.disposer=new s.FV(l),u},e}(o.r)},7830:function(t,e,i){i.d(e,{q:function(){return f}});var n=i(19845),r=i(73870),o=i(69260),s=i(61765),a=i(87155),u=i(86820),l=i(48864),h=i(80008),c=i(70522),p=i(59205),d=i(24306),f=function(t){function e(){var e=t.call(this)||this;return e.transitionDuration=0,e.transitionEasing=c.cubicOut,e.properties={},e.propertyFields={},e.filters=new 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 s.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.hasValue(n)&&(i.dataItem&&(e=i.dataItem.dataContext[n]),void 0==e&&(e="__unset")),d.hasValue(e))this._adapterO&&(e=this._adapterO.apply(t,e));else{var r=i.getPropertyValue(t);(e=this._adapterO?this._adapterO.apply(t,r):r)==r&&(e=void 0)}}return e},e.prototype.copyFrom=function(t){t&&t!=this&&(this.transitionDuration=t.transitionDuration,this.transitionEasing=t.transitionEasing,h.copyProperties(t.properties,this.properties),h.copyProperties(t.propertyFields,this.propertyFields),this.filters.copyFrom(t.filters),t._adapterO&&this.adapter.copyFrom(t._adapterO))},Object.defineProperty(e.prototype,"allValues",{get:function(){var t=this,e={};if(p.each(this.properties,(function(i,n){e[i]=t.getPropertyValue(i)})),this._adapterO){var i=this._adapterO.keys();p.each(i,(function(i,n){var r=t.getPropertyValue(n);e[n]=r}))}var n=this.propertyFields;return p.each(n,(function(i){var n=t.getPropertyValue(i);e[i]=n})),e},enumerable:!0,configurable:!0}),e.prototype.reset=function(){this.properties={},this.filters.clear()},e.prototype.processConfig=function(e){d.hasValue(e)&&d.hasValue(e.properties)&&p.each(e.properties,(function(t,i){d.isString(i)&&(i.match(/^[0-9.\-]+\%$/)?e.properties[t]=(0,l.aQ)(d.toNumber(i)):i.match(/^\#[0-9abcdef]{3,}$/i)&&(e.properties[t]=(0,u.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);o.i.registeredClasses.SpriteState=f},78816:function(t,e,i){i.d(e,{B:function(){return h},x:function(){return l}});var n=i(69260),r=i(71121),o=i(51747),s=i(36442),a=i(59205),u=i(17738),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");for(var i in n.i.invalidDatas)if(a.hasKey(n.i.invalidDatas,i)){for(var r=n.i.invalidDatas[i];r.length>0;){var u=(l=r[0]).dataProvider;if(l.isDisposed())s.remove(r,l);else if(u&&u.dataInvalid)try{if(u.validateData(),u.dataValidationProgress<1)break}catch(d){s.remove(r,u),u.raiseCriticalError(d)}else try{if(l.validateData(),l.dataValidationProgress<1)break}catch(d){s.remove(r,l),l.raiseCriticalError(d)}}if(Date.now()-e>this.updateStepDuration)break}for(;n.i.invalidRawDatas.length>0;){if((l=n.i.invalidRawDatas[0]).isDisposed())s.remove(n.i.invalidRawDatas,l);else try{l.validateRawData()}catch(d){s.remove(n.i.invalidRawDatas,l),l.raiseCriticalError(d)}}for(;n.i.invalidDataItems.length>0;){u=(l=n.i.invalidDataItems[0]).dataProvider;if(l.isDisposed()||l.dataInvalid||u&&u.dataInvalid);else try{l.validateDataItems()}catch(d){s.remove(n.i.invalidDataItems,l),l.raiseCriticalError(d)}s.remove(n.i.invalidDataItems,l)}for(;n.i.invalidDataRange.length>0;){var l;u=(l=n.i.invalidDataRange[0]).dataProvider;if(l.isDisposed()||l.dataInvalid||u&&u.dataInvalid);else try{l.validateDataRange(),l.skipRangeEvent||l.dispatchImmediately("datarangechanged"),l.skipRangeEvent=!1}catch(d){s.remove(n.i.invalidDataRange,l),l.raiseCriticalError(d)}s.remove(n.i.invalidDataRange,l)}var h=[];a.each(n.i.invalidLayouts,(function(e){t.validateLayouts(e)})),a.each(n.i.invalidPositions,(function(e){t.validatePositions(e)}));var c=!1;if(e=Date.now(),a.each(n.i.invalidSprites,(function(i,r){for(var o=0;r.length>0;){if(t.validateLayouts(i),t.validatePositions(i),5==++o){if(Date.now()-e>t.updateStepDuration)break;o=0}var a=r[r.length-1];if(a&&!a.isDisposed()){if(a._systemCheckIfValidate())if(t.checkIfValidate2(a))try{a._systemUpdate(h)}catch(d){a.invalid=!1,s.remove(r,a),a.raiseCriticalError(d)}else h.push(a);else h.push(a);a.invalid=!1}s.remove(r,a)}n.i.invalidSprites[i]=n.i.invalidSprites[i].concat(h)})),a.each(n.i.invalidSprites,(function(t,e){e.length>0&&(c=!0)})),a.each(n.i.invalidDatas,(function(t,e){e.length>0&&(c=!0)}
1)),s.each(s.copy(this.animations),(function(t){t.update()})),a.each(n.i.invalidLayouts,(function(e){t.validateLayouts(e)})),a.each(n.i.invalidPositions,(function(e){t.validatePositions(e)})),(0,o.YO)(),a.each(n.i.invalidLayouts,(function(e){t.validateLayouts(e)})),a.each(n.i.invalidPositions,(function(e){t.validatePositions(e)})),n.i.dispatchImmediately("exitframe"),(c||this.animations.length>0||[].length>0)&&this.requestFrame(),this.updateStepDuration<200){var p=!0;a.each(n.i.invalidDatas,(function(t,e){e.length>0&&(p=!1)})),a.each(n.i.invalidSprites,(function(t,e){e.length>0&&(p=!1)})),p&&(this.updateStepDuration=200)}}},t.prototype.checkIfValidate2=function(t){return!(t.dataItem&&t.dataItem.component&&t.dataItem.component.dataInvalid&&!t.dataItem.component.isTemplate)},t.prototype.requestFrame=function(){var t=this;this._frameRequested||((0,o.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){for(var e=n.i.invalidPositions[t];e.length>0;){var i=e[e.length-1];if(i.isDisposed())s.remove(e,i);else try{i._systemValidatePositions()}catch(r){i.positionInvalid=!1,s.remove(e,i),i.raiseCriticalError(r)}}},t.prototype.validateLayouts=function(t){for(var e=n.i.invalidLayouts[t];e.length>0;){var i=e[e.length-1];if(i.isDisposed())s.remove(e,i);else try{i.children.each((function(t){t._systemValidateLayouts()})),i.validateLayout()}catch(r){i.layoutInvalid=!1,s.remove(e,i),i.raiseCriticalError(r)}}},t.prototype.log=function(t){u.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.37",t}(),h=new l},13879:function(t,e,i){i.d(e,{t:function(){return u}});var n=i(19845),r=i(24166),o=i(24306),s=i(36442),a=[",",";","\t"],u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.contentType="text/csv",e.options={delimiter:"",reverse:!1,skipRows:0,skipEmpty:!0,useColumnNames:!1},e}return(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 s.each(a,(function(t){for(var r=0,o=0,s=0;s<n;++s){if(!((r=i[s].split(t).length)>1)){o=0;break}if(0===o)o=r;else if(r!=o){o=0;break}}o&&(e=t)})),e},e.prototype.parse=function(t){this.options.delimiter||(this.options.delimiter=e.getDelimiterFromData(t));var i,n,r,s=this.CSVToArray(t,this.options.delimiter),a=o.hasValue(this.options.emptyAs),u=this.parsableNumbers,l=this.parsableDates,h=[],c=[];for(n=0;n<this.options.skipRows;n++)s.shift();if(this.options.useColumnNames){c=s.shift();for(var p=0;p<c.length;p++)""===(i=o.hasValue(c[p])?c[p].replace(/^\s+|\s+$/gm,""):"")&&(i="col"+p),c[p]=i}for(;r=this.options.reverse?s.pop():s.shift();)if(!this.options.skipEmpty||1!==r.length||""!==r[0]){var d={};for(n=0;n<r.length;n++)d[i=void 0===c[n]?"col"+n:c[n]]=""===r[n]?this.options.emptyAs:r[n],a&&(d[i]=this.maybeToEmpty(d[i])),u&&(d[i]=this.maybeToNumber(i,d[i])),l&&(d[i]=this.maybeToDate(i,d[i]));h.push(d)}return h},e.prototype.CSVToArray=function(t,e){e=e||",";for(var i=new RegExp("(\\"+e+'|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\'+e+"\\r\\n]*))","gi"),n=[[]],r=null;r=i.exec(t);){var o=r[1];o.length&&o!==e&&n.push([]);var s=void 0;s=r[2]?r[2].replace(new RegExp('""',"g"),'"'):r[3],n[n.length-1].push(s)}return n},e}(r._)},77094:function(t,e,i){i.d(e,{R:function(){return u},x:function(){return l}});var n=i(13879),r=i(9312),o=i(61765),s=i(2431),a=i(36442),u=function(){function t(){this.adapter=new o.L1(this)}return t.prototype.load=function(t){var e=Array.isArray(t)?t:[t],i=a.map(e,(function(t){return t.dispatchImmediately("started"),t.dispatchImmediately("loadstarted"),s.load(t.url,t,t.requestOptions)}));Promise.all(i).then((function(t){a.each(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))return i;if(r.c.isJSON(t))return this.getParserByType("json");
1if(n.t.isCSV(t))return this.getParserByType("csv")}return i},t}(),l=new u},24166:function(t,e,i){i.d(e,{_:function(){return s}});var n=i(25449),r=i(80008),o=i(24306),s=function(){function t(){}return t.prototype.parse=function(t){return[]},Object.defineProperty(t.prototype,"parsableNumbers",{get:function(){return this.options.numberFields&&this.options.numberFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToNumber=function(t,e){return-1!==this.options.numberFields.indexOf(t)?r.anyToNumber(e):e},Object.defineProperty(t.prototype,"parsableDates",{get:function(){return this.options.dateFields&&this.options.dateFields.length>0},enumerable:!0,configurable:!0}),t.prototype.maybeToDate=function(t,e){return-1!==this.options.dateFields.indexOf(t)?this.options.dateFormatter.parse(e,this.dateFormat):e},t.prototype.maybeToEmpty=function(t){return o.hasValue(t)&&""!=t||!o.hasValue(this.options.emptyAs)?t:this.options.emptyAs},Object.defineProperty(t.prototype,"dateFormatter",{get:function(){return this.options.dateFormatter||(this.options.dateFormatter=new n.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}()},21459:function(t,e,i){i.d(e,{o:function(){return f}});var n=i(19845),r=i(77094),o=i(9312),s=i(13879),a=i(73870),u=i(61765),l=i(58076),h=i(25449),c=i(69260),p=i(24306),d=i(59205),f=function(t){function e(e,i){var n=t.call(this)||this;return n.adapter=new u.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))),!p.hasValue(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"),p.hasValue(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 o.c),this.adapter.apply("parser",this._parser)},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?p.hasValue(this._reloadDisposer)||(this._reloadDisposer=this.events.on("ended",(function(t){e._reloadTimeout=setTimeout((function(){e.load()}),e.reloadFrequency)}))):p.hasValue(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 h.C,this.dateFormatter)},set:function(t){this._dateFormatter=t},enumerable:!0,configurable:!0}),e.prototype.timestampUrl=function(t){var e={};return e[(new Date).getTime().toString()]="",this.addUrlParams(t,e)},e.prototype.dispose=function(){t.prototype.dispose.call(this),this._reloadTimeout&&clearTimeout(this._reloadTimeout),p.hasValue(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.each(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){c.i.registeredClasses.json=o.c,c.i.registeredClasses.JSONParser=o.c,c.i.registeredClasses.csv=s.t,c.i.registeredClasses.CSVParser=s.t,t.prototype.processConfig.call(this,e)},e}(a.y)}
1,9312:function(t,e,i){i.d(e,{c:function(){return a}});var n=i(19845),r=i(24166),o=i(59205),s=i(24306),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{s.hasValue(JSON)&&(e=JSON.parse(t))}catch(c){return}var n=s.hasValue(this.options.emptyAs),r=this.parsableNumbers,a=this.parsableDates;if(Array.isArray(e)&&(r||a||n))for(var u=function(t,s){var u=e[t];o.each(u,(function(t,e){n&&(u[t]=i.maybeToEmpty(u[t])),r&&(u[t]=i.maybeToNumber(t,u[t])),a&&(u[t]=i.maybeToDate(t,u[t]))}))},l=0,h=e.length;l<h;l++)u(l);return e},e}(r._)},81991:function(t,e,i){i.d(e,{n:function(){return r}});var n=i(86820),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}()},7644:function(t,e,i){i.d(e,{Q:function(){return c}});var n=i(19845),r=i(71121),o=i(39866),s=i(39276),a=i(90176),u=i(48864),l=i(59205),h=i(71334),c=function(t){function e(){var e=t.call(this)||this;return e.className="Cone",e.angle=30,e.radius=(0,u.aQ)(100),e.topRadius=(0,u.aQ)(100),e.top=e.createChild(s.P),e.top.shouldClone=!1,e.bottom=e.createChild(s.P),e.bottom.shouldClone=!1,e.body=e.createChild(o.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.copyProperties(this,this.top,o.hh),l.copyProperties(this,this.bottom,o.hh),l.copyProperties(this,this.body,o.hh);var e,i,n,r=this.innerWidth,s=this.innerHeight,a=this.bottom,u=this.top,c=this.angle;"horizontal"==this.orientation?(e=s/2,a.y=s/2,a.x=0,u.y=s/2,u.x=r,i=(90-c)/90,n=0,this.bodyFillModifier.gradient.rotation=90):(i=0,n=(90-c)/90,e=r/2,a.y=s,a.x=r/2,u.x=r/2,this.bodyFillModifier.gradient.rotation=0);var p,d=this.radius.value*e,f=this.topRadius.value*e;a.radius=d-d*i,a.radiusY=d-d*n,u.radius=f-f*i,u.radiusY=f-f*n,p="horizontal"==this.orientation?h.moveTo({x:0,y:s/2-a.radiusY})+h.arcTo(-90,-180,a.radius,a.radiusY)+h.lineTo({x:r,y:s/2+u.radiusY})+h.arcTo(90,180,u.radius,u.radiusY)+h.closePath():h.moveTo({x:r/2-u.radius,y:0})+h.arcTo(180,-180,u.radius,u.radiusY)+h.lineTo({x:r/2+a.radius,y:s})+h.arcTo(0,180,a.radius,a.radiusY)+h.closePath(),this.body.path=p},Object.defineProperty(e.prototype,"angle",{get:function(){return this.getPropertyValue("angle")},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){return this.getPropertyValue("radius")},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"topRadius",{get:function(){return this.getPropertyValue("topRadius")},set:function(t){this.setPropertyValue("topRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t,!0)},enumerable:!0,configurable:!0}),e}(r.W)},96206:function(t,e,i){i.d(e,{l:function(){return d}});var n=i(19845),r=i(71121),o=i(39866),s=i(64112),a=i(71334),u=i(86820),l=i(38634),h=i(49329),c=i(39269),p=i(24306),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(o.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(o.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(o.jy);r.shouldClone=!1,r.setElement(e.paper.add("path")),r.isMeasured=!1,e.sideLeft=r,e._disposers.push(e.sideLeft);var s=e.createChild(o.jy);s.shouldClone=!1,s.setElement(e.paper.add("path")),s.isMeasured=!1,e.sideRight=s,e._disposers.push(e.sideRight);var a=e.createChild(o.jy);a.shouldClone=!1,a.setElement(e.paper.add("path")),a.isMeasured=!1,e.sideTop=a,e._disposers.push(e.sideTop);var u=e.createChild(o.jy);return u.shouldClone=!1,u.setElement(e.paper.add("path")),u.isMeasured=!1,e.sideFront=u,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,o=s.sin(r),u=s.cos(r),l={x:0,y:0},h={x:e,y:0},c={x:e,y:i},p={x:0,y:i},d={x:n*u,y:-n*o},f={x:n*u+e,y:-n*o},g={x:n*u+e,y:-n*o+i},y={x:n*u,y:-n*o+i};this.sideFront.path=a.moveTo(l)+a.lineTo(h)+a.lineTo(c)+a.lineTo(p)+a.closePath(),this.sideBack.path=a.moveTo(d)+a.lineTo(f)+a.lineTo(g)+a.lineTo(y)+a.closePath(),this.sideLeft.path=a.moveTo(l)+a.lineTo(d)+a.lineTo(y)+a.lineTo(p)+a.closePath(),this.sideRight.path=a.moveTo(h
1)+a.lineTo(f)+a.lineTo(g)+a.lineTo(c)+a.closePath(),this.sideBottom.path=a.moveTo(p)+a.lineTo(y)+a.lineTo(g)+a.lineTo(c)+a.closePath(),this.sideTop.path=a.moveTo(l)+a.lineTo(d)+a.lineTo(f)+a.lineTo(h)+a.closePath()},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),p.isObject(e)&&!("r"in e)||(e=(0,u.p9)(e)),e instanceof u.Il)i=e.hex;else if(e instanceof h.o||e instanceof l.X)i=e.stops.getIndex(0).color.hex;else{var n=new c.H;n.lightness=-.2,this.sideBack.filters.push(n);var r=n.clone();r.lightness=-.4,this.sideLeft.filters.push(r);var o=n.clone();o.lightness=-.2,this.sideRight.filters.push(o);var s=n.clone();s.lightness=-.1,this.sideTop.filters.push(s);var a=n.clone();a.lightness=-.5,this.sideBottom.filters.push(a)}i&&(this.sideBack.fill=(0,u.$_)(i).lighten(-.2),this.sideLeft.fill=(0,u.$_)(i).lighten(-.4),this.sideRight.fill=(0,u.$_)(i).lighten(-.2),this.sideTop.fill=(0,u.$_)(i).lighten(-.1),this.sideBottom.fill=(0,u.$_)(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)},25924:function(t,e,i){i.d(e,{V:function(){return d}});var n=i(19845),r=i(59847),o=i(39866),s=i(64112),a=i(71334),u=i(24306),l=i(86820),h=i(38634),c=i(49329),p=i(39269),d=function(t){function e(){var e=t.call(this)||this;e.className="Slice3D",e.layout="none";var i=e.createChild(o.jy);e.edge=i,i.shouldClone=!1,i.isMeasured=!1,i.toBack(),e.angle=30,e.depth=20;var n=e.createChild(o.jy);e.sideA=n,n.shouldClone=!1,n.isMeasured=!1;var r=e.createChild(o.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 c.o||e instanceof h.X)i=e.stops.getIndex(0).color.hex;else{var n=new p.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,o=this.radius,u=e+i,l=r/o*n,h={x:s.cos(e)*n,y:s.sin(e)*l},c={x:s.cos(e)*o,y:s.sin(e)*r},p={x:s.cos(u)*o,y:s.sin(u)*r},d={x:s.cos(u)*n,y:s.sin(u)*l},f=this.depth,g={x:h.x,y:h.y-f},y={x:c.x,y:c.y-f},m={x:p.x,y:p.y-f},v={x:d.x,y:d.y-f},b="",_=Math.ceil(i/5),x=i/_,w=e,P=y,T=0;T<_;T++)if((w+=x)>0&&w<180){b+=a.moveTo(P);var O={x:s.cos(w)*o,y:s.sin(w)*r-f};b+=a.lineTo({x:P.x,y:P.y+f}),b+=a.arcToPoint({x:O.x,y:O.y+f},o,r,!0),b+=a.lineTo(O),b+=a.arcToPoint(P,o,r),b+="z",P=O}else{b+=a.moveTo(P);O={x:s.cos(w)*o,y:s.sin(w)*r-f};b+=a.arcToPoint(O,o,r,!0),b+=a.lineTo({x:O.x,y:O.y+f}),b+=a.arcToPoint({x:P.x,y:P.y+f},o,r),b+=a.lineTo(P),b+="z",P=O}P=g,w=e;for(T=0;T<_;T++)if((w+=x)>0&&w<180){b+=a.moveTo(P);O={x:s.cos(w)*n,y:s.sin(w)*l-f};b+=a.lineTo({x:P.x,y:P.y+f}),b+=a.arcToPoint({x:O.x,y:O.y+f},n,l,!0),b+=a.lineTo(O),b+=a.arcToPoint(P,n,l),b+="z",P=O}else{b+=a.moveTo(P);O={x:s.cos(w)*n,y:s.sin(w)*l-f};b+=a.arcToPoint(O,n,l,!0),b+=a.lineTo({x:O.x,y:O.y+f}),b+=a.arcToPoint({x:P.x,y:P.y+f},n,l),b+=a.lineTo(P),b+="z",P=O}this.edge.path=b,this.sideA.path=a.moveTo(h)+a.lineTo(c)+a.lineTo(y)+a.lineTo(g)+a.closePath(),this.sideB.path=a.moveTo(p)+a.lineTo(d)+a.lineTo(v)+a.lineTo(m)+a.closePath(),this.startAngle<90?this.sideA.toBack():this.sideA.toFront(),this.startAngle+this.arc>90?this.sideB.toBack():this.sideB.toFront(),this.slice.dy=-f}else this.sideA.hide(0),this.sideB.hide(0),this.edge.hide(0)},Object.defineProperty(e.prototype,"depth",{get:function(){return this.getPropertyValue("depth")},set:function(t){this.setPropertyValue("depth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"angle",{get:function(){var t=this.getPropertyValue("angle");return u.isNumber(t)||(t=0),t},set:function(t){this.setPropertyValue("angle",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radiusY",{get:function(){var t=this.getPropertyValue("radiusY");return u.isNumber(t)||(t=this.radius-this.radius*this.angle/90),t},set:function(t){this.setPropertyValue("radiusY",t,!0)},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.edge.copyFrom(e.edge),this.sideA.copyFrom(e.sideA),this.sideB.copyFrom(e.sideB)},e}(r.p)}
1,91290:function(t,e,i){i.d(e,{z:function(){return l}});var n=i(19845),r=i(71121),o=i(5590),s=i(6701),a=i(62e3),u=i(69260),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 o._,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 s=n.states.create("down");return s.transitionDuration=100,s.properties.fill=i.getFor("secondaryButtonDown"),s.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}),e.prototype.createBackground=function(){return new s.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);u.i.registeredClasses.Button=l},84713:function(t,e,i){i.d(e,{C:function(){return l}});var n=i(19845),r=i(39866),o=i(48864),s=i(69260),a=i(80008),u=i(64112),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,o.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.relativeToValue(this.radius,u.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),e.prototype.measureElement=function(){var t=this.pixelRadius;this._bbox={x:-t,y:-t,width:2*t,height:2*t}},e}(r.jy);s.i.registeredClasses.Circle=l},39276:function(t,e,i){i.d(e,{P:function(){return s}});var n=i(19845),r=i(84713),o=i(69260),s=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);o.i.registeredClasses.Ellipse=s},5590:function(t,e,i){i.d(e,{_:function(){return g}});var n=i(19845),r=i(71121),o=i(69260),s=i(96139),a=i(29138),u=i(62e3),l=i(64112),h=i(80008),c=i(24306),p=i(43281),d=i(45121),f=i(99934),g=function(t){function e(){var e=t.call(this)||this;return e.isOversized=!1,e.className="Label",e.fill=(new u.h).getFor("text"),e.wrap=!1,e.truncate=!1,e.fullWords=!0,e.ellipsis="\u2026",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||o.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;h.isNotEmpty(this.html)&&this.paper.supportsForeignObject()?(t="html",e=this.html):(t="svg",e=this.text),c.isObject(e)&&(e=e.toString()),c.hasValue(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.max(this.availableWidth-this.pixelPaddingLeft-this.pixelPaddingRight,0),o=l.max(this.availableHeight-this.pixelPaddingTop-this.pixelPaddingBottom,0),a=o+","+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 u=this._currentFormat,p=this.currentText;if(c.hasValue(p)&&""!=p){var d=p.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"===u){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,s.k)().chunk(b,null,this.ignoreFormatting),x=0,w=!0,P=!1,T=this.getLineInfo(v);T?(T.text="",T.element.textContent=""):(T={text:"",element:this.getSVGLineElement("",0),complex:!1},g.add(T.element)),T.element.removeAttr("display"),T.element.removeChildren(),this.textPathElement&&T.element.add(this.textPathElement);for(var O=0;O<_.length;O++){O&&(T.complex=!0);var C=_[O];if("format"===C.type)m=C.text;else{if(P)continue;if(T.text=C.text,T.style=(0,s.k)().translateStyleShortcuts(m),this.textPathElement?this.get
1SvgElement(T.text,T.style,this.textPathElement):this.getSvgElement(T.text,T.style,T.element),this.getLineBBox(T),T.bbox.width=Math.ceil(T.bbox.width),x<T.bbox.height&&(x=T.bbox.height),(this.wrap||this.truncate)&&T.bbox.width>r){this.isOversized=!0;var S=T.element.textContent,k=T.bbox.width/S.length,D=l.min(Math.ceil((T.bbox.width-r)/k),S.length);if(this.truncate){var I=!1,V=T.element.node;if(V&&V.childNodes)for(var M=T.element.node.childNodes.length-1;M>=0;M--){var E=T.element.node.childNodes[M];if(I&&T.bbox.width<=r&&(E.textContent+=" "+this.ellipsis,T.bbox=T.element.getBBox(),T.bbox.width=Math.floor(T.bbox.width),T.bbox.width<=r))break;I=!1;var j=E.textContent;for(S=T.element.textContent,D=l.min(Math.ceil((T.bbox.width-r)/k),S.length);T.bbox.width>r&&D<=S.length&&D>0;){(L=l.max(S.length-D-this.ellipsis.length,1))<=1&&(D=0,M>0&&(I=!0,T.element.node.removeChild(E))),(j=h.truncateWithEllipsis(j,L,this.ellipsis,this.fullWords,this.rtl)).length>L&&this.fullWords&&(j=h.truncateWithEllipsis(j,L,this.ellipsis,!1,this.rtl)),E.textContent=j,T.bbox=T.element.getBBox(),T.bbox.width=Math.floor(T.bbox.width),D=Math.ceil(1.1*D)}P=!0}}else{if(T.element.node){for(var F=T.element.node.lastChild,N=void 0;T.bbox.width>r&&D<=S.length&&D>0;){var L=l.max(C.text.length-D,1);if(w?N=h.splitTextByCharCount(C.text,L,!0,this.rtl):((N=h.splitTextByCharCount(C.text,L,!0,this.rtl,!1))[0].length>L||1===L)&&(T.element.node.removeChild(F),D=0),D>0){var R=N.shift();w&&(R=h.trim(R)),F.textContent=(0,s.k)().cleanUp(R)}T.bbox=T.element.getBBox(),T.bbox.width=Math.floor(T.bbox.width),D++}if(N.length>0){var B="";c.hasValue(N)&&(this.rtl?B+=N.join("")+m:B+=m+N.join("").replace(/([\[\]]{1})/g,"$1$1"));for(var A=O+1;A<_.length;A++)"value"==_[A].type?B+=_[A].text.replace(/([\[\]]{1})/g,"$1$1"):B+=_[A].text;d.splice(v+1,0,B)}P=!0}}}this.bbox.width<T.bbox.width&&(this.bbox.width=T.bbox.width),this.bbox.height=y+x,this.textPathElement?T.element.attr({dy:-this.paddingBottom.toString()}):T.element.attr({x:"0",y:y+x,dy:l.round(this.baseLineRatio*x,3).toString()}),w=!1}}var H=T.element.node;if(H)(F=H.lastChild)&&(F.textContent=this.rtl?h.ltrim(F.textContent):h.rtrim(F.textContent));y+=x,this.addLineInfo(T,v)}else{var z=this.getSVGLineElement("",0);z.add(this.getSvgElement(".",(0,s.k)().translateStyleShortcuts(m))),g.add(z);var W=Math.ceil(z.getBBox().height);W>0&&(y+=W),g.removeElement(z);var U=this.getLineInfo(v);U&&(U.text="",U.element.textContent="")}}this.maybeHideOversized(),this.measureFailed=!1,0!=this.bbox.width&&0!=this.bbox.height||(this.measureFailed=!0),this._measuredWidth=l.round(l.max(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight)),this._measuredHeight=l.round(l.max(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom)),this.alignSVGText(),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,i==this._measuredHeight&&e==this._measuredWidth||this.dispatch("transformed"),this.hideUnused(d.length)}else{this.element.removeAttr("display"),this.resetBBox(),(g=this.element).removeChildren(),this.setCache("lineInfo",[],0);var G=this.paper.foreignObject();g.add(G),this.maxWidth&&G.attr({width:this.maxWidth-this.pixelPaddingLeft-this.pixelPaddingRight}),this.maxHeight&&G.attr({height:this.maxHeight-this.pixelPaddingTop-this.pixelPaddingBottom});var X=this.getHTMLLineElement(p);G.node.appendChild(X),X.style.display="inline-block";var Y=X.clientWidth,K=X.clientHeight;X.style.display="block",this._bbox={x:0,y:0,width:Y,height:K},G.attr({width:Y+1,height:K}),this.maybeHideOversized(),this._measuredWidth=l.max(this.bbox.width,this.pixelWidth-this.pixelPaddingLeft-this.pixelPaddingRight),this._measuredHeight=l.max(this.bbox.height,this.pixelHeight-this.pixelPaddingTop-this.pixelPaddingBottom),this.bbox.width=this._measuredWidth,this.bbox.height=this._measuredHeight,this.truncate&&(X.style.overflow="hidden"),(Y>r||K>o)&&(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;h.used(this.pixelPaddingLeft),h.used(this.pixelPaddingRight),h.used(this.pixelPaddingTop),h.used(this.pixelPaddingBottom),this.rtl?t.attr({direction:"rtl"}):t.removeAttr("direction");for(var r=e.length-1;r>=0;r--){var o=e[r];if(o.setAttribute("text-anchor",this.textAlign),this.textPathElement)o.removeAttribute("x"),o.removeAttribute("y");else{switch(this.textAlign){case"middle":o.setAttribute("x",(i/2).toString()+"px");break;case"end":this.rtl||o.setAttribute("x",i.toString());break;default:this.rtl?o.setAttribute("x",i.toString()):o.removeAttribute("text-anchor")}var s=c.toNumber(o.getAttribute("y"));switch(this.textValign){case"middle":o.setAttribute("y",((s||0)+(n-this.bbox.height)/2).toString());break;case"bottom":o.setAttribute("y",((s||0)+n-this.bbox.height).toString());break;default:o.setAttribute("y",(s||0).toString())}}}}},e.prototype.getSVGLineElement=function(t,e){var i=this.paper.addGroup("text");return i.textContent=t,i.attr({x:"0"}),c.hasValue(e)&&i.attr({y:e.toString()}),(this.truncate||this.wrap)&&i.attr({overflow:"hidden"}),i},Object.defineProperty(e.prototype,"rtl",{get:function(){return c.hasValue(this._rtl)?this._rtl:!!this._topParent&&this._topParent.rtl},set:function(t){t=c.toBoolean(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"}return this.wrap?e.style.wordWrap="break-word":e.style.whiteSpace="nowrap",this.rtl&&(e.style.direction="rtl"),c.hasValue(this.fill)&&(e.style.color=this.fill.toString()),e},e.prototype.setStyles=function(){var t=this.element;!this.selectable||this.draggable||this.resizable||this.swipeable?t.addStyle({webkitUserSelect:"none",msUserSelect:"none"}):this.selectable&&(t.removeStyle("webkitUserSelect"),t.removeStyle("msUserSelect"))},e.prototype.hideUnused=function(t){this.initLineCache();var e=this.getCache("lineInfo");if(e.length>=t)for(var i=t;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(p.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){(this.setPropertyValue("html",t,!0),c.hasValue(t))||this.element.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.node.getElementsByTagName("div"),n=0;n<i.length;n++){var r=i[n];c.hasValue(this.fill)&&(r.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(){c.hasValue(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 c.hasValue(this.maxWidth)?this.maxWidth:this.pixelWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"availableHeight",{get:function(){return c.hasValue(this.maxHeight)?this.maxHeight:this.pixelHeight},enumerable:!0,configurable:!0}),e.prototype.getSvgElement=function(t,e,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 o=document.createElementNS(p.qu,"defs");i.node.appendChild(o);var s=document.createElement("style");s.type="text/css",s.innerHTML="."+r+" { "+e+"}",s.setAttribute("nonce",f.Y.nonce),o.appendChild(s)}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(h.plainText(h.isNotEmpty(this.html)?this.html:this.text)),t},set:function(t){t=c.toText(t),this.setPropertyValue("readerTitle",t)&&this.applyAccessibility()},enumerable:!0,configurable:!0}),e}(r.W);o.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,45369:function(t,e,i){i.d(e,{x:function(){return h}});var n=i(19845),r=i(39866),o=i(86820),s=i(49329),a=i(69260),u=i(24306),l=i(64112),h=function(t){function e(){var e=t.call(this)||this;return e.className="Line",e.element=e.paper.add("line"),e.fill=(0,o.$_)(),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){u.isNumber(t)||(t=0);var e=0;this.pixelPerfect&&this.stroke instanceof s.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 u.isNumber(t)||(t=this.pixelWidth),t},set:function(t){u.isNumber(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){u.isNumber(t)||(t=0);var e=0;this.pixelPerfect&&this.stroke instanceof s.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 u.isNumber(t)||(t=this.pixelHeight),t},set:function(t){u.isNumber(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.getMidPoint(e,i,t),r=l.getAngle(e,i);return{x:n.x,y:n.y,angle:r}},e}(r.jy);a.i.registeredClasses.Line=h},70780:function(t,e,i){i.d(e,{u:function(){return s}});var n=i(19845),r=i(31508),o=i(61765),s=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.L1(e),e.className="Modal",e.showCurtain=!0,e.draggable=!1,e}return(0,n.ZT)(e,t),e}(r.G)},42393:function(t,e,i){i.d(e,{i:function(){return s}});var n=i(19845),r=i(93668),o=i(64112),s=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,s,a=this.pointerX,u=this.pointerY,l=this.pointerBaseWidth/2,h=o.min(i/2,n/2),c=o.fitToRange(e,0,h),p=o.fitToRange(e,0,h),d=o.fitToRange(e,0,h),f=o.fitToRange(e,0,h),g=void 0,y=void 0,m=void 0,v=void 0,b=(a-0)*(n-0)-(u-0)*(i-0),_=(a-0)*(0-n)-(u-n)*(i-0);if(b>0&&_>0)g="M"+c+",0 L"+((r=o.fitToRange(a,c+l,i-l-p))-l)+",0 L"+a+","+(u=o.fitToRange(u,-1/0,0))+" L"+(r+l)+",0 L"+(i-p)+",0";else g="M"+c+",0 L"+(i-p)+",0";if(b<0&&_<0)m=" L"+(i-d)+","+n+" L"+((r=o.fitToRange(a,f+l,i-l-d))+l)+","+n+" L"+a+","+(u=o.fitToRange(u,n,1/0))+" L"+(r-l)+","+n+" L"+f+","+n;else m=" L"+f+","+n;if(b<0&&_>0)v=" L0,"+(n-f)+" L0,"+((s=o.fitToRange(u,c+l,n-f-l))+l)+" L"+(a=o.fitToRange(a,-1/0,0))+","+u+" L0,"+(s-l)+" L0,"+c;else v=" L0,"+c;if(b>0&&_<0)y=" L"+i+","+p+" L"+i+","+((s=o.fitToRange(u,p+l,n-l-d))-l)+" L"+(a=o.fitToRange(a,i,1/0))+","+u+" L"+i+","+(s+l)+" L"+i+","+(n-d);else y=" L"+i+","+(n-d);var x=" a"+p+","+p+" 0 0 1 "+p+","+p,w=" a"+d+","+d+" 0 0 1 -"+d+","+d,P=" a"+f+","+f+" 0 0 1 -"+f+",-"+f,T=" a"+c+","+c+" 0 0 1 "+c+",-"+c;this.path=g+x+y+w+m+P+v+T}},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)},93668:function(t,e,i){i.d(e,{j:function(){return s}});var n=i(19845),r=i(39866),o=i(24306),s=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),o.isNumber(this.pointerX)||(this.pointerX=this.pixelWidth/2),o.isNumber(this.pointerY)||(this.pointerY=this.pixelHeight+10)},Object.defineProperty(e.prototype,"pointerBaseWidth",{get:function(){return this.getPropertyValue("pointerBaseWidth")},set:function(t){this.setPropertyValue("pointerBaseWidth",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerLength",{get:function(){return this.getPropertyValue("pointerLength")},set:function(t){this.setPropertyValue("pointerLength",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerX",{get:function(){return this.getPropertyValue("pointerX")},set:function(t){this.setPropertyValue("pointerX",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pointerY",{get:function(){return this.getPropertyValue("pointerY")}
1,set:function(t){this.setPropertyValue("pointerY",t,!0)},enumerable:!0,configurable:!0}),e}(r.jy)},92344:function(t,e,i){i.d(e,{y:function(){return u}});var n=i(19845),r=i(90525),o=i(69260),s=i(64112),a=i(71334),u=function(t){function e(){var e=t.call(this)||this;return e.className="Polyarc",e.controlPointDistance=.5,e.controlPointPosition=.5,e.applyTheme(),e}return(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],o=[];if(this._realSegments.push(o),r.length>0){e+=a.moveTo(r[0]);for(var u=1;u<r.length;u++){var l=r[u-1],h=r[u],c=s.getDistance(h,l),p=c*this.controlPointDistance,d=this.controlPointPosition,f=-s.getAngle(l,h),g={x:l.x+(h.x-l.x)*d*.5-p*s.sin(f),y:l.y+(h.y-l.y)*d*.5-p*s.cos(f)},y={x:l.x+(h.x-l.x)*d*1.5-p*s.sin(f),y:l.y+(h.y-l.y)*d*1.5-p*s.cos(f)};e+=a.cubicCurveTo(h,g,y);var m=Math.ceil(c),v=l;if(m>0)for(var b=0;b<=m;b++){var _=s.getPointOnCubicCurve(l,h,g,y,b/m);o.push(_),this._distance+=s.getDistance(v,_),v=_}else o.push(l)}}}this.path=e}},Object.defineProperty(e.prototype,"controlPointPosition",{get:function(){return this.getPropertyValue("controlPointPosition")},set:function(t){this.setPropertyValue("controlPointPosition",t),this.makePath()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controlPointDistance",{get:function(){return this.getPropertyValue("controlPointDistance")},set:function(t){this.setPropertyValue("controlPointDistance",t),this.makePath()},enumerable:!0,configurable:!0}),e}(r.a);o.i.registeredClasses.Polyarc=u},61683:function(t,e,i){i.d(e,{m:function(){return l}});var n=i(19845),r=i(39866),o=i(80271),s=i(69260),a=i(71334),u=i(24306),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).split("ZM"),n=0;n<i.length;n++){var r=i[n];if(r.length>0){var o=r.split("M"),s=o[0],a=o[1];if(s&&s.length>0){var u=s.split("L");if(u.length>0){var l=[],h=[l];t.push(h);for(var c=0;c<u.length;c++){var p=u[c].split(",");l.push({x:+p[0],y:+p[1]})}if(a&&a.length>0){var d=a.split("L");if(d.length>0){var f=[];h.push(f);for(c=d.length-1;c>=0;c--){p=d[c].split(",");f.push({x:+p[0],y:+p[1]})}}}}}}}this.setPropertyValue("points",t),this._currentPoints=t}return t},set:function(t){this.setPropertyValue("points",t,!0),this._currentPoints=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentPoints",{get:function(){return this._currentPoints&&0!=this._currentPoints.length||!this.path||(this._currentPoints=this.points),this._currentPoints},set:function(t){this._currentPoints!=t&&(this._currentPoints=t,this.draw())},enumerable:!0,configurable:!0}),e.prototype.draw=function(){var e,i,n,r,o="",s=this._currentPoints;if(s.length>0){for(var l=0,h=s.length;l<h;l++){var c=s[l][0],p=s[l][1];if(c&&c.length>0){var d=c[0];o+=a.moveTo(d);for(var f=0;f<c.length;f++)d=c[f],o+=a.lineTo(d),(!u.isNumber(i)||i<d.x)&&(i=d.x),(!u.isNumber(e)||e>d.x)&&(e=d.x),(!u.isNumber(n)||n>d.y)&&(n=d.y),(!u.isNumber(r)||r<d.y)&&(r=d.y)}if(p&&p.length>0){d=p[0];o+=a.moveTo(d);for(var g=0,y=p.length;g<y;g++)d=p[g],o+=a.lineTo(d)}}o&&(o+=a.closePath()),this.bbox.x=e,this.bbox.y=n,this.bbox.width=i-e,this.bbox.height=r-n,t.prototype.setPath.call(this,o)}},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 o.T(this),this._disposers.push(this._morpher)),this._morpher},enumerable:!0,configurable:!0}),e}(r.jy);s.i.registeredClasses.Polygon=l}
1,90525:function(t,e,i){i.d(e,{a:function(){return l}});var n=i(19845),r=i(39866),o=i(86820),s=i(69260),a=i(71334),u=i(64112),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,o.$_)(),e.strokeOpacity=1,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){for(var e="",i=0,n=t.length;i<n;i++){var r=t[i];if(r.length>0){e+=a.moveTo(r[0]);for(var o=1;o<r.length;o++){var s=r[o];e+=a.lineTo(s),this._distance+=u.getDistance(r[o-1],s)}}}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,o=0,s=0,a=void 0,l=void 0,h=0;h<i.length;h++){var c=i[h];if(c.length>1){for(var p=1;p<c.length;p++)if(a=c[p-1],l=c[p],o=r/n,s=(r+=u.getDistance(a,l))/n,o<=t&&s>t){h=i.length;break}}else 1==c.length&&(a=c[0],l=c[0],o=0,s=1)}if(a&&l){var d=(t-o)/(s-o),f=u.getMidPoint(a,l,d);return{x:f.x,y:f.y,angle:e+u.getAngle(a,l)}}}return{x:0,y:0,angle:0}},Object.defineProperty(e.prototype,"realSegments",{get:function(){return this._realSegments},enumerable:!0,configurable:!0}),e}(r.jy);s.i.registeredClasses.Polyline=l},7688:function(t,e,i){i.d(e,{o:function(){return l}});var n=i(19845),r=i(90525),o=i(69260),s=i(64112),a=i(24306),u=i(71334),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,o=t.length;r<o;r++){var a=t[r],l=[];if(this._realSegments.push(l),a.length>0){var h=a[0],c=a[a.length-1],p=!1;
1s.round(h.x,3)==s.round(c.x)&&s.round(h.y)==s.round(c.y)&&(p=!0),n+=u.moveTo(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=p?a[a.length-2]:a[r]:d==a.length-2&&(m=p?a[1]:a[d+1]);var v=s.getCubicControlPointA(f,g,y,m,e,i),b=s.getCubicControlPointB(f,g,y,m,e,i);n+=u.cubicCurveTo(y,v,b);var _=1.2*Math.ceil(s.getCubicCurveDistance(g,y,v,b,20)),x=g;if(_>0)for(var w=0;w<=_;w++){var P=s.getPointOnCubicCurve(g,y,v,b,w/_);if(P.x!=x.x||P.y!=x.y){l.push(P);var T=s.round(s.getAngle(x,P),5);this._distance+=s.getDistance(x,P),this.allPoints[Math.floor(this._distance)]={x:P.x,y:P.y,angle:T},x=P}}else l.push(f)}}var O=this.allPoints;if(O.length>1)for(var C=0;C<O.length;C++)if(!O[C])if(C>1)O[C]=O[C-1];else for(var S=1;S<O.length;S++)if(O[S]){O[C]=O[S];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 o=s.getDistance(t,i[r]);o<n&&(e=r,n=o)}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.isNumber(t)||(t=0),r>1){if(e&&r>3){if(t<0){t<-.01&&(t=-.01);var o=n[0],u=n[1];return{x:l=o.x-(o.x-u.x)*r*t,y:h=o.y-(o.y-u.y)*r*t,angle:s.getAngle(o,u)}}if(t>1){t>1.01&&(t=1.01);var l,h;o=n[n.length-2],u=n[n.length-3];return{x:l=o.x+(o.x-u.x)*r*(t-1),y:h=o.y+(o.y-u.y)*r*(t-1),angle:s.getAngle(o,{x:l,y:h})}}if(1==t){var c=n[n.length-1];return{x:c.x,y:c.y,angle:c.angle}}}else t<0&&(t=Math.abs(t),i=180),t>=1&&(t=.9999999999999);var p;return{x:(p=n[Math.floor(t*r)]).x,y:p.y,angle:p.angle+i}}return 1==r?{x:(p=n[0]).x,y:p.y,angle:p.angle}:{x:0,y:0,angle:0}},e}(r.a);o.i.registeredClasses.Polyspline=l},31508:function(t,e,i){i.d(e,{G:function(){return g}});var n=i(19845),r=i(43281),o=i(3485),s=i(29138),a=i(62e3),u=new o.Xy;var l=i(61765),h=i(73870),c=i(406),p=i(67556),d=i(24306),f=i(59205),g=function(t){function e(){var e=t.call(this)||this;return e.adapter=new l.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 o=n[r];if(!o.complete){o.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)}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)}}}),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 d.hasValue(t)?d.isNumber(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 o=document.createElement("div");o.className=t.insideClass,o.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(o),this.container.appendChild(e),this._elements.wrapper=e,this._elements.header=n,this._elements.content=o,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(function(t,e){e||(e="ampopup");var i=new a.h,n=i.getFor("text"),o=i.getFor("background");o.alpha=.8;
1var l=i.getFor("alternativeBackground");return l.alpha=.05,u.insertKeyIfEmpty(e,(function(){var i=new s.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":o.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:o.hex,"background-color":o.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 s.DM((function(){u.removeKey(e),i.dispose()}))})).increment()}((0,r.Ay)(this.container),this.classPrefix)),f.each(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){p.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 s.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(){d.hasValue(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}(h.y)},44545:function(t,e,i){i.d(e,{A:function(){return a}});var n=i(19845),r=i(39866),o=i(69260),s=i(64112),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=s.round(this.innerWidth,e),n=s.round(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);o.i.registeredClasses.Rectangle=a},34262:function(t,e,i){i.d(e,{H:function(){return l}});var n=i(19845),r=i(91290),o=i(39866),s=i(62e3),a=i(69260),u=i(71334),l=function(t){function e(){var e=t.call(this)||this;e.className="ResizeButton",e.orientation="horizontal",e.layout="absolute",e.horizontalCenter="middle",e.verticalCenter="middle",e.draggable=!0,e.padding(8,8,8,8),e.background.cornerRadius(20,20,20,20);var i=new o.jy;i.element=e.paper.add("path");var n=u.moveTo({x:-2,y:-6});return n+=u.lineTo({x:-2,y:6}),n+=u.moveTo({x:2,y:-6}),n+=u.lineTo({x:2,y:6}),i.path=n,i.pixelPerfect=!0,i.padding(0,4,0,4),i.stroke=(new s.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}
1,6701:function(t,e,i){i.d(e,{c:function(){return l}});var n=i(19845),r=i(39866),o=i(69260),s=i(64112),a=i(24306),u=i(80008),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.isNumber(e)&&a.isNumber(i)){var n=s.min(e,i)/2,r=u.relativeToValue(this.cornerRadiusTopLeft,n),o=u.relativeToValue(this.cornerRadiusTopRight,n),l=u.relativeToValue(this.cornerRadiusBottomRight,n),h=u.relativeToValue(this.cornerRadiusBottomLeft,n),c=s.min(Math.abs(e/2),Math.abs(i/2)),p=s.fitToRange(r,0,c),d=s.fitToRange(o,0,c),f=s.fitToRange(l,0,c),g=s.fitToRange(h,0,c),y="M"+p+",0 L"+(e-d)+",0"+(" a"+d+","+d+" 0 0 1 "+d+","+d)+(" L"+e+","+(i-f))+(" a"+f+","+f+" 0 0 1 -"+f+","+f)+(" L"+g+","+i)+(" a"+g+","+g+" 0 0 1 -"+g+",-"+g)+(" L0,"+p)+(" a"+p+","+p+" 0 0 1 "+p+",-"+p)+" Z";this.path=y}},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);o.i.registeredClasses.RoundedRectangle=l},39065:function(t,e,i){i.d(e,{L:function(){return v}});var n=i(19845),r=i(71121),o=i(34262),s=i(91290),a=i(406),u=i(3856),l=i(6701),h=i(69260),c=i(67556),p=i(62e3),d=i(48864),f=i(64112),g=i(70522),y=i(24306),m=i(80008),v=function(t){function e(){var e=t.call(this)||this;e._previousStart=0,e._previousEnd=1,e._prevStart=0,e._prevEnd=1,e._isBusy=!1,e._skipRangeEvents=!1,e.updateWhileMoving=!0,e.className="Scrollbar",e.minHeight=12,e.minWidth=12,e.animationDuration=0,e.animationEasing=g.cubicOut,e.margin(10,10,10,10);var i=new p.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 o.H,e.endGrip=new o.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":"0"}),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.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB to select grip buttons or left and right arrows to change selection")),y.hasValue(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use left and right arrows to move selection")),y.hasValue(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use left and right arrows to move left selection")),y.hasValue(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use left and right arrows to move right selection")),this.readerOrientation="horizontal"):(y.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Use TAB select grip buttons or up and down arrows to change selection")),y.hasValue(this.thumb.readerDescription)||(this.thumb.readerDescription=this.language.translate("Use up and down arrows to move selection")),y.hasValue(this.startGrip.readerDescription)||(this.startGrip.readerDescription=this.language.translate("Use up and down arrows to move upper selection")),y.hasValue(this.endGrip.readerDescription)||(this.endGrip.readerDescription=this.language.translate("Use up and down arrows to move lower selection")),this.readerOrientation="vertical"),this.readerControls=this.baseSprite.uidAttr()},e.prototype.validateLayout=function(){this.updateSize(),t.prototype.validateLayout.call(this),this.updateExtremes()}
1,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.spritePointToSprite(e,this.background,this);var i=this.thumb;if("horizontal"==this.orientation){var n=e.x-i.pixelWidth/2;n=f.fitToRange(n,0,this.innerWidth-i.pixelWidth),this._thumbAnimation=i.animate({property:"x",to:n},this.animationDuration,this.animationEasing)}else{var r=e.y-i.pixelHeight/2;r=f.fitToRange(r,0,this.innerHeight-i.pixelHeight),this._thumbAnimation=i.animate({property:"y",to:r},this.animationDuration,this.animationEasing)}this.animationDuration>0?this._thumbAnimation.events.on("animationended",this.makeUnbusy,this,!1):(this._thumb.validate(),this.makeUnbusy())},e.prototype.makeBusy=function(){this._isBusy=!0,this._skipRangeEvents=!1,this._unbusyTimeout&&this.removeDispose(this._unbusyTimeout),this._unbusyTimeout=void 0,this.stopAnimations()},e.prototype.stopAnimations=function(){this._thumbAnimation&&this._thumbAnimation.stop(!0),this._zoomAnimation&&this._zoomAnimation.stop(!0)},e.prototype.makeUnbusy=function(){this._unbusyTimeout=this.setTimeout(this.makeUnbusyReal.bind(this),1.1*this.animationDuration)},e.prototype.makeUnbusyReal=function(){this._usingGrip=void 0,this._isBusy=!1,this.updateWhileMoving||this.dispatchRangeChange()},e.prototype.dispatchRangeChange=function(){this._previousEnd==this.end&&this._previousStart==this.start||(this._previousStart=this.start,this._previousEnd=this.end,this.dispatch("rangechanged"))},e.prototype.updateThumb=function(t){if(void 0===t&&(t=!0),this.parent){var e,i,n=this.thumb,r=this.start,o=this.end,s=this.startGrip,a=this.endGrip,u=this.adapter.apply("positionValueDirection",{flipped:!1}).flipped,l=u?"To %1":"From %1",h=u?"From %1":"To %1";if("horizontal"==this.orientation){var c=this.innerWidth;n.width=c*(o-r),n.maxX=c-n.pixelWidth,n.x=r*c,s.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*o)+"%",position:o}).value,s.readerTitle=this.language.translate(l,void 0,e),s.readerValueNow=""+Math.round(100*r),s.readerValueText=s.readerTitle,a.readerTitle=this.language.translate(h,void 0,i),a.readerValueNow=""+Math.round(100*o),a.readerValueText=a.readerTitle}else{var p=this.innerHeight;n.height=p*(o-r),n.maxY=p-n.pixelHeight,n.y=(1-o)*p,s.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-o))+"%",position:1-o}).value,s.readerTitle=this.language.translate(h,void 0,e),s.readerValueNow=""+Math.round(100*r),s.readerValueText=s.readerTitle,a.readerTitle=this.language.translate(l,void 0,i),a.readerValueNow=""+Math.round(100*o),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=0,e=0,i=0,n=0;"horizontal"==this.orientation?(i=this.innerWidth,e=n=this.innerHeight/2):(n=this.innerHeight,t=i=this.innerWidth/2);var r=this.startGrip;r.minX=t,r.maxX=i,r.minY=e,r.maxY=n;var o=this.endGrip;o.minX=t,o.maxX=i,o.minY=e,o.maxY=n;var s=this.thumb;s.minX=t,s.maxX=i,s.minY=e,s.maxY=n},e.prototype.updateSize=function(){var t=this.orientation,e=this.startGrip;e&&(e.orientation=t),this.endGrip&&(this.endGrip.orientation=t);var i=this.thumb;i&&("horizontal"==t?(y.isNumber(this._pixelWidth)||this.width instanceof d.gG||(this.width=(0,d.aQ)(100)),y.hasValue(this.percentHeight)&&(this.height=this.minHeight),i.height=this.innerHeight,i.verticalCenter="middle",i.horizontalCenter="left"):(y.isNumber(this._pixelHeight)||this.height instanceof d.gG||(this.height=(0,d.aQ)(100)),y.hasValue(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.round(this._start,2)&&t.end==f.round(this._end,2)||(this._start=t.start,this._end=t.end,this._skipRangeEvents=!0,this.updateThumb(),this._skipRangeEvents=!1,this.thumb.validate(),this.thumb.background.validate())},e.prototype.getPosition=function(t){return f.fitToRange(f.round(t,4),0,1)},Object.defineProperty(e.prototype,"orientation",{get:function(){return this.getPropertyValue("orientation")},set:function(t){this.setPropertyValue("orientation",t)&&("horizontal"===t?(this.startGrip.cursorOverStyle=u.c.horizontalResize,this.endGrip.cursorOverStyle=u.c.horizontalResize):(this.startGrip.cursorOverStyle=u.c.verticalResize,this.endGrip.cursorOverStyle=u.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 s.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=u.c.grab,t.cursorDownStyle=u.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){c.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,o=t.innerHeight,s=t.pixelY;s+o>r&&(s=r-o,t.y=s),this._start=1-(s+o)/r,this._end=1-s/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);h.i.registeredClasses.Scrollbar=v},59847:function(t,e,i){i.d(e,{p:function(){return d}});var n=i(19845),r=i(71121),o=i(39866),s=i(69260),a=i(64112),u=i(71334),l=i(24306),h=i(80008),c=i(48864),p=i(38634),d=function(t){function e(){var e=t.call(this)||this;return e.className="Slice",e.setPropertyValue("cornerRadius",0),e.setPropertyValue("startAngle",0),e.setPercentProperty("innerRadius",0),e.setPercentProperty("radius",0),e.setPropertyValue("arc",0),e.setPropertyValue("shiftRadius",0),e.strokeOpacity=1,e.setPropertyValue("layout","none"),e.slice=e.createChild(o.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=u.arc(this.startAngle,this.arc,this.radius,this.pixelInnerRadius,e,this.cornerRadius,this.innerCornerRadius),this.slice.invalidate(),this.shiftRadius=this.shiftRadius,this.realFill instanceof p.X&&this.updateGradient(this.realFill),this.realStroke instanceof p.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.getArcRect(this.startAngle,this.startAngle+this.arc,this.pixelInnerRadius),e=a.getArcRect(this.startAngle,this.startAngle+this.arc,this.radius);return a.getCommonRectangle([t,e])}return{x:0,y:0,width:0,height:0}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startAngle",{get:function(){return this.getPropertyValue("startAngle")}
1,set:function(t){this.setPropertyValue("startAngle",a.normalizeAngle(t),!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arc",{get:function(){return this.getPropertyValue("arc")},set:function(t){l.isNumber(t)||(t=0),this.setPropertyValue("arc",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radius",{get:function(){var t=this.getPropertyValue("radius");return l.isNumber(t)||(t=0),t},set:function(t){this.setPropertyValue("radius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radiusY",{get:function(){var t=this.getPropertyValue("radiusY");return l.isNumber(t)||(t=this.radius),t},set:function(t){this.setPropertyValue("radiusY",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return h.relativeToValue(this.innerRadius,this.radius)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cornerRadius",{get:function(){return this.getPropertyValue("cornerRadius")},set:function(t){this.setPropertyValue("cornerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerCornerRadius",{get:function(){return this.getPropertyValue("innerCornerRadius")},set:function(t){this.setPropertyValue("innerCornerRadius",t,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftRadius",{get:function(){return this.getPropertyValue("shiftRadius")},set:function(t){this.setPropertyValue("shiftRadius",t),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.cos(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iy",{get:function(){return a.sin(this.middleAngle)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleAngle",{get:function(){return this.startAngle+this.arc/2},enumerable:!0,configurable:!0}),e.prototype.getTooltipX=function(){var t=this.getPropertyValue("tooltipX");if(l.isNumber(t))return t;var e=.5;t instanceof c.gG&&(e=t.value);var i=h.relativeToValue(this.innerRadius,this.radius);return this.ix*(i+(this.radius-i)*e)},e.prototype.getTooltipY=function(){var t=this.getPropertyValue("tooltipY");if(l.isNumber(t))return t;var e=.5;t instanceof c.gG&&(e=t.value);var i=h.relativeToValue(this.innerRadius,this.radius);return this.iy*(i+(this.radius-i)*e)+this.slice.dy},e}(r.W);s.i.registeredClasses.Slice=d},36117:function(t,e,i){i.d(e,{h:function(){return u}});var n=i(19845),r=i(5590),o=i(3856),s=i(62e3),a=i(69260),u=function(t){function e(){var e=t.call(this)||this;e.className="TextLink",e.selectable=!0;var i=new s.h;return e.fill=i.getFor("primaryButton").brighten(.3),e.states.create("hover").properties.fill=i.getFor("primaryButtonHover").brighten(.3),e.states.create("down").properties.fill=i.getFor("primaryButtonDown").brighten(.3),e.cursorOverStyle=o.c.pointer,e.applyTheme(),e}return(0,n.ZT)(e,t),e}(r._);a.i.registeredClasses.TextLink=u},19991:function(t,e,i){i.d(e,{u:function(){return f}});var n=i(19845),r=i(71121),o=i(69260),s=i(42393),a=i(5590),u=i(42053),l=i(86820),h=i(27025),c=i(64112),p=i(70522),d=i(80008),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 h.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=p.cubicOut,e.setPropertyValue("showInViewport",!1),e.role="tooltip",e.visible=!1,e.opacity=0,e.x=0,e.y=0,e.events.on("visibilitychanged",e.handleVisibility,e),e.applyTheme(),e}return(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 s.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,o=this._pointTo.y,s=this._boundingRect,a=e.measuredWidth,u=e.measuredHeight,l=this.background.pointerLength;if(this.ignoreBounds&&(s=void 0),s&&this.fixDoc&&a>s.width){d.spritePointToDocument({x:s.x,y:s.y},this.parent);var h=d.spritePointToDocument({x:s.x+s.width,y:s.y+s.height},this.parent),p=document.body.offsetWidth;d.used(document.body.offsetHeight),h.x>p/2?s.x=s.width-a:s.width=s.x+a}var f=this.pointerOrientation;"horizontal"==f||"left"==f||"right"==f?(n=-u/2,i="horizontal"==f?s&&r>s.x+s.width/2?-a/2-l:a/2+l:"left"==f?a/2+l:-a/2-l):(s&&(i=c.fitToRange(0,s.x-r+a/2,s.x-r+s.width-a/2)),"vertical"==f?s&&o>s.y+u+l?(n=-u-l,this._verticalOrientation="up"):(n=l,this._verticalOrientation="down"):"down"==f?(n=-u-l,this._verticalOrientation="up"):(n=l,this._verticalOrientation="down")),s&&(n=c.fitToRange(n,s.y-o,s.y+s.height-u-o)),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,o=i,s=t.pixelX-i/2,a=n,u=t.pixelY,l=this._pointTo.x,h=this._pointTo.y,p=r.x-l,d=p+r.width,f=r.y-h,g=f+r.height;e.x=s,e.y=u,e.width=o,e.height=a,this.fitPointerToBounds?(e.pointerX=c.fitToRange(-e.x,p-e.x,d-e.x),e.pointerY=c.fitToRange(-e.y,f-e.y,g-e.y)):(e.pointerX=-e.x,e.pointerY=-e.y),e.validate()},e.prototype.delayedPointTo=function(t,e){var i=this;this._pointToDisposer&&this._pointToDisposer.dispose(),this._pointToDisposer=o.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 u.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.spriteRectToSvg({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);o.i.registeredClasses.Tooltip=f},63:function(t,e,i){i.d(e,{Z:function(){return h}});var n=i(19845),r=i(39866),o=i(48864),s=i(69260),a=i(80008),u=i(24306),l=i(71334),h=function(t){function e(){var e=t.call(this)||this;return e.className="Trapezoid",e.element=e.paper.add("path"),e.topSide=(0,o.aQ)(100),e.bottomSide=(0,o.aQ)(100),e.leftSide=(0,o.aQ)(100),e.rightSide=(0,o.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.relativeToValue(this.topSide,e),r=a.relativeToValue(this.bottomSide,e),o=a.relativeToValue(this.leftSide,i),s=a.relativeToValue(this.rightSide,i),h=(e-n)/2,c=(i-o)/2,p=e-(e-n)/2,d=(i-s)/2,f=e-(e-r)/2,g=i-(i-s)/2,y=(e-r)/2,m=i-(i-o)/2,v="",b="",_="",x="";if(u.hasValue(this.horizontalNeck)){var w=this.horizontalNeck.value;v=l.lineTo({x:e*w,y:Math.max(c,d)}),_=l.lineTo({x:e*w,y:Math.min(g,m)})}if(u.hasValue(this.verticalNeck)){var P=this.verticalNeck.value;b=l.lineTo({x:Math.min(p,f),y:i*P}),x=l.lineTo({x:Math.max(h,y),y:i*P})}var T=l.moveTo({x:h,y:c})+v+l.lineTo({x:p,y:d})+b+l.lineTo({x:f,y:g})+_+l.lineTo({x:y,y:m})+x;this.path=T},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")}
1,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)},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);s.i.registeredClasses.Trapezoid=h},99704:function(t,e,i){i.d(e,{C:function(){return a}});var n=i(19845),r=i(39866),o=i(69260),s=i(71334),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=s.moveTo({x:0,y:0})+s.lineTo({x:i,y:n/2})+s.lineTo({x:0,y:n})+s.closePath();break;case"left":e=s.moveTo({x:i,y:0})+s.lineTo({x:0,y:n/2})+s.lineTo({x:i,y:n})+s.closePath();break;case"bottom":e=s.moveTo({x:0,y:0})+s.lineTo({x:i,y:0})+s.lineTo({x:i/2,y:n})+s.closePath();break;case"top":e=s.moveTo({x:i/2,y:0})+s.lineTo({x:i,y:n})+s.lineTo({x:0,y:n})+s.closePath()}this.path=e},Object.defineProperty(e.prototype,"direction",{get:function(){return this.getPropertyValue("direction")},set:function(t){this.setPropertyValue("direction",t,!0)},enumerable:!0,configurable:!0}),e}(r.jy);o.i.registeredClasses.Triangle=a},99543:function(t,e,i){i.d(e,{U:function(){return h}});var n=i(19845),r=i(84713),o=i(69260),s=i(71334),a=i(64112),u=i(80008),l=i(35666),h=function(t){function e(){var e=t.call(this)||this;return e.className="WavedCircle",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.fill=void 0,e.fillOpacity=0,e.tension=.8,e.applyTheme(),e}return(0,n.ZT)(e,t),e.prototype.draw=function(){var t="",e=this.pixelRadius;if(e>0){var i=this.getPoints(e);t=s.moveTo(i[0])+new l.Jb(this.tension,this.tension).smooth(i)}var n=this.pixelInnerRadius;n>0&&((i=this.getPoints(n)).reverse(),t+=s.moveTo(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,o=[],s=e/n,u=0;u<=s;u++){var l=u*n/e*360,h=(u*n+r)/e*360;o.push({x:(t-i)*a.cos(l),y:(t-i)*a.sin(l)}),o.push({x:(t+i)*a.cos(h),y:(t+i)*a.sin(h)})}return o.pop(),o},Object.defineProperty(e.prototype,"innerRadius",{get:function(){return this.getPropertyValue("innerRadius")},set:function(t){this.setPercentProperty("innerRadius",t,!0,!1,10,!1),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pixelInnerRadius",{get:function(){return u.relativeToValue(this.innerRadius,a.min(this.innerWidth/2,this.innerHeight/2))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveLength",{get:function(){return this.getPropertyValue("waveLength")},set:function(t){this.setPropertyValue("waveLength",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"waveHeight",{get:function(){return this.getPropertyValue("waveHeight")},set:function(t){this.setPropertyValue("waveHeight",t),this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tension",{get:function(){return this.getPropertyValue("tension")},set:function(t){this.setPropertyValue("tension",t),this.invalidate()},enumerable:!0,configurable:!0}),e}(r.C);o.i.registeredClasses.WavedCircle=h},14878:function(t,e,i){i.d(e,{$:function(){return u}});var n=i(19845),r=i(45369),o=i(86820),s=i(35666),a=i(71334),u=function(t){function e(){var e=t.call(this)||this;return e.className="WavedLine",e.element=e.paper.add("path"),e.waveLength=16,e.waveHeight=4,e.tension=.8,e.pixelPerfect=!1,e.fill=(0,o.$_)(),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.moveTo(t)+(0,s.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)},98424:function(t,e,i){i.d(e,{T:function(){return a}});var n=i(19845),r=i(44545),o=i(35666),s=i(71334),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},u={x:0,y:i},l=Math.min(e,this.waveLength),h=Math.min(i,this.waveHeight),c=Math.min(i,this.waveLength),p=Math.min(e,this.waveHeight),d="",f="",g="",y="";this.wavedTop&&(d=(0,o.A0)(n,r,l,h,this.tension,!0)),this.wavedRight&&(f=(0,o.A0)(r,a,c,p,this.tension,!0)),this.wavedBottom&&(g=(0,o.A0)(a,u,l,h,this.tension,!0)),this.wavedLeft&&(y=(0,o.A0)(u,n,c,p,this.tension,!0)),this.path=s.moveTo(n)+d+s.lineTo(r)+f+s.lineTo(a)+g+s.lineTo(u)+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)},79821:function(t,e,i){i.d(e,{x:function(){return h}});var n=i(19845),r=i(91290),o=i(39866),s=i(69260),a=i(62e3),u=i(71334),l=i(24306),h=function(t){function e(){var e=t.call(this)||this;e.className="ZoomOutButton",e.padding(9,9,9,9),e.showSystemTooltip=!0;var i=new 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 o.jy;r.element=e.paper.add("path");var s=u.moveTo({x:0,y:0});return s+=u.lineTo({x:11,y:0}),r.path=s,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.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Zoom Out"))},e}(r.z);s.i.registeredClasses.ZoomOutButton=h},74016:function(t,e,i){i.d(e,{G:function(){return v}});var n=i(19845),r=i(43281),o=i(62e3),s=i(3485),a=i(29138),u=new s.Xy;var l=i(61765),h=i(87155),c=i(406),p=i(58076),d=i(95889),f=i(67556),g=i(80008),y=i(12352),m=i(24306),v=function(t){function e(){var e=t.call(this)||this;return e.adapter=new l.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"),m.getValue(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=f.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)}}))),this.defaultStyles&&this.loadDefaultCSS()},e.prototype.drawBranch=function(t,e,i){var n=this;if(!0!==(e=this.adapter.apply("branch",{branch:e,level:i}).branch).unsupported){e.ascendants||(e.ascendants=new h.aV);var r,o=e.type,s=this.createItemElement(i,o);e.icon?((r=this.createIconElement(i,o)).src=e.icon,(e.label||e.title)&&(r.title=e.title||e.label)):e.svg?(r=this.createSvgElement(i,o,e.svg),(e.label||e.title)&&(r.title=e.title||e.label)):((r=this.createLabelElement(i,o)).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),s.appendChild(r),e.interactions=(0,c.S)().getInteraction(s),e.element=s,this.typeClickable(o)&&(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(f.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 u=this.getSubMenu(e);null!=u&&(e.interactions.events.on("keyup",(function(t){f.d.isKey(t.event,"enter")&&(n.selectBranch(u[0]),n.setFocus(u[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 p=this.createMenuElement(l);e.submenuElement=p;for(var d=e.menu.length,g=0;g<d;g++){var y=new h.aV;e.menu[g].ascendants=y,e.ascendants.length&&y.copyFrom(e.ascendants),y.push(e),this.drawBranch(p,e.menu[g],l)}if(""==p.innerHTML)return;s.appendChild(p)}e.hidden&&this.hideBranch(e),e.id&&s.setAttribute("id",e.id),e.color&&(s.style.backgroundColor=e.color.hex),t.appendChild(s)}},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).parseFromString(i,"image/svg+xml").documentElement,r=this.classPrefix+"-icon "+this.classPrefix+"-icon-level-"+t+" "+this.classPrefix+"-item-"+(e||"blank");return this.typeClickable(e)&&(r+=" "+this.classPrefix+"-clickable"),n.setAttribute("class",this.adapter.apply("labelClass",{className:r,level:t,type:e}).className),n.setAttribute("tabindex",this.tabindex.toString()),n.setAttribute("role","menuitem"),n},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 m.hasValue(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=g.stripTags(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(function(t,e){var i=e||"amexport",n=new o.h;return u.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(){u.removeKey(i),e.dispose()}))})).increment()}(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 p.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-1;i>=0;i--)e[i]&&r.IV(e[i],"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&&y.each(y.concat(y.fromArray([this._currentSelection]),this._currentSelection.ascendants.iterator()),(function(i){t.ascendants.contains(i)||t===i||e.unselectBranch(i,!0)})),y.each(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&&y.each(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 e[i=e.length==i?0:i].unsupported?this.getNextSibling(e[i]):e[i]}return t},e.prototype.getPrevSibling=function(t){var e=this.getSiblings(t);if(e.length>1){var i=e.indexOf(t)-1;return e[i=-1==i?e.length-1:i].unsupported?this.getPrevSibling(e[i]):e[i]}return t},e.prototype.setFocus=function(t){if(t.interactions)try{t.interactions.element.focus()}catch(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}(d.c)},25449:function(t,e,i){i.d(e,{C:function(){return p}});var n=i(19845),r=i(58076),o=i(73870),s=i(96139),a=i(69260),u=i(71473),l=i(80008),h=i(24306),c=i(44600),p=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,o;if(this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.S),"undefined"!==typeof e&&""!==e||(e=this._dateFormat),o=h.isString(t)?this.parse(t):l.anyToDate(t),h.isObject(e))try{return this.intlLocales?new Intl.DateTimeFormat(this.intlLocales,e).format(o):new Intl.DateTimeFormat(void 0,e).format(o)}catch(a){return"Invalid"}else{e=l.cleanFormat(e);var s=this.parseFormat(e);if(h.hasValue(this.timezoneOffset)?o.setMinutes(o.getMinutes()+o.getTimezoneOffset()-this.timezoneOffset):h.hasValue(this.timezone)&&!1!==i&&(o=c.setTimezone(o,this.timezone)),!h.isNumber(o.getTime()))return this.language.translate("Invalid date");n=this.applyFormat(o,s,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(h.hasValue(e))return e;for(var i={template:"",parts:[]},n=(0,s.k)().chunk(t,!0),r=0;r<n.length;r++){var o=n[r];if("value"===o.type){o.text.match(/^date$/i)&&h.isString(this._dateFormat)&&(o.text=this._dateFormat);var a=o.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]),o.text=o.text.replace(a[l],u.l7)}i.template+=o.text}return this.setCache(t,i),i},e.prototype.applyFormat=function(t,e,i){var n,r,o,s,a,h,c,p,d=e.template,f=t.getTimezoneOffset(),g=t.getTime();this.utc?(n=t.getUTCFullYear(),r=t.getUTCMonth(),o=t.getUTCDay(),s=t.getUTCDate(),a=t.getUTCHours(),h=t.getUTCMinutes(),c=t.getUTCSeconds(),p=t.getUTCMilliseconds()):(n=t.getFullYear(),r=t.getMonth(),o=t.getDay(),s=t.getDate(),a=t.getHours(),h=t.getMinutes(),c=t.getSeconds(),p=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=n;1==l.getWeek(t)&&o>4&&b--,v="YYYY"==e.parts[y]?Math.abs(b).toString():Math.abs(b).toString().substr(-e.parts[y].length),b<0&&(v+=i.translate("_era_bc"));break;case"u":case"F":case"g":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.padString(r+1,2,"0");break;case"M":v=(r+1).toString();break;case"ww":v=l.padString(l.getWeek(t,this.utc),2,"0");break;case"w":v=l.getWeek(t,this.utc).toString();break;case"W":v=l.getMonthWeek(t,this.utc).toString();break;case"dd":v=l.padString(s,2,"0");break;case"d":v=s.toString();break;case"DD":case"DDD":v=l.padString(l.getYearDay(t,this.utc).toString(),e.parts[y].length,"0");break;case"D":v=l.getYearDay(t,this.utc).toString();break;case"t":v=i.translateFunc("_dateOrd").call(this,s);break;case"E":v=(o||7).toString();break;case"EE":v=l.padString((o||7).toString(),2,"0");break;case"EEE":case"eee":v=i.translate(this.weekdaysShort[o]);break;case"EEEE":case"eeee":v=i.translate(this.weekdays[o]);break;case"EEEEE":case"eeeee":v=i.translate(this.weekdays[o]).substr(0,1);break;case"e":case"ee":v=(o-this.firstDayOfWeek+1).toString(),"ee"==e.parts[y]&&(v=l.padString(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.get12Hours(a).toString();break;case"hh":v=l.padString(l.get12Hours(a),2,"0");break;case"H":v=a.toString();break;case"HH":v=l.padString(a,2,"0");break;case"K":v=l.get12Hours(a,0).toString();break;case"KK":v=l.padString(l.get12Hours(a,0),2,"0");break;case"k":v=(a+1).toString();break;case"kk":v=l.padString(a+1,2,"0");break;case"m":v=h.toString();break;case"mm":v=l.padString(h,2,"0");break;case"s":v=c.toString();break;case"ss":v=l.padString(c,2,"0");break;case"S":case"SS":case"SSS":v=Math.round(p/1e3*Math.pow(10,e.parts[y].length)).toString();break;case"x":v=g.toString();break;case"n":case"nn":case"nnn":v=l.padString(p,e.parts[y].length,"0");break;case"z":v=l.getTimeZone(t,!1,!1,this.utc);break;case"zz":v=l.getTimeZone(t,!0,!1,this.utc);break;case"zzz":v=l.getTimeZone(t,!1,!0,this.utc);break;
1case"zzzz":v=l.getTimeZone(t,!0,!0,this.utc);break;case"Z":case"ZZ":var _=Math.abs(f)/60,x=Math.floor(_),w=60*_-60*x;this.utc&&(x=0,w=0),"Z"==e.parts[y]?(v="GMT",v+=f>0?"-":"+",v+=l.padString(x,2)+":"+l.padString(w,2)):(v=f>0?"-":"+",v+=l.padString(x,2)+l.padString(w,2));break;case"i":v=t.toISOString();break;case"I":v=t.toUTCString()}d=d.replace(u.l7,v)}return d},e.prototype.parse=function(t,e){if(h.hasValue(e)||(e=this.inputDateFormat),t instanceof Date)return t;if("number"===typeof t)return new Date(t);var i;"string"!==typeof t&&(t=t.toString()),this.language||(this.sprite?this.language=this.sprite.language:this.language=new r.S);var n="";e=(e=l.cleanFormat(e)).substr(0,t.length);for(var o=this.parseFormat(e),s={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},u=0,c=0,p=0;p<o.parts.length;p++){switch(c=p+u+1,o.parts[p]){case"yyyy":case"YYYY":n+="([0-9]{4})",s.year=c;break;case"yyy":case"YYY":n+="([0-9]{3})",s.year3=c;break;case"yy":case"YY":n+="([0-9]{2})",s.year2=c;break;case"y":case"Y":n+="([0-9]{1})",s.year1=c;break;case"MMMM":n+="("+this.getStringList(this.months).join("|")+")",s.monthLong=c;break;case"MMM":n+="("+this.getStringList(this.monthsShort).join("|")+")",s.monthShort=c;break;case"MM":case"M":n+="([0-9]{2}|[0-9]{1})",s.month=c;break;case"ww":case"w":n+="([0-9]{2}|[0-9]{1})",s.week=c;break;case"dd":case"d":n+="([0-9]{2}|[0-9]{1})",s.day=c;break;case"DDD":case"DD":case"D":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",s.yearDay=c;break;case"dddd":n+="("+this.getStringList(this.weekdays).join("|")+")",s.weekdayLong=c;break;case"ddd":n+="("+this.getStringList(this.weekdaysShort).join("|")+")",s.weekdayShort=c;break;case"aaa":case"aa":case"a":n+="("+this.getStringList(["AM","PM","A.M.","P.M.","A","P"]).join("|")+")",s.am=c;break;case"hh":case"h":n+="([0-9]{2}|[0-9]{1})",s.hour12Base1=c;break;case"HH":case"H":n+="([0-9]{2}|[0-9]{1})",s.hourBase0=c;break;case"KK":case"K":n+="([0-9]{2}|[0-9]{1})",s.hour12Base0=c;break;case"kk":case"k":n+="([0-9]{2}|[0-9]{1})",s.hourBase1=c;break;case"mm":case"m":n+="([0-9]{2}|[0-9]{1})",s.minute=c;break;case"ss":case"s":n+="([0-9]{2}|[0-9]{1})",s.second=c;break;case"SSS":case"SS":case"S":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",s.millisecond=c,s.millisecondDigits=o.parts[p].length;break;case"nnn":case"nn":case"n":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",s.millisecond=c;break;case"x":n+="([0-9]{1,})",s.timestamp=c;break;case"Z":n+="GMT([-+]+[0-9]{2}:[0-9]{2})",s.zone=c;break;case"ZZ":n+="([\\-+]+[0-9]{2}[0-9]{2})",s.zone=c;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}|$)",s.iso=c,u+=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":u--}n+="[^0-9]*"}var d=new RegExp(n),f=t.match(d);if(f){if(s.year>-1&&(a.year=parseInt(f[s.year])),s.year3>-1){var g=parseInt(f[s.year3]);g+=1e3,a.year=g}if(s.year2>-1){g=parseInt(f[s.year2]);g+=g>50?1e3:2e3,a.year=g}if(s.year1>-1){g=parseInt(f[s.year1]);g=10*Math.floor((new Date).getFullYear()/10)+g,a.year=g}if(s.monthLong>-1&&(a.month=this.resolveMonth(f[s.monthLong])),s.monthShort>-1&&(a.month=this.resolveShortMonth(f[s.monthShort])),s.month>-1&&(a.month=parseInt(f[s.month])-1),s.week>-1&&-1===s.day&&(a.month=0,a.day=l.getDayFromWeek(parseInt(f[s.week]),a.year,1,this.utc)),s.day>-1&&(a.day=parseInt(f[s.day])),s.yearDay>-1&&(a.month=0,a.day=parseInt(f[s.yearDay])),s.hourBase0>-1&&(a.hour=parseInt(f[s.hourBase0])),s.hourBase1>-1&&(a.hour=parseInt(f[s.hourBase1])-1),s.hour12Base0>-1)11==(g=parseInt(f[s.hour12Base0]))&&(g=0),s.am>-1&&!this.isAm(f[s.am])&&(g+=12),a.hour=g;if(s.hour12Base1>-1)12==(g=parseInt(f[s.hour12Base1]))&&(g=0),s.am>-1&&!this.isAm(f[s.am])&&(g+=12),a.hour=g;if(s.minute>-1&&(a.minute=parseInt(f[s.minute])),s.second>-1&&(a.second=parseInt(f[s.second])),s.millisecond>-1){g=parseInt(f[s.millisecond]);2==s.millisecondDigits?g*=10:1==s.millisecondDigits&&(g*=100),a.millisecond=g}if(s.timestamp>-1){a.timestamp=parseInt(f[s.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()}s.zone>-1&&(a.offset=this.resolveTimezoneOffset(new Date(a.year,a.month,a.day),f[s.zone])),s.iso>-1&&(a.year=h.toNumber(f[s.iso+0]),a.month=h.toNumber(f[s.iso+1])-1,a.day=h.toNumber(f[s.iso+2]),a.hour=h.toNumber(f[s.iso+3]),a.minute=h.toNumber(f[s.iso+4]),a.second=h.toNumber(f[s.iso+5]),a.millisecond=h.toNumber(f[s.iso+6]),"Z"==f[s.iso+7]||"z"==f[s.iso+7]?a.utc=!0:""!=f[s.iso+7]&&(a.offset=this.resolveTimezoneOffset(new Date(a.year,a.month,a.day),f[s.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){if(e.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)){var i=h.getValue(e.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)),n=i[1],r=i[2],o=i[3],s=60*parseInt(r)+parseInt(o);return"+"==n&&(s*=-1),s-(t||new Date).getTimezoneOffset()}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))>-1?e:0},e.prototype.resolveShortMonth=function(t){var e=this.monthsShort.indexOf(t);return e>-1||(e=this.months.indexOf(t))>-1||this.language&&!this.language.isDefault()&&(e=this.language.translateAll(this.monthsShort).indexOf(t))>-1?e:0},e.prototype.isAm=function(t){return this.getStringList(["AM","A.M.","A"]).indexOf(t.toUpperCase())>-1},e.prototype.invalidateSprite=function(){this.sprite&&this.sprite.invalidate()},e.prototype.getStringList=function(t){for(var e=[],i=0;i<t.length;i++)this.language?e.push(l.escapeForRgex(this.language.translate(t[i]))):e.push(l.escapeForRgex(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=c.getTimezoneMinutes(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}(o.L);a.i.registeredClasses.DateFormatter=p}
1,43738:function(t,e,i){i.d(e,{$:function(){return d}});var n=i(19845),r=i(58076),o=i(73870),s=i(96139),a=i(69260),u=i(71473),l=i(59205),h=i(80008),c=i(24306),p=i(64112),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=c.hasValue(this.durationFormat)?this.durationFormat:this.getFormat(c.toNumber(t),null,n)),e=h.cleanFormat(e);var o,s=this.parseFormat(e,n),a=Number(t);o=a>this._negativeBase?s.positive:a<this._negativeBase?s.negative:s.zero;var u=this.applyFormat(a,o);return""!==o.color&&("svg"===this._outputFormat?u="<tspan fill='"+o.color+"'>"+u+"</tspan>":"html"===this._outputFormat&&(u="<span style='color: "+o.color+";'>"+u+"</span>")),u},e.prototype.parseFormat=function(t,e){var i=this,n=this.getCache(t);if(c.hasValue(n))return n;var r=e||this._baseUnit,o={positive:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1},negative:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1},zero:{color:"",template:"",parts:[],source:"",baseUnit:r,parsed:!1,absolute:!1}},a=(t=t.replace("||",u.Cb)).split("|");return o.positive.source=a[0],"undefined"===typeof a[2]?o.zero=o.positive:o.zero.source=a[2],"undefined"===typeof a[1]?o.negative=o.positive:o.negative.source=a[1],l.each(o,(function(t,e){if(!e.parsed)if("undefined"===typeof i.getCache(e.source)){var n,r=e.source;(n=e.source.match(/^\[([^\]]*)\]/))&&n.length&&""!==n[0]&&(r=e.source.substr(n[0].length),e.color=n[1]);for(var a=(0,s.k)().chunk(r,!0),l=0;l<a.length;l++){var h=a[l];if(h.text=h.text.replace(u.Cb,"|"),"value"===h.type){h.text.match(/[yYMdDwhHKkmsSn]+a/)&&(e.absolute=!0,h.text=h.text.replace(/([yYMdDwhHKkmsSn]+)a/,"$1"));var p=h.text.match(/y+|Y+|M+|d+|D+|w+|h+|H+|K+|k+|m+|s+|S+|n+/g);if(p)for(var d=0;d<p.length;d++)c.hasValue(p[d])||(p[d]=i._unitAliases[p[d]]),e.parts.push(p[d]),h.text=h.text.replace(p[d],u.l7)}e.template+=h.text}i.setCache(e.source,e),e.parsed=!0}else o[t]=i.getCache(e.source)})),this.setCache(t,o),o},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,o=0,s=e.parts.length;o<s;o++){var a=e.parts[o],l=this.toTimeUnit(a.substr(0,1)),c=a.length,p=Math.floor(n/this._unitValues[l]);r=r.replace(u.l7,h.padString(p,c,"0")),n-=p*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(c.hasValue(this.durationFormat))return this.durationFormat;if(i||(i=this.baseUnit),c.hasValue(e)&&t!=e){t=Math.abs(t),e=Math.abs(e);var n=this.getValueUnit(p.max(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.eachContinue(this._unitValues,(function(t,r){if(t==e||i){if(n/r<=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}(o.L);a.i.registeredClasses.DurationFormatter=d}
1,47573:function(t,e,i){i.d(e,{e:function(){return d}});var n=i(19845),r=i(58076),o=i(73870),s=i(96139),a=i(69260),u=i(71473),l=i(59205),h=i(80008),c=i(24306),p=i(64112),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||c.isString(e)&&"number"===e.toLowerCase())&&(e=this._numberFormat);var r=Number(t);if(c.isObject(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=h.cleanFormat(e);var o=this.parseFormat(e,this.language),s=void 0;s=r>this._negativeBase?o.positive:r<this._negativeBase?o.negative:o.zero,c.hasValue(i)&&!s.mod&&((s=l.clone(s)).decimals.active=0==r?0:i),n=s.template.split(u.l7).join(this.applyFormat(r,s))}return this.forceLTR&&(n="\u200e"+n),n},e.prototype.parseFormat=function(t,e){var i=this,n=this.getCache(t);if(c.hasValue(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}},o=(t=t.replace("||",u.Cb)).split("|");return r.positive.source=o[0],"undefined"===typeof o[2]?r.zero=r.positive:r.zero.source=o[2],"undefined"===typeof o[1]?r.negative=r.positive:r.negative.source=o[1],l.each(r,(function(t,e){if(!e.parsed)if("undefined"===typeof i.getCache(e.source)){var n=e.source;"number"===n.toLowerCase()&&(n=c.isString(i._numberFormat)?i._numberFormat:"#,###.#####");for(var o=(0,s.k)().chunk(n,!0),a=0;a<o.length;a++){var l=o[a];if(l.text=l.text.replace(u.Cb,"|"),"value"===l.type){var h=l.text.match(/[#0.,]+[ ]?[abespABESP%!]?[abespABESP\u2030!]?/);if(h)if(null===h||""===h[0])e.template+=l.text;else{var p=h[0].match(/[abespABESP%\u2030!]{2}|[abespABESP%\u2030]{1}$/);p&&(e.mod=p[0].toLowerCase(),e.modSpacing=!!h[0].match(/[ ]{1}[abespABESP%\u2030!]{1}$/));var d=h[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=c.getValue(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(h[0]).join(u.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="",o=e.mod?e.mod.split(""):[];if(-1!==o.indexOf("b")){var s=this.applyPrefix(t,this.bytePrefixes,-1!==o.indexOf("!"));t=s[0],n=s[1],r=s[2],e.modSpacing&&(r=" "+r)}else if(-1!==o.indexOf("a")){var a=this.applyPrefix(t,t<this.smallNumberThreshold?this.smallNumberPrefixes:this.bigNumberPrefixes,-1!==o.indexOf("!"));t=a[0],n=a[1],r=a[2],e.modSpacing&&(r=" "+r)}else if(-1!==o.indexOf("p")){var u=Math.min(t.toString().length+2,21);t=parseFloat(t.toPrecision(u)),n=this.language.translate("_percentPrefix")||"",r=this.language.translate("_percentSuffix")||"",""==n&&""==r&&(r="%")}else if(-1!==o.indexOf("%")){u=p.min(t.toString().length+2,21);t*=100,t=parseFloat(t.toPrecision(u)),r="%"}else if(-1!==o.indexOf("\u2030")){u=p.min(t.toString().length+3,21);t*=1e3,t=parseFloat(t.toPrecision(u)),r="\u2030"}if(-1!==o.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 c=Math.pow(10,e.decimals.passive);t=Math.round(t*c)/c}var d="",f=h.numberToString(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===o.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="",o="",s=!1,a=1,u=0,l=e.length;u<l;u++)e[u].number<=t&&(0===e[u].number?n=0:(n=t/e[u].number,a=e[u].number),r=e[u].prefix,o=e[u].suffix,s=!0);return!s&&i&&e.length&&0!=t&&(n=t/e[0].number,r=e[0].prefix,o=e[0].suffix,s=!0),s&&(n=parseFloat(n.toPrecision(p.min(a.toString().length+Math.floor(n).toString().replace(/[^0-9]*/g,"").length,21)))),[n,r,o]},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 c.hasValue(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 c.hasValue(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 c.hasValue(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("||",u.Cb)},e.prototype.unescape=function(t){return t.replace(u.Cb,"|")},e}(o.L);a.i.registeredClasses.NumberFormatter=d},96139:function(t,e,i){i.d(e,{V:function(){return c},k:function(){return p}});var n,r=i(19845),o=i(73870),s=i(33394),a=i(61765),u=i(69260),l=i(71473),h=i(24306),c=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){h.hasValue(e)||(e="svg");var i="",n=(t=this.escape(t)).match(/\[([^\]]*?)\]/gm);if(!n)return this.wrap(t,"",e);for(var r=t.split(/\[[^\[\]]*\]/),o=0,s=r.length;o<s;o++){var a=r[o];if(""!==a){a=this.adapter.apply("chunk",a);var u="";o>0&&(u=n[o-1].replace("[","").replace("]","")),i+=this.wrap(a,u,e)}}return i=this.unescape(i),this.cleanUp(i)},e.prototype.escape=function(t){return t.replace(/\[\[/g,u.i.getPlaceholder("1")).replace(/([^\/\]]{1})\]\]/g,"$1"+u.i.getPlaceholder("2")).replace(/\]\]/g,u.i.getPlaceholder("2")).replace(/\{\{/g,u.i.getPlaceholder("3")).replace(/\}\}/g,u.i.getPlaceholder("4")).replace(/\'\'/g,u.i.getPlaceholder("5"))},e.prototype.unescape=function(t){return t.replace(new RegExp(u.i.getPlaceholder("1"),"g"),"[[").replace(new RegExp(u.i.getPlaceholder("2"),"g"),"]]").replace(new RegExp(u.i.getPlaceholder("3"),"g"),"{{").replace(new RegExp(u.i.getPlaceholder("4"),"g"),"}}").replace(new RegExp(u.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){return""!==e&&"/"!==e||(e=""),"html"===i?this.wrapHtml(t,this.translateStyleShortcuts(e)):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 s._("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:")},e.prototype.translateStyleShortcuts=function(t){if(""==t||"[ ]"==t)return"";var e=u.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 o=r.join(";");return u.i.setCache("translateStyleShortcuts_"+t,o),o}
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],o=0;o<r.length;o++){var s=r[o];if(""!==s)if(o%2===0)for(var a=(s=(s=s.replace(/\]\[/g,"]"+l.l7+"[")).replace(/\[\]/g,"[ ]")).split(/[\[\]]+/),u=0;u<a.length;u++){(h=this.cleanUp(this.unescape(a[u])))!==l.l7&&(""!==h&&(u%2===0?n.push({type:"value",text:this.adapter.apply("chunk",h)}):n.push({type:i?"value":"format",text:"["+h+"]"})))}else for(a=s.split(/[\[\]]+/),u=0;u<a.length;u++){var h;""!==(h=this.cleanUp(this.unescape(a[u])))&&(u%2===0?n.push({type:"text",text:h}):this.isImage(h)?n.push({type:"image",text:"["+h+"]"}):n.push({type:"format",text:"["+h+"]"}))}}return n},e.prototype.isImage=function(t){return!!t.match(/img[ ]?:/)},e}(o.L);function p(){return null==n&&(n=new c),n}u.i.registeredClasses.TextFormatter=c},18006:function(t,e,i){i.d(e,{r:function(){return u}});var n=i(19845),r=i(73870),o=i(406),s=i(42053),a=i(24306),u=function(t){function e(e,i,n,r){var o=t.call(this)||this;return o.animations=[],o.className="Inertia",o.interaction=e,o.type=i,o.point=n,o.startPoint=r,o._disposers.push(new s.w3(o.animations)),o}return(0,n.ZT)(e,t),Object.defineProperty(e.prototype,"x",{get:function(){return this.point.x},set:function(t){a.isNumber(t)&&(this.point.x=t,this.handleMove())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.point.y},set:function(t){a.isNumber(t)&&(this.point.y=t,this.handleMove())},enumerable:!0,configurable:!0}),e.prototype.handleMove=function(){if(this.interaction.events.isEnabled("drag")){var t={type:"drag",target:this.interaction,shift:{x:this.x-this.startPoint.x,y:this.y-this.startPoint.y},startPoint:this.startPoint,point:{x:this.x,y:this.y},touch:!1};this.interaction.events.dispatchImmediately("drag",t)}},e.prototype.done=function(){this.interaction.inertias.removeKey(this.type),"move"===this.type&&(0,o.S)().processDragStop(this.interaction),this.dispose()},e}(r.L)},406:function(t,e,i){i.d(e,{S:function(){return T},U:function(){return w}});var n=i(19845),r=i(73870),o=i(87155),s=i(42053),a=i(29138),u=i(59355),l=i(37144),h=i(3485),c=i(18006),p=i(43281),d=i(67556),f=i(78816),g=i(99934),y=i(70522),m=i(64112),v=i(36442),b=i(12352),_=i(24306),x=i(44600),w=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 o.aV,i.downObjects=new o.aV,i.trackedObjects=new o.aV,i.transformedObjects=new o.aV,i.pointers=new h.Xy,i.inertiaOptions=new h.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":_.hasValue(document.onmousewheel)&&(i._pointerEvents.wheel="mousewheel"),i.inertiaOptions.setKey("move",{time:100,duration:500,factor:1,easing:y.polyOut3}),i.inertiaOptions.setKey("resize",{time:100,duration:500,factor:1,easing:y.polyOut3}),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,p.Oo)(document,this._pointerEvents.pointerdown,(function(e){t.handleGlobalPointerDown(e)}))),this._disposers.push((0,p.Oo)(document,this._pointerEvents.pointermove,(function(e){t.handleGlobalPointerMove(e)}))),this._disposers.push((0,p.Oo)(document,this._pointerEvents.pointerup,(function(e){t.handleGlobalPointerUp(e)}))),this._disposers.push((0,p.Oo)(document,this._pointerEvents.pointercancel,(function(e){t.handleGlobalPointerUp(e,!0)}))),this._disposers.push((0,p.Oo)(document,"mouseenter",(function(e){_.hasValue(e.relatedTarget)||0!=e.buttons&&0!=e.which||t.handleDocumentLeave(e)})))),this._usePointerEventsOnly||(this._disposers.push((0,p.Oo)(document,"touchstart",(function(e){t.handleGlobalTouchStart(e)}))),this._disposers.push((0,p.Oo)(document,"touchmove",(function(e){t.handleGlobalTouchMove(e)}))),this._disposers.push((0,p.Oo)(document,"touchend",(function(e){t.handleGlobalTouchEnd(e)})))),this._disposers.push((0,p.Oo)(document,"keydown",(function(e){t.handleGlobalKeyDown(e)}))),this._disposers.push((0,p.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,p.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,p.Oo)(t.element,this._pointerEvents.pointerout,(function(i){return e.handlePointerOut(t,i)})),(0,p.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,p.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,p.Oo)(t.element,"focus",(function(i){return e.handleFocus(t,i)})),(0,p.Oo)(t.element,"blur",(function(i){return e.handleBlur(t,i)})),(0,p.Oo)(t.element,this._pointerEvents.pointerdown,(function(i){return e.handleFocusBlur(t,i)})),(0,p.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,p.Oo)(t.element,"touchstart",(function(i){return e.handleTouchDown(t,i)}),!!this._passiveSupported&&{passive:!1})):t.eventDisposers.setKey("touchable",(0,p.Oo)(t.element,this._pointerEvents.pointerdown,(function(i){return e.handlePointerDown(t,i)}))):t.eventDisposers.setKey("touchable",new a.FV([(0,p.Oo)(t.element,this._pointerEvents.pointerdown,(function(i){return e.handlePointerDown(t,i)})),(0,p.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"),p.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"))p.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}}},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,o=1;if(1==e.deltaMode&&(o=50),o*=this.getMouseOption(t,"sensitivity"),!(e instanceof WheelEvent))throw new Error("Invalid event type");n=Math.round(-1*e.wheelDeltaX||e.deltaX*o),r=Math.round(-1*e.wheelDeltaY||e.deltaY*o),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.getTime();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 o={type:"over",target:t,event:i,pointer:e,touch:e.touch};t.events.dispatchImmediately("over",o)}}}
1,e.prototype.handleOut=function(t,e,i,n,r){var o=this;if(void 0===n&&(n=!1),void 0===r&&(r=!1),t.hoverable&&(t.overPointers.removeValue(e),t.isHover&&(!t.hasDelayedOut||r))){if(n&&t.overPointers.length)return;if(e&&e.touch&&!r&&!this.old(e)){var s=this.getHoverOption(t,"touchOutBehavior");if("leave"==s)return this._delayedEvents.out.push({type:"out",io:t,pointer:e,event:i,keepUntil:x.getTime()+500}),void(t.hasDelayedOut=!0);if("delay"==s&&this.getHoverOption(t,"touchOutDelay"))return void this._delayedEvents.out.push({type:"out",io:t,pointer:e,event:i,keepUntil:x.getTime()+500,timeout:this.setTimeout((function(){o.handleOut(t,e,i,!0)}),this.getHoverOption(t,"touchOutDelay"))})}if(t.isHover=!1,this.overObjects.removeValue(t),!t.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(){for(var t;t=this._delayedEvents.out.pop();)t.timeout&&t.timeout.dispose(),this.handleOut(t.io,t.pointer,t.event,!1,!0)},e.prototype.handleDown=function(t,e,i){if(this.maybePreventDefault(t,i,e),t.inert&&this.stopInertia(t),this.handleOver(t,e,i,!0),t.downPointers.moveValue(e),this.applyCursorDownStyle(t,e),t.isDown||(!1!==t.focusable&&this.getHitOption(t,"noFocus")&&this.focusedObject&&p.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.each(r,(function(r){r&&r.downPointers.contains(t)&&n.handleUp(r,t,e,i)}))},e.prototype.handleDocumentLeave=function(t){var e=this;b.each(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){!_.hasValue(e)||!(t.draggable||t.swipeable||t.trackable||t.resizable)||this.isGlobalElement(t)||!1===e.cancelable||t.isTouchProtected&&i&&i.touch||e.preventDefault()},e.prototype.cancelAllHovers=function(t){var e=this;b.each(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=p.kM(t.lastEvent);b.each(this.overObjects.backwards().iterator(),(function(r){if(r&&r.overPointers.contains(t)&&r.hoverable){var o=!1;r.element&&t.lastEvent&&p.r3(r.element,n)||(o=!0),o&&i.handleOut(r,t,e,!0)}}))}b.each(this.transformedObjects.backwards().iterator(),(function(n){!n.downPointers.contains(t)||n.swipeable&&i.swiping(n,t)||!n.draggable&&!n.resizable||i.handleTransform(n,e)})),b.each(this.trackedObjects.backwards().iterator(),(function(n){n.overPointers.contains(t)||i.handleTrack(n,t,e)}))},e.prototype.handleTrack=function(t,e,i,n){if(void 0===n&&(n=!1),(n||this.moved(e,0))&&t.events.isEnabled("track")&&!f.B.isPaused){var r={type:"track",target:t,event:i,point:e.point,pointer:e,touch:e.touch};t.events.dispatchImmediately("track",r)}}
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 o={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:o}),i<0?t.events.isEnabled("wheelleft")&&!f.B.isPaused&&t.events.dispatchImmediately("wheelleft",{type:"wheelleft",target:t,event:r,point:e.point,shift:o}):i>0?t.events.isEnabled("swiperight")&&!f.B.isPaused&&t.events.dispatchImmediately("wheelright",{type:"wheelright",target:t,event:r,point:e.point,shift:o}):n<0?t.events.isEnabled("wheelup")&&!f.B.isPaused&&t.events.dispatchImmediately("wheelup",{type:"wheelup",target:t,event:r,point:e.point,shift:o}):n>0&&t.events.isEnabled("wheeldown")&&!f.B.isPaused&&t.events.dispatchImmediately("wheeldown",{type:"wheeldown",target:t,event:r,point:e.point,shift:o})},e.prototype.handleInertia=function(t,e){t.draggable&&0===t.downPointers.length&&this.handleMoveInertia(t,e),t.resizable&&t.downPointers.length>1&&this.handleResizeInertia(t,e)},e.prototype.handleMoveInertia=function(t,e){var i=t,n={x:e.point.x,y:e.point.y},r={x:e.startPoint.x,y:e.startPoint.y},o=new c.r(i,"move",n,r),a=this.getTrailPoint(e,x.getTime()-this.getInertiaOption(t,"move","time"));if("undefined"!==typeof a){var u=this.getInertiaOption(t,"move","factor"),l=[{to:e.point.x+(e.point.x-a.point.x)*u,property:"x"},{to:e.point.y+(e.point.y-a.point.y)*u,property:"y"}],h=new s.fw(o,l,this.getInertiaOption(t,"move","duration"),this.getInertiaOption(t,"move","easing")).start();this._disposers.push(h.events.on("animationended",(function(t){o.done()}))),t.inertias.setKey("move",o)}else this.processDragStop(t,e,e.lastUpEvent)},e.prototype.handleResizeInertia=function(t,e){},e.prototype.handleTransform=function(t,e){var i,n,r,o=t.downPointers.getIndex(0),s=null,a=null;o&&(s=o.point,a=o.startPoint),r=n={x:t.originalPosition.x,y:t.originalPosition.y};for(var u=!0,l=1;l<t.downPointers.length;l++){var h=t.downPointers.getIndex(l);if(a.x!=h.startPoint.x&&a.y!=h.startPoint.y){u=!1,n=(i=h).point,r=i.startPoint;break}}var c=o&&this.moved(o,0);if(t.draggable&&o&&o.dragStartEvents&&o.dragStartEvents.length&&c&&t.events.isEnabled("dragstart")&&!f.B.isPaused&&t.events.dispatchImmediately("dragstart",o.dragStartEvents.shift()),u&&t.draggable)this.handleTransformMove(t,s,a,e,c,o.touch),this.shouldCancelHovers(o)&&this.moved(o,this.getHitOption(t,"hitTolerance"))&&this.cancelAllHovers(e);else{var p=i&&this.moved(i,0);(this.shouldCancelHovers(o)&&this.moved(o,this.getHitOption(t,"hitTolerance"))||this.shouldCancelHovers(i)&&this.moved(i,this.getHitOption(t,"hitTolerance")))&&this.cancelAllHovers(e),t.draggable&&t.resizable?(this.handleTransformMove(t,s,a,e,c&&p,o.touch),this.handleTransformResize(t,s,a,n,r,e,c&&p,o.touch)):(t.draggable&&this.handleTransformMove(t,s,a,e,c,o.touch),!t.resizable||u&&!e.ctrlKey||this.handleTransformResize(t,s,a,n,r,e,c&&p,o.touch))}},e.prototype.handleTransformMove=function(t,e,i,n,r,o){if(r&&t.events.isEnabled("drag")&&!f.B.isPaused&&(!t.isTouchProtected||!o)){var s={type:"drag",target:t,event:n,shift:{x:e.x-i.x,y:e.y-i.y},startPoint:i,point:e,touch:o};t.events.dispatchImmediately("drag",s)}},e.prototype.handleTransformResize=function(t,e,i,n,r,o,s,a){if(t.events.isEnabled("resize")&&!f.B.isPaused&&(!t.isTouchProtected||!a)){var u={type:"resize",target:t,event:o,scale:m.getScale(e,i,n,r),startPoint1:i,point1:e,startPoint2:r,point2:n,touch:a};t.events.dispatchImmediately("resize",u)}},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){return(_.hasValue(t.identifier)?""+t.identifier:_.hasValue(t.pointerId)?""+t.pointerId:"m").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)).touch=this.isPointerTouch(t):(e={id:i,touch:this.isPointerTouch(t),startPoint:n,startTime:x.getTime(),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&&_.hasValue(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(_.hasValue(t.type)&&t.type.match(/^mouse/))return!1;return!0},e.prototype.resetPointer=function(t,e){var i=this.getPointerPoint(e);t.startTime=x.getTime(),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.getTime(),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(_.hasValue(n))return n;var r=p.yj(e)||document;if(r.elementFromPoint){var o=r.elementFromPoint(t.point.x,t.point.y),s=o&&p.r3(e,o);return this.setCache("local_pointer_"+t.id+"_"+i,s,100),s}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=t.inertiaOptions.getKey(e);return n&&_.hasValue(n[i])?n[i]:this.inertiaOptions.getKey(e)[i]},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.getTime();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.getTime();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(_.hasValue(e.overStyle))for(var i=0;i<e.overStyle.length;i++)p.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)&&_.hasValue(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)&&_.hasValue(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=T().body,i=_.isArray(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=T().body,i=_.isArray(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.getTime()-t.startTime>e},e.prototype.getShift=function(t){return{x:t.startPoint.x-t.point.x,y:t.startPoint.y-t.point.y}},e.prototype.getTrailPoint=function(t,e){for(var i,n=0;n<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 u.E(t)},e.prototype.setTemporaryStyle=function(t,e,i){var n=t.element;_.hasValue(n.style[e])&&!t.replacedStyles.hasKey(e)&&t.replacedStyles.setKey(e,n.style[e]),p.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.each(t.replacedStyles.iterator(),(function(e){var i=e[0],n=e[1];t.element.style[i]=n,t.replacedStyles.removeKey(i)}))},e.prototype.dispose=function(){this.isDisposed()||(t.prototype.dispose.call(this),this.restoreAllStyles(this.body),this.unlockWheel())},e.prototype.log=function(t,e,i){if(e.changedTouches)for(var n=0;n<e.changedTouches.length;n++)this.logTouch(t,e.type,e.changedTouches[n]);else{var r="";if(e.pointerType)switch(e.pointerType){case 2:r="touch";break;case 4:r="mouse";break;default:r=e.pointerType}else r="undefined"!=typeof TouchEvent&&e instanceof TouchEvent?"touch":e.type.match(/^mouse/)?"mouse":"???";var o="";o=_.hasValue(e.identifier)?e.identifier:_.hasValue(e.pointerId)?e.pointerId:"???",i?console.log(t+" ("+i.uid+") "+e.type+" "+r+" "+o):console.log(t+" "+e.type+" "+r+" "+o)}},e.prototype.areTransformed=function(t){var e=this.transformedObjects.length;if(t)for(var i=_.isArray(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),P=null;function T(){return null==P&&(P=new w),P}},37144:function(t,e,i){i.d(e,{J:function(){return s}});var n=i(406),r=i(78816),o=i(36442),s=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"),o={x:0,y:0};this.keyboardEvent.shiftKey?(e*=.5,i=1):this.keyboardEvent.ctrlKey&&(e*=2);var s=(new Date).getTime()-this._startedOn,a=s-r;if(i>0&&a>0){var u=s/r;s=r,o.x+=this.directionX*(e*i*u*a),o.y+=this.directionY*(e*i*u*a)}o.x+=this.directionX*(e*s),o.y+=this.directionY*(e*s),(0,n.S)().handleTransformMove(t,o,{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),o.remove(r.B.animations,this))},t}()},59355:function(t,e,i){i.d(e,{E:function(){return h}});var n=i(19845),r=i(90998),o=i(73870),s=i(87155),a=i(3485),u=i(406),l=i(24306),h=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,u.S)().overObjects.moveValue(this):(this.isRealHover=!1,(0,u.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 s.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,u.S)().downObjects.moveValue(this):(0,u.S)().downObjects.removeValue(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"downPointers",{get:function(){return this._downPointers||(this._downPointers=new s.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,u.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,u.S)().unprepElement(this):(this.draggable||this.swipeable||this.trackable||this.resizable)&&(0,u.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,u.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,u.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,u.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,u.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,u.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,u.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,u.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,u.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,u.S)().processFocusable(this))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){return l.getValueDefault(this._tabindex,-1)},set:function(t){this._tabindex!==t&&(this._tabindex=t,t>-1&&(this.focusable=!0),(0,u.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.getValueDefault(this._originalScale,1)},set:function(t){this._originalScale!==t&&(this._originalScale=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalAngle",{get:function(){return l.getValueDefault(this._originalAngle,0)},set:function(t){this._originalAngle!==t&&(this._originalAngle=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inertiaOptions",{get:function(){return this.sprite&&this.sprite._adapterO?this.sprite._adapterO.apply("inertiaOptions",this._inertiaOptions):this._inertiaOptions}
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,u.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,u.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}(o.y)},90998:function(t,e,i){i.d(e,{A:function(){return s}});var n=i(19845),r=i(9209),o=i(29138),s=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 s=function(t){i.call(n,e,t)};this.target.element.addEventListener(t,s,!1),this._domEvents[t]=new o.DM((function(){delete r._domEvents[t],r.target.element.removeEventListener(t,s,!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,s,a){var u=t.prototype._on.call(this,e,i,n,r,s,a),l=[u.disposer];switch(i){case"hit":case"doublehit":case"rightclick":case"down":case"up":this.target.clickable=!0;break;case"drag":case"dragstart":case"dragstop":this.target.draggable=!0;break;case"track":this.target.trackable=!0;break;case"resize":this.target.resizable=!0;break;case"swipe":case"swipeleft":case"swiperight":this.target.swipeable=!0;break;case"wheel":case"wheelup":case"wheeldown":case"wheelleft":case"wheelright":this.target.wheelable=!0;break;case"over":case"out":this.target.hoverable=!0;break;case"focus":case"blur":case"focusin":case"focusout":this.target.focusable=!0;break;case"keydown":case"keyup":case"keypress":case"input":l.push(this._addDOMEvent(i,i,this._dispatchKeyboardEvent,this))}return u.disposer=new o.FV(l),u},e}(r.r)},3856: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"}
1],t.text=[{property:"cursor",value:"text"}],t}()},33394:function(t,e,i){i.d(e,{_:function(){return s}});var n=i(43281),r=i(59205),o=i(24306),s=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.each(t,(function(t,i){o.hasValue(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.each(t,(function(t,i){o.hasValue(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(){for(;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}()},5314:function(t,e,i){i.d(e,{Z:function(){return r}});var n=i(19845),r=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)for(;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}(i(33394)._)},37130:function(t,e,i){i.d(e,{V:function(){return l},X:function(){return a}});var n=i(33394),r=i(5314),o=i(92275),s=i(43281),a=function(){function t(t,e){this.container=t,this.id=e;var i=document.createElementNS(s.qu,"svg");i.setAttribute("version","1.1"),i.setAttributeNS(s.rv,"xmlns",s.qu),i.setAttributeNS(s.rv,"xmlns:xlink",s.Xz),i.setAttribute("role","group"),this.container.appendChild(i),this.defs=document.createElementNS(s.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(){return new n._("foreignObject")},t.prototype.supportsForeignObject=function(){return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Extensibility","1.1")},t}(),u=null;function l(){if(null===u){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 o.g(t,!0);u=new a(e.SVGContainer,"ghost")}return u}},71334:function(t,e,i){i.r(e),i.d(e,{arc:function(){return f},arcTo:function(){return d},arcToPoint:function(){return g},closePath:function(){return p},cubicCurveTo:function(){return c},lineTo:function(){return l},moveTo:function(){return u},pathToPoints:function(){return v},pointsToPath:function(){return _},polyline:function(){return a},quadraticCurveTo:function(){return h},rectToPath:function(){return m},rectangle:function(){return y},spiralPoints:function(){return b}});var n=i(64112),r=i(24306),o=i(37130),s=i(99934);function a(t){var e=l(t[0]),i={x:0,y:0},o=s.Y.minPolylineStep;r.isNumber(o)||(o=.5);for(var a=0,u=t.length;a<u;a++){var h=t[a];n.getDistance(h,i)>o&&(e+=l(h),i=h)}return e}function u(t){return" M"+n.round(t.x,4)+","+n.round(t.y,4)+" "}function l(t){return" L"+n.round(t.x,4)+","+n.round(t.y,4)+" "}function h(t,e){return" Q"+n.round(e.x,4)+","+n.round(e.y,4)+" "+n.round(t.x,4)+","+n.round(t.y,4)}function c(t,e,i){return" C"+n.round(e.x,4)+","+n.round(e.y,4)+" "+n.round(i.x,4)+","+n.round(i.y,4)+" "+n.round(t.x,4)+","+n.round(t.y,4)}function p(){return" Z"}function d(t,e,i,o){if(0==e)return"";r.isNumber(o)||(o=i);var s="",a=",",u=Math.ceil(Math.abs(e)/180),h=1;e<0&&(h=0);var c=0,p=0,d=-n.cos(t)*i,f=-n.sin(t)*o;if(e<.5&&i>3e3){var g=t+e;return l({x:m=n.round(n.cos(g)*i,4),y:v=n.round(n.sin(g)*o,4)})}for(var y=0;y<u;y++){var m,v;g=t+e/u*(y+1);s+=" a"+i+a+o+a+0+a+0+a+h+a+(m=n.round(n.cos(g)*i+d-c,4))+a+(v=n.round(n.sin(g)*o+f-p,4)),c=m,p=v}return s}function f(t,e,i,o,s,a,h){if(0==e)return"";if(r.isNumber(o)||(o=0),0==i&&o<=0)return"";if(i<o){var c=i;i=o,o=c,r.isNumber(s)&&(s=s/o*i)}360==(e=n.min(e,360))&&(a=0,h=0);var p=t+e,f=n.sin(n.min(e,45)/2),y=(s=r.isNumber(s)?s:i)/i*o,m=s/i*(a=a||0),v=s/i*(h=r.isNumber(h)?h:a);a=n.fitToRange(a,0,(i-o)/2),m=n.fitToRange(m,0,(s-y)/2),h=n.fitToRange(h,0,(i-o)/2),v=n.fitToRange(v,0,(s-y)/2),a=n.round(n.fitToRange(a,0,i*f),4),m=n.round(n.fitToRange(m,0,s*f),4),h=n.round(n.fitToRange(h,0,o*f),4),v=n.round(n.fitToRange(v,0,y*f),4);var b=Math.asin(a/i/2)*n.DEGREES*2,_=Math.asin(m/s/2)*n.DEGREES*2;o<h&&(o=h),y<v&&(y=v);var x=Math.asin(h/o/2)*n.DEGREES*2,w=Math.asin(v/y/2)*n.DEGREES*2;r.isNumber(x)||(x=0),r.isNumber(w)||(w=0);var P=t+e/2,T={x:n.round(n.cos(P)*o,4),y:n.sin(P)*y},O={x:n.cos(t)*(o+h),y:n.sin(t)*(y+v)},C={x:n.cos(t)*(i-a),y:n.sin(t)*(s-m)},S={x:n.cos(p)*(i-a),y:n.sin(p)*(s-m)},k={x:n.cos(p)*(o+h),y:n.sin(p)*(y+v)}
1,D={x:n.cos(t+b)*i,y:n.sin(t+_)*s},I={x:n.cos(p-x)*o,y:n.sin(p-w)*y};h+=h*n.sin(x/2),v+=v*n.sin(w/2),x>(p-t)/2&&(I=T);var V="";return 360==e?V=u(C):(V=u(O),V+=l(C),V+=g(D,a,m,!0)),V+=d(t+b,e-2*b,i,s),r.isNumber(o)&&0!=o?(360==e&&0==a?V+=u(k):(V+=g(S,a,m,!0),V+=l(k),V+=g(I,h,v,!0)),V+=d(p-x,-(e-2*x),o,y),(e<360||a>0)&&(V+=g(O,h,v,!0)),V+=l(O)):(V+=g(S,a,m,!0),e<360&&(V+=l(O))),V}function g(t,e,i,r,o,s){if(0==e)return"";var a=",";return" A"+e+a+i+a+(s=s||0)+a+ +(o=Boolean(o))+a+ +(r=Boolean(r))+a+n.round(t.x,4)+a+n.round(t.y,4)}function y(t,e,i,n){return r.isNumber(i)||(i=0),r.isNumber(n)||(n=0),u({x:i,y:n})+l({x:i+t,y:n})+l({x:i+t,y:n+e})+l({x:i,y:n+e})+" Z"}function m(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}function v(t,e){var i=(0,o.V)().add("path").node;if(i.setAttribute("d",t),i.getPointAtLength&&i.getTotalLength){for(var n=i.getTotalLength(),r=[],s=0;s<e;s++){var a=i.getPointAtLength(s/e*n);r.push({x:a.x,y:a.y})}return r}i.remove()}function b(t,e,i,o,s,a,u,l,h){r.isNumber(l)||(l=0),r.isNumber(l)||(h=l);for(var c=s+.01,p=l*n.RADIANS,d=[];c<i+u;){var f=a;if(f/2>c&&(f=2*c),(p+=2*Math.asin(f/2/c))*n.DEGREES>h+(i-s)/u*360)break;var g=p*n.DEGREES,y={x:t+c*Math.cos(p),y:e+c*o/i*Math.sin(p)};d.push(y),c=s+g/360*u}return d.shift(),d}function _(t){if(!t||0==t.length)return"";var e=u(t[0]);if(t&&t.length>0)for(var i=1;i<t.length;i++)e+=l(t[i]);return e}},92275:function(t,e,i){i.d(e,{g:function(){return y},k:function(){return g}});var n=i(31508),r=i(70780),o=i(87155),s=i(80008),a=i(43281),u=i(36442),l=i(24306),h=i(17738),c=function(){function t(){var t=this;this._targets=[],this._observer=new ResizeObserver((function(e){u.each(e,(function(e){u.each(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),u.keepIf(this._targets,(function(e){return e.target!==t}))},t}(),p=function(){function t(){this._targets=[]}return t.prototype.addTarget=function(e,i){var n=this;if(0===this._targets.length){var r=null,o=function(){var e=Date.now();(null===r||e>r+t.delay)&&(r=e,u.each(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(o)};this._timer=requestAnimationFrame(o)}var s=e.getBoundingClientRect();this._targets.push({target:e,callback:i,size:s})},t.prototype.removeTarget=function(t){u.keepIf(this._targets,(function(e){return e.target!==t})),0===this._targets.length&&cancelAnimationFrame(this._timer)},t.delay=200,t}(),d=null;var f=function(){function t(t,e){this._disposed=!1,this._sensor=(null===d&&(d="undefined"!==typeof ResizeObserver?new c:new p),d),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(){h.Z("resizeSensor.reset() is no longer needed and can be removed")},t}(),g=[],y=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})))),g.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();this.resizeSensor=new f(this.htmlElement,(function(){t.autoResize&&!t._printing&&t.measure()})),this._disposers.push(this.resizeSensor)},t.prototype.measure=function(){var t=s.width(this.htmlElement),e=s.height(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||u.remove(g,this),u.each(this._disposers,(function(t){t.dispose()}))},Object.defineProperty(t.prototype,"hideOverflow",{set:function(t){this.SVGContainer.style.overflow=t?"hidden":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"modal",{get:function(){return l.hasValue(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.hasValue(this._popups)){var t=new n.G;t.container=this.SVGContainer,this._popups=new o.o(t),this._disposers.push(new o.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.hasValue(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.hasValue(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]),o=Number(n[1]),s=Math.sqrt(r*r+o*o);isNaN(s)||(this.cssScale*=s)}}}t.parentNode&&t.parentNode instanceof HTMLElement&&this.checkTransform(t.parentNode)}},t}()}
1,35666:function(t,e,i){i.d(e,{A0:function(){return h},Jb:function(){return l},Yi:function(){return g},br:function(){return y},fE:function(){return m}});var n=i(19845),r=i(69260),o=i(71334),s=i(36442),a=i(80008),u=i(64112),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,s=this._tensionY;if(t.length<3||r>=1&&s>=1)return o.polyline(t);var a=t[0],l=t[t.length-1],h=!1;u.round(a.x,3)==u.round(l.x)&&u.round(a.y)==u.round(l.y)&&(h=!0);for(var c="",p=(e=0,t.length-1);e<p;e++){i=t[e-1],n=t[e];var d=t[e+1],f=t[e+2];0===e?i=h?t[t.length-2]:t[e]:e==t.length-2&&(f=h?t[1]:t[e+1]);var g=u.getCubicControlPointA(i,n,d,f,r,s),y=u.getCubicControlPointB(i,n,d,f,r,s);c+=o.cubicCurveTo(d,g,y)}return c},t}();function h(t,e,i,n,s,h){var c=t.x,p=t.y,d=e.x,f=e.y,g=u.getDistance(t,e);h&&(i=g/Math.round(g/i));var y=r.i.getCache(a.stringify(["wavedLine",t.x,e.x,t.y,e.y,i,n]));if(!y){if(g>0){var m=Math.atan2(f-p,d-c),v=Math.cos(m),b=Math.sin(m),_=i*v,x=i*b;if(i<=1||n<=1)y=o.lineTo(e);else{var w=Math.round(2*g/i),P=[],T=1;d<c&&(T*=-1),f<p&&(T*=-1);for(var O=0;O<=w;O++){var C=c+O*_/2+(T*=-1)*n/2*b,S=p+O*x/2-T*n/2*v;P.push({x:C,y:S})}y=new l(s,s).smooth(P)}}else y="";r.i.setCache(a.stringify(["wavedLine",t.x,e.x,t.y,e.y,i,n]),y)}return y}var c=function(){function t(t,e){this._reversed=t,this._closed=e.closed}return t.prototype._curve=function(t,e,i,n,r,s){var a=(e-t)/3;return this._reversed?o.cubicCurveTo({x:n,y:e},{x:i+a*r,y:t+a},{x:n-a*s,y:e-a}):o.cubicCurveTo({x:e,y:n},{x:t+a,y:i+a*r},{x:e-a,y:n-a*s})},t.prototype.smooth=function(t){var e=this,i=NaN,n=NaN,r=NaN,a=NaN,u=NaN,l=0,h="";switch(s.each(t,(function(t){var s=t.x,c=t.y;if(e._reversed){var p=s;s=c,c=p}var g=NaN;if(s!==n||c!==a){switch(l){case 0:l=1,e._reversed?h+=o.lineTo({x:c,y:s}):h+=o.lineTo({x:s,y:c});break;case 1:l=2;break;case 2:l=3,h+=e._curve(i,n,r,a,d(i,n,r,a,g=f(i,n,r,a,s,c)),g);break;default:h+=e._curve(i,n,r,a,u,g=f(i,n,r,a,s,c))}i=n,n=s,r=a,a=c,u=g}})),l){case 2:this._reversed?h+=o.lineTo({x:a,y:n}):h+=o.lineTo({x:n,y:a});break;case 3:h+=this._curve(i,n,r,a,u,d(i,n,r,a,u))}return this._closed&&(h+=o.closePath()),h},t}();function p(t){return t<0?-1:1}function d(t,e,i,n,r){var o=e-t;return o?(3*(n-i)/o-r)/2:r}function f(t,e,i,n,r,o){var s=e-t,a=r-e,u=(n-i)/(s||a<0&&-0),l=(o-n)/(a||s<0&&-0),h=(u*a+l*s)/(s+a);return(p(u)+p(l))*Math.min(Math.abs(u),Math.abs(l),.5*Math.abs(h))||0}var g=function(t){function e(e){return t.call(this,!1,e)||this}return(0,n.ZT)(e,t),e}(c),y=function(t){function e(e){return t.call(this,!0,e)||this}return(0,n.ZT)(e,t),e}(c),m=function(){function t(t){this._closed=t.closed}return t.prototype.smooth=function(t){var e=this,i=NaN,n=NaN,r=NaN,a=NaN,u=NaN,l=NaN,h=NaN,c=NaN,p=NaN,d=NaN,f=0,g="",y=function(t,e){g+=o.cubicCurveTo({x:(i+4*n+t)/6,y:(l+4*h+e)/6},{x:(2*i+n)/3,y:(2*l+h)/3},{x:(i+2*n)/3,y:(l+2*h)/3})},m=function(t){var s=t.x,m=t.y;switch(f){case 0:f=1,e._closed?(r=s,c=m):g+=o.lineTo({x:s,y:m});break;case 1:f=2,e._closed&&(a=s,p=m);break;case 2:if(f=3,e._closed){u=s,d=m,g+=o.moveTo({x:(i+4*n+s)/6,y:(l+4*h+m)/6});break}g+=o.lineTo({x:(5*i+n)/6,y:(5*l+h)/6});default:y(s,m)}i=n,n=s,l=h,h=m};if(s.each(t,m),this._closed)switch(f){case 1:g+=o.moveTo({x:r,y:c}),g+=o.closePath();break;case 2:g+=o.moveTo({x:(r+2*a)/3,y:(c+2*p)/3}),g+=o.lineTo({x:(a+2*r)/3,y:(p+2*c)/3}),g+=o.closePath();break;case 3:m({x:r,y:c}),m({x:a,y:p}),m({x:u,y:d})}else{switch(f){case 3:y(n,h);case 2:g+=o.lineTo({x:n,y:h})}g+=o.closePath()}return g},t}()},55619:function(t,e,i){i.d(e,{P:function(){return s}});var n=i(19845),r=i(73870),o=i(69260),s=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);o.i.registeredClasses.ColorModifier=s},90511:function(t,e,i){i.d(e,{u:function(){return u}});var n=i(19845),r=i(55619),o=i(69260),s=i(64112),a=i(24306),u=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=s.max(e,this.opacities.length)),this.lightnesses&&(e=s.max(e,this.lightnesses.length)),this.brightnesses&&(e=s.max(e,this.brightnesses.length));for(var i,n,r=1,o=0;o<e;o++){var u=t;this.opacities&&a.isNumber(this.opacities[o])&&(r=this.opacities[o]),this.lightnesses&&a.isNumber(this.lightnesses[o])&&(i=this.lightnesses[o],n=void 0),this.brightnesses&&a.isNumber(this.brightnesses[o])&&(n=this.brightnesses[o],i=void 0),a.isNumber(n)?u=t.brighten(this.brightnesses[o]):a.isNumber(i)&&(u=t.lighten(this.lightnesses[o]));var l=this.offsets[o];
1this.gradient.addColor(u,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);o.i.registeredClasses.GradientModifier=u},49329:function(t,e,i){i.d(e,{o:function(){return c}});var n=i(19845),r=i(73870),o=i(87155),s=i(37130),a=i(69260),u=i(12352),l=i(64112),h=i(24306),c=function(t){function e(){var e=t.call(this)||this;return e._stops=new o.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.RADIANS,i=Math.round(50+50*Math.sin(e+Math.PI))+"%",n=Math.round(50+50*Math.cos(e))+"%",r=Math.round(50+50*Math.sin(e))+"%",o=Math.round(50+50*Math.cos(e+Math.PI))+"%",s=this.element;s.removeChildNodes(),s.attr({x1:i,x2:r,y1:n,y2:o}),u.each(u.indexed(this._stops.iterator()),(function(e){var i=e[0],n=e[1],r=n.offset;h.isNumber(r)||(r=i/(t._stops.length-1));var o=t.paper.add("stop");h.hasValue(n.color)&&o.attr({"stop-color":n.color.toString()}),h.isNumber(n.opacity)&&o.attr({"stop-opacity":n.opacity}),h.isNumber(r)&&o.attr({offset:r}),s.add(o)}))},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,s.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=c},90176:function(t,e,i){i.d(e,{Y:function(){return a}});var n=i(19845),r=i(49329),o=i(90511),s=i(69260),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}(o.u);s.i.registeredClasses.LinearGradientModifier=a},71883:function(t,e,i){i.d(e,{c:function(){return d}});var n=i(19845),r=i(73870),o=i(37130),s=i(87155),a=i(42053),u=i(69260),l=i(62e3),h=i(12352),c=i(59205),p=i(24306),d=function(t){function e(){var e=t.call(this)||this;e._elements=new s.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-"+u.i.getUniqueId(),e.element.attr({id:e.id}),e._disposers.push(e.element),e._disposers.push(new s.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}),h.each(this._elements.iterator(),(function(e){e.rotation=t.rotation,e.rotationX=t.properties.rotationX,e.rotationY=t.properties.rotationY,t.element.add(e)}))}},e.prototype.animate=function(t,e,i){return new 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},set:function(t){this.properties.strokeOpacity=t,this.draw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.properties.strokeWidth}
1,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,o.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),c.each(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&&p.hasValue(e.elements)&&p.isArray(e.elements))for(var i=0,n=e.elements.length;i<n;i++){var o=e.elements[i];if(p.hasValue(o.type)){var s=this.createEntryInstance(o);s instanceof r.L&&(s.config=o),this.addElement(p.hasValue(o.typeProperty)?s[o.typeProperty]:s.element)}}t.prototype.processConfig.call(this,e)},e}(r.L);u.i.registeredClasses.Pattern=d},38634:function(t,e,i){i.d(e,{X:function(){return c}});var n=i(19845),r=i(73870),o=i(87155),s=i(37130),a=i(69260),u=i(12352),l=i(24306),h=i(48864),c=function(t){function e(){var e=t.call(this)||this;return e._stops=new o.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,e=this,i=this.element;l.isNumber(this.cx)&&((t=this.cx)instanceof h.gG&&(t=t.percent+"%"),i.attr({cx:t}));l.isNumber(this.cy)&&((t=this.cy)instanceof h.gG&&(t=t.percent+"%"),i.attr({cy:t}));this.fx&&((t=this.fx)instanceof h.gG&&(t=t.percent+"%"),i.attr({fx:t}));this.fy&&((t=this.fy)instanceof h.gG&&(t=t.percent+"%"),i.attr({fy:t}));i.removeChildNodes(),u.each(u.indexed(this._stops.iterator()),(function(t){var n=t[0],r=t[1],o=r.offset;l.isNumber(o)||(o=n/(e._stops.length-1));var s=e.paper.add("stop");l.hasValue(r.color)&&s.attr({"stop-color":r.color.toString()}),l.isNumber(r.opacity)&&s.attr({"stop-opacity":r.opacity}),l.isNumber(o)&&s.attr({offset:o}),i.add(s)}))},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,s.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=c},32768:function(t,e,i){i.d(e,{q:function(){return s}});var n=i(19845),r=i(38524),o=i(69260),s=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);o.i.registeredClasses.DesaturateFilter=s},27025:function(t,e,i){i.d(e,{p:function(){return a}});var n=i(19845),r=i(38524),o=i(86820),s=i(69260),a=function(t){function e(){var e=t.call(this)||this;return e.className="DropShadowFilter",e.color=(0,o.$_)("#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);s.i.registeredClasses.DropShadowFilter=a},38524:function(t,e,i){i.d(e,{w:function(){return h}});var n=i(19845),r=i(73870),o=i(37130),s=i(42053),a=i(87155),u=i(59205),l=i(12352),h=function(t){function e(){var e=t.call(this)||this;return e.properties={},e.isTemplate=!1,e._scale=1,e._nonScaling=!0,e.className="Filter",e.filterPrimitives=new 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.each(this.filterPrimitives.iterator(),(function(e){t.add(e)}))}
1,e.prototype.animate=function(t,e,i){return new s.fw(this,t,e,i).start()},Object.defineProperty(e.prototype,"width",{get:function(){return this.properties.width},set:function(t){this.properties.width=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.properties.height},set:function(t){this.properties.height=t},enumerable:!0,configurable:!0}),e.prototype.copyFrom=function(e){var i=this;t.prototype.copyFrom.call(this,e),u.each(e.properties,(function(t,e){i[t]=e}))},Object.defineProperty(e.prototype,"paper",{get:function(){return this._paper?this._paper:(0,o.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 s.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)},39269:function(t,e,i){i.d(e,{H:function(){return s}});var n=i(19845),r=i(38524),o=i(69260),s=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);o.i.registeredClasses.LightenFilter=s},61765:function(t,e,i){i.d(e,{FA:function(){return c},L1:function(){return p},Sh:function(){return h}});var n=i(25542),r=i(71610),o=i(3754),s=i(12352),a=i(36442),u=i(24306),l=i(59205),h=function(){function t(){this._callbackId=0,this._callbacks=new n.$X((function(t,e){return o.or(r.order(t.priority,e.priority),r.order(t.id,e.id))}))}return t.prototype.addAll=function(t,e,i,n,r){void 0===n&&(n=0),this._callbacks.insert({id:++this._callbackId,key:e,callback:i,priority:n,scope:r,type:t})},t.prototype.isEnabled=function(t,e){return a.any(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 o=0;o<r;++o){var s=n[o];s.key===e&&t instanceof s.type&&(i=s.callback.call(s.scope,i,t,e))}return i},t}(),c=new h,p=function(){function t(t){this._callbackId=0,this._callbacks=new n.$X((function(t,e){return o.or(r.order(t.priority,e.priority),r.order(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),s.contains(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.each(s.toArray(this._callbacks.iterator()),(function(n){n.key!==t||u.isNumber(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.any(this._callbacks.values,(function(e){return e.key===t}))},t.prototype.isEnabled=function(t){return null==this._disabled[t]&&(this._hasListenersByType(t)||c.isEnabled(this.object,t))},t.prototype._shouldDispatch=function(t){var e=this._disabled[t];return!u.isNumber(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 o=i[r];o.key===t&&(e=o.callback.call(o.scope,e,this.object,t))}return e=c.applyAll(this.object,t,e)}return e},t.prototype.keys=function(){return s.toArray(s.map(this._callbacks.iterator(),(function(t){return t.key})))},t.prototype.copyFrom=function(t){var e=this;s.each(t._callbacks.iterator(),(function(t){e.add(t.key,t.callback,t.priority,t.scope)})),l.each(t._disabled,(function(t,i){e._disabled[t]=i}))},t.prototype.clear=function(){this._callbacks.clear()},t}()}
1,42053:function(t,e,i){i.d(e,{fw:function(){return P},jt:function(){return m},w3:function(){return w}});var n=i(19845),r=i(73870),o=i(81991),s=i(29138),a=i(86820),u=i(48864),l=i(51747),h=i(70522),c=i(40078),p=i(64112),d=i(36442),f=i(24306),g=i(78816),y=i(99934);function m(t,e){var i=!1,n=Date.now();return l.gl((function r(o){if(!i){var s=o-n;s>=t?e(1):(l.gl(r),e(s/t))}})),new s.ku((function(){i=!0}))}function v(t,e,i){return e+(i-e)*t}function b(t,e,i){return new u.gG(v(t,e.percent,i.percent))}function _(t,e,i){var n=new a.Il(c.interpolate(e.rgb,i.rgb,t));return e.alpha!=i.alpha&&(n.alpha=e.alpha+(i.alpha-e.alpha)*t),n}function x(t,e){return e+t.charAt(0).toUpperCase()+t.substr(1)}var w=function(){function t(t){this._disposer=new s.ku((function(){for(;0!==t.length;)t[0].dispose()}))}return t.prototype.isDisposed=function(){return this._disposer.isDisposed()},t.prototype.dispose=function(){this._disposer.dispose()},t}(),P=function(t){function e(e,i,n,r){var o=t.call(this)||this;return o.duration=0,o.easing=h.linear,o.progress=0,o._loop=0,o._pause=!1,o._delayTimeout=null,o._time=0,o._isFinished=!1,o.className="Animation",!1===y.Y.animationsEnabled&&(n=0),o.object=e,o.animationOptions=d.toArray(i),o.duration=n,r&&(
1o.easing=r),o.applyTheme(),o}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(),d.move(this.object.animations,this);var i=setTimeout((function(){e._delayTimeout=null,e.start()}),t);this._delayTimeout=new s.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,d.move(g.B.animations,this),d.move(this.object.animations,this),g.B.requestFrame()},e.prototype.start=function(){this._start(),this._startTime=Date.now(),this._time=0,this.staticOptions=[];for(var t=this.animationOptions.length-1;t>=0;t--){var e=this.animationOptions[t];if(f.hasValue(e.from)||(e.childObject?e.from=e.childObject[e.property]:(e.from=this.object[e.property],f.hasValue(e.from)||(e.from=o.n[e.property]))),e.from==e.to)d.remove(this.animationOptions,e);else if(!f.hasValue(e.from)||!(e.from instanceof u.gG)&&e.to instanceof u.gG||e.from instanceof u.gG&&!(e.to instanceof u.gG))this.staticOptions.push(e),d.remove(this.animationOptions,e);else if(f.isNumber(e.to))if(e.updateMethod=v,e.from instanceof u.gG){var i=this.object[x(e.property,"pixel")];isNaN(i)?(this.staticOptions.push(e),d.remove(this.animationOptions,e)):e.from=i}else isNaN(e.from)&&(this.staticOptions.push(e),d.remove(this.animationOptions,e));else if(e.to instanceof a.Il)e.from?e.updateMethod=_:(this.staticOptions.push(e),d.remove(this.animationOptions,e));else if(e.to instanceof u.gG){if(e.updateMethod=b,!isNaN(e.from)){i=this.object[x(e.property,"relative")];isNaN(i)||(e.from=(0,u.aQ)(100*i))}}else this.staticOptions.push(e),d.remove(this.animationOptions,e)}if(this.applyStaticOptions(),this.events.isEnabled("animationstarted")){var n={type:"animationstarted",target:this,progress:this.progress};this.events.dispatchImmediately("animationstarted",n)}return this.update(),0===this.duration&&this.end(),this},e.prototype.loop=function(t){return f.isNumber(t)||(t=1/0),this._loop=t,this},e.prototype.pause=function(){return this._pause=!0,this._delayTimeout&&(this.removeDispose(this._delayTimeout),this._delayTimeout=null),d.remove(g.B.animations,this),d.remove(this.object.animations,this),this},e.prototype.resume=function(){return this._start(),this._startTime=Date.now()-this._time,this},e.prototype.end=function(){if(0==this._loop&&this.pause(),this.setProgress(1),this.applyStaticOptions(),this.events.isEnabled("animationended")){var t={type:"animationended",target:this,progress:this.progress};this.events.dispatchImmediately("animationended",t)}return this._loop>0?(this._loop--,this.start()):(this.stop(),this._isFinished=!0),this},e.prototype.kill=function(){this.pause(),this._isFinished=!0},e.prototype.isFinished=function(){return this._isFinished},e.prototype.applyStaticOptions=function(){var t=this;d.each(this.staticOptions,(function(e){e.childObject?e.childObject[e.property]=1==t.progress?e.to:e.from:t.object[e.property]=1==t.progress?e.to:e.from}))},e.prototype.stop=function(t){if(this.pause(),!t&&this.events.isEnabled("animationstopped")){var e={type:"animationstopped",target:this,progress:this.progress};this.events.dispatchImmediately("animationstopped",e)}return this},e.prototype.setProgress=function(t){var e=this;if(this._time=this.duration*t,d.each(this.animationOptions,(function(i){if(i.updateMethod&&f.hasValue(i.from)){var n=i.updateMethod(t,i.from,i.to);i.childObject?i.childObject[i.property]=n:e.object[i.property]=n}})),this.progress=t,this.events.isEnabled("animationprogress")){var i={type:"animationprogress",target:this,progress:this.progress};this.events.dispatchImmediately("animationprogress",i)}g.B.requestFrame()},e.prototype.update=function(){if(!this._pause){var t=void 0;this._time=p.fitToRange(Date.now()-this._startTime,0,this.duration);var e=this._time/this.duration;t=this.easing(e),(0==this.duration||!f.isNumber(t)||e>=1)&&(t=1),this.setProgress(t),1==p.round(this._time/this.duration,6)&&this.end()}return this},Object.defineProperty(e.prototype,"delayed",{get:function(){return!!this._delayTimeout},enumerable:!0,configurable:!0}),e.prototype.stopSameAnimations=function(){var t=this;d.each(d.copy(this.object.animations),(function(e){if(e!==t&&!e.delayed){var i=[];d.each(t.animationOptions,(function(t){d.each(e.animationOptions,(function(n){t.property==n.property&&t.childObject==n.childObject&&(i.push(n),0==e.animationOptions.length&&e.kill())}
1))})),d.each(i,(function(t){d.remove(e.animationOptions,t)}))}}))},e.prototype.asFunction=function(e){return"easing"==e||t.prototype.asIs.call(this,e)},e}(r.y)},36442:function(t,e,i){i.r(e),i.d(e,{add:function(){return b},any:function(){return s},copy:function(){return P},each:function(){return u},eachContinue:function(){return h},eachReverse:function(){return l},find:function(){return D},findIndex:function(){return k},first:function(){return d},getSortedIndex:function(){return S},has:function(){return w},indexOf:function(){return o},insert:function(){return f},insertIndex:function(){return O},keepIf:function(){return V},last:function(){return p},map:function(){return a},move:function(){return v},pushAll:function(){return y},remove:function(){return m},removeIndex:function(){return C},replace:function(){return _},setIndex:function(){return g},shiftLeft:function(){return c},shuffle:function(){return I},slice:function(){return T},toArray:function(){return x}});var n=i(64112),r=i(24306);function o(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 a(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 u(t,e){for(var i=t.length,n=0;n<i;++n)e(t[n],n)}function l(t,e){for(var i=t.length;i--;)e(t[i],i)}function h(t,e){for(var i=t.length,n=0;n<i&&e(t[n],n);++n);}function c(t,e){for(var i=t.length,n=e;n<i;++n)t[n-e]=t[n];t.length=i-e}function p(t){var e=t.length;return e?t[e-1]:void 0}function d(t){return t[0]}function f(t,e,i){i=n.fitToRange(i,0,t.length),t.splice(i,0,e)}function g(t,e,i){m(t,e),f(t,e,i)}function y(t,e){for(var i=e.length,n=0;n<i;++n)t.push(e[n])}function m(t,e){var i=!1,n=t.indexOf(e);if(-1!==n){i=!0,t.splice(n,1);for(var r=t.length;n<r;)t[n]===e?(t.splice(n,1),--r):++n}return i}function v(t,e,i){var n=o(t,e);-1!==n&&C(t,n),null==i?t.push(e):O(t,i,e)}function b(t,e,i){r.isNumber(i)?0===i?t.unshift(e):t.splice(i,0,e):t.push(e)}function _(t,e,i){var n=t.indexOf(e);-1!==n&&t.splice(n,1),r.isNumber(i)?t.splice(i,0,e):t.push(e)}function x(t){return Array.isArray(t)?t:[t]}function w(t,e){return-1!==o(t,e)}function P(t){for(var e=t.length,i=new Array(e),n=0;n<e;++n)i[n]=t[n];return i}function T(t,e,i){void 0===i&&(i=t.length);for(var n=new Array(i-e),r=e;r<i;++r)n[r-e]=t[r];return n}function O(t,e,i){t.splice(e,0,i)}function C(t,e){t.splice(e,1)}function S(t,e,i){for(var n=0,r=t.length,o=!1;n<r;){var s=n+r>>1,a=e(i,t[s]);a<0?r=s:0===a?(o=!0,n=s+1):n=s+1}return{found:o,index:o?n-1:n}}function k(t,e){for(var i=t.length,n=0;n<i;++n)if(e(t[n],n))return n;return-1}function D(t,e){var i=k(t,e);if(-1!==i)return t[i]}function I(t){for(var e,i,n=t.length;0!==n;)i=Math.floor(Math.random()*n),e=t[n-=1],t[n]=t[i],t[i]=e}function V(t,e){for(var i=t.length,n=0;n<i;)e(t[n])?++n:(t.splice(n,1),--i)}},51747:function(t,e,i){i.d(e,{Eo:function(){return d},Wn:function(){return l},YO:function(){return y},gl:function(){return p},pT:function(){return g},rA:function(){return f}});var n=i(36442),r=!1,o=[],s=[],a=[],u=[],l="function"===typeof requestAnimationFrame?function(t){requestAnimationFrame(t)}:function(t){setTimeout(t,16.666666666666668)};function h(){for(var t=Date.now(),e=o.length,i=0;i<e;++i)o[i](t);n.shiftLeft(o,e);for(i=0;i<s.length;++i)s[i](t);s.length=0;for(i=0;i<a.length;++i)a[i](t);a.length=0,0===o.length&&0===s.length?r=!1:l(h)}function c(){r||(r=!0,l(h))}function p(t){o.push(t),c()}function d(t){s.push(t),c()}function f(t){a.push(t),c()}function g(t){u.push(t)}function y(){for(var t=Date.now(),e=u.length,i=0;i<e;++i)u.shift()(t)}},16473: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}})},46947:function(t,e,i){i.d(e,{C:function(){return o},F:function(){return s}});var n=i(3485),r=i(24306),o=function(){function t(){this._storage=new n.Xy,this.ttl=1e3}return t.prototype.set=function(t,e,i,o){var s=this._storage.insertKeyIfEmpty(t,(function(){return new n.Xy})),a={touched:(new Date).getTime(),ttl:r.isNumber(o)?o:this.ttl,value:i};s.setKey(e,a)}
1,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}(),s=new o},86820:function(t,e,i){i.d(e,{$_:function(){return a},D5:function(){return u},GM:function(){return l},Il:function(){return s},p9:function(){return h}});var n=i(69260),r=i(40078),o=i(24306),s=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.rgbToHex(this._value):"none"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rgba",{get:function(){return this._value?r.rgbToRGBA(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.lighten(this.rgb,e))},t.prototype.brighten=function(e){return new t(r.brighten(this.rgb,e))},t.prototype.saturate=function(e){return new t(r.saturate(this.rgb,e))},Object.defineProperty(t.prototype,"alternative",{get:function(){if(null!=this.rgb)return r.isLight(this.rgb)?this.darkColor:this.lightColor;throw new Error("Color does not exist")},enumerable:!0,configurable:!0}),t}();function a(t,e){if(!o.hasValue(t))return new s(void 0);if("string"==typeof t){var i="_color_"+t+"_"+(e||"1"),a=n.i.getCache(i);if(a)return new s({r:a.r,g:a.g,b:a.b,a:a.a});var u=r.rgb(t,e);return n.i.setCache(i,u),new s(u)}return t instanceof s?(o.hasValue(e)&&(t.alpha=e),t):new s(t)}function u(t){return t instanceof s}function l(t){return a(t)}function h(t){return o.hasValue(t)&&!u(t)?l(t):t}},8754:function(t,e,i){i.d(e,{U:function(){return c}});var n=i(19845),r=i(73870),o=i(86820),s=i(69260),a=i(40078),u=i(24306),l=i(80008),h=i(64112),c=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 o.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(h.max(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.rgbToHsl(u.getValue(e.rgb)),n=u.hasValue(this.stepOptions.hue)?this.stepOptions.hue:1/t,r={brighten:0,lighten:0,hue:i.h,lightness:i.l,saturation:i.s},s=[],h=0==this.list.length?0:1;if(this.reuse)for(var c=h;c<=t;c++)s.push(a.rgbToHsl(u.getValue(this._list[c].rgb)).h);else for(c=h;c<=t;c++){var p=i.h+n*c;this.wrap&&p>1&&(p-=1),s.push(p)}this.shuffle&&s.sort((function(t,e){return Math.random()-.5}));for(c=0;c<t;c++){this.reuse?i=a.rgbToHsl(u.getValue(this._list[c].rgb)):i.h=s.shift(),this.applyStepOptions(i,r,c,this._currentPass);var d=(0,o.$_)(a.hslToRgb(i)),f=(this.stepOptions.brighten||0)*c+(this.passOptions.brighten||0)*this._currentPass;0!=f&&(f=this.wrap?l.fitNumberRelative(f,this.minLightness,this.maxLightness):l.fitNumber(f,this.minLightness,this.maxLightness),d=d.brighten(f));var g=(this.stepOptions.lighten||0)*c+(this.passOptions.lighten||0)*this._currentPass;0!=g&&(g=this.wrap?l.fitNumberRelative(g,this.minLightness,this.maxLightness):l.fitNumber(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}
1),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.fitNumberRelative(t.l,this.minLightness,this.maxLightness)):(t.l>1?t.l=1:t.l<0&&(t.l=0),t.l=l.fitNumber(t.l,this.minLightness,this.maxLightness))},e.prototype.processConfig=function(e){if(e){if(u.hasValue(e.list)&&u.isArray(e.list))for(var i=0,n=e.list.length;i<n;i++)e.list[i]instanceof o.Il||(e.list[i]=(0,o.$_)(e.list[i]));!u.hasValue(e.baseColor)||e.baseColor instanceof o.Il||(e.baseColor=(0,o.$_)(e.baseColor))}t.prototype.processConfig.call(this,e)},e}(r.L);s.i.registeredClasses.ColorSet=c},40078:function(t,e,i){i.r(e),i.d(e,{brighten:function(){return y},getBrightnessStep:function(){return m},getLightnessStep:function(){return g},hexToRgb:function(){return a},hexToRgbWithAlpha:function(){return u},hslToRgb:function(){return b},hsvToRgb:function(){return w},interpolate:function(){return d},isLight:function(){return P},lighten:function(){return f},pad2:function(){return p},rgb:function(){return s},rgbToHex:function(){return h},rgbToHsl:function(){return _},rgbToHsv:function(){return x},rgbToRGBA:function(){return c},rgbaToRgb:function(){return l},saturate:function(){return v}});var n=i(64112),r=i(24306),o={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgrey:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},grey:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgrey:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230}
1,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 s(t,e){var i;return o[t]?i=o[t]:"#"===t.charAt(0)?i=a(t):t.match(/^rgba?\(/)&&(i=l(t)),i||(i={r:0,g:0,b:0,a:1}),r.hasValue(e)&&(i.a=e),i}function a(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,i,n){return e+e+i+i+n+n}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:u(t)}function u(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,i,n,r){return e+e+i+i+n+n+r+r}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16),a:parseInt(e[4],16)/256}:void 0}function l(t){var e=(t=t.replace(/[ ]/g,"")).match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(e)e.push("1");else if(!(e=t.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i)))return;return{r:parseInt(e[1]),g:parseInt(e[2]),b:parseInt(e[3]),a:parseFloat(e[4])}}function h(t){return"#"+p(t.r.toString(16))+p(t.g.toString(16))+p(t.b.toString(16))}function c(t){return r.hasValue(t.a)&&1!==t.a?"rgba("+t.r+","+t.g+","+t.b+","+t.a+")":"rgb("+t.r+","+t.g+","+t.b+")"}function p(t){return 1==t.length?"0"+t:""+t}function d(t,e,i){return i=n.fitToRange(i,0,1),t?e?{r:t.r+Math.round((e.r-t.r)*i),g:t.g+Math.round((e.g-t.g)*i),b:t.b+Math.round((e.b-t.b)*i),a:(t.a||1)+Math.round(((e.a||1)-(t.a||1))*i)}:t:e||t}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=g(Math.min(Math.max(t.r,t.g,t.b),230),e);return{r:Math.max(0,Math.min(255,Math.round(t.r+i))),g:Math.max(0,Math.min(255,Math.round(t.g+i))),b:Math.max(0,Math.min(255,Math.round(t.b+i))),a:t.a}}return t}function m(t,e){return Math.round(255*e)}function v(t,e){if(null==t||1==e)return t;var i=_(t);return i.s=e,b(i)}function b(t){var e,i,n,r=t.h,o=t.s,s=t.l;if(0==o)e=i=n=s;else{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},u=s<.5?s*(1+o):s+o-s*o,l=2*s-u;e=a(l,u,r+1/3),i=a(l,u,r),n=a(l,u,r-1/3)}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*n)}}function _(t){var e=t.r/255,i=t.g/255,n=t.b/255,r=Math.max(e,i,n),o=Math.min(e,i,n),s=0,a=0,u=(r+o)/2;if(r===o)s=a=0;else{var l=r-o;switch(a=u>.5?l/(2-r-o):l/(r+o),r){case e:s=(i-n)/l+(i<n?6:0);break;case i:s=(n-e)/l+2;break;case n:s=(e-i)/l+4}s/=6}return{h:s,s:a,l:u}}function x(t){var e,i=t.r/255,n=t.g/255,r=t.b/255,o=Math.max(i,n,r),s=Math.min(i,n,r),a=0,u=o,l=o-s;if(e=0==o?0:l/o,o==s)a=0;else{switch(o){case i:a=(n-r)/l+(n<r?6:0);break;case n:a=(r-i)/l+2;break;case r:a=(i-n)/l+4}a/=6}return{h:a,s:e,v:u}}function w(t){var e=0,i=0,n=0,r=t.h,o=t.s,s=t.v,a=Math.floor(6*r),u=6*r-a,l=s*(1-o),h=s*(1-u*o),c=s*(1-(1-u)*o);switch(a%6){case 0:e=s,i=c,n=l;break;case 1:e=h,i=s,n=l;break;case 2:e=l,i=s,n=c;break;case 3:e=l,i=h,n=s;break;case 4:e=c,i=l,n=s;break;case 5:e=s,i=l,n=h}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*n)}}function P(t){return(299*t.r+587*t.g+114*t.b)/1e3>=128}}
1,43281:function(t,e,i){i.d(e,{A_:function(){return v},Ay:function(){return O},C:function(){return D},Cd:function(){return E},DM:function(){return k},Dx:function(){return b},IV:function(){return m},Oo:function(){return f},PZ:function(){return L},Rt:function(){return w},T_:function(){return x},Xz:function(){return d},cn:function(){return y},gR:function(){return j},hw:function(){return M},kK:function(){return P},kM:function(){return S},qu:function(){return c},r3:function(){return T},rv:function(){return p},sb:function(){return g},u0:function(){return I},w:function(){return F},xj:function(){return N},yj:function(){return C},yv:function(){return _}});var n,r=i(19845),o=i(29138),s=i(51747),a=i(99934),u=i(59205),l=i(36442),h=i(24306),c="http://www.w3.org/2000/svg",p="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 o.ku((function(){t.removeEventListener(e,i,n||!1)}))}function g(t){if(h.isString(t)){var e=document.getElementById(t);if(null==e&&(e=document.getElementsByClassName(t)[0]),e instanceof HTMLElement)return e}else if(t instanceof HTMLElement)return t}function y(t,e){if(t)if(t.classList){var i=e.split(" ");l.each(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){if(t instanceof HTMLElement)t.focus();else{var e=document.createElement("input"),i=document.createElementNS(c,"foreignObject");i.appendChild(e),t.appendChild(i),e.focus(),e.disabled=!0,i.remove()}}function w(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div"),i=t.cloneNode(!0);return e.appendChild(i),e.innerHTML}function P(t){return t instanceof Object&&t&&1===t.nodeType}function T(t,e){for(var i=e;;){if(t===i)return!0;if(null==i.parentNode){if(null==i.host)return!1;i=i.host}else i=i.parentNode}}function O(t){for(var e=t;;){if(null==e.parentNode)return null!=e.host?e:null;e=e.parentNode}}function C(t){for(var e=t.ownerDocument,i=t;;){if(null==i.parentNode)return i===e||null!=i.host?i:null;i=i.parentNode}}function S(t){return"function"===typeof t.composedPath?t.composedPath()[0]:t.target}function k(t,e){l.each(t.attributes,(function(t){null!=t.value&&e.setAttribute(t.name,t.value)}))}function D(t){(0,s.Eo)((function(){try{var e=t.getBoundingClientRect(),i=e.left-Math.round(e.left),n=e.top-Math.round(e.top);0!==i&&(0,s.rA)((function(){t.style.left=i+"px"})),0!==n&&(0,s.rA)((function(){t.style.top=n+"px"}))}catch(r){}}))}var I=function(t){function e(e,i,r){var o=this,s=function(t){if(null==t)return h.hasValue(n)||((e=document.createElement("style")).type="text/css",""!=a.Y.nonce&&e.setAttribute("nonce",a.Y.nonce),document.head.appendChild(e),n=e.sheet),n;var e;return(e=document.createElement("style")).type="text/css",""!=a.Y.nonce&&e.setAttribute("nonce",a.Y.nonce),t.appendChild(e),e.sheet}(e);return(o=t.call(this,(function(){var t=l.indexOf(s.cssRules,o._rule);if(-1===t)throw new Error("Could not dispose StyleRule");s.deleteRule(t)}))||this)._rule=function(t,e){var i=t.cssRules.length;return t.insertRule(e+"{}",i),t.cssRules[i]}(s,i),u.each(r,(function(t,e){o.setStyle(t,e)})),o}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}(o.ku),V=0,M=function(t){function e(e,i,n){var r=this,o=h.hasValue(n)?n:"__style_"+ ++V+"__";return(r=t.call(this,e,"."+o,i)||this)._className=o,r}return(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},e}(I);function E(t){if("loading"!==document.readyState)t();else{var e=function(){"loading"!==document.readyState&&(document.removeEventListener("readystatechange",e),t())};document.addEventListener("readystatechange",e)}}function j(t){var e=b(t,"font-family");if(e)return e;var i=t.parentElement||t.parentNode;return i?j(i):void 0}function F(t){var e=b(t,"font-size");if(e)return e;var i=t.parentElement||t.parentNode;return i?F(i):void 0}function N(t){return null===t.offsetParent}function L(t,e){var i=t.getBoundingClientRect(),n=h.isArray(e)?e:e?[e]:[];if(n.length){for(var r=0;r<n.length;r++){var o=n[r];if(!L(o))return!1;var s=o.getBoundingClientRect();if(i.top>=0&&i.left>=0&&i.top<=s.top+s.height&&i.left<=s.left+s.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,3485:function(t,e,i){i.d(e,{NE:function(){return c},Xy:function(){return h},a7:function(){return l}});var n=i(19845),r=i(29138),o=i(9209),s=i(59205),a=i(12352),u=i(82896),l=function(t){function e(e){var i=e.events.on("removed",(function(t){t.oldValue.dispose()}),void 0,!1);return t.call(this,(function(){i.dispose(),a.each(e.iterator(),(function(t){t[1].dispose()}))}))||this}return(0,n.ZT)(e,t),e}(r.ku),h=function(){function t(){this.events=new o.p,this._dictionary={}}return t.prototype.hasKey=function(t){return s.hasKey(this._dictionary,t)},t.prototype.getKey=function(t){return this._dictionary[t]},t.prototype.insertKey=function(t,e){if(s.hasKey(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(s.hasKey(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(!s.hasKey(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(s.hasKey(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")&&s.each(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.each(t.iterator(),(function(t){e.setKey(t[0],t[1])}))},t.prototype.iterator=function(){return s.entries(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],s.hasKey(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.each(this.iterator(),(function(e){var i=(0,n.CR)(e,2),r=i[0],o=i[1];return t(r,o)}))},t.prototype.sortedIterator=function(){return a.sort(this.iterator(),(function(t,e){return u.order(t[0],e[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.each(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}(h)},29138:function(t,e,i){i.d(e,{DM:function(){return l},FV:function(){return a},cx:function(){return u},ku:function(){return s}});var n=i(19845),r=i(36442),o=i(24306),s=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.each(e,(function(t){t.dispose()}))}))||this}return(0,n.ZT)(e,t),e}(s),u=function(t){function e(){var e=t.call(this,(function(){o.hasValue(e._disposer)&&(e._disposer.dispose(),e._disposer=void 0)}))||this;return e}return(0,n.ZT)(e,t),e.prototype.get=function(){return this._value},e.prototype.set=function(t,e){o.hasValue(this._disposer)&&this._disposer.dispose(),this._disposer=e,this._value=t},e.prototype.reset=function(){this.set(void 0,void 0)},e}(s),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 s((function(){--t._counter,0===t._counter&&t.dispose()}))},e}(s)},70522:function(t,e,i){i.r(e),i.d(e,{bounceIn:function(){return D},bounceInOut:function(){return V},bounceOut:function(){return I},circleIn:function(){return T},circleInOut:function(){return C},circleOut:function(){return O},cubicIn:function(){return x},cubicInOut:function(){return P},cubicOut:function(){return w},elasticIn:function(){return F},elasticInOut:function(){return L},elasticOut:function(){return N},expIn:function(){return g},expInOut:function(){return m},expOut:function(){return y},linear:function(){return o},polyIn:function(){return l},polyIn3:function(){return p},polyInOut:function(){return c},polyInOut3:function(){return f},polyOut:function(){return h},polyOut3:function(){return d},quadIn:function(){return s},quadInOut:function(){return u},quadOut:function(){return a},sinIn:function(){return v},sinInOut:function(){return _},sinOut:function(){return b}});var n=i(64112),r=i(69260);function o(t){return+t}function s(t){return t*t}function a(t){return t*(2-t)}function u(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function l(t,e){return Math.pow(t,e)}function h(t,e){return 1-Math.pow(1-t,e)}function c(t,e){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}function p(t){return l(t,3)}function d(t){return h(t,3)}function f(t){return c(t,3)}function g(t){return Math.pow(2,10*t-10)}function y(t){return 1-Math.pow(2,-10*t)}function m(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function v(t){return 1-Math.cos(t*n.HALFPI)}function b(t){return Math.sin(t*n.HALFPI)}function _(t){return(1-Math.cos(n.PI*t))/2}function x(t){return t*t*t}function w(t){return--t*t*t+1}function P(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}function T(t){return 1-Math.sqrt(1-t*t)}function O(t){return Math.sqrt(1- --t*t)}function C(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}r.i.registeredClasses["ease.linear"]=o,r.i.registeredClasses["ease.quadIn"]=s,r.i.registeredClasses["ease.quadOut"]=a,r.i.registeredClasses["ease.quadInOut"]=u,r.i.registeredClasses["ease.polyIn"]=l,r.i.registeredClasses["ease.polyOut"]=h,r.i.registeredClasses["ease.polyInOut"]=c,r.i.registeredClasses["ease.polyIn3"]=p,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"]=w,r.i.registeredClasses["ease.cubicInOut"]=P,r.i.registeredClasses["ease.circleIn"]=T,r.i.registeredClasses["ease.circleOut"]=O,r.i.registeredClasses["ease.circleInOut"]=C;var S=4/11,k=7.5625;function D(t){return 1-I(1-t)}function I(t){return(t=+t)<S?k*t*t:t<.7272727272727273?k*(t-=.5454545454545454)*t+.75:t<.9090909090909091?k*(t-=.8181818181818182)*t+.9375:k*(t-=.9545454545454546)*t+.984375}function V(t){return((t*=2)<=1?1-I(1-t):I(t-1)+1)/2}r.i.registeredClasses["ease.bounceIn"]=D,r.i.registeredClasses["ease.bounceOut"]=I,r.i.registeredClasses["ease.bounceInOut"]=V;
1var M=2*Math.PI,E=.3/M,j=Math.asin(1)*E;function F(t){return 1*Math.pow(2,10*--t)*Math.sin((j-t)/E)}function N(t){return 1-1*Math.pow(2,-10*(t=+t))*Math.sin((t+j)/E)}function L(t){return((t=2*t-1)<0?1*Math.pow(2,10*t)*Math.sin((j-t)/E):2-1*Math.pow(2,-10*t)*Math.sin((j+t)/E))/2}r.i.registeredClasses["ease.elasticIn"]=F,r.i.registeredClasses["ease.elasticOut"]=N,r.i.registeredClasses["ease.elasticInOut"]=L},9209:function(t,e,i){i.d(e,{p:function(){return u},r:function(){return l}});var n=i(19845),r=i(29138),o=i(36442),s=i(51747),a=i(24306),u=function(){function t(){this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}return t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{o.each(t,(function(t){t.disposer.dispose()}))}finally{this._killed=null,this._iterating=null}}},t.prototype.hasListeners=function(){return 0!==this._listeners.length},t.prototype.hasListenersByType=function(t){return o.any(this._listeners,(function(e){return(null===e.type||e.type===t)&&!e.killed}))},t.prototype.enable=function(){this._enabled=!0},t.prototype.disable=function(){this._enabled=!1},t.prototype.enableType=function(t){delete this._disabled[t]},t.prototype.disableType=function(t,e){void 0===e&&(e=1/0),this._disabled[t]=e},t.prototype._removeListener=function(t){if(0===this._iterating){var e=this._listeners.indexOf(t);if(-1===e)throw new Error("Invalid state: could not remove listener");this._listeners.splice(e,1)}else this._killed.push(t)},t.prototype._removeExistingListener=function(t,e,i,n){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener((function(r){r.once!==t||r.type!==e||null!=i&&r.callback!==i||r.context!==n||r.disposer.dispose()}))},t.prototype.isEnabled=function(t){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(t)&&null==this._disabled[t]},t.prototype.has=function(t,e,i){return-1!==o.findIndex(this._listeners,(function(n){return!0!==n.once&&n.type===t&&(null==e||n.callback===e)&&n.context===i}))},t.prototype._shouldDispatch=function(t){if(this._disposed)throw new Error("EventDispatcher is disposed");var e=this._disabled[t];return a.isNumber(e)?(e<=1?delete this._disabled[t]:--this._disabled[t],!1):this._enabled},t.prototype._eachListener=function(t){var e=this;++this._iterating;try{o.each(this._listeners,t)}finally{--this._iterating,0===this._iterating&&0!==this._killed.length&&(o.each(this._killed,(function(t){e._removeListener(t)})),this._killed.length=0)}},t.prototype.dispatchImmediately=function(t,e){this._shouldDispatch(t)&&this._eachListener((function(i){i.killed||null!==i.type&&i.type!==t||i.dispatch(t,e)}))},t.prototype.dispatch=function(t,e){this._shouldDispatch(t)&&this._eachListener((function(i){i.killed||null!==i.type&&i.type!==t||s.pT((function(){i.killed||i.dispatch(t,e)}))}))},t.prototype._on=function(t,e,i,n,o,s){var a=this;if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(t,e,i,n);var u={type:e,callback:i,context:n,shouldClone:o,dispatch:s,killed:!1,once:t,disposer:new r.ku((function(){u.killed=!0,a._removeListener(u)}))};return this._listeners.push(u),u},t.prototype.onAll=function(t,e,i){return void 0===i&&(i=!0),this._on(!1,null,t,e,i,(function(i,n){return t.call(e,i,n)})).disposer},t.prototype.on=function(t,e,i,n){return void 0===n&&(n=!0),this._on(!1,t,e,i,n,(function(t,n){return e.call(i,n)})).disposer},t.prototype.once=function(t,e,i,n){void 0===n&&(n=!0);var r=this._on(!0,t,e,i,n,(function(t,n){r.disposer.dispose(),e.call(i,n)}));return r.disposer},t.prototype.off=function(t,e,i){this._removeExistingListener(!1,t,e,i)},t.prototype.copyFrom=function(t){var e=this;if(this._disposed)throw new Error("EventDispatcher is disposed");if(t===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");o.each(t._listeners,(function(t){!t.killed&&t.shouldClone&&(null===t.type?e.onAll(t.callback,t.context):t.once?e.once(t.type,t.callback,t.context):e.on(t.type,t.callback,t.context))}))},t}(),l=function(t){function e(e){var i=t.call(this)||this;return i.target=e,i}return(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");o.each(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}(u)},62e3:function(t,e,i){i.d(e,{h:function(){return a}});var n=i(19845),r=i(73870),o=i(69260),s=i(86820),a=function(t){function e(){var e=t.call(this)||this;return e._purposes={stroke:(0,s.$_)("#e5e5e5"),fill:(0,s.$_)("#f3f3f3"),primaryButton:(0,s.$_)("#6794dc"),primaryButtonHover:(0,s.$_)("#6771dc"),primaryButtonDown:(0,s.$_)("#68dc75"),primaryButtonActive:(0,s.$_)("#68dc75"),primaryButtonText:(0,s.$_)("#FFFFFF"),primaryButtonStroke:(0,s.$_)("#FFFFFF"),secondaryButton:(0,s.$_)("#d9d9d9"),secondaryButtonHover:(0,s.$_)("#d9d9d9").brighten(-.25),secondaryButtonDown:(0,s.$_)("#d9d9d9").brighten(-.35),secondaryButtonActive:(0,s.$_)("#d9d9d9").brighten(.35),secondaryButtonText:(0,s.$_)("#000000"),secondaryButtonStroke:(0,s.$_)("#FFFFFF"),grid:(0,s.$_)("#000000"),background:(0,s.$_)("#ffffff"),alternativeBackground:(0,s.$_)("#000000"),text:(0,s.$_)("#000000"),alternativeText:(0,s.$_)("#FFFFFF"),disabledBackground:(0,s.$_)("#999999"),positive:(0,s.$_)("#67dc75"),negative:(0,s.$_)("#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);o.i.registeredClasses.InterfaceColorSet=a},12352:function(t,e,i){i.r(e),i.d(e,{ListIterator:function(){return O},concat:function(){return p},contains:function(){return v},each:function(){return u},eachContinue:function(){return a},filter:function(){return c},find:function(){return y},findIndex:function(){return g},findMap:function(){return m},flatten:function(){return d},foldl:function(){return b},fromArray:function(){return r},indexed:function(){return f},join:function(){return T},length:function(){return o},map:function(){return h},max:function(){return P},min:function(){return x},sort:function(){return l},toArray:function(){return s}});var n=i(36442);function r(t){return function(e){for(var i=t.length,n=0;n<i&&e(t[n]);++n);}}function o(t){var e=0;return t((function(t){return++e,!0})),e}function s(t){var e=[];return t((function(t){return e.push(t),!0})),e}function a(t,e){t(e)}function u(t,e){t((function(t){return e(t),!0}))}function l(t,e){return r(s(t).sort(e))}function h(t,e){return function(i){return t((function(t){return i(e(t))}))}}function c(t,e){return function(i){return t((function(t){return!e(t)||i(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,o=0;o<r&&(t[o](n),i);++o);}}function d(t){return function(e){var i=!0,n=function(t){return i=e(t)};t((function(t){return t(n),i}))}}function f(t){return function(e){var i=0;t((function(t){return e([i++,t])}))}}function g(t,e){var i=!1,n=0;return t((function(t){return e(t)?(i=!0,!1):(++n,!0)})),i?n:-1}function y(t,e){var i;return t((function(t){return!e(t)||(i=t,!1)})),i}function m(t,e){var i;return t((function(t){var n=e(t);return null===n||(i=n,!1)})),i}function v(t,e){var i=!1;return t((function(t){return!e(t)||(i=!0,!1)})),i}function b(t,e,i){return t((function(t){return e=i(e,t),!0})),e}function _(t,e){return null==t||e<t?e:t}function x(t){return b(t,null,_)}function w(t,e){return null==t||e>t?e:t}function P(t){return b(t,null,w)}function T(t,e){void 0===e&&(e="");var i=!0,n="";return t((function(t){return i?i=!1:n+=e,n+=t,!0})),n}var O=function(){function t(t,e){this.createNewItems=!1,this.list=t,this._create=e,this.reset()}return t.prototype.reset=function(){this._listCopy=s(this.list.iterator())},t.prototype.clear=function(){this._listCopy.length=0},t.prototype.getFirst=function(){return this.returnItem(0)},t.prototype.getLast=function(){return this.returnItem(this._listCopy.length-1)},t.prototype.find=function(t){var e=n.findIndex(this._listCopy,t);if(-1!==e){var i=this._listCopy[e];return n.remove(this._listCopy,i),i}return this.getLast()},t.prototype.removeItem=function(t){return n.remove(this._listCopy,t)},t.prototype.returnItem=function(t){if(t>=0&&t<this._listCopy.length){var e=this._listCopy[t];return n.remove(this._listCopy,e),e}if(this.createNewItems)return this._create()},t.prototype.iterator=function(){return r(this._listCopy)},t}()}
1,67556:function(t,e,i){i.d(e,{N:function(){return r},d:function(){return o}});var n=i(24306),r=function(){function t(){}return t.prototype.getEventKey=function(t){var e;switch(t.keyCode||t.which){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:case 36:e="home";break;case 35: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 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"}return e},t.prototype.isKey=function(t,e){var i=this.getEventKey(t);return n.isString(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}(),o=new r},58076:function(t,e,i){i.d(e,{S:function(){return h}});var n=i(19845),r=i(73870),o=i(61765),s=i(36442),a=i(24306),u={_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:"\u03bc",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(t){var e="th";if(t<11||t>13)switch(t%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd"}return e},"Zoom Out":"",Play:"",Stop:"",Legend:"","Click, tap or press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","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(99934),h=function(t){function e(){var e=t.call(this)||this;return e.adapter=new o.L1(e),e._locale=u,e._defaultLocale=u,e.className="Language",a.hasValue(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 o=t,s=this.getTranslations(e),u=s[t];if(null===u)o="";else if(a.hasValue(u))u&&(o=u);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,h=0;h<l;++h)o=o.split("%"+(h+1)).join(i[h]);return this.adapter.apply("translate",{translation:o,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){(i||this.locale)[t]=e},e.prototype.translateEmpty=function(t,e){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var o=this.translate.apply(this,(0,n.fl)([t,e],i));return o==t?"":o},e.prototype.translateFunc=function(t,e){e=this.getLocale(e);var i=this.getTranslations(e)[t];return null!=i?i:e!==this._defaultLocale?this.translateFunc(t,this._defaultLocale):function(){return""}},e.prototype.translateAll=function(t,e){var i=this;return this.isDefault()?t:s.map(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)},87155:function(t,e,i){i.d(e,{Wk:function(){return l},aV:function(){return p},o:function(){return d},pE:function(){return u},zQ:function(){return h}});var n=i(19845),r=i(29138),o=i(9209),s=i(36442),a=i(12352),u=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&&e(t._array[i]);++i);else for(i=t._start-1;i>=t._end&&e(t._array[i]);--i);}},t.prototype.backwards=function(){return new t(this._array,this._end,this._start)},t.prototype.range=function(e,i){if(e<=i){if(this._start===this._end)return this;if(this._start<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),o=0;a.eachContinue(e.iterator(),(function(t){return t!==i&&(r._getKey(t)===n&&++o,!0)})),r._insert(i,n,o)}),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.each(e.iterator(),(function(t){r._insert(t,i(t))})),r}return(0,n.ZT)(e,t),e.prototype._insert=function(t,e,i){if(null==this._groups[e]){this._groups[e]=[];var n=s.getSortedIndex(this._keys,this._sort,e),r=n.found,o=n.index;if(r)throw new Error("Key already exists: "+e);s.insertIndex(this._keys,o,e)}null==i?this._groups[e].push(t):s.insertIndex(this._groups[e],i,t)},e.prototype._remove=function(t){var e=this._getKey(t),i=this._groups[e];if(null!=i&&(s.remove(i,t),0===i.length)){delete this._groups[e];var n=s.getSortedIndex(this._keys,this._sort,e),r=n.found,o=n.index;if(!r)throw new Error("Key doesn't exist: "+e);s.removeIndex(this._keys,o)}},e.prototype.iterator=function(){var t=this;return a.flatten(a.map(a.fromArray(this._keys),(function(e){return a.fromArray(t._groups[e])})))},e}(r.FV),h=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.each(e.iterator(),(function(t){t.dispose()}))}))||this}else n=t.call(this,(function(){a.each(e.iterator(),(function(t){t.dispose()}))}))||this;return n}return(0,n.ZT)(e,t),e}(r.ku);function c(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 o.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){for(var e=0,i=this._values.length;e<i;)this._values[e]===t?(this.removeIndex(e),--i):++e},t.prototype.indexOf=function(t){return s.indexOf(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){c(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){c(t,this._values.length+1),s.insertIndex(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],o=t-1,s=e+1;;){do{++o}while(i(n[o],r)<0);do{--s}while(i(n[s],r)>0);if(o>=s)return s;this.swap(o,s)}},t.prototype.sort=function(t){this._sortQuicksort(0,this._values.length-1,t)},t.prototype.swap=function(t,e){var i=this._values.length;if(c(t,i),c(e,i),t!==e){var n=this._values[t],r=this._values[e];this._values[t]=r,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:t,oldValue:n,newValue:r}),this._values[e]=n,this.events.isEnabled("setIndex")&&this.events.dispatchImmediately("setIndex",{type:"setIndex",target:this,index:e,oldValue:r,newValue:n})}},t.prototype.removeIndex=function(t){c(t,this._values.length);var e=this._values[t];return s.removeIndex(this._values,t),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:t,oldValue:e}),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,oldValue:e}),e},t.prototype.moveValue=function(t,e){var i=this.indexOf(t);if(-1!==i){var n=this._values[i];s.removeIndex(this._values,i),this.events.isEnabled("removeIndex")&&this.events.dispatchImmediately("removeIndex",{type:"removeIndex",target:this,index:i,oldValue:n})}null==e?(e=this._values.length,this._values.push(t)):s.insertIndex(this._values,e,t),this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:t}),-1===i&&this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:t})},t.prototype.push=function(t){var e=this._values.push(t)-1;return this.events.isEnabled("insertIndex")&&this.events.dispatchImmediately("insertIndex",{type:"insertIndex",target:this,index:e,newValue:t}),this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,newValue:t}),t},t.prototype.unshift=function(t){this.insertIndex(0,t)},t.prototype.pushAll=function(t){var e=this;s.each(t,(function(t){e.push(t)}))},t.prototype.copyFrom=function(t){this.pushAll(t._values)},t.prototype.pop=function(){return this._values.length-1<0?void 0:this.removeIndex(this._values.length-1)},t.prototype.shift=function(){return this._values.length?this.removeIndex(0):void 0},t.prototype.setAll=function(t){var e=this,i=s.copy(this._values);this._values.length=0,s.each(t,(function(t){e._values.push(t)})),this.events.isEnabled("setAll")&&this.events.dispatchImmediately("setAll",{type:"setAll",target:this,oldArray:i,newArray:this._values}),this.events.isEnabled("removed")&&s.each(i,(function(t){e.events.dispatchImmediately("removed",{type:"removed",target:e,oldValue:t})})),this.events.isEnabled("inserted")&&s.each(this._values,(function(t){e.events.dispatchImmediately("inserted",{type:"inserted",target:e,newValue:t})}))},t.prototype.clear=function(){this.setAll([])},t.prototype.iterator=function(){return a.fromArray(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){s.each(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 u(this._values,t,e)}throw new Error("Start index must be lower than end index")},t.prototype.backwards=function(){return new u(this._values,this._values.length,0)},t}(),d=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.each(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)},17738:function(t,e,i){i.d(e,{Z:function(){return s},c:function(){return o}});var n=i(19845),r=i(99934);function o(){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 s(){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))}},64112:function(t,e,i){i.r(e),i.d(e,{DEGREES:function(){return a},HALFPI:function(){return o},PI:function(){return r},RADIANS:function(){return s},adjustTension:function(){return L},ceil:function(){return h},closest:function(){return v},cos:function(){return g},fitAngleToRange:function(){return B},fitToRange:function(){return p},getAngle:function(){return D},getArcPoint:function(){return H},getArcRect:function(){return A},getBBox:function(){return V},getCenterShift:function(){return I},getCommonRectangle:function(){return M},getCubicControlPointA:function(){return F},getCubicControlPointB:function(){return N},getCubicCurveDistance:function(){return O},getDistance:function(){return w},getHorizontalDistance:function(){return P},getLineIntersection:function(){return W},getMidPoint:function(){return S},getPointOnCubicCurve:function(){return j},getPointOnQuadraticCurve:function(){return E},getRotation:function(){return k},getScale:function(){return C},getVerticalDistance:function(){return T},intersect:function(){return b},intersection:function(){return x},invertRange:function(){return _},isInRectangle:function(){return z},max:function(){return y},min:function(){return m},normalizeAngle:function(){return R},round:function(){return l},sin:function(){return d},stretch:function(){return c},tan:function(){return f},toNumberRange:function(){return u}});var n=i(24306),r=Math.PI,o=r/2,s=r/180,a=180/r;function u(t,e,i){return n.hasValue(t)?p(t=n.toNumber(t),e,i):t}function l(t,e,i){if(!n.isNumber(e)||e<=0){var r=Math.round(t);return i&&r-t==.5&&r--,r}var o=Math.pow(10,e);return Math.round(t*o)/o}function h(t,e){if(!n.isNumber(e)||e<=0)return Math.ceil(t);var i=Math.pow(10,e);return Math.ceil(t*i)/i}function c(t,e,i){return t*(i-e)+e}function p(t,e,i){if(n.isNumber(e)){if(n.isNumber(i)&&i<e){var r=i;i=e,e=r}t<e&&(t=e)}return n.isNumber(i)&&t>i&&(t=i),t}function d(t){return l(Math.sin(s*t),10)}function f(t){return l(Math.tan(s*t),10)}function g(t){return l(Math.cos(s*t),10)}function y(t,e){return n.isNumber(t)?n.isNumber(e)&&e>t?e:t:n.isNumber(e)?e:null}function m(t,e){return n.isNumber(t)?n.isNumber(e)&&e<t?e:t:n.isNumber(e)?e:null}function v(t,e){return t.reduce((function(t,i){return Math.abs(i-e)<Math.abs(t-e)?i:t}))}function b(t,e){var i=n.getValue(t.start),r=n.getValue(e.start),o=n.getValue(t.end),s=n.getValue(e.end);return Math.max(i,r)<=Math.min(o,s)}function _(t){var e=n.getValue(t.start);return{start:1-n.getValue(t.end),end:1-e}}function x(t,e){var i=n.getValue(t.start),r=n.getValue(e.start),o=n.getValue(t.end),s=n.getValue(e.end),a=Math.max(i,r),u=Math.min(o,s);return u<a?void 0:{start:a,end:u}}function w(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 T(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 o=0,s=t;if(r>0)for(var a=0;a<=r;a++){var u=j(t,e,i,n,a/r);o+=w(s,u),s=u}return o}function C(t,e,i,n){var r=w(e,n),o=w(t,i);return Math.abs(o/r)}function S(t,e,i){return n.isNumber(i)||(i=.5),{x:t.x+(e.x-t.x)*i,y:t.y+(e.y-t.y)*i}}function k(t,e,i,n){var r=D(e,n)-D(t,i);return r<0&&(r+=360),r}function D(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),R(r)}function I(t,e,i,n,r){var o=k(e,i,n,r)-90;o<0&&(o+=360);var s=w(e,n),a=Math.cos(o)/s+e.x,u=Math.cos(o)/s+e.y;return{x:a-t.x,y:u-t.y}}function V(t){if(t){var e=t.length;if(0!==e){for(var i,r=void 0,o=void 0,s=void 0,a=0;a<e;a++){var u=t[a];(!n.isNumber(o)||u.x>o)&&(o=u.x),(!n.isNumber(r)||u.x<r)&&(r=u.x),(!n.isNumber(i)||u.y<i)&&(i=u.y),(!n.isNumber(s)||u.y>s)&&(s=u.y)}return{x:r,y:i,width:o-r,height:s-i}}}return{x:0,y:0,width:0,height:0}}function M(t){var e=t.length;if(0!==e){for(var i=void 0,n=void 0,r=void 0,o=void 0,s=0;s<e;s++){var a=t[s];i=m(a.x,i),n=m(a.y,n),r=y(a.x+a.width,r),o=y(a.y+a.height,o)}return{x:i,y:n,width:r-i,height:o-n}}}function E(t,e,i,n){return{x:(1-n)*(1-n)*t.x+2*(1-n)*n*i.x+n*n*e.x,y:(1-n)*(1-n)*t.y+2*(1-n)*n*i.y+n*n*e.y}}function j(t,e,i,n,r){var o={x:0,y:0},s=1-r,a=s*s,u=a*s;return o.x=t.x*u+3*i.x*a*r+3*n.x*s*r*r+e.x*r*r*r,o.y=t.y*u+3*i.y*a*r+3*n.y*s*r*r+e.y*r*r*r,o}function F(t,e,i,n,r,o){return r=L(r),o=L(o),{x:(-t.x+e.x/r+i.x)*r,y:(-t.y+e.y/o+i.y)*o}}function N(t,e,i,n,r,o){return r=L(r),o=L(o),{x:(e.x+i.x/r-n.x)*r,y:(e.y+i.y/o-n.y)*o}}function L(t){return 1-t+1e-5}function R(t){return 360==t?360:t%360}function B(t,e,i){if(e>i){var n=e;e=i,i=n}t=R(t);var r=(e-R(e))/360;return t<e&&(t+=360*(r+1)),t>i&&(t-360>e?t-=360:t=t<e+(i-e)/2+180?i:e),t<e&&(t=t>e+(i-e)/2-180?e:i),t}function A(t,e,i){var r=Number.MAX_VALUE,o=Number.MAX_VALUE,s=-Number.MAX_VALUE,a=-Number.MAX_VALUE,u=[];n.isNumber(i)||(i=1),u.push(H(i,t)),u.push(H(i,e));
1for(var l=Math.min(90*Math.floor(t/90),90*Math.floor(e/90)),h=Math.max(90*Math.ceil(t/90),90*Math.ceil(e/90)),c=l;c<=h;c+=90)c>=t&&c<=e&&u.push(H(i,c));for(var p=0;p<u.length;p++){var d=u[p];d.x<r&&(r=d.x),d.y<o&&(o=d.y),d.x>s&&(s=d.x),d.y>a&&(a=d.y)}return{x:r,y:o,width:s-r,height:a-o}}function H(t,e){return{x:t*g(e),y:t*d(e)}}function z(t,e){return t.x>=e.x&&t.x<=e.x+e.width&&t.y>=e.y&&t.y<=e.y+e.height}function W(t,e,i,n){return{x:((t.x*e.y-e.x*t.y)*(i.x-n.x)-(t.x-e.x)*(i.x*n.y-i.y*n.x))/((t.x-e.x)*(i.y-n.y)-(t.y-e.y)*(i.x-n.x)),y:((t.x*e.y-e.x*t.y)*(i.y-n.y)-(t.y-e.y)*(i.x*n.y-i.y*n.x))/((t.x-e.x)*(i.y-n.y)-(t.y-e.y)*(i.x-n.x))}}},80271:function(t,e,i){i.d(e,{T:function(){return l}});var n=i(19845),r=i(73870),o=i(42053),s=i(64112),a=i(70522),u=i(24306),l=function(t){function e(e){var i=t.call(this)||this;return i._bboxes=[],i.morphDuration=800,i.morphEasing=a.cubicOut,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=[],u.hasValue(e)||(e=this.morphDuration),u.hasValue(i)||(i=this.morphEasing),this._morphFromPointsReal=this.normalizePoints(t,n),this._morphToPointsReal=this.normalizePoints(n,t),this.morphable.currentPoints=this._morphFromPointsReal;var r=new o.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],o=t[i][1],a=u.getValue(s.getBBox(r)),l=a.x+a.width,h=a.y+a.height;if(e[i]||(e[i]=[]),r&&!e[i][0]&&(e[i][0]=[{x:l,y:h},{x:l,y:h}]),e[i][0]){e[i][0]=this.addPoints(e[i][0],r.length);for(var c=1/0,p=0,d=0;d<e[i][0].length;d++){var f=s.getDistance(e[i][0][d],r[0]);f<c&&(p=d,c=f)}var g=e[i][0].slice(0,p),y=e[i][0].slice(p);e[i][0]=y.concat(g)}o&&(e[i][1]||(e[i][1]=[{x:l,y:h},{x:l,y:h}]),e[i][1]=this.addPoints(e[i][1],o.length))}return e},e.prototype.sortPoints=function(t){t.sort((function(t,e){var i=u.getValue(s.getBBox(t[0])),n=u.getValue(s.getBBox(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(u.getValue(s.getBBox(r)))}return s.getCommonRectangle(e)},e.prototype.morphToCircle=function(t,e,i){var n=this.morphable.points,r=this.sortPoints(n);this._morphFromPointsReal=[],this._morphToPointsReal=[],u.hasValue(e)||(e=this.morphDuration),u.hasValue(i)||(i=this.morphEasing);for(var a=0,l=n.length;a<l;a++){var h=n[a][0],c=n[a][1];if(this._morphFromPointsReal[a]=[],this._morphToPointsReal[a]=[],h){var p=h,d=h,f=u.getValue(s.getBBox(d));this.morphToSingle&&(f=u.getValue(r));var g=f.x+f.width/2,y=f.y+f.height/2,m=t;u.isNumber(m)||(m=Math.min(f.width/2,f.height/2)),p=[];var v=s.getAngle({x:g,y:y},h[0]),b=100;h.length>b&&(b=h.length);for(var _=360/((b=(d=this.addPoints(h,b)).length)-1),x=0;x<b;
1x++){var w=_*x+v,P={x:g+m*s.cos(w),y:y+m*s.sin(w)};p[x]=P}if(c&&c.length>0)for(var T=0,O=c.length;T<O;T++)p.push({x:g,y:y});this._morphFromPointsReal[a][0]=d,this._morphToPointsReal[a][0]=p}}this.morphable.currentPoints=this._morphFromPointsReal;var C=new o.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,o=t.length;r<o;r++){var s=t[r],a=void 0;a=r==t.length-1?t[0]:t[r+1],n.push(s);for(var u=1;u<i;u++){var l=u/i,h={x:s.x+(a.x-s.x)*l,y:s.y+(a.y-s.y)*l};n.push(h)}n.length+t.length-r==e&&(i=0)}if(n.length<e&&t.length>0){var c=t[t.length-1];for(u=n.length;u<e;u++)n.push({x:c.x,y:c.y})}return n},e.prototype.morphToRectangle=function(t,e,i,n){var r=this.morphable.points;this.sortPoints(r),this._morphFromPointsReal=[],this._morphToPointsReal=[],u.hasValue(i)||(i=this.morphDuration),u.hasValue(n)||(n=this.morphEasing);for(var s=0,a=r.length;s<a;s++){var l=r[s][0],h=r[s][1];if(this._morphFromPointsReal[s]=[],this._morphToPointsReal[s]=[],l){var c=l,p=l,d=this._bboxes[s];this.morphToSingle;var f=d.x,g=d.y,y=t,m=e;if(u.isNumber(y)||(y=d.width),u.isNumber(m)||(m=d.height),c=[{x:f,y:g},{x:f+y,y:g},{x:f+y,y:g+m},{x:f,y:g+m}],c=this.addPoints(c,l.length),l.length<4)for(var v=l.length;v<4;v++)c.push({x:l[v].x,y:l[v].y});if(h&&h.length>0)for(var b=d.x+d.width/2,_=d.y+d.height/2,x=0,w=h.length;x<w;x++)c.push({x:b,y:_});this._morphFromPointsReal[s][0]=p,this._morphToPointsReal[s][0]=c}}this.morphable.currentPoints=this._morphFromPointsReal;var P=new o.fw(this,{property:"morphProgress",from:0,to:1},i,n);return this._disposers.push(P),P.start(),P},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,o=i.length;r<o;r++){var s=[];e.push(s);var a=i[r][0],u=i[r][1],l=n[r][0],h=n[r][1];if(a&&a.length>0&&l&&l.length>0){for(var c=[],p=0,d=a.length;p<d;p++){var f=a[p],g=l[p],y={x:f.x+(g.x*this.scaleRatio-f.x)*t,y:f.y+(g.y*this.scaleRatio-f.y)*t};c.push(y)}s[0]=c}if(u&&u.length>0&&h&&h.length>0){for(var m=[],v=0,b=u.length;v<b;v++){f=u[v],g=h[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)}s[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,u.hasValue(t)||(t=this.morphDuration),u.hasValue(e)||(e=this.morphEasing);var i=new o.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 o.w3(this._animations))),this._animations},enumerable:!0,configurable:!0}),e}(r.L)},2431:function(t,e,i){i.r(e),i.d(e,{load:function(){return r},readBlob:function(){return o}});var n=i(24306);function r(t,e,i){return new Promise((function(r,s){var a=n.hasValue(i)&&"blob"==i.responseType,u=new XMLHttpRequest;if(u.onload=function(){if(200===u.status){var t,i=void 0;if(a)return void o(t=u.response).then((function(i){var n={xhr:u,error:!1,response:i,blob:t,type:u.getResponseHeader("Content-Type"),target:e};r(n)}));i=u.responseText||u.response;var n={xhr:u,error:!1,response:i,blob:t,type:u.getResponseHeader("Content-Type"),target:e};r(n)}else s({xhr:u,error:!0,type:u.getResponseHeader("Content-Type"),target:e})},u.onerror=function(){s({xhr:u,error:!0,type:u.getResponseHeader("Content-Type"),target:e})},u.open("GET",t,!0),i&&i.withCredentials&&(u.withCredentials=!0),n.hasValue(i)){if(n.hasValue(i.requestHeaders))for(var l=0;l<i.requestHeaders.length;l++){var h=i.requestHeaders[l];u.setRequestHeader(h.key,h.value)}n.hasValue(i.responseType)&&(u.responseType=i.responseType)}u.send()}))}function o(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)}))}}
1,71610:function(t,e,i){function n(t,e){return t===e?0:t<e?-1:1}i.r(e),i.d(e,{order:function(){return n}})},59205:function(t,e,i){i.r(e),i.d(e,{clone:function(){return g},copy:function(){return d},copyAllProperties:function(){return b},copyProperties:function(){return y},each:function(){return c},eachContinue:function(){return h},eachOrdered:function(){return p},entries:function(){return o},forceCopyProperties:function(){return v},getKey:function(){return l},hasKey:function(){return u},keys:function(){return s},keysOrdered:function(){return a},merge:function(){return f},softCopyProperties:function(){return m}});var n=i(36442),r=i(24306);function o(t){return function(e){for(var i in t)if(u(t,i)&&!e([i,t[i]]))break}}function s(t){var e=[];for(var i in t)u(t,i)&&e.push(i);return e}function a(t,e){return s(t).sort(e)}function u(t,e){return{}.hasOwnProperty.call(t,e)}function l(t,e){return t[e]}function h(t,e){for(var i in t)if(u(t,i)&&!e(i,t[i]))break}function c(t,e){h(t,(function(t,i){return e(t,i),!0}))}function p(t,e,i){n.each(a(t,i),(function(i){e(i,t[i])}))}function d(t){return Object.assign({},t)}function f(t,e){return Object.assign({},t,e)}function g(t){return JSON.parse(JSON.stringify(t))}function y(t,e,i){n.each(i,(function(i){r.hasValue(t[i])&&(e[i]=t[i])}))}function m(t,e,i){n.each(i,(function(i){r.hasValue(t[i])&&!r.hasValue(e[i])&&(e[i]=t[i])}))}function v(t,e,i){n.each(i,(function(i){e[i]=t[i]}))}function b(t,e){y(t,e,s(t))}},3754: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}})},48864:function(t,e,i){i.d(e,{aQ:function(){return r},gG:function(){return n},hU:function(){return o}});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 o(t){return t instanceof n}},45121:function(t,e,i){i.d(e,{Et:function(){return p},IH:function(){return d},Xf:function(){return f}});var n=i(19845),r=i(73870),o=i(87155),s=i(61765),a=i(69260),u=i(12352),l=i(36442),h=i(24306),c=i(59205),p=function(t){function e(){var e=t.call(this)||this;return e._rules=new o.aV,e._appliedRules={},e._appliedTargets=[],e._useDefault=!0,e.adapter=new s.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(h.getValue(this.component).events.on("sizechanged",(function(){e.checkRules()}),this)),this._responsiveDisposers.push(h.getValue(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 o.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!!h.hasValue(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=h.getValue(this.component);
1if(0!=r.pixelWidth&&0!=r.pixelHeight&&(u.each(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=h.hasValue(t)?t:h.getValue(this.component),n=!1;if(this.enabled){var r=!1;u.each(this.allRules.iterator(),(function(t){var o=e.getState(t,i);o&&(n||(-1!==l.indexOf(e._appliedTargets,i.uid)&&i.setState(e.getDefaultState(i),0),n=!0),e.isApplied(h.getValue(t.id))&&(o.transitionDuration=0,e.setTargetState(i,o),e.dispatchImmediately("ruleapplied",{rule:t}),r=!0))})),r?l.replace(this._appliedTargets,i.uid):l.remove(this._appliedTargets,i.uid)}i.children&&u.each(i.children.iterator(),(function(t){e.applyRules(t)}))},e.prototype.getState=function(t,e){var i="responsive-"+t.id,n=e.uid+"_"+i;if(-1===l.indexOf(this._noStates,n)){if(e.states.hasKey(i))return e.states.getKey(i);var r=t.state(e,i);return r||this._noStates.push(n),r}},e.prototype.getDefaultState=function(t){return t.states.hasKey("responsive-default")?t.states.getKey("responsive-default"):t.states.create("responsive-default")},e.prototype.setTargetState=function(t,e){var i=this,n=this.getDefaultState(t);c.each(e.properties,(function(e,r){h.hasValue(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!h.hasValue(i)&&h.hasValue(t[e])&&(i=t[e]),i},e.prototype.dispose=function(){this.disposeResponsiveHandlers(),t.prototype.dispose.call(this)},e.prototype.disposeResponsiveHandlers=function(){for(var t=this._responsiveDisposers.pop();t;)t.dispose(),t=this._responsiveDisposers.pop()},e}(r.y),d=new o.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}()},25542:function(t,e,i){i.d(e,{$X:function(){return l},GS:function(){return u},IK:function(){return h},Rj:function(){return c}});var n=i(19845),r=i(9209),o=i(36442),s=i(12352),a=i(24306),u=function(){function t(t){this._values=[],this.events=new r.p,null!=t&&this.setAll(t)}
1return Object.defineProperty(t.prototype,"values",{get:function(){return this._values},enumerable:!0,configurable:!0}),t.prototype._insert=function(t){return this._values.push(t),this._values.length-1},Object.defineProperty(t.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.indexOf=function(t){return o.indexOf(this._values,t)},t.prototype.contains=function(t){return-1!==this.indexOf(t)},t.prototype.getIndex=function(t){return this._values[t]},Object.defineProperty(t.prototype,"first",{get:function(){return this._values[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._values[this._values.length-1]},enumerable:!0,configurable:!0}),t.prototype.insert=function(t){var e=this._insert(t);this.events.isEnabled("inserted")&&this.events.dispatchImmediately("inserted",{type:"inserted",target:this,index:e,newValue:t})},t.prototype.remove=function(t){var e=this.indexOf(t);if(-1!==e){var i=this._values[e];o.removeIndex(this._values,e),this.events.isEnabled("removed")&&this.events.dispatchImmediately("removed",{type:"removed",target:this,index:e,oldValue:i})}},t.prototype.setAll=function(t){var e=this;o.eachReverse(this._values,(function(t,i){e._values.pop(),e.events.isEnabled("removed")&&e.events.dispatchImmediately("removed",{type:"removed",target:e,index:i,oldValue:t})})),o.each(t,(function(t){e.insert(t)}))},t.prototype.clear=function(){this.setAll([])},t.prototype.slice=function(e,i){var n=new t;return n._values=this._values.slice(e,i),n},t.prototype.findClosestIndex=function(t,e,i){void 0===i&&(i="any");var n,r,o=-1,u=0;return s.eachContinue(this.iterator(),(function(s){var l=e(s);if("any"===i){if(l===t)return o=u,!1;var h=Math.abs(t-l);(!a.hasValue(r)||r>h)&&(o=u,n=l,r=h)}else"left"===i&&l<t?(!a.hasValue(n)||n<l)&&(o=u,n=l):"right"===i&&l>=t&&(!a.hasValue(n)||n>=l)&&(o=u,n=l);return++u,!0})),-1===o&&("left"===i?o=0:"right"===i&&(o=this.length-1)),o},t.prototype.iterator=function(){return s.fromArray(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.each(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=o.getSortedIndex(this._values,this._ordering,t).index;return o.insertIndex(this._values,e,t),e},e.prototype.indexOf=function(t){var e=o.getSortedIndex(this._values,this._ordering,t),i=e.found,n=e.index;return i?n:-1},e.prototype.update=function(t){var e=o.indexOf(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)||(o.removeIndex(this._values,e),this._insert(t))}},e}(u),h=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;s.each(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}(u),c=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;s.each(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)},82896: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 o(t){for(var e="",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=0;n<t;n++)e+=i.charAt(Math.floor(Math.random()*i.length));return e}i.r(e),i.d(e,{order:function(){return n},random:function(){return o},repeat:function(){return r}})},71473:function(t,e,i){i.d(e,{Cb:function(){return l},Hu:function(){return s},PX:function(){return n},Wu:function(){return o},jd:function(){return r},l7:function(){return u},th:function(){return a}});var n="px",r="string",o="number",s="date",a="duration",u="__\xa7\xa7\xa7__",l="__\xa7\xa7\xa7\xa7__"},44600:function(t,e,i){i.r(e),i.d(e,{add:function(){return c},checkChange:function(){return h},copy:function(){return l},getDuration:function(){return s},getNextUnit:function(){return o},getTime:function(){return u},getTimezoneMinutes:function(){return f},now:function(){return a},round:function(){return p},setTimezone:function(){return d},timeUnitDurations:function(){return r}});var n=i(24306),r={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6};function o(t){switch(t){case"year":return;case"month":return"year";case"week":case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function s(t,e){return n.hasValue(e)||(e=1),r[t]*e}function a(){return new Date}function u(){return a().getTime()}function l(t){return new Date(t.getTime())}function h(t,e,i,n){t=new Date(t.getTime()),e=new Date(e.getTime());var r=0,s=0;n||"millisecond"==i||(r=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-r),s=e.getTimezoneOffset(),e.setUTCMinutes(e.getUTCMinutes()-s));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())&&(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)}if(a)return!0;var u=o(i);return!!u&&(t.setUTCMinutes(t.getUTCMinutes()+r),e.setUTCMinutes(e.getUTCMinutes()+s),h(t,e,u,n))}function c(t,e,i,n){var r=0;switch(n||"millisecond"==e||(r=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-r)),e){case"day":var o=t.getUTCDate();t.setUTCDate(o+i);break;case"second":var s=t.getUTCSeconds();t.setUTCSeconds(s+i);break;case"millisecond":var a=t.getUTCMilliseconds();t.setUTCMilliseconds(a+i);break;case"hour":var u=t.getUTCHours();t.setUTCHours(u+i);break;case"minute":var l=t.getUTCMinutes();t.setUTCMinutes(l+i);break;case"year":var h=t.getUTCFullYear();t.setUTCFullYear(h+i);break;case"month":var c=t.getUTCMonth();t.setUTCMonth(c+i);break;case"week":var p=t.getUTCDate();t.setUTCDate(p+7*i)}if(!n&&"millisecond"!=e&&(t.setUTCMinutes(t.getUTCMinutes()+r),"day"==e||"week"==e||"month"==e||"year"==e)){var d=t.getTimezoneOffset();if(d!=r){var f=d-r;t.setUTCMinutes(t.getUTCMinutes()+f),t.getTimezoneOffset()!=d&&t.setUTCMinutes(t.getUTCMinutes()-f)}}return t}
1function p(t,e,i,r,o,a,u,l){void 0===u&&(u=0),n.isNumber(i)||(i=1);var h=0;switch(l&&-1!=["day","month","week","year"].indexOf(e)&&(t=d(t,l)),o||"millisecond"==e||(h=t.getTimezoneOffset(),t.setUTCMinutes(t.getUTCMinutes()-h)),e){case"day":var c=t.getUTCDate();if(i>1){if(a){a=p(a,"day",1);var f=t.getTime()-a.getTime(),g=Math.floor(f/s("day")/i),y=s("day",g*i);t.setTime(a.getTime()+y-h*s("minute"))}}else t.setUTCDate(c);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,u,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,u,0,0);break;case"year":var w=t.getUTCFullYear();i>1&&(w=Math.floor(w/i)*i),t.setUTCFullYear(w,0,1),t.setUTCHours(0,u,0,0);break;case"week":var P=t.getUTCDate(),T=t.getUTCDay();n.isNumber(r)||(r=1),P=T>=r?P-T+r:P-(7+T)+r,t.setUTCDate(P),t.setUTCHours(0,u,0,0)}if(!o&&"millisecond"!=e&&(t.setUTCMinutes(t.getUTCMinutes()+h),"day"==e||"week"==e||"month"==e||"year"==e)){var O=t.getTimezoneOffset();if(O!=h){var C=O-h;t.setUTCMinutes(t.getUTCMinutes()+C)}}return t}function d(t,e){return new Date(t.toLocaleString("en-US",{timeZone:e}))}function f(t){var e=new Date;return e.setHours(0,0,0,0),d(e,t).getMinutes()}},24306:function(t,e,i){i.r(e),i.d(e,{castNumber:function(){return f},castString:function(){return d},checkArray:function(){return c},checkBoolean:function(){return u},checkDate:function(){return p},checkNumber:function(){return l},checkObject:function(){return h},checkString:function(){return a},getDefault:function(){return s},getType:function(){return o},getValue:function(){return _},getValueDefault:function(){return x},hasValue:function(){return b},isArray:function(){return C},isDate:function(){return w},isNaN:function(){return r},isNumber:function(){return T},isObject:function(){return O},isString:function(){return P},toBoolean:function(){return g},toNumber:function(){return y},toNumberOrPercent:function(){return v},toText:function(){return m}});var n=i(48864);function r(t){return Number(t)!==t}function o(t){return{}.toString.call(t)}function s(t,e){return t||e}function a(t){if("string"===typeof t)return!0;throw new Error("Expected a string but got "+o(t))}function u(t){if("boolean"===typeof t)return!0;throw new Error("Expected a boolean but got "+o(t))}function l(t){if("number"!==typeof t)throw new Error("Expected a number but got "+o(t));if(r(t))throw new Error("Expected a number but got NaN");return!0}function h(t){var e=o(t);if("[object Object]"===e)return!0;throw new Error("Expected an object but got "+e)}function c(t){if(Array.isArray(t))return!0;throw new Error("Expected an array but got "+o(t))}function p(t){var e=o(t);if("[object Date]"===e)return!0;throw new Error("Expected a date but got "+e)}function d(t){if("string"===typeof t)return t;if("number"===typeof t)return""+t;throw new Error("Expected a string or number but got "+o(t))}function f(t){if("string"===typeof t){var e=+t;if(r(e))throw new Error("Cannot cast string "+JSON.stringify(t)+" to a number");return e}if("number"===typeof t){if(r(t))throw new Error("Expected a number but got NaN");return t}var i=o(t);if("[object Date]"===i)return t.getTime();throw new Error("Expected a string, number, or date but got "+i)}function g(t){return!!t}function y(t){if(b(t)&&!T(t)){var e=Number(t);return r(e)&&P(t)&&""!=t?y(t.replace(/[^0-9.\-]+/g,"")):e}return t}function m(t){if(b(t)&&!P(t)){if(T(t))return d(t);if(O(t))return t.toString()}return t}function v(t){return!b(t)||T(t)||(0,n.hU)(t)?t:P(t)&&-1!=t.indexOf("%")?(0,n.aQ)(y(t)):y(t)}function b(t){return null!=t}function _(t){if(b(t))return t;throw new Error("Value doesn't exist")}function x(t,e){return b(t)?t:e}function w(t){return"[object Date]"===o(t)}function P(t){return"string"===typeof t}function T(t){return"number"===typeof t&&Number(t)==t}function O(t){return"object"===typeof t&&null!=t}function C(t){return Array.isArray(t)}}
1,80008:function(t,e,i){i.r(e),i.d(e,{anyToDate:function(){return B},anyToNumber:function(){return A},camelToDashed:function(){return w},capitalize:function(){return P},cleanFormat:function(){return F},copy:function(){return y},copyProperties:function(){return p},decimalPlaces:function(){return at},documentPointToSprite:function(){return nt},documentPointToSvg:function(){return et},escapeForRgex:function(){return O},fitNumber:function(){return K},fitNumberRelative:function(){return Z},get12Hours:function(){return G},getBaseURI:function(){return f},getDayFromWeek:function(){return U},getFormat:function(){return j},getMonthWeek:function(){return W},getPixelRatio:function(){return x},getTimeZone:function(){return X},getWeek:function(){return z},getYearDay:function(){return H},height:function(){return st},isIE:function(){return dt},isNotEmpty:function(){return m},joinUrl:function(){return pt},ltrim:function(){return I},numberToString:function(){return R},padString:function(){return E},parseUrl:function(){return lt},plainText:function(){return L},random:function(){return Y},relativeRadiusToValue:function(){return b},relativeToValue:function(){return v},reverseString:function(){return V},rtrim:function(){return D},serializeUrl:function(){return ht},softCopyProperties:function(){return g},splitTextByCharCount:function(){return C},spritePointToDocument:function(){return rt},spritePointToSprite:function(){return Q},spritePointToSvg:function(){return $},spriteRectToSvg:function(){return tt},stringify:function(){return T},stripHash:function(){return d},stripTags:function(){return N},svgPointToDocument:function(){return it},svgPointToSprite:function(){return q},svgRectToSprite:function(){return J},trim:function(){return k},truncateWithEllipsis:function(){return S},unquote:function(){return M},used:function(){return c},valueToRelative:function(){return _},width:function(){return ot}});var n=i(48864),r=i(16473),o=i(64112),s=i(24306),a=i(82896),u=i(71473),l=i(59205),h=i(36442);function c(t){}function p(t,e){return l.each(t,(function(t,i){s.hasValue(i)&&(e[t]=i)})),e}function d(t){return/^[^#]*/.exec(t)[0]}function f(){var t="#";if((0,r.G)()){var e=document.baseURI;if(e){e=d(e);var i=d(location.href);e!==i&&(t=i+t)}}return t}function g(t,e){return l.each(t,(function(t,i){s.hasValue(i)&&!s.hasValue(e[t])&&(e[t]=i)})),e}function y(t,e){return l.each(t,(function(t,i){e[t]=i})),e}function m(t){return s.hasValue(t)&&""!==t.toString()}function v(t,e){return s.isNumber(t)?t:null!=t&&s.isNumber(t.value)&&s.isNumber(e)?e*t.value:0}function b(t,e,i){var n;return s.isNumber(t)?(n=t)<0&&(n=i?e+n:e-n):null!=t&&s.isNumber(t.value)&&(n=e*t.value),n}function _(t,e){return t instanceof n.gG?t.value:t/e}function x(){return window.devicePixelRatio||1}function w(t){return t.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase()}function P(t){var e=t.split("");return e[0]=e[0].toUpperCase(),e.join("")}function T(t){return JSON.stringify(t)}function O(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function C(t,e,i,n,r){if(t.length<=e)return[t];var o=[];if(i){for(var s=-1,a=t.replace(/([,;:!?\\\/]+|[\s])/g,u.l7+"$1"+u.l7).split(u.l7),l=1;l<a.length;l++){"."!=(h=a[l])&&","!=h||!a[l-1].match(/[\w]+$/)||(a[l-1]+=h,a[l]="")}for(l=0;l<a.length;l++){var h,c=(h=a[l]).length;if(0!==c){if(c>e&&(!0!==i||0!=r)){if(n&&(h=V(h)),d=h.match(new RegExp(".{1,"+e+"}","g"))){if(n)for(var p=0;p<d.length;p++)d[p]=V(d[p]);o=o.concat(d)}}else-1===s&&(o.push(""),s=0),o[s].length+c+1>e&&""!==o[s]&&(o.push(""),s++),o[s]+=h;s=o.length-1}}}else{var d;if(d=t.match(new RegExp(".{1,"+e+"}","g"))){if(n)for(p=0;p<d.length;p++)n||(d[p]=V(d[p]));o=d}}return 1==o.length&&i&&r&&o[0].length>e&&(o=[]),o}function S(t,e,i,n,r){return t.length<=e?t:((e-=i.length)<1&&(e=1),(C(t,e,n,r)[0]||"")+i)}function k(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function D(t){return t.replace(/[\s\uFEFF\xA0]+$/g,"")}function I(t){return t.replace(/^[\s\uFEFF\xA0]+/g,"")}function V(t){return t.split("").reverse().join("")}function M(t){var e=t.trim();return(e=t.replace(/^'(.*)'$/,"$1"))==t&&(e=t.replace(/^"(.*)"$/,"$1")),e}function E(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 j(t){if("undefined"===typeof t)return u.jd;var e=(t=(t=(t=t.toLowerCase().replace(/^\[[^\]]*\]/,"")).replace(/\[[^\]]+\]/,"")).trim()).match(/\/(date|number|duration)$/);return e?e[1]:t===u.Wu?u.Wu:t===u.Hu?u.Hu:t===u.th?u.th:t.match(/[#0]/)?u.Wu:t.match(/[ymwdhnsqaxkzgtei]/)?u.Hu:u.jd}function F(t){return t.replace(/\/(date|number|duration)$/i,"")}function N(t){return t?t.replace(/<[^>]*>/g,""):t}function L(t){return t?N((""+t).replace(/[\n\r]+/g,". ")):t}function R(t){if(s.isNaN(t))return"NaN";if(t===1/0)return"Infinity";if(t===-1/0)return"-Infinity";if(0===t&&1/t===-1/0)return"-0";var e=t<0;t=Math.abs(t);var i,n=s.getValue(/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+t)),r=n[1],o=n[2]||"";if(null==n[3])i=""===o?r:r+"."+o;else{var u=+n[3];if(t<1){var l=u-1;i="0."+a.repeat("0",l)+r+o}else{i=0===(l=u-o.length)?r+o:l<0?r+o.slice(0,l)+"."+o.slice(l):r+o+a.repeat("0",l)}}return e?"-"+i:i}function B(t){if(s.isDate(t)){var e=new Date(t);return e.setMilliseconds(t.getMilliseconds()),e}if(s.isNumber(t))return new Date(t);var i=Number(t);return s.isNumber(i)?new Date(i):new Date(t)}function A(t){if(s.isDate(t))return t.getTime();if(s.isNumber(t))return t;if(s.isString(t)){var e=Number(t);return s.isNumber(e)?e:void 0}}function H(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;return Math.floor(n/864e5)}function z(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 W(t,e){void 0===e&&(e=!1);var i=z(new Date(t.getFullYear(),t.getMonth(),1),e),n=z(t,e);return 1==n&&(n=53),n-i+1}function U(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);return n&&r.setUTCFullYear(e),7*t+i-((r.getDay()||7)+3)}function G(t,e){return t>12?t-=12:0===t&&(t=12),s.hasValue(e)?t+(e-1):t}function X(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";
1var r=t.toLocaleString("UTC"),o=t.toLocaleString("UTC",{timeZoneName:e?"long":"short"}).substr(r.length);return!1===i&&(o=o.replace(/ (standard|daylight|summer|winter) /i," ")),o}function Y(t,e){return Math.floor(Math.random()*(e-t))+t}function K(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 q(t,e){var i=t.x,n=t.y,r=[];if(e){for(;s.hasValue(e.parent);)r.push(e),e=e.parent;r.reverse();for(var a=0;a<r.length;a++){var u=r[a],l=u.rotation,h=i-u.pixelX-u.ex,c=n-u.pixelY-u.ey;u.dx&&(i-=u.dx),u.dy&&(n-=u.dy);var p=u.scale;u.group&&(p=u.group.scale),i=(o.cos(-l)*h-o.sin(-l)*c)/p-u.pixelPaddingLeft,n=(o.cos(-l)*c+o.sin(-l)*h)/p-u.pixelPaddingTop}}return{x:i,y:n}}function $(t,e){var i=t.x,n=t.y;if(e)for(;s.hasValue(e.parent);){var r=e.rotation;i+=e.pixelPaddingLeft+e.ex,n+=e.pixelPaddingTop+e.ey;var a=e.scale;e.group&&(a=e.group.scale);var u=e.pixelX+(i*o.cos(r)-n*o.sin(r))*a,l=e.pixelY+(i*o.sin(r)+n*o.cos(r))*a;e.dx&&(u+=e.dx),e.dy&&(l+=e.dy),i=u,n=l,e=e.parent}return{x:i,y:n}}function Q(t,e,i){return q($(t,e),i)}function J(t,e){var i=q(t,e),n=q({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 tt(t,e){var i=$(t,e),n=$({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 et(t,e,i){try{var n=e.getBoundingClientRect();return s.isNumber(i)||(i=1),{x:(t.x-n.left)/i,y:(t.y-n.top)/i}}catch(r){return t}}function it(t,e){try{var i=e.getBoundingClientRect();return{x:t.x+i.left,y:t.y+i.top}}catch(n){return t}}function nt(t,e){return e&&e.htmlContainer?q(et(t,s.getValue(e.htmlContainer),e.svgContainer.cssScale),e):t}function rt(t,e){return e&&e.htmlContainer?it($(t,e),s.getValue(e.htmlContainer)):t}function ot(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 st(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 at(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 ut=/^([a-zA-Z][a-zA-Z0-9\+\.\-]*:)?(?:(\/\/)([^\@]+\@)?([^\/\?\#\:]*)(\:[0-9]+)?)?([^\?\#]*)(\?[^\#]*)?(\#.*)?$/;function lt(t){var e=ut.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 ht(t){return t.protocol+t.separator+t.authority+t.domain+t.port+t.path+t.query+t.hash}function ct(t){return""===t.protocol&&""===t.separator&&""===t.authority&&""===t.domain&&""===t.port}function pt(t,e){var i=lt(t),n=lt(e);if(ct(i))throw new Error("Left URL is not absolute");if(ct(n)){if(""!==n.path)if("/"===n.path[0])i.path=n.path;else{var r=i.path.split(/\//),o=n.path.split(/\//);if(0===r.length?0!==o.length&&r.push(""):r.length>1&&r.pop(),h.pushAll(r,o),i.path=r.join("/"),""!==i.path&&"/"!==i.path[0])throw new Error("URL path must start with /")}return i.query=n.query,i.hash=n.hash,ht(i)}return ht(n)}function dt(){return!!window.MSInputMethodContext&&!!document.documentMode}},95889:function(t,e,i){i.d(e,{c:function(){return s}});var n=i(19845),r=i(73870),o=i(69260),s=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=o.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)},73679:function(t,e,i){i.r(e),i.d(e,{AMElement:function(){return vt._},Adapter:function(){return Bt.L1},Animation:function(){return At.fw},BaseObject:function(){return r.L},BaseObjectEvents:function(){return r.y},Basis:function(){return xt.fE},BlurFilter:function(){return Nt},Button:function(){return b.z},CSVParser:function(){return d.t},Cache:function(){return zt.C},Circle:function(){return _.C},CirclePattern:function(){return It},CloseButton:function(){return U},Color:function(){return Wt.Il},ColorModifier:function(){return Pt.P}
1,ColorSet:function(){return Ut.U},ColorizeFilter:function(){return Et},Component:function(){return o.w},Cone:function(){return rt.Q},Container:function(){return s.W},CounterDisposer:function(){return Yt.DM},DATE:function(){return re.Hu},DURATION:function(){return re.th},DataItem:function(){return a.z},DataLoader:function(){return f.R},DataParser:function(){return g._},DataSource:function(){return y.o},DateFormatter:function(){return lt.C},DesaturateFilter:function(){return jt.q},Dictionary:function(){return Xt.Xy},DictionaryDisposer:function(){return Xt.a7},DictionaryTemplate:function(){return Xt.NE},Disposer:function(){return Yt.ku},DropShadowFilter:function(){return Ft.p},DurationFormatter:function(){return ht.$},Ellipse:function(){return x.P},EventDispatcher:function(){return Kt.p},Export:function(){return at.D},ExportMenu:function(){return ut.G},Filter:function(){return Mt.w},FocusFilter:function(){return Lt},GlobalAdapter:function(){return Bt.Sh},Group:function(){return bt.Z},Image:function(){return O},IndexedIterable:function(){return Qt.pE},Inertia:function(){return dt.r},Interaction:function(){return ft.U},InteractionKeyboardObject:function(){return gt.J},InteractionObject:function(){return yt.E},InteractionObjectEventDispatcher:function(){return mt.A},InterfaceColorSet:function(){return N.h},JSONParser:function(){return m.c},Keyboard:function(){return qt.N},Label:function(){return C._},Language:function(){return $t.S},LightenFilter:function(){return Rt.H},Line:function(){return S.x},LinePattern:function(){return Dt},LinearGradient:function(){return Tt.o},LinearGradientModifier:function(){return Ot.Y},List:function(){return Qt.aV},ListDisposer:function(){return Qt.zQ},ListGrouper:function(){return Qt.Wk},ListIterator:function(){return Zt.ListIterator},ListTemplate:function(){return Qt.o},Modal:function(){return D.u},Morpher:function(){return Jt.T},MouseCursorStyle:function(){return W.c},MultiDisposer:function(){return Yt.FV},MutableValueDisposer:function(){return Yt.cx},NUMBER:function(){return re.Wu},NumberFormatter:function(){return ct.e},OrderedList:function(){return ne.GS},OrderedListTemplate:function(){return ne.IK},PLACEHOLDER:function(){return re.l7},PLACEHOLDER2:function(){return re.Cb},PX:function(){return re.PX},Paper:function(){return _t.X},Pattern:function(){return kt.c},PatternSet:function(){return Gt},Percent:function(){return R.gG},PlayButton:function(){return nt},Plugin:function(){return ee},PointedRectangle:function(){return I.i},PointedShape:function(){return V.j},Polyarc:function(){return M.y},Polygon:function(){return E.m},Polyline:function(){return j.a},Polyspline:function(){return F.o},Popup:function(){return k.G},Preloader:function(){return B},RadialGradient:function(){return Ct.X},RadialGradientModifier:function(){return St},RectPattern:function(){return Vt},Rectangle:function(){return A.A},Rectangle3D:function(){return ot.l},Registry:function(){return c.B},ResizeButton:function(){return H.H},Responsive:function(){return ie.Et},ResponsiveBreakpoints:function(){return ie.Xf},RoundedRectangle:function(){return X.c},STRING:function(){return re.jd},SVGContainer:function(){return wt.g},SVGDefaults:function(){return v.n},Scrollbar:function(){return Y.L},Slice:function(){return L.p},Slice3D:function(){return st.V},Slider:function(){return K},SortedList:function(){return ne.$X},SortedListTemplate:function(){return ne.Rj},Sprite:function(){return u.jy},SpriteEventDispatcher:function(){return l.g},SpriteState:function(){return h.q},StyleClass:function(){return P.hw},StyleRule:function(){return P.u0},SwitchButton:function(){return G},System:function(){return n.x},TargetedEventDispatcher:function(){return Kt.r},Tension:function(){return xt.Jb},TextFormatter:function(){return pt.V},TextLink:function(){return Z.h},Tooltip:function(){return q.u},Trapezoid:function(){return $.Z},Triangle:function(){return Q.C},Validatable:function(){return oe.c},WavedCircle:function(){return J.U},WavedLine:function(){return tt.$},WavedRectangle:function(){return et.T},ZoomOutButton:function(){return it.x},addClass:function(){return P.cn},addLicense:function(){return Ve},animate:function(){return At.jt},array:function(){return le},blur:function(){return P.yv},cache:function(){return zt.F},castColor:function(){return Wt.GM},castNumber:function(){return T.castNumber},castString:function(){return T.castString},checkBoolean:function(){return T.checkBoolean},checkNumber:function(){return T.checkNumber},checkObject:function(){return T.checkObject},checkString:function(){return T.checkString},color:function(){return Wt.$_},colors:function(){return se},copyAttributes:function(){return P.DM},create:function(){return Te},createDeferred:function(){return Ce},createFromConfig:function(){return Oe},dataLoader:function(){return f.x},defaultRules:function(){return ie.IH},disposeAllCharts:function(){return be},ease:function(){return ae},fixPixelPerfect:function(){return P.C},focus:function(){return P.T_},getElement:function(){return P.sb},getInteraction:function(){return ft.S},getTextFormatter:function(){return pt.k}
1,globalAdapter:function(){return Bt.FA},is:function(){return c.is},isArray:function(){return T.isArray},isColor:function(){return Wt.D5},isElement:function(){return P.kK},isNaN:function(){return T.isNaN},isNumber:function(){return T.isNumber},isObject:function(){return T.isObject},isPercent:function(){return R.hU},isString:function(){return T.isString},iter:function(){return Zt},join:function(){return Zt.join},keyboard:function(){return qt.d},math:function(){return ue},max:function(){return Zt.max},min:function(){return Zt.min},net:function(){return ge},nextFrame:function(){return Ht.gl},number:function(){return he},object:function(){return ce},options:function(){return p.Y},or:function(){return te.or},outerHTML:function(){return P.Rt},path:function(){return z},percent:function(){return R.aQ},readFrame:function(){return Ht.Eo},ready:function(){return P.Cd},registry:function(){return c.i},removeClass:function(){return P.IV},reverse:function(){return te.G},string:function(){return pe},system:function(){return n.B},time:function(){return de},triggerIdle:function(){return Ht.YO},type:function(){return T},unuseAllThemes:function(){return Ie},unuseTheme:function(){return De},useTheme:function(){return ke},utils:function(){return fe},viewPortHandler:function(){return we},whenIdle:function(){return Ht.pT},writeFrame:function(){return Ht.rA}});var n=i(78816),r=i(73870),o=i(83797),s=i(71121),a=i(4324),u=i(39866),l=i(75305),h=i(7830),c=i(69260),p=i(99934),d=i(13879),f=i(77094),g=i(24166),y=i(21459),m=i(9312),v=i(81991),b=i(91290),_=i(84713),x=i(39276),w=i(19845),P=i(43281),T=i(24306),O=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,w.ZT)(e,t),e.prototype.draw=function(){if(t.prototype.draw.call(this),this.href){var e=this.innerWidth,i=this.innerHeight;T.isNumber(this.widthRatio)&&(e=i*this.widthRatio,this.width=e),T.isNumber(this.heightRatio)&&(i=e*this.heightRatio,this.height=i),this.element.attr({width:e,height:i}),this.element.attrNS(P.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}(u.jy);c.i.registeredClasses.Image=O;var C=i(5590),S=i(45369),k=i(31508),D=i(70780),I=i(42393),V=i(93668),M=i(92344),E=i(61683),j=i(90525),F=i(7688),N=i(62e3),L=i(59847),R=i(48864),B=function(t){function e(){var e=t.call(this)||this;e.className="Preloader",e.width=(0,R.aQ)(100),e.height=(0,R.aQ)(100);var i=new N.h,n=e.createChild(s.W);n.shouldClone=!1;var r=n.createChild(L.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 o=n.createChild(L.p);o.shouldClone=!1,o.radius=50,o.innerRadius=45,o.fill=i.getFor("alternativeBackground"),o.fillOpacity=.2,o.isMeasured=!1,e.progressSlice=o;var a=n.createChild(C._);return 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,e.states.create("hidden").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,w.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),c.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}(s.W);c.i.registeredClasses.Preloader=B;var A=i(44545),H=i(34262),z=i(71334),W=i(3856),U=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 N.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 o=i.getFor("primaryButtonActive"),s=n.states.getKey("hover");s.properties.strokeWidth=3,s.properties.fill=r;var a=n.states.getKey("down");a.properties.stroke=o,a.properties.fill=r;var l=new u.jy;return l.element=e.paper.add("path"),l.stroke=n.stroke,e.icon=l,e.applyTheme(),e}return(0,w.ZT)(e,t),e.prototype.validate=function(){t.prototype.validate.call(this);var e=this.pixelWidth/3,i=this.pixelHeight/3,n=z.moveTo({x:-e/2,y:-i/2});n+=z.lineTo({x:e/2,y:i/2}),n+=z.moveTo({x:e/2,y:-i/2}),n+=z.lineTo({x:-e/2,y:i/2}),this.icon.path=n,this.invalidateLayout()},e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),T.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Close"))},e}(b.z);c.i.registeredClasses.CloseButton=U;var G=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 N.h,n=new C._;n.fillOpacity=.3,n.states.create("active").properties.fillOpacity=1,n.isActive=!0,e.leftLabel=n;var r=new b.z,o=new _.C;r.contentValign="none",r.padding(0,0,0,0),o.radius=10,r.icon=o,r.icon.valign="middle",r.label=void 0;var s=(0,R.aQ)(100);r.background.cornerRadius(s,s,s,s),r.width=3.5*o.radius,r.height=2.1*o.radius,r.marginLeft=8,r.marginRight=8,r.togglable=!0,o.dx=.7*-o.radius,o.fill=i.getFor("primaryButton"),o.states.create("hover").properties.fill=i.getFor("primaryButtonHover");var a=o.states.create("active");a.properties.fill=i.getFor("primaryButtonActive"),a.properties.dx=.7*o.radius,e.switchButton=r,e.events.on("toggled",(function(){e.leftLabel.isActive=!e.isActive,e.rightLabel.isActive=e.isActive}));var u=new C._;return u.fillOpacity=.3,u.states.create("active").properties.fillOpacity=1,e.rightLabel=u,e.role="button",e.focusable=!0,u.valign="middle",n.valign="middle",r.valign="middle",e.applyTheme(),e}return(0,w.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}(s.W);c.i.registeredClasses.SwitchButton=G;var X=i(6701),Y=i(39065),K=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,w.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}(Y.L);c.i.registeredClasses.Slider=K;var Z=i(36117),q=i(19991),$=i(63),Q=i(99704),J=i(99543),tt=i(14878),et=i(98424),it=i(79821),nt=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 N.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 Q.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 o=new X.c;o.width=11,o.height=11,o.horizontalCenter="middle",o.verticalCenter="middle",o.cornerRadius(0,0,0,0),o.stroke=i.getFor("primaryButtonText"),o.fill=r.stroke,e.togglable=!0;var s=e.states.create("active");return s.transitionDuration=0,s.properties.icon=o,e.defaultState.transitionDuration=0,e.applyTheme(),e}return(0,w.ZT)(e,t),e.prototype.applyInternalDefaults=function(){t.prototype.applyInternalDefaults.call(this),T.hasValue(this.readerTitle)||(this.readerTitle=this.language.translate("Play"))},e}(b.z);c.i.registeredClasses.PlayButton=nt;var rt=i(7644),ot=i(96206),st=i(25924),at=i(7741),ut=i(74016),lt=i(25449),ht=i(43738),ct=i(47573),pt=i(96139),dt=i(18006),ft=i(406),gt=i(37144),yt=i(59355),mt=i(90998),vt=i(33394),bt=i(5314),_t=i(37130),xt=i(35666),wt=i(92275),Pt=i(55619),Tt=i(49329),Ot=i(90176),Ct=i(38634),St=function(t){function e(){var e=t.call(this)||this;return e.className="RadialGradientModifier",e.gradient=new Ct.X,e.applyTheme(),e}return(0,w.ZT)(e,t),e.prototype.copyFrom=function(e){t.prototype.copyFrom.call(this,e),this.gradient=e.gradient.clone()},e}(i(90511).u);c.i.registeredClasses.RadialGradientModifier=St;var kt=i(71883),Dt=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,w.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,o=this.height/r,s=-o/2;s<1.5*o;s++)Math.round(this.rotation/90)!=this.rotation/90?(n+=z.moveTo({x:-e,y:(s+.5)*r})+z.lineTo({x:2*e,y:(s+.5)*r}),this.properties.rotationX=this.width/2,this.properties.rotationY=this.height/2):n+=z.moveTo({x:-e,y:s*r})+z.lineTo({x:2*e,y:s*r});else Math.round(this.rotation/90)!=this.rotation/90?(n=z.moveTo({x:-e,y:i/2})+z.lineTo({x:2*e,y:i/2}),this.properties.rotationX=this.width/2,this.properties.rotationY=this.height/2):n=z.moveTo({x:0,y:0})+z.lineTo({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}(kt.c);c.i.registeredClasses.LinePattern=Dt;var It=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,w.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.radius},set:function(t){this.properties.radius=t,this.draw()},enumerable:!0,configurable:!0}),e}(kt.c);c.i.registeredClasses.CirclePattern=It;var Vt=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,w.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}
1,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}(kt.c);c.i.registeredClasses.RectPattern=Vt;var Mt=i(38524),Et=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,w.ZT)(e,t),e.prototype.applyFilter=function(){var t,e,i,n=this.intensity,r=1-n,o=this.color;o&&o.rgb?(t=o.rgb.r/255*n,e=o.rgb.g/255*n,i=o.rgb.b/255*n):(t=0,e=0,i=0),this.feColorMatrix.attr({values:r+" 0 0 0 "+t+" 0 "+r+" 0 0 "+e+" 0 0 "+r+" 0 "+i+" 0 0 0 1 0"})},Object.defineProperty(e.prototype,"color",{get:function(){return this.properties.color},set:function(t){this.properties.color=t,this.applyFilter()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"intensity",{get:function(){return this.properties.intensity},set:function(t){this.properties.intensity=t,this.applyFilter()},enumerable:!0,configurable:!0}),e}(Mt.w);c.i.registeredClasses.ColorizeFilter=Et;var jt=i(32768),Ft=i(27025),Nt=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,w.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}(Mt.w);c.i.registeredClasses.BlurFilter=Nt;var Lt=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 N.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,w.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}(Mt.w),Rt=i(39269),Bt=i(61765),At=i(42053),Ht=i(51747),zt=i(46947),Wt=i(86820),Ut=i(8754),Gt=function(t){function e(){var e=t.call(this)||this;e._list=[],e._currentStep=0,e._startIndex=0,e._currentPass=0,e.baseColor=new Wt.Il({r:103,g:183,b:220}),e.className="PatternSet";var i=new N.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,w.ZT)(e,t),e.prototype.getLinePattern=function(t,e,i,n,r){var o=new Dt;return o.width=t,o.height=t,o.stroke=this.baseColor,o.gap=n,o.strokeDasharray=r,o.strokeWidth=i,o.rotation=e,o},e.prototype.getRectPattern=function(t,e,i,n){var r=new Vt;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 It;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){for(;this.list.length<=t;)this.generatePatterns();return this.list[t].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);c.i.registeredClasses.PatternSet=Gt;var Xt=i(3485),Yt=i(29138),Kt=i(9209),Zt=i(12352),qt=i(67556),$t=i(58076),Qt=i(87155),Jt=i(80271),te=i(3754),ee=function(){function t(){this._disposed=!1,this._disposers=[]}return t.prototype.init=function(){},t.prototype.isDisposed=function(){return this._disposed},t.prototype.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._disposers;for(this._disposers=null;0!==t.length;){t.shift().dispose()}}},t}(),ie=i(45121),ne=i(25542),re=i(71473),oe=i(95889),se=i(40078),ae=i(70522),ue=i(64112),le=i(36442),he=i(71610),ce=i(59205),pe=i(82896),de=i(44600),fe=i(80008),ge=i(2431),ye=function(t){function e(){var e=t.call(this)||this;e.className="AmChartsLogo",e.valign="bottom";var i=.3;e.opacity=.3,e.defaultState.properties.opacity=.4,e.url="https://www.amcharts.com/",e.urlTarget="_blank",e.showSystemTooltip=!0,e.readerTitle="Chart created using amCharts library",e.width=66,e.height=21,e.background.opacity=0;var n=(0,Wt.$_)("#474758");"#ffffff"==(new N.h).getFor("background").alternative.hex&&(n=(0,Wt.$_)("#ffffff"));var r=new Tt.o;
1r.addColor(n),r.addColor(n,1,.75),r.addColor((0,Wt.$_)("#3cabff"),1,.755),r.rotation=-10;var o=r,s=e.createChild(F.o);s.shouldClone=!1,s.isMeasured=!1,s.segments=[[{x:15,y:15},{x:27,y:15},{x:36,y:6},{x:40.5,y:10.5},{x:45,y:6},{x:54,y:15},{x:60,y:15}]],s.strokeWidth=6*i,s.tensionX=.8,s.tensionY=1,s.stroke=(0,Wt.$_)("#3cabff");var a=e.createChild(F.o);a.shouldClone=!1,a.isMeasured=!1,a.segments=[[{x:6,y:15},{x:15,y:15},{x:27,y:12*i},{x:39.9,y:15},{x:51,y:15},{x:60,y:15}]],a.strokeWidth=6*i,a.tensionX=.75,a.tensionY=1,a.stroke=o,e._disposers.push(a);var u=new jt.q;e.filters.push(u);var l=new jt.q;l.saturation=1;var h=e.states.create("hover");return h.properties.opacity=1,h.filters.push(l),e.applyTheme(),e}return(0,w.ZT)(e,t),e}(s.W),me=i(17738);function ve(t,e){var i=P.sb(t),r=!1;if(i||((i=document.createElement("div")).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 o=new wt.g(i),a=new _t.X(o.SVGContainer,"svg-"+(wt.k.length-1)),u=new s.W;u.htmlContainer=i,u.svgContainer=o,u.width=(0,R.aQ)(100),u.height=(0,R.aQ)(100),u.background.fillOpacity=0,u.paper=a,a.append(u.group),r&&P.Cd((function(){u.moveHtmlContainer(t)})),u.relativeWidth=1,u.relativeHeight=1,o.container=u;var l=u.createChild(e);l.topParent=u;var h=l.uid;c.i.invalidSprites[h]=[],c.i.invalidDatas[h]=[],c.i.invalidPositions[h]=[],c.i.invalidLayouts[h]=[],u.baseId=h,l.isBaseSprite=!0,l.focusFilter=new Lt,c.i.baseSprites.push(l),c.i.baseSpritesByUid[h]=l,l.maskRectangle={x:0,y:0,width:Math.max(o.width||0,0),height:Math.max(o.height||0,0)},u.events.on("maxsizechanged",(function(t){0!=t.previousWidth&&0!=t.previousHeight||u.deepInvalidate(),l.maskRectangle&&(l.maskRectangle={x:0,y:0,width:Math.max(o.width||0,0),height:Math.max(o.height||0,0)})}));var d=null,f=function(){l.isDisposed()?d=null:null==P.yj(l.dom)?(p.Y.autoDispose?(u.htmlContainer=void 0,o.htmlElement=void 0,l.dispose()):me.Z("Chart was not disposed",l.uid),d=null):d=window.setTimeout(f,1e3)};f(),l.addDisposer(new Yt.ku((function(){null!==d&&clearTimeout(d),le.remove(c.i.baseSprites,l),c.i.baseSpritesByUid[l.uid]=void 0}))),l.addDisposer(u);var g=u.createChild(s.W);g.topParent=u,g.width=(0,R.aQ)(100),g.height=(0,R.aQ)(100),g.isMeasured=!1,u.tooltipContainer=g,l.tooltip=new q.u,l.tooltip.hide(0),l.tooltip.setBounds({x:0,y:0,width:g.maxWidth,height:g.maxHeight}),g.events.on("maxsizechanged",(function(){T.getValue(l.tooltip).setBounds({x:0,y:0,width:g.maxWidth,height:g.maxHeight})}),void 0,!1);var y=new B;if(y.events.on("inited",(function(){y.__disabled=!0}),void 0,!1),u.preloader=y,l instanceof s.W&&!l.hasLicense()){var m=g.createChild(ye);g.events.on("maxsizechanged",(function(t){g.maxWidth<=100||g.maxHeight<=50?m.hide():(m.isHidden||m.isHiding)&&m.show()}),void 0,!1),l.logo=m,m.align="left",m.valign="bottom"}if(fe.used(l.numberFormatter),u.isStandaloneInstance=!0,p.Y.onlyShowOnViewport)if(P.PZ(i,p.Y.viewportTarget))p.Y.queue&&_e(l);else{l.__disabled=!0,l.tooltipContainer.__disabled=!0;var v=[P.Oo(window,"DOMContentLoaded",(function(){we(l)})),P.Oo(window,"load",(function(){we(l)})),P.Oo(window,"resize",(function(){we(l)})),P.Oo(window,"scroll",(function(){we(l)}))];if(p.Y.viewportTarget)for(var b=T.isArray(p.Y.viewportTarget)?p.Y.viewportTarget:p.Y.viewportTarget?[p.Y.viewportTarget]:[],_=0;_<b.length;_++){var x=b[_];v.push(P.Oo(x,"resize",(function(){we(l)}))),v.push(P.Oo(x,"scroll",(function(){we(l)})))}var w=new Yt.FV(v);l.addDisposer(w),l.vpDisposer=w}else p.Y.queue&&_e(l);return l}throw n.B.log("html container not found"),new Error("html container not found")}function be(){for(;0!==c.i.baseSprites.length;)c.i.baseSprites.pop().dispose()}function _e(t){-1==c.i.queue.indexOf(t)&&(t.__disabled=!0,t.tooltipContainer.__disabled=!0,t.events.disableType("appeared"),0==c.i.queue.length&&(c.i.events.once("exitframe",(function(){Pe(t)})),n.B.requestFrame()),t.addDisposer(new Yt.ku((function(){xe(t)}))),c.i.queue.push(t))}function xe(t){var e=c.i.queue.indexOf(t);if(e>=0){c.i.queue.splice(c.i.queue.indexOf(t),1);var i=c.i.queue[e];i&&Pe(i)}}function we(t){t.__disabled&&P.PZ(t.htmlContainer,p.Y.viewportTarget)&&(t.vpDisposer&&t.vpDisposer.dispose(),_e(t))}function Pe(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(){xe(t)})),t.vpDisposer&&t.vpDisposer.dispose(),t instanceof s.W&&t.invalidateLabels(),t.tooltipContainer&&t.tooltipContainer.invalidateLayout(),t instanceof o.w?(t.invali
1dateData(),t.reinit(),t.events.once("datavalidated",(function(){t.showOnInit?t.appear():xe(t)}))):(t.reinit(),t.events.once("inited",(function(){xe(t)})),t.showOnInit&&t.appear()))}function Te(t,e){var i;T.isString(e)&&(T.hasValue(c.i.registeredClasses[e])?e=c.i.registeredClasses[e]:(e=c.i.registeredClasses.Container,i=new Error("Class ["+e+"] is not loaded.")));var n=ve(t,e);return i&&n.raiseCriticalError(i),n}function Oe(t,e,i){var n,r;T.hasValue(i)||(i=t.type,delete t.type),T.hasValue(e)||(e=t.container,delete t.container),T.isString(i)&&T.hasValue(c.i.registeredClasses[i])?n=c.i.registeredClasses[i]:"function"!==typeof i?(n=s.W,r=new Error("Class ["+i+"] is not loaded.")):n=i;var o=ve(e,n);return r?o.raiseCriticalError(r):o.config=t,o}function Ce(t,e){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return new Promise((function(n,r){c.i.deferred.push({scope:e,callback:t,args:i,resolve:n}),1==c.i.deferred.length&&Se()}))}function Se(){var t,e=c.i.deferred[0];if(e){var i=(t=e.callback).call.apply(t,(0,w.fl)([e.scope],e.args));i.events.on("ready",(function(){e.resolve(i),c.i.deferred.shift(),p.Y.deferredDelay?setTimeout(Se,p.Y.deferredDelay):Se()}))}}function ke(t){-1===c.i.themes.indexOf(t)&&c.i.themes.push(t)}function De(t){le.remove(c.i.themes,t)}function Ie(){c.i.themes=[]}function Ve(t){p.Y.licenses.push(t)}},19845:function(t,e,i){i.d(e,{CR:function(){return l},Jh:function(){return a},XA:function(){return u},ZT:function(){return r},fl:function(){return h},mG:function(){return s},pi:function(){return o}});
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 o=function(){return o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},o.apply(this,arguments)};function s(t,e,i,n){return new(i||(i=Promise))((function(r,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?r(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))}function a(t,e){var i,n,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(u){return function(a){if(i)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)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 s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){s.label=a[1];break}if(6===a[0]&&s.label<r[1]){s.label=r[1],r=a;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(a);break}r[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(u){a=[6,u],n=0}finally{i=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}Object.create;function u(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,o=i.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(a){r={error:a}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return s}function h(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}Object.create;"function"===typeof SuppressedError&&SuppressedError}}]);
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.