Files
ISUP/front/dist/js/747.e3c27ea6.js
T
2023-09-22 13:05:37 +03:00

26 lines
547 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(self["webpackChunkfront"]=self["webpackChunkfront"]||[]).push([[747,947],{90520:function(t,e,i){"use strict";
/*!
* devextreme-vue
* Version: 22.2.3
* Build date: Mon Dec 05 2022
*
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file in the root of the project for details.
*
* https://github.com/DevExpress/devextreme-vue
*/var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.DxTooltipBorder=e.DxTooltip=e.DxTitle=e.DxSubtitle=e.DxSmallValuesGrouping=e.DxSize=e.DxShadow=e.DxSeriesTemplate=e.DxSeriesBorder=e.DxSeries=e.DxSelectionStyle=e.DxPieChartTitleSubtitle=e.DxPieChartTitle=e.DxMargin=e.DxLoadingIndicator=e.DxLegendTitleSubtitle=e.DxLegendTitle=e.DxLegend=e.DxLabel=e.DxImage=e.DxHoverStyle=e.DxHatching=e.DxFormat=e.DxFont=e.DxExport=e.DxConnector=e.DxCommonSeriesSettings=e.DxCommonAnnotationSettings=e.DxBorder=e.DxArgumentFormat=e.DxAnnotationBorder=e.DxAnnotation=e.DxAnimation=e.DxAdaptiveLayout=e.DxPieChart=void 0;var n=r(i(22710)),o=i(45536),a=i(45536),s=o.createComponent({props:{adaptiveLayout:Object,animation:[Boolean,Object],annotations:Array,centerTemplate:{},commonAnnotationSettings:Object,commonSeriesSettings:{},customizeAnnotation:Function,customizeLabel:Function,customizePoint:Function,dataSource:{},diameter:Number,disabled:Boolean,elementAttr:Object,export:Object,innerRadius:Number,legend:Object,loadingIndicator:Object,margin:Object,minDiameter:Number,onDisposing:Function,onDone:Function,onDrawn:Function,onExported:Function,onExporting:Function,onFileSaving:Function,onIncidentOccurred:Function,onInitialized:Function,onLegendClick:Function,onOptionChanged:Function,onPointClick:Function,onPointHoverChanged:Function,onPointSelectionChanged:Function,onTooltipHidden:Function,onTooltipShown:Function,palette:[Array,String],paletteExtensionMode:String,pathModified:Boolean,pointSelectionMode:String,redrawOnResize:Boolean,resolveLabelOverlapping:String,rtlEnabled:Boolean,segmentsDirection:String,series:[Array,Object],seriesTemplate:Object,size:Object,sizeGroup:String,startAngle:Number,theme:String,title:[Object,String],tooltip:Object,type:String},emits:{"update:isActive":null,"update:hoveredElement":null,"update:adaptiveLayout":null,"update:animation":null,"update:annotations":null,"update:centerTemplate":null,"update:commonAnnotationSettings":null,"update:commonSeriesSettings":null,"update:customizeAnnotation":null,"update:customizeLabel":null,"update:customizePoint":null,"update:dataSource":null,"update:diameter":null,"update:disabled":null,"update:elementAttr":null,"update:export":null,"update:innerRadius":null,"update:legend":null,"update:loadingIndicator":null,"update:margin":null,"update:minDiameter":null,"update:onDisposing":null,"update:onDone":null,"update:onDrawn":null,"update:onExported":null,"update:onExporting":null,"update:onFileSaving":null,"update:onIncidentOccurred":null,"update:onInitialized":null,"update:onLegendClick":null,"update:onOptionChanged":null,"update:onPointClick":null,"update:onPointHoverChanged":null,"update:onPointSelectionChanged":null,"update:onTooltipHidden":null,"update:onTooltipShown":null,"update:palette":null,"update:paletteExtensionMode":null,"update:pathModified":null,"update:pointSelectionMode":null,"update:redrawOnResize":null,"update:resolveLabelOverlapping":null,"update:rtlEnabled":null,"update:segmentsDirection":null,"update:series":null,"update:seriesTemplate":null,"update:size":null,"update:sizeGroup":null,"update:startAngle":null,"update:theme":null,"update:title":null,"update:tooltip":null,"update:type":null},computed:{instance:function(){return this.$_instance}},beforeCreate:function(){this.$_WidgetClass=n.default,this.$_hasAsyncTemplate=!0,this.$_expectedChildren={adaptiveLayout:{isCollectionItem:!1,optionName:"adaptiveLayout"},animation:{isCollectionItem:!1,optionName:"animation"},annotation:{isCollectionItem:!0,optionName:"annotations"},commonAnnotationSettings:{isCollectionItem:!1,optionName:"commonAnnotationSettings"},commonSeriesSettings:{isCollectionItem:!1,optionName:"commonSeriesSettings"},export:{isCollectionItem:!1,optionName:"export"},legend:{isCollectionItem:!1,optionName:"legend"},loadingIndicator:{isCollectionItem:!1,optionName:"loadingIndicator"},margin:{isCollectionItem:!1,optionName:"margin"},pieChartTitle:{isCollectionItem:!1,optionName:"title"},series:{isCollectionItem:!0,optionName:"series"},seriesTemplate:{isCollectionItem:!1,optionName:"seriesTemplate"},size:{isCollectionItem:!1,optionName:"size"},title:{isCollectionItem:!1,optionName:"title"},tooltip:{isCollectionItem:!1,optionName:"tooltip"}}}});e.DxPieChart=s;var l=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:height":null,"update:keepLabels":null,"update:width":null},props:{height:Number,keepLabels:Boolean,width:Number}});e.DxAdaptiveLayout=l,l.$_optionName="adaptiveLayout";var u=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:duration":null,"update:easing":null,"update:enabled":null,"update:maxPointCountSupported":null},props:{duration:Number,easing:String,enabled:Boolean,maxPointCountSupported:Number}});e.DxAnimation=u,u.$_optionName="animation";var h=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:allowDragging":null,"update:argument":null,"update:arrowLength":null,"update:arrowWidth":null,"update:border":null,"update:color":null,"update:customizeTooltip":null,"update:data":null,"update:description":null,"update:font":null,"update:height":null,"update:image":null,"update:location":null,"update:name":null,"update:offsetX":null,"update:offsetY":null,"update:opacity":null,"update:paddingLeftRight":null,"update:paddingTopBottom":null,"update:series":null,"update:shadow":null,"update:template":null,"update:text":null,"update:textOverflow":null,"update:tooltipEnabled":null,"update:tooltipTemplate":null,"update:type":null,"update:width":null,"update:wordWrap":null,"update:x":null,"update:y":null},props:{allowDragging:Boolean,argument:{},arrowLength:Number,arrowWidth:Number,border:Object,color:String,customizeTooltip:Function,data:{},description:String,font:Object,height:Number,image:[Object,String],location:String,name:String,offsetX:Number,offsetY:Number,opacity:Number,paddingLeftRight:Number,paddingTopBottom:Number,series:String,shadow:Object,template:{},text:String,textOverflow:String,tooltipEnabled:Boolean,tooltipTemplate:{},type:String,width:Number,wordWrap:String,x:Number,y:Number}});e.DxAnnotation=h,h.$_optionName="annotations",h.$_isCollectionItem=!0,h.$_expectedChildren={annotationBorder:{isCollectionItem:!1,optionName:"border"},border:{isCollectionItem:!1,optionName:"border"},font:{isCollectionItem:!1,optionName:"font"},image:{isCollectionItem:!1,optionName:"image"},shadow:{isCollectionItem:!1,optionName:"shadow"}};var c=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:color":null,"update:cornerRadius":null,"update:dashStyle":null,"update:opacity":null,"update:visible":null,"update:width":null},props:{color:String,cornerRadius:Number,dashStyle:String,opacity:Number,visible:Boolean,width:Number}});e.DxAnnotationBorder=c,c.$_optionName="border";var d=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:currency":null,"update:formatter":null,"update:parser":null,"update:precision":null,"update:type":null,"update:useCurrencyAccountingStyle":null},props:{currency:String,formatter:Function,parser:Function,precision:Number,type:String,useCurrencyAccountingStyle:Boolean}});e.DxArgumentFormat=d,d.$_optionName="argumentFormat";var p=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:color":null,"update:cornerRadius":null,"update:dashStyle":null,"update:opacity":null,"update:visible":null,"update:width":null},props:{color:String,cornerRadius:Number,dashStyle:String,opacity:Number,visible:Boolean,width:Number}});e.DxBorder=p,p.$_optionName="border";var g=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:allowDragging":null,"update:argument":null,"update:arrowLength":null,"update:arrowWidth":null,"update:border":null,"update:color":null,"update:customizeTooltip":null,"update:data":null,"update:description":null,"update:font":null,"update:height":null,"update:image":null,"update:location":null,"update:offsetX":null,"update:offsetY":null,"update:opacity":null,"update:paddingLeftRight":null,"update:paddingTopBottom":null,"update:series":null,"update:shadow":null,"update:template":null,"update:text":null,"update:textOverflow":null,"update:tooltipEnabled":null,"update:tooltipTemplate":null,"update:type":null,"update:width":null,"update:wordWrap":null,"update:x":null,"update:y":null},props:{allowDragging:Boolean,argument:{},arrowLength:Number,arrowWidth:Number,border:Object,color:String,customizeTooltip:Function,data:{},description:String,font:Object,height:Number,image:[Object,String],location:String,offsetX:Number,offsetY:Number,opacity:Number,paddingLeftRight:Number,paddingTopBottom:Number,series:String,shadow:Object,template:{},text:String,textOverflow:String,tooltipEnabled:Boolean,tooltipTemplate:{},type:String,width:Number,wordWrap:String,x:Number,y:Number}});e.DxCommonAnnotationSettings=g,g.$_optionName="commonAnnotationSettings";var f=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:argumentField":null,"update:argumentType":null,"update:border":null,"update:color":null,"update:hoverMode":null,"update:hoverStyle":null,"update:label":null,"update:maxLabelCount":null,"update:minSegmentSize":null,"update:selectionMode":null,"update:selectionStyle":null,"update:smallValuesGrouping":null,"update:tagField":null,"update:valueField":null},props:{argumentField:String,argumentType:String,border:Object,color:String,hoverMode:String,hoverStyle:Object,label:Object,maxLabelCount:Number,minSegmentSize:Number,selectionMode:String,selectionStyle:Object,smallValuesGrouping:Object,tagField:String,valueField:String}});e.DxCommonSeriesSettings=f,f.$_optionName="commonSeriesSettings",f.$_expectedChildren={border:{isCollectionItem:!1,optionName:"border"},hoverStyle:{isCollectionItem:!1,optionName:"hoverStyle"},label:{isCollectionItem:!1,optionName:"label"},selectionStyle:{isCollectionItem:!1,optionName:"selectionStyle"},seriesBorder:{isCollectionItem:!1,optionName:"border"},smallValuesGrouping:{isCollectionItem:!1,optionName:"smallValuesGrouping"}};var m=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:color":null,"update:visible":null,"update:width":null},props:{color:String,visible:Boolean,width:Number}});e.DxConnector=m,m.$_optionName="connector";var _=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:backgroundColor":null,"update:enabled":null,"update:fileName":null,"update:formats":null,"update:margin":null,"update:printingEnabled":null,"update:svgToCanvas":null},props:{backgroundColor:String,enabled:Boolean,fileName:String,formats:Array,margin:Number,printingEnabled:Boolean,svgToCanvas:Function}});e.DxExport=_,_.$_optionName="export";var v=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:color":null,"update:family":null,"update:opacity":null,"update:size":null,"update:weight":null},props:{color:String,family:String,opacity:Number,size:[Number,String],weight:Number}});e.DxFont=v,v.$_optionName="font";var b=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:currency":null,"update:formatter":null,"update:parser":null,"update:precision":null,"update:type":null,"update:useCurrencyAccountingStyle":null},props:{currency:String,formatter:Function,parser:Function,precision:Number,type:String,useCurrencyAccountingStyle:Boolean}});e.DxFormat=b,b.$_optionName="format";var y=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:direction":null,"update:opacity":null,"update:step":null,"update:width":null},props:{direction:String,opacity:Number,step:Number,width:Number}});e.DxHatching=y,y.$_optionName="hatching";var x=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:border":null,"update:color":null,"update:hatching":null},props:{border:Object,color:String,hatching:Object}});e.DxHoverStyle=x,x.$_optionName="hoverStyle",x.$_expectedChildren={border:{isCollectionItem:!1,optionName:"border"},hatching:{isCollectionItem:!1,optionName:"hatching"},seriesBorder:{isCollectionItem:!1,optionName:"border"}};var w=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:height":null,"update:url":null,"update:width":null},props:{height:Number,url:String,width:Number}});e.DxImage=w,w.$_optionName="image";var C=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:argumentFormat":null,"update:backgroundColor":null,"update:border":null,"update:connector":null,"update:customizeText":null,"update:displayFormat":null,"update:font":null,"update:format":null,"update:position":null,"update:radialOffset":null,"update:rotationAngle":null,"update:textOverflow":null,"update:visible":null,"update:wordWrap":null},props:{argumentFormat:[Object,Function,String],backgroundColor:String,border:Object,connector:Object,customizeText:Function,displayFormat:String,font:Object,format:[Object,Function,String],position:String,radialOffset:Number,rotationAngle:Number,textOverflow:String,visible:Boolean,wordWrap:String}});e.DxLabel=C,C.$_optionName="label",C.$_expectedChildren={argumentFormat:{isCollectionItem:!1,optionName:"argumentFormat"},border:{isCollectionItem:!1,optionName:"border"},connector:{isCollectionItem:!1,optionName:"connector"},font:{isCollectionItem:!1,optionName:"font"},format:{isCollectionItem:!1,optionName:"format"},seriesBorder:{isCollectionItem:!1,optionName:"border"}};var S=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:backgroundColor":null,"update:border":null,"update:columnCount":null,"update:columnItemSpacing":null,"update:customizeHint":null,"update:customizeItems":null,"update:customizeText":null,"update:font":null,"update:horizontalAlignment":null,"update:hoverMode":null,"update:itemsAlignment":null,"update:itemTextPosition":null,"update:margin":null,"update:markerSize":null,"update:markerTemplate":null,"update:orientation":null,"update:paddingLeftRight":null,"update:paddingTopBottom":null,"update:rowCount":null,"update:rowItemSpacing":null,"update:title":null,"update:verticalAlignment":null,"update:visible":null},props:{backgroundColor:String,border:Object,columnCount:Number,columnItemSpacing:Number,customizeHint:Function,customizeItems:Function,customizeText:Function,font:Object,horizontalAlignment:String,hoverMode:String,itemsAlignment:String,itemTextPosition:String,margin:[Number,Object],markerSize:Number,markerTemplate:{},orientation:String,paddingLeftRight:Number,paddingTopBottom:Number,rowCount:Number,rowItemSpacing:Number,title:[Object,String],verticalAlignment:String,visible:Boolean}});e.DxLegend=S,S.$_optionName="legend",S.$_expectedChildren={annotationBorder:{isCollectionItem:!1,optionName:"border"},border:{isCollectionItem:!1,optionName:"border"},font:{isCollectionItem:!1,optionName:"font"},legendTitle:{isCollectionItem:!1,optionName:"title"},margin:{isCollectionItem:!1,optionName:"margin"},title:{isCollectionItem:!1,optionName:"title"}};var k=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:font":null,"update:horizontalAlignment":null,"update:margin":null,"update:placeholderSize":null,"update:subtitle":null,"update:text":null,"update:verticalAlignment":null},props:{font:Object,horizontalAlignment:String,margin:Object,placeholderSize:Number,subtitle:[Object,String],text:String,verticalAlignment:String}});e.DxLegendTitle=k,k.$_optionName="title",k.$_expectedChildren={font:{isCollectionItem:!1,optionName:"font"},legendTitleSubtitle:{isCollectionItem:!1,optionName:"subtitle"},margin:{isCollectionItem:!1,optionName:"margin"},subtitle:{isCollectionItem:!1,optionName:"subtitle"}};var A=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:font":null,"update:offset":null,"update:text":null},props:{font:Object,offset:Number,text:String}});e.DxLegendTitleSubtitle=A,A.$_optionName="subtitle",A.$_expectedChildren={font:{isCollectionItem:!1,optionName:"font"}};var T=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:backgroundColor":null,"update:enabled":null,"update:font":null,"update:show":null,"update:text":null},props:{backgroundColor:String,enabled:Boolean,font:Object,show:Boolean,text:String}});e.DxLoadingIndicator=T,T.$_optionName="loadingIndicator",T.$_expectedChildren={font:{isCollectionItem:!1,optionName:"font"}};var E=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:bottom":null,"update:left":null,"update:right":null,"update:top":null},props:{bottom:Number,left:Number,right:Number,top:Number}});e.DxMargin=E,E.$_optionName="margin";var O=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:font":null,"update:horizontalAlignment":null,"update:margin":null,"update:placeholderSize":null,"update:subtitle":null,"update:text":null,"update:textOverflow":null,"update:verticalAlignment":null,"update:wordWrap":null},props:{font:Object,horizontalAlignment:String,margin:[Number,Object],placeholderSize:Number,subtitle:[Object,String],text:String,textOverflow:String,verticalAlignment:String,wordWrap:String}});e.DxPieChartTitle=O,O.$_optionName="title",O.$_expectedChildren={font:{isCollectionItem:!1,optionName:"font"},margin:{isCollectionItem:!1,optionName:"margin"},pieChartTitleSubtitle:{isCollectionItem:!1,optionName:"subtitle"},subtitle:{isCollectionItem:!1,optionName:"subtitle"}};var P=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:font":null,"update:offset":null,"update:text":null,"update:textOverflow":null,"update:wordWrap":null},props:{font:Object,offset:Number,text:String,textOverflow:String,wordWrap:String}});e.DxPieChartTitleSubtitle=P,P.$_optionName="subtitle",P.$_expectedChildren={font:{isCollectionItem:!1,optionName:"font"}};var I=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:border":null,"update:color":null,"update:hatching":null},props:{border:Object,color:String,hatching:Object}});e.DxSelectionStyle=I,I.$_optionName="selectionStyle",I.$_expectedChildren={border:{isCollectionItem:!1,optionName:"border"},hatching:{isCollectionItem:!1,optionName:"hatching"},seriesBorder:{isCollectionItem:!1,optionName:"border"}};var L=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:argumentField":null,"update:argumentType":null,"update:border":null,"update:color":null,"update:hoverMode":null,"update:hoverStyle":null,"update:label":null,"update:maxLabelCount":null,"update:minSegmentSize":null,"update:name":null,"update:selectionMode":null,"update:selectionStyle":null,"update:smallValuesGrouping":null,"update:tag":null,"update:tagField":null,"update:valueField":null},props:{argumentField:String,argumentType:String,border:Object,color:String,hoverMode:String,hoverStyle:Object,label:Object,maxLabelCount:Number,minSegmentSize:Number,name:String,selectionMode:String,selectionStyle:Object,smallValuesGrouping:Object,tag:{},tagField:String,valueField:String}});e.DxSeries=L,L.$_optionName="series",L.$_isCollectionItem=!0;var B=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:color":null,"update:dashStyle":null,"update:visible":null,"update:width":null},props:{color:String,dashStyle:String,visible:Boolean,width:Number}});e.DxSeriesBorder=B,B.$_optionName="border";var R=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:customizeSeries":null,"update:nameField":null},props:{customizeSeries:Function,nameField:String}});e.DxSeriesTemplate=R,R.$_optionName="seriesTemplate";var V=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:blur":null,"update:color":null,"update:offsetX":null,"update:offsetY":null,"update:opacity":null},props:{blur:Number,color:String,offsetX:Number,offsetY:Number,opacity:Number}});e.DxShadow=V,V.$_optionName="shadow";var D=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:height":null,"update:width":null},props:{height:Number,width:Number}});e.DxSize=D,D.$_optionName="size";var z=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:groupName":null,"update:mode":null,"update:threshold":null,"update:topCount":null},props:{groupName:String,mode:String,threshold:Number,topCount:Number}});e.DxSmallValuesGrouping=z,z.$_optionName="smallValuesGrouping";var M=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:font":null,"update:offset":null,"update:text":null,"update:textOverflow":null,"update:wordWrap":null},props:{font:Object,offset:Number,text:String,textOverflow:String,wordWrap:String}});e.DxSubtitle=M,M.$_optionName="subtitle";var F=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:font":null,"update:horizontalAlignment":null,"update:margin":null,"update:placeholderSize":null,"update:subtitle":null,"update:text":null,"update:textOverflow":null,"update:verticalAlignment":null,"update:wordWrap":null},props:{font:Object,horizontalAlignment:String,margin:Object,placeholderSize:Number,subtitle:[Object,String],text:String,textOverflow:String,verticalAlignment:String,wordWrap:String}});e.DxTitle=F,F.$_optionName="title";var N=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:argumentFormat":null,"update:arrowLength":null,"update:border":null,"update:color":null,"update:container":null,"update:contentTemplate":null,"update:cornerRadius":null,"update:customizeTooltip":null,"update:enabled":null,"update:font":null,"update:format":null,"update:interactive":null,"update:opacity":null,"update:paddingLeftRight":null,"update:paddingTopBottom":null,"update:shadow":null,"update:shared":null,"update:zIndex":null},props:{argumentFormat:[Object,Function,String],arrowLength:Number,border:Object,color:String,container:{},contentTemplate:{},cornerRadius:Number,customizeTooltip:Function,enabled:Boolean,font:Object,format:[Object,Function,String],interactive:Boolean,opacity:Number,paddingLeftRight:Number,paddingTopBottom:Number,shadow:Object,shared:Boolean,zIndex:Number}});e.DxTooltip=N,N.$_optionName="tooltip",N.$_expectedChildren={argumentFormat:{isCollectionItem:!1,optionName:"argumentFormat"},border:{isCollectionItem:!1,optionName:"border"},font:{isCollectionItem:!1,optionName:"font"},format:{isCollectionItem:!1,optionName:"format"},shadow:{isCollectionItem:!1,optionName:"shadow"},tooltipBorder:{isCollectionItem:!1,optionName:"border"}};var G=a.createConfigurationComponent({emits:{"update:isActive":null,"update:hoveredElement":null,"update:color":null,"update:dashStyle":null,"update:opacity":null,"update:visible":null,"update:width":null},props:{color:String,dashStyle:String,opacity:Number,visible:Boolean,width:Number}});e.DxTooltipBorder=G,G.$_optionName="border",e["default"]=s},22710:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return my}});var r={};i.r(r),i.d(r,{donut:function(){return gp},doughnut:function(){return pp},pie:function(){return dp}});var n={};i.r(n),i.d(n,{candlestick:function(){return vp},stock:function(){return _p}});var o={};i.r(o),i.d(o,{ChartTracker:function(){return af},PieTracker:function(){return sf}});var a={events:{mouseover:"mouseover",mouseout:"mouseout",mousemove:"mousemove",touchstart:"touchstart",touchmove:"touchmove",touchend:"touchend",mousedown:"mousedown",mouseup:"mouseup",click:"click",selectSeries:"selectseries",deselectSeries:"deselectseries",selectPoint:"selectpoint",deselectPoint:"deselectpoint",showPointTooltip:"showpointtooltip",hidePointTooltip:"hidepointtooltip"},states:{hover:"hover",normal:"normal",selection:"selection",normalMark:0,hoverMark:1,selectedMark:2,applyHover:"applyHover",applySelected:"applySelected",resetItem:"resetItem"},radialLabelIndent:30,pieLabelSpacing:10,pieSeriesSpacing:4},s=i(72264),l=i(50450),u=i(44099),h=i(63419),c=i(94381),d=i(14435),p={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightslategrey:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"},g=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(t){return[parseInt(t[1],10),parseInt(t[2],10),parseInt(t[3],10)]}},{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*\.*\d+)\)$/,process:function(t){return[parseInt(t[1],10),parseInt(t[2],10),parseInt(t[3],10),parseFloat(t[4])]}},{re:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/,process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^#([a-f0-9]{1})([a-f0-9]{1})([a-f0-9]{1})$/,process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/^hsv\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(t){var e=parseInt(t[1],10),i=parseInt(t[2],10),r=parseInt(t[3],10),n=x(e,i,r);return[n[0],n[1],n[2],1,[e,i,r]]}},{re:/^hsl\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,process:function(t){var e=parseInt(t[1],10),i=parseInt(t[2],10),r=parseInt(t[3],10),n=T(e,i,r);return[n[0],n[1],n[2],1,null,[e,i,r]]}}],f=Math.round;function m(t){var e;this.baseColor=t,t&&(e=String(t).toLowerCase().replace(/ /g,""),e=p[e]?"#"+p[e]:e,e=_(e)),e||(this.colorIsInvalid=!0),e=e||{},this.r=v(e[0]),this.g=v(e[1]),this.b=v(e[2]),this.a=v(e[3],1,1),e[4]?this.hsv={h:e[4][0],s:e[4][1],v:e[4][2]}:this.hsv=y(this.r,this.g,this.b),e[5]?this.hsl={h:e[5][0],s:e[5][1],l:e[5][2]}:this.hsl=C(this.r,this.g,this.b)}function _(t){if("transparent"===t)return[0,0,0,0];for(var e,i=0,r=g.length;i<r;++i)if(e=g[i].re.exec(t),e)return g[i].process(e);return null}function v(t,e,i){return e=e||0,i=i||255,t<0||isNaN(t)?e:t>i?i:t}function b(t,e,i){return"#"+(16777216|t<<16|e<<8|i).toString(16).slice(1)}function y(t,e,i){var r,n,o=Math.max(t,e,i),a=Math.min(t,e,i),s=o-a,l=o;if(n=0===o?0:1-a/o,o===a)r=0;else switch(o){case t:r=(e-i)/s*60,e<i&&(r+=360);break;case e:r=(i-t)/s*60+120;break;case i:r=(t-e)/s*60+240}return n*=100,l*=100/255,{h:Math.round(r),s:Math.round(n),v:Math.round(l)}}function x(t,e,i){var r,n,o,a=Math.floor(t%360/60),s=(100-e)*i/100,l=t%60/60*(i-s),u=s+l,h=i-l;switch(a){case 0:r=i,n=u,o=s;break;case 1:r=h,n=i,o=s;break;case 2:r=s,n=i,o=u;break;case 3:r=s,n=h,o=i;break;case 4:r=u,n=s,o=i;break;case 5:r=i,n=s,o=h}return[Math.round(2.55*r),Math.round(2.55*n),Math.round(2.55*o)]}function w(t,e,i,r){var n=Math.max(t,e,i);switch(n){case t:return(e-i)/r+(e<i?6:0);case e:return(i-t)/r+2;case i:return(t-e)/r+4}}function C(t,e,i){t=E(t,255),e=E(e,255),i=E(i,255);var r,n,o=Math.max(t,e,i),a=Math.min(t,e,i),s=o+a,l=s/2;if(o===a)r=n=0;else{var u=o-a;n=l>.5?u/(2-s):u/s,r=w(t,e,i,u),r/=6}return{h:f(360*r),s:f(100*n),l:f(100*l)}}function S(t,e){var i=e;return"r"===t&&(i=e+1/3),"b"===t&&(i=e-1/3),i}function k(t){return t<0&&(t+=1),t>1&&(t-=1),t}function A(t,e,i){return i=k(i),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function T(t,e,i){var r,n,o;if(t=E(t,360),e=E(e,100),i=E(i,100),0===e)r=n=o=i;else{var a=i<.5?i*(1+e):i+e-i*e,s=2*i-a;r=A(s,a,S("r",t)),n=A(s,a,S("g",t)),o=A(s,a,S("b",t))}return[f(255*r),f(255*n),f(255*o)]}function E(t,e){return t=Math.min(e,Math.max(0,parseFloat(t))),Math.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function O(t,e,i){return e=e||0,i=i||255,!(t%1!==0||t<e||t>i||"number"!==typeof t||isNaN(t))}m.prototype={constructor:m,highlight:function(t){return t=t||10,this.alter(t).toHex()},darken:function(t){return t=t||10,this.alter(-t).toHex()},alter:function(t){var e=new m;return e.r=v(this.r+t),e.g=v(this.g+t),e.b=v(this.b+t),e},blend:function(t,e){var i=t instanceof m?t:new m(t),r=new m;return r.r=v(f(this.r*(1-e)+i.r*e)),r.g=v(f(this.g*(1-e)+i.g*e)),r.b=v(f(this.b*(1-e)+i.b*e)),r},toHex:function(){return b(this.r,this.g,this.b)},getPureColor:function(){var t=x(this.hsv.h,100,100);return new m("rgb("+t.join(",")+")")},isValidHex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},isValidRGB:function(t,e,i){return!!(O(t)&&O(e)&&O(i))},isValidAlpha:function(t){return!(isNaN(t)||t<0||t>1||"number"!==typeof t)},colorIsInvalid:!1,fromHSL:function(t){var e=new m,i=T(t.h,t.s,t.l);return e.r=i[0],e.g=i[1],e.b=i[2],e}};var P=m,{PI:I,LN10:L,abs:B,log:R,floor:V,ceil:D,pow:z,sqrt:M,atan2:F}=Math,N=(Math.min,Math.max,Math.cos),G=Math.sin,H=Math.round,Z=(d.Z.dateToMilliseconds,1e10),$=I/180,X=(isNaN,Number),Y=NaN,j=function(t,e){return t?R(t)/R(e):Y},K=function(t,e){return z(e,t)},U=function(t){return(t%360+360)%360},W=function(t){return I*t/180},q=function(t){var e=W(t);return{cos:N(e),sin:G(e)}},J=function(t,e,i,r){var n=i-t,o=r-e;return M(o*o+n*n)};function Q(t,e){var i,r=0,n=t.length,o=[];while(r<n)i=e(t[r],r),null!==i&&o.push(i),r++;return o}function tt(t){return String(t).toLowerCase()}function et(t){return t&&(t.originalTop=t.top,t.originalBottom=t.bottom,t.originalLeft=t.left,t.originalRight=t.right),t}function it(t){return-Z<t&&t<+Z?t:0}function rt(t){var e=it(V(t.x)),i=it(V(t.y)),r=it(D(t.width+t.x)),n=it(D(t.height+t.y)),o={x:e,y:i,width:r-e,height:n-i};return o.isEmpty=!o.x&&!o.y&&!o.width&&!o.height,o}function nt(t,e,i){var r=X(N(i*$).toFixed(3)),n=X(G(i*$).toFixed(3)),o=t.width/2,a=t.height/2,s=t.x+o,l=t.y+a,u=B(o*r)+B(a*n),h=B(o*n)+B(a*r),c=e[0]+(s-e[0])*r+(l-e[1])*n,d=e[1]-(s-e[0])*n+(l-e[1])*r;return rt({x:c-u,y:d-h,width:2*u,height:2*h})}var ot=function(t,e){return void 0!==t?t:e},at=function(t){var e,i,r={};for(e=0,i=t.length;e<i;++e)r[tt(t[e])]=1;return function(t,e){var i=tt(t);return r[i]?i:e}},st=function(t){var e={};return(0,h.S6)(t||{},(function(i,r){if(/^(cursor)$/i.test(i));else if("opacity"===i)r=null;else if("color"===i){if(i="fill","opacity"in t){var n=new P(r);r="rgba(".concat(n.r,",").concat(n.g,",").concat(n.b,",").concat(t.opacity,")")}}else i="font-"+i;e[i]=r})),e};function lt(t,e,i,r){var n=r>0?r:0;i=(0,l.$K)(i)?i+e-90:0;var o=q(i);return{x:H(t.x+n*o.cos),y:H(t.y+n*o.sin)}}var ut=function(t,e,i){var r=J(t.x,t.y,e,i),n=F(i-t.y,e-t.x);return{phi:H(U(180*n/I)),r:H(r)}},ht=function(t,e){var i,r,n,o=(0,l.mf)(t.customizeSeries)?t.customizeSeries:s.ZT,a=t.nameField,h={},c=[],d=0;for(e=e||[],r=e.length;d<r;d++)n=e[d],a in n&&(i=h[n[a]],i||(i=h[n[a]]={name:n[a],nameFieldValue:n[a]},c.push(i.name)));return Q(c,(function(t){var e=h[t];return(0,u.l)(e,o.call(null,e.name))}))};var ct=function(t){var e={};return Q(t,(function(t){var i=e[t]?null:t;return e[t]=!0,i}))},dt=function(t,e,i){var r=t.x+t.width/2>=i.x,n=(r?t.x:t.x+t.width)-i.x,o=t.y-i.y,a=o+e,s=H(M(n*n+o*o-a*a)),l=(r?+s:-s)||n;return{x:i.x+(r?l:l-t.width),y:t.y+e}};function pt(t,e){return"datetime"===t.dataType?function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return new Date(t.getTime()+i*e)}:"logarithmic"===t.axisType?function(e,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=gt(e,t.base)+r*i;return ft(n,t.base)}:function(t,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=t+r*i;return e&&n*t<=0?0:n}}function gt(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;if(!i)return j(t,e);if(0===t)return 0;var n=j(B(t),e)-(r-1);return n<0?0:(0,c.zB)((0,c.Xx)(t)*n,Number(z(e,r-1).toFixed(B(r))))}function ft(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;if(!i)return K(t,e);if(0===t)return 0;var n=K(B(t)+(r-1),e);return n<0?0:(0,c.zB)((0,c.Xx)(t)*n,Number(z(e,r).toFixed(B(r))))}function mt(t,e,i){return e>=t.left&&e<=t.right&&i>=t.top&&i<=t.bottom}var _t=l.$K,vt=l.J_,bt=l.mf,yt="min",xt="max",wt="minVisible",Ct="maxVisible",St="base",kt="axisType";function At(t,e){return e<t}function Tt(t,e){return e>t}function Et(t,e,i,r){var n=_t(e);_t(t)?n&&r(t,e)&&i(e):n&&i(e)}var Ot=function(t){t&&(0,u.l)(this,t)},Pt=Ot;Pt.prototype={constructor:Pt,addRange:function(t){var e=this,i=e.categories,r=t.categories,n="discrete"===e[kt],o=function(i,r){Et(e[i],t[i],(function(t){e[i]=t}),r)},a=function(t,i,r){Et(e[t],e[i],(function(i){_t(e[t])&&(e[t]=i)}),r)},s=function(i){e[i]=e[i]||t[i]};return s("invert"),s("containsConstantLine"),s(kt),s("dataType"),s("isSpacedMargin"),"logarithmic"===e[kt]?s(St):e[St]=void 0,o(yt,At),o(xt,Tt),n?(s(wt),s(Ct)):(o(wt,At),o(Ct,Tt)),o("interval",At),n||(a(yt,wt,At),a(yt,Ct,At),a(xt,Ct,Tt),a(xt,wt,Tt)),e.categories=void 0===i?r:r?ct(i.concat(r)):i,"logarithmic"===e[kt]&&(s("allowNegatives"),o("linearThreshold",At)),e},isEmpty:function(){return(!_t(this[yt])||!_t(this[xt]))&&(!this.categories||0===this.categories.length)},correctValueZeroLevel:function(){var t=this;if(vt(t[xt])||vt(t[yt]))return t;function e(e,i){t[e]<0&&t[i]<0&&(t[i]=0),t[e]>0&&t[i]>0&&(t[e]=0)}return e(yt,xt),e(wt,Ct),t},sortCategories(t){if(!1!==t&&this.categories)if(Array.isArray(t)){var e=t.map((t=>t.valueOf())),i=this.categories.filter((t=>-1===e.indexOf(t.valueOf())));this.categories=t.concat(i)}else{var r=!bt(t);r&&"string"!==this.dataType?t=(t,e)=>t.valueOf()-e.valueOf():r&&(t=!1),t&&this.categories.sort(t)}}};var It,Lt=i(652),Bt=i(52376),Rt=i(78172),Vt=i(57678),Dt=i(18274),zt=i(71389),Mt=i(49784),Ft=Math.floor,Nt=Math.ceil,Gt=Array.isArray,Ht=50,Zt="material",$t={simpleSet:["#5f8b95","#ba4d51","#af8a53","#955f71","#859666","#7e688c"],indicatingSet:["#a3b97c","#e1b676","#ec7f83"],gradientSet:["#5f8b95","#ba4d51"],accentColor:"#ba4d51"},Xt={[Zt]:{simpleSet:["#1db2f5","#f5564a","#97c95c","#ffc720","#eb3573","#a63db8"],indicatingSet:["#97c95c","#ffc720","#f5564a"],gradientSet:["#1db2f5","#97c95c"],accentColor:"#1db2f5"},office:$t,"harmony light":{simpleSet:["#fcb65e","#679ec5","#ad79ce","#7abd5c","#e18e92","#b6d623","#b7abea","#85dbd5"],indicatingSet:["#b6d623","#fcb65e","#e18e92"],gradientSet:["#7abd5c","#fcb65e"],accentColor:"#679ec5"},"soft pastel":{simpleSet:["#60a69f","#78b6d9","#6682bb","#a37182","#eeba69","#90ba58","#456c68","#7565a4"],indicatingSet:["#90ba58","#eeba69","#a37182"],gradientSet:["#78b6d9","#eeba69"],accentColor:"#60a69f"},pastel:{simpleSet:["#bb7862","#70b3a1","#bb626a","#057d85","#ab394b","#dac599","#153459","#b1d2c6"],indicatingSet:["#70b3a1","#dac599","#bb626a"],gradientSet:["#bb7862","#70b3a1"],accentColor:"#bb7862"},bright:{simpleSet:["#70c92f","#f8ca00","#bd1550","#e97f02","#9d419c","#7e4452","#9ab57e","#36a3a6"],indicatingSet:["#70c92f","#f8ca00","#bd1550"],gradientSet:["#e97f02","#f8ca00"],accentColor:"#e97f02"},soft:{simpleSet:["#cbc87b","#9ab57e","#e55253","#7e4452","#e8c267","#565077","#6babac","#ad6082"],indicatingSet:["#9ab57e","#e8c267","#e55253"],gradientSet:["#9ab57e","#e8c267"],accentColor:"#565077"},ocean:{simpleSet:["#75c099","#acc371","#378a8a","#5fa26a","#064970","#38c5d2","#00a7c6","#6f84bb"],indicatingSet:["#c8e394","#7bc59d","#397c8b"],gradientSet:["#acc371","#38c5d2"],accentColor:"#378a8a"},vintage:{simpleSet:["#dea484","#efc59c","#cb715e","#eb9692","#a85c4c","#f2c0b5","#c96374","#dd956c"],indicatingSet:["#ffe5c6","#f4bb9d","#e57660"],gradientSet:["#efc59c","#cb715e"],accentColor:"#cb715e"},violet:{simpleSet:["#d1a1d1","#eeacc5","#7b5685","#7e7cad","#a13d73","#5b41ab","#e287e2","#689cc1"],indicatingSet:["#d8e2f6","#d0b2da","#d56a8a"],gradientSet:["#eeacc5","#7b5685"],accentColor:"#7b5685"},carmine:{simpleSet:["#fb7764","#73d47f","#fed85e","#d47683","#dde392","#757ab2"],indicatingSet:["#5cb85c","#f0ad4e","#d9534f"],gradientSet:["#fb7764","#73d47f"],accentColor:"#f05b41"},"dark moon":{simpleSet:["#4ddac1","#f4c99a","#80dd9b","#f998b3","#4aaaa0","#a5aef1"],indicatingSet:["#59d8a4","#f0ad4e","#f9517e"],gradientSet:["#4ddac1","#f4c99a"],accentColor:"#3debd3"},"soft blue":{simpleSet:["#7ab8eb","#97da97","#facb86","#e78683","#839bda","#4db7be"],indicatingSet:["#5cb85c","#f0ad4e","#d9534f"],gradientSet:["#7ab8eb","#97da97"],accentColor:"#7ab8eb"},"dark violet":{simpleSet:["#9c63ff","#64c064","#eead51","#d2504b","#4b6bbf","#2da7b0"],indicatingSet:["#5cb85c","#f0ad4e","#d9534f"],gradientSet:["#9c63ff","#64c064"],accentColor:"#9c63ff"},"green mist":{simpleSet:["#3cbab2","#8ed962","#5b9d95","#efcc7c","#f1929f","#4d8dab"],indicatingSet:["#72d63c","#ffc852","#f74a5e"],gradientSet:["#3cbab2","#8ed962"],accentColor:"#3cbab2"}};function Yt(t){if(void 0===t)return It||Zt;t=tt(t),It=t in Xt?t:void 0}function jt(t,e){var i;e=e||{},t=t||(void 0===It?e.themeDefault:Yt());var r=e.type;return Gt(t)?t.slice(0):((0,l.HD)(t)&&(i=Xt[tt(t)]),i||(i=Xt[Yt()]),r?i[r].slice(0):i)}function Kt(t,e){return t=jt(t,{themeDefault:e}),t.accentColor||t[0]}function Ut(t){var e=0;this.next=function(){var i=t[e++];return e===t.length&&this.reset(),i},this.reset=function(){e=0}}function Wt(t,e){var i=e.useHighlight?Ht:0,r=new Ut([0,i,-i]),n=[];function o(){var e=r.next();n=e?te(t,e):t.slice(0)}return{getColor:function(e){var i=n[e%t.length];return e%t.length===t.length-1&&o(),i},generateColors:function(t){var i=[];t=t||e.count;for(var r=0;r<t;r++)i.push(this.getColor(r));return i},reset:function(){r.reset(),o()}}}function qt(t,e){return{getColor:function(e,i){var r=t.length,n=Ft((i-1)/r+1),o=t[e%r];return n>1?function(t,e,i){var r=new P(t).hsl,n=r.l/100,o=i-1/i,a=n-.5*o,s=n+.5*o,l=(i-1)/2,u=e-l;return a<Math.min(.5,.9*n)&&(a=Math.min(.5,.9*n)),s>Math.max(.8,n+.15*(1-n))&&(s=Math.max(.8,n+.15*(1-n))),u<0?n-=(a-n)*u/l:n+=u/l*(s-n),r.l=100*n,P.prototype.fromHSL(r).toHex()}(o,Ft(e/r),n):o},generateColors:function(t){var i=[];t=t||e.count;for(var r=0;r<t;r++)i.push(this.getColor(r,t));return i},reset:function(){}}}function Jt(t,e){var i=t.length,r=[];function n(t,e,i,r){var n,o,a=Math.floor(t/e),s=t-e*a,l=i;while(l<i+t)o=a,s>0&&(o+=1,s--),n=o>2?Math.floor(o/2):0,r.push(l+n),l+=o;return r.sort((function(t,e){return t-e}))}function o(t,e,i){e=(i+e)%i;for(var r=0,n=e;n<2*i;n+=1){var o=(i+n)%i;if(t[o])return[t[o],r];r++}}function a(r){if(r<=i)return t;var a=[],s=i-2,l=0,u=[];u=e.keepLastColorInEnd?n(r-2,s,1,[0,r-1]):n(r-1,i-1,1,[0]);for(var h=0;h<r;h++)u.indexOf(h)>-1&&(a[h]=t[l++]);return a=function(t,e){for(var i=0;i<e;i++){var r=t[i];if(!r){var n=t[i-1];if(!n)continue;var a=o(t,i,e),s=new P(a[0]);n=new P(n);for(var l=0;l<a[1];l++,i++)t[i]=n.blend(s,(l+1)/(a[1]+1)).toHex()}}return t}(a,r),a}return{getColor:function(t,n){return n=n||e.count||i,r.length!==n&&(r=a(n)),r[t%n]},generateColors:function(t,r){if(t=t||e.count||i,r&&t>i){for(var n=a(i),o=0;o<t-i;o++)n.push(n[o]);return n}return i>0?a(t).slice(0,t):[]},reset:function(){}}}function Qt(t,e,i){var r={dispose(){this._extensionStrategy=null},getNextColor(t){return this._extensionStrategy.getColor(this._currentColor++,t)},generateColors(t,e){return this._extensionStrategy.generateColors(t,(e||{}).repeat)},reset(){return this._currentColor=0,this._extensionStrategy.reset(),this}};e=e||{};var n=(e.extensionMode||"").toLowerCase(),o=jt(t,{type:e.type||"simpleSet",themeDefault:i});return r._extensionStrategy="alternate"===n?Wt(o,e):"extrapolate"===n?qt(o,e):Jt(o,e),r.reset(),r}function te(t,e){var i,r=[],n=t.length;for(i=0;i<n;++i)r.push(ee(t[i],e));return r}function ee(t,e){var i=new P(t).alter(e),r=ie(i);return(r>200||r<55)&&(i=new P(t).alter(-e/2)),i.toHex()}function ie(t){return.3*t.r+.59*t.g+.11*t.b}function re(t,e,i){var r=e>0?ne(jt(t,{type:"gradientSet",themeDefault:i}),e):[];return{getColor:function(t){return r[t]||null}}}function ne(t,e){var i,r=e-1,n=t.length-1,o=[],a=[];function s(t){var e=n*t,i=Ft(e),r=Nt(e);a.push(o[i].blend(o[r],e-i).toHex())}for(i=0;i<=n;++i)o.push(new P(t[i]));if(r>0)for(i=0;i<=r;++i)s(i/r);else s(.5);return a}function oe(t,e){var i=jt(t,{type:"gradientSet",themeDefault:e}),r=new P(i[0]),n=new P(i[1]);return{getColor:function(t){return 0<=t&&t<=1?r.blend(n,t).toHex():null}}}var ae=i(53970),se="#ffffff",le="#000000",ue="#d3d3d3",he="#303030",ce="#2b2b2b",de="#ff0000",pe="#232323",ge="#767676",fe="none",me="solid",_e="top",ve="right",be="bottom",ye="left",xe="center",we="inside",Ce="outside",Se=[{theme:{name:"generic.light",isDefault:!0,font:{color:ge,family:"'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana, sans-serif",weight:400,size:12,cursor:"default"},redrawOnResize:!0,backgroundColor:se,primaryTitleColor:pe,secondaryTitleColor:ge,gridColor:ue,axisColor:ge,title:{backgroundColor:se,font:{size:28,family:"'Segoe UI Light', 'Helvetica Neue Light', 'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana, sans-serif",weight:200},subtitle:{font:{size:16},offset:0,wordWrap:"normal",textOverflow:"ellipsis"},wordWrap:"normal",textOverflow:"ellipsis"},loadingIndicator:{text:"Loading..."},export:{backgroundColor:se,margin:10,font:{size:14,color:pe,weight:400},button:{margin:{top:8,left:10,right:10,bottom:8},default:{color:"#333",borderColor:"#ddd",backgroundColor:se},hover:{color:"#333",borderColor:"#bebebe",backgroundColor:"#e6e6e6"},focus:{color:le,borderColor:"#9d9d9d",backgroundColor:"#e6e6e6"},active:{color:"#333",borderColor:"#9d9d9d",backgroundColor:"#d4d4d4"}},shadowColor:ue},tooltip:{enabled:!1,border:{width:1,color:ue,dashStyle:me,visible:!0},font:{color:pe},color:se,arrowLength:10,paddingLeftRight:18,paddingTopBottom:15,textAlignment:"center",shared:!1,location:xe,shadow:{opacity:.4,offsetX:0,offsetY:4,blur:2,color:le},interactive:!1},legend:{hoverMode:"includePoints",verticalAlignment:_e,horizontalAlignment:ve,position:Ce,visible:!0,margin:10,markerSize:12,border:{visible:!1,width:1,cornerRadius:0,dashStyle:me},paddingLeftRight:20,paddingTopBottom:15,columnCount:0,rowCount:0,columnItemSpacing:20,rowItemSpacing:8,title:{backgroundColor:se,margin:{left:0,bottom:9,right:0,top:0},font:{size:18,weight:200},subtitle:{offset:0,font:{size:14},wordWrap:"none",textOverflow:"ellipsis"},wordWrap:"none",textOverflow:"ellipsis"}},"chart:common":{animation:{enabled:!0,duration:1e3,easing:"easeOutCubic",maxPointCountSupported:300},commonSeriesSettings:{border:{visible:!1,width:2},showInLegend:!0,visible:!0,hoverMode:"nearestPoint",selectionMode:"includePoints",hoverStyle:{hatching:{direction:ve,width:2,step:6,opacity:.75},border:{visible:!1,width:3}},selectionStyle:{hatching:{direction:ve,width:2,step:6,opacity:.5},border:{visible:!1,width:3}},valueErrorBar:{displayMode:"auto",value:1,color:le,lineWidth:2,edgeLength:8},label:{visible:!1,alignment:xe,rotationAngle:0,horizontalOffset:0,verticalOffset:0,radialOffset:0,showForZeroValues:!0,customizeText:void 0,maxLabelCount:void 0,position:Ce,font:{color:se},border:{visible:!1,width:1,color:ue,dashStyle:me},connector:{visible:!1,width:1}}},seriesSelectionMode:"single",pointSelectionMode:"single",equalRowHeight:!0,dataPrepareSettings:{checkTypeForAllData:!1,convertToAxisDataType:!0,sortingMethod:!0},title:{margin:10},adaptiveLayout:{width:80,height:80,keepLabels:!0},_rtl:{legend:{itemTextPosition:ye}},resolveLabelOverlapping:fe},"chart:common:axis":{visible:!0,valueMarginsEnabled:!0,placeholderSize:null,logarithmBase:10,discreteAxisDivisionMode:"betweenLabels",aggregatedPointsPosition:"betweenTicks",width:1,label:{visible:!0},grid:{visible:!1,width:1},minorGrid:{visible:!1,width:1,opacity:.3},tick:{visible:!0,width:1,length:7,shift:3},minorTick:{visible:!1,width:1,opacity:.3,length:7,shift:3},stripStyle:{paddingLeftRight:10,paddingTopBottom:5},constantLineStyle:{width:1,color:le,dashStyle:me,label:{visible:!0,position:we}},marker:{label:{}}},"chart:common:annotation":{font:{color:"#333333"},tooltipEnabled:!0,border:{width:1,color:"#dddddd",dashStyle:me,visible:!0},color:se,opacity:.9,arrowLength:14,arrowWidth:14,paddingLeftRight:10,paddingTopBottom:10,shadow:{opacity:.15,offsetX:0,offsetY:1,blur:4,color:le},image:{width:30,height:30},wordWrap:"normal",textOverflow:"ellipsis",allowDragging:!1},chart:{commonSeriesSettings:{type:"line",stack:"default",aggregation:{enabled:void 0},point:{visible:!0,symbol:"circle",size:12,border:{visible:!1,width:1},hoverMode:"onlyPoint",selectionMode:"onlyPoint",hoverStyle:{border:{visible:!0,width:4}},selectionStyle:{border:{visible:!0,width:4}}},scatter:{},line:{width:2,dashStyle:me,hoverStyle:{width:3,hatching:{direction:fe}},selectionStyle:{width:3}},stackedline:{width:2,dashStyle:me,hoverStyle:{width:3,hatching:{direction:fe}},selectionStyle:{width:3}},stackedspline:{width:2,dashStyle:me,hoverStyle:{width:3,hatching:{direction:fe}},selectionStyle:{width:3}},fullstackedline:{width:2,dashStyle:me,hoverStyle:{width:3,hatching:{direction:fe}},selectionStyle:{width:3}},fullstackedspline:{width:2,dashStyle:me,hoverStyle:{width:3,hatching:{direction:fe}},selectionStyle:{width:3}},stepline:{width:2,dashStyle:me,hoverStyle:{width:3,hatching:{direction:fe}},selectionStyle:{width:3}},area:{point:{visible:!1},opacity:.5},stackedarea:{point:{visible:!1},opacity:.5},fullstackedarea:{point:{visible:!1},opacity:.5},fullstackedsplinearea:{point:{visible:!1},opacity:.5},steparea:{border:{visible:!0,width:2},point:{visible:!1},hoverStyle:{border:{visible:!0,width:3}},selectionStyle:{border:{visible:!0,width:3}},opacity:.5},spline:{width:2,hoverStyle:{width:3,hatching:{direction:fe}},selectionStyle:{width:3}},splinearea:{point:{visible:!1},opacity:.5},stackedsplinearea:{point:{visible:!1},opacity:.5},bar:{cornerRadius:0,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}}},stackedbar:{cornerRadius:0,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}},label:{position:we}},fullstackedbar:{cornerRadius:0,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}},label:{position:we}},rangebar:{cornerRadius:0,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}}},rangearea:{point:{visible:!1},opacity:.5},rangesplinearea:{point:{visible:!1},opacity:.5},bubble:{opacity:.5,point:{hoverStyle:{border:{visible:!1}},selectionStyle:{border:{visible:!1}}}},candlestick:{width:1,reduction:{color:de},hoverStyle:{width:3,hatching:{direction:fe}},selectionStyle:{width:3},point:{border:{visible:!0}}},stock:{width:1,reduction:{color:de},hoverStyle:{width:3,hatching:{direction:fe}},selectionStyle:{width:3},point:{border:{visible:!0}}}},crosshair:{enabled:!1,color:"#f05b41",width:1,dashStyle:me,label:{visible:!1,font:{color:se,size:12}},verticalLine:{visible:!0},horizontalLine:{visible:!0}},commonAxisSettings:{multipleAxesSpacing:5,forceUserTickInterval:!1,breakStyle:{width:5,color:"#ababab",line:"waved"},label:{displayMode:"standard",overlappingBehavior:"hide",indentFromAxis:10,wordWrap:"normal",textOverflow:"none"},title:{font:{size:16},margin:6,alignment:xe},constantLineStyle:{paddingLeftRight:10,paddingTopBottom:10}},horizontalAxis:{position:be,axisDivisionFactor:70,label:{rotationAngle:90,staggeringSpacing:5,alignment:xe},stripStyle:{label:{horizontalAlignment:xe,verticalAlignment:_e}},constantLineStyle:{label:{horizontalAlignment:ve,verticalAlignment:_e}},constantLines:[]},verticalAxis:{position:ye,axisDivisionFactor:40,label:{alignment:ve},stripStyle:{label:{horizontalAlignment:ye,verticalAlignment:xe}},constantLineStyle:{label:{horizontalAlignment:ye,verticalAlignment:_e}},constantLines:[]},argumentAxis:{endOnTick:!1,workWeek:[1,2,3,4,5]},valueAxis:{grid:{visible:!0},autoBreaksEnabled:!1,maxAutoBreakCount:4},commonPaneSettings:{backgroundColor:fe,border:{color:ue,width:1,visible:!1,top:!0,bottom:!0,left:!0,right:!0,dashStyle:me}},scrollBar:{visible:!1,offset:5,color:"gray",width:10},adjustOnZoom:!0,autoHidePointMarkers:!0,rotated:!1,synchronizeMultiAxes:!0,stickyHovering:!0,barGroupPadding:.3,minBubbleSize:12,maxBubbleSize:.2,zoomAndPan:{dragBoxStyle:{color:"#2a2a2a",opacity:.2},panKey:"shift",allowMouseWheel:!0,allowTouchGestures:!0}},pie:{innerRadius:.5,minDiameter:.5,type:"pie",dataPrepareSettings:{_skipArgumentSorting:!0},commonSeriesSettings:{pie:{border:{visible:!1,width:2,color:se},hoverStyle:{hatching:{direction:ve,width:4,step:10,opacity:.75},border:{visible:!1,width:2}},selectionStyle:{hatching:{direction:ve,width:4,step:10,opacity:.5},border:{visible:!1,width:2}}},doughnut:{border:{visible:!1,width:2,color:se},hoverStyle:{hatching:{direction:ve,width:4,step:10,opacity:.75},border:{visible:!1,width:2}},selectionStyle:{hatching:{direction:ve,width:4,step:10,opacity:.5},border:{visible:!1,width:2}}},donut:{border:{visible:!1,width:2,color:se},hoverStyle:{hatching:{direction:ve,width:4,step:10,opacity:.75},border:{visible:!1,width:2}},selectionStyle:{hatching:{direction:ve,width:4,step:10,opacity:.5},border:{visible:!1,width:2}}},label:{textOverflow:"ellipsis",wordWrap:"normal"}},legend:{hoverMode:"allArgumentPoints",backgroundColor:fe},adaptiveLayout:{keepLabels:!1}},gauge:{scale:{tick:{visible:!0,length:5,width:2,opacity:1},minorTick:{visible:!1,length:3,width:1,opacity:1},label:{visible:!0,alignment:xe,hideFirstOrLast:"last",overlappingBehavior:"hide"},position:_e,endOnTick:!1},rangeContainer:{offset:0,width:5,backgroundColor:"#808080"},valueIndicators:{_default:{color:"#c2c2c2"},rangebar:{space:2,size:10,color:"#cbc5cf",backgroundColor:fe,text:{indent:0,font:{size:14,color:null}}},twocolorneedle:{secondColor:"#e18e92"},trianglemarker:{space:2,length:14,width:13,color:"#8798a5"},textcloud:{arrowLength:5,horizontalOffset:6,verticalOffset:3,color:"#679ec5",text:{font:{color:se,size:18}}}},indicator:{hasPositiveMeaning:!0,layout:{horizontalAlignment:xe,verticalAlignment:be},text:{font:{size:18}}},_circular:{scale:{scaleDivisionFactor:17,orientation:Ce,label:{indentFromTick:10}},rangeContainer:{orientation:Ce},valueIndicatorType:"rectangleneedle",subvalueIndicatorType:"trianglemarker",valueIndicators:{_type:"rectangleneedle",_default:{offset:20,indentFromCenter:0,width:2,spindleSize:14,spindleGapSize:10,beginAdaptingAtRadius:50},triangleneedle:{width:4},twocolorneedle:{space:2,secondFraction:.4},rangebar:{offset:30},trianglemarker:{offset:6},textcloud:{offset:-6}}},_linear:{scale:{scaleDivisionFactor:25,horizontalOrientation:ve,verticalOrientation:be,label:{indentFromTick:-10}},rangeContainer:{horizontalOrientation:ve,verticalOrientation:be},valueIndicatorType:"rangebar",subvalueIndicatorType:"trianglemarker",valueIndicators:{_type:"rectangle",_default:{offset:2.5,length:15,width:15},rectangle:{width:10},rangebar:{offset:10,horizontalOrientation:ve,verticalOrientation:be},trianglemarker:{offset:10,horizontalOrientation:ye,verticalOrientation:_e},textcloud:{offset:-1,horizontalOrientation:ye,verticalOrientation:_e}}}},barGauge:{backgroundColor:"#e0e0e0",relativeInnerRadius:.3,barSpacing:4,resolveLabelOverlapping:"hide",label:{indent:20,connectorWidth:2,font:{size:16}},legend:{visible:!1},indicator:{hasPositiveMeaning:!0,layout:{horizontalAlignment:xe,verticalAlignment:be},text:{font:{size:18}}}},rangeSelector:{scale:{valueMarginsEnabled:!0,width:1,color:le,opacity:.1,showCustomBoundaryTicks:!0,label:{overlappingBehavior:"hide",alignment:xe,visible:!0,topIndent:7,font:{size:11}},tick:{width:1,color:le,opacity:.17,visible:!0,length:12},minorTick:{width:1,color:le,opacity:.05,visible:!0,length:12},marker:{width:1,color:"#000000",opacity:.1,visible:!0,separatorHeight:33,topIndent:10,textLeftIndent:7,textTopIndent:11,label:{}},logarithmBase:10,workWeek:[1,2,3,4,5],breakStyle:{width:5,color:"#ababab",line:"waved"},endOnTick:!1},selectedRangeColor:"#606060",sliderMarker:{visible:!0,paddingTopBottom:2,paddingLeftRight:4,color:"#606060",invalidRangeColor:de,font:{color:se,size:11}},sliderHandle:{width:1,color:le,opacity:.2},shutter:{opacity:.75},background:{color:"#c0bae1",visible:!0,image:{location:"full"}},behavior:{snapToTicks:!0,animationEnabled:!0,moveSelectedRangeByClick:!0,manualRangeSelectionEnabled:!0,allowSlidersSwap:!0,callValueChanged:"onMovingComplete"},redrawOnResize:!0,chart:{barGroupPadding:.3,minBubbleSize:12,maxBubbleSize:.2,topIndent:.1,bottomIndent:0,valueAxis:{inverted:!1,logarithmBase:10},commonSeriesSettings:{type:"area",aggregation:{enabled:void 0},point:{visible:!1},scatter:{point:{visible:!0}}}}},map:{title:{margin:10},background:{borderWidth:1,borderColor:"#cacaca"},layer:{label:{enabled:!1,stroke:se,"stroke-width":1,"stroke-opacity":.7,font:{color:ce,size:12}}},"layer:area":{borderWidth:1,borderColor:se,color:"#d2d2d2",hoveredBorderColor:he,selectedBorderWidth:2,selectedBorderColor:he,label:{"stroke-width":2,font:{size:16}}},"layer:line":{borderWidth:2,color:"#ba8365",hoveredColor:"#a94813",selectedBorderWidth:3,selectedColor:"#e55100",label:{"stroke-width":2,font:{size:16}}},"layer:marker":{label:{enabled:!0,"stroke-width":1,font:{size:12}}},"layer:marker:dot":{borderWidth:2,borderColor:se,size:8,selectedStep:2,backStep:18,backColor:se,backOpacity:.32,shadow:!0},"layer:marker:bubble":{minSize:20,maxSize:50,hoveredBorderWidth:1,hoveredBorderColor:he,selectedBorderWidth:2,selectedBorderColor:he},"layer:marker:pie":{size:50,hoveredBorderWidth:1,hoveredBorderColor:he,selectedBorderWidth:2,selectedBorderColor:he},"layer:marker:image":{size:20},legend:{verticalAlignment:be,horizontalAlignment:ve,position:we,backgroundOpacity:.65,border:{visible:!0},paddingLeftRight:16,paddingTopBottom:12},controlBar:{borderColor:"#5d5d5d",borderWidth:3,color:se,margin:20,opacity:.3},_rtl:{legend:{itemTextPosition:ye}}},treeMap:{tile:{border:{width:1,opacity:.2,color:"#000000"},color:"#5f8b95",hoverStyle:{hatching:{opacity:.75,step:6,width:2,direction:"right"},border:{}},selectionStyle:{hatching:{opacity:.5,step:6,width:2,direction:"right"},border:{opacity:1}},label:{visible:!0,paddingLeftRight:5,paddingTopBottom:4,font:{color:"#ffffff",weight:600},shadow:{opacity:.6,offsetX:0,offsetY:1,blur:2,color:"#000000"},wordWrap:"normal",textOverflow:"ellipsis"}},group:{padding:4,border:{width:1},color:"#eeeeee",hoverStyle:{hatching:{opacity:0,step:6,width:2,direction:"right"},border:{}},selectionStyle:{hatching:{opacity:0,step:6,width:2,direction:"right"},border:{}},label:{visible:!0,paddingLeftRight:5,paddingTopBottom:4,font:{color:ge,weight:600},textOverflow:"ellipsis"}},title:{subtitle:{}},tooltip:{},loadingIndicator:{}},sparkline:{lineColor:"#666666",lineWidth:2,areaOpacity:.2,minColor:"#e8c267",maxColor:"#e55253",barPositiveColor:"#a9a9a9",barNegativeColor:"#d7d7d7",winColor:"#a9a9a9",lossColor:"#d7d7d7",firstLastColor:"#666666",pointSymbol:"circle",pointColor:se,pointSize:4,type:"line",argumentField:"arg",valueField:"val",winlossThreshold:0,showFirstLast:!0,showMinMax:!1,tooltip:{enabled:!0}},bullet:{color:"#e8c267",targetColor:"#666666",targetWidth:4,showTarget:!0,showZeroLevel:!0,tooltip:{enabled:!0}},polar:{commonSeriesSettings:{type:"scatter",closed:!0,point:{visible:!0,symbol:"circle",size:12,border:{visible:!1,width:1},hoverMode:"onlyPoint",selectionMode:"onlyPoint",hoverStyle:{border:{visible:!0,width:4},size:12},selectionStyle:{border:{visible:!0,width:4},size:12}},scatter:{},line:{width:2,dashStyle:me,hoverStyle:{width:3,hatching:{direction:fe}},selectionStyle:{width:3}},area:{point:{visible:!1},opacity:.5},stackedline:{width:2},bar:{opacity:.8},stackedbar:{opacity:.8}},adaptiveLayout:{width:80,height:80,keepLabels:!0},barGroupPadding:.3,commonAxisSettings:{visible:!0,forceUserTickInterval:!1,label:{overlappingBehavior:"hide",indentFromAxis:5},grid:{visible:!0},minorGrid:{visible:!0},tick:{visible:!0},title:{font:{size:16},margin:10}},argumentAxis:{startAngle:0,firstPointOnStartAngle:!1,period:void 0},valueAxis:{endOnTick:!1,tick:{visible:!1}},horizontalAxis:{position:_e,axisDivisionFactor:50,label:{alignment:xe}},verticalAxis:{position:_e,axisDivisionFactor:30,label:{alignment:ve}}},funnel:{sortData:!0,valueField:"val",colorField:"color",argumentField:"arg",hoverEnabled:!0,selectionMode:"single",item:{border:{visible:!1,width:2,color:se},hoverStyle:{hatching:{opacity:.75,step:6,width:2,direction:ve},border:{}},selectionStyle:{hatching:{opacity:.5,step:6,width:2,direction:ve},border:{}}},title:{margin:10},adaptiveLayout:{width:80,height:80,keepLabels:!0},legend:{visible:!1},_rtl:{legend:{itemTextPosition:ye}},tooltip:{customizeTooltip:function(t){return{text:t.item.argument+" "+t.valueText}}},inverted:!1,algorithm:"dynamicSlope",neckWidth:0,neckHeight:0,resolveLabelOverlapping:"shift",label:{textOverflow:"ellipsis",wordWrap:"normal",visible:!0,horizontalAlignment:ve,horizontalOffset:0,verticalOffset:0,showForZeroValues:!1,customizeText:function(t){return t.item.argument+" "+t.valueText},position:"columns",font:{color:se},border:{visible:!1,width:1,color:ue,dashStyle:me},connector:{visible:!0,width:1,opacity:.5}}},sankey:{sourceField:"source",targetField:"target",weightField:"weight",hoverEnabled:!0,alignment:xe,adaptiveLayout:{width:80,height:80,keepLabels:!0},label:{visible:!0,horizontalOffset:8,verticalOffset:0,overlappingBehavior:"ellipsis",useNodeColors:!1,font:{color:le,weight:500},border:{visible:!1,width:2,color:se},customizeText:function(t){return t.title},shadow:{opacity:.2,offsetX:0,offsetY:1,blur:1,color:se}},title:{margin:10,font:{size:28,weight:200},subtitle:{font:{size:16}}},tooltip:{enabled:!0},node:{padding:30,width:8,opacity:1,border:{color:se,width:1,visible:!1},hoverStyle:{hatching:{opacity:.75,step:6,width:2,direction:ve},border:{}}},link:{color:"#888888",colorMode:"none",opacity:.3,border:{color:se,width:1,visible:!1},hoverStyle:{opacity:.5,hatching:{opacity:.75,step:6,width:2,direction:ve},border:{}}}}},baseThemeName:void 0},{theme:{name:"generic.light.compact"},baseThemeName:"generic.light"}],ke="#f05b41",Ae="#fff",Te="#333",Ee="#8899a8",Oe="#707070",Pe="#dee1e3",Ie=[{theme:{name:"generic.carmine",defaultPalette:"Carmine",backgroundColor:Ae,primaryTitleColor:Te,secondaryTitleColor:Ee,gridColor:Pe,axisColor:Oe,export:{backgroundColor:Ae,font:{color:Te},button:{default:{color:Te,borderColor:"#b1b7bd",backgroundColor:Ae},hover:{color:Te,borderColor:"#b1b7bd",backgroundColor:"#faf2f0"},focus:{color:Te,borderColor:"#6d7781",backgroundColor:"#faf2f0"},active:{color:Te,borderColor:"#6d7781",backgroundColor:"#f5e7e4"}}},legend:{font:{color:Oe}},tooltip:{color:Ae,border:{color:Pe},font:{color:Te}},"chart:common":{commonSeriesSettings:{label:{border:{color:Pe}}}},"chart:common:annotation":{font:{color:Te},border:{color:Pe},color:Ae},chart:{commonPaneSettings:{border:{color:Pe}},commonAxisSettings:{breakStyle:{color:"#c1c5c7"}}},rangeSelector:{scale:{breakStyle:{color:"#c1c5c7"},tick:{opacity:.12}},selectedRangeColor:ke,sliderMarker:{color:ke},sliderHandle:{color:ke,opacity:.5}},sparkline:{pointColor:Ae,minColor:"#f0ad4e",maxColor:"#f74d61"},treeMap:{group:{color:Pe,label:{font:{color:Ee}}}},bullet:{color:ke},gauge:{valueIndicators:{rangebar:{color:ke},textcloud:{color:ke}}}},baseThemeName:"generic.light"},{theme:{name:"generic.carmine.compact"},baseThemeName:"generic.carmine"}],Le="#ffffff",Be="#000000",Re="#2b2b2b",Ve="#b5b5b5",De="#303030",ze="#686868",Me="#c7c7c7",Fe="#8e8e8e",Ne="#b8b8b8",Ge="#494949",He=[{theme:{name:"generic.dark",font:{color:"#808080"},backgroundColor:"#2a2a2a",primaryTitleColor:"#dedede",secondaryTitleColor:"#a3a3a3",gridColor:"#555555",axisColor:"#a3a3a3",export:{backgroundColor:"#2a2a2a",font:{color:"#dbdbdb"},button:{default:{color:"#dedede",borderColor:"#4d4d4d",backgroundColor:"#2e2e2e"},hover:{color:"#dedede",borderColor:"#6c6c6c",backgroundColor:"#444"},focus:{color:"#dedede",borderColor:"#8d8d8d",backgroundColor:"#444444"},active:{color:"#dedede",borderColor:"#8d8d8d",backgroundColor:"#555555"}},shadowColor:"#292929"},tooltip:{color:Re,border:{color:Ge},font:{color:"#929292"}},"chart:common":{commonSeriesSettings:{label:{border:{color:Ge}},valueErrorBar:{color:Le}}},"chart:common:axis":{constantLineStyle:{color:Le}},"chart:common:annotation":{font:{color:"#929292"},border:{color:Ge},color:Re,shadow:{opacity:.008,offsetY:4,blur:8}},chart:{commonPaneSettings:{border:{color:Ge}},commonAxisSettings:{breakStyle:{color:"#818181"}},zoomAndPan:{dragBoxStyle:{color:Le}}},gauge:{rangeContainer:{backgroundColor:Ve},valueIndicators:{_default:{color:Ve},rangebar:{color:"#84788b"},twocolorneedle:{secondColor:"#ba544d"},trianglemarker:{color:"#b7918f"},textcloud:{color:"#ba544d"}}},barGauge:{backgroundColor:"#3c3c3c"},rangeSelector:{scale:{tick:{color:Le,opacity:.32},minorTick:{color:Le,opacity:.1},breakStyle:{color:"#818181"}},selectedRangeColor:Ve,sliderMarker:{color:Ve,font:{color:De}},sliderHandle:{color:Le,opacity:.2},shutter:{color:Re,opacity:.9}},map:{background:{borderColor:"#3f3f3f"},layer:{label:{stroke:Be,font:{color:Le}}},"layer:area":{borderColor:De,color:ze,hoveredBorderColor:Le,selectedBorderColor:Le},"layer:line":{color:"#c77244",hoveredColor:"#ff5d04",selectedColor:"#ff784f"},"layer:marker:bubble":{hoveredBorderColor:Le,selectedBorderColor:Le},"layer:marker:pie":{hoveredBorderColor:Le,selectedBorderColor:Le},legend:{border:{color:"#3f3f3f"},font:{color:Le}},controlBar:{borderColor:Me,color:De}},treeMap:{group:{color:"#4c4c4c",label:{font:{color:"#a3a3a3"}}}},sparkline:{lineColor:Me,firstLastColor:Me,barPositiveColor:Ne,barNegativeColor:Fe,winColor:Ne,lossColor:Fe,pointColor:De},bullet:{targetColor:Fe},funnel:{item:{border:{color:"#2a2a2a"}}},sankey:{label:{font:{color:Le},shadow:{opacity:0}},node:{border:{color:"#2a2a2a"}},link:{color:"#888888",border:{color:"#2a2a2a"},hoverStyle:{color:"#bbbbbb"}}}},baseThemeName:"generic.light"},{theme:{name:"generic.dark.compact"},baseThemeName:"generic.dark"}],Ze="#ffffff",$e="#000000",Xe="#cf00da",Ye="#f8ca00",je="#686868",Ke=[{theme:{name:"generic.contrast",defaultPalette:"Bright",font:{color:Ze},backgroundColor:$e,primaryTitleColor:Ze,secondaryTitleColor:Ze,gridColor:Ze,axisColor:Ze,export:{backgroundColor:$e,font:{color:Ze},button:{default:{color:Ze,borderColor:Ze,backgroundColor:$e},hover:{color:Ze,borderColor:Ze,backgroundColor:"#cf00d7"},focus:{color:Ze,borderColor:"#cf00d7",backgroundColor:$e},active:{color:$e,borderColor:Ze,backgroundColor:Ze}},borderColor:Ze,menuButtonColor:$e,activeBackgroundColor:Ze,activeColor:$e,selectedBorderColor:Xe,selectedColor:Xe,shadowColor:"none"},tooltip:{border:{color:Ze},font:{color:Ze},color:$e},"chart:common":{commonSeriesSettings:{valueErrorBar:{color:Ze},hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}},label:{font:{color:Ze},border:{color:Ze}}}},"chart:common:axis":{constantLineStyle:{color:Ze}},"chart:common:annotation":{font:{color:Ze},border:{color:Ze},color:$e},chart:{commonSeriesSettings:{},crosshair:{color:"#cf00d7"},commonPaneSettings:{backgroundColor:$e,border:{color:Ze}},scrollBar:{color:Ze},commonAxisSettings:{breakStyle:{color:"#cf00d7"}},zoomAndPan:{dragBoxStyle:{color:Ze,opacity:.7}}},pie:{commonSeriesSettings:{pie:{hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}}},doughnut:{hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}}},donut:{hoverStyle:{hatching:{opacity:.5}},selectionStyle:{hatching:{opacity:.35}}}}},gauge:{rangeContainer:{backgroundColor:Ze},valueIndicators:{_default:{color:Ze},rangebar:{color:Ze,backgroundColor:$e},twocolorneedle:{secondColor:Ze},trianglemarker:{color:Ze},textcloud:{color:Ze,text:{font:{color:$e}}}}},barGauge:{backgroundColor:"#3c3c3c"},rangeSelector:{scale:{tick:{color:Ze,opacity:.4},minorTick:{color:Ze,opacity:.12},breakStyle:{color:"#cf00d7"}},selectedRangeColor:Xe,sliderMarker:{color:Xe},sliderHandle:{color:Xe,opacity:1},shutter:{opacity:.75},background:{color:$e}},map:{background:{borderColor:Ze},layer:{label:{stroke:$e,font:{color:Ze}}},"layer:area":{borderColor:$e,color:je,hoveredBorderColor:Ze,selectedBorderColor:Ze,label:{font:{opacity:1}}},"layer:line":{color:"#267cff",hoveredColor:"#f613ff",selectedColor:Ze},"layer:marker:dot":{borderColor:$e,color:Ye,backColor:$e,backOpacity:.32},"layer:marker:bubble":{color:Ye,hoveredBorderColor:Ze,selectedBorderColor:Ze},"layer:marker:pie":{hoveredBorderColor:Ze,selectedBorderColor:Ze},controlBar:{borderColor:Ze,color:$e,opacity:.3}},treeMap:{tile:{color:"#70c92f"},group:{color:"#797979",label:{font:{color:Ze}}}},sparkline:{pointColor:$e},bullet:{},polar:{commonSeriesSettings:{}},funnel:{label:{connector:{opacity:1}}},sankey:{label:{font:{color:Ze},shadow:{opacity:0}},node:{border:{visible:!0,width:1,color:Ze}},link:{opacity:.5,border:{visible:!0,width:1,color:Ze},hoverStyle:{opacity:.9}}}},baseThemeName:"generic.light"},{theme:{name:"generic.contrast.compact"},baseThemeName:"generic.contrast"}],Ue="#3debd3",We="#465672",qe="#fff",Je="#919bac",Qe="#c7ccd4",ti="#596980",ei=[{theme:{name:"generic.darkmoon",defaultPalette:"Dark Moon",backgroundColor:We,primaryTitleColor:qe,secondaryTitleColor:Je,gridColor:ti,axisColor:Qe,export:{backgroundColor:We,font:{color:qe},button:{default:{color:qe,borderColor:"#7a889e",backgroundColor:We},hover:{color:qe,borderColor:"#9da8b8",backgroundColor:"#596e92"},focus:{color:qe,borderColor:"#c4cad4",backgroundColor:"#596e92"},active:{color:qe,borderColor:"#c4cad4",backgroundColor:"#6b80a4"}}},legend:{font:{color:Qe}},tooltip:{color:"#62789e",border:{color:ti},font:{color:qe}},"chart:common":{commonSeriesSettings:{label:{border:{color:ti}}}},"chart:common:annotation":{font:{color:qe},border:{color:ti},color:"#62789e"},chart:{commonPaneSettings:{border:{color:ti}},commonAxisSettings:{breakStyle:{color:"#73869e"}}},gauge:{valueIndicators:{rangebar:{color:Ue},textcloud:{color:Ue,text:{font:{color:We}}}}},barGauge:{backgroundColor:"#526280"},funnel:{item:{border:{color:We}}},sparkline:{pointColor:We,minColor:"#f0ad4e",maxColor:"#f9517e"},treeMap:{group:{color:ti,label:{font:{color:qe}}}},map:{background:{borderColor:ti},"layer:area":{color:"#97a3b6",borderColor:We}},rangeSelector:{shutter:{color:We},scale:{breakStyle:{color:"#73869e"},tick:{opacity:.2}},selectedRangeColor:Ue,sliderMarker:{color:Ue,font:{color:"#000"}},sliderHandle:{color:Ue,opacity:.5}},bullet:{color:Ue},sankey:{link:{border:{color:We}},node:{border:{color:We}}}},baseThemeName:"generic.dark"},{theme:{name:"generic.darkmoon.compact"},baseThemeName:"generic.darkmoon"}],ii="#9c63ff",ri="#17171f",ni="#f5f6f7",oi="#fff",ai="#b2b2b6",si="#343840",li=[{theme:{name:"generic.darkviolet",defaultPalette:"Dark Violet",backgroundColor:ri,primaryTitleColor:ni,secondaryTitleColor:oi,gridColor:si,axisColor:ai,export:{backgroundColor:ri,font:{color:ni},button:{default:{color:ni,borderColor:"#414152",backgroundColor:ri},hover:{color:ni,borderColor:"#5c5c74",backgroundColor:"#2d2d3c"},focus:{color:ni,borderColor:"#7c7c97",backgroundColor:"#2d2d3c"},active:{color:ni,borderColor:"#7c7c97",backgroundColor:"#3c3c51"}}},legend:{font:{color:ai}},tooltip:{color:ri,border:{color:"#414152"},font:{color:ni}},"chart:common":{commonSeriesSettings:{label:{border:{color:si}}}},"chart:common:annotation":{font:{color:ni},border:{color:"#414152"},color:ri},chart:{commonPaneSettings:{border:{color:si}},commonAxisSettings:{breakStyle:{color:"#575e6b"}}},funnel:{item:{border:{color:ri}}},sparkline:{pointColor:ri,minColor:"#f0ad4e",maxColor:"#d9534f"},treeMap:{group:{color:si,label:{font:{color:oi}}}},rangeSelector:{shutter:{color:ri},scale:{breakStyle:{color:"#575e6b"},tick:{opacity:.2}},selectedRangeColor:ii,sliderMarker:{color:ii,font:{color:"#fff"}},sliderHandle:{color:ii,opacity:.5}},bullet:{color:ii},gauge:{valueIndicators:{rangebar:{color:ii},textcloud:{color:ii}}},sankey:{link:{border:{color:ri}},node:{border:{color:ri}}}},baseThemeName:"generic.dark"},{theme:{name:"generic.darkviolet.compact"},baseThemeName:"generic.darkviolet"}],ui="#3cbab2",hi="#f5f5f5",ci="#28484f",di="#7eb2be",pi="#657c80",gi="#dedede",fi=[{theme:{name:"generic.greenmist",defaultPalette:"Green Mist",backgroundColor:hi,primaryTitleColor:ci,secondaryTitleColor:di,gridColor:gi,axisColor:pi,export:{backgroundColor:hi,font:{color:ci},button:{default:{color:ci,borderColor:"#a2b4b8",backgroundColor:hi},hover:{color:ci,borderColor:"#7f989e",backgroundColor:"rgba(222, 222, 222, 0.4)"},focus:{color:ci,borderColor:"#5f777c",backgroundColor:"rgba(222, 222, 222, 0.4)"},active:{color:ci,borderColor:"#5f777c",backgroundColor:"rgba(222, 222, 222, 0.8)"}}},legend:{font:{color:pi}},tooltip:{color:"#fff",border:{color:gi},font:{color:ci}},"chart:common":{commonSeriesSettings:{label:{border:{color:gi}}}},"chart:common:annotation":{color:"#fff",border:{color:gi},font:{color:ci}},chart:{commonPaneSettings:{border:{color:gi}},commonAxisSettings:{breakStyle:{color:"#c1c1c1"}}},funnel:{item:{border:{color:hi}}},sparkline:{pointColor:hi,minColor:"#ffc852",maxColor:"#f74a5e"},treeMap:{group:{color:gi,label:{font:{color:di}}}},rangeSelector:{shutter:{color:hi},scale:{breakStyle:{color:"#c1c1c1"},tick:{opacity:.12}},selectedRangeColor:ui,sliderMarker:{color:ui},sliderHandle:{color:ui,opacity:.5}},bullet:{color:ui},gauge:{valueIndicators:{rangebar:{color:ui},textcloud:{color:ui}}}},baseThemeName:"generic.light"},{theme:{name:"generic.greenmist.compact"},baseThemeName:"generic.greenmist"}],mi="#7ab8eb",_i="#fff",vi="#333",bi="#99a1a8",yi="#707070",xi="#e8eaeb",wi=[{theme:{name:"generic.softblue",defaultPalette:"Soft Blue",backgroundColor:_i,primaryTitleColor:vi,secondaryTitleColor:bi,gridColor:xi,axisColor:yi,export:{backgroundColor:_i,font:{color:vi},button:{default:{color:vi,borderColor:"#c9d0d4",backgroundColor:_i},hover:{color:vi,borderColor:"#a7b2b9",backgroundColor:"#e6e6e6"},focus:{color:vi,borderColor:"#82929b",backgroundColor:"#e6e6e6"},active:{color:vi,borderColor:"#82929b",backgroundColor:"#d4d4d4"}}},legend:{font:{color:yi}},tooltip:{color:_i,border:{color:xi},font:{color:vi}},"chart:common":{commonSeriesSettings:{label:{border:{color:xi}}}},"chart:common:annotation":{color:_i,border:{color:xi},font:{color:vi}},chart:{commonPaneSettings:{border:{color:xi}},commonAxisSettings:{breakStyle:{color:"#cfd2d3"}}},rangeSelector:{scale:{breakStyle:{color:"#cfd2d3"},tick:{opacity:.12}},selectedRangeColor:mi,sliderMarker:{color:mi},sliderHandle:{color:mi,opacity:.5}},sparkline:{pointColor:_i,minColor:"#f0ad4e",maxColor:"#d9534f"},treeMap:{group:{color:xi,label:{font:{color:bi}}}},bullet:{color:mi},gauge:{valueIndicators:{rangebar:{color:mi},textcloud:{color:mi}}}},baseThemeName:"generic.light"},{theme:{name:"generic.softblue.compact"},baseThemeName:"generic.softblue"}],Ci="'Roboto', 'RobotoFallback', 'Helvetica', 'Arial', sans-serif",Si="rgba(0,0,0,0.87)",ki="rgba(0,0,0,0.54)",Ai="rgba(255,255,255,0.87)",Ti="rgba(255,255,255,0.54)",Ei="#363640",Oi="#ffffff",Pi="#000000",Ii="#b5b5b5",Li="#686868",Bi="#c7c7c7",Ri="#8e8e8e",Vi="#b8b8b8",Di="#494949",zi="#818181",Mi=[{theme:{name:"material",defaultPalette:"Material",font:{family:Ci},title:{margin:{top:20,bottom:20,left:0,right:0},font:{size:20,family:Ci,weight:500},horizontalAlignment:"left",subtitle:{font:{size:14},horizontalAlignment:"left"}},tooltip:{shadow:{opacity:0},border:{visible:!1},paddingLeftRight:8,paddingTopBottom:6,arrowLength:0,location:"edge",color:"#616161",font:{color:Oi},cornerRadius:4},chart:{commonAxisSettings:{minorTick:{opacity:.5},label:{font:{size:11}}},commonAnnotationSettings:{font:{color:Oi},border:{color:"#616161"},color:"#616161",arrowLength:14,arrowWidth:0,shadow:{opacity:.08,offsetY:4,blur:8},cornerRadius:4}},pie:{title:{horizontalAlignment:"center",subtitle:{horizontalAlignment:"center"}}},polar:{commonAxisSettings:{minorTick:{opacity:.5}},title:{horizontalAlignment:"center",subtitle:{horizontalAlignment:"center"}}},funnel:{title:{horizontalAlignment:"center",subtitle:{horizontalAlignment:"center"}}},gauge:{title:{horizontalAlignment:"center",subtitle:{horizontalAlignment:"center"}}},barGauge:{title:{horizontalAlignment:"center",subtitle:{horizontalAlignment:"center"}}},rangeSelector:{sliderHandle:{opacity:.5}},treeMap:{group:{label:{font:{weight:500}}}}},baseThemeName:"generic.light"},{theme:{name:"material.light",gridColor:"#e0e0e0",axisColor:ki,primaryTitleColor:Si,legend:{font:{color:ki}},chart:{scrollBar:{color:"#bfbfbf",opacity:.7}},gauge:{rangeContainer:{backgroundColor:"rgba(0,0,0,0.2)"}},barGauge:{backgroundColor:"#efefef"}},baseThemeName:"material"},{theme:{name:"material.dark",gridColor:"#515159",backgroundColor:Ei,axisColor:Ti,font:{color:Ti},primaryTitleColor:Ai,secondaryTitleColor:Ai,tooltip:{color:"#000"},export:{backgroundColor:Ei,font:{color:"#dbdbdb"},button:{default:{color:"#dedede",borderColor:"#4d4d4d",backgroundColor:Ei},hover:{color:"#dedede",borderColor:"#6c6c6c",backgroundColor:"#3f3f4b"},focus:{color:"#dedede",borderColor:"#8d8d8d",backgroundColor:"#494956"},active:{color:"#dedede",borderColor:"#8d8d8d",backgroundColor:"#494956"}},shadowColor:"#292929"},"chart:common":{commonSeriesSettings:{label:{border:{color:Di}},valueErrorBar:{color:Oi}}},"chart:common:axis":{constantLineStyle:{color:Oi}},"chart:common:annotation":{border:{color:"#000"},color:"#000"},chart:{commonPaneSettings:{border:{color:Di}},commonAxisSettings:{breakStyle:{color:zi}},zoomAndPan:{dragBoxStyle:{color:Oi}}},gauge:{rangeContainer:{backgroundColor:Ii},valueIndicators:{_default:{color:Ii},rangebar:{color:"#84788b"},twocolorneedle:{secondColor:"#ba544d"},trianglemarker:{color:"#b7918f"},textcloud:{color:"#ba544d"}}},barGauge:{backgroundColor:"#3c3c3c"},rangeSelector:{scale:{tick:{color:Oi,opacity:.32},minorTick:{color:Oi,opacity:.1},breakStyle:{color:zi}},selectedRangeColor:Ii,sliderMarker:{color:Ii,font:{color:Ei}},sliderHandle:{color:Oi,opacity:.2},shutter:{color:Oi,opacity:.1}},map:{background:{borderColor:"#3f3f3f"},layer:{label:{stroke:Pi,font:{color:Oi}}},"layer:area":{borderColor:Ei,color:Li,hoveredBorderColor:Oi,selectedBorderColor:Oi},"layer:line":{color:"#c77244",hoveredColor:"#ff5d04",selectedColor:"#ff784f"},"layer:marker:bubble":{hoveredBorderColor:Oi,selectedBorderColor:Oi},"layer:marker:pie":{hoveredBorderColor:Oi,selectedBorderColor:Oi},legend:{border:{color:"#3f3f3f"},font:{color:Oi}},controlBar:{borderColor:Bi,color:Ei}},treeMap:{group:{color:"#4c4c4c",label:{font:{color:"#a3a3a3"}}}},sparkline:{lineColor:Bi,firstLastColor:Bi,barPositiveColor:Vi,barNegativeColor:Ri,winColor:Vi,lossColor:Ri,pointColor:Ei},bullet:{targetColor:Ri},funnel:{item:{border:{color:Ei}}},sankey:{label:{font:{color:Oi}}}},baseThemeName:"material"}];function Fi(t,e,i){return{theme:{name:"material."+t+"."+e,rangeSelector:{selectedRangeColor:i,sliderMarker:{color:i},sliderHandle:{color:i}},map:{"layer:marker:dot":{color:i},"layer:marker:bubble":{color:i},legend:{markerColor:i}},bullet:{color:i},gauge:{valueIndicators:{rangebar:{color:i},textcloud:{color:i}}}},baseThemeName:"material."+e}}var Ni={blue:"#03a9f4",lime:"#cddc39",orange:"#ff5722",purple:"#9c27b0",teal:"#009688"};for(var Gi in Ni)if(Object.prototype.hasOwnProperty.call(Ni,Gi)){var Hi=Ni[Gi];Mi.push(Fi(Gi,"light",Hi),Fi(Gi,"dark",Hi),{theme:{name:"material.".concat(Gi,".light.compact")},baseThemeName:"material.".concat(Gi,".light")},{theme:{name:"material.".concat(Gi,".dark.compact")},baseThemeName:"material.".concat(Gi,".dark")})}var Zi,$i=Mi,Xi={},Yi={},ji={},Ki=u.l,Ui=h.S6,Wi=null,qi=0,Ji={};function Qi(t){var e=tt(t);return Xi[e]||Xi[Yi[e]||ir()]}function tr(t,e){return Yi[t+"."+e]||ji[t+"."+e]||Yi[t]}function er(t,e,i){return tr(t+e,i)||tr(t,i)}function ir(t,e){if(!arguments.length)return Wi||tr((0,ae.Vk)())||Zi;var i=tt(e);return Wi=(t&&t.platform?er(tt(t.platform),t.version,i):tr(tt(t),i))||Wi,this}function rr(t,e){var i=t.indexOf(e);return i>0?{name:t.substring(0,i),scheme:t.substring(i+1)}:null}function nr(t,e){var i=rr(t,".")||{name:t},r=i.name,n=i.scheme;n?(Yi[r]=Yi[r]||e,Yi[r+"."+n]=e):Yi[r]=e}function or(t,e){var i=tt(t&&t.name);i&&(t.isDefault&&(Zi=i),nr(i,i),Xi[i]=Ki(!0,{},Qi(e),lr(t)))}function ar(t,e,i,r){var n=i?i[e]:r;void 0!==n&&void 0===t[e]&&(t[e]=n)}function sr(t,e,i,r){var n=i?i[e]:r;void 0!==n&&(t[e]=Ki(!0,{},n,t[e]))}function lr(t){return t=Ki(!0,{loadingIndicator:{font:{}},export:{font:{}},legend:{font:{},border:{}},title:{font:{}},tooltip:{font:{}},"chart:common":{},"chart:common:axis":{grid:{},minorGrid:{},tick:{},minorTick:{},title:{font:{}},label:{font:{}}},"chart:common:annotation":{font:{},border:{}},chart:{commonSeriesSettings:{candlestick:{}}},pie:{},polar:{},gauge:{scale:{tick:{},minorTick:{},label:{font:{}}}},barGauge:{},funnel:{},sankey:{},map:{background:{}},treeMap:{tile:{selectionStyle:{border:{}}},group:{border:{},selectionStyle:{border:{}},label:{font:{}}}},rangeSelector:{scale:{tick:{},minorTick:{},label:{font:{}}},chart:{}},sparkline:{},bullet:{}},t),ar(t.loadingIndicator,"backgroundColor",t),ar(t.chart.commonSeriesSettings.candlestick,"innerColor",null,t.backgroundColor),ar(t.map.background,"color",null,t.backgroundColor),ar(t.title.font,"color",null,t.primaryTitleColor),sr(t.title,"subtitle",null,t.title),ar(t.legend.font,"color",null,t.secondaryTitleColor),ar(t.legend.border,"color",null,t.gridColor),ur(t),Ui(["chart","pie","polar","gauge","barGauge","map","treeMap","funnel","rangeSelector","sparkline","bullet","sankey"],(function(e,i){ar(t[i],"redrawOnResize",t),ar(t[i],"containerBackgroundColor",null,t.backgroundColor),sr(t[i],"tooltip",t),sr(t[i],"export",t)})),Ui(["chart","pie","polar","gauge","barGauge","map","treeMap","funnel","rangeSelector","sankey"],(function(e,i){sr(t[i],"loadingIndicator",t),sr(t[i],"legend",t),sr(t[i],"title",t)})),Ui(["chart","pie","polar"],(function(e,i){sr(t,i,null,t["chart:common"])})),Ui(["chart","polar"],(function(e,i){t[i]=t[i]||{},sr(t[i],"commonAxisSettings",null,t["chart:common:axis"])})),Ui(["chart","polar","map","pie"],(function(e,i){t[i]=t[i]||{},sr(t[i],"commonAnnotationSettings",null,t["chart:common:annotation"])})),sr(t.rangeSelector.chart,"commonSeriesSettings",t.chart),sr(t.rangeSelector.chart,"dataPrepareSettings",t.chart),ar(t.treeMap.group.border,"color",null,t.gridColor),ar(t.treeMap.tile.selectionStyle.border,"color",null,t.primaryTitleColor),ar(t.treeMap.group.selectionStyle.border,"color",null,t.primaryTitleColor),ar(t.map.legend,"backgroundColor",t),hr(t),t}function ur(t){var e=t["chart:common:axis"];Ui([e.grid,e.minorGrid],(function(e,i){ar(i,"color",null,t.gridColor)})),Ui([e,e.tick,e.minorTick,e.label.font],(function(e,i){ar(i,"color",null,t.axisColor)})),ar(e.title.font,"color",null,t.secondaryTitleColor),ar(t.gauge.scale.label.font,"color",null,t.axisColor),ar(t.gauge.scale.tick,"color",null,t.backgroundColor),ar(t.gauge.scale.minorTick,"color",null,t.backgroundColor),ar(t.rangeSelector.scale.label.font,"color",null,t.axisColor)}function hr(t){var e=t.map;Ui(["area","line","marker"],(function(t,i){sr(e,"layer:"+i,null,e.layer)})),Ui(["dot","bubble","pie","image"],(function(t,i){sr(e,"layer:marker:"+i,null,e["layer:marker"])}))}function cr(t){var e=++qi;t._cache=e,Ji[e]=t}function dr(t){delete Ji[t._cache]}(0,l.Qr)(Xi)&&(0,l.Qr)(Yi)&&!Zi&&[].concat(Se,Ie,He,Ke,ei,li,fi,wi,$i).forEach((t=>{or(t.theme,t.baseThemeName)}));var pr=Qi,gr=cr,fr=dr,mr=u.l,_r=h.S6;function vr(t,e){var i=t;return e&&_r(e.split("."),(function(t,e){return i=i[e]})),i}var br=Mt.Z.inherit({ctor:function(t){this._themeSection=t.themeSection,this._fontFields=t.fontFields||[],gr(this)},dispose:function(){return fr(this),this._callback=this._theme=this._font=null,this},setCallback:function(t){return this._callback=t,this},setTheme:function(t,e){return this._current=t,this._rtl=e,this.refresh()},refresh:function(){var t=this._current||{},e=pr(t.name||t);return this._themeName=e.name,this._defaultPalette=e.defaultPalette,this._font=mr({},e.font,t.font),this._themeSection&&_r(this._themeSection.split("."),(function(t,i){e=mr(!0,{},e[i])})),this._theme=mr(!0,{},e,(0,l.HD)(t)?{}:t),this._initializeTheme(),ot(this._rtl,this._theme.rtlEnabled)&&mr(!0,this._theme,this._theme._rtl),this._callback(),this},theme:function(t){return vr(this._theme,t)},themeName:function(){return this._themeName},createPalette:function(t,e){return Qt(t,e,this._defaultPalette)},createDiscretePalette:function(t,e){return re(t,e,this._defaultPalette)},createGradientPalette:function(t){return oe(t,this._defaultPalette)},getAccentColor:function(t){return Kt(t,this._defaultPalette)},_initializeTheme:function(){var t=this;_r(t._fontFields||[],(function(e,i){t._initializeFont(vr(t._theme,i))}))},_initializeFont:function(t){mr(t,this._font,mr({},t))}}),yr=i(19728),xr=!(0,Dt.Ym)();function wr(){this.reset()}function Cr(t,e){return t!==e?(0,u.l)({},t,e):(0,u.l)({},t)}function Sr(t,e){return t!==e?t.concat(e):t.slice()}function kr(t){t._totalChangesOrder=t._optionChangesOrder.concat(t._layoutChangesOrder,t._customChangesOrder)}function Ar(t){var e=this.prototype,i=t.code;e["_change_"+i]=t.handler,t.isThemeDependent&&e._themeDependentChanges.push(i),t.option&&(e._optionChangesMap[t.option]=i),(t.isOptionChange?e._optionChangesOrder:e._customChangesOrder).push(i),kr(e)}function Tr(){var t=function t(){var e,i,r=t._chain.length;for(e=0;e<r;++e)i=t._chain[e].apply(this,arguments);return i};return t._chain=[],t.add=function(e){t._chain.push(e)},t.copy=function(e){t._chain=e._chain.slice()},t}function Er(t,e,i){var r=t[e];r?r.add?(!1===Object.prototype.hasOwnProperty.call(t,e)&&(r=Tr(),r.copy(t[e])),r.add(i)):(r=Tr(),r.add(t[e]),r.add(i)):r=i,t[e]=r}function Or(t){var e=this.prototype;e._plugins.push(t),t.fontFields&&e._fontFields.push.apply(e._fontFields,t.fontFields),t.members&&(0,u.l)(this.prototype,t.members),t.customize&&t.customize(this),t.extenders&&Object.keys(t.extenders).forEach((function(i){var r=t.extenders[i];Er(e,i,r)}),this)}wr.prototype={constructor:wr,add:function(t){var e,i=t.length,r=this._flags;for(e=0;e<i;++e)r[t[e]]=1},has:function(t){return this._flags[t]>0},count:function(){return Object.keys(this._flags).length},reset:function(){this._flags={}}};var Pr=xr?function(t){var e=t.inherit;t.inherit=function(){var t=e.apply(this,arguments),i=t.prototype;return["_plugins","_eventsMap","_initialChanges","_themeDependentChanges","_optionChangesMap","_optionChangesOrder","_layoutChangesOrder","_customChangesOrder","_totalChangesOrder"].forEach((function(t){i[t]={}})),t.addPlugin=s.ZT,t},t.addChange=s.ZT,t.addPlugin=s.ZT}:function(t){var e=t.inherit;t.inherit=function(){var t=this.prototype,i=t._plugins,r=t._fontFields,n=t._eventsMap,o=t._initialChanges,a=t._themeDependentChanges,s=t._optionChangesMap,l=t._partialOptionChangesMap,u=t._partialOptionChangesPath,h=t._optionChangesOrder,c=t._layoutChangesOrder,d=t._customChangesOrder,p=e.apply(this,arguments);return t=p.prototype,t._plugins=Sr(i,t._plugins),t._fontFields=Sr(r,t._fontFields),t._eventsMap=Cr(n,t._eventsMap),t._initialChanges=Sr(o,t._initialChanges),t._themeDependentChanges=Sr(a,t._themeDependentChanges),t._optionChangesMap=Cr(s,t._optionChangesMap),t._partialOptionChangesMap=Cr(l,t._partialOptionChangesMap),t._partialOptionChangesPath=Cr(u,t._partialOptionChangesPath),t._optionChangesOrder=Sr(h,t._optionChangesOrder),t._layoutChangesOrder=Sr(c,t._layoutChangesOrder),t._customChangesOrder=Sr(d,t._customChangesOrder),kr(t),p.addPlugin=Or,p},t.prototype._plugins=[],t.prototype._fontFields=[],t.addChange=Ar,t.addPlugin=Or};function Ir(){return new wr}var Lr=i(2695),Br=i(33734),Rr=(0,Lr.Z)(Br.Z.ERROR_MESSAGES,{E2001:"Invalid data source",E2002:"Axis type and data type are incompatible",E2003:'The "{0}" data source field contains data of unsupported type',E2004:'The "{0}" data source field is inconsistent',E2005:'The value field "{0}" is absent in the data source or all its values are negative',E2006:"A cycle is detected in provided data",E2007:'The value field "{0}" is absent in the data source',E2008:'The value field "{0}" must be a string',E2009:'The value field "{0}" must be a positive numeric value',E2101:"Unknown series type: {0}",E2102:"Ambiguity occurred between two value axes with the same name",E2103:'The "{0}" option is given an invalid value. Assign a function instead',E2104:"Invalid logarithm base",E2105:'Invalid value of a "{0}"',E2202:"Invalid {0} scale value",E2203:"The range you are trying to set is invalid",W2002:"The {0} series cannot be drawn because the {1} data field is missing",W2003:"Tick interval is too small",W2101:'The "{0}" pane does not exist; the last pane is used by default',W2102:'A value axis with the "{0}" name was created automatically',W2103:"The chart title was hidden due to the container size",W2104:"The legend was hidden due to the container size",W2105:'The title of the "{0}" axis was hidden due to the container size',W2106:'The labels of the "{0}" axis were hidden due to the container size',W2107:"The export menu was hidden due to the container size",W2108:"The browser does not support exporting images to {0} format.",W2301:"Invalid value range"}),Vr=i(48714),Dr=(0,Dt.Jj)();function zr(t,e){var i=zt["default"].createElement("div"),r=t.cloneNode(!0);return e&&(0,Vt.Z)(r).css("backgroundColor",e),i.appendChild(r),i.innerHTML}function Mr(t){var e=!0;return-1===t.indexOf("xmlns:xlink")&&(t=t.replace("<svg",'<svg xmlns:xlink="http://www.w3.org/1999/xlink"')),t=t.replace(/xmlns="[\s\S]*?"/gi,(function(t){return e?(e=!1,t):""})),t.replace(/xmlns:NS1="[\s\S]*?"/gi,"").replace(/NS1:xmlns:xlink="([\s\S]*?)"/gi,'xmlns:xlink="$1"')}function Fr(t){return t.replace(/&quot;/gi,"&#34;").replace(/&amp;/gi,"&#38;").replace(/&apos;/gi,"&#39;").replace(/&lt;/gi,"&#60;").replace(/&gt;/gi,"&#62;").replace(/&nbsp;/gi,"&#160;").replace(/&shy;/gi,"&#173;")}var Nr="hidden-for-export";function Gr(t,e){return Mr(Fr(zr(t,e)))}function Hr(t){return zt["default"].isNode(t)?t:(new Dr.DOMParser).parseFromString(t,"image/svg+xml").childNodes[0]}var Zr=i(10760),$r=function(){},Xr={easeOutCubic:function(t,e,i){return 1===t?i:(1-Math.pow(1-t,3))*(i-e)+ +e},linear:function(t,e,i){return 1===t?i:t*(i-e)+ +e}},Yr={segments:function(t,e,i,r,n){var o,a,s,l,u=e.from,h=e.to,c=[];for(s=0;s<u.length;s++){if(o=u[s],a=[o[0]],o.length>1)for(l=1;l<o.length;l++)a.push(r(i,o[l],h[s][l]));c.push(a)}n.segments=e.end&&1===i?e.end:c,t.attr({segments:c})},arc:function(t,e,i,r){var n=e.from,o=e.to,a={};for(var s in n)a[s]=r(i,n[s],o[s]);t.attr(a)},transform:function(t,e,i,r,n){var o=e.from,a=e.to,s={};for(var l in o)s[l]=n[l]=r(i,o[l],a[l]);t.attr(s)},base:function(t,e,i,r,n,o){var a={};a[o]=n[o]=r(i,e.from,e.to),t.attr(a)},_:$r,complete:function(t,e){t.attr(e)}};function jr(t){var e,i=this._animateStep;for(e in this._progress=this._calcProgress(t),this.params){var r=i[e]||i.base;r(this.element,this.params[e],this._progress,this._easing,this._currentParams,e)}return this.options.step&&this.options.step(this._easing(this._progress,0,1),this._progress),1!==this._progress||this.stop()}function Kr(t){return t-this._startTime>=this.delay&&(this.tick=jr),!0}function Ur(t){return this._startTime=t,this.tick=this.delay?Kr:jr,!0}function Wr(t,e,i){this._progress=0,this.element=t,this.params=e,this.options=i,this.duration=i.partitionDuration?i.duration*i.partitionDuration:i.duration,this.delay=i.delay&&i.duration*i.delay||0,this._animateStep=i.animateStep||Yr,this._easing=Xr[i.easing]||Xr.easeOutCubic,this._currentParams={},this.tick=Ur}function qr(t){this._animationCount=0,this._timerId=null,this._animations={},this.element=t}Wr.prototype={_calcProgress:function(t){return Math.min(1,(t-this.delay-this._startTime)/this.duration)},stop:function(t){var e=this.options,i=this._animateStep;this.stop=this.tick=$r,i.complete&&i.complete(this.element,this._currentParams),e.complete&&!t&&e.complete()}},qr.prototype={_loop:function(){var t,e=this,i=e._animations,r=0,n=(new Date).getTime(),o=e._endAnimation;for(t in i)i[t].tick(n)||delete i[t],r++;if(0===r)return e.stop(),void(e._endAnimationTimer=o&&setTimeout((function(){0===e._animationCount&&(o(),e._endAnimation=null)})));e._timerId=Zr.U.call(null,(function(){e._loop()}),e.element)},addAnimation:function(t){var e=this;e._animations[e._animationCount++]=t,clearTimeout(e._endAnimationTimer),e._timerId||(clearTimeout(e._startDelay),e._startDelay=setTimeout((function(){e._timerId=1,e._loop()}),0))},animateElement:function(t,e,i){t&&e&&i&&(t.animation&&t.animation.stop(),this.addAnimation(t.animation=new Wr(t,e,i)))},onEndAnimation:function(t){this._animationCount?this._endAnimation=t:t()},dispose:function(){this.stop(),this.element=null},stop:function(){this._animations={},this._animationCount=0,(0,Zr.W)(this._timerId),clearTimeout(this._startDelay),clearTimeout(this._endAnimationTimer),this._timerId=null},lock:function(){var t,e,i,r=this._animations;for(t in r)e=r[t].options.unstoppable,i=i||e,e||(r[t].stop(!0),delete r[t]);!i&&this.stop()}};var Jr=(0,Dt.Jj)(),{max:Qr,min:tn,floor:en,round:rn,sin:nn,cos:on,abs:an,PI:sn}=Math,ln=sn/180,un=.5,hn=5,cn={"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,widows:!0,"z-index":!0,zoom:!0},dn="text",pn="stroke",gn="stroke-width",fn="stroke-opacity",mn="font-size",_n="font-style",vn="font-weight",bn="text-decoration",yn="textsAlignment",xn="none",wn=12,Cn="...",Sn=function(){return Object.create?function(t){return Object.create(t)}:function(t){var e=function(){};return e.prototype=t,new e}}(),kn={scaleX:1,scaleY:1,"pointer-events":null},An=(0,Vr.Z)((function(){var t=zt["default"].createElement("div");return t.style.left="-9999px",t.style.position="absolute",{backupContainer:t,backupCounter:0}}));function Tn(t){0===An().backupCounter&&zt["default"].getBody().appendChild(An().backupContainer),++An().backupCounter,t.append({element:An().backupContainer})}function En(t,e){t.append({element:e}),--An().backupCounter,0===An().backupCounter&&zt["default"].getBody().removeChild(An().backupContainer)}var On=function(){var t=1;return function(){return"DevExpress_"+t++}}();function Pn(t){return t&&"string"!==typeof t}function In(t){return zt["default"].createElementNS("http://www.w3.org/2000/svg",t)}function Ln(t,e){return null!==t?"url("+(e?Jr.location.href.split("#")[0]:"")+"#"+t+")":t}function Bn(t,e){var i;for(i in e)t[i]=e[i];return t}function Rn(t,e){return t=t.toString().split("e"),t=rn(+(t[0]+"e"+(t[1]?+t[1]+e:e))),t=t.toString().split("e"),+(t[0]+"e"+(t[1]?+t[1]-e:-e))}var Vn={full:xn,lefttop:"xMinYMin",leftcenter:"xMinYMid",leftbottom:"xMinYMax",centertop:"xMidYMin",center:"xMidYMid",centerbottom:"xMidYMax",righttop:"xMaxYMin",rightcenter:"xMaxYMid",rightbottom:"xMaxYMax"};function Dn(t,e){return e.hatching&&"none"!==tt(e.hatching.direction)?(e=Bn({},e),e.fill=t._hatching=t.renderer.lockHatching(e.fill,e.hatching,t._hatching),delete e.hatching):t._hatching&&(t.renderer.releaseHatching(t._hatching),t._hatching=null),e}function zn(t,e,i,r,n,o){var a,s=!0,l=Rn(o,3)-Rn(n,3);return l&&(an(l)%360===0&&(n=0,o=360,a=!0,o-=.01),n>360&&(n%=360),o>360&&(o%=360),n>o&&(n-=360),s=!1),n*=ln,o*=ln,[t,e,tn(r,i),Qr(r,i),on(n),nn(n),on(o),nn(o),a,en(an(o-n)/sn)%2?"1":"0",s]}var Mn=function(t,e,i,r,n,o,a,s,l,u){return["M",(t+r*n).toFixed(hn),(e-r*o).toFixed(hn),"A",r.toFixed(hn),r.toFixed(hn),0,u,0,(t+r*a).toFixed(hn),(e-r*s).toFixed(hn),l?"M":"L",(t+i*a).toFixed(5),(e-i*s).toFixed(hn),"A",i.toFixed(hn),i.toFixed(hn),0,u,1,(t+i*n).toFixed(hn),(e-i*o).toFixed(hn),"Z"].join(" ")};function Fn(t,e){var i=[["M",0,0]];switch(e){case"line":i=Nn(t);break;case"area":i=Nn(t,!0);break;case"bezier":i=Gn(t);break;case"bezierarea":i=Gn(t,!0)}return i}function Nn(t,e){return Hn(t,Zn,e)}function Gn(t,e){return Hn(t,$n,e)}function Hn(t,e,i){var r,n,o,a=[];if(null!==(r=t[0])&&void 0!==r&&r.length)for(n=0,o=t.length;n<o;++n)e(t[n],i,a);else e(t,i,a);return a}function Zn(t,e,i){var r=0,n=i.length,o=n,a=(t||[]).length;if(a){if(void 0!==t[0].x)for(;r<a;)i[o++]=["L",t[r].x,t[r++].y];else for(;r<a;)i[o++]=["L",t[r++],t[r++]];i[n][0]="M"}else i[o]=["M",0,0];return e&&i.push(["Z"]),i}function $n(t,e,i){var r,n=i.length,o=(t||[]).length;if(o)if(void 0!==t[0].x)for(i[n++]=["M",t[0].x,t[0].y],r=1;r<o;)i[n++]=["C",t[r].x,t[r++].y,t[r].x,t[r++].y,t[r].x,t[r++].y];else for(i[n++]=["M",t[0],t[1]],r=2;r<o;)i[n++]=["C",t[r++],t[r++],t[r++],t[r++],t[r++],t[r++]];else i[n]=["M",0,0];return e&&i.push(["Z"]),i}function Xn(t){var e,i,r,n,o=[],a=0,s=t.length;for(e=0;e<s;++e)for(i=t[e],r=0,n=i.length;r<n;++r)o[a++]=i[r];return o.join(" ")}function Yn(t,e,i){var r,n,o=t.length,a=e.length,s=-1!==i.indexOf("area")?Un:Kn;if(0===o)for(r=0;r<a;r++)t.push(e[r].slice(0));else o<a?s(t,e,i):o>a&&(n=e.slice(0),s(e,t,i));return n}function jn(t,e){var i=t[t.length-2],r=t[t.length-1];switch(e){case"line":case"area":t[0]="L";break;case"bezier":case"bezierarea":t[0]="C",t[1]=t[3]=t[5]=i,t[2]=t[4]=t[6]=r}}function Kn(t,e,i){var r=t[t.length-1].slice(),n=t.length;for(jn(r,i);n<e.length;n++)t[n]=r.slice(0)}function Un(t,e,i){var r,n,o,a,s=t.length,l=e.length;if((s-1)%2===0&&(l-1)%2===0){r=(s-1)/2-1,n=t.slice(0,r+1),o=n[n.length-1].slice(0),a=t.slice(r+1)[0].slice(0),jn(o,i),jn(a,i);for(var u=r;u<(l-1)/2-1;u++)t.splice(u+1,0,o),t.splice(u+3,0,a)}}function Wn(t,e){var i,r,n=t._styles;for(i in e=e||{},e)r=e[i],(0,l.$K)(r)&&(r+="number"!==typeof r||cn[i]?"":"px",n[i]=""!==r?r:null);for(i in n)r=n[i],r?t.element.style[i]=r:null===r&&(t.element.style[i]="");return t}function qn(t,e){var i=t.element,r=t.attr(e);r&&-1!==r.indexOf("DevExpress")&&(i.removeAttribute(e),i.setAttribute(e,Ln(r,t.renderer.pathModified)))}function Jn(t,e){e=e||{};var i,r,n,o,a,s,l=t._settings,u={},h=t.element,c=t.renderer,d=c.rtl;if(!Pn(e))return e in l?l[e]:e in kn?kn[e]:0;for(i in Bn(u,e),u)if(r=u[i],void 0!==r){if(l[i]=r,"align"===i)i="text-anchor",r={left:d?"end":"start",center:"middle",right:d?"start":"end"}[r]||null;else{if("dashStyle"===i){o=!0;continue}if(i===gn)o=!0;else if(!r||"fill"!==i&&"clip-path"!==i&&"filter"!==i||0!==r.indexOf("DevExpress")){if(/^(translate(X|Y)|rotate[XY]?|scale(X|Y)|sharp|sharpDirection)$/i.test(i)){n=!0;continue}/^(x|y|d)$/i.test(i)&&(n=!0)}else t._addFixIRICallback(),r=Ln(r,c.pathModified)}null===r?h.removeAttribute(i):h.setAttribute(i,r)}if(o&&"dashStyle"in l)if(r=l.dashStyle,a=("_originalSW"in t?t._originalSW:l[gn])||1,i="stroke-dasharray",r=null===r?"":tt(r),""===r||"solid"===r||r===xn)t.element.removeAttribute(i);else{r=r.replace(/longdash/g,"8,3,").replace(/dash/g,"4,3,").replace(/dot/g,"1,3,").replace(/,$/,"").split(","),s=r.length;while(s--)r[s]=parseInt(r[s])*a;t.element.setAttribute(i,r.join(","))}return n&&t._applyTransformation(),t}function Qn(t){var e;return Pn(t)&&(t=Bn({},t),e=t.segments,"points"in t&&(e=Fn(t.points,this.type),delete t.points),e&&(t.d=Xn(e),this.segments=e,delete t.segments)),Jn(this,t)}function to(t){var e,i,r,n,o,a,s=this._settings;return Pn(t)&&(t=Bn({},t),("x"in t||"y"in t||"innerRadius"in t||"outerRadius"in t||"startAngle"in t||"endAngle"in t)&&(s.x=e="x"in t?t.x:s.x,delete t.x,s.y=i="y"in t?t.y:s.y,delete t.y,s.innerRadius=r="innerRadius"in t?t.innerRadius:s.innerRadius,delete t.innerRadius,s.outerRadius=n="outerRadius"in t?t.outerRadius:s.outerRadius,delete t.outerRadius,s.startAngle=o="startAngle"in t?t.startAngle:s.startAngle,delete t.startAngle,s.endAngle=a="endAngle"in t?t.endAngle:s.endAngle,delete t.endAngle,t.d=Mn.apply(null,zn(e,i,r,n,o,a)))),Jn(this,t)}function eo(t){var e,i,r,n,o,a,s;return Pn(t)&&(t=Bn({},t),void 0===t.x&&void 0===t.y&&void 0===t.width&&void 0===t.height&&void 0===t[gn]||(e=void 0!==t.x?this._originalX=t.x:this._originalX||0,i=void 0!==t.y?this._originalY=t.y:this._originalY||0,r=void 0!==t.width?this._originalWidth=t.width:this._originalWidth||0,n=void 0!==t.height?this._originalHeight=t.height:this._originalHeight||0,o=void 0!==t[gn]?this._originalSW=t[gn]:this._originalSW,a=~~((r<n?r:n)/2),s=(o||0)<a?o||0:a,t.x=e+s/2,t.y=i+s/2,t.width=r-s,t.height=n-s,((o||0)!==s||0!==s||void 0!==o)&&(t[gn]=s)),"sharp"in t&&delete t.sharp),Jn(this,t)}function io(t){var e;if(!Pn(t))return Jn(this,t);t=Bn({},t);var i=this._settings,r=(0,l.$K)(i[pn])&&(0,l.$K)(i[gn]);void 0!==t[dn]&&(i[dn]=t[dn],delete t[dn],e=!0),void 0!==t[pn]&&(i[pn]=t[pn],delete t[pn]),void 0!==t[gn]&&(i[gn]=t[gn],delete t[gn]),void 0!==t[fn]&&(i[fn]=t[fn],delete t[fn]),void 0!==t[yn]&&(Ro(this,t[yn]),delete t[yn]);var n=(0,l.$K)(i[pn])&&(0,l.$K)(i[gn]);return Jn(this,t),e=e||n!==r&&i[dn],e&&(Po(this,i.text,n),this._hasEllipsis=!1),(e||void 0!==t.x||void 0!==t.y)&&Bo(this),n&&Do(this),this}function ro(t){return t=t||{},Wn(this,t),mn in t&&Bo(this),this}function no(t,e,i,r,n){var o,a,s,l,u;if(void 0!==i.wholeText)t.push({value:i.wholeText,style:r,className:n,line:e,height:r[mn]||0});else if("BR"===i.tagName)++e;else if(zt["default"].isElementNode(i)){switch(Bn(o={},r),i.tagName){case"B":case"STRONG":o[vn]="bold";break;case"I":case"EM":o[_n]="italic";break;case"U":o[bn]="underline"}for(a=i.style,a.color&&(o.fill=a.color),a.fontSize&&(o[mn]=a.fontSize),a.fontStyle&&(o[_n]=a.fontStyle),a.fontWeight&&(o[vn]=a.fontWeight),a.textDecoration&&(o[bn]=a.textDecoration),s=0,u=i.childNodes,l=u.length;s<l;++s)e=no(t,e,u[s],o,i.className||n)}return e}function oo(t){var e,i,r,n=t[0];for(e=1,i=t.length;e<i;++e)r=t[e],r.line===n.line?(n.height=Vo(n.height,r.height),n.inherits=n.inherits||0===parseFloat(r.height),r.height=NaN):n=r}function ao(t){var e=/(style|class)\s*=\s*(["'])(?:(?!\2).)*\2\s?/gi;return t.replace(/(?:(<[a-z0-9]+\s*))([\s\S]*?)(>|\/>)/gi,(function(t,i,r,n){return r=(r&&r.match(e)||[]).map((function(t){return t})).join(" "),i+r+n}))}function so(t){var e=[],i=zt["default"].createElement("div");return i.innerHTML=t.replace(/\r/g,"").replace(/\n/g,"<br/>"),no(e,0,i,{},""),oo(e),e}function lo(t){for(var e=t.replace(/\r/g,"").split(/\n/g),i=0,r=[];i<e.length;i++)r.push({value:e[i].trim(),height:0,line:i});return r}function uo(t,e,i){var r,n,o;for(r=0,n=t.length;r<n;++r)o=t[r],o[i]=In("tspan"),o[i].appendChild(zt["default"].createTextNode(o.value)),o.style&&Wn({element:o[i],_styles:{}},o.style),o.className&&o[i].setAttribute("class",o.className),e.appendChild(o[i])}function ho(){this._hasEllipsis&&this.attr({text:this._settings.text})}function co(t){var e,i,r,n,o,a,s,u=!1;ho.call(this);var h=this.renderer.text(Cn).attr(this._styles).append(this.renderer.root),c=h.getBBox().width;if(this._getElementBBox().width>t)for(t-c<0?t=0:t-=c,e=bo(this.element,this._texts,t),i=0,r=e.length;i<r;++i)if(n=e[i].parts,1!==e[i].commonLength)for(o=0,a=n.length;o<a;++o)s=n[o],(0,l.$K)(s.endIndex)?(Eo(s,s.endIndex),u=!0):s.startBox>t&&Oo(s);return h.remove(),this._hasEllipsis=u,u}function po(t){var e;return t&&(e=t.cloneNode(),e.removeAttribute("y"),e.removeAttribute("x")),e||t}function go(t){for(var e=zt["default"].querySelectorAll(t,"title"),i=0;i<e.length;i++)t.removeChild(e[i]);return e}function fo(t){var e=go(t);return()=>{for(var i=0;i<e.length;i++)t.appendChild(e[i])}}function mo(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this,n=[],o=!1,a=!1,s=t;ho.call(r);var l=fo(this.element),u=r.renderer.text(Cn).attr(r._styles).append(r.renderer.root),h=u.getBBox().width,{width:c,height:d}=r._getElementBBox();return(c||d)&&(c>t||e&&d>e)&&(t-h<0?s=0:s-=h,n=To(r.element,r._texts,t,s,i),n=Ao(n,s,i,e,parseFloat(this._getLineHeight())),this._texts=n.reduce(((t,e)=>t.concat(e.parts)),[]).filter((t=>""!==t.value)).map((t=>(t.stroke&&t.tspan.parentNode.appendChild(t.stroke),t))).map((t=>(t.tspan.parentNode.appendChild(t.tspan),t))),!this._texts.length&&(this._texts=null),o=!0,this._texts?Bo(this):(this.element.textContent="",a=!0)),u.remove(),r._hasEllipsis=o,l(),{rowCount:n.length,textChanged:o,textIsEmpty:a}}function _o(t,e,i,r){var n,o;if(i<=e&&r>e)for(n=1,o=t.value.length;n<=o;++n)if(i+t.tspan.getSubStringLength(0,n)>e)return n-1}function vo(t){return t.value.length?t.tspan.getSubStringLength(0,t.value.length):0}function bo(t,e,i){var r,n,o,a,s,l=[];if(e)for(r=0,n=e.length;r<n;++r)o=e[r],l[o.line]?(o.startBox=a,l[o.line].parts.push(o),l[o.line].commonLength+=o.value.length):(o.startBox=a=0,l.push({commonLength:o.value.length,parts:[o]})),s=a+o.tspan.getSubStringLength(0,o.value.length),o.endIndex=_o(o,i,a,s),a=s;else o={value:t.textContent,tspan:t},o.startBox=a=0,s=a+vo(o),o.endIndex=_o(o,i,a,s),l=[{commonLength:t.textContent.length,parts:[o]}];return l}function yo(t,e){var i=t.startBox>0?[0]:[],r=t.value.split("").reduce(((t,e,i)=>(" "===e&&t.push(i),t)),i),n=0;while(void 0!==r[n+1]&&t.startBox+t.tspan.getSubStringLength(0,r[n+1])<e)n++;return r[n]}function xo(t,e){for(var i=0;i<t.value.length-1;i++)if(t.startBox+t.tspan.getSubStringLength(0,i+1)>e)return i}function wo(t,e){var{hideOverflowEllipsis:i}=e;return i&&0===t?"":Cn}function Co(t,e,i){var r=wo(e,i);if(t.value.length&&t.tspan.parentNode)for(var n=t.value.length-1;n>=1;n--){if(t.startBox+t.tspan.getSubStringLength(0,n)<e){Eo(t,n,r);break}1===n&&Eo(t,0,r)}}function So(t,e,i,r,n){var o,a=t.value;"none"!==r.wordWrap&&(o="normal"===r.wordWrap?yo(t,e):xo(t,e));var s,l=[];if(isFinite(o)&&(0!==n||0!==o)){Eo(t,o,"");var u=" "===a[o]?1:0,h=a.slice(o+u);if(h.length){var c=po(t.tspan);if(c.textContent=h,t.tspan.parentNode.appendChild(c),s=Bn(Bn({},t),{value:h,startBox:0,height:0,tspan:c,stroke:po(t.stroke),endBox:c.getSubStringLength(0,h.length)}),s.stroke&&(s.stroke.textContent=h),s.endBox>e&&(l=So(s,e,i,r,o),!l.length))return[]}}if(t.value.length){if("ellipsis"===r.textOverflow&&t.tspan.getSubStringLength(0,t.value.length)>e&&Co(t,i,r),"hide"===r.textOverflow&&t.tspan.getSubStringLength(0,t.value.length)>e)return[]}else t.tspan.parentNode.removeChild(t.tspan);var d=[];return s&&d.push(s),[{commonLength:a.length,parts:d}].concat(l)}function ko(t,e){return t.parts.reduce(((t,i)=>Qr(t,Lo(i,e))),0)}function Ao(t,e,i,r,n){var o=i.textOverflow;if(!isFinite(r)||0===Number(r)||"none"===o)return t;var a=t.reduce(((t,a,s,l)=>{var[u,h]=t,c=ko(a,n);if(h+=c,h<r)u.push(a);else if(a.parts.forEach((t=>{Oo(t)})),"ellipsis"===o){var d=l[s-1];if(d){var p=d.parts[d.parts.length-1];p.hasEllipsis||(0===e||p.endBox<e?Eo(p,p.value.length,wo(e,i)):Co(p,e,i))}}return[u,h]}),[[],0]);return"hide"===o&&a[1]>r?(a[0].forEach((t=>{t.parts.forEach((t=>{Oo(t)}))})),[]):a[0]}function To(t,e,i,r,n){if(!e){var o=t.textContent,a={value:o,height:0,line:0};t.textContent="",uo([a],t,"tspan"),e=[a]}return e.reduce(((t,e)=>{var[o,a,s,u,h]=t,c=o[o.length-1];if(u)return[o,a,s,u];if(c&&e.line===h){if(e.startBox=a,a>r&&"none"===n.wordWrap&&"ellipsis"===n.textOverflow)return Oo(e),[o,a,s,u,h];c.parts.push(e),c.commonLength+=e.value.length}else e.startBox=a=0,o.push({commonLength:e.value.length,parts:[e]});if(e.endBox=s=a+vo(e),a=s,(0,l.$K)(i)&&s>i){var d=So(e,i,r,n);d.length?o=o.concat(d.filter((t=>t.parts.length>0))):(o=[],u=!0)}return[o,a,s,u,e.line]}),[[],0,0,!1,0])[0]}function Eo(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Cn,r=t.value.substr(0,e)+i;t.value=t.tspan.textContent=r,t.stroke&&(t.stroke.textContent=r),i===Cn&&(t.hasEllipsis=!0)}function Oo(t){t.tspan.parentNode&&t.tspan.parentNode.removeChild(t.tspan),t.stroke&&t.stroke.parentNode&&t.stroke.parentNode.removeChild(t.stroke)}function Po(t,e,i){var r,n;t._texts=null,t.clear(),null!==e&&(e=""+e,t.renderer.encodeHtml||!/<[a-z][\s\S]*>/i.test(e)&&-1===e.indexOf("&")?/\n/g.test(e)?r=lo(e):i&&(r=[{value:e.trim(),height:0}]):(n=ao(e),r=so(n)),r?r.length&&(t._texts=r,i&&uo(r,t.element,pn),uo(r,t.element,"tspan")):t.element.appendChild(zt["default"].createTextNode(e)))}function Io(t,e,i){t.tspan.setAttribute(e,i),t.stroke&&t.stroke.setAttribute(e,i)}function Lo(t,e){return t.inherits?Vo(t.height,e):t.height||e}function Bo(t){if(t._texts){var e,i,r=t._texts,n=t._settings.x,o=t._getLineHeight(),a=r[0];for(Io(a,"x",n),Io(a,"y",t._settings.y),e=1,i=r.length;e<i;++e)if(a=r[e],parseFloat(a.height)>=0){Io(a,"x",n);var s=Lo(a,o);Io(a,"dy",s)}}}function Ro(t,e){if(t._texts&&"center"!==e)for(var i=t._texts,r="left"===e?-1:1,n=Math.max.apply(Math,i.map((t=>vo(t)))),o=0;o<i.length;o++){var a=i[o],s=vo(a);0!==n&&n!==s&&Io(a,"dx",r*rn((n-s)/2*10)/10)}}function Vo(t,e){var i=parseFloat(t),r=parseFloat(e),n=i||wn,o=r||wn;return n>o?isNaN(i)?n:t:isNaN(r)?o:e}function Do(t){if(t._texts){var e,i,r,n=t._texts,o=t._settings[pn],a=t._settings[gn],s=t._settings[fn]||1;for(i=0,r=n.length;i<r;++i)e=n[i].stroke,e.setAttribute(pn,o),e.setAttribute(gn,a),e.setAttribute(fn,s),e.setAttribute("stroke-linejoin","round")}}function zo(t,e,i,r){var n,o;i=i||{};var a=t.renderer,s=t._settings,l={},u={translateX:0,translateY:0,scaleX:1,scaleY:1,rotate:0,rotateX:0,rotateY:0};if(r&&(i.complete=r),a.animationEnabled()){for(n in e)o=e[n],/^(translate(X|Y)|rotate[XY]?|scale(X|Y))$/i.test(n)?(l.transform=l.transform||{from:{},to:{}},l.transform.from[n]=n in s?Number(s[n].toFixed(3)):u[n],l.transform.to[n]=o):l[n]="arc"===n||"segments"===n?o:{from:n in s?s[n]:parseFloat(t.element.getAttribute(n)||0),to:o};a.animateElement(t,l,Bn(Bn({},a._animation),i))}else i.step&&i.step.call(t,1,1),i.complete&&i.complete.call(t),t.attr(e);return t}function Mo(t,e,i){var r,n,o=this.segments||[];return this.renderer.animationEnabled()&&"points"in t&&(r=Fn(t.points,this.type),n=Yn(o,r,this.type),t.segments={from:o,to:r,end:n},delete t.points),zo(this,t,e,i)}function Fo(t,e,i){var r=this._settings,n={from:{},to:{}};return this.renderer.animationEnabled()&&("x"in t||"y"in t||"innerRadius"in t||"outerRadius"in t||"startAngle"in t||"endAngle"in t)&&(n.from.x=r.x||0,n.from.y=r.y||0,n.from.innerRadius=r.innerRadius||0,n.from.outerRadius=r.outerRadius||0,n.from.startAngle=r.startAngle||0,n.from.endAngle=r.endAngle||0,n.to.x="x"in t?t.x:r.x,delete t.x,n.to.y="y"in t?t.y:r.y,delete t.y,n.to.innerRadius="innerRadius"in t?t.innerRadius:r.innerRadius,delete t.innerRadius,n.to.outerRadius="outerRadius"in t?t.outerRadius:r.outerRadius,delete t.outerRadius,n.to.startAngle="startAngle"in t?t.startAngle:r.startAngle,delete t.startAngle,n.to.endAngle="endAngle"in t?t.endAngle:r.endAngle,delete t.endAngle,t.arc=n),zo(this,t,e,i)}function No(t,e){var i={is:!1,name:e.name||e,after:e.after};return t?i.to=t:i.virtual=!0,i}var Go=function(t,e,i){this.renderer=t,this.element=In(e),this._settings={},this._styles={},"path"===e&&(this.type=i||"line")};function Ho(t){Jo.remove(t)}Go.prototype={constructor:Go,_getJQElement:function(){return this._$element||(this._$element=(0,Vt.Z)(this.element))},_addFixIRICallback:function(){var t=this,e=function(){qn(t,"fill"),qn(t,"clip-path"),qn(t,"filter")};t.element._fixFuncIri=e,e.renderer=t.renderer,Jo.add(e),t._addFixIRICallback=function(){}},_clearChildrenFuncIri:function(){!function t(e){var i;for(i=0;i<e.childNodes.length;i++)Ho(e.childNodes[i]._fixFuncIri),t(e.childNodes[i])}(this.element)},dispose:function(){return Ho(this.element._fixFuncIri),this._clearChildrenFuncIri(),this._getJQElement().remove(),this},append:function(t){return(t||this.renderer.root).element.appendChild(this.element),this},remove:function(){var t=this.element;return t.parentNode&&t.parentNode.removeChild(t),this},enableLinks:function(){return this._links=[],this},virtualLink:function(t){return Ko({_link:No(null,t)},this),this},linkAfter:function(t){return this._linkAfter=t,this},linkOn:function(t,e){return this._link=No(t,e),Ko(this,t),this},linkOff:function(){return Uo(this),this._link=null,this},linkAppend:function(){var t,e,i=this._link,r=i.to._links;for(t=i.i+1;(e=r[t])&&!e._link.is;++t);return this._insert(i.to,e),i.is=!0,this},_insert:function(t,e){t.element.insertBefore(this.element,e?e.element:null)},linkRemove:function(){return this.remove(),this._link.is=!1,this},clear:function(){return this._clearChildrenFuncIri(),this._getJQElement().empty(),this},toBackground:function(){var t=this.element,e=t.parentNode;return e&&e.insertBefore(t,e.firstChild),this},toForeground:function(){var t=this.element,e=t.parentNode;return e&&e.appendChild(t),this},attr:function(t){return Jn(this,t)},smartAttr:function(t){return this.attr(Dn(this,t))},css:function(t){return Wn(this,t)},animate:function(t,e,i){return zo(this,t,e,i)},sharp(t,e){return this.attr({sharp:t||!0,sharpDirection:e})},_applyTransformation(){var t,e,i=this._settings,r=[],n=i.sharp,o=i.sharpDirection||1,a=i[gn]%2,s=!a||"h"!==n&&!0!==n?0:un*o,u=!a||"v"!==n&&!0!==n?0:un*o;r.push("translate("+((i.translateX||0)+s)+","+((i.translateY||0)+u)+")"),i.rotate&&(t="rotateX"in i?i.rotateX:i.x,e="rotateY"in i?i.rotateY:i.y,r.push("rotate("+i.rotate+","+(t||0)+","+(e||0)+")"));var h=(0,l.$K)(i.scaleX),c=(0,l.$K)(i.scaleY);(h||c)&&r.push("scale("+(h?i.scaleX:1)+","+(c?i.scaleY:1)+")"),r.length&&this.element.setAttribute("transform",r.join(" "))},move:function(t,e,i,r){var n={};return(0,l.$K)(t)&&(n.translateX=t),(0,l.$K)(e)&&(n.translateY=e),i?this.animate(n,r):this.attr(n),this},rotate:function(t,e,i,r,n){var o={rotate:t||0};return(0,l.$K)(e)&&(o.rotateX=e),(0,l.$K)(i)&&(o.rotateY=i),r?this.animate(o,n):this.attr(o),this},_getElementBBox:function(){var t,e=this.element;try{t=e.getBBox&&e.getBBox()}catch(i){}return t||{x:0,y:0,width:e.offsetWidth||0,height:e.offsetHeight||0}},getBBox:function(){var t=this._settings,e=this._getElementBBox();return e=t.rotate?nt(e,[("rotateX"in t?t.rotateX:t.x)||0,("rotateY"in t?t.rotateY:t.y)||0],-t.rotate):rt(e),e},markup:function(){return Gr(this.element)},getOffset:function(){return this._getJQElement().offset()},stopAnimation:function(t){var e=this.animation;return e&&e.stop(t),this},setTitle:function(t){var e=In("title");e.textContent=t||"",this.element.appendChild(e)},removeTitle(){go(this.element)},data:function(t,e){var i,r=this.element;if(void 0!==e)r[t]=e;else for(i in t)r[i]=t[i];return this},on:function(){var t=[this._getJQElement()];return t.push.apply(t,arguments),Bt.Z.on.apply(Bt.Z,t),this},off:function(){var t=[this._getJQElement()];return t.push.apply(t,arguments),Bt.Z.off.apply(Bt.Z,t),this},trigger:function(){var t=[this._getJQElement()];return t.push.apply(t,arguments),Bt.Z.trigger.apply(Bt.Z,t),this}};var Zo=function(t,e){Go.call(this,t,"path",e)};Zo.prototype=Sn(Go.prototype),Bn(Zo.prototype,{constructor:Zo,attr:Qn,animate:Mo});var $o=function(t){Go.call(this,t,"path","arc")};$o.prototype=Sn(Go.prototype),Bn($o.prototype,{constructor:$o,attr:to,animate:Fo});var Xo=function(t){Go.call(this,t,"rect")};Xo.prototype=Sn(Go.prototype),Bn(Xo.prototype,{constructor:Xo,attr:eo});var Yo=function(t){Go.call(this,t,"text"),this.css({"white-space":"pre"})};function jo(t,e){var i,r;for(i=e;r=t[i];++i)r._link.i=i}function Ko(t,e){var i,r,n=e._links,o=t._link.after=t._link.after||e._linkAfter;if(o){for(i=0;(r=n[i])&&r._link.name!==o;++i);if(r)for(++i;(r=n[i])&&r._link.after===o;++i);}else i=n.length;n.splice(i,0,t),jo(n,i)}function Uo(t){var e,i=t._link.to._links;for(e=0;i[e]!==t;++e);i.splice(e,1),jo(i,e)}function Wo(t){this.root=this._createElement("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",fill:xn,stroke:xn,"stroke-width":0}).attr({class:t.cssClass}).css({"line-height":"normal","-ms-user-select":xn,"-moz-user-select":xn,"-webkit-user-select":xn,"-webkit-tap-highlight-color":"rgba(0, 0, 0, 0)",display:"block",overflow:"hidden"}),this._init(),this.pathModified=!!t.pathModified,this._$container=(0,Vt.Z)(t.container),this.root.append({element:t.container}),this._locker=0,this._backed=!1}function qo(t,e){return"@"+t+"::"+e.step+":"+e.width+":"+e.opacity+":"+e.direction}Yo.prototype=Sn(Go.prototype),Bn(Yo.prototype,{constructor:Yo,attr:io,css:ro,applyEllipsis:co,setMaxSize:mo,restoreText:ho,_getLineHeight(){return isNaN(parseFloat(this._styles[mn]))?wn:this._styles[mn]}}),Wo.prototype={constructor:Wo,_init:function(){this._defs=this._createElement("defs").append(this.root),this._animationController=new qr(this.root.element),this._animation={enabled:!0,duration:1e3,easing:"easeOutCubic"}},setOptions:function(t){return this.rtl=!!t.rtl,this.encodeHtml=!!t.encodeHtml,this.updateAnimationOptions(t.animation||{}),this.root.attr({direction:this.rtl?"rtl":"ltr"}),this},_createElement:function(t,e,i){var r=new Go(this,t,i);return e&&r.attr(e),r},lock:function(){return 0===this._locker&&(this._backed=!this._$container.is(":visible"),this._backed&&Tn(this.root)),++this._locker,this},unlock:function(){return--this._locker,0===this._locker&&(this._backed&&En(this.root,this._$container[0]),this._backed=!1),this},resize:function(t,e){return t>=0&&e>=0&&this.root.attr({width:t,height:e}),this},dispose:function(){var t;for(t in this.root.dispose(),this._defs.dispose(),this._animationController.dispose(),Jo.removeByRenderer(this),this)this[t]=null;return this},animationEnabled:function(){return!!this._animation.enabled},updateAnimationOptions:function(t){return Bn(this._animation,t),this},stopAllAnimations:function(t){return this._animationController[t?"lock":"stop"](),this},animateElement:function(t,e,i){return this._animationController.animateElement(t,e,i),this},svg:function(){return this.root.markup()},getRootOffset:function(){return this.root.getOffset()},onEndAnimation:function(t){this._animationController.onEndAnimation(t)},rect:function(t,e,i,r){var n=new Xo(this);return n.attr({x:t||0,y:e||0,width:i||0,height:r||0})},simpleRect:function(){return this._createElement("rect")},circle:function(t,e,i){return this._createElement("circle",{cx:t||0,cy:e||0,r:i||0})},g:function(){return this._createElement("g")},image:function(t,e,i,r,n,o){var a=this._createElement("image",{x:t||0,y:e||0,width:i||0,height:r||0,preserveAspectRatio:Vn[tt(o)]||xn});return a.element.setAttributeNS("http://www.w3.org/1999/xlink","href",n||""),a},path:function(t,e){var i=new Zo(this,e);return i.attr({points:t||[]})},arc:function(t,e,i,r,n,o){var a=new $o(this);return a.attr({x:t||0,y:e||0,innerRadius:i||0,outerRadius:r||0,startAngle:n||0,endAngle:o||0})},text:function(t,e,i){var r=new Yo(this);return r.attr({text:t,x:e||0,y:i||0})},linearGradient:function(t){var e=On(),i=this,r=i._createElement("linearGradient",{id:e}).append(i._defs);return r.id=e,t.forEach((t=>{i._createElement("stop",{offset:t.offset,"stop-color":t["stop-color"]}).append(r)})),r},pattern:function(t,e,i){e=e||{};var r=e.step||6,n=r/2,o=1.5*r,a=i||On(),s="right"===tt(e.direction)?"M "+n+" "+-n+" L "+-n+" "+n+" M 0 "+r+" L "+r+" 0 M "+o+" "+n+" L "+n+" "+o:"M 0 0 L "+r+" "+r+" M "+-n+" "+n+" L "+n+" "+o+" M "+n+" "+-n+" L "+o+" "+n,l=this._createElement("pattern",{id:a,width:r,height:r,patternUnits:"userSpaceOnUse"}).append(this._defs);return l.id=a,this.rect(0,0,r,r).attr({fill:t,opacity:e.opacity}).append(l),new Zo(this).attr({d:s,"stroke-width":e.width||1,stroke:t}).append(l),l},_getPointsWithYOffset:function(t,e){return t.map((function(t,i){return i%2!==0?t+e:t}))},clipShape:function(t,e){var i=On(),r=this._createElement("clipPath",{id:i}).append(this._defs),n=t.apply(this,e).append(r);return n.id=i,n.remove=function(){throw"Not implemented"},n.dispose=function(){return r.dispose(),r=null,this},n},clipRect(t,e,i,r){return this.clipShape(this.rect,arguments)},clipCircle(t,e,i){return this.clipShape(this.circle,arguments)},shadowFilter:function(t,e,i,r,n,o,a,s,l){var u=On(),h=this._createElement("filter",{id:u,x:t||0,y:e||0,width:i||0,height:r||0}).append(this._defs),c=this._createElement("feGaussianBlur",{in:"SourceGraphic",result:"gaussianBlurResult",stdDeviation:a||0}).append(h),d=this._createElement("feOffset",{in:"gaussianBlurResult",result:"offsetResult",dx:n||0,dy:o||0}).append(h),p=this._createElement("feFlood",{result:"floodResult","flood-color":s||"","flood-opacity":l}).append(h),g=this._createElement("feComposite",{in:"floodResult",in2:"offsetResult",operator:"in",result:"compositeResult"}).append(h),f=this._createElement("feComposite",{in:"SourceGraphic",in2:"compositeResult",operator:"over"}).append(h);return h.id=u,h.gaussianBlur=c,h.offset=d,h.flood=p,h.composite=g,h.finalComposite=f,h.attr=function(t){var e={},i={},r={};return"x"in t&&(e.x=t.x),"y"in t&&(e.y=t.y),"width"in t&&(e.width=t.width),"height"in t&&(e.height=t.height),Jn(this,e),"blur"in t&&this.gaussianBlur.attr({stdDeviation:t.blur}),"offsetX"in t&&(i.dx=t.offsetX),"offsetY"in t&&(i.dy=t.offsetY),this.offset.attr(i),"color"in t&&(r["flood-color"]=t.color),"opacity"in t&&(r["flood-opacity"]=t.opacity),this.flood.attr(r),this},h},brightFilter:function(t,e){var i=On(),r=this._createElement("filter",{id:i}).append(this._defs),n=this._createElement("feComponentTransfer").append(r),o={type:t,slope:e};return r.id=i,this._createElement("feFuncR",o).append(n),this._createElement("feFuncG",o).append(n),this._createElement("feFuncB",o).append(n),r},getGrayScaleFilter:function(){if(this._grayScaleFilter)return this._grayScaleFilter;var t=On(),e=this._createElement("filter",{id:t}).append(this._defs);return this._createElement("feColorMatrix").attr({type:"matrix",values:"0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 0.6 0"}).append(e),e.id=t,this._grayScaleFilter=e,e},initHatching:function(){var t,e=this._hatchingStorage=this._hatchingStorage||{byHash:{},baseId:On()},i=e.byHash;for(t in i)i[t].pattern.dispose();e.byHash={},e.refToHash={},e.nextId=0},lockHatching:function(t,e,i){var r,n,o=this._hatchingStorage,a=qo(t,e);return o.refToHash[i]!==a&&(i&&this.releaseHatching(i),r=o.byHash[a],r||(n=this.pattern(t,e,o.baseId+"-hatching-"+o.nextId++),r=o.byHash[a]={pattern:n,count:0},o.refToHash[n.id]=a),++r.count,i=r.pattern.id),i},releaseHatching:function(t){var e=this._hatchingStorage,i=e.refToHash[t],r=e.byHash[i];r&&0===--r.count&&(r.pattern.dispose(),delete e.byHash[i],delete e.refToHash[t])}};var Jo=function(){var t=[];return{add:function(e){t.push(e)},remove:function(e){t=t.filter((function(t){return t!==e}))},removeByRenderer:function(e){t=t.filter((function(t){return t.renderer!==e}))},fire:function(){t.forEach((function(t){t()}))}}}(),Qo=i(30057),ta=Math.min,ea=Math.max,ia=Math.round,ra=0,na=1,oa=2,aa={left:ra,center:na,right:oa},sa={top:ra,center:na,bottom:oa},la={horizontal:0,vertical:1},ua={},ha=2;function ca(t,e,i){var r=tt(t);return r in e?e[r]:i}function da(t){var e=ca(t.side,la,1),i=[ca(t.horizontalAlignment,aa,na),ca(t.verticalAlignment,sa,ra)];return{side:e,primary:pa(i[e]),secondary:i[1-e],weak:t.weak,priority:t.priority||0,header:t.header,position:t.position}}function pa(t){return t<2?0:2}function ga(t){return 1-t}function fa(t,e,i,r){return ua[t](e,i,r)}function ma(t,e){return(t>0?-1:1)*e}function _a(t,e,i){var r=t.side,n=t.element.measure([e[2]-e[0],e[3]-e[1]]),o="indside"===t.position?0:i[r],a=n[r]<e[2+r]-e[r]-o;return a&&("inside"!==t.position&&(e[t.primary+r]+=ma(t.primary,n[r])),t.size=n),a}function va(t,e,i){var r=t.side,n=ga(r),o=[],a=fa(t.secondary,i[n],i[2+n],t.size[n]);return o[r]=ia(o[2+r]=e[t.primary+r]+("inside"===t.position?ma(t.primary,t.size[r]):0)),o[t.primary+r]=ia(e[t.primary+r]-ma(t.primary,t.size[r])),"inside"!==t.position&&(e[t.primary+r]=o[t.primary+r]),o[n]=ia(a[0]),o[2+n]=ia(a[1]),o}function ba(t,e,i,r,n,o){var a=va(t,e,i),s=va(t,r,r);n[t.side]>0?(n[t.side]-=t.size[t.side],o[t.primary+t.side]=a[t.primary+t.side],t.element.freeSpace()):t.element.move(a,s)}function ya(){this._targets=[]}function xa(t){var e,i,r=t.length,n=[];for(e=0;e<r;++e)i=t[e].layoutOptions(),i&&(i=da(i),i.element=t[e],n.push(i));return n.sort((function(t,e){return e.side-t.side||t.priority-e.priority})),n=wa(n),n}function wa(t){var e,i=t.filter((function(t){return!0===t.weak}))[0];return i&&(e=t.filter((function(t){return i.primary===t.primary&&t.side===i.side&&t!==i}))[0]),i&&e?[Sa(e,i)].concat(t.filter((function(t){return!(t===e||t===i)}))):t}function Ca(t,e){var i=e.slice(),r=va(t,i,i);return r[t.side]=e[t.side],r[2+t.side]=e[2+t.side],r}function Sa(t,e){var i=t.side,r=t.primary,n=t.secondary;return{side:i,primary:r,secondary:n,priority:0,element:{measure:function(n){var o=n.slice(),a=e.element.measure(n.slice());n[r]-=a[r];var s=t.element.measure(n.slice());return o[i]=a[i]=s[i]=Math.max(s[i],a[i]),e.size=a,t.size=s,o},move:function(i,r){if(r[2]-r[0]<t.size[0]+e.size[0]-ha)this.freeSpace();else{var n=Ca(e,r);r[2+e.primary]=n[e.primary];var o=Ca(t,r);r[2+e.primary]<i[2+e.primary]&&t.size[t.primary]>i[2+t.primary]-i[t.primary]&&(i[2+e.primary]=r[2+e.primary]);var a=Ca(t,i);a[2+e.primary]>r[2+e.primary]&&(i[2+e.primary]=r[2+e.primary],a=Ca(t,i)),e.element.move(n),t.element.move(a,o)}},freeSpace:function(){t.element.freeSpace(),e.element.freeSpace()}}}}ua[ra]=function(t,e,i){return[t,ta(e,t+i)]},ua[na]=function(t,e,i){return[ea(t,(t+e-i)/2),ta(e,(t+e+i)/2)]},ua[oa]=function(t,e,i){return[ea(t,e-i),e]},ya.prototype={constructor:ya,dispose:function(){this._targets=null},add:function(t){this._targets.push(t)},forward:function(t,e){var i,r=t.slice(),n=xa(this._targets),o=n.length,a=[];for(i=0;i<o;++i)_a(n[i],r,e)?a.push(n[i]):n[i].element.freeSpace();return this._cache=a.reverse(),r},backward:function(t,e){var i,r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0],o=t.slice(),a=t.slice(),s=this._cache,l=0,u=s.length;for(r=0;r<u;++r)i=s[r],i.side!==l&&(o=t.slice()),ba(i,o,e,a,n,t),l=i.side;return n}};var ka=ya,Aa=i(30390),Ta=i(79303),Ea=i(54978),Oa=i(73386),Pa=i(20605),Ia=i(67892),La=Rr.ERROR_MESSAGES;function Ba(t,e){var i,r={};return(0,h.S6)(t,(function(t,e){e.name&&n(t)})),o.change=function(e){var r=t[e];return r&&((i=i||{})[e]=r),!!r},o.applyChanges=function(){i&&((0,h.S6)(i,(function(t,e){n(e.newName||t)})),i=null)},o.dispose=function(){t=e=r=null},o;function n(i){var n=t[i];r[n.name]=e(i,n.actionSettings)}function o(t,e,i){r[t](e),i&&i()}}var Ra=function(t,e){return function(i,r){e("incidentOccurred",{target:{id:i,type:"E"===i[0]?"error":"warning",args:r,text:Oa.WU.apply(null,[La[i]].concat(r||[])),widget:t,version:Ea.i}})}};function Va(t){return(e,i)=>{var{handler:r,dispose:n}=Da(t,i);return e(r),n}}function Da(t,e){var i,r=function(){clearTimeout(i),i=setTimeout(t,100)};return{handler:r,dispose(){clearTimeout(i),e(r)}}}function za(t,e,i){var r,n=Va(i);return"windowonly"===tt(e)?r=n((t=>Pa.Z.add(t)),(t=>Pa.Z.remove(t))):!0===e&&(r=n((e=>Ia.Z.observe(t,e)),(()=>Ia.Z.unobserve(t)))),r}var Ma=Math.floor,Fa=Rr.log,Na="rtlEnabled",Ga="dx-sized-element",Ha=yr.Z.prototype.option;function Za(){return!0}function $a(){return!1}function Xa(t,e){return!(t.width===e.width&&t.height===e.height&&t.left===e.left&&t.top===e.top&&t.right===e.right&&t.bottom===e.bottom)}function Ya(t){t.component._eventsStrategy.hasEvent("incidentOccurred")||Fa.apply(null,[t.target.id].concat(t.target.args||[]))}function ja(t){return t.reduce((function(t,e){return e>0&&!t?e:t}),0)}var Ka=function(){var t={_initTemplates(){},ctor(t,e){this.callBase(t,e);var i=zt["default"].createElement("div"),r=e&&(0,l.kE)(e.width)?e.width+"px":"100%",n=e&&(0,l.kE)(e.height)?e.height+"px":this._getDefaultSize().height+"px";zt["default"].setStyle(i,"width",r),zt["default"].setStyle(i,"height",n),zt["default"].setClass(i,Ga),zt["default"].insertElement(t,i)}},e=yr.Z.inherit(t),i=e.inherit;return e.inherit=function(t){for(var e in t)((0,l.mf)(t[e])&&"_"!==e.substr(0,1)&&"option"!==e||"_dispose"===e||"_optionChanged"===e)&&(t[e]=s.ZT);return i.call(this,t)},e};function Ua(t){t.forEach((t=>t()))}var Wa=!(0,Dt.Ym)();function qa(t){return(0,l.$K)(t)&&t>0}var Ja=Wa?Ka():yr.Z.inherit({_eventsMap:{onIncidentOccurred:{name:"incidentOccurred",actionSettings:{excludeValidators:["disabled"]}},onDrawn:{name:"drawn",actionSettings:{excludeValidators:["disabled"]}}},_getDefaultOptions:function(){return(0,u.l)(this.callBase(),{onIncidentOccurred:Ya})},_useLinks:!0,_init:function(){var t=this;t._$element.children("."+Ga).remove(),t.callBase.apply(t,arguments),t._changesLocker=0,t._optionChangedLocker=0,t._asyncFirstDrawing=!0,t._changes=Ir(),t._suspendChanges(),t._themeManager=t._createThemeManager(),t._themeManager.setCallback((function(){t._requestChange(t._themeDependentChanges)})),t._renderElementAttributes(),t._initRenderer();var e=t._useLinks&&t._renderer.root;e&&e.enableLinks().virtualLink("core").virtualLink("peripheral"),t._renderVisibilityChange(),t._attachVisibilityChangeHandlers(),t._toggleParentsScrollSubscription(this._isVisible()),t._initEventTrigger(),t._incidentOccurred=Ra(t.NAME,t._eventTrigger),t._layout=new ka,e&&e.linkAfter("core"),t._initPlugins(),t._initCore(),e&&e.linkAfter(),t._change(t._initialChanges)},_createThemeManager(){return new br(this._getThemeManagerOptions())},_getThemeManagerOptions(){return{themeSection:this._themeSection,fontFields:this._fontFields}},_initialChanges:["LAYOUT","RESIZE_HANDLER","THEME","DISABLED"],_initPlugins:function(){var t=this;(0,h.S6)(t._plugins,(function(e,i){i.init.call(t)}))},_disposePlugins:function(){var t=this;(0,h.S6)(t._plugins.slice().reverse(),(function(e,i){i.dispose.call(t)}))},_change:function(t){this._changes.add(t)},_suspendChanges:function(){++this._changesLocker},_resumeChanges:function(){0===--this._changesLocker&&this._changes.count()>0&&!this._applyingChanges&&(this._renderer.lock(),this._applyingChanges=!0,this._applyChanges(),this._changes.reset(),this._applyingChanges=!1,this._changesApplied(),this._renderer.unlock(),this._optionsQueue&&this._applyQueuedOptions(),this.resolveItemsDeferred(this._legend?[this._legend]:[]),this._optionChangedLocker++,this._notify(),this._optionChangedLocker--)},resolveItemsDeferred(t){this._resolveDeferred(this._getTemplatesItems(t))},_collectTemplatesFromItems:t=>t.reduce(((t,e)=>({items:t.items.concat(e.getTemplatesDef()),groups:t.groups.concat(e.getTemplatesGroups())})),{items:[],groups:[]}),_getTemplatesItems(t){var e=this._collectTemplatesFromItems(t),i=this._getExtraTemplatesItems();return{items:i.items.concat(e.items),groups:i.groups.concat(e.groups),launchRequest:[i.launchRequest],doneRequest:[i.doneRequest]}},_getExtraTemplatesItems:()=>({items:[],groups:[],launchRequest:()=>{},doneRequest:()=>{}}),_resolveDeferred(t){var{items:e,launchRequest:i,doneRequest:r,groups:n}=t,o=this;if(o._setGroupsVisibility(n,"hidden"),o._changesApplying)return o._changesApplying=!1,void Ua(r);var a=!0;Ta.gx.apply(o,e).done((()=>{if(a)o._setGroupsVisibility(n,"visible");else{Ua(i),o._changesApplying=!0;var t=["LAYOUT","FULL_RENDER"];o._asyncFirstDrawing?(t.push("FORCE_FIRST_DRAWING"),o._asyncFirstDrawing=!1):t.push("FORCE_DRAWING"),o._requestChange(t),o._setGroupsVisibility(n,"visible")}})),a=!1},_setGroupsVisibility(t,e){t.forEach((t=>t.attr({visibility:e})))},_applyQueuedOptions:function(){var t=this._optionsQueue;this._optionsQueue=null,this.beginUpdate(),(0,h.S6)(t,(function(t,e){e()})),this.endUpdate()},_requestChange:function(t){this._suspendChanges(),this._change(t),this._resumeChanges()},_applyChanges:function(){var t,e=this._changes,i=this._totalChangesOrder,r=i.length;for(t=0;t<r;++t)e.has(i[t])&&this["_change_"+i[t]]()},_optionChangesOrder:["EVENTS","THEME","RENDERER","RESIZE_HANDLER"],_layoutChangesOrder:["ELEMENT_ATTR","CONTAINER_SIZE","LAYOUT"],_customChangesOrder:["DISABLED"],_change_EVENTS:function(){this._eventTrigger.applyChanges()},_change_THEME:function(){this._setThemeAndRtl()},_change_RENDERER:function(){this._setRendererOptions()},_change_RESIZE_HANDLER:function(){this._setupResizeHandler()},_change_ELEMENT_ATTR:function(){this._renderElementAttributes(),this._change(["CONTAINER_SIZE"])},_change_CONTAINER_SIZE:function(){this._updateSize()},_change_LAYOUT:function(){this._setContentSize()},_change_DISABLED:function(){var t=this._renderer,e=t.root;this.option("disabled")?(this._initDisabledState=e.attr("pointer-events"),e.attr({"pointer-events":"none",filter:t.getGrayScaleFilter().id})):"none"===e.attr("pointer-events")&&e.attr({"pointer-events":(0,l.$K)(this._initDisabledState)?this._initDisabledState:null,filter:null})},_themeDependentChanges:["RENDERER"],_initRenderer:function(){this._canvas=this._calculateCanvas(),this._renderer=new Wo({cssClass:this._rootClassPrefix+" "+this._rootClass,pathModified:this.option("pathModified"),container:this._$element[0]}),this._renderer.resize(this._canvas.width,this._canvas.height)},_disposeRenderer:function(){this._renderer.dispose()},_getAnimationOptions:s.ZT,render:function(){this._requestChange(["CONTAINER_SIZE"]);var t=this._isVisible();this._toggleParentsScrollSubscription(t),!t&&this._stopCurrentHandling()},_toggleParentsScrollSubscription:function(t){var e=(0,Vt.Z)(this._renderer.root.element).parents();"generic"===Aa.Z.real().platform&&(e=e.add((0,Dt.Jj)())),this._proxiedTargetParentsScrollHandler=this._proxiedTargetParentsScrollHandler||function(){this._stopCurrentHandling()}.bind(this),Bt.Z.off((0,Vt.Z)().add(this._$prevRootParents),"scroll.viz_widgets",this._proxiedTargetParentsScrollHandler),t&&(Bt.Z.on(e,"scroll.viz_widgets",this._proxiedTargetParentsScrollHandler),this._$prevRootParents=e)},_stopCurrentHandling:s.ZT,_dispose:function(){var t=this;this._disposed||(t.callBase.apply(t,arguments),t._toggleParentsScrollSubscription(!1),t._removeResizeHandler(),t._layout.dispose(),t._eventTrigger.dispose(),t._disposeCore(),t._disposePlugins(),t._disposeRenderer(),t._themeManager.dispose(),t._themeManager=t._renderer=t._eventTrigger=null)},_initEventTrigger:function(){var t=this;t._eventTrigger=Ba(t._eventsMap,(function(e,i){return t._createActionByOption(e,i)}))},_calculateCanvas:function(){var t=this,e=t.option("size")||{},i=t.option("margin")||{},r=t._getDefaultSize()||{},n=(e,i,r)=>{if(qa(e[i])||!(0,Dt.Ym)())return 0;var n=r(t._$element);return n<=1?0:n},o=n(e,"width",(t=>(0,Qo.dz)(t))),a=n(e,"height",(t=>(0,Qo.Cr)(t))),s={width:e.width<=0?0:Ma(ja([e.width,o,r.width])),height:e.height<=0?0:Ma(ja([e.height,a,r.height])),left:ja([i.left,r.left]),top:ja([i.top,r.top]),right:ja([i.right,r.right]),bottom:ja([i.bottom,r.bottom])};return(s.width-s.left-s.right<=0||s.height-s.top-s.bottom<=0)&&(s={width:0,height:0}),s},_updateSize:function(){var t=this._calculateCanvas();(Xa(this._canvas,t)||this.__forceRender)&&(this._canvas=t,this._recreateSizeDependentObjects(!0),this._renderer.resize(t.width,t.height),this._change(["LAYOUT"]))},_recreateSizeDependentObjects:s.ZT,_getMinSize:function(){return[0,0]},_getAlignmentRect:s.ZT,_setContentSize:function(){var t=this._canvas,e=this._layout,i=t.width>0&&t.height>0?[t.left,t.top,t.width-t.right,t.height-t.bottom]:[0,0,0,0];i=e.forward(i,this._getMinSize());var r=this._applySize(i)||i;e.backward(r,this._getAlignmentRect()||r)},_getOption:function(t,e){var i=this._themeManager.theme(t),r=this.option(t);return e?void 0!==r?r:i:(0,u.l)(!0,{},i,r)},_setupResizeHandler:function(){var t=this,e=ot(t._getOption("redrawOnResize",!0),!0);t._disposeResizeHandler&&t._removeResizeHandler(),t._disposeResizeHandler=za(t._$element[0],e,(()=>t._requestChange(["CONTAINER_SIZE"])))},_removeResizeHandler:function(){this._disposeResizeHandler&&(this._disposeResizeHandler(),this._disposeResizeHandler=null)},_onBeginUpdate:s.ZT,beginUpdate:function(){var t=this;return t._initialized&&t._isUpdateAllowed()&&(t._onBeginUpdate(),t._suspendChanges()),t.callBase.apply(t,arguments),t},endUpdate:function(){return this.callBase(),this._isUpdateAllowed()&&this._resumeChanges(),this},option:function(t){var e=this;if(!(e._initialized&&e._applyingChanges&&(arguments.length>1||(0,l.Kn)(t))))return Ha.apply(e,arguments);e._optionsQueue=e._optionsQueue||[],e._optionsQueue.push(e._getActionForUpdating(arguments))},_getActionForUpdating:function(t){var e=this;return function(){Ha.apply(e,t)}},_clean:s.ZT,_render:s.ZT,_optionChanged:function(t){var e=this;if(!e._optionChangedLocker){var i=e.getPartialChangeOptionsName(t),r=[];i.length>0?i.forEach((t=>r.push(e._partialOptionChangesMap[t]))):r.push(e._optionChangesMap[t.name]),r=r.filter((t=>!!t)),e._eventTrigger.change(t.name)?e._change(["EVENTS"]):r.length>0?e._change(r):e.callBase.apply(e,arguments)}},_notify:s.ZT,_changesApplied:s.ZT,_optionChangesMap:{size:"CONTAINER_SIZE",margin:"CONTAINER_SIZE",redrawOnResize:"RESIZE_HANDLER",theme:"THEME",rtlEnabled:"THEME",encodeHtml:"THEME",elementAttr:"ELEMENT_ATTR",disabled:"DISABLED"},_partialOptionChangesMap:{},_partialOptionChangesPath:{},getPartialChangeOptionsName:function(t){var e=this,i=t.fullName,r=i.split(/[.]/),n=t.name,o=t.value,a=this._partialOptionChangesPath[n],s=[];return a&&(!0===a?s.push(n):(a.forEach((t=>{i.indexOf(t)>=0&&s.push(t)})),1===r.length&&("object"===(0,l.dt)(o)?e._addOptionsNameForPartialUpdate(o,a,s):"array"===(0,l.dt)(o)&&o.length>0&&o.every((t=>e._checkOptionsForPartialUpdate(t,a)))&&o.forEach((t=>e._addOptionsNameForPartialUpdate(t,a,s)))))),s.filter(((t,e,i)=>i.indexOf(t)===e))},_checkOptionsForPartialUpdate:function(t,e){return!Object.keys(t).some((t=>-1===e.indexOf(t)))},_addOptionsNameForPartialUpdate:function(t,e,i){var r=Object.keys(t);this._checkOptionsForPartialUpdate(t,e)&&r.forEach((t=>e.indexOf(t)>-1&&i.push(t)))},_visibilityChanged:function(){this.render()},_setThemeAndRtl:function(){this._themeManager.setTheme(this.option("theme"),this.option(Na))},_getRendererOptions:function(){return{rtl:this.option(Na),encodeHtml:this.option("encodeHtml"),animation:this._getAnimationOptions()}},_setRendererOptions:function(){this._renderer.setOptions(this._getRendererOptions())},svg:function(){return this._renderer.svg()},getSize:function(){var t=this._canvas||{};return{width:t.width,height:t.height}},isReady:$a,_dataIsReady:Za,_resetIsReady:function(){this.isReady=$a},_drawn:function(){var t=this;t.isReady=$a,t._dataIsReady()&&t._renderer.onEndAnimation((function(){t.isReady=Za})),t._eventTrigger("drawn",{})}}),Qa=Ja;Pr(Ja);var ts=i(63370),es=Math.round,is={horizontal:0,vertical:0},rs={center:.5,right:1,bottom:1,left:0,top:0};function ns(t){this._options=t}function os(t,e){this._renderElement=t,this._cacheBBox=e}ns.prototype={constructor:ns,position:function(t){var e=t.of.getLayoutOptions(),i=this.getLayoutOptions(),r=t.at,n=t.my,o=t.offset||is,a=-rs[n.horizontal]*i.width+e.x+rs[r.horizontal]*e.width+parseInt(o.horizontal),s=-rs[n.vertical]*i.height+e.y+rs[r.vertical]*e.height+parseInt(o.vertical);this.shift(es(a),es(s))},getLayoutOptions:s.ZT};var as=os.prototype=(0,ts.d9)(ns.prototype);as.constructor=os,as.getLayoutOptions=function(){return this._cacheBBox||this._renderElement.getBBox()},as.shift=function(t,e){var i=this.getLayoutOptions();this._renderElement.move(es(t-i.x),es(e-i.y))};var ss=Number,ls=at(["left","center","right"]),us=at(["top","bottom"]),hs=10;function cs(t){return!!(t&&String(t).length>0)}function ds(t,e,i,r,n){t.attr({text:e}).setMaxSize(i,n,r).textChanged&&t.setTitle(e)}function ps(t){return t>=0?ss(t):hs}function gs(t){var e;return t>=0?e={left:ss(t),top:ss(t),right:ss(t),bottom:ss(t)}:(t=t||{},e={left:ps(t.left),top:ps(t.top),right:ps(t.right),bottom:ps(t.bottom)}),e}function fs(t,e){return t[2]-t[0]<e.width||t[3]-t[1]<e.height}var ms=function(t){this._params=t,this._group=t.renderer.g().attr({class:t.cssClass}).linkOn(t.root||t.renderer.root,"title"),this._hasText=!1};function _s(t){var e=(0,l.HD)(t)?{text:t}:t||{};return e.subtitle=(0,l.HD)(e.subtitle)?{text:e.subtitle}:e.subtitle||{},e}(0,u.l)(ms.prototype,ns.prototype,{dispose:function(){this._group.linkRemove(),this._group.linkOff(),this._titleElement&&(this._clipRect.dispose(),this._titleElement=this._subtitleElement=this._clipRect=null),this._params=this._group=this._options=null},_updateOptions:function(t){this._options=t,this._options.horizontalAlignment=ls(t.horizontalAlignment,"center"),this._options.verticalAlignment=us(t.verticalAlignment,"top"),this._options.margin=gs(t.margin)},_updateStructure:function(){var t=this._params.renderer,e=this._group,i=this._options,r=i.horizontalAlignment;this._titleElement||(this._titleElement=t.text().append(e),this._subtitleElement=t.text(),this._clipRect=t.clipRect(),e.attr({"clip-path":this._clipRect.id})),this._titleElement.attr({align:r,class:i.cssClass}),this._subtitleElement.attr({align:r,class:i.subtitle.cssClass}),e.linkAppend(),cs(i.subtitle.text)?this._subtitleElement.append(e):this._subtitleElement.remove()},_updateTexts:function(){var t,e=this._options,i=e.subtitle,r=this._titleElement,n=this._subtitleElement;r.attr({text:"A",y:0}).css(st(e.font)),t=r.getBBox(),this._baseLineCorrection=t.height+t.y,r.attr({text:e.text}),t=r.getBBox();var o=-t.y;r.attr({y:o}),cs(i.text)&&n.attr({text:i.text,y:0}).css(st(i.font))},_shiftSubtitle(){var t=this._titleElement.getBBox(),e=this._subtitleElement,i=this._options.subtitle.offset;e.move(0,t.y+t.height-e.getBBox().y-i)},_updateBoundingRectAlignment:function(){var t=this._boundingRect,e=this._options;t.verticalAlignment=e.verticalAlignment,t.horizontalAlignment=e.horizontalAlignment,t.cutLayoutSide=e.verticalAlignment,t.cutSide="vertical",t.position={horizontal:e.horizontalAlignment,vertical:e.verticalAlignment}},hasText:function(){return this._hasText},update:function(t,e){var i=(0,u.l)(!0,{},t,_s(e)),r=cs(i.text),n=r||r!==this._hasText;return this._baseLineCorrection=0,this._updateOptions(i),this._boundingRect={},r?(this._updateStructure(),this._updateTexts()):this._group.linkRemove(),this._updateBoundingRect(),this._updateBoundingRectAlignment(),this._hasText=r,n},draw:function(t,e){return this._hasText&&(this._group.linkAppend(),this._correctTitleLength(t),this._group.getBBox().height>e&&this.freeSpace()),this},_correctTitleLength:function(t){var e=this._options,i=e.margin,r=t-i.left-i.right,n=e.placeholderSize;ds(this._titleElement,e.text,r,e,n),this._subtitleElement&&(ss(n)>0&&(n-=this._titleElement.getBBox().height),ds(this._subtitleElement,e.subtitle.text,r,e.subtitle,n),this._shiftSubtitle()),this._updateBoundingRect();var{x:o,y:a,height:s}=this.getCorrectedLayoutOptions();this._clipRect.attr({x:o,y:a,width:t,height:s})},getLayoutOptions:function(){return this._boundingRect||null},shift:function(t,e){var i=this.getLayoutOptions();return this._group.move(t-i.x,e-i.y),this},_updateBoundingRect:function(){var t=this._options,e=t.margin,i=this._boundingRect,r=this._hasText?this._group.getBBox():{width:0,height:0,x:0,y:0,isEmpty:!0};r.isEmpty||(r.height+=e.top+e.bottom-this._baseLineCorrection,r.width+=e.left+e.right,r.x-=e.left,r.y+=this._baseLineCorrection-e.top),t.placeholderSize>0&&(r.height=t.placeholderSize),i.height=r.height,i.width=r.width,i.x=r.x,i.y=r.y},getCorrectedLayoutOptions(){var t=this.getLayoutOptions(),e=this._baseLineCorrection;return(0,u.l)({},t,{y:t.y-e,height:t.height+e})},layoutOptions:function(){return this._hasText?{horizontalAlignment:this._boundingRect.horizontalAlignment,verticalAlignment:this._boundingRect.verticalAlignment,priority:0}:null},measure:function(t){return this.draw(t[0],t[1]),[this._boundingRect.width,this._boundingRect.height]},move:function(t,e){var i=this._boundingRect;fs(t,i)?this.shift(e[0],e[1]):this.shift(Math.round(t[0]),Math.round(t[1]))},freeSpace:function(){this._params.incidentOccurred("W2103"),this._group.linkRemove(),this._boundingRect.width=this._boundingRect.height=0},getOptions:function(){return this._options},changeLink:function(t){this._group.linkRemove(),this._group.linkOn(t,"title")}});var vs={name:"title",init:function(){this._title=new ms({renderer:this._renderer,cssClass:this._rootClassPrefix+"-title",incidentOccurred:this._incidentOccurred}),this._layout.add(this._title)},dispose:function(){this._title.dispose(),this._title=null},customize:function(t){t.addChange({code:"TITLE",handler:function(){this._title.update(this._themeManager.theme("title"),this.option("title"))&&this._change(["LAYOUT"])},isThemeDependent:!0,option:"title",isOptionChange:!0})},fontFields:["title.font","title.subtitle.font"]},bs=Number,ys=Math,xs=ys.round,ws=ys.max,Cs=ys.min,Ss=ys.ceil,ks=l.$K,As=l.mf,Ts=at,Es=tt,Os=u.l,Ps=10,Is=2,Ls=5,Bs="center",Rs="right",Vs="left",Ds="top",zs="bottom",Ms="horizontal",Fs="vertical",Ns="inside",Gs="outside",Hs="none",Zs="height",$s="width",Xs=Ts([Vs,Bs,Rs]),Ys=Ts([Ds,zs]),js=Ts([Fs,Ms]),Ks=Ts([Vs,Rs,Ds,zs]),Us=Ts([Gs,Ns]),Ws=Ts([Vs,Bs,Rs]);function qs(t,e,i){if(t){var r=t.fill;return(0,u.l)({},{state:i,fill:r===Hs?e:r,opacity:t.opacity,hatching:Os({},t.hatching,{step:Ls,width:Is})})}}function Js(t,e,i){var r=Dn(t,e);return r.fill&&0===r.fill.indexOf("DevExpress")&&(r.fill=Ln(r.fill)),r.opacity=r.opacity>=0?r.opacity:1,(0,u.l)({},r,{size:i})}function Qs(t){var e=t.margin;e>=0?(e=bs(t.margin),e={top:e,bottom:e,left:e,right:e}):e={top:e.top>=0?bs(e.top):Ps,bottom:e.bottom>=0?bs(e.bottom):Ps,left:e.left>=0?bs(e.left):Ps,right:e.right>=0?bs(e.right):Ps},t.margin=e}function tl(t,e,i){var r,n;switch(t.itemTextPosition){case Vs:case Rs:r=e.width+7+i.width,n=ws(e.height,i.height);break;case Ds:case zs:r=ws(e.width,i.width),n=e.height+4+i.height}return{width:r,height:n}}function el(t,e){var i={};return i.left=Cs(t.x,e.x),i.top=Cs(t.y,e.y),i.right=ws(t.x+t.width,e.x+e.width),i.bottom=ws(t.y+t.height,e.y+e.height),i}function il(t,e,i,r){var n=e&&i[e[t]];n&&n.renderMarker(n.states[r])}function rl(t,e,i){return t?(Qs(t),t.horizontalAlignment=Xs(t.horizontalAlignment,Rs),t.verticalAlignment=Ys(t.verticalAlignment,t.horizontalAlignment===Bs?zs:Ds),t.orientation=js(t.orientation,t.horizontalAlignment===Bs?Ms:Fs),t.itemTextPosition=Ks(t.itemTextPosition,t.orientation===Ms?zs:Rs),t.position=i?Us(t.position,Gs):Gs,t.itemsAlignment=Ws(t.itemsAlignment,null),t.hoverMode=Es(t.hoverMode),t.customizeText=As(t.customizeText)?t.customizeText:function(){return this[e]},t.customizeHint=As(t.customizeHint)?t.customizeHint:s.ZT,t._incidentOccurred=t._incidentOccurred||s.ZT,t):null}function nl(t,e){return t.rect(0,0,e,e)}function ol(t,e){return t.circle(e/2,e/2,e/2)}function al(t){return"circle"===Es(t)}function sl(t,e,i){return e>=t.left&&e<=t.right&&i>=t.top&&i<=t.bottom}function ll(t,e,i,r){var n={x:0,y:0},o=0,a=0,s=0;if(s="y"===e.direction?r.top+r.bottom:r.left+r.right,t.forEach((function(t,i){var r=t[0],s=t.length;t.forEach((function(t,i){var r=t.offset||e.spacing;n[e.direction]+=t[e.measure]+(i!==s-1?r:0),o=ws(o,n[e.direction])})),n[e.direction]=0,n[e.altDirection]+=r[e.altMeasure]+r.altOffset||e.altSpacing,a=ws(a,n[e.altDirection])})),o+s>e.length)return e.countItem=ul(e,i),!0}function ul(t,e){return t.altCountItem++,Ss(e/t.altCountItem)}function hl(t,e){return t.reduce(((t,i)=>{var r=i.offset||e.spacing;return t+i[e.measure]+r}),0)}function cl(t,e){return t.reduce(((t,i)=>ws(t,hl(i,e))),0)}function dl(t,e,i){var r,n=hl(t,e);switch(e.itemsAlignment){case Rs:r=i-n;break;case Bs:r=(i-n)/2;break;default:r=0}return r}function pl(t){switch(t.itemTextPosition){case zs:return{horizontal:Bs,vertical:Ds};case Ds:return{horizontal:Bs,vertical:zs};case Vs:return{horizontal:Rs,vertical:Bs};case Rs:return{horizontal:Vs,vertical:Bs}}}function gl(t,e,i){var r={};return i%e.countItem===0&&(e.markerOffset?t.push([],[]):t.push([])),e.markerOffset?(r.firstLine=t[t.length-1],r.secondLine=t[t.length-2]):r.firstLine=r.secondLine=t[t.length-1],r}function fl(t,e){var i=t.reduce(((t,i)=>{var r=i?i[e]:t;return ws(t,r)}),0);t.forEach((t=>{t&&(t[e]=i)}))}function ml(t){var e,i,r=t.length,n=t[0].length,o=[];for(e=0;e<n;e++)for(o[e]=[],i=0;i<r;i++)o[e][i]=t[i][e];return o}function _l(t){switch(t){case Ds:case zs:return Bs;case Vs:return Rs;case Rs:return Vs}}var vl=function(t){return al(t)?ol:nl};function bl(t){return t.horizontalAlignment===Bs?Bs:t.itemTextPosition===Rs?Vs:t.itemTextPosition===Vs?Rs:Bs}var yl=function(t){this._renderer=t.renderer,this._legendGroup=t.group,this._backgroundClass=t.backgroundClass,this._itemGroupClass=t.itemGroupClass,this._textField=t.textField,this._getCustomizeObject=t.getFormatObject,this._titleGroupClass=t.titleGroupClass,this._allowInsidePosition=t.allowInsidePosition,this._widget=t.widget,this._updated=!1},xl=yl,wl=xl.prototype=(0,ts.d9)(ns.prototype);(0,u.l)(wl,{constructor:xl,getOptions:function(){return this._options},update:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this;e=r._options=rl(e,r._textField,r._allowInsidePosition)||{};var n=e.markerSize;if(this._updated=!0,this._data=t.map((t=>(t.size=bs(t.size>0?t.size:n),t.marker=Js(t,t.states.normal),Object.defineProperty(t.marker,"size",{get:()=>t.size,set(e){t.size=e}}),Object.defineProperty(t.marker,"opacity",{get:()=>t.states.normal.opacity,set(e){t.states.normal.opacity=t.states.hover.opacity=t.states.selection.opacity=e}}),t))),e.customizeItems&&(r._data=e.customizeItems(t.slice())||t),r._boundingRect={width:0,height:0,x:0,y:0},r.isVisible()&&!r._title&&(r._title=new ms({renderer:r._renderer,cssClass:r._titleGroupClass,root:r._legendGroup})),r._title){var o=e.title;i.horizontalAlignment=bl(e),r._title.update(i,o)}return this.erase(),r},isVisible:function(){return this._options&&this._options.visible},draw:function(t,e){var i=this._getItemData();if(this.erase(),!(this.isVisible()&&i&&i.length))return this;if(this._insideLegendGroup=this._renderer.g().enableLinks().append(this._legendGroup),this._title.changeLink(this._insideLegendGroup),this._createBackground(),this._title.hasText()){var r=this._background?2*this._options.paddingLeftRight:0;this._title.draw(t-r,e)}return this._markersGroup=this._renderer.g().attr({class:this._itemGroupClass}).append(this._insideLegendGroup),this._createItems(i),this._updateElementsPosition(t,e),this},_measureElements:function(){var t=this._options,e=0;this._items.forEach((i=>{var r=i.label.getBBox(),n=i.marker.getBBox();i.markerBBox=n,i.markerSize=Math.max(n.width,n.height);var o=tl(t,n,r);i.labelBBox=r,i.bBox=o,e=ws(e,o.height)})),t.equalRowHeight&&this._items.forEach((t=>t.bBox.height=e))},_updateElementsPosition:function(t,e){var i=this._options;this._size={width:t,height:e},this._measureElements(),this._locateElements(i),this._finalUpdate(i);var r=this.getLayoutOptions();(r.width>t||r.height>e)&&this.freeSpace()},_createItems:function(t){var e=this,i=e._options,r=e._renderer,n=vl(i.markerShape);e._markersId={};var o=i.markerTemplate?i.markerTemplate:(t,e)=>{var i=t.marker;n(r,i.size).attr({fill:i.fill,opacity:i.opacity}).append({element:e})},a=e._widget._getTemplate(o),s=e._markersGroup;s.css(st(i.font)),e._deferredItems=[],e._templatesGroups=[],e._items=(t||[]).map(((t,n)=>{var o=t.states,l=o.normal,h=l.fill;t.size=t.marker.size;var c={normal:(0,u.l)(l,{fill:h||i.markerColor||i.defaultColor,state:"normal"}),hover:qs(o.hover,h,"hovered"),selection:qs(o.selection,h,"selected")};t.states=c;var d=r.g().append(s),p=r.g().attr({class:"dxl-marker"}).append(d);e._deferredItems[n]=new Ta.BH,e._templatesGroups.push(p);var g={label:e._createLabel(t,d),marker:p,renderer:r,group:d,tracker:{id:t.id,argument:t.argument,argumentIndex:t.argumentIndex},states:c,itemTextPosition:i.itemTextPosition,markerOffset:0,bBoxes:[],renderMarker(i){t.marker=Js(g,i,t.size),p.clear(),a.render({model:t,container:p.element,onRendered:e._deferredItems[n].resolve})}};return g.renderMarker(c.normal),e._createHint(t,d),void 0!==t.id&&(e._markersId[t.id]=n),g}))},getTemplatesGroups:function(){return this._templatesGroups||[]},getTemplatesDef:function(){return this._deferredItems||[]},_getItemData:function(){var t=this._data||[],e=this._options||{};return e.inverted&&(t=t.slice().reverse()),t.filter((t=>t.visible))},_finalUpdate:function(t){this._adjustBackgroundSettings(t),this._setBoundingRect(t.margin)},erase:function(){var t=this._insideLegendGroup;return t&&t.dispose(),this._insideLegendGroup=this._markersGroup=this._x1=this._x2=this._y2=this._y2=null,this},_locateElements:function(t){this._moveInInitialValues(),this._locateRowsColumns(t)},_moveInInitialValues:function(){this._title.hasText()&&this._title.move([0,0]),this._legendGroup&&this._legendGroup.move(0,0),this._background&&this._background.attr({x:0,y:0,width:0,height:0})},applySelected:function(t){return il(t,this._markersId,this._items,"selection"),this},applyHover:function(t){return il(t,this._markersId,this._items,"hover"),this},resetItem:function(t){return il(t,this._markersId,this._items,"normal"),this},_createLabel:function(t,e){var i=this._getCustomizeObject(t),r=this._options,n=_l(r.itemTextPosition),o=r.customizeText.call(i,i),a=ks(t.textOpacity)?{color:r.font.color,opacity:t.textOpacity}:{};return this._renderer.text(o,0,0).css(st(a)).attr({align:n,class:r.cssClass}).append(e)},_createHint:function(t,e){var i=this._getCustomizeObject(t),r=this._options.customizeHint.call(i,i);ks(r)&&""!==r&&e.setTitle(r)},_createBackground:function(){var t=this._options.position===Ns,e=this._options.backgroundColor,i=e||(t?this._options.containerBackgroundColor:Hs);(this._options.border.visible||(t||e)&&e!==Hs)&&(this._background=this._renderer.rect(0,0,0,0).attr({fill:i,class:this._backgroundClass}).append(this._insideLegendGroup))},_locateRowsColumns:function(t){var e,i=0,r=this._getItemsLayoutOptions(),n=this._items.length;do{e=[],this._createLines(e,r),this._alignLines(e,r),i++}while(ll(e,r,n,t.margin)&&i<n);this._applyItemPosition(e,r)},_createLines:function(t,e){this._items.forEach(((i,r)=>{var n,o,a=gl(t,e,r),s={width:i.labelBBox.width,height:i.labelBBox.height,element:i.label,bBox:i.labelBBox,pos:pl(e),itemIndex:r},l={width:i.markerBBox.width,height:i.markerBBox.height,element:i.marker,pos:{horizontal:Bs,vertical:Bs},bBox:{width:i.markerBBox.width,height:i.markerBBox.height,x:i.markerBBox.x,y:i.markerBBox.y},itemIndex:r},u=e.markerOffset?"altOffset":"offset";e.inverseLabelPosition?(n=s,o=l):(n=l,o=s),n[u]=e.labelOffset,a.secondLine.push(n),a.firstLine.push(o)}))},_alignLines:function(t,e){var i,r=e.altMeasure;if(t.forEach((t=>fl(t,r))),r=e.measure,e.itemsAlignment){if(e.markerOffset)for(i=0;i<t.length;)ml([t[i++],t[i++]]).forEach(n)}else ml(t).forEach(n);function n(t){fl(t,r)}},_applyItemPosition:function(t,e){var i=this,r={x:0,y:0},n=cl(t,e);t.forEach((t=>{var o=t[0],a=o.altOffset||e.altSpacing;r[e.direction]=dl(t,e,n),t.forEach((t=>{var n=t.offset||e.spacing,o=new os(t.element,t.bBox),a={x:r.x,y:r.y,width:t.width,height:t.height},s=new os(null,a),l=i._items[t.itemIndex];o.position({of:s,my:t.pos,at:t.pos}),l.bBoxes.push(s),r[e.direction]+=t[e.measure]+n})),r[e.altDirection]+=o[e.altMeasure]+a})),this._items.forEach((t=>{var e=el(t.bBoxes[0].getLayoutOptions(),t.bBoxes[1].getLayoutOptions()),r=i._options.columnItemSpacing/2,n=i._options.rowItemSpacing/2;t.tracker.left=e.left-r,t.tracker.right=e.right+r,t.tracker.top=e.top-n,t.tracker.bottom=e.bottom+n}))},_getItemsLayoutOptions:function(){var t=this._options,e=t.orientation,i={itemsAlignment:t.itemsAlignment,orientation:t.orientation},r=this._size.width-(this._background?2*t.paddingLeftRight:0),n=this._size.height-(this._background?2*t.paddingTopBottom:0);return e===Ms?(i.length=r,i.spacing=t.columnItemSpacing,i.direction="x",i.measure=$s,i.altMeasure=Zs,i.altDirection="y",i.altSpacing=t.rowItemSpacing,i.countItem=t.columnCount,i.altCountItem=t.rowCount,i.marginTextLabel=4,i.labelOffset=7,t.itemTextPosition!==zs&&t.itemTextPosition!==Ds||(i.labelOffset=4,i.markerOffset=!0)):(i.length=n,i.spacing=t.rowItemSpacing,i.direction="y",i.measure=Zs,i.altMeasure=$s,i.altDirection="x",i.altSpacing=t.columnItemSpacing,i.countItem=t.rowCount,i.altCountItem=t.columnCount,i.marginTextLabel=7,i.labelOffset=4,t.itemTextPosition!==Rs&&t.itemTextPosition!==Vs||(i.labelOffset=7,i.markerOffset=!0)),i.countItem||(i.altCountItem?i.countItem=Ss(this._items.length/i.altCountItem):i.countItem=this._items.length),t.itemTextPosition!==Ds&&t.itemTextPosition!==Vs||(i.inverseLabelPosition=!0),i.itemTextPosition=t.itemTextPosition,i.altCountItem=i.altCountItem||Ss(this._items.length/i.countItem),i},_adjustBackgroundSettings:function(t){if(this._background){var e=t.border,i=this._calculateTotalBox(),r={x:xs(i.x-t.paddingLeftRight),y:xs(i.y-t.paddingTopBottom),width:xs(i.width)+2*t.paddingLeftRight,height:xs(i.height),opacity:t.backgroundOpacity};e.visible&&e.width&&e.color&&e.color!==Hs&&(r["stroke-width"]=e.width,r.stroke=e.color,r["stroke-opacity"]=e.opacity,r.dashStyle=e.dashStyle,r.rx=e.cornerRadius||0,r.ry=e.cornerRadius||0),this._background.attr(r)}},_setBoundingRect:function(t){if(this._insideLegendGroup){var e=this._calculateTotalBox();e.height+=t.top+t.bottom,e.widthWithoutMargins=e.width,e.width+=t.left+t.right,e.x-=t.left,e.y-=t.top,this._boundingRect=e}},_calculateTotalBox:function(){var t=this._markersGroup.getBBox(),e=this._title.getCorrectedLayoutOptions(),i=this._insideLegendGroup.getBBox(),r=this._background?2*this._options.paddingTopBottom:0;return i.height=t.height+e.height+r,e.width>i.width&&(i.width=e.width),i},getActionCallback:function(t){var e=this;return e._options.visible?function(i){e[i](t.index)}:s.ZT},getLayoutOptions:function(){var t=this._options,e=this._insideLegendGroup?this._boundingRect:{width:0,height:0,x:0,y:0};return t?(e.verticalAlignment=t.verticalAlignment,e.horizontalAlignment=t.horizontalAlignment,t.orientation===Ms||t.horizontalAlignment===Bs?(e.cutLayoutSide=t.verticalAlignment,e.cutSide="vertical"):(e.cutLayoutSide=t.horizontalAlignment,e.cutSide="horizontal"),e.position={horizontal:t.horizontalAlignment,vertical:t.verticalAlignment},e):null},shift:function(t,e){var i={};return this._insideLegendGroup&&this._insideLegendGroup.attr({translateX:t-this._boundingRect.x,translateY:e-this._boundingRect.y}),this._title&&this._shiftTitle(this._boundingRect.widthWithoutMargins),this._markersGroup&&this._shiftMarkers(),this._insideLegendGroup&&(i=this._legendGroup.getBBox()),this._x1=i.x,this._y1=i.y,this._x2=i.x+i.width,this._y2=i.y+i.height,this},_shiftTitle:function(t){var e=this._title,i=e.getCorrectedLayoutOptions();if(i&&e.hasText()){var r=t-(this._background?2*this._options.paddingLeftRight:0),n=e.getOptions(),o=i.y+n.margin.top,a=0;n.verticalAlignment===zs&&this._markersGroup&&(o+=this._markersGroup.getBBox().height),n.horizontalAlignment===Rs?a=r-i.width:n.horizontalAlignment===Bs&&(a=(r-i.width)/2),e.shift(a,o)}},_shiftMarkers:function(){var t=this._title.getLayoutOptions(),e=this._markersGroup.getBBox(),i=this._title.getOptions()||{},r=0,n=0;t.width>e.width&&this._options.horizontalAlignment===Bs&&(r=t.width/2-e.width/2),i.verticalAlignment===Ds&&(n=t.height),0===r&&0===n||(this._markersGroup.attr({translateX:r,translateY:n}),this._items.forEach((t=>{t.tracker.left+=r,t.tracker.right+=r,t.tracker.top+=n,t.tracker.bottom+=n})))},getPosition:function(){return this._options.position},coordsIn:function(t,e){return t>=this._x1&&t<=this._x2&&e>=this._y1&&e<=this._y2},getItemByCoord:function(t,e){var i=this._items,r=this._insideLegendGroup;t-=r.attr("translateX"),e-=r.attr("translateY");for(var n=0;n<i.length;n++)if(sl(i[n].tracker,t,e))return i[n].tracker;return null},dispose:function(){return this._title&&this._title.dispose(),this._legendGroup=this._insideLegendGroup=this._title=this._renderer=this._options=this._data=this._items=null,this},layoutOptions:function(){if(!this.isVisible())return null;var t=this.getLayoutOptions();return{horizontalAlignment:this._options.horizontalAlignment,verticalAlignment:this._options.verticalAlignment,side:t.cutSide,priority:1,position:this.getPosition()}},measure:function(t){this._updated||!this._insideLegendGroup?(this.draw(t[0],t[1]),this._updated=!1):(this._items.forEach((t=>{t.bBoxes=[]})),this._updateElementsPosition(t[0],t[1]));var e=this.getLayoutOptions();return[e.width,e.height]},move:function(t){this.shift(t[0],t[1])},freeSpace:function(){this._options._incidentOccurred("W2104"),this.erase()}});var Cl=i(22561),Sl={string:function(t){return(0,l.$K)(t)?""+t:t},numeric:function(t){if(!(0,l.$K)(t))return t;var e=Number(t);return isNaN(e)&&(e=void 0),e},datetime:function(t){if(!(0,l.$K)(t))return t;var e,i=Number(t);return e=isNaN(i)?Cl.Z.deserializeDate(t):new Date(i),isNaN(Number(e))&&(e=void 0),e}};function kl(t){return"numeric"===t||"datetime"===t||"string"===t?t:""}var Al=function(t){return Sl[kl(t)]||s.ZT},Tl="string",El="numeric",Ol="datetime",Pl="discrete",Il="semidiscrete",Ll="continuous",Bl="logarithmic",Rl="valueType",Vl="argumentType",Dl=at([Tl,El,Ol]),zl=Array.isArray;function Ml(t,e,i,r){r>=0&&t.slice(r).forEach((function(t){(0,l.$K)(t[i])&&(e[i]+=t[i],t[i]=void 0)}))}function Fl(t){t.forEach((function(t){t.valueType=t.valueAxisType=null,t.series.forEach((function(t){t.updateDataType({})})),t.valueAxis&&t.valueAxis.resetTypes(Rl)}))}function Nl(t,e,i){var r=e?function(t,e){return t-e}:function(t,e){return e-t};return t.sort((function(t,e){var n=i(t),o=i(e),a=(0,l.$K)(n)?1:0,s=(0,l.$K)(o)?1:0;return a&&s?r(n,o):r(a,s)})),t}function Gl(t){t&&t.forEach((function(t){t.resetTypes(Vl)}))}function Hl(t,e){var i=[];return t.forEach((function(t){var r=e(t);void 0!==r&&i.push(r)})),i}function Zl(t,e){var i=t.argumentOptions&&t.argumentOptions.categories;t.groups.forEach((function(t,i){var r=t.valueOptions&&t.valueOptions.categories;r&&(t.valueOptions.categories=Hl(r,e[i+1]))})),i&&(t.argumentOptions.categories=Hl(i,e[0]))}function $l(t){return t}function Xl(t,e){var i=e;return e===Tl||(0,l.HD)(t)?i=Tl:e===Ol||(0,l.J_)(t)?i=Ol:(0,l.kE)(t)&&(i=El),i}function Yl(t,e,i,r){return t!==Tl||e!==Ll&&e!==Bl&&e!==Il||r("E2002"),e===Bl?Bl:i||e===Pl||t===Tl?Pl:e===Il?Il:Ll}function jl(t,e,i){t&&i((0,l.kE)(t)||(0,l.J_)(t)||(0,l.HD)(t)?"E2004":"E2003",[e])}function Kl(t,e,i){var r=t?Al(t):$l,n=e!==Pl?function(t){return isFinite(t)||void 0===t?t:null}:$l;return function(t,e){var o=n(r(t));return void 0===o&&jl(t,e,i),o}}function Ul(t,e){var i,r,n=Kl(t.argumentType,t.argumentAxisType,e),o=[n],a={},s=[];for(var l in t.groups.forEach((function(t,s){t.series.forEach((function(l){r=Kl(t.valueType,t.valueAxisType,e),i=Kl(El,Ll,e),a[l.getArgumentField()]=n,l.getValueFields().forEach((function(t){o[s+1]=r,a[t]=r})),l.getSizeField()&&(a[l.getSizeField()]=i)}))})),a)s.push([l,a[l]]);return s.length&&Zl(t,o),s}function Wl(t,e){var i,r,n,o=e.length,a=(0,u.l)({},t);for(i=0;i<o;++i)r=e[i][0],n=t[r],a[r]=e[i][1](n,r);return a}function ql(t,e){var i,r=[],n=t.length;for(r.length=n,i=0;i<n;++i)r[i]=Wl(t[i],e);return r}function Jl(t,e,i){var r,n,o=t.length;for(r=0;r<o;++r)if(n=t[r][e],(0,l.$K)(n)&&i>n)break;return r}function Ql(t,e,i,r){r=r||{};var n=r.mode,o={};if(n&&"none"!==n){o[e]=String(r.groupName||"others"),o[i]=0;var a=Nl(t.slice(),!1,(function(t){return t[i]}));Ml(a,o,i,"smallValueThreshold"===n?Jl(a,i,r.threshold):r.topCount),o[i]&&t.push(o)}}function tu(t,e){var i=e.groups[0]&&e.groups[0].series[0],r=i&&("pie"===i.type||"doughnut"===i.type||"donut"===i.type);r&&e.groups.forEach((function(e){e.series.forEach((function(e){Ql(t,e.getArgumentField(),e.getValueFields()[0],e.getOptions().smallValuesGrouping)}))}))}function eu(t,e,i){i[t]||(e.push(t),i[t]=!0)}function iu(t){var e=[],i={};return t.groups.forEach((function(t){t.series.forEach((function(t){eu(t.getArgumentField(),e,i)}))})),e}function ru(t,e){var i=t-e;return isNaN(i)?(0,l.$K)(t)?(0,l.$K)(e)?0:-1:1:i}function nu(t,e){return t.slice().sort((function(t,i){return ru(t[e],i[e])}))}function ou(t,e){return t.slice().sort(e)}function au(t,e){return t.series.forEach((function(i){i.getValueFields().forEach((function(i){t.valueType=Xl(e[i],t.valueType)}))})),t.valueType}function su(t){var e={};return t.forEach((function(t,i){e[t]=i})),function(t,i){return Nl(t.slice(),!0,(function(t){return e[t[i]]}))}}function lu(t,e,i,r){var n,o={},a=e.argumentAxisType===Pl,s=a&&e.argumentOptions&&e.argumentOptions.categories,u=function(t){return t},h=i.sortingMethod;return!s&&(0,l.mf)(h)&&(t=ou(t,h)),a&&(e.categories=hu(t,r,s)),s||!(0,l.mf)(h)&&e.argumentType===Tl&&!i._skipArgumentSorting?u=su(e.categories):!0===h&&e.argumentType!==Tl&&(u=nu,n=a),r.forEach((function(e){o[e]=u(t,e)})),n&&(e.categories=e.categories.sort(ru)),o}function uu(t,e){return-1===t.map((function(t){return t.valueOf()})).indexOf(e.valueOf())}function hu(t,e,i){var r=i?i.slice():[];return e.forEach((function(e){t.forEach((function(t){var i=t[e];(0,l.$K)(i)&&uu(r,i)&&r.push(i)}))})),r}function cu(t,e,i){return t.forEach((function(t){i.argumentType=Xl(e[t.getArgumentField()],i.argumentType)})),i.argumentType}function du(t,e,i){var r,n=[],o=[],a=e.argumentOptions&&Dl(e.argumentOptions.argumentType);e.groups.forEach((function(t){if(t.series.length){var i=t.valueOptions&&Dl(t.valueOptions.valueType);t.valueType=i,e.argumentType=a,!i&&n.push(t),!a&&o.push(t)}})),(n.length||o.length)&&(r=n.map((function(t,e){return e})),t.some((function(t){var a;if(n.forEach((function(e,i){au(e,t)&&r.indexOf(i)>=0&&r.splice(i,1)})),a||o.forEach((function(i){a=cu(i.series,t,e)})),!i&&a&&0===r.length)return!0})))}function pu(t,e){var i=t.argumentOptions||{},r=i&&i.categories||[],n=Yl(t.argumentType,i.type,!!r.length,e);t.groups.forEach((function(i){var r=i.valueOptions||{},o=r.categories||[],a=Yl(i.valueType,r.type,!!o.length,e);i.series.forEach((function(e){var o={};o.argumentAxisType=n,o.valueAxisType=a,t.argumentAxisType=t.argumentAxisType||o.argumentAxisType,i.valueAxisType=i.valueAxisType||o.valueAxisType,o.argumentType=t.argumentType,o.valueType=i.valueType,o.showZero=r.showZero,e.updateDataType(o)})),i.valueAxisType=i.valueAxisType||a,i.valueAxis&&(i.valueAxis.setTypes(i.valueAxisType,i.valueType,Rl),i.valueAxis.validate())})),t.argumentAxisType=t.argumentAxisType||n,t.argumentAxes&&t.argumentAxes.forEach((function(e){e.setTypes(t.argumentAxisType,t.argumentType,Vl),e.validate()}))}function gu(t,e){var i,r,n,o,a=[],s=(0,l.$K)(t),u=s&&!zl(t);if(s&&!u)for(i=0,r=t.length,n=0;i<r;++i)o=t[i],(0,l.Kn)(o)?a[n++]=o:o&&(u=!0);return u&&e("E2001"),a}function fu(t,e,i,r){t=gu(t,i),e.argumentType=e.argumentAxisType=null,Fl(e.groups),Gl(e.argumentAxes),du(t,e,r.checkTypeForAllData),pu(e,i),r.convertToAxisDataType&&(t=ql(t,Ul(e,i))),tu(t,e);var n=lu(t,e,r,iu(e));return n}var mu=i(29966),_u=i(24624),vu="{",bu="}",yu=":";function xu(t,e){if(e){if(t instanceof Date)return(0,_u.p6)(t,e);if("number"===typeof t)return(0,_u.uf)(t,e)}return t}function wu(t,e){var i="",r=t.indexOf(yu);return r>0&&(i=t.substr(r+1),t=t.substr(0,r)),xu(e[t],i)}function Cu(t,e){var i=t,r=!0;while(r){var n=i.indexOf(vu),o=i.indexOf(bu);if(n>=0&&o>0){var a=i.substring(n+1,o),s=wu(a,e);i=i.substr(0,n)+s+i.substr(o+1)}else r=!1}return i}var Su=mu.Z.format,ku=Math,Au=ku.round,Tu=ku.floor,Eu=ku.abs,Ou=12,Pu=8,Iu=4;function Lu(t,e){var i,r=1/0;return(0,h.S6)(e,(function(e,n){var o=t[0]-n[0],a=t[1]-n[1],s=o*o+a*a;s<r&&(r=s,i=n)})),[Tu(i[0]),Tu(i[1])]}function Bu(t,e,i){return(e-t[0+i])/(t[2+i]-t[0+i])*(t[3-i]-t[1-i])+t[1-i]}var Ru={isLabelInside:function(t,e){var i=t.x+t.width/2,r=t.y+t.height/2;return e.x<=i&&i<=e.x+e.width&&e.y<=r&&r<=e.y+e.height},prepareLabelPoints:function(t,e,i,r,n){var o,a=e.x,s=a+e.width/2,l=a+e.width-1,u=e.y,h=u+e.height/2,c=u+e.height-1,d=Eu(r)%90===0;return o=n[0]>a&&n[0]<l?d?[[n[0],Eu(n[1]-u)<Eu(n[1]-c)?u:c]]:[[n[0],Bu([a,u,l,c],n[0],0)]]:n[1]>u&&n[1]<c?d?[[Eu(n[0]-a)<Eu(n[0]-l)?a:l,n[1]]]:[[Bu([a,u,l,c],n[1],1),n[1]]]:d?[[a,u],[i?a:s,i?h:u],[l,u],[a,c],[i?l:s,i?h:c],[l,c]]:[[s,h]],o},isHorizontal:function(t,e){return t.x>e.x+e.width||t.x+t.width<e.x},getFigureCenter:function(t){return[Tu(t.x+t.width/2),Tu(t.y+t.height/2)]},findFigurePoint:function(t,e){var i=Ru.getFigureCenter(t),r=Lu(e,[[t.x,i[1]],[i[0],t.y+t.height],[t.x+t.width,i[1]],[i[0],t.y]]);return r},adjustPoints:function(t){var e=Eu(t[1]-t[3])<=1,i=Eu(t[0]-t[2])<=1;return i&&(t[0]=t[2]),e&&(t[1]=t[3]),t}},Vu={isLabelInside:function(){return!1},prepareLabelPoints:Ru.prepareLabelPoints,isHorizontal:function(t,e){return t.x>e.x+e.r||t.x+t.width<e.x-e.r},getFigureCenter:function(t){return[t.x,t.y]},findFigurePoint:function(t,e){var i=Math.atan2(t.y-e[1],e[0]-t.x);return[Au(t.x+t.r*Math.cos(i)),Au(t.y-t.r*Math.sin(i))]},adjustPoints:Ru.adjustPoints},Du={isLabelInside:function(t,e,i){return!i},prepareLabelPoints:function(t,e,i,r){var n=t.x,o=n+t.width,a=n+Au(t.width/2),s=t.y,l=s+t.height,u=s+Au(t.height/2),h=[[[n,s],[o,s]],[[o,s],[o,l]],[[o,l],[n,l]],[[n,l],[n,s]]],c=q(r);return h=0===r?i?[[n,u],[o,u]]:[[a,s],[a,l]]:h.map((function(t){return t.map((function(t){return[Au((t[0]-a)*c.cos+(t[1]-u)*c.sin+a),Au(-(t[0]-a)*c.sin+(t[1]-u)*c.cos+u)]}))})).reduce((function(t,e){var r=e[0][0],n=e[0][1],o=e[1][0],s=e[1][1];return i?(n>=u&&u>=s||n<=u&&u<=s)&&t.push([(u-n)*(o-r)/(s-n)+r,u]):(r>=a&&a>=o||r<=a&&a<=o)&&t.push([a,(a-r)*(s-n)/(o-r)+n]),t}),[]),h},isHorizontal:function(t,e){return t.x>e.x||e.x>t.x+t.width},getFigureCenter:Vu.getFigureCenter,findFigurePoint:function(t,e,i){if(!i)return[t.x,t.y];var r=e[0],n=Au(t.x+(t.y-e[1])/Math.tan(W(t.angle))),o=[t.x,t.y,n,e[1]];return t.x<=n&&n<=r||r<=n&&n<=t.x||(Eu(t.x-r)<Ou?o=[t.x,t.y]:t.x<=r?o[2]=t.x+Ou:o[2]=t.x-Ou),o},adjustPoints:function(t){return t}};function zu(t){return void 0!==t.angle&&Du||void 0!==t.r&&Vu||Ru}function Mu(t,e){t[e]&&t[e].dispose(),t[e]=null}function Fu(t){return t&&(t.fill&&"none"!==t.fill||t["stroke-width"]>0&&t.stroke&&"none"!==t.stroke)}function Nu(t){return t&&t["stroke-width"]>0&&t.stroke&&"none"!==t.stroke}function Gu(t,e){var i=e.format;return t.valueText=Su(t.value,i),t.argumentText=Su(t.argument,e.argumentFormat),void 0!==t.percent&&(t.percentText=Su(t.percent,{type:"percent",precision:i&&i.percentPrecision})),void 0!==t.total&&(t.totalText=Su(t.total,i)),void 0!==t.openValue&&(t.openValueText=Su(t.openValue,i)),void 0!==t.closeValue&&(t.closeValueText=Su(t.closeValue,i)),void 0!==t.lowValue&&(t.lowValueText=Su(t.lowValue,i)),void 0!==t.highValue&&(t.highValueText=Su(t.highValue,i)),void 0!==t.reductionValue&&(t.reductionValueText=Su(t.reductionValue,i)),e.customizeText?e.customizeText.call(t,t):e.displayFormat?Cu(e.displayFormat,t):t.valueText}function Hu(t){this._renderer=t.renderer,this._container=t.labelsGroup,this._point=t.point,this._strategy=t.strategy,this._rowCount=1}Hu.prototype={constructor:Hu,setColor:function(t){this._color=t},setOptions:function(t){this._options=t},setData:function(t){this._data=t},setDataField:function(t,e){this._data=this._data||{},this._data[t]=e},getData:function(){return this._data},setFigureToDrawConnector:function(t){this._figure=t},dispose:function(){Mu(this,"_group"),this._data=this._options=this._textContent=this._visible=this._insideGroup=this._text=this._background=this._connector=this._figure=null},_setVisibility:function(t,e){this._group&&this._group.attr({visibility:t}),this._visible=e},isVisible:function(){return this._visible},hide:function(t){this._holdVisibility=!!t,this._hide()},_hide:function(){this._setVisibility("hidden",!1)},show:function(t){var e=!this._drawn;this._point.hasValue()&&(this._holdVisibility=!!t,this._show(),e&&this._point.correctLabelPosition(this))},_show:function(){var t=this._renderer,e=this._container,i=this._options||{},r=this._textContent=Gu(this._data,i)||null;r?(this._group||(this._group=t.g().append(e),this._insideGroup=t.g().append(this._group),this._text=t.text("",0,0).append(this._insideGroup)),this._text.css(i.attributes?st(i.attributes.font):{}),Fu(i.background)?(this._background=this._background||t.rect().append(this._insideGroup).toBackground(),this._background.attr(i.background),this._color&&this._background.attr({fill:this._color})):Mu(this,"_background"),Nu(i.connector)?(this._connector=this._connector||t.path([],"line").sharp().append(this._group).toBackground(),this._connector.attr(i.connector),this._color&&this._connector.attr({stroke:this._color})):Mu(this,"_connector"),this._text.attr({text:r,align:i.textAlignment,class:i.cssClass}),this._updateBackground(this._text.getBBox()),this._setVisibility("visible",!0),this._drawn=!0):this._hide()},_getLabelVisibility:function(t){return this._holdVisibility?this.isVisible():t},draw:function(t){return this._getLabelVisibility(t)?(this._show(),this._point&&this._point.correctLabelPosition(this)):(this._drawn=!1,this._hide()),this},_updateBackground:function(t){this._background&&(t.x-=Pu,t.y-=Iu,t.width+=2*Pu,t.height+=2*Iu,this._background.attr(t)),this._bBoxWithoutRotation=(0,u.l)({},t);var e=this._options.rotationAngle||0;this._insideGroup.rotate(e,t.x+t.width/2,t.y+t.height/2),t=nt(t,[t.x+t.width/2,t.y+t.height/2],-e),this._bBox=t},getFigureCenter(){var t=this._figure,e=this._strategy||zu(t);return e.getFigureCenter(t)},_getConnectorPoints:function(){var t,e,i=this._figure,r=this._options,n=this._strategy||zu(i),o=this._shiftBBox(this._bBoxWithoutRotation),a=this.getBoundingRect(),s=[];if(!n.isLabelInside(o,i,"inside"!==r.position)){e=n.isHorizontal(o,i);var l=this.getFigureCenter();s=n.prepareLabelPoints(o,a,e,-r.rotationAngle||0,l),t=Lu(l,s),s=n.findFigurePoint(i,t,e),s=s.concat(t)}return n.adjustPoints(s)},fit:function(t){var e=this._background?2*Pu:0,i=!1;if(this._text){var r=this._text.setMaxSize(t-e,void 0,this._options),n=r.rowCount;0===n&&(n=1),n!==this._rowCount&&(i=!0,this._rowCount=n),r.textIsEmpty&&Mu(this,"_background")}return this._updateBackground(this._text.getBBox()),i},resetEllipsis:function(){this._text&&this._text.restoreText(),this._updateBackground(this._text.getBBox())},setTrackerData:function(t){this._text.data({"chart-data-point":t}),this._background&&this._background.data({"chart-data-point":t})},hideInsideLabel:function(t){return this._point.hideInsideLabel(this,t)},getPoint(){return this._point},shift:function(t,e){return this._textContent&&(this._insideGroup.attr({translateX:this._x=Au(t-this._bBox.x),translateY:this._y=Au(e-this._bBox.y)}),this._connector&&this._connector.attr({points:this._getConnectorPoints()})),this},getBoundingRect:function(){return this._shiftBBox(this._bBox)},_shiftBBox:function(t){return this._textContent?{x:t.x+this._x,y:t.y+this._y,width:t.width,height:t.height}:{}},getLayoutOptions:function(){var t=this._options;return{alignment:t.alignment,background:Fu(t.background),horizontalOffset:t.horizontalOffset,verticalOffset:t.verticalOffset,radialOffset:t.radialOffset,position:t.position,connectorOffset:(Nu(t.connector)?Ou:0)+(Fu(t.background)?Pu:0)}}};var Zu=(0,Dt.Jj)(),$u=u.l,Xu=Math,Yu=Xu.round,ju=Xu.floor,Ku=Xu.ceil,Uu=20,Wu=20,qu=10,Ju="canvas_position_default";function Qu(t){return[-t,-t,t,-t,t,t,-t,t,-t,-t]}function th(t){var e=Ku(t);return[-e,0,0,-e,e,0,0,e,-e,0]}function eh(t){var e=Ku(t),i=ju(e/2),r=Ku(e/2);return[-e,-i,-i,-e,0,-r,i,-e,e,-i,r,0,e,i,i,e,0,r,-i,e,-e,i,-r,0]}function ih(t){return[-t,-t,t,-t,0,t,-t,-t]}function rh(t){return[-t,t,t,t,0,-t,-t,t]}var nh={deleteLabel:function(){this._label.dispose(),this._label=null},_hasGraphic:function(){return this.graphic},clearVisibility:function(){var t=this.graphic;t&&t.attr("visibility")&&t.attr({visibility:null})},isVisible:function(){return this.inVisibleArea&&this.series.isVisible()},setInvisibility:function(){var t=this.graphic;t&&"hidden"!==t.attr("visibility")&&t.attr({visibility:"hidden"}),this._errorBar&&this._errorBar.attr({visibility:"hidden"}),this._label.draw(!1)},clearMarker:function(){var t=this.graphic;t&&t.attr(this._emptySettings)},_createLabel:function(){this._label=new Hu({renderer:this.series._renderer,labelsGroup:this.series._labelsGroup,point:this})},_updateLabelData:function(){this._label.setData(this._getLabelFormatObject())},_updateLabelOptions:function(){!this._label&&this._createLabel(),this._label.setOptions(this._options.label)},_checkImage:function(t){return(0,l.$K)(t)&&("string"===typeof t||(0,l.$K)(t.url))},_fillStyle:function(){this._styles=this._options.styles},_checkSymbol:function(t,e){var i=t.symbol,r=e.symbol,n="circle"===i&&"circle"!==r||"circle"!==i&&"circle"===r,o=this._checkImage(t.image)!==this._checkImage(e.image);return!(!n&&!o)},_populatePointShape:function(t,e){switch(t){case"square":return Qu(e);case"polygon":return th(e);case"triangle":case"triangleDown":return ih(e);case"triangleUp":return rh(e);case"cross":return eh(e)}},hasCoords:function(){return null!==this.x&&null!==this.y},correctValue:function(t){var e=this.series.getValueAxis();this.hasValue()&&(this.value=this.properValue=e.validateUnit(this.initialValue.valueOf()+t.valueOf()),this.minValue=e.validateUnit(t))},resetCorrection:function(){this.value=this.properValue=this.initialValue,this.minValue=Ju},resetValue:function(){this.hasValue()&&(this.value=this.properValue=this.initialValue=0,this.minValue=0,this._label.setDataField("value",this.value))},_getTranslates:function(t){var e=this.x,i=this.y;return t&&(this._options.rotated?e=this.defaultX:i=this.defaultY),{x:e,y:i}},_createImageMarker:function(t,e,i){var r=i.width||Uu,n=i.height||Wu;return t.image(-Yu(.5*r),-Yu(.5*n),r,n,i.url?i.url.toString():i.toString(),"center").attr({translateX:e.translateX,translateY:e.translateY,visibility:e.visibility})},_createSymbolMarker:function(t,e){var i,r=this._options.symbol;return"circle"===r?(delete e.points,i=t.circle().attr(e)):"square"!==r&&"polygon"!==r&&"triangle"!==r&&"triangleDown"!==r&&"triangleUp"!==r&&"cross"!==r||(i=t.path([],"area").attr(e).sharp()),i},_createMarker:function(t,e,i,r){var n=this._checkImage(i)?this._createImageMarker(t,r,i):this._createSymbolMarker(t,r);return n&&n.data({"chart-data-point":this}).append(e),n},_getSymbolBBox:function(t,e,i){return{x:t-i,y:e-i,width:2*i,height:2*i}},_getImageBBox:function(t,e){var i=this._options.image,r=i.width||Uu,n=i.height||Wu;return{x:t-Yu(r/2),y:e-Yu(n/2),width:r,height:n}},_getGraphicBBox:function(){var t,e=this._options,i=this.x,r=this.y;return t=e.visible?this._checkImage(e.image)?this._getImageBBox(i,r):this._getSymbolBBox(i,r,e.styles.normal.r):{x:i,y:r,width:0,height:0},t},hideInsideLabel:s.ZT,_getShiftLabelCoords:function(t){var e=this._addLabelAlignmentAndOffset(t,this._getLabelCoords(t));return this._checkLabelPosition(t,e)},_drawLabel:function(){var t=this._getCustomLabelVisibility(),e=this._label,i=this._showForZeroValues()&&this.hasValue()&&!1!==t&&(this.series.getLabelVisibility()||t);e.draw(!!i)},correctLabelPosition:function(t){var e=this._getShiftLabelCoords(t);this.hideInsideLabel(t,e)||(t.setFigureToDrawConnector(this._getLabelConnector(t.pointPosition)),t.shift(Yu(e.x),Yu(e.y)))},_showForZeroValues:function(){return!0},_getLabelConnector:function(t){var e=this._getGraphicBBox(t),i=e.width/2,r=e.height/2;return{x:e.x+i,y:e.y+r,r:this._options.visible?Math.max(i,r):0}},_getPositionFromLocation:function(){return{x:this.x,y:this.y}},_isPointInVisibleArea:function(t,e){return t.minX<=e.x+e.width&&t.maxX>=e.x&&t.minY<=e.y+e.height&&t.maxY>=e.y},_checkLabelPosition:function(t,e){var i=this._getVisibleArea(),r=t.getBoundingRect(),n=this._getGraphicBBox(t.pointPosition),o=this._getGraphicBBox(),a="inside"===t.getLayoutOptions().position,s=qu;return this._isPointInVisibleArea(i,o)&&(this._options.rotated?(i.minX>e.x&&(e.x=a?i.minX:n.x+n.width+s),i.maxX<e.x+r.width&&(e.x=a?i.maxX-r.width:n.x-s-r.width),i.minY>e.y&&(e.y=i.minY),i.maxY<e.y+r.height&&(e.y=i.maxY-r.height)):(i.minX>e.x&&(e.x=i.minX),i.maxX<e.x+r.width&&(e.x=i.maxX-r.width),i.minY>e.y&&(e.y=a?i.minY:n.y+n.height+s),i.maxY<e.y+r.height&&(e.y=a?i.maxY-r.height:n.y-r.height-s))),e},_addLabelAlignmentAndOffset:function(t,e){var i=t.getBoundingRect(),r=t.getLayoutOptions();return this._options.rotated||("left"===r.alignment?e.x+=i.width/2:"right"===r.alignment&&(e.x-=i.width/2)),e.x+=r.horizontalOffset,e.y+=r.verticalOffset,e},_getLabelCoords:function(t){return this._getLabelCoordOfPosition(t,this._getLabelPosition(t.pointPosition))},_getLabelCoordOfPosition:function(t,e){var i=t.getBoundingRect(),r=this._getGraphicBBox(t.pointPosition),n=qu,o=r.height/2-i.height/2,a=r.width/2-i.width/2,s=r.x,l=r.y;switch(e){case"left":s-=i.width+n,l+=o;break;case"right":s+=r.width+n,l+=o;break;case"top":s+=a,l-=i.height+n;break;case"bottom":s+=a,l+=r.height+n;break;case"inside":s+=a,l+=o}return{x:s,y:l}},_drawMarker:function(t,e,i){var r=this._options,n=this._getTranslates(i),o=this._getStyle();this.graphic=this._createMarker(t,e,r.image,$u({translateX:n.x,translateY:n.y,points:this._populatePointShape(r.symbol,o.r)},o))},_getErrorBarSettings:function(){return{visibility:"visible"}},_getErrorBarBaseEdgeLength(){return 2*this.getPointRadius()},_drawErrorBar:function(t,e){if(this._options.errorBars){var i,r=this._options,n=r.errorBars,o=[],a=this._errorBarPos,s=this._highErrorCoord,u=this._lowErrorCoord,c=tt(n.displayMode),d="high"===c,p="low"===c,g=(d||!(0,l.$K)(u))&&(0,l.$K)(s)&&!p,f=(p||!(0,l.$K)(s))&&(0,l.$K)(u)&&!d,m=n.edgeLength;m<=1&&m>0&&(m=this._getErrorBarBaseEdgeLength()*n.edgeLength),m=ju(parseInt(m)/2),g&&(u=this._baseErrorBarPos),f&&(s=this._baseErrorBarPos),"none"!==c&&(0,l.$K)(s)&&(0,l.$K)(u)&&(0,l.$K)(a)?(!f&&o.push([a-m,s,a+m,s]),o.push([a,s,a,u]),!g&&o.push([a+m,u,a-m,u]),r.rotated&&(0,h.S6)(o,(function(t,e){e.reverse()})),i=this._getErrorBarSettings(n),this._errorBar?(i.points=o,this._errorBar.attr(i)):this._errorBar=t.path(o,"line").attr(i).append(e)):this._errorBar&&this._errorBar.attr({visibility:"hidden"})}},getTooltipParams:function(){var t=this.graphic;return{x:this.x,y:this.y,offset:t?t.getBBox().height/2:0}},setPercentValue:function(t,e,i,r){var n=this.value/t||0,o=this.minValue/t||0,a=n-o;this._label.setDataField("percent",a),this._label.setDataField("total",e),this.series.isFullStackedSeries()&&this.hasValue()&&(this.leftHole&&(this.leftHole/=t-i,this.minLeftHole/=t-i),this.rightHole&&(this.rightHole/=t-r,this.minRightHole/=t-r),this.value=this.properValue=n,this.minValue=o||this.minValue)},_storeTrackerR:function(){var t=Zu.navigator,e=this._options.styles.normal.r,i=(0,Dt.l$)("ontouchstart")||t.msPointerEnabled&&t.msMaxTouchPoints||t.pointerEnabled&&t.maxTouchPoints?20:6;return this._options.trackerR=e<i?i:e,this._options.trackerR},_translateErrorBars:function(){var t=this._options,e=t.rotated,i=t.errorBars,r=this._getValTranslator();i&&((0,l.$K)(this.lowError)&&(this._lowErrorCoord=r.translate(this.lowError)),(0,l.$K)(this.highError)&&(this._highErrorCoord=r.translate(this.highError)),this._errorBarPos=ju(e?this.vy:this.vx),this._baseErrorBarPos="stdDeviation"===i.type?this._lowErrorCoord+(this._highErrorCoord-this._lowErrorCoord)/2:e?this.vx:this.vy)},_translate:function(){var t=this._getValTranslator(),e=this._getArgTranslator();this._options.rotated?(this.vx=this.x=t.translate(this.value),this.vy=this.y=e.translate(this.argument),this.minX=t.translate(this.minValue),this.defaultX=t.translate(Ju)):(this.vy=this.y=t.translate(this.value),this.vx=this.x=e.translate(this.argument),this.minY=t.translate(this.minValue),this.defaultY=t.translate(Ju)),this._translateErrorBars(),this._calculateVisibility(this.x,this.y)},_updateData:function(t){this.value=this.properValue=this.initialValue=this.originalValue=t.value,this.minValue=this.initialMinValue=this.originalMinValue=(0,l.$K)(t.minValue)?t.minValue:Ju},_getImageSettings:function(t){return{href:t.url||t.toString(),width:t.width||Uu,height:t.height||Wu}},getCrosshairData:function(){var t=this._options.rotated,e=this.properValue,i=this.argument;return{x:this.vx,y:this.vy,xValue:t?e:i,yValue:t?i:e,axis:this.series.axis}},getPointRadius:function(){var t,e=this._getStyle(),i=this._options,r=e.r,n=i.symbol,o="square"===n,a="triangle"===n||"triangleDown"===n||"triangleUp"===n;return i.visible&&!i.image&&r?(t=e["stroke-width"]/2,(o||a?1.4*r:r)+t):0},_updateMarker:function(t,e){var i,r=this._options,n=r.image,o=this.isVisible()?{}:{visibility:"hidden"};i=this._checkImage(n)?$u({},{visibility:e.visibility},o,this._getImageSettings(n)):$u({},e,o,{points:this._populatePointShape(r.symbol,e.r)}),t||(i.translateX=this.x,i.translateY=this.y),this.graphic.attr(i).sharp()},_getLabelFormatObject:function(){return{argument:this.initialArgument,value:this.initialValue,originalArgument:this.originalArgument,originalValue:this.originalValue,seriesName:this.series.name,lowErrorValue:this.lowError,highErrorValue:this.highError,point:this}},_getLabelPosition:function(){var t=this._options.rotated;return this.initialValue>0?t?"right":"top":t?"left":"bottom"},_getFormatObject:function(t){var e=this._label.getData();return $u({},e,{argumentText:t.formatValue(this.initialArgument,"argument"),valueText:t.formatValue(this.initialValue)},(0,l.$K)(e.percent)?{percentText:t.formatValue(e.percent,"percent")}:{},(0,l.$K)(e.total)?{totalText:t.formatValue(e.total)}:{})},getMarkerVisibility:function(){return this._options.visible},coordsIn:function(t,e){var i=this._storeTrackerR();return t>=this.x-i&&t<=this.x+i&&e>=this.y-i&&e<=this.y+i},getMinValue:function(t){var e=this._options.errorBars;if(e&&!t){var i=e.displayMode,r="high"!==i&&(0,l.$K)(this.lowError)?this.lowError:this.value,n="low"!==i&&(0,l.$K)(this.highError)?this.highError:this.value;return r<n?r:n}return this.value},getMaxValue:function(t){var e=this._options.errorBars;if(e&&!t){var i=e.displayMode,r="high"!==i&&(0,l.$K)(this.lowError)?this.lowError:this.value,n="low"!==i&&(0,l.$K)(this.highError)?this.highError:this.value;return r>n?r:n}return this.value}},oh=u.l,ah=Math,sh=ah.floor,lh=ah.abs,uh="canvas_position_default",hh=9,ch=4,dh="right",ph="left",gh="top",fh="bottom";function mh(t){var e=t.initialValue,i=t._getValTranslator().getBusinessRange().invert,r="discrete"===t.series.valueAxisType,n=t.series.isFullStackedSeries(),o=!r&&(e>=0&&!i||e<0&&i)||r&&!i||n;return o?gh:fh}var _h=oh({},nh,{correctCoordinates(t){var e=sh(t.offset-t.width/2);this._options.rotated?(this.height=t.width,this.yCorrection=e,this.xCorrection=null):(this.width=t.width,this.xCorrection=e,this.yCorrection=null)},_getGraphicBBox:function(t){var e={x:this.x,y:this.y,width:this.width,height:this.height};if(t){var i="top"===t;this._options.rotated?(e.x=i?e.x+e.width:e.x,e.width=0):(e.y=i?e.y:e.y+e.height,e.height=0)}return e},_getLabelConnector:function(t){return this._getGraphicBBox(t)},_getLabelPosition:function(){var t=mh(this);return this._options.rotated&&(t=t===gh?dh:ph),t},_getLabelCoords:function(t){var e;return e=0===this.initialValue&&this.series.isFullStackedSeries()?this._options.rotated?this._getLabelCoordOfPosition(t,dh):this._getLabelCoordOfPosition(t,gh):"inside"===t.getLayoutOptions().position?this._getLabelCoordOfPosition(t,"inside"):nh._getLabelCoords.call(this,t),e},_drawLabel:function(){this._label.pointPosition="inside"!==this._label.getLayoutOptions().position&&mh(this),nh._drawLabel.call(this)},hideInsideLabel:function(t,e){var i=this._getGraphicBBox(),r=t.getBoundingRect();return!(!this._options.resolveLabelsOverlapping||!(e.y<=i.y&&e.y+r.height>=i.y+i.height||e.x<=i.x&&e.x+r.width>=i.x+i.width)||e.y>i.y+i.height||e.y+r.height<i.y||e.x>i.x+i.width||e.x+r.width<i.x)&&(t.draw(!1),!0)},_showForZeroValues:function(){return this._options.label.showForZeroValues||this.initialValue},_drawMarker(t,e,i){var r=this._getStyle(),n=this._options.cornerRadius,o=this._options.rotated,{x:a,y:s,width:l,height:u}=this.getMarkerCoords();i&&(o?(l=0,a=this.defaultX):(u=0,s=this.defaultY)),this.graphic=t.rect(a,s,l,u).attr({rx:n,ry:n}).smartAttr(r).data({"chart-data-point":this}).append(e)},_getSettingsForTracker:function(){var t=this.y,e=this.height,i=this.x,r=this.width;return this._options.rotated?1===r&&(r=hh,i-=ch):1===e&&(e=hh,t-=ch),{x:i,y:t,width:r,height:e}},getGraphicSettings:function(){var t=this.graphic;return{x:t.attr("x"),y:t.attr("y"),height:t.attr("height"),width:t.attr("width")}},_getEdgeTooltipParams(){var t,e,i=this.value>=0,r=this._getValTranslator().getBusinessRange().invert,{x:n,y:o,width:a,height:s}=this;return this._options.rotated?(e=o+s/2,t=r?i?n:n+a:i?n+a:n):(t=n+a/2,e=r?i?o+s:o:i?o:o+s),{x:t,y:e,offset:0}},getTooltipParams:function(t){if("edge"===t)return this._getEdgeTooltipParams();var e=this.getCenterCoord();return e.offset=0,e},getCenterCoord(){var{width:t,height:e,x:i,y:r}=this;return{x:i+t/2,y:r+e/2}},_truncateCoord:function(t,e){return null===t?t:t<e[0]?e[0]:t>e[1]?e[1]:t},_getErrorBarBaseEdgeLength(){return this._options.rotated?this.height:this.width},_translateErrorBars:function(t){nh._translateErrorBars.call(this),(this._errorBarPos<t[0]||this._errorBarPos>t[1])&&(this._errorBarPos=void 0)},_translate:function(){var t=this._options.rotated,e=t?"x":"y",i=t?"y":"x",r=t?"width":"height",n=t?"height":"width",o=this._getArgTranslator(),a=this._getValTranslator(),s=this.series.getArgumentAxis().getVisibleArea(),l=this.series.getValueAxis().getVisibleArea(),u=o.translate(this.argument),h=a.translate(this.value,1),c=a.translate(this.minValue,-1);this[i]=u=null===u?u:u+(this[i+"Correction"]||0),this["v"+e]=h,this["v"+i]=u+this[n]/2,h=this._truncateCoord(h,l),c=this._truncateCoord(c,l),this[r]=lh(h-c),h=h<c?h:c,this._calculateVisibility(t?h:u,t?u:h,this.width,this.height),this[e]=null===h?h:h+(this[e+"Correction"]||0),this["min"+e.toUpperCase()]=null===c?c:c+(this[e+"Correction"]||0),this["default"+e.toUpperCase()]=a.translate(uh),this._translateErrorBars(s),this.inVisibleArea&&null!==this[i]&&(this[i]<s[0]&&(this[n]=this[n]-(s[0]-this[i]),this[i]=s[0]),this[i]+this[n]>s[1]&&(this[n]=s[1]-this[i]))},_updateMarker:function(t,e){this.graphic.smartAttr(oh({},e,t?{}:this.getMarkerCoords()))},getMarkerCoords:function(){var t=this.x,e=this.y,i=this.width,r=this.height,n=this.series.getArgumentAxis(),o=this._options.rotated;if(n.getAxisPosition){var a=n.getOptions(),s=Math.round(a.width/2),l=n.getAxisPosition();if(a.visible)if(o){var u=this.minX===this.defaultX&&this.minX===l-n.getAxisShift();t+=u?s:0,i-=u?s:0,i<0&&(i=0)}else r-=this.minY===this.defaultY&&this.minY===l-n.getAxisShift()?s:0,r<0&&(r=0)}return{x:t,y:e,width:i,height:r}},coordsIn:function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height}}),vh=u.l,bh=20,yh=vh({},nh,{correctCoordinates:function(t){this.bubbleSize=t/2},_drawMarker:function(t,e,i){var r=vh({translateX:this.x,translateY:this.y},this._getStyle());this.graphic=t.circle(0,0,i?0:this.bubbleSize).smartAttr(r).data({"chart-data-point":this}).append(e)},getTooltipParams:function(t){var e=this.graphic;if(e){var i=e.getBBox().height;return{x:this.x,y:this.y,offset:i<bh||"edge"===t?i/2:0}}},_getLabelFormatObject:function(){var t=nh._getLabelFormatObject.call(this);return t.size=this.initialSize,t},_updateData:function(t){nh._updateData.call(this,t),this.size=this.initialSize=t.size},_getGraphicBBox:function(){return this._getSymbolBBox(this.x,this.y,this.bubbleSize)},_updateMarker:function(t,e){t||(e=vh({r:this.bubbleSize,translateX:this.x,translateY:this.y},e)),this.graphic.smartAttr(e)},_getFormatObject:function(t){var e=nh._getFormatObject.call(this,t);return e.sizeText=t.formatValue(this.initialSize),e},_storeTrackerR:function(){return this.bubbleSize},_getLabelCoords:function(t){var e;return e="inside"===t.getLayoutOptions().position?this._getLabelCoordOfPosition(t,"inside"):nh._getLabelCoords.call(this,t),e}}),xh=u.l,wh=Math.round,Ch=Math.sqrt,Sh=Math.acos,kh=180/Math.PI,Ah=Math.abs,Th=a.radialLabelIndent,Eh=xh({},nh,{_updateData:function(t,e){nh._updateData.call(this,t),!e&&(0,l.$K)(this._visible)||(this._visible=!0),this.minValue=this.initialMinValue=this.originalMinValue=(0,l.$K)(t.minValue)?t.minValue:0},animate:function(t,e,i){this.graphic.animate({x:this.centerX,y:this.centerY,outerRadius:this.radiusOuter,innerRadius:this.radiusInner,startAngle:this.toAngle,endAngle:this.fromAngle},{delay:i,partitionDuration:e},t)},correctPosition:function(t){this.correctRadius(t),this.correctLabelRadius(t.radiusOuter+Th),this.centerX=t.centerX,this.centerY=t.centerY},correctRadius:function(t){this.radiusInner=t.radiusInner,this.radiusOuter=t.radiusOuter},correctLabelRadius:function(t){this.radiusLabels=t},correctValue:function(t,e,i){this.value=(i||this.normalInitialValue)+t,this.minValue=t,this.percent=e,this._label.setDataField("percent",e)},_updateLabelData:function(){this._label.setData(this._getLabelFormatObject())},_getShiftLabelCoords:function(){var t=this._label.getBoundingRect(),e=this._getLabelCoords(this._label),i=this._getVisibleArea();return this._isLabelDrawingWithoutPoints?this._checkLabelPosition(e,t,i):this._getLabelExtraCoord(e,this._checkVerticalLabelPosition(e,t,i),t)},_getLabelPosition:function(t){return t.position},getAnnotationCoords:function(t){return this._getElementCoords("edge"!==t?"inside":"outside",this.radiusOuter,0)},_getElementCoords:function(t,e,i){var r,n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{x:0,y:0,width:0,height:0},a=this,s=q(a.middleAngle),l=a.radiusInner,u=a.radiusOuter,h="columns"===t;return"inside"===t?(r=l+(u-l)/2+i,n=a.centerX+r*s.cos-o.width/2):(r=e+i,n=s.cos>.1||h&&s.cos>=0?a.centerX+r*s.cos:s.cos<-.1||h&&s.cos<0?a.centerX+r*s.cos-o.width:a.centerX+r*s.cos-o.width/2),{x:n,y:wh(a.centerY-r*s.sin-o.height/2)}},_getLabelCoords:function(t){var e=t.getBoundingRect(),i=t.getLayoutOptions(),r=this._getLabelPosition(i);return this._getElementCoords(r,this.radiusLabels,i.radialOffset,e)},_correctLabelCoord:function(t,e){var i=this._label,r=i.getBoundingRect(),n=r.width,o=i.getLayoutOptions(),a=this._getVisibleArea(),s=a.maxX-n,l=a.minX,u=U(this.middleAngle),h=this.centerX,c=o.connectorOffset,d=t.x;return"columns"===o.position?(d=u<=90||u>=270?s:l,t.x=d):"inside"!==o.position&&e&&(u<=90||u>=270?d-c<h&&(d=h+c):d+n+c>h&&(d=h-n-c),t.x=d),t},drawLabel:function(){this.translate(),this._isLabelDrawingWithoutPoints=!0,this._drawLabel(),this._isLabelDrawingWithoutPoints=!1},updateLabelCoord:function(t){var e=this._label.getBoundingRect(),i=this._correctLabelCoord(e,t);i=this._checkHorizontalLabelPosition(i,e,this._getVisibleArea()),this._label.shift(wh(i.x),wh(e.y))},_checkVerticalLabelPosition:function(t,e,i){var r=t.x,n=t.y;return t.y+e.height>i.maxY?n=i.maxY-e.height:t.y<i.minY&&(n=i.minY),{x:r,y:n}},_getLabelExtraCoord:function(t,e,i){return t.y!==e.y?dt({x:t.x,y:t.y,width:i.width,height:i.height},e.y-t.y,{x:this.centerX,y:this.centerY}):t},_checkHorizontalLabelPosition:function(t,e,i){var r=t.x,n=t.y;return t.x+e.width>i.maxX?r=i.maxX-e.width:t.x<i.minX&&(r=i.minX),{x:r,y:n}},applyWordWrap:function(t){var e=this._label,i=e.getBoundingRect(),r=this._getVisibleArea(),n=e.getLayoutOptions().position,o=i.width,a=!1;return"columns"===n&&this.series.index>0?o=r.maxX-this.centerX-this.radiusLabels:"inside"===n?o>r.maxX-r.minX&&(o=r.maxX-r.minX):t&&i.x<this.centerX&&i.width+i.x>this.centerX?o=Math.floor((r.maxX-r.minX)/2):i.x+o>r.maxX?o=r.maxX-i.x:i.x<r.minX&&(o=i.x+o-r.minX),o<i.width&&(a=e.fit(o)),a},setLabelTrackerData:function(){this._label.setTrackerData(this)},_checkLabelPosition:function(t,e,i){return t=this._checkHorizontalLabelPosition(t,e,i),this._checkVerticalLabelPosition(t,e,i)},_getLabelConnector:function(){var t=this.radiusOuter,e=this._options.styles.normal,i=e["stroke-width"]/2,r=this.series.getOptions().containerBackgroundColor===e.stroke?wh(i):wh(-i),n=q(wh(this.middleAngle));return{x:wh(this.centerX+(t-r)*n.cos),y:wh(this.centerY-(t-r)*n.sin),angle:this.middleAngle}},_drawMarker:function(t,e,i,r){var n=this.radiusOuter,o=this.radiusInner,a=this.fromAngle,s=this.toAngle;i&&(o=n=0,r||(a=s=this.shiftedAngle)),this.graphic=t.arc(this.centerX,this.centerY,o,n,s,a).attr({"stroke-linejoin":"round"}).smartAttr(this._getStyle()).data({"chart-data-point":this}).sharp().append(e)},getTooltipParams:function(){var t=q(this.middleAngle),e=this.radiusInner,i=this.radiusOuter;return{x:this.centerX+(e+(i-e)/2)*t.cos,y:this.centerY-(e+(i-e)/2)*t.sin,offset:0}},_translate:function(){var t=this.shiftedAngle||0,e=this.value,i=this.minValue,r=this._getValTranslator();this.fromAngle=r.translate(i)+t,this.toAngle=r.translate(e)+t,this.middleAngle=r.translate((e-i)/2+i)+t,this.isVisible()||(this.middleAngle=this.toAngle=this.fromAngle=this.fromAngle||t)},getMarkerVisibility:function(){return!0},_updateMarker:function(t,e,i,r){t||(e=xh({x:this.centerX,y:this.centerY,outerRadius:this.radiusOuter,innerRadius:this.radiusInner,startAngle:this.toAngle,endAngle:this.fromAngle},e)),this.graphic.smartAttr(e).sharp(),r&&r()},getLegendStyles:function(){return this._styles.legendStyles},isInVisibleArea:function(){return!0},hide:function(){this._visible&&(this._visible=!1,this.hideTooltip(),this._options.visibilityChanged())},show:function(){this._visible||(this._visible=!0,this._options.visibilityChanged())},setInvisibility:function(){this._label.draw(!1)},isVisible:function(){return this._visible},_getFormatObject:function(t){var e=nh._getFormatObject.call(this,t),i=this.percent;return e.percent=i,e.percentText=t.formatValue(i,"percent"),e},getColor:function(){return this._styles.normal.fill},coordsIn:function(t,e){var i,r=t-this.centerX,n=e-this.centerY,o=Ch(r*r+n*n),a=this.fromAngle%360,s=this.toAngle%360;return!(o<this.radiusInner||o>this.radiusOuter||0===o)&&(i=Sh(r/o)*kh*(n>0?-1:1),i<0&&(i+=360),a===s&&Ah(this.toAngle-this.fromAngle)>1e-4||(a>=s?i<=a&&i>=s:!(i>=a&&i<=s)))}}),Oh=u.l,Ph=Math,Ih=Ph.abs,Lh=Ph.min,Bh=Ph.max,Rh=Ph.round,Vh=20,Dh=20,zh=Oh({},nh,{deleteLabel:function(){this._topLabel.dispose(),this._topLabel=null,this._bottomLabel.dispose(),this._bottomLabel=null},hideMarker:function(t){var e=this.graphic,i=e&&e[t+"Marker"],r=this["_"+t+"Label"];i&&"hidden"!==i.attr("visibility")&&i.attr({visibility:"hidden"}),r.draw(!1)},setInvisibility:function(){this.hideMarker("top"),this.hideMarker("bottom")},clearVisibility:function(){var t=this.graphic,e=t&&t.topMarker,i=t&&t.bottomMarker;e&&e.attr("visibility")&&e.attr({visibility:null}),i&&i.attr("visibility")&&i.attr({visibility:null})},clearMarker:function(){var t=this.graphic,e=t&&t.topMarker,i=t&&t.bottomMarker,r=this._emptySettings;e&&e.attr(r),i&&i.attr(r)},_getLabelPosition:function(t){var e,i="inside"===this._options.label.position;return e=this._options.rotated?"top"===t^i?"right":"left":"top"===t^i?"top":"bottom",e},_getLabelMinFormatObject:function(){return{index:0,argument:this.initialArgument,value:this.initialMinValue,seriesName:this.series.name,originalValue:this.originalMinValue,originalArgument:this.originalArgument,point:this}},_updateLabelData:function(){var t=this._getLabelFormatObject();t.index=1,this._topLabel.setData(t),this._bottomLabel.setData(this._getLabelMinFormatObject())},_updateLabelOptions:function(){var t=this._options.label;(!this._topLabel||!this._bottomLabel)&&this._createLabel(),this._topLabel.setOptions(t),this._bottomLabel.setOptions(t)},_createLabel:function(){var t={renderer:this.series._renderer,labelsGroup:this.series._labelsGroup,point:this};this._topLabel=new Hu(t),this._bottomLabel=new Hu(t)},_getGraphicBBox:function(t){var e,i=this._options,r=this._getImage(i.image),n="top"===t?this._checkImage(r.top):this._checkImage(r.bottom),o=this._getPositionFromLocation(t);return e=i.visible?n?this._getImageBBox(o.x,o.y):this._getSymbolBBox(o.x,o.y,i.styles.normal.r):{x:o.x,y:o.y,width:0,height:0},e},_getPositionFromLocation:function(t){var e,i,r="top"===t;return this._options.rotated?(e=r?Bh(this.x,this.minX):Lh(this.x,this.minX),i=this.y):(e=this.x,i=r?Lh(this.y,this.minY):Bh(this.y,this.minY)),{x:e,y:i}},_checkOverlay:function(t,e,i){return t<e+i},_getOverlayCorrections:function(t,e){var i=this._options.rotated,r=i?"x":"y",n=i?"width":"height",o=this.series.getValueAxis().getVisibleArea(),a=o[0],s=o[1],l=Rh((t[r]+t[n]-e[r])/2),u=t[r]-l,h=e[r]+l;return u<a?(l=a-u,u+=l,h+=l):h+e[n]>s&&(l=s-h-e[n],u+=l,h+=l),{coord1:u,coord2:h}},_checkLabelsOverlay:function(t){var e=this._topLabel.getBoundingRect(),i=this._bottomLabel.getBoundingRect(),r={};this._options.rotated?"top"===t?this._checkOverlay(e.x,i.x,i.width)&&(r=this._getOverlayCorrections(i,e),this._topLabel.shift(r.coord2,e.y),this._bottomLabel.shift(r.coord1,i.y)):this._checkOverlay(i.x,e.x,e.width)&&(r=this._getOverlayCorrections(e,i),this._topLabel.shift(r.coord1,e.y),this._bottomLabel.shift(r.coord2,i.y)):"top"===t?this._checkOverlay(i.y,e.y,e.height)&&(r=this._getOverlayCorrections(e,i),this._topLabel.shift(e.x,r.coord1),this._bottomLabel.shift(i.x,r.coord2)):this._checkOverlay(e.y,i.y,i.height)&&(r=this._getOverlayCorrections(i,e),this._topLabel.shift(e.x,r.coord2),this._bottomLabel.shift(i.x,r.coord1))},_drawLabel:function(){var t=[],e=this._options.rotated?this.x>=this.minX:this.y<this.minY,i=this._getCustomLabelVisibility(),r=this._topLabel,n=this._bottomLabel;r.pointPosition=e?"top":"bottom",n.pointPosition=e?"bottom":"top",(this.series.getLabelVisibility()||i)&&this.hasValue()&&!1!==i?(!1!==this.visibleTopMarker&&t.push(r),!1!==this.visibleBottomMarker&&t.push(n),(0,h.S6)(t,(function(t,e){e.draw(!0)})),this._checkLabelsOverlay(this._topLabel.pointPosition)):(r.draw(!1),n.draw(!1))},_getImage:function(t){var e={};return(0,l.$K)(t)&&("string"===typeof t?e.top=e.bottom=t:(e.top={url:"string"===typeof t.url?t.url:t.url&&t.url.rangeMaxPoint,width:"number"===typeof t.width?t.width:t.width&&t.width.rangeMaxPoint,height:"number"===typeof t.height?t.height:t.height&&t.height.rangeMaxPoint},e.bottom={url:"string"===typeof t.url?t.url:t.url&&t.url.rangeMinPoint,width:"number"===typeof t.width?t.width:t.width&&t.width.rangeMinPoint,height:"number"===typeof t.height?t.height:t.height&&t.height.rangeMinPoint})),e},_checkSymbol:function(t,e){var i=t.symbol,r=e.symbol,n="circle"===i&&"circle"!==r||"circle"!==i&&"circle"===r,o=this._getImage(t.image),a=this._getImage(e.image),s=this._checkImage(o.top)!==this._checkImage(a.top),l=this._checkImage(o.bottom)!==this._checkImage(a.bottom);return n||s||l},_getSettingsForTwoMarkers:function(t){var e=this._options,i={},r=e.rotated?Lh(this.x,this.minX):this.x,n=e.rotated?this.y:Lh(this.y,this.minY),o=t.r,a=this._populatePointShape(e.symbol,o);return i.top=Oh({translateX:r+this.width,translateY:n,r:o},t),i.bottom=Oh({translateX:r,translateY:n+this.height,r:o},t),a&&(i.top.points=i.bottom.points=a),i},_hasGraphic:function(){return this.graphic&&this.graphic.topMarker&&this.graphic.bottomMarker},_drawOneMarker:function(t,e,i,r){var n=this.graphic;n[e]?this._updateOneMarker(e,r):n[e]=this._createMarker(t,n,i,r)},_drawMarker:function(t,e,i,r,n){var o=this._getSettingsForTwoMarkers(n||this._getStyle()),a=this._getImage(this._options.image);this._checkImage(a.top)&&(o.top=this._getImageSettings(o.top,a.top)),this._checkImage(a.bottom)&&(o.bottom=this._getImageSettings(o.bottom,a.bottom)),this.graphic=this.graphic||t.g().append(e),this.visibleTopMarker&&this._drawOneMarker(t,"topMarker",a.top,o.top),this.visibleBottomMarker&&this._drawOneMarker(t,"bottomMarker",a.bottom,o.bottom)},_getSettingsForTracker:function(t){var e=this._options.rotated;return{translateX:e?Lh(this.x,this.minX)-t:this.x-t,translateY:e?this.y-t:Lh(this.y,this.minY)-t,width:this.width+2*t,height:this.height+2*t}},isInVisibleArea:function(){var t,e,i,r=this._options.rotated,n=r?this.y:this.x,o=r?Bh(this.minX,this.x):Bh(this.minY,this.y),a=r?Lh(this.minX,this.x):Lh(this.minY,this.y),s=!0,l=this.series.getArgumentAxis().getVisibleArea(),u=this.series.getValueAxis().getVisibleArea(),h=l[1]<n||l[0]>n,c=u[0]>a&&u[0]>o||u[1]<a&&u[1]<o;return h||c?e=i=s=!1:(e=u[0]<=a&&u[1]>a,i=u[0]<o&&u[1]>=o,r&&(t=e,e=i,i=t)),this.visibleTopMarker=e,this.visibleBottomMarker=i,s},getTooltipParams:function(){var t,e,i=this._options.rotated,r=i?Lh(this.x,this.minX):Lh(this.y,this.minY),n=i?"width":"height",o=this._getVisibleArea(),a=i?o.minX:o.minY,s=i?o.maxX:o.maxY,l=Bh(a,r),u=Lh(s,r+this[n]);return i?(e=this.y,t=l+(u-l)/2):(t=this.x,e=l+(u-l)/2),{x:t,y:e,offset:0}},_translate:function(){var t=this._options.rotated;nh._translate.call(this),this.height=t?0:Ih(this.minY-this.y),this.width=t?Ih(this.x-this.minX):0},hasCoords:function(){return nh.hasCoords.call(this)&&!(null===this.minX||null===this.minY)},_updateData:function(t){nh._updateData.call(this,t),this.minValue=this.initialMinValue=this.originalMinValue=t.minValue},_getImageSettings:function(t,e){return{href:e.url||e.toString(),width:e.width||Vh,height:e.height||Dh,translateX:t.translateX,translateY:t.translateY}},getCrosshairData:function(t,e){var i=this._options.rotated,r=this.minX,n=this.minY,o=this.vx,a=this.vy,s=this.value,l=this.minValue,u=this.argument,h={axis:this.series.axis,x:o,y:a,yValue:s,xValue:u};return i?(h.yValue=u,Ih(o-t)<Ih(r-t)?h.xValue=s:(h.x=r,h.xValue=l)):Ih(a-e)>=Ih(n-e)&&(h.y=n,h.yValue=l),h},_updateOneMarker:function(t,e){this.graphic&&this.graphic[t]&&this.graphic[t].attr(e)},_updateMarker:function(t,e){this._drawMarker(void 0,void 0,!1,!1,e)},_getFormatObject:function(t){var e=this.initialMinValue,i=this.initialValue,r=this.initialArgument,n=t.formatValue(e),o=t.formatValue(i);return{argument:r,argumentText:t.formatValue(r,"argument"),valueText:n+" - "+o,rangeValue1Text:n,rangeValue2Text:o,rangeValue1:e,rangeValue2:i,seriesName:this.series.name,point:this,originalMinValue:this.originalMinValue,originalValue:this.originalValue,originalArgument:this.originalArgument}},getLabel:function(){return[this._topLabel,this._bottomLabel]},getLabels:function(){return[this._topLabel,this._bottomLabel]},getBoundingRect:s.ZT,coordsIn:function(t,e){var i=this._storeTrackerR(),r=t>=this.x-i&&t<=this.x+i,n=e>=this.y-i&&e<=this.y+i;return this._options.rotated?n&&(r||t>=this.minX-i&&t<=this.minX+i):r&&(n||e>=this.minY-i&&e<=this.minY+i)},getMaxValue:function(){return"discrete"!==this.series.valueAxisType&&this.minValue>this.value?this.minValue:this.value},getMinValue:function(){return"discrete"!==this.series.valueAxisType?this.minValue<this.value?this.minValue:this.value:this.minValue}}),Mh=u.l,Fh=Mh({},_h,{deleteLabel:zh.deleteLabel,_getFormatObject:zh._getFormatObject,clearVisibility:function(){var t=this.graphic;t&&t.attr("visibility")&&t.attr({visibility:null})},setInvisibility:function(){var t=this.graphic;t&&"hidden"!==t.attr("visibility")&&t.attr({visibility:"hidden"}),this._topLabel.draw(!1),this._bottomLabel.draw(!1)},getTooltipParams:function(t){var e,i,r="edge"===t;return this._options.rotated?(e=r?this.x+this.width:this.x+this.width/2,i=this.y+this.height/2):(e=this.x+this.width/2,i=r?this.y:this.y+this.height/2),{x:e,y:i,offset:0}},_translate:function(){var t=_h;t._translate.call(this),this._options.rotated?this.width=this.width||1:this.height=this.height||1},hasCoords:zh.hasCoords,_updateData:zh._updateData,_getLabelPosition:zh._getLabelPosition,_getLabelMinFormatObject:zh._getLabelMinFormatObject,_updateLabelData:zh._updateLabelData,_updateLabelOptions:zh._updateLabelOptions,getCrosshairData:zh.getCrosshairData,_createLabel:zh._createLabel,_checkOverlay:zh._checkOverlay,_checkLabelsOverlay:zh._checkLabelsOverlay,_getOverlayCorrections:zh._getOverlayCorrections,_drawLabel:zh._drawLabel,_getLabelCoords:zh._getLabelCoords,getLabel:zh.getLabel,getLabels:zh.getLabels,getBoundingRect:s.ZT,getMinValue:zh.getMinValue,getMaxValue:zh.getMaxValue}),Nh=Math,Gh=Nh.abs,Hh=Nh.min,Zh=Nh.max,$h=Nh.round,Xh=2,Yh=(0,u.l)({},_h,{_getContinuousPoints:function(t,e){var i,r=this.x,n=this._options.rotated?function(t,e){return[e,t]}:function(t,e){return[t,e]},o=this.width,a=this.highY,s=Gh(a-t)<Gh(a-e)?t:e,l=s===e?t:e;return i=l===s?[].concat(n(r,this.highY)).concat(n(r,this.lowY)).concat(n(r,this.closeY)).concat(n(r-o/2,this.closeY)).concat(n(r+o/2,this.closeY)).concat(n(r,this.closeY)):[].concat(n(r,this.highY)).concat(n(r,s)).concat(n(r+o/2,s)).concat(n(r+o/2,l)).concat(n(r,l)).concat(n(r,this.lowY)).concat(n(r,l)).concat(n(r-o/2,l)).concat(n(r-o/2,s)).concat(n(r,s)),i},_getCrockPoints:function(t){var e=this.x,i=this._options.rotated?function(t,e){return[e,t]}:function(t,e){return[t,e]};return[].concat(i(e,this.highY)).concat(i(e,this.lowY)).concat(i(e,t)).concat(i(e-this.width/2,t)).concat(i(e+this.width/2,t)).concat(i(e,t))},_getPoints:function(){var t,e=this.closeY,i=this.openY;return t=null!==e&&null!==i?this._getContinuousPoints(i,e):i===e?[this.x,this.highY,this.x,this.lowY]:this._getCrockPoints(null!==i?i:e),t},getColor:function(){return this._isReduction?this._options.reduction.color:this._styles.normal.stroke||this.series.getColor()},_drawMarkerInGroup:function(t,e,i){this.graphic=i.path(this._getPoints(),"area").attr({"stroke-linecap":"square"}).attr(e).data({"chart-data-point":this}).sharp().append(t)},_fillStyle:function(){var t=this._options.styles;this._isReduction&&this._isPositive?this._styles=t.reductionPositive:this._isReduction?this._styles=t.reduction:this._isPositive?this._styles=t.positive:this._styles=t},_getMinTrackerWidth:function(){return 2+2*this._styles.normal["stroke-width"]},correctCoordinates:function(t){var e=this._getMinTrackerWidth(),i=t.width;i=i<e?e:i>10?10:i,this.width=i+i%2,this.xCorrection=t.offset},_getMarkerGroup:function(t){var e;return e=this._isReduction&&this._isPositive?t.reductionPositiveMarkersGroup:this._isReduction?t.reductionMarkersGroup:this._isPositive?t.defaultPositiveMarkersGroup:t.defaultMarkersGroup,e},_drawMarker:function(t,e){this._drawMarkerInGroup(this._getMarkerGroup(e),this._getStyle(),t)},_getSettingsForTracker:function(){var t,e,i,r,n=this.highY,o=this.lowY,a=this._options.rotated;return n===o&&(n=a?n+Xh:n-Xh,o=a?o-Xh:o+Xh),a?(t=Hh(o,n),e=this.x-this.width/2,i=Gh(o-n),r=this.width):(t=this.x-this.width/2,e=Hh(o,n),i=this.width,r=Gh(o-n)),{x:t,y:e,width:i,height:r}},_getGraphicBBox:function(t){var e=this._options.rotated,i=this.x,r=this.width,n=this.lowY,o=this.highY;if(t){var a=this.series.getValueAxis().getVisibleArea();o=this._truncateCoord(o,a),n=this._truncateCoord(n,a)}var s={x:e?n:i-$h(r/2),y:e?i-$h(r/2):o,width:e?o-n:r,height:e?r:n-o};if(t){var l="top"===t;this._options.rotated?(s.x=l?s.x+s.width:s.x,s.width=0):(s.y=l?s.y:s.y+s.height,s.height=0)}return s},getTooltipParams:function(t){if(this.graphic){var e=Hh(this.lowY,this.highY),i=Zh(this.lowY,this.highY),r=this._getVisibleArea(),n=this._options.rotated,o=n?r.minX:r.minY,a=n?r.maxX:r.maxY,s=Zh(o,e),l=Hh(a,i),u=this.getCenterCoord();return"edge"===t&&(u[n?"x":"y"]=n?l:s),u.offset=0,u}},getCenterCoord(){if(this.graphic){var t,e,i=Hh(this.lowY,this.highY),r=Zh(this.lowY,this.highY),n=this._getVisibleArea(),o=this._options.rotated,a=o?n.minX:n.minY,s=o?n.maxX:n.maxY,l=Zh(a,i),u=Hh(s,r),h=l+(u-l)/2;return o?(e=this.x,t=h):(t=this.x,e=h),{x:t,y:e}}},hasValue:function(){return null!==this.highValue&&null!==this.lowValue},hasCoords:function(){return null!==this.x&&null!==this.lowY&&null!==this.highY},_translate:function(){var t=this._options.rotated,e=this._getValTranslator(),i=this._getArgTranslator().translate(this.argument);this.vx=this.vy=this.x=null===i?i:i+(this.xCorrection||0),this.openY=null!==this.openValue?e.translate(this.openValue):null,this.highY=e.translate(this.highValue),this.lowY=e.translate(this.lowValue),this.closeY=null!==this.closeValue?e.translate(this.closeValue):null;var r=Hh(this.lowY,this.highY)+Gh(this.lowY-this.highY)/2;this._calculateVisibility(t?r:this.x,t?this.x:r)},getCrosshairData:function(t,e){var i,r,n=this._options.rotated,o=n?t:e,a=this.argument,s="low";return Gh(this.lowY-o)<Gh(this.closeY-o)?i=this.lowY:(i=this.closeY,s="close"),Gh(i-o)>=Gh(this.openY-o)&&(i=this.openY,s="open"),Gh(i-o)>=Gh(this.highY-o)&&(i=this.highY,s="high"),r=n?{y:this.vy,x:i,xValue:this[s+"Value"],yValue:a}:{x:this.vx,y:i,xValue:a,yValue:this[s+"Value"]},r.axis=this.series.axis,r},_updateData:function(t){var e=this._label,i=this._options.reduction.color;this.value=this.initialValue=t.reductionValue,this.originalValue=t.value,this.lowValue=this.originalLowValue=t.lowValue,this.highValue=this.originalHighValue=t.highValue,this.openValue=this.originalOpenValue=t.openValue,this.closeValue=this.originalCloseValue=t.closeValue,this._isPositive=t.openValue<t.closeValue,this._isReduction=t.isReduction,this._isReduction&&e.setColor(i)},_updateMarker:function(t,e,i){var r=this.graphic;r.attr({points:this._getPoints()}).smartAttr(e).sharp(),i&&r.append(this._getMarkerGroup(i))},_getLabelFormatObject:function(){return{openValue:this.openValue,highValue:this.highValue,lowValue:this.lowValue,closeValue:this.closeValue,reductionValue:this.initialValue,argument:this.initialArgument,value:this.initialValue,seriesName:this.series.name,originalOpenValue:this.originalOpenValue,originalCloseValue:this.originalCloseValue,originalLowValue:this.originalLowValue,originalHighValue:this.originalHighValue,originalArgument:this.originalArgument,point:this}},_getFormatObject:function(t){var e=t.formatValue(this.highValue),i=t.formatValue(this.openValue),r=t.formatValue(this.closeValue),n=t.formatValue(this.lowValue),o=nh,a=o._getFormatObject.call(this,t);return(0,u.l)({},a,{valueText:"h: "+e+(""!==i?" o: "+i:"")+(""!==r?" c: "+r:"")+" l: "+n,highValueText:e,openValueText:i,closeValueText:r,lowValueText:n})},getMaxValue:function(){return this.highValue},getMinValue:function(){return this.lowValue}}),jh=u.l,Kh=l.kE,Uh=jh({},Yh,{_getPoints:function(){var t=this._options.rotated?function(t,e){return[e,t]}:function(t,e){return[t,e]},e=Kh(this.openY),i=Kh(this.closeY),r=this.x,n=this.width,o=[].concat(t(r,this.highY));return e&&(o=o.concat(t(r,this.openY))),e&&(o=o.concat(t(r-n/2,this.openY))),e&&(o=o.concat(t(r,this.openY))),i&&(o=o.concat(t(r,this.closeY))),i&&(o=o.concat(t(r+n/2,this.closeY))),i&&(o=o.concat(t(r,this.closeY))),o=o.concat(t(r,this.lowY)),o},_drawMarkerInGroup:function(t,e,i){this.graphic=i.path(this._getPoints(),"line").attr({"stroke-linecap":"square"}).attr(e).data({"chart-data-point":this}).sharp().append(t)},_getMinTrackerWidth:function(){var t=2+this._styles.normal["stroke-width"];return t+t%2}}),Wh=u.l,qh=Math,Jh=qh.max,Qh=a.radialLabelIndent,tc=90,ec="canvas_position_start",ic="canvas_position_end",rc="canvas_position_default",nc=Wh({},nh,{_getLabelCoords:Eh._getLabelCoords,_getElementCoords:Eh._getElementCoords,_moveLabelOnCanvas:function(t,e,i){var r=t.x,n=t.y;return e.minX>r&&(r=e.minX),e.maxX<r+i.width&&(r=e.maxX-i.width),e.minY>n&&(n=e.minY),e.maxY<n+i.height&&(n=e.maxY-i.height),{x:r,y:n}},_getLabelPosition:function(){return"outside"},_getCoords:function(t,e){var i=this.series.getValueAxis(),r=i.getAngles()[0],n=this._getArgTranslator().translate(t),o=this._getValTranslator().translate(e),a=lt(i.getCenter(),i.getAngles()[0],n,o);return a.angle=n+r-90,a.radius=o,a},_translate(){var t=this.series.getValueAxis().getCenter(),e=this._getCoords(this.argument,this.value),i=this._getValTranslator(),r=i.isInverted()?i.translate(ec):i.translate(ic),n=(0,l.$K)(e.radius)&&e.radius>=0?e.radius:null;this.vx=U(e.angle),this.vy=this.radiusOuter=this.radiusLabels=n,this.radiusLabels+=Qh,this.radius=n,this.middleAngle=-e.angle,this.angle=-e.angle,this.x=e.x,this.y=e.y,this.defaultX=this.centerX=t.x,this.defaultY=this.centerY=t.y,this._translateErrorBars(),this.inVisibleArea=this._checkRadiusForVisibleArea(n,r)},_checkRadiusForVisibleArea:(t,e)=>(0,l.$K)(t)&&t<=e,_translateErrorBars:function(){var t=this._options.errorBars,e=this._getValTranslator();t&&((0,l.$K)(this.lowError)&&(this._lowErrorCoord=this.centerY-e.translate(this.lowError)),(0,l.$K)(this.highError)&&(this._highErrorCoord=this.centerY-e.translate(this.highError)),this._errorBarPos=this.centerX,this._baseErrorBarPos="stdDeviation"===t.type?this._lowErrorCoord+(this._highErrorCoord-this._lowErrorCoord)/2:this.centerY-this.radius)},_getTranslates:function(t){return t?this.getDefaultCoords():{x:this.x,y:this.y}},getDefaultCoords:function(){var t=q(-this.angle),e=this._getValTranslator().translate(rc),i=this.defaultX+e*t.cos,r=this.defaultY+e*t.sin;return{x:i,y:r}},_addLabelAlignmentAndOffset:function(t,e){return e},_checkLabelPosition:function(t,e){var i=this._getVisibleArea(),r=this._getGraphicBBox();return this._isPointInVisibleArea(i,r)&&(e=this._moveLabelOnCanvas(e,i,t.getBoundingRect())),e},_getErrorBarSettings:function(t,e){var i=nh._getErrorBarSettings.call(this,t,e);return i.rotate=tc-this.angle,i.rotateX=this.centerX,i.rotateY=this.centerY,i},getCoords:function(t){return t?this.getDefaultCoords():{x:this.x,y:this.y}}}),oc=Wh({},_h,{_translateErrorBars:nc._translateErrorBars,_getErrorBarSettings:nc._getErrorBarSettings,_moveLabelOnCanvas:nc._moveLabelOnCanvas,_getLabelCoords:Eh._getLabelCoords,_getElementCoords:Eh._getElementCoords,_getLabelConnector:Eh._getLabelConnector,getTooltipParams:Eh.getTooltipParams,_getLabelPosition:Eh._getLabelPosition,_getCoords:nc._getCoords,_translate(){var t=this._getValTranslator(),e=t.getBusinessRange(),i=t.isInverted()?t.translate(ec):t.translate(ic);this.radiusInner=t.translate(this.minValue),nc._translate.call(this),null===this.radiusInner?this.radiusInner=this.radius=i:null===this.radius?this.radius=this.value>=e.minVisible?i:0:this.radius>i&&(this.radius=i),this.radiusOuter=this.radiusLabels=Jh(this.radiusInner,this.radius),this.radiusLabels+=Qh,this.radiusInner=this.defaultRadius=qh.min(this.radiusInner,this.radius),this.middleAngle=this.angle=-U(this.middleAngleCorrection-this.angle)},_checkRadiusForVisibleArea(t){return(0,l.$K)(t)||this._getValTranslator().translate(this.minValue)>0},_getErrorBarBaseEdgeLength(){var t=this.getMarkerCoords();return qh.PI*t.outerRadius*qh.abs(t.startAngle-t.endAngle)/180},getMarkerCoords:function(){return{x:this.centerX,y:this.centerY,outerRadius:this.radiusOuter,innerRadius:this.defaultRadius,startAngle:this.middleAngle-this.interval/2,endAngle:this.middleAngle+this.interval/2}},_drawMarker:function(t,e,i){var r=this._getStyle(),n=this.getMarkerCoords(),o=n.innerRadius,a=n.outerRadius,s=this._getCoords(this.argument,rc),l=n.x,u=n.y;i&&(o=0,a=0,l=s.x,u=s.y),this.graphic=t.arc(l,u,o,a,n.startAngle,n.endAngle).attr(r).data({"chart-data-point":this}).append(e)},_checkLabelPosition:function(t,e){var i=this._getVisibleArea(),r=q(this.middleAngle),n=this.centerX+this.defaultRadius*r.cos,o=this.centerY-this.defaultRadius*r.sin;return n>i.minX&&n<i.maxX&&o>i.minY&&o<i.maxY&&(e=this._moveLabelOnCanvas(e,i,t.getBoundingRect())),e},_addLabelAlignmentAndOffset:function(t,e){return e},correctCoordinates:function(t){this.middleAngleCorrection=t.offset,this.interval=t.width},coordsIn:function(t,e){var i=ut(this.series.getValueAxis().getCenter(),t,e),r=this.getMarkerCoords(),n=r.startAngle<r.endAngle?-i.phi>=r.startAngle&&-i.phi<=r.endAngle:-i.phi<=r.startAngle&&-i.phi>=r.endAngle;return i.r>=r.innerRadius&&i.r<=r.outerRadius&&n}}),ac={},sc=u.l,lc=a.states,uc="symbolPoint",hc="polarSymbolPoint",cc="barPoint",dc="polarBarPoint",pc="piePoint",gc=lc.selectedMark,fc=lc.hoverMark,mc=lc.normalMark,_c=lc.hover,vc=lc.normal,bc=lc.selection,yc={chart:{scatter:uc,line:uc,spline:uc,stepline:uc,stackedline:uc,fullstackedline:uc,stackedspline:uc,fullstackedspline:uc,stackedsplinearea:uc,fullstackedsplinearea:uc,area:uc,splinearea:uc,steparea:uc,stackedarea:uc,fullstackedarea:uc,rangearea:"rangeSymbolPoint",bar:cc,stackedbar:cc,fullstackedbar:cc,rangebar:"rangeBarPoint",bubble:"bubblePoint",stock:"stockPoint",candlestick:"candlestickPoint"},pie:{pie:pc,doughnut:pc,donut:pc},polar:{scatter:hc,line:hc,area:hc,bar:dc,stackedbar:dc}};function xc(t){return"none"===tt(t)}function wc(t,e,i){this.fullState=mc,this.series=t,this.update(e,i),this._viewCounters={hover:0,selection:0},this._emptySettings={fill:null,stroke:null,dashStyle:null}}ac.symbolPoint=nh,ac.barPoint=_h,ac.bubblePoint=yh,ac.piePoint=Eh,ac.rangeSymbolPoint=zh,ac.rangeBarPoint=Fh,ac.candlestickPoint=Yh,ac.stockPoint=Uh,ac.polarSymbolPoint=nc,ac.polarBarPoint=oc,wc.prototype={constructor:wc,getColor:function(){return this.hasValue()||this._styles.usePointCustomOptions||this.series.customizePoint(this,this._dataItem),this._styles.normal.fill||this.series.getColor()},_getStyle:function(){return this._styles[this._currentStyle||"normal"]},update:function(t,e){this.updateOptions(e),this.updateData(t)},updateData:function(t){var e=this.argument!==t.argument;this.argument=this.initialArgument=this.originalArgument=t.argument,this.tag=t.tag,this.index=t.index,this._dataItem=t,this.data=t.data,this.lowError=t.lowError,this.highError=t.highError,this.aggregationInfo=t.aggregationInfo,this._updateData(t,e),!this.hasValue()&&this.setInvisibility(),this._fillStyle(),this._updateLabelData()},deleteMarker:function(){this.graphic&&this.graphic.dispose(),this.graphic=null},draw:function(t,e,i,r){return(this._needDeletingOnDraw||this.series.autoHidePointMarkers&&!this.isSelected())&&(this.deleteMarker(),this._needDeletingOnDraw=!1),this._needClearingOnDraw&&(this.clearMarker(),this._needClearingOnDraw=!1),this._hasGraphic()?this._updateMarker(i,this._getStyle(),e.markers):this.getMarkerVisibility()&&!this.series.autoHidePointMarkers&&this._drawMarker(t,e.markers,i,r),this._drawLabel(),this._drawErrorBar(t,e.errorBars,i),this},_getViewStyle:function(){var t=mc,e=this.fullState,i=[vc,_c,bc,bc];return this._viewCounters.hover&&(t|=fc),this._viewCounters.selection&&(t|=gc),xc(this.getOptions().selectionMode)&&(e&=~gc),xc(this.getOptions().hoverMode)&&(e&=~fc),t|=e,i[t]},applyView:function(t){var e=this._getViewStyle();this._currentStyle=e,this.graphic||!this.getMarkerVisibility()||!this.series.autoHidePointMarkers||e!==bc&&e!==_c||this._drawMarker(this.series.getRenderer(),this.series.getMarkersGroup()),this.graphic&&(this.series.autoHidePointMarkers&&e!==bc&&e!==_c?this.deleteMarker():("normal"===e?this.clearMarker():this.graphic.toForeground(),this._updateMarker(!0,this._styles[e],void 0,t)))},setView:function(t){this._viewCounters[t]++,this.applyView()},resetView:function(t){var e=this._viewCounters;--e[t],e[t]<0&&(e[t]=0),this.applyView()},releaseHoverState:function(){this.graphic&&!this.isSelected()&&this.graphic.toBackground()},select:function(){this.series.selectPoint(this)},clearSelection:function(){this.series.deselectPoint(this)},hover:function(){this.series.hoverPoint(this)},clearHover:function(){this.series.clearPointHover()},showTooltip:function(){this.series.showPointTooltip(this)},hideTooltip:function(){this.series.hidePointTooltip(this)},_checkLabelsChanging:function(t,e){var i=~e.indexOf("range"),r=~t.indexOf("range");return r&&!i||!r&&i},updateOptions:function(t){if(t){var e=this._options,i=t.widgetType,r=e&&e.type,n=t.type,o=yc[i][n];r!==n?(this._needDeletingOnDraw=!0,this._needClearingOnDraw=!1,r&&(this._checkLabelsChanging(r,n)&&this.deleteLabel(),this._resetType(ac[yc[r]])),this._setType(ac[o])):(this._needDeletingOnDraw=this._checkSymbol(e,t),this._needClearingOnDraw=this._checkCustomize(e,t)),this._options=t,this._fillStyle(),this._updateLabelOptions(o)}},translate:function(){this.hasValue()&&(this._translate(),this.translated=!0)},_checkCustomize:function(t,e){return t.styles.usePointCustomOptions&&!e.styles.usePointCustomOptions},_getCustomLabelVisibility:function(){return this._styles.useLabelCustomOptions?!!this._options.label.visible:null},getBoundingRect:function(){return this._getGraphicBBox()},_resetType:function(t){for(var e in t)delete this[e]},_setType:function(t){for(var e in t)this[e]=t[e]},isInVisibleArea:function(){return this.inVisibleArea},isSelected:function(){return!!(this.fullState&gc)},isHovered:function(){return!!(this.fullState&fc)},getOptions:function(){return this._options},animate:function(t,e,i){this.graphic?this.graphic.animate(e,{partitionDuration:i},t):t&&t()},getCoords:function(t){return t?this._options.rotated?{x:this.minX-(this.x-this.minX?0:1),y:this.y}:{x:this.x,y:this.minY+(this.y-this.minY?0:1)}:{x:this.x,y:this.y}},getDefaultCoords:function(){return this._options.rotated?{x:this.defaultX,y:this.y}:{x:this.x,y:this.defaultY}},setDefaultCoords(){var t=this.getDefaultCoords();this.x=t.x,this.y=t.y},_getVisibleArea:function(){return this.series.getVisibleArea()},_getArgTranslator:function(){return this.series.getArgumentAxis().getTranslator()},_getValTranslator:function(){return this.series.getValueAxis().getTranslator()},_calculateVisibility:function(t,e,i,r){var n=this._getVisibleArea(),o=this._options.rotated;n.minX>t+(i||0)||n.maxX<t||n.minY>e+(r||0)||n.maxY<e||o&&(0,l.$K)(i)&&0!==i&&(n.minX===t+i||n.maxX===t)||!o&&(0,l.$K)(r)&&0!==r&&(n.minY===e+r||n.maxY===e)?this.inVisibleArea=!1:this.inVisibleArea=!0},isArgumentCorrect(){return this.series._argumentChecker(this.argument)},isValueCorrect(){var t=this.series._valueChecker;return t(this.getMinValue())&&t(this.getMaxValue())},hasValue:function(){return null!==this.value&&null!==this.minValue&&this.isArgumentCorrect()&&this.isValueCorrect()},hasCoords:s.ZT,correctPosition:s.ZT,correctRadius:s.ZT,correctLabelRadius:s.ZT,getCrosshairData:s.ZT,getPointRadius:s.ZT,_populatePointShape:s.ZT,_checkSymbol:s.ZT,getMarkerCoords:s.ZT,hide:s.ZT,show:s.ZT,hideMarker:s.ZT,setInvisibility:s.ZT,clearVisibility:s.ZT,isVisible:s.ZT,resetCorrection:s.ZT,correctValue:s.ZT,resetValue:s.ZT,setPercentValue:s.ZT,correctCoordinates:s.ZT,coordsIn:s.ZT,getTooltipParams:s.ZT,applyWordWrap:s.ZT,setLabelTrackerData:s.ZT,updateLabelCoord:s.ZT,drawLabel:s.ZT,correctLabelPosition:s.ZT,getMinValue:s.ZT,getMaxValue:s.ZT,_drawErrorBar:s.ZT,getMarkerVisibility:s.ZT,dispose:function(){this.deleteMarker(),this.deleteLabel(),this._errorBar&&this._errorBar.dispose(),this._options=this._styles=this.series=this._errorBar=null},getTooltipFormatObject:function(t,e){var i=this._getFormatObject(t),r=[],n=[];e&&(e.forEach((e=>{if(e.isVisible()){var i=e._getFormatObject(t);n.push(i),r.push(i.seriesName+": "+i.valueText)}})),sc(i,{points:n,valueText:r.join("\n"),stackName:this.series.getStackName()||null}));var o=this.aggregationInfo;if(o){var a=this.series.getArgumentAxis(),s=a.formatRange(o.intervalStart,o.intervalEnd,o.aggregationInterval,t.getOptions().argumentFormat);s&&(i.valueText+="\n".concat(s))}return i},setHole:function(t,e){var i=isFinite(this.minValue)?this.minValue:0;(0,l.$K)(t)&&("left"===e?(this.leftHole=this.value-t,this.minLeftHole=i-t):(this.rightHole=this.value-t,this.minRightHole=i-t))},resetHoles:function(){this.leftHole=null,this.minLeftHole=null,this.rightHole=null,this.minRightHole=null},getLabel:function(){return this._label},getLabels:function(){return[this._label]},getCenterCoord(){return{x:this.x,y:this.y}}};var Cc="discrete",{abs:Sc,floor:kc,ceil:Ac,min:Tc}=Math;function Ec(t,e,i){t.min=t.min<e?t.min:e,t.max=t.max>i?t.max:i}function Oc(t,e){if("logarithmic"!==t)return null;var i=e.getOptions().logarithmBase;return t=>{var e=j(Sc(t),i),r=e<0?kc:Ac;return r(e)}}function Pc(t,e,i){var r=Ec;return t===Cc?r=function(t,e,i){e!==i&&t.categories.push(i),t.categories.push(e)}:e&&(r=function(t,i){var r=e.calculateInterval(i,t.prevValue),n=t.interval;t.interval=(n<r?n:r)||n,t.prevValue=i,Ec(t,i,i)}),i?(t,e,n)=>{var o=[];r(t,e,n),0!==e&&o.push(i(e)),0!==n&&o.push(i(n));var a=Tc.apply(null,o);t.linearThreshold=t.linearThreshold<a?t.linearThreshold:a}:r}function Ic(t,e,i){var r={axisType:t,dataType:e};return t===Cc?r.categories=[]:(r.min=(0,l.Kn)(i)?i.min:i,r.max=(0,l.Kn)(i)?i.max:i),r}function Lc(t){return t.categories&&(t.categories=ct(t.categories)),t}function Bc(t,e,i,r){if(e&&(0,l.$K)(e.value)){var n=t.value,o=e.value,a=t.argument,s=e.argument,u=(i-a)*(o-n)/(s-a)+n.valueOf();return"datetime"===r.dataType?new Date(u):u}return t.value}function Rc(t,e,i,r,n){var o=Bc(i,r,n,e);t(e,o,o)}function Vc(t){return t.type.toLowerCase().indexOf("line")>=0||t.type.toLowerCase().indexOf("area")>=0}function Dc(t){var e=Pc(t.valueAxisType),i=t.getArgumentAxis(),r=i&&t.getArgumentAxis().visualRange()||{},n=Vc(t)?Rc:s.ZT;if(i&&i.getMarginOptions().checkInterval){var o=t.getArgumentAxis().getTranslator().getBusinessRange(),a=pt(o,!1),u=o.interval;isFinite(u)&&(0,l.$K)(r.startValue)&&(0,l.$K)(r.endValue)&&(r.startValue=a(r.startValue,u,-1),r.endValue=a(r.endValue,u))}var h=zc(r);return function(t,i,o,a){var s=i.argument;return i.hasValue()?(h(s)?(t.startCalc||(t.startCalc=!0,n(e,t,i,a[o-1],r.startValue)),e(t,i.getMinValue(),i.getMaxValue())):!r.categories&&(0,l.$K)(r.startValue)&&s>r.startValue&&(t.startCalc||n(e,t,i,a[o-1],r.startValue),t.endCalc=!0,n(e,t,i,a[o-1],r.endValue)),t):t}}function zc(t){if(t.categories){var e=t.categories.reduce(((t,e)=>(t[e.valueOf()]=!0,t)),{});return t=>(0,l.$K)(t)&&e[t.valueOf()]}return(0,l.$K)(t.startValue)||(0,l.$K)(t.endValue)?(0,l.$K)(t.endValue)?(0,l.$K)(t.startValue)?e=>e>=t.startValue&&e<=t.endValue:e=>e<=t.endValue:e=>e>=t.startValue:()=>!0}var Mc={getViewPortFilter:zc,getArgumentRange:function(t){var e=t._data||[],i={};if(e.length)if(t.argumentAxisType===Cc)i={categories:e.map((t=>t.argument))};else{var r;if(e.length>1){var n=t.getArgumentAxis().calculateInterval(e[0].argument,e[1].argument),o=t.getArgumentAxis().calculateInterval(e[e.length-1].argument,e[e.length-2].argument);r=Tc(n,o)}i={min:e[0].argument,max:e[e.length-1].argument,interval:r}}return Lc(i)},getRangeData:function(t){var e=t.getPoints(),i=t.useAggregation(),r=t.getArgumentAxis(),n=Pc(t.argumentAxisType,e.length>1&&r,Oc(t.argumentAxisType,r)),o=Pc(t.valueAxisType,null,Oc(t.valueAxisType,t.getValueAxis())),a=Dc(t),s=e.reduce((function(t,e,i,r){var s=e.argument;return e.isArgumentCorrect()?(n(t.arg,s,s),e.hasValue()&&(o(t.val,e.getMinValue(),e.getMaxValue()),a(t.viewport,e,i,r)),t):t}),{arg:Ic(t.argumentAxisType,t.argumentType,null!==r&&void 0!==r&&r.aggregatedPointBetweenTicks()?void 0:t.getArgumentRangeInitialValue()),val:Ic(t.valueAxisType,t.valueType,e.length?t.getValueRangeInitialValue():void 0),viewport:Ic(t.valueAxisType,t.valueType,e.length?t.getValueRangeInitialValue():void 0)});if(i){var u=this.getArgumentRange(t);if(t.argumentAxisType===Cc)s.arg=u;else{var h=r.getViewport();((0,l.$K)(h.startValue)||(0,l.$K)(h.length))&&n(s.arg,u.min,u.min),((0,l.$K)(h.endValue)||(0,l.$K)(h.length)&&(0,l.$K)(h.startValue))&&n(s.arg,u.max,u.max)}}return Lc(s.arg),Lc(s.val),s},getViewport:function(t){var e,i=t.getPoints(),r=Dc(t);return e=Ic(t.valueAxisType,t.valueType,i.length?t.getValueRangeInitialValue():void 0),i.some((function(t,n){return r(e,t,n,i),e.endCalc})),e},getPointsInViewPort:function(t){var e=zc(t.getArgumentAxis().visualRange()||{}),i=t.getValueAxis().visualRange()||{},r=zc(i),n=t.getPoints(),o=function(t,e,n){var o=e.getMinValue(),a=e.getMaxValue(),s=r(o),l=r(a);s&&t.push(o),a!==o&&l&&t.push(a),!n||s||l||(t.length?t.push(i.endValue):t.push(i.startValue))},a=Vc(t)?function(t,i,r){var n=i[r],a=i[r-1],s=i[r+1];s&&e(s.argument)&&o(t[1],n,!0),a&&e(a.argument)&&o(t[1],n,!0)}:s.ZT;return n.reduce((function(t,i,r){return e(i.argument)?o(t[0],i):a(t,n,r),t}),[[],[]])}},Fc=Math,Nc=Fc.abs,Gc=Fc.sqrt,Hc=Fc.max,Zc=12,$c=400,Xc="highError",Yc="lowError",jc="variance",Kc="stddeviation",Uc="stderror",Wc="percent",qc="fixed",Jc="undefined",Qc="discrete",td="logarithmic",ed="datetime",id={},rd={};function nd(t){var e=0;return(0,h.S6)(t,(function(t,i){e+=i})),e}function od(t){return[qc,Wc,jc,Kc,Uc].includes(t)}function ad(t,e){return nd(Q(t,(function(t){return(t-e)*(t-e)})))/t.length}function sd(t,e,i){var r=i.getOptions().valueErrorBar,n=i.getValueFields()[0],o=r.lowValueField||Yc,a=r.highValueField||Xc;if(i.areErrorBarsVisible()&&void 0===r.type){var s=e.reduce((function(t,e){return(0,l.$K)(e[o])&&(t[0]+=e[n]-e[o],t[1]++),(0,l.$K)(e[a])&&(t[2]+=e[a]-e[n],t[3]++),t}),[0,0,0,0]);s[1]&&(t[o]=t[n]-s[0]/s[1]),s[2]&&(t[a]=t[n]+s[2]/s[3])}return t}function ld(t,e,i){var r=i.getOptions().valueErrorBar,n=r.lowValueField||Yc,o=r.highValueField||Xc;return i.areErrorBarsVisible()&&void 0===r.type&&(t[n]=0,t[o]=0,t=e.reduce((function(t,e){return t[n]+=e[n],t[o]+=e[o],t}),t)),t}function ud(t){return(e,i)=>{var{intervalStart:r,intervalEnd:n,data:o}=e,a=i.getValueFields()[0],s=o[0];return s=o.reduce(((e,i)=>{var r=i[a];return null===e[a]&&(e=i),null!==r&&t(r,e[a])?i:e}),s),(0,u.l)({},s,{[i.getArgumentField()]:i._getIntervalCenter(r,n)})}}function hd(t,e,i){var r=!0;for(var n in e){var o="argument"===n;if(o||"size"===n?!(0,l.$K)(t[n]):void 0===t[n]){var a=e[n];o||(i[a]=(i[a]||0)+1),r=!1}}return r}var cd={_defaultDuration:$c,_defaultTrackerWidth:Zc,_applyStyle:s.ZT,_updateOptions:s.ZT,_parseStyle:s.ZT,_prepareSegment:s.ZT,_drawSegment:s.ZT,_appendInGroup:function(){this._group.append(this._extGroups.seriesGroup)},_createLegendState:function(t,e){return{fill:t.color||e,hatching:t.hatching?(0,u.l)({},t.hatching,{direction:"right"}):void 0}},_applyElementsClipRect:function(t){t["clip-path"]=this._paneClipRectID},_applyMarkerClipRect:function(t){t["clip-path"]=this._forceClipping?this._paneClipRectID:null},_createGroup:function(t,e,i,r){var n=e[t]=e[t]||this._renderer.g();i&&n.append(i),r&&n.attr(r)},_applyClearingSettings:function(t){t.opacity=null,t.scale=null,this._options.rotated?t.translateX=null:t.translateY=null},_createGroups:function(){this._createGroup("_markersGroup",this,this._group),this._createGroup("_labelsGroup",this)},_setMarkerGroupSettings:function(){var t=this._createPointStyles(this._getMarkerGroupOptions()).normal;t.class="dxc-markers",t.opacity=1,this._applyMarkerClipRect(t),this._markersGroup.attr(t)},getVisibleArea:function(){return this._visibleArea},areErrorBarsVisible:function(){var t=this._options.valueErrorBar;return t&&this._errorBarsEnabled()&&"none"!==t.displayMode&&(od(tt(t.type))||(0,l.$K)(t.lowValueField)||(0,l.$K)(t.highValueField))},groupPointsByCoords(t){var e=[];return(0,h.S6)(this.getVisiblePoints(),(function(i,r){var n=parseInt(t?r.vy:r.vx);e[n]?Array.isArray(e[n])?e[n].push(r):e[n]=[e[n],r]:e[n]=r})),e},_createErrorBarGroup:function(t){var e,i=this._options.valueErrorBar;this.areErrorBarsVisible()&&(e={class:"dxc-error-bars",stroke:i.color,"stroke-width":i.lineWidth,opacity:t?.001:i.opacity||1,"stroke-linecap":"square",sharp:!0,"clip-path":this._forceClipping?this._paneClipRectID:this._widePaneClipRectID},this._createGroup("_errorBarGroup",this,this._group,e))},_setGroupsSettings:function(t){this._setMarkerGroupSettings(),this._setLabelGroupSettings(t),this._createErrorBarGroup(t)},_getCreatingPointOptions:function(){var t,e,i=this._predefinedPointOptions;return i||(t=this._getPointOptions(),this._predefinedPointOptions=i=(0,u.l)(!0,{styles:{}},t),e=t.styles&&t.styles.normal||{},i.styles=i.styles||{},i.styles.normal={"stroke-width":e["stroke-width"],r:e.r,opacity:e.opacity}),i},_getPointOptions:function(){return this._parsePointOptions(this._preparePointOptions(),this._options.label)},_getOptionsForPoint:function(){return this._options.point},_parsePointStyle:function(t,e,i,r){var n=t.border||{},o=void 0!==t.size?t.size:r;return{fill:t.color||e,stroke:n.color||i,"stroke-width":n.visible?n.width:0,r:o/2+(n.visible&&0!==o&&~~(n.width/2)||0)}},_createPointStyles:function(t){var e=t.color||this._options.mainSeriesColor,i=this._options.containerBackgroundColor,r=this._parsePointStyle(t,e,e);return r.visibility=t.visible?"visible":"hidden",{normal:r,hover:this._parsePointStyle(t.hoverStyle,i,e,t.size),selection:this._parsePointStyle(t.selectionStyle,i,e,t.size)}},_checkData:function(t,e,i){return i=i||{value:this.getValueFields()[0]},i.argument=this.getArgumentField(),hd(t,i,e||{})&&t.value===t.value},getArgumentRangeInitialValue(){var t,e,i=this.getPoints();if(this.useAggregation()&&i.length)return{min:null===(t=i[0].aggregationInfo)||void 0===t?void 0:t.intervalStart,max:null===(e=i[i.length-1].aggregationInfo)||void 0===e?void 0:e.intervalEnd}},getValueRangeInitialValue:function(){},_getRangeData:function(){return Mc.getRangeData(this)},_getPointDataSelector:function(){var t,e,i=this.getValueFields()[0],r=this.getArgumentField(),n=this.getTagField(),o=this.areErrorBarsVisible();if(o){var a=this._options.valueErrorBar;t=a.lowValueField||Yc,e=a.highValueField||Xc}return a=>{var s={value:this._processEmptyValue(a[i]),argument:a[r],tag:a[n],data:a};return o&&(s.lowError=a[t],s.highError=a[e]),s}},_errorBarsEnabled:function(){return this.valueAxisType!==Qc&&this.valueAxisType!==td&&this.valueType!==ed},_drawPoint:function(t){var e=t.point;e.isInVisibleArea()?(e.clearVisibility(),e.draw(this._renderer,t.groups,t.hasAnimation,t.firstDrawing),this._drawnPoints.push(e)):e.setInvisibility()},_animateComplete:function(){var t={duration:this._defaultDuration};this._labelsGroup&&this._labelsGroup.animate({opacity:1},t),this._errorBarGroup&&this._errorBarGroup.animate({opacity:this._options.valueErrorBar.opacity||1},t)},_animate:function(){var t=this,e=t._drawnPoints.length-1;(0,h.S6)(t._drawnPoints||[],(function(i,r){r.animate(i===e?function(){t._animateComplete()}:void 0,{translateX:r.x,translateY:r.y})}))},_getIntervalCenter(t,e){var i=this.getArgumentAxis(),r=i.getOptions();return i.aggregatedPointBetweenTicks()?t:"discrete"!==r.type?i.getVisualRangeCenter({minVisible:t,maxVisible:e},!0):t},_defaultAggregator:"avg",_aggregators:{avg(t,e){var{data:i,intervalStart:r,intervalEnd:n}=t;if(i.length){var o=e.getValueFields()[0],a=i.reduce(((t,e)=>{var i=e[o];return(0,l.$K)(i)?(t[0]+=i,t[1]++):null===i&&t[2]++,t}),[0,0,0]);return sd({[o]:a[2]===i.length?null:a[0]/a[1],[e.getArgumentField()]:e._getIntervalCenter(r,n)},i,e)}},sum(t,e){var{intervalStart:i,intervalEnd:r,data:n}=t;if(n.length){var o=e.getValueFields()[0],a=n.reduce(((t,e)=>{var i=e[o];return void 0!==i&&(t[0]+=i),null===i?t[1]++:void 0===i&&t[2]++,t}),[0,0,0]),s=a[0];if(a[1]===n.length&&(s=null),a[2]!==n.length)return ld({[o]:s,[e.getArgumentField()]:e._getIntervalCenter(i,r)},n,e)}},count(t,e){var{data:i,intervalStart:r,intervalEnd:n}=t,o=e.getValueFields()[0];return{[e.getArgumentField()]:e._getIntervalCenter(r,n),[o]:i.filter((t=>void 0!==t[o])).length}},min:ud(((t,e)=>t<e)),max:ud(((t,e)=>t>e))},_endUpdateData:function(){delete this._predefinedPointOptions},getArgumentField:function(){return this._options.argumentField||"arg"},getValueFields:function(){var t,e,i=this._options,r=i.valueErrorBar,n=[i.valueField||"val"];return r&&(t=r.lowValueField,e=r.highValueField,(0,l.HD)(t)&&n.push(t),(0,l.HD)(e)&&n.push(e)),n},_calculateErrorBars:function(t){if(this.areErrorBarsVisible()){var e,i,r,n,o,a=this._options,s=a.valueErrorBar,u=tt(s.type),c=parseFloat(s.value),d=this.getValueFields()[0],p=s.lowValueField||Yc,g=s.highValueField||Xc,f=function(t,i){e=i.value,i.lowError=e-c,i.highError=e+c};switch(u){case qc:o=f;break;case Wc:o=function(t,i){e=i.value;var r=e*c/100;i.lowError=e-r,i.highError=e+r};break;case Jc:o=function(t,e){e.lowError=e.data[p],e.highError=e.data[g]};break;default:switch(i=Q(t,(function(t){return(0,l.$K)(t.data[d])?t.data[d]:null})),r=i.length,c=c||1,u){case jc:c=ad(i,nd(i)/r)*c,o=f;break;case Kc:n=nd(i)/r,c=Gc(ad(i,n))*c,o=function(t,e){e.lowError=n-c,e.highError=n+c};break;case Uc:c=Gc(ad(i,nd(i)/r)/r)*c,o=f}}o&&(0,h.S6)(t,o)}},_patchMarginOptions:function(t){var e=this._getCreatingPointOptions(),i=e.styles,r=[i.normal,i.hover,i.selection].reduce((function(t,e){return Hc(t,2*e.r+e["stroke-width"])}),0);return t.size=e.visible?r:0,t.sizePointNormalState=e.visible?2*i.normal.r+i.normal["stroke-width"]:2,t},usePointsToDefineAutoHiding:()=>!0};id=(0,u.l)({},cd,{drawTrackers:function(){var t,e,i=this,r=i._segments||[],n=i._options.rotated;i.isVisible()&&(r.length&&(t=i._trackers=i._trackers||[],e=i._trackersGroup=(i._trackersGroup||i._renderer.g().attr({fill:"gray",opacity:.001,stroke:"gray",class:"dxc-trackers"})).attr({"clip-path":this._paneClipRectID||null}).append(i._group),(0,h.S6)(r,(function(r,n){t[r]?i._updateTrackerElement(n,t[r]):t[r]=i._drawTrackerElement(n).data({"chart-data-series":i}).append(e)}))),i._trackersTranslator=i.groupPointsByCoords(n))},_checkAxisVisibleAreaCoord(t,e){var i=t?this.getArgumentAxis():this.getValueAxis(),r=i.getVisibleArea();return(0,l.$K)(e)&&r[0]<=e&&r[1]>=e},checkSeriesViewportCoord(t,e){return this.getPoints().length&&this.isVisible()},getSeriesPairCoord(t,e){for(var i=null,r=!e&&!this._options.rotated||e&&this._options.rotated,n=r?"vy":"vx",o=r?"vx":"vy",a=this.getVisiblePoints(),s=0;s<a.length;s++){var l=a[s],u=l[n]===t?l[o]:void 0;if(this._checkAxisVisibleAreaCoord(!e,u)){i=u;break}}return i},_getNearestPoints:(t,e)=>[t,e],_getBezierPoints:()=>[],_getNearestPointsByCoord(t,e){var i=this,r=i.getOptions().rotated,n=!e&&!r||e&&r,o=n?"vy":"vx",a=i.getPoints(),s=i._getBezierPoints(),l=[];return a.length>1?a.forEach(((e,r)=>{var n=a[r+1];n&&(e[o]<=t&&n[o]>=t||e[o]>=t&&n[o]<=t)&&l.push(i._getNearestPoints(e,n,s))})):l.push([a[0],a[0]]),l},getNeighborPoint:function(t,e){var i,r=this._options.rotated?e:t,n=r,o=this._trackersTranslator,a=null,s=this._options.rotated?t:e,l=this._options.rotated?"vx":"vy";if(this.isVisible()&&o){a=o[r];do{a=o[n]||o[r],r--,n++}while((r>=0||n<o.length)&&!a);Array.isArray(a)&&(i=Nc(a[0][l]-s),(0,h.S6)(a,(function(t,e){var r=Nc(e[l]-s);i>=r&&(i=r,a=e)})))}return a},_applyVisibleArea:function(){var t=this._options.rotated,e=(t?this.getValueAxis():this.getArgumentAxis()).getVisibleArea(),i=(t?this.getArgumentAxis():this.getValueAxis()).getVisibleArea();this._visibleArea={minX:e[0],maxX:e[1],minY:i[0],maxY:i[1]}},getPointCenterByArg(t){var e=this.getPointsByArg(t)[0];return e?e.getCenterCoord():void 0}}),rd=(0,u.l)({},cd,{drawTrackers:function(){id.drawTrackers.call(this);var t,e=this._trackersTranslator;this.isVisible()&&((0,h.S6)(e,(function(e,i){if(i)return t=e,!1})),e[t+360]=e[t])},getNeighborPoint:function(t,e){var i=ut(this.getValueAxis().getCenter(),t,e);return id.getNeighborPoint.call(this,i.phi,i.r)},_applyVisibleArea:function(){var t=this.getValueAxis().getCanvas();this._visibleArea={minX:t.left,maxX:t.width-t.right,minY:t.top,maxY:t.height-t.bottom}},getSeriesPairCoord(t,e){for(var i=null,r=e?"argument":"radius",n=this.getVisiblePoints(),o=0;o<n.length;o++){var a=n[o],s=(0,l.$K)(a[r])&&(0,l.$K)(t[r])&&a[r].valueOf()===t[r].valueOf()?{x:a.x,y:a.y}:void 0;if((0,l.$K)(s)){i=s;break}}return i}});var dd="discrete",{round:pd,sqrt:gd,pow:fd,min:md,max:_d,abs:vd}=Math,bd={},yd={};function xd(t,e,i,r){var n=(0,ts.d9)(t);return n.x=e,n.y=i,n.angle=r,n}function wd(t,e,i,r,n){var o=t.angle+n,a=q(o),s=i.x+(t.radius+r*n)*a.cos,l=i.y-(t.radius+r*n)*a.sin;return xd(e,s,l,o)}function Cd(t,e,i,r,n){var o=e-t,a=3*i-3*e,s=3*r-6*i+3*e,l=n-3*r+3*i-e;return(0,c.LO)(l,s,a,o)}var Sd={autoHidePointMarkersEnabled:()=>!0,_applyGroupSettings:function(t,e,i){e=(0,u.l)(e,t),this._applyElementsClipRect(e),i.attr(e)},_setGroupsSettings:function(t){var e=this._styles.normal;this._applyGroupSettings(e.elements,{class:"dxc-elements"},this._elementsGroup),this._bordersGroup&&this._applyGroupSettings(e.border,{class:"dxc-borders"},this._bordersGroup),id._setGroupsSettings.call(this,t),t&&this._markersGroup&&this._markersGroup.attr({opacity:.001})},_createGroups:function(){this._createGroup("_elementsGroup",this,this._group),this._areBordersVisible()&&this._createGroup("_bordersGroup",this,this._group),id._createGroups.call(this)},_areBordersVisible:function(){return!1},_getDefaultSegment:function(t){return{line:Q(t.line||[],(function(t){return t.getDefaultCoords()}))}},_prepareSegment:function(t){return{line:t}},_parseLineOptions:function(t,e){return{stroke:t.color||e,"stroke-width":t.width,dashStyle:t.dashStyle||"solid"}},_parseStyle:function(t,e){return{elements:this._parseLineOptions(t,e)}},_applyStyle:function(t){this._elementsGroup&&this._elementsGroup.attr(t.elements),(0,h.S6)(this._graphics||[],(function(e,i){i.line&&i.line.attr({"stroke-width":t.elements["stroke-width"]}).sharp()}))},_drawElement:function(t,e){return{line:this._createMainElement(t.line,{"stroke-width":this._styles.normal.elements["stroke-width"]}).append(e)}},_removeElement:function(t){t.line.remove()},_updateElement:function(t,e,i,r){var n={points:e.line},o=t.line;i?o.animate(n,{},r):o.attr(n)},_animateComplete:function(){id._animateComplete.call(this),this._markersGroup&&this._markersGroup.animate({opacity:1},{duration:this._defaultDuration})},_animate:function(){var t=this,e=t._graphics.length-1;(0,h.S6)(t._graphics||[],(function(i,r){var n;i===e&&(n=function(){t._animateComplete()}),t._updateElement(r,t._segments[i],!0,n)}))},_drawPoint:function(t){id._drawPoint.call(this,{point:t.point,groups:t.groups})},_createMainElement:function(t,e){return this._renderer.path(t,"line").attr(e)},_sortPoints:function(t,e){return e?t.sort((function(t,e){return e.y-t.y})):t.sort((function(t,e){return t.x-e.x}))},_drawSegment:function(t,e,i,r){var n=this._options.rotated,o=this._prepareSegment(t,n,r);this._segments.push(o),this._graphics[i]?e||this._updateElement(this._graphics[i],o):this._graphics[i]=this._drawElement(e?this._getDefaultSegment(o):o,this._elementsGroup)},_getTrackerSettings:function(){var t=this._defaultTrackerWidth,e=this._styles.normal.elements["stroke-width"];return{"stroke-width":e>t?e:t,fill:"none"}},_getMainPointsFromSegment:function(t){return t.line},_drawTrackerElement:function(t){return this._createMainElement(this._getMainPointsFromSegment(t),this._getTrackerSettings(t))},_updateTrackerElement:function(t,e){var i=this._getTrackerSettings(t);i.points=this._getMainPointsFromSegment(t),e.attr(i)},checkSeriesViewportCoord(t,e){if(!id.checkSeriesViewportCoord.call(this))return!1;var i=t.isArgumentAxis?this.getArgumentRange():this.getViewport(),r=t.getTranslator().translate(i.categories?i.categories[0]:i.min),n=t.getTranslator().translate(i.categories?i.categories[i.categories.length-1]:i.max),o=this.getOptions().rotated,a=t.getOptions().inverted;return t.isArgumentAxis&&(!o&&!a||o&&a)||!t.isArgumentAxis&&(o&&!a||!o&&a)?e>=r&&e<=n:e>=n&&e<=r}},kd=bd.line=(0,u.l)({},id,Sd,{getPointCenterByArg(t){var e=this.getArgumentAxis().getTranslator().translate(t);return{x:e,y:e}},getSeriesPairCoord(t,e){for(var i=null,r=this._getNearestPointsByCoord(t,e),n=e&&!this._options.rotated||!e&&this._options.rotated,o=0;o<r.length;o++){var a=r[o],s=(a[1].vy-a[0].vy)/(a[1].vx-a[0].vx),l=a[0].vy-a[0].vx*s,u=void 0;if(u=a[1].vx-a[0].vx===0?n?a[0].vy:a[0].vx:n?s*t+l:(t-l)/s,this._checkAxisVisibleAreaCoord(!e,u)){i=u;break}}return i}});bd.stepline=(0,u.l)({},kd,{_calculateStepLinePoints(t){var e=[],i=this._options.rotated?"x":"y";return(0,h.S6)(t,(function(t,r){var n;if(t){var o=e[e.length-1][i];o!==r[i]&&(n=(0,ts.d9)(r),n[i]=o,e.push(n)),e.push(r)}else e.push(r)})),e},_prepareSegment:function(t){return kd._prepareSegment(this._calculateStepLinePoints(t))},getSeriesPairCoord(t,e){for(var i,r=this._options.rotated,n=!e&&!r||e&&r,o=n?"vy":"vx",a=n?"vx":"vy",s=this._getNearestPointsByCoord(t,e),l=0;l<s.length;l++){var u=s[l],h=void 0;if(h=e?t!==u[1][o]?u[0][a]:u[1][a]:t===u[0][o]?u[0][a]:u[1][a],this._checkAxisVisibleAreaCoord(!e,h)){i=h;break}}return i}}),bd.spline=(0,u.l)({},kd,{_calculateBezierPoints:function(t,e){var i=[],r=t,n=function(t,e,i){return t>e&&i>t||t<e&&i<t?t:i};return 1!==r.length?r.forEach((function(t,o){var a,s,l,u,h,c,d,p,g,f,m,_,v,b,y=r[o-1],x=r[o+1];if(o&&o!==r.length-1){var w=t.x,C=t.y;h=y.x,c=x.x,d=y.y,p=x.y;var S=!!(!e&&(C<=y.y&&C<=x.y||C>=y.y&&C>=x.y)||e&&(w<=y.x&&w<=x.x||w>=y.x&&w>=x.x));if(S)e?(l=a=w,u=(C+x.y)/2,s=(C+y.y)/2):(u=s=C,l=(w+x.x)/2,a=(w+y.x)/2);else{if(g=p-d,f=h-c,m=d*c-h*p,e){if(!g)return void i.push(t,t,t);v=C,_=-1*(f*v+m)/g,b=_-w,h-=b,c-=b}else{if(!f)return void i.push(t,t,t);_=w,v=-1*(g*_+m)/f,b=v-C,d-=b,p-=b}l=(w+.5*c)/1.5,u=(C+.5*p)/1.5,a=(w+.5*h)/1.5,s=(C+.5*d)/1.5}e?(a=n(y.x,w,a),l=n(x.x,w,l)):(s=n(y.y,C,s),u=n(x.y,C,u));var k=xd(t,a,s),A=xd(t,l,u);i.push(k,t,A)}else i.push(t,t)})):i.push(r[0]),i},_prepareSegment:function(t,e){return kd._prepareSegment(this._calculateBezierPoints(t,e))},_createMainElement:function(t,e){return this._renderer.path(t,"bezier").attr(e)},getSeriesPairCoord(t,e){for(var i=null,r=!e&&!this._options.rotated||e&&this._options.rotated,n=r?"vy":"vx",o=r?"y":"x",a=r?"vx":"vy",s=r?"x":"y",l=e?this.getValueAxis():this.getArgumentAxis(),u=l.getVisibleArea(),h=this._getNearestPointsByCoord(t,e),c=function(e){var r=h[e];if(1===r.length)u[0]<=r[0][a]&&u[1]>=r[0][a]&&(i=r[0][a]);else{var l=Cd(t,r[0][n],r[1][o],r[2][o],r[3][n]);l.forEach((t=>{if(t>=0&&t<=1){var e=Math.pow(1-t,3)*r[0][a]+3*Math.pow(1-t,2)*t*r[1][s]+3*(1-t)*t*t*r[2][s]+t*t*t*r[3][a];u[0]<=e&&u[1]>=e&&(i=e)}}))}if(null!==i)return"break"},d=0;d<h.length;d++){var p=c(d);if("break"===p)break}return i},_getNearestPoints(t,e,i){var r=i.indexOf(t);return[t,i[r+1],i[r+2],e]},_getBezierPoints(){return this._segments.length>0?this._segments.reduce(((t,e)=>t.concat(e.line)),[]):[]}}),yd.line=(0,u.l)({},rd,Sd,{_sortPoints:function(t){return t},_prepareSegment:function(t,e,i){var r,n=[],o=this.getValueAxis().getCenter();if(i&&this._closeSegment(t),this.argumentAxisType===dd||this.valueAxisType===dd)return kd._prepareSegment.call(this,t);for(r=1;r<t.length;r++)n=n.concat(this._getTangentPoints(t[r],t[r-1],o,r===t.length-1));return n.length||(n=t),{line:n}},_getRemainingAngle:function(t){var e=U(t);return t>=0?360-e:-e},_closeSegment(t){var e;e=this._segments.length?this._segments[0].line[0]:xd(t[0],t[0].x,t[0].y,t[0].angle),e=this._modifyReflectedPoint(e,t[t.length-1]),e&&t.push(e)},_modifyReflectedPoint(t,e){if(e.angle!==t.angle){if(U(pd(e.angle))===U(pd(t.angle)))t.angle=e.angle;else{var i=e.angle-t.angle;t.angle=e.angle+this._getRemainingAngle(i)}return t}},_getTangentPoints:function(t,e,i,r){var n,o=[],a=Math.round(e.angle-t.angle),s=(e.radius-t.radius)/a;if(0===a)o=[e,t];else if(a>0){var l=r?a:a-1;for(n=l;n>=0;n--)o.push(wd(t,e,i,s,n))}else{var u=r?a:a+1;for(n=0;n>=u;n--)o.push(wd(t,e,i,s,a-n))}return o},getSeriesPairCoord(t,e){var i,r=this.getArgumentAxis(),n=e?"angle":"radius",o=t[n],a=r.getCenter(),s=(t,e,i)=>{var n,o,{x:s,y:l}=i;return n={x:s,y:l},o=a,gd(fd(n.x-o.x,2)+fd(n.y-o.y,2))<=r.getRadius()&&md(t.x,e.x)<=s&&_d(t.x,e.x)>=s&&md(t.y,e.y)<=l&&_d(t.y,e.y)>=l},l=this.getNeighborPoints(o,n);if(1===l.length)i=l[0];else if(l.length>1){var u,h,d=l[0],p=l[1];if(this.argumentAxisType!==dd&&this.valueAxisType!==dd)e?(u=(d.radius-p.radius)/(d.angle-p.angle),h=o-p.angle):(u=(d.radius-p.radius)/(d.angle-p.angle),h=(o-p.radius)/u),i=wd(p,d,a,u,h);else if(e){var g=q(-o),f=(p.y-d.y)/(p.x-d.x),m=d.y-d.x*f,_=g.sin/g.cos,v=a.y-_*a.x,b=(v-m)/(f-_),y=f*b+m;if(s(d,p,{x:b,y:y})){var x=vd((0,c.RF)((360+o)/90)%4);(0===x&&b>=a.x&&y<=a.y||1===x&&b<=a.x&&y<=a.y||2===x&&b<=a.x&&y>=a.y||3===x&&b>=a.x&&y>=a.y)&&(i={x:b,y:y})}}else{var w=(p.y-d.y)/(p.x-d.x),C=d.y-d.x*w,S=1+w*w,k=-2*a.x+2*w*C-2*w*a.y,A=-fd(o,2)+fd(C-a.y,2)+fd(a.x,2),T=k*k-4*S*A;if(T>=0){var E=(-k-gd(T))/(2*S),O=(-k+gd(T))/(2*S),P=w*E+C,I=w*O+C;i=s(d,p,{x:E,y:P})?{x:E,y:P}:s(d,p,{x:O,y:I})?{x:O,y:I}:void 0}}}return i},getNeighborPoints(t,e){var i=this.getPoints(),r=[];if(this.getOptions().closed){i=(0,u.l)(!0,[],i);var n=i[i.length-1],o=xd(i[0],i[0].x,i[0].y,i[0].angle),a=xd(n,n.x,n.y,n.angle),s=this._modifyReflectedPoint(o,n),l=this._modifyReflectedPoint(a,i[0]);l&&i.unshift(l),s&&i.push(s)}for(var h=1;h<i.length;h++)if(i[h-1][e]===t?r.push(i[h-1]):i[h][e]===t?r.push(i[h]):(i[h][e]>t&&i[h-1][e]<t||i[h-1][e]>t&&i[h][e]<t)&&(r.push(i[h-1]),r.push(i[h])),r.length>0)break;return r}});var Ad=bd.line,Td=yd.line,Ed=u.l,Od=bd.spline._calculateBezierPoints,Pd={},Id={},Ld={_createBorderElement:Ad._createMainElement,_createLegendState:function(t,e){return{fill:t.color||e,opacity:t.opacity,hatching:t.hatching}},getValueRangeInitialValue:function(){return"logarithmic"!==this.valueAxisType&&"datetime"!==this.valueType&&!1!==this.showZero?0:id.getValueRangeInitialValue.call(this)},_getDefaultSegment:function(t){var e=Ad._getDefaultSegment(t);return e.area=e.line.concat(e.line.slice().reverse()),e},_updateElement:function(t,e,i,r){var n={points:e.line},o={points:e.area},a=t.line;i?(a&&a.animate(n),t.area.animate(o,{},r)):(a&&a.attr(n),t.area.attr(o))},_removeElement:function(t){t.line&&t.line.remove(),t.area.remove()},_drawElement:function(t){return{line:this._bordersGroup&&this._createBorderElement(t.line,{"stroke-width":this._styles.normal.border["stroke-width"]}).append(this._bordersGroup),area:this._createMainElement(t.area).append(this._elementsGroup)}},_applyStyle:function(t){this._elementsGroup&&this._elementsGroup.smartAttr(t.elements),this._bordersGroup&&this._bordersGroup.attr(t.border),(this._graphics||[]).forEach((function(e){e.line&&e.line.attr({"stroke-width":t.border["stroke-width"]}).sharp()}))},_parseStyle:function(t,e,i){var r=t.border||{},n=Ad._parseLineOptions(r,i);return n.stroke=r.visible&&n["stroke-width"]?n.stroke:"none",n["stroke-width"]=n["stroke-width"]||1,{border:n,elements:{stroke:"none",fill:t.color||e,hatching:t.hatching,opacity:t.opacity}}},_areBordersVisible:function(){var t=this._options;return t.border.visible||t.hoverStyle.border.visible||t.selectionStyle.border.visible},_createMainElement:function(t,e){return this._renderer.path(t,"area").attr(e)},_getTrackerSettings:function(t){return{"stroke-width":t.singlePointSegment?this._defaultTrackerWidth:0}},_getMainPointsFromSegment:function(t){return t.area}};function Bd(t){return Q(t,(function(t){return t.getCoords()})).concat(Q(t.slice().reverse(),(function(t){return t.getCoords(!0)})))}var Rd=Pd.area=Ed({},Ad,Ld,{_prepareSegment(t,e){var i=this._processSinglePointsAreaSegment(t,e),r=Bd(i),n=this.getArgumentAxis();if(n.getAxisPosition){var o=n.getAxisPosition(),a=n.getOptions(),s=(e?1:-1)*Math.round(a.width/2);a.visible&&r.forEach(((i,a)=>{if(i){var l=1===t.length?0:a<t.length?a:r.length-1-a;e&&i.x===t[l].defaultX&&i.x===o-n.getAxisShift()&&(i.x+=s),!e&&i.y===t[l].defaultY&&i.y===o-n.getAxisShift()&&(i.y+=s)}}))}return{line:i,area:r,singlePointSegment:i!==t}},_processSinglePointsAreaSegment:function(t,e){if(t&&1===t.length){var i=t[0],r=(0,ts.d9)(i);return r[e?"y":"x"]+=1,r.argument=null,[i,r]}return t}});Id.area=Ed({},Td,Ld,{_prepareSegment:function(t,e,i){return i&&Td._closeSegment.call(this,t),Rd._prepareSegment.call(this,t)},_processSinglePointsAreaSegment:function(t){return yd.line._prepareSegment.call(this,t).line}}),Pd.steparea=Ed({},Rd,{_prepareSegment:function(t,e){var i=bd.stepline;return t=Rd._processSinglePointsAreaSegment(t,e),Rd._prepareSegment.call(this,i._calculateStepLinePoints.call(this,t),e)},getSeriesPairCoord:bd.stepline.getSeriesPairCoord}),Pd.splinearea=Ed({},Rd,{_areaPointsToSplineAreaPoints:function(t){var e=t[t.length/2-1],i=t[t.length/2];t.splice(t.length/2,0,{x:e.x,y:e.y},{x:i.x,y:i.y})},_prepareSegment:function(t,e){var i=Rd._processSinglePointsAreaSegment(t,e),r=Rd._prepareSegment.call(this,Od(i,e));return this._areaPointsToSplineAreaPoints(r.area),r.singlePointSegment=i!==t,r},_getDefaultSegment:function(t){var e=Rd._getDefaultSegment(t);return this._areaPointsToSplineAreaPoints(e.area),e},_createMainElement:function(t,e){return this._renderer.path(t,"bezierarea").attr(e)},_createBorderElement:bd.spline._createMainElement,getSeriesPairCoord:bd.spline.getSeriesPairCoord,_getNearestPoints:bd.spline._getNearestPoints,_getBezierPoints:bd.spline._getBezierPoints,obtainCubicBezierTCoef:bd.spline.obtainCubicBezierTCoef});var Vd=Pd.area,Dd=id,zd=rd,Md=u.l,Fd=h.S6,Nd={},Gd={},Hd={_createLegendState:function(t,e){return{fill:t.color||e,hatching:t.hatching}},_parsePointStyle:function(t,e,i){var r=t.color||e,n=Dd._parsePointStyle.call(this,t,r,i);return n.fill=r,n.hatching=t.hatching,n.dashStyle=t.border&&t.border.dashStyle||"solid",delete n.r,n},_applyMarkerClipRect:function(t){t["clip-path"]=null},_setGroupsSettings:function(t,e){var i=this,r={};Dd._setGroupsSettings.apply(i,arguments),t&&e?r=this._getAffineCoordOptions():t||(r={scaleX:1,scaleY:1,translateX:0,translateY:0}),i._markersGroup.attr(r)},_drawPoint:function(t){t.hasAnimation=t.hasAnimation&&!t.firstDrawing,t.firstDrawing=!1,Dd._drawPoint.call(this,t)},_getMainColor:function(){return this._options.mainSeriesColor},_createPointStyles:function(t){var e=t.color||this._getMainColor();return{normal:this._parsePointStyle(t,e,e),hover:this._parsePointStyle(t.hoverStyle||{},e,e),selection:this._parsePointStyle(t.selectionStyle||{},e,e)}},_updatePointsVisibility:function(){var t=this._options.visible;(0,h.S6)(this._points,(function(e,i){i._options.visible=t}))},_getOptionsForPoint:function(){return this._options},_animate:function(t){var e=this;e._animatePoints(t,(function(){e._animateComplete()}),(function(t,e){var i=t.length-1;Fd(t||[],(function(t,r){r.animate(t===i?e:void 0,r.getMarkerCoords())}))}))},getValueRangeInitialValue:Vd.getValueRangeInitialValue,_patchMarginOptions:function(t){var e;return t.checkInterval=!this.useAggregation()||(null===(e=this.getArgumentAxis())||void 0===e?void 0:e.aggregatedPointBetweenTicks()),t},_defaultAggregator:"sum",_defineDrawingState(){},usePointsToDefineAutoHiding:()=>!1};Nd.bar=Md({},Dd,Hd,{_getAffineCoordOptions:function(){var t=this._options.rotated,e=t?"X":"Y",i={scaleX:t?.001:1,scaleY:t?1:.001};return i["translate"+e]=this.getValueAxis().getTranslator().translate("canvas_position_default"),i},_animatePoints:function(t,e,i){this._markersGroup.animate({scaleX:1,scaleY:1,translateY:0,translateX:0},void 0,e),t||i(this._drawnPoints,e)},checkSeriesViewportCoord(t,e){if(!Dd.checkSeriesViewportCoord.call(this))return!1;if(t.isArgumentAxis)return!0;var i=t.getTranslator(),r=this.getViewport(),n=i.translate(r.categories?r.categories[0]:r.min),o=i.translate(r.categories?r.categories[r.categories.length-1]:r.max),a=this.getOptions().rotated,s=t.getOptions().inverted;return a&&!s||!a&&s?e>=n&&e<=o:e>=o&&e<=n},getSeriesPairCoord(t,e){for(var i=null,{rotated:r}=this._options,n=!e&&!r||e&&r,o=n?"vy":"vx",a=n?"vx":"vy",s=this.getPoints(),l=0;l<s.length;l++){var u=s[l],h=void 0;if(h=e?u.getCenterCoord()[o[1]]===t?u[a]:void 0:u[o]===t?u[a]:void 0,this._checkAxisVisibleAreaCoord(!e,h)){i=h;break}}return i}}),Gd.bar=Md({},zd,Hd,{_animatePoints:function(t,e,i){i(this._drawnPoints,e)},_setGroupsSettings:Dd._setGroupsSettings,_drawPoint:function(t,e,i){Dd._drawPoint.call(this,t,e,i)},_parsePointStyle:function(t){var e=Hd._parsePointStyle.apply(this,arguments);return e.opacity=t.opacity,e},_createGroups:Dd._createGroups,_setMarkerGroupSettings:function(){var t=this._createPointStyles(this._getMarkerGroupOptions()).normal;t.class="dxc-markers",this._applyMarkerClipRect(t);var e=Md({},t);delete e.opacity,this._markersGroup.attr(e)},getSeriesPairCoord(t,e){for(var i=null,r=e?"argument":"radius",n=this.getVisiblePoints(),o=this.getArgumentAxis(),a=o.getAngles()[0],s=0;s<n.length;s++){var u=n[s],h=(0,l.$K)(u[r])&&(0,l.$K)(t[r])&&u[r].valueOf()===t[r].valueOf()?lt(o.getCenter(),a,-o.getTranslatedAngle(u.angle),u.radius):void 0;if((0,l.$K)(h)){i=h;break}}return i},_createLegendState:Vd._createLegendState});var Zd=u.l,$d=Nd.bar,Xd=Pd.area,Yd={},jd={areErrorBarsVisible:s.ZT,_createErrorBarGroup:s.ZT,_checkData:function(t,e){var i=this.getValueFields();return id._checkData.call(this,t,e,{minValue:i[0],value:i[1]})&&t.minValue===t.minValue},getValueRangeInitialValue:id.getValueRangeInitialValue,_getPointDataSelector:function(t){var e=this.getValueFields(),i=e[0],r=e[1],n=this.getTagField(),o=this.getArgumentField();return t=>({tag:t[n],minValue:this._processEmptyValue(t[i]),value:this._processEmptyValue(t[r]),argument:t[o],data:t})},_defaultAggregator:"range",_aggregators:{range(t,e){var{intervalStart:i,intervalEnd:r,data:n}=t;if(n.length){var o=e.getValueFields(),a=o[0],s=o[1],u=n.reduce(((t,e)=>{var i=e[a],r=e[s];return(0,l.$K)(i)&&(0,l.$K)(r)?(t[a]=Math.min(t[a],Math.min(i,r)),t[s]=Math.max(t[s],Math.max(i,r)),t):t}),{[a]:1/0,[s]:-1/0,[e.getArgumentField()]:e._getIntervalCenter(i,r)});if(!isFinite(u[a])||!isFinite(u[s])){if(n.filter((t=>null===t[a]&&null===t[s])).length!==n.length)return;u[a]=u[s]=null}return u}}},getValueFields:function(){return[this._options.rangeValue1Field||"val1",this._options.rangeValue2Field||"val2"]},getSeriesPairCoord(t,e){for(var i=null,{rotated:r}=this._options,n=!e&&!r||e&&r,o=n?"vy":"vx",a=r?"minX":"minY",s=n?"vx":"vy",l=this.getPoints(),u=0;u<l.length;u++){var h=l[u],c=void 0;if(e)c=h.getCenterCoord()[o[1]]===t?h[s]:void 0;else{var d=[Math.min(h[o],h[a]),Math.max(h[o],h[a])];c=t>=d[0]&&t<=d[1]?h[s]:void 0}if(this._checkAxisVisibleAreaCoord(!e,c)){i=c;break}}return i}};Yd.rangebar=Zd({},$d,jd),Yd.rangearea=Zd({},Xd,{_drawPoint:function(t){var e=t.point;e.isInVisibleArea()?(e.clearVisibility(),e.draw(this._renderer,t.groups),this._drawnPoints.push(e),e.visibleTopMarker||e.hideMarker("top"),e.visibleBottomMarker||e.hideMarker("bottom")):e.setInvisibility()},_prepareSegment:function(t,e){var i=this._processSinglePointsAreaSegment(t,e),r=Q(i,(function(t){return t.getCoords(!0)}));return{line:i,bottomLine:r,area:Q(i,(function(t){return t.getCoords()})).concat(r.slice().reverse()),singlePointSegment:i!==t}},_getDefaultSegment:function(t){var e=Xd._getDefaultSegment.call(this,t);return e.bottomLine=e.line,e},_removeElement:function(t){Xd._removeElement.call(this,t),t.bottomLine&&t.bottomLine.remove()},_drawElement:function(t,e){var i=Xd._drawElement.call(this,t,e);return i.bottomLine=this._bordersGroup&&this._createBorderElement(t.bottomLine,{"stroke-width":this._styles.normal.border["stroke-width"]}).append(this._bordersGroup),i},_applyStyle:function(t){var e=this._elementsGroup,i=this._bordersGroup;e&&e.smartAttr(t.elements),i&&i.attr(t.border),(this._graphics||[]).forEach((function(e){e.line&&e.line.attr({"stroke-width":t.border["stroke-width"]}),e.bottomLine&&e.bottomLine.attr({"stroke-width":t.border["stroke-width"]})}))},_updateElement:function(t,e,i,r){var n={points:e.bottomLine},o=t.bottomLine;Xd._updateElement.apply(this,arguments),o&&(i?o.animate(n):o.attr(n))}},jd);var Kd=bd.line,Ud=Pd.area,Wd=Nd.bar,qd=Gd.bar,Jd=u.l,Qd=h.S6,tp=s.ZT,ep={};ep.bubble=Jd({},id,{_calculateErrorBars:tp,_getMainColor:Wd._getMainColor,_createPointStyles:Wd._createPointStyles,_updatePointsVisibility:Wd._updatePointsVisibility,_getOptionsForPoint:Wd._getOptionsForPoint,_applyMarkerClipRect:Kd._applyElementsClipRect,_parsePointStyle:qd._parsePointStyle,_createLegendState:Ud._createLegendState,_setMarkerGroupSettings:qd._setMarkerGroupSettings,areErrorBarsVisible:tp,_createErrorBarGroup:tp,_checkData:function(t,e){return id._checkData.call(this,t,e,{value:this.getValueFields()[0],size:this.getSizeField()})},_getPointDataSelector:function(t,e){var i=this.getSizeField(),r=id._getPointDataSelector.call(this);return t=>{var e=r(t);return e.size=t[i],e}},_aggregators:{avg(t,e){var{data:i,intervalStart:r,intervalEnd:n}=t;if(i.length){var o=e.getValueFields()[0],a=e.getSizeField(),s=i.reduce(((t,e)=>(t[0]+=e[o],t[1]+=e[a],t[2]++,t)),[0,0,0]);return{[o]:s[0]/s[2],[a]:s[1]/s[2],[e.getArgumentField()]:e._getIntervalCenter(r,n)}}}},getValueFields:function(){return[this._options.valueField||"val"]},getSizeField:function(){return this._options.sizeField||"size"},_animate:function(){var t=this,e=t._drawnPoints.length-1,i=t._labelsGroup,r=function(){i&&i.animate({opacity:1},{duration:t._defaultDuration})};Qd(t._drawnPoints||[],(function(t,i){i.animate(t===e?r:void 0,{r:i.bubbleSize,translateX:i.x,translateY:i.y})}))},_patchMarginOptions:function(t){return t.processBubbleSize=!0,t}});var ip=id,rp=Nd.bar,np=u.l,op=h.S6,ap=s.ZT,sp=Q,lp=isFinite,up=Math.max,hp=.7,cp="inside",dp=np({},rp,{_setGroupsSettings:function(){ip._setGroupsSettings.apply(this,arguments),this._labelsGroup.attr({"pointer-events":null})},_createErrorBarGroup:ap,_drawPoint:function(t){var e=t.point,i=this._legendCallback;ip._drawPoint.call(this,t),!e.isVisible()&&e.setInvisibility(),e.isSelected()&&i()},_getOldPoint:function(t,e,i){var r=(this._points||[])[i];return r&&(e[r.argument.valueOf()]=e[r.argument.valueOf()].filter((t=>t!==r))),r},adjustLabels:function(t){return(this._points||[]).reduce(((e,i)=>{if(i._label.isVisible())return i.setLabelTrackerData(),e=i.applyWordWrap(t)||e,i.updateLabelCoord(t),e}),!1)},_applyElementsClipRect:ap,getColor:ap,areErrorBarsVisible:ap,drawLabelsWOPoints:function(){return this._options.label.position!==cp&&(this._labelsGroup.append(this._extGroups.labelsGroup),(this._points||[]).forEach((function(t){t.drawLabel()})),!0)},getPointsCount:function(){return this._data.filter((t=>this._checkData(t))).length},setMaxPointsCount:function(t){this._pointsCount=t},_getCreatingPointOptions:function(t,e){return this._getPointOptions(t,e)},_updateOptions:function(t){this.labelSpace=0,this.innerRadius="pie"===this.type?0:t.innerRadius},_checkData:function(t,e){var i=rp._checkData.call(this,t,e,{value:this.getValueFields()[0]});return this._options.paintNullPoints?i:i&&null!==t.value},_createGroups:ip._createGroups,_setMarkerGroupSettings:function(){this._markersGroup.attr({class:"dxc-markers"})},_getMainColor(t,e){var i=this.getPointsByArg(t.argument),r=e?i.indexOf(e):i.length;return this._options.mainSeriesColor(t.argument,r,this._pointsCount)},_getPointOptions:function(t){return this._parsePointOptions(this._preparePointOptions(),this._options.label,t)},_getRangeData:function(){return this._rangeData},_createPointStyles:function(t,e,i){var r=t.color||this._getMainColor(e,i);return{normal:this._parsePointStyle(t,r,r),hover:this._parsePointStyle(t.hoverStyle,r,r),selection:this._parsePointStyle(t.selectionStyle,r,r),legendStyles:{normal:this._createLegendState(t,r),hover:this._createLegendState(t.hoverStyle,r),selection:this._createLegendState(t.selectionStyle,r)}}},_getArrangeMinShownValue:function(t,e){var i=this._options.minSegmentSize,r=0,n=0;return e=e||t.length,op(t,(function(t,o){o.isVisible()&&(o.normalInitialValue<i*e/360?r+=i:n+=o.normalInitialValue)})),r<360?i*n/(360-r):0},_applyArrangeCorrection:function(t,e,i){var r,n=this._options,o="anticlockwise"!==n.segmentsDirection,a=lp(n.startAngle)?U(n.startAngle):0,s=n.minSegmentSize,l=0,u=0;0===i&&(i=t.filter((function(t){return t.isVisible()})).length,u=1),op(o?t:t.concat([]).reverse(),(function(t,n){var o,h=n.isVisible()?u||n.normalInitialValue:0;s&&n.isVisible()&&h<e&&(o=e),r=h/i,n.correctValue(l,r,u+(o||0)),n.shiftedAngle=a,l+=o||h})),this._rangeData={val:{min:0,max:l}}},_removePoint:function(t){var e=this.getPointsByArg(t.argument);e.splice(e.indexOf(t),1),t.dispose()},arrangePoints:function(){var t,e=this,i=e._points||[],r=e._options.minSegmentSize,n=!0,o=0,a=i.length;while(o<a&&n)n=i[o].value<=0,o++;var s=e._points=sp(i,(function(t){return null===t.value||!n&&t.value<0?(e._removePoint(t),null):t})),l=s.reduce((function(t,e){return up(t,Math.abs(e.initialValue))}),0);s.forEach((function(t){t.normalInitialValue=t.initialValue/(0!==l?l:1)}));var u=s.reduce((function(t,e){return t+(e.isVisible()?e.normalInitialValue:0)}),0);r&&(t=this._getArrangeMinShownValue(s,u)),e._applyArrangeCorrection(s,t,u)},correctPosition:function(t,e){op(this._points,(function(e,i){i.correctPosition(t)})),this.setVisibleArea(e)},correctRadius:function(t){this._points.forEach((function(e){e.correctRadius(t)}))},correctLabelRadius:function(t){this._points.forEach((function(e){e.correctLabelRadius(t)}))},setVisibleArea:function(t){this._visibleArea={minX:t.left,maxX:t.width-t.right,minY:t.top,maxY:t.height-t.bottom}},_applyVisibleArea:ap,_animate:function(t){var e,i=this,r=i._points,n=r&&r.length,o=function(){i._animateComplete()};e=t?function(t,e){t.animate(e===n-1?o:void 0,hp,(1-hp)*e/(n-1))}:function(t,e){t.animate(e===n-1?o:void 0)},r.forEach(e)},getVisiblePoints:function(){return sp(this._points,(function(t){return t.isVisible()?t:null}))},getPointsByKeys:function(t,e){var i=this.getPointsByArg(t);return i[e]&&[i[e]]||[]}}),pp=dp,gp=dp,fp=Nd.bar,mp=10,_p=(0,u.l)({},id,{_animate:s.ZT,_applyMarkerClipRect:function(t){t["clip-path"]=this._forceClipping?this._paneClipRectID:this._widePaneClipRectID},_updatePointsVisibility:fp._updatePointsVisibility,_getOptionsForPoint:fp._getOptionsForPoint,_createErrorBarGroup:s.ZT,areErrorBarsVisible:s.ZT,_createGroups:id._createGroups,_setMarkerGroupSettings:function(){var t=this._markersGroup,e=this._createPointStyles(this._getMarkerGroupOptions()),i=(0,u.l)(e.normal,{class:"default-markers"}),r=(0,u.l)(e.positive.normal,{class:"default-positive-markers"}),n=(0,u.l)(e.reduction.normal,{class:"reduction-markers"}),o=(0,u.l)(e.reductionPositive.normal,{class:"reduction-positive-markers"}),a={class:"dxc-markers"};this._applyMarkerClipRect(a),t.attr(a),this._createGroup("defaultMarkersGroup",t,t,i),this._createGroup("reductionMarkersGroup",t,t,n),this._createGroup("defaultPositiveMarkersGroup",t,t,r),this._createGroup("reductionPositiveMarkersGroup",t,t,o)},_setGroupsSettings:function(){id._setGroupsSettings.call(this,!1)},_getCreatingPointOptions:function(){var t,e=this._predefinedPointOptions;return e||(t=this._getPointOptions(),this._predefinedPointOptions=e=(0,u.l)(!0,{styles:{}},t),e.styles.normal=e.styles.positive.normal=e.styles.reduction.normal=e.styles.reductionPositive.normal={"stroke-width":t.styles&&t.styles.normal&&t.styles.normal["stroke-width"]}),e},_checkData:function(t,e){var i=this.getValueFields();return id._checkData.call(this,t,e,{openValue:i[0],highValue:i[1],lowValue:i[2],closeValue:i[3]})&&t.highValue===t.highValue&&t.lowValue===t.lowValue},_getPointDataSelector:function(t,e){var i,r,n=this,o=n.getValueFields(),a=n.getArgumentField(),s=o[0],u=o[1],h=o[2],c=o[3];switch(n.level=n._options.reduction.level,tt(n.level)){case"open":i=s;break;case"high":i=u;break;case"low":i=h;break;default:i=c,n.level="close"}return t=>{var e=t[i],o=!1;return(0,l.$K)(e)&&((0,l.$K)(r)&&(o=e<r),r=e),{argument:t[a],highValue:this._processEmptyValue(t[u]),lowValue:this._processEmptyValue(t[h]),closeValue:this._processEmptyValue(t[c]),openValue:this._processEmptyValue(t[s]),reductionValue:e,tag:t[n.getTagField()],isReduction:o,data:t}}},_parsePointStyle:function(t,e,i){return{stroke:t.color||e,"stroke-width":t.width,fill:t.color||i}},_getDefaultStyle:function(t){var e=t.color||this._options.mainSeriesColor;return{normal:this._parsePointStyle(t,e,e),hover:this._parsePointStyle(t.hoverStyle,e,e),selection:this._parsePointStyle(t.selectionStyle,e,e)}},_getReductionStyle:function(t){var e=t.reduction.color;return{normal:this._parsePointStyle({color:e,width:t.width,hatching:t.hatching},e,e),hover:this._parsePointStyle(t.hoverStyle,e,e),selection:this._parsePointStyle(t.selectionStyle,e,e)}},_createPointStyles:function(t){var e=this._options.innerColor,i=this._getDefaultStyle(t),r=(0,u.l)(!0,{},i),n=this._getReductionStyle(t),o=(0,u.l)(!0,{},n);return r.normal.fill=r.hover.fill=r.selection.fill=e,o.normal.fill=o.hover.fill=o.selection.fill=e,i.positive=r,i.reduction=n,i.reductionPositive=o,i},_endUpdateData:function(){delete this._predefinedPointOptions},_defaultAggregator:"ohlc",_aggregators:{ohlc:(t,e)=>{var{intervalStart:i,intervalEnd:r,data:n}=t;if(n.length){var o={},a=e.getValueFields(),s=a[1],l=a[2];return o[s]=-1/0,o[l]=1/0,o=n.reduce((function(t,e){return null!==e[s]&&(t[s]=Math.max(t[s],e[s])),null!==e[l]&&(t[l]=Math.min(t[l],e[l])),t}),o),o[a[0]]=n[0][a[0]],o[a[3]]=n[n.length-1][a[3]],isFinite(o[s])||(o[s]=null),isFinite(o[l])||(o[l]=null),o[e.getArgumentField()]=e._getIntervalCenter(i,r),o}}},getValueFields:function(){var t=this._options;return[t.openValueField||"open",t.highValueField||"high",t.lowValueField||"low",t.closeValueField||"close"]},getArgumentField:function(){return this._options.argumentField||"date"},_patchMarginOptions:function(t){var e=this._getCreatingPointOptions(),i=e.styles,r=[i.normal,i.hover,i.selection].reduce((function(t,e){return Math.max(t,e["stroke-width"])}),0);return t.size=mp+r,t.sizePointNormalState=mp,t},getSeriesPairCoord(t,e){for(var i=null,r=this.getVisiblePoints(),n=0;n<r.length;n++){var o=r[n],a=void 0;if(e)a=o.vx===t?(o.openY+o.closeY)/2:void 0;else{var s=[Math.min(o.lowY,o.highY),Math.max(o.lowY,o.highY)];a=t>=s[0]&&t<=s[1]?o.vx:void 0}if(this._checkAxisVisibleAreaCoord(!e,a)){i=a;break}}return i},usePointsToDefineAutoHiding:()=>!1}),vp=(0,u.l)({},_p,{_parsePointStyle:function(t,e,i){var r=t.color||i,n=_p._parsePointStyle.call(this,t,e,r);return n.fill=r,n.hatching=t.hatching,n}}),bp=Pd.area,yp=Nd.bar,xp={_calculateErrorBars:s.ZT,_updateOptions:function(t){this._stackName="axis_"+(t.axis||"default")}},wp={},Cp={};wp.stackedline=(0,u.l)({},bd.line,xp,{}),wp.stackedspline=(0,u.l)({},bd.spline,xp,{}),wp.fullstackedline=(0,u.l)({},bd.line,xp,{getValueRangeInitialValue:Pd.area.getValueRangeInitialValue}),wp.fullstackedspline=(0,u.l)({},bd.spline,xp,{getValueRangeInitialValue:Pd.area.getValueRangeInitialValue});var Sp=wp.stackedbar=(0,u.l)({},yp,xp,{_updateOptions:function(t){xp._updateOptions.call(this,t),this._stackName=this._stackName+"_stack_"+(t.stack||"default")}});function kp(t,e,i,r){return t=(0,ts.d9)(t),t.value=e,t.minValue=i,t.translate(),t.argument=t.argument+r,t}function Ap(t){var e,i,r=0,n=[],o=t.length;while(r<o)e=t[r],i=[e],e.leftHole&&(i=[kp(e,e.leftHole,e.minLeftHole,"left"),e]),e.rightHole&&i.push(kp(e,e.rightHole,e.minRightHole,"right")),n.push(i),r++;return[].concat.apply([],n)}function Tp(t,e){var i;while(!i&&t)i=t._segmentByArg&&t._segmentByArg[e],t=t._prevSeries;return i}wp.fullstackedbar=(0,u.l)({},yp,xp,{_updateOptions:Sp._updateOptions}),wp.stackedarea=(0,u.l)({},bp,xp,{_prepareSegment:function(t,e){return bp._prepareSegment.call(this,Ap(t),e)},_appendInGroup:function(){this._group.append(this._extGroups.seriesGroup).toBackground()}}),wp.stackedsplinearea=(0,u.l)({},Pd.splinearea,xp,{_prepareSegment:function(t,e){var i,r=this;if(t=Ap(t),this._prevSeries&&1!==t.length){var n=bd.spline._calculateBezierPoints(t,e),o=Q(t,(function(t){var e=t.getCoords(!0);return e.argument=t.argument,e})),a=[],s={},l=0,u=r._prevSeries._segments.length;while(l<u)a=a.concat(r._prevSeries._segments[l].line),l++;(0,h.S6)(a,(function(t,e){if(null!==e.argument){var i=e.argument.valueOf();s[i]?s[i].push(e):s[i]=[e]}})),r._prevSeries._segmentByArg=s,o=bd.spline._calculateBezierPoints(o,e),(0,h.S6)(o,(function(t,e){var i,n=e.argument.valueOf();t%3===0&&(i=s[n]||Tp(r._prevSeries,n),i&&(o[t-1]&&i[0]&&(o[t-1]=i[0]),o[t+1]&&(o[t+1]=i[2]||e)))})),i={line:n,area:n.concat(o.reverse())},r._areaPointsToSplineAreaPoints(i.area)}else i=Pd.splinearea._prepareSegment.call(this,t,e);return i},_appendInGroup:wp.stackedarea._appendInGroup}),wp.fullstackedarea=(0,u.l)({},bp,xp,{_prepareSegment:wp.stackedarea._prepareSegment,_appendInGroup:wp.stackedarea._appendInGroup}),wp.fullstackedsplinearea=(0,u.l)({},Pd.splinearea,xp,{_prepareSegment:wp.stackedsplinearea._prepareSegment,_appendInGroup:wp.stackedarea._appendInGroup}),Cp.stackedbar=(0,u.l)({},Gd.bar,xp,{});var Ep={},Op=a.states,Pp="discrete",Ip=Op.selectedMark,Lp=Op.hoverMark,Bp=Op.hover,Rp=Op.normal,Vp=Op.selection,Dp=Op.applySelected,zp=Op.applyHover,Mp=Op.resetItem,Fp="none",Np="includepoints",Gp="nearestpoint",Hp="seriesSelectionChanged",Zp="pointSelectionChanged",$p="seriesHoverChanged",Xp="pointHoverChanged",Yp="allseriespoints",jp="allargumentpoints",Kp="pointHover",Up="clearPointHover",Wp="seriesSelect",qp="pointSelect",Jp="pointDeselect",Qp=function(){return{arg:{},val:{}}};function tg(t,e,i){t&&t.trigger(e,i)}function eg(t){return t=tt(t),t===Np||t===Yp}function ig(t,e){var i=t||{},r=(0,u.l)({},i.font)||{},n=i.border||{},o=i.connector||{},a={fill:i.backgroundColor||e,"stroke-width":n.visible&&n.width||0,stroke:n.visible&&n.width?n.color:"none",dashStyle:n.dashStyle},s={stroke:o.visible&&o.width?o.color||e:"none","stroke-width":o.visible&&o.width||0};return r.color="none"===i.backgroundColor&&"#ffffff"===tt(r.color)&&"inside"!==i.position?e:r.color,{alignment:i.alignment,format:i.format,argumentFormat:i.argumentFormat,customizeText:(0,l.mf)(i.customizeText)?i.customizeText:void 0,attributes:{font:r},visible:0!==r.size&&i.visible,showForZeroValues:i.showForZeroValues,horizontalOffset:i.horizontalOffset,verticalOffset:i.verticalOffset,radialOffset:i.radialOffset,background:a,position:i.position,connector:s,rotationAngle:i.rotationAngle,wordWrap:i.wordWrap,textOverflow:i.textOverflow,cssClass:i.cssClass,displayFormat:i.displayFormat}}function rg(t,e){t.fullState|=Lp,t.applyView(e)}function ng(t,e){t.fullState&=~Lp,t.applyView(e),t.releaseHoverState()}function og(t,e){t.fullState|=Ip,t.applyView(e)}function ag(t,e){t.fullState&=~Ip,t.applyView(e)}function sg(t,e){var i=(0,u.l)({},t,e);return i.border=(0,u.l)({},t&&t.border,e&&e.border),i}function lg(t,e){var i=sg(t,e);return i.image=(0,u.l)(!0,{},t.image,e.image),i.selectionStyle=sg(t.selectionStyle,e.selectionStyle),i.hoverStyle=sg(t.hoverStyle,e.hoverStyle),i}function ug(t,e){this.fullState=0,this._extGroups=t,this._renderer=t.renderer,this._group=t.renderer.g().attr({class:"dxc-series"}),this._eventTrigger=t.eventTrigger,this._eventPipe=t.eventPipe,this._incidentOccurred=t.incidentOccurred,this._legendCallback=s.ZT,this.updateOptions(e,t)}function hg(t){return t.data}function cg(t,e){return e&&"logarithmic"===t&&!1===e.getOptions().allowNegatives?t=>t>0:()=>!0}Ep.mixins={chart:{},pie:{},polar:{}},Ep.mixins.chart.scatter=id,Ep.mixins.polar.scatter=rd,(0,u.l)(Ep.mixins.pie,r),(0,u.l)(Ep.mixins.chart,bd,Pd,Nd,Yd,ep,n,wp),(0,u.l)(Ep.mixins.polar,yd,Id,Gd,Cp),ug.prototype={constructor:ug,_createLegendState:s.ZT,getLegendStyles:function(){return this._styles.legendStyles},_createStyles:function(t){var e=t.mainSeriesColor;this._styles={normal:this._parseStyle(t,e,e),hover:this._parseStyle(t.hoverStyle||{},e,e),selection:this._parseStyle(t.selectionStyle||{},e,e),legendStyles:{normal:this._createLegendState(t,e),hover:this._createLegendState(t.hoverStyle||{},e),selection:this._createLegendState(t.selectionStyle||{},e)}}},setClippingParams(t,e,i){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this._paneClipRectID=t,this._widePaneClipRectID=e,this._forceClipping=i,this._clipLabels=r},applyClip:function(){this._group.attr({"clip-path":this._paneClipRectID})},resetClip:function(){this._group.attr({"clip-path":null})},getTagField:function(){return this._options.tagField||"tag"},getValueFields:s.ZT,getSizeField:s.ZT,getArgumentField:s.ZT,getPoints:function(){return this._points},getPointsInViewPort:function(){return Mc.getPointsInViewPort(this)},_createPoint:function(t,e,i){t.index=e;var r=this.pointsByArgument,n=this._getCreatingPointOptions(t),o=t.argument.valueOf(),a=i;a?a.update(t,n):(a=new wc(this,t,n),this.isSelected()&&eg(this.lastSelectionMode)&&a.setView(Vp));var s=r[o];return s?s.push(a):r[o]=[a],a.hasValue()&&this.customizePoint(a,t),a},getRangeData:function(){return this._visible?this._getRangeData():Qp()},getArgumentRange:function(){return this._visible?Mc.getArgumentRange(this):Qp()},getViewport:function(){return Mc.getViewport(this)},_deleteGroup:function(t){var e=this[t];e&&(e.dispose(),this[t]=null)},updateOptions(t,e){var i=t.widgetType,r=this.type,n=t.type;if(this.type=n&&tt(n.toString()),!this._checkType(i)||this._checkPolarBarType(i,t))return this.dispose(),void(this.isUpdated=!1);r!==this.type?(this._firstDrawing=!0,this._resetType(r,i),this._setType(this.type,i)):this._defineDrawingState(),this._options=t,this._pointOptions=null,this.name=t.name,this.pane=t.pane,this.tag=t.tag,e&&(this._seriesModes=e.commonSeriesModes||this._seriesModes,this._valueAxis=e.valueAxis||this._valueAxis,this.axis=this._valueAxis&&this._valueAxis.name,this._argumentAxis=e.argumentAxis||this._argumentAxis),this._createStyles(t),this._stackName=null,this._updateOptions(t),this._visible=t.visible,this.isUpdated=!0,this.stack=t.stack,this.barOverlapGroup=t.barOverlapGroup,this._createGroups(),this._processEmptyValue=t.ignoreEmptyPoints?t=>null===t?void 0:t:t=>t},_defineDrawingState(){this._firstDrawing=!0},_disposePoints:function(t){(0,h.S6)(t||[],(function(t,e){e.dispose()}))},updateDataType:function(t){return this.argumentType=t.argumentType,this.valueType=t.valueType,this.argumentAxisType=t.argumentAxisType,this.valueAxisType=t.valueAxisType,this.showZero=t.showZero,this._argumentChecker=cg(t.argumentAxisType,this.getArgumentAxis()),this._valueChecker=cg(t.valueAxisType,this.getValueAxis()),this},_argumentChecker:function(){return!0},_valueChecker:function(){return!0},getOptions:function(){return this._options},_getOldPoint:function(t,e,i){var r=t.argument&&t.argument.valueOf(),n=(e[r]||[])[0];return n&&e[r].splice(0,1),n},updateData:function(t){var e=this._options,i=e.nameField;t=t||[],t.length&&(this._canRenderCompleteHandle=!0);var r=this._getPointDataSelector(),n=0;this._data=t.reduce(((t,o,a)=>{var s=r(o);return(0,l.$K)(s.argument)?i&&o[i]!==e.nameFieldValue||(s.index=a,t.push(s)):n++,t}),[]),n&&n===t.length&&this._incidentOccurred("W2002",[this.name,this.getArgumentField()]),this._endUpdateData()},_getData(){var t=this._data||[];return this.useAggregation()&&(t=this._resample(this.getArgumentAxis().getAggregationInfo(this._useAllAggregatedPoints,this.argumentAxisType!==Pp?this.getArgumentRange():{}),t)),t},useAggregation:function(){var t=this.getOptions().aggregation;return t&&t.enabled},autoHidePointMarkersEnabled:s.ZT,usePointsToDefineAutoHiding:s.ZT,createPoints(t){this._normalizeUsingAllAggregatedPoints(t),this._createPoints()},_normalizeUsingAllAggregatedPoints:function(t){this._useAllAggregatedPoints=this.useAggregation()&&(this.argumentAxisType===Pp||(this._data||[]).length>1&&!!t)},_createPoints:function(){var t=this,e=t.pointsByArgument||{},i=t._getData();t.pointsByArgument={},t._calculateErrorBars(i);var r={},n=i.reduce(((i,n)=>{if(t._checkData(n,r)){var o=i.length,a=t._getOldPoint(n,e,o),s=t._createPoint(n,o,a);i.push(s)}return i}),[]);for(var o in r)r[o]===i.length&&t._incidentOccurred("W2002",[t.name,o]);Object.keys(e).forEach((i=>t._disposePoints(e[i]))),t._points=n},_removeOldSegments:function(){var t=this,e=t._segments.length;(0,h.S6)(t._graphics.splice(e,t._graphics.length)||[],(function(e,i){t._removeElement(i)})),t._trackers&&(0,h.S6)(t._trackers.splice(e,t._trackers.length)||[],(function(t,e){e.remove()}))},_drawElements:function(t,e,i){var r=this,n=r._points||[],o=n[0]&&n[0].hasValue()&&r._options.closed,a={markers:r._markersGroup,errorBars:r._errorBarGroup};r._drawnPoints=[],r._graphics=r._graphics||[],r._segments=[];var s=n.reduce((function(n,o){var s=n[n.length-1];return o.translated&&!i||(o.translate(),!i&&o.setDefaultCoords()),o.hasValue()&&o.hasCoords()?(i&&r._drawPoint({point:o,groups:a,hasAnimation:t,firstDrawing:e}),s.push(o)):o.hasValue()?o.setInvisibility():s.length&&n.push([]),n}),[[]]);s.forEach((function(e,i){e.length&&r._drawSegment(e,t,i,o&&i===this.length-1)}),s),r._firstDrawing=!n.length,r._removeOldSegments(),t&&r._animate(e)},draw:function(t,e,i){var r=this._firstDrawing;this._legendCallback=i||this._legendCallback,this._visible?(this._appendInGroup(),this._applyVisibleArea(),this._setGroupsSettings(t,r),!r&&!this._resetApplyingAnimation&&this._drawElements(!1,r,!1),this._drawElements(t,r,!0),e&&this.hideLabels(),this.isSelected()?this._changeStyle(this.lastSelectionMode,void 0,!0):this.isHovered()?this._changeStyle(this.lastHoverMode,void 0,!0):this._applyStyle(this._styles.normal),this._resetApplyingAnimation=!1):this._group.remove()},_setLabelGroupSettings:function(t){var e={class:"dxc-labels","pointer-events":"none"};this._clipLabels&&this._applyElementsClipRect(e),this._applyClearingSettings(e),t&&(e.opacity=.001),this._labelsGroup.attr(e).append(this._extGroups.labelsGroup)},_checkType:function(t){return!!Ep.mixins[t][this.type]},_checkPolarBarType:function(t,e){return"polar"===t&&e.spiderWidget&&-1!==this.type.indexOf("bar")},_resetType:function(t,e){var i,r;if(t)for(i in r=Ep.mixins[e][t],r)delete this[i]},_setType:function(t,e){var i,r=Ep.mixins[e][t];for(i in r)this[i]=r[i]},_setPointsView:function(t,e){this.getPoints().forEach((function(i){e!==i&&i.setView(t)}))},_resetPointsView:function(t,e){this.getPoints().forEach((function(i){e!==i&&i.resetView(t)}))},_resetNearestPoint:function(){this._nearestPoint&&null!==this._nearestPoint.series&&this._nearestPoint.resetView(Bp),this._nearestPoint=null},_setSelectedState:function(t){this.lastSelectionMode=tt(t||this._options.selectionMode),this.fullState=this.fullState|Ip,this._resetNearestPoint(),this._changeStyle(this.lastSelectionMode),this.lastSelectionMode!==Fp&&this.isHovered()&&eg(this.lastHoverMode)&&this._resetPointsView(Bp)},_releaseSelectedState:function(){this.fullState=this.fullState&~Ip,this._changeStyle(this.lastSelectionMode,Vp),this.lastSelectionMode!==Fp&&this.isHovered()&&eg(this.lastHoverMode)&&this._setPointsView(Bp)},isFullStackedSeries:function(){return 0===this.type.indexOf("fullstacked")},isStackedSeries:function(){return 0===this.type.indexOf("stacked")},resetApplyingAnimation:function(t){this._resetApplyingAnimation=!0,t&&(this._firstDrawing=!0)},isFinancialSeries:function(){return"stock"===this.type||"candlestick"===this.type},_canChangeView:function(){return!this.isSelected()&&tt(this._options.hoverMode)!==Fp},_changeStyle:function(t,e,i){var r=this.fullState,n=[Rp,Bp,Vp,Vp];"none"===this.lastHoverMode&&(r&=~Lp),"none"===this.lastSelectionMode&&(r&=~Ip),eg(t)&&!i&&(e?this._resetPointsView(e):this._setPointsView(n[r])),this._legendCallback([Mp,zp,Dp,Dp][r]),this._applyStyle(this._styles[n[r]])},updateHover:function(t,e){var i=this._nearestPoint,r=this.isHovered()&&this.lastHoverMode===Gp&&this.getNeighborPoint(t,e);r===i||this.isSelected()&&this.lastSelectionMode!==Fp||(this._resetNearestPoint(),r&&(r.setView(Bp),this._nearestPoint=r))},_getMainAxisName:function(){return this._options.rotated?"X":"Y"},areLabelsVisible:function(){return!(0,l.$K)(this._options.maxLabelCount)||this._points.length<=this._options.maxLabelCount},getLabelVisibility:function(){return this.areLabelsVisible()&&this._options.label&&this._options.label.visible},customizePoint:function(t,e){var i,r,n,o,a,s,h=this._options,c=h.customizePoint,d=h.customizeLabel;d&&d.call&&(i=(0,u.l)({seriesName:this.name},e),i.series=this,n=d.call(i,i),a=n&&!(0,l.Qr)(n),n=a?(0,u.l)(!0,{},h.label,n):null),c&&c.call&&(i=i||(0,u.l)({seriesName:this.name},e),i.series=this,o=c.call(i,i),s=o&&!(0,l.Qr)(o)),(a||s)&&(r=this._parsePointOptions(this._preparePointOptions(o),n||h.label,e,t),r.styles.useLabelCustomOptions=a,r.styles.usePointCustomOptions=s,t.updateOptions(r))},show:function(){this._visible||this._changeVisibility(!0)},hide:function(){this._visible&&this._changeVisibility(!1)},_changeVisibility:function(t){this._visible=this._options.visible=t,this._updatePointsVisibility(),this.hidePointTooltip(),this._options.visibilityChanged(this)},_updatePointsVisibility:s.ZT,hideLabels:function(){(0,h.S6)(this._points,(function(t,e){e._label.draw(!1)}))},_parsePointOptions:function(t,e,i,r){var n=this._options,o=this._createPointStyles(t,i,r),a=(0,u.l)({},t,{type:n.type,rotated:n.rotated,styles:o,widgetType:n.widgetType,visibilityChanged:n.visibilityChanged});return a.label=ig(e,o.normal.fill),this.areErrorBarsVisible()&&(a.errorBars=n.valueErrorBar),a},_preparePointOptions:function(t){var e=this._getOptionsForPoint();return t?lg(e,t):e},_getMarkerGroupOptions:function(){return(0,u.l)(!1,{},this._getOptionsForPoint(),{hoverStyle:{},selectionStyle:{}})},_getAggregationMethod:function(t,e){var i,r=this.getOptions().aggregation,n=tt(r.method),o="custom"===n&&r.calculate;return i=t&&!e?t=>{var{data:e}=t;return e[0]}:this._aggregators[n]||this._aggregators[this._defaultAggregator],o||i},_resample(t,e){var{interval:i,ticks:r,aggregateByCategory:n}=t,o=this,a=o.argumentAxisType===Pp||o.valueAxisType===Pp,s=0,l=this._getPointDataSelector(),u=o.getOptions(),h=(t,e,i)=>{if(e){var r=e=>{var r=e&&l(e,u);r&&o._checkData(r)&&(r.aggregationInfo=i,t.push(r))};Array.isArray(e)?e.forEach(r):r(e)}},c=this._getAggregationMethod(a,n);if(a){if(n){var d=this.getArgumentAxis().getTranslator().getBusinessRange().categories,p=d.reduce(((t,e)=>(t[e.valueOf()]=[],t)),{});return e.forEach((t=>{p[t.argument.valueOf()].push(t)})),d.reduce(((t,e)=>(h(t,c({aggregationInterval:null,intervalStart:e,intervalEnd:e,data:p[e.valueOf()].map(hg)},o)),t)),[])}return e.reduce(((t,e,r,n)=>{if(t[1].push(e),r===n.length-1||(r+1)%i===0){var a=t[1],s={aggregationInterval:i,data:a.map(hg)};h(t[0],c(s,o)),t[1]=[]}return t}),[[],[]])[0]}var g=[];if(1===r.length){var f={intervalStart:r[0],intervalEnd:r[0],aggregationInterval:null,data:e.map(hg)};h(g,c(f,o),f)}else for(var m=1;m<r.length;m++){var _=r[m],v=r[m-1],b=[];while(e[s]&&e[s].argument<_)e[s].argument>=v&&b.push(e[s]),s++;var y={intervalStart:v,intervalEnd:_,aggregationInterval:i,data:b.map(hg)};h(g,c(y,o),y)}return o._endUpdateData(),g},canRenderCompleteHandle:function(){var t=this._canRenderCompleteHandle;return delete this._canRenderCompleteHandle,!!t},isHovered:function(){return!!(1&this.fullState)},isSelected:function(){return!!(2&this.fullState)},isVisible:function(){return this._visible},getAllPoints:function(){return this._createAllAggregatedPoints(),(this._points||[]).slice()},getPointByPos:function(t){return this._createAllAggregatedPoints(),(this._points||[])[t]},getVisiblePoints:function(){return(this._drawnPoints||[]).slice()},selectPoint:function(t){t.isSelected()||(og(t,this._legendCallback),this._eventPipe({action:qp,target:t}),this._eventTrigger(Zp,{target:t}))},deselectPoint:function(t){t.isSelected()&&(ag(t,this._legendCallback),this._eventPipe({action:Jp,target:t}),this._eventTrigger(Zp,{target:t}))},hover:function(t){var e=this._eventTrigger;this.isHovered()||(this.lastHoverMode=tt(t||this._options.hoverMode),this.fullState=this.fullState|Lp,this._changeStyle(this.lastHoverMode,void 0,this.isSelected()&&this.lastSelectionMode!==Fp),e($p,{target:this}))},clearHover:function(){var t=this._eventTrigger;this.isHovered()&&(this._resetNearestPoint(),this.fullState=this.fullState&~Lp,this._changeStyle(this.lastHoverMode,Bp,this.isSelected()&&this.lastSelectionMode!==Fp),t($p,{target:this}))},hoverPoint:function(t){t.isHovered()||(t.clearHover(),rg(t,this._legendCallback),this._canChangeView()&&this._applyStyle(this._styles.hover),this._eventPipe({action:Kp,target:t}),this._eventTrigger(Xp,{target:t}))},clearPointHover:function(){var t=this;t.getPoints().some((function(e){return!!e.isHovered()&&(ng(e,t._legendCallback),t._canChangeView()&&t._applyStyle(t._styles.normal),t._eventPipe({action:Up,target:e}),t._eventTrigger(Xp,{target:e}),!0)}))},showPointTooltip:function(t){tg(this._extGroups.seriesGroup,"showpointtooltip",t)},hidePointTooltip:function(t){tg(this._extGroups.seriesGroup,"hidepointtooltip",t)},select:function(){this.isSelected()||(this._setSelectedState(this._options.selectionMode),this._eventPipe({action:Wp,target:this}),this._group.toForeground(),this._eventTrigger(Hp,{target:this}))},clearSelection:function(){this.isSelected()&&(this._releaseSelectedState(),this._eventTrigger(Hp,{target:this}))},getPointsByArg:function(t,e){var i=t.valueOf(),r=this.pointsByArgument[i];return r||e||!this._createAllAggregatedPoints()||(r=this.pointsByArgument[i]),r||[]},_createAllAggregatedPoints:function(){return!(!this.useAggregation()||this._useAllAggregatedPoints)&&(this.createPoints(!0),!0)},getPointsByKeys:function(t){return this.getPointsByArg(t)},notify:function(t){var e=this,i=t.action,r=e._seriesModes,n=t.target,o=n.getOptions(),a=tt(o.hoverMode),s=tt(o.selectionMode);i===Kp?e._hoverPointHandler(n,a,t.notifyLegend):i===Up?e._clearPointHoverHandler(n,a,t.notifyLegend):i===Wp?n!==e&&"single"===r.seriesSelectionMode&&e.clearSelection():i===qp?("single"===r.pointSelectionMode&&e.getPoints().some((function(t){return!(t===n||!t.isSelected())&&(e.deselectPoint(t),!0)})),e._selectPointHandler(n,s)):i===Jp&&e._deselectPointHandler(n,s)},_selectPointHandler:function(t,e){e===Yp?t.series===this&&this._setPointsView(Vp,t):e===jp&&this.getPointsByKeys(t.argument,t.argumentIndex).forEach((function(e){e!==t&&e.setView(Vp)}))},_deselectPointHandler:function(t,e){e===Yp?t.series===this&&this._resetPointsView(Vp,t):e===jp&&this.getPointsByKeys(t.argument,t.argumentIndex).forEach((function(e){e!==t&&e.resetView(Vp)}))},_hoverPointHandler:function(t,e,i){t.series!==this&&e===jp?(this.getPointsByKeys(t.argument,t.argumentIndex).forEach((function(t){t.setView(Bp)})),i&&this._legendCallback(t)):e===Yp&&t.series===this&&this._setPointsView(Bp,t)},_clearPointHoverHandler:function(t,e,i){e===jp?(t.series!==this&&this.getPointsByKeys(t.argument,t.argumentIndex).forEach((function(t){t.resetView(Bp)})),i&&this._legendCallback(t)):e===Yp&&t.series===this&&this._resetPointsView(Bp,t)},_deletePoints:function(){this._disposePoints(this._points),this._points=this._drawnPoints=null},_deleteTrackers:function(){(0,h.S6)(this._trackers||[],(function(t,e){e.remove()})),this._trackersGroup&&this._trackersGroup.dispose(),this._trackers=this._trackersGroup=null},dispose:function(){this._deletePoints(),this._group.dispose(),this._labelsGroup&&this._labelsGroup.dispose(),this._errorBarGroup&&this._errorBarGroup.dispose(),this._deleteTrackers(),this._group=this._extGroups=this._markersGroup=this._elementsGroup=this._bordersGroup=this._labelsGroup=this._errorBarGroup=this._graphics=this._rangeData=this._renderer=this._styles=this._options=this._pointOptions=this._drawnPoints=this.pointsByArgument=this._segments=this._prevSeries=null},correctPosition:s.ZT,drawTrackers:s.ZT,getNeighborPoint:s.ZT,areErrorBarsVisible:s.ZT,getMarginOptions:function(){return this._patchMarginOptions({percentStick:this.isFullStackedSeries()})},getColor:function(){return this.getLegendStyles().normal.fill},getOpacity:function(){return this._options.opacity},getStackName:function(){return this._stackName},getBarOverlapGroup:function(){return this._options.barOverlapGroup},getPointByCoord:function(t,e){var i=this.getNeighborPoint(t,e);return null!==i&&void 0!==i&&i.coordsIn(t,e)?i:null},getValueAxis:function(){return this._valueAxis},getArgumentAxis:function(){return this._argumentAxis},getMarkersGroup(){return this._markersGroup},getRenderer(){return this._renderer},removePointElements(){this._markersGroup&&((0,h.S6)(this._points,((t,e)=>e.deleteMarker())),this._markersGroup.dispose(),this._markersGroup=null)},removeGraphicElements(){var t=this;t._elementsGroup&&(t._elementsGroup.dispose(),t._elementsGroup=null),(0,h.S6)(t._graphics||[],((e,i)=>{t._removeElement(i)})),t._graphics=null},removeBordersGroup(){this._bordersGroup&&(this._bordersGroup.dispose(),this._bordersGroup=null)}};Ep.mixins;var dg=br.inherit(function(){var t=function(t){return t?(t=(0,u.l)(!0,{},t),t.title=(e=t.title,(0,l.HD)(e)?{text:e}:e),("logarithmic"===t.type&&t.logarithmBase<=0||t.logarithmBase&&!(0,l.kE)(t.logarithmBase))&&(t.logarithmBase=void 0,t.logarithmBaseError=!0),t.label&&t.label.alignment&&(t.label.userAlignment=!0),t):{};var e},e=function(e,i,r){var n=this._theme,o=r^"valueAxis"===e?"verticalAxis":"horizontalAxis",a=t(i),s=t(this._userOptions.commonAxisSettings),h=(0,u.l)(!0,{},n.commonAxisSettings,n[o],n[e],s,a);return h.workWeek=a.workWeek||n[e].workWeek,h.forceUserTickInterval|=(0,l.$K)(a.tickInterval)&&!(0,l.$K)(a.axisDivisionFactor),h},i=function(t,e){e=e||this._userOptions[t];var i=this._theme[t],r=this._mergedSettings[t];return r||(r=(0,l.PO)(i)&&(0,l.PO)(e)?(0,u.l)(!0,{},i,e):(0,l.$K)(e)?e:i,this._mergedSettings[t]=r,r)},r={base:i,argumentAxis:e,valueAxisRangeSelector:function(){return i.call(this,"valueAxis")},valueAxis:e,series:function(t,e,i){var n,o,a=this,s=a._theme,l=a._userOptions.commonSeriesSettings||{},h=s.commonSeriesSettings,c=a._themeSection.split(".").slice(-1)[0],d=tt(e.type||l.type||h.type||"pie"===c&&s.type),p=a.palette,g=~d.indexOf("bar"),f=~d.indexOf("line"),m=~d.indexOf("area"),_="bubble"===d,v=a.getOptions("resolveLabelsOverlapping"),b=a.getOptions("containerBackgroundColor"),y=r.seriesTemplate.call(this);(g||_)&&(e=(0,u.l)(!0,{},l,l[d],e),o=e.visible,l={type:{}},(0,u.l)(!0,e,e.point),e.visible=o);var x=(0,u.l)(!0,{aggregation:{}},h,h[d],l,l[d],e);return x.aggregation.enabled="chart"===c&&!!x.aggregation.enabled,x.type=d,x.widgetType=c,x.containerBackgroundColor=b,n="pie"!==c?x.color||p.getNextColor(i):function(t,e,i){var r="".concat(t,"-").concat(e);return a._multiPieColors[r]||(a._multiPieColors[r]=p.getNextColor(i)),a._multiPieColors[r]},x.mainSeriesColor=n,x.resolveLabelsOverlapping=v,x.label&&(f||m&&"rangearea"!==d||"scatter"===d)&&(x.label.position="outside"),y&&(x.nameField=y.nameField),x},animation:function(t){var e=this._userOptions[t];return e=(0,l.PO)(e)?e:(0,l.$K)(e)?{enabled:!!e}:{},i.call(this,t,e)},seriesTemplate(){var t=i.call(this,"seriesTemplate");return t&&(t.nameField=t.nameField||"series"),t},zoomAndPan(){function t(t){t=tt(t);var e="pan"===t||"both"===t,i="zoom"===t||"both"===t;return{pan:e,zoom:i,none:!e&&!i}}var e=i.call(this,"zoomAndPan");return{valueAxis:t(e.valueAxis),argumentAxis:t(e.argumentAxis),dragToZoom:!!e.dragToZoom,dragBoxStyle:{class:"dxc-shutter",fill:e.dragBoxStyle.color,opacity:e.dragBoxStyle.opacity},panKey:e.panKey,allowMouseWheel:!!e.allowMouseWheel,allowTouchGestures:!!e.allowTouchGestures}}};return{_themeSection:"chart",ctor:function(t){var e=this;e.callBase.apply(e,arguments);var i=t.options||{};e._userOptions=i,e._mergeAxisTitleOptions=[],e._multiPieColors={},e._callback=s.ZT},dispose:function(){var t=this;return t.palette&&t.palette.dispose(),t.palette=t._userOptions=t._mergedSettings=t._multiPieColors=null,t.callBase.apply(t,arguments)},resetPalette:function(){this.palette.reset(),this._multiPieColors={}},getOptions:function(t){return(r[t]||r.base).apply(this,arguments)},refresh:function(){return this._mergedSettings={},this.callBase.apply(this,arguments)},_initializeTheme:function(){var t=this;t.callBase.apply(t,arguments),t.updatePalette()},resetOptions:function(t){this._mergedSettings[t]=null},update:function(t){this._userOptions=t},updatePalette:function(){this.palette=this.createPalette(this.getOptions("palette"),{useHighlight:!0,extensionMode:this.getOptions("paletteExtensionMode")})}}}()),{floor:pg,sqrt:gg}=Math,fg=Math.min,mg=Math.max,_g=.5,vg=a.radialLabelIndent;function bg(t,e,i){var r;return r=i<t?t:e<i?e:i,r}function yg(t){if(t._label.isVisible()&&"inside"!==t._label.getLayoutOptions().position)return t._label.getBoundingRect()}function xg(t,e,i,r,n){return t.some((function(t){return t.getVisiblePoints().reduce((function(t,o){var a=yg(o);if(a){var s=bg(a.x,a.x+a.width,e),l=bg(a.y,a.y+a.height,i);r=fg(mg(Sg(s,l,e,i)-vg,n),r),t=!0}return t}),!1)})),r}function wg(t){return t.reduce((function(t,e){var i=e.getVisiblePoints().reduce((function(t,e){var i=yg(e);return i&&i.width>t&&(t=i.width),t}),0),r=i;return i&&(t.outerLabelsCount++,t.outerLabelsCount>1&&(i+=a.pieLabelSpacing),r+=a.pieLabelSpacing),t.sizes.push(i),t.rSizes.push(r),t.common+=i,t}),{sizes:[],rSizes:[],common:0,outerLabelsCount:0})}function Cg(t,e,i,r,n,o){var a,s,l=0,u=t.sizes,h=t.rSizes;for(s=0;s<i.length;s++)0!==u[s]?(a=pg(a?a+h[s-1]:e),i[s].correctLabelRadius(a),l+=n||u[s],h[s]=n||h[s],i[s].setVisibleArea({left:pg(o-e-l),right:pg(r.width-(o+e+l)),top:r.top,bottom:r.bottom,width:r.width,height:r.height})):a&&(a+=h[s-1])}function Sg(t,e,i,r){return gg((t-i)*(t-i)+(e-r)*(e-r))}function kg(t){var{type:e,innerRadius:i}=t;return"pie"===e?0:(0,l.kE)(i)?Number(i):_g}function Ag(){}function Tg(t,e,i,r){return(t-e-vg-i.left)/r.outerLabelsCount}function Eg(t,e,i){return t-e.left-(i.outerLabelsCount>0?i.common+vg:0)}function Og(t,e,i,r,n,o){var a,s=wg(i),l=Eg(n,e,s);return l<r?(t=r,a=Tg(n,t,e,s)):t=fg(xg(i,n,o,t,r),l),Cg(s,t+vg,i,e,a,n),t}function Pg(t){return new os(null,{x:t.left,y:t.top,width:t.width-t.left-t.right,height:t.height-t.top-t.bottom})}Ag.prototype={constructor:Ag,setOptions:function(t){this._options=t},applyPieChartSeriesLayout:function(t,e,i){var r,n,o=t.height-t.top-t.bottom,a=t.width-t.left-t.right,s=a/2+t.left,u=o/2+t.top,h=this._options.piePercentage;return(0,l.kE)(h)?r=n=h*fg(t.height,t.width)/2:(r=fg(a,o)/2,n=this._options.minPiePercentage*r),i||(r=Og(r,t,e,n,s,u)),{centerX:pg(s),centerY:pg(u),radiusInner:pg(r*kg(e[0])),radiusOuter:pg(r)}},applyEqualPieChartLayout:function(t,e){var i=e.radius;return{centerX:pg(e.x),centerY:pg(e.y),radiusInner:pg(i*kg(t[0])),radiusOuter:pg(i)}},correctPieLabelRadius:function(t,e,i){var r,n=wg(t),o=e.radiusOuter+vg,a=e.centerX-i.left-o;n.common+vg>a&&(r=Tg(e.centerX,e.radiusOuter,i,n)),Cg(n,o,t,i,r,e.centerX)},needMoreSpaceForPanesCanvas(t,e,i){var r=this._options,n=r.width,o=r.height,a=r.piePercentage,s=(0,l.kE)(a),u=0,h=0;return t.forEach((t=>{var r=t.canvas,l=s?fg(r.width,r.height)*a:void 0,c=i?i(t):{width:!1,height:!1},d=c.width?0:(s?l:n)-(r.width-r.left-r.right),p=c.height?0:(s?l:o)-(r.height-r.top-r.bottom);e?(u+=d>0?d:0,h=mg(p>0?p:0,h)):(u=mg(d>0?d:0,u),h+=p>0?p:0)})),(u>0||h>0)&&{width:u,height:h}},layoutInsideLegend:function(t,e){var i=t.getLayoutOptions();if(i){var r=i.position,n=i.cutSide,o={horizontal:r.horizontal,vertical:r.vertical};e[i.cutLayoutSide]+="horizontal"===i.cutSide?i.width:i.height,o[n]={left:"right",right:"left",top:"bottom",bottom:"top",center:"center"}[o[n]],t.position({of:Pg(e),my:o,at:r})}}};var Ig=i(50812),Lg=i(91866),Bg=Math.floor,Rg=a.events,Vg=a.states,Dg=Vg.hoverMark,zg=Vg.normalMark,Mg="dxChartTracker",Fg="."+Mg,Ng=(0,Rt.V4)([Lg.Z.down,Lg.Z.move],Mg),Gg="legendClick",Hg="seriesClick",Zg="pointClick",$g="chart-data-point",Xg="chart-data-series",Yg="chart-data-argument",jg=100,Kg=300,Ug="none",Wg="allargumentpoints",qg="includepoints",Jg="excludepoints",Qg=[qg,Jg,Ug];function tf(t,e,i){var r=t.target;if("tspan"===r.tagName)return r.parentNode[e];var n=r[e];return i&&!(0,l.$K)(n)?function t(i){if(i.parentNode)return(0,l.$K)(i.parentNode[e])?i.parentNode[e]:t(i.parentNode)}(r):n}function ef(t,e,i){var{event:r,cancel:n}=t,o=r.cancel,a=n||o;return o&&Br.Z.log("W0003","".concat(i,"Ckick handler argument"),"event.cancel","22.1","Use the 'cancel' field instead"),a||!e.getOptions()}function rf(t){return Qg.indexOf(t)>-1?t:qg}function nf(t){var e=t.getOptions().hoverMode;return e===Ug?e:Wg}var of={ctor:function(t){var e=this,i={tracker:e};e._renderer=t.renderer,e._legend=t.legend,e._tooltip=t.tooltip,e._eventTrigger=t.eventTrigger,e._seriesGroup=t.seriesGroup,t.seriesGroup.off(Fg).on((0,Rt.V4)(Rg.showPointTooltip,Mg),i,e._showPointTooltip).on((0,Rt.V4)(Rg.hidePointTooltip,Mg),i,e._hidePointTooltip),e._renderer.root.off(Fg).on(Ng,i,e._pointerHandler).on((0,Rt.V4)(Lg.Z.up,Mg),(()=>clearTimeout(e._holdTimer))).on((0,Rt.V4)(Ig.u,Mg),i,e._clickHandler)},update:function(t){this._chart=t.chart},updateSeries(t,e){var i=this,r=!(null!==t&&void 0!==t&&t.some((t=>t===i.hoveredSeries))||i._hoveredPoint&&i._hoveredPoint.series);i._storedSeries!==t&&(i._storedSeries=t||[]),r&&(i._clean(),i._renderer.initHatching()),e&&(i.clearSelection(),r||(i._hideTooltip(i.pointAtShownTooltip),i.clearHover()))},setCanvases:function(t,e){this._mainCanvas=t,this._canvases=e},repairTooltip:function(){var t=this.pointAtShownTooltip;t&&t.series&&t.isVisible()?this._showTooltip(t):this._hideTooltip(t,!0)},_setHoveredPoint:function(t){t!==this._hoveredPoint&&(this._releaseHoveredPoint(),t.hover(),this._hoveredPoint=t)},_releaseHoveredPoint:function(t){this._hoveredPoint&&this._hoveredPoint.getOptions()&&(this._hoveredPoint.clearHover(),this._hoveredPoint=null,this._tooltip.isEnabled()&&this._hideTooltip(this._hoveredPoint,!1,t))},_setHoveredSeries:function(t,e){this._releaseHoveredSeries(),this._releaseHoveredPoint(),t.hover(e),this.hoveredSeries=t},_releaseHoveredSeries(){this.hoveredSeries&&(this.hoveredSeries.clearHover(),this.hoveredSeries=null)},clearSelection(){this._storedSeries.forEach((t=>{t&&(t.clearSelection(),t.getPoints().forEach((t=>t.clearSelection())))}))},_clean:function(){this.hoveredPoint=this.hoveredSeries=this._hoveredArgumentPoints=null,this._hideTooltip(this.pointAtShownTooltip)},clearHover:function(t){this._resetHoveredArgument(),this._releaseHoveredSeries(),this._releaseHoveredPoint(t)},_hideTooltip:function(t,e,i){!this._tooltip||t&&this.pointAtShownTooltip!==t||(!e&&this.pointAtShownTooltip&&(this.pointAtShownTooltip=null),this._tooltip.hide(!!i))},_showTooltip:function(t){var e,i=this,r={target:t};if(null!==t&&void 0!==t&&t.getOptions()){if(e=t.getTooltipFormatObject(i._tooltip,i._tooltip.isShared()&&i._chart.getStackedPoints(t)),!(0,l.$K)(e.valueText)&&!e.points||!t.isVisible())return;var n=t.getTooltipParams(i._tooltip.getLocation()),o=i._renderer.getRootOffset();n.x+=o.left,n.y+=o.top;var a=e=>{e&&(i.pointAtShownTooltip=t)};a(i._tooltip.show(e,n,r,void 0,a))}},_showPointTooltip:function(t,e){var i=t.data.tracker,r=i.pointAtShownTooltip;r&&r!==e&&i._hideTooltip(r),i._showTooltip(e)},_hidePointTooltip:function(t,e){t.data.tracker._hideTooltip(e,!1,!0)},_enableOutHandler:function(){if(!this._outHandler){var t=this,e=function(e){var i=t._renderer.getRootOffset(),r=Bg(e.pageX-i.left),n=Bg(e.pageY-i.top);mt(t._mainCanvas,r,n)||t._isCursorOnTooltip(e)||(t._pointerOut(),t._disableOutHandler())};Bt.Z.on(zt["default"].getDocument(),Ng,e),this._outHandler=e}},_isCursorOnTooltip:function(t){return this._tooltip.isEnabled()&&this._tooltip.isCursorOnTooltip(t.pageX,t.pageY)},_disableOutHandler:function(){this._outHandler&&Bt.Z.off(zt["default"].getDocument(),Ng,this._outHandler),this._outHandler=null},stopCurrentHandling:function(){this._pointerOut(!0)},_pointerOut:function(t){this.clearHover(!0),(t||this._tooltip.isEnabled())&&this._hideTooltip(this.pointAtShownTooltip,!1,!0)},_triggerLegendClick:function(t,e){var i=this._eventTrigger;i(Gg,t,(function(){!ef(t,t.target,"Legend")&&i(e,t)}))},_hoverLegendItem:function(t,e){var i,r=this._legend.getItemByCoord(t,e),n=rf(this._legend.getOptions().hoverMode);r?(i=this._storedSeries[r.id],i.isHovered()&&i.lastHoverMode===n||this._setHoveredSeries(i,n),this._tooltip.isEnabled()&&this._hideTooltip(this.pointAtShownTooltip)):this.clearHover()},_hoverArgument:function(t,e){var i=this._getArgumentHoverMode();(0,l.$K)(t)&&(this._releaseHoveredPoint(),this._hoveredArgument=t,this._argumentIndex=e,this._notifySeries({action:"pointHover",notifyLegend:this._notifyLegendOnHoverArgument,target:{argument:t,fullState:Dg,argumentIndex:e,getOptions:function(){return{hoverMode:i}}}}))},_resetHoveredArgument:function(){var t;(0,l.$K)(this._hoveredArgument)&&(t=this._getArgumentHoverMode(),this._notifySeries({action:"clearPointHover",notifyLegend:this._notifyLegendOnHoverArgument,target:{fullState:zg,argumentIndex:this._argumentIndex,argument:this._hoveredArgument,getOptions:function(){return{hoverMode:t}}}}),this._hoveredArgument=null)},_notifySeries:function(t){this._storedSeries.forEach((function(e){e.notify(t)}))},_pointerHandler:function(t){var e,i=t.data.tracker,r=i._renderer.getRootOffset(),n=Bg(t.pageX-r.left),o=Bg(t.pageY-r.top),a=i._getCanvas(n,o),s=tf(t,Xg),l=tf(t,$g)||(null===(e=s)||void 0===e?void 0:e.getPointByCoord(n,o));if(i._isHolding=!1,clearTimeout(i._holdTimer),t.type===Lg.Z.down&&(i._holdTimer=setTimeout((()=>i._isHolding=!0),Kg)),l&&!l.getMarkerVisibility()&&(l=void 0),i._enableOutHandler(),i._legend.coordsIn(n,o))i._hoverLegendItem(n,o);else if(i.hoveredSeries&&i.hoveredSeries!==i._stuckSeries&&i._releaseHoveredSeries(),!i._hoverArgumentAxis(n,o,t)&&(i._isPointerOut(a,l)&&i._pointerOut(),a||l)){if(s&&!l){if(l=s.getNeighborPoint(n,o),i._stickyHovering||!l||l.coordsIn(n,o)||(l=null),s!==i.hoveredSeries)return void i._setTimeout((function(){i._setHoveredSeries(s),i._setStuckSeries(t,s,n,o),i._pointerComplete(l,n,o)}),s)}else{if(l){if(t.type!==Lg.Z.move&&"touch"!==t.pointerType)return;return void(i.hoveredSeries?i._setTimeout((()=>i._pointerOnPoint(l,n,o,t)),l):i._pointerOnPoint(l,n,o,t))}var u;i._setStuckSeries(t,void 0,n,o)&&i._stickyHovering?(s=i._stuckSeries,l=s.getNeighborPoint(n,o),i._releaseHoveredSeries(),(null===(u=l)||void 0===u?void 0:u.getMarkerVisibility())&&i._setHoveredPoint(l)):i._stickyHovering||i._pointerOut()}i._pointerComplete(l,n,o)}},_pointerOnPoint:function(t,e,i){this._resetHoveredArgument(),this._setHoveredPoint(t),this._pointerComplete(t,e,i)},_pointerComplete:function(t){this.pointAtShownTooltip!==t&&this._tooltip.isEnabled()&&this._showTooltip(t)},_clickHandler:function(t){var e,i=t.data.tracker;if(!i._isHolding){var r=i._renderer.getRootOffset(),n=Bg(t.pageX-r.left),o=Bg(t.pageY-r.top),a=tf(t,$g),s=i._stuckSeries||tf(t,Xg)||(null===(e=a)||void 0===e?void 0:e.series),u=i._argumentAxis;if(i._legend.coordsIn(n,o)){var h=i._legend.getItemByCoord(n,o);h&&i._legendClick(h,t)}else if(null!==u&&void 0!==u&&u.coordsIn(n,o)){var c=tf(t,Yg,!0);(0,l.$K)(c)&&i._eventTrigger("argumentAxisClick",{argument:c,event:t})}else if(s){var d;a=a||s.getPointByCoord(n,o),null!==(d=a)&&void 0!==d&&d.getMarkerVisibility()?i._pointClick(a,t):tf(t,Xg)&&i._eventTrigger(Hg,{target:s,event:t})}}},dispose:function(){this._disableOutHandler(),this._renderer.root.off(Fg),this._seriesGroup.off(Fg)}},af=function(t){this.ctor(t)};(0,u.l)(af.prototype,of,{_pointClick:function(t,e){var i=this._eventTrigger,r=t.series,n={target:t,event:e};i(Zg,n,(function(){!ef(n,r,"Point")&&i(Hg,{target:r,event:e})}))},update:function(t){of.update.call(this,t),this._argumentAxis=t.argumentAxis||{},this._axisHoverEnabled=this._argumentAxis&&tt(this._argumentAxis.getOptions().hoverMode)===Wg,this._rotated=t.rotated,this._crosshair=t.crosshair,this._stickyHovering=t.stickyHovering},_getCanvas:function(t,e){for(var i=this._canvases||[],r=0;r<i.length;r++){var n=i[r];if(mt(n,t,e))return n}return null},_isPointerOut:function(t){return!t&&this._stuckSeries},_hideCrosshair:function(){var t;null===(t=this._crosshair)||void 0===t||t.hide()},_moveCrosshair:function(t,e,i){this._crosshair&&null!==t&&void 0!==t&&t.isVisible()&&this._crosshair.show({point:t,x:e,y:i})},_clean:function(){of._clean.call(this),this._resetTimer(),this._stuckSeries=null},_getSeriesForShared:function(t,e){var i,r=[],n=null,o=1/0;return this._tooltip.isShared()&&!this.hoveredSeries&&((0,h.S6)(this._storedSeries,(function(i,n){var o=n.getNeighborPoint(t,e);o&&r.push(o)})),(0,h.S6)(r,(function(i,r){var a=r.getCrosshairData(t,e),s=J(t,e,a.x,a.y);s<o&&(n=r,o=s)}))),null===(i=n)||void 0===i?void 0:i.series},_setTimeout:function(t,e){var i=this;i._timeoutKeeper!==e&&(i._resetTimer(),i._hoverTimeout=setTimeout((function(){t(),i._timeoutKeeper=null}),jg),i._timeoutKeeper=e)},_resetTimer:function(){clearTimeout(this._hoverTimeout),this._timeoutKeeper=this._hoverTimeout=null},_stopEvent:function(t){(0,l.$K)(t.cancelable)&&!t.cancelable||(t.preventDefault(),t.stopPropagation())},_setStuckSeries:function(t,e,i,r){return"mouse"!==t.pointerType?this._stuckSeries=null:this._stuckSeries=e||this._stuckSeries||this._getSeriesForShared(i,r),!!this._stuckSeries},_pointerOut:function(){var t=this;t._stuckSeries=null,t._hideCrosshair(),t._resetTimer(),of._pointerOut.apply(t,arguments)},_hoverArgumentAxis:function(t,e,i){if(this._resetHoveredArgument(),this._axisHoverEnabled&&this._argumentAxis.coordsIn(t,e))return this._hoverArgument(tf(i,Yg,!0)),!0},_pointerComplete:function(t,e,i){this.hoveredSeries&&this.hoveredSeries.updateHover(e,i),this._resetTimer(),this._moveCrosshair(t,e,i),of._pointerComplete.call(this,t)},_legendClick:function(t,e){var i=this._storedSeries[t.id];this._triggerLegendClick({target:i,event:e},Hg)},_hoverLegendItem:function(t,e){this._stuckSeries=null,this._hideCrosshair(),of._hoverLegendItem.call(this,t,e)},_pointerOnPoint:function(t,e,i,r){this._setStuckSeries(r,t.series,e,i),this._releaseHoveredSeries(),of._pointerOnPoint.call(this,t,e,i,r)},_notifyLegendOnHoverArgument:!1,_getArgumentHoverMode:function(){return nf(this._argumentAxis)},dispose:function(){this._resetTimer(),of.dispose.call(this)}});var sf=function(t){this.ctor(t)};(0,u.l)(sf.prototype,of,{_isPointerOut:function(t,e){return!e},_legendClick:function(t,e){var i=[];this._storedSeries.forEach((e=>i.push.apply(i,e.getPointsByKeys(t.argument,t.argumentIndex)))),this._eventTrigger(Gg,{target:t.argument,points:i,event:e})},_pointClick:function(t,e){this._eventTrigger(Zg,{target:t,event:e})},_hoverLegendItem:function(t,e){var i=this._legend.getItemByCoord(t,e);i&&this._hoveredArgument!==i.argument?(this._resetHoveredArgument(),this._hoverArgument(i.argument,i.argumentIndex)):i||this.clearHover()},_getArgumentHoverMode:function(){return nf(this._legend)},_hoverArgumentAxis:s.ZT,_setStuckSeries:s.ZT,_getCanvas:s.ZT,_notifyLegendOnHoverArgument:!0});var lf=i(27238),uf=i(99915),hf=(0,Dt.Jj)(),cf=(0,Dt.jW)(),df={EXCEL:"xlsx",CSS:"css",PNG:"png",JPEG:"jpeg",GIF:"gif",SVG:"svg",PDF:"pdf"},pf={CSS:"text/css",EXCEL:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",PNG:"image/png",JPEG:"image/jpeg",GIF:"image/gif",SVG:"image/svg+xml",PDF:"application/pdf"},gf={_revokeObjectURLTimeout:3e4,_getDataUri:function(t,e){var i=this._getMimeType(t);return"data:".concat(i,";base64,").concat(e)},_getMimeType:function(t){return pf[t]||"application/octet-stream"},_linkDownloader:function(t,e){var i=zt["default"].createElement("a");return i.download=t,i.href=e,i.target="_blank",i},_winJSBlobSave:function(t,e,i){var r=new Windows.Storage.Pickers.FileSavePicker;r.suggestedStartLocation=Windows.Storage.Pickers.PickerLocationId.documentsLibrary;var n=df[i];if(n){var o=this._getMimeType(i);r.fileTypeChoices.insert(o,["."+n])}r.suggestedFileName=e,r.pickSaveFileAsync().then((function(e){e&&e.openAsync(Windows.Storage.FileAccessMode.readWrite).then((function(e){var i=t.msDetachStream();Windows.Storage.Streams.RandomAccessStream.copyAsync(i,e).then((function(){e.flushAsync().done((function(){i.close(),e.close()}))}))}))}))},_click:function(t){try{t.dispatchEvent(new MouseEvent("click",{cancelable:!0}))}catch(i){var e=zt["default"].getDocument().createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,hf,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}},_saveBlobAs:function(t,e,i){if(this._blobSaved=!1,(0,l.$K)(cf.msSaveOrOpenBlob))cf.msSaveOrOpenBlob(i,t),this._blobSaved=!0;else if((0,l.$K)(hf.WinJS))this._winJSBlobSave(i,t,e),this._blobSaved=!0;else{var r=hf.URL||hf.webkitURL||hf.mozURL||hf.msURL||hf.oURL;if((0,l.$K)(r)){var n=r.createObjectURL(i),o=this._linkDownloader(t,n);setTimeout((()=>{r.revokeObjectURL(n),this._objectUrlRevoked=!0}),this._revokeObjectURLTimeout),this._click(o)}else uf.k.warn("window.URL || window.webkitURL || window.mozURL || window.msURL || window.oURL is not defined")}},saveAs:function(t,e,i){var r=df[e];if(r&&(t+="."+r),(0,l.mf)(hf.Blob))this._saveBlobAs(t,e,i);else{(0,l.$K)(cf.userAgent.match(/iPad/i))||lf.Z.log("E1034");var n=this._linkDownloader(t,this._getDataUri(e,i));this._click(n)}}},ff=i(55733),mf=i.n(ff),_f=i(46282),vf=i(66713),bf=i(69992),yf=i(57495),xf={ar:1,bg:2,ca:3,"zh-Hans":4,cs:5,da:6,de:7,el:8,en:9,es:10,fi:11,fr:12,he:13,hu:14,is:15,it:16,ja:17,ko:18,nl:19,no:20,pl:21,pt:22,rm:23,ro:24,ru:25,hr:26,sk:27,sq:28,sv:29,th:30,tr:31,ur:32,id:33,uk:34,be:35,sl:36,et:37,lv:38,lt:39,tg:40,fa:41,vi:42,hy:43,az:44,eu:45,hsb:46,mk:47,tn:50,xh:52,zu:53,af:54,ka:55,fo:56,hi:57,mt:58,se:59,ga:60,ms:62,kk:63,ky:64,sw:65,tk:66,uz:67,tt:68,bn:69,pa:70,gu:71,or:72,ta:73,te:74,kn:75,ml:76,as:77,mr:78,sa:79,mn:80,bo:81,cy:82,km:83,lo:84,gl:86,kok:87,syr:90,si:91,iu:93,am:94,tzm:95,ne:97,fy:98,ps:99,fil:100,dv:101,ha:104,yo:106,quz:107,nso:108,ba:109,lb:110,kl:111,ig:112,ii:120,arn:122,moh:124,br:126,ug:128,mi:129,oc:130,co:131,gsw:132,sah:133,qut:134,rw:135,wo:136,prs:140,gd:145,"ar-SA":1025,"bg-BG":1026,"ca-ES":1027,"zh-TW":1028,"cs-CZ":1029,"da-DK":1030,"de-DE":1031,"el-GR":1032,"en-US":1033,"fi-FI":1035,"fr-FR":1036,"he-IL":1037,"hu-HU":1038,"is-IS":1039,"it-IT":1040,"ja-JP":1041,"ko-KR":1042,"nl-NL":1043,"nb-NO":1044,"pl-PL":1045,"pt-BR":1046,"rm-CH":1047,"ro-RO":1048,"ru-RU":1049,"hr-HR":1050,"sk-SK":1051,"sq-AL":1052,"sv-SE":1053,"th-TH":1054,"tr-TR":1055,"ur-PK":1056,"id-ID":1057,"uk-UA":1058,"be-BY":1059,"sl-SI":1060,"et-EE":1061,"lv-LV":1062,"lt-LT":1063,"tg-Cyrl-TJ":1064,"fa-IR":1065,"vi-VN":1066,"hy-AM":1067,"az-Latn-AZ":1068,"eu-ES":1069,"hsb-DE":1070,"mk-MK":1071,"tn-ZA":1074,"xh-ZA":1076,"zu-ZA":1077,"af-ZA":1078,"ka-GE":1079,"fo-FO":1080,"hi-IN":1081,"mt-MT":1082,"se-NO":1083,"ms-MY":1086,"kk-KZ":1087,"ky-KG":1088,"sw-KE":1089,"tk-TM":1090,"uz-Latn-UZ":1091,"tt-RU":1092,"bn-IN":1093,"pa-IN":1094,"gu-IN":1095,"or-IN":1096,"ta-IN":1097,"te-IN":1098,"kn-IN":1099,"ml-IN":1100,"as-IN":1101,"mr-IN":1102,"sa-IN":1103,"mn-MN":1104,"bo-CN":1105,"cy-GB":1106,"km-KH":1107,"lo-LA":1108,"gl-ES":1110,"kok-IN":1111,"syr-SY":1114,"si-LK":1115,"iu-Cans-CA":1117,"am-ET":1118,"ne-NP":1121,"fy-NL":1122,"ps-AF":1123,"fil-PH":1124,"dv-MV":1125,"ha-Latn-NG":1128,"yo-NG":1130,"quz-BO":1131,"nso-ZA":1132,"ba-RU":1133,"lb-LU":1134,"kl-GL":1135,"ig-NG":1136,"ii-CN":1144,"arn-CL":1146,"moh-CA":1148,"br-FR":1150,"ug-CN":1152,"mi-NZ":1153,"oc-FR":1154,"co-FR":1155,"gsw-FR":1156,"sah-RU":1157,"qut-GT":1158,"rw-RW":1159,"wo-SN":1160,"prs-AF":1164,"gd-GB":1169,"ar-IQ":2049,"zh-CN":2052,"de-CH":2055,"en-GB":2057,"es-MX":2058,"fr-BE":2060,"it-CH":2064,"nl-BE":2067,"nn-NO":2068,"pt-PT":2070,"sr-Latn-CS":2074,"sv-FI":2077,"az-Cyrl-AZ":2092,"dsb-DE":2094,"se-SE":2107,"ga-IE":2108,"ms-BN":2110,"uz-Cyrl-UZ":2115,"bn-BD":2117,"mn-Mong-CN":2128,"iu-Latn-CA":2141,"tzm-Latn-DZ":2143,"quz-EC":2155,"ar-EG":3073,"zh-HK":3076,"de-AT":3079,"en-AU":3081,"es-ES":3082,"fr-CA":3084,"sr-Cyrl-CS":3098,"se-FI":3131,"quz-PE":3179,"ar-LY":4097,"zh-SG":4100,"de-LU":4103,"en-CA":4105,"es-GT":4106,"fr-CH":4108,"hr-BA":4122,"smj-NO":4155,"ar-DZ":5121,"zh-MO":5124,"de-LI":5127,"en-NZ":5129,"es-CR":5130,"fr-LU":5132,"bs-Latn-BA":5146,"smj-SE":5179,"ar-MA":6145,"en-IE":6153,"es-PA":6154,"fr-MC":6156,"sr-Latn-BA":6170,"sma-NO":6203,"ar-TN":7169,"en-ZA":7177,"es-DO":7178,"sr-Cyrl-BA":7194,"sma-SE":7227,"ar-OM":8193,"en-JM":8201,"es-VE":8202,"bs-Cyrl-BA":8218,"sms-FI":8251,"ar-YE":9217,"en-029":9225,"es-CO":9226,"sr-Latn-RS":9242,"smn-FI":9275,"ar-SY":10241,"en-BZ":10249,"es-PE":10250,"sr-Cyrl-RS":10266,"ar-JO":11265,"en-TT":11273,"es-AR":11274,"sr-Latn-ME":11290,"ar-LB":12289,"en-ZW":12297,"es-EC":12298,"sr-Cyrl-ME":12314,"ar-KW":13313,"en-PH":13321,"es-CL":13322,"ar-AE":14337,"es-UY":14346,"ar-BH":15361,"es-PY":15370,"ar-QA":16385,"en-IN":16393,"es-BO":16394,"en-MY":17417,"es-SV":17418,"en-SG":18441,"es-HN":18442,"es-NI":19466,"es-PR":20490,"es-US":21514,"bs-Cyrl":25626,"bs-Latn":26650,"sr-Cyrl":27674,"sr-Latn":28698,smn:28731,"az-Cyrl":29740,sms:29755,zh:30724,nn:30740,bs:30746,"az-Latn":30764,sma:30779,"uz-Cyrl":30787,"mn-Cyrl":30800,"iu-Cans":30813,"zh-Hant":31748,nb:31764,sr:31770,"tg-Cyrl":31784,dsb:31790,smj:31803,"uz-Latn":31811,"mn-Mong":31824,"iu-Latn":31837,"tzm-Latn":31839,"ha-Latn":31848};function wf(){return xf[yf.Z.locale()]}i(52977);var Cf=1632,Sf={thousands:"#,##0{0},&quot;K&quot;",millions:"#,##0{0},,&quot;M&quot;",billions:"#,##0{0},,,&quot;B&quot;",trillions:"#,##0{0},,,,&quot;T&quot;",percent:"0{0}%",decimal:"#{0}",fixedpoint:"#,##0{0}",exponential:"0{0}E+00",currency:" "},kf=/a+/g,Af=/E/g,Tf=/dE+/g,Ef=/L/g,Of=/h/g,Pf=/./g,If={_applyPrecision:function(t,e){var i,r;if(e>0){for(i="decimal"!==t?".":"",r=0;r<e;r++)i+="0";return i}return""},_hasArabicDigits:function(t){for(var e,i=0;i<t.length;i++)if(e=t.charCodeAt(i),e>=Cf&&e<Cf+10)return!0;return!1},_convertDateFormatToOpenXml:function(t){return t.split("/").join("\\/").split("'").map((function(t,e){return e%2===0?t.replace(kf,"AM/PM").replace(Tf,"d").replace(Af,"d").replace(Ef,"M").replace(Of,"H").split("[").join("\\[").split("]").join("\\]"):t?t.replace(Pf,"\\$&"):"'"})).join("")},_convertDateFormat:function(t){var e=(vf.Z.format(new Date(2009,8,8,6,5,4),t)||"").toString(),i=(0,bf.y)((e=>vf.Z.format(e,t)));return i&&(i=this._convertDateFormatToOpenXml(i),i=this._getLanguageInfo(e)+i),i},_getLanguageInfo:function(t){var e=wf(),i=e?e.toString(16):"",r="";if(this._hasArabicDigits(t)){while(i.length<3)i="0"+i;r="[$-2010"+i+"]"}else i&&(r="[$-"+i+"]");return r},_convertNumberFormat:function(t,e,i){var r,n;return n="currency"===t?_f.Z.getOpenXmlCurrencyFormat(i):Sf[t.toLowerCase()],n&&(r=(0,Oa.WU)(n,this._applyPrecision(t,e))),r},convertFormat:function(t,e,i,r){if((0,l.$K)(t)){if("date"===i)return If._convertDateFormat(t);if((0,l.HD)(t)&&Sf[t.toLowerCase()])return If._convertNumberFormat(t,e,r)}}},Lf=If,Bf={toXml:function(t,e,i){var r=["<",t];for(var n in e){var o=e[n];(0,l.$K)(o)&&r.push(" ",n,'="',o,'"')}return(0,l.$K)(i)&&""!==i?r.push(">",i,"</",t,">"):r.push(" />"),r.join("")}},Rf=Bf,Vf={tryCreateTag:function(t){var e=null;return(0,l.$K)(t)&&(e={vertical:t.vertical,wrapText:t.wrapText,horizontal:t.horizontal},Vf.isEmpty(e)&&(e=null)),e},copy:function(t){var e=null;return(0,l.$K)(t)&&(e={},void 0!==t.horizontal&&(e.horizontal=t.horizontal),void 0!==t.vertical&&(e.vertical=t.vertical),void 0!==t.wrapText&&(e.wrapText=t.wrapText)),e},areEqual:function(t,e){return Vf.isEmpty(t)&&Vf.isEmpty(e)||(0,l.$K)(t)&&(0,l.$K)(e)&&t.vertical===e.vertical&&t.wrapText===e.wrapText&&t.horizontal===e.horizontal},isEmpty:function(t){return!(0,l.$K)(t)||!(0,l.$K)(t.vertical)&&!(0,l.$K)(t.wrapText)&&!(0,l.$K)(t.horizontal)},toXml:function(t){return Rf.toXml("alignment",{vertical:t.vertical,wrapText:(0,l.$K)(t.wrapText)?Number(t.wrapText):void 0,horizontal:t.horizontal})}},Df=Vf,zf={_tryConvertColor:function(t){if("string"!==typeof t)return t;var e;if(t.length>0&&"#"===t[0]){var i=t.substr(1,t.length);e=6===i.length?"FF"+i:8===i.length?i[6]+i[7]+i.substr(0,6):i}else e=t;return e},tryCreateTag:function(t){var e=null;return(0,l.$K)(t)&&(e="string"===typeof t?{rgb:this._tryConvertColor(t)}:{rgb:this._tryConvertColor(t.rgb),theme:t.theme},zf.isEmpty(e)&&(e=null)),e},copy:function(t){var e=null;return(0,l.$K)(t)&&("string"===typeof t?e=t:(e={},void 0!==t.rgb&&(e.rgb=t.rgb),void 0!==t.theme&&(e.theme=t.theme))),e},isEmpty:function(t){return!(0,l.$K)(t)||!(0,l.$K)(t.rgb)&&!(0,l.$K)(t.theme)},areEqual:function(t,e){return zf.isEmpty(t)&&zf.isEmpty(e)||(0,l.$K)(t)&&(0,l.$K)(e)&&t.rgb===e.rgb&&t.theme===e.theme},toXml:function(t,e){return Rf.toXml(t,{rgb:e.rgb,theme:e.theme})}},Mf=zf,Ff={tryCreateTag:function(t){var e=null;return(0,l.$K)(t)&&(e={patternType:t.patternType,backgroundColor:Mf.tryCreateTag(t.backgroundColor),foregroundColor:Mf.tryCreateTag(t.foregroundColor)},Ff.isEmpty(e)&&(e=null)),e},copy:function(t){var e=null;return(0,l.$K)(t)&&(e={},void 0!==t.patternType&&(e.patternType=t.patternType),void 0!==t.backgroundColor&&(e.backgroundColor=Mf.copy(t.backgroundColor)),void 0!==t.foregroundColor&&(e.foregroundColor=Mf.copy(t.foregroundColor))),e},areEqual:function(t,e){return Ff.isEmpty(t)&&Ff.isEmpty(e)||(0,l.$K)(t)&&(0,l.$K)(e)&&t.patternType===e.patternType&&Mf.areEqual(t.backgroundColor,e.backgroundColor)&&Mf.areEqual(t.foregroundColor,e.foregroundColor)},isEmpty:function(t){return!(0,l.$K)(t)||!(0,l.$K)(t.patternType)},toXml:function(t){var e=[(0,l.$K)(t.foregroundColor)?Mf.toXml("fgColor",t.foregroundColor):"",(0,l.$K)(t.backgroundColor)?Mf.toXml("bgColor",t.backgroundColor):""].join("");return Rf.toXml("patternFill",{patternType:t.patternType},e)}},Nf=Ff,Gf={tryCreateTag:function(t){var e=null;return(0,l.$K)(t)&&(e={patternFill:Nf.tryCreateTag(t.patternFill)},Gf.isEmpty(e)&&(e=null)),e},tryCreateFillFromSimpleFormat:function(){var{backgroundColor:t,fillPatternType:e,fillPatternColor:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!(0,l.$K)(t)||(0,l.$K)(e)&&(0,l.$K)(i)?(0,l.$K)(e)&&(0,l.$K)(i)?{patternFill:{patternType:e,foregroundColor:{rgb:i},backgroundColor:{rgb:t}}}:void 0:{patternFill:{patternType:"solid",foregroundColor:{rgb:t}}}},copySimpleFormat:function(t,e){void 0!==t.backgroundColor&&(e.backgroundColor=t.backgroundColor),void 0!==t.fillPatternType&&(e.fillPatternType=t.fillPatternType),void 0!==t.fillPatternColor&&(e.fillPatternColor=t.fillPatternColor)},copy:function(t){var e=null;return(0,l.$K)(t)&&(e={},void 0!==t.patternFill&&(e.patternFill=Nf.copy(t.patternFill))),e},areEqual:function(t,e){return Gf.isEmpty(t)&&Gf.isEmpty(e)||(0,l.$K)(t)&&(0,l.$K)(e)&&Nf.areEqual(t.patternFill,e.patternFill)},isEmpty:function(t){return!(0,l.$K)(t)||Nf.isEmpty(t.patternFill)},toXml:function(t){return Rf.toXml("fill",{},Nf.toXml(t.patternFill))}},Hf=Gf,Zf={tryCreateTag:function(t){var e=null;return(0,l.$K)(t)&&(e={size:t.size,name:t.name,family:t.family,scheme:t.scheme,bold:t.bold,italic:t.italic,underline:t.underline,color:Mf.tryCreateTag(t.color)},Zf.isEmpty(e)&&(e=null)),e},copy:function(t){var e=null;return(0,l.$K)(t)&&(e={},void 0!==t.size&&(e.size=t.size),void 0!==t.name&&(e.name=t.name),void 0!==t.family&&(e.family=t.family),void 0!==t.scheme&&(e.scheme=t.scheme),void 0!==t.bold&&(e.bold=t.bold),void 0!==t.italic&&(e.italic=t.italic),void 0!==t.underline&&(e.underline=t.underline),void 0!==t.color&&(e.color=Mf.copy(t.color))),e},areEqual:function(t,e){return Zf.isEmpty(t)&&Zf.isEmpty(e)||(0,l.$K)(t)&&(0,l.$K)(e)&&t.size===e.size&&t.name===e.name&&t.family===e.family&&t.scheme===e.scheme&&(t.bold===e.bold||!t.bold===!e.bold)&&(t.italic===e.italic||!t.italic===!e.italic)&&t.underline===e.underline&&Mf.areEqual(t.color,e.color)},isEmpty:function(t){return!(0,l.$K)(t)||!(0,l.$K)(t.size)&&!(0,l.$K)(t.name)&&!(0,l.$K)(t.family)&&!(0,l.$K)(t.scheme)&&(!(0,l.$K)(t.bold)||!t.bold)&&(!(0,l.$K)(t.italic)||!t.italic)&&!(0,l.$K)(t.underline)&&Mf.isEmpty(t.color)},toXml:function(t){var e=[(0,l.$K)(t.bold)&&t.bold?Rf.toXml("b",{}):"",(0,l.$K)(t.size)?Rf.toXml("sz",{val:t.size}):"",(0,l.$K)(t.color)?Mf.toXml("color",t.color):"",(0,l.$K)(t.name)?Rf.toXml("name",{val:t.name}):"",(0,l.$K)(t.family)?Rf.toXml("family",{val:t.family}):"",(0,l.$K)(t.scheme)?Rf.toXml("scheme",{val:t.scheme}):"",(0,l.$K)(t.italic)&&t.italic?Rf.toXml("i",{}):"",(0,l.$K)(t.underline)?Rf.toXml("u",{val:t.underline}):""].join("");return Rf.toXml("font",{},e)}},$f=Zf,Xf={tryCreateTag:function(t,e){var i=null;if((0,l.$K)(t)){var r;r="number"===typeof t.numberFormat?t.numberFormat:e.registerNumberFormat(t.numberFormat);var n=t.fill;(0,l.$K)(n)||(n=Hf.tryCreateFillFromSimpleFormat(t)),i={numberFormatId:r,alignment:Df.tryCreateTag(t.alignment),fontId:e.registerFont(t.font),fillId:e.registerFill(n)},Xf.isEmpty(i)&&(i=null)}return i},copy:function(t){var e;return null===t?e=null:(0,l.$K)(t)&&(e={},void 0!==t.numberFormat&&(e.numberFormat=t.numberFormat),void 0!==t.fill?e.fill=Hf.copy(t.fill):Hf.copySimpleFormat(t,e),void 0!==t.alignment&&(e.alignment=Df.copy(t.alignment)),void 0!==t.font&&(e.font=$f.copy(t.font))),e},areEqual:function(t,e){return Xf.isEmpty(t)&&Xf.isEmpty(e)||(0,l.$K)(t)&&(0,l.$K)(e)&&t.fontId===e.fontId&&t.numberFormatId===e.numberFormatId&&t.fillId===e.fillId&&Df.areEqual(t.alignment,e.alignment)},isEmpty:function(t){return!(0,l.$K)(t)||!(0,l.$K)(t.fontId)&&!(0,l.$K)(t.numberFormatId)&&!(0,l.$K)(t.fillId)&&Df.isEmpty(t.alignment)},toXml:function(t){var e,i=Df.isEmpty(t.alignment);return(0,l.$K)(t.numberFormatId)&&(e=t.numberFormatId>0?1:0),Rf.toXml("xf",{xfId:0,applyAlignment:i?null:1,fontId:t.fontId,applyNumberFormat:e,fillId:t.fillId,numFmtId:t.numberFormatId},i?null:Df.toXml(t.alignment))}},Yf=Xf,jf={ID_PROPERTY_NAME:"id",tryCreateTag:function(t){var e=null;return"string"===typeof t&&(e={formatCode:t},jf.isEmpty(e)&&(e=null)),e},areEqual:function(t,e){return jf.isEmpty(t)&&jf.isEmpty(e)||(0,l.$K)(t)&&(0,l.$K)(e)&&t.formatCode===e.formatCode},isEmpty:function(t){return!(0,l.$K)(t)||!(0,l.$K)(t.formatCode)||""===t.formatCode},toXml:function(t){return Rf.toXml("numFmt",{numFmtId:t[jf.ID_PROPERTY_NAME],formatCode:t.formatCode})}},Kf=jf;class Uf{constructor(){this._cellFormatTags=[],this._fillTags=[],this._fontTags=[],this._numberFormatTags=[],this._fillTags.push(Hf.tryCreateTag({patternFill:{patternType:"none"}}))}registerCellFormat(t){var e,i=Yf.tryCreateTag(t,{registerFill:this.registerFill.bind(this),registerFont:this.registerFont.bind(this),registerNumberFormat:this.registerNumberFormat.bind(this)});if((0,l.$K)(i)){for(var r=0;r<this._cellFormatTags.length;r++)if(Yf.areEqual(this._cellFormatTags[r],i)){e=r;break}void 0===e&&(e=this._cellFormatTags.push(i)-1)}return e}static copyCellFormat(t){return Yf.copy(t)}generateCellFormatsXml(){var t=this._cellFormatTags.map((t=>Yf.toXml(t)));return Rf.toXml("cellXfs",{count:t.length},t.join(""))}registerFill(t){var e,i=Hf.tryCreateTag(t);if((0,l.$K)(i)){for(var r=0;r<this._fillTags.length;r++)if(Hf.areEqual(this._fillTags[r],i)){e=r;break}void 0===e&&(this._fillTags.length<2&&this._fillTags.push(Hf.tryCreateTag({patternFill:{patternType:"Gray125"}})),e=this._fillTags.push(i)-1)}return e}generateFillsXml(){var t=this._fillTags.map((t=>Hf.toXml(t)));return Rf.toXml("fills",{count:t.length},t.join(""))}registerFont(t){var e,i=$f.tryCreateTag(t);if((0,l.$K)(i)){for(var r=0;r<this._fontTags.length;r++)if($f.areEqual(this._fontTags[r],i)){e=r;break}void 0===e&&(e=this._fontTags.push(i)-1)}return e}generateFontsXml(){var t=this._fontTags.map((t=>$f.toXml(t)));return Rf.toXml("fonts",{count:t.length},t.join(""))}_convertNumberFormatIndexToId(t){return 165+t}registerNumberFormat(t){var e,i=Kf.tryCreateTag(t);if((0,l.$K)(i)){for(var r=0;r<this._numberFormatTags.length;r++)if(Kf.areEqual(this._numberFormatTags[r],i)){e=this._numberFormatTags[r][Kf.ID_PROPERTY_NAME];break}void 0===e&&(i[Kf.ID_PROPERTY_NAME]=this._convertNumberFormatIndexToId(this._numberFormatTags.length),e=i[Kf.ID_PROPERTY_NAME],this._numberFormatTags.push(i))}return e}generateNumberFormatsXml(){if(this._numberFormatTags.length>0){var t=this._numberFormatTags.map((t=>Kf.toXml(t)));return Rf.toXml("numFmts",{count:t.length},t.join(""))}return""}}var Wf='<?xml version="1.0" encoding="utf-8"?>',qf='<sheetPr><outlinePr summaryBelow="0"/></sheetPr>',Jf="<sheetPr/>",Qf='<borders count="1"><border><left style="thin"><color rgb="FFD3D3D3"/></left><right style="thin"><color rgb="FFD3D3D3"/></right><top style="thin"><color rgb="FFD3D3D3"/></top><bottom style="thin"><color rgb="FFD3D3D3"/></bottom></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',tm="http://schemas.openxmlformats.org",em="rels",im="xl",rm="workbook.xml",nm="[Content_Types].xml",om="sharedStrings.xml",am="styles.xml",sm="worksheets",lm="sheet1.xml",um='<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">',hm={boolean:"b",date:"d",number:"n",string:"s"},cm=Date.UTC(1899,11,30),dm=60,pm=7,gm={quarter:"shortDate",quarterAndYear:"shortDate",minute:"longTime",millisecond:"longTime"},fm=Mt.Z.inherit({_getXMLTag:function(t,e,i){var r,n,o="<"+t,a=e.length;for(r=0;r<a;r++)n=e[r],void 0!==n.value&&(o=o+" "+n.name+'="'+n.value+'"');return(0,l.$K)(i)?o+">"+i+"</"+t+">":o+" />"},_convertToExcelCellRef:function(t,e){var i,r,n="";while(!r)i=65+(e>=26?e%26:Math.ceil(e)),n=String.fromCharCode(i)+n,e>=26?e=Math.floor(e/26)-1:r=!0;return n+(t+1)},_convertToExcelCellRefAndTrackMaxIndex:function(t,e){return this._maxRowIndex<Number(t)&&(this._maxRowIndex=Number(t)),this._maxColumnIndex<Number(e)&&(this._maxColumnIndex=Number(e)),this._convertToExcelCellRef(t,e)},_getDataType:function(t){return hm[t]||hm.string},_tryGetExcelCellDataType:function(t){if((0,l.$K)(t)){if("number"===typeof t)return isFinite(t)?hm.number:hm.string;if((0,l.HD)(t))return hm.string;if((0,l.J_)(t))return hm.number;if((0,l.jn)(t))return hm.boolean}},_formatObjectConverter:function(t,e){var i={format:t,precision:t&&t.precision,dataType:e};return(0,l.Kn)(t)?(0,u.l)(i,t,{format:t.formatter||t.type,currency:t.currency}):i},_tryConvertToExcelNumberFormat:function(t,e){var i=this._formatObjectConverter(t,e);t=i.format;var r=i.currency;return e=i.dataType,(0,l.$K)(t)&&"date"===e&&(t=gm[t&&t.type||t]||t),Lf.convertFormat(t,i.precision,e,r)},_appendString:function(t){if((0,l.$K)(t)&&(t=String(t),t.length))return t=(0,Oa.HZ)(t),void 0===this._stringHash[t]&&(this._stringHash[t]=this._stringArray.length,this._stringArray.push(t)),this._stringHash[t]},_tryGetExcelDateValue:function(t){var e,i;if((0,l.J_)(t))return e=Math.floor((Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())-cm)/864e5),e<dm&&e--,i=(3600*t.getHours()+60*t.getMinutes()+t.getSeconds())/86400,e+i},_prepareValue:function(t,e){var i,r=this._dataProvider,{cellSourceData:n}=r.getCellData(t,e)||{},{value:o}=r.getCellData(t,e)||{},a=this._getDataType(r.getCellType(t,e));switch(a!==hm.date||(0,l.J_)(o)||(a=hm.string),a){case hm.string:i=o,o=this._appendString(o);break;case hm.date:i=o,o=this._tryGetExcelDateValue(o),a=hm.number}return{value:o,type:a,sourceValue:i,cellSourceData:n}},_callCustomizeExcelCell:function(t){var{dataProvider:e,value:i,style:r,sourceData:n}=t,o=Uf.copyCellFormat(r),a={value:i,numberFormat:o.numberFormat,clearStyle:function(){this.horizontalAlignment=null,this.verticalAlignment=null,this.wrapTextEnabled=null,this.font=null,this.numberFormat=null}};(0,l.$K)(o)&&((0,l.$K)(o.alignment)&&(a.horizontalAlignment=o.alignment.horizontal,a.verticalAlignment=o.alignment.vertical,a.wrapTextEnabled=o.alignment.wrapText),a.backgroundColor=o.backgroundColor,a.fillPatternType=o.fillPatternType,a.fillPatternColor=o.fillPatternColor,a.font=o.font),e.customizeExcelCell(a,n);var s=o||{};return s.font=a.font,s.alignment=s.alignment||{},s.alignment.horizontal=a.horizontalAlignment,s.alignment.vertical=a.verticalAlignment,s.alignment.wrapText=a.wrapTextEnabled,s.backgroundColor=a.backgroundColor,s.fillPatternType=a.fillPatternType,s.fillPatternColor=a.fillPatternColor,s.numberFormat=a.numberFormat,{value:a.value,style:s}},_getDataArray:function(){var t,e,i,r,n,o=[],a=this._dataProvider,s=a.getRowsCount(),u=a.getColumns();for(t=0;t<s;t++){for(i=[],n=u.length,e=0;e!==n;e++){r=this._prepareValue(t,e);var h=a.getStyleId(t,e),c=this._styleArrayIndexToCellStyleIdMap[h];if(a.hasCustomizeExcelCell&&a.hasCustomizeExcelCell()){var d=r.sourceValue||r.value,p=this._callCustomizeExcelCell({dataProvider:a,value:d,style:this._styleArray[h],sourceData:r.cellSourceData});if(p.value!==d){if(typeof p.value!==typeof d||"number"===typeof p.value&&!isFinite(p.value)){var g=this._tryGetExcelCellDataType(p.value);(0,l.$K)(g)&&(r.type=g)}switch(r.type){case hm.string:r.value=this._appendString(p.value);break;case hm.date:r.value=p.value;break;case hm.number:var f=p.value,m=this._tryGetExcelDateValue(f);(0,l.$K)(m)&&(f=m),r.value=f;break;default:r.value=p.value}}c=this._excelFile.registerCellFormat(p.style)}i.push({style:c,value:r.value,type:r.type})}!this._needSheetPr&&a.getGroupLevel(t)>0&&(this._needSheetPr=!0),o.push(i)}return o},_calculateWidth:function(t){return t=parseInt(t,10),(!t||t<5)&&(t=100),Math.min(255,Math.floor((t-5)/pm*100+.5)/100)},_prepareStyleData:function(){var t=this,e=t._dataProvider.getStyles();t._dataProvider.getColumns().forEach((function(e){t._colsArray.push(t._calculateWidth(e.width))}));var i=[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor",bold:!1},{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor",bold:!0}];this._excelFile.registerFont(i[0]),this._excelFile.registerFont(i[1]),e.forEach((function(e){var r=t._tryConvertToExcelNumberFormat(e.format,e.dataType);(0,l.$K)(r)||(r=0),t._styleArray.push({font:i[Number(!!e.bold)],numberFormat:r,alignment:{vertical:"top",wrapText:!!e.wrapText,horizontal:e.alignment||"left"}})})),t._styleArrayIndexToCellStyleIdMap=t._styleArray.map((t=>this._excelFile.registerCellFormat(t)))},_prepareCellData:function(){this._cellsArray=this._getDataArray()},_createXMLRelationships:function(t){return this._getXMLTag("Relationships",[{name:"xmlns",value:tm+"/package/2006/relationships"}],t)},_createXMLRelationship:function(t,e,i){return this._getXMLTag("Relationship",[{name:"Id",value:"rId"+t},{name:"Type",value:tm+"/officeDocument/2006/relationships/"+e},{name:"Target",value:i}])},_getWorkbookContent:function(){return Wf+this._getXMLTag("workbook",[{name:"xmlns:r",value:tm+"/officeDocument/2006/relationships"},{name:"xmlns",value:tm+"/spreadsheetml/2006/main"}],'<bookViews><workbookView xWindow="0" yWindow="0" windowWidth="0" windowHeight="0"/></bookViews><sheets><sheet name="Sheet" sheetId="1" r:id="rId1" /></sheets><definedNames><definedName name="_xlnm.Print_Titles" localSheetId="0">Sheet!$1:$1</definedName><definedName name="_xlnm._FilterDatabase" hidden="0" localSheetId="0">Sheet!$A$1:$F$6332</definedName></definedNames>')},_getContentTypesContent:function(){return Wf+'<Types xmlns="'+tm+'/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="xml" ContentType="application/xml" /><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" /><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" /><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml" /><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" /></Types>'},_generateStylesXML:function(){var t=this._zip.folder(im),e="";e+=this._excelFile.generateNumberFormatsXml(),e+=this._excelFile.generateFontsXml(),e+=this._excelFile.generateFillsXml(),e+=Qf,e+=this._excelFile.generateCellFormatsXml(),e+=this._getXMLTag("cellStyles",[{name:"count",value:1}],this._getXMLTag("cellStyle",[{name:"name",value:"Normal"},{name:"xfId",value:0},{name:"builtinId",value:0}])),e=Wf+this._getXMLTag("styleSheet",[{name:"xmlns",value:tm+"/spreadsheetml/2006/main"}],e),t.file(am,e),this._styleArray=[]},_generateStringsXML:function(){var t,e=this._zip.folder(im),i=this._stringArray.length,r=Wf;for(t=0;t<i;t++)this._stringArray[t]=this._getXMLTag("si",[],this._getXMLTag("t",[],this._stringArray[t]));r+=this._getXMLTag("sst",[{name:"xmlns",value:tm+"/spreadsheetml/2006/main"},{name:"count",value:this._stringArray.length},{name:"uniqueCount",value:this._stringArray.length}],this._stringArray.join("")),e.file(om,r),this._stringArray=[]},_getPaneXML:function(){var t=[{name:"activePane",value:"bottomLeft"},{name:"state",value:"frozen"}],e=this._dataProvider.getFrozenArea();return e.x||e.y?(e.x&&t.push({name:"xSplit",value:e.x}),e.y&&t.push({name:"ySplit",value:e.y}),t.push({name:"topLeftCell",value:this._convertToExcelCellRefAndTrackMaxIndex(e.y,e.x)}),this._getXMLTag("pane",t)):""},_getAutoFilterXML:function(t){return this._options.autoFilterEnabled?'<autoFilter ref="A'+this._dataProvider.getHeaderRowCount()+":"+t+'" />':""},_generateWorksheetXML:function(){var t,e,i,r,n,o=[],a=this._cellsArray.length,s=this._colsArray.length,u="1:"+s,h=this._dataProvider.getHeaderRowCount?this._dataProvider.getHeaderRowCount():1,c=[um];for(c.push(this._needSheetPr?qf:Jf),c.push('<dimension ref="A1:C1"/>'),c.push("<sheetViews><sheetView "),c.push(this._rtlEnabled?'rightToLeft="1" ':""),c.push('tabSelected="1" workbookViewId="0">'),c.push(this._getPaneXML()),c.push("</sheetView></sheetViews>"),c.push('<sheetFormatPr defaultRowHeight="15"'),c.push(' outlineLevelRow="'+(this._dataProvider.getRowsCount()>0?this._dataProvider.getGroupLevel(0):0)+'"'),c.push(' x14ac:dyDescent="0.25"/>'),t=0;t<s;t++)this._colsArray[t]=this._getXMLTag("col",[{name:"width",value:this._colsArray[t]},{name:"min",value:Number(t)+1},{name:"max",value:Number(t)+1},{name:"customWidth",value:1}]);for(c.push(this._getXMLTag("cols",[],this._colsArray.join(""))+"<sheetData>"),e=0;e<a;e++){for(r=[],n=this._cellsArray[e].length,t=0;t<n;t++)e=Number(e),i=this._cellsArray[e][t],r.push(this._getXMLTag("c",[{name:"r",value:this._convertToExcelCellRefAndTrackMaxIndex(e,t)},{name:"s",value:i.style},{name:"t",value:i.type}],(0,l.$K)(i.value)?this._getXMLTag("v",[],i.value):null));o.push(this._getXMLTag("row",[{name:"r",value:Number(e)+1},{name:"spans",value:u},{name:"outlineLevel",value:e>=h?this._dataProvider.getGroupLevel(e):0},{name:"x14ac:dyDescent",value:"0.25"}],r.join(""))),this._cellsArray[e]=null,o.length>1e4&&(c.push(o.join("")),o=[])}c.push(o.join(""));var d=this._convertToExcelCellRef(this._maxRowIndex,this._maxColumnIndex);c.push("</sheetData>"+this._getAutoFilterXML(d)+this._generateMergingXML()+"</worksheet>"),this._zip.folder(im).folder(sm).file(lm,c.join("")),this._colsArray=[],this._cellsArray=[]},_generateMergingXML:function(){var t,e,i,r,n,o=(0,l.$K)(this._dataProvider.getHeaderRowCount)?this._dataProvider.getHeaderRowCount():this._dataProvider.getRowsCount(),a=this._dataProvider.getColumns().length,s=[],u=[],h="";for(r=0;r<o;r++)for(i=0;i!==a;i++)if(!(0,l.$K)(s[r])||!(0,l.$K)(s[r][i])){var c=this._dataProvider.getCellMerging(r,i);if(c.colspan||c.rowspan)for(u.push({start:this._convertToExcelCellRefAndTrackMaxIndex(r,i),end:this._convertToExcelCellRefAndTrackMaxIndex(r+(c.rowspan||0),i+(c.colspan||0))}),t=r;t<=r+c.rowspan;t++)for(e=i;e<=i+c.colspan;e++)(0,l.$K)(s[t])||(s[t]=[]),s[t][e]=!0}var d=u.length;for(n=0;n<d;n++)h+=this._getXMLTag("mergeCell",[{name:"ref",value:u[n].start+":"+u[n].end}]);return h.length?this._getXMLTag("mergeCells",[{name:"count",value:d}],h):""},_generateCommonXML:function(){var t=Wf+this._createXMLRelationships(this._createXMLRelationship(1,"officeDocument","xl/"+rm)),e=this._zip.folder(im),i=Wf;this._zip.folder("_"+em).file("."+em,t);var r=this._createXMLRelationship(1,"worksheet","worksheets/"+lm)+this._createXMLRelationship(2,"styles",am)+this._createXMLRelationship(3,"sharedStrings",om);i+=this._createXMLRelationships(r),e.folder("_"+em).file(rm+".rels",i),e.file(rm,this._getWorkbookContent()),this._zip.file(nm,this._getContentTypesContent())},_generateContent:function(){this._prepareStyleData(),this._prepareCellData(),this._generateWorkXML(),this._generateCommonXML()},_generateWorkXML:function(){this._generateStylesXML(),this._generateStringsXML(),this._generateWorksheetXML()},ctor:function(t,e){this._rtlEnabled=e&&!!e.rtlEnabled,this._options=e,this._maxRowIndex=0,this._maxColumnIndex=0,this._stringArray=[],this._stringHash={},this._styleArray=[],this._colsArray=[],this._cellsArray=[],this._needSheetPr=!1,this._dataProvider=t,this._excelFile=new Uf,(0,l.$K)(fm.JSZip)?this._zip=new fm.JSZip:this._zip=null},_checkZipState:function(){if(!this._zip)throw lf.Z.Error("E1041","JSZip")},ready:function(){return this._dataProvider.ready()},getData:function(t){var e={type:t?"blob":"base64",compression:"DEFLATE",mimeType:pf.EXCEL},i=new Ta.BH;return this._checkZipState(),this._generateContent(),this._zip.generateAsync?this._zip.generateAsync(e).then(i.resolve):i.resolve(this._zip.generate(e)),i}});fm.JSZip=mf();var mm,_m=i(25445),vm=i(38192),bm=(0,Dt.Jj)(),ym=Math,xm=ym.PI,wm=ym.min,Cm=ym.abs,Sm=ym.sqrt,km=ym.pow,Am=ym.atan2,Tm=ym.cos,Em=ym.sin,Om=Number,Pm=1,Im=.05,Lm="10px",Bm="sans-serif",Rm="#000";function Vm(t,e){var i=t.toDataURL(e,Pm),r=bm.atob(i.substring(("data:"+e+";base64,").length));return r}function Dm(t,e,i,r,n,o,a,s){var l=(t+i)/2,u=(e+r)/2,h=Am(e-r,t-i),c=o?1:-1;h+=xm/180*90*(a?1:-1);var d=Sm(km(i-t,2)+km(r-e,2))/2,p=Sm(Cm(km(n,2)-km(d,2))),g=l+c*(p*Tm(h)),f=u+c*(p*Em(h)),m=Am(e-f,t-g),_=Am(r-f,i-g);s.arc(g,f,n,m,_,!a)}function zm(t,e){var i,r=mm(t.attributes||{}),n=(0,u.l)({},r,{text:t.textContent.replace(/\s+/g," "),textAlign:"middle"===r["text-anchor"]?"center":r["text-anchor"]}),o=r.transform;return o&&(i=o.match(/translate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*)*/),i&&(i=i[0].match(/-*\d+([.]\d+)*/g),n.translateX=Om(i[0]),n.translateY=i[1]?Om(i[1]):0),i=o.match(/rotate\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*,*\s*-*\d+([.]\d+)*)*/),i&&(i=i[0].match(/-*\d+([.]\d+)*/g),n.rotationAngle=Om(i[0]),n.rotationX=i[1]&&Om(i[1]),n.rotationY=i[2]&&Om(i[2])),i=o.match(/scale\(-*\d+([.]\d+)*(,*\s*-*\d+([.]\d+)*)*/),i&&(i=i[0].match(/-*\d+([.]\d+)*/g),n.scaleX=Om(i[0]),i.length>1?n.scaleY=Om(i[1]):n.scaleY=n.scaleX)),Gm(t,n,e),n}function Mm(t,e){var i=e.x,r=e.y,n=e.width,o=e.height,a=e.rx;a?(a=wm(a,n/2,o/2),t.save(),t.translate(i,r),t.moveTo(n/2,0),t.arcTo(n,0,n,o,a),t.arcTo(n,o,0,o,a),t.arcTo(0,o,0,0,a),t.arcTo(0,0,a,0,a),t.lineTo(n/2,0),t.restore()):t.rect(i,r,n,o)}function Fm(t,e,i){var r=new Ta.BH,n=new bm.Image;return n.onload=function(){t.save(),t.globalAlpha=e.globalAlpha,Jm(t,e),Qm(t,e,i),t.drawImage(n,e.x||0,e.y||0,e.width,e.height),t.restore(),r.resolve()},n.onerror=function(){r.resolve()},n.setAttribute("crossOrigin","anonymous"),n.src=e.href||e["xlink:href"],r}function Nm(t,e){var i,r,n,o=e.replace(/,/g," ").split(/([A-Z])/i).filter((t=>""!==t.trim())),a=0;do{switch(i=(o[a+1]||"").trim().split(" "),o[a]){case"M":t.moveTo(Om(i[0]),Om(i[1])),a+=2;break;case"L":for(var s=0;s<i.length/2;s++)t.lineTo(Om(i[2*s]),Om(i[2*s+1]));a+=2;break;case"C":t.bezierCurveTo(Om(i[0]),Om(i[1]),Om(i[2]),Om(i[3]),Om(i[4]),Om(i[5])),a+=2;break;case"a":r=o[a-1].trim().split(" "),n=r.length-1,Dm(Om(r[n-1]),Om(r[n]),Om(r[n-1])+Om(i[5]),Om(r[n])+Om(i[6]),Om(i[0]),Om(i[3]),Om(i[4]),t),a+=2;break;case"A":r=o[a-1].trim().split(" "),n=r.length-1,Dm(Om(r[n-1]),Om(r[n]),Om(i[5]),Om(i[6]),Om(i[0]),Om(i[3]),Om(i[4]),t),a+=2;break;case"Z":t.closePath(),a+=1;break;default:a++}}while(a<o.length)}function Gm(t,e,i){var r,n=t.style||{};for(r in n)""!==n[r]&&(e[(0,vm._A)(r)]=n[r]);i&&zt["default"].isElementNode(t)&&(n=bm.getComputedStyle(t),["fill","stroke","stroke-width","font-family","font-size","font-style","font-weight"].forEach((function(t){t in n&&""!==n[t]&&(e[(0,vm._A)(t)]=n[t])})),["opacity","fill-opacity","stroke-opacity"].forEach((function(t){t in n&&""!==n[t]&&"1"!==n[t]&&(e[t]=Om(n[t]))}))),e.textDecoration=e.textDecoration||e.textDecorationLine,e.globalAlpha=(0,l.$K)(e.opacity)?e.opacity:e.globalAlpha}function Hm(t){var e=t&&t.match(/url\(.*#(.*?)["']?\)/i);return e&&e[1]}function Zm(t,e){var i=[];e.fontSize=e.fontSize||Lm,e.fontFamily=e.fontFamily||Bm,e.fill=e.fill||Rm,e.fontStyle&&i.push(e.fontStyle),e.fontWeight&&i.push(e.fontWeight),i.push(e.fontSize),i.push(e.fontFamily),t.font=i.join(" "),t.textAlign=e.textAlign,t.fillStyle=e.fill,t.globalAlpha=e.globalAlpha}function $m(t,e,i){Zm(t,e),qm(t,e,i),e.text&&t.fillText(e.text,e.x||0,e.y||0),a_(t,e,!0),Xm(t,e,i)}function Xm(t,e,i){if(e.textDecoration&&"none"!==e.textDecoration){var r=e.x,n=t.measureText(e.text).width,o=parseInt(e.fontSize,10),a=o*Im<1?1:o*Im,s=e.y;switch(e.textDecoration){case"line-through":s-=o/3+a/2;break;case"overline":s-=o-a;break;case"underline":s+=a}t.rect(r,s,n,a),l_(t,e,i),a_(t,e)}}function Ym(t){t.strokeOpacity=void 0!==t["stroke-opacity"]?t["stroke-opacity"]:1,t.fillOpacity=void 0!==t["fill-opacity"]?t["fill-opacity"]:1,void 0!==t.opacity&&(t.strokeOpacity*=t.opacity,t.fillOpacity*=t.opacity)}function jm(t){for(var e=t.childNodes,i=0;i<e.length;i++)if("tspan"===e[i].tagName)return!0;return!1}function Km(t,e,i,r){for(var n,o=[],a=0,s=0;s<t.length;s++){var l=t[s];if(void 0===l.tagName)Um(l,e,i,r);else if("tspan"===l.tagName||"text"===l.tagName){var h=zm(l,r.rootAppended),c=(0,u.l)({},i,h);if("tspan"===l.tagName&&jm(l)){Km(l.childNodes,e,c,r);continue}c.textAlign="start",n&&void 0===h.x||(n={elements:[],options:[],widths:[],offsets:[]},o.push(n)),void 0!==h.y&&(a=0),void 0!==h.dy&&(a+=parseFloat(h.dy)),n.elements.push(l),n.options.push(c),n.offsets.push(a),Zm(e,c),n.widths.push(e.measureText(c.text).width)}}o.forEach((function(t){var n=t.widths.reduce((function(t,e){return t+e}),0),o=0,a=0;"center"===i.textAlign&&(o=n/2),"end"===i.textAlign&&(o=n),t.options.forEach((function(e,i){var r=t.widths[i];e.x=e.x-o+a,e.y+=t.offsets[i],a+=r})),t.elements.forEach((function(i,n){Km(i.childNodes,e,t.options[n],r)}))}))}function Um(t,e,i,r){var n=t.tagName,o="text"===n||"tspan"===n||void 0===n,a="image"===n,s=(0,u.l)({},i,zm(t,r.rootAppended));if("hidden"!==s.visibility&&!s[Nr]){var l;switch(e.save(),!a&&Jm(e,s),Qm(e,s,r),Ym(s),e.beginPath(),t.tagName){case void 0:$m(e,s,r);break;case"text":case"tspan":Km(t.childNodes,e,s,r);break;case"image":l=Fm(e,s,r);break;case"path":Nm(e,s.d);break;case"rect":Mm(e,s),e.closePath();break;case"circle":e.arc(s.cx,s.cy,s.r,0,2*xm,1)}return o||(qm(e,s,r),l_(e,s,r),a_(e,s)),Wm(e,s,r,t),e.restore(),l}}function Wm(t,e,i,r){var{gradients:n}=i;if(0!==n.length){var o=Hm(e.fill);if(o&&n[o]){var a=r.getBBox(),s=t.createLinearGradient(a.x,0,a.x+a.width,0);n[o].forEach((t=>{var e=parseInt(t.offset.replace(/%/,""));s.addColorStop(e/100,t.stopColor)})),t.globalAlpha=e.opacity,t.fillStyle=s,t.fill()}}}function qm(t,e,i){var r,n=Hm(e.filter);n&&(r=i.filters[n],r||(r={offsetX:0,offsetY:0,blur:0,color:"#000"}),t.shadowOffsetX=r.offsetX,t.shadowOffsetY=r.offsetY,t.shadowColor=r.color,t.shadowBlur=r.blur)}function Jm(t,e){t.translate(e.translateX||0,e.translateY||0),e.translateX=void 0,e.translateY=void 0,e.rotationAngle&&(t.translate(e.rotationX||0,e.rotationY||0),t.rotate(e.rotationAngle*xm/180),t.translate(-(e.rotationX||0),-(e.rotationY||0)),e.rotationAngle=void 0,e.rotationX=void 0,e.rotationY=void 0),isFinite(e.scaleX)&&(t.scale(e.scaleX,e.scaleY),e.scaleX=void 0,e.scaleY=void 0)}function Qm(t,e,i){e["clip-path"]&&(Um(i.clipPaths[Hm(e["clip-path"])],t,{},i),t.clip(),e["clip-path"]=void 0)}function t_(t,e){var i=new P(t);return"rgba("+i.r+","+i.g+","+i.b+","+e+")"}function e_(t){var e=[];return(0,h.S6)(t.childNodes,((t,i)=>{var{attributes:r}=i;e.push({offset:r.offset.value,stopColor:r["stop-color"].value})})),e}function i_(t){var e,i,r={};return(0,h.S6)(t.childNodes,(function(t,n){var o=n.attributes;if(o.result)switch(o.result.value){case"gaussianBlurResult":r.blur=Om(o.stdDeviation.value);break;case"offsetResult":r.offsetX=Om(o.dx.value),r.offsetY=Om(o.dy.value);break;case"floodResult":e=o["flood-color"]?o["flood-color"].value:"#000",i=o["flood-opacity"]?o["flood-opacity"].value:1,r.color=t_(e,i)}})),r}function r_(t,e){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Ta.BH,r=0;r<t.length;r++){var n=e(t[r]);if((0,l.tI)(n)){n.then((()=>{r_(Array.prototype.slice.call(t,r+1),e,i)}));break}}return r===t.length&&i.resolve(),i}function n_(t,e,i,r){return r_(t,(function(t){switch(t.tagName&&t.tagName.toLowerCase()){case"g":case"svg":var n=(0,u.l)({},i,zm(t,r.rootAppended));e.save(),Jm(e,n),Qm(e,n,r);var o=()=>{e.restore()},a=n_(t.childNodes,e,n,r);return(0,l.tI)(a)?a.then(o):o(),a;case"defs":return n_(t.childNodes,e,{},r);case"clippath":r.clipPaths[t.attributes.id.textContent]=t.childNodes[0];break;case"pattern":r.patterns[t.attributes.id.textContent]=t;break;case"filter":r.filters[t.id]=i_(t);break;case"lineargradient":r.gradients[t.attributes.id.textContent]=e_(t);break;default:return Um(t,e,i,r)}}))}function o_(t,e){var i=e["stroke-dasharray"]&&e["stroke-dasharray"].match(/(\d+)/g);i&&i.length&&(i=(0,h.UI)(i,(function(t){return Om(t)})),t.setLineDash(i))}function a_(t,e,i){var r=e.stroke;r&&"none"!==r&&0!==e["stroke-width"]&&(o_(t,e),t.lineJoin=e["stroke-linejoin"],t.lineWidth=e["stroke-width"],t.globalAlpha=e.strokeOpacity,t.strokeStyle=r,i?t.strokeText(e.text,e.x,e.y):t.stroke(),t.globalAlpha=1)}function s_(t,e,i){var r=zm(e,i.rootAppended),n=p_._createCanvas(r.width,r.height,0),o=n.getContext("2d");return n_(e.childNodes,o,r,i),t.createPattern(n,"repeat")}function l_(t,e,i){var r=e.fill;if(r&&"none"!==r){if(-1===r.search(/url/))t.fillStyle=r;else{var n=i.patterns[Hm(r)];if(!n)return;t.fillStyle=s_(t,n,i)}t.globalAlpha=e.fillOpacity,t.fill(),t.globalAlpha=1}}function u_(t,e,i,r,n){t.fillStyle=r||"#ffffff",t.fillRect(-n,-n,e+2*n,i+2*n)}function h_(){var t=zt["default"].createElement("div");return t.style.left="-9999px",t.style.position="absolute",t}function c_(t,e,i){return n_(t.childNodes,e.getContext("2d"),{},{clipPaths:{},patterns:{},filters:{},gradients:{},rootAppended:i})}function d_(t,e){var{width:i,height:r,backgroundColor:n,margin:o,svgToCanvas:a=c_}=e,s=m_(i,r),l=p_._createCanvas(s.width,s.height,o),u=l.getContext("2d");u.setTransform(s.pixelRatio,0,0,s.pixelRatio,0,0);var h,c=Hr(t),d=zt["default"].isElementNode(t);return u.translate(o,o),zt["default"].getBody().appendChild(l),d||(h=h_(),h.appendChild(c),zt["default"].getBody().appendChild(h)),c.attributes.direction&&(l.dir=c.attributes.direction.textContent),u_(u,i,r,n,o),(0,Ta.p4)(a(c,l,d&&(0,_m.r3)(zt["default"].getBody(),t))).then((()=>l)).always((()=>{h&&zt["default"].getBody().removeChild(h),zt["default"].getBody().removeChild(l)}))}mm=function(t){var e,i={};return(0,h.S6)(t,(function(t,r){e=r.textContent,isFinite(e)&&(e=Om(e)),i[r.name.toLowerCase()]=e})),i};var p_={getImageData:function(t,e){var i="image/"+e.format;return(0,l.mf)(e.__parseAttributesFn)&&(mm=e.__parseAttributesFn),d_(t,e).then((t=>Vm(t,i)))},getData:function(t,e){var i=this;return p_.getImageData(t,e).then((t=>{var r="image/"+e.format,n=(0,l.mf)(bm.Blob)?i._getBlob(t,r):i._getBase64(t);return n}))},_getBlob:function(t,e){var i,r=new Uint8Array(t.length);for(i=0;i<t.length;i++)r[i]=t.charCodeAt(i);return new bm.Blob([r.buffer],{type:e})},_getBase64:function(t){return bm.btoa(t)},_createCanvas(t,e,i){var r=(0,Vt.Z)("<canvas>")[0];return r.width=t+2*i,r.height=e+2*i,r.hidden=!0,r}};function g_(t,e){return p_.getData(t,e)}function f_(t){var e=p_._createCanvas(100,100,0);return t.reduce((function(t,i){var r=("image/"+i).toLowerCase();return-1!==e.toDataURL(r).indexOf(r)?t.supported.push(i):t.unsupported.push(i),t}),{supported:[],unsupported:[]})}function m_(t,e){var i=bm.devicePixelRatio||1;return{pixelRatio:i,width:t*i,height:e*i}}var __=i(43318),v_=(0,Dt.Jj)(),b_={_markup:"",_imageArray:{},_imageDeferreds:[],_getBinaryFile:function(t,e){__.Z.sendRequest({url:t,method:"GET",responseType:"arraybuffer"}).done(e).fail((function(){e(!1)}))},_loadImages:function(){var t=this;(0,h.S6)(t._imageArray,(function(e){var i=new Ta.BH;t._imageDeferreds.push(i),t._getBinaryFile(e,(function(r){if(!r)return delete t._imageArray[e],void i.resolve();var n,o="",a=new Uint8Array(r),s=a.byteLength;for(n=0;n<s;n++)o+=String.fromCharCode(a[n]);t._imageArray[e]="data:image/png;base64,"+v_.btoa(o),i.resolve()}))}))},_parseImages:function(t){var e,i=this;"image"===t.tagName&&(e=(0,Vt.Z)(t).attr("href")||(0,Vt.Z)(t).attr("xlink:href"),i._imageArray[e]||(i._imageArray[e]="")),(0,h.S6)(t.childNodes,(function(t,e){i._parseImages(e)}))},_prepareImages:function(t){return this._parseImages(t),this._loadImages(),Ta.gx.apply(Vt.Z,this._imageDeferreds)},getData:function(t,e){var i,r=this,n=Hr(t),o=(0,Vt.Z)(n);return o.find("[".concat(Nr,"]")).remove(),i='<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>'+Gr(o.get(0),e.backgroundColor),r._prepareImages(n).then((()=>((0,h.S6)(r._imageArray,(function(t,e){var r="href=['|\"]".concat(t,"['|\"]");i=i.replace(new RegExp(r,"gi"),'href="'.concat(e,'"'))})),(0,l.mf)(v_.Blob)?r._getBlob(i):r._getBase64(i))))},_getBlob:function(t){return new v_.Blob([t],{type:"image/svg+xml"})},_getBase64:function(t){return v_.btoa(t)}};function y_(t,e){return b_.getData(t,e)}var x_=(0,Dt.Jj)(),w_="%PDF-1.3\r\n2 0 obj\r\n<</ProcSet[/PDF/ImageB/ImageC/ImageI]/XObject<</I0 5 0 R>>>>\r\nendobj\r\n4 0 obj\r\n<</Type/Pages/Kids[1 0 R]/Count 1>>\r\nendobj\r\n7 0 obj\r\n<</OpenAction[1 0 R /FitH null]/Type/Catalog/Pages 4 0 R/PageLayout/OneColumn>>\r\nendobj\r\n1 0 obj\r\n<</Type/Page/Resources 2 0 R/MediaBox[0 0 _width_ _height_]/Contents 3 0 R/Parent 4 0 R>>\r\nendobj\r\n",C_="3 0 obj\r\n<</Length 52>>stream\r\n0.20 w\n0 G\nq _width_ 0 0 _height_ 0.00 0.00 cm /I0 Do Q\r\nendstream\r\nendobj\r\n",S_="6 0 obj\r\n<</CreationDate _date_/Producer(DevExtreme _version_)>>\r\nendobj\r\n",k_="5 0 obj\r\n<</Type/XObject/Subtype/Image/Width _width_/Height _height_/ColorSpace/DeviceRGB/BitsPerComponent 8/Filter/DCTDecode/Length _length_>>stream\r\n",A_="\r\nendstream\r\nendobj\r\n",T_="trailer\r\n<<\r\n/Size 8\r\n/Root 7 0 R\r\n/Info 6 0 R\r\n>>\r\nstartxref\r\n_length_\r\n%%EOF",E_="xref\r\n0 8\r\n0000000000 65535 f\r\n0000000241 00000 n\r\n0000000010 00000 n\r\n_main_ 00000 n\r\n0000000089 00000 n\r\n_image_ 00000 n\r\n_info_ 00000 n\r\n0000000143 00000 n\r\n",O_=function t(e,i){return e.length<i?t("0"+e,i):e},P_=function(t,e,i){var r=2*(e.margin||0),{width:n,height:o}=m_(e.width,e.height);n+=r,o+=r;var a=(.75*n).toFixed(2),s=(.75*o).toFixed(2),l=w_.replace("_width_",a).replace("_height_",s),u=C_.replace("_width_",a).replace("_height_",s),h=S_.replace("_date_",i).replace("_version_",Ea.i),c=k_.replace("_width_",n).replace("_height_",o).replace("_length_",t.length)+t+A_,d=I_(l.length,u.length,h.length),p=l+u+h+c,g=T_.replace("_length_",p.length);return p+d+g};function I_(t,e,i){return E_.replace("_main_",O_(t+"",10)).replace("_info_",O_(t+e+"",10)).replace("_image_",O_(t+e+i+"",10))}var L_=function(){return new Date},B_=function(t){for(var e=0,i=new Uint8Array(t.length);e<t.length;e++)i[e]=t.charCodeAt(e);return new x_.Blob([i.buffer],{type:"application/pdf"})},R_=function(t){return x_.btoa(t)};function V_(t,e){return p_.getImageData(t,(0,u.l)({},e,{format:"JPEG"})).then((t=>{var i=P_(t,e,L_()),r=(0,l.mf)(x_.Blob)?B_(i):R_(i);return r}))}function D_(t,e,i){if(!t)return(new Ta.BH).resolve();var r=e.exportingAction,n=e.exportedAction,o=e.fileSavingAction,a={fileName:e.fileName,format:e.format,cancel:!1};return(0,l.jn)(e.selectedRowsOnly)&&(a.selectedRowsOnly=e.selectedRowsOnly),(0,l.mf)(r)&&r(a),a.cancel?(new Ta.BH).resolve():i(t,e).then((t=>{if((0,l.mf)(n)&&n(),(0,l.mf)(o)&&(a.data=t,o(a)),!a.cancel){var i="xlsx"===e.format?"EXCEL":e.format;gf.saveAs(a.fileName,i,t)}}))}var z_={creator:p_,getData:g_,testFormats:f_},M_={getData:V_},F_={creator:b_,getData:y_},N_=i(44417),G_=i(80647),H_=[Lg.Z.down,Lg.Z.move].join(" "),Z_=35,$_=[[9,12,26,12,26,14,9,14],[9,17,26,17,26,19,9,19],[9,22,26,22,26,24,9,24]],X_=4,Y_=120,j_=8,K_=15,U_=30,W_=1,q_=10,J_=2,Q_=3,tv="PNG",ev=[tv,"JPEG","GIF"],iv=["PDF","SVG"],rv="dx-export-menu",nv="21cm",ov="export-element-type",av="export-element-format";function sv(){var t=z_.testFormats(ev);return{unsupported:t.unsupported,supported:t.supported.concat(iv)}}function lv(t,e,i){if(i=i||sv(),t=String(t).toUpperCase(),-1!==i.supported.indexOf(t))return t;-1!==i.unsupported.indexOf(t)&&e&&e("W2108",[t])}function uv(t){return"SVG"===t?F_.getData:"PDF"===t?M_.getData:z_.getData}function hv(t,e){var i=(0,Dt.Jj)().document,r=i.createElement("iframe");r.onload=dv(t,e),r.style.position="fixed",r.style.width="0",r.style.height="0",r.style.right="0",r.style.bottom="0",i.body.appendChild(r)}function cv(t){t.style.width=nv;var e=(0,Qo.dz)(t);return t.style.width="",e}function dv(t,e){return function(){var i=this.contentWindow,r=i.document.createElement("img");i.document.body.appendChild(r);var n=cv(i.document.body)/e.width;n<1&&(i.document.body.style.transform="scale(".concat(n,")"),i.document.body.style["transform-origin"]="0 0");var o=()=>{this.parentElement.removeChild(this)};r.addEventListener("load",(()=>{i.focus(),i.print()})),r.addEventListener("error",o),i.addEventListener("afterprint",(()=>{setTimeout(o,0)})),r.src=t}}function pv(t,e,i){var r=Z_-Y_,n=Z_+X_+W_+i*U_,o={rect:{width:Y_-2*W_,height:U_,x:r+W_,y:n},text:{x:r+(t.rtl?Y_-K_:K_),y:n+U_-j_}};return"printing"===e&&(o.separator={stroke:t.button.default.borderColor,"stroke-width":W_,cursor:"pointer",sharp:"v",d:"M "+r+" "+(n+U_-W_)+" L "+(r+Y_)+" "+(n+U_-W_)}),o}function gv(t,e,i){var r={},n=i.type,o=i.format,a=pv(e,n,i.itemIndex),s=st(e.font);s["pointer-events"]="none";var l=t.g().attr({class:rv+"-list-item"});r[ov]=n,o&&(r[av]=o);var u=t.rect();u.attr(a.rect).css({cursor:"pointer","pointer-events":"all"}).data(r),u.on(G_.B+".export",(()=>u.attr({fill:e.button.hover.backgroundColor}))).on(G_.u+".export",(()=>u.attr({fill:null}))),u.append(l);var h=t.text(i.text).css(s).attr(a.text).append(l);return"printing"===n&&t.path(null,"line").attr(a.separator).append(l),{g:l,rect:u,resetState:()=>u.attr({fill:null}),fixPosition:()=>{var t=h.getBBox();h.move(a.text.x-t.x-(e.rtl?t.width:0))}}}function fv(t,e){var i=[];return e.printingEnabled&&i.push(gv(t,e,{type:"printing",text:N_.Z.format("vizExport-printingButtonText"),itemIndex:i.length})),i=e.formats.reduce(((i,r)=>(i.push(gv(t,e,{type:"exporting",text:N_.Z.getFormatter("vizExport-exportButtonText")(r),format:r,itemIndex:i.length})),i)),i),i}var mv=function(t){var e=this._renderer=t.renderer;this._incidentOccurred=t.incidentOccurred,this._exportTo=t.exportTo,this._print=t.print,this._shadow=e.shadowFilter("-50%","-50%","200%","200%",J_,6,Q_),this._shadow.attr({opacity:.8}),this._group=e.g().attr({class:rv,[Nr]:!0}).linkOn(e.root,{name:"export-menu",after:"peripheral"}),this._buttonGroup=e.g().attr({class:rv+"-button"}).append(this._group),this._listGroup=e.g().attr({class:rv+"-list"}).append(this._group),this._overlay=e.rect(-Y_+Z_,Z_+X_,Y_,0),this._overlay.attr({"stroke-width":W_,cursor:"pointer",rx:4,ry:4,filter:this._shadow.id}),this._overlay.data({"export-element-type":"list"}),this.validFormats=sv(),this._subscribeEvents()};function _v(t,e,i,r){(r||e.format)&&(r=lv(r||e.format,t._incidentOccurred));var{width:n,height:o}=t.getSize();return{format:r||tv,fileName:i||e.fileName||"file",backgroundColor:e.backgroundColor,width:n,height:o,margin:e.margin,svgToCanvas:e.svgToCanvas,exportingAction:t._createActionByOption("onExporting",{excludeValidators:["disabled"]}),exportedAction:t._createActionByOption("onExported",{excludeValidators:["disabled"]}),fileSavingAction:t._createActionByOption("onFileSaving",{excludeValidators:["disabled"]})}}(0,u.l)(mv.prototype,{getLayoutOptions(){if(this._hiddenDueToLayout)return{width:0,height:0,cutSide:"vertical",cutLayoutSide:"top"};var t=this._buttonGroup.getBBox();return t.cutSide="vertical",t.cutLayoutSide="top",t.height+=q_,t.position={vertical:"top",horizontal:"right"},t.verticalAlignment="top",t.horizontalAlignment="right",t},shift(t,e){this._group.attr({translateY:this._group.attr("translateY")+e})},draw(t,e,i){this._group.move(t-Z_-J_-Q_+i.left,Math.floor(e/2-Z_/2));var r=this.getLayoutOptions();return(r.width>t||r.height>e)&&this.freeSpace(),this},show(){this._group.linkAppend()},hide(){this._group.linkRemove()},setOptions(t){this._options=t,t.formats?t.formats=t.formats.reduce(((t,e)=>(e=lv(e,this._incidentOccurred,this.validFormats),e&&t.push(e),t)),[]):t.formats=this.validFormats.supported.slice(),t.printingEnabled=void 0===t.printingEnabled||t.printingEnabled,t.enabled&&(t.formats.length||t.printingEnabled)?(this.show(),this._updateButton(),this._updateList(),this._hideList()):this.hide()},dispose(){this._unsubscribeEvents(),this._group.linkRemove().linkOff(),this._group.dispose(),this._shadow.dispose()},layoutOptions(){return this._options.enabled&&{horizontalAlignment:"right",verticalAlignment:"top",weak:!0}},measure(){this._fillSpace();var t=this._options.button.margin;return[Z_+t.left+t.right,Z_+t.top+t.bottom]},move(t){var e=this._options.button.margin;this._group.attr({translateX:Math.round(t[0])+e.left,translateY:Math.round(t[1])+e.top})},_fillSpace(){this._hiddenDueToLayout=!1,this.show()},freeSpace(){this._incidentOccurred("W2107"),this._hiddenDueToLayout=!0,this.hide()},_hideList(){this._listGroup.remove(),this._listShown=!1,this._setButtonState("default"),this._menuItems.forEach((t=>t.resetState()))},_showList(){this._listGroup.append(this._group),this._listShown=!0,this._menuItems.forEach((t=>t.fixPosition()))},_setButtonState(t){var e=this._options.button[t];this._button.attr({stroke:e.borderColor,fill:e.backgroundColor}),this._icon.attr({fill:e.color})},_subscribeEvents(){this._renderer.root.on(Lg.Z.up+".export",(t=>{var e=t.target[ov];e?"button"===e?this._listShown?(this._setButtonState("default"),this._hideList()):(this._setButtonState("focus"),this._showList()):"printing"===e?(this._print(),this._hideList()):"exporting"===e&&(this._exportTo(t.target[av]),this._hideList()):this._button&&this._hideList()})),this._listGroup.on(H_,(t=>t.stopPropagation())),this._buttonGroup.on(Lg.Z.enter,(()=>this._setButtonState("hover"))),this._buttonGroup.on(Lg.Z.leave,(()=>this._setButtonState(this._listShown?"focus":"default"))),this._buttonGroup.on(Lg.Z.down+".export",(()=>this._setButtonState("active")))},_unsubscribeEvents(){this._renderer.root.off(".export"),this._listGroup.off(),this._buttonGroup.off()},_updateButton(){var t=this._renderer,e=this._options,i={"export-element-type":"button"};this._button||(this._button=t.rect(0,0,Z_,Z_).append(this._buttonGroup),this._button.attr({rx:4,ry:4,fill:e.button.default.backgroundColor,stroke:e.button.default.borderColor,"stroke-width":1,cursor:"pointer"}),this._button.data(i),this._icon=t.path($_).append(this._buttonGroup),this._icon.attr({fill:e.button.default.color,cursor:"pointer"}),this._icon.data(i),this._buttonGroup.setTitle(N_.Z.format("vizExport-titleMenuText")))},_updateList(){var t=this._options,e=t.button.default,i=this._listGroup,r=fv(this._renderer,t);this._shadow.attr({color:t.shadowColor}),this._overlay.attr({height:r.length*U_+2*W_,fill:e.backgroundColor,stroke:e.borderColor}),i.clear(),this._overlay.append(i),r.forEach((t=>t.g.append(i))),this._menuItems=r}});var vv,bv={name:"export",init(){this._exportMenu=new mv({renderer:this._renderer,incidentOccurred:this._incidentOccurred,print:()=>this.print(),exportTo:t=>this.exportTo(void 0,t)}),this._layout.add(this._exportMenu)},dispose(){this._exportMenu.dispose()},members:{_getExportMenuOptions(){return(0,u.l)({},this._getOption("export"),{rtl:this._getOption("rtlEnabled",!0)})},_disablePointerEvents(){var t=this._renderer.root.attr("pointer-events");return this._renderer.root.attr({"pointer-events":"none"}),t},exportTo(t,e){var i=this._exportMenu,r=_v(this,this._getOption("export")||{},t,e);i&&i.hide();var n=this._disablePointerEvents(),o=D_(this._renderer.root.element,r,uv(r.format)).fail(uf.k.error).always((()=>{this._renderer.root.attr({"pointer-events":n})}));return i&&i.show(),o},print(){var t=this._exportMenu,e=_v(this,this._getOption("export")||{});e.exportingAction=null,e.exportedAction=null,e.margin=0,e.format="PNG",e.fileSavingAction=t=>{hv("data:image/png;base64,".concat(t.data),{width:e.width,__test:e.__test}),t.cancel=!0};var i=this._disablePointerEvents();t&&t.hide();var r=D_(this._renderer.root.element,e,uv(e.format)).fail(uf.k.error).always((()=>{this._renderer.root.attr({"pointer-events":i})}));return t&&t.show(),r}},customize(t){var e=t.prototype;t.addChange({code:"EXPORT",handler(){this._exportMenu.setOptions(this._getExportMenuOptions()),this._change(["LAYOUT"])},isThemeDependent:!0,isOptionChange:!0,option:"export"}),e._optionChangesMap.onExporting="EXPORT",e._optionChangesMap.onExported="EXPORT",e._optionChangesMap.onFileSaving="EXPORT"},fontFields:["export.font"]},yv=i(95060),xv=yv.Z.postCtor,wv={_dataSourceLoadErrorHandler:function(){this._dataSourceChangedHandler()},_dataSourceOptions:function(){return{paginate:!1}},_updateDataSource:function(){this._refreshDataSource(),this.option("dataSource")||this._dataSourceChangedHandler()},_dataIsLoaded:function(){return!this._dataSource||this._dataSource.isLoaded()},_dataSourceItems:function(){return this._dataSource&&this._dataSource.items()}};for(vv in yv.Z)"postCtor"!==vv&&(wv[vv]=yv.Z[vv]);var Cv={name:"data_source",init:function(){xv.call(this)},dispose:s.ZT,members:wv},Sv=i(39299),kv=i(3802),Av=["x","y","canvas","offsetX","offsetY","offset"],Tv=Math,Ev=Tv.round,Ov=Tv.max,Pv=Tv.min,Iv=Tv.sin,Lv=Tv.cos,Bv=Tv.asin,Rv=Tv.PI,Vv=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.join("")};function Dv(t,e,i){return"a ".concat(t," ").concat(t," 0 0 1 ").concat(e*t," ").concat(i*t)}function zv(t,e,i){return"A ".concat(t," ").concat(t," 0 0 1 ").concat(e," ").concat(i)}function Mv(t,e,i,r,n){return(t-r)*Ev(Lv(i))+(e-n)*Ev(Iv(i))+r}function Fv(t,e,i,r,n){return-(t-r)*Ev(Iv(i))+(e-n)*Ev(Lv(i))+n}function Nv(t,e){return e%90===0&&e%180!==0?{width:t.height,height:t.width}:t}function Gv(t,e,i,r,n){var{width:o,height:a}=t,s=o/2,l=a/2,u=Math.ceil(e+s),h=Math.floor(e-s),c=Math.floor(i-l),d=Math.ceil(i+l);return r<h&&n<c||r>=h&&r<=u&&n<c?270:r>u&&n>d||r>=h&&r<=u&&n>d?90:r<h&&n>d||r<h&&n>=c&&n<=d?180:0}function Hv(t,e,i,r,n,o,a){var s,{width:l,height:u}=t,{arrowWidth:h,cornerRadius:c=0}=o,d=h/2,p=l/2,g=u/2,f=Math.ceil(e+p),m=Math.floor(e-p),_=Math.floor(i-g),v=Math.ceil(i+g),b=[m,_],y=[f,_],x=[f,v],w=[m,v],C=r<=m?m:f<=r?f:r,S=n<=_?_:v<=n?v:n,k=Pv(S+d,v),A=Ov(S-d,_),T=Ov(C-d,m);if(c=Math.min(l/2,u/2,c),b[1]+=c,y[0]-=c,x[1]-=c,w[0]+=c,!a||m<=r&&r<=f&&_<=n&&n<=v)s=Vv(b,Dv(c,1,-1),"L",y,Dv(c,1,1),"L",x,Dv(c,-1,1),"L",w,Dv(c,-1,-1));else if(r>f&&n<_){var E=h/c||0,O=Rv/4+E/2,P=Rv/4-E/2,I=y[0]+Lv(P)*c,L=y[1]+(1-Iv(P))*c,B=Vv("L",y,Dv(c,Lv(O),1-Iv(O)),"L",[r,n,I,L],zv(c,y[0]+c,y[1]+c));Math.abs(O)>Rv/2&&(B=Vv("L",[T,_,r,n,f,k])),s=Vv(b,Dv(c,1,-1),B,"L",x,Dv(c,-1,1),"L",w,Dv(c,-1,-1))}else if(r>f&&n>=_&&n<=v){var R;if(A>=y[1]+c&&k<=x[1])R=Vv(Dv(c,1,1),"L",[f,A,r,n,f,k],"L",x,Dv(c,-1,1));else if(A<y[1]+c&&k>=y[1]+c&&k<=x[1]){var V=y[1]+c-A,D=V/c,z=y[0]+Lv(D)*c,M=y[1]+(1-Iv(D))*c;R=Vv(Dv(c,Lv(D),1-Iv(D)),"L",[z,M,r,n,f,k],"L",x,Dv(c,-1,1))}else if(A<y[1]+c&&k<y[1]+c){var F=y[1]+c-A,N=F/c,G=N,H=y[0]+Lv(G)*c,Z=y[1]+(1-Iv(G))*c,$=Math.sin((y[1]+c-k)/c),X=y[0]+c*Lv($),Y=y[1]+c*(1-Iv($));R=Vv(Dv(c,Lv(G),1-Iv(G)),"L",[H,Z,r,n,X,Y],zv(c,y[0]+c,y[1]+c),"L",x,Dv(c,-1,1))}else if(A<=y[1]+c&&k>=x[1]){var j=Bv((y[1]+c-A)/c),K=y[0]+c*Lv(j),U=y[1]+c*(1-Iv(j)),W=Bv((k-x[1])/c),q=x[0]+c*(Lv(W)-1),J=x[1]+c*Iv(W);R=Vv(Dv(c,Lv(j),1-Iv(j)),"L",[K,U,r,n,q,J],zv(c,x[0]-c,x[1]+c))}else if(A>y[1]+c&&A<=x[1]&&k>x[1]){var Q=Bv((k-x[1])/c),tt=x[0]+c*(Lv(Q)-1),et=x[1]+c*Iv(Q);R=Vv(Dv(c,1,1),"L",[f,A,r,n,tt,et],zv(c,x[0]-c,x[1]+c))}else if(A>y[1]+c&&k>x[1]){var it=Bv((k-x[1])/c),rt=x[0]+c*(Lv(it)-1),nt=x[1]+c*Iv(it),ot=Bv((A-x[1])/c),at=x[0]+c*(Lv(ot)-1),st=x[1]+c*Iv(ot);R=Vv(Dv(c,1,1),"L",x,Dv(c,Lv(ot)-1,Iv(ot)),"L",[at,st,r,n,rt,nt],zv(c,x[0]-c,x[1]+c))}s=Vv(b,Dv(c,1,-1),"L",y,R,"L",w,Dv(c,-1,-1))}return Vv("M",s,"Z")}class Zv{constructor(t,e,i,r){var n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:(t,e)=>e.getBBox(),a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:(t,e,i,r)=>e.move(i,r);this.widget=e,this.options=t,this.root=i,this.contentTemplate=r,this.bonded=n,this.measureContent=o,this.moveContentGroup=a}draw(t){var{x:e,y:i,canvas:r={},offsetX:n,offsetY:o,offset:a=0}=t,s=(0,kv.Z)(t,Av),h=this.options,{x:c,y:d}=h,p=r.left,g=r.width-r.right,f=r.width-r.right-r.left,m=r.top,_=r.height-r.bottom,v=r.height-r.bottom-r.top;if((!(0,l.$K)(e)||!(0,l.$K)(i))&&(!(0,l.$K)(c)||!(0,l.$K)(d)))return!1;if((0,l.$K)(e)&&(e<p||g<e||i<m||_<i))return!1;this._root||this._draw();var b=(0,u.l)({x:"-50%",y:"-50%",width:"200%",height:"200%"},h.shadow),y=h.width>0?h.width:null,x=h.height>0?h.height:null,w=()=>{var t,r=this._contentBBox=this.measureContent(this.widget,this._contentGroup),s=this._size={width:Ov(y,r.width)+2*h.paddingLeftRight,height:Ov(x,r.height)+2*h.paddingTopBottom,offset:a},u=b.offsetX,w=b.offsetY,C=2*b.blur+1,S=Ov(C-u,0),k=Ov(C+u,0),A=Ov(C-w,0),T=Ov(C+w,0);if(this.margins={lm:S,rm:k,tm:A,bm:T},(0,l.$K)(c)?(c+=n||0,(0,l.$K)(e)||(e=c)):c=(0,l.$K)(n)?e+n:f<s.width?Ev(p+f/2):Pv(Ov(e,Math.ceil(p+s.width/2+S)),Math.floor(g-s.width/2-k)),(0,l.$K)(d))d+=o||0,(0,l.$K)(i)||(i=d+s.height/2);else if((0,l.$K)(o))d=i+o;else{var E=i-h.arrowLength-s.height/2-a,O=i+h.arrowLength+s.height/2+a;v<s.height+h.arrowLength?d=Ev(m+s.height/2):E-s.height/2-A<m?O+s.height/2+T<_?(d=O,i+=a):d=Ev(m+s.height/2):(d=E,i-=a)}this.anchorX=e,this.anchorY=i,this.move(c,d),null===(t=this._root)||void 0===t||t.append(this.root)};return this.contentTemplate.render?(this.contentTemplate.render({model:h,container:this._contentGroup.element,onRendered:w}),!0):this.contentTemplate((0,Sv.Z)({group:this._contentGroup,onRender:w},s))}_draw(){var t=this.widget._renderer,e=this.options,i=(0,u.l)({x:"-50%",y:"-50%",width:"200%",height:"200%"},e.shadow),r=this._shadow=t.shadowFilter().attr(i),n={opacity:e.opacity,"stroke-width":0,fill:e.color},o=e.border||{};o.visible&&(0,u.l)(n,{"stroke-width":o.width,stroke:o.color,"stroke-opacity":o.opacity,dashStyle:o.dashStyle});var a=this._root=t.g().append(this.root);e.type&&a.attr({class:"dxc-".concat(e.type,"-annotation")});var s=t.g().attr({filter:r.id}).append(a);this._cloud=t.path([],"area").attr(n).sharp().append(s),this._contentGroup=t.g().append(a)}getBBox(){var t=this._size||{},e=this.margins||{},i=Gv(t,this.x,this.y,this.anchorX,this.anchorY);return{x:Math.floor(this.x-t.width/2-e.lm),y:Math.floor(this.y-t.height/2-e.tm-(270===i?this.options.arrowLength:0)),width:t.width+e.lm+e.rm,height:t.height+e.tm+e.bm+(90===i||270===i?this.options.arrowLength:0)}}clear(){return this._root&&(this._root.remove(),this._shadow.remove(),this._root=null),this}customizeCloud(t){this._cloud&&this._cloud.attr(t)}moveRoot(t,e){this._root&&this._root.move(t,e)}move(t,e){t=Ev(t),e=Ev(e),this.x=t,this.y=e;var i=Gv(this._size,t,e,this.anchorX,this.anchorY),r=i*Rv/180;this._cloud.attr({d:Hv(Nv(this._size,i),t,e,Mv(this.anchorX,this.anchorY,r,t,e),Fv(this.anchorX,this.anchorY,r,t,e),this.options,this.bonded)}).rotate(i,t,e),this.moveContentGroup(this.widget,this._contentGroup,t-this._contentBBox.x-this._contentBBox.width/2,e-this._contentBBox.y-this._contentBBox.height/2)}hitTest(t,e){var{width:i,height:r}=this._size||{};return Math.abs(t-this.x)<=i/2&&Math.abs(e-this.y)<=r/2}}var $v=mu.Z.format,Xv=Math.ceil,Yv=Math.max,jv=Math.min,Kv=(0,Dt.Jj)(),Uv=3e3;function Wv(t){t.css({left:"-9999px"}).detach()}function qv(t,e){var i=t;switch(e){case"argument":i={format:t.argumentFormat};break;case"percent":i={format:{type:"percent",precision:t.format&&t.format.percentPrecision}}}return i}function Jv(){return(0,Vt.Z)("<div>").css({position:"relative",display:"inline-block",padding:0,margin:0,border:"0px solid transparent"})}function Qv(t){t.forEach((t=>t.remove()))}var tb=function(t){this._eventTrigger=t.eventTrigger,this._widgetRoot=t.widgetRoot,this._widget=t.widget,this._textHtmlContainers=[],this._wrapper=(0,Vt.Z)("<div>").css({position:"absolute",overflow:"hidden",pointerEvents:"none"}).addClass(t.cssClass);var e=this._renderer=new Wo({pathModified:t.pathModified,container:this._wrapper[0]}),i=e.root;i.attr({"pointer-events":"none"}),this._text=e.text(void 0,0,0),this._textGroupHtml=(0,Vt.Z)("<div>").css({position:"absolute",padding:0,margin:0,border:"0px solid transparent"}).appendTo(this._wrapper),this._textHtml=Jv().appendTo(this._textGroupHtml)};tb.prototype={constructor:tb,dispose:function(){this._wrapper.remove(),this._renderer.dispose(),this._options=this._widgetRoot=null},_getContainer:function(){var t=this._options,e=(0,Vt.Z)(this._widgetRoot).closest(t.container);return 0===e.length&&(e=(0,Vt.Z)(t.container)),(e.length?e:(0,Vt.Z)("body")).get(0)},setTemplate(t){this._template=t?this._widget._getTemplate(t):null},setOptions:function(t){t=t||{};var e=this;e._options=t,e._textFontStyles=st(t.font),e._textFontStyles.color=e._textFontStyles.fill,e._wrapper.css({zIndex:t.zIndex}),e._customizeTooltip=t.customizeTooltip;var i=e._textGroupHtml;this.plaque&&this.plaque.clear(),this.setTemplate(t.contentTemplate);var r=t.interactive?"auto":"none";return t.interactive&&this._renderer.root.css({"-ms-user-select":"auto","-moz-user-select":"auto","-webkit-user-select":"auto"}),this.plaque=new Zv({opacity:e._options.opacity,color:e._options.color,border:e._options.border,paddingLeftRight:e._options.paddingLeftRight,paddingTopBottom:e._options.paddingTopBottom,arrowLength:e._options.arrowLength,arrowWidth:20,shadow:e._options.shadow,cornerRadius:e._options.cornerRadius},e,e._renderer.root,(n=>{var{group:o,onRender:a,eventData:s,isMoving:l,templateCallback:u=(()=>{})}=n,h=e._state;if(!l){var c=e._template,d=c&&!h.formatObject.skipTemplate;if(h.html||d){if(i.css({color:h.textColor,width:Uv,pointerEvents:r}),d){var p=e._textHtmlContainers,g=Jv().appendTo(e._textGroupHtml);return p.push(g),void c.render({model:h.formatObject,container:g,onRendered:()=>{if(Qv(p.splice(0,p.length-1)),e._textHtml=(0,_m.dL)(e._textHtml,g),h.html=e._textHtml.html(),0===(0,Qo.dz)(e._textHtml)&&0===(0,Qo.Cr)(e._textHtml))return this.plaque.clear(),void u(!1);a(),e._riseEvents(s),e._moveWrapper(),e.plaque.customizeCloud({fill:h.color,stroke:h.borderColor,"pointer-events":r}),u(!0),e._textHtmlContainers=[]}})}e._text.attr({text:""}),e._textHtml.html(h.html)}else e._text.css({fill:h.textColor}).attr({text:h.text,class:t.cssClass,"pointer-events":r}).append(o.attr({align:t.textAlignment}));e._riseEvents(s),e.plaque.customizeCloud({fill:h.color,stroke:h.borderColor,"pointer-events":r})}return a(),e._moveWrapper(),!0}),!0,((t,i)=>{var r=t._state;if(r.html){var n=Kv.getComputedStyle(e._textHtml.get(0));return n={x:0,y:0,width:Xv(parseFloat(n.width)),height:Xv(parseFloat(n.height))},n}return i.getBBox()}),((t,i,r,n)=>{var o=t._state;o.html?e._textGroupHtml.css({left:r,top:n}):i.move(r,n)})),e},_riseEvents:function(t){this._eventData&&this._eventTrigger("tooltipHidden",this._eventData),this._eventData=t,this._eventTrigger("tooltipShown",this._eventData)},setRendererOptions:function(t){return this._renderer.setOptions(t),this._textGroupHtml.css({direction:t.rtl?"rtl":"ltr"}),this},update:function(t){this.setOptions(t),Wv(this._wrapper);var e={};for(var i in this._textFontStyles)e[(0,vm._A)(i)]=this._textFontStyles[i];return this._textGroupHtml.css(e),this._text.css(this._textFontStyles),this._eventData=null,this},_prepare:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._customizeTooltip,r=this._options,n={};return(0,l.mf)(i)&&(n=i.call(t,t),n=(0,l.PO)(n)?n:{},"text"in n&&(e.text=(0,l.$K)(n.text)?String(n.text):""),"html"in n&&(e.html=(0,l.$K)(n.html)?String(n.html):"")),"text"in e||"html"in e||(e.text=t.valueText||t.description||""),e.color=n.color||r.color,e.borderColor=n.borderColor||(r.border||{}).color,e.textColor=n.fontColor||(this._textFontStyles||{}).color,!!e.text||!!e.html||!!this._template},show:function(t,e,i,r,n){if(this._options.forceEvents)return i.x=e.x,i.y=e.y-e.offset,this._riseEvents(i),!0;var o={formatObject:t,eventData:i,templateCallback:n};if(!this._prepare(t,o,r))return!1;this._state=o,this._wrapper.appendTo(this._getContainer()),this._clear();var a=(0,u.l)({},this._options,{canvas:this._getCanvas()},o,{x:e.x,y:e.y,offset:e.offset});return this.plaque.clear().draw(a)},isCursorOnTooltip:function(t,e){if(this._options.interactive){var i=this.plaque.getBBox();return t>i.x&&t<i.x+i.width&&e>i.y&&e<i.y+i.height}return!1},hide:function(t){Wv(this._wrapper),this._eventData&&(this._eventTrigger("tooltipHidden",this._options.forceEvents?(0,u.l)({isPointerOut:t},this._eventData):this._eventData),this._clear(),this._eventData=null)},_clear(){this._textHtml.empty()},move:function(t,e,i){this.plaque.draw({x:t,y:e,offset:i,canvas:this._getCanvas(),isMoving:!0})},_moveWrapper:function(){var t=this.plaque.getBBox();this._renderer.resize(t.width,t.height);var e=this._wrapper.css({left:0,top:0}).offset(),i=t.x,r=t.y;this._wrapper.css({left:i-e.left,top:r-e.top}),this.plaque.moveRoot(-i,-r),this._state.html&&(this._textHtml.css({left:-i,top:-r}),this._textGroupHtml.css({width:Xv((0,Qo.dz)(this._textHtml))}))},formatValue:function(t,e){var i=e?qv(this._options,e):this._options;return $v(t,i.format)},getOptions(){return this._options},getLocation:function(){return tt(this._options.location)},isEnabled:function(){return!!this._options.enabled||!!this._options.forceEvents},isShared:function(){return!!this._options.shared},_getCanvas:function(){var t=this._getContainer(),e=t.getBoundingClientRect(),i=zt["default"].getDocumentElement(),r=zt["default"].getDocument(),n=Kv.pageXOffset||i.scrollLeft||0,o=Kv.pageYOffset||i.scrollTop||0,a={left:n,top:o,width:Yv(i.clientWidth,r.body.clientWidth)+n,height:Yv(r.body.scrollHeight,i.scrollHeight,r.body.offsetHeight,i.offsetHeight,r.body.clientHeight,i.clientHeight),right:0,bottom:0};return t!==zt["default"].getBody()&&(n=Yv(a.left,a.left+e.left),o=Yv(a.top,a.top+e.top),a.width=jv(e.width,a.width)+n+a.left,a.height=jv(e.height,a.height)+o+a.top,a.left=n,a.top=o),a}};var eb={name:"tooltip",init:function(){this._initTooltip()},dispose:function(){this._disposeTooltip()},members:{_initTooltip:function(){this._tooltip=new tb({cssClass:this._rootClassPrefix+"-tooltip",eventTrigger:this._eventTrigger,pathModified:this.option("pathModified"),widgetRoot:this.element(),widget:this})},_disposeTooltip:function(){this._tooltip.dispose(),this._tooltip=null},_setTooltipRendererOptions:function(){this._tooltip.setRendererOptions(this._getRendererOptions())},_setTooltipOptions:function(){this._tooltip.update(this._getOption("tooltip"))}},extenders:{_stopCurrentHandling(){this._tooltip&&this._tooltip.hide()}},customize:function(t){var e=t.prototype;e._eventsMap.onTooltipShown={name:"tooltipShown"},e._eventsMap.onTooltipHidden={name:"tooltipHidden"},t.addChange({code:"TOOLTIP_RENDERER",handler:function(){this._setTooltipRendererOptions()},isThemeDependent:!0,isOptionChange:!0}),t.addChange({code:"TOOLTIP",handler:function(){this._setTooltipOptions()},isThemeDependent:!0,isOptionChange:!0,option:"tooltip"})},fontFields:["tooltip.font"]},ib=0,rb=1,nb="linear",ob=400,ab="loadingIndicatorReady",sb=function(t){var e=t.renderer;this._group=e.g().attr({class:"dx-loading-indicator"}).linkOn(e.root,{name:"loading-indicator",after:"peripheral"}),this._rect=e.rect().attr({opacity:0}).append(this._group),this._text=e.text().attr({align:"center"}).append(this._group),this._createStates(t.eventTrigger,this._group,e.root,t.notify)};sb.prototype={constructor:sb,_createStates:function(t,e,i,r){this._states=[{opacity:0,start:function(){r(!1)},complete:function(){e.linkRemove(),i.css({"pointer-events":""}),t(ab)}},{opacity:.85,start:function(){e.linkAppend(),i.css({"pointer-events":"none"}),r(!0)},complete:function(){t(ab)}}],this._state=ib},setSize:function(t){var e=t.width,i=t.height;this._rect.attr({width:e,height:i}),this._text.attr({x:e/2,y:i/2})},setOptions:function(t){this._rect.attr({fill:t.backgroundColor}),this._text.css(st(t.font)).attr({text:t.text,class:t.cssClass}),this[t.show?"show":"hide"]()},dispose:function(){this._group.linkRemove().linkOff(),this._group=this._rect=this._text=this._states=null},_transit:function(t){var e;this._state!==t&&(this._state=t,this._isHiding=!1,e=this._states[t],this._rect.stopAnimation().animate({opacity:e.opacity},{complete:e.complete,easing:nb,duration:ob,unstoppable:!0}),this._noHiding=!0,e.start(),this._noHiding=!1)},show:function(){this._transit(rb)},hide:function(){this._transit(ib)},scheduleHiding:function(){this._noHiding||(this._isHiding=!0)},fulfillHiding:function(){this._isHiding&&this.hide()}};var lb={name:"loading_indicator",init:function(){var t=this;t._loadingIndicator=new sb({eventTrigger:t._eventTrigger,renderer:t._renderer,notify:function(e){t._skipLoadingIndicatorOptions=!0,t.option("loadingIndicator",{show:e}),t._skipLoadingIndicatorOptions=!1,e&&t._stopCurrentHandling()}}),t._scheduleLoadingIndicatorHiding()},dispose:function(){this._loadingIndicator.dispose(),this._loadingIndicator=null},members:{_scheduleLoadingIndicatorHiding:function(){this._loadingIndicator.scheduleHiding()},_fulfillLoadingIndicatorHiding:function(){this._loadingIndicator.fulfillHiding()},showLoadingIndicator:function(){this._loadingIndicator.show()},hideLoadingIndicator:function(){this._loadingIndicator.hide()},_onBeginUpdate:function(){this._optionChangedLocker||this._scheduleLoadingIndicatorHiding()}},extenders:{_dataSourceLoadingChangedHandler(t){t&&(this._options.silent("loadingIndicator")||{}).enabled&&this._loadingIndicator.show()},_setContentSize(){this._loadingIndicator.setSize(this._canvas)},endUpdate(){this._initialized&&this._dataIsReady()&&this._fulfillLoadingIndicatorHiding()}},customize:function(t){var e=t.prototype;if(e._dataSourceChangedHandler){var i=e._dataSourceChangedHandler;e._dataSourceChangedHandler=function(){this._scheduleLoadingIndicatorHiding(),i.apply(this,arguments)}}t.addChange({code:"LOADING_INDICATOR",handler:function(){this._skipLoadingIndicatorOptions||this._loadingIndicator.setOptions(this._getOption("loadingIndicator")),this._scheduleLoadingIndicatorHiding()},isThemeDependent:!0,option:"loadingIndicator",isOptionChange:!0}),e._eventsMap.onLoadingIndicatorReady={name:"loadingIndicatorReady"};var r=e._drawn;e._drawn=function(){r.apply(this,arguments),this._dataIsReady()&&this._fulfillLoadingIndicatorHiding()}},fontFields:["loadingIndicator.font"]},ub=Array.isArray,hb="_reinit",cb="_updateDataSource",db="_dataInit",pb="_forceRender",gb="_resize",fb=[hb,cb,db,pb,gb],mb=.3,_b=["series","commonSeriesSettings","dataPrepareSettings","seriesSelectionMode","pointSelectionMode","synchronizeMultiAxes","resolveLabelsOverlapping"],vb=["minBubbleSize","maxBubbleSize","barGroupPadding","barGroupWidth","negativesAsZeroes","negativesAsZeros"],bb=["adaptiveLayout","crosshair","resolveLabelOverlapping","adjustOnZoom","stickyHovering"],yb="font";function xb(t,e){var i=e.end-e.start,r=0;t.forEach((function(t){r+=t.getBoundingRect().width}));while(i<r)r-=wb(t)}function wb(t){var e=t.reduce((function(t,e,i){if(!e)return t;var r=e.value();return r<t.value?{value:r,rollingStock:e,index:i}:t}),{rollingStock:void 0,value:1/0,index:void 0});e.rollingStock.getLabels()[0].draw(!1);var i=e.rollingStock.getBoundingRect().width;return t[e.index]=null,i}function Cb(t){var e,i,r,n,o=!1;for(e=0,r=t.length-1;e<r;e++){for(i=e+1,n=t.length;i<n;i++)if(e!==i&&kb(t[e],t[i],!0)){o=!0;break}if(o)break}return o}function Sb(t,e,i,r,n){var o,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:()=>0,s=[],l={start:i?e.left:e.top,end:i?e.width-e.right:e.height-e.bottom},u=!1;if(t.forEach((function(t){t&&(u=u||t.series.isStackedSeries()||t.series.isFullStackedSeries(),t.getLabels().forEach((function(t){t.isVisible()&&s.push(new Pb(t,i,n))})))})),u)!i^r&&s.reverse(),o=r?s:Ab(s);else{var h=s.slice();o=s.sort((function(t,e){return a(t,e)||t.getInitialPosition()-e.getInitialPosition()||h.indexOf(t)-h.indexOf(e)}))}return!!Cb(o)&&(xb(o,l),Tb(o),o.reverse(),Eb(o,l),!0)}function kb(t,e,i){if(t&&e){var r=t.getBoundingRect(),n=e.getBoundingRect(),o=!i||(r.oppositeStart<=n.oppositeStart&&r.oppositeEnd>n.oppositeStart||n.oppositeStart<=r.oppositeStart&&n.oppositeEnd>r.oppositeStart);return r.end>n.start&&o}}function Ab(t){var e=[],i=[];return t.forEach((t=>{t.value()>0?e.push(t):i.unshift(t)})),e.concat(i)}function Tb(t){var e,i,r;for(e=0;e<t.length-1;e++)i=r||t[e],kb(i,t[e+1])?(i.toChain(t[e+1]),t[e+1]=null,r=i):r=t[e+1]||i}function Eb(t,e){var i,r,n,o,a,s;for(i=0;i<t.length;i++){if(n=t[i],Ob(n,e))for(a=n.getBoundingRect(),r=i+1;r<t.length;r++)if(o=t[r],o&&(s=o.getBoundingRect(),s.end>a.start-(a.end-e.end))){o.toChain(n),t[i]=n=null;break}n&&n.setRollingStockInCanvas(e)}}function Ob(t,e){return t&&t.getBoundingRect().end>e.end}function Pb(t,e,i){var r=t.getBoundingRect(),n=r.x,o=r.y,a=r.x+r.width,s=r.y+r.height;return this.labels=[t],this.shiftFunction=i,this._bBox={start:e?n:o,width:e?r.width:r.height,end:e?a:s,oppositeStart:e?o:n,oppositeEnd:e?s:a},this._initialPosition=e?r.x:r.y,this}function Ib(t){return{nameField:t+"Name",colorField:t+"Color",indexField:t+"Index"}}function Lb(t){var e=Ib(t);return{getFormatObject:function(t){var i={};return i[e.indexField]=t.id,i[e.colorField]=t.states.normal.fill,i[e.nameField]=t.text,i},textField:e.nameField}}function Bb(t,e){return(t.x<=e.x&&e.x<=t.x+t.width||t.x>=e.x&&t.x<=e.x+e.width)&&(t.y<=e.y&&e.y<=t.y+t.height||t.y>=e.y&&t.y<=e.y+e.height)}Pb.prototype={toChain:function(t){var e=t.getBoundingRect();t.shift(e.start-this._bBox.end),this._changeBoxWidth(e.width),this.labels=this.labels.concat(t.labels)},getBoundingRect:function(){return this._bBox},shift:function(t){var e=this.shiftFunction;(0,h.S6)(this.labels,(function(i,r){var n=r.getBoundingRect(),o=e(n,t);r.hideInsideLabel(o)||r.shift(o.x,o.y)})),this._bBox.end-=t,this._bBox.start-=t},setRollingStockInCanvas:function(t){this._bBox.end>t.end&&this.shift(this._bBox.end-t.end)},getLabels:function(){return this.labels},value(){return this.labels[0].getData().value},getInitialPosition:function(){return this._initialPosition},_changeBoxWidth:function(t){this._bBox.end+=t,this._bBox.width+=t}};var Rb={resolveLabelOverlappingInOneDirection:Sb},Vb=Qa.inherit({_eventsMap:{onSeriesClick:{name:"seriesClick"},onPointClick:{name:"pointClick"},onArgumentAxisClick:{name:"argumentAxisClick"},onLegendClick:{name:"legendClick"},onSeriesSelectionChanged:{name:"seriesSelectionChanged"},onPointSelectionChanged:{name:"pointSelectionChanged"},onSeriesHoverChanged:{name:"seriesHoverChanged"},onPointHoverChanged:{name:"pointHoverChanged"},onDone:{name:"done",actionSettings:{excludeValidators:["disabled"]}},onZoomStart:{name:"zoomStart"},onZoomEnd:{name:"zoomEnd"}},_fontFields:["legend."+yb,"legend.title."+yb,"legend.title.subtitle."+yb,"commonSeriesSettings.label."+yb],_rootClassPrefix:"dxc",_rootClass:"dxc-chart",_initialChanges:["INIT"],_themeDependentChanges:["REFRESH_SERIES_REINIT"],_getThemeManagerOptions(){var t=this.callBase.apply(this,arguments);return t.options=this.option(),t},_createThemeManager:function(){var t=this.option(),e=new dg(this._getThemeManagerOptions());return e.setTheme(t.theme,t.rtlEnabled),e},_initCore:function(){this._canvasClipRect=this._renderer.clipRect(),this._createHtmlStructure(),this._createLegend(),this._createTracker(),this._needHandleRenderComplete=!0,this.layoutManager=new Ag,this._createScrollBar(),Bt.Z.on(this._$element,"contextmenu",(function(t){((0,Rt.z6)(t)||(0,Rt.bX)(t))&&t.preventDefault()})),Bt.Z.on(this._$element,"MSHoldVisual",(function(t){t.preventDefault()}))},_getLayoutItems:s.ZT,_layoutManagerOptions:function(){return this._themeManager.getOptions("adaptiveLayout")},_reinit(){et(this._canvas),this._reinitAxes(),this._requestChange(["DATA_SOURCE","DATA_INIT","CORRECT_AXIS","FULL_RENDER"])},_correctAxes:s.ZT,_createHtmlStructure:function(){var t=this,e=t._renderer,i=e.root,r=function(){return e.g().attr({class:"dxc-constant-lines-group"}).linkOn(i,"constant-lines")};t._constantLinesGroup={dispose:function(){this.under.dispose(),this.above.dispose()},linkOff:function(){this.under.linkOff(),this.above.linkOff()},clear:function(){this.under.linkRemove().clear(),this.above.linkRemove().clear()},linkAppend:function(){this.under.linkAppend(),this.above.linkAppend()}},t._labelsAxesGroup=e.g().attr({class:"dxc-elements-axes-group"});var n=()=>{t._labelsAxesGroup.linkOn(i,"elements")};t._backgroundRect=e.rect().attr({fill:"gray",opacity:1e-4}).append(i),t._panesBackgroundGroup=e.g().attr({class:"dxc-background"}).append(i),t._stripsGroup=e.g().attr({class:"dxc-strips-group"}).linkOn(i,"strips"),t._gridGroup=e.g().attr({class:"dxc-grids-group"}).linkOn(i,"grids"),t._panesBorderGroup=e.g().attr({class:"dxc-border"}).linkOn(i,"border"),t._axesGroup=e.g().attr({class:"dxc-axes-group"}).linkOn(i,"axes"),t._executeAppendBeforeSeries(n),t._stripLabelAxesGroup=e.g().attr({class:"dxc-strips-labels-group"}).linkOn(i,"strips-labels"),t._constantLinesGroup.under=r(),t._seriesGroup=e.g().attr({class:"dxc-series-group"}).linkOn(i,"series"),t._executeAppendAfterSeries(n),t._constantLinesGroup.above=r(),t._scaleBreaksGroup=e.g().attr({class:"dxc-scale-breaks"}).linkOn(i,"scale-breaks"),t._labelsGroup=e.g().attr({class:"dxc-labels-group"}).linkOn(i,"labels"),t._crosshairCursorGroup=e.g().attr({class:"dxc-crosshair-cursor"}).linkOn(i,"crosshair"),t._legendGroup=e.g().attr({class:"dxc-legend","clip-path":t._getCanvasClipRectID()}).linkOn(i,"legend").linkAppend(i).enableLinks(),t._scrollBarGroup=e.g().attr({class:"dxc-scroll-bar"}).linkOn(i,"scroll-bar")},_executeAppendBeforeSeries(){},_executeAppendAfterSeries(){},_disposeObjectsInArray:function(t,e){(0,h.S6)(this[t]||[],(function(t,i){e&&i?(0,h.S6)(e,(function(t,e){i[e]&&i[e].dispose()})):i&&i.dispose()})),this[t]=null},_disposeCore:function(){var t=this,e=function(e){t[e]&&(t[e].dispose(),t[e]=null)},i=function(e){t[e].linkOff()},r=this._disposeObjectsInArray;t._renderer.stopAllAnimations(),r.call(t,"series"),e("_tracker"),e("_crosshair"),t.layoutManager=t._userOptions=t._canvas=t._groupsData=null,i("_stripsGroup"),i("_gridGroup"),i("_axesGroup"),i("_constantLinesGroup"),i("_stripLabelAxesGroup"),i("_panesBorderGroup"),i("_seriesGroup"),i("_labelsGroup"),i("_crosshairCursorGroup"),i("_legendGroup"),i("_scrollBarGroup"),i("_scaleBreaksGroup"),e("_canvasClipRect"),e("_panesBackgroundGroup"),e("_backgroundRect"),e("_stripsGroup"),e("_gridGroup"),e("_axesGroup"),e("_constantLinesGroup"),e("_stripLabelAxesGroup"),e("_panesBorderGroup"),e("_seriesGroup"),e("_labelsGroup"),e("_crosshairCursorGroup"),e("_legendGroup"),e("_scrollBarGroup"),e("_scaleBreaksGroup")},_getAnimationOptions:function(){return this._themeManager.getOptions("animation")},_getDefaultSize:function(){return{width:400,height:400}},_getOption:function(t){return this._themeManager.getOptions(t)},_applySize:function(t){this._rect=t.slice(),this._changes.has("FULL_RENDER")||this._processRefreshData(gb)},_resize:function(){this._doRender(this.__renderOptions||{animate:!1,isResize:!0})},_trackerType:"ChartTracker",_createTracker:function(){this._tracker=new o[this._trackerType]({seriesGroup:this._seriesGroup,renderer:this._renderer,tooltip:this._tooltip,legend:this._legend,eventTrigger:this._eventTrigger})},_getTrackerSettings:function(){return(0,u.l)({chart:this},this._getSelectionModes())},_getSelectionModes:function(){var t=this._themeManager;return{seriesSelectionMode:t.getOptions("seriesSelectionMode"),pointSelectionMode:t.getOptions("pointSelectionMode")}},_updateTracker:function(t){this._tracker.update(this._getTrackerSettings()),this._tracker.setCanvases({left:0,right:this._canvas.width,top:0,bottom:this._canvas.height},t)},_createCanvasFromRect(t){var e=this._canvas;return et({left:t[0],top:t[1],right:e.width-t[2],bottom:e.height-t[3],width:e.width,height:e.height})},_doRender:function(t){if(0!==this._canvas.width||0!==this._canvas.height){this._resetIsReady();var e=this._prepareDrawOptions(t),i=e.recreateCanvas;this._preserveOriginalCanvas(),i?this.__currentCanvas=this._canvas:this._canvas=this.__currentCanvas,i&&this._updateCanvasClipRect(this._canvas),this._canvas=this._createCanvasFromRect(this._rect),this._renderer.stopAllAnimations(!0),this._cleanGroups();var r=new Date;this._renderElements(e),this._lastRenderingTime=new Date-r}},_preserveOriginalCanvas(){this.__originalCanvas=this._canvas,this._canvas=(0,u.l)({},this._canvas)},_layoutAxes:s.ZT,_renderElements:function(t){var e,i,r,n=this,o=n._prepareToRender(t),a=n._isRotated(),s=n._isLegendInside(),l=[];(0,u.l)({},n._canvas),n._renderer.lock(),t.drawLegend&&n._legend&&n._legendGroup.linkAppend(),n.layoutManager.setOptions(n._layoutManagerOptions());var h=n._getLayoutTargets();this._layoutAxes((e=>{var i=e?(0,u.l)({},t,{animate:!1,recreateCanvas:!0}):t,r=n._renderAxes(i,o);n._shrinkAxes(e,r)})),n._applyClipRects(o),n._appendSeriesGroups(),n._createCrosshairCursor(),h.forEach((t=>{var{canvas:e}=t;l.push({left:e.left,right:e.width-e.right,top:e.top,bottom:e.height-e.bottom})})),n._scrollBar&&(e=n._argumentAxes[0].getTranslator().getBusinessRange(),"discrete"===e.axisType&&e.categories&&e.categories.length<=1||"discrete"!==e.axisType&&e.min===e.max?i=r=void 0:(i=e.minVisible,r=e.maxVisible),n._scrollBar.init(e,!n._argumentAxes[0].getOptions().valueMarginsEnabled).setPosition(i,r)),n._updateTracker(l),n._updateLegendPosition(t,s),n._applyPointMarkersAutoHiding(),n._renderSeries(t,a,s),n._renderer.unlock()},_updateLegendPosition:s.ZT,_createCrosshairCursor:s.ZT,_appendSeriesGroups:function(){this._seriesGroup.linkAppend(),this._labelsGroup.linkAppend(),this._appendAdditionalSeriesGroups()},_renderSeries:function(t,e,i){this._calculateSeriesLayout(t,e),this._renderSeriesElements(t,i)},_calculateSeriesLayout:function(t,e){t.hideLayoutLabels=this.layoutManager.needMoreSpaceForPanesCanvas(this._getLayoutTargets(),e)&&!this._themeManager.getOptions("adaptiveLayout").keepLabels,this._updateSeriesDimensions(t)},_getArgFilter:()=>()=>!0,_getValFilter:t=>()=>!0,_getPointsToAnimation(t){var e=this._getArgFilter();return t.map((t=>{var i=this._getValFilter(t);return t.getPoints().filter((t=>t.getOptions().visible&&e(t.argument)&&(i(t.getMinValue(!0))||i(t.getMaxValue(!0))))).length}))},_renderSeriesElements:function(t,e){var i,r,n=this.series,o=n.length,a=this._themeManager.getOptions("resolveLabelOverlapping"),s=this._getPointsToAnimation(n);for(i=0;i<o;i++)r=n[i],this._applyExtraSettings(r,t),r.draw(t.animate&&s[i]<=t.animationPointsLimit&&this._renderer.animationEnabled(),t.hideLayoutLabels,this._getLegendCallBack(r));"none"===a?this._adjustSeriesLabels(!1):this._locateLabels(a),this._renderTrackers(e),this._tracker.repairTooltip(),this._renderExtraElements(),this._clearCanvas(),this._seriesElementsDrawn=!0},_changesApplied(){this._seriesElementsDrawn&&(this._seriesElementsDrawn=!1,this._drawn(),this._renderCompleteHandler())},_locateLabels(t){this._resolveLabelOverlapping(t)},_renderExtraElements(){},_clearCanvas:function(){this._canvas=this.__originalCanvas},_resolveLabelOverlapping:function(t){var e;switch(t){case"stack":e=this._resolveLabelOverlappingStack;break;case"hide":e=this._resolveLabelOverlappingHide;break;case"shift":e=this._resolveLabelOverlappingShift}return(0,l.mf)(e)&&e.call(this)},_getVisibleSeries:function(){return(0,s.h3)(this.getAllSeries(),(function(t){return t.isVisible()}))},_resolveLabelOverlappingHide:function(){var t,e,i,r,n,o,a,s=[],l=this._getVisibleSeries();for(n=0;n<l.length;n++)for(a=l[n].getVisiblePoints(),o=0;o<a.length;o++)s.push.apply(s,a[o].getLabels());for(n=0;n<s.length;n++)if(t=s[n],t.isVisible())for(i=t.getBoundingRect(),o=n+1;o<s.length;o++)e=s[o],r=e.getBoundingRect(),Bb(i,r)&&e.draw(!1)},_cleanGroups:function(){this._stripsGroup.linkRemove().clear(),this._gridGroup.linkRemove().clear(),this._axesGroup.linkRemove().clear(),this._constantLinesGroup.clear(),this._stripLabelAxesGroup.linkRemove().clear(),this._labelsGroup.linkRemove().clear(),this._crosshairCursorGroup.linkRemove().clear(),this._scaleBreaksGroup.linkRemove().clear()},_allowLegendInsidePosition:()=>!1,_createLegend:function(){var t=Lb(this._legendDataField);this._legend=new yl({renderer:this._renderer,widget:this,group:this._legendGroup,backgroundClass:"dxc-border",itemGroupClass:"dxc-item",titleGroupClass:"dxc-title",textField:t.textField,getFormatObject:t.getFormatObject,allowInsidePosition:this._allowLegendInsidePosition()}),this._updateLegend(),this._layout.add(this._legend)},_updateLegend:function(){var t=this._themeManager,e=t.getOptions("legend"),i=this._getLegendData();e.containerBackgroundColor=t.getOptions("containerBackgroundColor"),e._incidentOccurred=this._incidentOccurred,this._legend.update(i,e,t.theme("legend").title),this._change(["LAYOUT"])},_prepareDrawOptions:function(t){var e=this._getAnimationOptions(),i=(0,u.l)({},{force:!1,adjustAxes:!0,drawLegend:!0,drawTitle:!0,animate:e.enabled,animationPointsLimit:e.maxPointCountSupported},t,this.__renderOptions);return(0,l.$K)(i.recreateCanvas)||(i.recreateCanvas=i.adjustAxes&&i.drawLegend&&i.drawTitle),i},_processRefreshData:function(t){var e=fb.indexOf(this._currentRefreshData),i=fb.indexOf(t);(!this._currentRefreshData||e>=0&&i<e)&&(this._currentRefreshData=t),this._requestChange(["REFRESH"])},_getLegendData:function(){return Q(this._getLegendTargets(),(function(t){var e=t.legendData,i=t.getLegendStyles,r=i.normal.opacity;t.visible||((!(0,l.$K)(r)||r>mb)&&(r=mb),e.textOpacity=mb);var n={opacity:r};return e.states={hover:(0,u.l)({},i.hover,n),selection:(0,u.l)({},i.selection,n),normal:(0,u.l)({},i.normal,n)},e}))},_getLegendOptions:function(t){return{legendData:{text:t[this._legendItemTextField],id:t.index,visible:!0},getLegendStyles:t.getLegendStyles(),visible:t.isVisible()}},_disposeSeries(t){var e;this.series&&((0,l.$K)(t)?(this.series[t].dispose(),this.series.splice(t,1)):((0,h.S6)(this.series,((t,e)=>e.dispose())),this.series.length=0)),null!==(e=this.series)&&void 0!==e&&e.length||(this.series=[])},_disposeSeriesFamilies(){(0,h.S6)(this.seriesFamilies||[],(function(t,e){e.dispose()})),this.seriesFamilies=null,this._needHandleRenderComplete=!0},_optionChanged:function(t){this._themeManager.resetOptions(t.name),this.callBase.apply(this,arguments)},_applyChanges(){this._themeManager.update(this._options.silent()),this.callBase.apply(this,arguments)},_optionChangesMap:{animation:"ANIMATION",dataSource:"DATA_SOURCE",palette:"PALETTE",paletteExtensionMode:"PALETTE",legend:"FORCE_DATA_INIT",seriesTemplate:"FORCE_DATA_INIT",export:"FORCE_RENDER",valueAxis:"AXES_AND_PANES",argumentAxis:"AXES_AND_PANES",commonAxisSettings:"AXES_AND_PANES",panes:"AXES_AND_PANES",commonPaneSettings:"AXES_AND_PANES",defaultPane:"AXES_AND_PANES",containerBackgroundColor:"AXES_AND_PANES",rotated:"ROTATED",autoHidePointMarkers:"REFRESH_SERIES_REINIT",customizePoint:"REFRESH_SERIES_REINIT",customizeLabel:"REFRESH_SERIES_REINIT",scrollBar:"SCROLL_BAR"},_optionChangesOrder:["ROTATED","PALETTE","REFRESH_SERIES_REINIT","USE_SPIDER_WEB","AXES_AND_PANES","INIT","REINIT","DATA_SOURCE","REFRESH_SERIES_DATA_INIT","DATA_INIT","FORCE_DATA_INIT","REFRESH_AXES","CORRECT_AXIS"],_customChangesOrder:["ANIMATION","REFRESH_SERIES_FAMILIES","FORCE_FIRST_DRAWING","FORCE_DRAWING","FORCE_RENDER","VISUAL_RANGE","SCROLL_BAR","REINIT","REFRESH","FULL_RENDER"],_change_ANIMATION:function(){this._renderer.updateAnimationOptions(this._getAnimationOptions())},_change_DATA_SOURCE:function(){this._needHandleRenderComplete=!0,this._updateDataSource()},_change_PALETTE:function(){this._themeManager.updatePalette(),this._refreshSeries("DATA_INIT")},_change_REFRESH_SERIES_DATA_INIT:function(){this._refreshSeries("DATA_INIT")},_change_DATA_INIT:function(){this.series&&!this.needToPopulateSeries||this._changes.has("FORCE_DATA_INIT")||this._dataInit()},_change_FORCE_DATA_INIT:function(){this._dataInit()},_change_REFRESH_SERIES_FAMILIES:function(){this._processSeriesFamilies(),this._populateBusinessRange(),this._processRefreshData(pb)},_change_FORCE_RENDER:function(){this._processRefreshData(pb)},_change_AXES_AND_PANES:function(){this._refreshSeries("INIT")},_change_ROTATED:function(){this._createScrollBar(),this._refreshSeries("INIT")},_change_REFRESH_SERIES_REINIT:function(){this._refreshSeries("INIT")},_change_REFRESH_AXES(){et(this._canvas),this._reinitAxes(),this._requestChange(["CORRECT_AXIS","FULL_RENDER"])},_change_SCROLL_BAR:function(){this._createScrollBar(),this._processRefreshData(pb)},_change_REINIT:function(){this._processRefreshData(hb)},_change_FORCE_DRAWING:function(){this._resetComponentsAnimation()},_change_FORCE_FIRST_DRAWING:function(){this._resetComponentsAnimation(!0)},_resetComponentsAnimation:function(t){this.series.forEach((e=>{e.resetApplyingAnimation(t)})),this._resetAxesAnimation(t)},_resetAxesAnimation:s.ZT,_refreshSeries:function(t){this.needToPopulateSeries=!0,this._requestChange([t])},_change_CORRECT_AXIS(){this._correctAxes()},_doRefresh:function(){var t=this._currentRefreshData;t&&(this._currentRefreshData=null,this._renderer.stopAllAnimations(!0),this[t]())},_updateCanvasClipRect:function(t){var e=Math.max(t.width-t.left-t.right,0),i=Math.max(t.height-t.top-t.bottom,0);this._canvasClipRect.attr({x:t.left,y:t.top,width:e,height:i}),this._backgroundRect.attr({x:t.left,y:t.top,width:e,height:i})},_getCanvasClipRectID:function(){return this._canvasClipRect.id},_dataSourceChangedHandler:function(){this._changes.has("INIT")?this._requestChange(["DATA_INIT"]):this._requestChange(["FORCE_DATA_INIT"])},_dataInit:function(){this._dataSpecificInit(!0)},_processSingleSeries:function(t){t.createPoints(!1)},_handleSeriesDataUpdated(){this._getVisibleSeries().some((t=>t.useAggregation()))&&this._populateMarginOptions(),this.series.forEach((t=>this._processSingleSeries(t)),this)},_dataSpecificInit(t){this.series&&!this.needToPopulateSeries||(this.series=this._populateSeries()),this._repopulateSeries(),this._seriesPopulatedHandlerCore(),this._populateBusinessRange(),this._tracker.updateSeries(this.series,this._changes.has("INIT")),this._updateLegend(),t&&this._requestChange(["FULL_RENDER"])},_forceRender:function(){this._doRender({force:!0})},_repopulateSeries:function(){var t=this._themeManager,e=this._dataSourceItems(),i=t.getOptions("dataPrepareSettings"),r=t.getOptions("seriesTemplate");r&&this._populateSeries(e),this._groupSeries();var n=fu(e,this._groupsData,this._incidentOccurred,i);t.resetPalette(),this.series.forEach((function(t){t.updateData(n[t.getArgumentField()])})),this._handleSeriesDataUpdated()},_renderCompleteHandler:function(){var t=!0;this._needHandleRenderComplete&&((0,h.S6)(this.series,(function(e,i){t=t&&i.canRenderCompleteHandle()})),t&&(this._needHandleRenderComplete=!1,this._eventTrigger("done",{target:this})))},_dataIsReady:function(){return(0,l.$K)(this.option("dataSource"))&&this._dataIsLoaded()},_populateSeriesOptions(t){for(var e,i,r=this,n=r._themeManager,o=n.getOptions("seriesTemplate"),a=o?ht(o,t||[]):r.option("series"),s=ub(a)?a:a?[a]:[],h=r._getExtraOptions(),c=[],d=t=>{r._specialProcessSeries(),r._populateBusinessRange(t&&t.getValueAxis(),!0),r._renderer.stopAllAnimations(!0),r._updateLegend(),r._requestChange(["FULL_RENDER"])},p=0;p<s.length;p++)e=(0,u.l)(!0,{},s[p],h),(0,l.$K)(e.name)&&""!==e.name||(e.name="Series "+(p+1).toString()),e.rotated=r._isRotated(),e.customizePoint=n.getOptions("customizePoint"),e.customizeLabel=n.getOptions("customizeLabel"),e.visibilityChanged=d,e.incidentOccurred=r._incidentOccurred,i=n.getOptions("series",e,s.length),r._checkPaneName(i)&&c.push(i);return c},_populateSeries(t){var e,i,r=this,n=[],o=r._incidentOccurred,a=r._populateSeriesOptions(t),s=!1;r.needToPopulateSeries=!1,(0,h.S6)(a,((t,e)=>{var i=r.series&&r.series.filter((t=>t.name===e.name&&-1===n.map((t=>t.series)).indexOf(t)))[0];i&&i.type===e.type?n.push({series:i,options:e}):(n.push({options:e}),s=!0)})),0!==(null===(e=r.series)||void 0===e?void 0:e.length)&&r._tracker.clearHover(),(0,h.iY)(r.series,((t,e)=>{n.some((t=>e===t.series))||(r._disposeSeries(t),s=!0)})),!s&&(s=n.some((t=>t.series.name!==a[t.series.index].name))),r.series=[],s&&r._disposeSeriesFamilies(),r._themeManager.resetPalette();var l=function(t){r.series.forEach((function(e){e.notify(t)}))};return(0,h.S6)(n,((t,e)=>{var n,a,s=e.options,h=null!==(n=null===(a=r._argumentAxes)||void 0===a?void 0:a.filter((t=>t.pane===s.pane))[0])&&void 0!==n?n:r.getArgumentAxis(),c={commonSeriesModes:r._getSelectionModes(),argumentAxis:h,valueAxis:r._getValueAxis(s.pane,s.axis)};e.series?(i=e.series,i.updateOptions(s,c)):i=new ug((0,u.l)({renderer:r._renderer,seriesGroup:r._seriesGroup,labelsGroup:r._labelsGroup,eventTrigger:r._eventTrigger,eventPipe:l,incidentOccurred:o},c),s),i.isUpdated?(i.index=r.series.length,r.series.push(i)):o("E2101",[s.type])})),r.series},getStackedPoints:function(t){var e=t.series.getStackName();return this._getVisibleSeries().reduce(((i,r)=>((0,l.$K)(r.getStackName())&&(0,l.$K)(e)&&e!==r.getStackName()||(i=i.concat(r.getPointsByArg(t.argument))),i)),[])},getAllSeries:function(){return(this.series||[]).slice()},getSeriesByName:function(t){var e=null;return(0,h.S6)(this.series,(function(i,r){if(r.name===t)return e=r,!1})),e},getSeriesByPos:function(t){return(this.series||[])[t]},clearSelection:function(){this._tracker.clearSelection()},hideTooltip:function(){this._tracker._hideTooltip()},clearHover(){this._tracker.clearHover()},render:function(t){var e=this;return e.__renderOptions=t,e.__forceRender=t&&t.force,e.callBase.apply(e,arguments),e.__renderOptions=e.__forceRender=null,e},refresh:function(){this._disposeSeries(),this._disposeSeriesFamilies(),this._requestChange(["CONTAINER_SIZE","REFRESH_SERIES_REINIT"])},_getMinSize(){var t=this._layoutManagerOptions();return[t.width,t.height]},_change_REFRESH(){this._changes.has("INIT")?this._currentRefreshData=null:this._doRefresh()},_change_FULL_RENDER(){this._forceRender()},_change_INIT(){this._reinit()},_stopCurrentHandling:function(){this._tracker.stopCurrentHandling()}});_b.forEach((function(t){Vb.prototype._optionChangesMap[t]="REFRESH_SERIES_DATA_INIT"})),bb.forEach((function(t){Vb.prototype._optionChangesMap[t]="FORCE_RENDER"})),vb.forEach((function(t){Vb.prototype._optionChangesMap[t]="REFRESH_SERIES_FAMILIES"})),Vb.addPlugin(bv),Vb.addPlugin(vs),Vb.addPlugin(Cv),Vb.addPlugin(eb),Vb.addPlugin(lb);var Db=Vb.prototype._change_TITLE;Vb.prototype._change_TITLE=function(){Db.apply(this,arguments),this._change(["FORCE_RENDER"])};var zb=Number;function Mb(){this.setDomain(arguments[0],arguments[1]).setCodomain(arguments[2],arguments[3]).setInverted(!1)}Mb.prototype={constructor:Mb,setDomain:function(t,e){return this._domain1=zb(t),this._domain2=zb(e),this._domainDelta=this._domain2-this._domain1,this},setCodomain:function(t,e){return this._codomain1=zb(t),this._codomain2=zb(e),this._codomainDelta=this._codomain2-this._codomain1,this},setInverted(t){this.inverted=t},getDomain:function(){return[this._domain1,this._domain2]},getCodomain:function(){return[this._codomain1,this._codomain2]},getDomainStart:function(){return this._domain1},getDomainEnd:function(){return this._domain2},getCodomainStart:function(){return this._codomain1},getCodomainEnd:function(){return this._codomain2},getDomainRange:function(){return this._domainDelta},getCodomainRange:function(){return this._codomainDelta},translate:function(t){var e=(zb(t)-this._domain1)/this._domainDelta;return this.inverted&&(e=1-e),0<=e&&e<=1?this._codomain1+e*this._codomainDelta:NaN},adjust:function(t){var e=(zb(t)-this._domain1)/this._domainDelta,i=NaN;return e<0?i=this._domain1:e>1?i=this._domain2:0<=e&&e<=1&&(i=zb(t)),i}};var Fb=i(98267),Nb=zt["default"].getDocument,Gb="annotations",Hb="."+Gb,Zb=(0,Rt.V4)([Lg.Z.down,Lg.Z.move],Gb),$b=(0,Rt.V4)(Lg.Z.up,Gb),Xb=Fb.BL+Hb,Yb=Fb.pB+Hb,jb=Fb.ut+Hb;function Kb(t,e){return{draw:function(i,r){var n=i._renderer.g().append(r).css(st(t.font));this.plaque&&this.plaque.clear(),this.plaque=new Zv((0,u.l)(!0,{},t,{cornerRadius:(t.border||{}).cornerRadius}),i,n,e,i._isAnnotationBounded(t)),this.plaque.draw(i._getAnnotationCoords(this)),t.allowDragging&&n.on(Xb,{immediate:!0},(t=>{this._dragOffsetX=this.plaque.x-t.pageX,this._dragOffsetY=this.plaque.y-t.pageY})).on(Yb,(t=>{this.plaque.move(t.pageX+this._dragOffsetX,t.pageY+this._dragOffsetY)})).on(jb,(t=>{this.offsetX=(this.offsetX||0)+t.offset.x,this.offsetY=(this.offsetY||0)+t.offset.y}))},hitTest(t,e){return this.plaque.hitTest(t,e)},showTooltip(t,e){var{x:i,y:r}=e,n=this,o=n.options;if(t.annotation!==n){t.setTemplate(o.tooltipTemplate);var a=e=>{e&&(t.annotation=n)};a(t.show(o,{x:i,y:r},{target:o},o.customizeTooltip,a))}else t.isCursorOnTooltip(i,r)||t.move(i,r)}}}function Ub(t,e){var i;return"text"===t.type?i=function(t,i){var r=e._renderer.text(t.text).attr({class:t.cssClass}).append({element:i});(t.width>0||t.height>0)&&r.setMaxSize(t.width,t.height,{wordWrap:t.wordWrap,textOverflow:t.textOverflow})}:"image"===t.type?i=function(t,i){var{width:r,height:n,url:o,location:a}=t.image||{},{width:s,height:l}=t,u=s>0?Math.min(r,s):r,h=l>0?Math.min(n,l):n;e._renderer.image(0,0,u,h,o,a||"center").append({element:i})}:"custom"===t.type&&(i=t.template),i}function Wb(t){return"string"===typeof t?{url:t}:t}var qb=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0,o=Wb(i.image);return e.reduce(((e,a)=>{var s=Wb(a.image),h=(0,l.mf)(r)?r(a):{};h&&(h.image=Wb(h.image));var c=(0,u.l)(!0,{},i,a,{image:o},{image:s},h),d=Ub(c,t),p=d&&(0,u.l)(!0,n(c),Kb(c,t._getTemplate(d)));return p&&e.push(p),e}),[])},Jb={name:"annotations_chart",init(){},dispose(){},members:{_getAnnotationCoords(t){var e,i,r,n,o={offsetX:t.offsetX,offsetY:t.offsetY},a=this._options.silent("rotated")?"y":"x",s=this._options.silent("rotated")?"x":"y",u=this.getArgumentAxis(),h=u.validateUnit(t.argument),c=this.getValueAxis(t.axis),d=null===(e=c)||void 0===e?void 0:e.pane;t.series&&(r=this.series.filter((e=>e.name===t.series))[0],c=null===(n=r)||void 0===n?void 0:n.getValueAxis(),(0,l.$K)(c)&&(d=c.pane));if((0,l.$K)(h)){if(r){var p=r.getPointCenterByArg(h);p&&(o[a]=p[a])}else o[a]=u.getTranslator().translate(h);!(0,l.$K)(d)&&(d=u.pane)}var g,f,m=null===(i=c)||void 0===i?void 0:i.validateUnit(t.value);(0,l.$K)(m)&&(o[s]=null===(g=c)||void 0===g?void 0:g.getTranslator().translate(m),!(0,l.$K)(d)&&(0,l.$K)(c)&&(d=c.pane));(o.canvas=this._getCanvasForPane(d),(0,l.$K)(o[a])&&!(0,l.$K)(m))&&((0,l.$K)(c)||(0,l.$K)(r)?(0,l.$K)(c)&&!(0,l.$K)(r)?o[s]=this._argumentAxes.filter((t=>t.pane===c.pane))[0].getAxisPosition():null!==(f=r)&&void 0!==f&&f.checkSeriesViewportCoord(u,o[a])&&(o[s]=r.getSeriesPairCoord(o[a],!0)):o[s]=u.getAxisPosition());return!(0,l.$K)(h)&&(0,l.$K)(o[s])&&((0,l.$K)(c)&&!(0,l.$K)(r)?o[a]=c.getAxisPosition():(0,l.$K)(r)&&r.checkSeriesViewportCoord(c,o[s])&&(o[a]=r.getSeriesPairCoord(o[s],!1))),o},_annotationsPointerEventHandler(t){if(!this._disposed){var e=t.originalEvent||{},i=e.touches&&e.touches[0]||{},r=this._renderer.getRootOffset(),n={x:i.pageX||e.pageX||t.pageX,y:i.pageY||e.pageY||t.pageY},o=this._annotations.items.filter((t=>t.hitTest(n.x-r.left,n.y-r.top)))[0];o&&o.options.tooltipEnabled?(this._clear(),o.options.allowDragging&&t.type===Lg.Z.down&&(this._annotations._hideToolTipForDrag=!0),this._annotations._hideToolTipForDrag||(o.showTooltip(this._annotations.tooltip,n),t.stopPropagation())):this._annotations.hideTooltip()}},_isAnnotationBounded:t=>(0,l.$K)(t.value)||(0,l.$K)(t.argument),_pullOptions:t=>({type:t.type,name:t.name,x:t.x,y:t.y,value:t.value,argument:t.argument,axis:t.axis,series:t.series,options:t,offsetX:t.offsetX,offsetY:t.offsetY}),_forceAnnotationRender(){this._change(["FORCE_RENDER"])},_clear(){this.hideTooltip(),this.clearHover()}}},Qb={name:"annotations_polar_chart",init(){},dispose(){},members:{_getAnnotationCoords(t){var e,i,r={offsetX:t.offsetX,offsetY:t.offsetY,canvas:this._calcCanvas()},n=this.getArgumentAxis(),o=n.validateUnit(t.argument),a=this.getValueAxis().validateUnit(t.value),s=t.radius,h=t.angle;return t.series&&(i=this.series.filter((e=>e.name===t.series))[0]),(0,u.l)(!0,r,this.getXYFromPolar(h,s,o,a)),(0,l.$K)(i)&&(!(0,l.$K)(r.angle)||(0,l.$K)(a)||(0,l.$K)(s)?!(0,l.$K)(r.radius)||(0,l.$K)(o)||(0,l.$K)(h)||(e=i.getSeriesPairCoord({radius:r.radius},!1)):((0,l.$K)(o)||(o=n.getTranslator().from(isFinite(h)?this.getActualAngle(h):r.angle)),e=i.getSeriesPairCoord({argument:o,angle:-r.angle},!0)),(0,l.$K)(e)&&(r.x=e.x,r.y=e.y)),t.series&&!(0,l.$K)(e)&&(r.x=r.y=void 0),r},_annotationsPointerEventHandler:Jb.members._annotationsPointerEventHandler,_isAnnotationBounded:Jb.members._isAnnotationBounded,_pullOptions(t){var e=(0,u.l)({},{radius:t.radius,angle:t.angle},Jb.members._pullOptions(t));return delete e.axis,e},_forceAnnotationRender:Jb.members._forceAnnotationRender,_clear:Jb.members._clear}},ty={name:"annotations_vector_map",init(){},dispose(){this._annotations._offTracker(),this._annotations._offTracker=null},members:{_getAnnotationCoords(t){var e={offsetX:t.offsetX,offsetY:t.offsetY};if(e.canvas=this._projection.getCanvas(),t.coordinates){var i=this._projection.toScreenPoint(t.coordinates);e.x=i[0],e.y=i[1]}return e},_annotationsPointerEventHandler:Jb.members._annotationsPointerEventHandler,_isAnnotationBounded:t=>(0,l.$K)(t.coordinates),_pullOptions(t){var e=(0,u.l)({},{coordinates:t.coordinates},Jb.members._pullOptions(t));return delete e.axis,delete e.series,delete e.argument,delete e.value,e},_forceAnnotationRender(){this._change(["EXTRA_ELEMENTS"])},_getAnnotationStyles:()=>({"text-anchor":"start"}),_clear(){}},extenders:{_prepareExtraElements(){var t=this,e=()=>{t._renderExtraElements()};t._annotations._offTracker=t._tracker.on({move:e,zoom:e,end:e})}}},ey={name:"annotations_pie_chart",init(){},dispose(){},members:{_getAnnotationCoords(t){var e,i={offsetX:t.offsetX,offsetY:t.offsetY,canvas:this._canvas};if(t.argument){e=t.series?this.getSeriesByName(t.series):this.series[0];var r=e.getPointsByArg(t.argument)[0],{x:n,y:o}=r.getAnnotationCoords(t.location);i.x=n,i.y=o}return i},_isAnnotationBounded:t=>t.argument,_annotationsPointerEventHandler:Jb.members._annotationsPointerEventHandler,_pullOptions(t){var e=(0,u.l)({},{location:t.location},Jb.members._pullOptions(t));return delete e.axis,e},_clear:Jb.members._clear,_forceAnnotationRender:Jb.members._forceAnnotationRender}},iy={name:"annotations_core",init(){this._annotations={items:[],_hideToolTipForDrag:!1,tooltip:new tb({cssClass:"".concat(this._rootClassPrefix,"-annotation-tooltip"),eventTrigger:this._eventTrigger,widgetRoot:this.element(),widget:this}),hideTooltip(){this.tooltip.annotation=null,this.tooltip.hide()},clearItems(){this.items.forEach((t=>t.plaque.clear())),this.items=[]}},this._annotations.tooltip.setRendererOptions(this._getRendererOptions())},dispose(){this._annotationsGroup.linkRemove().linkOff(),Bt.Z.off(Nb(),Hb),this._annotationsGroup.off(Hb),this._annotations.tooltip&&this._annotations.tooltip.dispose()},extenders:{_createHtmlStructure(){this._annotationsGroup=this._renderer.g().attr({class:"".concat(this._rootClassPrefix,"-annotations")}).css(this._getAnnotationStyles()).linkOn(this._renderer.root,"annotations").linkAppend(),Bt.Z.on(Nb(),Zb,(t=>{this._disposed||this._annotations.tooltip.isCursorOnTooltip(t.pageX,t.pageY)||this._annotations.hideTooltip()})),Bt.Z.on(Nb(),$b,(t=>{this._annotations._hideToolTipForDrag=!1,this._annotationsPointerEventHandler(t)})),this._annotationsGroup.on(Zb,this._annotationsPointerEventHandler.bind(this))},_renderExtraElements(){this._annotationsGroup.clear(),this._annotations.items.forEach((t=>t.draw(this,this._annotationsGroup)))},_stopCurrentHandling(){this._annotations.hideTooltip()}},members:{_buildAnnotations(){this._annotations.clearItems();var t=this._getOption("annotations",!0);null!==t&&void 0!==t&&t.length&&(this._annotations.items=qb(this,t,this._getOption("commonAnnotationSettings"),this._getOption("customizeAnnotation",!0),this._pullOptions))},_setAnnotationTooltipOptions(){var t=(0,u.l)({},this._getOption("tooltip"));t.contentTemplate=t.customizeTooltip=void 0,this._annotations.tooltip.update(t)},_getAnnotationCoords:()=>({}),_pullOptions:()=>({}),_getAnnotationStyles:()=>({})},customize(t){t.addChange({code:"ANNOTATIONITEMS",handler(){this._requestChange(["ANNOTATIONS"])},isOptionChange:!0,option:"annotations"}),t.addChange({code:"ANNOTATIONSSETTINGS",handler(){this._requestChange(["ANNOTATIONS"])},isOptionChange:!0,option:"commonAnnotationSettings"}),t.addChange({code:"ANNOTATIONS",handler(){this._buildAnnotations(),this._setAnnotationTooltipOptions(),this._forceAnnotationRender()},isThemeDependent:!0,isOptionChange:!0})},fontFields:["commonAnnotationSettings.font"]},ry={core:iy,chart:Jb,polarChart:Qb,vectorMap:ty,pieChart:ey},{states:ny}=a,oy=a.pieSeriesSpacing,ay=["startAngle","innerRadius","segmentsDirection","type"],sy=ny.normalMark,ly=ny.hoverMark,uy=ny.selectedMark,hy=5,cy=[ny.resetItem,ny.applyHover,ny.applySelected,ny.applySelected];function dy(t){var e=sy;return t.forEach((t=>{var i,r=null===(i=t.series)||void 0===i?void 0:i.getOptions(),n=t.fullState;"none"===(null===r||void 0===r?void 0:r.hoverMode)&&(n&=~ly),"none"===(null===r||void 0===r?void 0:r.selectionMode)&&(n&=~uy),e|=n})),cy[e]}function py(t){return(0,l.kE)(t)?t>1?t=1:t<0&&(t=0):t=void 0,t}var gy=function(){function t(t,e){return t.filter((function(t){return t!==e}))}var e=[],i={};return{queue:function(r){var n,o,a=r.getSizeGroup();n=e,o=r,e=t(n,o).concat(o),clearTimeout(i[a]),i[a]=setTimeout((function(){!function(t,e){var i=e.filter((e=>e._isVisible()&&e.getSizeGroup()===t)),r=Math.min.apply(null,i.map((t=>t.getSizeGroupLayout().radius))),n=i.filter((t=>t.getSizeGroupLayout().radius===r));i.forEach((t=>t.render({force:!0,sizeGroupLayout:n.length?n[0].getSizeGroupLayout():{}})))}(a,e)}))},remove:function(r){e=t(e,r),e.length||(i={})}}}(),fy=Vb.inherit({_themeSection:"pie",_layoutManagerOptions:function(){return(0,u.l)(!0,{},this.callBase(),{piePercentage:py(this._themeManager.getOptions("diameter")),minPiePercentage:py(this._themeManager.getOptions("minDiameter"))})},_customChangesOrder:["CENTER_TEMPLATE"],_optionChangesMap:{diameter:"REINIT",minDiameter:"REINIT",sizeGroup:"REINIT",centerTemplate:"CENTER_TEMPLATE"},_change_CENTER_TEMPLATE(){this._renderCenterTemplate()},_disposeCore:function(){gy.remove(this),this.callBase(),this._centerTemplateGroup.linkOff().dispose()},_groupSeries:function(){var t=this.series;this._groupsData={groups:[{series:t,valueOptions:{valueType:"numeric"}}],argumentOptions:t[0]&&t[0].getOptions()}},getArgumentAxis:function(){return null},_getValueAxis:function(){var t=(new Mb).setCodomain(360,0);return{getTranslator:function(){return t},setBusinessRange:function(e){t.setDomain(e.min,e.max)}}},_populateBusinessRange:function(){this.series.map((function(t){var e=new Ot;return e.addRange(t.getRangeData().val),t.getValueAxis().setBusinessRange(e),e}))},_specialProcessSeries:function(){(0,h.S6)(this.series,(function(t,e){e.arrangePoints()}))},_checkPaneName:function(){return!0},_processSingleSeries:function(t){this.callBase(t),t.arrangePoints()},_handleSeriesDataUpdated:function(){var t=0;this.series.forEach((function(e){t=Math.max(e.getPointsCount(),t)})),this.series.forEach((function(e){e.setMaxPointsCount(t)})),this.callBase()},_getLegendOptions:function(t){var e=this.callBase(t),i=e.legendData;return i.argument=t.argument,i.argumentIndex=t.argumentIndex,i.points=[t],e},_getLegendTargets:function(){var t=this,e={};(t.series||[]).forEach((function(t){t.getPoints().forEach((function(i){var r=i.argument.valueOf(),n=t.getPointsByArg(r).indexOf(i),o=r.valueOf().toString()+n;e[o]=e[o]||[];var a=e[o].push(i);i.index=e[o][a-2]?e[o][a-2].index:Object.keys(e).length-1,i.argumentIndex=n}))}));var i=[];return(0,h.S6)(e,(function(e,r){r.forEach((function(e,r){if(0!==r){var n=i[i.length-1];n.legendData.points.push(e),n.visible||(n.visible=e.isVisible())}else i.push(t._getLegendOptions(e))}))})),i},_getLayoutTargets:function(){return[{canvas:this._canvas}]},_getLayoutSeries:function(t,e){var i,r=this._canvas,n=!1;return i=this.layoutManager.applyPieChartSeriesLayout(r,t,!0),t.forEach((function(t){t.correctPosition(i,r),n=t.drawLabelsWOPoints()||n})),n&&(i=this.layoutManager.applyPieChartSeriesLayout(r,t,e.hideLayoutLabels)),t.forEach((function(t){t.hideLabels()})),this._sizeGroupLayout={x:i.centerX,y:i.centerY,radius:i.radiusOuter,drawOptions:e},i},_getLayoutSeriesForEqualPies:function(t,e){var i=this._canvas,r=this.layoutManager.applyEqualPieChartLayout(t,e);return t.forEach((function(t){t.correctPosition(r,i),t.drawLabelsWOPoints()})),this.layoutManager.correctPieLabelRadius(t,r,i),r},_updateSeriesDimensions:function(t){var e,i,r,n=this._getVisibleSeries(),o=n.length,a=t.sizeGroupLayout;o&&(r=a?this._getLayoutSeriesForEqualPies(n,a):this._getLayoutSeries(n,t),i=(r.radiusOuter-r.radiusInner-oy*(o-1))/o,e=r.radiusInner,this._setGeometry(r),n.forEach((function(t){t.correctRadius({radiusInner:e,radiusOuter:e+i}),e+=i+oy})))},_renderSeries:function(t,e,i){if(this._calculateSeriesLayout(t,e),!t.sizeGroupLayout&&this.getSizeGroup())return gy.queue(this),void this._clearCanvas();this._renderSeriesElements(t,i)},_createHtmlStructure(){this.callBase(),this._centerTemplateGroup=this._renderer.g().attr({class:"dxc-hole-template"}).linkOn(this._renderer.root,"center-template").css(st(this._themeManager._font)).linkAppend()},_renderExtraElements(){this._requestChange(["CENTER_TEMPLATE"])},_renderCenterTemplate(){var t=this.option("centerTemplate"),e=this._centerTemplateGroup.clear();t&&(e.attr({visibility:"hidden"}),t=this._getTemplate(t),t.render({model:this,container:e.element,onRendered:()=>{var t=e,i=t.getBBox();t.move(this._center.x-(i.x+i.width/2),this._center.y-(i.y+i.height/2)),t.attr({visibility:"visible"})}}))},getInnerRadius(){return this._innerRadius},_getLegendCallBack:function(){var t=this,e=this._legend,i=this._getLegendTargets().map((function(t){return t.legendData}));return function(r){i.forEach((function(i){var n=[],o=e.getActionCallback({index:i.id});t.series.forEach((function(t){var e=t.getPointsByKeys(i.argument,i.argumentIndex);n.push.apply(n,e)})),r&&r.argument===i.argument&&r.argumentIndex===i.argumentIndex&&n.push(r),o(dy(n))}))}},_locateLabels(t){var e,i,r=0;do{i=this._adjustSeriesLabels("shift"===t),e=this._resolveLabelOverlapping(t)}while((e||i)&&++r<hy)},_adjustSeriesLabels:function(t){return this.series.reduce(((e,i)=>i.adjustLabels(t)||e),!1)},_applyExtraSettings:s.ZT,_resolveLabelOverlappingShift:function(){var t=this,e="anticlockwise"===t.option("segmentsDirection"),i=t.series.reduce((function(t,e){return(t[e.getOptions().label.position]||t.outside).push(e),t}),{inside:[],columns:[],outside:[]}),r=!1;return i.inside.length>0&&(r=o(i.inside.reduce((function(t,e){return e.getVisiblePoints().reduce((function(t,e){return t.left.push(e),t}),t)}),{left:[],right:[]}),a)||r),r=i.columns.reduce(((t,e)=>o(n(e),a)||t),r),i.outside.length>0&&(r=o(i.outside.reduce((function(t,e){return n(e,t)}),null),(function(e,i){return dt(e,-i,t._center)}))||r),r;function n(t,e){return t.getVisiblePoints().reduce((function(t,e){var i=U(e.middleAngle);return(i<=90||i>=270?t.right:t.left).push(e),t}),e||{left:[],right:[]})}function o(i,r){var n;return e&&(i.left.reverse(),i.right.reverse()),n=Rb.resolveLabelOverlappingInOneDirection(i.left,t._canvas,!1,!1,r),Rb.resolveLabelOverlappingInOneDirection(i.right,t._canvas,!1,!1,r)||n}function a(t,e){return{x:t.x,y:t.y-e}}},_setGeometry:function(t){var{centerX:e,centerY:i,radiusInner:r}=t;this._center={x:e,y:i},this._innerRadius=r},_disposeSeries(t){this.callBase.apply(this,arguments),this._abstractSeries=null},_legendDataField:"point",_legendItemTextField:"argument",_applyPointMarkersAutoHiding:s.ZT,_renderTrackers:s.ZT,_trackerType:"PieTracker",_createScrollBar:s.ZT,_updateAxesLayout:s.ZT,_applyClipRects:s.ZT,_appendAdditionalSeriesGroups:s.ZT,_prepareToRender:s.ZT,_isLegendInside:s.ZT,_renderAxes:s.ZT,_shrinkAxes:s.ZT,_isRotated:s.ZT,_seriesPopulatedHandlerCore:s.ZT,_reinitAxes:s.ZT,_correctAxes:s.ZT,_getExtraOptions:function(){return{startAngle:this.option("startAngle"),innerRadius:this.option("innerRadius"),segmentsDirection:this.option("segmentsDirection"),type:this.option("type")}},getSizeGroup:function(){return this._themeManager.getOptions("sizeGroup")},getSizeGroupLayout:function(){return this._sizeGroupLayout||{}}});(0,h.S6)(ay,(function(t,e){fy.prototype._optionChangesMap[e]="REFRESH_SERIES_DATA_INIT"})),fy.addPlugin(ry.core),fy.addPlugin(ry.pieChart),(0,Lt.Z)("dxPieChart",fy);var my=fy},55733:function(t,e,i){
/*!
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/main/LICENSE
*/
!function(e){t.exports=e()}((function(){return function t(e,i,r){function n(a,s){if(!i[a]){if(!e[a]){var l=void 0;if(!s&&l)return require(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var h=i[a]={exports:{}};e[a][0].call(h.exports,(function(t){var i=e[a][1][t];return n(i||t)}),h,h.exports,t,e,i,r)}return i[a].exports}for(var o=void 0,a=0;a<r.length;a++)n(r[a]);return n}({1:[function(t,e,i){"use strict";var r=t("./utils"),n=t("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(t){for(var e,i,n,a,s,l,u,h=[],c=0,d=t.length,p=d,g="string"!==r.getTypeOf(t);c<t.length;)p=d-c,n=g?(e=t[c++],i=c<d?t[c++]:0,c<d?t[c++]:0):(e=t.charCodeAt(c++),i=c<d?t.charCodeAt(c++):0,c<d?t.charCodeAt(c++):0),a=e>>2,s=(3&e)<<4|i>>4,l=1<p?(15&i)<<2|n>>6:64,u=2<p?63&n:64,h.push(o.charAt(a)+o.charAt(s)+o.charAt(l)+o.charAt(u));return h.join("")},i.decode=function(t){var e,i,r,a,s,l,u=0,h=0,c="data:";if(t.substr(0,c.length)===c)throw new Error("Invalid base64 input, it looks like a data url.");var d,p=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===o.charAt(64)&&p--,t.charAt(t.length-2)===o.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(d=n.uint8array?new Uint8Array(0|p):new Array(0|p);u<t.length;)e=o.indexOf(t.charAt(u++))<<2|(a=o.indexOf(t.charAt(u++)))>>4,i=(15&a)<<4|(s=o.indexOf(t.charAt(u++)))>>2,r=(3&s)<<6|(l=o.indexOf(t.charAt(u++))),d[h++]=e,64!==s&&(d[h++]=i),64!==l&&(d[h++]=r);return d}},{"./support":30,"./utils":32}],2:[function(t,e,i){"use strict";var r=t("./external"),n=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function s(t,e,i,r,n){this.compressedSize=t,this.uncompressedSize=e,this.crc32=i,this.compression=r,this.compressedContent=n}s.prototype={getContentWorker:function(){var t=new n(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new n(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,i){return t.pipe(new o).pipe(new a("uncompressedSize")).pipe(e.compressWorker(i)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,i){"use strict";var r=t("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},i.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,i){"use strict";var r=t("./utils"),n=function(){for(var t,e=[],i=0;i<256;i++){t=i;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[i]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==r.getTypeOf(t)?function(t,e,i,r){var o=n,a=r+i;t^=-1;for(var s=r;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}(0|e,t,t.length,0):function(t,e,i,r){var o=n,a=r+i;t^=-1;for(var s=r;s<a;s++)t=t>>>8^o[255&(t^e.charCodeAt(s))];return-1^t}(0|e,t,t.length,0):0}},{"./utils":32}],5:[function(t,e,i){"use strict";i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(t,e,i){"use strict";var r=null;r="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:r}},{lie:37}],7:[function(t,e,i){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=t("pako"),o=t("./utils"),a=t("./stream/GenericWorker"),s=r?"uint8array":"array";function l(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}i.magic="\b\0",o.inherits(l,a),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},i.compressWorker=function(t){return new l("Deflate",t)},i.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,i){"use strict";function r(t,e){var i,r="";for(i=0;i<e;i++)r+=String.fromCharCode(255&t),t>>>=8;return r}function n(t,e,i,n,a,h){var c,d,p=t.file,g=t.compression,f=h!==s.utf8encode,m=o.transformTo("string",h(p.name)),_=o.transformTo("string",s.utf8encode(p.name)),v=p.comment,b=o.transformTo("string",h(v)),y=o.transformTo("string",s.utf8encode(v)),x=_.length!==p.name.length,w=y.length!==v.length,C="",S="",k="",A=p.dir,T=p.date,E={crc32:0,compressedSize:0,uncompressedSize:0};e&&!i||(E.crc32=t.crc32,E.compressedSize=t.compressedSize,E.uncompressedSize=t.uncompressedSize);var O=0;e&&(O|=8),f||!x&&!w||(O|=2048);var P=0,I=0;A&&(P|=16),"UNIX"===a?(I=798,P|=function(t,e){var i=t;return t||(i=e?16893:33204),(65535&i)<<16}(p.unixPermissions,A)):(I=20,P|=function(t){return 63&(t||0)}(p.dosPermissions)),c=T.getUTCHours(),c<<=6,c|=T.getUTCMinutes(),c<<=5,c|=T.getUTCSeconds()/2,d=T.getUTCFullYear()-1980,d<<=4,d|=T.getUTCMonth()+1,d<<=5,d|=T.getUTCDate(),x&&(S=r(1,1)+r(l(m),4)+_,C+="up"+r(S.length,2)+S),w&&(k=r(1,1)+r(l(b),4)+y,C+="uc"+r(k.length,2)+k);var L="";return L+="\n\0",L+=r(O,2),L+=g.magic,L+=r(c,2),L+=r(d,2),L+=r(E.crc32,4),L+=r(E.compressedSize,4),L+=r(E.uncompressedSize,4),L+=r(m.length,2),L+=r(C.length,2),{fileRecord:u.LOCAL_FILE_HEADER+L+m+C,dirRecord:u.CENTRAL_FILE_HEADER+r(I,2)+L+r(b.length,2)+"\0\0\0\0"+r(P,4)+r(n,4)+m+C+b}}var o=t("../utils"),a=t("../stream/GenericWorker"),s=t("../utf8"),l=t("../crc32"),u=t("../signature");function h(t,e,i,r){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=i,this.encodeFileName=r,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(h,a),h.prototype.push=function(t){var e=t.meta.percent||0,i=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:i?(e+100*(i-r-1))/i:100}}))},h.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var i=n(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:i.fileRecord,meta:{percent:0}})}else this.accumulate=!0},h.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,i=n(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(i.dirRecord),e)this.push({data:function(t){return u.DATA_DESCRIPTOR+r(t.crc32,4)+r(t.compressedSize,4)+r(t.uncompressedSize,4)}(t),meta:{percent:100}});else for(this.push({data:i.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},h.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var i=this.bytesWritten-t,n=function(t,e,i,n,a){var s=o.transformTo("string",a(n));return u.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(t,2)+r(t,2)+r(e,4)+r(i,4)+r(s.length,2)+s}(this.dirRecords.length,i,t,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},h.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},h.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},h.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},h.prototype.error=function(t){var e=this._sources;if(!a.prototype.error.call(this,t))return!1;for(var i=0;i<e.length;i++)try{e[i].error(t)}catch(t){}return!0},h.prototype.lock=function(){a.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=h},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,i){"use strict";var r=t("../compressions"),n=t("./ZipFileWorker");i.generateWorker=function(t,e,i){var o=new n(e.streamFiles,i,e.platform,e.encodeFileName),a=0;try{t.forEach((function(t,i){a++;var n=function(t,e){var i=t||e,n=r[i];if(!n)throw new Error(i+" is not a valid compression method !");return n}(i.options.compression,e.compression),s=i.options.compressionOptions||e.compressionOptions||{},l=i.dir,u=i.date;i._compressWorker(n,s).withStreamInfo("file",{name:t,dir:l,date:u,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(o)})),o.entriesCount=a}catch(t){o.error(t)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,i){"use strict";function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new r;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(r.prototype=t("./object")).loadAsync=t("./load"),r.support=t("./support"),r.defaults=t("./defaults"),r.version="3.10.1",r.loadAsync=function(t,e){return(new r).loadAsync(t,e)},r.external=t("./external"),e.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,i){"use strict";var r=t("./utils"),n=t("./external"),o=t("./utf8"),a=t("./zipEntries"),s=t("./stream/Crc32Probe"),l=t("./nodejsUtils");function u(t){return new n.Promise((function(e,i){var r=t.decompressed.getContentWorker().pipe(new s);r.on("error",(function(t){i(t)})).on("end",(function(){r.streamInfo.crc32!==t.decompressed.crc32?i(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}e.exports=function(t,e){var i=this;return e=r.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(t)?n.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var i=new a(e);return i.load(t),i})).then((function(t){var i=[n.Promise.resolve(t)],r=t.files;if(e.checkCRC32)for(var o=0;o<r.length;o++)i.push(u(r[o]));return n.Promise.all(i)})).then((function(t){for(var n=t.shift(),o=n.files,a=0;a<o.length;a++){var s=o[a],l=s.fileNameStr,u=r.resolve(s.fileNameStr);i.file(u,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:e.createFolders}),s.dir||(i.file(u).unsafeOriginalName=l)}return n.zipComment.length&&(i.comment=n.zipComment),i}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,i){"use strict";var r=t("../utils"),n=t("../stream/GenericWorker");function o(t,e){n.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}r.inherits(o,n),o.prototype._bindStream=function(t){var e=this;(this._stream=t).pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},o.prototype.pause=function(){return!!n.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,i){"use strict";var r=t("readable-stream").Readable;function n(t,e,i){r.call(this,e),this._helper=t;var n=this;t.on("data",(function(t,e){n.push(t)||n._helper.pause(),i&&i(e)})).on("error",(function(t){n.emit("error",t)})).on("end",(function(){n.push(null)}))}t("../utils").inherits(n,r),n.prototype._read=function(){this._helper.resume()},e.exports=n},{"../utils":32,"readable-stream":16}],14:[function(t,e,i){"use strict";e.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,e){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Buffer(t,e)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var e=new Buffer(t);return e.fill(0),e},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,i){"use strict";function r(t,e,i){var r,n=o.getTypeOf(e),s=o.extend(i||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(t=f(t)),s.createFolders&&(r=g(t))&&m.call(this,r,!0);var c="string"===n&&!1===s.binary&&!1===s.base64;i&&void 0!==i.binary||(s.binary=!c),(e instanceof u&&0===e.uncompressedSize||s.dir||!e||0===e.length)&&(s.base64=!1,s.binary=!0,e="",s.compression="STORE",n="string");var _=null;_=e instanceof u||e instanceof a?e:d.isNode&&d.isStream(e)?new p(t,e):o.prepareContent(t,e,s.binary,s.optimizedBinaryString,s.base64);var v=new h(t,_,s);this.files[t]=v}var n=t("./utf8"),o=t("./utils"),a=t("./stream/GenericWorker"),s=t("./stream/StreamHelper"),l=t("./defaults"),u=t("./compressedObject"),h=t("./zipObject"),c=t("./generate"),d=t("./nodejsUtils"),p=t("./nodejs/NodejsStreamInputAdapter"),g=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return 0<e?t.substring(0,e):""},f=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},m=function(t,e){return e=void 0!==e?e:l.createFolders,t=f(t),this.files[t]||r.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function _(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var v={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,i,r;for(e in this.files)r=this.files[e],(i=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(i,r)},filter:function(t){var e=[];return this.forEach((function(i,r){t(i,r)&&e.push(r)})),e},file:function(t,e,i){if(1!==arguments.length)return t=this.root+t,r.call(this,t,e,i),this;if(_(t)){var n=t;return this.filter((function(t,e){return!e.dir&&n.test(t)}))}var o=this.files[this.root+t];return o&&!o.dir?o:null},folder:function(t){if(!t)return this;if(_(t))return this.filter((function(e,i){return i.dir&&t.test(e)}));var e=this.root+t,i=m.call(this,e),r=this.clone();return r.root=i.name,r},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var i=this.filter((function(e,i){return i.name.slice(0,t.length)===t})),r=0;r<i.length;r++)delete this.files[i[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,i={};try{if((i=o.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:n.utf8encode})).type=i.type.toLowerCase(),i.compression=i.compression.toUpperCase(),"binarystring"===i.type&&(i.type="string"),!i.type)throw new Error("No output type specified.");o.checkSupport(i.type),"darwin"!==i.platform&&"freebsd"!==i.platform&&"linux"!==i.platform&&"sunos"!==i.platform||(i.platform="UNIX"),"win32"===i.platform&&(i.platform="DOS");var r=i.comment||this.comment||"";e=c.generateWorker(this,i,r)}catch(t){(e=new a("error")).error(t)}return new s(e,i.type||"string",i.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.exports=v},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,i){"use strict";e.exports=t("stream")},{stream:void 0}],17:[function(t,e,i){"use strict";var r=t("./DataReader");function n(t){r.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(n,r),n.prototype.byteAt=function(t){return this.data[this.zero+t]},n.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),i=t.charCodeAt(1),r=t.charCodeAt(2),n=t.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===e&&this.data[o+1]===i&&this.data[o+2]===r&&this.data[o+3]===n)return o-this.zero;return-1},n.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),i=t.charCodeAt(1),r=t.charCodeAt(2),n=t.charCodeAt(3),o=this.readData(4);return e===o[0]&&i===o[1]&&r===o[2]&&n===o[3]},n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./DataReader":18}],18:[function(t,e,i){"use strict";var r=t("../utils");function n(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}n.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var e,i=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)i=(i<<8)+this.byteAt(e);return this.index+=t,i},readString:function(t){return r.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=n},{"../utils":32}],19:[function(t,e,i){"use strict";var r=t("./Uint8ArrayReader");function n(t){r.call(this,t)}t("../utils").inherits(n,r),n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,i){"use strict";var r=t("./DataReader");function n(t){r.call(this,t)}t("../utils").inherits(n,r),n.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},n.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},n.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./DataReader":18}],21:[function(t,e,i){"use strict";var r=t("./ArrayReader");function n(t){r.call(this,t)}t("../utils").inherits(n,r),n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,i){"use strict";var r=t("../utils"),n=t("../support"),o=t("./ArrayReader"),a=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=r.getTypeOf(t);return r.checkSupport(e),"string"!==e||n.uint8array?"nodebuffer"===e?new s(t):n.uint8array?new l(r.transformTo("uint8array",t)):new o(r.transformTo("array",t)):new a(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,i){"use strict";i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,i){"use strict";var r=t("./GenericWorker"),n=t("../utils");function o(t){r.call(this,"ConvertWorker to "+t),this.destType=t}n.inherits(o,r),o.prototype.processChunk=function(t){this.push({data:n.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,i){"use strict";var r=t("./GenericWorker"),n=t("../crc32");function o(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,r),o.prototype.processChunk=function(t){this.streamInfo.crc32=n(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,i){"use strict";var r=t("../utils"),n=t("./GenericWorker");function o(t){n.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}r.inherits(o,n),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}n.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,i){"use strict";var r=t("../utils"),n=t("./GenericWorker");function o(t){n.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=r.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}r.inherits(o,n),o.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,i){"use strict";function r(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var i=0;i<this._listeners[t].length;i++)this._listeners[t][i].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=r},{}],29:[function(t,e,i){"use strict";var r=t("../utils"),n=t("./ConvertWorker"),o=t("./GenericWorker"),a=t("../base64"),s=t("../support"),l=t("../external"),u=null;if(s.nodestream)try{u=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function h(t,e){return new l.Promise((function(i,n){var o=[],s=t._internalType,l=t._outputType,u=t._mimeType;t.on("data",(function(t,i){o.push(t),e&&e(i)})).on("error",(function(t){o=[],n(t)})).on("end",(function(){try{var t=function(t,e,i){switch(t){case"blob":return r.newBlob(r.transformTo("arraybuffer",e),i);case"base64":return a.encode(e);default:return r.transformTo(t,e)}}(l,function(t,e){var i,r=0,n=null,o=0;for(i=0;i<e.length;i++)o+=e[i].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(n=new Uint8Array(o),i=0;i<e.length;i++)n.set(e[i],r),r+=e[i].length;return n;case"nodebuffer":return Buffer.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(s,o),u);i(t)}catch(t){n(t)}o=[]})).resume()}))}function c(t,e,i){var a=e;switch(e){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=e,this._mimeType=i,r.checkSupport(a),this._worker=t.pipe(new n(a)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}c.prototype={accumulate:function(t){return h(this,t)},on:function(t,e){var i=this;return"data"===t?this._worker.on(t,(function(t){e.call(i,t.data,t.meta)})):this._worker.on(t,(function(){r.delay(e,arguments,i)})),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(r.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=c},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,i){"use strict";if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,i.nodebuffer="undefined"!=typeof Buffer,i.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)i.blob=!1;else{var r=new ArrayBuffer(0);try{i.blob=0===new Blob([r],{type:"application/zip"}).size}catch(t){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);n.append(r),i.blob=0===n.getBlob("application/zip").size}catch(t){i.blob=!1}}}try{i.nodestream=!!t("readable-stream").Readable}catch(t){i.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,i){"use strict";for(var r=t("./utils"),n=t("./support"),o=t("./nodejsUtils"),a=t("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function u(){a.call(this,"utf-8 decode"),this.leftOver=null}function h(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,i.utf8encode=function(t){return n.nodebuffer?o.newBufferFrom(t,"utf-8"):function(t){var e,i,r,o,a,s=t.length,l=0;for(o=0;o<s;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(r-56320),o++),l+=i<128?1:i<2048?2:i<65536?3:4;for(e=n.uint8array?new Uint8Array(l):new Array(l),o=a=0;a<l;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(r-56320),o++),i<128?e[a++]=i:(i<2048?e[a++]=192|i>>>6:(i<65536?e[a++]=224|i>>>12:(e[a++]=240|i>>>18,e[a++]=128|i>>>12&63),e[a++]=128|i>>>6&63),e[a++]=128|63&i);return e}(t)},i.utf8decode=function(t){return n.nodebuffer?r.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,i,n,o,a=t.length,l=new Array(2*a);for(e=i=0;e<a;)if((n=t[e++])<128)l[i++]=n;else if(4<(o=s[n]))l[i++]=65533,e+=o-1;else{for(n&=2===o?31:3===o?15:7;1<o&&e<a;)n=n<<6|63&t[e++],o--;1<o?l[i++]=65533:n<65536?l[i++]=n:(n-=65536,l[i++]=55296|n>>10&1023,l[i++]=56320|1023&n)}return l.length!==i&&(l.subarray?l=l.subarray(0,i):l.length=i),r.applyFromCharCode(l)}(t=r.transformTo(n.uint8array?"uint8array":"array",t))},r.inherits(u,a),u.prototype.processChunk=function(t){var e=r.transformTo(n.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var o=e;(e=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),e.set(o,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var a=function(t,e){var i;for((e=e||t.length)>t.length&&(e=t.length),i=e-1;0<=i&&128==(192&t[i]);)i--;return i<0||0===i?e:i+s[t[i]]>e?i:e}(e),l=e;a!==e.length&&(n.uint8array?(l=e.subarray(0,a),this.leftOver=e.subarray(a,e.length)):(l=e.slice(0,a),this.leftOver=e.slice(a,e.length))),this.push({data:i.utf8decode(l),meta:t.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=u,r.inherits(h,a),h.prototype.processChunk=function(t){this.push({data:i.utf8encode(t.data),meta:t.meta})},i.Utf8EncodeWorker=h},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,i){"use strict";var r=t("./support"),n=t("./base64"),o=t("./nodejsUtils"),a=t("./external");function s(t){return t}function l(t,e){for(var i=0;i<t.length;++i)e[i]=255&t.charCodeAt(i);return e}t("setimmediate"),i.newBlob=function(e,r){i.checkSupport("blob");try{return new Blob([e],{type:r})}catch(t){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(r)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(t,e,i){var r=[],n=0,o=t.length;if(o<=i)return String.fromCharCode.apply(null,t);for(;n<o;)"array"===e||"nodebuffer"===e?r.push(String.fromCharCode.apply(null,t.slice(n,Math.min(n+i,o)))):r.push(String.fromCharCode.apply(null,t.subarray(n,Math.min(n+i,o)))),n+=i;return r.join("")},stringifyByChar:function(t){for(var e="",i=0;i<t.length;i++)e+=String.fromCharCode(t[i]);return e},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(t){return!1}}()}};function h(t){var e=65536,r=i.getTypeOf(t),n=!0;if("uint8array"===r?n=u.applyCanBeUsed.uint8array:"nodebuffer"===r&&(n=u.applyCanBeUsed.nodebuffer),n)for(;1<e;)try{return u.stringifyByChunk(t,r,e)}catch(t){e=Math.floor(e/2)}return u.stringifyByChar(t)}function c(t,e){for(var i=0;i<t.length;i++)e[i]=t[i];return e}i.applyFromCharCode=h;var d={};d.string={string:s,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return d.string.uint8array(t).buffer},uint8array:function(t){return l(t,new Uint8Array(t.length))},nodebuffer:function(t){return l(t,o.allocBuffer(t.length))}},d.array={string:h,array:s,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(t)}},d.arraybuffer={string:function(t){return h(new Uint8Array(t))},array:function(t){return c(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:s,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(new Uint8Array(t))}},d.uint8array={string:h,array:function(t){return c(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:s,nodebuffer:function(t){return o.newBufferFrom(t)}},d.nodebuffer={string:h,array:function(t){return c(t,new Array(t.length))},arraybuffer:function(t){return d.nodebuffer.uint8array(t).buffer},uint8array:function(t){return c(t,new Uint8Array(t.length))},nodebuffer:s},i.transformTo=function(t,e){if(e=e||"",!t)return e;i.checkSupport(t);var r=i.getTypeOf(e);return d[r][t](e)},i.resolve=function(t){for(var e=t.split("/"),i=[],r=0;r<e.length;r++){var n=e[r];"."===n||""===n&&0!==r&&r!==e.length-1||(".."===n?i.pop():i.push(n))}return i.join("/")},i.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":r.nodebuffer&&o.isBuffer(t)?"nodebuffer":r.uint8array&&t instanceof Uint8Array?"uint8array":r.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(t){if(!r[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(t){var e,i,r="";for(i=0;i<(t||"").length;i++)r+="\\x"+((e=t.charCodeAt(i))<16?"0":"")+e.toString(16).toUpperCase();return r},i.delay=function(t,e,i){setImmediate((function(){t.apply(i||null,e||[])}))},i.inherits=function(t,e){function i(){}i.prototype=e.prototype,t.prototype=new i},i.extend=function(){var t,e,i={};for(t=0;t<arguments.length;t++)for(e in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],e)&&void 0===i[e]&&(i[e]=arguments[t][e]);return i},i.prepareContent=function(t,e,o,s,u){return a.Promise.resolve(e).then((function(t){return r.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new a.Promise((function(e,i){var r=new FileReader;r.onload=function(t){e(t.target.result)},r.onerror=function(t){i(t.target.error)},r.readAsArrayBuffer(t)})):t})).then((function(e){var h=i.getTypeOf(e);return h?("arraybuffer"===h?e=i.transformTo("uint8array",e):"string"===h&&(u?e=n.decode(e):o&&!0!==s&&(e=function(t){return l(t,r.uint8array?new Uint8Array(t.length):new Array(t.length))}(e))),e):a.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,e,i){"use strict";var r=t("./reader/readerFor"),n=t("./utils"),o=t("./signature"),a=t("./zipEntry"),s=t("./support");function l(t){this.files=[],this.loadOptions=t}l.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+n.pretty(e)+", expected "+n.pretty(t)+")")}},isSignature:function(t,e){var i=this.reader.index;this.reader.setIndex(t);var r=this.reader.readString(4)===e;return this.reader.setIndex(i),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=s.uint8array?"uint8array":"array",i=n.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(i)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,i,r=this.zip64EndOfCentralSize-44;0<r;)t=this.reader.readInt(2),e=this.reader.readInt(4),i=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(t=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===n.MAX_VALUE_16BITS||this.diskWithCentralDirStart===n.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===n.MAX_VALUE_16BITS||this.centralDirRecords===n.MAX_VALUE_16BITS||this.centralDirSize===n.MAX_VALUE_32BITS||this.centralDirOffset===n.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var r=e-i;if(0<r)this.isSignature(e,o.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(t){this.reader=r(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,e,i){"use strict";var r=t("./reader/readerFor"),n=t("./utils"),o=t("./compressedObject"),a=t("./crc32"),s=t("./utf8"),l=t("./compressions"),u=t("./support");function h(t,e){this.options=t,this.loadOptions=e}h.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,i;if(t.skip(22),this.fileNameLength=t.readInt(2),i=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(i),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in l)if(Object.prototype.hasOwnProperty.call(l,e)&&l[e].magic===t)return l[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+n.pretty(this.compressionMethod)+" unknown (inner file : "+n.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=r(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var e,i,r,n=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<n;)e=t.readInt(2),i=t.readInt(2),r=t.readData(i),this.extraFields[e]={id:e,length:i,value:r};t.setIndex(n)},handleUTF8:function(){var t=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var i=n.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(i)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=n.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileName)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=r(t.value);return 1!==e.readInt(1)||a(this.fileComment)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null}},e.exports=h},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,i){"use strict";function r(t,e,i){this.name=t,this.dir=i.dir,this.date=i.date,this.comment=i.comment,this.unixPermissions=i.unixPermissions,this.dosPermissions=i.dosPermissions,this._data=e,this._dataBinary=i.binary,this.options={compression:i.compression,compressionOptions:i.compressionOptions}}var n=t("./stream/StreamHelper"),o=t("./stream/DataWorker"),a=t("./utf8"),s=t("./compressedObject"),l=t("./stream/GenericWorker");r.prototype={internalStream:function(t){var e=null,i="string";try{if(!t)throw new Error("No output type specified.");var r="string"===(i=t.toLowerCase())||"text"===i;"binarystring"!==i&&"text"!==i||(i="string"),e=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(e=e.pipe(new a.Utf8EncodeWorker)),!o&&r&&(e=e.pipe(new a.Utf8DecodeWorker))}catch(t){(e=new l("error")).error(t)}return new n(e,i,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof s&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var i=this._decompressWorker();return this._dataBinary||(i=i.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(i,t,e)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new o(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],h=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<u.length;c++)r.prototype[u[c]]=h;e.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,r){(function(t){"use strict";var i,r,n=t.MutationObserver||t.WebKitMutationObserver;if(n){var o=0,a=new n(h),s=t.document.createTextNode("");a.observe(s,{characterData:!0}),i=function(){s.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)i="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){h(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(h,0)};else{var l=new t.MessageChannel;l.port1.onmessage=h,i=function(){l.port2.postMessage(0)}}var u=[];function h(){var t,e;r=!0;for(var i=u.length;i;){for(e=u,u=[],t=-1;++t<i;)e[t]();i=u.length}r=!1}e.exports=function(t){1!==u.push(t)||r||i()}}).call(this,"undefined"!=typeof i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,e,i){"use strict";var r=t("immediate");function n(){}var o={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function u(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,t!==n&&p(this,t)}function h(t,e,i){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof i&&(this.onRejected=i,this.callRejected=this.otherCallRejected)}function c(t,e,i){r((function(){var r;try{r=e(i)}catch(r){return o.reject(t,r)}r===t?o.reject(t,new TypeError("Cannot resolve promise with itself")):o.resolve(t,r)}))}function d(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function p(t,e){var i=!1;function r(e){i||(i=!0,o.reject(t,e))}function n(e){i||(i=!0,o.resolve(t,e))}var a=g((function(){e(n,r)}));"error"===a.status&&r(a.value)}function g(t,e){var i={};try{i.value=t(e),i.status="success"}catch(t){i.status="error",i.value=t}return i}(e.exports=u).prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then((function(i){return e.resolve(t()).then((function(){return i}))}),(function(i){return e.resolve(t()).then((function(){throw i}))}))},u.prototype.catch=function(t){return this.then(null,t)},u.prototype.then=function(t,e){if("function"!=typeof t&&this.state===s||"function"!=typeof e&&this.state===a)return this;var i=new this.constructor(n);return this.state!==l?c(i,this.state===s?t:e,this.outcome):this.queue.push(new h(i,t,e)),i},h.prototype.callFulfilled=function(t){o.resolve(this.promise,t)},h.prototype.otherCallFulfilled=function(t){c(this.promise,this.onFulfilled,t)},h.prototype.callRejected=function(t){o.reject(this.promise,t)},h.prototype.otherCallRejected=function(t){c(this.promise,this.onRejected,t)},o.resolve=function(t,e){var i=g(d,e);if("error"===i.status)return o.reject(t,i.value);var r=i.value;if(r)p(t,r);else{t.state=s,t.outcome=e;for(var n=-1,a=t.queue.length;++n<a;)t.queue[n].callFulfilled(e)}return t},o.reject=function(t,e){t.state=a,t.outcome=e;for(var i=-1,r=t.queue.length;++i<r;)t.queue[i].callRejected(e);return t},u.resolve=function(t){return t instanceof this?t:o.resolve(new this(n),t)},u.reject=function(t){var e=new this(n);return o.reject(e,t)},u.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,r=!1;if(!i)return this.resolve([]);for(var a=new Array(i),s=0,l=-1,u=new this(n);++l<i;)h(t[l],l);return u;function h(t,n){e.resolve(t).then((function(t){a[n]=t,++s!==i||r||(r=!0,o.resolve(u,a))}),(function(t){r||(r=!0,o.reject(u,t))}))}},u.race=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,r=!1;if(!i)return this.resolve([]);for(var a,s=-1,l=new this(n);++s<i;)a=t[s],e.resolve(a).then((function(t){r||(r=!0,o.resolve(l,t))}),(function(t){r||(r=!0,o.reject(l,t))}));return l}},{immediate:36}],38:[function(t,e,i){"use strict";var r={};(0,t("./lib/utils/common").assign)(r,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,i){"use strict";var r=t("./zlib/deflate"),n=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/messages"),s=t("./zlib/zstream"),l=Object.prototype.toString,u=0,h=-1,c=0,d=8;function p(t){if(!(this instanceof p))return new p(t);this.options=n.assign({level:h,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:c,to:""},t||{});var e=this.options;e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var i=r.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(i!==u)throw new Error(a[i]);if(e.header&&r.deflateSetHeader(this.strm,e.header),e.dictionary){var g;if(g="string"==typeof e.dictionary?o.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(i=r.deflateSetDictionary(this.strm,g))!==u)throw new Error(a[i]);this._dict_set=!0}}function g(t,e){var i=new p(e);if(i.push(t,!0),i.err)throw i.msg||a[i.err];return i.result}p.prototype.push=function(t,e){var i,a,s=this.strm,h=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?s.input=o.string2buf(t):"[object ArrayBuffer]"===l.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new n.Buf8(h),s.next_out=0,s.avail_out=h),1!==(i=r.deflate(s,a))&&i!==u)return this.onEnd(i),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(n.shrinkBuf(s.output,s.next_out))):this.onData(n.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==i);return 4===a?(i=r.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===u):2!==a||(this.onEnd(u),!(s.avail_out=0))},p.prototype.onData=function(t){this.chunks.push(t)},p.prototype.onEnd=function(t){t===u&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Deflate=p,i.deflate=g,i.deflateRaw=function(t,e){return(e=e||{}).raw=!0,g(t,e)},i.gzip=function(t,e){return(e=e||{}).gzip=!0,g(t,e)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,i){"use strict";var r=t("./zlib/inflate"),n=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),l=t("./zlib/zstream"),u=t("./zlib/gzheader"),h=Object.prototype.toString;function c(t){if(!(this instanceof c))return new c(t);this.options=n.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var i=r.inflateInit2(this.strm,e.windowBits);if(i!==a.Z_OK)throw new Error(s[i]);this.header=new u,r.inflateGetHeader(this.strm,this.header)}function d(t,e){var i=new c(e);if(i.push(t,!0),i.err)throw i.msg||s[i.err];return i.result}c.prototype.push=function(t,e){var i,s,l,u,c,d,p=this.strm,g=this.options.chunkSize,f=this.options.dictionary,m=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?p.input=o.binstring2buf(t):"[object ArrayBuffer]"===h.call(t)?p.input=new Uint8Array(t):p.input=t,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new n.Buf8(g),p.next_out=0,p.avail_out=g),(i=r.inflate(p,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&f&&(d="string"==typeof f?o.string2buf(f):"[object ArrayBuffer]"===h.call(f)?new Uint8Array(f):f,i=r.inflateSetDictionary(this.strm,d)),i===a.Z_BUF_ERROR&&!0===m&&(i=a.Z_OK,m=!1),i!==a.Z_STREAM_END&&i!==a.Z_OK)return this.onEnd(i),!(this.ended=!0);p.next_out&&(0!==p.avail_out&&i!==a.Z_STREAM_END&&(0!==p.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(p.output,p.next_out),u=p.next_out-l,c=o.buf2string(p.output,l),p.next_out=u,p.avail_out=g-u,u&&n.arraySet(p.output,p.output,l,u,0),this.onData(c)):this.onData(n.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(m=!0)}while((0<p.avail_in||0===p.avail_out)&&i!==a.Z_STREAM_END);return i===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(i=r.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(p.avail_out=0))},c.prototype.onData=function(t){this.chunks.push(t)},c.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Inflate=c,i.inflate=d,i.inflateRaw=function(t,e){return(e=e||{}).raw=!0,d(t,e)},i.ungzip=d},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,i){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;i.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var i=e.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])}}return t},i.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var n={arraySet:function(t,e,i,r,n){if(e.subarray&&t.subarray)t.set(e.subarray(i,i+r),n);else for(var o=0;o<r;o++)t[n+o]=e[i+o]},flattenChunks:function(t){var e,i,r,n,o,a;for(e=r=0,i=t.length;e<i;e++)r+=t[e].length;for(a=new Uint8Array(r),e=n=0,i=t.length;e<i;e++)o=t[e],a.set(o,n),n+=o.length;return a}},o={arraySet:function(t,e,i,r,n){for(var o=0;o<r;o++)t[n+o]=e[i+o]},flattenChunks:function(t){return[].concat.apply([],t)}};i.setTyped=function(t){t?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,n)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,o))},i.setTyped(r)},{}],42:[function(t,e,i){"use strict";var r=t("./common"),n=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){n=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(t,e){if(e<65537&&(t.subarray&&o||!t.subarray&&n))return String.fromCharCode.apply(null,r.shrinkBuf(t,e));for(var i="",a=0;a<e;a++)i+=String.fromCharCode(t[a]);return i}a[254]=a[254]=1,i.string2buf=function(t){var e,i,n,o,a,s=t.length,l=0;for(o=0;o<s;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(n=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(n-56320),o++),l+=i<128?1:i<2048?2:i<65536?3:4;for(e=new r.Buf8(l),o=a=0;a<l;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(n=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(n-56320),o++),i<128?e[a++]=i:(i<2048?e[a++]=192|i>>>6:(i<65536?e[a++]=224|i>>>12:(e[a++]=240|i>>>18,e[a++]=128|i>>>12&63),e[a++]=128|i>>>6&63),e[a++]=128|63&i);return e},i.buf2binstring=function(t){return l(t,t.length)},i.binstring2buf=function(t){for(var e=new r.Buf8(t.length),i=0,n=e.length;i<n;i++)e[i]=t.charCodeAt(i);return e},i.buf2string=function(t,e){var i,r,n,o,s=e||t.length,u=new Array(2*s);for(i=r=0;i<s;)if((n=t[i++])<128)u[r++]=n;else if(4<(o=a[n]))u[r++]=65533,i+=o-1;else{for(n&=2===o?31:3===o?15:7;1<o&&i<s;)n=n<<6|63&t[i++],o--;1<o?u[r++]=65533:n<65536?u[r++]=n:(n-=65536,u[r++]=55296|n>>10&1023,u[r++]=56320|1023&n)}return l(u,r)},i.utf8border=function(t,e){var i;for((e=e||t.length)>t.length&&(e=t.length),i=e-1;0<=i&&128==(192&t[i]);)i--;return i<0||0===i?e:i+a[t[i]]>e?i:e}},{"./common":41}],43:[function(t,e,i){"use strict";e.exports=function(t,e,i,r){for(var n=65535&t|0,o=t>>>16&65535|0,a=0;0!==i;){for(i-=a=2e3<i?2e3:i;o=o+(n=n+e[r++]|0)|0,--a;);n%=65521,o%=65521}return n|o<<16|0}},{}],44:[function(t,e,i){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,e,i){"use strict";var r=function(){for(var t,e=[],i=0;i<256;i++){t=i;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[i]=t}return e}();e.exports=function(t,e,i,n){var o=r,a=n+i;t^=-1;for(var s=n;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}},{}],46:[function(t,e,i){"use strict";var r,n=t("../utils/common"),o=t("./trees"),a=t("./adler32"),s=t("./crc32"),l=t("./messages"),u=0,h=4,c=0,d=-2,p=-1,g=4,f=2,m=8,_=9,v=286,b=30,y=19,x=2*v+1,w=15,C=3,S=258,k=S+C+1,A=42,T=113,E=1,O=2,P=3,I=4;function L(t,e){return t.msg=l[e],e}function B(t){return(t<<1)-(4<t?9:0)}function R(t){for(var e=t.length;0<=--e;)t[e]=0}function V(t){var e=t.state,i=e.pending;i>t.avail_out&&(i=t.avail_out),0!==i&&(n.arraySet(t.output,e.pending_buf,e.pending_out,i,t.next_out),t.next_out+=i,e.pending_out+=i,t.total_out+=i,t.avail_out-=i,e.pending-=i,0===e.pending&&(e.pending_out=0))}function D(t,e){o._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,V(t.strm)}function z(t,e){t.pending_buf[t.pending++]=e}function M(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function F(t,e){var i,r,n=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-k?t.strstart-(t.w_size-k):0,u=t.window,h=t.w_mask,c=t.prev,d=t.strstart+S,p=u[o+a-1],g=u[o+a];t.prev_length>=t.good_match&&(n>>=2),s>t.lookahead&&(s=t.lookahead);do{if(u[(i=e)+a]===g&&u[i+a-1]===p&&u[i]===u[o]&&u[++i]===u[o+1]){o+=2,i++;do{}while(u[++o]===u[++i]&&u[++o]===u[++i]&&u[++o]===u[++i]&&u[++o]===u[++i]&&u[++o]===u[++i]&&u[++o]===u[++i]&&u[++o]===u[++i]&&u[++o]===u[++i]&&o<d);if(r=S-(d-o),o=d-S,a<r){if(t.match_start=e,s<=(a=r))break;p=u[o+a-1],g=u[o+a]}}}while((e=c[e&h])>l&&0!=--n);return a<=t.lookahead?a:t.lookahead}function N(t){var e,i,r,o,l,u,h,c,d,p,g=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=g+(g-k)){for(n.arraySet(t.window,t.window,g,g,0),t.match_start-=g,t.strstart-=g,t.block_start-=g,e=i=t.hash_size;r=t.head[--e],t.head[e]=g<=r?r-g:0,--i;);for(e=i=g;r=t.prev[--e],t.prev[e]=g<=r?r-g:0,--i;);o+=g}if(0===t.strm.avail_in)break;if(u=t.strm,h=t.window,c=t.strstart+t.lookahead,d=o,p=void 0,p=u.avail_in,d<p&&(p=d),i=0===p?0:(u.avail_in-=p,n.arraySet(h,u.input,u.next_in,p,c),1===u.state.wrap?u.adler=a(u.adler,h,p,c):2===u.state.wrap&&(u.adler=s(u.adler,h,p,c)),u.next_in+=p,u.total_in+=p,p),t.lookahead+=i,t.lookahead+t.insert>=C)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+C-1])&t.hash_mask,t.prev[l&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=l,l++,t.insert--,!(t.lookahead+t.insert<C)););}while(t.lookahead<k&&0!==t.strm.avail_in)}function G(t,e){for(var i,r;;){if(t.lookahead<k){if(N(t),t.lookahead<k&&e===u)return E;if(0===t.lookahead)break}if(i=0,t.lookahead>=C&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+C-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==i&&t.strstart-i<=t.w_size-k&&(t.match_length=F(t,i)),t.match_length>=C)if(r=o._tr_tally(t,t.strstart-t.match_start,t.match_length-C),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=C){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+C-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(D(t,!1),0===t.strm.avail_out))return E}return t.insert=t.strstart<C-1?t.strstart:C-1,e===h?(D(t,!0),0===t.strm.avail_out?P:I):t.last_lit&&(D(t,!1),0===t.strm.avail_out)?E:O}function H(t,e){for(var i,r,n;;){if(t.lookahead<k){if(N(t),t.lookahead<k&&e===u)return E;if(0===t.lookahead)break}if(i=0,t.lookahead>=C&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+C-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=C-1,0!==i&&t.prev_length<t.max_lazy_match&&t.strstart-i<=t.w_size-k&&(t.match_length=F(t,i),t.match_length<=5&&(1===t.strategy||t.match_length===C&&4096<t.strstart-t.match_start)&&(t.match_length=C-1)),t.prev_length>=C&&t.match_length<=t.prev_length){for(n=t.strstart+t.lookahead-C,r=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-C),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=n&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+C-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=C-1,t.strstart++,r&&(D(t,!1),0===t.strm.avail_out))return E}else if(t.match_available){if((r=o._tr_tally(t,0,t.window[t.strstart-1]))&&D(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return E}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<C-1?t.strstart:C-1,e===h?(D(t,!0),0===t.strm.avail_out?P:I):t.last_lit&&(D(t,!1),0===t.strm.avail_out)?E:O}function Z(t,e,i,r,n){this.good_length=t,this.max_lazy=e,this.nice_length=i,this.max_chain=r,this.func=n}function $(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=m,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new n.Buf16(2*x),this.dyn_dtree=new n.Buf16(2*(2*b+1)),this.bl_tree=new n.Buf16(2*(2*y+1)),R(this.dyn_ltree),R(this.dyn_dtree),R(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new n.Buf16(w+1),this.heap=new n.Buf16(2*v+1),R(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new n.Buf16(2*v+1),R(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function X(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=f,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?A:T,t.adler=2===e.wrap?0:1,e.last_flush=u,o._tr_init(e),c):L(t,d)}function Y(t){var e=X(t);return e===c&&function(t){t.window_size=2*t.w_size,R(t.head),t.max_lazy_match=r[t.level].max_lazy,t.good_match=r[t.level].good_length,t.nice_match=r[t.level].nice_length,t.max_chain_length=r[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=C-1,t.match_available=0,t.ins_h=0}(t.state),e}function j(t,e,i,r,o,a){if(!t)return d;var s=1;if(e===p&&(e=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),o<1||_<o||i!==m||r<8||15<r||e<0||9<e||a<0||g<a)return L(t,d);8===r&&(r=9);var l=new $;return(t.state=l).strm=t,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+C-1)/C),l.window=new n.Buf8(2*l.w_size),l.head=new n.Buf16(l.hash_size),l.prev=new n.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new n.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=a,l.method=i,Y(t)}r=[new Z(0,0,0,0,(function(t,e){var i=65535;for(i>t.pending_buf_size-5&&(i=t.pending_buf_size-5);;){if(t.lookahead<=1){if(N(t),0===t.lookahead&&e===u)return E;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+i;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,D(t,!1),0===t.strm.avail_out))return E;if(t.strstart-t.block_start>=t.w_size-k&&(D(t,!1),0===t.strm.avail_out))return E}return t.insert=0,e===h?(D(t,!0),0===t.strm.avail_out?P:I):(t.strstart>t.block_start&&(D(t,!1),t.strm.avail_out),E)})),new Z(4,4,8,4,G),new Z(4,5,16,8,G),new Z(4,6,32,32,G),new Z(4,4,16,16,H),new Z(8,16,32,32,H),new Z(8,16,128,128,H),new Z(8,32,128,256,H),new Z(32,128,258,1024,H),new Z(32,258,258,4096,H)],i.deflateInit=function(t,e){return j(t,e,m,15,8,0)},i.deflateInit2=j,i.deflateReset=Y,i.deflateResetKeep=X,i.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?d:(t.state.gzhead=e,c):d},i.deflate=function(t,e){var i,n,a,l;if(!t||!t.state||5<e||e<0)return t?L(t,d):d;if(n=t.state,!t.output||!t.input&&0!==t.avail_in||666===n.status&&e!==h)return L(t,0===t.avail_out?-5:d);if(n.strm=t,i=n.last_flush,n.last_flush=e,n.status===A)if(2===n.wrap)t.adler=0,z(n,31),z(n,139),z(n,8),n.gzhead?(z(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),z(n,255&n.gzhead.time),z(n,n.gzhead.time>>8&255),z(n,n.gzhead.time>>16&255),z(n,n.gzhead.time>>24&255),z(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),z(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(z(n,255&n.gzhead.extra.length),z(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=s(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(z(n,0),z(n,0),z(n,0),z(n,0),z(n,0),z(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),z(n,3),n.status=T);else{var p=m+(n.w_bits-8<<4)<<8;p|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(p|=32),p+=31-p%31,n.status=T,M(n,p),0!==n.strstart&&(M(n,t.adler>>>16),M(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=s(t.adler,n.pending_buf,n.pending-a,a)),V(t),a=n.pending,n.pending!==n.pending_buf_size));)z(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=s(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=s(t.adler,n.pending_buf,n.pending-a,a)),V(t),a=n.pending,n.pending===n.pending_buf_size)){l=1;break}l=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,z(n,l)}while(0!==l);n.gzhead.hcrc&&n.pending>a&&(t.adler=s(t.adler,n.pending_buf,n.pending-a,a)),0===l&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=s(t.adler,n.pending_buf,n.pending-a,a)),V(t),a=n.pending,n.pending===n.pending_buf_size)){l=1;break}l=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,z(n,l)}while(0!==l);n.gzhead.hcrc&&n.pending>a&&(t.adler=s(t.adler,n.pending_buf,n.pending-a,a)),0===l&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&V(t),n.pending+2<=n.pending_buf_size&&(z(n,255&t.adler),z(n,t.adler>>8&255),t.adler=0,n.status=T)):n.status=T),0!==n.pending){if(V(t),0===t.avail_out)return n.last_flush=-1,c}else if(0===t.avail_in&&B(e)<=B(i)&&e!==h)return L(t,-5);if(666===n.status&&0!==t.avail_in)return L(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==u&&666!==n.status){var g=2===n.strategy?function(t,e){for(var i;;){if(0===t.lookahead&&(N(t),0===t.lookahead)){if(e===u)return E;break}if(t.match_length=0,i=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,i&&(D(t,!1),0===t.strm.avail_out))return E}return t.insert=0,e===h?(D(t,!0),0===t.strm.avail_out?P:I):t.last_lit&&(D(t,!1),0===t.strm.avail_out)?E:O}(n,e):3===n.strategy?function(t,e){for(var i,r,n,a,s=t.window;;){if(t.lookahead<=S){if(N(t),t.lookahead<=S&&e===u)return E;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=C&&0<t.strstart&&(r=s[n=t.strstart-1])===s[++n]&&r===s[++n]&&r===s[++n]){a=t.strstart+S;do{}while(r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&r===s[++n]&&n<a);t.match_length=S-(a-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=C?(i=o._tr_tally(t,1,t.match_length-C),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(i=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),i&&(D(t,!1),0===t.strm.avail_out))return E}return t.insert=0,e===h?(D(t,!0),0===t.strm.avail_out?P:I):t.last_lit&&(D(t,!1),0===t.strm.avail_out)?E:O}(n,e):r[n.level].func(n,e);if(g!==P&&g!==I||(n.status=666),g===E||g===P)return 0===t.avail_out&&(n.last_flush=-1),c;if(g===O&&(1===e?o._tr_align(n):5!==e&&(o._tr_stored_block(n,0,0,!1),3===e&&(R(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),V(t),0===t.avail_out))return n.last_flush=-1,c}return e!==h?c:n.wrap<=0?1:(2===n.wrap?(z(n,255&t.adler),z(n,t.adler>>8&255),z(n,t.adler>>16&255),z(n,t.adler>>24&255),z(n,255&t.total_in),z(n,t.total_in>>8&255),z(n,t.total_in>>16&255),z(n,t.total_in>>24&255)):(M(n,t.adler>>>16),M(n,65535&t.adler)),V(t),0<n.wrap&&(n.wrap=-n.wrap),0!==n.pending?c:1)},i.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==A&&69!==e&&73!==e&&91!==e&&103!==e&&e!==T&&666!==e?L(t,d):(t.state=null,e===T?L(t,-3):c):d},i.deflateSetDictionary=function(t,e){var i,r,o,s,l,u,h,p,g=e.length;if(!t||!t.state)return d;if(2===(s=(i=t.state).wrap)||1===s&&i.status!==A||i.lookahead)return d;for(1===s&&(t.adler=a(t.adler,e,g,0)),i.wrap=0,g>=i.w_size&&(0===s&&(R(i.head),i.strstart=0,i.block_start=0,i.insert=0),p=new n.Buf8(i.w_size),n.arraySet(p,e,g-i.w_size,i.w_size,0),e=p,g=i.w_size),l=t.avail_in,u=t.next_in,h=t.input,t.avail_in=g,t.next_in=0,t.input=e,N(i);i.lookahead>=C;){for(r=i.strstart,o=i.lookahead-(C-1);i.ins_h=(i.ins_h<<i.hash_shift^i.window[r+C-1])&i.hash_mask,i.prev[r&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=r,r++,--o;);i.strstart=r,i.lookahead=C-1,N(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=C-1,i.match_available=0,t.next_in=u,t.input=h,t.avail_in=l,i.wrap=s,c},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,i){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,e,i){"use strict";e.exports=function(t,e){var i,r,n,o,a,s,l,u,h,c,d,p,g,f,m,_,v,b,y,x,w,C,S,k,A;i=t.state,r=t.next_in,k=t.input,n=r+(t.avail_in-5),o=t.next_out,A=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),l=i.dmax,u=i.wsize,h=i.whave,c=i.wnext,d=i.window,p=i.hold,g=i.bits,f=i.lencode,m=i.distcode,_=(1<<i.lenbits)-1,v=(1<<i.distbits)-1;t:do{g<15&&(p+=k[r++]<<g,g+=8,p+=k[r++]<<g,g+=8),b=f[p&_];e:for(;;){if(p>>>=y=b>>>24,g-=y,0===(y=b>>>16&255))A[o++]=65535&b;else{if(!(16&y)){if(0==(64&y)){b=f[(65535&b)+(p&(1<<y)-1)];continue e}if(32&y){i.mode=12;break t}t.msg="invalid literal/length code",i.mode=30;break t}x=65535&b,(y&=15)&&(g<y&&(p+=k[r++]<<g,g+=8),x+=p&(1<<y)-1,p>>>=y,g-=y),g<15&&(p+=k[r++]<<g,g+=8,p+=k[r++]<<g,g+=8),b=m[p&v];i:for(;;){if(p>>>=y=b>>>24,g-=y,!(16&(y=b>>>16&255))){if(0==(64&y)){b=m[(65535&b)+(p&(1<<y)-1)];continue i}t.msg="invalid distance code",i.mode=30;break t}if(w=65535&b,g<(y&=15)&&(p+=k[r++]<<g,(g+=8)<y&&(p+=k[r++]<<g,g+=8)),l<(w+=p&(1<<y)-1)){t.msg="invalid distance too far back",i.mode=30;break t}if(p>>>=y,g-=y,(y=o-a)<w){if(h<(y=w-y)&&i.sane){t.msg="invalid distance too far back",i.mode=30;break t}if(S=d,(C=0)===c){if(C+=u-y,y<x){for(x-=y;A[o++]=d[C++],--y;);C=o-w,S=A}}else if(c<y){if(C+=u+c-y,(y-=c)<x){for(x-=y;A[o++]=d[C++],--y;);if(C=0,c<x){for(x-=y=c;A[o++]=d[C++],--y;);C=o-w,S=A}}}else if(C+=c-y,y<x){for(x-=y;A[o++]=d[C++],--y;);C=o-w,S=A}for(;2<x;)A[o++]=S[C++],A[o++]=S[C++],A[o++]=S[C++],x-=3;x&&(A[o++]=S[C++],1<x&&(A[o++]=S[C++]))}else{for(C=o-w;A[o++]=A[C++],A[o++]=A[C++],A[o++]=A[C++],2<(x-=3););x&&(A[o++]=A[C++],1<x&&(A[o++]=A[C++]))}break}}break}}while(r<n&&o<s);r-=x=g>>3,p&=(1<<(g-=x<<3))-1,t.next_in=r,t.next_out=o,t.avail_in=r<n?n-r+5:5-(r-n),t.avail_out=o<s?s-o+257:257-(o-s),i.hold=p,i.bits=g}},{}],49:[function(t,e,i){"use strict";var r=t("../utils/common"),n=t("./adler32"),o=t("./crc32"),a=t("./inffast"),s=t("./inftrees"),l=1,u=2,h=0,c=-2,d=1,p=852,g=592;function f(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function m(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=d,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new r.Buf32(p),e.distcode=e.distdyn=new r.Buf32(g),e.sane=1,e.back=-1,h):c}function v(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,_(t)):c}function b(t,e){var i,r;return t&&t.state?(r=t.state,e<0?(i=0,e=-e):(i=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15<e)?c:(null!==r.window&&r.wbits!==e&&(r.window=null),r.wrap=i,r.wbits=e,v(t))):c}function y(t,e){var i,r;return t?(r=new m,(t.state=r).window=null,(i=b(t,e))!==h&&(t.state=null),i):c}var x,w,C=!0;function S(t){if(C){var e;for(x=new r.Buf32(512),w=new r.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(l,t.lens,0,288,x,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(u,t.lens,0,32,w,0,t.work,{bits:5}),C=!1}t.lencode=x,t.lenbits=9,t.distcode=w,t.distbits=5}function k(t,e,i,n){var o,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),n>=a.wsize?(r.arraySet(a.window,e,i-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(n<(o=a.wsize-a.wnext)&&(o=n),r.arraySet(a.window,e,i-n,o,a.wnext),(n-=o)?(r.arraySet(a.window,e,i-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}i.inflateReset=v,i.inflateReset2=b,i.inflateResetKeep=_,i.inflateInit=function(t){return y(t,15)},i.inflateInit2=y,i.inflate=function(t,e){var i,p,g,m,_,v,b,y,x,w,C,A,T,E,O,P,I,L,B,R,V,D,z,M,F=0,N=new r.Buf8(4),G=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return c;12===(i=t.state).mode&&(i.mode=13),_=t.next_out,g=t.output,b=t.avail_out,m=t.next_in,p=t.input,v=t.avail_in,y=i.hold,x=i.bits,w=v,C=b,D=h;t:for(;;)switch(i.mode){case d:if(0===i.wrap){i.mode=13;break}for(;x<16;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}if(2&i.wrap&&35615===y){N[i.check=0]=255&y,N[1]=y>>>8&255,i.check=o(i.check,N,2,0),x=y=0,i.mode=2;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&y)<<8)+(y>>8))%31){t.msg="incorrect header check",i.mode=30;break}if(8!=(15&y)){t.msg="unknown compression method",i.mode=30;break}if(x-=4,V=8+(15&(y>>>=4)),0===i.wbits)i.wbits=V;else if(V>i.wbits){t.msg="invalid window size",i.mode=30;break}i.dmax=1<<V,t.adler=i.check=1,i.mode=512&y?10:12,x=y=0;break;case 2:for(;x<16;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}if(i.flags=y,8!=(255&i.flags)){t.msg="unknown compression method",i.mode=30;break}if(57344&i.flags){t.msg="unknown header flags set",i.mode=30;break}i.head&&(i.head.text=y>>8&1),512&i.flags&&(N[0]=255&y,N[1]=y>>>8&255,i.check=o(i.check,N,2,0)),x=y=0,i.mode=3;case 3:for(;x<32;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}i.head&&(i.head.time=y),512&i.flags&&(N[0]=255&y,N[1]=y>>>8&255,N[2]=y>>>16&255,N[3]=y>>>24&255,i.check=o(i.check,N,4,0)),x=y=0,i.mode=4;case 4:for(;x<16;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}i.head&&(i.head.xflags=255&y,i.head.os=y>>8),512&i.flags&&(N[0]=255&y,N[1]=y>>>8&255,i.check=o(i.check,N,2,0)),x=y=0,i.mode=5;case 5:if(1024&i.flags){for(;x<16;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}i.length=y,i.head&&(i.head.extra_len=y),512&i.flags&&(N[0]=255&y,N[1]=y>>>8&255,i.check=o(i.check,N,2,0)),x=y=0}else i.head&&(i.head.extra=null);i.mode=6;case 6:if(1024&i.flags&&(v<(A=i.length)&&(A=v),A&&(i.head&&(V=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),r.arraySet(i.head.extra,p,m,A,V)),512&i.flags&&(i.check=o(i.check,p,A,m)),v-=A,m+=A,i.length-=A),i.length))break t;i.length=0,i.mode=7;case 7:if(2048&i.flags){if(0===v)break t;for(A=0;V=p[m+A++],i.head&&V&&i.length<65536&&(i.head.name+=String.fromCharCode(V)),V&&A<v;);if(512&i.flags&&(i.check=o(i.check,p,A,m)),v-=A,m+=A,V)break t}else i.head&&(i.head.name=null);i.length=0,i.mode=8;case 8:if(4096&i.flags){if(0===v)break t;for(A=0;V=p[m+A++],i.head&&V&&i.length<65536&&(i.head.comment+=String.fromCharCode(V)),V&&A<v;);if(512&i.flags&&(i.check=o(i.check,p,A,m)),v-=A,m+=A,V)break t}else i.head&&(i.head.comment=null);i.mode=9;case 9:if(512&i.flags){for(;x<16;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}if(y!==(65535&i.check)){t.msg="header crc mismatch",i.mode=30;break}x=y=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),t.adler=i.check=0,i.mode=12;break;case 10:for(;x<32;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}t.adler=i.check=f(y),x=y=0,i.mode=11;case 11:if(0===i.havedict)return t.next_out=_,t.avail_out=b,t.next_in=m,t.avail_in=v,i.hold=y,i.bits=x,2;t.adler=i.check=1,i.mode=12;case 12:if(5===e||6===e)break t;case 13:if(i.last){y>>>=7&x,x-=7&x,i.mode=27;break}for(;x<3;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}switch(i.last=1&y,x-=1,3&(y>>>=1)){case 0:i.mode=14;break;case 1:if(S(i),i.mode=20,6!==e)break;y>>>=2,x-=2;break t;case 2:i.mode=17;break;case 3:t.msg="invalid block type",i.mode=30}y>>>=2,x-=2;break;case 14:for(y>>>=7&x,x-=7&x;x<32;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}if((65535&y)!=(y>>>16^65535)){t.msg="invalid stored block lengths",i.mode=30;break}if(i.length=65535&y,x=y=0,i.mode=15,6===e)break t;case 15:i.mode=16;case 16:if(A=i.length){if(v<A&&(A=v),b<A&&(A=b),0===A)break t;r.arraySet(g,p,m,A,_),v-=A,m+=A,b-=A,_+=A,i.length-=A;break}i.mode=12;break;case 17:for(;x<14;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}if(i.nlen=257+(31&y),y>>>=5,x-=5,i.ndist=1+(31&y),y>>>=5,x-=5,i.ncode=4+(15&y),y>>>=4,x-=4,286<i.nlen||30<i.ndist){t.msg="too many length or distance symbols",i.mode=30;break}i.have=0,i.mode=18;case 18:for(;i.have<i.ncode;){for(;x<3;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}i.lens[G[i.have++]]=7&y,y>>>=3,x-=3}for(;i.have<19;)i.lens[G[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,z={bits:i.lenbits},D=s(0,i.lens,0,19,i.lencode,0,i.work,z),i.lenbits=z.bits,D){t.msg="invalid code lengths set",i.mode=30;break}i.have=0,i.mode=19;case 19:for(;i.have<i.nlen+i.ndist;){for(;P=(F=i.lencode[y&(1<<i.lenbits)-1])>>>16&255,I=65535&F,!((O=F>>>24)<=x);){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}if(I<16)y>>>=O,x-=O,i.lens[i.have++]=I;else{if(16===I){for(M=O+2;x<M;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}if(y>>>=O,x-=O,0===i.have){t.msg="invalid bit length repeat",i.mode=30;break}V=i.lens[i.have-1],A=3+(3&y),y>>>=2,x-=2}else if(17===I){for(M=O+3;x<M;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}x-=O,V=0,A=3+(7&(y>>>=O)),y>>>=3,x-=3}else{for(M=O+7;x<M;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}x-=O,V=0,A=11+(127&(y>>>=O)),y>>>=7,x-=7}if(i.have+A>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=30;break}for(;A--;)i.lens[i.have++]=V}}if(30===i.mode)break;if(0===i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=30;break}if(i.lenbits=9,z={bits:i.lenbits},D=s(l,i.lens,0,i.nlen,i.lencode,0,i.work,z),i.lenbits=z.bits,D){t.msg="invalid literal/lengths set",i.mode=30;break}if(i.distbits=6,i.distcode=i.distdyn,z={bits:i.distbits},D=s(u,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,z),i.distbits=z.bits,D){t.msg="invalid distances set",i.mode=30;break}if(i.mode=20,6===e)break t;case 20:i.mode=21;case 21:if(6<=v&&258<=b){t.next_out=_,t.avail_out=b,t.next_in=m,t.avail_in=v,i.hold=y,i.bits=x,a(t,C),_=t.next_out,g=t.output,b=t.avail_out,m=t.next_in,p=t.input,v=t.avail_in,y=i.hold,x=i.bits,12===i.mode&&(i.back=-1);break}for(i.back=0;P=(F=i.lencode[y&(1<<i.lenbits)-1])>>>16&255,I=65535&F,!((O=F>>>24)<=x);){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}if(P&&0==(240&P)){for(L=O,B=P,R=I;P=(F=i.lencode[R+((y&(1<<L+B)-1)>>L)])>>>16&255,I=65535&F,!(L+(O=F>>>24)<=x);){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}y>>>=L,x-=L,i.back+=L}if(y>>>=O,x-=O,i.back+=O,i.length=I,0===P){i.mode=26;break}if(32&P){i.back=-1,i.mode=12;break}if(64&P){t.msg="invalid literal/length code",i.mode=30;break}i.extra=15&P,i.mode=22;case 22:if(i.extra){for(M=i.extra;x<M;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}i.length+=y&(1<<i.extra)-1,y>>>=i.extra,x-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=23;case 23:for(;P=(F=i.distcode[y&(1<<i.distbits)-1])>>>16&255,I=65535&F,!((O=F>>>24)<=x);){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}if(0==(240&P)){for(L=O,B=P,R=I;P=(F=i.distcode[R+((y&(1<<L+B)-1)>>L)])>>>16&255,I=65535&F,!(L+(O=F>>>24)<=x);){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}y>>>=L,x-=L,i.back+=L}if(y>>>=O,x-=O,i.back+=O,64&P){t.msg="invalid distance code",i.mode=30;break}i.offset=I,i.extra=15&P,i.mode=24;case 24:if(i.extra){for(M=i.extra;x<M;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}i.offset+=y&(1<<i.extra)-1,y>>>=i.extra,x-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){t.msg="invalid distance too far back",i.mode=30;break}i.mode=25;case 25:if(0===b)break t;if(A=C-b,i.offset>A){if((A=i.offset-A)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=30;break}T=A>i.wnext?(A-=i.wnext,i.wsize-A):i.wnext-A,A>i.length&&(A=i.length),E=i.window}else E=g,T=_-i.offset,A=i.length;for(b<A&&(A=b),b-=A,i.length-=A;g[_++]=E[T++],--A;);0===i.length&&(i.mode=21);break;case 26:if(0===b)break t;g[_++]=i.length,b--,i.mode=21;break;case 27:if(i.wrap){for(;x<32;){if(0===v)break t;v--,y|=p[m++]<<x,x+=8}if(C-=b,t.total_out+=C,i.total+=C,C&&(t.adler=i.check=i.flags?o(i.check,g,C,_-C):n(i.check,g,C,_-C)),C=b,(i.flags?y:f(y))!==i.check){t.msg="incorrect data check",i.mode=30;break}x=y=0}i.mode=28;case 28:if(i.wrap&&i.flags){for(;x<32;){if(0===v)break t;v--,y+=p[m++]<<x,x+=8}if(y!==(4294967295&i.total)){t.msg="incorrect length check",i.mode=30;break}x=y=0}i.mode=29;case 29:D=1;break t;case 30:D=-3;break t;case 31:return-4;case 32:default:return c}return t.next_out=_,t.avail_out=b,t.next_in=m,t.avail_in=v,i.hold=y,i.bits=x,(i.wsize||C!==t.avail_out&&i.mode<30&&(i.mode<27||4!==e))&&k(t,t.output,t.next_out,C-t.avail_out)?(i.mode=31,-4):(w-=t.avail_in,C-=t.avail_out,t.total_in+=w,t.total_out+=C,i.total+=C,i.wrap&&C&&(t.adler=i.check=i.flags?o(i.check,g,C,t.next_out-C):n(i.check,g,C,t.next_out-C)),t.data_type=i.bits+(i.last?64:0)+(12===i.mode?128:0)+(20===i.mode||15===i.mode?256:0),(0==w&&0===C||4===e)&&D===h&&(D=-5),D)},i.inflateEnd=function(t){if(!t||!t.state)return c;var e=t.state;return e.window&&(e.window=null),t.state=null,h},i.inflateGetHeader=function(t,e){var i;return t&&t.state?0==(2&(i=t.state).wrap)?c:((i.head=e).done=!1,h):c},i.inflateSetDictionary=function(t,e){var i,r=e.length;return t&&t.state?0!==(i=t.state).wrap&&11!==i.mode?c:11===i.mode&&n(1,e,r,0)!==i.check?-3:k(t,e,r,r)?(i.mode=31,-4):(i.havedict=1,h):c},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,i){"use strict";var r=t("../utils/common"),n=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,i,l,u,h,c,d){var p,g,f,m,_,v,b,y,x,w=d.bits,C=0,S=0,k=0,A=0,T=0,E=0,O=0,P=0,I=0,L=0,B=null,R=0,V=new r.Buf16(16),D=new r.Buf16(16),z=null,M=0;for(C=0;C<=15;C++)V[C]=0;for(S=0;S<l;S++)V[e[i+S]]++;for(T=w,A=15;1<=A&&0===V[A];A--);if(A<T&&(T=A),0===A)return u[h++]=20971520,u[h++]=20971520,d.bits=1,0;for(k=1;k<A&&0===V[k];k++);for(T<k&&(T=k),C=P=1;C<=15;C++)if(P<<=1,(P-=V[C])<0)return-1;if(0<P&&(0===t||1!==A))return-1;for(D[1]=0,C=1;C<15;C++)D[C+1]=D[C]+V[C];for(S=0;S<l;S++)0!==e[i+S]&&(c[D[e[i+S]]++]=S);if(v=0===t?(B=z=c,19):1===t?(B=n,R-=257,z=o,M-=257,256):(B=a,z=s,-1),C=k,_=h,O=S=L=0,f=-1,m=(I=1<<(E=T))-1,1===t&&852<I||2===t&&592<I)return 1;for(;;){for(b=C-O,x=c[S]<v?(y=0,c[S]):c[S]>v?(y=z[M+c[S]],B[R+c[S]]):(y=96,0),p=1<<C-O,k=g=1<<E;u[_+(L>>O)+(g-=p)]=b<<24|y<<16|x|0,0!==g;);for(p=1<<C-1;L&p;)p>>=1;if(0!==p?(L&=p-1,L+=p):L=0,S++,0==--V[C]){if(C===A)break;C=e[i+c[S]]}if(T<C&&(L&m)!==f){for(0===O&&(O=T),_+=k,P=1<<(E=C-O);E+O<A&&!((P-=V[E+O])<=0);)E++,P<<=1;if(I+=1<<E,1===t&&852<I||2===t&&592<I)return 1;u[f=L&m]=T<<24|E<<16|_-h|0}}return 0!==L&&(u[_+L]=C-O<<24|64<<16|0),d.bits=T,0}},{"../utils/common":41}],51:[function(t,e,i){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,e,i){"use strict";var r=t("../utils/common"),n=0,o=1;function a(t){for(var e=t.length;0<=--e;)t[e]=0}var s=0,l=29,u=256,h=u+1+l,c=30,d=19,p=2*h+1,g=15,f=16,m=7,_=256,v=16,b=17,y=18,x=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],w=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],S=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],k=new Array(2*(h+2));a(k);var A=new Array(2*c);a(A);var T=new Array(512);a(T);var E=new Array(256);a(E);var O=new Array(l);a(O);var P,I,L,B=new Array(c);function R(t,e,i,r,n){this.static_tree=t,this.extra_bits=e,this.extra_base=i,this.elems=r,this.max_length=n,this.has_stree=t&&t.length}function V(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function D(t){return t<256?T[t]:T[256+(t>>>7)]}function z(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function M(t,e,i){t.bi_valid>f-i?(t.bi_buf|=e<<t.bi_valid&65535,z(t,t.bi_buf),t.bi_buf=e>>f-t.bi_valid,t.bi_valid+=i-f):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=i)}function F(t,e,i){M(t,i[2*e],i[2*e+1])}function N(t,e){for(var i=0;i|=1&t,t>>>=1,i<<=1,0<--e;);return i>>>1}function G(t,e,i){var r,n,o=new Array(g+1),a=0;for(r=1;r<=g;r++)o[r]=a=a+i[r-1]<<1;for(n=0;n<=e;n++){var s=t[2*n+1];0!==s&&(t[2*n]=N(o[s]++,s))}}function H(t){var e;for(e=0;e<h;e++)t.dyn_ltree[2*e]=0;for(e=0;e<c;e++)t.dyn_dtree[2*e]=0;for(e=0;e<d;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*_]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function Z(t){8<t.bi_valid?z(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function $(t,e,i,r){var n=2*e,o=2*i;return t[n]<t[o]||t[n]===t[o]&&r[e]<=r[i]}function X(t,e,i){for(var r=t.heap[i],n=i<<1;n<=t.heap_len&&(n<t.heap_len&&$(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!$(e,r,t.heap[n],t.depth));)t.heap[i]=t.heap[n],i=n,n<<=1;t.heap[i]=r}function Y(t,e,i){var r,n,o,a,s=0;if(0!==t.last_lit)for(;r=t.pending_buf[t.d_buf+2*s]<<8|t.pending_buf[t.d_buf+2*s+1],n=t.pending_buf[t.l_buf+s],s++,0===r?F(t,n,e):(F(t,(o=E[n])+u+1,e),0!==(a=x[o])&&M(t,n-=O[o],a),F(t,o=D(--r),i),0!==(a=w[o])&&M(t,r-=B[o],a)),s<t.last_lit;);F(t,_,e)}function j(t,e){var i,r,n,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,l=e.stat_desc.elems,u=-1;for(t.heap_len=0,t.heap_max=p,i=0;i<l;i++)0!==o[2*i]?(t.heap[++t.heap_len]=u=i,t.depth[i]=0):o[2*i+1]=0;for(;t.heap_len<2;)o[2*(n=t.heap[++t.heap_len]=u<2?++u:0)]=1,t.depth[n]=0,t.opt_len--,s&&(t.static_len-=a[2*n+1]);for(e.max_code=u,i=t.heap_len>>1;1<=i;i--)X(t,o,i);for(n=l;i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],X(t,o,1),r=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=r,o[2*n]=o[2*i]+o[2*r],t.depth[n]=(t.depth[i]>=t.depth[r]?t.depth[i]:t.depth[r])+1,o[2*i+1]=o[2*r+1]=n,t.heap[1]=n++,X(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var i,r,n,o,a,s,l=e.dyn_tree,u=e.max_code,h=e.stat_desc.static_tree,c=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,m=e.stat_desc.max_length,_=0;for(o=0;o<=g;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,i=t.heap_max+1;i<p;i++)m<(o=l[2*l[2*(r=t.heap[i])+1]+1]+1)&&(o=m,_++),l[2*r+1]=o,u<r||(t.bl_count[o]++,a=0,f<=r&&(a=d[r-f]),s=l[2*r],t.opt_len+=s*(o+a),c&&(t.static_len+=s*(h[2*r+1]+a)));if(0!==_){do{for(o=m-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[m]--,_-=2}while(0<_);for(o=m;0!==o;o--)for(r=t.bl_count[o];0!==r;)u<(n=t.heap[--i])||(l[2*n+1]!==o&&(t.opt_len+=(o-l[2*n+1])*l[2*n],l[2*n+1]=o),r--)}}(t,e),G(o,u,t.bl_count)}function K(t,e,i){var r,n,o=-1,a=e[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),e[2*(i+1)+1]=65535,r=0;r<=i;r++)n=a,a=e[2*(r+1)+1],++s<l&&n===a||(s<u?t.bl_tree[2*n]+=s:0!==n?(n!==o&&t.bl_tree[2*n]++,t.bl_tree[2*v]++):s<=10?t.bl_tree[2*b]++:t.bl_tree[2*y]++,o=n,u=(s=0)===a?(l=138,3):n===a?(l=6,3):(l=7,4))}function U(t,e,i){var r,n,o=-1,a=e[1],s=0,l=7,u=4;for(0===a&&(l=138,u=3),r=0;r<=i;r++)if(n=a,a=e[2*(r+1)+1],!(++s<l&&n===a)){if(s<u)for(;F(t,n,t.bl_tree),0!=--s;);else 0!==n?(n!==o&&(F(t,n,t.bl_tree),s--),F(t,v,t.bl_tree),M(t,s-3,2)):s<=10?(F(t,b,t.bl_tree),M(t,s-3,3)):(F(t,y,t.bl_tree),M(t,s-11,7));o=n,u=(s=0)===a?(l=138,3):n===a?(l=6,3):(l=7,4)}}a(B);var W=!1;function q(t,e,i,n){M(t,(s<<1)+(n?1:0),3),function(t,e,i,n){Z(t),n&&(z(t,i),z(t,~i)),r.arraySet(t.pending_buf,t.window,e,i,t.pending),t.pending+=i}(t,e,i,!0)}i._tr_init=function(t){W||(function(){var t,e,i,r,n,o=new Array(g+1);for(r=i=0;r<l-1;r++)for(O[r]=i,t=0;t<1<<x[r];t++)E[i++]=r;for(E[i-1]=r,r=n=0;r<16;r++)for(B[r]=n,t=0;t<1<<w[r];t++)T[n++]=r;for(n>>=7;r<c;r++)for(B[r]=n<<7,t=0;t<1<<w[r]-7;t++)T[256+n++]=r;for(e=0;e<=g;e++)o[e]=0;for(t=0;t<=143;)k[2*t+1]=8,t++,o[8]++;for(;t<=255;)k[2*t+1]=9,t++,o[9]++;for(;t<=279;)k[2*t+1]=7,t++,o[7]++;for(;t<=287;)k[2*t+1]=8,t++,o[8]++;for(G(k,h+1,o),t=0;t<c;t++)A[2*t+1]=5,A[2*t]=N(t,5);P=new R(k,x,u+1,h,g),I=new R(A,w,0,c,g),L=new R(new Array(0),C,0,d,m)}(),W=!0),t.l_desc=new V(t.dyn_ltree,P),t.d_desc=new V(t.dyn_dtree,I),t.bl_desc=new V(t.bl_tree,L),t.bi_buf=0,t.bi_valid=0,H(t)},i._tr_stored_block=q,i._tr_flush_block=function(t,e,i,r){var a,s,l=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,i=4093624447;for(e=0;e<=31;e++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*e])return n;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return o;for(e=32;e<u;e++)if(0!==t.dyn_ltree[2*e])return o;return n}(t)),j(t,t.l_desc),j(t,t.d_desc),l=function(t){var e;for(K(t,t.dyn_ltree,t.l_desc.max_code),K(t,t.dyn_dtree,t.d_desc.max_code),j(t,t.bl_desc),e=d-1;3<=e&&0===t.bl_tree[2*S[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=a&&(a=s)):a=s=i+5,i+4<=a&&-1!==e?q(t,e,i,r):4===t.strategy||s===a?(M(t,2+(r?1:0),3),Y(t,k,A)):(M(t,4+(r?1:0),3),function(t,e,i,r){var n;for(M(t,e-257,5),M(t,i-1,5),M(t,r-4,4),n=0;n<r;n++)M(t,t.bl_tree[2*S[n]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,i-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,l+1),Y(t,t.dyn_ltree,t.dyn_dtree)),H(t),r&&Z(t)},i._tr_tally=function(t,e,i){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===e?t.dyn_ltree[2*i]++:(t.matches++,e--,t.dyn_ltree[2*(E[i]+u+1)]++,t.dyn_dtree[2*D(e)]++),t.last_lit===t.lit_bufsize-1},i._tr_align=function(t){M(t,2,3),F(t,_,k),function(t){16===t.bi_valid?(z(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":41}],53:[function(t,e,i){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){(function(t){!function(t,e){"use strict";if(!t.setImmediate){var i,r,n,o,a=1,s={},l=!1,u=t.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(t);h=h&&h.setTimeout?h:t,i="[object process]"==={}.toString.call(t.process)?function(t){process.nextTick((function(){d(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,i=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=i,e}}()?(o="setImmediate$"+Math.random()+"$",t.addEventListener?t.addEventListener("message",p,!1):t.attachEvent("onmessage",p),function(e){t.postMessage(o+e,"*")}):t.MessageChannel?((n=new MessageChannel).port1.onmessage=function(t){d(t.data)},function(t){n.port2.postMessage(t)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,function(t){var e=u.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):function(t){setTimeout(d,0,t)},h.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var n={callback:t,args:e};return s[a]=n,i(a),a++},h.clearImmediate=c}function c(t){delete s[t]}function d(t){if(l)setTimeout(d,0,t);else{var i=s[t];if(i){l=!0;try{!function(t){var i=t.callback,r=t.args;switch(r.length){case 0:i();break;case 1:i(r[0]);break;case 2:i(r[0],r[1]);break;case 3:i(r[0],r[1],r[2]);break;default:i.apply(e,r)}}(i)}finally{c(t),l=!1}}}}function p(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&d(+e.data.slice(o.length))}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,"undefined"!=typeof i.g?i.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)}))},47393:function(){},63486:function(t,e,i){"use strict";i.d(e,{Z:function(){return a}});i(47393);var r=i(42240),n=i(40573),o=i(29022),a=o.Z.extend({name:"v-checkbox",props:{indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},offIcon:{type:String,default:"$checkboxOff"},onIcon:{type:String,default:"$checkboxOn"}},data(){return{inputIndeterminate:this.indeterminate}},computed:{classes(){return{...n.Z.options.computed.classes.call(this),"v-input--selection-controls":!0,"v-input--checkbox":!0,"v-input--indeterminate":this.inputIndeterminate}},computedIcon(){return this.inputIndeterminate?this.indeterminateIcon:this.isActive?this.onIcon:this.offIcon},validationState(){if(!this.isDisabled||this.inputIndeterminate)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0}},watch:{indeterminate(t){this.$nextTick((()=>this.inputIndeterminate=t))},inputIndeterminate(t){this.$emit("update:indeterminate",t)},isActive(){this.indeterminate&&(this.inputIndeterminate=!1)}},methods:{genCheckbox(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(r.Z,this.setTextColor(this.validationState,{props:{dense:this.dense,dark:this.dark,light:this.light}}),this.computedIcon),this.genInput("checkbox",{...e,"aria-checked":this.inputIndeterminate?"mixed":this.isActive.toString()}),this.genRipple(this.setTextColor(this.rippleState))])},genDefaultSlot(){return[this.genCheckbox(),this.genLabel()]}}})},31625:function(t,e,i){"use strict";i.d(e,{Z:function(){return u}});var r=i(17808),n=r.Z,o=i(44127),a=i(75352),s=i(74808),l=i(51767),u=n.extend({name:"v-file-input",model:{prop:"value",event:"change"},props:{chips:Boolean,clearable:{type:Boolean,default:!0},counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},hideInput:Boolean,multiple:Boolean,placeholder:String,prependIcon:{type:String,default:"$file"},readonly:{type:Boolean,default:!1},showSize:{type:[Boolean,Number],default:!1,validator:t=>"boolean"===typeof t||[1e3,1024].includes(t)},smallChips:Boolean,truncateLength:{type:[Number,String],default:22},type:{type:String,default:"file"},value:{default:void 0,validator:t=>(0,a.TI)(t).every((t=>null!=t&&"object"===typeof t))}},computed:{classes(){return{...n.options.computed.classes.call(this),"v-file-input":!0}},computedCounterValue(){const t=this.multiple&&this.lazyValue?this.lazyValue.length:this.lazyValue instanceof File?1:0;if(!this.showSize)return this.$vuetify.lang.t(this.counterString,t);const e=this.internalArrayValue.reduce(((t,{size:e=0})=>t+e),0);return this.$vuetify.lang.t(this.counterSizeString,t,(0,a.XE)(e,1024===this.base))},internalArrayValue(){return(0,a.TI)(this.internalValue)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("change",this.lazyValue)}},isDirty(){return this.internalArrayValue.length>0},isLabelActive(){return this.isDirty},text(){return this.isDirty||!this.persistentPlaceholder&&!this.isFocused&&this.hasLabel?this.internalArrayValue.map((t=>{const{name:e="",size:i=0}=t,r=this.truncateText(e);return this.showSize?`${r} (${(0,a.XE)(i,1024===this.base)})`:r})):[this.placeholder]},base(){return"boolean"!==typeof this.showSize?this.showSize:void 0},hasChips(){return this.chips||this.smallChips}},watch:{readonly:{handler(t){!0===t&&(0,s.N6)("readonly is not supported on <v-file-input>",this)},immediate:!0},value(t){const e=this.multiple?t:t?[t]:[];(0,a.vZ)(e,this.$refs.input.files)||(this.$refs.input.value="")}},methods:{clearableCallback(){this.internalValue=this.multiple?[]:null,this.$refs.input.value=""},genChips(){return this.isDirty?this.text.map(((t,e)=>this.$createElement(o.Z,{props:{small:this.smallChips},on:{"click:close":()=>{const t=this.internalValue;t.splice(e,1),this.internalValue=t}}},[t]))):[]},genControl(){const t=n.options.methods.genControl.call(this);return this.hideInput&&(t.data.style=(0,l.y0)(t.data.style,{display:"none"})),t},genInput(){const t=n.options.methods.genInput.call(this);return t.data.attrs.multiple=this.multiple,delete t.data.domProps.value,delete t.data.on.input,t.data.on.change=this.onInput,[this.genSelections(),t]},genPrependSlot(){if(!this.prependIcon)return null;const t=this.genIcon("prepend",(()=>{this.$refs.input.click()}));return this.genSlot("prepend","outer",[t])},genSelectionText(){const t=this.text.length;return t<2?this.text:this.showSize&&!this.counter?[this.computedCounterValue]:[this.$vuetify.lang.t(this.counterString,t)]},genSelections(){const t=[];return this.isDirty&&this.$scopedSlots.selection?this.internalArrayValue.forEach(((e,i)=>{this.$scopedSlots.selection&&t.push(this.$scopedSlots.selection({text:this.text[i],file:e,index:i}))})):t.push(this.hasChips&&this.isDirty?this.genChips():this.genSelectionText()),this.$createElement("div",{staticClass:"v-file-input__text",class:{"v-file-input__text--placeholder":this.placeholder&&!this.isDirty,"v-file-input__text--chips":this.hasChips&&!this.$scopedSlots.selection}},t)},genTextFieldSlot(){const t=n.options.methods.genTextFieldSlot.call(this);return t.data.on={...t.data.on||{},click:t=>{t.target&&"LABEL"===t.target.nodeName||this.$refs.input.click()}},t},onInput(t){const e=[...t.target.files||[]];this.internalValue=this.multiple?e:e[0],this.initialValue=this.internalValue},onKeyDown(t){this.$emit("keydown",t)},truncateText(t){if(t.length<Number(this.truncateLength))return t;const e=Math.floor((Number(this.truncateLength)-1)/2);return`${t.slice(0,e)}…${t.slice(t.length-e)}`}}})},29022:function(t,e,i){"use strict";i.d(e,{X:function(){return s}});var r=i(40573),n=i(7550),o=i(26174),a=i(67678);function s(t){t.preventDefault()}e["Z"]=(0,a.Z)(r.Z,n.Z,o.Z).extend({name:"selectable",model:{prop:"inputValue",event:"change"},props:{id:String,inputValue:null,falseValue:null,trueValue:null,multiple:{type:Boolean,default:null},label:String},data(){return{hasColor:this.inputValue,lazyValue:this.inputValue}},computed:{computedColor(){if(this.isActive)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},isMultiple(){return!0===this.multiple||null===this.multiple&&Array.isArray(this.internalValue)},isActive(){const t=this.value,e=this.internalValue;return this.isMultiple?!!Array.isArray(e)&&e.some((e=>this.valueComparator(e,t))):void 0===this.trueValue||void 0===this.falseValue?t?this.valueComparator(t,e):Boolean(e):this.valueComparator(e,this.trueValue)},isDirty(){return this.isActive},rippleState(){return this.isDisabled||this.validationState?this.validationState:void 0}},watch:{inputValue(t){this.lazyValue=t,this.hasColor=t}},methods:{genLabel(){const t=r.Z.options.methods.genLabel.call(this);return t?(t.data.on={click:s},t):t},genInput(t,e){return this.$createElement("input",{attrs:Object.assign({"aria-checked":this.isActive.toString(),disabled:this.isDisabled,id:this.computedId,role:t,type:t},e),domProps:{value:this.value,checked:this.isActive},on:{blur:this.onBlur,change:this.onChange,focus:this.onFocus,keydown:this.onKeydown,click:s},ref:"input"})},onClick(t){this.onChange(),this.$emit("click",t)},onChange(){if(!this.isInteractive)return;const t=this.value;let e=this.internalValue;if(this.isMultiple){Array.isArray(e)||(e=[]);const i=e.length;e=e.filter((e=>!this.valueComparator(e,t))),e.length===i&&e.push(t)}else e=void 0!==this.trueValue&&void 0!==this.falseValue?this.valueComparator(e,this.trueValue)?this.falseValue:this.trueValue:t?this.valueComparator(e,t)?null:t:!e;this.validate(!0,e),this.internalValue=e,this.hasColor=e},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},onBlur(t){this.isFocused=!1,this.$emit("blur",t)},onKeydown(t){}}})},24563:function(t,e,i){"use strict";var r=i(18241),n=i(20629);const o=(0,n._p)("projectstate");e["Z"]={title:"ui",mixins:[r.Z],computed:{...o.mapGetters(["allpersons"]),checkALL(){return!0}},methods:{searchid(t){try{return this.allpersons.find((e=>e.role.id===t)).user.id}catch{return 0}},respons(t){let e=this.searchid(t);if(e>0){let t=this.searchUserFullName(e,this.allpersons);return t}return 0},exhibitor(t){let e=this.allpersons.filter((e=>e.role.id===t));return e}}}},1313:function(t,e){"use strict";e["Z"]={title:"wtaps",data:()=>({show_info:!0}),methods:{deletefile(t){t.length>0?t.forEach((t=>{this.ws.send({action:"deletefile",payload:{id:t.id,filepath:t.filepath}})})):this.ws.send({action:"deletefile",payload:{id:t.id,filepath:t.filepath}})},allCard(){this.show_info=!this.show_info,this.chatview=this.show_info}}}},54417:function(t,e,i){"use strict";i.d(e,{Z:function(){return f}});var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-row",{staticClass:"h-0"},[i("v-col",{staticClass:"flex-col h-100"},[i("DxPieChart",{staticClass:"flex-col h-100",attrs:{id:"pie","data-source":t.data,palette:"Bright",type:"doughnut","inner-radius":.4},on:{"point-click":function(e){return t.pointClickHandler(e)},"legend-click":function(e){return t.legendClickHandler(e)}}},[i("DxTitle",{attrs:{text:t.title,font:{size:18}}}),i("DxSeries",{attrs:{"argument-field":"title","value-field":"percent"}},[i("DxLabel",{attrs:{visible:!0,"customize-text":t.formatLabel,format:"fixedPoint"}},[i("DxConnector",{attrs:{visible:!0,width:.5}})],1),i("DxSmallValuesGrouping",{attrs:{threshold:4.5,mode:"smallValueThreshold"}})],1),i("DxLegend",{attrs:{"horizontal-alignment":"center","vertical-alignment":"bottom"}}),i("DxExport",{attrs:{enabled:!0,"file-name":t.title,"printing-enabled":!1}})],1)],1)],1)},n=[],o=i(90520),a=i.n(o),s={name:"work-pie-chart",components:{DxTitle:o.DxTitle,DxPieChart:a(),DxSeries:o.DxSeries,DxLabel:o.DxLabel,DxConnector:o.DxConnector,DxSmallValuesGrouping:o.DxSmallValuesGrouping,DxLegend:o.DxLegend,DxExport:o.DxExport},props:{title:{type:String,default:""},data:{type:Array,default:()=>[]}},methods:{formatLabel(t){return`${t.argumentText}: ${t.valueText}%`},pointClickHandler(t){this.toggleVisibility(t.target)},legendClickHandler(t){const e=t.target,i=t.component.getAllSeries()[0].getPointsByArg(e)[0];this.toggleVisibility(i)},toggleVisibility(t){t.isVisible()?t.hide():t.show()}}},l=s,u=i(43736),h=i(43453),c=i.n(h),d=i(60266),p=i(11713),g=(0,u.Z)(l,r,n,!1,null,null,null),f=g.exports;c()(g,{VCol:d.Z,VRow:p.Z})},70606:function(t,e,i){"use strict";i.d(e,{Z:function(){return P}});var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("row-pirow",{attrs:{title:"История:"},scopedSlots:t._u([{key:"leftcol",fn:function(){return[t._v(" "+t._s(t.history.slice(0,5).length>0?"":"История отсутсвует")+" ")]},proxy:!0}])}),t.history.slice(0,5).length>0?i("div",[i("v-row",{staticClass:"flex-grow-0 mt-0"},[i("v-col",[i("v-simple-table",{attrs:{dense:""},scopedSlots:t._u([{key:"default",fn:function(){return[i("tbody",t._l(t.history.slice(0,5),(function(e,r){return i("tr",{key:r,staticClass:"pointer",on:{click:function(e){e.stopPropagation(),t.historydetail=!0}}},[i("td",{staticClass:"px-0",attrs:{width:"12%",height:"1%"}},[t._v(" "+t._s(t.momentdatetime(e.new.createdate))+" ")]),0==t.indx?i("td",{attrs:{width:"30%",height:"1%"}},[t._v(" "+t._s(t.factordict[e.new.level])),i("br"),t._v(" "+t._s(e.new.info.name)+" ")]):t._e(),i("td",{attrs:{width:"15%",height:"1%"}},[t._v(" "+t._s(e.new.author.sn)+" ")]),i("td",{attrs:{width:"20%",height:"1%"}},[t._v(" "+t._s(e.new.action.name)+" ")]),i("td",{attrs:{id:"td_history",height:"1%"}},[i("v-textarea",{staticClass:"unip",attrs:{id:"something","background-color":"transparent",readonly:"","hide-details":"","auto-grow":"",rows:"1",solo:"",flat:"",value:e.new.comment}})],1)])})),0)]},proxy:!0}],null,!1,3229652371)})],1)],1)],1):t._e(),i("v-dialog",{model:{value:t.historydetail,callback:function(e){t.historydetail=e},expression:"historydetail"}},[i("v-card",[i("v-card-title",{staticClass:"text-h5"},[t._v(" История "+t._s(t.todo.name)+" ")]),i("v-card-text",t._l(t.history,(function(e){return i("v-row",{key:e.id},[i("v-col",{attrs:{cols:"2"}},[t._v(" "+t._s(t.momentdatetime(e.new.createdate))+" ")]),0==t.indx?i("v-col",[t._v(" "+t._s(t.factordict[e.new.level])+":"),i("br"),i("strong",[t._v(t._s(e.new.info.name))])]):t._e(),i("v-col",[i("span",{staticClass:"pointer",on:{click:function(i){return t.showuserinfo(e.new.author.id)}}},[t._v(t._s(e.new.author.sn))])]),i("v-col",[t._v(" "+t._s(e.new.action.name)+" ")]),i("v-col",t._l(Object.entries(e.new.info),(function(r){var n=r[0],o=r[1];return i("div",{key:n},[["status"].includes(n)&&void 0!=e.old&&o.id!=e.old.info[n].id?i("div",[t._v(t._s(t.dictoffields[n])+":"+t._s(e.old.info[n].name)+" "),i("v-icon",{attrs:{color:"btns","x-small":""}},[t._v("mdi-arrow-right")]),t._v(t._s(o.name))],1):["status"].includes(n)&&void 0==e.old?i("div",[t._v(t._s(t.dictoffields[n])+": "),i("v-icon",{attrs:{color:"btns","x-small":""}},[t._v("mdi-plus")]),t._v(" "+t._s(null==o?"НЕ СУЩЕСТВУЕТ":o.name))],1):["responsible"].includes(n)&&void 0!=e.old&&o.id!=e.old.info[n].id?i("div",[t._v(t._s(t.dictoffields[n])+":"),i("span",{staticClass:"pointer",on:{click:function(i){return t.showuserinfo(e.old.info[n].id)}}},[t._v(t._s(e.old.info[n].sn)+" ")]),i("v-icon",{attrs:{color:"btns","x-small":""}},[t._v("mdi-arrow-right")]),i("span",{staticClass:"pointer",on:{click:function(e){return t.showuserinfo(o.id)}}},[t._v(t._s(o.sn)+" ")])],1):["responsible"].includes(n)&&void 0==e.old?i("div",[t._v(t._s(t.dictoffields[n])+":"),i("v-icon",{attrs:{color:"btns","x-small":""}},[t._v("mdi-plus")]),i("span",{staticClass:"pointer",on:{click:function(e){return t.showuserinfo(o.id)}}},[t._v(t._s(o.sn))])],1):["datestart","dateend"].includes(n)&&void 0!=e.old&&o!=e.old.info[n]?i("div",[t._v(t._s(t.dictoffields[n])+":"+t._s(t.momentedDay(e.old.info[n]))+" "),i("v-icon",{attrs:{color:"btns","x-small":""}},[t._v("mdi-arrow-right")]),t._v(" "+t._s(t.momentedDay(o))+" ")],1):["datestart","dateend"].includes(n)&&void 0==e.old?i("div",[t._v(t._s(t.dictoffields[n])+": "),i("v-icon",{attrs:{color:"btns","x-small":""}},[t._v("mdi-plus")]),t._v(" "+t._s(t.momentedDay(o))+" ")],1):"string"!=typeof o&&"number"!=typeof o||void 0==e.old||o==e.old.info[n]?"string"!=typeof o&&"number"!=typeof o||void 0!=e.old?t._e():i("div",[t._v(t._s(t.dictoffields[n])+": "),i("v-icon",{attrs:{color:"btns","x-small":""}},[t._v("mdi-plus")]),t._v(t._s(o))],1):i("div",[t._v(t._s(t.dictoffields[n])+": "+t._s(e.old.info[n])+" "),i("v-icon",{attrs:{color:"btns","x-small":""}},[t._v("mdi-arrow-right")]),t._v(t._s(o))],1)])})),0),i("v-col",[t._v(" "+t._s(e.new.comment)+" ")])],1)})),1),i("v-card-actions",[i("v-spacer"),i("v-btn",{attrs:{color:"green darken-1",text:""},on:{click:function(e){t.historydetail=!1}}},[t._v(" Закрыть ")])],1)],1)],1)],1)},n=[],o=i(20629),a=i(30381),s=i.n(a),l=i(18241),u=i(67761);const{mapGetters:h}=(0,o._p)("auth"),c=(0,o._p)("workstate"),d=(0,o._p)("taskstate"),p=(0,o._p)("projectstate");var g={name:"history-min-card",mixins:[l.Z],components:{rowPirow:u.Z},props:{level:{type:Number,default:1},indx:{type:Number,default:0}},data(){return{todo:{},historydetail:!1,factordict:["","Проект","Задача","Работа","Поручение"],level_helper:[{},{text:"Проект",store:"getProject"},{text:"Задача",store:"gettasks"},{text:"Работа",store:"getworks"},{text:"Поручение",store:"getworks"}],dictoffields:{longname:"Название",name:"Краткое название",responsible:"Ответственный",datestart:"Начало",dateend:"Окончание",description:"Описание",status:"Статус",filepath:"Загружен",filedel:"Удален",iditit:"Результат",difficult:"Сложность"}}},mounted(){s().locale("ru"),console.log(this.gettasks,"TATATASKS")},computed:{...h(["getUser"]),...c.mapGetters(["getworks"]),...p.mapGetters(["allpersons","getProject"]),...d.mapGetters(["gettasks"]),history(){return 4==this.level?(this.todo=this.getworks.work_assignment[this.indx-1],this.todo.history=this.getworks.history.filter((t=>4==t.level&&t.assignment==this.getworks.work_assignment[this.indx-1].id))):this.todo=this[this.level_helper[this.level].store],this.historydetailer()}},methods:{historydetailer(){let t=[],e=["","project","task","work","assignment"];return this.todo.history.forEach(((i,r)=>{let n={new:i,old:this.todo.history.slice(r+1).find((t=>i.level==t.level&&t[e[t.level]]===i[e[i.level]]))};t.push(n)})),console.log(t,"DETAL"),t},momentdatetime(t){return s()(t).format("HH:mm DD.MM.YYYY")},showuserinfo(t){this.$emit("showuserinfo",t)}}},f=g,m=i(43736),_=i(43453),v=i.n(_),b=i(16190),y=i(34145),x=i(54886),w=i(60266),C=i(34061),S=i(4324),k=i(11713),A=i(9449),T=i(13687),E=i(92648),O=(0,m.Z)(f,r,n,!1,null,null,null),P=O.exports;v()(O,{VBtn:b.Z,VCard:y.Z,VCardActions:x.h7,VCardText:x.ZB,VCardTitle:x.EB,VCol:w.Z,VDialog:C.Z,VIcon:S.Z,VRow:k.Z,VSimpleTable:A.Z,VSpacer:T.Z,VTextarea:E.Z})},55322:function(t,e,i){"use strict";i.d(e,{Z:function(){return v}});var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-menu",{attrs:{"close-on-content-click":!1,"offset-y":"","max-width":"300"},scopedSlots:t._u([{key:"activator",fn:function(e){var r=e.on,n=e.attrs;return[i("div",t._g(t._b({},"div",n,!1),r),[t._t("default")],2)]}}],null,!0),model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}},[i("v-card",{staticClass:"flex-col flex-grow-1 py-3 pb-1 pl-2",attrs:{color:"inyand","elevation-3":""}},t._l(t.daysrok,(function(e,r){return i("v-list",{key:r,attrs:{dense:""}},[i("v-list-item",{attrs:{dense:""}},[i("v-list-item-icon",{staticClass:"mr-2 my-0"},[i("v-icon",{attrs:{color:e.color,dense:""}},[t._v(" mdi-checkbox-blank ")])],1),i("v-list-item-content",{staticClass:"pb-1 pt-0"},[i("v-list-item-title",[t._v(" "+t._s(e.text)+" ")])],1)],1)],1)})),1)],1)},n=[],o={name:"periodInfo",props:{srok:{type:Number,requiered:!0}},data:()=>({menu:!1,prinfo:[]}),computed:{daysrok(){let t="дней";return[2,3,4].includes(this.srok)?t=" дня":[1].includes(this.srok)&&(t=" день"),this.prinfo=[{color:"prliniarelse",text:"до окончания более "+this.srok+" "+t},{color:"prliniar85",text:"до окончания меньше "+this.srok+" "+t},{color:"prliniar100",text:"срок сегодня или просрочено"},{color:"prliniarstop",text:"проект приостановлен"}],this.prinfo}}},a=o,s=i(43736),l=i(43453),u=i.n(l),h=i(34145),c=i(4324),d=i(65808),p=i(54525),g=i(79500),f=i(74611),m=i(44568),_=(0,s.Z)(a,r,n,!1,null,null,null),v=_.exports;u()(_,{VCard:h.Z,VIcon:c.Z,VList:d.Z,VListItem:p.Z,VListItemContent:g.km,VListItemIcon:f.Z,VListItemTitle:g.V9,VMenu:m.Z})},53502:function(t,e,i){"use strict";i.d(e,{Z:function(){return P}});var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"flex-col d-flex flex-grow-1"},[i("v-row",{staticClass:"flex-grow-0 align-center"},[(""+t.statid).includes(t.status)?i("v-col",{staticClass:"py-0",attrs:{id:"fileinput",xl:"6",lg:"6",md:"6"}},[i("v-file-input",{staticClass:"text-caption font-weight-normal inputext",attrs:{dense:"",flat:"","hide-details":"","show-size":1e3,multiple:"",placeholder:"Выберите файлы","prepend-icon":"mdi-paperclip","clear-icon":"mdi-close"},scopedSlots:t._u([{key:"append-outer",fn:function(){return[i("MyIco",{attrs:{disabled:null===t.filesinput||0==t.filesinput.length,icons:"mdi-chevron-double-up"},on:{click:t.uploadfile}})]},proxy:!0}],null,!1,1417477694),model:{value:t.filesinput,callback:function(e){t.filesinput=e},expression:"filesinput"}})],1):t._e(),(""+t.statid).includes(t.status)?i("v-divider",{attrs:{vertical:""}}):t._e(),i("v-col",{staticClass:"flex-grow-0 py-2"},[i("v-icon",{attrs:{color:"btns",dense:""}},[t._v(" mdi-file-multiple ")])],1),i("v-col",{staticClass:"py-1 text-subtitle-2 font-weight-regular"},[t._v(" Всего файлов загружено: "+t._s(t.files.filter((function(e){return"1"==e.visible[t.level-1]&&e[t.levelkey[t.level]].id==t.currentid})).length)+" ")])],1),i("v-row",{staticClass:"flex-grow-0 sticky px-2"},[i("v-col",{staticClass:"flex-col d-flex pa-0"},[i("v-divider")],1)],1),i("v-row",{staticClass:"overflow-auto h-0"},[i("v-col",{staticClass:"pa-0"},[i("v-list",{staticClass:"py-0",attrs:{dense:""}},t._l(t.files,(function(e,r){return i("div",{key:r,staticClass:"inyand"},["1"!=e.visible[t.level-1]&&e.sender.id!=t.getUser.id||!t.filepainter(e)?t._e():i("v-list-item",{staticClass:"pa-0"},[i("v-col",{staticClass:"pb-0 pt-2"},[i("v-list-item-content",{staticClass:"py-0"},[i("v-list-item-title",{staticClass:"pointer",on:{click:function(i){return i.preventDefault(),t.downloadItem(e)}}},[t._v(" "+t._s(t.filename(e.filepath))+" ")]),i("v-list-item-subtitle",[t._v(" "+t._s(t.momentedtime(e.datetime))+" ")])],1)],1),i("v-list-item-action-text",{staticClass:"mx-5 ml-8"},[t._v(" Скачано: "+t._s(e.counter)+" ")]),i("v-list-item-action-text",{staticClass:"ml-0 mr-1"},[t._v(" Загрузил(а): "+t._s(t.reName(e.sender))+" ")]),i("v-list-item-action",{staticClass:"my-0 mr-1"},["1"!=e.visible[t.level-1]&&e.sender.id!=t.getUser.id||!t.filepainter(e)?t._e():i("v-menu",{ref:"filemenu",refInFor:!0,attrs:{"close-on-content-click":!1,absolute:"","offset-y":"","max-width":"300"},scopedSlots:t._u([{key:"activator",fn:function(e){var r=e.on,n=e.attrs;return[i("v-btn",t._g(t._b({attrs:{icon:""}},"v-btn",n,!1),r),[i("v-icon",{attrs:{small:"",color:"greym lighten-1"}},[t._v("mdi-menu")])],1)]}}],null,!0)},[i("v-card",{staticClass:"flex-col d-flex flex-grow-1",attrs:{color:"inyand","elevation-1":""}},[i("div",{staticClass:"d-flex flex-col flex-grow-1"},[i("v-row",[t.getUser.id==e.sender.id?i("v-col",[i("v-list",{staticClass:"pa-0",attrs:{color:"inyand"}},[i("v-list-item",{staticClass:"pl-0 pr-1"},[i("v-list-item-avatar",{staticClass:"mr-1"},[i("v-icon",{attrs:{color:"btns"}},[t._v("mdi-file")])],1),i("v-list-item-content",{staticClass:"pb-0"},[i("v-list-item-title",{staticClass:"caption font-weight-bold"},[t._v(" "+t._s(t.filename(e.filepath))+" ")]),i("v-list-item-subtitle",{staticClass:"caption"},[t._v(" "+t._s(t.reName(e.sender))+" ")]),i("v-list-item-subtitle",{staticClass:"caption"},[t._v(" "+t._s(t.momentedtime(e.datetime))+" ")])],1),i("v-list-item-action",{staticClass:"align-self-end mb-0"},[i("v-icon",{attrs:{color:"btns",small:""},on:{click:function(i){return t.deleter(e)}}},[t._v(" mdi-delete ")])],1)],1)],1)],1):t._e()],1),i("v-row",{staticClass:"ma-1 pa-1 main_theme"},t._l(e.visible,(function(r,n){return i("v-col",{key:n,staticClass:"caption pa-0",attrs:{xl:"6",lg:"6",md:"6",sm:"6",cols:"6"}},[i("v-row",{staticClass:"pa-2 align-items-center inyand"},[i("v-col",{staticClass:"flex-grow-0 pa-2 "},[i("v-container",{staticClass:"pa-0",attrs:{id:"cheks",fluid:"","hide-details":""}},[i("v-checkbox",{staticClass:"mt-0 pt-0",attrs:{disabled:null===e[t.textlevels[n].field],color:"btns","hide-details":"",dense:"","true-value":"1","false-value":"0"},on:{click:function(i){return t.$emit("VisSwitcher",e)}},model:{value:e.visible[n],callback:function(i){t.$set(e.visible,n,i)},expression:"file.visible[ind]"}})],1)],1),i("v-col",{staticClass:"pa-0"},[i("span",{class:null===e[t.textlevels[n].field]?"disableds--text":""},[t._v(" "+t._s(t.textlevels[n].text)+" ")])])],1)],1)})),1)],1)])],1)],1)],1)],1)})),0)],1)],1),i("v-row",{staticClass:"flex-grow-0 pb-2 px-2"},[i("v-col",{staticClass:"pa-0"},[i("v-divider")],1)],1)],1)},n=[],o=i(45296),a=i(20629),s=i(18241);const{mapGetters:l}=(0,a._p)("auth");var u={name:"filelist",mixins:[s.Z],props:{files:{type:Array,default:()=>[]},level:{type:Number,default:1},status:{type:Number,default:0},currentid:{type:Number,default:0},statid:{type:Array,default:()=>[1,2,3]}},computed:{...l(["getUser"])},data(){return{levelkey:["","project","task","work","assignment"],filesinput:null,textlevels:[{field:"project",text:"В проекте"},{field:"task",text:"В задаче"},{field:"work",text:"В работе"},{field:"assignment",text:"В поручении"}]}},methods:{deleter(t){this.$refs.filemenu.forEach((t=>t.save())),this.$emit("deletefile",t)},async downloadItem(t){let e=await o.be.get("/main/getfile/?id="+t.id);const i=new Blob([e.data]);document.createElement("a");var r=window.URL.createObjectURL(i),n=document.createElement("a");n.href=r,n.download=this.filename(t.filepath),n.click(),n.remove()},uploadfile(){let t=new FormData;this.filesinput.forEach((e=>{t.append("file",e)})),this.filesinput=null,this.$emit("uploadfile",t)},filepainter(t){return console.log(this.currentid,this.level,this.files),null!=t[this.levelkey[this.level]]&&t[this.levelkey[this.level]].id==this.currentid}}},h=u,c=i(43736),d=i(43453),p=i.n(d),g=i(16190),f=i(34145),m=i(63486),_=i(60266),v=i(82118),b=i(99223),y=i(31625),x=i(4324),w=i(65808),C=i(54525),S=i(45187),k=i(79500),A=i(66900),T=i(44568),E=i(11713),O=(0,c.Z)(h,r,n,!1,null,null,null),P=O.exports;p()(O,{VBtn:g.Z,VCard:f.Z,VCheckbox:m.Z,VCol:_.Z,VContainer:v.Z,VDivider:b.Z,VFileInput:y.Z,VIcon:x.Z,VList:w.Z,VListItem:C.Z,VListItemAction:S.Z,VListItemActionText:k.k4,VListItemAvatar:A.Z,VListItemContent:k.km,VListItemSubtitle:k.oZ,VListItemTitle:k.V9,VMenu:T.Z,VRow:E.Z})},87941:function(t,e,i){"use strict";i.d(e,{Z:function(){return $}});var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-row",{staticClass:"overflow-auto overflow-x-hidden h-0 mx-2"},[i("v-col",{staticClass:"pa-1 px-2"},[i("v-list",{attrs:{dense:""}},t._l(t.todo,(function(e,r){return i("div",{key:r,staticClass:"pt-2"},[i("v-list-item",{staticClass:"pl-1 pr-0"},[i("v-list-item-content",{staticClass:"pa-0 colorfont"},[i("v-list-item-title",{staticClass:" text-body-2 pointer",on:{click:function(e){return t.listchangetab(r)}}},[t._v(" "+t._s(e.name)+" ")]),i("v-row",[i("v-col",{staticClass:"pb-0 text-nowrap "},[i("span",{staticClass:"caption pointer",on:{click:function(i){return t.$emit("showuserinfo",e.responsible.id)}}},[t._v(" ("+t._s(e.responsible.sn)+") ")]),i("span",{staticClass:"caption "},[t._v(" "+t._s(e.status.name)+" ")])]),i("v-col",{staticClass:"pb-0 flex-grow-1 text-nowrap"},[i("v-row",{staticClass:"mr-0 justify-end"},[i("v-col",{staticClass:"gaps flex-grow-0 pt-3 px-0"},[i("v-menu",{attrs:{"min-width":"600px","close-on-content-click":!1,"close-on-click":!1},scopedSlots:t._u([{key:"activator",fn:function(r){var n=r.on,o=r.attrs;return[i("div",t._g(t._b({directives:[{name:"show",rawName:"v-show",value:e.status.id<5,expression:"val.status.id<5"}]},"div",o,!1),n),[i("MyIco",{attrs:{size:"large",color:3!=e.status.id?"paused":"open_icons",icons:3!=e.status.id?"mdi-motion-pause-outline":"mdi-play-speed",tooltip:!0,text_tool:3!=e.status.id?"Приостановить":"Взять в работу"}})],1)]}}],null,!0),model:{value:e.menu,callback:function(i){t.$set(e,"menu",i)},expression:"val.menu"}},[i("DialogNewAssigment",{attrs:{text:3!=e.status.id?"Приостановить ":"Открыть "},scopedSlots:t._u([{key:"textarea",fn:function(){return[i("v-textarea",{staticClass:"py-0 inputext",attrs:{"background-color":"inyand","auto-grow":"",rows:"3",solo:"",flat:"",placeholder:"Комментарий"},model:{value:t.comment,callback:function(e){t.comment=e},expression:"comment"}})]},proxy:!0},{key:"btn2",fn:function(){return[i("BtnsOut",{attrs:{title:3!=e.status.id?"Приостановить":"Открыть",width:160},on:{click:function(i){3!=e.status.id?t.confirmation({elm:e,res:3,text:"Приостановлено"}):t.confirmation({elm:e,res:2,text:"Открыто"})}}})]},proxy:!0}],null,!0)})],1)],1),i("v-col",{directives:[{name:"show",rawName:"v-show",value:[4,5].includes(e.status.id),expression:"[4,5].includes(val.status.id)"}],staticClass:" flex-grow-0 px-0 pl-1"},[i("v-menu",{staticClass:"menu2",attrs:{"min-width":"1400px","close-on-click":!1,"close-on-content-click":!1},scopedSlots:t._u([{key:"activator",fn:function(r){var n=r.on,o=r.attrs;return[i("div",t._g(t._b({directives:[{name:"show",rawName:"v-show",value:[4,5].includes(e.status.id),expression:"[4,5].includes(val.status.id)"}]},"div",o,!1),n),[i("MyIco",{attrs:{size:"large",color:5==e.status.id?"open_icons":"close_icons",icons:5==e.status.id?"mdi-progress-check":"mdi-progress-question",tooltip:!0,text_tool:5==e.status.id?"Выполнено":"Утвердить/отклонить"}})],1)]}}],null,!0),model:{value:e.action_confirm,callback:function(i){t.$set(e,"action_confirm",i)},expression:"val.action_confirm"}},[i("DialogNewAssigment",{attrs:{min_height:500},scopedSlots:t._u([{key:"texts",fn:function(){return[i("div",{staticClass:"d-flex justify-space-between"},[i("span",[t._v(t._s(e.name))]),i("v-icon",{on:{click:function(t){e.action_confirm=!1}}},[t._v(" mdi-close ")])],1)]},proxy:!0},{key:"textarea",fn:function(){return[i("v-row",{staticClass:"flex-grow-1 "},[i("v-col",{staticClass:"d-flex flex-col"},[i("v-row",{staticClass:"flex-grow-0"},[i("v-col",{staticClass:"py-0"},[t._v(" Комментарий исполнителю ")])],1),i("v-row",[i("v-col",{staticClass:"py-0 d-flex flex-col"},[i("v-textarea",{staticClass:"py-0 inputext flex-grow-1",attrs:{"background-color":"inyand","auto-grow":"",solo:"",placeholder:"Введите текст"},model:{value:t.comment,callback:function(e){t.comment=e},expression:"comment"}})],1)],1),i("v-row",{staticClass:"flex-grow-0"},[i("v-col",{staticClass:"py-0"},[i("span",[t._v("Комментарий для отчетности")])]),i("v-col",{staticClass:"py-0 flex-grow-0 text-nowrap"},[i("v-checkbox",{staticClass:"ma-0",attrs:{"hide-details":"",label:"Отправлять"},model:{value:t.send_up,callback:function(e){t.send_up=e},expression:"send_up"}})],1)],1),i("v-row",[i("v-col",{staticClass:"py-0"},[i("v-textarea",{staticClass:"py-0 inputext",attrs:{"background-color":"inyand","auto-grow":"",solo:"",placeholder:"Введите текст"},model:{value:t.comment_up,callback:function(e){t.comment_up=e},expression:"comment_up"}})],1)],1),i("v-row",{staticClass:"flex-grow-0"},[i("v-col",{},[i("v-row",{staticClass:"flex-grow-0"},[i("v-col",{},[i("span",{staticClass:"caption text--secondary"},[t._v(t._s(t.level_helper[t.level].r_text))]),i("br"),i("span",{staticClass:"pt-4 pointer",on:{click:function(i){return t.$emit("showuserinfo",e.responsible.id)}}},[t._v(" "+t._s(e.responsible.sn)+" "+t._s(e.responsible.givenName)+" ")])]),i("v-col",{staticClass:"flex-grow-0 text-nowrap"},[i("span",{staticClass:"caption text--secondary"},[t._v("Оцените")]),i("v-rating",{attrs:{color:"warning","empty-icon":"mdi-star-outline","full-icon":"mdi-star","half-icon":"mdi-star-half-full",hover:"",length:"5",size:"18"},model:{value:t.r_rating,callback:function(e){t.r_rating=e},expression:"r_rating"}})],1)],1)],1)],1)],1),i("v-col",{staticClass:"flex-col d-flex"},[i("v-row",{staticClass:"flex-grow-1 h-0 overflow-auto overflow-x"},[i("v-col",[i("v-timeline",t._l(t.history(e.id),(function(e){return i("v-timeline-item",{key:e.id,attrs:{large:""},scopedSlots:t._u([{key:"icon",fn:function(){return[i("v-avatar",[i("img",{attrs:{src:"http://"+t.serverurl+e.author.avatar}})])]},proxy:!0},{key:"opposite",fn:function(){return[i("span",{staticClass:"pointer",on:{click:function(i){return t.$emit("showuserinfo",e.author.id)}}},[t._v(t._s(e.author.sn))])]},proxy:!0}],null,!0)},[i("div",{staticClass:"caption text--disabled "},[t._v("Создано:"+t._s(t.momentedtime(e.createdate)))]),i("v-card",{staticClass:"elevation-2"},[i("v-card-text",{staticClass:"pb-0"},[!Object.is(e.comment,null)&&e.comment.length>0?i("p",[t._v(t._s(e.comment))]):t._e(),i("span",{staticClass:"caption text--secondary"},[t._v(t._s(e.action.name)+"->"+t._s(e.info.status.name))])])],1)],1)})),1)],1)],1)],1)],1)]},proxy:!0},{key:"btn1",fn:function(){return[i("BtnsOut",{attrs:{title:"Отклонить"},on:{click:function(i){return t.confirmation({elm:e,res:2,text:"Отклонена"})}}})]},proxy:!0},{key:"btn2",fn:function(){return[i("BtnsOut",{attrs:{title:"Принять"},on:{click:function(i){return t.confirmation({elm:e,res:5,text:"Принята"})}}})]},proxy:!0}],null,!0)})],1)],1)],1)],1)],1),i("v-row",{staticClass:"mt-0 mb-1"},[i("v-progress-linear",{attrs:{value:t.calcdays(e.datestart,e.dateend,e.status,3,5).progress,color:t.calcdays(e.datestart,e.dateend,e.status,3,5).color}})],1)],1)],1),i("v-divider",{staticClass:"py-0"})],1)})),0)],1)],1)},n=[],o=i(20629),a=i(18241),s=i(30381),l=i.n(s),u=i(24563),h=i(45296),c=i(60441);const{mapGetters:d}=(0,o._p)("auth"),p=(0,o._p)("workstate"),g=(0,o._p)("taskstate"),f=(0,o._p)("projectstate");var m={name:"leftList",mixins:[a.Z,u.Z],components:{infousercard:c.Z},props:{level:{type:Number,default:1}},data(){return{r_rating:3,send_up:!1,serverurl:h.Jx,comment_up:"",comment:"",level_helper:[{},{type:"Задачи",r_text:"Ответственный",store:"getProject",child:"tasks"},{type:"Задачи",r_text:"Ответственный",store:"gettasks",child:"task_work"},{type:"Работы",r_text:"Ответственный",store:"getworks",child:"work_assignment"},{type:"Поручения",r_text:"Исполнитель",store:"getworks"}]}},computed:{...d(["getUser"]),...p.mapGetters(["getworks"]),...f.mapGetters(["allpersons","getProject"]),...g.mapGetters(["gettasks"]),todo(){return console.log(this.getProject,"----------------"),this[this.level_helper[this.level].store][this.level_helper[this.level].child]}},methods:{history(t){return console.log(this.level,t),this.level<3?this[this.level_helper[this.level].store].history.filter((t=>[4,7].includes(t.action.id)&&t.level==this.level+1)):this[this.level_helper[this.level].store].history.filter((e=>!Object.is(e.assignment,null)&&e.assignment.id==t&&[4,7].includes(e.action.id)))},confirmation(t){let e={id:t.elm.id,status:t.res,commentadd:this.comment,comment_up:this.send_up?this.comment_up:"",r_rating:this.r_rating};console.log(),t.elm.menu=!1,this.comment_up="",this.comment="",this.$emit("confirmation",e)},listchangetab(t){3==this.level?this.$emit("listchangetab",Number(t)+1):this.$emit("rout",this[this.level_helper[this.level].store][this.level_helper[this.level].child][t].id)}},mounted(){l().locale("ru")}},_=m,v=i(43736),b=i(43453),y=i.n(b),x=i(43423),w=i(34145),C=i(54886),S=i(63486),k=i(60266),A=i(99223),T=i(4324),E=i(65808),O=i(54525),P=i(79500),I=i(44568),L=i(29592),B=i(73905),R=i(11713),V=i(92648),D=i(67678),z=i(96669),M=(0,D.Z)(z.Z).extend({name:"v-timeline",provide(){return{timeline:this}},props:{alignTop:Boolean,dense:Boolean,reverse:Boolean},computed:{classes(){return{"v-timeline--align-top":this.alignTop,"v-timeline--dense":this.dense,"v-timeline--reverse":this.reverse,...this.themeClasses}}},render(t){return t("div",{staticClass:"v-timeline",class:this.classes},this.$slots.default)}}),F=i(42240),N=i(16878);const G=(0,D.Z)(N.Z,z.Z);var H=G.extend().extend({name:"v-timeline-item",inject:["timeline"],props:{color:{type:String,default:"primary"},fillDot:Boolean,hideDot:Boolean,icon:String,iconColor:String,large:Boolean,left:Boolean,right:Boolean,small:Boolean},computed:{hasIcon(){return!!this.icon||!!this.$slots.icon}},methods:{genBody(){return this.$createElement("div",{staticClass:"v-timeline-item__body"},this.$slots.default)},genIcon(){return this.$slots.icon?this.$slots.icon:this.$createElement(F.Z,{props:{color:this.iconColor,dark:!this.theme.isDark,small:this.small}},this.icon)},genInnerDot(){const t=this.setBackgroundColor(this.color);return this.$createElement("div",{staticClass:"v-timeline-item__inner-dot",...t},[this.hasIcon&&this.genIcon()])},genDot(){return this.$createElement("div",{staticClass:"v-timeline-item__dot",class:{"v-timeline-item__dot--small":this.small,"v-timeline-item__dot--large":this.large}},[this.genInnerDot()])},genDivider(){const t=[];return this.hideDot||t.push(this.genDot()),this.$createElement("div",{staticClass:"v-timeline-item__divider"},t)},genOpposite(){return this.$createElement("div",{staticClass:"v-timeline-item__opposite"},this.$slots.opposite)}},render(t){const e=[this.genBody(),this.genDivider()];return this.$slots.opposite&&e.push(this.genOpposite()),t("div",{staticClass:"v-timeline-item",class:{"v-timeline-item--fill-dot":this.fillDot,"v-timeline-item--before":this.timeline.reverse?this.right:this.left,"v-timeline-item--after":this.timeline.reverse?this.left:this.right,...this.themeClasses}},e)}}),Z=(0,v.Z)(_,r,n,!1,null,null,null),$=Z.exports;y()(Z,{VAvatar:x.Z,VCard:w.Z,VCardText:C.ZB,VCheckbox:S.Z,VCol:k.Z,VDivider:A.Z,VIcon:T.Z,VList:E.Z,VListItem:O.Z,VListItemContent:P.km,VListItemTitle:P.V9,VMenu:I.Z,VProgressLinear:L.Z,VRating:B.Z,VRow:R.Z,VTextarea:V.Z,VTimeline:M,VTimelineItem:H})},67761:function(t,e,i){"use strict";i.d(e,{Z:function(){return p}});var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-row",{staticClass:"flex-grow-0 mt-0",class:t.rowclass},[i("v-col",{staticClass:"py-1",class:t.myclass,attrs:{xl:t.colls[t.variant].xl,lg:t.colls[t.variant].lg,md:t.colls[t.variant].md,sm:t.colls[t.variant].sm,cols:t.colls[t.variant].cols}},[i("strong",[t._v(" "+t._s(t.title)+" ")])]),i("v-col",{staticClass:"py-1 text-nowrap flex-grow-1 flex-col",class:t.leftcol,on:{click:function(e){return t.$emit(t.stroka)}}},[t._t("leftcol")],2),t.rightcolUsed?i("v-col",{staticClass:"text-nowrap py-1 flex-grow-0 flex-row align-self-center justify-content-end"},[t._t("rightcol")],2):t._e()],1)},n=[],o={name:"row-pirow",data(){return{colls:{36:{xl:4,lg:4,md:6,sm:6,cols:6},0:{xl:0,lg:0,md:0,sm:0,cols:0},12:{xl:12,lg:12,md:12,sm:12,cols:12}}}},props:{rightcolUsed:{type:Boolean,default:!1},title:{type:String,default:""},leftcol:{type:String,default:""},myclass:{type:String,default:""},rowclass:{type:String,default:"pb-1"},variant:{type:Number,default:36},stroka:{type:String,default:""}}},a=o,s=i(43736),l=i(43453),u=i.n(l),h=i(60266),c=i(11713),d=(0,s.Z)(a,r,n,!1,null,null,null),p=d.exports;u()(d,{VCol:h.Z,VRow:c.Z})}}]);
//# sourceMappingURL=747.e3c27ea6.js.map