vab-chunk-4e2fb6b0.js 145 KB

123456
  1. /*!
  2. * build: Vue Admin Plus
  3. * copyright: vue-admin-beautiful.com
  4. * time: 2025-08-28 17:13:40
  5. */
  6. "use strict";(self["webpackChunkadmin_plus"]=self["webpackChunkadmin_plus"]||[]).push([[340],{1987:function(t,e,n){n.d(e,{A:function(){return m}});var i={type:"selectDataRange",event:"dataRangeSelected",update:"update"},o=function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})},r=n(98026),a=n(6372),s=n(7857),u=n(37395),l=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",function(e){var i=t.pipelineContext;!e.isTargetSeries(t)||i&&i.large||n.push(a.dS(e.stateList,e.targetVisuals,r.oI(e.getValueState,e),e.getDataDimensionIndex(t.getData())))}),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var o=e.getVisualMeta(r.oI(h,null,t,e))||{stops:[],outerColors:[]},a=e.getDataDimensionIndex(n);a>=0&&(o.dimension=a,i.push(o))}}),t.getData().setVisual("visualMeta",i)}}];function h(t,e,n,i){for(var o=e.targetVisuals[i],r=s.A.prepareVisualTypes(o),a={color:(0,u.rI)(t.getData(),"color")},l=0,h=r.length;l<h;l++){var c=r[l],d=o["opacity"===c?"__alphaForOpacity":c];d&&d.applyVisual(n,p,f)}return a.color;function p(t){return a[t]}function f(t,e){a[t]=e}}var c=r.__;function d(t){var e=t&&t.visualMap;r.cy(e)||(e=e?[e]:[]),c(e,function(t){if(t){p(t,"splitList")&&!p(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&r.cy(e)&&c(e,function(t){r.Gv(t)&&(p(t,"start")&&!p(t,"min")&&(t.min=t.start),p(t,"end")&&!p(t,"max")&&(t.max=t.end))})}})}function p(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var f=!1;function m(t){f||(f=!0,t.registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}),t.registerAction(i,o),(0,r.__)(l,function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)}),t.registerPreprocessor(d))}},3087:function(t,e,n){n.d(e,{Y:function(){return p}});var i=n(98383),o=n(59109),r=n(6666),a=n(15915),s=n(47355),u=n(98026),l=n(13976),h=n(87891),c=[],d={registerPreprocessor:i.lP,registerProcessor:i.qg,registerPostInit:i.cf,registerPostUpdate:i.tb,registerUpdateLifecycle:i.xV,registerAction:i.OH,registerCoordinateSystem:i.pX,registerLayout:i.Oh,registerVisual:i.AF,registerTransform:i.iY,registerLoading:i.Ej,registerMap:i.mz,registerImpl:l.m,PRIORITY:i.FQ,ComponentModel:a.A,ComponentView:o.A,SeriesModel:s.A,ChartView:r.A,registerComponentModel:function(t){a.A.registerClass(t)},registerComponentView:function(t){o.A.registerClass(t)},registerSeriesModel:function(t){s.A.registerClass(t)},registerChartView:function(t){r.A.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.A.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,h.fI)(t,e)}};function p(t){(0,u.cy)(t)?(0,u.__)(t,function(t){p(t)}):(0,u.qh)(c,t)>=0||(c.push(t),(0,u.Tn)(t)&&(t={install:t}),t.install(d))}},3961:function(t,e,n){n.d(e,{CO:function(){return T},Qx:function(){return p},Yu:function(){return _},aw:function(){return C},lb:function(){return b}});var i=n(44265),o=n(83412),r=n(98026),a=n(31825),s=n(24326),u="line-height:1";function l(t){var e=t.lineHeight;return null==e?u:"line-height:"+(0,i.Me)(e+"")+"px"}function h(t,e){var n=t.color||"#6e7079",o=t.fontSize||12,r=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,u=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,i.Me)(o+"")+"px;color:"+(0,i.Me)(n)+";font-weight:"+(0,i.Me)(r+""),valueStyle:"font-size:"+(0,i.Me)(s+"")+"px;color:"+(0,i.Me)(a)+";font-weight:"+(0,i.Me)(u+"")}:{nameStyle:{fontSize:o,fill:n,fontWeight:r},valueStyle:{fontSize:s,fill:a,fontWeight:u}}}var c=[0,10,20,30],d=["","\n","\n\n","\n\n\n"];function p(t,e){return e.type=t,e}function f(t){return"section"===t.type}function m(t){return f(t)?v:y}function g(t){if(f(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHeader;return(0,r.__)(t.blocks,function(t){var n=g(t);n>=e&&(e=n+ +(i&&(!n||f(t)&&!t.noHeader)))}),e}return 0}function v(t,e,n,s){var u=e.noHeader,c=x(g(e)),d=[],p=e.blocks||[];(0,r.vA)(!p||(0,r.cy)(p)),p=p||[];var f=t.orderMode;if(e.sortBlocks&&f){p=p.slice();var v={valueAsc:"asc",valueDesc:"desc"};if((0,r.$3)(v,f)){var y=new a.Fl(v[f],null);p.sort(function(t,e){return y.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===f&&p.reverse()}(0,r.__)(p,function(n,i){var o=e.valueFormatter,a=m(n)(o?(0,r.X$)((0,r.X$)({},t),{valueFormatter:o}):t,n,i>0?c.html:0,s);null!=a&&d.push(a)});var _="richText"===t.renderMode?d.join(c.richText):I(s,d.join(""),u?n:c.html);if(u)return _;var M=(0,o.yC)(e.header,"ordinal",t.useUTC),w=h(s,t.renderMode).nameStyle,D=l(s);return"richText"===t.renderMode?S(t,M,w)+c.richText+_:I(s,'<div style="'+w+";"+D+';">'+(0,i.Me)(M)+"</div>"+_,n)}function y(t,e,n,i){var a=t.renderMode,s=e.noName,u=e.noValue,l=!e.markerType,c=e.name,d=t.useUTC,p=e.valueFormatter||t.valueFormatter||function(t){return t=(0,r.cy)(t)?t:[t],(0,r.Tj)(t,function(t,e){return(0,o.yC)(t,(0,r.cy)(g)?g[e]:g,d)})};if(!s||!u){var f=l?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",a),m=s?"":(0,o.yC)(c,"ordinal",d),g=e.valueType,v=u?[]:p(e.value,e.dataIndex),y=!l||!s,_=!l&&s,x=h(i,a),C=x.nameStyle,T=x.valueStyle;return"richText"===a?(l?"":f)+(s?"":S(t,m,C))+(u?"":D(t,v,y,_,T)):I(i,(l?"":f)+(s?"":M(m,!l,C))+(u?"":w(v,y,_,T)),n)}}function _(t,e,n,i,o,r){if(t){var a=m(t),s={useUTC:o,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter};return a(s,t,0,r)}}function x(t){return{html:c[t],richText:d[t]}}function I(t,e,n){var i='<div style="clear:both"></div>',o="margin: "+n+"px 0 0",r=l(t);return'<div style="'+o+";"+r+';">'+e+i+"</div>"}function M(t,e,n){var o=e?"margin-left:2px":"";return'<span style="'+n+";"+o+'">'+(0,i.Me)(t)+"</span>"}function w(t,e,n,o){var a=n?"10px":"20px",s=e?"float:right;margin-left:"+a:"";return t=(0,r.cy)(t)?t:[t],'<span style="'+s+";"+o+'">'+(0,r.Tj)(t,function(t){return(0,i.Me)(t)}).join("&nbsp;&nbsp;")+"</span>"}function S(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function D(t,e,n,i,o){var a=[o],s=i?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),t.markupStyleCreator.wrapRichTextStyle((0,r.cy)(e)?e.join(" "):e,a)}function C(t,e){var n=t.getData().getItemVisual(e,"style"),i=n[t.visualDrawType];return(0,o.he)(i)}function T(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var b=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.IH)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,a=(0,o.qg)({color:e,type:t,renderMode:n,markerId:i});return(0,r.Kg)(a)?a:(this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,r.cy)(e)?(0,r.__)(e,function(t){return(0,r.X$)(n,t)}):(0,r.X$)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}()},4235:function(t,e,n){n.d(e,{J:function(){return s}});var i=n(98026),o=n(3961),r=n(58267),a=n(48170);function s(t){var e,n,s,l,h=t.series,c=t.dataIndex,d=t.multipleSeries,p=h.getData(),f=p.mapDimensionsAll("defaultedTooltip"),m=f.length,g=h.getRawValue(c),v=(0,i.cy)(g),y=(0,o.aw)(h,c);if(m>1||v&&!m){var _=u(g,h,c,f,y);e=_.inlineValues,n=_.inlineValueTypes,s=_.blocks,l=_.inlineValues[0]}else if(m){var x=p.getDimensionInfo(f[0]);l=e=(0,r.QE)(p,c,f[0]),n=x.type}else l=e=v?g[0]:g;var I=(0,a.O0)(h),M=I&&h.name||"",w=p.getName(c),S=d?M:w;return(0,o.Qx)("section",{header:M,noHeader:d||!I,sortParam:l,blocks:[(0,o.Qx)("nameValue",{markerType:"item",markerColor:y,name:S,noName:!(0,i.Bq)(S),value:e,valueType:n,dataIndex:c})].concat(s||[])})}function u(t,e,n,a,s){var u=e.getData(),l=(0,i.TS)(t,function(t,e,n){var i=u.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName},!1),h=[],c=[],d=[];function p(t,e){var n=u.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(l?d.push((0,o.Qx)("nameValue",{markerType:"subItem",markerColor:s,name:n.displayName,value:t,valueType:n.type})):(h.push(t),c.push(n.type)))}return a.length?(0,i.__)(a,function(t){p((0,r.QE)(u,n,t),t)}):(0,i.__)(t,p),{inlineValues:h,inlineValueTypes:c,blocks:d}}},6006:function(t,e,n){var i,o,r,a,s,u,l,h=n(98026),c=n(5202),d=n(16563),p=n(58267),f=n(29756),m=n(22759),g=n(13430),v=n(48170),y=n(69622),_=n(34310),x=n(70250),I=n(73632),M=h.Gv,w=h.Tj,S="undefined"===typeof Int32Array?Array:Int32Array,D="e\0\0",C=-1,T=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],b=["_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 i=!1;(0,I.fg)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var o={},r=[],a={},s=!1,u={},l=0;l<n.length;l++){var c=n[l],d=h.Kg(c)?new m.A({name:c}):c instanceof m.A?c:new m.A(c),p=d.name;d.type=d.type||"float",d.coordDim||(d.coordDim=p,d.coordDimIndex=0);var f=d.otherDims=d.otherDims||{};r.push(p),o[p]=d,null!=u[p]&&(s=!0),d.createInvertedIndices&&(a[p]=[]),0===f.itemName&&(this._nameDimIdx=l),0===f.itemId&&(this._idDimIdx=l),i&&(d.storeDimIndex=l)}if(this.dimensions=r,this._dimInfos=o,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var g=this._dimIdxToName=h.nt();h.__(r,function(t){g.set(o[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 i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(h.Et(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);return e},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 i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){var e=this._dimSummary,n=e.encode[t];return(n||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,o=this;if(t instanceof x.Ay&&(i=t),!i){var r=this.dimensions,a=(0,_.tP)(t)||h.Xj(t)?new p.d1(t,r.length):t;i=new x.Ay;var s=w(r,function(t){return{type:o._dimInfos[t].type,property:t}});i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=(0,f.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),i=n.start,o=n.end,r=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<o;a++){var s=a-i;this._nameList[a]=e[s],r&&l(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==g.XO&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store,o=n.getProvider();this._updateOrdinalMeta();var r=this._nameList,a=this._idList,s=o.getSource().sourceFormat,u=s===g.mK;if(u&&!o.pure)for(var h=[],c=t;c<e;c++){var d=o.getItem(c,h);if(!this.hasItemOption&&(0,v.zu)(d)&&(this.hasItemOption=!0),d){var p=d.name;null==r[c]&&null!=p&&(r[c]=(0,v.vS)(p,null));var f=d.id;null==a[c]&&null!=f&&(a[c]=(0,v.vS)(f,null))}}if(this._shouldMakeIdFromName())for(c=t;c<e;c++)l(this,c);i(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){M(t)?h.X$(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=r(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return o(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return h.cy(t)?i.getValues(w(t,function(t){return n._getStoreDimIndex(t)}),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;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 i=n&&n[e];return null==i||isNaN(i)?C:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){h.Tn(t)&&(n=e,e=t,t=[]);var i=n||this,o=w(a(t),this._getStoreDimIndex,this);this._store.each(o,i?h.oI(e,i):e)},t.prototype.filterSelf=function(t,e,n){h.Tn(t)&&(n=e,e=t,t=[]);var i=n||this,o=w(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(o,i?h.oI(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=h.HP(t),o=[];return h.__(i,function(i){var r=e._getStoreDimIndex(i);n[r]=t[i],o.push(r)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){h.Tn(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},n),i},t.prototype.map=function(t,e,n,i){var o=n||i||this,r=w(a(t),this._getStoreDimIndex,this),s=u(this);return s._store=this._store.map(r,o?h.oI(e,o):e),s},t.prototype.modify=function(t,e,n,i){var o=n||i||this;var r=w(a(t),this._getStoreDimIndex,this);this._store.modify(r,o?h.oI(e,o):e)},t.prototype.downSample=function(t,e,n,i){var o=u(this);return o._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),o},t.prototype.minmaxDownSample=function(t,e){var n=u(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},t.prototype.lttbDownSample=function(t,e){var n=u(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new c.A(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new d.A(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return o(t,e)},function(t){return o(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||{},M(t)?h.X$(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var o=i[e];return null==o&&(o=this.getVisual(e),h.cy(o)?o=o.slice():M(o)&&(o=h.X$({},o)),i[e]=o),o},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,M(e)?h.X$(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){M(t)?h.X$(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?h.X$(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,y.a)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){h.__(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:w(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];h.Tn(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(h.di(arguments)))})},t.internalField=function(){i=function(t){var e=t._invertedIndicesMap;h.__(e,function(n,i){var o=t._dimInfos[i],r=o.ordinalMeta,a=t._store;if(r){n=e[i]=new S(r.categories.length);for(var s=0;s<n.length;s++)n[s]=C;for(s=0;s<a.count();s++)n[a.get(o.storeDimIndex,s)]=s}})},r=function(t,e,n){return(0,v.vS)(t._getCategory(e,n),null)},o=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=r(t,t._idDimIdx,e)),null==n&&(n=D+e),n},a=function(t){return h.cy(t)||(t=null!=t?[t]:[]),t},u=function(e){var n=new t(e._schema?e._schema:w(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){h.__(T.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,h.__(b,function(n){t[n]=h.o8(e[n])}),t._calculationInfo=h.X$({},e._calculationInfo)},l=function(t,e){var n=t._nameList,i=t._idList,o=t._nameDimIdx,a=t._idDimIdx,s=n[e],u=i[e];if(null==s&&null!=o&&(n[e]=s=r(t,o,e)),null==u&&null!=a&&(i[e]=u=r(t,a,e)),null==u&&null!=s){var l=t._nameRepeatCount,h=l[s]=(l[s]||0)+1;u=s,h>1&&(u+="__ec__"+h),i[e]=u}}}(),t}();e.A=A},15135:function(t,e,n){var i=n(98026),o=0,r=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++o}return t.createByAxisModel=function(e){var n=e.option,o=n.data,r=o&&(0,i.Tj)(o,a);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!(0,i.Kg)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var o=this._getOrCreateMap();return e=o.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,o.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,i.nt)(this.categories))},t}();function a(t){return(0,i.Gv)(t)&&null!=t.value?t.value:t+""}e.A=r},15719:function(t,e,n){var i=n(98026),o=n(76827),r=n(6006),a=n(97351),s=n(48170),u=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){i.Tn(t)&&(n=e,e=t,t=null),t=t||{},i.Kg(t)&&(t={order:t});var o,r=t.order||"preorder",a=this[t.attr||"children"];"preorder"===r&&(o=e.call(n,this));for(var s=0;!o&&s<a.length;s++)a[s].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var o=n[e].getNodeById(t);if(o)return o}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var o=n[e].contains(t);if(o)return o}},t.prototype.getAncestors=function(t){var e=[],n=t?this:this.parentNode;while(n)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){var t=[],e=this;while(e)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode(function(e){t.push(e.dataIndex)}),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),l=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,l){var c=new t(n),d=[],p=1;function f(t,e){var n=t.value;p=Math.max(p,i.cy(n)?n.length:1),d.push(t);var o=new u((0,s.vS)(t.name,""),c);e?h(o,e):c.root=o,c._nodes.push(o);var r=t.children;if(r)for(var a=0;a<r.length;a++)f(r[a],o)}f(e),c.root.updateDepthAndHeight(0);var m=(0,a.A)(d,{coordDimensions:["value"],dimensionsCount:p}).dimensions,g=new r.A(m,n);return g.initData(d),l&&l(g),(0,o.A)({mainData:g,struct:c,structAttr:"tree"}),c.update(),c},t}();function h(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}e.A=l},16563:function(t,e){function n(t){return null==t?0:t.length||1}function i(t){return t}var o=function(){function t(t,e,n,o,r,a){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=o||i,this.context=r,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,i={},o=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,o,"_oldKeyGetter"),this._initIndexMap(e,i,r,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=o[a],u=i[s],l=n(u);if(l>1){var h=u.shift();1===u.length&&(i[s]=u[0]),this._update&&this._update(h,a)}else 1===l?(i[s]=null,this._update&&this._update(u,a)):this._remove&&this._remove(a)}this._performRestAdd(r,i)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,i={},o={},r=[],a=[];this._initIndexMap(t,i,r,"_oldKeyGetter"),this._initIndexMap(e,o,a,"_newKeyGetter");for(var s=0;s<r.length;s++){var u=r[s],l=i[u],h=o[u],c=n(l),d=n(h);if(c>1&&1===d)this._updateManyToOne&&this._updateManyToOne(h,l),o[u]=null;else if(1===c&&d>1)this._updateOneToMany&&this._updateOneToMany(h,l),o[u]=null;else if(1===c&&1===d)this._update&&this._update(h,l),o[u]=null;else if(c>1&&d>1)this._updateManyToMany&&this._updateManyToMany(h,l),o[u]=null;else if(c>1)for(var p=0;p<c;p++)this._remove&&this._remove(l[p]);else this._remove&&this._remove(l)}this._performRestAdd(a,o)},t.prototype._performRestAdd=function(t,e){for(var i=0;i<t.length;i++){var o=t[i],r=e[o],a=n(r);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(r[s]);else 1===a&&this._add&&this._add(r);e[o]=null}},t.prototype._initIndexMap=function(t,e,i,o){for(var r=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[o](t[a],a);if(r||(i[a]=s),e){var u=e[s],l=n(u);0===l?(e[s]=a,r&&i.push(s)):1===l?e[s]=[u,a]:u.push(a)}}},t}();e.A=o},16985:function(t,e,n){n.d(e,{M_:function(){return r},Ms:function(){return i},x$:function(){return a}});var i=function(){function t(){}return t}(),o={};function r(t,e){o[t]=e}function a(t){return o[t]}},17752:function(t,e,n){n.d(e,{py:function(){return y},v5:function(){return v}});var i=n(13430),o=n(48170),r=n(98026),a=n(58267),s=n(31825),u=n(41025),l=n(34310),h=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.Pn)(t,e)},t}();function c(t,e){var n=new h,o=t.data,s=n.sourceFormat=t.sourceFormat,l=t.startIndex,c="";t.seriesLayoutBy!==i.i_&&(0,u.$8)(c);var g=[],v={},y=t.dimensionsDefine;if(y)(0,r.__)(y,function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};if(g.push(i),null!=n){var o="";(0,r.$3)(v,n)&&(0,u.$8)(o),v[n]=i}});else for(var _=0;_<t.dimensionsDetectedCount;_++)g.push({index:_});var x=(0,a.sC)(s,i.i_);e.__isBuiltIn&&(n.getRawDataItem=function(t){return x(o,l,g,t)},n.getRawData=(0,r.oI)(d,null,t)),n.cloneRawData=(0,r.oI)(p,null,t);var I=(0,a.Kd)(s,i.i_);n.count=(0,r.oI)(I,null,o,l,g);var M=(0,a.uQ)(s);n.retrieveValue=function(t,e){var n=x(o,l,g,t);return w(n,e)};var w=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=g[e];return n?M(t,e,n.name):void 0}};return n.getDimensionInfo=(0,r.oI)(f,null,g,v),n.cloneAllDimensionInfo=(0,r.oI)(m,null,g),n}function d(t){var e=t.sourceFormat;if(!x(e)){var n="";0,(0,u.$8)(n)}return t.data}function p(t){var e=t.sourceFormat,n=t.data;if(!x(e)){var o="";0,(0,u.$8)(o)}if(e===i.Km){for(var a=[],s=0,l=n.length;s<l;s++)a.push(n[s].slice());return a}if(e===i.Wk){for(a=[],s=0,l=n.length;s<l;s++)a.push((0,r.X$)({},n[s]));return a}}function f(t,e,n){if(null!=n)return(0,r.Et)(n)||!isNaN(n)&&!(0,r.$3)(e,n)?t[n]:(0,r.$3)(e,n)?e[n]:void 0}function m(t){return(0,r.o8)(t)}var g=(0,r.nt)();function v(t){t=(0,r.o8)(t);var e=t.type,n="";e||(0,u.$8)(n);var i=e.split(":");2!==i.length&&(0,u.$8)(n);var o=!1;"echarts"===i[0]&&(e=i[1],o=!0),t.__isBuiltIn=o,g.set(e,t)}function y(t,e,n){var i=(0,o.qB)(t),r=i.length,a="";r||(0,u.$8)(a);for(var s=0,l=r;s<l;s++){var h=i[s];e=_(h,e,n,1===r?null:s),s!==l-1&&(e.length=Math.max(e.length,1))}return e}function _(t,e,n,a){var s="";e.length||(0,u.$8)(s),(0,r.Gv)(t)||(0,u.$8)(s);var h=t.type,d=g.get(h);d||(0,u.$8)(s);var p=(0,r.Tj)(e,function(t){return c(t,d)}),f=(0,o.qB)(d.transform({upstream:p[0],upstreamList:p,config:(0,r.o8)(t.config)}));return(0,r.Tj)(f,function(t,n){var o="";(0,r.Gv)(t)||(0,u.$8)(o),t.data||(0,u.$8)(o);var a,s=(0,l.wZ)(t.data);x(s)||(0,u.$8)(o);var h=e[0];if(h&&0===n&&!t.dimensions){var c=h.startIndex;c&&(t.data=h.data.slice(0,c).concat(t.data)),a={seriesLayoutBy:i.i_,sourceHeader:c,dimensions:h.metaRawOption.dimensions}}else a={seriesLayoutBy:i.i_,sourceHeader:0,dimensions:t.dimensions};return(0,l.gV)(t.data,a,null)})}function x(t){return t===i.Km||t===i.Wk}},18841:function(t,e,n){n.d(e,{Ng:function(){return o.Ng},zm:function(){return o.zm},ZB:function(){return o.ZB},fA:function(){return i},Ts:function(){return o.Ts},mz:function(){return o.mz},bf:function(){return o.bf}});var i={};n.r(i),n.d(i,{Arc:function(){return _.A},BezierCurve:function(){return y.A},BoundingRect:function(){return S.A},Circle:function(){return h.A},CompoundPath:function(){return I.A},Ellipse:function(){return c.A},Group:function(){return s.A},Image:function(){return u.Ay},IncrementalDisplayable:function(){return x.A},Line:function(){return v.A},LinearGradient:function(){return M.A},Polygon:function(){return f.A},Polyline:function(){return m.A},RadialGradient:function(){return w.A},Rect:function(){return g.A},Ring:function(){return p.A},Sector:function(){return d.A},Text:function(){return l.Ay},clipPointsByRect:function(){return r.clipPointsByRect},clipRectByRect:function(){return r.clipRectByRect},createIcon:function(){return r.createIcon},extendPath:function(){return r.extendPath},extendShape:function(){return r.extendShape},getShapeClass:function(){return r.getShapeClass},getTransform:function(){return r.getTransform},initProps:function(){return a.LW},makeImage:function(){return r.makeImage},makePath:function(){return r.makePath},mergePath:function(){return r.mergePath},registerShape:function(){return r.registerShape},resizePath:function(){return r.resizePath},updateProps:function(){return a.oi}});var o=n(98383),r=n(43199),a=n(5638),s=n(43870),u=n(90540),l=n(82980),h=n(31571),c=n(18393),d=n(59975),p=n(42933),f=n(52505),m=n(39195),g=n(10992),v=n(82861),y=n(53849),_=n(43471),x=n(2995),I=n(82591),M=n(29668),w=n(82250),S=n(29308);var D=n(3087),C=n(77037);(0,D.Y)(C._)},22759:function(t,e,n){var i=n(98026),o=function(){function t(t){this.otherDims={},null!=t&&i.X$(this,t)}return t}();e.A=o},23071:function(t,e,n){n.d(e,{G9:function(){return c},Gt:function(){return d},OC:function(){return l},PU:function(){return p},ln:function(){return h},ps:function(){return u},sc:function(){return a}});var i=n(48170),o=n(98026),r=n(13430),a={Must:1,Might:2,Not:3},s=(0,i.$r)();function u(t){s(t).datasetMap=(0,o.nt)()}function l(t,e,n){var i={},r=c(e);if(!r||!t)return i;var a,u,l=[],h=[],d=e.ecModel,p=s(d).datasetMap,f=r.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,o.__)(t,function(e,n){var r=(0,o.Gv)(e)?e:t[n]={name:e};"ordinal"===r.type&&null==a&&(a=n,u=v(r)),i[r.name]=[]});var m=p.get(f)||p.set(f,{categoryWayDim:u,valueWayDim:0});function g(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function v(t){var e=t.dimsDef;return e?e.length:1}return(0,o.__)(t,function(t,e){var n=t.name,o=v(t);if(null==a){var r=m.valueWayDim;g(i[n],r,o),g(h,r,o),m.valueWayDim+=o}else if(a===e)g(i[n],0,o),g(l,0,o);else{r=m.categoryWayDim;g(i[n],r,o),g(h,r,o),m.categoryWayDim+=o}}),l.length&&(i.itemName=l),h.length&&(i.seriesName=h),i}function h(t,e,n){var i={},s=c(t);if(!s)return i;var u,l=e.sourceFormat,h=e.dimensionsDefine;l!==r.Wk&&l!==r.t1||(0,o.__)(h,function(t,e){"name"===((0,o.Gv)(t)?t.name:t)&&(u=e)});var d=function(){for(var t={},i={},o=[],r=0,s=Math.min(5,n);r<s;r++){var c=f(e.data,l,e.seriesLayoutBy,h,e.startIndex,r);o.push(c);var d=c===a.Not;if(d&&null==t.v&&r!==u&&(t.v=r),(null==t.n||t.n===t.v||!d&&o[t.n]===a.Not)&&(t.n=r),p(t)&&o[t.n]!==a.Not)return t;d||(c===a.Might&&null==i.v&&r!==u&&(i.v=r),null!=i.n&&i.n!==i.v||(i.n=r))}function p(t){return null!=t.v&&null!=t.n}return p(t)?t:p(i)?i:null}();if(d){i.value=[d.v];var p=null!=u?u:d.n;i.itemName=[p],i.seriesName=[p]}return i}function c(t){var e=t.get("data",!0);if(!e)return(0,i.JO)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i.US).models[0]}function d(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,i.JO)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i.US).models:[]}function p(t,e){return f(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function f(t,e,n,s,u,l){var h,c,d,p=5;if((0,o.iu)(t))return a.Not;if(s){var f=s[l];(0,o.Gv)(f)?(c=f.name,d=f.type):(0,o.Kg)(f)&&(c=f)}if(null!=d)return"ordinal"===d?a.Must:a.Not;if(e===r.Km){var m=t;if(n===r.oC){for(var g=m[l],v=0;v<(g||[]).length&&v<p;v++)if(null!=(h=S(g[u+v])))return h}else for(v=0;v<m.length&&v<p;v++){var y=m[u+v];if(y&&null!=(h=S(y[l])))return h}}else if(e===r.Wk){var _=t;if(!c)return a.Not;for(v=0;v<_.length&&v<p;v++){var x=_[v];if(x&&null!=(h=S(x[c])))return h}}else if(e===r.t1){var I=t;if(!c)return a.Not;g=I[c];if(!g||(0,o.iu)(g))return a.Not;for(v=0;v<g.length&&v<p;v++)if(null!=(h=S(g[v])))return h}else if(e===r.mK){var M=t;for(v=0;v<M.length&&v<p;v++){x=M[v];var w=(0,i.vj)(x);if(!(0,o.cy)(w))return a.Not;if(null!=(h=S(w[l])))return h}}function S(t){var e=(0,o.Kg)(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}},23073:function(t,e){e.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:""}}}}},26192:function(t,e,n){var i=n(15215),o=n(98026),r=n(54942),a=n(7857),s=n(6372),u=n(48170),l=n(24326),h=n(15915),c=a.A.mapVisual,d=a.A.eachVisual,p=o.cy,f=o.__,m=l.Y6,g=l.Cb,v=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return(0,i.C6)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&s.St(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=o.oI(t,this),this.controllerVisuals=s.u1(this.option.controller,e,t),this.targetVisuals=s.u1(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries(function(t,n){e.push(n)}):e=u.qB(t),e},e.prototype.eachTargetSeries=function(t,e){o.__(this.getTargetSeriesIndices(),function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)},this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries(function(n){n===t&&(e=!0)}),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,a=r.precision,s=this.dataBound,u=r.formatter;n=n||["<",">"],o.cy(t)&&(t=t.slice(),i=!0);var l=e?t:i?[h(t[0]),h(t[1])]:h(t);return o.Kg(u)?u.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):o.Tn(u)?i?u(t[0],t[1]):u(t):i?t[0]===s[0]?n[0]+" "+l[1]:t[1]===s[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function h(t){return t===s[0]?"min":t===s[1]?"max":(+t).toFixed(Math.min(a,20))}},e.prototype.resetExtent=function(){var t=this.option,e=m([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var o=n[i],r=t.getDimensionInfo(o);if(!r.isCalculationCoord)return r.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),s=e.controller||(e.controller={});o.h1(i,n),o.h1(s,n);var u=this.isCategory();function l(n){p(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}function h(t,e,n){var i=t[e],o=t[n];i&&!o&&(o=t[n]={},f(i,function(t,e){if(a.A.isValidType(e)){var n=r.A.get(e,"inactive",u);null!=n&&(o[e]=n,"color"!==e||o.hasOwnProperty("opacity")||o.hasOwnProperty("colorAlpha")||(o.opacity=[0,0]))}}))}function m(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol(),a=r||"roundRect";f(this.stateList,function(r){var s=this.itemSize,l=t[r];l||(l=t[r]={color:u?i:[i]}),null==l.symbol&&(l.symbol=e&&o.o8(e)||(u?a:[a])),null==l.symbolSize&&(l.symbolSize=n&&o.o8(n)||(u?s[0]:[s[0],s[0]])),l.symbol=c(l.symbol,function(t){return"none"===t?a:t});var h=l.symbolSize;if(null!=h){var p=-1/0;d(h,function(t){t>p&&(p=t)}),l.symbolSize=c(h,function(t){return g(t,[0,p],[0,s[0]],!0)})}},this)}l.call(this,i),l.call(this,s),h.call(this,i,"inRange","outOfRange"),m.call(this,s)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(h.A);e.A=v},28540:function(t,e,n){n.d(e,{a:function(){return a}});var i=n(3087),o=n(56668),r=n(62054);function a(t){(0,i.Y)(o.a),(0,i.Y)(r.a)}},29756:function(t,e,n){n.d(e,{B:function(){return u},l:function(){return a}});var i=n(98026),o=n(13430),r=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var n={},a=n.encode={},u=(0,i.nt)(),h=[],c=[],d={};(0,i.__)(t.dimensions,function(e){var n=t.getDimensionInfo(e),i=n.coordDim;if(i){0;var r=n.coordDimIndex;s(a,i)[r]=e,n.isExtraCoord||(u.set(i,1),l(n.type)&&(h[0]=e),s(d,i)[r]=t.getDimensionIndex(n.name)),n.defaultTooltip&&c.push(e)}o.Pe.each(function(t,e){var i=s(a,e),o=n.otherDims[e];null!=o&&!1!==o&&(i[o]=n.name)})});var p=[],f={};u.each(function(t,e){var n=a[e];f[e]=n[0],p=p.concat(n)}),n.dataDimsOnCoord=p,n.dataDimIndicesOnCoord=(0,i.Tj)(p,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=f;var m=a.label;m&&m.length&&(h=m.slice());var g=a.tooltip;return g&&g.length?c=g.slice():c.length||(c=h.slice()),a.defaultedLabel=h,a.defaultedTooltip=c,n.userOutput=new r(d,e),n}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function u(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function l(t){return!("ordinal"===t||"time"===t)}},31825:function(t,e,n){n.d(e,{Fl:function(){return c},Pn:function(){return a},zC:function(){return u},zs:function(){return p}});var i=n(24326),o=n(98026),r=n(41025);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,o.Et)(t)||null==t||"-"===t||(t=+(0,i._U)(t)),null==t||""===t?NaN:Number(t))}var s=(0,o.nt)({number:function(t){return parseFloat(t)},time:function(t){return+(0,i._U)(t)},trim:function(t){return(0,o.Kg)(t)?(0,o.Bq)(t):t}});function u(t){return s.get(t)}var l={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},h=function(){function t(t,e){if(!(0,o.Et)(e)){var n="";0,(0,r.$8)(n)}this._opFn=l[t],this._rvalFloat=(0,i.Sm)(e)}return t.prototype.evaluate=function(t){return(0,o.Et)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,i.Sm)(t),this._rvalFloat)},t}(),c=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=(0,o.Et)(t)?t:(0,i.Sm)(t),r=(0,o.Et)(e)?e:(0,i.Sm)(e),a=isNaN(n),s=isNaN(r);if(a&&(n=this._incomparable),s&&(r=this._incomparable),a&&s){var u=(0,o.Kg)(t),l=(0,o.Kg)(e);u&&(n=l?t:0),l&&(r=u?e:0)}return n<r?this._resultLT:n>r?-this._resultLT:0},t}(),d=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.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,i.Sm)(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function p(t,e){return"eq"===t||"ne"===t?new d("eq"===t,e):(0,o.$3)(l,t)?new h(t,e):null}},34016:function(t,e,n){n.d(e,{a:function(){return ct}});var i=n(3087),o=n(41700),r=n(15215),a=n(98026),s=n(16985),u=n(15915),l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;a.__(this.option.feature,function(t,n){var i=s.x$(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),a.h1(t,i.defaultOption))})},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(u.A),h=l,c=n(45558),d=n(43199),p=n(34833),f=n(5202),m=n(16563),g=n(2400),v=n(59109),y=n(12616),_=n(82980),x=n(89632),I=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.render=function(t,e,n,i){var o=this.group;if(o.removeAll(),t.get("show")){var r=+t.get("itemSize"),u="vertical"===t.get("orient"),l=t.get("feature")||{},h=this._features||(this._features={}),v=[];a.__(l,function(t,e){v.push(e)}),new m.A(this._featureNames||[],v).add(I).update(I).remove(a.cF(I,null)).execute(),this._featureNames=v,g.Z(o,t,n),o.add(g.P(o.getBoundingRect(),t)),u||o.eachChild(function(t){var e=t.__title,i=t.ensureState("emphasis"),s=i.textConfig||(i.textConfig={}),u=t.getTextContent(),l=u&&u.ensureState("emphasis");if(l&&!a.Tn(l)&&e){var h=l.style||(l.style={}),d=c.NO(e,_.Ay.makeFont(h)),p=t.x+o.x,f=t.y+o.y+r,m=!1;f+d.height>n.getHeight()&&(s.position="top",m=!0);var g=m?-5-d.height:r+10;p+d.width/2>n.getWidth()?(s.position=["100%",g],h.align="right"):p-d.width/2<0&&(s.position=[0,g],h.align="left")}})}function I(o,r){var a,u=v[o],c=v[r],d=l[u],m=new f.A(d,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===u&&(d.title=i.newTitle),u&&!c){if(M(u))a={onclick:m.option.onclick,featureName:u};else{var g=(0,s.x$)(u);if(!g)return;a=new g}h[u]=a}else if(a=h[c],!a)return;a.uid=(0,y.$Q)("toolbox-feature"),a.model=m,a.ecModel=e,a.api=n;var _=a instanceof s.Ms;u||!c?!m.get("show")||_&&a.unusable?_&&a.remove&&a.remove(e,n):(w(m,a,u),m.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?p.HY:p.SD)(i[t])},a instanceof s.Ms&&a.render&&a.render(m,e,n,i)):_&&a.dispose&&a.dispose(e,n)}function w(i,l,h){var c,f,m=i.getModel("iconStyle"),g=i.getModel(["emphasis","iconStyle"]),v=l instanceof s.Ms&&l.getIcons?l.getIcons():i.get("icon"),y=i.get("title")||{};a.Kg(v)?(c={},c[h]=v):c=v,a.Kg(y)?(f={},f[h]=y):f=y;var I=i.iconPaths={};a.__(c,function(s,h){var c=d.createIcon(s,{},{x:-r/2,y:-r/2,width:r,height:r});c.setStyle(m.getItemStyle());var v=c.ensureState("emphasis");v.style=g.getItemStyle();var y=new _.Ay({style:{text:f[h],align:g.get("textAlign"),borderRadius:g.get("textBorderRadius"),padding:g.get("textPadding"),fill:null,font:(0,x.c8)({fontStyle:g.get("textFontStyle"),fontFamily:g.get("textFontFamily"),fontSize:g.get("textFontSize"),fontWeight:g.get("textFontWeight")},e)},ignore:!0});c.setTextContent(y),d.setTooltipConfig({el:c,componentModel:t,itemName:h,formatterParamsExtra:{title:f[h]}}),c.__title=f[h],c.on("mouseover",function(){var e=g.getItemStyle(),i=u?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";y.setStyle({fill:g.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:g.get("textBackgroundColor")}),c.setTextConfig({position:g.get("textPosition")||i}),y.ignore=!t.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==i.get(["iconStatus",h])&&n.leaveEmphasis(this),y.hide()}),("emphasis"===i.get(["iconStatus",h])?p.HY:p.SD)(c),o.add(c),c.on("click",a.oI(l.onclick,l,e,n,h)),I[h]=c})}},e.prototype.updateView=function(t,e,n,i){a.__(this._features,function(t){t instanceof s.Ms&&t.updateView&&t.updateView(t.model,e,n,i)})},e.prototype.remove=function(t,e){a.__(this._features,function(n){n instanceof s.Ms&&n.remove&&n.remove(t,e)}),this.group.removeAll()},e.prototype.dispose=function(t,e){a.__(this._features,function(n){n instanceof s.Ms&&n.dispose&&n.dispose(t,e)})},e.type="toolbox",e}(v.A);function M(t){return 0===t.indexOf("my")}var w=I,S=n(38123),D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",o="svg"===e.getZr().painter.getType(),r=o?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:r,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=S.A.browser;if("function"!==typeof MouseEvent||!s.newEdge&&(s.ie||s.edge))if(window.navigator.msSaveOrOpenBlob||o){var u=a.split(","),l=u[0].indexOf("base64")>-1,h=o?decodeURIComponent(u[1]):u[1];l&&(h=window.atob(h));var c=i+"."+r;if(window.navigator.msSaveOrOpenBlob){var d=h.length,p=new Uint8Array(d);while(d--)p[d]=h.charCodeAt(d);var f=new Blob([p]);window.navigator.msSaveOrOpenBlob(f,c)}else{var m=document.createElement("iframe");document.body.appendChild(m);var g=m.contentWindow,v=g.document;v.open("image/svg+xml","replace"),v.write(h),v.close(),g.focus(),v.execCommand("SaveAs",!0,c),document.body.removeChild(m)}}else{var y=n.get("lang"),_='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(y&&y[0]||"")+'" /></body>',x=window.open();x.document.write(_),x.document.title=i}else{var I=document.createElement("a");I.download=i+"."+r,I.target="_blank",I.href=a;var M=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});I.dispatchEvent(M)}},e.getDefaultOption=function(t){var e={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return e},e}(s.Ms),C=D,T=n(98383),b=n(48170),A="__ec_magicType_stack__",k=[["line","bar"],["stack"]],O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return a.__(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n},e.getDefaultOption=function(t){var e={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return e},e.prototype.onclick=function(t,e,n){var i=this.model,o=i.get(["seriesIndex",n]);if(L[n]){var r,s={series:[]},u=function(t){var e=t.subType,o=t.id,r=L[n](e,o,t,i);r&&(a.NT(r,t.option),s.series.push(r));var u=t.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===n||"bar"===n)){var l=u.getAxesByScale("ordinal")[0];if(l){var h=l.dim,c=h+"Axis",d=t.getReferringComponents(c,b.US).models[0],p=d.componentIndex;s[c]=s[c]||[];for(var f=0;f<=p;f++)s[c][p]=s[c][p]||{};s[c][p].boundaryGap="bar"===n}}};a.__(k,function(t){a.qh(t,n)>=0&&a.__(t,function(t){i.setIconStatus(t,"normal")})}),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},u);var l=n;"stack"===n&&(r=a.h1({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(l="tiled")),e.dispatchAction({type:"changeMagicType",currentType:l,newOption:s,newTitle:r,featureName:"magicType"})}},e}(s.Ms),L={line:function(t,e,n,i){if("bar"===t)return a.h1({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return a.h1({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var o=n.get("stack")===A;if("line"===t||"bar"===t)return i.setIconStatus("stack",o?"normal":"emphasis"),a.h1({id:e,stack:o?"":A},i.get(["option","stack"])||{},!0)}};T.OH({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)});var R=O,V=n(35452),N=new Array(60).join("-"),E="\t";function B(t){var e={},n=[],i=[];return t.eachRawSeries(function(t){var o=t.coordinateSystem;if(!o||"cartesian2d"!==o.type&&"polar"!==o.type)n.push(t);else{var r=o.getBaseAxis();if("category"===r.type){var a=r.dim+"_"+r.index;e[a]||(e[a]={categoryAxis:r,valueAxis:o.getOtherAxis(r),series:[]},i.push({axisDim:r.dim,axisIndex:r.index})),e[a].series.push(t)}else n.push(t)}}),{seriesGroupByCategoryAxis:e,other:n,meta:i}}function z(t){var e=[];return a.__(t,function(t,n){var i=t.categoryAxis,o=t.valueAxis,r=o.dim,s=[" "].concat(a.Tj(t.series,function(t){return t.name})),u=[i.model.getCategories()];a.__(t.series,function(t){var e=t.getRawData();u.push(t.getRawData().mapArray(e.mapDimension(r),function(t){return t}))});for(var l=[s.join(E)],h=0;h<u[0].length;h++){for(var c=[],d=0;d<u.length;d++)c.push(u[d][h]);l.push(c.join(E))}e.push(l.join("\n"))}),e.join("\n\n"+N+"\n\n")}function H(t){return a.Tj(t,function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,function(){for(var t=arguments.length,o=arguments[t-1],r=e.getName(o),a=0;a<t-1;a++)i[a]=arguments[a];n.push((r?r+E:"")+i.join(E))}),n.join("\n")}).join("\n\n"+N+"\n\n")}function P(t){var e=B(t);return{value:a.pb([z(e.seriesGroupByCategoryAxis),H(e.other)],function(t){return!!t.replace(/[\n\t\s]/g,"")}).join("\n\n"+N+"\n\n"),meta:e.meta}}function F(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function G(t){var e=t.slice(0,t.indexOf("\n"));if(e.indexOf(E)>=0)return!0}var K=new RegExp("["+E+"]+","g");function X(t){for(var e=t.split(/\n+/g),n=F(e.shift()).split(K),i=[],o=a.Tj(n,function(t){return{name:t,data:[]}}),r=0;r<e.length;r++){var s=F(e[r]).split(K);i.push(s.shift());for(var u=0;u<s.length;u++)o[u]&&(o[u].data[r]=s[u])}return{series:o,categories:i}}function $(t){for(var e=t.split(/\n+/g),n=F(e.shift()),i=[],o=0;o<e.length;o++){var r=F(e[o]);if(r){var a=r.split(K),s="",u=void 0,l=!1;isNaN(a[0])?(l=!0,s=a[0],a=a.slice(1),i[o]={name:s,value:[]},u=i[o].value):u=i[o]=[];for(var h=0;h<a.length;h++)u.push(+a[h]);1===u.length&&(l?i[o].value=u[0]:i[o]=u[0])}}return{name:n,data:i}}function W(t,e){var n=t.split(new RegExp("\n*"+N+"\n*","g")),i={series:[]};return a.__(n,function(t,n){if(G(t)){var o=X(t),r=e[n],a=r.axisDim+"Axis";r&&(i[a]=i[a]||[],i[a][r.axisIndex]={data:o.categories},i.series=i.series.concat(o.series))}else{o=$(t);i.series.push(o)}}),i}var j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.onclick=function(t,e){setTimeout(function(){e.dispatchAction({type:"hideTip"})});var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",o.style.backgroundColor=i.get("backgroundColor")||"#fff";var r=document.createElement("h4"),s=i.get("lang")||[];r.innerHTML=s[0]||i.get("title"),r.style.cssText="margin:10px 20px",r.style.color=i.get("textColor");var u=document.createElement("div"),l=document.createElement("textarea");u.style.cssText="overflow:auto";var h=i.get("optionToContent"),c=i.get("contentToOption"),d=P(t);if(a.Tn(h)){var p=h(e.getOption());a.Kg(p)?u.innerHTML=p:a.n_(p)&&u.appendChild(p)}else{l.readOnly=i.get("readOnly");var f=l.style;f.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",f.color=i.get("textColor"),f.borderColor=i.get("textareaBorderColor"),f.backgroundColor=i.get("textareaColor"),l.value=d.value,u.appendChild(l)}var m=d.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var v="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",y=document.createElement("div"),_=document.createElement("div");v+=";background-color:"+i.get("buttonColor"),v+=";color:"+i.get("buttonTextColor");var x=this;function I(){n.removeChild(o),x._dom=null}(0,V.q2)(y,"click",I),(0,V.q2)(_,"click",function(){if(null==c&&null!=h||null!=c&&null==h)I();else{var t;try{t=a.Tn(c)?c(u,e.getOption()):W(l.value,m)}catch(n){throw I(),new Error("Data view format error "+n)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),I()}}),y.innerHTML=s[1],_.innerHTML=s[2],_.style.cssText=y.style.cssText=v,!i.get("readOnly")&&g.appendChild(_),g.appendChild(y),o.appendChild(r),o.appendChild(u),o.appendChild(g),u.style.height=n.clientHeight-80+"px",n.appendChild(o),this._dom=o},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){var e={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return e},e}(s.Ms);function U(t,e){return a.Tj(t,function(t,n){var i=e&&e[n];if(a.Gv(i)&&!a.cy(i)){var o=a.Gv(t)&&!a.cy(t);o||(t={value:t});var r=null!=i.name&&null==t.name;return t=a.NT(t,i),r&&delete t.name,t}return t})}T.OH({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var n=[];a.__(t.newOption.series,function(t){var i=e.getSeriesByName(t.name)[0];if(i){var o=i.get("data");n.push({name:t.name,data:U(t.data,o)})}else n.push(a.X$({type:"scatter"},t))}),e.mergeOption(a.NT({series:n},t.newOption))});var Y=j,Z=n(78668),q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.onclick=function(t,e){Z.IU(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){var e={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])};return e},e}(s.Ms);T.OH({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var Q=q,J=n(14403),tt=n(98595),et=n(98983),nt=n(7442),it=a.__,ot=(0,b.S_)("toolbox-dataZoom_"),rt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.C6)(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new J.A(n.getZr()),this._brushController.on("brush",a.oI(this._onBrush,this)).mount()),lt(t,e,this,i,n),ut(t,e)},e.prototype.onclick=function(t,e,n){at[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]);var o=new tt.A(st(this.model),i,{include:["grid"]});o.matchOutputRanges(e,i,function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}}),Z.VC(i,n),this._dispatchZoomAction(n)}function r(t,e,o){var r=e.getAxis(t),s=r.model,u=a(t,s,i),l=u.findRepresentativeAxisProxy(s).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(o=(0,et.A)(0,o.slice(),r.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),u&&(n[u.id]={dataZoomId:u.id,startValue:o[0],endValue:o[1]})}function a(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){var o=n.getAxisModel(t,e.componentIndex);o&&(i=n)}),i}},e.prototype._dispatchZoomAction=function(t){var e=[];it(t,function(t,n){e.push(a.o8(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){var e={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return e},e}(s.Ms),at={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(Z.uY(this.ecModel))}};function st(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function ut(t,e){t.setIconStatus("back",Z.U9(e)>1?"emphasis":"normal")}function lt(t,e,n,i,o){var r=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(r="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=r,t.setIconStatus("zoom",r?"emphasis":"normal");var a=new tt.A(st(t),e,{include:["grid"]}),s=a.makePanelOpts(o,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(s).enableBrush(!(!r||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(0,nt.S)("dataZoom",function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),o=[],r=st(i),a=(0,b._e)(t,r);return it(a.xAxisModels,function(t){return s(t,"xAxis","xAxisIndex")}),it(a.yAxisModels,function(t){return s(t,"yAxis","yAxisIndex")}),o}function s(t,e,n){var r=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:ot+e+r};a[n]=r,o.push(a)}});var ht=rt;function ct(t){t.registerComponentModel(h),t.registerComponentView(w),(0,s.M_)("saveAsImage",C),(0,s.M_)("magicType",R),(0,s.M_)("dataView",Y),(0,s.M_)("dataZoom",ht),(0,s.M_)("restore",Q),(0,i.Y)(o.a)}},34310:function(t,e,n){n.d(e,{AF:function(){return h},BE:function(){return c},O0:function(){return v},gV:function(){return l},tP:function(){return u},wZ:function(){return d}});var i=n(98026),o=n(13430),r=n(48170),a=n(23071),s=function(){function t(t){this.data=t.data||(t.sourceFormat===o.t1?{}:[]),this.sourceFormat=t.sourceFormat||o.vm,this.seriesLayoutBy=t.seriesLayoutBy||o.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 i=e[n];null==i.type&&(0,a.PU)(this,n)===a.sc.Must&&(i.type="ordinal")}}return t}();function u(t){return t instanceof s}function l(t,e,n){n=n||d(t);var o=e.seriesLayoutBy,r=p(t,n,o,e.sourceHeader,e.dimensions),a=new s({data:t,sourceFormat:n,seriesLayoutBy:o,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:(0,i.o8)(e)});return a}function h(t){return new s({data:t,sourceFormat:(0,i.iu)(t)?o.XO:o.mK})}function c(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,i.o8)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function d(t){var e=o.vm;if((0,i.iu)(t))e=o.XO;else if((0,i.cy)(t)){0===t.length&&(e=o.Km);for(var n=0,r=t.length;n<r;n++){var a=t[n];if(null!=a){if((0,i.cy)(a)||(0,i.iu)(a)){e=o.Km;break}if((0,i.Gv)(a)){e=o.Wk;break}}}}else if((0,i.Gv)(t))for(var s in t)if((0,i.$3)(t,s)&&(0,i.Xj)(t[s])){e=o.t1;break}return e}function p(t,e,n,a,s){var u,l;if(!t)return{dimensionsDefine:m(s),startIndex:l,dimensionsDetectedCount:u};if(e===o.Km){var h=t;"auto"===a||null==a?g(function(t){null!=t&&"-"!==t&&((0,i.Kg)(t)?null==l&&(l=1):l=0)},n,h,10):l=(0,i.Et)(a)?a:a?1:0,s||1!==l||(s=[],g(function(t,e){s[e]=null!=t?t+"":""},n,h,1/0)),u=s?s.length:n===o.oC?h.length:h[0]?h[0].length:null}else if(e===o.Wk)s||(s=f(t));else if(e===o.t1)s||(s=[],(0,i.__)(t,function(t,e){s.push(e)}));else if(e===o.mK){var c=(0,r.vj)(t[0]);u=(0,i.cy)(c)&&c.length||1}else o.XO;return{startIndex:l,dimensionsDefine:m(s),dimensionsDetectedCount:u}}function f(t){var e,n=0;while(n<t.length&&!(e=t[n++]));if(e)return(0,i.HP)(e)}function m(t){if(t){var e=(0,i.nt)();return(0,i.Tj)(t,function(t,n){t=(0,i.Gv)(t)?t:{name:t};var o={name:t.name,displayName:t.displayName,type:t.type};if(null==o.name)return o;o.name+="",null==o.displayName&&(o.displayName=o.name);var r=e.get(o.name);return r?o.name+="-"+r.count++:e.set(o.name,{count:1}),o})}}function g(t,e,n,i){if(e===o.oC)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var a=n[0]||[];for(r=0;r<a.length&&r<i;r++)t(a[r],r)}}function v(t){var e=t.sourceFormat;return e===o.Wk||e===o.t1}},40972:function(t,e,n){n.d(e,{A:function(){return c},R:function(){return h}});var i=n(98026),o=n(34310),r=n(13430),a=n(23071),s=n(17752),u=n(70250),l=n(58267),h=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(d(n)){var u=n,l=void 0,h=void 0,c=void 0;if(s){var p=a[0];p.prepareSource(),c=p.getSource(),l=c.data,h=c.sourceFormat,e=[p._getVersionSign()]}else l=u.get("data",!0),h=(0,i.iu)(l)?r.XO:r.mK,e=[];var f=this._getSourceMetaRawOption()||{},m=c&&c.metaRawOption||{},g=(0,i.bZ)(f.seriesLayoutBy,m.seriesLayoutBy)||null,v=(0,i.bZ)(f.sourceHeader,m.sourceHeader),y=(0,i.bZ)(f.dimensions,m.dimensions),_=g!==m.seriesLayoutBy||!!v!==!!m.sourceHeader||y;t=_?[(0,o.gV)(l,{seriesLayoutBy:g,sourceHeader:v,dimensions:y},h)]:[]}else{var x=n;if(s){var I=this._applyTransform(a);t=I.sourceList,e=I.upstreamSignList}else{var M=x.get("source",!0);t=[(0,o.gV)(M,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,r=n.get("transform",!0),a=n.get("fromTransformResult",!0);if(null!=a){var u="";1!==t.length&&p(u)}var l=[],h=[];return(0,i.__)(t,function(t){t.prepareSource();var e=t.getSource(a||0),n="";null==a||e||p(n),l.push(e),h.push(t._getVersionSign())}),r?e=(0,s.py)(r,l,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,o.BE)(l[0])]),{sourceList:e,upstreamSignList:h}},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 i=0,o=this._storeList,r=o[i];r||(r=o[i]={});var a=r[n];if(!a){var s=this._getUpstreamSourceManagers()[0];d(this._sourceHost)&&s?a=s._innerGetDataStore(t,e,n):(a=new u.Ay,a.initData(new l.d1(e,t.length),t)),r[n]=a}return a},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(d(t)){var e=(0,a.G9)(t);return e?[e.getSourceManager()]:[]}return(0,i.Tj)((0,a.Gt)(t),function(t){return t.getSourceManager()})},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(d(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var o=i;t=o.get("seriesLayoutBy",!0),e=o.get("sourceHeader",!0),n=o.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function c(t){var e=t.option.transform;e&&(0,i.En)(t.option.transform)}function d(t){return"series"===t.mainType}function p(t){throw new Error(t)}},45764:function(t,e){e.A={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:". "}}}}},46259:function(t,e,n){n.d(e,{J:function(){return a},l:function(){return s}});var i=n(98026),o=n(34253),r=[["left","right","width"],["top","bottom","height"]];function a(t,e,n){var i=t.option,a=i.align;if(null!=a&&"auto"!==a)return a;for(var s={width:e.getWidth(),height:e.getHeight()},u="horizontal"===i.orient?1:0,l=r[u],h=[0,null,10],c={},d=0;d<3;d++)c[r[1-u][d]]=h[d],c[l[d]]=2===d?n[0]:i[l[d]];var p=[["x","width",3],["y","height",0]][u],f=(0,o.dV)(c,s,i.padding);return l[(f.margin[p[2]]||0)+f[p[0]]+.5*f[p[1]]<.5*s[p[1]]?0:1]}function s(t,e){return i.__(t||[],function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")}),t}},50451:function(t,e,n){var i=n(98026);function o(t){return"_EC_"+t}var r=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[o(t)]){var i=new a(t,e);return i.hostGraph=this,this.nodes.push(i),n[o(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[o(t)]},t.prototype.addEdge=function(t,e,n){var r=this._nodesMap,u=this._edgesMap;if(i.Et(t)&&(t=this.nodes[t]),i.Et(e)&&(e=this.nodes[e]),t instanceof a||(t=r[o(t)]),e instanceof a||(e=r[o(e)]),t&&e){var l=t.id+"-"+e.id,h=new s(t,e,n);return h.hostGraph=this,this._directed&&(t.outEdges.push(h),e.inEdges.push(h)),t.edges.push(h),t!==e&&e.edges.push(h),this.edges.push(h),u[l]=h,h}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof a&&(t=t.id),e instanceof a&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,o=0;o<i;o++)n[o].dataIndex>=0&&t.call(e,n[o],o)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,o=0;o<i;o++)n[o].dataIndex>=0&&n[o].node1.dataIndex>=0&&n[o].node2.dataIndex>=0&&t.call(e,n[o],o)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof a||(e=this._nodesMap[o(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",s=0;s<this.nodes.length;s++)this.nodes[s].__visited=!1;if(!t.call(i,e,null)){var u=[e];while(u.length){var l=u.shift(),h=l[r];for(s=0;s<h.length;s++){var c=h[s],d=c.node1===l?c.node2:c.node1;if(!d.__visited){if(t.call(i,d,l))return;u.push(d),d.__visited=!0}}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,o=0,r=n.length;o<r;o++)n[o].dataIndex=-1;for(o=0,r=t.count();o<r;o++)n[t.getRawIndex(o)].dataIndex=o;e.filterSelf(function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0});for(o=0,r=i.length;o<r;o++)i[o].dataIndex=-1;for(o=0,r=e.count();o<r;o++)i[e.getRawIndex(o)].dataIndex=o},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,i=this.edges,o=0;o<n.length;o++)e.addNode(n[o].id,n[o].dataIndex);for(o=0;o<i.length;o++){var r=i[o];e.addEdge(r.node1.id,r.node2.id,r.dataIndex)}return e},t}(),a=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t.prototype.getTrajectoryDataIndices=function(){for(var t=i.nt(),e=i.nt(),n=0;n<this.edges.length;n++){var o=this.edges[n];if(!(o.dataIndex<0)){t.set(o.dataIndex,!0);var r=[o.node1],a=[o.node2],s=0;while(s<r.length){var u=r[s];s++,e.set(u.dataIndex,!0);for(var l=0;l<u.inEdges.length;l++)t.set(u.inEdges[l].dataIndex,!0),r.push(u.inEdges[l].node1)}s=0;while(s<a.length){var h=a[s];s++,e.set(h.dataIndex,!0);for(l=0;l<h.outEdges.length;l++)t.set(h.outEdges[l].dataIndex,!0),a.push(h.outEdges[l].node2)}}}return{edge:t.keys(),node:e.keys()}},t}(),s=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.edgeData.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t.prototype.getTrajectoryDataIndices=function(){var t=i.nt(),e=i.nt();t.set(this.dataIndex,!0);var n=[this.node1],o=[this.node2],r=0;while(r<n.length){var a=n[r];r++,e.set(a.dataIndex,!0);for(var s=0;s<a.inEdges.length;s++)t.set(a.inEdges[s].dataIndex,!0),n.push(a.inEdges[s].node1)}r=0;while(r<o.length){var u=o[r];r++,e.set(u.dataIndex,!0);for(s=0;s<u.outEdges.length;s++)t.set(u.outEdges[s].dataIndex,!0),o.push(u.outEdges[s].node2)}return{edge:t.keys(),node:e.keys()}},t}();function u(t,e){return{getValue:function(n){var i=this[t][e];return i.getStore().get(i.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}i.co(a,u("hostGraph","data")),i.co(s,u("hostGraph","edgeData")),e.Ay=r},55855:function(t,e,n){var i=n(15215),o=n(98026),r=n(16985),a=["rect","polygon","lineX","lineY","keep","clear"],s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.render=function(t,e,n){var i,r,a;e.eachComponent({mainType:"brush"},function(t){i=t.brushType,r=t.brushOption.brushMode||"single",a=a||!!t.areas.length}),this._brushType=i,this._brushMode=r,o.__(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?a:e===i)?"emphasis":"normal")})},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return o.__(t.get("type",!0),function(t){e[t]&&(n[t]=e[t])}),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,o=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===o?"single":"multiple":o}})},e.getDefaultOption=function(t){var e={show:!0,type:a.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])};return e},e}(r.Ms);e.A=s},56668:function(t,e,n){n.d(e,{a:function(){return K}});var i=n(15215),o=n(98026),r=n(26192),a=n(24326),s=n(12616),u=[20,140],l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=u[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=u[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):o.cy(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),o.__(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=a.Y6((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries(function(n){var i=[],o=n.getData();o.each(this.getDataDimensionIndex(o),function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)},this),e.push({seriesId:n.id,dataIndex:i})},this),e},e.prototype.getVisualMeta=function(t){var e=h(this,"outOfRange",this.getExtent()),n=h(this,"inRange",this.option.range.slice()),i=[];function o(e,n){i.push({value:e,color:t(e,n)})}for(var r=0,a=0,s=n.length,u=e.length;a<u&&(!n.length||e[a]<=n[0]);a++)e[a]<n[r]&&o(e[a],"outOfRange");for(var l=1;r<s;r++,l=0)l&&i.length&&o(n[r],"outOfRange"),o(n[r],"inRange");for(l=1;a<u;a++)(!n.length||n[n.length-1]<e[a])&&(l&&(i.length&&o(i[i.length-1].value,"outOfRange"),l=0),o(e[a],"outOfRange"));var c=i.length;return{stops:i,outerColors:[c?i[0].color:"transparent",c?i[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=(0,s.G_)(r.A.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(r.A);function h(t,e,n){if(n[0]===n[1])return n.slice();for(var i=200,o=(n[1]-n[0])/i,r=n[0],a=[],s=0;s<=i&&r<n[1];s++)a.push(r),r+=o;return a.push(n[1]),a}var c=l,d=n(29668),p=n(35452),f=n(59044),m=n(82980),g=n(43870),v=n(10992),y=n(43199),_=n(52505),x=n(98983),I=n(46259),M=n(48170),w=n(45558),S=n(34833),D=n(62103),C=n(90540),T=n(69622),b=n(89632),A=n(47411),k=a.Cb,O=o.__,L=Math.min,R=Math.max,V=12,N=6,E=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return(0,i.C6)(e,t),e.prototype.init=function(e,n){t.prototype.init.call(this,e,n),this._hoverLinkFromSeriesMouseOver=o.oI(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=o.oI(this._hideIndicator,this)},e.prototype.doRender=function(t,e,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var o=this.visualMapModel,r=o.get("textGap"),a=o.itemSize,s=this._shapes.mainGroup,u=this._applyTransform([a[0]/2,0===n?-r:a[1]+r],s),l=this._applyTransform(0===n?"bottom":"top",s),h=this._orient,c=this.visualMapModel.textStyleModel;this.group.add(new m.Ay({style:(0,b.VB)(c,{x:u[0],y:u[1],verticalAlign:"horizontal"===h?"middle":l,align:"horizontal"===h?l:"center",text:i})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,r=this._orient,a=this._useHandle,s=I.J(e,this.api,i),u=n.mainGroup=this._createBarGroup(s),l=new g.A;u.add(l),l.add(n.outOfRange=B()),l.add(n.inRange=B(null,a?P(this._orient):null,o.oI(this._dragHandle,this,"all",!1),o.oI(this._dragHandle,this,"all",!0))),l.setClipPath(new v.A({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var h=e.textStyleModel.getTextRect("国"),c=R(h.width,h.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,u,0,i,c,r),this._createHandle(e,u,1,i,c,r)),this._createIndicator(e,u,i,c,r),t.add(u)},e.prototype._createHandle=function(t,e,n,i,r,a){var s=o.oI(this._dragHandle,this,n,!1),u=o.oI(this._dragHandle,this,n,!0),l=(0,w.lo)(t.get("handleSize"),i[0]),h=(0,D.v5)(t.get("handleIcon"),-l/2,-l/2,l,l,null,!0),c=P(this._orient);h.attr({cursor:c,draggable:!0,drift:s,ondragend:u,onmousemove:function(t){p.ds(t.event)}}),h.x=i[0]/2,h.useStyle(t.getModel("handleStyle").getItemStyle()),h.setStyle({strokeNoScale:!0,strokeFirst:!0}),h.style.lineWidth*=2,h.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,S.ix)(h,!0),e.add(h);var d=this.visualMapModel.textStyleModel,f=new m.Ay({cursor:c,draggable:!0,drift:s,onmousemove:function(t){p.ds(t.event)},ondragend:u,style:(0,b.VB)(d,{x:0,y:0,text:""})});f.ensureState("blur").style={opacity:.1},f.stateTransition={duration:200},this.group.add(f);var g=[l,0],v=this._shapes;v.handleThumbs[n]=h,v.handleLabelPoints[n]=g,v.handleLabels[n]=f},e.prototype._createIndicator=function(t,e,n,i,r){var a=(0,w.lo)(t.get("indicatorSize"),n[0]),s=(0,D.v5)(t.get("indicatorIcon"),-a/2,-a/2,a,a,null,!0);s.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var u=t.getModel("indicatorStyle").getItemStyle();if(s instanceof C.Ay){var l=s.style;s.useStyle(o.X$({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},u))}else s.useStyle(u);e.add(s);var h=this.visualMapModel.textStyleModel,c=new m.Ay({silent:!0,invisible:!0,style:(0,b.VB)(h,{x:0,y:0,text:""})});this.group.add(c);var d=[("horizontal"===r?i/2:N)+n[0]/2,0],p=this._shapes;p.indicator=s,p.indicatorLabel=c,p.indicatorLabelPoint=d,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var o=this._applyTransform([n,i],this._shapes.mainGroup,!0);this._updateInterval(t,o[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():H(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[k(e[0],n,i,!0),k(e[1],n,i,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,o=[0,n.itemSize[1]];(0,x.A)(e,i,o,t,0);var r=n.getExtent();this._dataInterval=[k(i[0],o,r,!0),k(i[1],o,r,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,o=[0,e.itemSize[1]],r=t?o:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,r,"inRange"),s=this._createBarVisual(n,n,o,"outOfRange");i.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(r,a)},e.prototype._createBarVisual=function(t,e,n,i){var o={forceState:i,convertOpacityToAlpha:!0},r=this._makeColorGradient(t,o),a=[this.getControllerVisual(t[0],"symbolSize",o),this.getControllerVisual(t[1],"symbolSize",o)],s=this._createBarPoints(n,a);return{barColor:new d.A(0,0,0,1,r),barPoints:s,handlesColor:[r[0].color,r[r.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=100,i=[],o=(t[1]-t[0])/n;i.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<n;r++){var a=t[0]+o*r;if(a>t[1])break;i.push({color:this.getControllerVisual(a,"color",e),offset:r/n})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new g.A("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,r=n.handleLabels,a=i.itemSize,s=i.getExtent(),u=this._applyTransform("left",n.mainGroup);O([0,1],function(l){var h=o[l];h.setStyle("fill",e.handlesColor[l]),h.y=t[l];var c=k(t[l],[0,a[1]],s,!0),d=this.getControllerVisual(c,"symbolSize");h.scaleX=h.scaleY=d/a[0],h.x=a[0]-d/2;var p=y.applyTransform(n.handleLabelPoints[l],y.getTransform(h,this.group));if("horizontal"===this._orient){var f="left"===u||"top"===u?(a[0]-d)/2:(a[0]-d)/-2;p[1]+=f}r[l].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,e,n,i){var o=this.visualMapModel,r=o.getExtent(),a=o.itemSize,s=[0,a[1]],u=this._shapes,l=u.indicator;if(l){l.attr("invisible",!1);var h={convertOpacityToAlpha:!0},c=this.getControllerVisual(t,"color",h),d=this.getControllerVisual(t,"symbolSize"),p=k(t,r,s,!0),f=a[0]-d/2,m={x:l.x,y:l.y};l.y=p,l.x=f;var g=y.applyTransform(u.indicatorLabelPoint,y.getTransform(l,this.group)),v=u.indicatorLabel;v.attr("invisible",!1);var _=this._applyTransform("left",u.mainGroup),x=this._orient,I="horizontal"===x;v.setStyle({text:(n||"")+o.formatValueText(e),verticalAlign:I?_:"middle",align:I?"center":_});var M={x:f,y:p,style:{fill:c}},w={style:{x:g[0],y:g[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var S={duration:100,easing:"cubicInOut",additive:!0};l.x=m.x,l.y=m.y,l.animateTo(M,S),v.animateTo(w,S)}else l.attr(M),v.attr(w);this._firstShowIndicator=!1;var D=this._shapes.handleLabels;if(D)for(var C=0;C<D.length;C++)this.api.enterBlur(D[C])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);i[1]=L(R(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}}).on("mouseout",function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var o=[0,i[1]],r=n.getExtent();t=L(R(o[0],t),o[1]);var a=z(n,r,o),s=[t-a,t+a],u=k(t,o,r,!0),l=[k(s[0],o,r,!0),k(s[1],o,r,!0)];s[0]<o[0]&&(l[0]=-1/0),s[1]>o[1]&&(l[1]=1/0),e&&(l[0]===-1/0?this._showIndicator(u,l[1],"< ",a):l[1]===1/0?this._showIndicator(u,l[0],"> ",a):this._showIndicator(u,u,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||H(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(l));var d=M.D6(h,c);this._dispatchHighDown("downplay",I.l(d[0],n)),this._dispatchHighDown("highlight",I.l(d[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if((0,A.R)(t.target,function(t){var n=(0,T.z)(t);if(null!=n.dataIndex)return e=n,!0},!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var o=n.getData(e.dataType),r=o.getStore().get(i.getDataDimensionIndex(o),e.dataIndex);isNaN(r)||this._showIndicator(r,r)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n<e.length;n++)this.api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",I.l(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,n,i){var r=y.getTransform(e,i?null:this.group);return o.cy(t)?y.applyTransform(t,r,n):y.transformDirection(t,r,n)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(f.A);function B(t,e,n,i){return new _.A({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){p.ds(t.event)},ondragend:i})}function z(t,e,n){var i=V/2,o=t.get("hoverLinkDataSize");return o&&(i=k(o,e,n,!0)/2),i}function H(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function P(t){return"vertical"===t?"ns-resize":"ew-resize"}var F=E,G=n(1987);function K(t){t.registerComponentModel(c),t.registerComponentView(F),(0,G.A)(t)}},58267:function(t,e,n){n.d(e,{Kd:function(){return y},QE:function(){return w},d1:function(){return d},sC:function(){return m},uQ:function(){return I}});var i,o,r,a,s,u=n(98026),l=n(48170),h=n(34310),c=n(13430),d=function(){function t(t,e){var n=(0,h.tP)(t)?t:(0,h.AF)(t);this._source=n;var i=this._data=n.data;n.sourceFormat===c.XO&&(this._offset=0,this._dimSize=e,this._data=i),s(this,i,n)}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=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;s=function(t,o,r){var s=r.sourceFormat,l=r.seriesLayoutBy,h=r.startIndex,d=r.dimensionsDefine,p=a[M(s,l)];if((0,u.X$)(t,p),s===c.XO)t.getItem=e,t.count=i,t.fillStorage=n;else{var f=m(s,l);t.getItem=(0,u.oI)(f,null,o,h,d);var g=y(s,l);t.count=(0,u.oI)(g,null,o,h,d)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,o=i*t,r=0;r<i;r++)e[r]=n[o+r];return e},n=function(t,e,n,i){for(var o=this._data,r=this._dimSize,a=0;a<r;a++){for(var s=i[a],u=null==s[0]?1/0:s[0],l=null==s[1]?-1/0:s[1],h=e-t,c=n[a],d=0;d<h;d++){var p=o[d*r+a];c[t+d]=p,p<u&&(u=p),p>l&&(l=p)}s[0]=u,s[1]=l}},i=function(){return this._data?this._data.length/this._dimSize:0};function o(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}t={},t[c.Km+"_"+c.i_]={pure:!0,appendData:o},t[c.Km+"_"+c.oC]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[c.Wk]={pure:!0,appendData:o},t[c.t1]={pure:!0,appendData:function(t){var e=this._data;(0,u.__)(t,function(t,n){for(var i=e[n]||(e[n]=[]),o=0;o<(t||[]).length;o++)i.push(t[o])})}},t[c.mK]={appendData:o},t[c.XO]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),t}(),p=function(t,e,n,i){return t[i]},f=(i={},i[c.Km+"_"+c.i_]=function(t,e,n,i){return t[i+e]},i[c.Km+"_"+c.oC]=function(t,e,n,i,o){i+=e;for(var r=o||[],a=t,s=0;s<a.length;s++){var u=a[s];r[s]=u?u[i]:null}return r},i[c.Wk]=p,i[c.t1]=function(t,e,n,i,o){for(var r=o||[],a=0;a<n.length;a++){var s=n[a].name;0;var u=t[s];r[a]=u?u[i]:null}return r},i[c.mK]=p,i);function m(t,e){var n=f[M(t,e)];return n}var g=function(t,e,n){return t.length},v=(o={},o[c.Km+"_"+c.i_]=function(t,e,n){return Math.max(0,t.length-e)},o[c.Km+"_"+c.oC]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},o[c.Wk]=g,o[c.t1]=function(t,e,n){var i=n[0].name;var o=t[i];return o?o.length:0},o[c.mK]=g,o);function y(t,e){var n=v[M(t,e)];return n}var _=function(t,e,n){return t[e]},x=(r={},r[c.Km]=_,r[c.Wk]=function(t,e,n){return t[n]},r[c.t1]=_,r[c.mK]=function(t,e,n){var i=(0,l.vj)(t);return i instanceof Array?i[e]:i},r[c.XO]=_,r);function I(t){var e=x[t];return e}function M(t,e){return t===c.Km?t+"_"+e:t}function w(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var o=t.getStore(),r=o.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=o.getDimensionProperty(a);return I(r)(i,a,s)}var u=i;return r===c.mK&&(u=(0,l.vj)(i)),u}}}},59044:function(t,e,n){var i=n(15215),o=n(98026),r=n(10992),a=n(83412),s=n(34253),u=n(7857),l=n(59109),h=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return(0,i.C6)(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,i):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=a.QX(e.get("padding")||0),i=t.getBoundingRect();t.add(new r.A({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){n=n||{};var i=n.forceState,r=this.visualMapModel,a={};if("color"===e){var s=r.get("contentColor");a.color=s}function l(t){return a[t]}function h(t,e){a[t]=e}var c=r.controllerVisuals[i||r.getValueState(t)],d=u.A.prepareVisualTypes(c);return o.__(d,function(i){var o=c[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",o=c.__alphaForOpacity),u.A.dependsOn(i,e)&&o&&o.applyVisual(t,l,h)}),a[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;s.m$(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,i){},e.type="visualMap",e}(l.A);e.A=h},62054:function(t,e,n){n.d(e,{a:function(){return S}});var i=n(15215),o=n(98026),r=n(26192),a=n(7857),s=n(54942),u=n(24326),l=n(12616),h=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return(0,i.C6)(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],c[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual(function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=o.o8(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=o.Tj(this._pieceList,function(t){return t=o.o8(t),"inRange"!==e&&(t.visual=null),t}))})},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=a.A.listVisualTypes(),r=this.isCategory();function u(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}o.__(e.pieces,function(t){o.__(i,function(e){t.hasOwnProperty(e)&&(n[e]=1)})}),o.__(n,function(t,n){var i=!1;o.__(this.stateList,function(t){i=i||u(e,t,n)||u(e.target,t,n)},this),!i&&o.__(this.stateList,function(t){(e[t]||(e[t]={}))[n]=s.A.get(n,"inRange"===t?"active":"inactive",r)})},this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,o.__(i,function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)},this),"single"===n.selectedMode){var a=!1;o.__(i,function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(a?r[n]=!1:a=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=o.o8(t)},e.prototype.getValueState=function(t){var e=a.A.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries(function(i){var o=[],r=i.getData();r.each(this.getDataDimensionIndex(r),function(e,i){var r=a.A.findPieceIndex(e,n);r===t&&o.push(i)},this),e.push({seriesId:i.id,dataIndex:o})},this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var a=r[0].interval[0];a!==-1/0&&r.unshift({interval:[-1/0,a]}),a=r[r.length-1].interval[1],a!==1/0&&r.push({interval:[a,1/0]})}else r.push({interval:[-1/0,1/0]});var s=-1/0;return o.__(r,function(t){var e=t.interval;e&&(e[0]>s&&u([s,e[0]],"outOfRange"),u(e.slice()),s=e[1])},this),{stops:e,outerColors:n}}function u(o,r){var a=i.getRepresentValue({interval:o});r||(r=i.getValueState(a));var s=t(a,r);o[0]===-1/0?n[0]=s:o[1]===1/0?n[1]=s:e.push({value:o[0],color:s},{value:o[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=(0,l.G_)(r.A.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(r.A),c={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;var a=(i[1]-i[0])/r;while(+a.toFixed(n)!==a&&n<5)n++;e.precision=n,a=+a.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var s=0,l=i[0];s<r;l+=a,s++){var h=s===r-1?i[1]:l+a;t.push({interval:[l,h],close:[1,1]})}e.maxOpen&&t.push({interval:[i[1],1/0],close:[0,0]}),(0,u.sL)(t),o.__(t,function(t,e){t.index=e,t.text=this.formatValueText(t.interval)},this)},categories:function(t){var e=this.option;o.__(e.categories,function(e){t.push({text:this.formatValueText(e,!0),value:e})},this),d(e,t)},pieces:function(t){var e=this.option;o.__(e.pieces,function(e,n){o.Gv(e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var r=i.value=e.value;i.interval=[r,r],i.close=[1,1]}else{for(var s=i.interval=[],u=i.close=[0,0],l=[1,0,1],h=[-1/0,1/0],c=[],d=0;d<2;d++){for(var p=[["gte","gt","min"],["lte","lt","max"]][d],f=0;f<3&&null==s[d];f++)s[d]=e[p[f]],u[d]=l[f],c[d]=2===f;null==s[d]&&(s[d]=h[d])}c[0]&&s[1]===1/0&&(u[0]=0),c[1]&&s[0]===-1/0&&(u[1]=0),s[0]===s[1]&&u[0]&&u[1]&&(i.value=s[0])}i.visual=a.A.retrieveVisuals(e),t.push(i)},this),d(e,t),(0,u.sL)(t),o.__(t,function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)},this)}};function d(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var p=h,f=n(59044),m=n(43870),g=n(82980),v=n(62103),y=n(34253),_=n(46259),x=n(89632),I=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),a=i.getTextColor(),s=this._getItemAlign(),u=e.itemSize,l=this._getViewData(),h=l.endsText,c=o.Je(e.get("showLabel",!0),!h),d=!e.get("selectedMode");h&&this._renderEndsText(t,h[0],u,c,s),o.__(l.viewPieceList,function(i){var l=i.piece,h=new m.A;h.onclick=o.oI(this._onItemClick,this,l),this._enableHoverLink(h,i.indexInModelPieceList);var p=e.getRepresentValue(l);if(this._createItemSymbol(h,p,[0,0,u[0],u[1]],d),c){var f=this.visualMapModel.getValueState(p);h.add(new g.Ay({style:{x:"right"===s?-n:u[0]+n,y:u[1]/2,text:l.text,verticalAlign:"middle",align:s,font:r,fill:a,opacity:"outOfRange"===f?.5:1},silent:d}))}t.add(h)},this),h&&this._renderEndsText(t,h[1],u,c,s),y.aP(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:_.l(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return _.J(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,o){if(e){var r=new m.A,a=this.visualMapModel.textStyleModel;r.add(new g.Ay({style:(0,x.VB)(a,{x:i?"right"===o?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?o:"center",text:e})})),t.add(r)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=o.Tj(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n,i){var o=(0,v.v5)(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color"));o.silent=i,t.add(o)},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=o.o8(n.selected),a=e.getSelectedMapKey(t);"single"===i||!0===i?(r[a]=!0,o.__(r,function(t,e){r[e]=e===a})):r[a]=!r[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(f.A),M=I,w=n(1987);function S(t){t.registerComponentModel(p),t.registerComponentView(M),(0,w.A)(t)}},65008:function(t,e,n){n.d(e,{iJ:function(){return r},me:function(){return u},sJ:function(){return s}});var i=n(98026),o=n(73632);function r(t,e,n){n=n||{};var o,r,s,u=n.byIndex,l=n.stackedCoordDimension;a(e)?o=e:(r=e.schema,o=r.dimensions,s=e.store);var h,c,d,p,f=!(!t||!t.get("stack"));if((0,i.__)(o,function(t,e){(0,i.Kg)(t)&&(o[e]=t={name:t}),f&&!t.isExtraCoord&&(u||h||!t.ordinalMeta||(h=t),c||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(c=t))}),!c||u||h||(u=!0),c){d="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,h&&(h.createInvertedIndices=!0);var m=c.coordDim,g=c.type,v=0;(0,i.__)(o,function(t){t.coordDim===m&&v++});var y={name:d,coordDim:m,coordDimIndex:v,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length},_={name:p,coordDim:p,coordDimIndex:v+1,type:g,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length+1};r?(s&&(y.storeDimIndex=s.ensureCalculationDimension(p,g),_.storeDimIndex=s.ensureCalculationDimension(d,g)),r.appendCalculationDimension(y),r.appendCalculationDimension(_)):(o.push(y),o.push(_))}return{stackedDimension:c&&c.name,stackedByDimension:h&&h.name,isStackedByIndex:u,stackedOverDimension:p,stackResultDimension:d}}function a(t){return!(0,o.fg)(t.schema)}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function u(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}},70250:function(t,e,n){n.d(e,{A_:function(){return h}});var i,o=n(98026),r=n(31825),a=n(34310),s="undefined",u=typeof Uint32Array===s?Array:Uint32Array,l=typeof Uint16Array===s?Array:Uint16Array,h=typeof Int32Array===s?Array:Int32Array,c=typeof Float64Array===s?Array:Float64Array,d={float:c,int:h,ordinal:Array,number:Array,time:c};function p(t){return t>65535?u:l}function f(){return[1/0,-1/0]}function m(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function g(t,e,n,i,o){var r=d[n||"float"];if(o){var a=t[e],s=a&&a.length;if(s!==i){for(var u=new r(i),l=0;l<s;l++)u[l]=a[l];t[e]=u}}else t[e]=new r(i)}var v=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,o.nt)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var r=t.getSource(),s=this.defaultDimValueGetter=i[r.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[];(0,a.O0)(r);this._dimensions=(0,o.Tj)(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,i=this._dimensions,o=n.get(t);if(null!=o){if(i[o].type===e)return o}else o=i.length;return i[o]={type:e},n.set(t,o),this._chunks[o]=new d[e||"float"](this._rawCount),this._rawExtent[o]=f(),o},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],o=this._rawExtent,r=i.ordinalOffset||0,a=n.length;0===r&&(o[t]=f());for(var s=o[t],u=r;u<a;u++){var l=n[u]=e.parseAndCollect(n[u]);isNaN(l)||(s[0]=Math.min(l,s[0]),s[1]=Math.max(l,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){var e=this._dimensions[t],n=e.ordinalMeta;return n},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 i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,o=this._dimensions,r=o.length,a=this._rawExtent,s=this.count(),u=s+Math.max(t.length,e||0),l=0;l<r;l++){var h=o[l];g(n,l,h.type,u,!0)}for(var c=[],d=s;d<u;d++)for(var p=d-s,f=0;f<r;f++){h=o[f];var m=i.arrayRows.call(this,t[p]||c,h.property,p,f);n[f][d]=m;var v=a[f];m<v[0]&&(v[0]=m),m>v[1]&&(v[1]=m)}return this._rawCount=this._count=u,{start:s,end:u}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,a=this._dimensions,s=a.length,u=this._rawExtent,l=(0,o.Tj)(a,function(t){return t.property}),h=0;h<s;h++){var c=a[h];u[h]||(u[h]=f()),g(r,h,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,r,u);else for(var d=[],p=t;p<e;p++){d=i.getItem(p,d);for(var m=0;m<s;m++){var v=r[m],y=this._dimValueGetter(d,l[m],p,m);v[p]=y;var _=u[m];y<_[0]&&(_[0]=y),y>_[1]&&(_[1]=y)}}!i.persistent&&i.clean&&i.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=[],i=[];if(null==e){e=t,t=[];for(var o=0;o<this._dimensions.length;o++)i.push(o)}else i=t;o=0;for(var r=i.length;o<r;o++)n.push(this.get(i[o],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=this._chunks[t],n=0;if(e)for(var i=0,o=this.count();i<o;i++){var r=this.get(t,i);isNaN(r)||(n+=r)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var n=e.sort(function(t,e){return t-e}),i=this.count();return 0===i?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/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;var i=0,o=this._count-1;while(i<=o){var r=(i+o)/2|0;if(e[r]<t)i=r+1;else{if(!(e[r]>t))return r;o=r-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks,o=i[t],r=[];if(!o)return r;null==n&&(n=1/0);for(var a=1/0,s=-1,u=0,l=0,h=this.count();l<h;l++){var c=this.getRawIndex(l),d=e-o[c],p=Math.abs(d);p<=n&&((p<a||p===a&&d>=0&&s<0)&&(a=p,s=d,u=0),d===s&&(r[u++]=l))}return r.length=u,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var o=0;o<i;o++)t[o]=e[o]}else t=new n(e.buffer,0,i)}else{n=p(this._rawCount);t=new n(this.count());for(o=0;o<t.length;o++)t[o]=o}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),o=p(n._rawCount),r=new o(i),a=[],s=t.length,u=0,l=t[0],h=n._chunks,c=0;c<i;c++){var d=void 0,f=n.getRawIndex(c);if(0===s)d=e(c);else if(1===s){var m=h[l][f];d=e(m,c)}else{for(var g=0;g<s;g++)a[g]=h[t[g]][f];a[g]=c,d=e.apply(null,a)}d&&(r[u++]=f)}return u<i&&(n._indices=r),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 i=(0,o.HP)(t),r=i.length;if(!r)return this;var a=e.count(),s=p(e._rawCount),u=new s(a),l=0,h=i[0],c=t[h][0],d=t[h][1],f=e._chunks,m=!1;if(!e._indices){var g=0;if(1===r){for(var v=f[i[0]],y=0;y<n;y++){var _=v[y];(_>=c&&_<=d||isNaN(_))&&(u[l++]=g),g++}m=!0}else if(2===r){v=f[i[0]];var x=f[i[1]],I=t[i[1]][0],M=t[i[1]][1];for(y=0;y<n;y++){_=v[y];var w=x[y];(_>=c&&_<=d||isNaN(_))&&(w>=I&&w<=M||isNaN(w))&&(u[l++]=g),g++}m=!0}}if(!m)if(1===r)for(y=0;y<a;y++){var S=e.getRawIndex(y);_=f[i[0]][S];(_>=c&&_<=d||isNaN(_))&&(u[l++]=S)}else for(y=0;y<a;y++){for(var D=!0,C=(S=e.getRawIndex(y),0);C<r;C++){var T=i[C];_=f[T][S];(_<t[T][0]||_>t[T][1])&&(D=!1)}D&&(u[l++]=e.getRawIndex(y))}return l<a&&(e._indices=u),e._count=l,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 i=t._chunks,o=[],r=e.length,a=t.count(),s=[],u=t._rawExtent,l=0;l<e.length;l++)u[e[l]]=f();for(var h=0;h<a;h++){for(var c=t.getRawIndex(h),d=0;d<r;d++)s[d]=i[e[d]][c];s[r]=h;var p=n&&n.apply(null,s);if(null!=p){"object"!==typeof p&&(o[0]=p,p=o);for(l=0;l<p.length;l++){var m=e[l],g=p[l],v=u[m],y=i[m];y&&(y[c]=g),g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,o,r=this.clone([t],!0),a=r._chunks,s=a[t],u=this.count(),l=0,h=Math.floor(1/e),c=this.getRawIndex(0),d=new(p(this._rawCount))(Math.min(2*(Math.ceil(u/h)+2),u));d[l++]=c;for(var f=1;f<u-1;f+=h){for(var m=Math.min(f+h,u-1),g=Math.min(f+2*h,u),v=(g+m)/2,y=0,_=m;_<g;_++){var x=this.getRawIndex(_),I=s[x];isNaN(I)||(y+=I)}y/=g-m;var M=f,w=Math.min(f+h,u),S=f-1,D=s[c];n=-1,o=M;var C=-1,T=0;for(_=M;_<w;_++){x=this.getRawIndex(_),I=s[x];isNaN(I)?(T++,C<0&&(C=x)):(i=Math.abs((S-v)*(I-D)-(S-_)*(y-D)),i>n&&(n=i,o=x))}T>0&&T<w-M&&(d[l++]=Math.min(C,o),o=Math.max(C,o)),d[l++]=o,c=o}return d[l++]=this.getRawIndex(u-1),r._count=l,r._indices=d,r.getRawIndex=this._getRawIdx,r},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,o=Math.floor(1/e),r=i[t],a=this.count(),s=new(p(this._rawCount))(2*Math.ceil(a/o)),u=0,l=0;l<a;l+=o){var h=l,c=r[this.getRawIndex(h)],d=l,f=r[this.getRawIndex(d)],m=o;l+o>a&&(m=a-l);for(var g=0;g<m;g++){var v=this.getRawIndex(l+g),y=r[v];y<c&&(c=y,h=l+g),y>f&&(f=y,d=l+g)}var _=this.getRawIndex(h),x=this.getRawIndex(d);h<d?(s[u++]=_,s[u++]=x):(s[u++]=x,s[u++]=_)}return n._count=u,n._indices=s,n._updateGetRawIdx(),n},t.prototype.downSample=function(t,e,n,i){for(var o=this.clone([t],!0),r=o._chunks,a=[],s=Math.floor(1/e),u=r[t],l=this.count(),h=o._rawExtent[t]=f(),c=new(p(this._rawCount))(Math.ceil(l/s)),d=0,m=0;m<l;m+=s){s>l-m&&(s=l-m,a.length=s);for(var g=0;g<s;g++){var v=this.getRawIndex(m+g);a[g]=u[v]}var y=n(a),_=this.getRawIndex(Math.min(m+i(a,y)||0,l-1));u[_]=y,y<h[0]&&(h[0]=y),y>h[1]&&(h[1]=y),c[d++]=_}return o._count=d,o._indices=c,o._updateGetRawIdx(),o},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,o=0,r=this.count();o<r;o++){var a=this.getRawIndex(o);switch(n){case 0:e(o);break;case 1:e(i[t[0]][a],o);break;case 2:e(i[t[0]][a],i[t[1]][a],o);break;default:for(var s=0,u=[];s<n;s++)u[s]=i[t[s]][a];u[s]=o,e.apply(null,u)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=f();if(!e)return n;var i,o=this.count(),r=!this._indices;if(r)return this._rawExtent[t].slice();if(i=this._extent[t],i)return i.slice();i=n;for(var a=i[0],s=i[1],u=0;u<o;u++){var l=this.getRawIndex(u),h=e[l];h<a&&(a=h),h>s&&(s=h)}return i=[a,s],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,o=0;o<i.length;o++)n.push(i[o][e]);return n},t.prototype.clone=function(e,n){var i=new t,r=this._chunks,a=e&&(0,o.TS)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<r.length;s++)i._chunks[s]=a[s]?m(r[s]):r[s];else i._chunks=r;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,o.o8)(this._extent),t._rawExtent=(0,o.o8)(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 i=0;i<n;i++)e[i]=this._indices[i]}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,i){return(0,r.Pn)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,r.Pn)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var o=t&&(null==t.value?t:t.value);return(0,r.Pn)(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}();e.Ay=v},71883:function(t,e,n){n.d(e,{a:function(){return c}});var i=n(6129),o=n(98026),r=n(41025),a={type:"echarts:filter",transform:function(t){for(var e,n=t.upstream,a=(0,i.I)(t.config,{valueGetterAttrMap:(0,o.nt)({dimension:!0}),prepareGetValue:function(t){var e="",i=t.dimension;(0,o.$3)(t,"dimension")||(0,r.$8)(e);var a=n.getDimensionInfo(i);return a||(0,r.$8)(e),{dimIdx:a.index}},getValue:function(t){return n.retrieveValueFromItem(e,t.dimIdx)}}),s=[],u=0,l=n.count();u<l;u++)e=n.getRawDataItem(u),a.evaluate()&&s.push(e);return{data:s}}},s=n(13430),u=n(48170),l=n(31825);var h={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,i="",a=(0,u.qB)(n);a.length||(0,r.$8)(i);var h=[];(0,o.__)(a,function(t){var n=t.dimension,o=t.order,a=t.parser,s=t.incomparable;if(null==n&&(0,r.$8)(i),"asc"!==o&&"desc"!==o&&(0,r.$8)(i),s&&"min"!==s&&"max"!==s){var u="";0,(0,r.$8)(u)}if("asc"!==o&&"desc"!==o){var c="";0,(0,r.$8)(c)}var d=e.getDimensionInfo(n);d||(0,r.$8)(i);var p=a?(0,l.zC)(a):null;a&&!p&&(0,r.$8)(i),h.push({dimIdx:d.index,parser:p,comparator:new l.Fl(o,s)})});var c=e.sourceFormat;c!==s.Km&&c!==s.Wk&&(0,r.$8)(i);for(var d=[],p=0,f=e.count();p<f;p++)d.push(e.getRawDataItem(p));return d.sort(function(t,n){for(var i=0;i<h.length;i++){var o=h[i],r=e.retrieveValueFromItem(t,o.dimIdx),a=e.retrieveValueFromItem(n,o.dimIdx);o.parser&&(r=o.parser(r),a=o.parser(a));var s=o.comparator.evaluate(r,a);if(0!==s)return s}return 0}),{data:d}}};function c(t){t.registerTransform(a),t.registerTransform(h)}},73416:function(t,e,n){n.d(e,{a:function(){return ct}});var i=n(97063),o=n(3087),r=n(15215),a=n(15915),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(a.A),u=s,l=n(98026),h=n(38123),c=n(35452),d=n(44265),p=n(83412);function f(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function m(t){if(h.A.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var g=m(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),v=m(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function y(t,e){if(!t)return e;e=(0,p.Cb)(e,!0);var n=t.indexOf(e);return t=-1===n?e:"-"+t.slice(0,n)+"-"+e,t.toLowerCase()}function _(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}var x=n(3961),I=y(v,"transition"),M=y(g,"transform"),w="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(h.A.transform3dSupported?"will-change:transform;":"");function S(t){return t="left"===t?"right":"right"===t?"left":"top"===t?"bottom":"top",t}function D(t,e,n){if(!(0,l.Kg)(n)||"inside"===n)return"";var i=t.get("backgroundColor"),o=t.get("borderWidth");e=(0,p.he)(e);var r,a=S(n),s=Math.max(1.5*Math.round(o),6),u="",h=M+":";(0,l.qh)(["left","right"],a)>-1?(u+="top:50%",h+="translateY(-50%) rotate("+(r="left"===a?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(r="top"===a?225:45)+"deg)");var c=r*Math.PI/180,d=s+o,f=d*Math.abs(Math.cos(c))+d*Math.abs(Math.sin(c)),m=Math.round(100*((f-Math.SQRT2*o)/2+Math.SQRT2*o-(f-d)/2))/100;u+=";"+a+":-"+m+"px";var g=e+" solid "+o+"px;",v=["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",u+";"+h+";","border-bottom:"+g,"border-right:"+g,"background-color:"+i+";"];return'<div style="'+v.join("")+'"></div>'}function C(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,o="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,o+=h.A.transformSupported?","+M+i:",left"+i+",top"+i),I+":"+o}function T(t,e,n){var i=t.toFixed(0)+"px",o=e.toFixed(0)+"px";if(!h.A.transformSupported)return n?"top:"+o+";left:"+i+";":[["top",o],["left",i]];var r=h.A.transform3dSupported,a="translate"+(r?"3d":"")+"("+i+","+o+(r?",0":"")+")";return n?"top:0;left:0;"+M+":"+a+";":[["top",0],["left",0],[g,a]]}function b(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont());var o=(0,l.bZ)(t.get("lineHeight"),Math.round(3*n/2));n&&e.push("line-height:"+o+"px");var r=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,u=t.get("textShadowOffsetY")||0;return r&&a&&e.push("text-shadow:"+s+"px "+u+"px "+a+"px "+r),(0,l.__)(["decoration","align"],function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)}),e.join(";")}function A(t,e,n){var i=[],o=t.get("transitionDuration"),r=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),u=t.get("shadowOffsetX"),h=t.get("shadowOffsetY"),c=t.getModel("textStyle"),d=(0,x.CO)(t,"html"),f=u+"px "+h+"px "+a+"px "+s;return i.push("box-shadow:"+f),e&&o&&i.push(C(o,n)),r&&i.push("background-color:"+r),(0,l.__)(["width","color","radius"],function(e){var n="border-"+e,o=(0,p.Cb)(n),r=t.get(o);null!=r&&i.push(n+":"+r+("color"===e?"":"px"))}),i.push(b(c)),null!=d&&i.push("padding:"+(0,p.QX)(d).join("px ")+"px"),i.join(";")+";"}function k(t,e,n,i,o){var r=e&&e.painter;if(n){var a=r&&r.getViewportRoot();a&&(0,d.lJ)(t,a,n,i,o)}else{t[0]=i,t[1]=o;var s=r&&r.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var O=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,h.A.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),o=e.appendTo,r=o&&((0,l.Kg)(o)?document.querySelector(o):(0,l.n_)(o)?o:(0,l.Tn)(o)&&o(t.getDom()));k(this._styleCoord,i,r,t.getWidth()/2,t.getHeight()/2),(r||t.getDom()).appendChild(n),this._api=t,this._container=r;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler,n=i.painter.getViewportRoot();(0,c.e0)(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=_(e,"position"),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative")}var o=t.get("alwaysShowContent");o&&this._moveIfResized(),this._alwaysShowContent=o,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,o=this._styleCoord;n.innerHTML?i.cssText=w+A(t,!this._firstShow,this._longHide)+T(o[0],o[1],!0)+"border-color:"+(0,p.he)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,o){var r=this.el;if(null!=t){var a="";if((0,l.Kg)(o)&&"item"===n.get("trigger")&&!f(n)&&(a=D(n,i,o)),(0,l.Kg)(t))r.innerHTML=t+a;else if(t){r.innerHTML="",(0,l.cy)(t)||(t=[t]);for(var s=0;s<t.length;s++)(0,l.n_)(t[s])&&t[s].parentNode!==r&&r.appendChild(t[s]);if(a&&r.childNodes.length){var u=document.createElement("div");u.innerHTML=a,r.appendChild(u)}}}else r.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},t.prototype.moveTo=function(t,e){if(this.el){var n=this._styleCoord;if(k(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,o=T(n[0],n[1]);(0,l.__)(o,function(t){i[t[0]]=t[1]})}}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",h.A.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,l.oI)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),L=O,R=n(82980),V=n(41025),N=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),z(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,o){var r=this;l.Gv(t)&&(0,V.$8)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new R.Ay({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,x.CO)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),l.__(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){r.el.style[t]=n.get(t)}),l.__(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){r.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=B(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;z(i,this._zr,t,e),t=i[0],e=i[1];var o=n.style,r=E(o.borderWidth||0),a=B(o);n.x=t+r+a.left,n.y=e+r+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(l.oI(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function E(t){return Math.max(0,t)}function B(t){var e=E(t.shadowBlur||0),n=E(t.shadowOffsetX||0),i=E(t.shadowOffsetY||0);return{left:E(e-n),right:E(e+n),top:E(e-i),bottom:E(e+i)}}function z(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var H=N,P=n(24326),F=n(10992),G=n(26333),K=n(34253),X=n(5202),$=n(44784),W=n(99031),j=n(3686),U=n(48170),Y=n(59109),Z=n(55854),q=n(69622),Q=n(9427),J=n(47411),tt=n(24711),et=new F.A({shape:{x:-1,y:-1,width:2,height:2}}),nt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.C6)(e,t),e.prototype.init=function(t,e){if(!h.A.node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=(0,U.XJ)(n.get("renderMode"));this._tooltipContent="richText"===i?new H(e):new L(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!h.A.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,tt.N)(this,"_updatePosition",50,"fixRate"):(0,tt.IU)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel,e=t.get("triggerOn");$.k("itemTooltip",this._api,(0,l.oI)(function(t,n,i){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,i):"leave"===t&&this._hide(i))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&o.manuallyShowTip(t,e,n,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!h.A.node&&n.getDom()){var o=ot(i,n);this._ticket="";var r=i.dataByCoordSys,a=lt(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=et;u.x=i.x,u.y=i.y,u.update(),(0,q.z)(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},o)}else if(r)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:r,tooltipOption:i.tooltipOption},o);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var l=(0,G.A)(i,e),c=l.point[0],d=l.point[1];null!=c&&null!=d&&this._tryShow({offsetX:c,offsetY:d,target:l.el,position:i.position,positionDefault:"bottom"},o)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},o))}},e.prototype.manuallyHideTip=function(t,e,n,i){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(ot(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var o=i.seriesIndex,r=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=o&&null!=r&&null!=a){var s=e.getSeriesByIndex(o);if(s){var u=s.getData(),l=it([u.getItemModel(r),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===l.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:r,position:i.position}),!0}}},e.prototype._tryShow=function(t,e){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(n){var r,a,s=(0,q.z)(n);if("legend"===s.ssrType)return;this._lastDataByCoordSys=null,(0,J.R)(n,function(t){return null!=(0,q.z)(t).dataIndex?(r=t,!0):null!=(0,q.z)(t).tooltipConfig?(a=t,!0):void 0},!0),r?this._showSeriesItemTooltip(t,r,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=(0,l.oI)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,o=[e.offsetX,e.offsetY],r=it([e.tooltipOption],i),a=this._renderMode,s=[],u=(0,x.Qx)("section",{blocks:[],noHeader:!0}),h=[],c=new x.lb;(0,l.__)(t,function(t){(0,l.__)(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),o=t.value;if(e&&null!=o){var r=j._F(o,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),d=(0,x.Qx)("section",{header:r,noHeader:!(0,l.Bq)(r),sortBlocks:!0,blocks:[]});u.blocks.push(d),(0,l.__)(t.seriesDataIndices,function(u){var f=n.getSeriesByIndex(u.seriesIndex),m=u.dataIndexInside,g=f.getDataParams(m);if(!(g.dataIndex<0)){g.axisDim=t.axisDim,g.axisIndex=t.axisIndex,g.axisType=t.axisType,g.axisId=t.axisId,g.axisValue=W.Dt(e.axis,{value:o}),g.axisValueLabel=r,g.marker=c.makeTooltipMarker("item",(0,p.he)(g.color),a);var v=(0,Q.L)(f.formatTooltip(m,!0,null)),y=v.frag;if(y){var _=it([f],i).get("valueFormatter");d.blocks.push(_?(0,l.X$)({valueFormatter:_},y):y)}v.text&&h.push(v.text),s.push(g)}})}})}),u.blocks.reverse(),h.reverse();var d=e.position,f=r.get("order"),m=(0,x.Yu)(u,c,a,f,n.get("useUTC"),r.get("textStyle"));m&&h.unshift(m);var g="richText"===a?"\n\n":"<br/>",v=h.join(g);this._showOrMove(r,function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(r,d,o[0],o[1],this._tooltipContent,s):this._showTooltipContent(r,v,s,Math.random()+"",o[0],o[1],d,null,c)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,o=(0,q.z)(e),r=o.seriesIndex,a=i.getSeriesByIndex(r),s=o.dataModel||a,u=o.dataIndex,h=o.dataType,c=s.getData(h),d=this._renderMode,f=t.positionDefault,m=it([c.getItemModel(u),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),g=m.get("trigger");if(null==g||"item"===g){var v=s.getDataParams(u,h),y=new x.lb;v.marker=y.makeTooltipMarker("item",(0,p.he)(v.color),d);var _=(0,Q.L)(s.formatTooltip(u,!1,h)),I=m.get("order"),M=m.get("valueFormatter"),w=_.frag,S=w?(0,x.Yu)(M?(0,l.X$)({valueFormatter:M},w):w,y,d,I,i.get("useUTC"),m.get("textStyle")):_.text,D="item_"+s.name+"_"+u;this._showOrMove(m,function(){this._showTooltipContent(m,S,v,D,t.offsetX,t.offsetY,t.position,t.target,y)}),n({type:"showTip",dataIndexInside:u,dataIndex:c.getRawIndex(u),seriesIndex:r,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,o=(0,q.z)(e),r=o.tooltipConfig,a=r.option||{},s=a.encodeHTMLContent;if((0,l.Kg)(a)){var u=a;a={content:u,formatter:u},s=!0}s&&i&&a.content&&(a=(0,l.o8)(a),a.content=(0,d.Me)(a.content));var h=[a],c=this._ecModel.getComponent(o.componentMainType,o.componentIndex);c&&h.push(c),h.push({formatter:a.content});var p=t.positionDefault,f=it(h,this._tooltipModel,p?{position:p}:null),m=f.get("content"),g=Math.random()+"",v=new x.lb;this._showOrMove(f,function(){var n=(0,l.o8)(f.get("formatterParams")||{});this._showTooltipContent(f,m,n,g,t.offsetX,t.offsetY,t.position,e,v)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,o,r,a,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var c=t.get("formatter");a=a||t.get("position");var d=e,f=this._getNearestPoint([o,r],n,t.get("trigger"),t.get("borderColor")),m=f.color;if(c)if((0,l.Kg)(c)){var g=t.ecModel.get("useUTC"),v=(0,l.cy)(n)?n[0]:n,y=v&&v.axisType&&v.axisType.indexOf("time")>=0;d=c,y&&(d=(0,Z.GP)(v.axisValue,d,g)),d=(0,p.YK)(d,n,!0)}else if((0,l.Tn)(c)){var _=(0,l.oI)(function(e,i){e===this._ticket&&(h.setContent(i,u,t,m,a),this._updatePosition(t,a,o,r,h,n,s))},this);this._ticket=i,d=c(n,i,_)}else d=c;h.setContent(d,u,t,m,a),h.show(t,m),this._updatePosition(t,a,o,r,h,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||(0,l.cy)(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:(0,l.cy)(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,o,r,a){var s=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=o.getSize(),c=t.get("align"),d=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),(0,l.Tn)(e)&&(e=e([n,i],r,o.el,p,{viewSize:[s,u],contentSize:h.slice()})),(0,l.cy)(e))n=(0,P.lo)(e[0],s),i=(0,P.lo)(e[1],u);else if((0,l.Gv)(e)){var m=e;m.width=h[0],m.height=h[1];var g=(0,K.dV)(m,{width:s,height:u});n=g.x,i=g.y,c=null,d=null}else if((0,l.Kg)(e)&&a){var v=st(e,p,h,t.get("borderWidth"));n=v[0],i=v[1]}else{v=rt(n,i,o,s,u,c?null:20,d?null:20);n=v[0],i=v[1]}if(c&&(n-=ut(c)?h[0]/2:"right"===c?h[0]:0),d&&(i-=ut(d)?h[1]/2:"bottom"===d?h[1]:0),f(t)){v=at(n,i,o,s,u);n=v[0],i=v[1]}o.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,o=!!n&&n.length===t.length;return o&&(0,l.__)(n,function(n,r){var a=n.dataByAxis||[],s=t[r]||{},u=s.dataByAxis||[];o=o&&a.length===u.length,o&&(0,l.__)(a,function(t,n){var r=u[n]||{},a=t.seriesDataIndices||[],s=r.seriesDataIndices||[];o=o&&t.value===r.value&&t.axisType===r.axisType&&t.axisId===r.axisId&&a.length===s.length,o&&(0,l.__)(a,function(t,e){var n=s[e];o=o&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&(0,l.__)(t.seriesDataIndices,function(t){var n=t.seriesIndex,r=e[n],a=i[n];r&&a&&a.data!==r.data&&(o=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!o},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!h.A.node&&e.getDom()&&((0,tt.IU)(this,"_updatePosition"),this._tooltipContent.dispose(),$.h("itemTooltip",e))},e.type="tooltip",e}(Y.A);function it(t,e,n){var i,o=e.ecModel;n?(i=new X.A(n,o,o),i=new X.A(e.option,i,o)):i=e;for(var r=t.length-1;r>=0;r--){var a=t[r];a&&(a instanceof X.A&&(a=a.get("tooltip",!0)),(0,l.Kg)(a)&&(a={formatter:a}),a&&(i=new X.A(a,i,o)))}return i}function ot(t,e){return t.dispatchAction||(0,l.oI)(e.dispatchAction,e)}function rt(t,e,n,i,o,r,a){var s=n.getSize(),u=s[0],l=s[1];return null!=r&&(t+u+r+2>i?t-=u+r:t+=r),null!=a&&(e+l+a>o?e-=l+a:e+=a),[t,e]}function at(t,e,n,i,o){var r=n.getSize(),a=r[0],s=r[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,o)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function st(t,e,n,i){var o=n[0],r=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,u=0,l=e.width,h=e.height;switch(t){case"inside":s=e.x+l/2-o/2,u=e.y+h/2-r/2;break;case"top":s=e.x+l/2-o/2,u=e.y-r-a;break;case"bottom":s=e.x+l/2-o/2,u=e.y+h+a;break;case"left":s=e.x-o-a,u=e.y+h/2-r/2;break;case"right":s=e.x+l+a,u=e.y+h/2-r/2}return[s,u]}function ut(t){return"center"===t||"middle"===t}function lt(t,e,n){var i=(0,U.HB)(t).queryOptionMap,o=i.keys()[0];if(o&&"series"!==o){var r=(0,U.JO)(e,o,i.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}),a=r.models[0];if(a){var s,u=n.getViewOfComponentModel(a);return u.group.traverse(function(e){var n=(0,q.z)(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0}),s?{componentMainType:o,componentIndex:a.componentIndex,el:s}:void 0}}}var ht=nt;function ct(t){(0,o.Y)(i.a),t.registerComponentModel(u),t.registerComponentView(ht),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},l.lQ),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},l.lQ)}},73632:function(t,e,n){n.d(e,{Tc:function(){return u},eS:function(){return d},fg:function(){return l},io:function(){return h},j_:function(){return c}});var i=n(98026),o=n(48170),r=n(34310),a=(0,o.$r)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},u=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=c(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,i.bZ)(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,r.O0)(this.source),n=!d(t),i="",o=[],a=0,u=0;a<t;a++){var l=void 0,h=void 0,c=void 0,p=this.dimensions[u];if(p&&p.storeDimIndex===a)l=e?p.name:null,h=p.type,c=p.ordinalMeta,u++;else{var f=this.getSourceDimension(a);f&&(l=e?f.name:null,h=f.type)}o.push({property:l,type:h,ordinalMeta:c}),!e||null==l||p&&p.isCalculationCoord||(i+=n?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),i+="$",i+=s[h]||"f",c&&(i+=c.uid),i+="$"}var m=this.source,g=[m.seriesLayoutBy,m.startIndex,i].join("$$");return{dimensions:o,hash:g}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,o=this.dimensions[n];if(o&&o.storeDimIndex===e)o.isCalculationCoord||(i=o.name),n++;else{var r=this.getSourceDimension(e);r&&(i=r.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function l(t){return t instanceof u}function h(t){for(var e=(0,i.nt)(),n=0;n<(t||[]).length;n++){var o=t[n],r=(0,i.Gv)(o)?o.name:o;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function c(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=h(t.dimensionsDefine))}function d(t){return t>30}},76827:function(t,e,n){var i=n(98026),o=n(48170),r=(0,o.$r)();function a(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,p(e,n,t),(0,i.__)(n,function(n){(0,i.__)(e.TRANSFERABLE_METHODS,function(e){n.wrapMethod(e,(0,i.cF)(s,t))})}),e.wrapMethod("cloneShallow",(0,i.cF)(l,t)),(0,i.__)(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,(0,i.cF)(u,t))}),(0,i.vA)(n[e.dataType]===e)}function s(t,e){if(d(this)){var n=(0,i.X$)({},r(this).datas);n[this.dataType]=e,p(e,n,t)}else f(e,this.dataType,r(this).mainData,t);return e}function u(t,e){return t.struct&&t.struct.update(),e}function l(t,e){return(0,i.__)(r(e).datas,function(n,i){n!==e&&f(n.cloneShallow(),i,e,t)}),e}function h(t){var e=r(this).mainData;return null==t||null==e?e:r(e).datas[t]}function c(){var t=r(this).mainData;return null==t?[{data:t}]:(0,i.Tj)((0,i.HP)(r(t).datas),function(e){return{type:e,data:r(t).datas[e]}})}function d(t){return r(t).mainData===t}function p(t,e,n){r(t).datas={},(0,i.__)(e,function(e,i){f(e,i,t,n)})}function f(t,e,n,i){r(n).datas[e]=t,r(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=h,t.getLinkedDataAll=c}e.A=a},97351:function(t,e,n){n.d(e,{A:function(){return c}});var i=n(13430),o=n(22759),r=n(98026),a=n(34310),s=n(70250),u=n(48170),l=n(23071),h=n(73632);function c(t,e){(0,a.tP)(t)||(t=(0,a.AF)(t)),e=e||{};var n=e.coordDimensions||[],c=e.dimensionsDefine||t.dimensionsDefine||[],m=(0,r.nt)(),g=[],v=p(t,n,c,e.dimensionsCount),y=e.canOmitUnusedDimensions&&(0,h.eS)(v),_=c===t.dimensionsDefine,x=_?(0,h.j_)(t):(0,h.io)(c),I=e.encodeDefine;!I&&e.encodeDefaulter&&(I=e.encodeDefaulter(t,v));for(var M=(0,r.nt)(I),w=new s.A_(v),S=0;S<w.length;S++)w[S]=-1;function D(t){var e=w[t];if(e<0){var n=c[t],i=(0,r.Gv)(n)?n:{name:n},a=new o.A,s=i.name;null!=s&&null!=x.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var u=g.length;return w[t]=u,a.storeDimIndex=t,g.push(a),a}return g[e]}if(!y)for(S=0;S<v;S++)D(S);M.each(function(t,e){var n=(0,u.qB)(t).slice();if(1===n.length&&!(0,r.Kg)(n[0])&&n[0]<0)M.set(e,!1);else{var i=M.set(e,[]);(0,r.__)(n,function(t,n){var o=(0,r.Kg)(t)?x.get(t):t;null!=o&&o<v&&(i[n]=o,T(D(o),e,n))})}});var C=0;function T(t,e,n){null!=i.Pe.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,m.set(e,!0))}(0,r.__)(n,function(t){var e,n,i,o;if((0,r.Kg)(t))e=t,o={};else{o=t,e=o.name;var a=o.ordinalMeta;o.ordinalMeta=null,o=(0,r.X$)({},o),o.ordinalMeta=a,n=o.dimsDef,i=o.otherDims,o.name=o.coordDim=o.coordDimIndex=o.dimsDef=o.otherDims=null}var s=M.get(e);if(!1!==s){if(s=(0,u.qB)(s),!s.length)for(var l=0;l<(n&&n.length||1);l++){while(C<v&&null!=D(C).coordDim)C++;C<v&&s.push(C++)}(0,r.__)(s,function(t,a){var s=D(t);if(_&&null!=o.type&&(s.type=o.type),T((0,r.NT)(s,o),e,a),null==s.name&&n){var u=n[a];!(0,r.Gv)(u)&&(u={name:u}),s.name=s.displayName=u.name,s.defaultTooltip=u.defaultTooltip}i&&(0,r.NT)(s.otherDims,i)})}});var b=e.generateCoord,A=e.generateCoordCount,k=null!=A;A=b?A||1:0;var O=b||"value";function L(t){null==t.name&&(t.name=t.coordDim)}if(y)(0,r.__)(g,function(t){L(t)}),g.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var R=0;R<v;R++){var V=D(R),N=V.coordDim;null==N&&(V.coordDim=f(O,m,k),V.coordDimIndex=0,(!b||A<=0)&&(V.isExtraCoord=!0),A--),L(V),null!=V.type||(0,l.PU)(t,R)!==l.sc.Must&&(!V.isExtraCoord||null==V.otherDims.itemName&&null==V.otherDims.seriesName)||(V.type="ordinal")}return d(g),new h.Tc({source:t,dimensions:g,fullDimensionCount:v,dimensionOmitted:y})}function d(t){for(var e=(0,r.nt)(),n=0;n<t.length;n++){var i=t[n],o=i.name,a=e.get(o)||0;a>0&&(i.name=o+(a-1)),a++,e.set(o,a)}}function p(t,e,n,i){var o=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return(0,r.__)(e,function(t){var e;(0,r.Gv)(t)&&(e=t.dimsDef)&&(o=Math.max(o,e.length))}),o}function f(t,e,n){if(n||e.hasKey(t)){var i=0;while(e.hasKey(t+i))i++;t+=i}return e.set(t,!0),t}}}]);