iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
2 lines • 265 kB
JavaScript
"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["50382"],{86256:function(t,e,n){var r=n(88045),i=n(72616),o=n(95011),a=RangeError;t.exports=function(t){var e=i(o(this)),n="",s=r(t);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(n+=e);return n}},35638:function(t,e,n){var r=n(72878);t.exports=r(1..valueOf)},40793:function(t,e,n){var r=n(40810),i=n(71998),o=n(73994),a=n(4576),s=[].push;r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var t=[];return o(a(i(this)),s,{that:t,IS_RECORD:!0}),t}})},49278:function(t,e,n){var r=n(40810),i=n(72878),o=n(88045),a=n(35638),s=n(86256),u=n(29660),l=RangeError,h=String,c=Math.floor,f=i(s),p=i("".slice),d=i(1..toFixed),y=function(t,e,n){return 0===e?n:e%2==1?y(t,e-1,n*t):y(t*t,e/2,n)},v=function(t,e,n){for(var r=-1,i=n;++r<6;)i+=e*t[r],t[r]=i%1e7,i=c(i/1e7)},g=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=c(r/e),r=r%e*1e7},m=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=h(t[e]);n=""===n?r:n+f("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:u((function(){return"0.000"!==d(8e-5,3)||"1"!==d(.9,0)||"1.25"!==d(1.255,2)||"1000000000000000128"!==d(0xde0b6b3a7640080,0)}))||!u((function(){d({})}))},{toFixed:function(t){var e,n,r,i,s=a(this),u=o(t),c=[0,0,0,0,0,0],d="",_="0";if(u<0||u>20)throw new l("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return h(s);if(s<0&&(d="-",s=-s),s>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(s*y(2,69,1))-69)<0?s*y(2,-e,1):s/y(2,e,1),n*=4503599627370496,(e=52-e)>0){for(v(c,0,n),r=u;r>=7;)v(c,1e7,0),r-=7;for(v(c,y(10,r,1),0),r=e-1;r>=23;)g(c,1<<23),r-=23;g(c,1<<r),v(c,1,1),g(c,2),_=m(c)}else v(c,0,n),v(c,1<<-e,0),_=m(c)+f("0",u);return _=u>0?d+((i=_.length)<=u?"0."+f("0",u-i)+_:p(_,0,i-u)+"."+p(_,i-u)):d+_}})},66086:function(t,e,n){n(13492)("Float32",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},46539:function(t,e,n){n(13492)("Float64",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},88621:function(t,e,n){n(13492)("Int32",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},16132:function(t,e,n){n(13492)("Uint16",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},44201:function(t,e,n){n(13492)("Uint32",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},42933:function(t,e,n){n.d(e,{D:()=>s,KZ:()=>u,XD:()=>f,Zi:()=>p,_W:()=>d,bX:()=>h,eq:()=>l,ke:()=>o});var r=n(6836),i=(0,n(31936).Yf)();function o(t,e,n,i,o){var a;if(e&&e.ecModel){var s=e.ecModel.getUpdatePayload();a=s&&s.animation}var u="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,h=void 0,c=void 0;return i?(l=(0,r.retrieve2)(i.duration,200),h=(0,r.retrieve2)(i.easing,"cubicOut"),c=0):(l=e.getShallow(u?"animationDurationUpdate":"animationDuration"),h=e.getShallow(u?"animationEasingUpdate":"animationEasing"),c=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(l=a.duration),null!=a.easing&&(h=a.easing),null!=a.delay&&(c=a.delay)),(0,r.isFunction)(c)&&(c=c(n,o)),(0,r.isFunction)(l)&&(l=l(n)),{duration:l||0,delay:c,easing:h}}return null}function a(t,e,n,i,a,s,u){var l,h=!1;(0,r.isFunction)(a)?(u=s,s=a,a=null):(0,r.isObject)(a)&&(s=a.cb,u=a.during,h=a.isFrom,l=a.removeOpt,a=a.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var f=o(t,i,a,c?l||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,a):null);if(f&&f.duration>0){var p={duration:f.duration,delay:f.delay||0,easing:f.easing,done:s,force:!!s||!!u,setToFinal:!c,scope:t,during:u};h?e.animateFrom(n,p):e.animateTo(n,p)}else e.stopAnimation(),!h&&e.attr(n),u&&u(1),s&&s()}function s(t,e,n,r,i,o){a("update",t,e,n,r,i,o)}function u(t,e,n,r,i,o){a("enter",t,e,n,r,i,o)}function l(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){if("leave"===t.animators[e].scope)return!0}return!1}function h(t,e,n,r,i,o){l(t)||a("leave",t,e,n,r,i,o)}function c(t,e,n,r){t.removeTextContent(),t.removeTextGuideLine(),h(t,{style:{opacity:0}},e,n,r)}function f(t,e,n){function r(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||c(t,e,n,r)})):c(t,e,n,r)}function p(t){i(t).oldStyle=t.style}function d(t){return i(t).oldStyle}},8355:function(t,e,n){n.d(e,{Z:()=>i});var r=n(31936);function i(){var t=(0,r.Yf)();return function(e){var n=t(e),r=e.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(i===a&&o===s)&&"reset"}}},77385:function(t,e,n){n.d(e,{Z:()=>v});var r=n(6836),i=n(38439),o=n(82190),a=n(10538),s=n(31936),u=n(49051),l=(n(52247),function(t){this.coordSysDims=[],this.axisMap=(0,r.createHashMap)(),this.categoryAxisMap=(0,r.createHashMap)(),this.coordSysName=t});var h={cartesian2d:function(t,e,n,r){var i=t.getReferringComponents("xAxis",s.C6).models[0],o=t.getReferringComponents("yAxis",s.C6).models[0];e.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),c(i)&&(r.set("x",i),e.firstCategoryDimIndex=0),c(o)&&(r.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,r){var i=t.getReferringComponents("singleAxis",s.C6).models[0];e.coordSysDims=["single"],n.set("single",i),c(i)&&(r.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var i=t.getReferringComponents("polar",s.C6).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),c(o)&&(r.set("radius",o),e.firstCategoryDimIndex=0),c(a)&&(r.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,r.each)(a.parallelAxisIndex,(function(t,r){var a=o.getComponent("parallelAxis",t),u=s[r];n.set(u,a),c(a)&&(i.set(u,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=r))}))}};function c(t){return"category"===t.get("type")}var f=n(3517),p=n(62951),d=n(73279),y=n(21202);const v=function(t,e,n){n=n||{};var c,v=e.getSourceManager(),g=!1;t?(g=!0,c=(0,f.nx)(t)):g=(c=v.getSource()).sourceFormat===y.cy;var m=function(t){var e=t.get("coordinateSystem"),n=new l(e),r=h[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}(e),_=function(t,e){var n,i=t.get("coordinateSystem"),o=u.Z.get(i);return e&&e.coordSysDims&&(n=r.map(e.coordSysDims,(function(t){var n={name:t},r=e.axisMap.get(t);if(r){var i=r.get("type");n.type=(0,a.T)(i)}return n}))),n||(n=o&&(o.getDimensionsInfo?o.getDimensionsInfo():o.dimensions.slice())||["x","y"]),n}(e,m),x=n.useEncodeDefaulter,w=r.isFunction(x)?x:x?r.curry(d.pY,_,e):null,S={coordDimensions:_,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:w,canOmitUnusedDimensions:!g},b=(0,o.Z)(c,S),D=function(t,e,n){var i,o;return n&&r.each(t,(function(t,r){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=r),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(o=!0)})),o||null==i||(t[i].otherDims.itemName=0),i}(b.dimensions,n.createInvertedIndices,m),M=g?null:v.getSharedDataStore(b),T=(0,p.BM)(e,{schema:b,store:M}),k=new i.Z(b,e);k.setCalculationInfo(T);var C=null!=D&&function(t){if(t.sourceFormat===y.cy){var e=function(t){var e=0;for(;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!r.isArray((0,s.C4)(e))}}(c)?function(t,e,n,r){return r===D?n:this.defaultDimValueGetter(t,e,n,r)}:null;return k.hasItemOption=!1,k.initData(g?c:M,null,C),k}},96810:function(t,e,n){n.d(e,{BY:()=>_,TX:()=>p,d_:()=>b,iv:()=>D,jT:()=>S});n(92745),n(61495),n(61893);var r=n(61962),i=n(94485),o=n(6836),a=n(66278),s=n(96131),u="line-height:1";function l(t){var e=t.lineHeight;return null==e?u:"line-height:"+(0,r.F1)(e+"")+"px"}function h(t,e){var n=t.color||"#6e7079",i=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,u=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,r.F1)(i+"")+"px;color:"+(0,r.F1)(n)+";font-weight:"+(0,r.F1)(o+""),valueStyle:"font-size:"+(0,r.F1)(s+"")+"px;color:"+(0,r.F1)(a)+";font-weight:"+(0,r.F1)(u+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:u}}}var c=[0,10,20,30],f=["","\n","\n\n","\n\n\n"];function p(t,e){return e.type=t,e}function d(t){return"section"===t.type}function y(t){return d(t)?g:m}function v(t){if(d(t)){var e=0,n=t.blocks.length,r=n>1||n>0&&!t.noHeader;return(0,o.each)(t.blocks,(function(t){var n=v(t);n>=e&&(e=n+ +(r&&(!n||d(t)&&!t.noHeader)))})),e}return 0}function g(t,e,n,s){var u,p=e.noHeader,d=(u=v(e),{html:c[u],richText:f[u]}),g=[],m=e.blocks||[];(0,o.assert)(!m||(0,o.isArray)(m)),m=m||[];var _=t.orderMode;if(e.sortBlocks&&_){m=m.slice();var S={valueAsc:"asc",valueDesc:"desc"};if((0,o.hasOwn)(S,_)){var b=new a.ID(S[_],null);m.sort((function(t,e){return b.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===_&&m.reverse()}(0,o.each)(m,(function(n,r){var i=e.valueFormatter,a=y(n)(i?(0,o.extend)((0,o.extend)({},t),{valueFormatter:i}):t,n,r>0?d.html:0,s);null!=a&&g.push(a)}));var D="richText"===t.renderMode?g.join(d.richText):x(s,g.join(""),p?n:d.html);if(p)return D;var M=(0,i.uX)(e.header,"ordinal",t.useUTC),T=h(s,t.renderMode).nameStyle,k=l(s);return"richText"===t.renderMode?w(t,M,T)+d.richText+D:x(s,'<div style="'+T+";"+k+';">'+(0,r.F1)(M)+"</div>"+D,n)}function m(t,e,n,a){var s=t.renderMode,u=e.noName,l=e.noValue,c=!e.markerType,f=e.name,p=t.useUTC,d=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.isArray)(t)?t:[t],(0,o.map)(t,(function(t,e){return(0,i.uX)(t,(0,o.isArray)(g)?g[e]:g,p)}))};if(!u||!l){var y=c?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",s),v=u?"":(0,i.uX)(f,"ordinal",p),g=e.valueType,m=l?[]:d(e.value,e.dataIndex),_=!c||!u,S=!c&&u,b=h(a,s),D=b.nameStyle,M=b.valueStyle;return"richText"===s?(c?"":y)+(u?"":w(t,v,D))+(l?"":function(t,e,n,r,i){var a=[i],s=r?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),t.markupStyleCreator.wrapRichTextStyle((0,o.isArray)(e)?e.join(" "):e,a)}(t,m,_,S,M)):x(a,(c?"":y)+(u?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+(0,r.F1)(t)+"</span>"}(v,!c,D))+(l?"":function(t,e,n,i){var a=n?"10px":"20px",s=e?"float:right;margin-left:"+a:"";return t=(0,o.isArray)(t)?t:[t],'<span style="'+s+";"+i+'">'+(0,o.map)(t,(function(t){return(0,r.F1)(t)})).join(" ")+"</span>"}(m,_,S,M)),n)}}function _(t,e,n,r,i,o){if(t)return y(t)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function x(t,e,n){return'<div style="'+("margin: "+n+"px 0 0")+";"+l(t)+';">'+e+'<div style="clear:both"></div></div>'}function w(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function S(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,i.Lz)(n)}function b(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var D=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.jj)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var r="richText"===n?this._generateStyleName():null,a=(0,i.A0)({color:e,type:t,renderMode:n,markerId:r});return(0,o.isString)(a)?a:(this.richTextStyles[r]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.isArray)(e)?(0,o.each)(e,(function(t){return(0,o.extend)(n,t)})):(0,o.extend)(n,e);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+t+"}"},t}()},49051:function(t,e,n){n.d(e,{Z:()=>o});var r=n(6836),i={};const o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];r.each(i,(function(r,i){var o=r.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){r.each(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){i[t]=e},t.get=function(t){return i[t]},t}()},82357:function(t,e,n){n.d(e,{I2:()=>f,D0:()=>p,sO:()=>c,Li:()=>y,G8:()=>d});var r=n(30057),i=n(53970);var o=n(6836),a="ZH",s="EN",u=s,l={},h={},c=i.Z.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||u).toUpperCase().indexOf(a)>-1?a:u;function f(t,e){t=t.toUpperCase(),h[t]=new r.Z(e),l[t]=e}function p(t){if((0,o.isString)(t)){var e=l[t.toUpperCase()]||{};return t===a||t===s?(0,o.clone)(e):(0,o.merge)((0,o.clone)(e),(0,o.clone)(l[u]),!1)}return(0,o.merge)((0,o.clone)(t),(0,o.clone)(l[u]),!1)}function d(t){return h[t]}function y(){return h[u]}f(s,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),f(a,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}})},49162:function(t,e,n){n.d(e,{v:()=>i});var r=n(6836);function i(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var a,s=c(this._modBy),u=this._modDataCount||0,l=c(t&&t.modBy),h=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}s===l&&u===h||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(i)),this._modBy=l,this._modDataCount=h;var f=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,d=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!i&&(a||p<d)){var y=this._progress;if((0,r.isArray)(y))for(var v=0;v<y.length;v++)this._doProgress(y[v],p,d,l,h);else this._doProgress(y,p,d,l,h)}this._dueIndex=d;var g=null!=this._settedOutputEnd?this._settedOutputEnd:d;0,this._outputDueEnd=g}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,r,i){a.reset(e,n,r,i),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:a.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,r.isArray)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,n,r,i,o={reset:function(u,l,h,c){e=u,t=l,n=h,r=c,i=Math.ceil(r/n),o.next=n>1&&r>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%i*n+Math.ceil(e/i),a=e>=t?null:o<r?o:e;return e++,a}}()},8942:function(t,e,n){n.d(e,{Z:()=>o});n(92745);function r(t){return null==t?0:t.length||1}function i(t){return t}const o=function(){function t(t,e,n,r,o,a){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),o=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=i[a],u=n[s],l=r(u);if(l>1){var h=u.shift();1===u.length&&(n[s]=u[0]),this._update&&this._update(h,a)}else 1===l?(n[s]=null,this._update&&this._update(u,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},o=[],a=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,i,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var u=o[s],l=n[u],h=i[u],c=r(l),f=r(h);if(c>1&&1===f)this._updateManyToOne&&this._updateManyToOne(h,l),i[u]=null;else if(1===c&&f>1)this._updateOneToMany&&this._updateOneToMany(h,l),i[u]=null;else if(1===c&&1===f)this._update&&this._update(h,l),i[u]=null;else if(c>1&&f>1)this._updateManyToMany&&this._updateManyToMany(h,l),i[u]=null;else if(c>1)for(var p=0;p<c;p++)this._remove&&this._remove(l[p]);else this._remove&&this._remove(l)}this._performRestAdd(a,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],o=e[i],a=r(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[i](t[a],a);if(o||(n[a]=s),e){var u=e[s],l=r(u);0===l?(e[s]=a,o&&n.push(s)):1===l?e[s]=[u,a]:u.push(a)}}},t}()},61511:function(t,e,n){n.d(e,{ZP:()=>y,hG:()=>h});n(71695),n(92745),n(61893),n(82328),n(55751),n(26200),n(25754),n(22246),n(9359),n(56475),n(70104),n(46539),n(88621),n(16132),n(44201),n(36810),n(14953),n(58402),n(31503),n(16440),n(2213),n(57385),n(71375),n(15524),n(20267);var r,i=n(6836),o=n(66278),a=n(3517),s="undefined",u=typeof Uint32Array===s?Array:Uint32Array,l=typeof Uint16Array===s?Array:Uint16Array,h=typeof Int32Array===s?Array:Int32Array,c=typeof Float64Array===s?Array:Float64Array,f={float:c,int:h,ordinal:Array,number:Array,time:c};function p(t){return t>65535?u:l}function d(t,e,n,r,i){var o=f[n||"float"];if(i){var a=t[e],s=a&&a.length;if(s!==r){for(var u=new o(r),l=0;l<s;l++)u[l]=a[l];t[e]=u}}else t[e]=new o(r)}const y=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,i.createHashMap)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=r[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[];(0,a.QY)(o);this._dimensions=(0,i.map)(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,r=this._dimensions,i=n.get(t);if(null!=i){if(r[i].type===e)return i}else i=r.length;return r[i]={type:e},n.set(t,i),this._chunks[i]=new f[e||"float"](this._rawCount),this._rawExtent[i]=[1/0,-1/0],i},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],r=this._dimensions[t],i=this._rawExtent,o=r.ordinalOffset||0,a=n.length;0===o&&(i[t]=[1/0,-1/0]);for(var s=i[t],u=o;u<a;u++){var l=n[u]=e.parseAndCollect(n[u]);isNaN(l)||(s[0]=Math.min(l,s[0]),s[1]=Math.max(l,s[1]))}r.ordinalMeta=e,r.ordinalOffset=a,r.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var r=e.count();return e.persistent||(r+=n),n<r&&this._initDataFromProvider(n,r,!0),[n,r]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,o=i.length,a=this._rawExtent,s=this.count(),u=s+Math.max(t.length,e||0),l=0;l<o;l++){d(n,l,(y=i[l]).type,u,!0)}for(var h=[],c=s;c<u;c++)for(var f=c-s,p=0;p<o;p++){var y=i[p],v=r.arrayRows.call(this,t[f]||h,y.property,f,p);n[p][c]=v;var g=a[p];v<g[0]&&(g[0]=v),v>g[1]&&(g[1]=v)}return this._rawCount=this._count=u,{start:s,end:u}},t.prototype._initDataFromProvider=function(t,e,n){for(var r=this._provider,o=this._chunks,a=this._dimensions,s=a.length,u=this._rawExtent,l=(0,i.map)(a,(function(t){return t.property})),h=0;h<s;h++){var c=a[h];u[h]||(u[h]=[1/0,-1/0]),d(o,h,c.type,e,n)}if(r.fillStorage)r.fillStorage(t,e,o,u);else for(var f=[],p=t;p<e;p++){f=r.getItem(p,f);for(var y=0;y<s;y++){var v=o[y],g=this._dimValueGetter(f,l[y],p,y);v[p]=g;var m=u[y];g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],r=[];if(null==e){e=t,t=[];for(var i=0;i<this._dimensions.length;i++)r.push(i)}else r=t;i=0;for(var o=r.length;i<o;i++)n.push(this.get(r[i],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var n=0,r=this.count();n<r;n++){var i=this.get(t,n);isNaN(i)||(e+=i)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=e.sort((function(t,e){return t-e})),r=this.count();return 0===r?0:r%2==1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var r=0,i=this._count-1;r<=i;){var o=(r+i)/2|0;if(e[o]<t)r=o+1;else{if(!(e[o]>t))return o;i=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var r=this._chunks[t],i=[];if(!r)return i;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,u=0,l=this.count();u<l;u++){var h=e-r[this.getRawIndex(u)],c=Math.abs(h);c<=n&&((c<o||c===o&&h>=0&&a<0)&&(o=c,a=h,s=0),h===a&&(i[s++]=u))}return i.length=s,i},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,r=this._count;if(n===Array){t=new n(r);for(var i=0;i<r;i++)t[i]=e[i]}else t=new n(e.buffer,0,r)}else{t=new(n=p(this._rawCount))(this.count());for(i=0;i<t.length;i++)t[i]=i}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),r=n.count(),i=new(p(n._rawCount))(r),o=[],a=t.length,s=0,u=t[0],l=n._chunks,h=0;h<r;h++){var c=void 0,f=n.getRawIndex(h);if(0===a)c=e(h);else if(1===a){c=e(l[u][f],h)}else{for(var d=0;d<a;d++)o[d]=l[t[d]][f];o[d]=h,c=e.apply(null,o)}c&&(i[s++]=f)}return s<r&&(n._indices=i),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var r=(0,i.keys)(t),o=r.length;if(!o)return this;var a=e.count(),s=new(p(e._rawCount))(a),u=0,l=r[0],h=t[l][0],c=t[l][1],f=e._chunks,d=!1;if(!e._indices){var y=0;if(1===o){for(var v=f[r[0]],g=0;g<n;g++){((w=v[g])>=h&&w<=c||isNaN(w))&&(s[u++]=y),y++}d=!0}else if(2===o){v=f[r[0]];var m=f[r[1]],_=t[r[1]][0],x=t[r[1]][1];for(g=0;g<n;g++){var w=v[g],S=m[g];(w>=h&&w<=c||isNaN(w))&&(S>=_&&S<=x||isNaN(S))&&(s[u++]=y),y++}d=!0}}if(!d)if(1===o)for(g=0;g<a;g++){var b=e.getRawIndex(g);((w=f[r[0]][b])>=h&&w<=c||isNaN(w))&&(s[u++]=b)}else for(g=0;g<a;g++){for(var D=!0,M=(b=e.getRawIndex(g),0);M<o;M++){var T=r[M];((w=f[T][b])<t[T][0]||w>t[T][1])&&(D=!1)}D&&(s[u++]=e.getRawIndex(g))}return u<a&&(e._indices=s),e._count=u,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var r=t._chunks,i=[],o=e.length,a=t.count(),s=[],u=t._rawExtent,l=0;l<e.length;l++)u[e[l]]=[1/0,-1/0];for(var h=0;h<a;h++){for(var c=t.getRawIndex(h),f=0;f<o;f++)s[f]=r[e[f]][c];s[o]=h;var p=n&&n.apply(null,s);if(null!=p){"object"!=typeof p&&(i[0]=p,p=i);for(l=0;l<p.length;l++){var d=e[l],y=p[l],v=u[d],g=r[d];g&&(g[c]=y),y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}}}},t.prototype.lttbDownSample=function(t,e){var n,r,i,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),u=0,l=Math.floor(1/e),h=this.getRawIndex(0),c=new(p(this._rawCount))(Math.min(2*(Math.ceil(s/l)+2),s));c[u++]=h;for(var f=1;f<s-1;f+=l){for(var d=Math.min(f+l,s-1),y=Math.min(f+2*l,s),v=(y+d)/2,g=0,m=d;m<y;m++){var _=a[T=this.getRawIndex(m)];isNaN(_)||(g+=_)}g/=y-d;var x=f,w=Math.min(f+l,s),S=f-1,b=a[h];n=-1,i=x;var D=-1,M=0;for(m=x;m<w;m++){var T;_=a[T=this.getRawIndex(m)];isNaN(_)?(M++,D<0&&(D=T)):(r=Math.abs((S-v)*(_-b)-(S-m)*(g-b)))>n&&(n=r,i=T)}M>0&&M<w-x&&(c[u++]=Math.min(D,i),i=Math.max(D,i)),c[u++]=i,h=i}return c[u++]=this.getRawIndex(s-1),o._count=u,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),r=n._chunks,i=Math.floor(1/e),o=r[t],a=this.count(),s=new(p(this._rawCount))(2*Math.ceil(a/i)),u=0,l=0;l<a;l+=i){var h=l,c=o[this.getRawIndex(h)],f=l,d=o[this.getRawIndex(f)],y=i;l+i>a&&(y=a-l);for(var v=0;v<y;v++){var g=o[this.getRawIndex(l+v)];g<c&&(c=g,h=l+v),g>d&&(d=g,f=l+v)}var m=this.getRawIndex(h),_=this.getRawIndex(f);h<f?(s[u++]=m,s[u++]=_):(s[u++]=_,s[u++]=m)}return n._count=u,n._indices=s,n._updateGetRawIdx(),n},t.prototype.downSample=function(t,e,n,r){for(var i=this.clone([t],!0),o=i._chunks,a=[],s=Math.floor(1/e),u=o[t],l=this.count(),h=i._rawExtent[t]=[1/0,-1/0],c=new(p(this._rawCount))(Math.ceil(l/s)),f=0,d=0;d<l;d+=s){s>l-d&&(s=l-d,a.length=s);for(var y=0;y<s;y++){var v=this.getRawIndex(d+y);a[y]=u[v]}var g=n(a),m=this.getRawIndex(Math.min(d+r(a,g)||0,l-1));u[m]=g,g<h[0]&&(h[0]=g),g>h[1]&&(h[1]=g),c[f++]=m}return i._count=f,i._indices=c,i._updateGetRawIdx(),i},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,r=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(n){case 0:e(i);break;case 1:e(r[t[0]][a],i);break;case 2:e(r[t[0]][a],r[t[1]][a],i);break;default:for(var s=0,u=[];s<n;s++)u[s]=r[t[s]][a];u[s]=i,e.apply(null,u)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var r,i=this.count();if(!this._indices)return this._rawExtent[t].slice();if(r=this._extent[t])return r.slice();for(var o=(r=n)[0],a=r[1],s=0;s<i;s++){var u=e[this.getRawIndex(s)];u<o&&(o=u),u>a&&(a=u)}return r=[o,a],this._extent[t]=r,r},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],r=this._chunks,i=0;i<r.length;i++)n.push(r[i][e]);return n},t.prototype.clone=function(e,n){var r,o,a=new t,s=this._chunks,u=e&&(0,i.reduce)(e,(function(t,e){return t[e]=!0,t}),{});if(u)for(var l=0;l<s.length;l++)a._chunks[l]=u[l]?(r=s[l],o=void 0,(o=r.constructor)===Array?r.slice():new o(r)):s[l];else a._chunks=s;return this._copyCommonProps(a),n||(a._indices=this._cloneIndices()),a._updateGetRawIdx(),a},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,i.clone)(this._extent),t._rawExtent=(0,i.clone)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var r=0;r<n;r++)e[r]=this._indices[r]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,r){return(0,o.yQ)(t[r],this._dimensions[r])}r={arrayRows:t,objectRows:function(t,e,n,r){return(0,o.yQ)(t[e],this._dimensions[r])},keyedColumns:t,original:function(t,e,n,r){var i=t&&(null==t.value?t:t.value);return(0,o.yQ)(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(t,e,n,r){return t[r]}}}(),t}()},38439:function(t,e,n){n.d(e,{Z:()=>C});n(52247),n(71695),n(92745),n(82328),n(55751),n(26200),n(25754),n(22246),n(9359),n(56475),n(70104),n(88621),n(36810),n(14953),n(58402),n(31503),n(16440),n(2213),n(57385),n(71375),n(15524),n(20267);var r,i,o,a,s,u,l,h=n(6836),c=n(30057),f=n(8942),p=n(45370),d=n(10538),y=n(74401),v=n(21202),g=n(31936),m=n(89523),_=n(3517),x=n(61511),w=n(64597),S=h.isObject,b=h.map,D="undefined"==typeof Int32Array?Array:Int32Array,M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],T=["_approximateExtent"],k=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var r=!1;(0,w.bB)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(r=!0,n=t),n=n||["x","y"];for(var i={},o=[],a={},s=!1,u={},l=0;l<n.length;l++){var c=n[l],f=h.isString(c)?new y.Z({name:c}):c instanceof y.Z?c:new y.Z(c),p=f.name;f.type=f.type||"float",f.coordDim||(f.coordDim=p,f.coordDimIndex=0);var d=f.otherDims=f.otherDims||{};o.push(p),i[p]=f,null!=u[p]&&(s=!0),f.createInvertedIndices&&(a[p]=[]),0===d.itemName&&(this._nameDimIdx=l),0===d.itemId&&(this._idDimIdx=l),r&&(f.storeDimIndex=l)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var v=this._dimIdxToName=h.createHashMap();h.each(o,(function(t){v.set(i[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var r=this._schema.getSourceDimension(e);return r?r.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(h.isNumber(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var r=n.encode[t];return r?r[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var r,i=this;if(t instanceof x.ZP&&(r=t),!r){var o=this.dimensions,a=(0,_.Ld)(t)||h.isArrayLike(t)?new p.Pl(t,o.length):t;r=new x.ZP;var s=b(o,(function(t){return{type:i._dimInfos[t].type,property:t}}));r.initData(a,s,n)}this._store=r,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=(0,d.y)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),r=n.start,i=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=r;a<i;a++){var s=a-r;this._nameList[a]=e[s],o&&l(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var r=this._dimInfos[e[n]];r.ordinalMeta&&t.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==v.J5&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList;if(n.getSource().sourceFormat===v.cy&&!n.pure)for(var a=[],s=t;s<e;s++){var u=n.getItem(s,a);if(!this.hasItemOption&&(0,g.Co)(u)&&(this.hasItemOption=!0),u){var h=u.name;null==i[s]&&null!=h&&(i[s]=(0,g.U5)(h,null));var c=u.id;null==o[s]&&null!=c&&(o[s]=(0,g.U5)(c,null))}}if(this._shouldMakeIdFromName())for(s=t;s<e;s++)l(this,s);r(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){S(t)?h.extend(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),r=this._store.getOrdinalMeta(t);return r?r.categories[n]:n},t.prototype.getId=function(t){return i(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,r=this._dimInfos[t];if(r)return n.get(r.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,r=this._dimInfos[t];if(r)return n.getByRawIndex(r.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,r=this._store;return h.isArray(t)?r.getValues(b(t,(function(t){return n._getStoreDimIndex(t)})),e):r.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,r=e.length;n<r;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];var r=n&&n[e];return null==r||isNaN(r)?-1:r},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){h.isFunction(t)&&(n=e,e=t,t=[]);var r=n||this,i=b(a(t),this._getStoreDimIndex,this);this._store.each(i,r?h.bind(e,r):e)},t.prototype.filterSelf=function(t,e,n){h.isFunction(t)&&(n=e,e=t,t=[]);var r=n||this,i=b(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,r?h.bind(e,r):e),this},t.prototype.selectRange=function(t){var e=this,n={},r=h.keys(t),i=[];return h.each(r,(function(r){var o=e._getStoreDimIndex(r);n[o]=t[r],i.push(o)})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){h.isFunction(t)&&(n=e,e=t,t=[]),n=n||this;var r=[];return this.each(t,(function(){r.push(e&&e.apply(this,arguments))}),n),r},t.prototype.map=function(t,e,n,r){var i=n||r||this,o=b(a(t),this._getStoreDimIndex,this),s=u(this);return s._store=this._store.map(o,i?h.bind(e,i):e),s},t.prototype.modify=function(t,e,n,r){var i=n||r||this;var o=b(a(t),this._getStoreDimIndex,this);this._store.modify(o,i?h.bind(e,i):e)},t.prototype.downSample=function(t,e,n,r){var i=u(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),e,n,r),i},t.prototype.minmaxDownSample=function(t,e){var n=u(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},t.prototype.lttbDownSample=function(t,e){var n=u(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new c.Z(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new f.Z(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return i(t,e)}),(function(t){return i(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},S(t)?h.extend(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],r=n&&n[e];return null==r?this.getVisual(e):r},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,r=n[t];r||(r=n[t]={});var i=r[e];return null==i&&(i=this.getVisual(e),h.isArray(i)?i=i.slice():S(i)&&(i=h.extend({},i)),r[e]=i),i},t.prototype.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{};this._itemVisuals[t]=r,S(e)?h.extend(r,e):r[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){S(t)?h.extend(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?h.extend(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,m.Q)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){h.each(this._graphicEls,(function(n,r){n&&t&&t.call(e,n,r)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:b(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];h.isFunction(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(h.slice(arguments)))})},t.internalField=(r=function(t){var e=t._invertedIndicesMap;h.each(e,(function(n,r){var i=t._dimInfos[r],o=i.ordinalMeta,a=t._store;if(o){n=e[r]=new D(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<a.count();s++)n[a.get(i.storeDimIndex,s)]=s}}))},o=function(t,e,n){return(0,g.U5)(t._getCategory(e,n),null)},i=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},a=function(t){return h.isArray(t)||(t=null!=t?[t]:[]),t},u=function(e){var n=new t(e._schema?e._schema:b(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){h.each(M.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,h.each(T,(function(n){t[n]=h.clone(e[n])})),t._calculationInfo=h.extend({},e._calculationInfo)},void(l=function(t,e){var n=t._nameList,r=t._idList,i=t._nameDimIdx,a=t._idDimIdx,s=n[e],u=r[e];if(null==s&&null!=i&&(n[e]=s=o(t,i,e)),null==u&&null!=a&&(r[e]=u=o(t,a,e)),null==u&&null!=s){var l=t._nameRepeatCount,h=l[s]=(l[s]||0)+1;u=s,h>1&&(u+="__ec__"+h),r[e]=u}})),t}();const C=k},74401:function(t,e,n){n.d(e,{Z:()=>i});var r=n(6836);const i=function(t){this.otherDims={},null!=t&&r.extend(this,t)}},3517:function(t,e,n){n.d(e,{Kp:()=>f,Ld:()=>u,ML:()=>c,QY:()=>y,_P:()=>l,nx:()=>h});n(92745);var r=n(6836),i=n(21202),o=n(31936),a=n(73279),s=function(t){this.data=t.data||(t.sourceFormat===i.hL?{}:[]),this.sourceFormat=t.sourceFormat||i.RA,this.seriesLayoutBy=t.seriesLayoutBy||i.fY,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var r=e[n];null==r.type&&(0,a.u7)(this,n)===a.Dq.Must&&(r.type="ordinal")}};function u(t){return t instanceof s}function l(t,e,n){n=n||f(t);var a=e.seriesLayoutBy,u=function(t,e,n,a,s){var u,l;if(!t)return{dimensionsDefine:p(s),startIndex:l,dimensionsDetectedCount:u};if(e===i.XD){var h=t;"auto"===a||null==a?d((function(t){null!=t&&"-"!==t&&((0,r.isString)(t)?null==l&&(l=1):l=0)}),n,h,10):l=(0,r.isNumber)(a)?a:a?1:0,s||1!==l||(s=[],d((function(t,e){s[e]=null!=t?t+"":""}),n,h,1/0)),u=s?s.length:n===i.Wc?h.length:h[0]?h[0].length:null}else if(e===i.qb)s||(s=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e)return(0,r.keys)(e)}(t));else if(e===i.hL)s||(s=[],(0,r.each)(t,(function(t,e){s.push(e)})));else if(e===i.cy){var c=(0,o.C4)(t[0]);u=(0,r.isArray)(c)&&c.length||1}else i.J5;return{startIndex:l,dimensionsDefine:p(s),dimensionsDetectedCount:u}}(t,n,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:u.dimensionsDefine,startIndex:u.startIndex,dimensionsDetectedCount:u.dimensionsDetectedCount,metaRawOption:(0,r.clone)(e)})}function h(t){return new s({data:t,sourceFormat:(0,r.isTypedArray)(t)?i.J5:i.cy})}function c(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,r.clone)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function f(t){var e=i.RA;if((0,r.isTypedArray)(t))e=i.J5;else if((0,r.isArray)(t)){0===t.length&&(e=i.XD);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,r.isArray)(a)||(0,r.isTypedArray)(a)){e=i.XD;break}if((0,r.isObject)(a)){e=i.qb;break}}}}else if((0,r.isObject)(t))for(var s in t)if((0,r.hasOwn)(t,s)&&(0,r.isArrayLike)(t[s])){e=i.hL;break}return e}function p(t){if(t){var e=(0,r.createHashMap)();return(0,r.map)(t,(function(t,n){var i={name:(t=(0,r.isObject)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var o=e.get(i.name);return o?i.name+="-"+o.count++:e.set(i.name,{count:1}),i}))}}function d(t,e,n,r){if(e===i.Wc)for(var o=0;o<n.length&&o<r;o++)t(n[o]?n[o][0]:null,o);else{var a=n[0]||[];for(o=0;o<a.length&&o<r;o++)t(a[o],o)}}function y(t){var e=t.sourceFormat;return e===i.qb||e===i.hL}},64597:function(t,e,n){n.d(e,{Eo:()=>u,Jj:()=>c,Jl:()=>f,bB:()=>l,v5:()=>h});n(92745),n(19134),n(97003);var r=n(6836),i=n(31936),o=n(3517),a=(0,i.Yf)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},u=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=c(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,r.retrieve2)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.QY)(this.source),n=!f(t),r="",i=[],a=0,u=0;a<t;a++){var l=void 0,h=void 0,c=void 0,p=this.dimensions[u];if(p&&p.storeDimIndex===a)l=e?p.name:null,h=p.type,c=p.ordinalMeta,u++;else{var d=this.getSourceDimension(a);d&&(l=e?d.name:null,h=d.type)}i.push({property:l,type:h,ordinalMeta:c}),!e||null==l||p&&p.isCalculationCoord||(r+=n?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),r+="$",r+=s[h]||"f",c&&(r+=c.uid),r+="$"}var y=this.source;return{dimensions:i,hash:[y.seriesLayoutBy,y.startIndex,r].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var r=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===e)i.isCalculationCoord||(r=i.name),n++;else{var o=this.getSourceDimension(e);o&&(r=o.name)}t.push(r)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function l(t){return t instanceof u}function h(t){for(var e=(0,r.createHashMap)(),n=0;n<(t||[]).length;n++){var i=t[n],o=(0,r.isObject)(i)?i.name:i;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function c(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=h(t.dimensionsDefine))}function f(t){return t>30}},82190:function(t,e,n){n.d(e,{Z:()=>f,q:()=>c});n(92745),n(61893);var r=n(21202),i=n(74401),o=n(6836),a=n(3517),s=n(61511),u=n(31936),l=n(73279),h=n(64597);function c(t,e){return f(t,e).dimensions}function f(t,e){(0,a.Ld)(t)||(t=(0,a.nx)(t));var n=(e=e||{}).coordDimensions||[],c=e.dimensionsDefine||t.dimensionsDefine||[],f=(0,o.createHashMap)(),d=[],y=function(t,e,n,r){var i=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,r||0);return(0,o.each)(e,(function(t){var e;(0,o.isObject)(t)&&(e=t.dimsDef)&&(i=Math.max(i,e.length))})),i}(t,n,c,e.dimensionsCount),v=e.canOmitUnusedDimensions&&(0,h.Jl)(y),g=c===t.dimensionsDefine,m=g?(0,h.Jj)(t):(0,h.v5)(c),_=e.encodeDefine;!_&&e.encodeDefaulter&&(_=e.encodeDefaulter(t,y));for(var x=(0,o.createHashMap)(_),w=new s.hG(y),S=0;S<w.length;S++)w[S]=-1;function b(t){var e=w[t];if(e<0){var n=c[t],r=(0,o.isObject)(n)?n:{name:n},a=new i.Z,s=r.name;null!=s&&null!=m.get(s)&&(a.name=a.displayName=s),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var u=d.length;return w[t]=u,a.storeDimIndex=t,d.push(a),a}return d[e]}if(!v)for(S=0;S<y;S++)b(S);x.each((function(t,e){var n=(0,u.kF)(t).slice();if(1===n.length&&!(0,o.isString)(n[0])&&n[0]<0)x.set(e,!1);else{var r=x.set(e,[]);(0,o.each)(n,(function(t,n){var i=(0,o.isString)(t)?m.get(t):t;null!=i&&i<y&&(r[n]=i,M(b(i),e,n))}))}}));var D=0;function M(t,e,n){null!=r.f7.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,f.set(e,!0))}(0,o.each)(n,(function(t){var e,n,r,i;if((0,o.isString)(t))e=t,i={};else{e=(i=t).name;var a=i.ordinalMeta;i.ordinalMeta=null,(i=(0,o.extend)({},i)).ordinalMeta=a,n=i.dimsDef,r=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=x.get(e);if(!1!==s){if(!(s=(0,u.kF)(s)).length)for(var l=0;l<(n&&n.length||1);l++){for(;D<y&&null!=b(D).coordDim;)D++;D<y&&s.push(D++)}(0,o.each)(s,(function(t,a){var s=b(t);if(g&&null!=i.type&&(s.type=i.type),M((0,o.defaults)(s,i),e,a),null==s.name&&n){var u=n[a];!(0,o.isObject)(u)&&(u={name:u}),s.name=s.displayName=u.name,s.defaultTooltip=u.defaultTooltip}r&&(0,o.defaults)(s.otherDims,r)}))}}));var T=e.generateCoord,k=e.generateCoordCount,C=null!=k;k=T?k||1:0;var I=T||"value";function O(t){null==t.name&&(t.name=t.coordDim)}if(v)(0,o.each)(d,(function(t){O(t)})),d.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var P=0;P<y;P++){var A=b(P);null==A.coordDim&&(A.coordDim=p(I,f,C),A.coordDimIndex=0,(!T||k<=0)&&(A.isExtraCoord=!0),k--),O(A),null!=A.type||(0,l.u7)(t,P)!==l.Dq.Must&&(!A.isExtraCoord||null==A.otherDims.itemName&&null==A.otherDims.seriesName)||(A.type="ordinal")}return function(t){for(var e=(0,o.createHashMap)(),n=0;n<t.length;n++){var r=t[n],i=r.name,a=e.get(i)||0;a>0&&(r.name=i+(a-1)),a++,e.set(i,a)}}(d),new h.Eo({source:t,dimensions:d,fullDimensionCount:y,dimensionOmitted:v})}function p(t,e,n){if(n||e.hasKey(t)){for(var r=0;e.hasKey(t+r);)r++;t+=r}return e.set(t,!0),t}},45370:function(t,e,n){n.d(e,{Pl:()=>f,_j:()=>y,a:()=>m,hk:()=>b,tB:()=>w});n(52247),n(92745);var r,i,o,a,s,u=n(6836),l=n(31936),h=n(3517),c=n(21202),f=function(){function t(t,e){var n=(0,h.Ld)(t)?t:(0,h.nx)(t);this._source=n;var r=this._data=n.data;n.sourceFormat===c.J5&&(this._offset=0,this._dimSize=e,this._data=r),s(this,r,n)}var e;return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=((e=t.prototype).pure=!1,void(e.persistent=!0)),t.internalField=function(){var t;s=function(t,i,o){var s=o.sourceFormat,l=o.seriesLayoutBy,h=o.startIndex,f=o.dimensionsDefine,p=a[S(s,l)];if((0,u.extend)(t,p),s===c.J5)t.getItem=e,t.count=r,t.fillStorage=n;else{var d=y(s,l);t.getItem=(0,u.bind)(d,null,i,h,f);var v=m(s,l);t.count=(0,u.bind)(v,null,i,h,f)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,r=this._dimSize,i=r*t,o=0;o<r;o++)e[o]=n[i+o];return e},n=function(t,e,n,r){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=r[a],u=null==s[0]?1/0:s[0],l=null==s[1]?-1/0:s[1],h=e-t,c=n[a],f=0;f<h;f++){var p=i[f*o+a];c[t+f]=p,p<u&&(u=p),p>l&&(l=p)}s[0]=u,s[1]=l}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[c.XD+"_"+c.fY]={pure:!0,appendData:i},t[c.XD+"_"+c.Wc]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[c.qb]={pure:!0,appendData:i},t[c.hL]={pure:!0,appendData:function(t){var e=this._data;(0,u.each)(t,(function(t,n){for(var r=e[n]||(e[n]=[]),i=0;i<(t||[]).length;i++)r.push(t[i])}))}},t[c.cy]={appendData:i},t[c.J5]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),t}(),p=function(t,e,n,r){return t[r]},d=((r={})[c.XD+"_"+c.fY]=function(t,e,n,r){return t[r+e]},r[c.XD+"_"+c.Wc]=function(t,e,n,r,i){r+=e;for(var o=i||[],a=t,s=0;s<a.length;s++){var u=a[s];o[s]=u?u[r]:null}return o},r[c.qb]=p,r[c.hL]=function(t,e,n,r,i){for(var o=i||[],a=0;a<n.length;a++){0;var s=t[n[a].name];o[a]=s?s[r]:null}return o},r[c.cy]=p,r);function y(t,e){return d[S(t,e)]}var v=function(t,e,n){return t.length},g=((i={})[c.XD+"_"+c.fY]=function(t,e,n){return Math.max(0,t.length-e)},i[c.XD+"_"+c.Wc]=function(t,e,n){var r=t[0];return r?Math.max(0,r.length-e):0},i[c.qb]=v,i[c.hL]=function(t,e,n){var r=t[n[0].name];return r?r.length:0},i[c.cy]=v,i);function m(t,e){return g[S(t,e)]}var _=function(t,e,n){return t[e]},x=((o={})[c.XD]=_,o[c.qb]=function(t,e,n){return t[n]},o[c.hL]=_,o[c.cy]=function(t,e,n){var r=(0,l.C4)(t);return r instanceof Array?r[e]:r},o[c.J5]=_,o);function w(t){return x[t]}function S(t,e){return t===c.XD?t+"_"+e:t}function b(t,e,n){if(t){var r=t.getRawDataItem(e);if(null!=r){var i=t.getStore(),o=i.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=i.getDimensionProperty(a);return w(o)(r,a,s)}var u=r;return o===c.cy&&(u=(0,l.C4)(r)),u}}}},62951:function(t,e,n){n.d(e,{BM:()=>o,IR:()=>s,M:()=>a});n(92745);var r=n(6836),i=n(64597);function o(t,e,n){var o,a,s,u=(n=n||{}).byIndex,l=n.stackedCoordDimension;!function(t){return!(0,i.bB)(t.schema)}(e)?(a=e.schema,o=a.dimensions,s=e.store):o=e;var h,c,f,p,d=!(!t||!t.get("stack"));if((0,r.each)(o,(function(t,e){(0,r.isString)(t)&&(o[e]=t={name:t}),d&&!t.isExtraCoord&&(u||h||!t.ordinalMeta||(h=t),c||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(c=t))})),!c||u||h||(u=!0),c){f="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,h&&(h.createInvertedIndices=!0);var y=c.coordDim,v=c.type,g=0;(0,r.each)(o,(function(t){t.coordDim===y&&g++}));var m={name:f,coordDim:y,coordDimIndex:g,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length},_={name:p,coordDim:p,coordDimIndex:g+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length+1};a?(s&&(m.storeDimIndex=s.ensureCalculationDimension(p,v),_.storeDimIndex=s.ensureCalculationDimension(f,v)),a.appendCalculationDimension(m),a.appendCalculationDimension(_)):(o.push(m),o.push(_))}return{stackedDimension:c&&c.name,stackedByDimension:h&&h.name,isStackedByIndex:u,stackedOverDimension:p,stackResultDimension:f}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function s(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},66278:function(t,e,n){n.d(e,{ID:()=>c,o2:()=>u,tR:()=>p,yQ:()=>a});n(95078);var r=n(96131),i=n(6836),o=n(2118);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,i.isNumber)(t)||null==t||"-"===t||(t=+(0,r.sG)(t)),null==t||""===t?NaN:Number(t))}var s=(0,i.createHashMap)({number:function(t){return parseFloat(t)},time:function(t){return+(0,r.sG)(t)},trim:function(t){return(0,i.isString)(t)?(0,i.trim)(t):t}});function u(t){return s.get(t)}var l={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},h=function(){function t(t,e){if(!(0,i.isNumber)(e)){0,(0,o._y)("")}this._opFn=l[t],this._rvalFloat=(0,r.FK)(e)}return t.prototype.evaluate=function(t){return(0,i.isNumber)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,r.FK)(t),this._rvalFloat)},t}(),c=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=(0,i.isNumber)(t)?t:(0,r.FK)(t),o=(0,i.isNumber)(e)?e:(0,r.FK)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var u=(0,i.isString)(t),l=(0,i.isString)(e);u&&(n=l?t:0),l&&(o=u?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}(),f=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,r.FK)(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=(0,r.FK)(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function p(t,e){return"eq"===t||"ne"===t?new f("eq"===t,e):(0,i.hasOwn)(l,t)?new h(t,e):null}},10538:function(t,e,n){n.d(e,{T:()=>u,y:()=>a});n(92745);var r=n(6836),i=n(21202),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var n={},a=n.encode={},u=(0,r.createHashMap)(),l=[],h=[],c={};(0,r.each)(t.dimensions,(function(e){var n,r=t.getDimensionInfo(e),o=r.coordDim;if(o){0;var f=r.coordDimIndex;s(a,o)[f]=e,r.isExtraCoord||(u.set(o,1),"ordinal"!==(n=r.type)&&"time"!==n&&(l[0]=e),s(c,o)[f]=t.getDimensionIndex(r.name)),r.defaultTooltip&&h.push(e)}i.f7.each((function(t,e){var n=s(a,e),i=r.otherDims[e];null!=i&&!1!==i&&(n[i]=r.name)}))}));var f=[],p={};u.each((function(t,e){var n=a[e];p[e]=n[0],f=f.concat(n)})),n.dataDimsOnCoord=f,n.dataDimIndicesOnCoord=(0,r.map)(f,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=p;var d=a.label;d&&d.length&&(l=d.slice());var y=a.tooltip;return y&&y.length?h=y.slice():h.length||(h=l.slice()),a.defaultedLabel=l,a.defaultedTooltip=h,n.userOutput=new o(c,e),n}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function u(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},73279:function(t,e,n){n.d(e,{Dq:()=>a,JT:()=>c,Wd:()=>h,md:()=>u,pY:()=>l,u7:()=>f});n(92745);var r=n(31936),i=n(6836),o=n(21202),a={Must:1,Might:2,Not:3},s=(0,r.Yf)();function u(t){s(t).datasetMap=(0,i.createHashMap)()}function l(t,e,n){var r={},o=h(e);if(!o||!t)return r;var a,u,l=[],c=[],f=e.ecModel,p=s(f).datasetMap,d=o.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,i.each)(t,(function(e,n){var o=(0,i.isObject)(e)?e:t[n]={name:e};"ordinal"===o.type&&null==a&&(a=n,u=g(o)),r[o.name]=[]}));var y=p.get(d)||p.set(d,{categoryWayDim:u,valueWayDim:0});function v(t,e,n){for(var r=0;r<n;r++)t.push(e+r)}function g(t){var e=t.dimsDef;return e?e.length:1}return(0,i.each)(t,(function(t,e){var n=t.name,i=g(t);if(null==a){var o=y.valueWayDim;v(r[n],o,i),v(c,o,i),y.valueWayDim+=i}else if(a===e)v(r[n],0,i),v(l,0,i);else{o=y.categoryWayDim;v(r[n],o,i),v(c,o,i),y.categoryWayDim+=i}})),l.length&&(r.itemName=l),c.length&&(r.seriesName=c),r}function h(t){if(!t.get("data",!0))return(0,r.HZ)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},r.C6).models[0]}function c(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,r.HZ)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},r.C6).models:[]}function f(t,e){return p(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function p(t,e,n,s,u,l){var h,c,f;if((0,i.isTypedArray)(t))return a.Not;if(s){var p=s[l];(0,i.isObject)(p)?(c=p.name,f=p.type):(0,i.isString)(p)&&(c=p)}if(null!=f)return"ordinal"===f?a.Must:a.Not;if(e===o.XD){var d=t;if(n===o.Wc){for(var y=d[l],v=0;v<(y||[]).length&&v<5;v++)if(null!=(h=b(y[u+v])))return h}else for(v=0;v<d.length&&v<5;v++){var g=d[u+v];if(g&&null!=(h=b(g[l])))return h}}else if(e===o.qb){var m=t;if(!c)return a.Not;for(v=0;v<m.length&&v<5;v++){if((w=m[v])&&null!=(h=b(w[c])))return h}}else if(e===o.hL){var _=t;if(!c)return a.Not;if(!(y=_[c])||(0,i.isTypedArray)(y))return a.Not;for(v=0;v<y.length&&v<5;v++)if(null!=(h=b(y[v])))return h}else if(e===o.cy){var x=t;for(v=0;v<x.length&&v<5;v++){var w=x[v],S=(0,r.C4)(w);if(!(0,i.isArray)(S))return a.Not;if(null!=(h=b(S[l])))return h}}function b(t){var e=(0,i.isString)(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}},87705:function(t,e,n){n.d(e,{U:()=>h,t:()=>c});n(52247),n(92745);var r=n(6836),i=n(3517),o=n(21202),a=n(73279),s=n(35804),u=n(61511),l=n(45370),h=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(f(n)){var u=n,l=void 0,h=void 0,c=void 0;if(s){var p=a[0];p.prepareSource(),l=(c=p.getSource()).data,h=c.sourceFormat,e=[p._getVersionSign()]}else l=u.get("data",!0),h=(0,r.isTypedArray)(l)?o.J5:o.cy,e=[];var d=this._getSourceMetaRawOption()||{},y=c&&c.metaRawOption||{},v=(0,r.retrieve2)(d.seriesLayoutBy,y.seriesLayoutBy)||null,g=(0,r.retrieve2)(d.sourceHeader,y.sourceHeader),m=(0,r.retrieve2)(d.dimensions,y.dimensions);t=v!==y.seriesLayoutBy||!!g!=!!y.sourceHeader||m?[(0,i._P)(l,{seriesLayoutBy:v,sourceHeader:g,dimensions:m},h)]:[]}else{var _=n;if(s){var x=this._applyTransform(a);t=x.sourceList,e=x.upstreamSignList}else{var w=_.get("source",!0);t=[(0,i._P)(w,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);if(null!=a){1!==t.length&&p("")}var u=[],l=[];return(0,r.each)(t,(function(t){t.prepareSource();var e=t.getSource(a||0);null==a||e||p(""),u.push(e),l.push(t._getVersionSign())})),o?e=(0,s.vK)(o,u,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,i.ML)(u[0])]),{sourceList:e,upstreamSignList:l}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var r=this._storeList,i=r[0];i||(i=r[0]={});var o=i[n];if(!o){var a=this._getUpstreamSourceManagers()[0];f(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new u.ZP).initData(new l.Pl(e,t.length),t),i[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(f(t)){var e=(0,a.Wd)(t);return e?[e.getSourceManager()]:[]}return(0,r.map)((0,a.JT)(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,r=this._sourceHost;if(f(r))t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=r;t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function c(t){t.option.transform&&(0,r.setAsPrimitive)(t.option.transform)}function f(t){return"series"===t.mainType}function p(t){throw new Error(t)}},35804:function(t,e,n){n.d(e,{DA:()=>v,vK:()=>g});n(52247),n(92745);var r=n(21202),i=n(31936),o=n(6836),a=n(45370),s=n(66278),u=n(2118),l=n(3517),h=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.yQ)(t,e)},t}();function c(t){if(!_(t.sourceFormat)){0,(0,u._y)("")}return t.data}function f(t){var e=t.sourceFormat,n=t.data;if(!_(e)){0,(0,u._y)("")}if(e===r.XD){for(var i=[],a=0,s=n.length;a<s;a++)i.push(n[a].slice());return i}if(e===r.qb){for(i=[],a=0,s=n.length;a<s;a++)i.push((0,o.extend)({},n[a]));return i}}function p(t,e,n){if(null!=n)return(0,o.isNumber)(n)||!isNaN(n)&&!(0,o.hasOwn)(e,n)?t[n]:(0,o.hasOwn)(e,n)?e[n]:void 0}function d(t){return(0,o.clone)(t)}var y=(0,o.createHashMap)();function v(t){var e=(t=(0,o.clone)(t)).type;e||(0,u._y)("");var n=e.split(":");2!==n.length&&(0,u._y)("");var r=!1;"echarts"===n[0]&&(e=n[1],r=!0),t.__isBuiltIn=r,y.set(e,t)}function g(t,e,n){var r=(0,i.kF)(t),o=r.length;o||(0,u._y)("");for(var a=0,s=o;a<s;a++){e=m(r[a],e,n,1===o?null:a),a!==s-1&&(e.length=Math.max(e.length,1))}return e}function m(t,e,n,s){e.length||(0,u._y)(""),(0,o.isObject)(t)||(0,u._y)("");var v=t.type,g=y.get(v);g||(0,u._y)("");var m=(0,o.map)(e,(function(t){return function(t,e){var n=new h,i=t.data,s=n.sourceFormat=t.sourceFormat,l=t.startIndex;t.seriesLayoutBy!==r.fY&&(0,u._y)("");var y=[],v={},g=t.dimensionsDefine;if(g)(0,o.each)(g,(function(t,e){var n=t.name,r={index:e,name:n,displayName:t.displayName};y.push(r),null!=n&&((0,o.hasOwn)(v,n)&&(0,u._y)(""),v[n]=r)}));else for(var m=0;m<t.dimensionsDetectedCount;m++)y.push({index:m});var _=(0,a._j)(s,r.fY);e.__isBuiltIn&&(n.getRawDataItem=function(t){return _(i,l,y,t)},n.getRawData=(0,o.bind)(c,null,t)),n.cloneRawData=(0,o.bind)(f,null,t);var x=(0,a.a)(s,r.fY);n.count=(0,o.bind)(x,null,i,l,y);var w=(0,a.tB)(s);n.retrieveValue=function(t,e){var n=_(i,l,y,t);return S(n,e)};var S=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=y[e];return n?w(t,e,n.name):void 0}};return n.getDimensionInfo=(0,o.bind)(p,null,y,v),n.cloneAllDimensionInfo=(0,o.bind)(d,null,y),n}(t,g)})),x=(0,i.kF)(g.transform({upstream:m[0],upstreamList:m,config:(0,o.clone)(t.config)}));return(0,o.map)(x,(function(t,n){var i;(0,o.isObject)(t)||(0,u._y)(""),t.data||(0,u._y)(""),_((0,l.Kp)(t.data))||(0,u._y)("");var a=e[0];if(a&&0===n&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),i={seriesLayoutBy:r.fY,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else i={seriesLayoutBy:r.fY,sourceHeader:0,dimensions:t.dimensions};return(0,l._P)(t.data,i,null)}))}function _(t){return t===r.XD||t===r.qb}},33666:function(t,e,n){n.d(e,{Lr:()=>p,k3:()=>f,nC:()=>d,ni:()=>c,pe:()=>w,qA:()=>x,qT:()=>_,tD:()=>S});var r=n(31410),i=n(6836),o=n(73372),a=n(31936),s=n(42933),u={};function l(t,e){for(var n=0;n<o.L1.length;n++){var r=o.L1[n],i=e[r],a=t.ensureState(r);a.style=a.style||{},a.style.text=i}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function h(t,e,n){var r,a=t.labelFetcher,s=t.labelDataIndex,u=t.labelDimIndex,l=e.normal;a&&(r=a.getFormattedLabel(s,"normal",null,u,l&&l.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=(0,i.isFunction)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var h={normal:r},c=0;c<o.L1.length;c++){var f=o.L1[c],p=e[f];h[f]=(0,i.retrieve2)(a?a.getFormattedLabel(s,f,null,u,p&&p.get("formatter")):null,r)}return h}function c(t,e,n,a){n=n||u;for(var s=t instanceof r.ZP,c=!1,f=0;f<o.qc.length;f++){if((w=e[o.qc[f]])&&w.getShallow("show")){c=!0;break}}var y=s?t:t.getTextContent();if(c){s||(y||(y=new r.ZP,t.setTextContent(y)),t.stateProxy&&(y.stateProxy=t.stateProxy));var v=h(n,e),g=e.normal,m=!!g.getShallow("show"),_=p(g,a&&a.normal,n,!1,!s);_.text=v.normal,s||t.setTextConfig(d(g,n,!1));for(f=0;f<o.L1.length;f++){var w,S=o.L1[f];if(w=e[S]){var b=y.ensureState(S),D=!!(0,i.retrieve2)(w.getShallow("show"),m);if(D!==m&&(b.ignore=!D),b.style=p(w,a&&a[S],n,!0,!s),b.style.text=v[S],!s)t.ensureState(S).textConfig=d(w,n,!0)}}y.silent=!!g.getShallow("silent"),null!=y.style.x&&(_.x=y.style.x),null!=y.style.y&&(_.y=y.style.y),y.ignore=!m,y.useStyle(_),y.dirty(),n.enableTextSetter&&(x(y).setLabelText=function(t){var r=h(n,e,t);l(y,r)})}else y&&(y.ignore=!0);t.dirty()}function f(t,e){e=e||"label";for(var n={normal:t.getModel(e)},r=0;r<o.L1.length;r++){var i=o.L1[r];n[i]=t.getModel([i,e])}return n}function p(t,e,n,r,o){var a={};return function(t,e,n,r,o){n=n||u;var a,s=e.ecModel,l=s&&s.option.textStyle,h=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||u).rich;if(n){e=e||{};for(var r=(0,i.keys)(n),o=0;o<r.length;o++){e[r[o]]=1}}t=t.parentModel}return e}(e);if(h)for(var c in a={},h)if(h.hasOwnProperty(c)){var f=e.getModel(["rich",c]);m(a[c]={},f,l,n,r,o,!1,!0)}a&&(t.rich=a);var p=e.get("overflow");p&&(t.overflow=p);var d=e.get("minMargin");null!=d&&(t.margin=d);m(t,e,l,n,r,o,!0,!1)}(a,t,n,r,o),e&&(0,i.extend)(a,e),a}function d(t,e,n){e=e||{};var r,o={},a=t.getShallow("rotate"),s=(0,i.retrieve2)(t.getShallow("distance"),n?null:5),u=t.getShallow("offset");return"outside"===(r=t.getShallow("position")||(n?null:"inside"))&&(r=e.defaultOutsidePosition||"top"),null!=r&&(o.position=r),null!=u&&(o.offset=u),null!=a&&(a*=Math.PI/180,o.rotation=a),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",o}var y=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],v=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],g=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function m(t,e,n,r,o,a,s,l){n=!o&&n||u;var h=r&&r.inheritColor,c=e.getShallow("color"),f=e.getShallow("textBorderColor"),p=(0,i.retrieve2)(e.getShallow("opacity"),n.opacity);"inherit"!==c&&"auto"!==c||(c=h||null),"inherit"!==f&&"auto"!==f||(f=h||null),a||(c=c||n.color,f=f||n.textBorderColor),null!=c&&(t.fill=c),null!=f&&(t.stroke=f);var d=(0,i.retrieve2)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(t.lineWidth=d);var m=(0,i.retrieve2)(e.getShallow("textBorderType"),n.textBorderType);null!=m&&(t.lineDash=m);var _=(0,i.retrieve2)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=_&&(t.lineDashOffset=_),o||null!=p||l||(p=r&&r.defaultOpacity),null!=p&&(t.opacity=p),o||a||null==t.fill&&r.inheritColor&&(t.fill=r.inheritColor);for(var x=0;x<y.length;x++){var w=y[x];null!=(b=(0,i.retrieve2)(e.getShallow(w),n[w]))&&(t[w]=b)}for(x=0;x<v.length;x++){w=v[x];null!=(b=e.getShallow(w))&&(t[w]=b)}if(null==t.verticalAlign){var S=e.getShallow("baseline");null!=S&&(t.verticalAlign=S)}if(!s||!r.disableBox){for(x=0;x<g.length;x++){var b;w=g[x];null!=(b=e.getShallow(w))&&(t[w]=b)}var D=e.getShallow("borderType");null!=D&&(t.borderDash=D),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!h||(t.backgroundColor=h),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!h||(t.borderColor=h)}}function _(t,e){var n=e&&e.getModel("textStyle");return(0,i.trim)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var x=(0,a.Yf)();function w(t,e,n,r){if(t){var i=x(t);i.prevValue=i.value,i.value=n;var o=e.normal;i.valueAnimation=o.get("valueAnimation"),i.valueAnimation&&(i.precision=o.get("precision"),i.defaultInterpolatedText=r,i.statesModels=e)}}function S(t,e,n,r,o){var u=x(t);if(u.valueAnimation&&u.prevValue!==u.value){var c=u.defaultInterpolatedText,f=(0,i.retrieve2)(u.interpolatedValue,u.prevValue),p=u.value;t.percent=0,(null==u.prevValue?s.KZ:s.D)(t,{percent:1},r,e,null,(function(r){var i=(0,a.pk)(n,u.precision,f,p,r);u.interpolatedValue=1===r?null:i;var s=h({labelDataIndex:e,labelFetcher:o,defaultText:c?c(i):i+""},u.statesModels,i);l(t,s)}))}}},72255:function(t,e,n){n.d(e,{Z:()=>f});n(92745),n(84283);var r=n(9065),i=n(6836),o=n(30057),a=n(74440),s=n(68597),u=n(31936),l=n(34956),h=(0,u.Yf)(),c=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.uid=a.Kr("ec_cpt_model"),i}var n;return(0,r.__extends)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=l.YD(this),r=n?l.tE(t):{},o=e.getTheme();i.merge(t,o.get(this.mainType)),i.merge(t,this.getDefaultOption()),n&&l.dt(t,r,n)},e.prototype.mergeOption=function(t,e){i.merge(this.option,t,!0);var n=l.YD(this);n&&l.dt(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s.PT)(t))return t.defaultOption;var e=h(this);if(!e.defaultOption){for(var n=[],r=t;r;){var o=r.prototype.defaultOption;o&&n.push(o),r=r.superClass}for(var a={},u=n.length-1;u>=0;u--)a=i.merge(a,n[u],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",r=t+"Id";return(0,u.HZ)(this.ecModel,t,{index:this.get(n,!0),id:this.get(r,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=((n=e.prototype).type="component",n.id="",n.name="",n.mainType="",n.subType="",void(n.componentIndex=0)),e}(o.Z);(0,s.pw)(c,o.Z),(0,s.au)(c),a.cj(c),a.jS(c,(function(t){var e=[];i.each(c.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=i.map(e,(function(t){return(0,s.u9)(t).main})),"dataset"!==t&&i.indexOf(e,"dataset")<=0&&e.unshift("dataset");return e}));const f=c},30057:function(t,e,n){n.d(e,{Z:()=>g});var r=n(53970),i=n(68597),o=(0,n(58186).Z)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=n(33666),u=n(31410),l=["textStyle","color"],h=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],c=new u.ZP;const f=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(l):null)},t.prototype.getFont=function(){return(0,s.qT)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<h.length;n++)e[h[n]]=this.getShallow(h[n]);return c.useStyle(e),c.update(),c.getBoundingRect()},t}();var p=n(32975),d=n(73870),y=n(6836),v=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i]},t.prototype.mergeOption=function(t,e){(0,y.merge)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,r=null==n?n:n[t];if(null==r&&!e){var i=this.parentModel;i&&(r=i.getShallow(t))}return r},t.prototype.getModel=function(e,n){var r=null!=e,i=r?this.parsePath(e):null;return new t(r?this._doGet(i):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)((0,y.clone)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!r.Z.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var r=0;r<t.length&&(!t[r]||null!=(n=n&&"object"==typeof n?n[t[r]]:null));r++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,i.dm)(v),(0,i.Qj)(v),(0,y.mixin)(v,p.K),(0,y.mixin)(v,d.D),(0,y.mixin)(v,a),(0,y.mixin)(v,f);const g=v},83072:function(t,e,n){n.d(e,{V:()=>_,Z:()=>C});n(92745);var r=n(9065),i=n(6836),o=n(53970),a=n(31936),s=n(72255),u=n(70180),l=n(22083),h=n(34956),c=n(49162),f=n(68597),p=n(87705),d=n(96810),y=n(45370);function v(t){var e,n,r,o,s=t.series,u=t.dataIndex,l=t.multipleSeries,h=s.getData(),c=h.mapDimensionsAll("defaultedTooltip"),f=c.length,p=s.getRawValue(u),v=(0,i.isArray)(p),g=(0,d.jT)(s,u);if(f>1||v&&!f){var m=function(t,e,n,r,o){var a=e.getData(),s=(0,i.reduce)(t,(function(t,e,n){var r=a.getDimensionInfo(n);return t||r&&!1!==r.tooltip&&null!=r.displayName}),!1),u=[],l=[],h=[];function c(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(s?h.push((0,d.TX)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:t,valueType:n.type})):(u.push(t),l.push(n.type)))}return r.length?(0,i.each)(r,(function(t){c((0,y.hk)(a,n,t),t)})):(0,i.each)(t,c),{inlineValues:u,inlineValueTypes:l,blocks:h}}(p,s,u,c,g);e=m.inlineValues,n=m.inlineValueTypes,r=m.blocks,o=m.inlineValues[0]}else if(f){var _=h.getDimensionInfo(c[0]);o=e=(0,y.hk)(h,u,c[0]),n=_.type}else o=e=v?p[0]:p;var x=(0,a.yu)(s),w=x&&s.name||"",S=h.getName(u),b=l?w:S;return(0,d.TX)("section",{header:w,noHeader:l||!x,sortParam:o,blocks:[(0,d.TX)("nameValue",{markerType:"item",markerColor:g,name:b,noName:!(0,i.trim)(b),value:e,valueType:n,dataIndex:u})].concat(r||[])})}var g=a.Yf();function m(t,e){return t.getName(e)||t.getId(e)}var _="__universalTransitionEnabled",x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}var n;return(0,r.__extends)(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,c.v)({count:S,reset:b}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(g(this).sourceManager=new p.U(this)).prepareSource();var r=this.getInitialData(t,n);M(r,this),this.dataTask.context.data=r,g(this).dataBeforeProcessed=r,w(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,h.YD)(this),r=n?(0,h.tE)(t):{},o=this.subType;s.Z.hasClass(o)&&(o+="Series"),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),a.Cc(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,h.dt)(t,r,n)},e.prototype.mergeOption=function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,h.YD)(this);n&&(0,h.dt)(this.option,t,n);var r=g(this).sourceManager;r.dirty(),r.prepareSource();var o=this.getInitialData(t,e);M(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,g(this).dataBeforeProcessed=o,w(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(t){if(t&&!i.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.Cc(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=k(this);if(e){var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n}return g(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=k(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}g(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return i.createHashMap(t)},e.prototype.getSourceManager=function(){return g(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return g(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return v({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.Z.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var r=this.ecModel,i=u._.prototype.getColorFromPalette.call(this,t,e,n);return i||(i=r.getColorFromPalette(t,e,n)),i},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(e);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=m(i,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],r=0;r<t.length;r++)n[0]=t[r],this.isSelected(t[r],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=i.keys(t),n=[],r=0;r<e.length;r++){var o=t[e[r]];o>=0&&n.push(o)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(e);return("all"===n||n[m(r,t)])&&!r.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[_])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,r,o=this.option,a=o.selectedMode,s=e.length;if(a&&s)if("series"===a)o.selectedMap="all";else if("multiple"===a){i.isObject(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,l=0;l<s;l++){var h=e[l];u[f=m(t,h)]=!0,this._selectedDataIndicesMap[f]=t.getRawIndex(h)}}else if("single"===a||!0===a){var c=e[s-1],f=m(t,c);o.selectedMap=((n={})[f]=!0,n),this._selectedDataIndicesMap=((r={})[f]=t.getRawIndex(c),r)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var r=t.getRawDataItem(n);r&&r.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return s.Z.registerClass(t)},e.protoInitialize=((n=e.prototype).type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",void(n.visualDrawType="fill")),e}(s.Z);function w(t){var e=t.name;a.yu(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),r=[];return i.each(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&r.push(n.displayName)})),r.join(" ")}(t)||e)}function S(t){return t.model.getRawData().count()}function b(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),D}function D(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function M(t,e){i.each(i.concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,i.curry(T,e))}))}function T(t,e){var n=k(t);return n&&n.setOutputEnd((e||this).count()),e}function k(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(t.uid))}return r}}i.mixin(x,l.X),i.mixin(x,u._),(0,f.pw)(x,s.Z);const C=x},22083:function(t,e,n){n.d(e,{X:()=>s,f:()=>u});n(19134),n(97003);var r=n(6836),i=n(45370),o=n(94485),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),r=this.getRawValue(t,e),i=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),u=s&&s[n.getItemVisual(t,"drawType")||"fill"],l=s&&s.stroke,h=this.mainType,c="series"===h,f=n.userOutput&&n.userOutput.get();return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:o,dataIndex:i,data:a,dataType:e,value:r,color:u,borderColor:l,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,u,l){e=e||"normal";var h=this.getData(n),c=this.getDataParams(t,n);(l&&(c.value=l.interpolatedValue),null!=s&&r.isArray(c.value)&&(c.value=c.value[s]),u)||(u=h.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return r.isFunction(u)?(c.status=e,c.dimensionIndex=s,u(c)):r.isString(u)?(0,o.kF)(u,c).replace(a,(function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,i.hk)(h,t,a);if(l&&r.isArray(l.interpolatedValue)){var u=h.getDimensionIndex(a);u>=0&&(s=l.interpolatedValue[u])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return(0,i.hk)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function u(t){var e,n;return r.isObject(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},73870:function(t,e,n){n.d(e,{D:()=>a,t:()=>i});var r=n(58186),i=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,r.Z)(i),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},32975:function(t,e,n){n.d(e,{K:()=>a,v:()=>i});var r=n(58186),i=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,r.Z)(i),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},58186:function(t,e,n){n.d(e,{Z:()=>i});var r=n(6836);function i(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,o){for(var a={},s=0;s<t.length;s++){var u=t[s][1];if(!(i&&r.indexOf(i,u)>=0||o&&r.indexOf(o,u)<0)){var l=n.getShallow(u,e);null!=l&&(a[t[s][0]]=l)}}return a}}},70180:function(t,e,n){n.d(e,{_:()=>o});var r=n(31936),i=(0,r.Yf)(),o=((0,r.Yf)(),function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var o=(0,r.kF)(this.get("color",!0)),s=this.get("colorLayer",!0);return a(this,i,o,s,t,e,n)},t.prototype.clearColorPalette=function(){var t,e;(e=i)(t=this).paletteIdx=0,e(t).paletteNameMap={}},t}());function a(t,e,n,r,i,o,a){var s=e(o=o||t),u=s.paletteIdx||0,l=s.paletteNameMap=s.paletteNameMap||{};if(l.hasOwnProperty(i))return l[i];var h=null!=a&&r?function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r].length>e)return t[r];return t[n-1]}(r,a):n;if((h=h||n)&&h.length){var c=h[u];return i&&(l[i]=c),s.paletteIdx=(u+1)%h.length,c}}},68597:function(t,e,n){n.d(e,{PT:()=>l,Qj:()=>p,au:()=>v,dm:()=>h,pw:()=>c,u9:()=>u});n(52247),n(92745),n(19134),n(5740),n(11740),n(32114);var r=n(9065),i=n(6836),o=".",a="___EC__COMPONENT__CONTAINER___",s="___EC__EXTENDED_CLASS___";function u(t){var e={main:"",sub:""};if(t){var n=t.split(o);e.main=n[0]||"",e.sub=n[1]||""}return e}function l(t){return!(!t||!t[s])}function h(t,e){t.$constructor=t,t.extend=function(t){var e,n,o=this;return n=o,i.isFunction(n)&&/^class\s/.test(Function.prototype.toString.call(n))?e=function(t){function e(){return t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e}(o):(e=function(){(t.$constructor||o).apply(this,arguments)},i.inherits(e,this)),i.extend(e.prototype,t),e[s]=!0,e.extend=this.extend,e.superCall=d,e.superApply=y,e.superClass=o,e}}function c(t,e){t.extend=e.extend}var f=Math.round(10*Math.random());function p(t){var e=["__\0is_clz",f++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function d(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[e].apply(t,n)}function y(t,e,n){return this.superClass.prototype[e].apply(t,n)}function v(t){var e={};t.registerClass=function(t){var n,r=t.type||t.prototype.type;if(r){n=r,i.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=r;var o=u(r);if(o.sub){if(o.sub!==a){var s=function(t){var n=e[t.main];n&&n[a]||((n=e[t.main]={})[a]=!0);return n}(o);s[o.sub]=t}}else e[o.main]=t}return t},t.getClass=function(t,n,r){var i=e[t];if(i&&i[a]&&(i=n?i[n]:null),r&&!i)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){var n=u(t),r=[],o=e[n.main];return o&&o[a]?i.each(o,(function(t,e){e!==a&&r.push(t)})):r.push(o),r},t.hasClass=function(t){var n=u(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return i.each(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=u(t),r=e[n.main];return r&&r[a]}}},74440:function(t,e,n){n.d(e,{Kr:()=>a,ZL:()=>l,cj:()=>s,jS:()=>u});n(52247),n(92745);var r=n(6836),i=n(68597),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){var r=(0,i.u9)(t);e[r.main]=n},t.determineSubType=function(n,r){var o=r.type;if(!o){var a=(0,i.u9)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](r))}return o}}function u(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,o,a){if(t.length){var s=function(t){var i={},o=[];return r.each(t,(function(a){var s=n(i,a),u=function(t,e){var n=[];return r.each(t,(function(t){r.indexOf(e,t)>=0&&n.push(t)})),n}(s.originalDeps=e(a),t);s.entryCount=u.length,0===s.entryCount&&o.push(a),r.each(u,(function(t){r.indexOf(s.predecessor,t)<0&&s.predecessor.push(t);var e=n(i,t);r.indexOf(e.successor,t)<0&&e.successor.push(a)}))})),{graph:i,noEntryList:o}}(i),u=s.graph,l=s.noEntryList,h={};for(r.each(t,(function(t){h[t]=!0}));l.length;){var c=l.pop(),f=u[c],p=!!h[c];p&&(o.call(a,c,f.originalDeps.slice()),delete h[c]),r.each(f.successor,p?y:d)}r.each(h,(function(){throw new Error("")}))}function d(t){u[t].entryCount--,0===u[t].entryCount&&l.push(t)}function y(t){h[t]=!0,d(t)}}}function l(t,e){return r.merge(r.merge({},t,!0),e,!0)}},94485:function(t,e,n){n.d(e,{A0:()=>d,Lz:()=>g,MY:()=>l,OD:()=>s,ew:()=>v,kF:()=>p,mr:()=>y,uX:()=>h,zW:()=>u});n(19134),n(97003);var r=n(6836),i=n(61962),o=n(96131),a=n(41974);function s(t){if(!(0,o.kE)(t))return r.isString(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function u(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var l=r.normalizeCssArray;function h(t,e,n){function i(t){return t&&r.trim(t)?t:"-"}function u(t){return!(null==t||isNaN(t)||!isFinite(t))}var l="time"===e,h=t instanceof Date;if(l||h){var c=l?(0,o.sG)(t):t;if(!isNaN(+c))return(0,a.WU)(c,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(h)return"-"}if("ordinal"===e)return r.isStringSafe(t)?i(t):r.isNumber(t)&&u(t)?t+"":"-";var f=(0,o.FK)(t);return u(f)?s(f):r.isStringSafe(t)?i(t):"boolean"==typeof t?t+"":"-"}var c=["a","b","c","d","e","f","g"],f=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,n){r.isArray(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var u=c[s];t=t.replace(f(u),f(u,0))}for(var l=0;l<o;l++)for(var h=0;h<a.length;h++){var p=e[l][a[h]];t=t.replace(f(c[h],l),n?(0,i.F1)(p):p)}return t}function d(t,e){var n=r.isString(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,i.F1)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,i.F1)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function y(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var r=(0,o.sG)(e),i=n?"getUTC":"get",s=r[i+"FullYear"](),u=r[i+"Month"]()+1,l=r[i+"Date"](),h=r[i+"Hours"](),c=r[i+"Minutes"](),f=r[i+"Seconds"](),p=r[i+"Milliseconds"]();return t=t.replace("MM",(0,a.vk)(u,2)).replace("M",u).replace("yyyy",s).replace("yy",(0,a.vk)(s%100+"",2)).replace("dd",(0,a.vk)(l,2)).replace("d",l).replace("hh",(0,a.vk)(h,2)).replace("h",h).replace("mm",(0,a.vk)(c,2)).replace("m",c).replace("ss",(0,a.vk)(f,2)).replace("s",f).replace("SSS",(0,a.vk)(p,3))}function v(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function g(t,e){return e=e||"transparent",r.isString(t)?t:r.isObject(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}},59214:function(t,e,n){n.r(e),n.d(e,{Arc:()=>x.Z,BezierCurve:()=>_.Z,BoundingRect:()=>D.Z,Circle:()=>c.Z,CompoundPath:()=>w.Z,Ellipse:()=>f.Z,Group:()=>l.Z,Image:()=>u.ZP,IncrementalDisplayable:()=>k.Z,Line:()=>m.Z,LinearGradient:()=>S.Z,OrientedBoundingRect:()=>M.Z,Path:()=>a.ZP,Point:()=>T.Z,Polygon:()=>y.Z,Polyline:()=>v.Z,RadialGradient:()=>b.Z,Rect:()=>g.Z,Ring:()=>d.Z,Sector:()=>p.C,Text:()=>h.ZP,applyTransform:()=>X,clipPointsByRect:()=>J,clipRectByRect:()=>tt,createIcon:()=>et,extendPath:()=>F,extendShape:()=>R,getShapeClass:()=>z,getTransform:()=>Y,groupTransition:()=>Q,initProps:()=>P.KZ,isElementRemoved:()=>P.eq,lineLineIntersect:()=>rt,linePolygonIntersect:()=>nt,makeImage:()=>V,makePath:()=>B,mergePath:()=>W,registerShape:()=>E,removeElement:()=>P.bX,removeElementWithFadeOut:()=>P.XD,resizePath:()=>j,setTooltipConfig:()=>ot,subPixelOptimize:()=>U,subPixelOptimizeLine:()=>G,subPixelOptimizeRect:()=>q,transformDirection:()=>K,traverseElements:()=>st,updateProps:()=>P.D});n(92745),n(19134),n(97003);var r=n(88208),i=n(8982),o=n(58881),a=n(2916),s=n(12115),u=n(40692),l=n(74777),h=n(31410),c=n(44061),f=n(5035),p=n(7764),d=n(19556),y=n(4142),v=n(58733),g=n(46547),m=n(55857),_=n(75567),x=n(767),w=n(14532),S=n(30950),b=n(62021),D=n(31117),M=n(90713),T=n(62672),k=n(33204),C=n(82669),I=n(6836),O=n(89523),P=n(42933),A=Math.max,N=Math.min,L={};function R(t){return a.ZP.extend(t)}var Z=r.Pc;function F(t,e){return Z(t,e)}function E(t,e){L[t]=e}function z(t){if(L.hasOwnProperty(t))return L[t]}function B(t,e,n,i){var o=r.iR(t,e);return n&&("center"===i&&(n=H(n,o.getBoundingRect())),j(o,n)),o}function V(t,e,n){var r=new u.ZP({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var i={width:t.width,height:t.height};r.setStyle(H(e,i))}}});return r}function H(t,e){var n,r=e.width/e.height,i=t.height*r;return n=i<=t.width?t.height:(i=t.width)/r,{x:t.x+t.width/2-i/2,y:t.y+t.height/2-n/2,width:i,height:n}}var W=r.AA;function j(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function G(t,e){return C._3(t,t,{lineWidth:e}),t}function q(t){return C.Pw(t.shape,t.shape,t.style),t}var U=C.vu;function Y(t,e){for(var n=i.identity([]);t&&t!==e;)i.mul(n,t.getLocalTransform(),n),t=t.parent;return n}function X(t,e,n){return e&&!(0,I.isArrayLike)(e)&&(e=s.ZP.getLocalTransform(e)),n&&(e=i.invert([],e)),o.applyTransform([],t,e)}function K(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return o=X(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function $(t){return!t.isGroup}function Q(t,e,n){if(t&&e){var r,i=(r={},t.traverse((function(t){$(t)&&t.anid&&(r[t.anid]=t)})),r);e.traverse((function(t){if($(t)&&t.anid){var e=i[t.anid];if(e){var r=o(t);t.attr(o(e)),(0,P.D)(t,r,n,(0,O.A)(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=(0,I.extend)({},t.shape)),e}}function J(t,e){return(0,I.map)(t,(function(t){var n=t[0];n=A(n,e.x),n=N(n,e.x+e.width);var r=t[1];return r=A(r,e.y),[n,r=N(r,e.y+e.height)]}))}function tt(t,e){var n=A(t.x,e.x),r=N(t.x+t.width,e.x+e.width),i=A(t.y,e.y),o=N(t.y+t.height,e.y+e.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function et(t,e,n){var r=(0,I.extend)({rectHover:!0},e),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),(0,I.defaults)(i,n),new u.ZP(r)):B(t.replace("path://",""),r,n,"center")}function nt(t,e,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(rt(t,e,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function rt(t,e,n,r,i,o,a,s){var u,l=n-t,h=r-e,c=a-i,f=s-o,p=it(c,f,l,h);if((u=p)<=1e-6&&u>=-1e-6)return!1;var d=t-i,y=e-o,v=it(d,y,l,h)/p;if(v<0||v>1)return!1;var g=it(d,y,c,f)/p;return!(g<0||g>1)}function it(t,e,n,r){return t*r-n*e}function ot(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,i=(0,I.isString)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var u=t.formatterParamsExtra;u&&(0,I.each)((0,I.keys)(u),(function(t){(0,I.hasOwn)(s,t)||(s[t]=u[t],s.$vars.push(t))}));var l=(0,O.A)(t.el);l.componentMainType=o,l.componentIndex=a,l.tooltipConfig={name:r,option:(0,I.defaults)({content:r,encodeHTMLContent:!0,formatterParams:s},i)}}function at(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function st(t,e){if(t)if((0,I.isArray)(t))for(var n=0;n<t.length;n++)at(t[n],e);else at(t,e)}E("circle",c.Z),E("ellipse",f.Z),E("sector",p.C),E("ring",d.Z),E("polygon",y.Z),E("polyline",v.Z),E("rect",g.Z),E("line",m.Z),E("bezierCurve",_.Z),E("arc",x.Z)},89523:function(t,e,n){n.d(e,{A:()=>r,Q:()=>i});var r=(0,n(31936).Yf)(),i=function(t,e,n,i){if(i){var o=r(i);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===i.type&&i.traverse((function(i){var o=r(i);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"}))}}},34956:function(t,e,n){n.d(e,{BZ:()=>c,ME:()=>f,YD:()=>d,dt:()=>y,p$:()=>p,tE:()=>v});n(95078);var r=n(6836),i=n(31117),o=n(96131),a=n(94485),s=r.each,u=["left","right","top","bottom","width","height"],l=[["width","left","right"],["height","top","bottom"]];function h(t,e,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;e.eachChild((function(u,l){var h,c,f=u.getBoundingRect(),p=e.childAt(l+1),d=p&&p.getBoundingRect();if("horizontal"===t){var y=f.width+(d?-d.x+f.x:0);(h=o+y)>r||u.newline?(o=0,h=y,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(d?-d.y+f.y:0);(c=a+v)>i||u.newline?(o+=s+n,a=0,c=v,s=f.width):s=Math.max(s,f.width)}u.newline||(u.x=o,u.y=a,u.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var c=h;r.curry(h,"vertical"),r.curry(h,"horizontal");function f(t,e,n){n=a.MY(n||0);var r=e.width,s=e.height,u=(0,o.GM)(t.left,r),l=(0,o.GM)(t.top,s),h=(0,o.GM)(t.right,r),c=(0,o.GM)(t.bottom,s),f=(0,o.GM)(t.width,r),p=(0,o.GM)(t.height,s),d=n[2]+n[0],y=n[1]+n[3],v=t.aspect;switch(isNaN(f)&&(f=r-h-y-u),isNaN(p)&&(p=s-c-d-l),null!=v&&(isNaN(f)&&isNaN(p)&&(v>r/s?f=.8*r:p=.8*s),isNaN(f)&&(f=v*p),isNaN(p)&&(p=f/v)),isNaN(u)&&(u=r-h-f-y),isNaN(l)&&(l=s-c-p-d),t.left||t.right){case"center":u=r/2-f/2-n[3];break;case"right":u=r-f-y}switch(t.top||t.bottom){case"middle":case"center":l=s/2-p/2-n[0];break;case"bottom":l=s-p-d}u=u||0,l=l||0,isNaN(f)&&(f=r-y-u-(h||0)),isNaN(p)&&(p=s-d-l-(c||0));var g=new i.Z(u+n[3],l+n[0],f,p);return g.margin=n,g}function p(t,e,n,o,a,s){var u,l=!a||!a.hv||a.hv[0],h=!a||!a.hv||a.hv[1],c=a&&a.boundingMode||"all";if((s=s||t).x=t.x,s.y=t.y,!l&&!h)return!1;if("raw"===c)u="group"===t.type?new i.Z(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(u=t.getBoundingRect(),t.needLocalTransform()){var p=t.getLocalTransform();(u=u.clone()).applyTransform(p)}var d=f(r.defaults({width:u.width,height:u.height},e),n,o),y=l?d.x-u.x:0,v=h?d.y-u.y:0;return"raw"===c?(s.x=y,s.y=v):(s.x+=y,s.y+=v),s===t&&t.markRedraw(),!0}function d(t){var e=t.layoutMode||t.constructor.layoutMode;return r.isObject(e)?e:e?{type:e}:null}function y(t,e,n){var i=n&&n.ignoreSize;!r.isArray(i)&&(i=[i,i]);var o=u(l[0],0),a=u(l[1],1);function u(n,r){var o={},a=0,u={},l=0;if(s(n,(function(e){u[e]=t[e]})),s(n,(function(t){h(e,t)&&(o[t]=u[t]=e[t]),c(o,t)&&a++,c(u,t)&&l++})),i[r])return c(e,n[1])?u[n[2]]=null:c(e,n[2])&&(u[n[1]]=null),u;if(2!==l&&a){if(a>=2)return o;for(var f=0;f<n.length;f++){var p=n[f];if(!h(o,p)&&h(t,p)){o[p]=t[p];break}}return o}return u}function h(t,e){return t.hasOwnProperty(e)}function c(t,e){return null!=t[e]&&"auto"!==t[e]}function f(t,e,n){s(t,(function(t){e[t]=n[t]}))}f(l[0],t,o),f(l[1],t,a)}function v(t){return function(t,e){return e&&t&&s(u,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}({},t)}},2118:function(t,e,n){n.d(e,{Sh:()=>u,ZK:()=>s,_y:()=>l});n(52247),n(77439);var r="[ECharts] ",i={},o="undefined"!=typeof console&&console.warn&&console.log;function a(t,e,n){if(o){if(n){if(i[e])return;i[e]=!0}console[t](r+e)}}function s(t,e){a("warn",t,e)}function u(t){0}function l(t){throw new Error(t)}},31936:function(t,e,n){n.d(e,{C4:()=>f,C6:()=>C,Cc:()=>h,Co:()=>p,HZ:()=>O,IL:()=>A,O0:()=>w,P$:()=>P,Td:()=>c,U5:()=>g,U9:()=>N,XI:()=>S,Yf:()=>D,ab:()=>d,g0:()=>x,gO:()=>b,iP:()=>I,kF:()=>l,lY:()=>_,pk:()=>R,pm:()=>T,pv:()=>L,yu:()=>m,zH:()=>k});n(52247),n(92745),n(19134),n(44495);var r=n(6836),i=n(53970),o=n(96131);function a(t,e,n){return(e-t)*n+t}var s="series\0",u="\0_ec_\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function h(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var c=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function f(t){return!(0,r.isObject)(t)||(0,r.isArray)(t)||t instanceof Date?t:t.value}function p(t){return(0,r.isObject)(t)&&!(t instanceof Array)}function d(t,e,n){var i="normalMerge"===n,o="replaceMerge"===n,a="replaceAll"===n;t=t||[],e=(e||[]).slice();var u=(0,r.createHashMap)();(0,r.each)(e,(function(t,n){(0,r.isObject)(t)||(e[n]=null)}));var l,h,c=function(t,e,n){var r=[];if("replaceAll"===n)return r;for(var i=0;i<t.length;i++){var o=t[i];o&&null!=o.id&&e.set(o.id,i),r.push({existing:"replaceMerge"===n||_(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return r}(t,u,n);return(i||o)&&function(t,e,n,i){(0,r.each)(i,(function(o,a){if(o&&null!=o.id){var s=v(o.id),u=n.get(s);if(null!=u){var l=t[u];(0,r.assert)(!l.newOption,'Duplicated option on id "'+s+'".'),l.newOption=o,l.existing=e[u],i[a]=null}}}))}(c,t,u,e),i&&function(t,e){(0,r.each)(e,(function(n,r){if(n&&null!=n.name)for(var i=0;i<t.length;i++){var o=t[i].existing;if(!t[i].newOption&&o&&(null==o.id||null==n.id)&&!_(n)&&!_(o)&&y("name",o,n))return t[i].newOption=n,void(e[r]=null)}}))}(c,e),i||o?function(t,e,n){(0,r.each)(e,(function(e){if(e){for(var r,i=0;(r=t[i])&&(r.newOption||_(r.existing)||r.existing&&null!=e.id&&!y("id",e,r.existing));)i++;r?(r.newOption=e,r.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),i++}}))}(c,e,o):a&&function(t,e){(0,r.each)(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}(c,e),l=c,h=(0,r.createHashMap)(),(0,r.each)(l,(function(t){var e=t.existing;e&&h.set(e.id,t)})),(0,r.each)(l,(function(t){var e=t.newOption;(0,r.assert)(!e||null==e.id||!h.get(e.id)||h.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&h.set(e.id,t),!t.keyInfo&&(t.keyInfo={})})),(0,r.each)(l,(function(t,e){var n=t.existing,i=t.newOption,o=t.keyInfo;if((0,r.isObject)(i)){if(o.name=null!=i.name?v(i.name):n?n.name:s+e,n)o.id=v(n.id);else if(null!=i.id)o.id=v(i.id);else{var a=0;do{o.id="\0"+o.name+"\0"+a++}while(h.get(o.id))}h.set(o.id,t)}})),c}function y(t,e,n){var r=g(e[t],null),i=g(n[t],null);return null!=r&&null!=i&&r===i}function v(t){return g(t,"")}function g(t,e){return null==t?e:(0,r.isString)(t)?t:(0,r.isNumber)(t)||(0,r.isStringSafe)(t)?t+"":e}function m(t){var e=t.name;return!(!e||!e.indexOf(s))}function _(t){return t&&null!=t.id&&0===v(t.id).indexOf(u)}function x(t){return u+t}function w(t,e,n){(0,r.each)(t,(function(t){var i=t.newOption;(0,r.isObject)(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,r){var i=e.type?e.type:n?n.subType:r.determineSubType(t,e);return i}(e,i,t.existing,n))}))}function S(t,e){var n={},r={};return i(t||[],n),i(e||[],r,n),[o(n),o(r)];function i(t,e,n){for(var r=0,i=t.length;r<i;r++){var o=g(t[r].seriesId,null);if(null==o)return;for(var a=l(t[r].dataIndex),s=n&&n[o],u=0,h=a.length;u<h;u++){var c=a[u];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}}function o(t,e){var n=[];for(var r in t)if(t.hasOwnProperty(r)&&null!=t[r])if(e)n.push(+r);else{var i=o(t[r],!0);i.length&&n.push({seriesId:r,dataIndex:i})}return n}}function b(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,r.isArray)(e.dataIndex)?(0,r.map)(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,r.isArray)(e.name)?(0,r.map)(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function D(){var t="__ec_inner_"+M++;return function(e){return e[t]||(e[t]={})}}var M=(0,o.jj)();function T(t,e,n){var r=k(e,n),i=r.mainTypeSpecified,o=r.queryOptionMap,a=r.others,s=n?n.defaultMainType:null;return!i&&s&&o.set(s,{}),o.each((function(e,r){var i=O(t,r,e,{useDefault:s===r,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[r+"Models"]=i.models,a[r+"Model"]=i.models[0]})),a}function k(t,e){var n;if((0,r.isString)(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var o=(0,r.createHashMap)(),a={},s=!1;return(0,r.each)(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],u=i[1],l=(i[2]||"").toLowerCase();if(u&&l&&!(e&&e.includeMainTypes&&(0,r.indexOf)(e.includeMainTypes,u)<0))s=s||!!u,(o.get(u)||o.set(u,{}))[l]=t}else a[n]=t})),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var C={useDefault:!0,enableAll:!1,enableNone:!1},I={useDefault:!1,enableAll:!0,enableNone:!0};function O(t,e,n,i){i=i||C;var o=n.index,a=n.id,s=n.name,u={models:null,specified:null!=o||null!=a||null!=s};if(!u.specified){var l=void 0;return u.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],u}return"none"===o||!1===o?((0,r.assert)(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),u.models=[],u):("all"===o&&((0,r.assert)(i.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),u.models=t.queryComponents({mainType:e,index:o,id:a,name:s}),u)}function P(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function A(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function N(t){return"auto"===t?i.Z.domSupported?"html":"richText":t||"html"}function L(t,e){var n=(0,r.createHashMap)(),i=[];return(0,r.each)(t,(function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)})),{keys:i,buckets:n}}function R(t,e,n,i,s){var u=null==e||"auto"===e;if(null==i)return i;if((0,r.isNumber)(i)){var l=a(n||0,i,s);return(0,o.NM)(l,u?Math.max((0,o.p8)(n||0),(0,o.p8)(i)):e)}if((0,r.isString)(i))return s<1?n:i;for(var h=[],c=n,f=i,p=Math.max(c?c.length:0,f.length),d=0;d<p;++d){var y=t.getDimensionInfo(d);if(y&&"ordinal"===y.type)h[d]=(s<1&&c?c:f)[d];else{var v=c&&c[d]?c[d]:0,g=f[d];l=a(v,g,s);h[d]=(0,o.NM)(l,u?Math.max((0,o.p8)(v),(0,o.p8)(g)):e)}}return h}},96131:function(t,e,n){n.d(e,{FK:()=>M,GM:()=>s,M9:()=>f,NM:()=>u,NU:()=>a,S$:()=>d,VR:()=>b,Xd:()=>x,YM:()=>y,ZB:()=>c,dt:()=>l,eJ:()=>p,jj:()=>k,kE:()=>T,kx:()=>S,mW:()=>g,nR:()=>D,nl:()=>I,p8:()=>h,sG:()=>_,wW:()=>v,xW:()=>w});n(61893),n(49278),n(95078),n(19134),n(11740),n(44495),n(97003);var r=n(6836),i=1e-4,o=20;function a(t,e,n,r){var i=e[0],o=e[1],a=n[0],s=n[1],u=o-i,l=s-a;if(0===u)return 0===l?a:(a+s)/2;if(r)if(u>0){if(t<=i)return a;if(t>=o)return s}else{if(t>=i)return a;if(t<=o)return s}else{if(t===i)return a;if(t===o)return s}return(t-i)/u*l+a}function s(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return r.isString(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function u(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),o),t=(+t).toFixed(e),n?t:+t}function l(t){return t.sort((function(t,e){return t-e})),t}function h(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return c(t)}function c(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),r=n>0?+e.slice(n+1):0,i=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function f(t,e){var n=Math.log,r=Math.LN10,i=Math.floor(n(t[1]-t[0])/r),o=Math.round(n(Math.abs(e[1]-e[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function p(t,e,n){if(!t[e])return 0;var i=function(t,e){var n=r.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];var i=Math.pow(10,e),o=r.map(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),a=100*i,s=r.map(o,(function(t){return Math.floor(t)})),u=r.reduce(s,(function(t,e){return t+e}),0),l=r.map(o,(function(t,e){return t-s[e]}));for(;u<a;){for(var h=Number.NEGATIVE_INFINITY,c=null,f=0,p=l.length;f<p;++f)l[f]>h&&(h=l[f],c=f);++s[c],l[c]=0,++u}return r.map(s,(function(t){return t/i}))}(t,n);return i[e]||0}function d(t,e){var n=Math.max(h(t),h(e)),r=t+e;return n>o?r:u(r,n)}var y=9007199254740991;function v(t){var e=2*Math.PI;return(t%e+e)%e}function g(t){return t>-i&&t<i}var m=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function _(t){if(t instanceof Date)return t;if(r.isString(t)){var e=m.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function x(t){return Math.pow(10,w(t))}function w(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function S(t,e){var n=w(t),r=Math.pow(10,n),i=t/r;return t=(e?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*r,n>=-20?+t.toFixed(n<0?-n:0):t}function b(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],o=n-r;return o?i+o*(t[r]-i):i}function D(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,r=0;r<t.length;){for(var i=t[r].interval,o=t[r].close,a=0;a<2;a++)i[a]<=e&&(i[a]=e,o[a]=a?1:1-n),e=i[a],n=o[a];i[0]===i[1]&&o[0]*o[1]!=1?t.splice(r,1):r++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]==(n?-1:1)||!n&&s(t,e,1))}}function M(t){var e=parseFloat(t);return e==t&&(0!==e||!r.isString(t)||t.indexOf("x")<=0)?e:NaN}function T(t){return!isNaN(M(t))}function k(){return Math.round(9*Math.random())}function C(t,e){return 0===e?t:C(e,t%e)}function I(t,e){return null==t?e:null==e?t:t*e/C(t,e)}},73372:function(t,e,n){n.d(e,{$l:()=>$,Av:()=>ut,C5:()=>et,CX:()=>p,Gl:()=>L,Hg:()=>w,JQ:()=>S,Ki:()=>_,L1:()=>y,MA:()=>Z,Mh:()=>B,Nj:()=>st,RW:()=>lt,SJ:()=>j,SX:()=>V,T5:()=>q,UL:()=>X,VP:()=>H,WO:()=>at,XX:()=>W,aG:()=>ht,ci:()=>tt,e9:()=>ft,fD:()=>z,iK:()=>b,k5:()=>rt,oJ:()=>K,og:()=>J,qc:()=>v,vF:()=>nt,wU:()=>d,xp:()=>ct,xr:()=>Q,yx:()=>x,zI:()=>Y});n(92745),n(22139);var r=n(6836),i=n(89523),o=n(6866),a=n(31936),s=n(2916),u=1,l={},h=(0,a.Yf)(),c=(0,a.Yf)(),f=0,p=1,d=2,y=["emphasis","blur","select"],v=["normal","emphasis","blur","select"],g=10,m=9,_="highlight",x="downplay",w="select",S="unselect",b="toggleSelect";function D(t){return null!=t&&"none"!==t}function M(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function T(t){M(t,"emphasis",d)}function k(t){t.hoverState===d&&M(t,"normal",f)}function C(t){M(t,"blur",p)}function I(t){t.hoverState===p&&M(t,"normal",f)}function O(t){t.selected=!0}function P(t){t.selected=!1}function A(t,e,n){e(t,n)}function N(t,e,n){A(t,e,n),t.isGroup&&t.traverse((function(t){A(t,e,n)}))}function L(t,e){switch(e){case"emphasis":t.hoverState=d;break;case"normal":t.hoverState=f;break;case"blur":t.hoverState=p;break;case"select":t.selected=!0}}function R(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,i){var a=n&&(0,r.indexOf)(n,"select")>=0,u=!1;if(t instanceof s.ZP){var l=h(t),c=a&&l.selectFill||l.normalFill,f=a&&l.selectStroke||l.normalStroke;if(D(c)||D(f)){var p=(i=i||{}).style||{};"inherit"===p.fill?(u=!0,i=(0,r.extend)({},i),(p=(0,r.extend)({},p)).fill=c):!D(p.fill)&&D(c)?(u=!0,i=(0,r.extend)({},i),(p=(0,r.extend)({},p)).fill=(0,o.liftColor)(c)):!D(p.stroke)&&D(f)&&(u||(i=(0,r.extend)({},i),p=(0,r.extend)({},p)),p.stroke=(0,o.liftColor)(f)),i.style=p}}if(i&&null==i.z2){u||(i=(0,r.extend)({},i));var d=t.z2EmphasisLift;i.z2=t.z2+(null!=d?d:g)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=(0,r.indexOf)(t.currentStates,e)>=0,o=t.style.opacity,a=i?null:function(t,e,n,r){for(var i=t.style,o={},a=0;a<e.length;a++){var s=e[a],u=i[s];o[s]=null==u?r&&r[s]:u}for(a=0;a<t.animators.length;a++){var l=t.animators[a];l.__fromStateTransition&&l.__fromStateTransition.indexOf(n)<0&&"style"===l.targetName&&l.saveTo(o,e)}return o}(t,["opacity"],e,{opacity:1}),s=(n=n||{}).style||{};return null==s.opacity&&(n=(0,r.extend)({},n),s=(0,r.extend)({opacity:i?o:.1*a.opacity},s),n.style=s),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=(0,r.extend)({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:m)}return n}(this,0,n)}return n}function Z(t){t.stateProxy=R;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=R),n&&(n.stateProxy=R)}function F(t,e){!G(t,e)&&!t.__highByOuter&&N(t,T)}function E(t,e){!G(t,e)&&!t.__highByOuter&&N(t,k)}function z(t,e){t.__highByOuter|=1<<(e||0),N(t,T)}function B(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&N(t,k)}function V(t){N(t,C)}function H(t){N(t,I)}function W(t){N(t,O)}function j(t){N(t,P)}function G(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function q(t){var e=t.getModel(),n=[],i=[];e.eachComponent((function(e,r){var o=c(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&i.push(s),o.isBlured&&(s.group.traverse((function(t){I(t)})),a&&n.push(r)),o.isBlured=!1})),(0,r.each)(i,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function U(t,e,n,i){var o=i.getModel();function a(t,e){for(var n=0;n<e.length;n++){var r=t.getItemGraphicEl(e[n]);r&&H(r)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var s=o.getSeriesByIndex(t),u=s.coordinateSystem;u&&u.master&&(u=u.master);var l=[];o.eachSeries((function(t){var o=s===t,h=t.coordinateSystem;if(h&&h.master&&(h=h.master),!("series"===n&&!o||"coordinateSystem"===n&&!(h&&u?h===u:o)||"series"===e&&o)){if(i.getViewOfSeriesModel(t).group.traverse((function(t){t.__highByOuter&&o&&"self"===e||C(t)})),(0,r.isArrayLike)(e))a(t.getData(),e);else if((0,r.isObject)(e))for(var f=(0,r.keys)(e),p=0;p<f.length;p++)a(t.getData(f[p]),e[f[p]]);l.push(t),c(t).isBlured=!0}})),o.eachComponent((function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,o)}}))}}function Y(t,e,n){if(null!=t&&null!=e){var r=n.getModel().getComponent(t,e);if(r){c(r).isBlured=!0;var i=n.getViewOfComponentModel(r);i&&i.focusBlurEnabled&&i.group.traverse((function(t){C(t)}))}}}function X(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var u=(0,a.gO)(s,e);u=((0,r.isArray)(u)?u[0]:u)||0;var l=s.getItemGraphicEl(u);if(!l)for(var h=s.count(),c=0;!l&&c<h;)l=s.getItemGraphicEl(c++);if(l){var f=(0,i.A)(l);U(o,f.focus,f.blurScope,n)}else{var p=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=p&&U(o,p,d,n)}}}function K(t,e,n,r){var o={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return o;var a=r.getModel().getComponent(t,e);if(!a)return o;var s=r.getViewOfComponentModel(a);if(!s||!s.findHighDownDispatchers)return o;for(var u,l=s.findHighDownDispatchers(n),h=0;h<l.length;h++)if("self"===(0,i.A)(l[h]).focus){u=!0;break}return{focusSelf:u,dispatchers:l}}function $(t,e,n){var o=(0,i.A)(t),a=K(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,u=a.focusSelf;s?(u&&Y(o.componentMainType,o.componentIndex,n),(0,r.each)(s,(function(t){return F(t,e)}))):(U(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&Y(o.componentMainType,o.componentIndex,n),F(t,e))}function Q(t,e,n){q(n);var o=(0,i.A)(t),a=K(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,r.each)(a,(function(t){return E(t,e)})):E(t,e)}function J(t,e,n){if(ht(e)){var i=e.dataType,o=t.getData(i),s=(0,a.gO)(o,e);(0,r.isArray)(s)||(s=[s]),t[e.type===b?"toggleSelect":e.type===w?"select":"unselect"](s,i)}}function tt(t){var e=t.getAllData();(0,r.each)(e,(function(e){var n=e.data,r=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,r)?W(e):j(e)}))}))}function et(t){var e=[];return t.eachSeries((function(t){var n=t.getAllData();(0,r.each)(n,(function(n){n.data;var r=n.type,i=t.getSelectedDataIndices();if(i.length>0){var o={dataIndex:i,seriesIndex:t.seriesIndex};null!=r&&(o.dataType=r),e.push(o)}}))})),e}function nt(t,e,n){st(t,!0),N(t,Z),function(t,e,n){var r=(0,i.A)(t);null!=e?(r.focus=e,r.blurScope=n):r.focus&&(r.focus=null)}(t,e,n)}function rt(t,e,n,r){r?function(t){st(t,!1)}(t):nt(t,e,n)}var it=["emphasis","blur","select"],ot={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function at(t,e,n,r){n=n||"itemStyle";for(var i=0;i<it.length;i++){var o=it[i],a=e.getModel([o,n]);t.ensureState(o).style=r?r(a):a[ot[n]]()}}function st(t,e){var n=!1===e,r=t;t.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!r.__highDownDispatcher||(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function ut(t){return!(!t||!t.__highDownDispatcher)}function lt(t){var e=l[t];return null==e&&u<=32&&(e=l[t]=u++),e}function ht(t){var e=t.type;return e===w||e===S||e===b}function ct(t){var e=t.type;return e===_||e===x}function ft(t){var e=h(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}},41974:function(t,e,n){n.d(e,{$K:()=>_,CW:()=>T,En:()=>R,FW:()=>v,MV:()=>O,P5:()=>c,RZ:()=>P,Tj:()=>m,V8:()=>d,WT:()=>s,WU:()=>w,Wp:()=>C,cb:()=>E,dV:()=>l,eN:()=>Z,f5:()=>L,fn:()=>I,k7:()=>S,q5:()=>D,rM:()=>F,s2:()=>h,sx:()=>M,vh:()=>N,vk:()=>g,xC:()=>x,xL:()=>A,xz:()=>k,yR:()=>u});n(19134),n(97003);var r=n(6836),i=n(96131),o=n(82357),a=n(30057),s=1e3,u=60*s,l=60*u,h=24*l,c=365*h,f={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},p="{yyyy}-{MM}-{dd}",d={year:"{yyyy}",month:"{yyyy}-{MM}",day:p,hour:p+" "+f.hour,minute:p+" "+f.minute,second:p+" "+f.second,millisecond:f.none},y=["year","month","day","hour","minute","second","millisecond"],v=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function g(t,e){return"0000".substr(0,e-(t+="").length)+t}function m(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function _(t){return t===m(t)}function x(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function w(t,e,n,r){var s=i.sG(t),u=s[M(n)](),l=s[T(n)]()+1,h=Math.floor((l-1)/3)+1,c=s[k(n)](),f=s["get"+(n?"UTC":"")+"Day"](),p=s[C(n)](),d=(p-1)%12+1,y=s[I(n)](),v=s[O(n)](),m=s[P(n)](),_=p>=12?"pm":"am",x=_.toUpperCase(),w=(r instanceof a.Z?r:(0,o.G8)(r||o.sO)||(0,o.Li)()).getModel("time"),S=w.get("month"),b=w.get("monthAbbr"),D=w.get("dayOfWeek"),A=w.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,_+"").replace(/{A}/g,x+"").replace(/{yyyy}/g,u+"").replace(/{yy}/g,g(u%100+"",2)).replace(/{Q}/g,h+"").replace(/{MMMM}/g,S[l-1]).replace(/{MMM}/g,b[l-1]).replace(/{MM}/g,g(l,2)).replace(/{M}/g,l+"").replace(/{dd}/g,g(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,D[f]).replace(/{ee}/g,A[f]).replace(/{e}/g,f+"").replace(/{HH}/g,g(p,2)).replace(/{H}/g,p+"").replace(/{hh}/g,g(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,g(y,2)).replace(/{m}/g,y+"").replace(/{ss}/g,g(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,g(m,3)).replace(/{S}/g,m+"")}function S(t,e,n,i,o){var a=null;if(r.isString(n))a=n;else if(r.isFunction(n))a=n(t.value,e,{level:t.level});else{var s=r.extend({},f);if(t.level>0)for(var u=0;u<y.length;++u)s[y[u]]="{primary|"+s[y[u]]+"}";var l=n?!1===n.inherit?n:r.defaults(n,s):s,h=b(t.value,o);if(l[h])a=l[h];else if(l.inherit){for(u=v.indexOf(h)-1;u>=0;--u)if(l[h]){a=l[h];break}a=a||s.none}if(r.isArray(a)){var c=null==t.level?0:t.level>=0?t.level:a.length+t.level;a=a[c=Math.min(c,a.length-1)]}}return w(new Date(t.value),a,o,i)}function b(t,e){var n=i.sG(t),r=n[T(e)]()+1,o=n[k(e)](),a=n[C(e)](),s=n[I(e)](),u=n[O(e)](),l=0===n[P(e)](),h=l&&0===u,c=h&&0===s,f=c&&0===a,p=f&&1===o;return p&&1===r?"year":p?"month":f?"day":c?"hour":h?"minute":l?"second":"millisecond"}function D(t,e,n){var o=r.isNumber(t)?i.sG(t):t;switch(e=e||b(t,n)){case"year":return o[M(n)]();case"half-year":return o[T(n)]()>=6?1:0;case"quarter":return Math.floor((o[T(n)]()+1)/4);case"month":return o[T(n)]();case"day":return o[k(n)]();case"half-day":return o[C(n)]()/24;case"hour":return o[C(n)]();case"minute":return o[I(n)]();case"second":return o[O(n)]();case"millisecond":return o[P(n)]()}}function M(t){return t?"getUTCFullYear":"getFullYear"}function T(t){return t?"getUTCMonth":"getMonth"}function k(t){return t?"getUTCDate":"getDate"}function C(t){return t?"getUTCHours":"getHours"}function I(t){return t?"getUTCMinutes":"getMinutes"}function O(t){return t?"getUTCSeconds":"getSeconds"}function P(t){return t?"getUTCMilliseconds":"getMilliseconds"}function A(t){return t?"setUTCFullYear":"setFullYear"}function N(t){return t?"setUTCMonth":"setMonth"}function L(t){return t?"setUTCDate":"setDate"}function R(t){return t?"setUTCHours":"setHours"}function Z(t){return t?"setUTCMinutes":"setMinutes"}function F(t){return t?"setUTCSeconds":"setSeconds"}function E(t){return t?"setUTCMilliseconds":"setMilliseconds"}},21202:function(t,e,n){n.d(e,{J5:()=>u,RA:()=>l,Wc:()=>c,XD:()=>o,cy:()=>i,f7:()=>r,fY:()=>h,hL:()=>s,qb:()=>a});var r=(0,n(6836).createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),i="original",o="arrayRows",a="objectRows",s="keyedColumns",u="typedArray",l="unknown",h="column",c="row"},50261:function(t,e,n){n.d(e,{Z:()=>x});n(52247),n(22139);var r=n(6836),i=n(74777),o=n(74440),a=n(68597),s=n(31936),u=n(73372),l=n(49162),h=n(8355),c=n(59214),f=s.Yf(),p=(0,h.Z)(),d=function(){function t(){this.group=new i.Z,this.uid=o.Kr("viewChart"),this.renderTask=(0,l.v)({plan:g,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){0},t.prototype.highlight=function(t,e,n,r){var i=t.getData(r&&r.dataType);i&&v(i,r,"emphasis")},t.prototype.downplay=function(t,e,n,r){var i=t.getData(r&&r.dataType);i&&v(i,r,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateLayout=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateVisual=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.eachRendered=function(t){(0,c.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){f(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function y(t,e,n){t&&(0,u.Av)(t)&&("emphasis"===e?u.fD:u.Mh)(t,n)}function v(t,e,n){var i=s.gO(t,e),o=e&&null!=e.highlightKey?(0,u.RW)(e.highlightKey):null;null!=i?(0,r.each)(s.kF(i),(function(e){y(t.getItemGraphicEl(e),n,o)})):t.eachItemGraphicEl((function(t){y(t,n,o)}))}function g(t){return p(t.model)}function m(t){var e=t.model,n=t.ecModel,r=t.api,i=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=i&&f(i).updateMethod,u=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==u&&a[u](e,n,r,i),_[u]}a.dm(d,["dispose"]),a.au(d);var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};const x=d},44125:function(t,e,n){n.d(e,{Z:()=>w});n(92745),n(61893);var r=n(6836),i=n(6866),o=n(96131),a=r.each,s=r.isObject,u=-1,l=function(){function t(e){var n=e.mappingMethod,i=e.type,o=this.option=r.clone(e);this.type=i,this.mappingMethod=n,this._normalizeData=_[n];var s=t.visualHandlers[i];this.applyVisual=s.applyVisual,this.getColorMapper=s.getColorMapper,this._normalizedToVisual=s._normalizedToVisual[n],"piecewise"===n?(h(o),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,r.each(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(o)):"category"===n?o.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(a(e,(function(t,e){n[t]=e})),!r.isArray(i)){var o=[];r.isObject(i)?a(i,(function(t,e){var r=n[e];o[null!=r?r:u]=t})):o[-1]=i,i=m(t,o)}for(var s=e.length-1;s>=0;s--)null==i[s]&&(delete n[e[s]],e.pop())}(o):h(o,!0):(r.assert("linear"!==n||o.dataExtent),h(o))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return r.bind(this._normalizeData,this)},t.listVisualTypes=function(){return r.keys(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){r.isObject(t)?r.each(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var o,a=r.isArray(e)?[]:r.isObject(e)?{}:(o=!0,null);return t.eachVisual(e,(function(t,e){var r=n.call(i,t,e);o?a=r:a[e]=r})),a},t.retrieveVisuals=function(e){var n,r={};return e&&a(t.visualHandlers,(function(t,i){e.hasOwnProperty(i)&&(r[i]=e[i],n=!0)})),n?r:null},t.prepareVisualTypes=function(t){if(r.isArray(t))t=t.slice();else{if(!s(t))return[];var e=[];a(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,o=1/0,a=0,s=e.length;a<s;a++){var u=e[a].value;if(null!=u){if(u===t||r.isString(u)&&u===t+"")return a;n&&f(u,a)}}for(a=0,s=e.length;a<s;a++){var l=e[a],h=l.interval,c=l.close;if(h){if(h[0]===-1/0){if(x(c[1],t,h[1]))return a}else if(h[1]===1/0){if(x(c[0],h[0],t))return a}else if(x(c[0],h[0],t)&&x(c[1],t,h[1]))return a;n&&f(h[0],a),n&&f(h[1],a)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function f(e,n){var r=Math.abs(e-t);r<o&&(o=r,i=n)}},t.visualHandlers={color:{applyVisual:p("color"),getColorMapper:function(){var t=this.option;return r.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),d.call(this,t)}:function(e,n,r){var o=!!r;return!n&&(e=this._normalizeData(e)),r=i.fastLerp(e,t.parsedVisual,r),o?r:i.stringify(r,"rgba")},this)},_normalizedToVisual:{linear:function(t){return i.stringify(i.fastLerp(t,this.option.parsedVisual),"rgba")},category:d,piecewise:function(t,e){var n=g.call(this,e);return null==n&&(n=i.stringify(i.fastLerp(t,this.option.parsedVisual),"rgba")),n},fixed:y}},colorHue:c((function(t,e){return i.modifyHSL(t,e)})),colorSaturation:c((function(t,e){return i.modifyHSL(t,null,e)})),colorLightness:c((function(t,e){return i.modifyHSL(t,null,null,e)})),colorAlpha:c((function(t,e){return i.modifyAlpha(t,e)})),decal:{applyVisual:p("decal"),_normalizedToVisual:{linear:null,category:d,piecewise:null,fixed:null}},opacity:{applyVisual:p("opacity"),_normalizedToVisual:v([0,1])},liftZ:{applyVisual:p("liftZ"),_normalizedToVisual:{linear:y,category:y,piecewise:y,fixed:y}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:f,category:d,piecewise:function(t,e){var n=g.call(this,e);return null==n&&(n=f.call(this,t)),n},fixed:y}},symbolSize:{applyVisual:p("symbolSize"),_normalizedToVisual:v([0,1])}},t}();function h(t,e){var n=t.visual,i=[];r.isObject(n)?a(n,(function(t){i.push(t)})):null!=n&&i.push(n);e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),m(t,i)}function c(t){return{applyVisual:function(e,n,r){var i=this.mapValueToVisual(e);r("color",t(n("color"),i))},_normalizedToVisual:v([0,1])}}function f(t){var e=this.option.visual;return e[Math.round((0,o.NU)(t,[0,1],[0,e.length-1],!0))]||{}}function p(t){return function(e,n,r){r(t,this.mapValueToVisual(e))}}function d(t){var e=this.option.visual;return e[this.option.loop&&t!==u?t%e.length:t]}function y(){return this.option.visual[0]}function v(t){return{linear:function(e){return(0,o.NU)(e,t,this.option.visual,!0)},category:d,piecewise:function(e,n){var r=g.call(this,n);return null==r&&(r=(0,o.NU)(e,t,this.option.visual,!0)),r},fixed:y}}function g(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var r=n[l.findPieceIndex(t,n)];if(r&&r.visual)return r.visual[this.type]}}function m(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=r.map(e,(function(t){var e=i.parse(t);return e||[0,0,0,1]}))),e}var _={linear:function(t){return(0,o.NU)(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=l.findPieceIndex(t,e,!0);if(null!=n)return(0,o.NU)(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?u:e},fixed:r.noop};function x(t,e,n){return t?e<=n:e<n}const w=l},26702:function(t,e,n){n.d(e,{Z:()=>S});n(52247),n(92745);var r=n(12115),i=n(25310),o=n(31117),a=n(18539),s=n(559),u=n(6836),l=n(12336),h=n(6866),c=n(65135),f="__zr_normal__",p=r.dN.concat(["ignore"]),d=(0,u.reduce)(r.dN,(function(t,e){return t[e]=!0,t}),{ignore:!1}),y={},v=new o.Z(0,0,0,0),g=function(){function t(t){this.id=(0,u.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=t,r[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,i=e.innerTransformable,o=void 0,a=void 0,u=!1;i.parent=r?this:null;var l=!1;if(i.copyTransform(e),null!=n.position){var h=v;n.layoutRect?h.copy(n.layoutRect):h.copy(this.getBoundingRect()),r||h.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(y,n,h):(0,s.wI)(y,n,h),i.x=y.x,i.y=y.y,o=y.align,a=y.verticalAlign;var f=n.origin;if(f&&null!=n.rotation){var p=void 0,d=void 0;"center"===f?(p=.5*h.width,d=.5*h.height):(p=(0,s.GM)(f[0],h.width),d=(0,s.GM)(f[1],h.height)),l=!0,i.originX=-i.x+p+(r?0:h.x),i.originY=-i.y+d+(r?0:h.y)}}null!=n.rotation&&(i.rotation=n.rotation);var g=n.offset;g&&(i.x+=g[0],i.y+=g[1],l||(i.originX=-g[0],i.originY=-g[1]));var m=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,_=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),x=void 0,w=void 0,S=void 0;m&&this.canBeInsideText()?(x=n.insideFill,w=n.insideStroke,null!=x&&"auto"!==x||(x=this.getInsideTextFill()),null!=w&&"auto"!==w||(w=this.getInsideTextStroke(x),S=!0)):(x=n.outsideFill,w=n.outsideStroke,null!=x&&"auto"!==x||(x=this.getOutsideFill()),null!=w&&"auto"!==w||(w=this.getOutsideStroke(x),S=!0)),(x=x||"#000")===_.fill&&w===_.stroke&&S===_.autoStroke&&o===_.align&&a===_.verticalAlign||(u=!0,_.fill=x,_.stroke=w,_.autoStroke=S,_.align=o,_.verticalAlign=a,e.setDefaultTextStyle(_)),e.__dirty|=c.YV,u&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?l.GD:l.vU},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&(0,h.parse)(e);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(i?0:255)*(1-r);return n[3]=1,(0,h.stringify)(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,u.extend)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if((0,u.isObject)(t))for(var n=t,r=(0,u.keys)(n),i=0;i<r.length;i++){var o=r[i];this.attrKV(o,t[o])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var r=this.animators[n],i=r.__fromStateTransition;if(!(r.getLoop()||i&&i!==f)){var o=r.targetName,a=o?e[o]:e;r.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,p)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var r=0;r<n.length;r++){var i=n[r];null==t[i]||i in e||(e[i]=this[i])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(f,!1,t)},t.prototype.useState=function(t,e,n,r){var i=t===f;if(this.hasState()||!i){var o=this.currentStates,a=this.stateTransition;if(!((0,u.indexOf)(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!i&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||i){i||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||r);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var h=this._textContent,p=this._textGuide;return h&&h.useState(t,e,n,l),p&&p.useState(t,e,n,l),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV),s}(0,u.logError)("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var r=[],i=this.currentStates,o=t.length,a=o===i.length;if(a)for(var s=0;s<o;s++)if(t[s]!==i[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var u=t[s],l=void 0;this.stateProxy&&(l=this.stateProxy(u,t)),l||(l=this.states[u]),l&&r.push(l)}var h=r[o-1],f=!!(h&&h.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0);var p=this._mergeStates(r),d=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(t.join(","),p,this._normalState,!1,!e&&!this.__inHover&&d&&d.duration>0,d);var y=this._textContent,v=this._textGuide;y&&y.useStates(t,e,f),v&&v.useStates(t,e,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,u.indexOf)(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var r=this.currentStates.slice(),i=(0,u.indexOf)(r,t),o=(0,u.indexOf)(r,e)>=0;i>=0?o?r.splice(i,1):r[i]=e:n&&!o&&r.push(e),this.useStates(r)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},r=0;r<t.length;r++){var i=t[r];(0,u.extend)(n,i),i.textConfig&&(e=e||{},(0,u.extend)(e,i.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,r,i,o){var a=!(e&&r);e&&e.textConfig?(this.textConfig=(0,u.extend)({},r?this.textConfig:n.textConfig),(0,u.extend)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,h=0;h<p.length;h++){var c=p[h],f=i&&d[c];e&&null!=e[c]?f?(l=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=n[c]&&(f?(l=!0,s[c]=n[c]):this[c]=n[c])}if(!i)for(h=0;h<this.animators.length;h++){var y=this.animators[h],v=y.targetName;y.getLoop()||y.__changeFinalValue(v?(e||n)[v]:e||n)}l&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new r.ZP,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,u.extend)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=c.YV;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var r=t?this[t]:this;var o=new i.Z(r,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,r=this;t.during((function(){r.updateDuringAnimation(e)})).done((function(){var e=r.animators,n=(0,u.indexOf)(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,r=n.length,i=[],o=0;o<r;o++){var a=n[o];t&&t!==a.scope?i.push(a):a.stop(e)}return this.animators=i,this},t.prototype.animateTo=function(t,e,n){m(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){m(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,r){for(var i=m(this,e,n,r),o=0;o<i.length;o++)i[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=c.YV;function n(t,n,r,i){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[r]},set:function(e){t[r]=e}}),Object.defineProperty(e,1,{get:function(){return t[i]},set:function(e){t[i]=e}})}Object.defineProperty(e,t,{get:function(){this[n]||o(this,this[n]=[]);return this[n]},set:function(t){this[r]=t[0],this[i]=t[1],this[n]=t,o(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function m(t,e,n,r,i){var o=[];w(t,"",t,e,n=n||{},r,o,i);var a=o.length,s=!1,u=n.done,l=n.aborted,h=function(){s=!0,--a<=0&&(s?u&&u():l&&l())},c=function(){--a<=0&&(s?u&&u():l&&l())};a||u&&u(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var f=0;f<o.length;f++){var p=o[f];h&&p.done(h),c&&p.aborted(c),n.force&&p.duration(n.duration),p.start(n.easing)}return o}function _(t,e,n){for(var r=0;r<n;r++)t[r]=e[r]}function x(t,e,n){if((0,u.isArrayLike)(e[n]))if((0,u.isArrayLike)(t[n])||(t[n]=[]),(0,u.isTypedArray)(e[n])){var r=e[n].length;t[n].length!==r&&(t[n]=new e[n].constructor(r),_(t[n],e[n],r))}else{var i=e[n],o=t[n],a=i.length;if(h=i,(0,u.isArrayLike)(h[0]))for(var s=i[0].length,l=0;l<a;l++)o[l]?_(o[l],i[l],s):o[l]=Array.prototype.slice.call(i[l]);else _(o,i,a);o.length=i.length}else t[n]=e[n];var h}function w(t,e,n,r,o,a,s,l){for(var h=(0,u.keys)(r),c=o.duration,f=o.delay,p=o.additive,d=o.setToFinal,y=!(0,u.isObject)(a),v=t.animators,g=[],m=0;m<h.length;m++){var _=h[m],S=r[_];if(null!=S&&null!=n[_]&&(y||a[_]))if(!(0,u.isObject)(S)||(0,u.isArrayLike)(S)||(0,u.isGradientObject)(S))g.push(_);else{if(e){l||(n[_]=S,t.updateDuringAnimation(e));continue}w(t,_,n[_],S,o,a&&a[_],s,l)}else l||(n[_]=S,t.updateDuringAnimation(e),g.push(_))}var b=g.length;if(!p&&b)for(var D=0;D<v.length;D++){if((T=v[D]).targetName===e)if(T.stopTracks(g)){var M=(0,u.indexOf)(v,T);v.splice(M,1)}}if(o.force||(g=(0,u.filter)(g,(function(t){return e=r[t],i=n[t],!(e===i||(0,u.isArrayLike)(e)&&(0,u.isArrayLike)(i)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}(e,i));var e,i})),b=g.length),b>0||o.force&&!s.length){var T,k=void 0,C=void 0,I=void 0;if(l){C={},d&&(k={});for(D=0;D<b;D++){C[_=g[D]]=n[_],d?k[_]=r[_]:n[_]=r[_]}}else if(d){I={};for(D=0;D<b;D++){I[_=g[D]]=(0,i.V)(n[_]),x(n,r,_)}}(T=new i.Z(n,!1,!1,p?(0,u.filter)(v,(function(t){return t.targetName===e})):null)).targetName=e,o.scope&&(T.scope=o.scope),d&&k&&T.whenWithKeys(0,k,g),I&&T.whenWithKeys(0,I,g),T.whenWithKeys(null==c?500:c,l?C:r,g).delay(f||0),t.addAnimator(T,e),s.push(T)}}(0,u.mixin)(g,a.Z),(0,u.mixin)(g,r.ZP);const S=g},25310:function(t,e,n){n.d(e,{V:()=>_,Z:()=>M});n(92745),n(61893);var r={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,r=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=r*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-r.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*r.bounceIn(2*t):.5*r.bounceOut(2*t-1)+.5}};const i=r;var o=n(6836),a=(n(19134),n(24894)),s=/cubic-bezier\(([0-9,\.e ]+)\)/;function u(t){var e=t&&s.exec(t);if(e){var n=e[1].split(","),r=+(0,o.trim)(n[0]),i=+(0,o.trim)(n[1]),u=+(0,o.trim)(n[2]),l=+(0,o.trim)(n[3]);if(isNaN(r+i+u+l))return;var h=[];return function(t){return t<=0?0:t>=1?1:(0,a.kD)(0,r,u,1,t,h)&&(0,a.af)(0,i,l,1,h[0])}}}const l=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||o.noop,this.ondestroy=t.ondestroy||o.noop,this.onrestart=t.onrestart||o.noop,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,r=t-this._startTime-this._pausedTime,i=r/n;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,a=o?o(i):i;if(this.onframe(a),1===i){if(!this.loop)return!0;var s=r%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,o.isFunction)(t)?t:i[t]||u(t)},t}();var h=n(6866),c=(n(49278),n(11740),n(34028),n(21478),n(35911),n(53970));c.Z.hasGlobalWindow&&(0,o.isFunction)(window.btoa);var f=Array.prototype.slice;function p(t,e,n){return(e-t)*n+t}function d(t,e,n,r){for(var i=e.length,o=0;o<i;o++)t[o]=p(e[o],n[o],r);return t}function y(t,e,n,r){for(var i=e.length,o=0;o<i;o++)t[o]=e[o]+n[o]*r;return t}function v(t,e,n,r){for(var i=e.length,o=i&&e[0].length,a=0;a<i;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*r}return t}function g(t,e){for(var n=t.length,r=e.length,i=n>r?e:t,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,r);s++)i.push({offset:a.offset,color:a.color.slice()})}function m(t,e,n){var r=t,i=e;if(r.push&&i.push){var o=r.length,a=i.length;if(o!==a)if(o>a)r.length=a;else for(var s=o;s<a;s++)r.push(1===n?i[s]:f.call(i[s]));var u=r[0]&&r[0].length;for(s=0;s<r.length;s++)if(1===n)isNaN(r[s])&&(r[s]=i[s]);else for(var l=0;l<u;l++)isNaN(r[s][l])&&(r[s][l]=i[s][l])}}function _(t){if((0,o.isArrayLike)(t)){var e=t.length;if((0,o.isArrayLike)(t[0])){for(var n=[],r=0;r<e;r++)n.push(f.call(t[r]));return n}return f.call(t)}return t}function x(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function w(t){return 4===t||5===t}function S(t){return 1===t||2===t}var b=[0,0,0,0],D=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var r=this.keyframes,a=r.length,s=!1,l=6,c=e;if((0,o.isArrayLike)(e)){var f=function(t){return(0,o.isArrayLike)(t&&t[0])?2:1}(e);l=f,(1===f&&!(0,o.isNumber)(e[0])||2===f&&!(0,o.isNumber)(e[0][0]))&&(s=!0)}else if((0,o.isNumber)(e)&&!(0,o.eqNaN)(e))l=0;else if((0,o.isString)(e))if(isNaN(+e)){var p=h.parse(e);p&&(c=p,l=3)}else l=0;else if((0,o.isGradientObject)(e)){var d=(0,o.extend)({},c);d.colorStops=(0,o.map)(e.colorStops,(function(t){return{offset:t.offset,color:h.parse(t.color)}})),"linear"===e.type?l=4:function(t){return"radial"===t.type}(e)&&(l=5),c=d}0===a?this.valType=l:l===this.valType&&6!==l||(s=!0),this.discrete=this.discrete||s;var y={time:t,value:c,rawValue:e,percent:0};return n&&(y.easing=n,y.easingFunc=(0,o.isFunction)(n)?n:i[n]||u(n)),r.push(y),y},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=S(r),u=w(r),l=0;l<i;l++){var h=n[l],c=h.value,f=o.value;h.percent=h.time/t,a||(s&&l!==i-1?m(c,f,r):u&&g(c.colorStops,f.colorStops))}if(!a&&5!==r&&e&&this.needsAnimate()&&e.needsAnimate()&&r===e.valType&&!e._finished){this._additiveTrack=e;var p=n[0].value;for(l=0;l<i;l++)0===r?n[l].additiveValue=n[l].value-p:3===r?n[l].additiveValue=y([],n[l].value,p,-1):S(r)&&(n[l].additiveValue=1===r?y([],n[l].value,p,-1):v([],n[l].value,p,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,r,i,a=null!=this._additiveTrack,s=a?"additiveValue":"value",u=this.valType,l=this.keyframes,h=l.length,c=this.propName,f=3===u,y=this._lastFr,v=Math.min;if(1===h)r=i=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=v(y+1,h-1);n>=0&&!(l[n].percent<=e);n--);n=v(n,h-2)}else{for(n=y;n<h&&!(l[n].percent>e);n++);n=v(n-1,h-2)}i=l[n+1],r=l[n]}if(r&&i){this._lastFr=n,this._lastFrP=e;var g=i.percent-r.percent,m=0===g?1:v((e-r.percent)/g,1);i.easingFunc&&(m=i.easingFunc(m));var _=a?this._additiveValue:f?b:t[c];if(!S(u)&&!f||_||(_=this._additiveValue=[]),this.discrete)t[c]=m<1?r.rawValue:i.rawValue;else if(S(u))1===u?d(_,r[s],i[s],m):function(t,e,n,r){for(var i=e.length,o=i&&e[0].length,a=0;a<i;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=p(e[a][s],n[a][s],r)}}(_,r[s],i[s],m);else if(w(u)){var D=r[s],M=i[s],T=4===u;t[c]={type:T?"linear":"radial",x:p(D.x,M.x,m),y:p(D.y,M.y,m),colorStops:(0,o.map)(D.colorStops,(function(t,e){var n=M.colorStops[e];return{offset:p(t.offset,n.offset,m),color:x(d([],t.color,n.color,m))}})),global:M.global},T?(t[c].x2=p(D.x2,M.x2,m),t[c].y2=p(D.y2,M.y2,m)):t[c].r=p(D.r,M.r,m)}else if(f)d(_,r[s],i[s],m),a||(t[c]=x(_));else{var k=p(r[s],i[s],m);a?this._additiveValue=k:t[c]=k}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,r=this._additiveValue;0===e?t[n]=t[n]+r:3===e?(h.parse(t[n],b),y(b,b,r,1),t[n]=x(b)):1===e?y(t[n],t[n],r,1):2===e&&v(t[n],t[n],r,1)},t}();const M=function(){function t(t,e,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&r?(0,o.logError)("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,(0,o.keys)(e),n)},t.prototype.whenWithKeys=function(t,e,n,r){for(var i=this._tracks,o=0;o<n.length;o++){var a=n[o],s=i[a];if(!s){s=i[a]=new D(a);var u=void 0,l=this._getAdditiveTrack(a);if(l){var h=l.keyframes,c=h[h.length-1];u=c&&c.value,3===l.valType&&u&&(u=x(u))}else u=this._target[a];if(null==u)continue;t>0&&s.addKeyframe(0,_(u),r),this._trackKeys.push(a)}s.addKeyframe(t,_(e[a]),r)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var r=0;r<n.length;r++){var i=n[r].getTrack(t);i&&(e=i)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],r=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],a=this._tracks[o],s=this._getAdditiveTrack(o),u=a.keyframes,h=u.length;if(a.prepare(r,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=u[h-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var f=new l({life:r,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var r=e._additiveAnimators;if(r){for(var i=!1,o=0;o<r.length;o++)if(r[o]._clip){i=!0;break}i||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=f,this.animation&&this.animation.addClip(f),t&&f.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,o.map)(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,r=this._trackKeys,i=0;i<t.length;i++){var o=n[t[i]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(i=0;i<r.length;i++)if(!n[r[i]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var r=0;r<e.length;r++){var i=e[r],o=this._tracks[i];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[i]=_(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,o.keys)(t);for(var n=0;n<e.length;n++){var r=e[n],i=this._tracks[r];if(i){var a=i.keyframes;if(a.length>1){var s=a.pop();i.addKeyframe(s.time,t[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},t}()},12336:function(t,e,n){n.d(e,{Ak:()=>o,GD:()=>s,KL:()=>i,iv:()=>u,vU:()=>a});var r=1;n(53970).Z.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var i=r,o=.4,a="#333",s="#ccc",u="#eee"},559:function(t,e,n){n.d(e,{Dp:()=>f,GM:()=>p,M3:()=>h,dz:()=>s,lP:()=>l,mU:()=>c,wI:()=>d});n(95078);var r=n(31117),i=n(45974),o=n(70813),a={};function s(t,e){e=e||o.Uo;var n=a[e];n||(n=a[e]=new i.ZP(500));var r=n.get(t);return null==r&&(r=o.qW.measureText(t,e).width,n.put(t,r)),r}function u(t,e,n,i){var o=s(t,e),a=f(e),u=h(0,o,n),l=c(0,a,i);return new r.Z(u,l,o,a)}function l(t,e,n,i){var o=((t||"")+"").split("\n");if(1===o.length)return u(o[0],e,n,i);for(var a=new r.Z(0,0,0,0),s=0;s<o.length;s++){var l=u(o[s],e,n,i);0===s?a.copy(l):a.union(l)}return a}function h(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function c(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function f(t){return s("国",t)}function p(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function d(t,e,n){var r=e.position||"inside",i=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,u=n.x,l=n.y,h="left",c="top";if(r instanceof Array)u+=p(r[0],n.width),l+=p(r[1],n.height),h=null,c=null;else switch(r){case"left":u-=i,l+=s,h="right",c="middle";break;case"right":u+=i+a,l+=s,c="middle";break;case"top":u+=a/2,l-=i,h="center",c="bottom";break;case"bottom":u+=a/2,l+=o+i,h="center";break;case"inside":u+=a/2,l+=s,h="center",c="middle";break;case"insideLeft":u+=i,l+=s,c="middle";break;case"insideRight":u+=a-i,l+=s,h="right",c="middle";break;case"insideTop":u+=a/2,l+=i,h="center";break;case"insideBottom":u+=a/2,l+=o-i,h="center",c="bottom";break;case"insideTopLeft":u+=i,l+=i;break;case"insideTopRight":u+=a-i,l+=i,h="right";break;case"insideBottomLeft":u+=i,l+=o-i,c="bottom";break;case"insideBottomRight":u+=a-i,l+=o-i,h="right",c="bottom"}return(t=t||{}).x=u,t.y=l,t.align=h,t.verticalAlign=c,t}},61397:function(t,e,n){n.d(e,{m:()=>i});var r=2*Math.PI;function i(t){return(t%=r)<0&&(t+=r),t}},32782:function(t,e,n){function r(t,e,n,r,i,o){if(o>e&&o>r||o<e&&o<r)return 0;if(r===e)return 0;var a=(o-e)/(r-e),s=r<e?1:-1;1!==a&&0!==a||(s=r<e?.5:-.5);var u=a*(n-t)+t;return u===i?1/0:u>i?s:0}n.d(e,{Z:()=>r})},31117:function(t,e,n){n.d(e,{Z:()=>p});var r=n(8982),i=n(62672),o=Math.min,a=Math.max,s=new i.Z,u=new i.Z,l=new i.Z,h=new i.Z,c=new i.Z,f=new i.Z;const p=function(){function t(t,e,n,r){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r),this.x=t,this.y=e,this.width=n,this.height=r}return t.prototype.union=function(t){var e=o(t.x,this.x),n=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,o=r.create();return r.translate(o,o,[-e.x,-e.y]),r.scale(o,o,[n,i]),r.translate(o,o,[t.x,t.y]),o},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var r=this,o=r.x,a=r.x+r.width,s=r.y,u=r.y+r.height,l=e.x,h=e.x+e.width,p=e.y,d=e.y+e.height,y=!(a<l||h<o||u<p||d<s);if(n){var v=1/0,g=0,m=Math.abs(a-l),_=Math.abs(h-o),x=Math.abs(u-p),w=Math.abs(d-s),S=Math.min(m,_),b=Math.min(x,w);a<l||h<o?S>g&&(g=S,m<_?i.Z.set(f,-m,0):i.Z.set(f,_,0)):S<v&&(v=S,m<_?i.Z.set(c,m,0):i.Z.set(c,-_,0)),u<p||d<s?b>g&&(g=b,x<w?i.Z.set(f,0,-x):i.Z.set(f,0,w)):S<v&&(v=S,x<w?i.Z.set(c,0,x):i.Z.set(c,0,-w))}return n&&i.Z.copy(n,y?c:f),y},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],c=r[3],f=r[4],p=r[5];return e.x=n.x*i+f,e.y=n.y*c+p,e.width=n.width*i,e.height=n.height*c,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}s.x=l.x=n.x,s.y=h.y=n.y,u.x=h.x=n.x+n.width,u.y=l.y=n.y+n.height,s.transform(r),h.transform(r),u.transform(r),l.transform(r),e.x=o(s.x,u.x,l.x,h.x),e.y=o(s.y,u.y,l.y,h.y);var d=a(s.x,u.x,l.x,h.x),y=a(s.y,u.y,l.y,h.y);e.width=d-e.x,e.height=y-e.y}else e!==n&&t.copy(e,n)},t}()},18539:function(t,e,n){n.d(e,{Z:()=>i});n(92745),n(9359),n(56475);var r=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof e&&(r=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),i[t]||(i[t]=[]);for(var a=0;a<i[t].length;a++)if(i[t][a].h===n)return this;var s={h:n,query:e,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},u=i[t].length-1,l=i[t][u];return l&&l.callAtLast?i[t].splice(u,0,s):i[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var r=[],i=0,o=n[t].length;i<o;i++)n[t][i].h!==e&&r.push(n[t][i]);n[t]=r}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[t],i=this._$eventProcessor;if(r)for(var o=e.length,a=r.length,s=0;s<a;s++){var u=r[s];if(!i||!i.filter||null==u.query||i.filter(t,u.query))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,e[0]);break;case 2:u.h.call(u.ctx,e[0],e[1]);break;default:u.h.apply(u.ctx,e)}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[t],i=this._$eventProcessor;if(r)for(var o=e.length,a=e[o-1],s=r.length,u=0;u<s;u++){var l=r[u];if(!i||!i.filter||null==l.query||i.filter(t,l.query))switch(o){case 0:l.h.call(a);break;case 1:l.h.call(a,e[0]);break;case 2:l.h.call(a,e[0],e[1]);break;default:l.h.apply(a,e.slice(1,o-1))}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t}();const i=r},45974:function(t,e,n){n.d(e,{ZP:()=>o});var r=function(t){this.value=t},i=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new r(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();const o=function(){function t(t){this._list=new i,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,o=null;if(null==i[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var u=n.head;n.remove(u),delete i[u.key],o=u.value,this._lastRemovedEntry=u}s?s.value=e:s=new r(e),s.key=t,n.insertEntry(s),i[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},90713:function(t,e,n){n.d(e,{Z:()=>u});var r=n(62672),i=[0,0],o=[0,0],a=new r.Z,s=new r.Z;const u=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new r.Z;for(n=0;n<2;n++)this._axes[n]=new r.Z;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,o=t.x,a=t.y,s=o+t.width,u=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,u),n[3].set(o,u),e)for(var l=0;l<4;l++)n[l].transform(e);r.Z.sub(i[0],n[1],n[0]),r.Z.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,a,s,i,-1)&&(n=!1,i)||i||r.Z.copy(e,n?a:s),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,u){for(var l=!0,h=0;h<2;h++){var c=this._axes[h];if(this._getProjMinMaxOnAxis(h,t._corners,i),this._getProjMinMaxOnAxis(h,e._corners,o),i[1]<o[0]||i[0]>o[1]){if(l=!1,s)return l;var f=Math.abs(o[0]-i[1]),p=Math.abs(i[0]-o[1]);Math.min(f,p)>a.len()&&(f<p?r.Z.scale(a,c,-f*u):r.Z.scale(a,c,p*u))}else if(n){f=Math.abs(o[0]-i[1]),p=Math.abs(i[0]-o[1]);Math.min(f,p)<n.len()&&(f<p?r.Z.scale(n,c,f*u):r.Z.scale(n,c,-p*u))}}return l},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var r=this._axes[t],i=this._origin,o=e[0].dot(r)+i[t],a=o,s=o,u=1;u<e.length;u++){var l=e[u].dot(r)+i[t];a=Math.min(l,a),s=Math.max(l,s)}n[0]=a,n[1]=s},t}()},40451:function(t,e,n){n.d(e,{Z:()=>T});n(71695),n(82328),n(55751),n(26200),n(25754),n(22246),n(66086),n(36810),n(14953),n(58402),n(31503),n(16440),n(2213),n(57385),n(71375),n(15524),n(20267);var r=n(58881),i=n(31117),o=n(12336),a=n(61856),s=n(24894),u={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},l=[],h=[],c=[],f=[],p=[],d=[],y=Math.min,v=Math.max,g=Math.cos,m=Math.sin,_=Math.abs,x=Math.PI,w=2*x,S="undefined"!=typeof Float32Array,b=[];function D(t){return Math.round(t/x*1e8)/1e8%2*x}var M=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}var e;return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=_(n/o.KL/t)||0,this._uy=_(n/o.KL/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(u.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=_(t-this._xi),r=_(e-this._yi),i=n>this._ux||r>this._uy;if(this.addData(u.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,r,i,o){return this._drawPendingPt(),this.addData(u.C,t,e,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,r,i,o),this._xi=i,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,r){return this._drawPendingPt(),this.addData(u.Q,t,e,n,r),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,r),this._xi=n,this._yi=r,this},t.prototype.arc=function(t,e,n,r,i,o){this._drawPendingPt(),b[0]=r,b[1]=i,function(t,e){var n=D(t[0]);n<0&&(n+=w);var r=n-t[0],i=t[1];i+=r,!e&&i-n>=w?i=n+w:e&&n-i>=w?i=n-w:!e&&n>i?i=n+(w-D(n-i)):e&&n<i&&(i=n-(w-D(i-n))),t[0]=n,t[1]=i}(b,o),r=b[0];var a=(i=b[1])-r;return this.addData(u.A,t,e,n,n,r,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,r,i,o),this._xi=g(i)*n+t,this._yi=m(i)*n+e,this},t.prototype.arcTo=function(t,e,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},t.prototype.rect=function(t,e,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,r),this.addData(u.R,t,e,n,r),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(u.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!S||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,r=this._len,i=0;i<e;i++)n+=t[i].len();S&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(i=0;i<e;i++)for(var o=t[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},t.prototype.addData=function(t,e,n,r,i,o,a,s,u){if(this._saveData){var l=this.data;this._len+arguments.length>l.length&&(this._expandData(),l=this.data);for(var h=0;h<arguments.length;h++)l[this._len++]=arguments[h]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,S&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){c[0]=c[1]=p[0]=p[1]=Number.MAX_VALUE,f[0]=f[1]=d[0]=d[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,s=0,l=0;for(t=0;t<this._len;){var h=e[t++],y=1===t;switch(y&&(s=n=e[t],l=o=e[t+1]),h){case u.M:n=s=e[t++],o=l=e[t++],p[0]=s,p[1]=l,d[0]=s,d[1]=l;break;case u.L:(0,a.u4)(n,o,e[t],e[t+1],p,d),n=e[t++],o=e[t++];break;case u.C:(0,a.H9)(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],p,d),n=e[t++],o=e[t++];break;case u.Q:(0,a.mJ)(n,o,e[t++],e[t++],e[t],e[t+1],p,d),n=e[t++],o=e[t++];break;case u.A:var v=e[t++],_=e[t++],x=e[t++],w=e[t++],S=e[t++],b=e[t++]+S;t+=1;var D=!e[t++];y&&(s=g(S)*x+v,l=m(S)*w+_),(0,a.qL)(v,_,x,w,S,b,D,p,d),n=g(b)*x+v,o=m(b)*w+_;break;case u.R:s=n=e[t++],l=o=e[t++];var M=e[t++],T=e[t++];(0,a.u4)(s,l,s+M,l+T,p,d);break;case u.Z:n=s,o=l}r.min(c,c,p),r.max(f,f,d)}return 0===t&&(c[0]=c[1]=f[0]=f[1]=0),new i.Z(c[0],c[1],f[0]-c[0],f[1]-c[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,r=this._uy,i=0,o=0,a=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var h=this._pathSegLen,c=0,f=0,p=0;p<e;){var d=t[p++],x=1===p;x&&(a=i=t[p],l=o=t[p+1]);var S=-1;switch(d){case u.M:i=a=t[p++],o=l=t[p++];break;case u.L:var b=t[p++],D=(k=t[p++])-o;(_(F=b-i)>n||_(D)>r||p===e-1)&&(S=Math.sqrt(F*F+D*D),i=b,o=k);break;case u.C:var M=t[p++],T=t[p++],k=(b=t[p++],t[p++]),C=t[p++],I=t[p++];S=(0,s.Ci)(i,o,M,T,b,k,C,I,10),i=C,o=I;break;case u.Q:M=t[p++],T=t[p++],b=t[p++],k=t[p++];S=(0,s.wQ)(i,o,M,T,b,k,10),i=b,o=k;break;case u.A:var O=t[p++],P=t[p++],A=t[p++],N=t[p++],L=t[p++],R=t[p++],Z=R+L;p+=1,x&&(a=g(L)*A+O,l=m(L)*N+P),S=v(A,N)*y(w,Math.abs(R)),i=g(Z)*A+O,o=m(Z)*N+P;break;case u.R:a=i=t[p++],l=o=t[p++],S=2*t[p++]+2*t[p++];break;case u.Z:var F=a-i;D=l-o;S=Math.sqrt(F*F+D*D),i=a,o=l}S>=0&&(h[f++]=S,c+=S)}return this._pathLen=c,c},t.prototype.rebuildPath=function(t,e){var n,r,i,o,a,c,f,p,d,x,w=this.data,S=this._ux,b=this._uy,D=this._len,M=e<1,T=0,k=0,C=0;if(!M||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,p=e*this._pathLen))t:for(var I=0;I<D;){var O=w[I++],P=1===I;switch(P&&(n=i=w[I],r=o=w[I+1]),O!==u.L&&C>0&&(t.lineTo(d,x),C=0),O){case u.M:n=i=w[I++],r=o=w[I++],t.moveTo(i,o);break;case u.L:a=w[I++],c=w[I++];var A=_(a-i),N=_(c-o);if(A>S||N>b){if(M){if(T+(rt=f[k++])>p){var L=(p-T)/rt;t.lineTo(i*(1-L)+a*L,o*(1-L)+c*L);break t}T+=rt}t.lineTo(a,c),i=a,o=c,C=0}else{var R=A*A+N*N;R>C&&(d=a,x=c,C=R)}break;case u.C:var Z=w[I++],F=w[I++],E=w[I++],z=w[I++],B=w[I++],V=w[I++];if(M){if(T+(rt=f[k++])>p){L=(p-T)/rt;(0,s.Vz)(i,Z,E,B,L,l),(0,s.Vz)(o,F,z,V,L,h),t.bezierCurveTo(l[1],h[1],l[2],h[2],l[3],h[3]);break t}T+=rt}t.bezierCurveTo(Z,F,E,z,B,V),i=B,o=V;break;case u.Q:Z=w[I++],F=w[I++],E=w[I++],z=w[I++];if(M){if(T+(rt=f[k++])>p){L=(p-T)/rt;(0,s.Lx)(i,Z,E,L,l),(0,s.Lx)(o,F,z,L,h),t.quadraticCurveTo(l[1],h[1],l[2],h[2]);break t}T+=rt}t.quadraticCurveTo(Z,F,E,z),i=E,o=z;break;case u.A:var H=w[I++],W=w[I++],j=w[I++],G=w[I++],q=w[I++],U=w[I++],Y=w[I++],X=!w[I++],K=j>G?j:G,$=_(j-G)>.001,Q=q+U,J=!1;if(M)T+(rt=f[k++])>p&&(Q=q+U*(p-T)/rt,J=!0),T+=rt;if($&&t.ellipse?t.ellipse(H,W,j,G,Y,q,Q,X):t.arc(H,W,K,q,Q,X),J)break t;P&&(n=g(q)*j+H,r=m(q)*G+W),i=g(Q)*j+H,o=m(Q)*G+W;break;case u.R:n=i=w[I],r=o=w[I+1],a=w[I++],c=w[I++];var tt=w[I++],et=w[I++];if(M){if(T+(rt=f[k++])>p){var nt=p-T;t.moveTo(a,c),t.lineTo(a+y(nt,tt),c),(nt-=tt)>0&&t.lineTo(a+tt,c+y(nt,et)),(nt-=et)>0&&t.lineTo(a+v(tt-nt,0),c+et),(nt-=tt)>0&&t.lineTo(a,c+v(et-nt,0));break t}T+=rt}t.rect(a,c,tt,et);break;case u.Z:if(M){var rt;if(T+(rt=f[k++])>p){L=(p-T)/rt;t.lineTo(i*(1-L)+n*L,o*(1-L)+r*L);break t}T+=rt}t.closePath(),i=n,o=r}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=u,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}();const T=M},62672:function(t,e,n){n.d(e,{Z:()=>r});n(9359),n(40793),n(40251);const r=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,r){t.x=e.x+n.x*r,t.y=e.y+n.y*r},t.lerp=function(t,e,n,r){var i=1-r;t.x=i*e.x+r*n.x,t.y=i*e.y+r*n.y},t}()},12115:function(t,e,n){n.d(e,{ZP:()=>d,dN:()=>p});n(92745);var r=n(8982),i=n(58881),o=r.identity,a=5e-5;function s(t){return t>a||t<-5e-5}var u=[],l=[],h=r.create(),c=Math.abs,f=function(){function t(){}var e;return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||r.create(),e?this.getLocalTransform(n):o(n),t&&(e?r.mul(n,t,n):r.copy(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(o(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(u);var n=u[0]<0?-1:1,i=u[1]<0?-1:1,o=((u[0]-n)*e+n)/u[0]||0,a=((u[1]-i)*e+i)/u[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],r=Math.atan2(t[1],t[0]),i=Math.PI/2+r-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||r.create(),r.mul(l,t.invTransform,e),e=l);var n=this.originX,i=this.originY;(n||i)&&(h[4]=n,h[5]=i,r.mul(l,e,h),l[4]-=n,l[5]-=i,e=l),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],r=this.invTransform;return r&&i.applyTransform(n,n,r),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&i.applyTransform(n,n,r),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){!function(t,e){for(var n=0;n<p.length;n++){var r=p[n];t[r]=e[r]}}(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,u=t.anchorY,l=t.rotation||0,h=t.x,c=t.y,f=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||s||u){var d=n+s,y=i+u;e[4]=-d*o-f*y*a,e[5]=-y*a-p*d*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=p*o,e[2]=f*a,l&&r.rotate(e,e,l),e[4]+=n+h,e[5]+=i+c,e},t.initDefaultProps=((e=t.prototype).scaleX=e.scaleY=e.globalScaleRatio=1,void(e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0)),t}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];const d=f},61856:function(t,e,n){n.d(e,{H9:()=>g,mJ:()=>m,qL:()=>_,u4:()=>d,zk:()=>p});var r=n(58881),i=n(24894),o=Math.min,a=Math.max,s=Math.sin,u=Math.cos,l=2*Math.PI,h=r.create(),c=r.create(),f=r.create();function p(t,e,n){if(0!==t.length){for(var r=t[0],i=r[0],s=r[0],u=r[1],l=r[1],h=1;h<t.length;h++)r=t[h],i=o(i,r[0]),s=a(s,r[0]),u=o(u,r[1]),l=a(l,r[1]);e[0]=i,e[1]=u,n[0]=s,n[1]=l}}function d(t,e,n,r,i,s){i[0]=o(t,n),i[1]=o(e,r),s[0]=a(t,n),s[1]=a(e,r)}var y=[],v=[];function g(t,e,n,r,s,u,l,h,c,f){var p=i.pP,d=i.af,g=p(t,n,s,l,y);c[0]=1/0,c[1]=1/0,f[0]=-1/0,f[1]=-1/0;for(var m=0;m<g;m++){var _=d(t,n,s,l,y[m]);c[0]=o(_,c[0]),f[0]=a(_,f[0])}g=p(e,r,u,h,v);for(m=0;m<g;m++){var x=d(e,r,u,h,v[m]);c[1]=o(x,c[1]),f[1]=a(x,f[1])}c[0]=o(t,c[0]),f[0]=a(t,f[0]),c[0]=o(l,c[0]),f[0]=a(l,f[0]),c[1]=o(e,c[1]),f[1]=a(e,f[1]),c[1]=o(h,c[1]),f[1]=a(h,f[1])}function m(t,e,n,r,s,u,l,h){var c=i.QC,f=i.Zm,p=a(o(c(t,n,s),1),0),d=a(o(c(e,r,u),1),0),y=f(t,n,s,p),v=f(e,r,u,d);l[0]=o(t,s,y),l[1]=o(e,u,v),h[0]=a(t,s,y),h[1]=a(e,u,v)}function _(t,e,n,i,o,a,p,d,y){var v=r.min,g=r.max,m=Math.abs(o-a);if(m%l<1e-4&&m>1e-4)return d[0]=t-n,d[1]=e-i,y[0]=t+n,void(y[1]=e+i);if(h[0]=u(o)*n+t,h[1]=s(o)*i+e,c[0]=u(a)*n+t,c[1]=s(a)*i+e,v(d,h,c),g(y,h,c),(o%=l)<0&&(o+=l),(a%=l)<0&&(a+=l),o>a&&!p?a+=l:o<a&&p&&(o+=l),p){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(f[0]=u(x)*n+t,f[1]=s(x)*i+e,v(d,f,d),g(y,f,y))}},24894:function(t,e,n){n.d(e,{AZ:()=>b,Ci:()=>w,Jz:()=>D,Lx:()=>T,QC:()=>M,Vz:()=>_,Wr:()=>k,X_:()=>v,Zm:()=>S,af:()=>y,kD:()=>g,pP:()=>m,t1:()=>x,wQ:()=>C});var r=n(58881),i=Math.pow,o=Math.sqrt,a=1e-8,s=1e-4,u=o(3),l=1/3,h=(0,r.create)(),c=(0,r.create)(),f=(0,r.create)();function p(t){return t>-a&&t<a}function d(t){return t>a||t<-a}function y(t,e,n,r,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*r+3*o*n)}function v(t,e,n,r,i){var o=1-i;return 3*(((e-t)*o+2*(n-e)*i)*o+(r-n)*i*i)}function g(t,e,n,r,a,s){var h=r+3*(e-n)-t,c=3*(n-2*e+t),f=3*(e-t),d=t-a,y=c*c-3*h*f,v=c*f-9*h*d,g=f*f-3*c*d,m=0;if(p(y)&&p(v)){if(p(c))s[0]=0;else(I=-f/c)>=0&&I<=1&&(s[m++]=I)}else{var _=v*v-4*y*g;if(p(_)){var x=v/y,w=-x/2;(I=-c/h+x)>=0&&I<=1&&(s[m++]=I),w>=0&&w<=1&&(s[m++]=w)}else if(_>0){var S=o(_),b=y*c+1.5*h*(-v+S),D=y*c+1.5*h*(-v-S);(I=(-c-((b=b<0?-i(-b,l):i(b,l))+(D=D<0?-i(-D,l):i(D,l))))/(3*h))>=0&&I<=1&&(s[m++]=I)}else{var M=(2*y*c-3*h*v)/(2*o(y*y*y)),T=Math.acos(M)/3,k=o(y),C=Math.cos(T),I=(-c-2*k*C)/(3*h),O=(w=(-c+k*(C+u*Math.sin(T)))/(3*h),(-c+k*(C-u*Math.sin(T)))/(3*h));I>=0&&I<=1&&(s[m++]=I),w>=0&&w<=1&&(s[m++]=w),O>=0&&O<=1&&(s[m++]=O)}}return m}function m(t,e,n,r,i){var a=6*n-12*e+6*t,s=9*e+3*r-3*t-9*n,u=3*e-3*t,l=0;if(p(s)){if(d(a))(c=-u/a)>=0&&c<=1&&(i[l++]=c)}else{var h=a*a-4*s*u;if(p(h))i[0]=-a/(2*s);else if(h>0){var c,f=o(h),y=(-a-f)/(2*s);(c=(-a+f)/(2*s))>=0&&c<=1&&(i[l++]=c),y>=0&&y<=1&&(i[l++]=y)}}return l}function _(t,e,n,r,i,o){var a=(e-t)*i+t,s=(n-e)*i+e,u=(r-n)*i+n,l=(s-a)*i+a,h=(u-s)*i+s,c=(h-l)*i+l;o[0]=t,o[1]=a,o[2]=l,o[3]=c,o[4]=c,o[5]=h,o[6]=u,o[7]=r}function x(t,e,n,i,a,u,l,p,d,v,g){var m,_,x,w,S,b=.005,D=1/0;h[0]=d,h[1]=v;for(var M=0;M<1;M+=.05)c[0]=y(t,n,a,l,M),c[1]=y(e,i,u,p,M),(w=(0,r.distSquare)(h,c))<D&&(m=M,D=w);D=1/0;for(var T=0;T<32&&!(b<s);T++)_=m-b,x=m+b,c[0]=y(t,n,a,l,_),c[1]=y(e,i,u,p,_),w=(0,r.distSquare)(c,h),_>=0&&w<D?(m=_,D=w):(f[0]=y(t,n,a,l,x),f[1]=y(e,i,u,p,x),S=(0,r.distSquare)(f,h),x<=1&&S<D?(m=x,D=S):b*=.5);return g&&(g[0]=y(t,n,a,l,m),g[1]=y(e,i,u,p,m)),o(D)}function w(t,e,n,r,i,o,a,s,u){for(var l=t,h=e,c=0,f=1/u,p=1;p<=u;p++){var d=p*f,v=y(t,n,i,a,d),g=y(e,r,o,s,d),m=v-l,_=g-h;c+=Math.sqrt(m*m+_*_),l=v,h=g}return c}function S(t,e,n,r){var i=1-r;return i*(i*t+2*r*e)+r*r*n}function b(t,e,n,r){return 2*((1-r)*(e-t)+r*(n-e))}function D(t,e,n,r,i){var a=t-2*e+n,s=2*(e-t),u=t-r,l=0;if(p(a)){if(d(s))(c=-u/s)>=0&&c<=1&&(i[l++]=c)}else{var h=s*s-4*a*u;if(p(h))(c=-s/(2*a))>=0&&c<=1&&(i[l++]=c);else if(h>0){var c,f=o(h),y=(-s-f)/(2*a);(c=(-s+f)/(2*a))>=0&&c<=1&&(i[l++]=c),y>=0&&y<=1&&(i[l++]=y)}}return l}function M(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r}function T(t,e,n,r,i){var o=(e-t)*r+t,a=(n-e)*r+e,s=(a-o)*r+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function k(t,e,n,i,a,u,l,p,d){var y,v=.005,g=1/0;h[0]=l,h[1]=p;for(var m=0;m<1;m+=.05){c[0]=S(t,n,a,m),c[1]=S(e,i,u,m),(b=(0,r.distSquare)(h,c))<g&&(y=m,g=b)}g=1/0;for(var _=0;_<32&&!(v<s);_++){var x=y-v,w=y+v;c[0]=S(t,n,a,x),c[1]=S(e,i,u,x);var b=(0,r.distSquare)(c,h);if(x>=0&&b<g)y=x,g=b;else{f[0]=S(t,n,a,w),f[1]=S(e,i,u,w);var D=(0,r.distSquare)(f,h);w<=1&&D<g?(y=w,g=D):v*=.5}}return d&&(d[0]=S(t,n,a,y),d[1]=S(e,i,u,y)),o(g)}function C(t,e,n,r,i,o,a){for(var s=t,u=e,l=0,h=1/a,c=1;c<=a;c++){var f=c*h,p=S(t,n,i,f),d=S(e,r,o,f),y=p-s,v=d-u;l+=Math.sqrt(y*y+v*v),s=p,u=d}return l}},61962:function(t,e,n){n.d(e,{A4:()=>h,F1:()=>d,UK:()=>c,YB:()=>l});n(92745),n(19134),n(97003);var r=n(53970),i=Math.log(2);function o(t,e,n,r,a,s){var u=r+"-"+a,l=t.length;if(s.hasOwnProperty(u))return s[u];if(1===e){var h=Math.round(Math.log((1<<l)-1&~a)/i);return t[n][h]}for(var c=r|1<<n,f=n+1;r&1<<f;)f++;for(var p=0,d=0,y=0;d<l;d++){var v=1<<d;v&a||(p+=(y%2?-1:1)*t[n][d]*o(t,e-1,f,c,a|v,s),y++)}return s[u]=p,p}function a(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],r={},i=o(n,8,0,0,0,r);if(0!==i){for(var a=[],s=0;s<8;s++)for(var u=0;u<8;u++)null==a[u]&&(a[u]=0),a[u]+=((s+u)%2?-1:1)*o(n,7,0===s?1:0,1<<s,1<<u,r)/i*e[s];return function(t,e,n){var r=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/r,t[1]=(e*a[3]+n*a[4]+a[5])/r}}}var s="___zrEVENTSAVED",u=[];function l(t,e,n,r,i){return h(u,e,r,i,!0)&&h(t,n,u[0],u[1])}function h(t,e,n,i,o){if(e.getBoundingClientRect&&r.Z.domSupported&&!c(e)){var u=e[s]||(e[s]={}),l=function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=o%2,u=(o>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",i[u]+":0",r[1-s]+":auto",i[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,u),h=function(t,e,n){for(var r=n?"invTrans":"trans",i=e[r],o=e.srcCoords,s=[],u=[],l=!0,h=0;h<4;h++){var c=t[h].getBoundingClientRect(),f=2*h,p=c.left,d=c.top;s.push(p,d),l=l&&o&&p===o[f]&&d===o[f+1],u.push(t[h].offsetLeft,t[h].offsetTop)}return l&&i?i:(e.srcCoords=s,e[r]=n?a(u,s):a(s,u))}(l,u,o);if(h)return h(t,n,i),!0}return!1}function c(t){return"CANVAS"===t.nodeName.toUpperCase()}var f=/([&<>"'])/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"};function d(t){return null==t?"":(t+"").replace(f,(function(t,e){return p[e]}))}},53970:function(t,e,n){n.d(e,{Z:()=>o});n(19134),n(5740),n(44495),n(68289);var r=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},i=new function(){this.browser=new r,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(i.wxa=!0,i.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?i.worker=!0:!i.hasGlobalWindow||"Deno"in window?(i.node=!0,i.svgSupported=!0):function(t,e){var n=e.browser,r=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);r&&(n.firefox=!0,n.version=r[1]);i&&(n.ie=!0,n.version=i[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,i);const o=i},8982:function(t,e,n){function r(){return[1,0,0,1,0,0]}function i(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function a(t,e,n){var r=e[0]*n[0]+e[2]*n[1],i=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],u=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=r,t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=u,t}function s(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function u(t,e,n,r){void 0===r&&(r=[0,0]);var i=e[0],o=e[2],a=e[4],s=e[1],u=e[3],l=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=i*c+s*h,t[1]=-i*h+s*c,t[2]=o*c+u*h,t[3]=-o*h+c*u,t[4]=c*(a-r[0])+h*(l-r[1])+r[0],t[5]=c*(l-r[1])-h*(a-r[0])+r[1],t}function l(t,e,n){var r=n[0],i=n[1];return t[0]=e[0]*r,t[1]=e[1]*i,t[2]=e[2]*r,t[3]=e[3]*i,t[4]=e[4]*r,t[5]=e[5]*i,t}function h(t,e){var n=e[0],r=e[2],i=e[4],o=e[1],a=e[3],s=e[5],u=n*a-o*r;return u?(u=1/u,t[0]=a*u,t[1]=-o*u,t[2]=-r*u,t[3]=n*u,t[4]=(r*s-a*i)*u,t[5]=(o*i-n*s)*u,t):null}function c(t){var e=[1,0,0,1,0,0];return o(e,t),e}n.r(e),n.d(e,{clone:()=>c,copy:()=>o,create:()=>r,identity:()=>i,invert:()=>h,mul:()=>a,rotate:()=>u,scale:()=>l,translate:()=>s})},70813:function(t,e,n){n.d(e,{Uo:()=>i,g2:()=>l,n5:()=>r,qW:()=>u});n(19134);var r=12,i=r+"px sans-serif";var o,a,s=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var r=String.fromCharCode(n+32),i=(t.charCodeAt(n)-20)/100;e[r]=i}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),u={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!o){var n=u.createCanvas();o=n&&n.getContext("2d")}if(o)return a!==e&&(a=o.font=e||i),o.measureText(t);t=t||"";var l=/((?:\d+)?\.?\d*)px/.exec(e=e||i),h=l&&+l[1]||r,c=0;if(e.indexOf("mono")>=0)c=h*t.length;else for(var f=0;f<t.length;f++){var p=s[t[f]];c+=null==p?h:p*h}return{width:c}},loadImage:function(t,e,n){var r=new Image;return r.onload=e,r.onerror=n,r.src=t,r}};function l(t){for(var e in u)t[e]&&(u[e]=t[e])}},6836:function(t,e,n){n.r(e),n.d(e,{HashMap:()=>st,RADIAN_TO_DEGREE:()=>dt,assert:()=>tt,bind:()=>L,clone:()=>m,concatArray:()=>lt,createCanvas:()=>b,createHashMap:()=>ut,createObject:()=>ht,curry:()=>R,defaults:()=>S,disableUserSelect:()=>ct,each:()=>C,eqNaN:()=>Y,extend:()=>w,filter:()=>P,find:()=>A,guid:()=>v,hasOwn:()=>ft,indexOf:()=>D,inherits:()=>M,isArray:()=>Z,isArrayLike:()=>k,isBuiltInObject:()=>H,isDom:()=>j,isFunction:()=>F,isGradientObject:()=>G,isImagePatternObject:()=>q,isNumber:()=>B,isObject:()=>V,isPrimitive:()=>it,isRegExp:()=>U,isString:()=>E,isStringSafe:()=>z,isTypedArray:()=>W,keys:()=>N,logError:()=>g,map:()=>I,merge:()=>_,mergeAll:()=>x,mixin:()=>T,noop:()=>pt,normalizeCssArray:()=>J,reduce:()=>O,retrieve:()=>X,retrieve2:()=>K,retrieve3:()=>$,setAsPrimitive:()=>rt,slice:()=>Q,trim:()=>et});n(52247),n(71695),n(92745),n(9359),n(56475),n(31526),n(70104),n(19423),n(19134),n(11740),n(97003),n(81804),n(47021);var r=n(70813),i=O(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),o=O(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),a=Object.prototype.toString,s=Array.prototype,u=s.forEach,l=s.filter,h=s.slice,c=s.map,f=function(){}.constructor,p=f?f.prototype:null,d="__proto__",y=2311;function v(){return y++}function g(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!it(t)){e=[];for(var r=0,s=t.length;r<s;r++)e[r]=m(t[r])}}else if(o[n]){if(!it(t)){var u=t.constructor;if(u.from)e=u.from(t);else{e=new u(t.length);for(r=0,s=t.length;r<s;r++)e[r]=t[r]}}}else if(!i[n]&&!it(t)&&!j(t))for(var l in e={},t)t.hasOwnProperty(l)&&l!==d&&(e[l]=m(t[l]));return e}function _(t,e,n){if(!V(e)||!V(t))return n?m(e):t;for(var r in e)if(e.hasOwnProperty(r)&&r!==d){var i=t[r],o=e[r];!V(o)||!V(i)||Z(o)||Z(i)||j(o)||j(i)||H(o)||H(i)||it(o)||it(i)?!n&&r in t||(t[r]=m(e[r])):_(i,o,n)}return t}function x(t,e){for(var n=t[0],r=1,i=t.length;r<i;r++)n=_(n,t[r],e);return n}function w(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==d&&(t[n]=e[n]);return t}function S(t,e,n){for(var r=N(e),i=0,o=r.length;i<o;i++){var a=r[i];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}var b=r.qW.createCanvas;function D(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n}return-1}function M(t,e){var n=t.prototype;function r(){}for(var i in r.prototype=e.prototype,t.prototype=new r,n)n.hasOwnProperty(i)&&(t.prototype[i]=n[i]);t.prototype.constructor=t,t.superClass=e}function T(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(e),i=0;i<r.length;i++){var o=r[i];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else S(t,e,n)}function k(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function C(t,e,n){if(t&&e)if(t.forEach&&t.forEach===u)t.forEach(e,n);else if(t.length===+t.length)for(var r=0,i=t.length;r<i;r++)e.call(n,t[r],r,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function I(t,e,n){if(!t)return[];if(!e)return Q(t);if(t.map&&t.map===c)return t.map(e,n);for(var r=[],i=0,o=t.length;i<o;i++)r.push(e.call(n,t[i],i,t));return r}function O(t,e,n,r){if(t&&e){for(var i=0,o=t.length;i<o;i++)n=e.call(r,n,t[i],i,t);return n}}function P(t,e,n){if(!t)return[];if(!e)return Q(t);if(t.filter&&t.filter===l)return t.filter(e,n);for(var r=[],i=0,o=t.length;i<o;i++)e.call(n,t[i],i,t)&&r.push(t[i]);return r}function A(t,e,n){if(t&&e)for(var r=0,i=t.length;r<i;r++)if(e.call(n,t[r],r,t))return t[r]}function N(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var L=p&&F(p.bind)?p.call.bind(p.bind):function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return t.apply(e,n.concat(h.call(arguments)))}};function R(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(h.call(arguments)))}}function Z(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function F(t){return"function"==typeof t}function E(t){return"string"==typeof t}function z(t){return"[object String]"===a.call(t)}function B(t){return"number"==typeof t}function V(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function H(t){return!!i[a.call(t)]}function W(t){return!!o[a.call(t)]}function j(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function G(t){return null!=t.colorStops}function q(t){return null!=t.image}function U(t){return"[object RegExp]"===a.call(t)}function Y(t){return t!=t}function X(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,r=t.length;n<r;n++)if(null!=t[n])return t[n]}function K(t,e){return null!=t?t:e}function $(t,e,n){return null!=t?t:null!=e?e:n}function Q(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return h.apply(t,e)}function J(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function tt(t,e){if(!t)throw new Error(e)}function et(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var nt="__ec_primitive__";function rt(t){t[nt]=!0}function it(t){return t[nt]}var ot=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return N(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),at="function"==typeof Map;var st=function(){function t(e){var n=Z(e);this.data=at?new Map:new ot;var r=this;function i(t,e){n?r.set(t,e):r.set(e,t)}e instanceof t?e.each(i):e&&C(e,i)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(n,r){t.call(e,n,r)}))},t.prototype.keys=function(){var t=this.data.keys();return at?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function ut(t){return new st(t)}function lt(t,e){for(var n=new t.constructor(t.length+e.length),r=0;r<t.length;r++)n[r]=t[r];var i=t.length;for(r=0;r<e.length;r++)n[r+i]=e[r];return n}function ht(t,e){var n;if(Object.create)n=Object.create(t);else{var r=function(){};r.prototype=t,n=new r}return e&&w(n,e),n}function ct(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function ft(t,e){return t.hasOwnProperty(e)}function pt(){}var dt=180/Math.PI},58881:function(t,e,n){function r(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function i(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){return[t[0],t[1]]}function a(t,e,n){return t[0]=e,t[1]=n,t}function s(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function u(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t}function l(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function h(t){return Math.sqrt(f(t))}n.r(e),n.d(e,{add:()=>s,applyTransform:()=>M,clone:()=>o,copy:()=>i,create:()=>r,dist:()=>x,distSquare:()=>S,distance:()=>_,distanceSquare:()=>w,div:()=>y,dot:()=>v,len:()=>h,lenSquare:()=>f,length:()=>c,lengthSquare:()=>p,lerp:()=>D,max:()=>k,min:()=>T,mul:()=>d,negate:()=>b,normalize:()=>m,scale:()=>g,scaleAndAdd:()=>u,set:()=>a,sub:()=>l});var c=h;function f(t){return t[0]*t[0]+t[1]*t[1]}var p=f;function d(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function y(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function v(t,e){return t[0]*e[0]+t[1]*e[1]}function g(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function m(t,e){var n=h(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function _(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var x=_;function w(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var S=w;function b(t,e){return t[0]=-e[0],t[1]=-e[1],t}function D(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t}function M(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}function T(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function k(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},14532:function(t,e,n){n.d(e,{Z:()=>a});var r=n(9065),i=n(2916),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,r.__extends)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],r=0;r<n.length;r++)n[r].buildPath(t,n[r].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),i.ZP.prototype.getBoundingRect.call(this)},e}(i.ZP);const a=o},335:function(t,e,n){n.d(e,{ZP:()=>v,ik:()=>h,tj:()=>l});var r=n(9065),i=n(26702),o=n(31117),a=n(6836),s=n(65135),u="__zr_style_"+Math.round(10*Math.random()),l={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},h={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};l[u]=!0;var c=["z","z2","invisible"],f=["invisible"],p=function(t){function e(e){return t.call(this,e)||this}var n;return(0,r.__extends)(e,t),e.prototype._init=function(e){for(var n=(0,a.keys)(e),r=0;r<n.length;r++){var i=n[r];"style"===i?this.useStyle(e[i]):t.prototype.attrKV.call(this,i,e[i])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,r){var i=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){d.copy(t.getBoundingRect()),t.transform&&d.applyTransform(t.transform);return y.width=e,y.height=n,!d.intersect(y)}(this,t,e)||i&&!i[0]&&!i[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(r&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),r=this.style,i=r.shadowBlur||0,a=r.shadowOffsetX||0,s=r.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.Z(0,0,0,0)),e?o.Z.applyTransform(t,n,e):t.copy(n),(i||a||s)&&(t.width+=2*i+Math.abs(a),t.height+=2*i+Math.abs(s),t.x=Math.min(t.x,t.x+a-i),t.y=Math.min(t.y,t.y+s-i));var u=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-u),t.y=Math.floor(t.y-u),t.width=Math.ceil(t.width+1+2*u),t.height=Math.ceil(t.height+1+2*u))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.Z(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.extend)(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.SE,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&s.SE)},e.prototype.styleUpdated=function(){this.__dirty&=~s.SE},e.prototype.createStyle=function(t){return(0,a.createObject)(l,t)},e.prototype.useStyle=function(t){t[u]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[u]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,c)},e.prototype._applyStateObj=function(e,n,r,i,o,s){t.prototype._applyStateObj.call(this,e,n,r,i,o,s);var u,l=!(n&&i);if(n&&n.style?o?i?u=n.style:(u=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(u,n.style)):(u=this._mergeStyle(this.createStyle(),i?this.style:r.style),this._mergeStyle(u,n.style)):l&&(u=r.style),u)if(o){var h=this.style;if(this.style=this.createStyle(l?{}:h),l)for(var p=(0,a.keys)(h),d=0;d<p.length;d++){(v=p[d])in u&&(u[v]=u[v],this.style[v]=h[v])}var y=(0,a.keys)(u);for(d=0;d<y.length;d++){var v=y[d];this.style[v]=this.style[v]}this._transitionState(e,{style:u},s,this.getAnimationStyleProps())}else this.useStyle(u);var g=this.__inHover?f:c;for(d=0;d<g.length;d++){v=g[d];n&&null!=n[v]?this[v]=n[v]:l&&null!=r[v]&&(this[v]=r[v])}},e.prototype._mergeStates=function(e){for(var n,r=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(r.style=n),r},e.prototype._mergeStyle=function(t,e){return(0,a.extend)(t,e),t},e.prototype.getAnimationStyleProps=function(){return h},e.initDefaultProps=((n=e.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=s.YV|s.SE)),e}(i.Z),d=new o.Z(0,0,0,0),y=new o.Z(0,0,0,0);const v=p},4516:function(t,e,n){n.d(e,{Z:()=>r});n(92745);const r=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},74777:function(t,e,n){n.d(e,{Z:()=>u});n(92745),n(19134),n(97003);var r=n(9065),i=n(6836),o=n(26702),a=n(31117),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,r.__extends)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,r=n.indexOf(e);r>=0&&(n.splice(r,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=i.indexOf(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,r=n[e];if(t&&t!==this&&t.parent!==this&&t!==r){n[e]=t,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,r=i.indexOf(n,t);return r<0||(n.splice(r,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var r=t[n];e&&r.removeSelfFromZr(e),r.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];t.call(e,i,r)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var r=this._children[n],i=t.call(e,r);r.isGroup&&!i&&r.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new a.Z(0,0,0,0),n=t||this._children,r=[],i=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var u=s.getBoundingRect(),l=s.getLocalTransform(r);l?(a.Z.applyTransform(e,u,l),(i=i||e.clone()).union(e)):(i=i||u.clone()).union(u)}}return i||e},e}(o.Z);s.prototype.type="group";const u=s},40692:function(t,e,n){n.d(e,{ZP:()=>h});var r=n(9065),i=n(335),o=n(31117),a=n(6836),s=(0,a.defaults)({x:0,y:0},i.tj),u={style:(0,a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i.ik.style)};var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.createStyle=function(t){return(0,a.createObject)(s,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var r,i=(r=e.image)&&"string"!=typeof r&&r.width&&r.height?e.image:this.__image;if(!i)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?i[t]:i[t]/i[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return u},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.Z(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(i.ZP);l.prototype.type="image";const h=l},33204:function(t,e,n){n.d(e,{Z:()=>u});n(92745);var r=n(9065),i=n(335),o=n(31117),a=[],s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,r.__extends)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o.Z(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(a)),t.union(r)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){if(this._displayables[r].contain(t,e))return!0}return!1},e}(i.ZP);const u=s},30950:function(t,e,n){n.d(e,{Z:()=>i});var r=n(9065);const i=function(t){function e(e,n,r,i,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==r?1:r,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return(0,r.__extends)(e,t),e}(n(4516).Z)},2916:function(t,e,n){n.d(e,{$t:()=>k,ZP:()=>O});var r=n(9065),i=n(335),o=n(40451);function a(t,e,n,r,i,o,a){if(0===i)return!1;var s=i,u=0;if(a>e+s&&a>r+s||a<e-s&&a<r-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;var l=(u=(e-r)/(t-n))*o-a+(t*r-n*e)/(t-n);return l*l/(u*u+1)<=s/2*s/2}var s=n(24894);function u(t,e,n,r,i,o,a,u,l,h,c){if(0===l)return!1;var f=l;return!(c>e+f&&c>r+f&&c>o+f&&c>u+f||c<e-f&&c<r-f&&c<o-f&&c<u-f||h>t+f&&h>n+f&&h>i+f&&h>a+f||h<t-f&&h<n-f&&h<i-f&&h<a-f)&&s.t1(t,e,n,r,i,o,a,u,h,c,null)<=f/2}function l(t,e,n,r,i,o,a,u,l){if(0===a)return!1;var h=a;return!(l>e+h&&l>r+h&&l>o+h||l<e-h&&l<r-h&&l<o-h||u>t+h&&u>n+h&&u>i+h||u<t-h&&u<n-h&&u<i-h)&&(0,s.Wr)(t,e,n,r,i,o,u,l,null)<=h/2}var h=n(61397),c=2*Math.PI;function f(t,e,n,r,i,o,a,s,u){if(0===a)return!1;var l=a;s-=t,u-=e;var f=Math.sqrt(s*s+u*u);if(f-l>n||f+l<n)return!1;if(Math.abs(r-i)%c<1e-4)return!0;if(o){var p=r;r=(0,h.m)(i),i=(0,h.m)(p)}else r=(0,h.m)(r),i=(0,h.m)(i);r>i&&(i+=c);var d=Math.atan2(u,s);return d<0&&(d+=c),d>=r&&d<=i||d+c>=r&&d+c<=i}var p=n(32782),d=o.Z.CMD,y=2*Math.PI;var v=[-1,-1,-1],g=[-1,-1];function m(t,e,n,r,i,o,a,u,l,h){if(h>e&&h>r&&h>o&&h>u||h<e&&h<r&&h<o&&h<u)return 0;var c,f=s.kD(e,r,o,u,h,v);if(0===f)return 0;for(var p=0,d=-1,y=void 0,m=void 0,_=0;_<f;_++){var x=v[_],w=0===x||1===x?.5:1;s.af(t,n,i,a,x)<l||(d<0&&(d=s.pP(e,r,o,u,g),g[1]<g[0]&&d>1&&(c=void 0,c=g[0],g[0]=g[1],g[1]=c),y=s.af(e,r,o,u,g[0]),d>1&&(m=s.af(e,r,o,u,g[1]))),2===d?x<g[0]?p+=y<e?w:-w:x<g[1]?p+=m<y?w:-w:p+=u<m?w:-w:x<g[0]?p+=y<e?w:-w:p+=u<y?w:-w)}return p}function _(t,e,n,r,i,o,a,u){if(u>e&&u>r&&u>o||u<e&&u<r&&u<o)return 0;var l=s.Jz(e,r,o,u,v);if(0===l)return 0;var h=s.QC(e,r,o);if(h>=0&&h<=1){for(var c=0,f=s.Zm(e,r,o,h),p=0;p<l;p++){var d=0===v[p]||1===v[p]?.5:1;s.Zm(t,n,i,v[p])<a||(v[p]<h?c+=f<e?d:-d:c+=o<f?d:-d)}return c}d=0===v[0]||1===v[0]?.5:1;return s.Zm(t,n,i,v[0])<a?0:o<e?d:-d}function x(t,e,n,r,i,o,a,s){if((s-=e)>n||s<-n)return 0;var u=Math.sqrt(n*n-s*s);v[0]=-u,v[1]=u;var l=Math.abs(r-i);if(l<1e-4)return 0;if(l>=y-1e-4){r=0,i=y;var h=o?1:-1;return a>=v[0]+t&&a<=v[1]+t?h:0}if(r>i){var c=r;r=i,i=c}r<0&&(r+=y,i+=y);for(var f=0,p=0;p<2;p++){var d=v[p];if(d+t>a){var g=Math.atan2(s,d);h=o?1:-1;g<0&&(g=y+g),(g>=r&&g<=i||g+y>=r&&g+y<=i)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),f+=h)}}return f}function w(t,e,n,r,i){for(var o,s,h,c,y=t.data,v=t.len(),g=0,w=0,S=0,b=0,D=0,M=0;M<v;){var T=y[M++],k=1===M;switch(T===d.M&&M>1&&(n||(g+=(0,p.Z)(w,S,b,D,r,i))),k&&(b=w=y[M],D=S=y[M+1]),T){case d.M:w=b=y[M++],S=D=y[M++];break;case d.L:if(n){if(a(w,S,y[M],y[M+1],e,r,i))return!0}else g+=(0,p.Z)(w,S,y[M],y[M+1],r,i)||0;w=y[M++],S=y[M++];break;case d.C:if(n){if(u(w,S,y[M++],y[M++],y[M++],y[M++],y[M],y[M+1],e,r,i))return!0}else g+=m(w,S,y[M++],y[M++],y[M++],y[M++],y[M],y[M+1],r,i)||0;w=y[M++],S=y[M++];break;case d.Q:if(n){if(l(w,S,y[M++],y[M++],y[M],y[M+1],e,r,i))return!0}else g+=_(w,S,y[M++],y[M++],y[M],y[M+1],r,i)||0;w=y[M++],S=y[M++];break;case d.A:var C=y[M++],I=y[M++],O=y[M++],P=y[M++],A=y[M++],N=y[M++];M+=1;var L=!!(1-y[M++]);o=Math.cos(A)*O+C,s=Math.sin(A)*P+I,k?(b=o,D=s):g+=(0,p.Z)(w,S,o,s,r,i);var R=(r-C)*P/O+C;if(n){if(f(C,I,P,A,A+N,L,e,R,i))return!0}else g+=x(C,I,P,A,A+N,L,R,i);w=Math.cos(A+N)*O+C,S=Math.sin(A+N)*P+I;break;case d.R:if(b=w=y[M++],D=S=y[M++],o=b+y[M++],s=D+y[M++],n){if(a(b,D,o,D,e,r,i)||a(o,D,o,s,e,r,i)||a(o,s,b,s,e,r,i)||a(b,s,b,D,e,r,i))return!0}else g+=(0,p.Z)(o,D,o,s,r,i),g+=(0,p.Z)(b,s,b,D,r,i);break;case d.Z:if(n){if(a(w,S,b,D,e,r,i))return!0}else g+=(0,p.Z)(w,S,b,D,r,i);w=b,S=D}}return n||(h=S,c=D,Math.abs(h-c)<1e-4)||(g+=(0,p.Z)(w,S,b,D,r,i)||0),0!==g}var S=n(6836),b=n(6866),D=n(12336),M=n(65135),T=n(12115),k=(0,S.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i.tj),C={style:(0,S.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i.ik.style)},I=T.dN.concat(["invisible","culling","z","z2","zlevel","parent"]);const O=function(t){function e(e){return t.call(this,e)||this}var n;return(0,r.__extends)(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new e;i.buildPath===e.prototype.buildPath&&(i.buildPath=function(t){n.buildPath(t,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s<I.length;++s)i[I[s]]=this[I[s]];i.__dirty|=M.YV}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=(0,S.keys)(e);this.shape=this.getDefaultShape();var r=this.getDefaultStyle();r&&this.useStyle(r);for(var i=0;i<n.length;i++){var o=n[i],a=e[o];"style"===o?this.style?(0,S.extend)(this.style,a):this.useStyle(a):"shape"===o?(0,S.extend)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,S.isString)(t)){var e=(0,b.lum)(t,0);return e>.5?D.vU:e>.2?D.iv:D.GD}if(t)return D.GD}return D.vU},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,S.isString)(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===(0,b.lum)(t,0)<D.Ak)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~M.RH},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new o.Z(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&M.RH)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;s=Math.max(s,null==u?4:u)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,r){return w(t,e,!0,n,r)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return w(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=M.RH,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:(0,S.extend)(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&M.RH)},e.prototype.createStyle=function(t){return(0,S.createObject)(k,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,S.extend)({},this.shape))},e.prototype._applyStateObj=function(e,n,r,i,o,a){t.prototype._applyStateObj.call(this,e,n,r,i,o,a);var s,u=!(n&&i);if(n&&n.shape?o?i?s=n.shape:(s=(0,S.extend)({},r.shape),(0,S.extend)(s,n.shape)):(s=(0,S.extend)({},i?this.shape:r.shape),(0,S.extend)(s,n.shape)):u&&(s=r.shape),s)if(o){this.shape=(0,S.extend)({},this.shape);for(var l={},h=(0,S.keys)(s),c=0;c<h.length;c++){var f=h[c];"object"==typeof s[f]?this.shape[f]=s[f]:l[f]=s[f]}this._transitionState(e,{shape:l},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,r=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(r.shape=n),r},e.prototype.getAnimationStyleProps=function(){return C},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var r=e.call(this,n)||this;return t.init&&t.init.call(r,n),r}return(0,r.__extends)(n,e),n.prototype.getDefaultStyle=function(){return(0,S.clone)(t.style)},n.prototype.getDefaultShape=function(){return(0,S.clone)(t.shape)},n}(e);for(var i in t)"function"==typeof t[i]&&(n.prototype[i]=t[i]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=M.YV|M.SE|M.RH)),e}(i.ZP)},62021:function(t,e,n){n.d(e,{Z:()=>i});var r=n(9065);const i=function(t){function e(e,n,r,i,o){var a=t.call(this,i)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==r?.5:r,a.type="radial",a.global=o||!1,a}return(0,r.__extends)(e,t),e}(n(4516).Z)},32216:function(t,e,n){n.d(e,{Z:()=>c});var r=n(9065),i=n(335),o=n(559),a=n(2916),s=n(6836),u=n(70813),l=(0,s.defaults)({strokeFirst:!0,font:u.Uo,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.$t),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,s.createObject)(l,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=(0,o.lP)(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var r=t.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(i.ZP);h.prototype.type="tspan";const c=h},31410:function(t,e,n){n.d(e,{ZP:()=>k});n(52247);var r=n(9065),i=n(67531),o=n(32216),a=n(6836),s=n(559),u=n(40692),l=n(46547),h=n(31117),c=n(335),f=n(70813),p={fill:"#000"},d={style:(0,a.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},c.ik.style)},y=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=p,n.attr(e),n}return(0,r.__extends)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,w(t=this.style),(0,a.each)(t.rich,w),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new h.Z(0,0,0,0),e=this._children,n=[],r=null,i=0;i<e.length;i++){var o=e[i],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(r=r||t.clone()).union(t)):(r=r||a.clone()).union(a)}this._rect=r||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||p},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,r=t.rich||n&&{};return(0,a.extend)(t,e),n&&r?(this._mergeRich(r,n),t.rich=r):r&&(t.rich=r),t},e.prototype._mergeRich=function(t,e){for(var n=(0,a.keys)(e),r=0;r<n.length;r++){var i=n[r];t[i]=t[i]||{},(0,a.extend)(t[i],e[i])}},e.prototype.getAnimationStyleProps=function(){return d},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||f.Uo,n=t.padding,r=M(t),a=(0,i.NY)(r,t),u=T(t),l=!!t.backgroundColor,c=a.outerHeight,p=a.outerWidth,d=a.contentWidth,y=a.lines,v=a.lineHeight,g=this._defaultStyle;this.isTruncated=!!a.isTruncated;var m=t.x||0,_=t.y||0,w=t.align||g.align||"left",k=t.verticalAlign||g.verticalAlign||"top",C=m,I=(0,s.mU)(_,a.contentHeight,k);if(u||n){var O=(0,s.M3)(m,p,w),P=(0,s.mU)(_,c,k);u&&this._renderBackground(t,t,O,P,p,c)}I+=v/2,n&&(C=D(m,w,n),"top"===k?I+=n[0]:"bottom"===k&&(I-=n[2]));for(var A=0,N=!1,L=(b("fill"in t?t.fill:(N=!0,g.fill))),R=(S("stroke"in t?t.stroke:l||g.autoStroke&&!N?null:(A=2,g.stroke))),Z=t.textShadowBlur>0,F=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),E=a.calculatedLineHeight,z=0;z<y.length;z++){var B=this._getOrCreateChild(o.Z),V=B.createStyle();B.useStyle(V),V.text=y[z],V.x=C,V.y=I,w&&(V.textAlign=w),V.textBaseline="middle",V.opacity=t.opacity,V.strokeFirst=!0,Z&&(V.shadowBlur=t.textShadowBlur||0,V.shadowColor=t.textShadowColor||"transparent",V.shadowOffsetX=t.textShadowOffsetX||0,V.shadowOffsetY=t.textShadowOffsetY||0),V.stroke=R,V.fill=L,R&&(V.lineWidth=t.lineWidth||A,V.lineDash=t.lineDash,V.lineDashOffset=t.lineDashOffset||0),V.font=e,x(V,t),I+=v,F&&B.setBoundingRect(new h.Z((0,s.M3)(V.x,d,V.textAlign),(0,s.mU)(V.y,E,V.textBaseline),d,E))}},e.prototype._updateRichTexts=function(){var t=this.style,e=M(t),n=(0,i.$F)(e,t),r=n.width,o=n.outerWidth,a=n.outerHeight,u=t.padding,l=t.x||0,h=t.y||0,c=this._defaultStyle,f=t.align||c.align,p=t.verticalAlign||c.verticalAlign;this.isTruncated=!!n.isTruncated;var d=(0,s.M3)(l,o,f),y=(0,s.mU)(h,a,p),v=d,g=y;u&&(v+=u[3],g+=u[0]);var m=v+r;T(t)&&this._renderBackground(t,t,d,y,o,a);for(var _=!!t.backgroundColor,x=0;x<n.lines.length;x++){for(var w=n.lines[x],S=w.tokens,b=S.length,D=w.lineHeight,k=w.width,C=0,I=v,O=m,P=b-1,A=void 0;C<b&&(!(A=S[C]).align||"left"===A.align);)this._placeToken(A,t,D,g,I,"left",_),k-=A.width,I+=A.width,C++;for(;P>=0&&"right"===(A=S[P]).align;)this._placeToken(A,t,D,g,O,"right",_),k-=A.width,O-=A.width,P--;for(I+=(r-(I-v)-(m-O)-k)/2;C<=P;)A=S[C],this._placeToken(A,t,D,g,I+A.width/2,"center",_),I+=A.width,C++;g+=D}},e.prototype._placeToken=function(t,e,n,r,i,u,l){var c=e.rich[t.styleName]||{};c.text=t.text;var p=t.verticalAlign,d=r+n/2;"top"===p?d=r+t.height/2:"bottom"===p&&(d=r+n-t.height/2),!t.isLineHolder&&T(c)&&this._renderBackground(c,e,"right"===u?i-t.width:"center"===u?i-t.width/2:i,d-t.height/2,t.width,t.height);var y=!!c.backgroundColor,v=t.textPadding;v&&(i=D(i,u,v),d-=t.height/2-v[0]-t.innerHeight/2);var g=this._getOrCreateChild(o.Z),m=g.createStyle();g.useStyle(m);var _=this._defaultStyle,w=!1,M=0,k=b("fill"in c?c.fill:"fill"in e?e.fill:(w=!0,_.fill)),C=S("stroke"in c?c.stroke:"stroke"in e?e.stroke:y||l||_.autoStroke&&!w?null:(M=2,_.stroke)),I=c.textShadowBlur>0||e.textShadowBlur>0;m.text=t.text,m.x=i,m.y=d,I&&(m.shadowBlur=c.textShadowBlur||e.textShadowBlur||0,m.shadowColor=c.textShadowColor||e.textShadowColor||"transparent",m.shadowOffsetX=c.textShadowOffsetX||e.textShadowOffsetX||0,m.shadowOffsetY=c.textShadowOffsetY||e.textShadowOffsetY||0),m.textAlign=u,m.textBaseline="middle",m.font=t.font||f.Uo,m.opacity=(0,a.retrieve3)(c.opacity,e.opacity,1),x(m,c),C&&(m.lineWidth=(0,a.retrieve3)(c.lineWidth,e.lineWidth,M),m.lineDash=(0,a.retrieve2)(c.lineDash,e.lineDash),m.lineDashOffset=e.lineDashOffset||0,m.stroke=C),k&&(m.fill=k);var O=t.contentWidth,P=t.contentHeight;g.setBoundingRect(new h.Z((0,s.M3)(m.x,O,m.textAlign),(0,s.mU)(m.y,P,m.textBaseline),O,P))},e.prototype._renderBackground=function(t,e,n,r,i,o){var s,h,c,f=t.backgroundColor,p=t.borderWidth,d=t.borderColor,y=f&&f.image,v=f&&!y,g=t.borderRadius,m=this;if(v||t.lineHeight||p&&d){(s=this._getOrCreateChild(l.Z)).useStyle(s.createStyle()),s.style.fill=null;var _=s.shape;_.x=n,_.y=r,_.width=i,_.height=o,_.r=g,s.dirtyShape()}if(v)(c=s.style).fill=f||null,c.fillOpacity=(0,a.retrieve2)(t.fillOpacity,1);else if(y){(h=this._getOrCreateChild(u.ZP)).onload=function(){m.dirtyStyle()};var x=h.style;x.image=f.image,x.x=n,x.y=r,x.width=i,x.height=o}p&&d&&((c=s.style).lineWidth=p,c.stroke=d,c.strokeOpacity=(0,a.retrieve2)(t.strokeOpacity,1),c.lineDash=t.borderDash,c.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(c.strokeFirst=!0,c.lineWidth*=2));var w=(s||h).style;w.shadowBlur=t.shadowBlur||0,w.shadowColor=t.shadowColor||"transparent",w.shadowOffsetX=t.shadowOffsetX||0,w.shadowOffsetY=t.shadowOffsetY||0,w.opacity=(0,a.retrieve3)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return function(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}(t)&&(e=[t.fontStyle,t.fontWeight,_(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&(0,a.trim)(e)||t.textFont||t.font},e}(c.ZP),v={left:!0,right:1,center:1},g={top:1,bottom:1,middle:1},m=["fontStyle","fontWeight","fontSize","fontFamily"];function _(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?f.n5+"px":t+"px":t}function x(t,e){for(var n=0;n<m.length;n++){var r=m[n],i=e[r];null!=i&&(t[r]=i)}}function w(t){if(t){t.font=y.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||v[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||g[n]?n:"top",t.padding&&(t.padding=(0,a.normalizeCssArray)(t.padding))}}function S(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function b(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function D(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function M(t){var e=t.text;return null!=e&&(e+=""),e}function T(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}const k=y},65135:function(t,e,n){n.d(e,{RH:()=>o,SE:()=>i,YV:()=>r});var r=1,i=2,o=4},13418:function(t,e,n){n.d(e,{Gq:()=>s,ko:()=>a,v5:()=>l});n(92745);var r=n(45974),i=n(70813),o=new r.ZP(50);function a(t){if("string"==typeof t){var e=o.get(t);return e&&e.image}return t}function s(t,e,n,r,a){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),h={hostEl:n,cb:r,cbPayload:a};return s?!l(e=s.image)&&s.pending.push(h):((e=i.qW.loadImage(t,u,u)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[h]})),e}return t}return e}function u(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function l(t){return t&&t.width&&t.height}},67531:function(t,e,n){n.d(e,{$F:()=>v,NY:()=>f,aF:()=>s});n(92745),n(23669),n(19134);var r=n(13418),i=n(6836),o=n(559),a=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(t,e,n,r,i){var o={};return u(o,t,e,n,r,i),o.text}function u(t,e,n,r,i,o){if(!n)return t.text="",void(t.isTruncated=!1);var a=(e+"").split("\n");o=l(n,r,i,o);for(var s=!1,u={},c=0,f=a.length;c<f;c++)h(u,a[c],o),a[c]=u.textLine,s=s||u.isTruncated;t.text=a.join("\n"),t.isTruncated=s}function l(t,e,n,r){r=r||{};var a=(0,i.extend)({},r);a.font=e,n=(0,i.retrieve2)(n,"..."),a.maxIterations=(0,i.retrieve2)(r.maxIterations,2);var s=a.minChar=(0,i.retrieve2)(r.minChar,0);a.cnCharWidth=(0,o.dz)("国",e);var u=a.ascCharWidth=(0,o.dz)("a",e);a.placeholder=(0,i.retrieve2)(r.placeholder,"");for(var l=t=Math.max(0,t-1),h=0;h<s&&l>=u;h++)l-=u;var c=(0,o.dz)(n,e);return c>l&&(n="",c=0),l=t-c,a.ellipsis=n,a.ellipsisWidth=c,a.contentWidth=l,a.containerWidth=t,a}function h(t,e,n){var r=n.containerWidth,i=n.font,a=n.contentWidth;if(!r)return t.textLine="",void(t.isTruncated=!1);var s=(0,o.dz)(e,i);if(s<=r)return t.textLine=e,void(t.isTruncated=!1);for(var u=0;;u++){if(s<=a||u>=n.maxIterations){e+=n.ellipsis;break}var l=0===u?c(e,a,n.ascCharWidth,n.cnCharWidth):s>0?Math.floor(e.length*a/s):0;e=e.substr(0,l),s=(0,o.dz)(e,i)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}function c(t,e,n,r){for(var i=0,o=0,a=t.length;o<a&&i<e;o++){var s=t.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}function f(t,e){null!=t&&(t+="");var n,r=e.overflow,a=e.padding,s=e.font,u="truncate"===r,c=(0,o.Dp)(s),f=(0,i.retrieve2)(e.lineHeight,c),p=!!e.backgroundColor,d="truncate"===e.lineOverflow,y=!1,v=e.width,g=(n=null==v||"break"!==r&&"breakAll"!==r?t?t.split("\n"):[]:t?x(t,e.font,v,"breakAll"===r,0).lines:[]).length*f,m=(0,i.retrieve2)(e.height,g);if(g>m&&d){var _=Math.floor(m/f);y=y||n.length>_,n=n.slice(0,_)}if(t&&u&&null!=v)for(var w=l(v,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),S={},b=0;b<n.length;b++)h(S,n[b],w),n[b]=S.textLine,y=y||S.isTruncated;var D=m,M=0;for(b=0;b<n.length;b++)M=Math.max((0,o.dz)(n[b],s),M);null==v&&(v=M);var T=M;return a&&(D+=a[0]+a[2],T+=a[1]+a[3],v+=a[1]+a[3]),p&&(T=v),{lines:n,height:m,outerWidth:T,outerHeight:D,lineHeight:f,calculatedLineHeight:c,contentWidth:M,contentHeight:g,width:v,isTruncated:y}}var p=function(){},d=function(t){this.tokens=[],t&&(this.tokens=t)},y=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function v(t,e){var n=new y;if(null!=t&&(t+=""),!t)return n;for(var s,l=e.width,h=e.height,c=e.overflow,f="break"!==c&&"breakAll"!==c||null==l?null:{width:l,accumWidth:0,breakAll:"breakAll"===c},p=a.lastIndex=0;null!=(s=a.exec(t));){var d=s.index;d>p&&g(n,t.substring(p,d),e,f),g(n,s[2],e,f,s[1]),p=a.lastIndex}p<t.length&&g(n,t.substring(p,t.length),e,f);var v=[],m=0,_=0,x=e.padding,w="truncate"===c,S="truncate"===e.lineOverflow,b={};function D(t,e,n){t.width=e,t.lineHeight=n,m+=n,_=Math.max(_,e)}t:for(var M=0;M<n.lines.length;M++){for(var T=n.lines[M],k=0,C=0,I=0;I<T.tokens.length;I++){var O=(V=T.tokens[I]).styleName&&e.rich[V.styleName]||{},P=V.textPadding=O.padding,A=P?P[1]+P[3]:0,N=V.font=O.font||e.font;V.contentHeight=(0,o.Dp)(N);var L=(0,i.retrieve2)(O.height,V.contentHeight);if(V.innerHeight=L,P&&(L+=P[0]+P[2]),V.height=L,V.lineHeight=(0,i.retrieve3)(O.lineHeight,e.lineHeight,L),V.align=O&&O.align||e.align,V.verticalAlign=O&&O.verticalAlign||"middle",S&&null!=h&&m+V.lineHeight>h){var R=n.lines.length;I>0?(T.tokens=T.tokens.slice(0,I),D(T,C,k),n.lines=n.lines.slice(0,M+1)):n.lines=n.lines.slice(0,M),n.isTruncated=n.isTruncated||n.lines.length<R;break t}var Z=O.width,F=null==Z||"auto"===Z;if("string"==typeof Z&&"%"===Z.charAt(Z.length-1))V.percentWidth=Z,v.push(V),V.contentWidth=(0,o.dz)(V.text,N);else{if(F){var E=O.backgroundColor,z=E&&E.image;z&&(z=r.ko(z),r.v5(z)&&(V.width=Math.max(V.width,z.width*L/z.height)))}var B=w&&null!=l?l-C:null;null!=B&&B<V.width?!F||B<A?(V.text="",V.width=V.contentWidth=0):(u(b,V.text,B-A,N,e.ellipsis,{minChar:e.truncateMinChar}),V.text=b.text,n.isTruncated=n.isTruncated||b.isTruncated,V.width=V.contentWidth=(0,o.dz)(V.text,N)):V.contentWidth=(0,o.dz)(V.text,N)}V.width+=A,C+=V.width,O&&(k=Math.max(k,V.lineHeight))}D(T,C,k)}n.outerWidth=n.width=(0,i.retrieve2)(l,_),n.outerHeight=n.height=(0,i.retrieve2)(h,m),n.contentHeight=m,n.contentWidth=_,x&&(n.outerWidth+=x[1]+x[3],n.outerHeight+=x[0]+x[2]);for(M=0;M<v.length;M++){var V,H=(V=v[M]).percentWidth;V.width=parseInt(H,10)/100*n.width}return n}function g(t,e,n,r,i){var a,s,u=""===e,l=i&&n.rich[i]||{},h=t.lines,c=l.font||n.font,f=!1;if(r){var y=l.padding,v=y?y[1]+y[3]:0;if(null!=l.width&&"auto"!==l.width){var g=(0,o.GM)(l.width,r.width)+v;h.length>0&&g+r.accumWidth>r.width&&(a=e.split("\n"),f=!0),r.accumWidth=g}else{var m=x(e,c,r.width,r.breakAll,r.accumWidth);r.accumWidth=m.accumWidth+v,s=m.linesWidths,a=m.lines}}else a=e.split("\n");for(var _=0;_<a.length;_++){var w=a[_],S=new p;if(S.styleName=i,S.text=w,S.isLineHolder=!w&&!u,"number"==typeof l.width?S.width=l.width:S.width=s?s[_]:(0,o.dz)(w,c),_||f)h.push(new d([S]));else{var b=(h[h.length-1]||(h[0]=new d)).tokens,D=b.length;1===D&&b[0].isLineHolder?b[0]=S:(w||!D||u)&&b.push(S)}}}var m=(0,i.reduce)(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function _(t){return!function(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!m[t]}function x(t,e,n,r,i){for(var a=[],s=[],u="",l="",h=0,c=0,f=0;f<t.length;f++){var p=t.charAt(f);if("\n"!==p){var d=(0,o.dz)(p,e),y=!r&&!_(p);(a.length?c+d>n:i+c+d>n)?c?(u||l)&&(y?(u||(u=l,l="",c=h=0),a.push(u),s.push(c-h),l+=p,u="",c=h+=d):(l&&(u+=l,l="",h=0),a.push(u),s.push(c),u=p,c=d)):y?(a.push(l),s.push(h),l=p,h=d):(a.push(p),s.push(d)):(c+=d,y?(l+=p,h+=d):(l&&(u+=l,l="",h=0),u+=p))}else l&&(u+=l,c+=h),a.push(u),s.push(c),u="",l="",h=0,c=0}return a.length||u||(u=t,l="",h=0),l&&(u+=l),u&&(a.push(u),s.push(c)),1===a.length&&(c+=i),{accumWidth:c,lines:a,linesWidths:s}}},84898:function(t,e,n){n.d(e,{L:()=>i});n(92745);var r=n(58881);function i(t,e,n){var i=e.smooth,o=e.points;if(o&&o.length>=2){if(i){var a=function(t,e,n,i){var o,a,s,u,l=[],h=[],c=[],f=[];if(i){s=[1/0,1/0],u=[-1/0,-1/0];for(var p=0,d=t.length;p<d;p++)(0,r.min)(s,s,t[p]),(0,r.max)(u,u,t[p]);(0,r.min)(s,s,i[0]),(0,r.max)(u,u,i[1])}for(p=0,d=t.length;p<d;p++){var y=t[p];if(n)o=t[p?p-1:d-1],a=t[(p+1)%d];else{if(0===p||p===d-1){l.push((0,r.clone)(t[p]));continue}o=t[p-1],a=t[p+1]}(0,r.sub)(h,a,o),(0,r.scale)(h,h,e);var v=(0,r.distance)(y,o),g=(0,r.distance)(y,a),m=v+g;0!==m&&(v/=m,g/=m),(0,r.scale)(c,h,-v),(0,r.scale)(f,h,g);var _=(0,r.add)([],y,c),x=(0,r.add)([],y,f);i&&((0,r.max)(_,_,s),(0,r.min)(_,_,u),(0,r.max)(x,x,s),(0,r.min)(x,x,u)),l.push(_),l.push(x)}return n&&l.push(l.shift()),l}(o,i,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,u=0;u<(n?s:s-1);u++){var l=a[2*u],h=a[2*u+1],c=o[(u+1)%s];t.bezierCurveTo(l[0],l[1],h[0],h[1],c[0],c[1])}}else{t.moveTo(o[0][0],o[0][1]);u=1;for(var f=o.length;u<f;u++)t.lineTo(o[u][0],o[u][1])}n&&t.closePath()}}},82669:function(t,e,n){n.d(e,{Pw:()=>o,_3:()=>i,vu:()=>a});var r=Math.round;function i(t,e,n){if(e){var i=e.x1,o=e.x2,s=e.y1,u=e.y2;t.x1=i,t.x2=o,t.y1=s,t.y2=u;var l=n&&n.lineWidth;return l?(r(2*i)===r(2*o)&&(t.x1=t.x2=a(i,l,!0)),r(2*s)===r(2*u)&&(t.y1=t.y2=a(s,l,!0)),t):t}}function o(t,e,n){if(e){var r=e.x,i=e.y,o=e.width,s=e.height;t.x=r,t.y=i,t.width=o,t.height=s;var u=n&&n.lineWidth;return u?(t.x=a(r,u,!0),t.y=a(i,u,!0),t.width=Math.max(a(r+o,u,!1)-t.x,0===o?0:1),t.height=Math.max(a(i+s,u,!1)-t.y,0===s?0:1),t):t}}function a(t,e,n){if(!e)return t;var i=r(2*t);return(i+r(e))%2==0?i/2:(i+(n?1:-1))/2}},767:function(t,e,n){n.d(e,{Z:()=>s});var r=n(9065),i=n(2916),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,u=Math.cos(o),l=Math.sin(o);t.moveTo(u*i+n,l*i+r),t.arc(n,r,i,o,a,!s)},e}(i.ZP);a.prototype.type="arc";const s=a},75567:function(t,e,n){n.d(e,{Z:()=>c});var r=n(9065),i=n(2916),o=n(58881),a=n(24894),s=[],u=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function l(t,e,n){var r=t.cpx2,i=t.cpy2;return null!=r||null!=i?[(n?a.X_:a.af)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?a.X_:a.af)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?a.AZ:a.Zm)(t.x1,t.cpx1,t.x2,e),(n?a.AZ:a.Zm)(t.y1,t.cpy1,t.y2,e)]}var h=function(t){function e(e){return t.call(this,e)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new u},e.prototype.buildPath=function(t,e){var n=e.x1,r=e.y1,i=e.x2,o=e.y2,u=e.cpx1,l=e.cpy1,h=e.cpx2,c=e.cpy2,f=e.percent;0!==f&&(t.moveTo(n,r),null==h||null==c?(f<1&&((0,a.Lx)(n,u,i,f,s),u=s[1],i=s[2],(0,a.Lx)(r,l,o,f,s),l=s[1],o=s[2]),t.quadraticCurveTo(u,l,i,o)):(f<1&&((0,a.Vz)(n,u,h,i,f,s),u=s[1],h=s[2],i=s[3],(0,a.Vz)(r,l,c,o,f,s),l=s[1],c=s[2],o=s[3]),t.bezierCurveTo(u,l,h,c,i,o)))},e.prototype.pointAt=function(t){return l(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=l(this.shape,t,!0);return o.normalize(e,e)},e}(i.ZP);h.prototype.type="bezier-curve";const c=h},44061:function(t,e,n){n.d(e,{Z:()=>s});var r=n(9065),i=n(2916),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(i.ZP);a.prototype.type="circle";const s=a},5035:function(t,e,n){n.d(e,{Z:()=>s});var r=n(9065),i=n(2916),o=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=.5522848,r=e.cx,i=e.cy,o=e.rx,a=e.ry,s=o*n,u=a*n;t.moveTo(r-o,i),t.bezierCurveTo(r-o,i-u,r-s,i-a,r,i-a),t.bezierCurveTo(r+s,i-a,r+o,i-u,r+o,i),t.bezierCurveTo(r+o,i+u,r+s,i+a,r,i+a),t.bezierCurveTo(r-s,i+a,r-o,i+u,r-o,i),t.closePath()},e}(i.ZP);a.prototype.type="ellipse";const s=a},55857:function(t,e,n){n.d(e,{Z:()=>l});var r=n(9065),i=n(2916),o=n(82669),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},u=function(t){function e(e){return t.call(this,e)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var n,r,i,s;if(this.subPixelOptimize){var u=(0,o._3)(a,e,this.style);n=u.x1,r=u.y1,i=u.x2,s=u.y2}else n=e.x1,r=e.y1,i=e.x2,s=e.y2;var l=e.percent;0!==l&&(t.moveTo(n,r),l<1&&(i=n*(1-l)+i*l,s=r*(1-l)+s*l),t.lineTo(i,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(i.ZP);u.prototype.type="line";const l=u},4142:function(t,e,n){n.d(e,{Z:()=>u});var r=n(9065),i=n(2916),o=n(84898),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!0)},e}(i.ZP);s.prototype.type="polygon";const u=s},58733:function(t,e,n){n.d(e,{Z:()=>u});var r=n(9065),i=n(2916),o=n(84898),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!1)},e}(i.ZP);s.prototype.type="polyline";const u=s},46547:function(t,e,n){n.d(e,{Z:()=>l});var r=n(9065),i=n(2916);var o=n(82669),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},u=function(t){function e(e){return t.call(this,e)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){var n,r,i,a;if(this.subPixelOptimize){var u=(0,o.Pw)(s,e,this.style);n=u.x,r=u.y,i=u.width,a=u.height,u.r=e.r,e=u}else n=e.x,r=e.y,i=e.width,a=e.height;e.r?function(t,e){var n,r,i,o,a,s=e.x,u=e.y,l=e.width,h=e.height,c=e.r;l<0&&(s+=l,l=-l),h<0&&(u+=h,h=-h),"number"==typeof c?n=r=i=o=c:c instanceof Array?1===c.length?n=r=i=o=c[0]:2===c.length?(n=i=c[0],r=o=c[1]):3===c.length?(n=c[0],r=o=c[1],i=c[2]):(n=c[0],r=c[1],i=c[2],o=c[3]):n=r=i=o=0,n+r>l&&(n*=l/(a=n+r),r*=l/a),i+o>l&&(i*=l/(a=i+o),o*=l/a),r+i>h&&(r*=h/(a=r+i),i*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,u),t.lineTo(s+l-r,u),0!==r&&t.arc(s+l-r,u+r,r,-Math.PI/2,0),t.lineTo(s+l,u+h-i),0!==i&&t.arc(s+l-i,u+h-i,i,0,Math.PI/2),t.lineTo(s+o,u+h),0!==o&&t.arc(s+o,u+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,u+n),0!==n&&t.arc(s+n,u+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,r,i,a)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i.ZP);u.prototype.type="rect";const l=u},19556:function(t,e,n){n.d(e,{Z:()=>s});var r=n(9065),i=n(2916),o=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=2*Math.PI;t.moveTo(n+e.r,r),t.arc(n,r,e.r,0,i,!1),t.moveTo(n+e.r0,r),t.arc(n,r,e.r0,0,i,!0)},e}(i.ZP);a.prototype.type="ring";const s=a},7764:function(t,e,n){n.d(e,{C:()=>w});var r=n(9065),i=n(2916),o=n(6836),a=Math.PI,s=2*a,u=Math.sin,l=Math.cos,h=Math.acos,c=Math.atan2,f=Math.abs,p=Math.sqrt,d=Math.max,y=Math.min,v=1e-4;function g(t,e,n,r,i,o,a){var s=t-n,u=e-r,l=(a?o:-o)/p(s*s+u*u),h=l*u,c=-l*s,f=t+h,y=e+c,v=n+h,g=r+c,m=(f+v)/2,_=(y+g)/2,x=v-f,w=g-y,S=x*x+w*w,b=i-o,D=f*g-v*y,M=(w<0?-1:1)*p(d(0,b*b*S-D*D)),T=(D*w-x*M)/S,k=(-D*x-w*M)/S,C=(D*w+x*M)/S,I=(-D*x+w*M)/S,O=T-m,P=k-_,A=C-m,N=I-_;return O*O+P*P>A*A+N*N&&(T=C,k=I),{cx:T,cy:k,x0:-h,y0:-c,x1:T*(i/b-1),y1:k*(i/b-1)}}function m(t,e){var n,r=d(e.r,0),i=d(e.r0||0,0),m=r>0;if(m||i>0){if(m||(r=i,i=0),i>r){var _=r;r=i,i=_}var x=e.startAngle,w=e.endAngle;if(!isNaN(x)&&!isNaN(w)){var S=e.cx,b=e.cy,D=!!e.clockwise,M=f(w-x),T=M>s&&M%s;if(T>v&&(M=T),r>v)if(M>s-v)t.moveTo(S+r*l(x),b+r*u(x)),t.arc(S,b,r,x,w,!D),i>v&&(t.moveTo(S+i*l(w),b+i*u(w)),t.arc(S,b,i,w,x,D));else{var k=void 0,C=void 0,I=void 0,O=void 0,P=void 0,A=void 0,N=void 0,L=void 0,R=void 0,Z=void 0,F=void 0,E=void 0,z=void 0,B=void 0,V=void 0,H=void 0,W=r*l(x),j=r*u(x),G=i*l(w),q=i*u(w),U=M>v;if(U){var Y=e.cornerRadius;Y&&(k=(n=function(t){var e;if((0,o.isArray)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(Y))[0],C=n[1],I=n[2],O=n[3]);var X=f(r-i)/2;if(P=y(X,I),A=y(X,O),N=y(X,k),L=y(X,C),F=R=d(P,A),E=Z=d(N,L),(R>v||Z>v)&&(z=r*l(w),B=r*u(w),V=i*l(x),H=i*u(x),M<a)){var K=function(t,e,n,r,i,o,a,s){var u=n-t,l=r-e,h=a-i,c=s-o,f=c*u-h*l;if(!(f*f<v))return[t+(f=(h*(e-o)-c*(t-i))/f)*u,e+f*l]}(W,j,V,H,z,B,G,q);if(K){var $=W-K[0],Q=j-K[1],J=z-K[0],tt=B-K[1],et=1/u(h(($*J+Q*tt)/(p($*$+Q*Q)*p(J*J+tt*tt)))/2),nt=p(K[0]*K[0]+K[1]*K[1]);F=y(R,(r-nt)/(et+1)),E=y(Z,(i-nt)/(et-1))}}}if(U)if(F>v){var rt=y(I,F),it=y(O,F),ot=g(V,H,W,j,r,rt,D),at=g(z,B,G,q,r,it,D);t.moveTo(S+ot.cx+ot.x0,b+ot.cy+ot.y0),F<R&&rt===it?t.arc(S+ot.cx,b+ot.cy,F,c(ot.y0,ot.x0),c(at.y0,at.x0),!D):(rt>0&&t.arc(S+ot.cx,b+ot.cy,rt,c(ot.y0,ot.x0),c(ot.y1,ot.x1),!D),t.arc(S,b,r,c(ot.cy+ot.y1,ot.cx+ot.x1),c(at.cy+at.y1,at.cx+at.x1),!D),it>0&&t.arc(S+at.cx,b+at.cy,it,c(at.y1,at.x1),c(at.y0,at.x0),!D))}else t.moveTo(S+W,b+j),t.arc(S,b,r,x,w,!D);else t.moveTo(S+W,b+j);if(i>v&&U)if(E>v){rt=y(k,E),ot=g(G,q,z,B,i,-(it=y(C,E)),D),at=g(W,j,V,H,i,-rt,D);t.lineTo(S+ot.cx+ot.x0,b+ot.cy+ot.y0),E<Z&&rt===it?t.arc(S+ot.cx,b+ot.cy,E,c(ot.y0,ot.x0),c(at.y0,at.x0),!D):(it>0&&t.arc(S+ot.cx,b+ot.cy,it,c(ot.y0,ot.x0),c(ot.y1,ot.x1),!D),t.arc(S,b,i,c(ot.cy+ot.y1,ot.cx+ot.x1),c(at.cy+at.y1,at.cx+at.x1),D),rt>0&&t.arc(S+at.cx,b+at.cy,rt,c(at.y1,at.x1),c(at.y0,at.x0),!D))}else t.lineTo(S+G,b+q),t.arc(S,b,i,w,x,D);else t.lineTo(S+G,b+q)}else t.moveTo(S,b);t.closePath()}}}var _=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},x=function(t){function e(e){return t.call(this,e)||this}return(0,r.__extends)(e,t),e.prototype.getDefaultShape=function(){return new _},e.prototype.buildPath=function(t,e){m(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(i.ZP);x.prototype.type="sector";const w=x},6866:function(t,e,n){n.r(e),n.d(e,{fastLerp:()=>w,fastMapToColor:()=>S,lerp:()=>b,lift:()=>_,liftColor:()=>P,lum:()=>C,mapToColor:()=>D,modifyAlpha:()=>T,modifyHSL:()=>M,parse:()=>g,random:()=>I,stringify:()=>k,toHex:()=>x});n(92745),n(95078),n(23669),n(19134),n(11740),n(97003);var r=n(45974),i=n(6836),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function u(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?a(parseFloat(e)/100*255):a(parseInt(e,10))}function l(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function h(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function c(t,e,n){return t+(e-t)*n}function f(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new r.ZP(20),y=null;function v(t,e){y&&p(y,e),y=d.put(t,y||e.slice())}function g(t,e){if(t){e=e||[];var n=d.get(t);if(n)return p(e,n);var r=(t+="").replace(/ /g,"").toLowerCase();if(r in o)return p(e,o[r]),v(t,e),e;var i,a=r.length;if("#"===r.charAt(0))return 4===a||5===a?(i=parseInt(r.slice(1,4),16))>=0&&i<=4095?(f(e,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,5===a?parseInt(r.slice(4),16)/15:1),v(t,e),e):void f(e,0,0,0,1):7===a||9===a?(i=parseInt(r.slice(1,7),16))>=0&&i<=16777215?(f(e,(16711680&i)>>16,(65280&i)>>8,255&i,9===a?parseInt(r.slice(7),16)/255:1),v(t,e),e):void f(e,0,0,0,1):void 0;var s=r.indexOf("("),h=r.indexOf(")");if(-1!==s&&h+1===a){var c=r.substr(0,s),y=r.substr(s+1,h-(s+1)).split(","),g=1;switch(c){case"rgba":if(4!==y.length)return 3===y.length?f(e,+y[0],+y[1],+y[2],1):f(e,0,0,0,1);g=l(y.pop());case"rgb":return y.length>=3?(f(e,u(y[0]),u(y[1]),u(y[2]),3===y.length?g:l(y[3])),v(t,e),e):void f(e,0,0,0,1);case"hsla":return 4!==y.length?void f(e,0,0,0,1):(y[3]=l(y[3]),m(y,e),v(t,e),e);case"hsl":return 3!==y.length?void f(e,0,0,0,1):(m(y,e),v(t,e),e);default:return}}f(e,0,0,0,1)}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=l(t[1]),i=l(t[2]),o=i<=.5?i*(r+1):i+r-i*r,s=2*i-o;return f(e=e||[],a(255*h(s,o,n+1/3)),a(255*h(s,o,n)),a(255*h(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function _(t,e){var n=g(t);if(n){for(var r=0;r<3;r++)n[r]=e<0?n[r]*(1-e)|0:(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return k(n,4===n.length?"rgba":"rgb")}}function x(t){var e=g(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function w(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r=t*(e.length-1),i=Math.floor(r),o=Math.ceil(r),u=e[i],l=e[o],h=r-i;return n[0]=a(c(u[0],l[0],h)),n[1]=a(c(u[1],l[1],h)),n[2]=a(c(u[2],l[2],h)),n[3]=s(c(u[3],l[3],h)),n}}var S=w;function b(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),i=Math.floor(r),o=Math.ceil(r),u=g(e[i]),l=g(e[o]),h=r-i,f=k([a(c(u[0],l[0],h)),a(c(u[1],l[1],h)),a(c(u[2],l[2],h)),s(c(u[3],l[3],h))],"rgba");return n?{color:f,leftIndex:i,rightIndex:o,value:r}:f}}var D=b;function M(t,e,n,r){var i,o=g(t);if(t)return o=function(t){if(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a,l=(s+a)/2;if(0===u)e=0,n=0;else{n=l<.5?u/(s+a):u/(2-s-a);var h=((s-r)/6+u/2)/u,c=((s-i)/6+u/2)/u,f=((s-o)/6+u/2)/u;r===s?e=f-c:i===s?e=1/3+h-f:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,l];return null!=t[3]&&p.push(t[3]),p}}(o),null!=e&&(o[0]=(i=e,(i=Math.round(i))<0?0:i>360?360:i)),null!=n&&(o[1]=l(n)),null!=r&&(o[2]=l(r)),k(m(o),"rgba")}function T(t,e){var n=g(t);if(n&&null!=e)return n[3]=s(e),k(n,"rgba")}function k(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function C(t,e){var n=g(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function I(){return k([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var O=new r.ZP(100);function P(t){if((0,i.isString)(t)){var e=O.get(t);return e||(e=_(t,-.1),O.put(t,e)),e}if((0,i.isGradientObject)(t)){var n=(0,i.extend)({},t);return n.colorStops=(0,i.map)(t.colorStops,(function(t){return{offset:t.offset,color:_(t.color,-.1)}})),n}return t}},88208:function(t,e,n){n.d(e,{AA:()=>C,U5:()=>I,iR:()=>T,Pc:()=>k});n(92745),n(95078),n(19134),n(44495);var r=n(9065),i=n(2916),o=n(40451),a=n(58881),s=o.Z.CMD,u=[[],[],[]],l=Math.sqrt,h=Math.atan2;function c(t,e){if(e){var n,r,i,o,c,f,p=t.data,d=t.len(),y=s.M,v=s.C,g=s.L,m=s.R,_=s.A,x=s.Q;for(i=0,o=0;i<d;){switch(n=p[i++],o=i,r=0,n){case y:case g:r=1;break;case v:r=3;break;case x:r=2;break;case _:var w=e[4],S=e[5],b=l(e[0]*e[0]+e[1]*e[1]),D=l(e[2]*e[2]+e[3]*e[3]),M=h(-e[1]/D,e[0]/b);p[i]*=b,p[i++]+=w,p[i]*=D,p[i++]+=S,p[i++]*=b,p[i++]*=D,p[i++]+=M,p[i++]+=M,o=i+=2;break;case m:f[0]=p[i++],f[1]=p[i++],(0,a.applyTransform)(f,f,e),p[o++]=f[0],p[o++]=f[1],f[0]+=p[i++],f[1]+=p[i++],(0,a.applyTransform)(f,f,e),p[o++]=f[0],p[o++]=f[1]}for(c=0;c<r;c++){var T=u[c];T[0]=p[i++],T[1]=p[i++],(0,a.applyTransform)(T,T,e),p[o++]=T[0],p[o++]=T[1]}}t.increaseVersion()}}var f=n(6836),p=Math.sqrt,d=Math.sin,y=Math.cos,v=Math.PI;function g(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function m(t,e){return(t[0]*e[0]+t[1]*e[1])/(g(t)*g(e))}function _(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(m(t,e))}function x(t,e,n,r,i,o,a,s,u,l,h){var c=u*(v/180),f=y(c)*(t-n)/2+d(c)*(e-r)/2,g=-1*d(c)*(t-n)/2+y(c)*(e-r)/2,x=f*f/(a*a)+g*g/(s*s);x>1&&(a*=p(x),s*=p(x));var w=(i===o?-1:1)*p((a*a*(s*s)-a*a*(g*g)-s*s*(f*f))/(a*a*(g*g)+s*s*(f*f)))||0,S=w*a*g/s,b=w*-s*f/a,D=(t+n)/2+y(c)*S-d(c)*b,M=(e+r)/2+d(c)*S+y(c)*b,T=_([1,0],[(f-S)/a,(g-b)/s]),k=[(f-S)/a,(g-b)/s],C=[(-1*f-S)/a,(-1*g-b)/s],I=_(k,C);if(m(k,C)<=-1&&(I=v),m(k,C)>=1&&(I=0),I<0){var O=Math.round(I/v*1e6)/1e6;I=2*v+O%2*v}h.addData(l,D,M,a,s,T,I,c,o)}var w=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,S=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.applyTransform=function(t){},e}(i.ZP);function D(t){return null!=t.setData}function M(t,e){var n=function(t){var e=new o.Z;if(!t)return e;var n,r=0,i=0,a=r,s=i,u=o.Z.CMD,l=t.match(w);if(!l)return e;for(var h=0;h<l.length;h++){for(var c=l[h],f=c.charAt(0),p=void 0,d=c.match(S)||[],y=d.length,v=0;v<y;v++)d[v]=parseFloat(d[v]);for(var g=0;g<y;){var m=void 0,_=void 0,b=void 0,D=void 0,M=void 0,T=void 0,k=void 0,C=r,I=i,O=void 0,P=void 0;switch(f){case"l":r+=d[g++],i+=d[g++],p=u.L,e.addData(p,r,i);break;case"L":r=d[g++],i=d[g++],p=u.L,e.addData(p,r,i);break;case"m":r+=d[g++],i+=d[g++],p=u.M,e.addData(p,r,i),a=r,s=i,f="l";break;case"M":r=d[g++],i=d[g++],p=u.M,e.addData(p,r,i),a=r,s=i,f="L";break;case"h":r+=d[g++],p=u.L,e.addData(p,r,i);break;case"H":r=d[g++],p=u.L,e.addData(p,r,i);break;case"v":i+=d[g++],p=u.L,e.addData(p,r,i);break;case"V":i=d[g++],p=u.L,e.addData(p,r,i);break;case"C":p=u.C,e.addData(p,d[g++],d[g++],d[g++],d[g++],d[g++],d[g++]),r=d[g-2],i=d[g-1];break;case"c":p=u.C,e.addData(p,d[g++]+r,d[g++]+i,d[g++]+r,d[g++]+i,d[g++]+r,d[g++]+i),r+=d[g-2],i+=d[g-1];break;case"S":m=r,_=i,O=e.len(),P=e.data,n===u.C&&(m+=r-P[O-4],_+=i-P[O-3]),p=u.C,C=d[g++],I=d[g++],r=d[g++],i=d[g++],e.addData(p,m,_,C,I,r,i);break;case"s":m=r,_=i,O=e.len(),P=e.data,n===u.C&&(m+=r-P[O-4],_+=i-P[O-3]),p=u.C,C=r+d[g++],I=i+d[g++],r+=d[g++],i+=d[g++],e.addData(p,m,_,C,I,r,i);break;case"Q":C=d[g++],I=d[g++],r=d[g++],i=d[g++],p=u.Q,e.addData(p,C,I,r,i);break;case"q":C=d[g++]+r,I=d[g++]+i,r+=d[g++],i+=d[g++],p=u.Q,e.addData(p,C,I,r,i);break;case"T":m=r,_=i,O=e.len(),P=e.data,n===u.Q&&(m+=r-P[O-4],_+=i-P[O-3]),r=d[g++],i=d[g++],p=u.Q,e.addData(p,m,_,r,i);break;case"t":m=r,_=i,O=e.len(),P=e.data,n===u.Q&&(m+=r-P[O-4],_+=i-P[O-3]),r+=d[g++],i+=d[g++],p=u.Q,e.addData(p,m,_,r,i);break;case"A":b=d[g++],D=d[g++],M=d[g++],T=d[g++],k=d[g++],x(C=r,I=i,r=d[g++],i=d[g++],T,k,b,D,M,p=u.A,e);break;case"a":b=d[g++],D=d[g++],M=d[g++],T=d[g++],k=d[g++],x(C=r,I=i,r+=d[g++],i+=d[g++],T,k,b,D,M,p=u.A,e)}}"z"!==f&&"Z"!==f||(p=u.Z,e.addData(p),r=a,i=s),n=p}return e.toStatic(),e}(t),r=(0,f.extend)({},e);return r.buildPath=function(t){if(D(t)){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},r.applyTransform=function(t){c(n,t),this.dirtyShape()},r}function T(t,e){return new b(M(t,e))}function k(t,e){var n=M(t,e);return function(t){function e(e){var r=t.call(this,e)||this;return r.applyTransform=n.applyTransform,r.buildPath=n.buildPath,r}return(0,r.__extends)(e,t),e}(b)}function C(t,e){for(var n=[],r=t.length,o=0;o<r;o++){var a=t[o];n.push(a.getUpdatedPathProxy(!0))}var s=new i.ZP(e);return s.createPathProxy(),s.buildPath=function(t){if(D(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},s}function I(t,e){e=e||{};var n=new i.ZP;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?c(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}}}]);
//# sourceMappingURL=50382.6cfaa593cbdf17a5.js.map