UNPKG

iobroker.lovelace

Version:

With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI

1 lines 277 kB
"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[37552],{61806:function(t,e,n){var r=n(46518),i=n(28551),o=n(97040),a=n(72652),u=n(1767);r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var t=[],e=0;return a(u(i(this)),function(n){o(t,e++,n)},{IS_RECORD:!0}),t}})},34594:function(t,e,n){n(15823)("Float32",function(t){return function(e,n,r){return t(this,e,n,r)}})},29833:function(t,e,n){n(15823)("Float64",function(t){return function(e,n,r){return t(this,e,n,r)}})},95477:function(t,e,n){n(15823)("Int32",function(t){return function(e,n,r){return t(this,e,n,r)}})},61740:function(t,e,n){n(15823)("Uint32",function(t){return function(e,n,r){return t(this,e,n,r)}})},52557:function(t,e,n){n.d(e,{Jw:function(){return o},LR:function(){return l},LW:function(){return s},Nz:function(){return c},Xr:function(){return d},ap:function(){return p},oi:function(){return u},t5:function(){return f}});var r=n(52577),i=(0,n(6471).$r)();function o(t,e,n,i,o){var a;if(e&&e.ecModel){var u=e.ecModel.getUpdatePayload();a=u&&u.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,c=void 0,h=void 0;return i?(l=(0,r.retrieve2)(i.duration,200),c=(0,r.retrieve2)(i.easing,"cubicOut"),h=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),c=e.getShallow(s?"animationEasingUpdate":"animationEasing"),h=e.getShallow(s?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(l=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(h=a.delay)),(0,r.isFunction)(h)&&(h=h(n,o)),(0,r.isFunction)(l)&&(l=l(n)),{duration:l||0,delay:h,easing:c}}return null}function a(t,e,n,i,a,u,s){var l,c=!1;(0,r.isFunction)(a)?(s=u,u=a,a=null):(0,r.isObject)(a)&&(u=a.cb,s=a.during,c=a.isFrom,l=a.removeOpt,a=a.dataIndex);var h="leave"===t;h||e.stopAnimation("leave");var f=o(t,i,a,h?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:u,force:!!u||!!s,setToFinal:!h,scope:t,during:s};c?e.animateFrom(n,p):e.animateTo(n,p)}else e.stopAnimation(),!c&&e.attr(n),s&&s(1),u&&u()}function u(t,e,n,r,i,o){a("update",t,e,n,r,i,o)}function s(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 c(t,e,n,r,i,o){l(t)||a("leave",t,e,n,r,i,o)}function h(t,e,n,r){t.removeTextContent(),t.removeTextGuideLine(),c(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||h(t,e,n,r)}):h(t,e,n,r)}function p(t){i(t).oldStyle=t.style}function d(t){return i(t).oldStyle}},50551:function(t,e,n){n.d(e,{A:function(){return 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),u=n.progressiveRender=!(!r||!r.progressiveRender);return!(i===a&&o===u)&&"reset"}}},62876:function(t,e,n){n.d(e,{J:function(){return u}});n(44114);var r=n(52577),i=n(16890),o=n(46802),a=n(6471);function u(t){var e,n,u,s,l=t.series,c=t.dataIndex,h=t.multipleSeries,f=l.getData(),p=f.mapDimensionsAll("defaultedTooltip"),d=p.length,y=l.getRawValue(c),v=(0,r.isArray)(y),g=(0,i.aw)(l,c);if(d>1||v&&!d){var m=function(t,e,n,a,u){var s=e.getData(),l=(0,r.reduce)(t,function(t,e,n){var r=s.getDimensionInfo(n);return t||r&&!1!==r.tooltip&&null!=r.displayName},!1),c=[],h=[],f=[];function p(t,e){var n=s.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(l?f.push((0,i.Qx)("nameValue",{markerType:"subItem",markerColor:u,name:n.displayName,value:t,valueType:n.type})):(c.push(t),h.push(n.type)))}return a.length?(0,r.each)(a,function(t){p((0,o.QE)(s,n,t),t)}):(0,r.each)(t,p),{inlineValues:c,inlineValueTypes:h,blocks:f}}(y,l,c,p,g);e=m.inlineValues,n=m.inlineValueTypes,u=m.blocks,s=m.inlineValues[0]}else if(d){var _=f.getDimensionInfo(p[0]);s=e=(0,o.QE)(f,c,p[0]),n=_.type}else s=e=v?y[0]:y;var x=(0,a.O0)(l),w=x&&l.name||"",S=f.getName(c),b=h?w:S;return(0,i.Qx)("section",{header:w,noHeader:h||!x,sortParam:s,blocks:[(0,i.Qx)("nameValue",{markerType:"item",markerColor:g,name:b,noName:!(0,r.trim)(b),value:e,valueType:n,rawDataIndex:f.getRawIndex(c)})].concat(u||[])})}},16890:function(t,e,n){n.d(e,{CO:function(){return T},Qx:function(){return d},Yu:function(){return x},aw:function(){return b},lb:function(){return M}});n(44114),n(94490),n(26910);var r=n(305),i=n(95259),o=n(52577),a=n(10862),u=n(88877),s=n(16418),l="line-height:1";function c(t){var e=t.lineHeight;return null==e?l:"line-height:"+(0,r.Me)(e+"")+"px"}function h(t,e){var n=t.color||s.A.color.tertiary,i=t.fontSize||12,o=t.fontWeight||"400",a=t.color||s.A.color.secondary,u=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)(u+"")+"px;color:"+(0,r.Me)(a)+";font-weight:"+(0,r.Me)(l+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:o},valueStyle:{fontSize:u,fill:a,fontWeight:l}}}var f=[0,10,20,30],p=["","\n","\n\n","\n\n\n"];function d(t,e){return e.type=t,e}function y(t){return"section"===t.type}function v(t){return y(t)?m:_}function g(t){if(y(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=g(t);n>=e&&(e=n+ +(r&&(!n||y(t)&&!t.noHeader)))}),e}return 0}function m(t,e,n,u){var s,l=e.noHeader,d=(s=g(e),{html:f[s],richText:p[s]}),y=[],m=e.blocks||[];(0,o.assert)(!m||(0,o.isArray)(m)),m=m||[];var _=t.orderMode;if(e.sortBlocks&&_){m=m.slice();var x={valueAsc:"asc",valueDesc:"desc"};if((0,o.hasOwn)(x,_)){var b=new a.Fl(x[_],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=v(n)(i?(0,o.extend)((0,o.extend)({},t),{valueFormatter:i}):t,n,r>0?d.html:0,u);null!=a&&y.push(a)});var T="richText"===t.renderMode?y.join(d.richText):w(u,y.join(""),l?n:d.html);if(l)return T;var M=(0,i.yC)(e.header,"ordinal",t.useUTC),D=h(u,t.renderMode).nameStyle,A=c(u);return"richText"===t.renderMode?S(t,M,D)+d.richText+T:w(u,'<div style="'+D+";"+A+';">'+(0,r.Me)(M)+"</div>"+T,n)}function _(t,e,n,a){var u=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||s.A.color.secondary,u),g=l?"":(0,i.yC)(p,"ordinal",d),m=e.valueType,_=c?[]:y(e.value,e.rawDataIndex),x=!f||!l,b=!f&&l,T=h(a,u),M=T.nameStyle,D=T.valueStyle;return"richText"===u?(f?"":v)+(l?"":S(t,g,M))+(c?"":function(t,e,n,r,i){var a=[i],u=r?10:20;return n&&a.push({padding:[0,0,0,u],align:"right"}),t.markupStyleCreator.wrapRichTextStyle((0,o.isArray)(e)?e.join("  "):e,a)}(t,_,x,b,D)):w(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",u=e?"float:right;margin-left:"+a:"";return t=(0,o.isArray)(t)?t:[t],'<span style="'+u+";"+i+'">'+(0,o.map)(t,function(t){return(0,r.Me)(t)}).join("&nbsp;&nbsp;")+"</span>"}(_,x,b,D)),n)}}function x(t,e,n,r,i,o){if(t)return v(t)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function w(t,e,n){return'<div style="'+("margin: "+n+"px 0 0")+";"+c(t)+';">'+e+'<div style="clear:both"></div></div>'}function S(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function b(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,i.he)(n)}function T(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var M=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,u.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:function(t,e,n){n.d(e,{Xf:function(){return s},fE:function(){return h},kf:function(){return l},m7:function(){return v}});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 u=1,s=2;function l(t){c.set(t.fullType,{getCoord2:void 0}).getCoord2=t.getCoord2}var c=r.createHashMap();function h(t){var e=t.getShallow("coord",!0),n=u;if(null==e){var r=c.get(t.type);r&&r.getCoord2&&(n=s,e=r.getCoord2(t))}return{coord:e,from:n}}var f=0,p=1,d=2;function y(t,e){var n=t.getShallow("coordinateSystem"),r=t.getShallow("coordinateSystemUsage",!0),o=f;if(n){var a="series"===t.mainType;null==r&&(r=a?"data":"box"),"data"===r?(o=p,a||(o=f)):"box"===r&&(o=d,a||function(t){return!!i[t]}(n)||(o=f))}return{coordSysType:n,kind:o}}function v(t){var e=t.targetModel,n=t.coordSysType,r=t.coordSysProvider,i=t.isDefaultDataCoordSys;t.allowNotFound;var o=y(e),a=o.kind,u=o.coordSysType;if(i&&a!==p&&(a=p,u=n),a===f||u!==n)return f;var s=r(n,e);return s?(a===p?e.coordinateSystem=s:e.boxCoordinateSystem=s,a):f}e.Ay=a},1622:function(t,e,n){n.d(e,{k:function(){return u}});var r=n(52577),i=n(11975),o=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],a=function(t){r.each(o,function(e){this[e]=r.bind(t[e],t)},this)};function u(t,e){return e.mainType===i.t7?t.getViewOfSeriesModel(e):t.getViewOfComponentModel(e)}e.A=a},60789:function(t,e,n){n.d(e,{Lv:function(){return h},A$:function(){return p},pr:function(){return y},A4:function(){return d},E:function(){return f}});var r=n(99904),i=n(29342),o=n(52577),a="ZH",u="EN",s=u,l={},c={},h=i.A.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||s).toUpperCase().indexOf(a)>-1?a:s;function f(t,e){t=t.toUpperCase(),c[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===u?(0,o.clone)(e):(0,o.merge)((0,o.clone)(e),(0,o.clone)(l[s]),!1)}return(0,o.merge)((0,o.clone)(t),(0,o.clone)(l[s]),!1)}function d(t){return c[t]}function y(){return c[s]}f(u,{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:function(t,e,n){n.d(e,{U:function(){return 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,u=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),c=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}u===l&&s===c||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(i)),this._modBy=l,this._modDataCount=c;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,c);else this._doProgress(y,p,d,l,c)}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(s,l,c,h){e=s,t=l,n=c,r=h,i=Math.ceil(r/n),o.next=n>1&&r>0?u:a}};return o;function a(){return e<t?e++:null}function u(){var o=e%i*n+Math.ceil(e/i),a=e>=t?null:o<r?o:e;return e++,a}}()},30112:function(t,e,n){n(44114);function r(t){return null==t?0:t.length||1}function i(t){return t}var 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 u=i[a],s=n[u],l=r(s);if(l>1){var c=s.shift();1===s.length&&(n[u]=s[0]),this._update&&this._update(c,a)}else 1===l?(n[u]=null,this._update&&this._update(s,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 u=0;u<o.length;u++){var s=o[u],l=n[s],c=i[s],h=r(l),f=r(c);if(h>1&&1===f)this._updateManyToOne&&this._updateManyToOne(c,l),i[s]=null;else if(1===h&&f>1)this._updateOneToMany&&this._updateOneToMany(c,l),i[s]=null;else if(1===h&&1===f)this._update&&this._update(c,l),i[s]=null;else if(h>1&&f>1)this._updateManyToMany&&this._updateManyToMany(c,l),i[s]=null;else if(h>1)for(var p=0;p<h;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 u=0;u<a;u++)this._add&&this._add(o[u]);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 u="_ec_"+this[i](t[a],a);if(o||(n[a]=u),e){var s=e[u],l=r(s);0===l?(e[u]=a,o&&n.push(u)):1===l?e[u]=[s,a]:s.push(a)}}},t}();e.A=o},44207:function(t,e,n){n.d(e,{A_:function(){return f}});n(44114),n(54743),n(11745),n(16573),n(78100),n(77936),n(18111),n(22489),n(61701),n(29833),n(95477),n(3690),n(61740),n(48140),n(75044),n(21903),n(91134),n(28845),n(373),n(37467),n(44732),n(79577);var r,i=n(52577),o=n(11975),a=n(10862),u=n(66293),s=n(6471),l=n(88877),c=typeof Uint32Array===o.nk?Array:Uint32Array,h=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?c:h}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],u=a&&a.length;if(u!==r){for(var s=new o(r),l=0;l<u;l++)s[l]=a[l];t[e]=s}}else t[e]=new o(r)}var 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,u.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,s.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,s.X1)());for(var u=i[t],l=o;l<a;l++){var c=n[l]=e.parseAndCollect(n[l]);isNaN(c)||(u[0]=Math.min(c,u[0]),u[1]=Math.max(c,u[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,u=this.count(),s=u+Math.max(t.length,e||0),l=0;l<o;l++){g(n,l,(d=i[l]).type,s,!0)}for(var c=[],h=u;h<s;h++)for(var f=h-u,p=0;p<o;p++){var d=i[p],y=r.arrayRows.call(this,t[f]||c,d.property,f,p);n[p][h]=y;var v=a[p];y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}return this._rawCount=this._count=s,{start:u,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var r=this._provider,o=this._chunks,a=this._dimensions,u=a.length,l=this._rawExtent,c=(0,i.map)(a,function(t){return t.property}),h=0;h<u;h++){var f=a[h];l[h]||(l[h]=(0,s.X1)()),g(o,h,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<u;y++){var v=o[y],m=this._dimValueGetter(p,c[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,u=0,s=t[0],l=n._chunks,c=0;c<r;c++){var h=void 0,f=n.getRawIndex(c);if(0===a)h=e(c);else if(1===a){h=e(l[s][f],c)}else{for(var p=0;p<a;p++)o[p]=l[t[p]][f];o[p]=c,h=e.apply(null,o)}h&&(i[u++]=f)}return u<r&&(n._indices=i),n._count=u,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(),u=new(y(e._rawCount))(a),s=0,l=r[0],c=t[l][0],h=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])>=c&&w<=h||isNaN(w))&&(u[s++]=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>=c&&w<=h||isNaN(w))&&(S>=_&&S<=x||isNaN(S))&&(u[s++]=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])>=c&&w<=h||isNaN(w))&&(u[s++]=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&&(u[s++]=e.getRawIndex(g))}return s<a&&(e._indices=u),e._count=s,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(),u=[],l=t._rawExtent,c=0;c<e.length;c++)l[e[c]]=(0,s.X1)();for(var h=0;h<a;h++){for(var f=t.getRawIndex(h),p=0;p<o;p++)u[p]=r[e[p]][f];u[o]=h;var d=n&&n.apply(null,u);if(null!=d){"object"!=typeof d&&(i[0]=d,d=i);for(c=0;c<d.length;c++){var y=e[c],v=d[c],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],u=this.count(),s=0,l=Math.floor(1/e),c=this.getRawIndex(0),h=new(y(this._rawCount))(Math.min(2*(Math.ceil(u/l)+2),u));h[s++]=c;for(var f=1;f<u-1;f+=l){for(var p=Math.min(f+l,u-1),d=Math.min(f+2*l,u),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,u),S=f-1,b=a[c];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&&(h[s++]=Math.min(T,i),i=Math.max(T,i)),h[s++]=i,c=i}return h[s++]=this.getRawIndex(u-1),o._count=s,o._indices=h,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(),u=new(y(this._rawCount))(2*Math.ceil(a/i)),s=0,l=0;l<a;l+=i){var c=l,h=o[this.getRawIndex(c)],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<h&&(h=g,c=l+v),g>p&&(p=g,f=l+v)}var m=this.getRawIndex(c),_=this.getRawIndex(f);c<f?(u[s++]=m,u[s++]=_):(u[s++]=_,u[s++]=m)}return n._count=s,n._indices=u,n._updateGetRawIdx(),n},t.prototype.downSample=function(t,e,n,r){for(var i=this.clone([t],!0),o=i._chunks,a=[],u=Math.floor(1/e),l=o[t],c=this.count(),h=i._rawExtent[t]=(0,s.X1)(),f=new(y(this._rawCount))(Math.ceil(c/u)),p=0,d=0;d<c;d+=u){u>c-d&&(u=c-d,a.length=u);for(var v=0;v<u;v++){var g=this.getRawIndex(d+v);a[v]=l[g]}var m=n(a),_=this.getRawIndex(Math.min(d+r(a,m)||0,c-1));l[_]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[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 u=0,s=[];u<n;u++)s[u]=r[t[u]][a];s[u]=i,e.apply(null,s)}}},t.prototype.getDataExtent=function(t,e){var n=this._chunks[t],r=(0,s.X1)();if(!n)return r;var i=this.count();if(!this._indices&&!e)return this._rawExtent[t].slice();var o=this._extent,u=o[t]||(o[t]={}),l=(0,a.$6)(e),c=l.key,h=u[c];if(h)return h.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 u[c]=[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 u=0;u<o.length;u++)r._chunks[u]=a[u]?v(o[u]):o[u];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}();e.Ay=m},56145:function(t,e,n){n(16280),n(44114),n(54743),n(11745),n(16573),n(78100),n(77936),n(18111),n(22489),n(61701),n(95477),n(48140),n(75044),n(21903),n(91134),n(28845),n(373),n(37467),n(44732),n(79577);var r,i,o,a,u,s,l,c=n(52577),h=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=c.isObject,b=c.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={},u=!1,s={},l=0;l<n.length;l++){var h=n[l],f=c.isString(h)?new y.A({name:h}):h instanceof y.A?h:new y.A(h),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!=s[p]&&(u=!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(u),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var v=this._dimIdxToName=c.createHashMap();c.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(c.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)||c.isArrayLike(t)?new p.d1(t,o.length):t;r=new x.Ay;var u=b(o,function(t){return{type:i._dimInfos[t].type,property:t}});r.initData(a,u,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 u=a-r;this._nameList[a]=e[u],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=[],u=t;u<e;u++){var s=n.getItem(u,a);if(!this.hasItemOption&&(0,g.zu)(s)&&(this.hasItemOption=!0),s){var c=s.name;null==i[u]&&null!=c&&(i[u]=(0,g.vS)(c,null));var h=s.id;null==o[u]&&null!=h&&(o[u]=(0,g.vS)(h,null))}}if(this._shouldMakeIdFromName())for(u=t;u<e;u++)l(this,u);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)?c.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 c.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){c.isFunction(t)&&(n=e,e=t,t=[]);var r=n||this,i=b(a(t),this._getStoreDimIndex,this);this._store.each(i,r?c.bind(e,r):e)},t.prototype.filterSelf=function(t,e,n){c.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?c.bind(e,r):e),this},t.prototype.selectRange=function(t){var e=this,n={},r=c.keys(t),i=[];return c.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){c.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),u=s(this);return u._store=this._store.map(o,i?c.bind(e,i):e),u},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?c.bind(e,i):e)},t.prototype.downSample=function(t,e,n,r){var i=s(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),e,n,r),i},t.prototype.minmaxDownSample=function(t,e){var n=s(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},t.prototype.lttbDownSample=function(t,e){var n=s(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 h.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)?c.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),c.isArray(i)?i=i.slice():S(i)&&(i=c.extend({},i)),r[e]=i),i},t.prototype.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{};this._itemVisuals[t]=r,S(e)?c.extend(r,e):r[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){S(t)?c.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?c.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){c.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)),u(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];c.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(c.slice(arguments)))})},t.internalField=(r=function(t){var e=t._invertedIndicesMap;c.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 u=0;u<n.length;u++)n[u]=-1;for(u=0;u<a.count();u++)n[a.get(i.storeDimIndex,u)]=u}})},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 c.isArray(t)||(t=null!=t?[t]:[]),t},s=function(e){var n=new t(e._schema?e._schema:b(e.dimensions,e._getDimInfo,e),e.hostModel);return u(n,e),n},u=function(t,e){c.each(M.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,c.each(D,function(n){t[n]=c.clone(e[n])}),t._calculationInfo=c.extend({},e._calculationInfo)},void(l=function(t,e){var n=t._nameList,r=t._idList,i=t._nameDimIdx,a=t._idDimIdx,u=n[e],s=r[e];if(null==u&&null!=i&&(n[e]=u=o(t,i,e)),null==s&&null!=a&&(r[e]=s=o(t,a,e)),null==s&&null!=u){var l=t._nameRepeatCount,c=l[u]=(l[u]||0)+1;s=u,c>1&&(s+="__ec__"+c),r[e]=s}})),t}();e.A=A},7202:function(t,e,n){var r=n(52577),i=function(t){this.otherDims={},null!=t&&r.extend(this,t)};e.A=i},66293:function(t,e,n){n.d(e,{AF:function(){return c},BE:function(){return h},O0:function(){return y},gV:function(){return l},tP:function(){return s},wZ:function(){return f}});n(44114);var r=n(52577),i=n(11975),o=n(6471),a=n(8858),u=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 s(t){return t instanceof u}function l(t,e,n){n=n||f(t);var a=e.seriesLayoutBy,s=function(t,e,n,a,u){var s,l;if(!t)return{dimensionsDefine:p(u),startIndex:l,dimensionsDetectedCount:s};if(e===i.Km){var c=t;"auto"===a||null==a?d(function(t){null!=t&&"-"!==t&&((0,r.isString)(t)?null==l&&(l=1):l=0)},n,c,10):l=(0,r.isNumber)(a)?a:a?1:0,u||1!==l||(u=[],d(function(t,e){u[e]=null!=t?t+"":""},n,c,1/0)),s=u?u.length:n===i.oC?c.length:c[0]?c[0].length:null}else if(e===i.Wk)u||(u=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)u||(u=[],(0,r.each)(t,function(t,e){u.push(e)}));else if(e===i.mK){var h=(0,o.vj)(t[0]);s=(0,r.isArray)(h)&&h.length||1}else i.XO;return{startIndex:l,dimensionsDefine:p(u),dimensionsDetectedCount:s}}(t,n,a,e.sourceHeader,e.dimensions);return new u({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:s.dimensionsDefine,startIndex:s.startIndex,dimensionsDetectedCount:s.dimensionsDetectedCount,metaRawOption:(0,r.clone)(e)})}function c(t){return new u({data:t,sourceFormat:(0,r.isTypedArray)(t)?i.XO:i.mK})}function h(t){return new u({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 u in t)if((0,r.hasOwn)(t,u)&&(0,r.isArrayLike)(t[u])){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:function(t,e,n){n.d(e,{Tc:function(){return s},eS:function(){return f},fg:function(){return l},io:function(){return c},j_:function(){return h}});n(44114),n(27495),n(25440);var r=n(52577),i=n(6471),o=n(66293),a=(0,i.$r)(),u={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},s=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=h(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,s=0;a<t;a++){var l=void 0,c=void 0,h=void 0,p=this.dimensions[s];if(p&&p.storeDimIndex===a)l=e?p.name:null,c=p.type,h=p.ordinalMeta,s++;else{var d=this.getSourceDimension(a);d&&(l=e?d.name:null,c=d.type)}i.push({property:l,type:c,ordinalMeta:h}),!e||null==l||p&&p.isCalculationCoord||(r+=n?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),r+="$",r+=u[c]||"f",h&&(r+=h.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 s}function c(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 h(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=c(t.dimensionsDefine))}function f(t){return t>30}},6166:function(t,e,n){n.d(e,{A:function(){return f},M:function(){return h}});n(44114),n(26910);var r=n(11975),i=n(7202),o=n(52577),a=n(66293),u=n(44207),s=n(6471),l=n(8858),c=n(35461);function h(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||[],h=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,h,e.dimensionsCount),v=e.canOmitUnusedDimensions&&(0,c.eS)(y),g=h===t.dimensionsDefine,m=g?(0,c.j_)(t):(0,c.io)(h),_=e.encodeDefine;!_&&e.encodeDefaulter&&(_=e.encodeDefaulter(t,y));for(var x=(0,o.createHashMap)(_),w=new u.A_(y),S=0;S<w.length;S++)w[S]=-1;function b(t){var e=w[t];if(e<0){var n=h[t],r=(0,o.isObject)(n)?n:{name:n},a=new i.A,u=r.name;null!=u&&null!=m.get(u)&&(a.name=a.displayName=u),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var s=d.length;return w[t]=s,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,s.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 u=x.get(e);if(!1!==u){if(!(u=(0,s.qB)(u)).length)for(var l=0;l<(n&&n.length||1);l++){for(;T<y&&null!=b(T).coordDim;)T++;T<y&&u.push(T++)}(0,o.each)(u,function(t,a){var u=b(t);if(g&&null!=i.type&&(u.type=i.type),M((0,o.defaults)(u,i),e,a),null==u.name&&n){var s=n[a];!(0,o.isObject)(s)&&(s={name:s}),u.name=u.displayName=s.name,u.defaultTooltip=s.defaultTooltip}r&&(0,o.defaults)(u.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,s.R3)(d,function(t){return t.name},function(t,e){e>0&&(t.name=t.name+(e-1))}),new c.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:function(t,e,n){n.d(e,{Kd:function(){return w},QE:function(){return D},d1:function(){return d},sC:function(){return m},uQ:function(){return T}});n(16280),n(44114);var r,i,o,a,u,s,l=n(52577),c=n(6471),h=n(66293),f=n(11975),p=n(22752),d=function(){function t(t,e){var n=(0,h.tP)(t)?t:(0,h.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),s(this,r,n)}var e;return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=((e=t.prototype).pure=!1,void(e.persistent=!0)),t.internalField=function(){var t;s=function(t,i,o){var a=o.sourceFormat,s=o.seriesLayoutBy,c=o.startIndex,h=o.dimensionsDefine,p=u[M(a,s)];if((0,l.extend)(t,p),a===f.XO)t.getItem=e,t.count=r,t.fillStorage=n;else{var d=m(a,s);t.getItem=(0,l.bind)(d,null,i,c,h);var y=w(a,s);t.count=(0,l.bind)(y,null,i,c,h)}};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 u=r[a],s=null==u[0]?1/0:u[0],l=null==u[1]?-1/0:u[1],c=e-t,h=n[a],f=0;f<c;f++){var p=i[f*o+a];h[t+f]=p,p<s&&(s=p),p>l&&(l=p)}u[0]=s,u[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}},u=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,u=0;u<a.length;u++){var s=a[u];o[u]=s?s[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 u=n[a].name,s=null!=u?t[u]:null;o[a]=s?s[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,c.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),u=i.getDimensionProperty(a);return T(o)(r,a,u)}var s=r;return o===f.mK&&(s=(0,c.vj)(r)),s}}}},10862:function(t,e,n){n.d(e,{$6:function(){return d},Fl:function(){return h},Pn:function(){return a},V7:function(){return y},zC:function(){return s},zs:function(){return 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 u=(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 s(t){return u.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}},c=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}(),h=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),u=isNaN(o);if(a&&(n=this._incomparable),u&&(o=this._incomparable),a&&u){var s=(0,i.isString)(t),l=(0,i.isString)(e);s&&(n=l?t:0),l&&(o=s?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 c(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:function(t,e,n){n.d(e,{B:function(){return s},l:function(){return 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={},s=(0,r.createHashMap)(),l=[],c=[],h={};(0,r.each)(t.dimensions,function(e){var n,r=t.getDimensionInfo(e),o=r.coordDim;if(o){0;var f=r.coordDimIndex;u(a,o)[f]=e,r.isExtraCoord||(s.set(o,1),"ordinal"!==(n=r.type)&&"time"!==n&&(l[0]=e),u(h,o)[f]=t.getDimensionIndex(r.name)),r.defaultTooltip&&c.push(e)}i.Pe.each(function(t,e){var n=u(a,e),i=r.otherDims[e];null!=i&&!1!==i&&(n[i]=r.name)})});var f=[],p={};s.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?c=y.slice():c.length||(c=l.slice()),a.defaultedLabel=l,a.defaultedTooltip=c,n.userOutput=new o(h,e),n}function u(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function s(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},8858:function(t,e,n){n.d(e,{G9:function(){return h},Gt:function(){return f},OC:function(){return l},PU:function(){return p},ln:function(){return c},ps:function(){return s},sc:function(){return a}});n(44114);var r=n(6471),i=n(52577),o=n(11975),a={Must:1,Might:2,Not:3},u=(0,r.$r)();function s(t){u(t).datasetMap=(0,i.createHashMap)()}function l(t,e,n){var r={},o=h(e);if(!o||!t)return r;var a,s,l=[],c=[],f=e.ecModel,p=u(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,s=g(o)),r[o.name]=[]});var y=p.get(d)||p.set(d,{categoryWayDim:s,valueWayDim:0});function v(t,e,n){for(var r=0;r<n;r++)t.push(e+r)}function g(t){var e=t.dimsDef;return e?e.length:1}return(0,i.each)(t,function(t,e){var n=t.name,i=g(t);if(null==a){var o=y.valueWayDim;v(r[n],o,i),v(c,o,i),y.valueWayDim+=i}else if(a===e)v(r[n],0,i),v(l,0,i);else{o=y.categoryWayDim;v(r[n],o,i),v(c,o,i),y.categoryWayDim+=i}}),l.length&&(r.itemName=l),c.length&&(r.seriesName=c),r}function c(t,e,n){var r={};if(!h(t))return r;var u,s=e.sourceFormat,l=e.dimensionsDefine;s!==o.Wk&&s!==o.t1||(0,i.each)(l,function(t,e){"name"===((0,i.isObject)(t)?t.name:t)&&(u=e)});var c=function(){for(var t={},r={},i=[],o=0,c=Math.min(5,n);o<c;o++){var h=d(e.data,s,e.seriesLayoutBy,l,e.startIndex,o);i.push(h);var f=h===a.Not;if(f&&null==t.v&&o!==u&&(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||(h===a.Might&&null==r.v&&o!==u&&(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(c){r.value=[c.v];var f=null!=u?u:c.n;r.itemName=[f],r.seriesName=[f]}return r}function h(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,u,s,l){var c,h,f;if((0,i.isTypedArray)(t))return a.Not;if(u){var p=u[l];(0,i.isObject)(p)?(h=p.name,f=p.type):(0,i.isString)(p)&&(h=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!=(c=b(y[s+v])))return c}else for(v=0;v<d.length&&v<5;v++){var g=d[s+v];if(g&&null!=(c=b(g[l])))return c}}else if(e===o.Wk){var m=t;if(!h)return a.Not;for(v=0;v<m.length&&v<5;v++){if((w=m[v])&&null!=(c=b(w[h])))return c}}else if(e===o.t1){var _=t;if(!h)return a.Not;if(!(y=_[h])||(0,i.isTypedArray)(y))return a.Not;for(v=0;v<y.length&&v<5;v++)if(null!=(c=b(y[v])))return c}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!=(c=b(S[l])))return c}}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:function(t,e,n){n.d(e,{A:function(){return h},R:function(){return c}});n(16280),n(44114);var r=n(52577),i=n(66293),o=n(11975),a=n(8858),u=n(29119),s=n(44207),l=n(46802),c=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(),u=!!a.length;if(f(n)){var s=n,l=void 0,c=void 0,h=void 0;if(u){var p=a[0];p.prepareSource(),l=(h=p.getSource()).data,c=h.sourceFormat,e=[p._getVersionSign()]}else l=s.get("data",!0),c=(0,r.isTypedArray)(l)?o.XO:o.mK,e=[];var d=this._getSourceMetaRawOption()||{},y=h&&h.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},c)]:[]}else{var _=n;if(u){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 s=[],l=[];return(0,r.each)(t,function(t){t.prepareSource();var e=t.getSource(a||0);null==a||e||p(""),s.push(e),l.push(t._getVersionSign())}),o?e=(0,u.py)(o,s,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,i.BE)(s[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 s.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 h(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:function(t,e,n){n.d(e,{py:function(){return g},v5:function(){return v}});n(16280),n(44114);var r=n(11975),i=n(6471),o=n(52577),a=n(46802),u=n(10862),s=n(22752),l=n(66293),c=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,u.Pn)(t,e)},t}();function h(t){if(!_(t.sourceFormat)){0,(0,s.$8)("")}return t.data}function f(t){var e=t.sourceFormat,n=t.data;if(!_(e)){0,(0,s.$8)("")}if(e===r.Km){for(var i=[],a=0,u=n.length;a<u;a++)i.push(n[a].slice());return i}if(e===r.Wk){for(i=[],a=0,u=n.length;a<u;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,s.$8)("");var n=e.split(":");2!==n.length&&(0,s.$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,s.$8)("");for(var a=0,u=o;a<u;a++){e=m(r[a],e,n,1===o?null:a),a!==u-1&&(e.length=Math.max(e.length,1))}return e}function m(t,e,n,u){e.length||(0,s.$8)(""),(0,o.isObject)(t)||(0,s.$8)("");var v=t.type,g=y.get(v);g||(0,s.$8)("");var m=(0,o.map)(e,function(t){return function(t,e){var n=new c,i=t.data,u=n.sourceFormat=t.sourceFormat,l=t.startIndex;t.seriesLayoutBy!==r.i_&&(0,s.$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,s.$8)(""),v[n]=r)});else for(var m=0;m<t.dimensionsDetectedCount;m++)y.push({index:m});var _=(0,a.sC)(u,r.i_);e.__isBuiltIn&&(n.getRawDataItem=function(t){return _(i,l,y,t)},n.getRawData=(0,o.bind)(h,null,t)),n.cloneRawData=(0,o.bind)(f,null,t);var x=(0,a.Kd)(u,r.i_);n.count=(0,o.bind)(x,null,i,l,y);var w=(0,a.uQ)(u);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,s.$8)(""),t.data||(0,s.$8)(""),_((0,l.wZ)(t.data))||(0,s.$8)("");var a=e[0];if(a&&0===n&&!t.dimensions){var u=a.startIndex;u&&(t.data=a.data.slice(0,u).concat(t.data)),i={seriesLayoutBy:r.i_,sourceHeader:u,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:function(t,e,n){n.d(e,{Br:function(){return b},Lu:function(){return x},Oh:function(){return w},VB:function(){return p},c8:function(){return _},lx:function(){return f},qM:function(){return h},sD:function(){return d},xb:function(){return S}});var r=n(47263),i=n(52577),o=n(9078),a=n(6471),u=n(52557),s={};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 u=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(u,!0)}function c(t,e,n){var r,a=t.labelFetcher,u=t.labelDataIndex,s=t.labelDimIndex,l=e.normal;a&&(r=a.getFormattedLabel(u,"normal",null,s,l&&l.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=(0,i.isFunction)(t.defaultText)?t.defaultText(u,t,n):t.defaultText);for(var c={normal:r},h=0;h<o.BV.length;h++){var f=o.BV[h],p=e[f];c[f]=(0,i.retrieve2)(a?a.getFormattedLabel(u,f,null,s,p&&p.get("formatter")):null,r)}return c}function h(t,e,n,a){n=n||s;for(var u=t instanceof r.Ay,h=!1,f=0;f<o.wV.length;f++){if((w=e[o.wV[f]])&&w.getShallow("show")){h=!0;break}}var y=u?t:t.getTextContent();if(h){u||(y||(y=new r.Ay,t.setTextContent(y)),t.stateProxy&&(y.stateProxy=t.stateProxy));var v=c(n,e),g=e.normal,m=!!g.getShallow("show"),_=p(g,a&&a.normal,n,!1,!u);_.text=v.normal,u||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,!u),b.style.text=v[S],!u)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=c(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||s;var a,u=e.ecModel,l=u&&u.option.textStyle,c=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||s).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(c){a={};var h="richInheritPlainLabel",f=(0,i.retrieve2)(e.get(h),u?u.get(h):void 0);for(var p in c)if(c.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"),u=(0,i.retrieve2)(t.getShallow("distance"),n?null:5),s=t.getShallow("offset");return"outside"===(r=t.getShallow("position")||(n?null:"inside"))&&(r=e.defaultOutsidePosition||"top"),null!=r&&(o.position=r),null!=s&&(o.offset=s),null!=a&&(a*=Math.PI/180,o.rotation=a),null!=u&&(o.distance=u),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,u,l,c,h){n=!u&&n||s;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),u||null!=m||h||(m=a&&a.defaultOpacity),null!=m&&(t.opacity=m),u||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(!c||!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 s=x(t);if(s.valueAnimation&&s.prevValue!==s.value){var h=s.defaultInterpolatedText,f=(0,i.retrieve2)(s.interpolatedValue,s.prevValue),p=s.value;t.percent=0,(null==s.prevValue?u.LW:u.oi)(t,{percent:1},r,e,null,function(r){var i=(0,a.Il)(n,s.precision,f,p,r);s.interpolatedValue=1===r?null:i;var u=c({labelDataIndex:e,labelFetcher:o,defaultText:h?h(i):i+""},s.statesModels,i);l(t,u)})}}var b={minMargin:1,textMargin:2}},45860:function(t,e,n){n(44114),n(13609);var r=n(40445),i=n(52577),o=n(99904),a=n(28449),u=n(86228),s=n(6471),l=n(83354),c=(0,s.$r)(),h=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,u._E)(t))return t.defaultOption;var e=c(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={},s=n.length-1;s>=0;s--)a=i.merge(a,n[s],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",r=t+"Id";return(0,s.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,u.q7)(h,o.A),(0,u.tQ)(h),a.A6(h),a.vf(h,function(t){var e=[];i.each(h.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=i.map(e,function(t){return(0,u.CC)(t).main}),"dataset"!==t&&i.indexOf(e,"dataset")<=0&&e.unshift("dataset");return e}),e.A=h},99904:function(t,e,n){n.d(e,{A:function(){return 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}(),u=n(79825),s=n(47263),l=["textStyle","color"],c=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],h=new s.Ay,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,u.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<c.length;n++)e[c[n]]=this.getShallow(c[n]);return h.useStyle(e),h.update(),h.getBoundingRect()},t}(),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);var g=v},5990:function(t,e,n){n.d(e,{U:function(){return g}});n(44114);var r=n(40445),i=n(52577),o=n(29342),a=n(6471),u=n(45860),s=n(41022),l=n(1242),c=n(83354),h=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,h.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,c.ad)(this),r=n?(0,c.vs)(t):{},o=this.subType;u.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,c.YA)(t,r,n)},e.prototype.mergeOption=function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,c.ad)(this);n&&(0,c.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 u=a.dataToCoord(n);null==r&&(r=1/0);for(var s=[],l=1/0,c=-1,h=0,f=i.getDimensionIndex(e),p=i.getStore(),d=0,y=p.count();d<y;d++){var v=p.get(f,d),g=u-a.dataToCoord(v),m=Math.abs(g);m<=r&&((m<l||m===l&&g>=0&&c<0)&&(l=m,c=g,h=0),g===c&&(s[h++]=d))}return s.length=h,s},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=s.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,u=e.length;if(a&&u)if("series"===a)o.selectedMap="all";else if("multiple"===a){i.isObject(o.selectedMap)||(o.selectedMap={});for(var s=o.selectedMap,l=0;l<u;l++){var c=e[l];s[f=v(t,c)]=!0,this._selectedDataIndicesMap[f]=t.getRawIndex(c)}}else if("single"===a||!0===a){var h=e[u-1],f=v(t,h);o.selectedMap=((n={})[f]=!0,n),this._selectedDataIndicesMap=((r={})[f]=t.getRawIndex(h),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 u.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}(u.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,s.X),(0,f.q7)(m,u.A),e.A=m},1242:function(t,e,n){n.d(e,{J:function(){return u},L:function(){return s}});n(27495),n(25440);var r=n(52577),i=n(46802),o=n(95259),a=/\{@(.+?)\}/g,u=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),u=n.getItemVisual(t,"style"),s=u&&u[n.getItemVisual(t,"drawType")||"fill"],l=u&&u.stroke,c=this.mainType,h="series"===c,f=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:i,data:a,dataType:e,value:r,color:s,borderColor:l,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,u,s,l){e=e||"normal";var c=this.getData(n),h=this.getDataParams(t,n);(l&&(h.value=l.interpolatedValue),null!=u&&r.isArray(h.value)&&(h.value=h.value[u]),s)||(s=c.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return r.isFunction(s)?(h.status=e,h.dimensionIndex=u,s(h)):r.isString(s)?(0,o.YK)(s,h).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 u=(0,i.QE)(c,t,a);if(l&&r.isArray(l.interpolatedValue)){var s=c.getDimensionIndex(a);s>=0&&(u=l.interpolatedValue[s])}return null!=u?u+"":""}):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 s(t){var e,n;return r.isObject(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},85237:function(t,e,n){n.d(e,{L:function(){return i},s:function(){return 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:function(t,e,n){n.d(e,{J:function(){return a},m:function(){return 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:function(t,e,n){n.d(e,{A:function(){return 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={},u=0;u<t.length;u++){var s=t[u][1];if(!(i&&r.indexOf(i,s)>=0||o&&r.indexOf(o,s)<0)){var l=n.getShallow(s,e);null!=l&&(a[t[u][0]]=l)}}return a}}},41022:function(t,e,n){n.d(e,{X:function(){return a},x:function(){return u}});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 s(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 u(t,e,n,i){var a=(0,r.qB)(t.get(["aria","decal","decals"]));return s(t,o,a,null,e,n,i)}function s(t,e,n,r,i,o,a){var u=e(o=o||t),s=u.paletteIdx||0,l=u.paletteNameMap=u.paletteNameMap||{};if(l.hasOwnProperty(i))return l[i];var c=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((c=c||n)&&c.length){var h=c[s];return i&&(l[i]=h),u.paletteIdx=(s+1)%c.length,h}}},72983:function(t,e,n){n.d(e,{Bd:function(){return u},DL:function(){return a},mn:function(){return i},yM:function(){return 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 u(t){var e=t.brk;return!!e&&e.hasBreaks()}},86228:function(t,e,n){n.d(e,{CC:function(){return s},Od:function(){return p},_E:function(){return l},gq:function(){return c},q7:function(){return h},tQ:function(){return v}});n(16280),n(44114),n(27495);var r=n(40445),i=n(52577),o=".",a="___EC__COMPONENT__CONTAINER___",u="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var n=t.split(o);e.main=n[0]||"",e.sub=n[1]||""}return e}function l(t){return!(!t||!t[u])}function c(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[u]=!0,e.extend=this.extend,e.superCall=d,e.superApply=y,e.superClass=o,e}}function h(t,e){t.extend=e.extend}var f=Math.round(10*Math.random());function p(t){var e=["__\0is_clz",f++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function d(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[e].apply(t,n)}function y(t,e,n){return this.superClass.prototype[e].apply(t,n)}function v(t){var e={};t.registerClass=function(t){var n,r=t.type||t.prototype.type;if(r){n=r,i.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=r;var o=s(r);if(o.sub){if(o.sub!==a){var u=function(t){var n=e[t.main];n&&n[a]||((n=e[t.main]={})[a]=!0);return n}(o);u[o.sub]=t}}else e[o.main]=t}return t},t.getClass=function(t,n,r){var i=e[t];if(i&&i[a]&&(i=n?i[n]:null),r&&!i)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){var n=s(t),r=[],o=e[n.main];return o&&o[a]?i.each(o,function(t,e){e!==a&&r.push(t)}):r.push(o),r},t.hasClass=function(t){var n=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[a]}}},28449:function(t,e,n){n.d(e,{$Q:function(){return a},A6:function(){return u},G_:function(){return l},vf:function(){return s}});n(16280),n(44114);var r=n(52577),i=n(86228),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function u(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 s(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 u=function(t){var i={},o=[];return r.each(t,function(a){var u=n(i,a),s=function(t,e){var n=[];return r.each(t,function(t){r.indexOf(e,t)>=0&&n.push(t)}),n}(u.originalDeps=e(a),t);u.entryCount=s.length,0===u.entryCount&&o.push(a),r.each(s,function(t){r.indexOf(u.predecessor,t)<0&&u.predecessor.push(t);var e=n(i,t);r.indexOf(e.successor,t)<0&&e.successor.push(a)})}),{graph:i,noEntryList:o}}(i),s=u.graph,l=u.noEntryList,c={};for(r.each(t,function(t){c[t]=!0});l.length;){var h=l.pop(),f=s[h],p=!!c[h];p&&(o.call(a,h,f.originalDeps.slice()),delete c[h]),r.each(f.successor,p?y:d)}r.each(c,function(){throw new Error("")})}function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function y(t){c[t]=!0,d(t)}}}function l(t,e){return r.merge(r.merge({},t,!0),e,!0)}},95259:function(t,e,n){n.d(e,{Cb:function(){return s},JW:function(){return m},QX:function(){return l},YK:function(){return p},fU:function(){return y},he:function(){return g},ob:function(){return u},qg:function(){return d},x5:function(){return v},yC:function(){return c}});n(27495),n(25440);var r=n(52577),i=n(305),o=n(88877),a=n(76797);function u(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 s(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 c(t,e,n){function i(t){return t&&r.trim(t)?t:"-"}function s(t){return(0,o.YC)(t)}var l="time"===e,c=t instanceof Date;if(l||c){var h=l?(0,o._U)(t):t;if(!isNaN(+h))return(0,a.GP)(h,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(c)return"-"}if("ordinal"===e)return r.isStringSafe(t)?i(t):r.isNumber(t)&&s(t)?t+"":"-";var f=(0,o.Sm)(t);return s(f)?u(f):r.isStringSafe(t)?i(t):"boolean"==typeof t?t+"":"-"}var h=["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||[],u=0;u<a.length;u++){var s=h[u];t=t.replace(f(s),f(s,0))}for(var l=0;l<o;l++)for(var c=0;c<a.length;c++){var p=e[l][a[c]];t=t.replace(f(h[c],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 u=n.renderMode||"html";return o?"html"===u?"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:u,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",u=r[i+"FullYear"](),s=r[i+"Month"]()+1,l=r[i+"Date"](),c=r[i+"Hours"](),h=r[i+"Minutes"](),f=r[i+"Seconds"](),p=r[i+"Milliseconds"]();return t=t.replace("MM",(0,a.eV)(s,2)).replace("M",s).replace("yyyy",u).replace("yy",(0,a.eV)(u%100+"",2)).replace("dd",(0,a.eV)(l,2)).replace("d",l).replace("hh",(0,a.eV)(c,2)).replace("h",c).replace("mm",(0,a.eV)(h,2)).replace("m",h).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:function(t,e,n){n.r(e),n.d(e,{Arc:function(){return x.A},BezierCurve:function(){return _.A},BoundingRect:function(){return T.Ay},Circle:function(){return h.A},CompoundPath:function(){return w.A},Ellipse:function(){return f.A},Group:function(){return l.A},HOVER_LAYER_FOR_INCREMENTAL:function(){return E},HOVER_LAYER_FROM_THRESHOLD:function(){return B},HOVER_LAYER_NO:function(){return F},Image:function(){return s.Ay},IncrementalDisplayable:function(){return A.A},Line:function(){return m.A},LinearGradient:function(){return S.A},OrientedBoundingRect:function(){return M.A},Path:function(){return a.Ay},Point:function(){return D.A},Polygon:function(){return y.A},Polyline:function(){return v.A},RadialGradient:function(){return b.A},Rect:function(){return g.A},Ring:function(){return d.A},Sector:function(){return p.A},Text:function(){return c.Ay},WH:function(){return L},XY:function(){return R},applyTransform:function(){return J},calcZ2Range:function(){return xt},clipPointsByRect:function(){return rt},clipRectByRect:function(){return it},createIcon:function(){return ot},decomposeTransform:function(){return Tt},ensureCopyRect:function(){return gt},ensureCopyTransform:function(){return mt},expandOrShrinkRect:function(){return lt},extendPath:function(){return W},extendShape:function(){return z},getCurrentCanvasPainter:function(){return Dt},getShapeClass:function(){return j},getTransform:function(){return Q},groupTransition:function(){return nt},initProps:function(){return O.LW},isBoundingRectAxisAligned:function(){return yt},isElementRemoved:function(){return O.LR},lineLineIntersect:function(){return ut},linePolygonIntersect:function(){return at},makeImage:function(){return Y},makePath:function(){return q},mergePath:function(){return G},payloadDisableAnimation:function(){return bt},registerShape:function(){return V},removeElement:function(){return O.Nz},removeElementWithFadeOut:function(){return O.t5},resizePath:function(){return U},retrieveZInfo:function(){return _t},setTooltipConfig:function(){return ft},subPixelOptimize:function(){return Z},subPixelOptimizeLine:function(){return K},subPixelOptimizeRect:function(){return $},transformDirection:function(){return tt},traverseElements:function(){return dt},traverseUpdateZ:function(){return wt},updateProps:function(){return O.oi}});n(44114),n(27495),n(25440);var r=n(64606),i=n(16740),o=n(81658),a=n(79231),u=n(46881),s=n(6715),l=n(22785),c=n(47263),h=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 s.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=u.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 s.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 u=i[o];if(ut(t,e,n,r,u[0],u[1],a[0],a[1]))return!0;a=u}}function ut(t,e,n,r,i,o,a,u){var s,l=n-t,c=r-e,h=a-i,f=u-o,p=st(h,f,l,c);if((s=p)<=1e-6&&s>=-1e-6)return!1;var d=t-i,y=e-o,v=st(d,y,l,c)/p;if(v<0||v>1)return!1;var g=st(d,y,h,f)/p;return!(g<0||g>1)}function st(t,e,n,r){return t*r-n*e}function lt(t,e,n,r,i){return null==e||((0,C.isNumber)(e)?ct[0]=ct[1]=ct[2]=ct[3]=e:(ct[0]=e[0],ct[1]=e[1],ct[2]=e[2],ct[3]=e[3]),r&&(ct[0]=(0,P.JB)(0,ct[0]),ct[1]=(0,P.JB)(0,ct[1]),ct[2]=(0,P.JB)(0,ct[2]),ct[3]=(0,P.JB)(0,ct[3])),n&&(ct[0]=-ct[0],ct[1]=-ct[1],ct[2]=-ct[2],ct[3]=-ct[3]),ht(t,ct,"x","width",3,1,i&&i[0]||0),ht(t,ct,"y","height",0,2,i&&i[1]||0)),t}var ct=[0,0,0,0];function ht(t,e,n,r,i,o,a){var u=e[o]+e[i],s=t[r];t[r]+=u,a=(0,P.JB)(0,(0,P.rp)(a,s)),t[r]<a?(t[r]=a,t[n]+=e[i]>=0?-e[i]:e[o]>=0?s+e[o]:(0,P.NY)(u)>1e-8?(s-a)*e[i]/u: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,u={componentType:o,name:r,$vars:["name"]};u[o+"Index"]=a;var s=t.formatterParamsExtra;s&&(0,C.each)((0,C.keys)(s),function(t){(0,C.hasOwn)(u,t)||(u[t]=s[t],u.$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:u},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(),u=0;u<a.length;u++)r=(0,P.JB)(St(a[u],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 s=t.textGuideLineConfig;o.z=e,o.zlevel=n,isFinite(r)&&(o.z2=r+(s&&s.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,u.IT)(t,Mt),t}var Mt=new u.Ay;function Dt(t){var e=t.getZr().painter;return"canvas"===e.getType()?e:null}Mt.transform=i.create(),V("circle",h.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:function(t,e,n){n.d(e,{a:function(){return i},z:function(){return 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:function(t,e,n){n.d(e,{FJ:function(){return v},Lj:function(){return m},YA:function(){return w},aP:function(){return f},ad:function(){return x},dV:function(){return y},io:function(){return p},m$:function(){return _},vs:function(){return S},zH:function(){return d}});var r=n(52577),i=n(35723),o=n(88877),a=n(95259),u=n(71034),s=r.each,l=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function h(t,e,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var u=0;e.eachChild(function(s,l){var c,h,f=s.getBoundingRect(),p=e.childAt(l+1),d=p&&p.getBoundingRect();if("horizontal"===t){var y=f.width+(d?-d.x+f.x:0);(c=o+y)>r||s.newline?(o=0,c=y,a+=u+n,u=f.height):u=Math.max(u,f.height)}else{var v=f.height+(d?-d.y+f.y:0);(h=a+v)>i||s.newline?(o+=u+n,a=0,h=v,u=f.width):u=Math.max(u,f.width)}s.newline||(s.x=o,s.y=a,s.markRedraw(),"horizontal"===t?o=c+n:a=h+n)})}var f=h;r.curry(h,"vertical"),r.curry(h,"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}),s=t.getBoxLayoutParams();if(a.type===g.point)i=a.refPoint,n=y(s,{width:e.getWidth(),height:e.getHeight()});else{var l=t.get("center"),c=r.isArray(l)?l:[l,l];n=y(s,a.refContainer),i=a.boxCoordFrom===u.Xf?a.refPoint:[(0,o.lo)(c[0],n.width)+n.x,(0,o.lo)(c[1],n.height)+n.y]}return{viewRect:n,center:i}}(t,e),i=n.viewRect,a=n.center,s=t.get("radius");r.isArray(s)||(s=[0,s]);var l=(0,o.lo)(i.width,e.getWidth()),c=(0,o.lo)(i.height,e.getHeight()),h=Math.min(l,c),f=(0,o.lo)(s[0],h/2),p=(0,o.lo)(s[1],h/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,u=e.height,s=(0,o.lo)(t.left,r),l=(0,o.lo)(t.top,u),c=(0,o.lo)(t.right,r),h=(0,o.lo)(t.bottom,u),f=(0,o.lo)(t.width,r),p=(0,o.lo)(t.height,u),d=n[2]+n[0],y=n[1]+n[3],v=t.aspect;switch(isNaN(f)&&(f=r-c-y-s),isNaN(p)&&(p=u-h-d-l),null!=v&&(isNaN(f)&&isNaN(p)&&(v>r/u?f=.8*r:p=.8*u),isNaN(f)&&(f=v*p),isNaN(p)&&(p=f/v)),isNaN(s)&&(s=r-c-f-y),isNaN(l)&&(l=u-h-p-d),t.left||t.right){case"center":s=r/2-f/2-n[3];break;case"right":s=r-f-y}switch(t.top||t.bottom){case"middle":case"center":l=u/2-p/2-n[0];break;case"bottom":l=u-p-d}s=s||0,l=l||0,isNaN(f)&&(f=r-y-s-(c||0)),isNaN(p)&&(p=u-d-l-(h||0));var g=new i.Ay((e.x||0)+s+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),u={width:e.width,height:e.height},s="cover"===r;return i>n&&!s||i<n&&s?(u.width=e.height*n,"left"===o?u.left=0:"right"===o?u.right=0:u.left="center"):(u.height=e.width/n,"top"===a?u.top=0:"bottom"===a?u.bottom=0:u.top="middle"),y(u,e)}var g={rect:1,point:2};function m(t,e,n){var r,i,o,a,s=t.boxCoordinateSystem;if(s){var l=(0,u.fE)(t),c=l.coord,h=l.from;if(s.dataToLayout){o=g.rect,a=h;var f=s.dataToLayout(c);r=f.contentRect||f.rect}else n&&n.enableLayoutOnlyByCenter&&s.dataToPoint&&(o=g.point,a=h,i=s.dataToPoint(c))}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,u){var s,l=!a||!a.hv||a.hv[0],c=!a||!a.hv||a.hv[1],h=a&&a.boundingMode||"all";if((u=u||t).x=t.x,u.y=t.y,!l&&!c)return!1;if("raw"===h)s="group"===t.type?new i.Ay(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(s=t.getBoundingRect(),t.needLocalTransform()){var f=t.getLocalTransform();(s=s.clone()).applyTransform(f)}var p=y(r.defaults({width:s.width,height:s.height},e),n,o),d=l?p.x-s.x:0,v=c?p.y-s.y:0;return"raw"===h?(u.x=d,u.y=v):(u.x+=d,u.y+=v),u===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=u(c[0],0),a=u(c[1],1);function u(n,o){var a={},u=0,c={},h=0;if(s(n,function(e){c[e]=t[e]}),s(n,function(t){r.hasOwn(e,t)&&(a[t]=c[t]=e[t]),l(a,t)&&u++,l(c,t)&&h++}),i[o])return l(e,n[1])?c[n[2]]=null:l(e,n[2])&&(c[n[1]]=null),c;if(2!==h&&u){if(u>=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 c}function l(t,e){return null!=t[e]&&"auto"!==t[e]}function h(t,e,n){s(t,function(t){e[t]=n[t]})}h(c[0],t,o),h(c[1],t,a)}function S(t){return function(t,e){return e&&t&&s(l,function(n){r.hasOwn(e,n)&&(t[n]=e[n])}),t}({},t)}},22752:function(t,e,n){n.d(e,{$8:function(){return c},R8:function(){return u},aT:function(){return l},z3:function(){return s}});n(16280),n(33110);var r="[ECharts] ",i={},o="undefined"!=typeof console&&console.warn&&console.log;function a(t,e,n){if(o){if(n){if(i[e])return;i[e]=!0}console[t](r+e)}}function u(t,e){a("warn",t,e)}function s(t,e){a("error",t,e)}function l(t){0}function c(t){throw new Error(t)}},6471:function(t,e,n){n.d(e,{$r:function(){return T},Ax:function(){return W},Bq:function(){return P},D$:function(){return N},D6:function(){return S},EV:function(){return X},FM:function(){return z},GX:function(){return w},HB:function(){return A},Il:function(){return F},JO:function(){return I},JS:function(){return h},M5:function(){return c},O0:function(){return m},O2:function(){return d},O9:function(){return J},R3:function(){return U},S_:function(){return x},Sq:function(){return L},U2:function(){return Y},US:function(){return k},UW:function(){return C},X1:function(){return B},XJ:function(){return R},Xe:function(){return j},Zk:function(){return Q},_e:function(){return D},cd:function(){return $},dr:function(){return O},fA:function(){return V},i2:function(){return Z},i_:function(){return H},le:function(){return b},o1:function(){return q},oh:function(){return _},qB:function(){return l},qQ:function(){return K},uQ:function(){return tt},vS:function(){return g},vj:function(){return f},vx:function(){return E},zu:function(){return p}});n(16280),n(44114),n(27495);var r=n(52577),i=n(29342),o=n(88877);function a(t,e,n){return(e-t)*n+t}var u="series\0",s="\0_ec_\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function c(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 h=["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 s=(0,r.createHashMap)();(0,r.each)(e,function(t,n){(0,r.isObject)(t)||(e[n]=null)});var l,c,h=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,s,n);return(i||o)&&function(t,e,n,i){(0,r.each)(i,function(o,a){if(o&&null!=o.id){var u=v(o.id),s=n.get(u);if(null!=s){var l=t[s];(0,r.assert)(!l.newOption,'Duplicated option on id "'+u+'".'),l.newOption=o,l.existing=e[s],i[a]=null}}})}(h,t,s,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)}})}(h,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++}})}(h,e,o):a&&function(t,e){(0,r.each)(e,function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})})}(h,e),l=h,c=(0,r.createHashMap)(),(0,r.each)(l,function(t){var e=t.existing;e&&c.set(e.id,t)}),(0,r.each)(l,function(t){var e=t.newOption;(0,r.assert)(!e||null==e.id||!c.get(e.id)||c.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&c.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:u+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(c.get(o.id))}c.set(o.id,t)}}),h}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(u))}function _(t){return t&&null!=t.id&&0===v(t.id).indexOf(s)}function x(t){return s+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),u=n&&n[o],s=0,c=a.length;s<c;s++){var h=a[s];u&&u[h]?u[h]=null:(e[o]||(e[o]={}))[h]=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,u=n?n.defaultMainType:null;return!i&&u&&o.set(u,{}),o.each(function(e,r){var i=I(t,r,e,{useDefault:u===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={},u=!1;return(0,r.each)(n,function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=i[1],l=(i[2]||"").toLowerCase();if(s&&l&&!(e&&e.includeMainTypes&&(0,r.indexOf)(e.includeMainTypes,s)<0))u=u||!!s,(o.get(s)||o.set(s,{}))[l]=t}else a[n]=t}),{mainTypeSpecified:u,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,u={models:null,specified:null!=i||null!=o||null!=a};if(!u.specified){var s=void 0;return u.models=r.useDefault&&(s=t.getComponent(e))?[s]:[],u}if("none"===i||!1===i){if(r.enableNone)return u.models=[],u;i=-1}return"all"===i&&(i=r.enableAll?o=a=null:-1),u.models=t.queryComponents({mainType:e,index:i,id:o,name:a}),u}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,u){var s=null==e||"auto"===e;if(null==i)return i;if((0,r.isNumber)(i)){var l=a(n||0,i,u);return(0,o.LI)(l,s?Math.max((0,o.XV)(n||0),(0,o.XV)(i)):e)}if((0,r.isString)(i))return u<1?n:i;for(var c=[],h=n,f=i,p=Math.max(h?h.length:0,f.length),d=0;d<p;++d){var y=t.getDimensionInfo(d);if(y&&"ordinal"===y.type)c[d]=(u<1&&h?h:f)[d];else{var v=h&&h[d]?h[d]:0,g=f[d];l=a(v,g,u);c[d]=(0,o.LI)(l,s?Math.max((0,o.XV)(v),(0,o.XV)(g)):e)}}return c}!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 u=i.get(a)||0;n&&n(r,u),u||n||(t[o++]=r),i.set(a,u+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:function(t,e,n){n.d(e,{Cb:function(){return g},Cm:function(){return H},Dx:function(){return z},EO:function(){return k},IH:function(){return Y},Is:function(){return P},JB:function(){return u},LI:function(){return S},LQ:function(){return _},N9:function(){return x},NX:function(){return E},NY:function(){return s},Sm:function(){return j},Tr:function(){return O},XV:function(){return M},Y6:function(){return T},YC:function(){return U},YV:function(){return W},Zr:function(){return c},_7:function(){return N},_U:function(){return F},au:function(){return B},dh:function(){return R},eq:function(){return b},hb:function(){return A},ih:function(){return h},jn:function(){return l},kM:function(){return I},kf:function(){return q},lQ:function(){return G},lo:function(){return m},rp:function(){return a},sL:function(){return V},tV:function(){return p},wp:function(){return C},y6:function(){return D},z4:function(){return f}});n(26910),n(27495),n(25440);var r=n(52577),i=1e-4,o=20;var a=Math.min,u=Math.max,s=Math.abs,l=Math.round,c=Math.floor,h=Math.ceil,f=Math.pow,p=Math.log,d=Math.LN10,y=Math.PI,v=Math.random;function g(t,e,n,r){var i=e[0],o=e[1],a=n[0],u=n[1],s=o-i,l=u-a;if(0===s)return 0===l?a:(a+u)/2;if(r)if(s>0){if(t<=i)return a;if(t>=o)return u}else{if(t>=i)return a;if(t<=o)return u}else{if(t===i)return a;if(t===o)return u}return(t-i)/s*l+a}var m=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 _(t,e,n)};function _(t,e,n){return r.isString(t)?w(t)?parseFloat(t)/100*e+(n||0):parseFloat(t):null==t?NaN:+t}function x(t){return r.isString(t)&&w(t)}function w(t){return!!(e=t,e.replace(/^\s+|\s+$/g,"")).match(/%$/);var e}function S(t,e,n){return isNaN(e)?n?""+t:+t:(e=a(u(0,e),o),t=(+t).toFixed(e),n?t:+t)}function b(t,e,n){return null==e&&(e=10),S(t,e,n)}function T(t){return t.sort(function(t,e){return t-e}),t}function M(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(l(t*e)/e===t)return n;return D(t)}function D(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 u(0,(o<0?0:i-1-o)-r)}function A(t,e){var n=c(p(t[1]-t[0])/d),r=l(p(s(e[1]-e[0]))/d),i=a(u(-n+r,0),o);return isFinite(i)?i:o}function k(t,e,n){var r=s(t[1]-t[0]);if(!isFinite(r)||0===r)return NaN;var i=p(2*s(n||1)*s(r))/d,o=p(s(e))/d,a=u(0,h(-i+o));return isFinite(a)||(a=NaN),a}function C(t,e,n){return t[e]&&I(t,n)[e]||0}function I(t,e){var n=r.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return[];for(var i=f(10,e),o=r.map(t,function(t){return(isNaN(t)?0:t)/n*i*100}),a=100*i,u=r.map(o,function(t){return c(t)}),s=r.reduce(u,function(t,e){return t+e},0),l=r.map(o,function(t,e){return t-u[e]});s<a;){for(var h=Number.NEGATIVE_INFINITY,p=null,d=0,y=l.length;d<y;++d)l[d]>h&&(h=l[d],p=d);++u[p],l[p]=0,++s}return r.map(u,function(t){return t/i})}function O(t,e){var n=u(M(t),M(e)),r=t+e;return n>o?r:S(r,n)}var P=f(2,53)-1;function N(t){var e=2*y;return(t%e+e)%e}function R(t){return t>-i&&t<i}var L=/^(?:(\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 F(t){if(t instanceof Date)return t;if(r.isString(t)){var e=L.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(l(t))}function B(t){return f(10,E(t))}function E(t){if(0===t)return 0;var e=c(p(t)/d);return t/f(10,e)>=10&&e++,e}var z=2;function H(t,e){var n=E(t),r=f(10,n),i=t/r;return S(t=(e===z?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 W(t,e){var n=(t.length-1)*e+1,r=c(n),i=+t[r-1],o=n-r;return o?i+o*(t[r]-i):i}function V(t){t.sort(function(t,e){return u(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 u(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&&u(t,e,1))}}function j(t){var e=parseFloat(t);return e==t&&(0!==e||!r.isString(t)||t.indexOf("x")<=0)?e:NaN}function q(t){return!isNaN(j(t))}function Y(){return l(9*v())}function X(t,e){return 0===e?t:X(e,t%e)}function G(t,e){return null==t?e:null==e?t:t*e/X(t,e)}function U(t){return null!=t&&isFinite(t)}},9078:function(t,e,n){n.d(e,{BV:function(){return v},DW:function(){return E},Du:function(){return $},HY:function(){return W},Iz:function(){return tt},JC:function(){return q},JI:function(){return Y},Lm:function(){return ot},Lv:function(){return S},Lx:function(){return ft},Mx:function(){return st},PW:function(){return w},Pk:function(){return F},Q6:function(){return T},QX:function(){return j},SD:function(){return V},T$:function(){return pt},Tl:function(){return Q},U2:function(){return b},_m:function(){return J},_n:function(){return ht},e3:function(){return y},fz:function(){return dt},gM:function(){return M},gd:function(){return X},h5:function(){return x},iJ:function(){return it},ix:function(){return lt},jA:function(){return nt},lV:function(){return Z},mc:function(){return rt},qR:function(){return U},t6:function(){return et},u6:function(){return ct},wV:function(){return g},zX:function(){return d}});n(44114),n(46058);var r=n(52577),i=n(90057),o=n(85767),a=n(6471),u=n(79231),s=n(1622),l=1,c={},h=(0,a.$r)(),f=(0,a.$r)(),p=0,d=1,y=2,v=["emphasis","blur","select"],g=["normal","emphasis","blur","select"],m=10,_=9,x="highlight",w="downplay",S="select",b="unselect",T="toggleSelect",M="selectchanged";function D(t){return null!=t&&"none"!==t}function A(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function k(t){A(t,"emphasis",y)}function C(t){t.hoverState===y&&A(t,"normal",p)}function I(t){A(t,"blur",d)}function O(t){t.hoverState===d&&A(t,"normal",p)}function P(t){t.selected=!0}function N(t){t.selected=!1}function R(t,e,n){e(t,n)}function L(t,e,n){R(t,e,n),t.isGroup&&t.traverse(function(t){R(t,e,n)})}function F(t,e){switch(e){case"emphasis":t.hoverState=y;break;case"normal":t.hoverState=p;break;case"blur":t.hoverState=d;break;case"select":t.selected=!0}}function B(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,s=!1;if(t instanceof u.Ay){var l=h(t),c=a&&l.selectFill||l.normalFill,f=a&&l.selectStroke||l.normalStroke;if(D(c)||D(f)){var p=(i=i||{}).style||{};"inherit"===p.fill?(s=!0,i=(0,r.extend)({},i),(p=(0,r.extend)({},p)).fill=c):!D(p.fill)&&D(c)?(s=!0,i=(0,r.extend)({},i),(p=(0,r.extend)({},p)).fill=(0,o.liftColor)(c)):!D(p.stroke)&&D(f)&&(s||(i=(0,r.extend)({},i),p=(0,r.extend)({},p)),p.stroke=(0,o.liftColor)(f)),i.style=p}}if(i&&null==i.z2){s||(i=(0,r.extend)({},i));var d=t.z2EmphasisLift;i.z2=t.z2+(null!=d?d:m)}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 u=e[a],s=i[u];o[u]=null==s?r&&r[u]:s}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}),u=(n=n||{}).style||{};return null==u.opacity&&(n=(0,r.extend)({},n),u=(0,r.extend)({opacity:i?o:.1*a.opacity},u),n.style=u),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:_)}return n}(this,0,n)}return n}function E(t){t.stateProxy=B;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=B),n&&(n.stateProxy=B)}function z(t,e){!G(t,e)&&!t.__highByOuter&&L(t,k)}function H(t,e){!G(t,e)&&!t.__highByOuter&&L(t,C)}function W(t,e){t.__highByOuter|=1<<(e||0),L(t,k)}function V(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&L(t,C)}function j(t){L(t,I)}function q(t){L(t,O)}function Y(t){L(t,P)}function X(t){L(t,N)}function G(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function U(t){var e=t.getModel(),n=[],i=[];e.eachComponent(function(e,r){var o=f(r),a=(0,s.k)(t,r),u="series"===e;!u&&i.push(a),o.isBlured&&(a.group.traverse(function(t){O(t)}),u&&n.push(r)),o.isBlured=!1}),(0,r.each)(i,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function K(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&&q(r)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var u=o.getSeriesByIndex(t),s=u.coordinateSystem;s&&s.master&&(s=s.master);var l=[];o.eachSeries(function(t){var o=u===t,c=t.coordinateSystem;if(c&&c.master&&(c=c.master),!("series"===n&&!o||"coordinateSystem"===n&&!(c&&s?c===s:o)||"series"===e&&o)){if(i.getViewOfSeriesModel(t).group.traverse(function(t){t.__highByOuter&&o&&"self"===e||I(t)}),(0,r.isArrayLike)(e))a(t.getData(),e);else if((0,r.isObject)(e))for(var h=(0,r.keys)(e),p=0;p<h.length;p++)a(t.getData(h[p]),e[h[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 $(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){I(t)})}}}function Z(t,e,n){var o=t.seriesIndex,u=t.getData(e.dataType);if(u){var s=(0,a.le)(u,e);s=((0,r.isArray)(s)?s[0]:s)||0;var l=u.getItemGraphicEl(s);if(!l)for(var c=u.count(),h=0;!l&&h<c;)l=u.getItemGraphicEl(h++);if(l){var f=(0,i.z)(l);K(o,f.focus,f.blurScope,n)}else{var p=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=p&&K(o,p,d,n)}}}function Q(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 u=r.getViewOfComponentModel(a);if(!u||!u.findHighDownDispatchers)return o;for(var s,l=u.findHighDownDispatchers(n),c=0;c<l.length;c++)if("self"===(0,i.z)(l[c]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function J(t,e,n){var o=(0,i.z)(t),a=Q(o.componentMainType,o.componentIndex,o.componentHighDownName,n),u=a.dispatchers,s=a.focusSelf;u?(s&&$(o.componentMainType,o.componentIndex,n),(0,r.each)(u,function(t){return z(t,e)})):(K(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&$(o.componentMainType,o.componentIndex,n),z(t,e))}function tt(t,e,n){U(n);var o=(0,i.z)(t),a=Q(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,r.each)(a,function(t){return H(t,e)}):H(t,e)}function et(t,e,n){if(ft(e)){var i=e.dataType,o=t.getData(i),u=(0,a.le)(o,e);(0,r.isArray)(u)||(u=[u]),t[e.type===T?"toggleSelect":e.type===S?"select":"unselect"](u,i)}}function nt(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)?Y(e):X(e)})})}function rt(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 it(t,e,n){lt(t,!0),L(t,E),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 ot(t,e,n,r){r?function(t){lt(t,!1)}(t):it(t,e,n)}var at=["emphasis","blur","select"],ut={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function st(t,e,n,r){n=n||"itemStyle";for(var i=0;i<at.length;i++){var o=at[i],a=e.getModel([o,n]);t.ensureState(o).style=r?r(a):a[ut[n]]()}}function lt(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 ct(t){return!(!t||!t.__highDownDispatcher)}function ht(t){var e=c[t];return null==e&&l<=32&&(e=c[t]=l++),e}function ft(t){var e=t.type;return e===S||e===b||e===T}function pt(t){var e=t.type;return e===x||e===w}function dt(t){var e=h(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}},76797:function(t,e,n){n.d(e,{$9:function(){return b},$H:function(){return f},CZ:function(){return h},F7:function(){return m},FP:function(){return W},GP:function(){return T},KF:function(){return z},Lm:function(){return v},MA:function(){return c},OY:function(){return s},WD:function(){return D},Wf:function(){return N},X_:function(){return M},Yd:function(){return E},Zz:function(){return R},_O:function(){return _},_l:function(){return A},bP:function(){return I},ce:function(){return S},eV:function(){return x},hY:function(){return k},iC:function(){return O},iW:function(){return l},jJ:function(){return C},tM:function(){return L},ti:function(){return B},vy:function(){return g},ww:function(){return H},xu:function(){return F},yB:function(){return P},ym:function(){return w}});n(27495),n(25440);var r=n(52577),i=n(88877),o=n(60789),a=n(99904),u=n(72983),s=1e3,l=60*s,c=60*l,h=24*c,f=365*h,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 u=null,s=o;s>=0;s--){var l=g[s],c=r.isObject(a)&&!r.isArray(a)?a[l]:a,h=void 0;r.isArray(c)?u=(h=c.slice())[0]||"":r.isString(c)?h=[u=c]:(null==u?u=d[i]:p[l].test(u)||(u=e[l][l][0]+" "+u),h=[u],n&&(h[1]="{primary|"+u+"}")),e[i][l]=h}}),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 u=i._U(t),s=u[k(n)](),l=u[C(n)]()+1,c=Math.floor((l-1)/3)+1,h=u[I(n)](),f=u["get"+(n?"UTC":"")+"Day"](),p=u[O(n)](),d=(p-1)%12+1,y=u[P(n)](),v=u[N(n)](),g=u[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,s+"").replace(/{yy}/g,x(s%100+"",2)).replace(/{Q}/g,c+"").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(h,2)).replace(/{d}/g,h+"").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 s={time:t.time,level:t.time?t.time.level:0},l=(0,u.mn)();l&&l.makeAxisLabelFormatterParamBreak(s,t.break),a=n(t.value,e,s)}else{var c=t.time;if(c){var h=n[c.lowerTimeUnit][c.upperTimeUnit];a=h[Math.min(c.level,h.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)](),u=n[P(e)](),s=n[N(e)](),l=0===n[R(e)](),c=l&&0===s,h=c&&0===u,f=h&&0===a,p=f&&1===o;return p&&1===r?"year":p?"month":f?"day":h?"hour":c?"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:function(t,e,n){n.d(e,{Ev:function(){return y},Km:function(){return s},Pe:function(){return a},Wk:function(){return l},XO:function(){return h},i_:function(){return p},mK:function(){return u},nk:function(){return i},oC:function(){return d},t1:function(){return c},t7:function(){return o},vm:function(){return f}});var r=n(52577),i="undefined",o="series",a=(0,r.createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),u="original",s="arrayRows",l="objectRows",c="keyedColumns",h="typedArray",f="unknown",p="column",d="row",y="Roam"},27275:function(t,e,n){n(16280),n(46058);var r=n(52577),i=n(22785),o=n(28449),a=n(86228),u=n(6471),s=n(9078),l=n(61192),c=n(50551),h=n(26322),f=u.$r(),p=(0,c.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,h.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,s.u6)(t)&&("emphasis"===e?s.HY:s.SD)(t,n)}function v(t,e,n){var i=u.le(t,e),o=e&&null!=e.highlightKey?(0,s._n)(e.highlightKey):null;null!=i?(0,r.each)(u.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,u=i&&f(i).updateMethod,s=o?"incrementalPrepareRender":u&&a[u]?u:"render";return"render"!==s&&a[s](e,n,r,i),_[s]}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)}}};e.A=d},16418:function(t,e,n){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 u 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(u)){var s=a[u];"theme"===u?o.darkColor.theme=a.theme.slice():"highlight"===u?o.darkColor.highlight="rgba(255,231,130,0.4)":0===u.indexOf("accent")?o.darkColor[u]=(0,i.modifyHSL)(s,null,function(t){return.5*t},function(t){return Math.min(1,1.3-t)}):o.darkColor[u]=(0,i.modifyHSL)(s,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},e.A=o},7921:function(t,e,n){n.d(e,{yx:function(){return _}});n(16280),n(44114);var r=n(46881),i=n(47550),o=n(35723),a=n(36338),u=n(45287),s=n(52577),l=n(35287),c=n(85767),h=n(84487),f=n(16740),p="__zr_normal__",d=r.Wx.concat(["ignore"]),y=(0,s.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,s.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,s=void 0,l=!1;i.parent=r?this:null;var c=!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,u.X4)(v,n,y),i.x=v.x,i.y=v.y,a=v.align,s=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,u.lo)(_[0],y.width),w=(0,u.lo)(_[1],y.height)),c=!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],c||(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&&s===b.verticalAlign||(l=!0,b.fill=M,b.stroke=D,b.autoStroke=A,b.align=a,b.verticalAlign=s,e.setDefaultTextStyle(b)),e.__dirty|=h.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,c.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,c.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,s.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,s.isObject)(t))for(var n=t,r=(0,s.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,s.indexOf)(o,t)>=0)||!e&&1!==o.length){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),u||i){i||this.saveCurrentToNormalState(u);var l=this._textContent,c=M(this,l,u,r);c&&!this.__inHover&&(this.__inHover=c),this._applyStateObj(t,u,this._normalState,e,A(this,n,a),a);var f=this._textGuide;return l&&l.useState(t,e,n,!!c),f&&f.useState(t,e,n,!!c),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this.__inHover=0,this.__dirty&=~h.M),u}(0,s.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 u=0;u<o;u++)if(t[u]!==i[u]){a=!1;break}if(a)return;for(u=0;u<o;u++){var s=t[u],l=void 0;this.stateProxy&&(l=this.stateProxy(s,t)),l||(l=this.states[s]),l&&r.push(l)}var c=r[o-1],f=this._textContent,p=M(this,f,c,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&=~h.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,s.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,s.indexOf)(r,t),o=(0,s.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,s.extend)(n,i),i.textConfig&&(e=e||{},(0,s.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,s.extend)({},r?this.textConfig:n.textConfig),(0,s.extend)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var u={},l=!1,c=0;c<d.length;c++){var h=d[c],f=i&&y[h];e&&null!=e[h]?f?(l=!0,u[h]=e[h]):this[h]=e[h]:a&&null!=n[h]&&(f?(l=!0,u[h]=n[h]):this[h]=n[h])}if(!i)for(c=0;c<this.animators.length;c++){var p=this.animators[c],v=p.targetName;p.getLoop()||p.__changeFinalValue(v?(e||n)[v]:e||n)}l&&this._transitionState(t,u,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,s.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|=h.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,s.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=h.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,u=!1,s=n.done,l=n.aborted,c=function(){u=!0,--a<=0&&(u?s&&s():l&&l())},h=function(){--a<=0&&(u?s&&s():l&&l())};a||s&&s(),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];c&&p.done(c),h&&p.aborted(h),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,s.isArrayLike)(e[n]))if((0,s.isArrayLike)(t[n])||(t[n]=[]),(0,s.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(c=i,(0,s.isArrayLike)(c[0]))for(var u=i[0].length,l=0;l<a;l++)o[l]?S(o[l],i[l],u):o[l]=Array.prototype.slice.call(i[l]);else S(o,i,a);o.length=i.length}else t[n]=e[n];var c}function T(t,e,n,r,o,a,u,l){for(var c=(0,s.keys)(r),h=o.duration,f=o.delay,p=o.additive,d=o.setToFinal,y=!(0,s.isObject)(a),v=t.animators,g=[],m=0;m<c.length;m++){var _=c[m],x=r[_];if(null!=x&&null!=n[_]&&(y||a[_]))if(!(0,s.isObject)(x)||(0,s.isArrayLike)(x)||(0,s.isGradientObject)(x))g.push(_);else{if(e){l||(n[_]=x,t.updateDuringAnimation(e));continue}T(t,_,n[_],x,o,a&&a[_],u,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,s.indexOf)(v,D);v.splice(M,1)}}if(o.force||(g=(0,s.filter)(g,function(t){return e=r[t],i=n[t],!(e===i||(0,s.isArrayLike)(e)&&(0,s.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&&!u.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,s.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==h?500:h,l?k:r,g).delay(f||0),t.addAnimator(D,e),u.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,s.mixin)(x,a.A),(0,s.mixin)(x,r.Ay),e.Ay=x},47550:function(t,e,n){n.d(e,{F:function(){return m},A:function(){return T}});n(44114),n(26910);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}},i=r,o=n(52577),a=(n(27495),n(11054)),u=/cubic-bezier\(([0-9,\.e ]+)\)/;function s(t){var e=t&&u.exec(t);if(e){var n=e[1].split(","),r=+(0,o.trim)(n[0]),i=+(0,o.trim)(n[1]),s=+(0,o.trim)(n[2]),l=+(0,o.trim)(n[3]);if(isNaN(r+i+s+l))return;var c=[];return function(t){return t<=0?0:t>=1?1:(0,a._E)(0,r,s,1,t,c)&&(0,a.Yb)(0,i,l,1,c[0])}}}var 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 u=r%n;this._startTime=t-u,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]||s(t)},t}(),c=n(85767);n(55815),n(64979),n(79739);"undefined"!=typeof Buffer&&Buffer.from;var h=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 u=0;u<o;u++)t[a][u]=e[a][u]+n[a][u]*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},u=o;u<Math.max(n,r);u++)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 u=o;u<a;u++)r.push(1===n?i[u]:h.call(i[u]));var s=r[0]&&r[0].length;for(u=0;u<r.length;u++)if(1===n)isNaN(r[u])&&(r[u]=i[u]);else for(var l=0;l<s;l++)isNaN(r[u][l])&&(r[u][l]=i[u][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(h.call(t[r]));return n}return h.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,u=!1,l=6,h=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]))&&(u=!0)}else if((0,o.isNumber)(e)&&!(0,o.eqNaN)(e))l=0;else if((0,o.isString)(e))if(isNaN(+e)){var p=c.parse(e);p&&(h=p,l=3)}else l=0;else if((0,o.isGradientObject)(e)){var d=(0,o.extend)({},h);d.colorStops=(0,o.map)(e.colorStops,function(t){return{offset:t.offset,color:c.parse(t.color)}}),"linear"===e.type?l=4:function(t){return"radial"===t.type}(e)&&(l=5),h=d}0===a?this.valType=l:l===this.valType&&6!==l||(u=!0),this.discrete=this.discrete||u;var y={time:t,value:h,rawValue:e,percent:0};return n&&(y.easing=n,y.easingFunc=(0,o.isFunction)(n)?n:i[n]||s(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,u=w(r),s=x(r),l=0;l<i;l++){var c=n[l],h=c.value,f=o.value;c.percent=c.time/t,a||(u&&l!==i-1?g(h,f,r):s&&v(h.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,u=a?"additiveValue":"value",s=this.valType,l=this.keyframes,c=l.length,h=this.propName,d=3===s,y=this._lastFr,v=Math.min;if(1===c)r=i=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=v(y+1,c-1);n>=0&&!(l[n].percent<=e);n--);n=v(n,c-2)}else{for(n=y;n<c&&!(l[n].percent>e);n++);n=v(n-1,c-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[h];if(!w(s)&&!d||b||(b=this._additiveValue=[]),this.discrete)t[h]=m<1?r.rawValue:i.rawValue;else if(w(s))1===s?p(b,r[u],i[u],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 u=0;u<o;u++)t[a][u]=f(e[a][u],n[a][u],r)}}(b,r[u],i[u],m);else if(x(s)){var T=r[u],M=i[u],D=4===s;t[h]={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[h].x2=f(T.x2,M.x2,m),t[h].y2=f(T.y2,M.y2,m)):t[h].r=f(T.r,M.r,m)}else if(d)p(b,r[u],i[u],m),a||(t[h]=_(b));else{var A=f(r[u],i[u],m);a?this._additiveValue=A:t[h]=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?(c.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}(),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],u=i[a];if(!u){u=i[a]=new b(a);var s=void 0,l=this._getAdditiveTrack(a);if(l){var c=l.keyframes,h=c[c.length-1];s=h&&h.value,3===l.valType&&s&&(s=_(s))}else s=this._target[a];if(null==s)continue;t>0&&u.addKeyframe(0,m(s),r),this._trackKeys.push(a)}u.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],u=this._getAdditiveTrack(o),s=a.keyframes,c=s.length;if(a.prepare(r,u),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var h=s[c-1];h&&(e._target[a.propName]=h.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,u=a[n?0:a.length-1];u&&(t[i]=m(u.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 u=a.pop();i.addKeyframe(u.time,t[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},t}()},35287:function(t,e,n){n.d(e,{Y5:function(){return i},_S:function(){return a},el:function(){return u},ps:function(){return o},tY:function(){return s}});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",u="#ccc",s="#eee"},45287:function(t,e,n){n.d(e,{JK:function(){return c},NO:function(){return p},Qw:function(){return u},X4:function(){return m},ks:function(){return v},l8:function(){return h},ll:function(){return d},lo:function(){return g},sZ:function(){return y}});var r,i=n(35723),o=n(46116),a=n(45042);function u(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 s=0,l=5;function c(t,e){return t.asciiWidthMapTried||(t.asciiWidthMap=function(t){if(!(s>=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?s=l:i>2&&s++,e}}(t.font),t.asciiWidthMapTried=!0),0<=e&&e<=127?null!=t.asciiWidthMap?t.asciiWidthMap[e]:t.asciiCharWidth:t.stWideCharWidth}function h(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=h(u(e),t),a=v(e),s=d(0,o,n),l=y(0,a,r);return new i.Ay(s,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),u=0;u<o.length;u++){var s=f(o[u],e,n,r);0===u?a.copy(s):a.union(s)}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 u(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,u=o/2,s=n.x,l=n.y,c="left",h="top";if(r instanceof Array)s+=g(r[0],n.width),l+=g(r[1],n.height),c=null,h=null;else switch(r){case"left":s-=i,l+=u,c="right",h="middle";break;case"right":s+=i+a,l+=u,h="middle";break;case"top":s+=a/2,l-=i,c="center",h="bottom";break;case"bottom":s+=a/2,l+=o+i,c="center";break;case"inside":s+=a/2,l+=u,c="center",h="middle";break;case"insideLeft":s+=i,l+=u,h="middle";break;case"insideRight":s+=a-i,l+=u,c="right",h="middle";break;case"insideTop":s+=a/2,l+=i,c="center";break;case"insideBottom":s+=a/2,l+=o-i,c="center",h="bottom";break;case"insideTopLeft":s+=i,l+=i;break;case"insideTopRight":s+=a-i,l+=i,c="right";break;case"insideBottomLeft":s+=i,l+=o-i,h="bottom";break;case"insideBottomRight":s+=a-i,l+=o-i,c="right",h="bottom"}return(t=t||{}).x=s,t.y=l,t.align=c,t.verticalAlign=h,t}},61184:function(t,e,n){n.d(e,{n:function(){return i}});var r=2*Math.PI;function i(t){return(t%=r)<0&&(t+=r),t}},21974:function(t,e,n){function r(t,e,n,r,i,o){if(o>e&&o>r||o<e&&o<r)return 0;if(r===e)return 0;var a=(o-e)/(r-e),u=r<e?1:-1;1!==a&&0!==a||(u=r<e?.5:-.5);var s=a*(n-t)+t;return s===i?1/0:s>i?u:0}n.d(e,{A:function(){return r}})},35723:function(t,e,n){n.d(e,{Zv:function(){return b},bV:function(){return I},iZ:function(){return S},r_:function(){return x},rd:function(){return M},zQ:function(){return T}});var r=n(16740),i=n(81658),o=n(14643),a=Math.min,u=Math.max,s=Math.abs,l=["x","y"],c=["width","height"],h=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=u(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=u(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,u=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 s=!!r;y.reset(i,s);var l=y.touchThreshold,c=e.x+l,h=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(c>h||f>p||d>_||x>S)return!1;var b=!(h<d||_<c||p<x||S<f);return(s||a)&&(m[0]=1/0,m[1]=0,C(c,h,d,_,0,s,a,u),C(f,p,x,S,1,s,a,u),s&&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],s=n[5];return t.x=e.x*r+o,t.y=e.y*i+s,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))}h.x=p.x=e.x,h.y=d.y=e.y,f.x=d.x=e.x+e.width,f.y=p.y=e.y+e.height,h.transform(n),d.transform(n),f.transform(n),p.transform(n),t.x=a(h.x,f.x,p.x,d.x),t.y=a(h.y,f.y,p.y,d.y);var l=u(h.x,f.x,p.x,d.x),c=u(h.y,f.y,p.y,d.y);t.width=l-t.x,t.height=c-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,h,f){var p=s(e-n),d=s(r-t),_=a(p,d),x=l[i],w=l[1-i],S=c[i];e<n||r<t?p<d?(o&&(g[x]=-p),f&&(h[x]=e,h[S]=0)):(o&&(g[x]=d),f&&(h[x]=t,h[S]=0)):(h&&(h[x]=u(t,n),h[S]=a(e,r)-h[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=u(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,u=o.y*o.y+o.x*o.x,s=Math.sin(t),l=Math.cos(t),c=s*o.y+l*o.x;i(c)?i(o.x)&&i(o.y)&&a.set(0,0):(n.x=u*l/c,n.y=u*s/c,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 s(t)<1e-10}return r}e.Ay=_},36338:function(t,e,n){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 u={h:n,query:e,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},s=i[t].length-1,l=i[t][s];return l&&l.callAtLast?i[t].splice(s,0,u):i[t].push(u),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,u=0;u<a;u++){var s=r[u];if(!i||!i.filter||null==s.query||i.filter(t,s.query))switch(o){case 0:s.h.call(s.ctx);break;case 1:s.h.call(s.ctx,e[0]);break;case 2:s.h.call(s.ctx,e[0],e[1]);break;default:s.h.apply(s.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],u=r.length,s=0;s<u;s++){var l=r[s];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}();e.A=r},46116:function(t,e){var n=function(t){this.value=t},r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new n(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}(),i=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var r=this._list,i=this._map,o=null;if(null==i[t]){var a=r.len(),u=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=r.head;r.remove(s),delete i[s.key],o=s.value,this._lastRemovedEntry=s}u?u.value=e:u=new n(e),u.key=t,r.insertEntry(u),i[t]=u}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}();e.Ay=i},20367:function(t,e,n){var r=n(14643),i=n(35723),o=Math.min,a=Math.max,u=Math.abs,s=[0,0],l=[0,0],c=(0,i.bV)(),h=c.minTv,f=c.maxTv,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,u=o+t.width,s=a+t.height;if(n[0].set(o,a),n[1].set(u,a),n[2].set(u,s),n[3].set(o,s),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),c.reset(n,!o),!this._intersectCheckOneSide(this,t,o,1)&&(i=!1,o)||!this._intersectCheckOneSide(t,this,o,-1)&&(i=!1,o)||o||c.negativeSize||r.A.copy(e,i?c.useDir?c.dirMinTv:h: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,s),t._getProjMinMaxOnAxis(p,e._corners,l),c.negativeSize||s[1]<l[0]||s[0]>l[1]){if(a=!1,c.negativeSize||n)return a;var y=u(l[0]-s[1]),v=u(s[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=u(l[0]-s[1]),v=u(s[0]-l[1]);(c.useDir||o(y,v)<h.len())&&((y<v||!c.bidirectional)&&(r.A.scale(h,d,y*i),c.useDir&&c.calcDirMTV()),(y>=v||!c.bidirectional)&&(r.A.scale(h,d,-v*i),c.useDir&&c.calcDirMTV()))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var r=this._axes[t],i=this._origin,u=e[0].dot(r)+i[t],s=u,l=u,h=1;h<e.length;h++){var f=e[h].dot(r)+i[t];s=o(f,s),l=a(f,l)}n[0]=s+c.touchThreshold,n[1]=l-c.touchThreshold,c.negativeSize=n[1]<n[0]},t}();e.A=p},61316:function(t,e,n){n.d(e,{q:function(){return M}});n(54743),n(11745),n(16573),n(78100),n(77936),n(34594),n(48140),n(75044),n(21903),n(91134),n(28845),n(373),n(37467),n(44732),n(79577);var r=n(81658),i=n(35723),o=n(35287),a=n(51474),u=n(11054),s={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},l=[],c=[],h=[],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(s.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(s.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(s.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(s.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(s.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(s.R,t,e,n,r),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(s.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 u=t[i].data;for(a=0;a<u.length;a++)this.data[r++]=u[a]}this._len=r}},t.prototype.addData=function(t,e,n,r,i,o,a,u,s){if(this._saveData){var l=this.data;this._len+arguments.length>l.length&&(this._expandData(),l=this.data);for(var c=0;c<arguments.length;c++)l[this._len++]=arguments[c]}},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(){h[0]=h[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,u=0,l=0;for(t=0;t<this._len;){var c=e[t++],y=1===t;switch(y&&(u=n=e[t],l=o=e[t+1]),c){case s.M:n=u=e[t++],o=l=e[t++],p[0]=u,p[1]=l,d[0]=u,d[1]=l;break;case s.L:(0,a.j6)(n,o,e[t],e[t+1],p,d),n=e[t++],o=e[t++];break;case s.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 s.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 s.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&&(u=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 s.R:u=n=e[t++],l=o=e[t++];var M=e[t++],D=e[t++];(0,a.j6)(u,l,u+M,l+D,p,d);break;case s.Z:n=u,o=l}r.min(h,h,p),r.max(f,f,d)}return 0===t&&(h[0]=h[1]=f[0]=f[1]=0),new i.Ay(h[0],h[1],f[0]-h[0],f[1]-h[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 c=this._pathSegLen,h=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 s.M:i=a=t[p++],o=l=t[p++];break;case s.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 s.C:var M=t[p++],D=t[p++],A=(b=t[p++],t[p++]),k=t[p++],C=t[p++];S=(0,u.h0)(i,o,M,D,b,A,k,C,10),i=k,o=C;break;case s.Q:M=t[p++],D=t[p++],b=t[p++],A=t[p++];S=(0,u.d8)(i,o,M,D,b,A,10),i=b,o=A;break;case s.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 s.R:a=i=t[p++],l=o=t[p++],S=2*t[p++]+2*t[p++];break;case s.Z:var B=a-i;T=l-o;S=Math.sqrt(B*B+T*T),i=a,o=l}S>=0&&(c[f++]=S,h+=S)}return this._pathLen=h,h},t.prototype.rebuildPath=function(t,e){var n,r,i,o,a,h,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!==s.L&&k>0&&(t.lineTo(d,x),k=0),I){case s.M:n=i=w[C++],r=o=w[C++],t.moveTo(i,o);break;case s.L:a=w[C++],h=w[C++];var P=_(a-i),N=_(h-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)+h*R);break t}D+=rt}t.lineTo(a,h),i=a,o=h,k=0}else{var L=P*P+N*N;L>k&&(d=a,x=h,k=L)}break;case s.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,u.YT)(i,F,E,H,R,l),(0,u.YT)(o,B,z,W,R,c),t.bezierCurveTo(l[1],c[1],l[2],c[2],l[3],c[3]);break t}D+=rt}t.bezierCurveTo(F,B,E,z,H,W),i=H,o=W;break;case s.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,u.kx)(i,F,E,R,l),(0,u.kx)(o,B,z,R,c),t.quadraticCurveTo(l[1],c[1],l[2],c[2]);break t}D+=rt}t.quadraticCurveTo(F,B,E,z),i=E,o=z;break;case s.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 s.R:n=i=w[C],r=o=w[C+1],a=w[C++],h=w[C++];var tt=w[C++],et=w[C++];if(M){if(D+(rt=f[A++])>p){var nt=p-D;t.moveTo(a,h),t.lineTo(a+y(nt,tt),h),(nt-=tt)>0&&t.lineTo(a+tt,h+y(nt,et)),(nt-=et)>0&&t.lineTo(a+v(tt-nt,0),h+et),(nt-=tt)>0&&t.lineTo(a,h+v(et-nt,0));break t}D+=rt}t.rect(a,h,tt,et);break;case s.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=s,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}();e.A=D},14643:function(t,e,n){n(18111),n(61806),n(3362);var 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}();e.A=r},46881:function(t,e,n){n.d(e,{Ed:function(){return d},IT:function(){return g},Rd:function(){return y},Wx:function(){return v}});n(44114);var r=n(16740),i=n(52577),o=n(81658),a=r.identity,u=5e-5;function s(t){return t>u||t<-5e-5}var l=[],c=[],h=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 s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||r.create(),e?this.getLocalTransform(n):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(c,t.invTransform,e),e=c);var n=this.originX,i=this.originY;(n||i)&&(h[4]=n,h[5]=i,r.mul(c,e,h),c[4]-=n,c[5]-=i,e=c),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,u=t.anchorX,s=t.anchorY,l=t.rotation||0,c=t.x,h=t.y,f=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||u||s){var d=n+u,y=i+s;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+c,e[5]+=i+h,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)}e.Ay=p},51474:function(t,e,n){n.d(e,{$s:function(){return _},BM:function(){return g},Cr:function(){return p},j6:function(){return d},tW:function(){return m}});var r=n(81658),i=n(11054),o=Math.min,a=Math.max,u=Math.sin,s=Math.cos,l=2*Math.PI,c=r.create(),h=r.create(),f=r.create();function p(t,e,n){if(0!==t.length){for(var r=t[0],i=r[0],u=r[0],s=r[1],l=r[1],c=1;c<t.length;c++)r=t[c],i=o(i,r[0]),u=a(u,r[0]),s=o(s,r[1]),l=a(l,r[1]);e[0]=i,e[1]=s,n[0]=u,n[1]=l}}function d(t,e,n,r,i,u){i[0]=o(t,n),i[1]=o(e,r),u[0]=a(t,n),u[1]=a(e,r)}var y=[],v=[];function g(t,e,n,r,u,s,l,c,h,f){var p=i.lX,d=i.Yb,g=p(t,n,u,l,y);h[0]=1/0,h[1]=1/0,f[0]=-1/0,f[1]=-1/0;for(var m=0;m<g;m++){var _=d(t,n,u,l,y[m]);h[0]=o(_,h[0]),f[0]=a(_,f[0])}g=p(e,r,s,c,v);for(m=0;m<g;m++){var x=d(e,r,s,c,v[m]);h[1]=o(x,h[1]),f[1]=a(x,f[1])}h[0]=o(t,h[0]),f[0]=a(t,f[0]),h[0]=o(l,h[0]),f[0]=a(l,f[0]),h[1]=o(e,h[1]),f[1]=a(e,f[1]),h[1]=o(c,h[1]),f[1]=a(c,f[1])}function m(t,e,n,r,u,s,l,c){var h=i.gC,f=i.k3,p=a(o(h(t,n,u),1),0),d=a(o(h(e,r,s),1),0),y=f(t,n,u,p),v=f(e,r,s,d);l[0]=o(t,u,y),l[1]=o(e,s,v),c[0]=a(t,u,y),c[1]=a(e,s,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(c[0]=s(o)*n+t,c[1]=u(o)*i+e,h[0]=s(a)*n+t,h[1]=u(a)*i+e,v(d,c,h),g(y,c,h),(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]=s(x)*n+t,f[1]=u(x)*i+e,v(d,f,d),g(y,f,y))}},11054:function(t,e,n){n.d(e,{Et:function(){return x},YT:function(){return _},Yb:function(){return y},_E:function(){return g},d8:function(){return k},gC:function(){return M},h0:function(){return w},k3:function(){return S},kh:function(){return A},kx:function(){return D},lX:function(){return m},qY:function(){return T},rD:function(){return v},z7:function(){return b}});var r=n(81658),i=Math.pow,o=Math.sqrt,a=1e-8,u=1e-4,s=o(3),l=1/3,c=(0,r.create)(),h=(0,r.create)(),f=(0,r.create)();function p(t){return t>-a&&t<a}function d(t){return t>a||t<-a}function y(t,e,n,r,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*r+3*o*n)}function v(t,e,n,r,i){var o=1-i;return 3*(((e-t)*o+2*(n-e)*i)*o+(r-n)*i*i)}function g(t,e,n,r,a,u){var c=r+3*(e-n)-t,h=3*(n-2*e+t),f=3*(e-t),d=t-a,y=h*h-3*c*f,v=h*f-9*c*d,g=f*f-3*h*d,m=0;if(p(y)&&p(v)){if(p(h))u[0]=0;else(C=-f/h)>=0&&C<=1&&(u[m++]=C)}else{var _=v*v-4*y*g;if(p(_)){var x=v/y,w=-x/2;(C=-h/c+x)>=0&&C<=1&&(u[m++]=C),w>=0&&w<=1&&(u[m++]=w)}else if(_>0){var S=o(_),b=y*h+1.5*c*(-v+S),T=y*h+1.5*c*(-v-S);(C=(-h-((b=b<0?-i(-b,l):i(b,l))+(T=T<0?-i(-T,l):i(T,l))))/(3*c))>=0&&C<=1&&(u[m++]=C)}else{var M=(2*y*h-3*c*v)/(2*o(y*y*y)),D=Math.acos(M)/3,A=o(y),k=Math.cos(D),C=(-h-2*A*k)/(3*c),I=(w=(-h+A*(k+s*Math.sin(D)))/(3*c),(-h+A*(k-s*Math.sin(D)))/(3*c));C>=0&&C<=1&&(u[m++]=C),w>=0&&w<=1&&(u[m++]=w),I>=0&&I<=1&&(u[m++]=I)}}return m}function m(t,e,n,r,i){var a=6*n-12*e+6*t,u=9*e+3*r-3*t-9*n,s=3*e-3*t,l=0;if(p(u)){if(d(a))(h=-s/a)>=0&&h<=1&&(i[l++]=h)}else{var c=a*a-4*u*s;if(p(c))i[0]=-a/(2*u);else if(c>0){var h,f=o(c),y=(-a-f)/(2*u);(h=(-a+f)/(2*u))>=0&&h<=1&&(i[l++]=h),y>=0&&y<=1&&(i[l++]=y)}}return l}function _(t,e,n,r,i,o){var a=(e-t)*i+t,u=(n-e)*i+e,s=(r-n)*i+n,l=(u-a)*i+a,c=(s-u)*i+u,h=(c-l)*i+l;o[0]=t,o[1]=a,o[2]=l,o[3]=h,o[4]=h,o[5]=c,o[6]=s,o[7]=r}function x(t,e,n,i,a,s,l,p,d,v,g){var m,_,x,w,S,b=.005,T=1/0;c[0]=d,c[1]=v;for(var M=0;M<1;M+=.05)h[0]=y(t,n,a,l,M),h[1]=y(e,i,s,p,M),(w=(0,r.distSquare)(c,h))<T&&(m=M,T=w);T=1/0;for(var D=0;D<32&&!(b<u);D++)_=m-b,x=m+b,h[0]=y(t,n,a,l,_),h[1]=y(e,i,s,p,_),w=(0,r.distSquare)(h,c),_>=0&&w<T?(m=_,T=w):(f[0]=y(t,n,a,l,x),f[1]=y(e,i,s,p,x),S=(0,r.distSquare)(f,c),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,s,p,m)),o(T)}function w(t,e,n,r,i,o,a,u,s){for(var l=t,c=e,h=0,f=1/s,p=1;p<=s;p++){var d=p*f,v=y(t,n,i,a,d),g=y(e,r,o,u,d),m=v-l,_=g-c;h+=Math.sqrt(m*m+_*_),l=v,c=g}return h}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,u=2*(e-t),s=t-r,l=0;if(p(a)){if(d(u))(h=-s/u)>=0&&h<=1&&(i[l++]=h)}else{var c=u*u-4*a*s;if(p(c))(h=-u/(2*a))>=0&&h<=1&&(i[l++]=h);else if(c>0){var h,f=o(c),y=(-u-f)/(2*a);(h=(-u+f)/(2*a))>=0&&h<=1&&(i[l++]=h),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,u=(a-o)*r+o;i[0]=t,i[1]=o,i[2]=u,i[3]=u,i[4]=a,i[5]=n}function A(t,e,n,i,a,s,l,p,d){var y,v=.005,g=1/0;c[0]=l,c[1]=p;for(var m=0;m<1;m+=.05){h[0]=S(t,n,a,m),h[1]=S(e,i,s,m),(b=(0,r.distSquare)(c,h))<g&&(y=m,g=b)}g=1/0;for(var _=0;_<32&&!(v<u);_++){var x=y-v,w=y+v;h[0]=S(t,n,a,x),h[1]=S(e,i,s,x);var b=(0,r.distSquare)(h,c);if(x>=0&&b<g)y=x,g=b;else{f[0]=S(t,n,a,w),f[1]=S(e,i,s,w);var T=(0,r.distSquare)(f,c);w<=1&&T<g?(y=w,g=T):v*=.5}}return d&&(d[0]=S(t,n,a,y),d[1]=S(e,i,s,y)),o(g)}function k(t,e,n,r,i,o,a){for(var u=t,s=e,l=0,c=1/a,h=1;h<=a;h++){var f=h*c,p=S(t,n,i,f),d=S(e,r,o,f),y=p-u,v=d-s;l+=Math.sqrt(y*y+v*v),u=p,s=d}return l}},305:function(t,e,n){n.d(e,{Me:function(){return v},ot:function(){return p},oq:function(){return f},lJ:function(){return c},Yn:function(){return h}});n(44114),n(27495),n(25440);var r=n(29342),i=Math.log(2);function o(t,e,n,r,a,u){var s=r+"-"+a,l=t.length;if(u.hasOwnProperty(s))return u[s];if(1===e){var c=Math.round(Math.log((1<<l)-1&~a)/i);return t[n][c]}for(var h=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,h,a|v,u),y++)}return u[s]=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=[],u=0;u<8;u++)for(var s=0;s<8;s++)null==a[s]&&(a[s]=0),a[s]+=((u+s)%2?-1:1)*o(n,7,0===u?1:0,1<<u,1<<s,r)/i*e[u];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 u=n(52577),s="___zrEVENTSAVED",l=[];function c(t,e,n,r,i){return f(l,e,r,i,!0)&&f(t,n,l[0],l[1])}function h(t,e){function n(t){var e=t[s];e&&(e.clearMarkers&&e.clearMarkers(),delete t[s])}t&&n(t),e&&n(e)}function f(t,e,n,i,o){if(e.getBoundingClientRect&&r.A.domSupported&&!p(e)){var l=e[s]||(e[s]={}),c=function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=o%2,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[s]+":0",i[l]+":0",r[1-s]+":auto",i[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return e.clearMarkers=function(){(0,u.each)(n,function(t){t.parentNode&&t.parentNode.removeChild(t)})},n}(e,l),h=function(t,e,n){for(var r=n?"invTrans":"trans",i=e[r],o=e.srcCoords,u=[],s=[],l=!0,c=0;c<4;c++){var h=t[c].getBoundingClientRect(),f=2*c,p=h.left,d=h.top;u.push(p,d),l=l&&o&&p===o[f]&&d===o[f+1],s.push(t[c].offsetLeft,t[c].offsetTop)}return l&&i?i:(e.srcCoords=u,e[r]=n?a(s,u):a(u,s))}(c,l,o);if(h)return h(t,n,i),!0}return!1}function p(t){return"CANVAS"===t.nodeName.toUpperCase()}var d=/([&<>"'])/g,y={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function v(t){return null==t?"":(t+"").replace(d,function(t,e){return y[e]})}},29342:function(t,e,n){n(27495),n(13611);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 u=e.domSupported="undefined"!=typeof document;if(u){var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}}(navigator.userAgent,i),e.A=i},16740:function(t,e,n){function r(){return[1,0,0,1,0,0]}function i(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function a(t,e,n){var r=e[0]*n[0]+e[2]*n[1],i=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],u=e[0]*n[4]+e[2]*n[5]+e[4],s=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]=u,t[5]=s,t}function u(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 s(t,e,n,r){void 0===r&&(r=[0,0]);var i=e[0],o=e[2],a=e[4],u=e[1],s=e[3],l=e[5],c=Math.sin(n),h=Math.cos(n);return t[0]=i*h+u*c,t[1]=-i*c+u*h,t[2]=o*h+s*c,t[3]=-o*c+h*s,t[4]=h*(a-r[0])+c*(l-r[1])+r[0],t[5]=h*(l-r[1])-c*(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 c(t,e){var n=e[0],r=e[2],i=e[4],o=e[1],a=e[3],u=e[5],s=n*a-o*r;return s?(s=1/s,t[0]=a*s,t[1]=-o*s,t[2]=-r*s,t[3]=n*s,t[4]=(r*u-a*i)*s,t[5]=(o*i-n*u)*s,t):null}function h(t){var e=[1,0,0,1,0,0];return o(e,t),e}n.r(e),n.d(e,{clone:function(){return h},copy:function(){return o},create:function(){return r},identity:function(){return i},invert:function(){return c},mul:function(){return a},rotate:function(){return s},scale:function(){return l},translate:function(){return u}})},45042:function(t,e,n){n.d(e,{Gs:function(){return l},OH:function(){return i},gI:function(){return r},yh:function(){return s}});n(27495);var r=12,i=r+"px sans-serif";var o,a,u=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"),s={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!o){var n=s.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),c=l&&+l[1]||r,h=0;if(e.indexOf("mono")>=0)h=c*t.length;else for(var f=0;f<t.length;f++){var p=u[t[f]];h+=null==p?c:p*c}return{width:h}},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 s)s.hasOwnProperty(e)&&t[e]&&(s[e]=t[e])}},16968:function(t,e,n){n.d(e,{$z:function(){return r},XM:function(){return o},cw:function(){return a},jP:function(){return i},r4:function(){return u}});var r=0,i=1,o=2,a=1,u=0},52577:function(t,e,n){n.r(e),n.d(e,{EPSILON:function(){return gt},HashMap:function(){return lt},RADIAN_TO_DEGREE:function(){return vt},assert:function(){return nt},assignProps:function(){return b},bind:function(){return F},clone:function(){return _},concatArray:function(){return ht},createCanvas:function(){return M},createHashMap:function(){return ct},createObject:function(){return ft},curry:function(){return B},defaults:function(){return T},disableUserSelect:function(){return pt},each:function(){return I},eqNaN:function(){return $},extend:function(){return S},filter:function(){return N},find:function(){return R},guid:function(){return g},hasOwn:function(){return dt},indexOf:function(){return D},inherits:function(){return A},isArray:function(){return E},isArrayLike:function(){return C},isBuiltInObject:function(){return q},isDom:function(){return X},isFunction:function(){return z},isGradientObject:function(){return G},isImagePatternObject:function(){return U},isNumber:function(){return V},isObject:function(){return j},isPrimitive:function(){return at},isRegExp:function(){return K},isString:function(){return H},isStringSafe:function(){return W},isTypedArray:function(){return Y},keys:function(){return L},logError:function(){return m},map:function(){return O},merge:function(){return x},mergeAll:function(){return w},mixin:function(){return k},noop:function(){return yt},normalizeCssArray:function(){return et},reduce:function(){return P},retrieve:function(){return Z},retrieve2:function(){return Q},retrieve3:function(){return J},setAsPrimitive:function(){return ot},slice:function(){return tt},trim:function(){return rt}});n(16280),n(44114),n(18111),n(22489),n(7588),n(61701),n(45367),n(92731),n(27495),n(25440),n(42762),n(62953);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,u=Array.prototype,s=u.forEach,l=u.filter,c=u.slice,h=u.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,u=t.length;r<u;r++)e[r]=_(t[r])}}else if(o[n]){if(!at(t)){var s=t.constructor;if(s.from)e=s.from(t);else{e=new s(t.length);for(r=0,u=t.length;r<u;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===s)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===h)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(c.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(c.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 c.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 ut=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}(),st="function"==typeof Map;var lt=function(){function t(e){var n=E(e);this.data=st?new Map:new ut;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 st?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function ct(t){return new lt(t)}function ht(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:function(t,e,n){function r(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function i(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){return[t[0],t[1]]}function a(t,e,n){return t[0]=e,t[1]=n,t}function u(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function s(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 c(t){return Math.sqrt(f(t))}n.r(e),n.d(e,{add:function(){return u},applyTransform:function(){return M},clone:function(){return o},copy:function(){return i},create:function(){return r},dist:function(){return x},distSquare:function(){return S},distance:function(){return _},distanceSquare:function(){return w},div:function(){return y},dot:function(){return v},len:function(){return c},lenSquare:function(){return f},length:function(){return h},lengthSquare:function(){return p},lerp:function(){return T},max:function(){return A},min:function(){return D},mul:function(){return d},negate:function(){return b},normalize:function(){return m},scale:function(){return g},scaleAndAdd:function(){return s},set:function(){return a},sub:function(){return l}});var h=c;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=c(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:function(t,e,n){var r=n(40445),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);e.A=o},85408:function(t,e,n){n.d(e,{oN:function(){return l},sW:function(){return c}});var r=n(40445),i=n(7921),o=n(35723),a=n(52577),u=n(84487),s="__zr_style_"+Math.round(10*Math.random()),l={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},c={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};l[s]=!0;var h=["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,u=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||u)&&(t.width+=2*i+Math.abs(a),t.height+=2*i+Math.abs(u),t.x=Math.min(t.x,t.x+a-i),t.y=Math.min(t.y,t.y+u-i));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}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|=u.pO,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&u.pO)},e.prototype.styleUpdated=function(){this.__dirty&=~u.pO},e.prototype.createStyle=function(t){return(0,a.createObject)(l,t)},e.prototype.useStyle=function(t){t[s]||(t=this.createStyle(t)),this.style=t,this.dirtyStyle()},e.prototype._useHoverStyle=function(t){this.__hoverStyle=t},e.prototype.isStyleObject=function(t){return t[s]},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,h)},e.prototype._applyStateObj=function(e,n,r,o,u,s){t.prototype._applyStateObj.call(this,e,n,r,o,u,s);var l,c=!(n&&o),p=this.__inHover===i.yx;if(n&&n.style?u?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)):c&&(l=r.style),l)if(u){var d=this.style;if(this.style=this.createStyle(c?{}:d),c)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},s,this.getAnimationStyleProps())}else p?this._useHoverStyle(l):this.useStyle(l);if(!p){var _=this.__inHover?f:h;for(v=0;v<_.length;v++){m=_[v];n&&null!=n[m]?this[m]=n[m]:c&&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 c},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=u.M|u.pO)),e}(i.Ay),d=new o.Ay(0,0,0,0),y=new o.Ay(0,0,0,0);e.Ay=p},47936:function(t,e,n){n(44114);var r=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}();e.A=r},22785:function(t,e,n){n(44114),n(27495),n(25440);var r=n(40445),i=n(52577),o=n(7921),a=n(35723),u=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 u=n[o];if(!u.ignore&&!u.invisible){var s=u.getBoundingRect(),l=u.getLocalTransform(r);l?(a.Ay.applyTransform(e,s,l),(i=i||e.clone()).union(e)):(i=i||s.clone()).union(s)}}return i||e},e}(o.Ay);u.prototype.type="group",e.A=u},6715:function(t,e,n){var r=n(40445),i=n(85408),o=n(35723),a=n(52577),u=(0,a.defaults)({x:0,y:0},i.oN),s={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)(u,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 s},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",e.Ay=l},48738:function(t,e,n){n(44114);var r=n(40445),i=n(85408),o=n(35723),a=n(16968),u=[],s=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(u)),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);e.A=s},67665:function(t,e,n){var r=n(40445),i=function(t){function e(e,n,r,i,o,a){var u=t.call(this,o)||this;return u.x=null==e?0:e,u.y=null==n?0:n,u.x2=null==r?1:r,u.y2=null==i?0:i,u.type="linear",u.global=a||!1,u}return(0,r.C6)(e,t),e}(n(47936).A);e.A=i},79231:function(t,e,n){n.d(e,{MW:function(){return C},Ay:function(){return P}});var r=n(40445),i=n(85408),o=n(7921),a=n(61316);function u(t,e,n,r,i,o,a){if(0===i)return!1;var u=i,s=0;if(a>e+u&&a>r+u||a<e-u&&a<r-u||o>t+u&&o>n+u||o<t-u&&o<n-u)return!1;if(t===n)return Math.abs(o-t)<=u/2;var l=(s=(e-r)/(t-n))*o-a+(t*r-n*e)/(t-n);return l*l/(s*s+1)<=u/2*u/2}var s=n(11054);function l(t,e,n,r,i,o,a,u,l,c,h){if(0===l)return!1;var f=l;return!(h>e+f&&h>r+f&&h>o+f&&h>u+f||h<e-f&&h<r-f&&h<o-f&&h<u-f||c>t+f&&c>n+f&&c>i+f&&c>a+f||c<t-f&&c<n-f&&c<i-f&&c<a-f)&&s.Et(t,e,n,r,i,o,a,u,c,h,null)<=f/2}function c(t,e,n,r,i,o,a,u,l){if(0===a)return!1;var c=a;return!(l>e+c&&l>r+c&&l>o+c||l<e-c&&l<r-c&&l<o-c||u>t+c&&u>n+c&&u>i+c||u<t-c&&u<n-c&&u<i-c)&&(0,s.kh)(t,e,n,r,i,o,u,l,null)<=c/2}var h=n(61184),f=2*Math.PI;function p(t,e,n,r,i,o,a,u,s){if(0===a)return!1;var l=a;u-=t,s-=e;var c=Math.sqrt(u*u+s*s);if(c-l>n||c+l<n)return!1;if(Math.abs(r-i)%f<1e-4)return!0;if(o){var p=r;r=(0,h.n)(i),i=(0,h.n)(p)}else r=(0,h.n)(r),i=(0,h.n)(i);r>i&&(i+=f);var d=Math.atan2(s,u);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,u,l,c){if(c>e&&c>r&&c>o&&c>u||c<e&&c<r&&c<o&&c<u)return 0;var h=s._E(e,r,o,u,c,g);if(0===h)return 0;for(var f=0,p=-1,d=void 0,y=void 0,v=0;v<h;v++){var x=g[v],w=0===x||1===x?.5:1;s.Yb(t,n,i,a,x)<l||(p<0&&(p=s.lX(e,r,o,u,m),m[1]<m[0]&&p>1&&_(),d=s.Yb(e,r,o,u,m[0]),p>1&&(y=s.Yb(e,r,o,u,m[1]))),2===p?x<m[0]?f+=d<e?w:-w:x<m[1]?f+=y<d?w:-w:f+=u<y?w:-w:x<m[0]?f+=d<e?w:-w:f+=u<d?w:-w)}return f}function w(t,e,n,r,i,o,a,u){if(u>e&&u>r&&u>o||u<e&&u<r&&u<o)return 0;var l=s.qY(e,r,o,u,g);if(0===l)return 0;var c=s.gC(e,r,o);if(c>=0&&c<=1){for(var h=0,f=s.k3(e,r,o,c),p=0;p<l;p++){var d=0===g[p]||1===g[p]?.5:1;s.k3(t,n,i,g[p])<a||(g[p]<c?h+=f<e?d:-d:h+=o<f?d:-d)}return h}d=0===g[0]||1===g[0]?.5:1;return s.k3(t,n,i,g[0])<a?0:o<e?d:-d}function S(t,e,n,r,i,o,a,u){if((u-=e)>n||u<-n)return 0;var s=Math.sqrt(n*n-u*u);g[0]=-s,g[1]=s;var l=Math.abs(r-i);if(l<1e-4)return 0;if(l>=v-1e-4){r=0,i=v;var c=o?1:-1;return a>=g[0]+t&&a<=g[1]+t?c:0}if(r>i){var h=r;r=i,i=h}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(u,d);c=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&&(c=-c),f+=c)}}return f}function b(t,e,n,r,i){for(var o,a,s,h,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(u(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(c(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(u(b,T,o,T,e,r,i)||u(o,T,o,a,e,r,i)||u(o,a,b,a,e,r,i)||u(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(u(m,_,b,T,e,r,i))return!0}else g+=(0,d.A)(m,_,b,T,r,i);m=b,_=T}}return n||(s=_,h=T,Math.abs(s-h)<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"]),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 u=0;u<O.length;++u)i[O[u]]=this[O[u]];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,u=e.lineWidth;if(!this.hasFill()){var s=this.strokeContainThreshold;u=Math.max(u,null==s?4:s)}a>1e-10&&(o.width+=u/a,o.height+=u/a,o.x-=u/a/2,o.y-=u/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,u=i.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,r){return b(t,e,!0,n,r)}(o,a/u,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,u){if(t.prototype._applyStateObj.call(this,e,n,r,i,a,u),this.__inHover!==o.yx){var s,l=!(n&&i);if(n&&n.shape?a?i?s=n.shape:(s=(0,T.extend)({},r.shape),(0,T.extend)(s,n.shape)):(s=(0,T.extend)({},i?this.shape:r.shape),(0,T.extend)(s,n.shape)):l&&(s=r.shape),s)if(a){this.shape=(0,T.extend)({},this.shape);for(var c={},h=(0,T.keys)(s),f=0;f<h.length;f++){var p=h[f];"object"==typeof s[p]?this.shape[p]=s[p]:c[p]=s[p]}this._transitionState(e,{shape:c},u)}else this.shape=s,this.dirtyShape()}},e.prototype._mergeStates=function(e){for(var n,r=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(r.shape=n),r},e.prototype.getAnimationStyleProps=function(){return 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:function(t,e,n){var r=n(40445),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);e.A=i},53326:function(t,e,n){var r=n(40445),i=n(85408),o=n(79231),a=n(52577),u=n(45042),s=n(77433),l=(0,a.defaults)({strokeFirst:!0,font:u.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},o.MW),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.hasStroke=function(){return(0,s.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,s.Xf)(this.style)),this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(i.Ay);c.prototype.type="tspan",e.A=c},47263:function(t,e,n){n(16280);var r=n(40445),i=n(77433),o=n(53326),a=n(52577),u=n(45287),s=n(6715),l=n(4017),c=n(35723),h=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},h.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 c.Ay(0,0,0,0),e=this._children,n=[],r=null,i=0;i<e.length;i++){var o=e[i],a=o.getBoundingRect(),u=o.getLocalTransform(n);u?(t.copy(a),t.applyTransform(u),(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,s=t.y||0,l=t.align||r.align||"left",c=t.verticalAlign||r.verticalAlign||"top";(0,i.Ss)(d,r.overflowRect,a,s,l,c),a=d.baseX,s=d.baseY;var h=D(t),p=(0,i.j_)(h,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,u.sZ)(s,p.contentHeight,c);if(y||n){var C=(0,u.ll)(a,m,l),I=(0,u.sZ)(s,g,c);y&&this._renderBackground(t,t,C,I,m,g)}k+=x/2,n&&(S=M(a,l,n),"top"===c?k+=n[0]:"bottom"===c&&(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 s=D(t),l=(0,i.FQ)(s,t,d.outerWidth,d.outerHeight,n),c=l.width,h=l.outerWidth,f=l.outerHeight,p=t.padding;this.isTruncated=!!l.isTruncated;var y=(0,u.ll)(o,h,n),v=(0,u.sZ)(a,f,r),g=y,m=v;p&&(g+=p[3],m+=p[0]);var _=g+c;A(t)&&this._renderBackground(t,t,y,v,h,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+=(c-(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,u,s,l){var c=e.rich[t.styleName]||{};c.text=t.text;var h=t.verticalAlign,p=r+n/2;"top"===h?p=r+t.height/2:"bottom"===h&&(p=r+n-t.height/2),!t.isLineHolder&&A(c)&&this._renderBackground(c,e,"right"===s?u-t.width:"center"===s?u-t.width/2:u,p-t.height/2,t.width,t.height);var d=!!c.backgroundColor,y=t.textPadding;y&&(u=M(u,s,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 c?c.fill:"fill"in e?e.fill:(_=!0,m.fill)),k=b("stroke"in c?c.stroke:"stroke"in e?e.stroke:d||l||m.autoStroke&&!_?null:(x=2,S=!0,m.stroke)),C=c.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=u,g.y=p,C&&(g.shadowBlur=c.textShadowBlur||e.textShadowBlur||0,g.shadowColor=c.textShadowColor||e.textShadowColor||"transparent",g.shadowOffsetX=c.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=c.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=t.font||f.OH,g.opacity=(0,a.retrieve3)(c.opacity,e.opacity,1),w(g,c),k&&(g.lineWidth=(0,a.retrieve3)(c.lineWidth,e.lineWidth,x),g.lineDash=(0,a.retrieve2)(c.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 u,c,h,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){(u=this._getOrCreateChild(l.A)).useStyle(u.createStyle()),u.style.fill=null;var _=u.shape;_.x=n,_.y=r,_.width=i,_.height=o,_.r=g,u.dirtyShape()}if(v)(h=u.style).fill=f||null,h.fillOpacity=(0,a.retrieve2)(t.fillOpacity,1);else if(y){(c=this._getOrCreateChild(s.Ay)).onload=function(){m.dirtyStyle()};var x=c.style;x.image=f.image,x.x=n,x.y=r,x.width=i,x.height=o}p&&d&&((h=u.style).lineWidth=p,h.stroke=d,h.strokeOpacity=(0,a.retrieve2)(t.strokeOpacity,1),h.lineDash=t.borderDash,h.lineDashOffset=t.borderDashOffset||0,u.strokeContainThreshold=0,u.hasFill()&&u.hasStroke()&&(h.strokeFirst=!0,h.lineWidth*=2));var w=(u||c).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}(h.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)}e.Ay=v},84487:function(t,e,n){n.d(e,{Dl:function(){return o},M:function(){return r},pO:function(){return i}});var r=1,i=2,o=4},22858:function(t,e,n){n.d(e,{OD:function(){return u},SR:function(){return a},xA:function(){return 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 u(t,e,n,r,a){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var u=o.get(t),c={hostEl:n,cb:r,cbPayload:a};return u?!l(e=u.image)&&u.pending.push(c):((e=i.yh.loadImage(t,s,s)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[c]})),e}return t}return e}function s(){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:function(t,e,n){n.d(e,{EJ:function(){return s},FQ:function(){return g},Ss:function(){return S},Xf:function(){return D},j_:function(){return p},n7:function(){return k},xu:function(){return A}});n(44114),n(27495);var r=n(22858),i=n(52577),o=n(45287),a=n(35723),u=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(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=c(n,r,i,o);for(var u=!1,s={},l=0,f=a.length;l<f;l++)h(s,a[l],o),a[l]=s.textLine,u=u||s.isTruncated;t.text=a.join("\n"),t.isTruncated=u}function c(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 u=a.minChar=(0,i.retrieve2)(r.minChar,0),s=a.fontMeasureInfo=(0,o.Qw)(e),l=s.asciiCharWidth;a.placeholder=(0,i.retrieve2)(r.placeholder,"");for(var c=t=Math.max(0,t-1),h=0;h<u&&c>=l;h++)c-=l;var f=(0,o.l8)(s,n);return f>c&&(n="",f=0),c=t-f,a.ellipsis=n,a.ellipsisWidth=f,a.contentWidth=c,a.containerWidth=t,a}function h(t,e,n){var r=n.containerWidth,i=n.contentWidth,a=n.fontMeasureInfo;if(!r)return t.textLine="",void(t.isTruncated=!1);var u=(0,o.l8)(a,e);if(u<=r)return t.textLine=e,void(t.isTruncated=!1);for(var s=0;;s++){if(u<=i||s>=n.maxIterations){e+=n.ellipsis;break}var l=0===s?f(e,i,a):u>0?Math.floor(e.length*i/u):0;e=e.substr(0,l),u=(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),u=e.overflow,s=e.padding,l=s?s[1]+s[3]:0,f=s?s[0]+s[2]:0,p=e.font,d="truncate"===u,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"!==u&&"breakAll"!==u?a?a.split("\n"):[]:a?w(a,e.font,_,"breakAll"===u,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=c(_,p,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),A={},k=0;k<x.length;k++)h(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,s){var c=new v,h=M(t);if(!h)return c;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=u.lastIndex=0;null!=(_=u.exec(h));){var b=_.index;b>S&&m(c,h.substring(S,b),e,w),m(c,_[2],e,w,_[1]),S=u.lastIndex}S<h.length&&m(c,h.substring(S,h.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<c.lines.length;P++){for(var N=c.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||s,U.verticalAlign=B&&B.verticalAlign||"middle",C&&null!=g&&D+U.lineHeight>g){var V=c.lines.length;F>0?(N.tokens=N.tokens.slice(0,F),O(N,L,R),c.lines=c.lines.slice(0,P+1)):c.lines=c.lines.slice(0,P),c.isTruncated=c.isTruncated||c.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,c.isTruncated=c.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)}c.outerWidth=c.width=(0,i.retrieve2)(y,A),c.outerHeight=c.height=(0,i.retrieve2)(g,D),c.contentHeight=D,c.contentWidth=A,c.outerWidth+=p,c.outerHeight+=d;for(P=0;P<T.length;P++){var U,K=(U=T[P]).percentWidth;U.width=parseInt(K,10)/100*c.width}return c}function m(t,e,n,r,i){var a,u,s=""===e,l=i&&n.rich[i]||{},c=t.lines,h=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;c.length>0&&g+r.accumWidth>r.width&&(a=e.split("\n"),f=!0),r.accumWidth=g}else{var m=w(e,h,r.width,r.breakAll,r.accumWidth);r.accumWidth=m.accumWidth+v,u=m.linesWidths,a=m.lines}}a||(a=e.split("\n"));for(var _=(0,o.Qw)(h),x=0;x<a.length;x++){var S=a[x],b=new d;if(b.styleName=i,b.text=S,b.isLineHolder=!S&&!s,"number"==typeof l.width?b.width=l.width:b.width=u?u[x]:(0,o.l8)(_,S),x||f)c.push(new y([b]));else{var T=(c[c.length-1]||(c[0]=new y)).tokens,M=T.length;1===M&&T[0].isLineHolder?T[0]=b:(S||!M||s)&&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=[],u=[],s="",l="",c=0,h=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?h+y>n:i+h+y>n)?h?(s||l)&&(v?(s||(s=l,l="",h=c=0),a.push(s),u.push(h-c),l+=d,s="",h=c+=y):(l&&(s+=l,l="",c=0),a.push(s),u.push(h),s=d,h=y)):v?(a.push(l),u.push(c),l=d,c=y):(a.push(d),u.push(y)):(h+=y,v?(l+=d,c+=y):(l&&(s+=l,l="",c=0),s+=d))}else l&&(s+=l,h+=c),a.push(s),u.push(h),s="",l="",c=0,h=0}return l&&(s+=l),s&&(a.push(s),u.push(h)),1===a.length&&(h+=i),{accumWidth:h,lines:a,linesWidths:u}}function S(t,e,n,r,i,u){if(t.baseX=n,t.baseY=r,t.outerWidth=t.outerHeight=null,e){var s=2*e.width,l=2*e.height;a.Ay.set(b,(0,o.ll)(n,s,i),(0,o.sZ)(r,l,u),s,l),a.Ay.intersect(e,b,null,T);var c=T.outIntersectRect;t.outerWidth=c.width,t.outerHeight=c.height,t.baseX=(0,o.ll)(c.x,c.width,i,!0),t.baseY=(0,o.sZ)(c.y,c.height,u,!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),u=null!=r?r:k(t)?t.lineWidth:0;return u>0&&(i.x-=u/2,i.y-=u/2,i.width+=u,i.height+=u),i}function k(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}},85796:function(t,e,n){n.d(e,{U:function(){return 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,u,s,l=[],c=[],h=[],f=[];if(i){u=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,d=t.length;p<d;p++)(0,r.min)(u,u,t[p]),(0,r.max)(s,s,t[p]);(0,r.min)(u,u,i[0]),(0,r.max)(s,s,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)(c,a,o),(0,r.scale)(c,c,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)(h,c,-v),(0,r.scale)(f,c,g);var _=(0,r.add)([],y,h),x=(0,r.add)([],y,f);i&&((0,r.max)(_,_,u),(0,r.min)(_,_,s),(0,r.max)(x,x,u),(0,r.min)(x,x,s)),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 u=o.length,s=0;s<(n?u:u-1);s++){var l=a[2*s],c=a[2*s+1],h=o[(s+1)%u];t.bezierCurveTo(l[0],l[1],c[0],c[1],h[0],h[1])}}else{t.moveTo(o[0][0],o[0][1]);s=1;for(var f=o.length;s<f;s++)t.lineTo(o[s][0],o[s][1])}n&&t.closePath()}}},83522:function(t,e,n){n.d(e,{M7:function(){return a},Op:function(){return o},eB:function(){return i}});var r=Math.round;function i(t,e,n){if(e){var i=e.x1,o=e.x2,u=e.y1,s=e.y2;t.x1=i,t.x2=o,t.y1=u,t.y2=s;var l=n&&n.lineWidth;return l?(r(2*i)===r(2*o)&&(t.x1=t.x2=a(i,l,!0)),r(2*u)===r(2*s)&&(t.y1=t.y2=a(u,l,!0)),t):t}}function o(t,e,n){if(e){var r=e.x,i=e.y,o=e.width,u=e.height;t.x=r,t.y=i,t.width=o,t.height=u;var s=n&&n.lineWidth;return s?(t.x=a(r,s,!0),t.y=a(i,s,!0),t.width=Math.max(a(r+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(a(i+u,s,!1)-t.y,0===u?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:function(t,e,n){var r=n(40445),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,u=e.clockwise,s=Math.cos(o),l=Math.sin(o);t.moveTo(s*i+n,l*i+r),t.arc(n,r,i,o,a,!u)},e}(i.Ay);a.prototype.type="arc",e.A=a},61618:function(t,e,n){var r=n(40445),i=n(79231),o=n(81658),a=n(11054),u=[],s=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 c=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=e.x1,r=e.y1,i=e.x2,o=e.y2,s=e.cpx1,l=e.cpy1,c=e.cpx2,h=e.cpy2,f=e.percent;0!==f&&(t.moveTo(n,r),null==c||null==h?(f<1&&((0,a.kx)(n,s,i,f,u),s=u[1],i=u[2],(0,a.kx)(r,l,o,f,u),l=u[1],o=u[2]),t.quadraticCurveTo(s,l,i,o)):(f<1&&((0,a.YT)(n,s,c,i,f,u),s=u[1],c=u[2],i=u[3],(0,a.YT)(r,l,h,o,f,u),l=u[1],h=u[2],o=u[3]),t.bezierCurveTo(s,l,c,h,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);c.prototype.type="bezier-curve",e.A=c},43842:function(t,e,n){var r=n(40445),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",e.A=a},48962:function(t,e,n){var r=n(40445),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,u=o*n,s=a*n;t.moveTo(r-o,i),t.bezierCurveTo(r-o,i-s,r-u,i-a,r,i-a),t.bezierCurveTo(r+u,i-a,r+o,i-s,r+o,i),t.bezierCurveTo(r+o,i+s,r+u,i+a,r,i+a),t.bezierCurveTo(r-u,i+a,r-o,i+s,r-o,i),t.closePath()},e}(i.Ay);a.prototype.type="ellipse",e.A=a},46700:function(t,e,n){var r=n(40445),i=n(79231),o=n(83522),a={},u=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},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 u},e.prototype.buildPath=function(t,e){var n,r,i,u;if(this.subPixelOptimize){var s=(0,o.eB)(a,e,this.style);n=s.x1,r=s.y1,i=s.x2,u=s.y2}else n=e.x1,r=e.y1,i=e.x2,u=e.y2;var l=e.percent;0!==l&&(t.moveTo(n,r),l<1&&(i=n*(1-l)+i*l,u=r*(1-l)+u*l),t.lineTo(i,u))},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);s.prototype.type="line",e.A=s},57922:function(t,e,n){var r=n(40445),i=n(79231),o=n(85796),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},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){o.U(t,e,!0)},e}(i.Ay);u.prototype.type="polygon",e.A=u},94542:function(t,e,n){var r=n(40445),i=n(79231),o=n(85796),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},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 a},e.prototype.buildPath=function(t,e){o.U(t,e,!1)},e}(i.Ay);u.prototype.type="polyline",e.A=u},4017:function(t,e,n){n.d(e,{A:function(){return l}});var r=n(40445),i=n(79231);var o=n(83522),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},u={},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){var n,r,i,a;if(this.subPixelOptimize){var s=(0,o.Op)(u,e,this.style);n=s.x,r=s.y,i=s.width,a=s.height,s.r=e.r,e=s}else n=e.x,r=e.y,i=e.width,a=e.height;e.r?function(t,e){var n,r,i,o,a,u=e.x,s=e.y,l=e.width,c=e.height,h=e.r;l<0&&(u+=l,l=-l),c<0&&(s+=c,c=-c),"number"==typeof h?n=r=i=o=h:h instanceof Array?1===h.length?n=r=i=o=h[0]:2===h.length?(n=i=h[0],r=o=h[1]):3===h.length?(n=h[0],r=o=h[1],i=h[2]):(n=h[0],r=h[1],i=h[2],o=h[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>c&&(r*=c/(a=r+i),i*=c/a),n+o>c&&(n*=c/(a=n+o),o*=c/a),t.moveTo(u+n,s),t.lineTo(u+l-r,s),0!==r&&t.arc(u+l-r,s+r,r,-Math.PI/2,0),t.lineTo(u+l,s+c-i),0!==i&&t.arc(u+l-i,s+c-i,i,0,Math.PI/2),t.lineTo(u+o,s+c),0!==o&&t.arc(u+o,s+c-o,o,Math.PI/2,Math.PI),t.lineTo(u,s+n),0!==n&&t.arc(u+n,s+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);s.prototype.type="rect";var l=s},80976:function(t,e,n){var r=n(40445),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",e.A=a},95769:function(t,e,n){n.d(e,{A:function(){return w}});var r=n(40445),i=n(79231),o=n(52577),a=Math.PI,u=2*a,s=Math.sin,l=Math.cos,c=Math.acos,h=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 u=t-n,s=e-r,l=(a?o:-o)/p(u*u+s*s),c=l*s,h=-l*u,f=t+c,y=e+h,v=n+c,g=r+h,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:-c,y0:-h,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>u&&M%u;if(D>v&&(M=D),r>v)if(M>u-v)t.moveTo(S+r*l(x),b+r*s(x)),t.arc(S,b,r,x,w,!T),i>v&&(t.moveTo(S+i*l(w),b+i*s(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*s(x),Y=i*l(w),X=i*s(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*s(w),W=i*l(x),V=i*s(x),M<a)){var $=function(t,e,n,r,i,o,a,u){var s=n-t,l=r-e,c=a-i,h=u-o,f=h*s-c*l;if(!(f*f<v))return[t+(f=(c*(e-o)-h*(t-i))/f)*s,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/s(c((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,h(ot.y0,ot.x0),h(at.y0,at.x0),!T):(rt>0&&t.arc(S+ot.cx,b+ot.cy,rt,h(ot.y0,ot.x0),h(ot.y1,ot.x1),!T),t.arc(S,b,r,h(ot.cy+ot.y1,ot.cx+ot.x1),h(at.cy+at.y1,at.cx+at.x1),!T),it>0&&t.arc(S+at.cx,b+at.cy,it,h(at.y1,at.x1),h(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,h(ot.y0,ot.x0),h(at.y0,at.x0),!T):(it>0&&t.arc(S+ot.cx,b+ot.cy,it,h(ot.y0,ot.x0),h(ot.y1,ot.x1),!T),t.arc(S,b,i,h(ot.cy+ot.y1,ot.cx+ot.x1),h(at.cy+at.y1,at.cx+at.x1),T),rt>0&&t.arc(S+at.cx,b+at.cy,rt,h(at.y1,at.x1),h(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";var w=x},85767:function(t,e,n){n.r(e),n.d(e,{fastLerp:function(){return w},fastMapToColor:function(){return S},lerp:function(){return b},lift:function(){return _},liftColor:function(){return O},lum:function(){return k},mapToColor:function(){return T},modifyAlpha:function(){return D},modifyHSL:function(){return M},parse:function(){return g},parseCssFloat:function(){return l},parseCssInt:function(){return s},random:function(){return C},stringify:function(){return A},toHex:function(){return x}});n(44114),n(27495),n(25440);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 u(t){return t<0?0:t>1?1:t}function s(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)?u(parseFloat(e)/100):u(parseFloat(e))}function c(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 h(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 u=r.indexOf("("),c=r.indexOf(")");if(-1!==u&&c+1===a){var h=r.substr(0,u),y=r.substr(u+1,c-(u+1)).split(","),g=1;switch(h){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,s(y[0]),s(y[1]),s(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,u=2*i-o;return f(e=e||[],a(255*c(u,o,n+1/3)),a(255*c(u,o,n)),a(255*c(u,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),s=e[i],l=e[o],c=r-i;return n[0]=a(h(s[0],l[0],c)),n[1]=a(h(s[1],l[1],c)),n[2]=a(h(s[2],l[2],c)),n[3]=u(h(s[3],l[3],c)),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),s=g(e[i]),l=g(e[o]),c=r-i,f=A([a(h(s[0],l[0],c)),a(h(s[1],l[1],c)),a(h(s[2],l[2],c)),u(h(s[3],l[3],c))],"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),u=Math.max(r,i,o),s=u-a,l=(u+a)/2;if(0===s)e=0,n=0;else{n=l<.5?s/(u+a):s/(2-u-a);var c=((u-r)/6+s/2)/s,h=((u-i)/6+s/2)/s,f=((u-o)/6+s/2)/s;r===u?e=f-h:i===u?e=1/3+c-f:o===u&&(e=2/3+h-c),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]=u(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:function(t,e,n){n.d(e,{rR:function(){return C},UJ:function(){return D},Qh:function(){return A},uc:function(){return k}});n(44114),n(27495);var r=n(40445),i=n(79231),o=n(61316),a=n(81658),u=o.A.CMD,s=[[],[],[]],l=Math.sqrt,c=Math.atan2;function h(t,e){if(e){var n,r,i,o,h,f,p=t.data,d=t.len(),y=u.M,v=u.C,g=u.L,m=u.R,_=u.A,x=u.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=c(-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(h=0;h<r;h++){var D=s[h];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,u,s,l,c){var h=s*(v/180),f=y(h)*(t-n)/2+d(h)*(e-r)/2,g=-1*d(h)*(t-n)/2+y(h)*(e-r)/2,x=f*f/(a*a)+g*g/(u*u);x>1&&(a*=p(x),u*=p(x));var w=(i===o?-1:1)*p((a*a*(u*u)-a*a*(g*g)-u*u*(f*f))/(a*a*(g*g)+u*u*(f*f)))||0,S=w*a*g/u,b=w*-u*f/a,T=(t+n)/2+y(h)*S-d(h)*b,M=(e+r)/2+d(h)*S+y(h)*b,D=_([1,0],[(f-S)/a,(g-b)/u]),A=[(f-S)/a,(g-b)/u],k=[(-1*f-S)/a,(-1*g-b)/u],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}c.addData(l,T,M,a,u,D,C,h,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,u=i,s=o.A.CMD,l=t.match(w);if(!l)return e;for(var c=0;c<l.length;c++){for(var h=l[c],f=h.charAt(0),p=void 0,d=h.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=s.L,e.addData(p,r,i);break;case"L":r=d[g++],i=d[g++],p=s.L,e.addData(p,r,i);break;case"m":r+=d[g++],i+=d[g++],p=s.M,e.addData(p,r,i),a=r,u=i,f="l";break;case"M":r=d[g++],i=d[g++],p=s.M,e.addData(p,r,i),a=r,u=i,f="L";break;case"h":r+=d[g++],p=s.L,e.addData(p,r,i);break;case"H":r=d[g++],p=s.L,e.addData(p,r,i);break;case"v":i+=d[g++],p=s.L,e.addData(p,r,i);break;case"V":i=d[g++],p=s.L,e.addData(p,r,i);break;case"C":p=s.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=s.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===s.C&&(m+=r-O[I-4],_+=i-O[I-3]),p=s.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===s.C&&(m+=r-O[I-4],_+=i-O[I-3]),p=s.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=s.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=s.Q,e.addData(p,k,C,r,i);break;case"T":m=r,_=i,I=e.len(),O=e.data,n===s.Q&&(m+=r-O[I-4],_+=i-O[I-3]),r=d[g++],i=d[g++],p=s.Q,e.addData(p,m,_,r,i);break;case"t":m=r,_=i,I=e.len(),O=e.data,n===s.Q&&(m+=r-O[I-4],_+=i-O[I-3]),r+=d[g++],i+=d[g++],p=s.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=s.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=s.A,e)}}"z"!==f&&"Z"!==f||(p=s.Z,e.addData(p),r=a,i=u),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){h(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 u=new i.Ay(e);return u.createPathProxy(),u.buildPath=function(t){if(T(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},u}function C(t,e){e=e||{};var n=new i.Ay;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?h(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}}}]);