iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
1 lines • 268 kB
JavaScript
export const __rspack_esm_id=37552;export const __rspack_esm_ids=[37552];export const __webpack_modules__={61806(t,e,n){var r=n(46518),i=n(28551),o=n(97040),a=n(72652),s=n(1767);r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var t=[],e=0;return a(s(i(this)),function(n){o(t,e++,n)},{IS_RECORD:!0}),t}})},52557(t,e,n){n.d(e,{Jw:()=>o,LR:()=>l,LW:()=>u,Nz:()=>h,Xr:()=>d,ap:()=>p,oi:()=>s,t5:()=>f});var r=n(52577),i=(0,n(6471).$r)();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}},50551(t,e,n){n.d(e,{A:()=>i});var r=n(6471);function i(){var t=(0,r.$r)();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"}}},62876(t,e,n){n.d(e,{J:()=>s});n(44114);var r=n(52577),i=n(16890),o=n(46802),a=n(6471);function s(t){var e,n,s,u,l=t.series,h=t.dataIndex,c=t.multipleSeries,f=l.getData(),p=f.mapDimensionsAll("defaultedTooltip"),d=p.length,y=l.getRawValue(h),v=(0,r.isArray)(y),g=(0,i.aw)(l,h);if(d>1||v&&!d){var m=function(t,e,n,a,s){var u=e.getData(),l=(0,r.reduce)(t,function(t,e,n){var r=u.getDimensionInfo(n);return t||r&&!1!==r.tooltip&&null!=r.displayName},!1),h=[],c=[],f=[];function p(t,e){var n=u.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(l?f.push((0,i.Qx)("nameValue",{markerType:"subItem",markerColor:s,name:n.displayName,value:t,valueType:n.type})):(h.push(t),c.push(n.type)))}return a.length?(0,r.each)(a,function(t){p((0,o.QE)(u,n,t),t)}):(0,r.each)(t,p),{inlineValues:h,inlineValueTypes:c,blocks:f}}(y,l,h,p,g);e=m.inlineValues,n=m.inlineValueTypes,s=m.blocks,u=m.inlineValues[0]}else if(d){var _=f.getDimensionInfo(p[0]);u=e=(0,o.QE)(f,h,p[0]),n=_.type}else u=e=v?y[0]:y;var x=(0,a.O0)(l),w=x&&l.name||"",S=f.getName(h),b=c?w:S;return(0,i.Qx)("section",{header:w,noHeader:c||!x,sortParam:u,blocks:[(0,i.Qx)("nameValue",{markerType:"item",markerColor:g,name:b,noName:!(0,r.trim)(b),value:e,valueType:n,rawDataIndex:f.getRawIndex(h)})].concat(s||[])})}},16890(t,e,n){n.d(e,{CO:()=>b,Qx:()=>p,Yu:()=>_,aw:()=>S,lb:()=>T});n(44114);var r=n(305),i=n(95259),o=n(52577),a=n(10862),s=n(88877),u=n(16418);function l(t){var e=t.lineHeight;return null==e?"line-height:1":"line-height:"+(0,r.Me)(e+"")+"px"}function h(t,e){var n=t.color||u.A.color.tertiary,i=t.fontSize||12,o=t.fontWeight||"400",a=t.color||u.A.color.secondary,s=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,r.Me)(i+"")+"px;color:"+(0,r.Me)(n)+";font-weight:"+(0,r.Me)(o+""),valueStyle:"font-size:"+(0,r.Me)(s+"")+"px;color:"+(0,r.Me)(a)+";font-weight:"+(0,r.Me)(l+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}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.Fl(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 T="richText"===t.renderMode?g.join(d.richText):x(s,g.join(""),p?n:d.html);if(p)return T;var M=(0,i.yC)(e.header,"ordinal",t.useUTC),D=h(s,t.renderMode).nameStyle,A=l(s);return"richText"===t.renderMode?w(t,M,D)+d.richText+T:x(s,'<div style="'+D+";"+A+';">'+(0,r.Me)(M)+"</div>"+T,n)}function m(t,e,n,a){var s=t.renderMode,l=e.noName,c=e.noValue,f=!e.markerType,p=e.name,d=t.useUTC,y=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.isArray)(t)?t:[t],(0,o.map)(t,function(t,e){return(0,i.yC)(t,(0,o.isArray)(m)?m[e]:m,d)})};if(!l||!c){var v=f?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||u.A.color.secondary,s),g=l?"":(0,i.yC)(p,"ordinal",d),m=e.valueType,_=c?[]:y(e.value,e.rawDataIndex),S=!f||!l,b=!f&&l,T=h(a,s),M=T.nameStyle,D=T.valueStyle;return"richText"===s?(f?"":v)+(l?"":w(t,g,M))+(c?"":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,_,S,b,D)):x(a,(f?"":v)+(l?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+(0,r.Me)(t)+"</span>"}(g,!f,M))+(c?"":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.Me)(t)}).join(" ")+"</span>"}(_,S,b,D)),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.he)(n)}function b(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var T=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.IH)()}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.qg)({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}()},71034(t,e,n){n.d(e,{Ay:()=>p,Xf:()=>s,fE:()=>h,kf:()=>u,m7:()=>f});var r=n(52577),i={},o={},a=function(){function t(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return t.prototype.create=function(t,e){function n(n,i){var o=[];return r.each(n,function(n,r){var i=n.create(t,e);o=o.concat(i||[])}),o}this._nonSeriesBoxMasterList=n(i,!0),this._normalMasterList=n(o,!1)},t.prototype.update=function(t,e){r.each(this._normalMasterList,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},t.register=function(t,e){"matrix"!==t&&"calendar"!==t?o[t]=e:i[t]=e},t.get=function(t){return o[t]||i[t]},t}();var s=2;function u(t){l.set(t.fullType,{getCoord2:void 0}).getCoord2=t.getCoord2}var l=r.createHashMap();function h(t){var e=t.getShallow("coord",!0),n=1;if(null==e){var r=l.get(t.type);r&&r.getCoord2&&(n=s,e=r.getCoord2(t))}return{coord:e,from:n}}function c(t,e){var n=t.getShallow("coordinateSystem"),r=t.getShallow("coordinateSystemUsage",!0),o=0;if(n){var a="series"===t.mainType;null==r&&(r=a?"data":"box"),"data"===r?(o=1,a||(o=0)):"box"===r&&(o=2,a||function(t){return!!i[t]}(n)||(o=0))}return{coordSysType:n,kind:o}}function f(t){var e=t.targetModel,n=t.coordSysType,r=t.coordSysProvider,i=t.isDefaultDataCoordSys;t.allowNotFound;var o=c(e),a=o.kind,s=o.coordSysType;if(i&&1!==a&&(a=1,s=n),0===a||s!==n)return 0;var u=r(n,e);return u?(1===a?e.coordinateSystem=u:e.boxCoordinateSystem=u,a):0}const p=a},1622(t,e,n){n.d(e,{A:()=>s,k:()=>a});var r=n(52577),i=n(11975),o=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];function a(t,e){return e.mainType===i.t7?t.getViewOfSeriesModel(e):t.getViewOfComponentModel(e)}const s=function(t){r.each(o,function(e){this[e]=r.bind(t[e],t)},this)}},60789(t,e,n){n.d(e,{Lv:()=>c,A$:()=>p,pr:()=>y,A4:()=>d,E:()=>f});var r=n(99904),i=n(29342);var o=n(52577),a="ZH",s="EN",u=s,l={},h={},c=i.A.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.A(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:""}}}})},61192(t,e,n){n.d(e,{U:()=>i});var r=n(52577);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}}()},30112(t,e,n){n.d(e,{A:()=>o});n(44114);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}()},44207(t,e,n){n.d(e,{A_:()=>f,Ay:()=>m});n(44114),n(16573),n(78100),n(77936),n(18111),n(22489),n(61701),n(37467),n(44732),n(79577);var r,i=n(52577),o=n(11975),a=n(10862),s=n(66293),u=n(6471),l=n(88877),h=typeof Uint32Array===o.nk?Array:Uint32Array,c=typeof Uint16Array===o.nk?Array:Uint16Array,f=typeof Int32Array===o.nk?Array:Int32Array,p=typeof Float64Array===o.nk?Array:Float64Array,d={float:p,int:f,ordinal:Array,number:Array,time:p};function y(t){return t>65535?h:c}function v(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function g(t,e,n,r,i){var o=d[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 m=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(),a=this.defaultDimValueGetter=r[o.sourceFormat];this._dimValueGetter=n||a,this._rawExtent=[];(0,s.O0)(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 d[e||"float"](this._rawCount),this._rawExtent[i]=(0,u.X1)(),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]=(0,u.X1)());for(var s=i[t],l=o;l<a;l++){var h=n[l]=e.parseAndCollect(n[l]);isNaN(h)||(s[0]=Math.min(h,s[0]),s[1]=Math.max(h,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++){g(n,l,(d=i[l]).type,u,!0)}for(var h=[],c=s;c<u;c++)for(var f=c-s,p=0;p<o;p++){var d=i[p],y=r.arrayRows.call(this,t[f]||h,d.property,f,p);n[p][c]=y;var v=a[p];y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}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,l=this._rawExtent,h=(0,i.map)(a,function(t){return t.property}),c=0;c<s;c++){var f=a[c];l[c]||(l[c]=(0,u.X1)()),g(o,c,f.type,e,n)}if(r.fillStorage)r.fillStorage(t,e,o,l);else for(var p=[],d=t;d<e;d++){p=r.getItem(d,p);for(var y=0;y<s;y++){var v=o[y],m=this._dimValueGetter(p,h[y],d,y);v[d]=m;var _=l[y];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!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)}),(0,l.Y6)(e);var n=this.count();return 0===n?0:n%2==1?e[(n-1)/2]:(e[n/2]+e[n/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.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=y(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(y(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 p=0;p<a;p++)o[p]=l[t[p]][f];o[p]=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(y(e._rawCount))(a),u=0,l=r[0],h=t[l][0],c=t[l][1],f=e._chunks,p=!1;if(!e._indices){var d=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++]=d),d++}p=!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++]=d),d++}p=!0}}if(!p)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 T=!0,M=(b=e.getRawIndex(g),0);M<o;M++){var D=r[M];((w=f[D][b])<t[D][0]||w>t[D][1])&&(T=!1)}T&&(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=[],l=t._rawExtent,h=0;h<e.length;h++)l[e[h]]=(0,u.X1)();for(var c=0;c<a;c++){for(var f=t.getRawIndex(c),p=0;p<o;p++)s[p]=r[e[p]][f];s[o]=c;var d=n&&n.apply(null,s);if(null!=d){"object"!=typeof d&&(i[0]=d,d=i);for(h=0;h<d.length;h++){var y=e[h],v=d[h],g=l[y],m=r[y];m&&(m[f]=v),v<g[0]&&(g[0]=v),v>g[1]&&(g[1]=v)}}}},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(y(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 p=Math.min(f+l,s-1),d=Math.min(f+2*l,s),v=(d+p)/2,g=0,m=p;m<d;m++){var _=a[D=this.getRawIndex(m)];isNaN(_)||(g+=_)}g/=d-p;var x=f,w=Math.min(f+l,s),S=f-1,b=a[h];n=-1,i=x;var T=-1,M=0;for(m=x;m<w;m++){var D;_=a[D=this.getRawIndex(m)];isNaN(_)?(M++,T<0&&(T=D)):(r=Math.abs((S-v)*(_-b)-(S-m)*(g-b)))>n&&(n=r,i=D)}M>0&&M<w-x&&(c[u++]=Math.min(T,i),i=Math.max(T,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(y(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,p=o[this.getRawIndex(f)],d=i;l+i>a&&(d=a-l);for(var v=0;v<d;v++){var g=o[this.getRawIndex(l+v)];g<c&&(c=g,h=l+v),g>p&&(p=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),l=o[t],h=this.count(),c=i._rawExtent[t]=(0,u.X1)(),f=new(y(this._rawCount))(Math.ceil(h/s)),p=0,d=0;d<h;d+=s){s>h-d&&(s=h-d,a.length=s);for(var v=0;v<s;v++){var g=this.getRawIndex(d+v);a[v]=l[g]}var m=n(a),_=this.getRawIndex(Math.min(d+r(a,m)||0,h-1));l[_]=m,m<c[0]&&(c[0]=m),m>c[1]&&(c[1]=m),f[p++]=_}return i._count=p,i._indices=f,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,e){var n=this._chunks[t],r=(0,u.X1)();if(!n)return r;var i=this.count();if(!this._indices&&!e)return this._rawExtent[t].slice();var o=this._extent,s=o[t]||(o[t]={}),l=(0,a.$6)(e),h=l.key,c=s[h];if(c)return c.slice();for(var f=r[0],p=r[1],d=0;d<i;d++){var y=n[this.getRawIndex(d)];e&&!(0,a.V7)(l,y)||(y<f&&(f=y),y>p&&(p=y))}return s[h]=[f,p]},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=new t,o=this._chunks,a=e&&(0,i.reduce)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)r._chunks[s]=a[s]?v(o[s]):o[s];else r._chunks=o;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},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,a.Pn)(t[r],this._dimensions[r])}r={arrayRows:t,objectRows:function(t,e,n,r){return(0,a.Pn)(t[e],this._dimensions[r])},keyedColumns:t,original:function(t,e,n,r){var i=t&&(null==t.value?t:t.value);return(0,a.Pn)(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(t,e,n,r){return t[r]}}}(),t}()},56145(t,e,n){n.d(e,{A:()=>k});n(44114),n(16573),n(78100),n(77936),n(18111),n(22489),n(61701),n(37467),n(44732),n(79577);var r,i,o,a,s,u,l,h=n(52577),c=n(99904),f=n(30112),p=n(46802),d=n(67559),y=n(7202),v=n(11975),g=n(6471),m=n(90057),_=n(66293),x=n(44207),w=n(35461),S=h.isObject,b=h.map,T="undefined"==typeof Int32Array?Array:Int32Array,M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],D=["_approximateExtent"],A=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.fg)(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.A({name:c}):c instanceof y.A?c:new y.A(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]=[]),r&&(f.storeDimIndex=l),0===d.itemName&&(this._nameDimIdx=f.storeDimIndex),0===d.itemId&&(this._idDimIdx=f.storeDimIndex)}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.Ay&&(r=t),!r){var o=this.dimensions,a=(0,_.tP)(t)||h.isArrayLike(t)?new p.d1(t,o.length):t;r=new x.Ay;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.l)(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.XO&&!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.mK&&!n.pure)for(var a=[],s=t;s<e;s++){var u=n.getItem(s,a);if(!this.hasItemOption&&(0,g.zu)(u)&&(this.hasItemOption=!0),u){var h=u.name;null==i[s]&&null!=h&&(i[s]=(0,g.vS)(h,null));var c=u.id;null==o[s]&&null!=c&&(o[s]=(0,g.vS)(c,null))}}if(this._shouldMakeIdFromName())for(s=t;s<e;s++)l(this,s);r(this)}},t.prototype.getApproximateExtent=function(t,e){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t),e)},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),null)},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.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.A(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new f.A(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.a)(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 T(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.vS)(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(D,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 k=A},7202(t,e,n){n.d(e,{A:()=>i});var r=n(52577);const i=function(t){this.otherDims={},null!=t&&r.extend(this,t)}},66293(t,e,n){n.d(e,{AF:()=>h,BE:()=>c,O0:()=>y,gV:()=>l,tP:()=>u,wZ:()=>f});n(44114);var r=n(52577),i=n(11975),o=n(6471),a=n(8858),s=function(t){this.data=t.data||(t.sourceFormat===i.t1?{}:[]),this.sourceFormat=t.sourceFormat||i.vm,this.seriesLayoutBy=t.seriesLayoutBy||i.i_,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.PU)(this,n)===a.sc.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.Km){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.oC?h.length:h[0]?h[0].length:null}else if(e===i.Wk)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.t1)s||(s=[],(0,r.each)(t,function(t,e){s.push(e)}));else if(e===i.mK){var c=(0,o.vj)(t[0]);u=(0,r.isArray)(c)&&c.length||1}else i.XO;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.XO:i.mK})}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.vm;if((0,r.isTypedArray)(t))e=i.XO;else if((0,r.isArray)(t)){0===t.length&&(e=i.Km);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.Km;break}if((0,r.isObject)(a)){e=i.Wk;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.t1;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.oC)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.Wk||e===i.t1}},35461(t,e,n){n.d(e,{Tc:()=>u,eS:()=>f,fg:()=>l,io:()=>h,j_:()=>c});n(44114);var r=n(52577),i=n(6471),o=n(66293),a=(0,i.$r)(),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.O0)(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}},6166(t,e,n){n.d(e,{A:()=>f,M:()=>c});n(44114);var r=n(11975),i=n(7202),o=n(52577),a=n(66293),s=n(44207),u=n(6471),l=n(8858),h=n(35461);function c(t,e){return f(t,e).dimensions}function f(t,e){(0,a.tP)(t)||(t=(0,a.AF)(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.eS)(y),g=c===t.dimensionsDefine,m=g?(0,h.j_)(t):(0,h.io)(c),_=e.encodeDefine;!_&&e.encodeDefaulter&&(_=e.encodeDefaulter(t,y));for(var x=(0,o.createHashMap)(_),w=new s.A_(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.A,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.qB)(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 T=0;function M(t,e,n){null!=r.Pe.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.qB)(s)).length)for(var l=0;l<(n&&n.length||1);l++){for(;T<y&&null!=b(T).coordDim;)T++;T<y&&s.push(T++)}(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 D=e.generateCoord,A=e.generateCoordCount,k=null!=A;A=D?A||1:0;var C=D||"value";function I(t){null==t.name&&(t.name=t.coordDim)}if(v)(0,o.each)(d,function(t){I(t)}),d.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var O=0;O<y;O++){var P=b(O);null==P.coordDim&&(P.coordDim=p(C,f,k),P.coordDimIndex=0,(!D||A<=0)&&(P.isExtraCoord=!0),A--),I(P),null!=P.type||(0,l.PU)(t,O)!==l.sc.Must&&(!P.isExtraCoord||null==P.otherDims.itemName&&null==P.otherDims.seriesName)||(P.type="ordinal")}return(0,u.R3)(d,function(t){return t.name},function(t,e){e>0&&(t.name=t.name+(e-1))}),new h.Tc({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}},46802(t,e,n){n.d(e,{Kd:()=>w,QE:()=>D,d1:()=>d,sC:()=>m,uQ:()=>T});n(44114);var r,i,o,a,s,u,l=n(52577),h=n(6471),c=n(66293),f=n(11975),p=n(22752),d=function(){function t(t,e){var n=(0,c.tP)(t)?t:(0,c.AF)(t);this._source=n;var r=this._data=n.data,i=n.sourceFormat;n.seriesLayoutBy;i===f.XO&&(this._offset=0,this._dimSize=e,this._data=r),u(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;u=function(t,i,o){var a=o.sourceFormat,u=o.seriesLayoutBy,h=o.startIndex,c=o.dimensionsDefine,p=s[M(a,u)];if((0,l.extend)(t,p),a===f.XO)t.getItem=e,t.count=r,t.fillStorage=n;else{var d=m(a,u);t.getItem=(0,l.bind)(d,null,i,h,c);var y=w(a,u);t.count=(0,l.bind)(y,null,i,h,c)}};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={})[f.Km+"_"+f.i_]={pure:!0,appendData:i},t[f.Km+"_"+f.oC]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[f.Wk]={pure:!0,appendData:i},t[f.t1]={pure:!0,appendData:function(t){var e=this._data;(0,l.each)(t,function(t,n){for(var r=e[n]||(e[n]=[]),i=0;i<(t||[]).length;i++)r.push(t[i])})}},t[f.mK]={appendData:i},t[f.XO]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},s=t}(),t}(),y=function(t){(0,l.isArray)(t)||(0,p.z3)("series.data or dataset.source must be an array.")},v=((r={})[f.Km+"_"+f.i_]=y,r[f.Km+"_"+f.oC]=y,r[f.Wk]=y,r[f.t1]=function(t,e){for(var n=0;n<e.length;n++){null==e[n].name&&(0,p.z3)("dimension name must not be null/undefined.")}},r[f.mK]=y,function(t,e,n,r){return t[r]}),g=((i={})[f.Km+"_"+f.i_]=function(t,e,n,r){return t[r+e]},i[f.Km+"_"+f.oC]=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},i[f.Wk]=v,i[f.t1]=function(t,e,n,r,i){for(var o=i||[],a=0;a<n.length;a++){var s=n[a].name,u=null!=s?t[s]:null;o[a]=u?u[r]:null}return o},i[f.mK]=v,i);function m(t,e){return g[M(t,e)]}var _=function(t,e,n){return t.length},x=((o={})[f.Km+"_"+f.i_]=function(t,e,n){return Math.max(0,t.length-e)},o[f.Km+"_"+f.oC]=function(t,e,n){var r=t[0];return r?Math.max(0,r.length-e):0},o[f.Wk]=_,o[f.t1]=function(t,e,n){var r=n[0].name,i=null!=r?t[r]:null;return i?i.length:0},o[f.mK]=_,o);function w(t,e){return x[M(t,e)]}var S=function(t,e,n){return t[e]},b=((a={})[f.Km]=S,a[f.Wk]=function(t,e,n){return t[n]},a[f.t1]=S,a[f.mK]=function(t,e,n){var r=(0,h.vj)(t);return r instanceof Array?r[e]:r},a[f.XO]=S,a);function T(t){return b[t]}function M(t,e){return t===f.Km?t+"_"+e:t}function D(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 T(o)(r,a,s)}var u=r;return o===f.mK&&(u=(0,h.vj)(r)),u}}}},10862(t,e,n){n.d(e,{$6:()=>d,Fl:()=>c,Pn:()=>a,V7:()=>y,zC:()=>u,zs:()=>p});var r=n(88877),i=n(52577),o=n(22752);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._U)(t)),null==t||""===t?NaN:Number(t))}var s=(0,i.createHashMap)({number:function(t){return parseFloat(t)},time:function(t){return+(0,r._U)(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.$8)("")}this._opFn=l[t],this._rvalFloat=(0,r.Sm)(e)}return t.prototype.evaluate=function(t){return(0,i.isNumber)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,r.Sm)(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.Sm)(t),o=(0,i.isNumber)(e)?e:(0,r.Sm)(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.Sm)(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.Sm)(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}function d(t){var e="",n=-1/0,r=-1/0,i=1/0,o=1/0;return t&&(null!=t.g&&(e+="G"+t.g,n=t.g),null!=t.ge&&(e+="GE"+t.ge,r=t.ge),null!=t.l&&(e+="L"+t.l,i=t.l),null!=t.le&&(e+="LE"+t.le,o=t.le)),{key:e,g:n,ge:r,l:i,le:o}}function y(t,e){return e>t.g&&e>=t.ge&&e<t.l&&e<=t.le}},67559(t,e,n){n.d(e,{B:()=>u,l:()=>a});n(44114);var r=n(52577),i=n(11975),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.Pe.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"}},8858(t,e,n){n.d(e,{G9:()=>c,Gt:()=>f,OC:()=>l,PU:()=>p,ln:()=>h,ps:()=>u,sc:()=>a});n(44114);var r=n(6471),i=n(52577),o=n(11975),a={Must:1,Might:2,Not:3},s=(0,r.$r)();function u(t){s(t).datasetMap=(0,i.createHashMap)()}function l(t,e,n){var r={},o=c(e);if(!o||!t)return r;var a,u,l=[],h=[],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(h,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(h,o,i),y.categoryWayDim+=i}}),l.length&&(r.itemName=l),h.length&&(r.seriesName=h),r}function h(t,e,n){var r={};if(!c(t))return r;var s,u=e.sourceFormat,l=e.dimensionsDefine;u!==o.Wk&&u!==o.t1||(0,i.each)(l,function(t,e){"name"===((0,i.isObject)(t)?t.name:t)&&(s=e)});var h=function(){for(var t={},r={},i=[],o=0,h=Math.min(5,n);o<h;o++){var c=d(e.data,u,e.seriesLayoutBy,l,e.startIndex,o);i.push(c);var f=c===a.Not;if(f&&null==t.v&&o!==s&&(t.v=o),(null==t.n||t.n===t.v||!f&&i[t.n]===a.Not)&&(t.n=o),p(t)&&i[t.n]!==a.Not)return t;f||(c===a.Might&&null==r.v&&o!==s&&(r.v=o),null!=r.n&&r.n!==r.v||(r.n=o))}function p(t){return null!=t.v&&null!=t.n}return p(t)?t:p(r)?r:null}();if(h){r.value=[h.v];var f=null!=s?s:h.n;r.itemName=[f],r.seriesName=[f]}return r}function c(t){if(!t.get("data",!0))return(0,r.JO)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},r.US).models[0]}function f(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,r.JO)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},r.US).models:[]}function p(t,e){return d(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function d(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.Km){var d=t;if(n===o.oC){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.Wk){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.t1){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.mK){var x=t;for(v=0;v<x.length&&v<5;v++){var w=x[v],S=(0,r.vj)(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&&isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}},51039(t,e,n){n.d(e,{A:()=>c,R:()=>h});n(44114);var r=n(52577),i=n(66293),o=n(11975),a=n(8858),s=n(29119),u=n(44207),l=n(46802),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.XO:o.mK,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.gV)(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.gV)(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.py)(o,u,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,i.BE)(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.Ay).initData(new l.d1(e,t.length),t),i[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(f(t)){var e=(0,a.G9)(t);return e?[e.getSourceManager()]:[]}return(0,r.map)((0,a.Gt)(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)}},29119(t,e,n){n.d(e,{py:()=>g,v5:()=>v});n(44114);var r=n(11975),i=n(6471),o=n(52577),a=n(46802),s=n(10862),u=n(22752),l=n(66293),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.Pn)(t,e)},t}();function c(t){if(!_(t.sourceFormat)){0,(0,u.$8)("")}return t.data}function f(t){var e=t.sourceFormat,n=t.data;if(!_(e)){0,(0,u.$8)("")}if(e===r.Km){for(var i=[],a=0,s=n.length;a<s;a++)i.push(n[a].slice());return i}if(e===r.Wk){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.$8)("");var n=e.split(":");2!==n.length&&(0,u.$8)("");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.qB)(t),o=r.length;o||(0,u.$8)("");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.$8)(""),(0,o.isObject)(t)||(0,u.$8)("");var v=t.type,g=y.get(v);g||(0,u.$8)("");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.i_&&(0,u.$8)("");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.$8)(""),v[n]=r)});else for(var m=0;m<t.dimensionsDetectedCount;m++)y.push({index:m});var _=(0,a.sC)(s,r.i_);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.Kd)(s,r.i_);n.count=(0,o.bind)(x,null,i,l,y);var w=(0,a.uQ)(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.qB)(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.$8)(""),t.data||(0,u.$8)(""),_((0,l.wZ)(t.data))||(0,u.$8)("");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.i_,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else i={seriesLayoutBy:r.i_,sourceHeader:0,dimensions:t.dimensions};return(0,l.gV)(t.data,i,null)})}function _(t){return t===r.Km||t===r.Wk}},79825(t,e,n){n.d(e,{Br:()=>b,Lu:()=>x,Oh:()=>w,VB:()=>p,c8:()=>_,lx:()=>f,qM:()=>c,sD:()=>d,xb:()=>S});var r=n(47263),i=n(52577),o=n(9078),a=n(6471),s=n(52557),u={};function l(t,e){for(var n=0;n<o.BV.length;n++){var r=o.BV[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.BV.length;c++){var f=o.BV[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.Ay,c=!1,f=0;f<o.wV.length;f++){if((w=e[o.wV[f]])&&w.getShallow("show")){c=!0;break}}var y=s?t:t.getTextContent();if(c){s||(y||(y=new r.Ay,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.BV.length;f++){var w,S=o.BV[f];if(w=e[S]){var b=y.ensureState(S),T=!!(0,i.retrieve2)(w.getShallow("show"),m);if(T!==m&&(b.ignore=!T),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.BV.length;r++){var i=o.BV[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){a={};var c="richInheritPlainLabel",f=(0,i.retrieve2)(e.get(c),s?s.get(c):void 0);for(var p in h)if(h.hasOwnProperty(p)){var d=e.getModel(["rich",p]);m(a[p]={},d,l,e,f,n,r,o,!1,!0)}}a&&(t.rich=a);var y=e.get("overflow");y&&(t.overflow=y);var v=e.get("lineOverflow");v&&(t.lineOverflow=v);var g=t,_=e.get("minMargin");if(null!=_)_=(0,i.isNumber)(_)?_/2:0,g.margin=[_,_,_,_],g.__marginType=b.minMargin;else{var x=e.get("textMargin");null!=x&&(g.margin=(0,i.normalizeCssArray)(x),g.__marginType=b.textMargin)}m(t,e,l,null,null,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",null!=e.autoOverflowArea&&(o.autoOverflowArea=e.autoOverflowArea),null!=e.layoutRect&&(o.layoutRect=e.layoutRect),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,h,c){n=!s&&n||u;var f=a&&a.inheritColor,p=e.getShallow("color"),d=e.getShallow("textBorderColor"),m=(0,i.retrieve2)(e.getShallow("opacity"),n.opacity);"inherit"!==p&&"auto"!==p||(p=f||null),"inherit"!==d&&"auto"!==d||(d=f||null),l||(p=p||n.color,d=d||n.textBorderColor),null!=p&&(t.fill=p),null!=d&&(t.stroke=d);var _=(0,i.retrieve2)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=_&&(t.lineWidth=_);var x=(0,i.retrieve2)(e.getShallow("textBorderType"),n.textBorderType);null!=x&&(t.lineDash=x);var w=(0,i.retrieve2)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=w&&(t.lineDashOffset=w),s||null!=m||c||(m=a&&a.defaultOpacity),null!=m&&(t.opacity=m),s||l||null==t.fill&&a.inheritColor&&(t.fill=a.inheritColor);for(var S=0;S<y.length;S++){var b=y[S];null!=(M=!1!==o&&r?(0,i.retrieve3)(e.getShallow(b),r.getShallow(b),n[b]):(0,i.retrieve2)(e.getShallow(b),n[b]))&&(t[b]=M)}for(S=0;S<v.length;S++){b=v[S];null!=(M=e.getShallow(b))&&(t[b]=M)}if(null==t.verticalAlign){var T=e.getShallow("baseline");null!=T&&(t.verticalAlign=T)}if(!h||!a.disableBox){for(S=0;S<g.length;S++){var M;b=g[S];null!=(M=e.getShallow(b))&&(t[b]=M)}var D=e.getShallow("borderType");null!=D&&(t.borderDash=D),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!f||(t.backgroundColor=f),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!f||(t.borderColor=f)}}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.$r)();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.LW:s.oi)(t,{percent:1},r,e,null,function(r){var i=(0,a.Il)(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)})}}var b={minMargin:1,textMargin:2}},45860(t,e,n){n.d(e,{A:()=>f});n(44114);var r=n(62826),i=n(52577),o=n(99904),a=n(28449),s=n(86228),u=n(6471),l=n(83354),h=(0,u.$r)(),c=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.uid=a.$Q("ec_cpt_model"),i}var n;return(0,r.C6)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=l.ad(this),r=n?l.vs(t):{},o=e.getTheme();i.merge(t,o.get(this.mainType)),i.merge(t,this.getDefaultOption()),n&&l.YA(t,r,n)},e.prototype.mergeOption=function(t,e){i.merge(this.option,t,!0);var n=l.ad(this);n&&l.YA(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s._E)(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.JO)(this.ecModel,t,{index:this.get(n,!0),id:this.get(r,!0)},e)},e.prototype.getBoxLayoutParams=function(){return l.io(this,!1)},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.A);(0,s.q7)(c,o.A),(0,s.tQ)(c),a.A6(c),a.vf(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.CC)(t).main}),"dataset"!==t&&i.indexOf(e,"dataset")<=0&&e.unshift("dataset");return e});const f=c},99904(t,e,n){n.d(e,{A:()=>g});var r=n(29342),i=n(86228),o=(0,n(14071).A)([["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(79825),u=n(47263),l=["textStyle","color"],h=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],c=new u.Ay;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.c8)({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(94974),d=n(85237),y=n(52577),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.A.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.gq)(v),(0,i.Od)(v),(0,y.mixin)(v,p.J),(0,y.mixin)(v,d.s),(0,y.mixin)(v,a),(0,y.mixin)(v,f);const g=v},5990(t,e,n){n.d(e,{A:()=>D,U:()=>g});n(44114);var r=n(62826),i=n(52577),o=n(29342),a=n(6471),s=n(45860),u=n(41022),l=n(1242),h=n(83354),c=n(61192),f=n(86228),p=n(51039),d=n(62876),y=a.$r();function v(t,e){return t.getName(e)||t.getId(e)}var g="__universalTransitionEnabled",m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}var n;return(0,r.C6)(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,c.U)({count:x,reset:w}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(y(this).sourceManager=new p.R(this)).prepareSource();var r=this.getInitialData(t,n);b(r,this),this.dataTask.context.data=r,y(this).dataBeforeProcessed=r,_(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,h.ad)(this),r=n?(0,h.vs)(t):{},o=this.subType;s.A.hasClass(o)&&(o+="Series"),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),a.M5(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,h.YA)(t,r,n)},e.prototype.mergeOption=function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,h.ad)(this);n&&(0,h.YA)(this.option,t,n);var r=y(this).sourceManager;r.dirty(),r.prepareSource();var o=this.getInitialData(t,e);b(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,y(this).dataBeforeProcessed=o,_(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.M5(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=M(this);if(e){var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n}return y(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=M(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}y(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return i.createHashMap(t)},e.prototype.getSourceManager=function(){return y(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return y(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.indicesOfNearest=function(t,e,n,r){var i=this.getData(),o=this.coordinateSystem,a=o&&o.getAxis(t);if(!o||!a)return[];var s=a.dataToCoord(n);null==r&&(r=1/0);for(var u=[],l=1/0,h=-1,c=0,f=i.getDimensionIndex(e),p=i.getStore(),d=0,y=p.count();d<y;d++){var v=p.get(f,d),g=s-a.dataToCoord(v),m=Math.abs(g);m<=r&&((m<l||m===l&&g>=0&&h<0)&&(l=m,h=g,c=0),g===h&&(u[c++]=d))}return u.length=c,u},e.prototype.formatTooltip=function(t,e,n){return(0,d.J)({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.A.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.X.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=v(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[v(r,t)])&&!r.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[g])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=v(t,h)]=!0,this._selectedDataIndicesMap[f]=t.getRawIndex(h)}}else if("single"===a||!0===a){var c=e[s-1],f=v(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.A.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.A);function _(t){var e=t.name;a.O0(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 x(t){return t.model.getRawData().count()}function w(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),S}function S(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function b(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=M(t);return n&&n.setOutputEnd((e||this).count()),e}function M(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(m,l.J),i.mixin(m,u.X),(0,f.q7)(m,s.A);const D=m},1242(t,e,n){n.d(e,{J:()=>s,L:()=>u});var r=n(52577),i=n(46802),o=n(95259),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.YK)(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.QE)(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.QE)(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}}},85237(t,e,n){n.d(e,{L:()=>i,s:()=>a});var r=n(14071),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.A)(i),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},94974(t,e,n){n.d(e,{J:()=>a,m:()=>i});var r=n(14071),i=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,r.A)(i),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},14071(t,e,n){n.d(e,{A:()=>i});var r=n(52577);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}}},41022(t,e,n){n.d(e,{X:()=>a,x:()=>s});var r=n(6471),i=(0,r.$r)(),o=(0,r.$r)(),a=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var o=(0,r.qB)(this.get("color",!0)),a=this.get("colorLayer",!0);return u(this,i,o,a,t,e,n)},t.prototype.clearColorPalette=function(){var t,e;(e=i)(t=this).paletteIdx=0,e(t).paletteNameMap={}},t}();function s(t,e,n,i){var a=(0,r.qB)(t.get(["aria","decal","decals"]));return u(t,o,a,null,e,n,i)}function u(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}}},72983(t,e,n){n.d(e,{Bd:()=>s,DL:()=>a,mn:()=>i,yM:()=>o});var r=null;function i(){return r}function o(t,e){var n=i(),r=e.breakOption,o=e.breakParsed;return!o&&n&&(o=n.parseAxisBreakOption(r,t)),o}function a(t){var e=t.brk;return e?e.breaks:[]}function s(t){var e=t.brk;return!!e&&e.hasBreaks()}},86228(t,e,n){n.d(e,{CC:()=>s,Od:()=>f,_E:()=>u,gq:()=>l,q7:()=>h,tQ:()=>y});n(44114);var r=n(62826),i=n(52577),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function u(t){return!(!t||!t[a])}function l(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.C6)(e,t),e}(o):(e=function(){(t.$constructor||o).apply(this,arguments)},i.inherits(e,this)),i.extend(e.prototype,t),e[a]=!0,e.extend=this.extend,e.superCall=p,e.superApply=d,e.superClass=o,e}}function h(t,e){t.extend=e.extend}var c=Math.round(10*Math.random());function f(t){var e=["__\0is_clz",c++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function p(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 d(t,e,n){return this.superClass.prototype[e].apply(t,n)}function y(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 a=s(r);if(a.sub){if(a.sub!==o){var u=function(t){var n=e[t.main];n&&n[o]||((n=e[t.main]={})[o]=!0);return n}(a);u[a.sub]=t}}else e[a.main]=t}return t},t.getClass=function(t,n,r){var i=e[t];if(i&&i[o]&&(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=s(t),r=[],a=e[n.main];return a&&a[o]?i.each(a,function(t,e){e!==o&&r.push(t)}):r.push(a),r},t.hasClass=function(t){var n=s(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=s(t),r=e[n.main];return r&&r[o]}}},28449(t,e,n){n.d(e,{$Q:()=>a,A6:()=>s,G_:()=>l,vf:()=>u});n(44114);var r=n(52577),i=n(86228),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.CC)(t);e[r.main]=n},t.determineSubType=function(n,r){var o=r.type;if(!o){var a=(0,i.CC)(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)}},95259(t,e,n){n.d(e,{Cb:()=>u,JW:()=>m,QX:()=>l,YK:()=>p,fU:()=>y,he:()=>g,ob:()=>s,qg:()=>d,x5:()=>v,yC:()=>h});var r=n(52577),i=n(305),o=n(88877),a=n(76797);function s(t){if(!(0,o.kf)(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(0,o.YC)(t)}var l="time"===e,h=t instanceof Date;if(l||h){var c=l?(0,o._U)(t):t;if(!isNaN(+c))return(0,a.GP)(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.Sm)(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.Me)(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.Me)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,i.Me)(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._U)(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.eV)(u,2)).replace("M",u).replace("yyyy",s).replace("yy",(0,a.eV)(s%100+"",2)).replace("dd",(0,a.eV)(l,2)).replace("d",l).replace("hh",(0,a.eV)(h,2)).replace("h",h).replace("mm",(0,a.eV)(c,2)).replace("m",c).replace("ss",(0,a.eV)(f,2)).replace("s",f).replace("SSS",(0,a.eV)(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}function m(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}},26322(t,e,n){n.r(e),n.d(e,{Arc:()=>x.A,BezierCurve:()=>_.A,BoundingRect:()=>T.Ay,Circle:()=>c.A,CompoundPath:()=>w.A,Ellipse:()=>f.A,Group:()=>l.A,HOVER_LAYER_FOR_INCREMENTAL:()=>E,HOVER_LAYER_FROM_THRESHOLD:()=>B,HOVER_LAYER_NO:()=>F,Image:()=>u.Ay,IncrementalDisplayable:()=>A.A,Line:()=>m.A,LinearGradient:()=>S.A,OrientedBoundingRect:()=>M.A,Path:()=>a.Ay,Point:()=>D.A,Polygon:()=>y.A,Polyline:()=>v.A,RadialGradient:()=>b.A,Rect:()=>g.A,Ring:()=>d.A,Sector:()=>p.A,Text:()=>h.Ay,WH:()=>L,XY:()=>R,applyTransform:()=>J,calcZ2Range:()=>xt,clipPointsByRect:()=>rt,clipRectByRect:()=>it,createIcon:()=>ot,decomposeTransform:()=>Tt,ensureCopyRect:()=>gt,ensureCopyTransform:()=>mt,expandOrShrinkRect:()=>lt,extendPath:()=>W,extendShape:()=>z,getCurrentCanvasPainter:()=>Dt,getShapeClass:()=>j,getTransform:()=>Q,groupTransition:()=>nt,initProps:()=>O.LW,isBoundingRectAxisAligned:()=>yt,isElementRemoved:()=>O.LR,lineLineIntersect:()=>st,linePolygonIntersect:()=>at,makeImage:()=>Y,makePath:()=>q,mergePath:()=>G,payloadDisableAnimation:()=>bt,registerShape:()=>V,removeElement:()=>O.Nz,removeElementWithFadeOut:()=>O.t5,resizePath:()=>U,retrieveZInfo:()=>_t,setTooltipConfig:()=>ft,subPixelOptimize:()=>Z,subPixelOptimizeLine:()=>K,subPixelOptimizeRect:()=>$,transformDirection:()=>tt,traverseElements:()=>dt,traverseUpdateZ:()=>wt,updateProps:()=>O.oi});n(44114);var r=n(64606),i=n(16740),o=n(81658),a=n(79231),s=n(46881),u=n(6715),l=n(22785),h=n(47263),c=n(43842),f=n(48962),p=n(95769),d=n(80976),y=n(57922),v=n(94542),g=n(4017),m=n(46700),_=n(61618),x=n(58280),w=n(15166),S=n(67665),b=n(64139),T=n(35723),M=n(20367),D=n(14643),A=n(48738),k=n(83522),C=n(52577),I=n(90057),O=n(52557),P=n(88877),N={},R=["x","y"],L=["width","height"],F=0,B=1,E=2;function z(t){return a.Ay.extend(t)}var H=r.Qh;function W(t,e){return H(t,e)}function V(t,e){N[t]=e}function j(t){if(N.hasOwnProperty(t))return N[t]}function q(t,e,n,i){var o=r.UJ(t,e);return n&&("center"===i&&(n=X(n,o.getBoundingRect())),U(o,n)),o}function Y(t,e,n){var r=new u.Ay({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(X(e,i))}}});return r}function X(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 G=r.uc;function U(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function K(t,e){return k.eB(t,t,{lineWidth:e}),t}function $(t,e){return k.Op(t,t,e),t}var Z=k.M7;function Q(t,e){for(var n=i.identity([]);t&&t!==e;)i.mul(n,t.getLocalTransform(),n),t=t.parent;return n}function J(t,e,n){return e&&!(0,C.isArrayLike)(e)&&(e=s.Ay.getLocalTransform(e)),n&&(e=i.invert([],e)),o.applyTransform([],t,e)}function tt(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:(0,P.NY)(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:(0,P.NY)(2*e[4]/e[2]),o=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return o=J(o,e,n),(0,P.NY)(o[0])>(0,P.NY)(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function et(t){return!t.isGroup}function nt(t,e,n){if(t&&e){var r,i=(r={},t.traverse(function(t){et(t)&&t.anid&&(r[t.anid]=t)}),r);e.traverse(function(t){if(et(t)&&t.anid){var e=i[t.anid];if(e){var r=o(t);t.attr(o(e)),(0,O.oi)(t,r,n,(0,I.z)(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,C.clone)(t.shape)),e}}function rt(t,e){return(0,C.map)(t,function(t){var n=t[0];n=(0,P.JB)(n,e.x),n=(0,P.rp)(n,e.x+e.width);var r=t[1];return r=(0,P.JB)(r,e.y),[n,r=(0,P.rp)(r,e.y+e.height)]})}function it(t,e){var n=(0,P.JB)(t.x,e.x),r=(0,P.rp)(t.x+t.width,e.x+e.width),i=(0,P.JB)(t.y,e.y),o=(0,P.rp)(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 ot(t,e,n){var r=(0,C.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,C.defaults)(i,n),new u.Ay(r)):q(t.replace("path://",""),r,n,"center")}function at(t,e,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(st(t,e,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function st(t,e,n,r,i,o,a,s){var u,l=n-t,h=r-e,c=a-i,f=s-o,p=ut(c,f,l,h);if((u=p)<=1e-6&&u>=-1e-6)return!1;var d=t-i,y=e-o,v=ut(d,y,l,h)/p;if(v<0||v>1)return!1;var g=ut(d,y,c,f)/p;return!(g<0||g>1)}function ut(t,e,n,r){return t*r-n*e}function lt(t,e,n,r,i){return null==e||((0,C.isNumber)(e)?ht[0]=ht[1]=ht[2]=ht[3]=e:(ht[0]=e[0],ht[1]=e[1],ht[2]=e[2],ht[3]=e[3]),r&&(ht[0]=(0,P.JB)(0,ht[0]),ht[1]=(0,P.JB)(0,ht[1]),ht[2]=(0,P.JB)(0,ht[2]),ht[3]=(0,P.JB)(0,ht[3])),n&&(ht[0]=-ht[0],ht[1]=-ht[1],ht[2]=-ht[2],ht[3]=-ht[3]),ct(t,ht,"x","width",3,1,i&&i[0]||0),ct(t,ht,"y","height",0,2,i&&i[1]||0)),t}var ht=[0,0,0,0];function ct(t,e,n,r,i,o,a){var s=e[o]+e[i],u=t[r];t[r]+=s,a=(0,P.JB)(0,(0,P.rp)(a,u)),t[r]<a?(t[r]=a,t[n]+=e[i]>=0?-e[i]:e[o]>=0?u+e[o]:(0,P.NY)(s)>1e-8?(u-a)*e[i]/s:0):t[n]-=e[i]}function ft(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,i=(0,C.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,C.each)((0,C.keys)(u),function(t){(0,C.hasOwn)(s,t)||(s[t]=u[t],s.$vars.push(t))});var l=(0,I.z)(t.el);l.componentMainType=o,l.componentIndex=a,l.tooltipConfig={name:r,option:(0,C.defaults)({content:r,encodeHTMLContent:!0,formatterParams:s},i)}}function pt(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function dt(t,e){if(t)if((0,C.isArray)(t))for(var n=0;n<t.length;n++)pt(t[n],e);else pt(t,e)}function yt(t){return!t||(0,P.NY)(t[1])<vt&&(0,P.NY)(t[2])<vt||(0,P.NY)(t[0])<vt&&(0,P.NY)(t[3])<vt}var vt=1e-5;function gt(t,e){return t?T.Ay.copy(t,e):e.clone()}function mt(t,e){return e?i.copy(t||i.create(),e):void 0}function _t(t){return{z:t.get("z")||0,zlevel:t.get("zlevel")||0}}function xt(t){var e=-1/0,n=1/0;function r(t){if(t&&!t.isGroup){var e=t.currentStates;if(e.length)for(var n=0;n<e.length;n++)i(t.states[e[n]]);i(t)}}function i(t){if(t){var r=t.z2;r>e&&(e=r),r<n&&(n=r)}}return pt(t,function(t){r(t),r(t.getTextContent()),r(t.getTextGuideLine())}),n>e&&(n=e=0),{min:n,max:e}}function wt(t,e,n){St(t,e,n,-1/0)}function St(t,e,n,r){if(t.ignoreModelZ)return r;var i=t.getTextContent(),o=t.getTextGuideLine();if(t.isGroup)for(var a=t.childrenRef(),s=0;s<a.length;s++)r=(0,P.JB)(St(a[s],e,n,r),r);else t.z=e,t.zlevel=n,r=(0,P.JB)(t.z2||0,r);if(i&&(i.z=e,i.zlevel=n,isFinite(r)&&(i.z2=r+2)),o){var u=t.textGuideLineConfig;o.z=e,o.zlevel=n,isFinite(r)&&(o.z2=r+(u&&u.showAbove?1:-1))}return r}function bt(t){return t.animation={duration:0},t}function Tt(t,e){return e?i.copy(Mt.transform,e):i.identity(Mt.transform),Mt.decomposeTransform(),(0,s.IT)(t,Mt),t}var Mt=new s.Ay;function Dt(t){var e=t.getZr().painter;return"canvas"===e.getType()?e:null}Mt.transform=i.create(),V("circle",c.A),V("ellipse",f.A),V("sector",p.A),V("ring",d.A),V("polygon",y.A),V("polyline",v.A),V("rect",g.A),V("line",m.A),V("bezierCurve",_.A),V("arc",x.A)},90057(t,e,n){n.d(e,{a:()=>i,z:()=>r});var r=(0,n(6471).$r)(),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"})}}},83354(t,e,n){n.d(e,{FJ:()=>v,Lj:()=>m,YA:()=>w,aP:()=>f,ad:()=>x,dV:()=>y,io:()=>p,m$:()=>_,vs:()=>S,zH:()=>d});var r=n(52577),i=n(35723),o=n(88877),a=n(95259),s=n(71034),u=r.each,l=["left","right","top","bottom","width","height"],h=[["width","left","right"],["height","top","bottom"]];function c(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 f=c;r.curry(c,"vertical"),r.curry(c,"horizontal");function p(t,e){return{left:t.getShallow("left",e),top:t.getShallow("top",e),right:t.getShallow("right",e),bottom:t.getShallow("bottom",e),width:t.getShallow("width",e),height:t.getShallow("height",e)}}function d(t,e){var n=function(t,e){var n,i,a=m(t,e,{enableLayoutOnlyByCenter:!0}),u=t.getBoxLayoutParams();if(a.type===g.point)i=a.refPoint,n=y(u,{width:e.getWidth(),height:e.getHeight()});else{var l=t.get("center"),h=r.isArray(l)?l:[l,l];n=y(u,a.refContainer),i=a.boxCoordFrom===s.Xf?a.refPoint:[(0,o.lo)(h[0],n.width)+n.x,(0,o.lo)(h[1],n.height)+n.y]}return{viewRect:n,center:i}}(t,e),i=n.viewRect,a=n.center,u=t.get("radius");r.isArray(u)||(u=[0,u]);var l=(0,o.lo)(i.width,e.getWidth()),h=(0,o.lo)(i.height,e.getHeight()),c=Math.min(l,h),f=(0,o.lo)(u[0],c/2),p=(0,o.lo)(u[1],c/2);return{cx:a[0],cy:a[1],r0:f,r:p,viewRect:i}}function y(t,e,n){n=a.QX(n||0);var r=e.width,s=e.height,u=(0,o.lo)(t.left,r),l=(0,o.lo)(t.top,s),h=(0,o.lo)(t.right,r),c=(0,o.lo)(t.bottom,s),f=(0,o.lo)(t.width,r),p=(0,o.lo)(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.Ay((e.x||0)+u+n[3],(e.y||0)+l+n[0],f,p);return g.margin=n,g}function v(t,e,n){var r=t.getShallow("preserveAspect",!0);if(!r)return e;var i=e.width/e.height;if(Math.abs(Math.atan(n)-Math.atan(i))<1e-9)return e;var o=t.getShallow("preserveAspectAlign",!0),a=t.getShallow("preserveAspectVerticalAlign",!0),s={width:e.width,height:e.height},u="cover"===r;return i>n&&!u||i<n&&u?(s.width=e.height*n,"left"===o?s.left=0:"right"===o?s.right=0:s.left="center"):(s.height=e.width/n,"top"===a?s.top=0:"bottom"===a?s.bottom=0:s.top="middle"),y(s,e)}var g={rect:1,point:2};function m(t,e,n){var r,i,o,a,u=t.boxCoordinateSystem;if(u){var l=(0,s.fE)(t),h=l.coord,c=l.from;if(u.dataToLayout){o=g.rect,a=c;var f=u.dataToLayout(h);r=f.contentRect||f.rect}else n&&n.enableLayoutOnlyByCenter&&u.dataToPoint&&(o=g.point,a=c,i=u.dataToPoint(h))}return null==o&&(o=g.rect),o===g.rect&&(r||(r={x:0,y:0,width:e.getWidth(),height:e.getHeight()}),i=[r.x+r.width/2,r.y+r.height/2]),{type:o,refContainer:r,refPoint:i,boxCoordFrom:a}}function _(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.Ay(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(u=t.getBoundingRect(),t.needLocalTransform()){var f=t.getLocalTransform();(u=u.clone()).applyTransform(f)}var p=y(r.defaults({width:u.width,height:u.height},e),n,o),d=l?p.x-u.x:0,v=h?p.y-u.y:0;return"raw"===c?(s.x=d,s.y=v):(s.x+=d,s.y+=v),s===t&&t.markRedraw(),!0}function x(t){var e=t.layoutMode||t.constructor.layoutMode;return r.isObject(e)?e:e?{type:e}:null}function w(t,e,n){var i=n&&n.ignoreSize;!r.isArray(i)&&(i=[i,i]);var o=s(h[0],0),a=s(h[1],1);function s(n,o){var a={},s=0,h={},c=0;if(u(n,function(e){h[e]=t[e]}),u(n,function(t){r.hasOwn(e,t)&&(a[t]=h[t]=e[t]),l(a,t)&&s++,l(h,t)&&c++}),i[o])return l(e,n[1])?h[n[2]]=null:l(e,n[2])&&(h[n[1]]=null),h;if(2!==c&&s){if(s>=2)return a;for(var f=0;f<n.length;f++){var p=n[f];if(!r.hasOwn(a,p)&&r.hasOwn(t,p)){a[p]=t[p];break}}return a}return h}function l(t,e){return null!=t[e]&&"auto"!==t[e]}function c(t,e,n){u(t,function(t){e[t]=n[t]})}c(h[0],t,o),c(h[1],t,a)}function S(t){return function(t,e){return e&&t&&u(l,function(n){r.hasOwn(e,n)&&(t[n]=e[n])}),t}({},t)}},22752(t,e,n){n.d(e,{$8:()=>l,R8:()=>a,aT:()=>u,z3:()=>s});n(33110);var r={},i="undefined"!=typeof console&&console.warn&&console.log;function o(t,e,n){if(i){if(n){if(r[e])return;r[e]=!0}console[t]("[ECharts] "+e)}}function a(t,e){o("warn",t,e)}function s(t,e){o("error",t,e)}function u(t){0}function l(t){throw new Error(t)}},6471(t,e,n){n.d(e,{$r:()=>T,Ax:()=>W,Bq:()=>P,D$:()=>N,D6:()=>S,EV:()=>X,FM:()=>z,GX:()=>w,HB:()=>A,Il:()=>F,JO:()=>I,JS:()=>c,M5:()=>h,O0:()=>m,O2:()=>d,O9:()=>J,R3:()=>U,S_:()=>x,Sq:()=>L,U2:()=>Y,US:()=>k,UW:()=>C,X1:()=>B,XJ:()=>R,Xe:()=>j,Zk:()=>Q,_e:()=>D,cd:()=>$,dr:()=>O,fA:()=>V,i2:()=>Z,i_:()=>H,le:()=>b,o1:()=>q,oh:()=>_,qB:()=>l,qQ:()=>K,uQ:()=>tt,vS:()=>g,vj:()=>f,vx:()=>E,zu:()=>p});n(44114);var r=n(52577),i=n(29342),o=n(88877);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 T(){var t="__ec_inner_"+M++;return function(e){return e[t]||(e[t]={})}}var M=(0,o.IH)();function D(t,e,n){var r=A(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=I(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 A(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 k={useDefault:!0,enableAll:!1,enableNone:!1},C={useDefault:!1,enableAll:!0,enableNone:!0};function I(t,e,n,r){r=r||k;var i=n.index,o=n.id,a=n.name,s={models:null,specified:null!=i||null!=o||null!=a};if(!s.specified){var u=void 0;return s.models=r.useDefault&&(u=t.getComponent(e))?[u]:[],s}if("none"===i||!1===i){if(r.enableNone)return s.models=[],s;i=-1}return"all"===i&&(i=r.enableAll?o=a=null:-1),s.models=t.queryComponents({mainType:e,index:i,id:o,name:a}),s}function O(t,e,n){var r={};r[e+"Id"]=t[e+"Id"],r[e+"Index"]=t[e+"Index"],r[e+"Name"]=t[e+"Name"];var i={mainType:e,query:r};return n&&(i.subType=n),i}function P(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function N(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function R(t){return"auto"===t?i.A.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 F(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.LI)(l,u?Math.max((0,o.XV)(n||0),(0,o.XV)(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.LI)(l,u?Math.max((0,o.XV)(v),(0,o.XV)(g)):e)}}return h}!function(){function t(){}t.prototype.reset=function(t,e,n,r){return this._list=t,this._step=r=r||1,this._idx=e,this._end=null!=n?n:r>0?t.length:0,this.item=null,this.key=NaN,this},t.prototype.next=function(){return(this._step>0?this._idx<this._end:this._idx>=this._end)&&(this.item=this._list[this._idx],this.key=this._idx=this._idx+this._step,!0)}}();function B(){return[1/0,-1/0]}function E(t,e){V(e)&&(e<t[0]&&(t[0]=e),e>t[1]&&(t[1]=e))}function z(t,e){V(e)&&e<t[0]&&(t[0]=e)}function H(t,e){V(e)&&e>t[1]&&(t[1]=e)}function W(t,e){j(e[0],e[1])&&(e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]))}function V(t){return null!=t&&isFinite(t)}function j(t,e){return V(t)&&V(e)&&t<=e}function q(t){var e=t[1]-t[0];return isFinite(e)&&e>=0}function Y(t){j(t[0],t[1])&&t[0]>t[1]&&(t[0]=t[1])}function X(){var t="__ec_once_"+G++;return function(e,n){(0,r.hasOwn)(e,t)||(e[t]=1,n())}}var G=(0,o.IH)();function U(t,e,n){var i=(0,r.createHashMap)(),o=0;(0,r.each)(t,function(r){var a=e(r);var s=i.get(a)||0;n&&n(r,s),s||n||(t[o++]=r),i.set(a,s+1)}),n||(t.length=o)}function K(t){return t.value+""}function $(t){return t+""}function Z(t,e){return(0,r.retrieve2)(e,!0)?t.seriesIndex+2:0}function Q(t,e,n){var r=t.getData().count();return{progressiveRender:n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,large:t.get("large")&&r>=t.get("largeThreshold"),modDataCount:"mod"===t.get("progressiveChunkMode")?t.getData().count():null}}function J(t,e){return{seriesType:t,overallReset:e}}function tt(t){return{overallReset:t}}},88877(t,e,n){n.d(e,{Cb:()=>v,Cm:()=>z,Dx:()=>E,EO:()=>A,IH:()=>q,Is:()=>O,JB:()=>a,LI:()=>w,LQ:()=>m,N9:()=>_,NX:()=>B,NY:()=>s,Sm:()=>V,Tr:()=>I,XV:()=>T,Y6:()=>b,YC:()=>G,YV:()=>H,Zr:()=>l,_7:()=>P,_U:()=>L,au:()=>F,dh:()=>N,eq:()=>S,hb:()=>D,ih:()=>h,jn:()=>u,kM:()=>C,kf:()=>j,lQ:()=>X,lo:()=>g,rp:()=>o,sL:()=>W,tV:()=>f,wp:()=>k,y6:()=>M,z4:()=>c});var r=n(52577),i=1e-4;var o=Math.min,a=Math.max,s=Math.abs,u=Math.round,l=Math.floor,h=Math.ceil,c=Math.pow,f=Math.log,p=Math.LN10,d=Math.PI,y=Math.random;function v(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}var g=function(t,e,n){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return m(t,e,n)};function m(t,e,n){return r.isString(t)?x(t)?parseFloat(t)/100*e+(n||0):parseFloat(t):null==t?NaN:+t}function _(t){return r.isString(t)&&x(t)}function x(t){return!!(e=t,e.replace(/^\s+|\s+$/g,"")).match(/%$/);var e}function w(t,e,n){return isNaN(e)?n?""+t:+t:(e=o(a(0,e),20),t=(+t).toFixed(e),n?t:+t)}function S(t,e,n){return null==e&&(e=10),w(t,e,n)}function b(t){return t.sort(function(t,e){return t-e}),t}function T(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(u(t*e)/e===t)return n;return M(t)}function M(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(".");return a(0,(o<0?0:i-1-o)-r)}function D(t,e){var n=l(f(t[1]-t[0])/p),r=u(f(s(e[1]-e[0]))/p),i=o(a(-n+r,0),20);return isFinite(i)?i:20}function A(t,e,n){var r=s(t[1]-t[0]);if(!isFinite(r)||0===r)return NaN;var i=f(2*s(n||1)*s(r))/p,o=f(s(e))/p,u=a(0,h(-i+o));return isFinite(u)||(u=NaN),u}function k(t,e,n){return t[e]&&C(t,n)[e]||0}function C(t,e){var n=r.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return[];for(var i=c(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 l(t)}),u=r.reduce(s,function(t,e){return t+e},0),h=r.map(o,function(t,e){return t-s[e]});u<a;){for(var f=Number.NEGATIVE_INFINITY,p=null,d=0,y=h.length;d<y;++d)h[d]>f&&(f=h[d],p=d);++s[p],h[p]=0,++u}return r.map(s,function(t){return t/i})}function I(t,e){var n=a(T(t),T(e)),r=t+e;return n>20?r:w(r,n)}var O=c(2,53)-1;function P(t){var e=2*d;return(t%e+e)%e}function N(t){return t>-1e-4&&t<i}var R=/^(?:(\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 L(t){if(t instanceof Date)return t;if(r.isString(t)){var e=R.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(u(t))}function F(t){return c(10,B(t))}function B(t){if(0===t)return 0;var e=l(f(t)/p);return t/c(10,e)>=10&&e++,e}var E=2;function z(t,e){var n=B(t),r=c(10,n),i=t/r;return w(t=(e===E?1: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)}function H(t,e){var n=(t.length-1)*e+1,r=l(n),i=+t[r-1],o=n-r;return o?i+o*(t[r]-i):i}function W(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 V(t){var e=parseFloat(t);return e==t&&(0!==e||!r.isString(t)||t.indexOf("x")<=0)?e:NaN}function j(t){return!isNaN(V(t))}function q(){return u(9*y())}function Y(t,e){return 0===e?t:Y(e,t%e)}function X(t,e){return null==t?e:null==e?t:t*e/Y(t,e)}function G(t){return null!=t&&isFinite(t)}},9078(t,e,n){n.d(e,{BV:()=>y,DW:()=>L,Du:()=>G,HY:()=>E,Iz:()=>Z,JC:()=>W,JI:()=>V,Lm:()=>nt,Lv:()=>_,Lx:()=>lt,Mx:()=>ot,PW:()=>m,Pk:()=>N,Q6:()=>w,QX:()=>H,SD:()=>z,T$:()=>ht,Tl:()=>K,U2:()=>x,_m:()=>$,_n:()=>ut,e3:()=>d,fz:()=>ct,gM:()=>S,gd:()=>j,h5:()=>g,iJ:()=>et,ix:()=>at,jA:()=>J,lV:()=>U,mc:()=>tt,qR:()=>Y,t6:()=>Q,u6:()=>st,wV:()=>v,zX:()=>p});n(44114),n(46058);var r=n(52577),i=n(90057),o=n(85767),a=n(6471),s=n(79231),u=n(1622),l=1,h={},c=(0,a.$r)(),f=(0,a.$r)(),p=1,d=2,y=["emphasis","blur","select"],v=["normal","emphasis","blur","select"],g="highlight",m="downplay",_="select",x="unselect",w="toggleSelect",S="selectchanged";function b(t){return null!=t&&"none"!==t}function T(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function M(t){T(t,"emphasis",d)}function D(t){t.hoverState===d&&T(t,"normal",0)}function A(t){T(t,"blur",p)}function k(t){t.hoverState===p&&T(t,"normal",0)}function C(t){t.selected=!0}function I(t){t.selected=!1}function O(t,e,n){e(t,n)}function P(t,e,n){O(t,e,n),t.isGroup&&t.traverse(function(t){O(t,e,n)})}function N(t,e){switch(e){case"emphasis":t.hoverState=d;break;case"normal":t.hoverState=0;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.Ay){var l=c(t),h=a&&l.selectFill||l.normalFill,f=a&&l.selectStroke||l.normalStroke;if(b(h)||b(f)){var p=(i=i||{}).style||{};"inherit"===p.fill?(u=!0,i=(0,r.extend)({},i),(p=(0,r.extend)({},p)).fill=h):!b(p.fill)&&b(h)?(u=!0,i=(0,r.extend)({},i),(p=(0,r.extend)({},p)).fill=(0,o.liftColor)(h)):!b(p.stroke)&&b(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:10)}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:9)}return n}(this,0,n)}return n}function L(t){t.stateProxy=R;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=R),n&&(n.stateProxy=R)}function F(t,e){!q(t,e)&&!t.__highByOuter&&P(t,M)}function B(t,e){!q(t,e)&&!t.__highByOuter&&P(t,D)}function E(t,e){t.__highByOuter|=1<<(e||0),P(t,M)}function z(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&P(t,D)}function H(t){P(t,A)}function W(t){P(t,k)}function V(t){P(t,C)}function j(t){P(t,I)}function q(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Y(t){var e=t.getModel(),n=[],i=[];e.eachComponent(function(e,r){var o=f(r),a=(0,u.k)(t,r),s="series"===e;!s&&i.push(a),o.isBlured&&(a.group.traverse(function(t){k(t)}),s&&n.push(r)),o.isBlured=!1}),(0,r.each)(i,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function X(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&&W(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||A(t)}),(0,r.isArrayLike)(e))a(t.getData(),e);else if((0,r.isObject)(e))for(var c=(0,r.keys)(e),p=0;p<c.length;p++)a(t.getData(c[p]),e[c[p]]);l.push(t),f(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 G(t,e,n){if(null!=t&&null!=e){var r=n.getModel().getComponent(t,e);if(r){f(r).isBlured=!0;var i=n.getViewOfComponentModel(r);i&&i.focusBlurEnabled&&i.group.traverse(function(t){A(t)})}}}function U(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var u=(0,a.le)(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.z)(l);X(o,f.focus,f.blurScope,n)}else{var p=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=p&&X(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.z)(l[h]).focus){u=!0;break}return{focusSelf:u,dispatchers:l}}function $(t,e,n){var o=(0,i.z)(t),a=K(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,u=a.focusSelf;s?(u&&G(o.componentMainType,o.componentIndex,n),(0,r.each)(s,function(t){return F(t,e)})):(X(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&G(o.componentMainType,o.componentIndex,n),F(t,e))}function Z(t,e,n){Y(n);var o=(0,i.z)(t),a=K(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,r.each)(a,function(t){return B(t,e)}):B(t,e)}function Q(t,e,n){if(lt(e)){var i=e.dataType,o=t.getData(i),s=(0,a.le)(o,e);(0,r.isArray)(s)||(s=[s]),t[e.type===w?"toggleSelect":e.type===_?"select":"unselect"](s,i)}}function J(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)?V(e):j(e)})})}function tt(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 et(t,e,n){at(t,!0),P(t,L),function(t,e,n){var r=(0,i.z)(t);null!=e?(r.focus=e,r.blurScope=n):r.focus&&(r.focus=null)}(t,e,n)}function nt(t,e,n,r){r?function(t){at(t,!1)}(t):et(t,e,n)}var rt=["emphasis","blur","select"],it={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ot(t,e,n,r){n=n||"itemStyle";for(var i=0;i<rt.length;i++){var o=rt[i],a=e.getModel([o,n]);t.ensureState(o).style=r?r(a):a[it[n]]()}}function at(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 st(t){return!(!t||!t.__highDownDispatcher)}function ut(t){var e=h[t];return null==e&&l<=32&&(e=h[t]=l++),e}function lt(t){var e=t.type;return e===_||e===x||e===w}function ht(t){var e=t.type;return e===g||e===m}function ct(t){var e=c(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}},76797(t,e,n){n.d(e,{$9:()=>b,$H:()=>f,CZ:()=>c,F7:()=>m,FP:()=>W,GP:()=>T,KF:()=>z,Lm:()=>v,MA:()=>h,OY:()=>u,WD:()=>D,Wf:()=>N,X_:()=>M,Yd:()=>E,Zz:()=>R,_O:()=>_,_l:()=>A,bP:()=>I,ce:()=>S,eV:()=>x,hY:()=>k,iC:()=>O,iW:()=>l,jJ:()=>C,tM:()=>L,ti:()=>B,vy:()=>g,ww:()=>H,xu:()=>F,yB:()=>P,ym:()=>w});var r=n(52577),i=n(88877),o=n(60789),a=n(99904),s=n(72983),u=1e3,l=60*u,h=60*l,c=24*h,f=365*c,p={year:/({yyyy}|{yy})/,month:/({MMMM}|{MMM}|{MM}|{M})/,day:/({dd}|{d})/,hour:/({HH}|{H}|{hh}|{h})/,minute:/({mm}|{m})/,second:/({ss}|{s})/,millisecond:/({SSS}|{S})/},d={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},y="{yyyy}-{MM}-{dd}",v={year:"{yyyy}",month:"{yyyy}-{MM}",day:y,hour:y+" "+d.hour,minute:y+" "+d.minute,second:y+" "+d.second,millisecond:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},g=["year","month","day","hour","minute","second","millisecond"],m=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function _(t){return r.isString(t)||r.isFunction(t)?t:function(t){t=t||{};var e={},n=!0;return r.each(g,function(e){n&&(n=null==t[e])}),r.each(g,function(i,o){var a=t[i];e[i]={};for(var s=null,u=o;u>=0;u--){var l=g[u],h=r.isObject(a)&&!r.isArray(a)?a[l]:a,c=void 0;r.isArray(h)?s=(c=h.slice())[0]||"":r.isString(h)?c=[s=h]:(null==s?s=d[i]:p[l].test(s)||(s=e[l][l][0]+" "+s),c=[s],n&&(c[1]="{primary|"+s+"}")),e[i][l]=c}}),e}(t)}function x(t,e){return"0000".substr(0,e-(t+="").length)+t}function w(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 S(t){return t===w(t)}function b(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function T(t,e,n,r){var s=i._U(t),u=s[k(n)](),l=s[C(n)]()+1,h=Math.floor((l-1)/3)+1,c=s[I(n)](),f=s["get"+(n?"UTC":"")+"Day"](),p=s[O(n)](),d=(p-1)%12+1,y=s[P(n)](),v=s[N(n)](),g=s[R(n)](),m=p>=12?"pm":"am",_=m.toUpperCase(),w=(r instanceof a.A?r:(0,o.A4)(r||o.Lv)||(0,o.pr)()).getModel("time"),S=w.get("month"),b=w.get("monthAbbr"),T=w.get("dayOfWeek"),M=w.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,m+"").replace(/{A}/g,_+"").replace(/{yyyy}/g,u+"").replace(/{yy}/g,x(u%100+"",2)).replace(/{Q}/g,h+"").replace(/{MMMM}/g,S[l-1]).replace(/{MMM}/g,b[l-1]).replace(/{MM}/g,x(l,2)).replace(/{M}/g,l+"").replace(/{dd}/g,x(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,T[f]).replace(/{ee}/g,M[f]).replace(/{e}/g,f+"").replace(/{HH}/g,x(p,2)).replace(/{H}/g,p+"").replace(/{hh}/g,x(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,x(y,2)).replace(/{m}/g,y+"").replace(/{ss}/g,x(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,x(g,3)).replace(/{S}/g,g+"")}function M(t,e,n,i,o){var a=null;if(r.isString(n))a=n;else if(r.isFunction(n)){var u={time:t.time,level:t.time?t.time.level:0},l=(0,s.mn)();l&&l.makeAxisLabelFormatterParamBreak(u,t.break),a=n(t.value,e,u)}else{var h=t.time;if(h){var c=n[h.lowerTimeUnit][h.upperTimeUnit];a=c[Math.min(h.level,c.length-1)]||""}else{var f=D(t.value,o);a=n[f][f][0]}}return T(new Date(t.value),a,o,i)}function D(t,e){var n=i._U(t),r=n[C(e)]()+1,o=n[I(e)](),a=n[O(e)](),s=n[P(e)](),u=n[N(e)](),l=0===n[R(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 A(t,e,n){switch(e){case"year":t[F(n)](0);case"month":t[B(n)](1);case"day":t[E(n)](0);case"hour":t[z(n)](0);case"minute":t[H(n)](0);case"second":t[W(n)](0)}return t}function k(t){return t?"getUTCFullYear":"getFullYear"}function C(t){return t?"getUTCMonth":"getMonth"}function I(t){return t?"getUTCDate":"getDate"}function O(t){return t?"getUTCHours":"getHours"}function P(t){return t?"getUTCMinutes":"getMinutes"}function N(t){return t?"getUTCSeconds":"getSeconds"}function R(t){return t?"getUTCMilliseconds":"getMilliseconds"}function L(t){return t?"setUTCFullYear":"setFullYear"}function F(t){return t?"setUTCMonth":"setMonth"}function B(t){return t?"setUTCDate":"setDate"}function E(t){return t?"setUTCHours":"setHours"}function z(t){return t?"setUTCMinutes":"setMinutes"}function H(t){return t?"setUTCSeconds":"setSeconds"}function W(t){return t?"setUTCMilliseconds":"setMilliseconds"}},11975(t,e,n){n.d(e,{Ev:()=>y,Km:()=>u,Pe:()=>a,Wk:()=>l,XO:()=>c,i_:()=>p,mK:()=>s,nk:()=>i,oC:()=>d,t1:()=>h,t7:()=>o,vm:()=>f});var r=n(52577),i="undefined",o="series",a=(0,r.createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),s="original",u="arrayRows",l="objectRows",h="keyedColumns",c="typedArray",f="unknown",p="column",d="row",y="Roam"},27275(t,e,n){n.d(e,{A:()=>x});n(46058);var r=n(52577),i=n(22785),o=n(28449),a=n(86228),s=n(6471),u=n(9078),l=n(61192),h=n(50551),c=n(26322),f=s.$r(),p=(0,h.A)(),d=function(){function t(){this.group=new i.A,this.uid=o.$Q("viewChart"),this.renderTask=(0,l.U)({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.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.u6)(t)&&("emphasis"===e?u.HY:u.SD)(t,n)}function v(t,e,n){var i=s.le(t,e),o=e&&null!=e.highlightKey?(0,u._n)(e.highlightKey):null;null!=i?(0,r.each)(s.qB(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.gq(d,["dispose"]),a.tQ(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},16418(t,e,n){n.d(e,{A:()=>l});var r=n(52577),i=n(85767),o={color:{},darkColor:{},size:{}},a=o.color={theme:["#5070dd","#b6d634","#505372","#ff994d","#0ca8df","#ffd10a","#fb628b","#785db0","#3fbe95"],neutral00:"#fff",neutral05:"#f4f7fd",neutral10:"#e8ebf0",neutral15:"#dbdee4",neutral20:"#cfd2d7",neutral25:"#c3c5cb",neutral30:"#b7b9be",neutral35:"#aaacb2",neutral40:"#9ea0a5",neutral45:"#929399",neutral50:"#86878c",neutral55:"#797b7f",neutral60:"#6d6e73",neutral65:"#616266",neutral70:"#54555a",neutral75:"#48494d",neutral80:"#3c3c41",neutral85:"#303034",neutral90:"#232328",neutral95:"#17171b",neutral99:"#000",accent05:"#eff1f9",accent10:"#e0e4f2",accent15:"#d0d6ec",accent20:"#c0c9e6",accent25:"#b1bbdf",accent30:"#a1aed9",accent35:"#91a0d3",accent40:"#8292cc",accent45:"#7285c6",accent50:"#6578ba",accent55:"#5c6da9",accent60:"#536298",accent65:"#4a5787",accent70:"#404c76",accent75:"#374165",accent80:"#2e3654",accent85:"#252b43",accent90:"#1b2032",accent95:"#121521",transparent:"rgba(0,0,0,0)",highlight:"rgba(255,231,130,0.8)"};for(var s in(0,r.extend)(a,{primary:a.neutral80,secondary:a.neutral70,tertiary:a.neutral60,quaternary:a.neutral50,disabled:a.neutral20,border:a.neutral30,borderTint:a.neutral20,borderShade:a.neutral40,background:a.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:a.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:a.neutral70,axisLineTint:a.neutral40,axisTick:a.neutral70,axisTickMinor:a.neutral60,axisLabel:a.neutral70,axisSplitLine:a.neutral15,axisMinorSplitLine:a.neutral05}),a)if(a.hasOwnProperty(s)){var u=a[s];"theme"===s?o.darkColor.theme=a.theme.slice():"highlight"===s?o.darkColor.highlight="rgba(255,231,130,0.4)":0===s.indexOf("accent")?o.darkColor[s]=(0,i.modifyHSL)(u,null,function(t){return.5*t},function(t){return Math.min(1,1.3-t)}):o.darkColor[s]=(0,i.modifyHSL)(u,null,function(t){return.9*t},function(t){return 1-Math.pow(t,1.5)})}o.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50};const l=o},7921(t,e,n){n.d(e,{Ay:()=>k,yx:()=>_});n(44114);var r=n(46881),i=n(47550),o=n(35723),a=n(36338),s=n(45287),u=n(52577),l=n(35287),h=n(85767),c=n(84487),f=n(16740),p="__zr_normal__",d=r.Wx.concat(["ignore"]),y=(0,u.reduce)(r.Wx,function(t,e){return t[e]=!0,t},{ignore:!1}),v={},g=new o.Ay(0,0,0,0),m=[],_=1,x=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,a=void 0,u=void 0,l=!1;i.parent=r?this:null;var h=!1;i.copyTransform(e);var p=null!=n.position,d=n.autoOverflowArea,y=void 0;if((d||p)&&(y=g,n.layoutRect?y.copy(n.layoutRect):y.copy(this.getBoundingRect()),r||y.applyTransform(this.transform)),p){this.calculateTextPosition?this.calculateTextPosition(v,n,y):(0,s.X4)(v,n,y),i.x=v.x,i.y=v.y,a=v.align,u=v.verticalAlign;var _=n.origin;if(_&&null!=n.rotation){var x=void 0,w=void 0;"center"===_?(x=.5*y.width,w=.5*y.height):(x=(0,s.lo)(_[0],y.width),w=(0,s.lo)(_[1],y.height)),h=!0,i.originX=-i.x+x+(r?0:y.x),i.originY=-i.y+w+(r?0:y.y)}}null!=n.rotation&&(i.rotation=n.rotation);var S=n.offset;S&&(i.x+=S[0],i.y+=S[1],h||(i.originX=-S[0],i.originY=-S[1]));var b=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(d){var T=b.overflowRect=b.overflowRect||new o.Ay(0,0,0,0);i.getLocalTransform(m),(0,f.invert)(m,m),o.Ay.copy(T,y),T.applyTransform(m)}else b.overflowRect=null;var M=void 0,D=void 0,A=void 0;(null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside)&&this.canBeInsideText()?(M=n.insideFill,D=n.insideStroke,null!=M&&"auto"!==M||(M=this.getInsideTextFill()),null!=D&&"auto"!==D||(D=this.getInsideTextStroke(M),A=!0)):(M=n.outsideFill,D=n.outsideStroke,null!=M&&"auto"!==M||(M=this.getOutsideFill()),null!=D&&"auto"!==D||(D=this.getOutsideStroke(M),A=!0)),(M=M||"#000")===b.fill&&D===b.stroke&&A===b.autoStroke&&a===b.align&&u===b.verticalAlign||(l=!0,b.fill=M,b.stroke=D,b.autoStroke=A,b.align=a,b.verticalAlign=u,e.setDefaultTextStyle(b)),e.__dirty|=c.M,l&&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.el:l._S},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!==p)){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,d)},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(p,!1,t)},t.prototype.useState=function(t,e,n,r){var i=t===p;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=this._textContent,h=M(this,l,s,r);h&&!this.__inHover&&(this.__inHover=h),this._applyStateObj(t,s,this._normalState,e,A(this,n,a),a);var f=this._textGuide;return l&&l.useState(t,e,n,!!h),f&&f.useState(t,e,n,!!h),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!h&&this.__inHover&&(this.__inHover=0,this.__dirty&=~c.M),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=this._textContent,p=M(this,f,h,n);p&&!this.__inHover&&(this.__inHover=p);var d=this._mergeStates(r),y=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,A(this,e,y),y);var v=this._textGuide;f&&f.useStates(t,e,!!p),v&&v.useStates(t,e,!!p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this.__inHover=0,this.__dirty&=~c.M)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this;t;){if(t.silent)return!0;var e=t.__hostTarget;t=e?t.ignoreHostSilent?null:e:t.parent}return!1},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){if(this.__inHover!==_){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<d.length;h++){var c=d[h],f=i&&y[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 p=this.animators[h],v=p.targetName;p.getLoop()||p.__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.Ay,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.M;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},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.A(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){w(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){w(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,r){for(var i=w(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.ignoreHostSilent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=!1,e.__inHover=0,e.__dirty=c.M;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 w(t,e,n,r,i){var o=[];T(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 S(t,e,n){for(var r=0;r<n;r++)t[r]=e[r]}function b(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),S(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]?S(o[l],i[l],s):o[l]=Array.prototype.slice.call(i[l]);else S(o,i,a);o.length=i.length}else t[n]=e[n];var h}function T(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],x=r[_];if(null!=x&&null!=n[_]&&(y||a[_]))if(!(0,u.isObject)(x)||(0,u.isArrayLike)(x)||(0,u.isGradientObject)(x))g.push(_);else{if(e){l||(n[_]=x,t.updateDuringAnimation(e));continue}T(t,_,n[_],x,o,a&&a[_],s,l)}else l||(n[_]=x,t.updateDuringAnimation(e),g.push(_))}var w=g.length;if(!p&&w)for(var S=0;S<v.length;S++){if((D=v[S]).targetName===e)if(D.stopTracks(g)){var M=(0,u.indexOf)(v,D);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}),w=g.length),w>0||o.force&&!s.length){var D,A=void 0,k=void 0,C=void 0;if(l){k={},d&&(A={});for(S=0;S<w;S++){k[_=g[S]]=n[_],d?A[_]=r[_]:n[_]=r[_]}}else if(d){C={};for(S=0;S<w;S++){C[_=g[S]]=(0,i.F)(n[_]),b(n,r,_)}}(D=new i.A(n,!1,!1,p?(0,u.filter)(v,function(t){return t.targetName===e}):null)).targetName=e,o.scope&&(D.scope=o.scope),d&&A&&D.whenWithKeys(0,A,g),C&&D.whenWithKeys(0,C,g),D.whenWithKeys(null==c?500:c,l?k:r,g).delay(f||0),t.addAnimator(D,e),s.push(D)}}function M(t,e,n,r){return!(n&&n.hoverLayer||r)||D(t)||e&&D(e)?0:_}function D(t){return"text"===t.type||"tspan"===t.type}function A(t,e,n){return!e&&!t.__inHover&&n&&n.duration>0}(0,u.mixin)(x,a.A),(0,u.mixin)(x,r.Ay);const k=x},47550(t,e,n){n.d(e,{F:()=>m,A:()=>T});n(44114);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(52577),a=n(11054),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._E)(0,r,u,1,t,h)&&(0,a.Yb)(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(85767);n(64979);"undefined"!=typeof Buffer&&Buffer.from;var c=Array.prototype.slice;function f(t,e,n){return(e-t)*n+t}function p(t,e,n,r){for(var i=e.length,o=0;o<i;o++)t[o]=f(e[o],n[o],r);return t}function d(t,e,n,r){for(var i=e.length,o=0;o<i;o++)t[o]=e[o]+n[o]*r;return t}function y(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 v(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 g(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]:c.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 m(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(c.call(t[r]));return n}return c.call(t)}return t}function _(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 x(t){return 4===t||5===t}function w(t){return 1===t||2===t}var S=[0,0,0,0],b=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=w(r),u=x(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?g(c,f,r):u&&v(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=d([],n[l].value,p,-1):w(r)&&(n[l].additiveValue=1===r?d([],n[l].value,p,-1):y([],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,d=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 b=a?this._additiveValue:d?S:t[c];if(!w(u)&&!d||b||(b=this._additiveValue=[]),this.discrete)t[c]=m<1?r.rawValue:i.rawValue;else if(w(u))1===u?p(b,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]=f(e[a][s],n[a][s],r)}}(b,r[s],i[s],m);else if(x(u)){var T=r[s],M=i[s],D=4===u;t[c]={type:D?"linear":"radial",x:f(T.x,M.x,m),y:f(T.y,M.y,m),colorStops:(0,o.map)(T.colorStops,function(t,e){var n=M.colorStops[e];return{offset:f(t.offset,n.offset,m),color:_(p([],t.color,n.color,m))}}),global:M.global},D?(t[c].x2=f(T.x2,M.x2,m),t[c].y2=f(T.y2,M.y2,m)):t[c].r=f(T.r,M.r,m)}else if(d)p(b,r[s],i[s],m),a||(t[c]=_(b));else{var A=f(r[s],i[s],m);a?this._additiveValue=A:t[c]=A}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],S),d(S,S,r,1),t[n]=_(S)):1===e?d(t[n],t[n],r,1):2===e&&y(t[n],t[n],r,1)},t}();const T=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 b(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=_(u))}else u=this._target[a];if(null==u)continue;t>0&&s.addKeyframe(0,m(u),r),this._trackKeys.push(a)}s.addKeyframe(t,m(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]=m(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}()},35287(t,e,n){n.d(e,{Y5:()=>i,_S:()=>a,el:()=>s,ps:()=>o,tY:()=>u});var r=1;n(29342).A.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"},45287(t,e,n){n.d(e,{JK:()=>h,NO:()=>p,Qw:()=>s,X4:()=>m,ks:()=>v,l8:()=>c,ll:()=>d,lo:()=>g,sZ:()=>y});var r,i=n(35723),o=n(46116),a=n(45042);function s(t){r||(r=new o.Ay(100)),t=t||a.OH;var e=r.get(t);return e||(e={font:t,strWidthCache:new o.Ay(500),asciiWidthMap:null,asciiWidthMapTried:!1,stWideCharWidth:a.yh.measureText("国",t).width,asciiCharWidth:a.yh.measureText("a",t).width},r.put(t,e)),e}var u=0,l=5;function h(t,e){return t.asciiWidthMapTried||(t.asciiWidthMap=function(t){if(!(u>=l)){t=t||a.OH;for(var e=[],n=+new Date,r=0;r<=127;r++)e[r]=a.yh.measureText(String.fromCharCode(r),t).width;var i=+new Date-n;return i>16?u=l:i>2&&u++,e}}(t.font),t.asciiWidthMapTried=!0),0<=e&&e<=127?null!=t.asciiWidthMap?t.asciiWidthMap[e]:t.asciiCharWidth:t.stWideCharWidth}function c(t,e){var n=t.strWidthCache,r=n.get(e);return null==r&&(r=a.yh.measureText(e,t.font).width,n.put(e,r)),r}function f(t,e,n,r){var o=c(s(e),t),a=v(e),u=d(0,o,n),l=y(0,a,r);return new i.Ay(u,l,o,a)}function p(t,e,n,r){var o=((t||"")+"").split("\n");if(1===o.length)return f(o[0],e,n,r);for(var a=new i.Ay(0,0,0,0),s=0;s<o.length;s++){var u=f(o[s],e,n,r);0===s?a.copy(u):a.union(u)}return a}function d(t,e,n,r){return"right"===n?r?t+=e:t-=e:"center"===n&&(r?t+=e/2:t-=e/2),t}function y(t,e,n,r){return"middle"===n?r?t+=e/2:t-=e/2:"bottom"===n&&(r?t+=e:t-=e),t}function v(t){return s(t).stWideCharWidth}function g(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function m(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+=g(r[0],n.width),l+=g(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}},61184(t,e,n){n.d(e,{n:()=>i});var r=2*Math.PI;function i(t){return(t%=r)<0&&(t+=r),t}},21974(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,{A:()=>r})},35723(t,e,n){n.d(e,{Ay:()=>O,Zv:()=>b,bV:()=>I,iZ:()=>S,r_:()=>x,rd:()=>M,zQ:()=>T});var r=n(16740),i=n(81658),o=n(14643),a=Math.min,s=Math.max,u=Math.abs,l=["x","y"],h=["width","height"],c=new o.A,f=new o.A,p=new o.A,d=new o.A,y=I(),v=y.minTv,g=y.maxTv,m=[0,0],_=function(){function t(t,e,n,r){w(this,t,e,n,r)}return t.set=function(t,e,n,r,i){return r<0&&(e+=r,r=-r),i<0&&(n+=i,i=-i),t.x=e,t.y=n,t.width=r,t.height=i,t},t.prototype.union=function(t){var e=a(t.x,this.x),n=a(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=s(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=s(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){return b(r.create(),this,t)},t.prototype.intersect=function(e,n,r){return t.intersect(this,e,n,r)},t.intersect=function(e,n,r,i){r&&o.A.set(r,0,0);var a=i&&i.outIntersectRect||null,s=i&&i.clamp;if(a&&(a.x=a.y=a.width=a.height=NaN),!e||!n)return!1;e instanceof t||(e=w(D,e.x,e.y,e.width,e.height)),n instanceof t||(n=w(A,n.x,n.y,n.width,n.height));var u=!!r;y.reset(i,u);var l=y.touchThreshold,h=e.x+l,c=e.x+e.width-l,f=e.y+l,p=e.y+e.height-l,d=n.x+l,_=n.x+n.width-l,x=n.y+l,S=n.y+n.height-l;if(h>c||f>p||d>_||x>S)return!1;var b=!(c<d||_<h||p<x||S<f);return(u||a)&&(m[0]=1/0,m[1]=0,C(h,c,d,_,0,u,a,s),C(f,p,x,S,1,u,a,s),u&&o.A.copy(r,b?y.useDir?y.dirMinTv:v:g)),b},t.contain=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},t.prototype.contain=function(e,n){return t.contain(this,e,n)},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(t){S(this,t)},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?e.x:0,e?e.y:0,e?e.width:0,e?e.height:0)},t.copy=function(t,e){return t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height,t},t.applyTransform=function(t,e,n){if(n){if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var r=n[0],i=n[3],o=n[4],u=n[5];return t.x=e.x*r+o,t.y=e.y*i+u,t.width=e.width*r,t.height=e.height*i,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}c.x=p.x=e.x,c.y=d.y=e.y,f.x=d.x=e.x+e.width,f.y=p.y=e.y+e.height,c.transform(n),d.transform(n),f.transform(n),p.transform(n),t.x=a(c.x,f.x,p.x,d.x),t.y=a(c.y,f.y,p.y,d.y);var l=s(c.x,f.x,p.x,d.x),h=s(c.y,f.y,p.y,d.y);t.width=l-t.x,t.height=h-t.y}else t!==e&&S(t,e)},t.calculateTransform=function(t,e,n){var o=n.width/e.width,a=n.height/e.height;return t=r.identity(t||[]),r.translate(t,t,i.set(k,-e.x,-e.y)),r.scale(t,t,i.set(k,o,a)),r.translate(t,t,i.set(k,n.x,n.y)),t},t}(),x=_.create,w=_.set,S=_.copy,b=_.calculateTransform,T=_.applyTransform,M=_.contain,D=new _(0,0,0,0),A=new _(0,0,0,0),k=[];function C(t,e,n,r,i,o,c,f){var p=u(e-n),d=u(r-t),_=a(p,d),x=l[i],w=l[1-i],S=h[i];e<n||r<t?p<d?(o&&(g[x]=-p),f&&(c[x]=e,c[S]=0)):(o&&(g[x]=d),f&&(c[x]=t,c[S]=0)):(c&&(c[x]=s(t,n),c[S]=a(e,r)-c[x]),o&&(_<m[0]||y.useDir)&&(m[0]=a(_,m[0]),(p<d||!y.bidirectional)&&(v[x]=p,v[w]=0,y.useDir&&y.calcDirMTV()),(p>=d||!y.bidirectional)&&(v[x]=-d,v[w]=0,y.useDir&&y.calcDirMTV())))}function I(){var t=0,e=new o.A,n=new o.A,r={minTv:new o.A,maxTv:new o.A,useDir:!1,dirMinTv:new o.A,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(i,o){r.touchThreshold=0,i&&null!=i.touchThreshold&&(r.touchThreshold=s(0,i.touchThreshold)),r.negativeSize=!1,o&&(r.minTv.set(1/0,1/0),r.maxTv.set(0,0),r.useDir=!1,i&&null!=i.direction&&(r.useDir=!0,r.dirMinTv.copy(r.minTv),n.copy(r.minTv),t=i.direction,r.bidirectional=null==i.bidirectional||!!i.bidirectional,r.bidirectional||e.set(Math.cos(t),Math.sin(t))))},calcDirMTV:function(){var o=r.minTv,a=r.dirMinTv,s=o.y*o.y+o.x*o.x,u=Math.sin(t),l=Math.cos(t),h=u*o.y+l*o.x;i(h)?i(o.x)&&i(o.y)&&a.set(0,0):(n.x=s*l/h,n.y=s*u/h,i(n.x)&&i(n.y)?a.set(0,0):(r.bidirectional||e.dot(n)>0)&&n.len()<a.len()&&a.copy(n))}};function i(t){return u(t)<1e-10}return r}const O=_},36338(t,e,n){n.d(e,{A:()=>i});n(44114),n(18111),n(22489);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},46116(t,e,n){n.d(e,{Ay:()=>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}()},20367(t,e,n){n.d(e,{A:()=>p});var r=n(14643),i=n(35723),o=Math.min,a=Math.max,s=Math.abs,u=[0,0],l=[0,0],h=(0,i.bV)(),c=h.minTv,f=h.maxTv;const p=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.A;for(n=0;n<2;n++)this._axes[n]=new r.A;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.A.sub(i[0],n[1],n[0]),r.A.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,n){var i=!0,o=!e;return e&&r.A.set(e,0,0),h.reset(n,!o),!this._intersectCheckOneSide(this,t,o,1)&&(i=!1,o)||!this._intersectCheckOneSide(t,this,o,-1)&&(i=!1,o)||o||h.negativeSize||r.A.copy(e,i?h.useDir?h.dirMinTv:c:f),i},t.prototype._intersectCheckOneSide=function(t,e,n,i){for(var a=!0,p=0;p<2;p++){var d=t._axes[p];if(t._getProjMinMaxOnAxis(p,t._corners,u),t._getProjMinMaxOnAxis(p,e._corners,l),h.negativeSize||u[1]<l[0]||u[0]>l[1]){if(a=!1,h.negativeSize||n)return a;var y=s(l[0]-u[1]),v=s(u[0]-l[1]);o(y,v)>f.len()&&(y<v?r.A.scale(f,d,-y*i):r.A.scale(f,d,v*i))}else if(!n){y=s(l[0]-u[1]),v=s(u[0]-l[1]);(h.useDir||o(y,v)<c.len())&&((y<v||!h.bidirectional)&&(r.A.scale(c,d,y*i),h.useDir&&h.calcDirMTV()),(y>=v||!h.bidirectional)&&(r.A.scale(c,d,-v*i),h.useDir&&h.calcDirMTV()))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var r=this._axes[t],i=this._origin,s=e[0].dot(r)+i[t],u=s,l=s,c=1;c<e.length;c++){var f=e[c].dot(r)+i[t];u=o(f,u),l=a(f,l)}n[0]=u+h.touchThreshold,n[1]=l-h.touchThreshold,h.negativeSize=n[1]<n[0]},t}()},61316(t,e,n){n.d(e,{A:()=>A,q:()=>M});n(16573),n(78100),n(77936),n(37467),n(44732),n(79577);var r=n(81658),i=n(35723),o=n(35287),a=n(51474),s=n(11054),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 T(t){return Math.round(t/x*1e8)/1e8%2*x}function M(t,e){var n=T(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-T(n-i)):e&&n<i&&(i=n-(w-T(i-n))),t[0]=n,t[1]=i}var D=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.Y5/t)||0,this._uy=_(n/o.Y5/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,M(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){if(this._saveData){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){if(this._saveData){t instanceof Array||(t=[t]);for(var e=t.length,n=0,r=this._len,i=0;i<e;i++)n+=t[i].len();var o=this.data;if(S&&(o instanceof Float32Array||!o)&&(this.data=new Float32Array(r+n),r>0&&o))for(var a=0;a<r;a++)this.data[a]=o[a];for(i=0;i<e;i++){var s=t[i].data;for(a=0;a<s.length;a++)this.data[r++]=s[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.j6)(n,o,e[t],e[t+1],p,d),n=e[t++],o=e[t++];break;case u.C:(0,a.BM)(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.tW)(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 T=!e[t++];y&&(s=g(S)*x+v,l=m(S)*w+_),(0,a.$s)(v,_,x,w,S,b,T,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++],D=e[t++];(0,a.j6)(s,l,s+M,l+D,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.Ay(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++],T=(A=t[p++])-o;(_(B=b-i)>n||_(T)>r||p===e-1)&&(S=Math.sqrt(B*B+T*T),i=b,o=A);break;case u.C:var M=t[p++],D=t[p++],A=(b=t[p++],t[p++]),k=t[p++],C=t[p++];S=(0,s.h0)(i,o,M,D,b,A,k,C,10),i=k,o=C;break;case u.Q:M=t[p++],D=t[p++],b=t[p++],A=t[p++];S=(0,s.d8)(i,o,M,D,b,A,10),i=b,o=A;break;case u.A:var I=t[p++],O=t[p++],P=t[p++],N=t[p++],R=t[p++],L=t[p++],F=L+R;p+=1,x&&(a=g(R)*P+I,l=m(R)*N+O),S=v(P,N)*y(w,Math.abs(L)),i=g(F)*P+I,o=m(F)*N+O;break;case u.R:a=i=t[p++],l=o=t[p++],S=2*t[p++]+2*t[p++];break;case u.Z:var B=a-i;T=l-o;S=Math.sqrt(B*B+T*T),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,T=this._len,M=e<1,D=0,A=0,k=0;if(!M||(this._pathSegLen||this._calculateLength(),f=this._pathSegLen,p=e*this._pathLen))t:for(var C=0;C<T;){var I=w[C++],O=1===C;switch(O&&(n=i=w[C],r=o=w[C+1]),I!==u.L&&k>0&&(t.lineTo(d,x),k=0),I){case u.M:n=i=w[C++],r=o=w[C++],t.moveTo(i,o);break;case u.L:a=w[C++],c=w[C++];var P=_(a-i),N=_(c-o);if(P>S||N>b){if(M){if(D+(rt=f[A++])>p){var R=(p-D)/rt;t.lineTo(i*(1-R)+a*R,o*(1-R)+c*R);break t}D+=rt}t.lineTo(a,c),i=a,o=c,k=0}else{var L=P*P+N*N;L>k&&(d=a,x=c,k=L)}break;case u.C:var F=w[C++],B=w[C++],E=w[C++],z=w[C++],H=w[C++],W=w[C++];if(M){if(D+(rt=f[A++])>p){R=(p-D)/rt;(0,s.YT)(i,F,E,H,R,l),(0,s.YT)(o,B,z,W,R,h),t.bezierCurveTo(l[1],h[1],l[2],h[2],l[3],h[3]);break t}D+=rt}t.bezierCurveTo(F,B,E,z,H,W),i=H,o=W;break;case u.Q:F=w[C++],B=w[C++],E=w[C++],z=w[C++];if(M){if(D+(rt=f[A++])>p){R=(p-D)/rt;(0,s.kx)(i,F,E,R,l),(0,s.kx)(o,B,z,R,h),t.quadraticCurveTo(l[1],h[1],l[2],h[2]);break t}D+=rt}t.quadraticCurveTo(F,B,E,z),i=E,o=z;break;case u.A:var V=w[C++],j=w[C++],q=w[C++],Y=w[C++],X=w[C++],G=w[C++],U=w[C++],K=!w[C++],$=q>Y?q:Y,Z=_(q-Y)>.001,Q=X+G,J=!1;if(M)D+(rt=f[A++])>p&&(Q=X+G*(p-D)/rt,J=!0),D+=rt;if(Z&&t.ellipse?t.ellipse(V,j,q,Y,U,X,Q,K):t.arc(V,j,$,X,Q,K),J)break t;O&&(n=g(X)*q+V,r=m(X)*Y+j),i=g(Q)*q+V,o=m(Q)*Y+j;break;case u.R:n=i=w[C],r=o=w[C+1],a=w[C++],c=w[C++];var tt=w[C++],et=w[C++];if(M){if(D+(rt=f[A++])>p){var nt=p-D;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}D+=rt}t.rect(a,c,tt,et);break;case u.Z:if(M){var rt;if(D+(rt=f[A++])>p){R=(p-D)/rt;t.lineTo(i*(1-R)+n*R,o*(1-R)+r*R);break t}D+=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.prototype.canSave=function(){return!!this._saveData},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 A=D},14643(t,e,n){n.d(e,{A:()=>r});n(18111),n(61806);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}()},46881(t,e,n){n.d(e,{Ay:()=>m,Ed:()=>d,IT:()=>g,Rd:()=>y,Wx:()=>v});n(44114);var r=n(16740),i=n(52577),o=n(81658),a=r.identity,s=5e-5;function u(t){return t>s||t<-5e-5}var l=[],h=[],c=r.create(),f=Math.abs,p=function(){function t(){}var e;return t.prototype.getLocalTransform=function(t){return d(this,t)},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 u(this.rotation)||u(this.x)||u(this.y)||u(this.scaleX-1)||u(this.scaleY-1)||u(this.skewX)||u(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):a(n),t&&(e?r.mul(n,t,n):r.copy(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n),this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,n)):n&&(a(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(l);var n=l[0]<0?-1:1,r=l[1]<0?-1:1,i=((l[0]-n)*e+n)/l[0]||0,o=((l[1]-r)*e+r)/l[1]||0;t[0]*=i,t[1]*=i,t[2]*=o,t[3]*=o}},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(h,t.invTransform,e),e=h);var n=this.originX,i=this.originY;(n||i)&&(c[4]=n,c[5]=i,r.mul(h,e,c),h[4]-=n,h[5]-=i,e=h),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&&o.applyTransform(n,n,r),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&o.applyTransform(n,n,r),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&f(t[0]-1)>1e-10&&f(t[3]-1)>1e-10?Math.sqrt(f(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){g(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}(),d=p.getLocalTransform;function y(){return new p}var v=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function g(t,e){return(0,i.assignProps)(t,e,v)}const m=p},51474(t,e,n){n.d(e,{$s:()=>_,BM:()=>g,Cr:()=>p,j6:()=>d,tW:()=>m});var r=n(81658),i=n(11054),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.lX,d=i.Yb,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.gC,f=i.k3,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))}},11054(t,e,n){n.d(e,{Et:()=>x,YT:()=>_,Yb:()=>y,_E:()=>g,d8:()=>k,gC:()=>M,h0:()=>w,k3:()=>S,kh:()=>A,kx:()=>D,lX:()=>m,qY:()=>T,rD:()=>v,z7:()=>b});var r=n(81658),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>-1e-8&&t<a}function d(t){return t>a||t<-1e-8}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(C=-f/c)>=0&&C<=1&&(s[m++]=C)}else{var _=v*v-4*y*g;if(p(_)){var x=v/y,w=-x/2;(C=-c/h+x)>=0&&C<=1&&(s[m++]=C),w>=0&&w<=1&&(s[m++]=w)}else if(_>0){var S=o(_),b=y*c+1.5*h*(-v+S),T=y*c+1.5*h*(-v-S);(C=(-c-((b=b<0?-i(-b,l):i(b,l))+(T=T<0?-i(-T,l):i(T,l))))/(3*h))>=0&&C<=1&&(s[m++]=C)}else{var M=(2*y*c-3*h*v)/(2*o(y*y*y)),D=Math.acos(M)/3,A=o(y),k=Math.cos(D),C=(-c-2*A*k)/(3*h),I=(w=(-c+A*(k+u*Math.sin(D)))/(3*h),(-c+A*(k-u*Math.sin(D)))/(3*h));C>=0&&C<=1&&(s[m++]=C),w>=0&&w<=1&&(s[m++]=w),I>=0&&I<=1&&(s[m++]=I)}}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,T=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))<T&&(m=M,T=w);T=1/0;for(var D=0;D<32&&!(b<s);D++)_=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<T?(m=_,T=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<T?(m=x,T=S):b*=.5);return g&&(g[0]=y(t,n,a,l,m),g[1]=y(e,i,u,p,m)),o(T)}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 T(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 D(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 A(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 T=(0,r.distSquare)(f,h);w<=1&&T<g?(y=w,g=T):v*=.5}}return d&&(d[0]=S(t,n,a,y),d[1]=S(e,i,u,y)),o(g)}function k(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}},305(t,e,n){n.d(e,{Me:()=>v,ot:()=>p,oq:()=>f,lJ:()=>h,Yn:()=>c});n(44114);var r=n(29342),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=n(52577),u="___zrEVENTSAVED",l=[];function h(t,e,n,r,i){return f(l,e,r,i,!0)&&f(t,n,l[0],l[1])}function c(t,e){function n(t){var e=t[u];e&&(e.clearMarkers&&e.clearMarkers(),delete t[u])}t&&n(t),e&&n(e)}function f(t,e,n,i,o){if(e.getBoundingClientRect&&r.A.domSupported&&!p(e)){var l=e[u]||(e[u]={}),h=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"),u=o%2,l=(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[u]+":0",i[l]+":0",r[1-u]+":auto",i[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return e.clearMarkers=function(){(0,s.each)(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})},n}(e,l),c=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))}(h,l,o);if(c)return c(t,n,i),!0}return!1}function p(t){return"CANVAS"===t.nodeName.toUpperCase()}var d=/([&<>"'])/g,y={"&":"&","<":"<",">":">",'"':""","'":"'"};function v(t){return null==t?"":(t+"").replace(d,function(t,e){return y[e]})}},29342(t,e,n){n.d(e,{A:()=>o});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||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Node.js")>-1?(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);var s=e.domSupported="undefined"!=typeof document;if(s){var u=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in u||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in u)&&!("OTransition"in u),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}}(navigator.userAgent,i);const o=i},16740(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})},45042(t,e,n){n.d(e,{Gs:()=>l,OH:()=>i,gI:()=>r,yh:()=>u});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},getTime:function(){return Date.now?Date.now():+new Date}};function l(t){for(var e in u)u.hasOwnProperty(e)&&t[e]&&(u[e]=t[e])}},16968(t,e,n){n.d(e,{$z:()=>r,XM:()=>o,cw:()=>a,jP:()=>i,r4:()=>s});var r=0,i=1,o=2,a=1,s=0},52577(t,e,n){n.r(e),n.d(e,{EPSILON:()=>gt,HashMap:()=>lt,RADIAN_TO_DEGREE:()=>vt,assert:()=>nt,assignProps:()=>b,bind:()=>F,clone:()=>_,concatArray:()=>ct,createCanvas:()=>M,createHashMap:()=>ht,createObject:()=>ft,curry:()=>B,defaults:()=>T,disableUserSelect:()=>pt,each:()=>I,eqNaN:()=>$,extend:()=>S,filter:()=>N,find:()=>R,guid:()=>g,hasOwn:()=>dt,indexOf:()=>D,inherits:()=>A,isArray:()=>E,isArrayLike:()=>C,isBuiltInObject:()=>q,isDom:()=>X,isFunction:()=>z,isGradientObject:()=>G,isImagePatternObject:()=>U,isNumber:()=>V,isObject:()=>j,isPrimitive:()=>at,isRegExp:()=>K,isString:()=>H,isStringSafe:()=>W,isTypedArray:()=>Y,keys:()=>L,logError:()=>m,map:()=>O,merge:()=>x,mergeAll:()=>w,mixin:()=>k,noop:()=>yt,normalizeCssArray:()=>et,reduce:()=>P,retrieve:()=>Z,retrieve2:()=>Q,retrieve3:()=>J,setAsPrimitive:()=>ot,slice:()=>tt,trim:()=>rt});n(44114),n(18111),n(22489),n(7588),n(61701),n(45367),n(92731);var r=n(45042),i=P(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=P(["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,v=Math.pow(2,53)-1;function g(){return y>=v&&(y=0),y++}function m(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function _(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!at(t)){e=[];for(var r=0,s=t.length;r<s;r++)e[r]=_(t[r])}}else if(o[n]){if(!at(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]&&!at(t)&&!X(t))for(var l in e={},t)t.hasOwnProperty(l)&&l!==d&&(e[l]=_(t[l]));return e}function x(t,e,n){if(!j(e)||!j(t))return n?_(e):t;for(var r in e)if(e.hasOwnProperty(r)&&r!==d){var i=t[r],o=e[r];!j(o)||!j(i)||E(o)||E(i)||X(o)||X(i)||q(o)||q(i)||at(o)||at(i)?!n&&r in t||(t[r]=_(e[r])):x(i,o,n)}return t}function w(t,e){for(var n=t[0],r=1,i=t.length;r<i;r++)n=x(n,t[r],e);return n}function S(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 b(t,e,n){t=t||{};for(var r=0;r<n.length;r++){var i=n[r];t[i]=e[i]}return t}function T(t,e,n){for(var r=L(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 M=r.yh.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 A(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 k(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 T(t,e,n)}function C(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function I(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 O(t,e,n){if(!t)return[];if(!e)return tt(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 P(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 N(t,e,n){if(!t)return[];if(!e)return tt(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 R(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 L(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 F=p&&z(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 B(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 E(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function z(t){return"function"==typeof t}function H(t){return"string"==typeof t}function W(t){return"[object String]"===a.call(t)}function V(t){return"number"==typeof t}function j(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function q(t){return!!i[a.call(t)]}function Y(t){return!!o[a.call(t)]}function X(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function G(t){return null!=t.colorStops}function U(t){return null!=t.image}function K(t){return"[object RegExp]"===a.call(t)}function $(t){return t!=t}function Z(){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 Q(t,e){return null!=t?t:e}function J(t,e,n){return null!=t?t:null!=e?e:n}function tt(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return h.apply(t,e)}function et(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 nt(t,e){if(!t)throw new Error(e)}function rt(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var it="__ec_primitive__";function ot(t){t[it]=!0}function at(t){return t[it]}var st=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 L(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),ut="function"==typeof Map;var lt=function(){function t(e){var n=E(e);this.data=ut?new Map:new st;var r=this;function i(t,e){n?r.set(t,e):r.set(e,t)}e instanceof t?e.each(i):e&&I(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 ut?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function ht(t){return new lt(t)}function ct(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 ft(t,e){var n;if(Object.create)n=Object.create(t);else{var r=function(){};r.prototype=t,n=new r}return e&&S(n,e),n}function pt(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function dt(t,e){return t.hasOwnProperty(e)}function yt(){}var vt=180/Math.PI,gt=Number.EPSILON||Math.pow(2,-52)},81658(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:()=>T,max:()=>A,min:()=>D,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 T(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 D(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function A(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},15166(t,e,n){n.d(e,{A:()=>a});var r=n(62826),i=n(79231),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,r.C6)(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.Ay.prototype.getBoundingRect.call(this)},e}(i.Ay);const a=o},85408(t,e,n){n.d(e,{Ay:()=>v,oN:()=>l,sW:()=>h});var r=n(62826),i=n(7921),o=n(35723),a=n(52577),s=n(84487),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.C6)(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(t){},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&&this.__clipPaths.length)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.Ay(0,0,0,0)),e?o.Ay.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.Ay(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.pO,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&s.pO)},e.prototype.styleUpdated=function(){this.__dirty&=~s.pO},e.prototype.createStyle=function(t){return(0,a.createObject)(l,t)},e.prototype.useStyle=function(t){t[u]||(t=this.createStyle(t)),this.style=t,this.dirtyStyle()},e.prototype._useHoverStyle=function(t){this.__hoverStyle=t},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,o,s,u){t.prototype._applyStateObj.call(this,e,n,r,o,s,u);var l,h=!(n&&o),p=this.__inHover===i.yx;if(n&&n.style?s?o?l=n.style:(l=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),o?this.style:r.style),this._mergeStyle(l,n.style)):h&&(l=r.style),l)if(s){var d=this.style;if(this.style=this.createStyle(h?{}:d),h)for(var y=(0,a.keys)(d),v=0;v<y.length;v++){(m=y[v])in l&&(l[m]=l[m],this.style[m]=d[m])}var g=(0,a.keys)(l);for(v=0;v<g.length;v++){var m=g[v];this.style[m]=this.style[m]}this._transitionState(e,{style:l},u,this.getAnimationStyleProps())}else p?this._useHoverStyle(l):this.useStyle(l);if(!p){var _=this.__inHover?f:c;for(v=0;v<_.length;v++){m=_[v];n&&null!=n[m]?this[m]=n[m]:h&&null!=r[m]&&(this[m]=r[m])}}},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=0,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=s.M|s.pO)),e}(i.Ay),d=new o.Ay(0,0,0,0),y=new o.Ay(0,0,0,0);const v=p},47936(t,e,n){n.d(e,{A:()=>r});n(44114);const r=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},22785(t,e,n){n.d(e,{A:()=>u});n(44114);var r=n(62826),i=n(52577),o=n(7921),a=n(35723),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.C6)(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.Ay(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.Ay.applyTransform(e,u,l),(i=i||e.clone()).union(e)):(i=i||u.clone()).union(u)}}return i||e},e}(o.Ay);s.prototype.type="group";const u=s},6715(t,e,n){n.d(e,{Ay:()=>h});var r=n(62826),i=n(85408),o=n(35723),a=n(52577),s=(0,a.defaults)({x:0,y:0},i.oN),u={style:(0,a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i.sW.style)};var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(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.Ay(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(i.Ay);l.prototype.type="image";const h=l},48738(t,e,n){n.d(e,{A:()=>l});n(44114);var r=n(62826),i=n(85408),o=n(35723),a=n(16968),s=[],u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=a.jP,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,r.C6)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype._useHoverStyle=function(){this.__hoverStyle=null},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.Ay(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(s)),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.Ay);const l=u},67665(t,e,n){n.d(e,{A:()=>i});var r=n(62826);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.C6)(e,t),e}(n(47936).A)},79231(t,e,n){n.d(e,{MW:()=>C,Ay:()=>P});var r=n(62826),i=n(85408),o=n(7921),a=n(61316);function s(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 u=n(11054);function l(t,e,n,r,i,o,a,s,l,h,c){if(0===l)return!1;var f=l;return!(c>e+f&&c>r+f&&c>o+f&&c>s+f||c<e-f&&c<r-f&&c<o-f&&c<s-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)&&u.Et(t,e,n,r,i,o,a,s,h,c,null)<=f/2}function h(t,e,n,r,i,o,a,s,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||s>t+h&&s>n+h&&s>i+h||s<t-h&&s<n-h&&s<i-h)&&(0,u.kh)(t,e,n,r,i,o,s,l,null)<=h/2}var c=n(61184),f=2*Math.PI;function p(t,e,n,r,i,o,a,s,u){if(0===a)return!1;var l=a;s-=t,u-=e;var h=Math.sqrt(s*s+u*u);if(h-l>n||h+l<n)return!1;if(Math.abs(r-i)%f<1e-4)return!0;if(o){var p=r;r=(0,c.n)(i),i=(0,c.n)(p)}else r=(0,c.n)(r),i=(0,c.n)(i);r>i&&(i+=f);var d=Math.atan2(u,s);return d<0&&(d+=f),d>=r&&d<=i||d+f>=r&&d+f<=i}var d=n(21974),y=a.A.CMD,v=2*Math.PI;var g=[-1,-1,-1],m=[-1,-1];function _(){var t=m[0];m[0]=m[1],m[1]=t}function x(t,e,n,r,i,o,a,s,l,h){if(h>e&&h>r&&h>o&&h>s||h<e&&h<r&&h<o&&h<s)return 0;var c=u._E(e,r,o,s,h,g);if(0===c)return 0;for(var f=0,p=-1,d=void 0,y=void 0,v=0;v<c;v++){var x=g[v],w=0===x||1===x?.5:1;u.Yb(t,n,i,a,x)<l||(p<0&&(p=u.lX(e,r,o,s,m),m[1]<m[0]&&p>1&&_(),d=u.Yb(e,r,o,s,m[0]),p>1&&(y=u.Yb(e,r,o,s,m[1]))),2===p?x<m[0]?f+=d<e?w:-w:x<m[1]?f+=y<d?w:-w:f+=s<y?w:-w:x<m[0]?f+=d<e?w:-w:f+=s<d?w:-w)}return f}function w(t,e,n,r,i,o,a,s){if(s>e&&s>r&&s>o||s<e&&s<r&&s<o)return 0;var l=u.qY(e,r,o,s,g);if(0===l)return 0;var h=u.gC(e,r,o);if(h>=0&&h<=1){for(var c=0,f=u.k3(e,r,o,h),p=0;p<l;p++){var d=0===g[p]||1===g[p]?.5:1;u.k3(t,n,i,g[p])<a||(g[p]<h?c+=f<e?d:-d:c+=o<f?d:-d)}return c}d=0===g[0]||1===g[0]?.5:1;return u.k3(t,n,i,g[0])<a?0:o<e?d:-d}function S(t,e,n,r,i,o,a,s){if((s-=e)>n||s<-n)return 0;var u=Math.sqrt(n*n-s*s);g[0]=-u,g[1]=u;var l=Math.abs(r-i);if(l<1e-4)return 0;if(l>=v-1e-4){r=0,i=v;var h=o?1:-1;return a>=g[0]+t&&a<=g[1]+t?h:0}if(r>i){var c=r;r=i,i=c}r<0&&(r+=v,i+=v);for(var f=0,p=0;p<2;p++){var d=g[p];if(d+t>a){var y=Math.atan2(s,d);h=o?1:-1;y<0&&(y=v+y),(y>=r&&y<=i||y+v>=r&&y+v<=i)&&(y>Math.PI/2&&y<1.5*Math.PI&&(h=-h),f+=h)}}return f}function b(t,e,n,r,i){for(var o,a,u,c,f=t.data,v=t.len(),g=0,m=0,_=0,b=0,T=0,M=0;M<v;){var D=f[M++],A=1===M;switch(D===y.M&&M>1&&(n||(g+=(0,d.A)(m,_,b,T,r,i))),A&&(b=m=f[M],T=_=f[M+1]),D){case y.M:m=b=f[M++],_=T=f[M++];break;case y.L:if(n){if(s(m,_,f[M],f[M+1],e,r,i))return!0}else g+=(0,d.A)(m,_,f[M],f[M+1],r,i)||0;m=f[M++],_=f[M++];break;case y.C:if(n){if(l(m,_,f[M++],f[M++],f[M++],f[M++],f[M],f[M+1],e,r,i))return!0}else g+=x(m,_,f[M++],f[M++],f[M++],f[M++],f[M],f[M+1],r,i)||0;m=f[M++],_=f[M++];break;case y.Q:if(n){if(h(m,_,f[M++],f[M++],f[M],f[M+1],e,r,i))return!0}else g+=w(m,_,f[M++],f[M++],f[M],f[M+1],r,i)||0;m=f[M++],_=f[M++];break;case y.A:var k=f[M++],C=f[M++],I=f[M++],O=f[M++],P=f[M++],N=f[M++];M+=1;var R=!!(1-f[M++]);o=Math.cos(P)*I+k,a=Math.sin(P)*O+C,A?(b=o,T=a):g+=(0,d.A)(m,_,o,a,r,i);var L=(r-k)*O/I+k;if(n){if(p(k,C,O,P,P+N,R,e,L,i))return!0}else g+=S(k,C,O,P,P+N,R,L,i);m=Math.cos(P+N)*I+k,_=Math.sin(P+N)*O+C;break;case y.R:if(b=m=f[M++],T=_=f[M++],o=b+f[M++],a=T+f[M++],n){if(s(b,T,o,T,e,r,i)||s(o,T,o,a,e,r,i)||s(o,a,b,a,e,r,i)||s(b,a,b,T,e,r,i))return!0}else g+=(0,d.A)(o,T,o,a,r,i),g+=(0,d.A)(b,a,b,T,r,i);break;case y.Z:if(n){if(s(m,_,b,T,e,r,i))return!0}else g+=(0,d.A)(m,_,b,T,r,i);m=b,_=T}}return n||(u=_,c=T,Math.abs(u-c)<1e-4)||(g+=(0,d.A)(m,_,b,T,r,i)||0),0!==g}var T=n(52577),M=n(85767),D=n(35287),A=n(84487),k=n(46881),C=(0,T.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i.oN),I={style:(0,T.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i.sW.style)},O=k.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]);const P=function(t){function e(e){return t.call(this,e)||this}var n;return(0,r.C6)(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<O.length;++s)i[O[s]]=this[O[s]];i.__dirty|=A.M}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=(0,T.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,T.extend)(this.style,a):this.useStyle(a):"shape"===o?(0,T.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,T.isString)(t)){var e=(0,M.lum)(t,0);return e>.5?D._S:e>.2?D.tY:D.el}if(t)return D.el}return D._S},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,T.isString)(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===(0,M.lum)(t,0)<D.ps)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~A.Dl},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 a.A(!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&A.Dl)&&(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 b(t,e,!0,n,r)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return b(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=A.Dl,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,T.extend)(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&A.Dl)},e.prototype.createStyle=function(t){return(0,T.createObject)(C,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,T.extend)({},this.shape))},e.prototype._applyStateObj=function(e,n,r,i,a,s){if(t.prototype._applyStateObj.call(this,e,n,r,i,a,s),this.__inHover!==o.yx){var u,l=!(n&&i);if(n&&n.shape?a?i?u=n.shape:(u=(0,T.extend)({},r.shape),(0,T.extend)(u,n.shape)):(u=(0,T.extend)({},i?this.shape:r.shape),(0,T.extend)(u,n.shape)):l&&(u=r.shape),u)if(a){this.shape=(0,T.extend)({},this.shape);for(var h={},c=(0,T.keys)(u),f=0;f<c.length;f++){var p=c[f];"object"==typeof u[p]?this.shape[p]=u[p]:h[p]=u[p]}this._transitionState(e,{shape:h},s)}else this.shape=u,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 I},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.C6)(n,e),n.prototype.getDefaultStyle=function(){return(0,T.clone)(t.style)},n.prototype.getDefaultShape=function(){return(0,T.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=A.M|A.pO|A.Dl)),e}(i.Ay)},64139(t,e,n){n.d(e,{A:()=>i});var r=n(62826);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.C6)(e,t),e}(n(47936).A)},53326(t,e,n){n.d(e,{A:()=>c});var r=n(62826),i=n(85408),o=n(79231),a=n(52577),s=n(45042),u=n(77433),l=(0,a.defaults)({strokeFirst:!0,font:s.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},o.MW),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.hasStroke=function(){return(0,u.n7)(this.style)},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,a.createObject)(l,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){return this._rect||(this._rect=(0,u.Xf)(this.style)),this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(i.Ay);h.prototype.type="tspan";const c=h},47263(t,e,n){n.d(e,{Ay:()=>k});var r=n(62826),i=n(77433),o=n(53326),a=n(52577),s=n(45287),u=n(6715),l=n(4017),h=n(35723),c=n(85408),f=n(45042),p={fill:"#000"},d={},y={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.sW.style)},v=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.C6)(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,S(t=this.style),(0,a.each)(t.rich,S),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.Ay(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 y},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.OH,n=t.padding,r=this._defaultStyle,a=t.x||0,u=t.y||0,l=t.align||r.align||"left",h=t.verticalAlign||r.verticalAlign||"top";(0,i.Ss)(d,r.overflowRect,a,u,l,h),a=d.baseX,u=d.baseY;var c=D(t),p=(0,i.j_)(c,t,d.outerWidth,d.outerHeight),y=A(t),v=!!t.backgroundColor,g=p.outerHeight,m=p.outerWidth,_=p.lines,x=p.lineHeight;this.isTruncated=!!p.isTruncated;var S=a,k=(0,s.sZ)(u,p.contentHeight,h);if(y||n){var C=(0,s.ll)(a,m,l),I=(0,s.sZ)(u,g,h);y&&this._renderBackground(t,t,C,I,m,g)}k+=x/2,n&&(S=M(a,l,n),"top"===h?k+=n[0]:"bottom"===h&&(k-=n[2]));for(var O=0,P=!1,N=!1,R=(T("fill"in t?t.fill:(N=!0,r.fill))),L=(b("stroke"in t?t.stroke:v||r.autoStroke&&!N?null:(O=2,P=!0,r.stroke))),F=t.textShadowBlur>0,B=0;B<_.length;B++){var E=this._getOrCreateChild(o.A),z=E.createStyle();E.useStyle(z),z.text=_[B],z.x=S,z.y=k,l&&(z.textAlign=l),z.textBaseline="middle",z.opacity=t.opacity,z.strokeFirst=!0,F&&(z.shadowBlur=t.textShadowBlur||0,z.shadowColor=t.textShadowColor||"transparent",z.shadowOffsetX=t.textShadowOffsetX||0,z.shadowOffsetY=t.textShadowOffsetY||0),z.stroke=L,z.fill=R,L&&(z.lineWidth=t.lineWidth||O,z.lineDash=t.lineDash,z.lineDashOffset=t.lineDashOffset||0),z.font=e,w(z,t),k+=x,E.setBoundingRect((0,i.xu)(z,p.contentWidth,p.calculatedLineHeight,P?0:null))}},e.prototype._updateRichTexts=function(){var t=this.style,e=this._defaultStyle,n=t.align||e.align,r=t.verticalAlign||e.verticalAlign,o=t.x||0,a=t.y||0;(0,i.Ss)(d,e.overflowRect,o,a,n,r),o=d.baseX,a=d.baseY;var u=D(t),l=(0,i.FQ)(u,t,d.outerWidth,d.outerHeight,n),h=l.width,c=l.outerWidth,f=l.outerHeight,p=t.padding;this.isTruncated=!!l.isTruncated;var y=(0,s.ll)(o,c,n),v=(0,s.sZ)(a,f,r),g=y,m=v;p&&(g+=p[3],m+=p[0]);var _=g+h;A(t)&&this._renderBackground(t,t,y,v,c,f);for(var x=!!t.backgroundColor,w=0;w<l.lines.length;w++){for(var S=l.lines[w],b=S.tokens,T=b.length,M=S.lineHeight,k=S.width,C=0,I=g,O=_,P=T-1,N=void 0;C<T&&(!(N=b[C]).align||"left"===N.align);)this._placeToken(N,t,M,m,I,"left",x),k-=N.width,I+=N.width,C++;for(;P>=0&&"right"===(N=b[P]).align;)this._placeToken(N,t,M,m,O,"right",x),k-=N.width,O-=N.width,P--;for(I+=(h-(I-g)-(_-O)-k)/2;C<=P;)N=b[C],this._placeToken(N,t,M,m,I+N.width/2,"center",x),I+=N.width,C++;m+=M}},e.prototype._placeToken=function(t,e,n,r,s,u,l){var h=e.rich[t.styleName]||{};h.text=t.text;var c=t.verticalAlign,p=r+n/2;"top"===c?p=r+t.height/2:"bottom"===c&&(p=r+n-t.height/2),!t.isLineHolder&&A(h)&&this._renderBackground(h,e,"right"===u?s-t.width:"center"===u?s-t.width/2:s,p-t.height/2,t.width,t.height);var d=!!h.backgroundColor,y=t.textPadding;y&&(s=M(s,u,y),p-=t.height/2-y[0]-t.innerHeight/2);var v=this._getOrCreateChild(o.A),g=v.createStyle();v.useStyle(g);var m=this._defaultStyle,_=!1,x=0,S=!1,D=T("fill"in h?h.fill:"fill"in e?e.fill:(_=!0,m.fill)),k=b("stroke"in h?h.stroke:"stroke"in e?e.stroke:d||l||m.autoStroke&&!_?null:(x=2,S=!0,m.stroke)),C=h.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=s,g.y=p,C&&(g.shadowBlur=h.textShadowBlur||e.textShadowBlur||0,g.shadowColor=h.textShadowColor||e.textShadowColor||"transparent",g.shadowOffsetX=h.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=h.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=u,g.textBaseline="middle",g.font=t.font||f.OH,g.opacity=(0,a.retrieve3)(h.opacity,e.opacity,1),w(g,h),k&&(g.lineWidth=(0,a.retrieve3)(h.lineWidth,e.lineWidth,x),g.lineDash=(0,a.retrieve2)(h.lineDash,e.lineDash),g.lineDashOffset=e.lineDashOffset||0,g.stroke=k),D&&(g.fill=D),v.setBoundingRect((0,i.xu)(g,t.contentWidth,t.contentHeight,S?0:null))},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.A)).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.Ay)).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,x(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&(0,a.trim)(e)||t.textFont||t.font},e}(c.Ay),g={left:!0,right:1,center:1},m={top:1,bottom:1,middle:1},_=["fontStyle","fontWeight","fontSize","fontFamily"];function x(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?f.gI+"px":t+"px":t}function w(t,e){for(var n=0;n<_.length;n++){var r=_[n],i=e[r];null!=i&&(t[r]=i)}}function S(t){if(t){t.font=v.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||g[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||m[n]?n:"top",t.padding&&(t.padding=(0,a.normalizeCssArray)(t.padding))}}function b(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function T(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function M(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function D(t){var e=t.text;return null!=e&&(e+=""),e}function A(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}const k=v},84487(t,e,n){n.d(e,{Dl:()=>o,M:()=>r,pO:()=>i});var r=1,i=2,o=4},22858(t,e,n){n.d(e,{OD:()=>s,SR:()=>a,xA:()=>l});n(44114);var r=n(46116),i=n(45042),o=new r.Ay(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.yh.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}},77433(t,e,n){n.d(e,{EJ:()=>u,FQ:()=>g,Ss:()=>S,Xf:()=>D,j_:()=>p,n7:()=>k,xu:()=>A});n(44114);var r=n(22858),i=n(52577),o=n(45287),a=n(35723),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function u(t,e,n,r,i){var o={};return l(o,t,e,n,r,i),o.text}function l(t,e,n,r,i,o){if(!n)return t.text="",void(t.isTruncated=!1);var a=(e+"").split("\n");o=h(n,r,i,o);for(var s=!1,u={},l=0,f=a.length;l<f;l++)c(u,a[l],o),a[l]=u.textLine,s=s||u.isTruncated;t.text=a.join("\n"),t.isTruncated=s}function h(t,e,n,r){r=r||{};var a=(0,i.extend)({},r);n=(0,i.retrieve2)(n,"..."),a.maxIterations=(0,i.retrieve2)(r.maxIterations,2);var s=a.minChar=(0,i.retrieve2)(r.minChar,0),u=a.fontMeasureInfo=(0,o.Qw)(e),l=u.asciiCharWidth;a.placeholder=(0,i.retrieve2)(r.placeholder,"");for(var h=t=Math.max(0,t-1),c=0;c<s&&h>=l;c++)h-=l;var f=(0,o.l8)(u,n);return f>h&&(n="",f=0),h=t-f,a.ellipsis=n,a.ellipsisWidth=f,a.contentWidth=h,a.containerWidth=t,a}function c(t,e,n){var r=n.containerWidth,i=n.contentWidth,a=n.fontMeasureInfo;if(!r)return t.textLine="",void(t.isTruncated=!1);var s=(0,o.l8)(a,e);if(s<=r)return t.textLine=e,void(t.isTruncated=!1);for(var u=0;;u++){if(s<=i||u>=n.maxIterations){e+=n.ellipsis;break}var l=0===u?f(e,i,a):s>0?Math.floor(e.length*i/s):0;e=e.substr(0,l),s=(0,o.l8)(a,e)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}function f(t,e,n){for(var r=0,i=0,a=t.length;i<a&&r<e;i++)r+=(0,o.JK)(n,t.charCodeAt(i));return i}function p(t,e,n,r){var a=M(t),s=e.overflow,u=e.padding,l=u?u[1]+u[3]:0,f=u?u[0]+u[2]:0,p=e.font,d="truncate"===s,y=(0,o.ks)(p),v=(0,i.retrieve2)(e.lineHeight,y),g="truncate"===e.lineOverflow,m=!1,_=e.width;null==_&&null!=n&&(_=n-l);var x,S=e.height;null==S&&null!=r&&(S=r-f);var b=(x=null==_||"break"!==s&&"breakAll"!==s?a?a.split("\n"):[]:a?w(a,e.font,_,"breakAll"===s,0).lines:[]).length*v;if(null==S&&(S=b),b>S&&g){var T=Math.floor(S/v);m=m||x.length>T,b=(x=x.slice(0,T)).length*v}if(a&&d&&null!=_)for(var D=h(_,p,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),A={},k=0;k<x.length;k++)c(A,x[k],D),x[k]=A.textLine,m=m||A.isTruncated;var C=S,I=0,O=(0,o.Qw)(p);for(k=0;k<x.length;k++)I=Math.max((0,o.l8)(O,x[k]),I);null==_&&(_=I);var P=_;return{lines:x,height:S,outerWidth:P+=l,outerHeight:C+=f,lineHeight:v,calculatedLineHeight:y,contentWidth:I,contentHeight:b,width:_,isTruncated:m}}var d=function(){},y=function(t){this.tokens=[],t&&(this.tokens=t)},v=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 g(t,e,n,a,u){var h=new v,c=M(t);if(!c)return h;var f=e.padding,p=f?f[1]+f[3]:0,d=f?f[0]+f[2]:0,y=e.width;null==y&&null!=n&&(y=n-p);var g=e.height;null==g&&null!=a&&(g=a-d);for(var _,x=e.overflow,w="break"!==x&&"breakAll"!==x||null==y?null:{width:y,accumWidth:0,breakAll:"breakAll"===x},S=s.lastIndex=0;null!=(_=s.exec(c));){var b=_.index;b>S&&m(h,c.substring(S,b),e,w),m(h,_[2],e,w,_[1]),S=s.lastIndex}S<c.length&&m(h,c.substring(S,c.length),e,w);var T=[],D=0,A=0,k="truncate"===x,C="truncate"===e.lineOverflow,I={};function O(t,e,n){t.width=e,t.lineHeight=n,D+=n,A=Math.max(A,e)}t:for(var P=0;P<h.lines.length;P++){for(var N=h.lines[P],R=0,L=0,F=0;F<N.tokens.length;F++){var B=(U=N.tokens[F]).styleName&&e.rich[U.styleName]||{},E=U.textPadding=B.padding,z=E?E[1]+E[3]:0,H=U.font=B.font||e.font;U.contentHeight=(0,o.ks)(H);var W=(0,i.retrieve2)(B.height,U.contentHeight);if(U.innerHeight=W,E&&(W+=E[0]+E[2]),U.height=W,U.lineHeight=(0,i.retrieve3)(B.lineHeight,e.lineHeight,W),U.align=B&&B.align||u,U.verticalAlign=B&&B.verticalAlign||"middle",C&&null!=g&&D+U.lineHeight>g){var V=h.lines.length;F>0?(N.tokens=N.tokens.slice(0,F),O(N,L,R),h.lines=h.lines.slice(0,P+1)):h.lines=h.lines.slice(0,P),h.isTruncated=h.isTruncated||h.lines.length<V;break t}var j=B.width,q=null==j||"auto"===j;if("string"==typeof j&&"%"===j.charAt(j.length-1))U.percentWidth=j,T.push(U),U.contentWidth=(0,o.l8)((0,o.Qw)(H),U.text);else{if(q){var Y=B.backgroundColor,X=Y&&Y.image;X&&(X=r.SR(X),r.xA(X)&&(U.width=Math.max(U.width,X.width*W/X.height)))}var G=k&&null!=y?y-L:null;null!=G&&G<U.width?!q||G<z?(U.text="",U.width=U.contentWidth=0):(l(I,U.text,G-z,H,e.ellipsis,{minChar:e.truncateMinChar}),U.text=I.text,h.isTruncated=h.isTruncated||I.isTruncated,U.width=U.contentWidth=(0,o.l8)((0,o.Qw)(H),U.text)):U.contentWidth=(0,o.l8)((0,o.Qw)(H),U.text)}U.width+=z,L+=U.width,B&&(R=Math.max(R,U.lineHeight))}O(N,L,R)}h.outerWidth=h.width=(0,i.retrieve2)(y,A),h.outerHeight=h.height=(0,i.retrieve2)(g,D),h.contentHeight=D,h.contentWidth=A,h.outerWidth+=p,h.outerHeight+=d;for(P=0;P<T.length;P++){var U,K=(U=T[P]).percentWidth;U.width=parseInt(K,10)/100*h.width}return h}function m(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 p=l.padding,v=p?p[1]+p[3]:0;if(null!=l.width&&"auto"!==l.width){var g=(0,o.lo)(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=w(e,c,r.width,r.breakAll,r.accumWidth);r.accumWidth=m.accumWidth+v,s=m.linesWidths,a=m.lines}}a||(a=e.split("\n"));for(var _=(0,o.Qw)(c),x=0;x<a.length;x++){var S=a[x],b=new d;if(b.styleName=i,b.text=S,b.isLineHolder=!S&&!u,"number"==typeof l.width?b.width=l.width:b.width=s?s[x]:(0,o.l8)(_,S),x||f)h.push(new y([b]));else{var T=(h[h.length-1]||(h[0]=new y)).tokens,M=T.length;1===M&&T[0].isLineHolder?T[0]=b:(S||!M||u)&&T.push(b)}}}var _=(0,i.reduce)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function x(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)||!!_[t]}function w(t,e,n,r,i){for(var a=[],s=[],u="",l="",h=0,c=0,f=(0,o.Qw)(e),p=0;p<t.length;p++){var d=t.charAt(p);if("\n"!==d){var y=(0,o.JK)(f,d.charCodeAt(0)),v=!r&&!x(d);(a.length?c+y>n:i+c+y>n)?c?(u||l)&&(v?(u||(u=l,l="",c=h=0),a.push(u),s.push(c-h),l+=d,u="",c=h+=y):(l&&(u+=l,l="",h=0),a.push(u),s.push(c),u=d,c=y)):v?(a.push(l),s.push(h),l=d,h=y):(a.push(d),s.push(y)):(c+=y,v?(l+=d,h+=y):(l&&(u+=l,l="",h=0),u+=d))}else l&&(u+=l,c+=h),a.push(u),s.push(c),u="",l="",h=0,c=0}return l&&(u+=l),u&&(a.push(u),s.push(c)),1===a.length&&(c+=i),{accumWidth:c,lines:a,linesWidths:s}}function S(t,e,n,r,i,s){if(t.baseX=n,t.baseY=r,t.outerWidth=t.outerHeight=null,e){var u=2*e.width,l=2*e.height;a.Ay.set(b,(0,o.ll)(n,u,i),(0,o.sZ)(r,l,s),u,l),a.Ay.intersect(e,b,null,T);var h=T.outIntersectRect;t.outerWidth=h.width,t.outerHeight=h.height,t.baseX=(0,o.ll)(h.x,h.width,i,!0),t.baseY=(0,o.sZ)(h.y,h.height,s,!0)}}var b=new a.Ay(0,0,0,0),T={outIntersectRect:{},clamp:!0};function M(t){return null!=t?t+="":t=""}function D(t){var e=M(t.text),n=t.font;return A(t,(0,o.l8)((0,o.Qw)(n),e),(0,o.ks)(n),null)}function A(t,e,n,r){var i=new a.Ay((0,o.ll)(t.x||0,e,t.textAlign),(0,o.sZ)(t.y||0,n,t.textBaseline),e,n),s=null!=r?r:k(t)?t.lineWidth:0;return s>0&&(i.x-=s/2,i.y-=s/2,i.width+=s,i.height+=s),i}function k(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}},85796(t,e,n){n.d(e,{U:()=>i});n(44114);var r=n(81658);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()}}},83522(t,e,n){n.d(e,{M7:()=>a,Op:()=>o,eB:()=>i});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}},58280(t,e,n){n.d(e,{A:()=>s});var r=n(62826),i=n(79231),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.C6)(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.Ay);a.prototype.type="arc";const s=a},61618(t,e,n){n.d(e,{A:()=>c});var r=n(62826),i=n(79231),o=n(81658),a=n(11054),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.rD:a.Yb)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?a.rD:a.Yb)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?a.z7:a.k3)(t.x1,t.cpx1,t.x2,e),(n?a.z7:a.k3)(t.y1,t.cpy1,t.y2,e)]}var h=function(t){function e(e){return t.call(this,e)||this}return(0,r.C6)(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.kx)(n,u,i,f,s),u=s[1],i=s[2],(0,a.kx)(r,l,o,f,s),l=s[1],o=s[2]),t.quadraticCurveTo(u,l,i,o)):(f<1&&((0,a.YT)(n,u,h,i,f,s),u=s[1],h=s[2],i=s[3],(0,a.YT)(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.Ay);h.prototype.type="bezier-curve";const c=h},43842(t,e,n){n.d(e,{A:()=>s});var r=n(62826),i=n(79231),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.C6)(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.Ay);a.prototype.type="circle";const s=a},48962(t,e,n){n.d(e,{A:()=>s});var r=n(62826),i=n(79231),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.C6)(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.Ay);a.prototype.type="ellipse";const s=a},46700(t,e,n){n.d(e,{A:()=>l});var r=n(62826),i=n(79231),o=n(83522),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.C6)(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.eB)(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.Ay);u.prototype.type="line";const l=u},57922(t,e,n){n.d(e,{A:()=>u});var r=n(62826),i=n(79231),o=n(85796),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.C6)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!0)},e}(i.Ay);s.prototype.type="polygon";const u=s},94542(t,e,n){n.d(e,{A:()=>u});var r=n(62826),i=n(79231),o=n(85796),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.C6)(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.U(t,e,!1)},e}(i.Ay);s.prototype.type="polyline";const u=s},4017(t,e,n){n.d(e,{A:()=>l});var r=n(62826),i=n(79231);var o=n(83522),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.C6)(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.Op)(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.closePath()}(t,e):t.rect(n,r,i,a)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i.Ay);u.prototype.type="rect";const l=u},80976(t,e,n){n.d(e,{A:()=>s});var r=n(62826),i=n(79231),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.C6)(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.Ay);a.prototype.type="ring";const s=a},95769(t,e,n){n.d(e,{A:()=>w});var r=n(62826),i=n(79231),o=n(52577),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,T=f*g-v*y,M=(w<0?-1:1)*p(d(0,b*b*S-T*T)),D=(T*w-x*M)/S,A=(-T*x-w*M)/S,k=(T*w+x*M)/S,C=(-T*x+w*M)/S,I=D-m,O=A-_,P=k-m,N=C-_;return I*I+O*O>P*P+N*N&&(D=k,A=C),{cx:D,cy:A,x0:-h,y0:-c,x1:D*(i/b-1),y1:A*(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,T=!!e.clockwise,M=f(w-x),D=M>s&&M%s;if(D>v&&(M=D),r>v)if(M>s-v)t.moveTo(S+r*l(x),b+r*u(x)),t.arc(S,b,r,x,w,!T),i>v&&(t.moveTo(S+i*l(w),b+i*u(w)),t.arc(S,b,i,w,x,T));else{var A=void 0,k=void 0,C=void 0,I=void 0,O=void 0,P=void 0,N=void 0,R=void 0,L=void 0,F=void 0,B=void 0,E=void 0,z=void 0,H=void 0,W=void 0,V=void 0,j=r*l(x),q=r*u(x),Y=i*l(w),X=i*u(w),G=M>v;if(G){var U=e.cornerRadius;U&&(A=(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}(U))[0],k=n[1],C=n[2],I=n[3]);var K=f(r-i)/2;if(O=y(K,C),P=y(K,I),N=y(K,A),R=y(K,k),B=L=d(O,P),E=F=d(N,R),(L>v||F>v)&&(z=r*l(w),H=r*u(w),W=i*l(x),V=i*u(x),M<a)){var $=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]}(j,q,W,V,z,H,Y,X);if($){var Z=j-$[0],Q=q-$[1],J=z-$[0],tt=H-$[1],et=1/u(h((Z*J+Q*tt)/(p(Z*Z+Q*Q)*p(J*J+tt*tt)))/2),nt=p($[0]*$[0]+$[1]*$[1]);B=y(L,(r-nt)/(et+1)),E=y(F,(i-nt)/(et-1))}}}if(G)if(B>v){var rt=y(C,B),it=y(I,B),ot=g(W,V,j,q,r,rt,T),at=g(z,H,Y,X,r,it,T);t.moveTo(S+ot.cx+ot.x0,b+ot.cy+ot.y0),B<L&&rt===it?t.arc(S+ot.cx,b+ot.cy,B,c(ot.y0,ot.x0),c(at.y0,at.x0),!T):(rt>0&&t.arc(S+ot.cx,b+ot.cy,rt,c(ot.y0,ot.x0),c(ot.y1,ot.x1),!T),t.arc(S,b,r,c(ot.cy+ot.y1,ot.cx+ot.x1),c(at.cy+at.y1,at.cx+at.x1),!T),it>0&&t.arc(S+at.cx,b+at.cy,it,c(at.y1,at.x1),c(at.y0,at.x0),!T))}else t.moveTo(S+j,b+q),t.arc(S,b,r,x,w,!T);else t.moveTo(S+j,b+q);if(i>v&&G)if(E>v){rt=y(A,E),ot=g(Y,X,z,H,i,-(it=y(k,E)),T),at=g(j,q,W,V,i,-rt,T);t.lineTo(S+ot.cx+ot.x0,b+ot.cy+ot.y0),E<F&&rt===it?t.arc(S+ot.cx,b+ot.cy,E,c(ot.y0,ot.x0),c(at.y0,at.x0),!T):(it>0&&t.arc(S+ot.cx,b+ot.cy,it,c(ot.y0,ot.x0),c(ot.y1,ot.x1),!T),t.arc(S,b,i,c(ot.cy+ot.y1,ot.cx+ot.x1),c(at.cy+at.y1,at.cx+at.x1),T),rt>0&&t.arc(S+at.cx,b+at.cy,rt,c(at.y1,at.x1),c(at.y0,at.x0),!T))}else t.lineTo(S+Y,b+X),t.arc(S,b,i,w,x,T);else t.lineTo(S+Y,b+X)}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.C6)(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.Ay);x.prototype.type="sector";const w=x},85767(t,e,n){n.r(e),n.d(e,{fastLerp:()=>w,fastMapToColor:()=>S,lerp:()=>b,lift:()=>_,liftColor:()=>O,lum:()=>k,mapToColor:()=>T,modifyAlpha:()=>D,modifyHSL:()=>M,parse:()=>g,parseCssFloat:()=>l,parseCssInt:()=>u,random:()=>C,stringify:()=>A,toHex:()=>x});n(44114);var r=n(46116),i=n(52577),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.Ay(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 A(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=A([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 T=b;function M(t,e,n,r){var o,a=g(t);if(t)return a=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}}(a),null!=e&&(a[0]=(o=(0,i.isFunction)(e)?e(a[0]):e,(o=Math.round(o))<0?0:o>360?360:o)),null!=n&&(a[1]=l((0,i.isFunction)(n)?n(a[1]):n)),null!=r&&(a[2]=l((0,i.isFunction)(r)?r(a[2]):r)),A(m(a),"rgba")}function D(t,e){var n=g(t);if(n&&null!=e)return n[3]=s(e),A(n,"rgba")}function A(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 k(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 C(){return A([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var I=new r.Ay(100);function O(t){if((0,i.isString)(t)){var e=I.get(t);return e||(e=_(t,-.1),I.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}},64606(t,e,n){n.d(e,{rR:()=>C,UJ:()=>D,Qh:()=>A,uc:()=>k});n(44114);var r=n(62826),i=n(79231),o=n(61316),a=n(81658),s=o.A.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]),T=l(e[2]*e[2]+e[3]*e[3]),M=h(-e[1]/T,e[0]/b);p[i]*=b,p[i++]+=w,p[i]*=T,p[i++]+=S,p[i++]*=b,p[i++]*=T,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 D=u[c];D[0]=p[i++],D[1]=p[i++],(0,a.applyTransform)(D,D,e),p[o++]=D[0],p[o++]=D[1]}}t.increaseVersion()}}var f=n(52577),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,T=(t+n)/2+y(c)*S-d(c)*b,M=(e+r)/2+d(c)*S+y(c)*b,D=_([1,0],[(f-S)/a,(g-b)/s]),A=[(f-S)/a,(g-b)/s],k=[(-1*f-S)/a,(-1*g-b)/s],C=_(A,k);if(m(A,k)<=-1&&(C=v),m(A,k)>=1&&(C=0),C<0){var I=Math.round(C/v*1e6)/1e6;C=2*v+I%2*v}h.addData(l,T,M,a,s,D,C,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.C6)(e,t),e.prototype.applyTransform=function(t){},e}(i.Ay);function T(t){return null!=t.setData}function M(t,e){var n=function(t){var e=new o.A;if(!t)return e;var n,r=0,i=0,a=r,s=i,u=o.A.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,T=void 0,M=void 0,D=void 0,A=void 0,k=r,C=i,I=void 0,O=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,I=e.len(),O=e.data,n===u.C&&(m+=r-O[I-4],_+=i-O[I-3]),p=u.C,k=d[g++],C=d[g++],r=d[g++],i=d[g++],e.addData(p,m,_,k,C,r,i);break;case"s":m=r,_=i,I=e.len(),O=e.data,n===u.C&&(m+=r-O[I-4],_+=i-O[I-3]),p=u.C,k=r+d[g++],C=i+d[g++],r+=d[g++],i+=d[g++],e.addData(p,m,_,k,C,r,i);break;case"Q":k=d[g++],C=d[g++],r=d[g++],i=d[g++],p=u.Q,e.addData(p,k,C,r,i);break;case"q":k=d[g++]+r,C=d[g++]+i,r+=d[g++],i+=d[g++],p=u.Q,e.addData(p,k,C,r,i);break;case"T":m=r,_=i,I=e.len(),O=e.data,n===u.Q&&(m+=r-O[I-4],_+=i-O[I-3]),r=d[g++],i=d[g++],p=u.Q,e.addData(p,m,_,r,i);break;case"t":m=r,_=i,I=e.len(),O=e.data,n===u.Q&&(m+=r-O[I-4],_+=i-O[I-3]),r+=d[g++],i+=d[g++],p=u.Q,e.addData(p,m,_,r,i);break;case"A":b=d[g++],T=d[g++],M=d[g++],D=d[g++],A=d[g++],x(k=r,C=i,r=d[g++],i=d[g++],D,A,b,T,M,p=u.A,e);break;case"a":b=d[g++],T=d[g++],M=d[g++],D=d[g++],A=d[g++],x(k=r,C=i,r+=d[g++],i+=d[g++],D,A,b,T,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){var e,r=T(t);r&&t.canSave()?(t.appendPath(n),(e=t.getContext())&&t.rebuildPath(e,1)):(e=r?t.getContext():t)&&n.rebuildPath(e,1)},r.applyTransform=function(t){c(n,t),this.dirtyShape()},r}function D(t,e){return new b(M(t,e))}function A(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.C6)(e,t),e}(b)}function k(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.Ay(e);return s.createPathProxy(),s.buildPath=function(t){if(T(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},s}function C(t,e){e=e||{};var n=new i.Ay;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}}};