@rsdoctor/client 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/resource/js/187.54a8d2dc.js +1 -0
- package/dist/resource/js/{31.e37348c3.js → 31.00f60aa6.js} +1 -1
- package/dist/resource/js/339.425781b7.js +194 -0
- package/dist/resource/js/{413.463df149.js → 413.53dc0969.js} +1 -1
- package/dist/resource/js/715.a638a151.js +1 -0
- package/dist/resource/js/ant-design-0.6bf63acc.js +81 -0
- package/dist/resource/js/ant-design-1.05f36d12.js +235 -0
- package/dist/resource/js/ant-design-2.3ce1955b.js +133 -0
- package/dist/resource/js/ant-design-3.c33e6cb4.js +106 -0
- package/dist/resource/js/ant-design-4.0f462273.js +255 -0
- package/dist/resource/js/{ant-design-icons.1ca4a07e.js → ant-design-icons.f6718859.js} +1 -1
- package/dist/resource/js/index.9b701719.js +2 -0
- package/dist/resource/js/rc-0.aabb43ad.js +1 -0
- package/dist/resource/js/rc-1.2d9b4e67.js +1 -0
- package/dist/resource/js/{react.9f38b670.js → react.17aa4f75.js} +1 -1
- package/dist/resource/js/vender.70d6647c.js +1 -0
- package/package.json +4 -4
- package/dist/resource/js/187.892c5bc9.js +0 -1
- package/dist/resource/js/339.d97a5eb5.js +0 -194
- package/dist/resource/js/715.beadd8b5.js +0 -1
- package/dist/resource/js/ant-design-0.8a716a60.js +0 -81
- package/dist/resource/js/ant-design-1.fd736134.js +0 -235
- package/dist/resource/js/ant-design-2.2e00f600.js +0 -133
- package/dist/resource/js/ant-design-3.cf9e3262.js +0 -106
- package/dist/resource/js/ant-design-4.59c4f277.js +0 -255
- package/dist/resource/js/index.b1d41f5e.js +0 -2
- package/dist/resource/js/rc-0.201d292e.js +0 -1
- package/dist/resource/js/rc-1.ad04108d.js +0 -1
- package/dist/resource/js/vender.77ed69e7.js +0 -1
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><title>Rsdoctor</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="./resource/js/ant-design-0.
|
|
1
|
+
<!doctype html><html><head><title>Rsdoctor</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="./resource/js/ant-design-0.6bf63acc.js"></script><script defer src="./resource/js/ant-design-1.05f36d12.js"></script><script defer src="./resource/js/ant-design-2.3ce1955b.js"></script><script defer src="./resource/js/ant-design-3.c33e6cb4.js"></script><script defer src="./resource/js/ant-design-4.0f462273.js"></script><script defer src="./resource/js/rc-0.aabb43ad.js"></script><script defer src="./resource/js/rc-1.2d9b4e67.js"></script><script defer src="./resource/js/ant-design-icons.f6718859.js"></script><script defer src="./resource/js/vender.70d6647c.js"></script><script defer src="./resource/js/react.17aa4f75.js"></script><script defer src="./resource/js/339.425781b7.js"></script><script defer src="./resource/js/715.a638a151.js"></script><script defer src="./resource/js/187.54a8d2dc.js"></script><script defer src="./resource/js/31.00f60aa6.js"></script><script defer src="./resource/js/413.53dc0969.js"></script><script defer src="./resource/js/index.9b701719.js"></script><link href="./resource/css/index.2e484d77.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_rsdoctor_client=self.webpackChunk_rsdoctor_client||[]).push([["187"],{55975:function(t,e,n){n.d(e,{Z:()=>_});var i=n(76109),r=n(2668),o=n(95260),a=n(84861),s=n(51296),u=(0,a.Yf)();function c(t,e){var n=i.map(e,function(e){return t.scale.parse(e)});return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function l(t,e){var n,r,o,a,c=h(t,"labels"),l=(0,s.rk)(e),g=d(c,l);return g||(i.isFunction(l)?o=m(t,l):(a="auto"===l?null!=(r=u(n=t).autoInterval)?r:u(n).autoInterval=n.calculateCategoryInterval():l,o=f(t,a)),p(c,l,{labels:o,labelCategoryInterval:a}))}function h(t,e){return u(t)[e]||(u(t)[e]=[])}function d(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function p(t,e,n){return t.push({key:e,value:n}),n}function f(t,e,n){var i=(0,s.J9)(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),u=[],c=Math.max((e||0)+1,1),l=o[0],h=r.count();0!==l&&c>1&&h/c>2&&(l=Math.round(Math.ceil(l/c)*c));var d=(0,s.WY)(t),p=a.get("showMinLabel")||d,f=a.get("showMaxLabel")||d;p&&l!==o[0]&&g(o[0]);for(var m=l;m<=o[1];m+=c)g(m);function g(t){var e={value:t};u.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return f&&m-c!==o[1]&&g(o[1]),u}function m(t,e,n){var r=t.scale,o=(0,s.J9)(t),a=[];return i.each(r.getTicks(),function(t){var i=r.getLabel(t),s=t.value;e(t.value,i)&&a.push(n?s:{formattedLabel:o(t),rawLabel:i,tickValue:s})}),a}var g=[0,1];function v(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}let _=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return(0,r.M9)(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&v(n=n.slice(),i.count()),(0,r.NU)(t,g,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&v(n=n.slice(),i.count());var o=(0,r.NU)(t,n,g,e);return this.scale.scale(o)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=function(t,e){var n=t.getTickModel().get("customValues");if(n){var r=t.scale.getExtent(),o=c(t,n);return{ticks:i.filter(o,function(t){return t>=r[0]&&t<=r[1]})}}return"category"===t.type?function(t,e){var n,r,o=h(t,"ticks"),a=(0,s.rk)(e),u=d(o,a);if(u)return u;if((!e.get("show")||t.scale.isBlank())&&(n=[]),i.isFunction(a))n=m(t,a,!0);else if("auto"===a){var c=l(t,t.getLabelModel());r=c.labelCategoryInterval,n=i.map(c.labels,function(t){return t.tickValue})}else n=f(t,r=a,!0);return p(o,a,{ticks:n,tickCategoryInterval:r})}(t,e):{ticks:i.map(t.scale.getTicks(),function(t){return t.value})}}(this,e).ticks,o=(0,i.map)(n,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this);return function(t,e,n,o){var a,s,u=e.length;if(t.onBand&&!n&&u){var c=t.getExtent();if(1===u)e[0].coord=c[0],a=e[1]={coord:c[1],tickValue:e[0].tickValue};else{var l=e[u-1].tickValue-e[0].tickValue,h=(e[u-1].coord-e[0].coord)/l;(0,i.each)(e,function(t){t.coord-=h/2});var d=t.scale.getExtent();s=1+d[1]-e[u-1].tickValue,a={coord:e[u-1].coord+h*s,tickValue:d[1]+1},e.push(a)}var p=c[0]>c[1];f(e[0].coord,c[0])&&(o?e[0].coord=c[0]:e.shift()),o&&f(c[0],e[0].coord)&&e.unshift({coord:c[0]}),f(c[1],a.coord)&&(o?a.coord=c[1]:e.pop()),o&&f(a.coord,c[1])&&e.push({coord:c[1]})}function f(t,e){return t=(0,r.NM)(t),e=(0,r.NM)(e),p?t>e:t<e}}(this,o,e.get("alignWithLabel"),t.clamp),o},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,i.map)(e,function(t){return(0,i.map)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){return function(t){var e,n,r,o,a,u,h=t.getLabelModel().get("customValues");if(h){var d=(0,s.J9)(t),p=t.scale.getExtent(),f=c(t,h),m=i.filter(f,function(t){return t>=p[0]&&t<=p[1]});return{labels:i.map(m,function(e){var n={value:e};return{formattedLabel:d(n),rawLabel:t.scale.getLabel(n),tickValue:e}})}}return"category"===t.type?(n=(e=t).getLabelModel(),r=l(e,n),!n.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r):(a=(o=t).scale.getTicks(),u=(0,s.J9)(o),{labels:i.map(a,function(t,e){return{level:t.level,formattedLabel:u(t,e),rawLabel:o.scale.getLabel(t),tickValue:t.value}})})}(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+ +!!this.onBand;return 0===n&&(n=1),Math.abs(Math.abs(t[1]-t[0]))/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e,n,i=(n=(e=t).getLabelModel(),{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:n.get("rotate")||0,font:n.getFont()}),r=(0,s.J9)(t),a=(i.axisRotate-i.labelRotate)/180*Math.PI,c=t.scale,l=c.getExtent(),h=c.count();if(l[1]-l[0]<1)return 0;var d=1;h>40&&(d=Math.max(1,Math.floor(h/40)));for(var p=l[0],f=t.dataToCoord(p+1)-t.dataToCoord(p),m=Math.abs(f*Math.cos(a)),g=Math.abs(f*Math.sin(a)),v=0,_=0;p<=l[1];p+=d){var y=0,x=0,M=o.lP(r({value:p}),i.font,"center","top");y=1.3*M.width,x=1.3*M.height,v=Math.max(v,y,7),_=Math.max(_,x,7)}var D=v/m,I=_/g;isNaN(D)&&(D=1/0),isNaN(I)&&(I=1/0);var w=Math.max(0,Math.floor(Math.min(D,I))),S=u(t.model),C=t.getExtent(),T=S.lastAutoInterval,b=S.lastTickCount;return null!=T&&null!=b&&1>=Math.abs(T-w)&&1>=Math.abs(b-h)&&T>w&&S.axisExtent0===C[0]&&S.axisExtent1===C[1]?w=T:(S.lastTickCount=h,S.lastAutoInterval=w,S.axisExtent0=C[0],S.axisExtent1=C[1]),w}(this)},t}()},51296:function(t,e,n){n.d(e,{AH:()=>I,DX:()=>_,Do:()=>y,J9:()=>v,Jk:()=>f,PY:()=>D,WY:()=>M,Xv:()=>p,Yb:()=>g,aG:()=>m,rk:()=>x});var i=n(76109),r=n(87646),o=n(72518),a=n(12050),s=n(28124),u=n(94757),c=n(71211),l=n(92965),h=n(60326),d=n(52722);function p(t,e){var n=t.type,r=(0,d.Qw)(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var o=r.min,a=r.max,u=e.ecModel;if(u&&"time"===n){var c=(0,s.Ge)("bar",u),l=!1;if(i.each(c,function(t){l=l||t.getBaseAxis()===e.axis}),l){var h=function(t,e,n,r){var o=n.axis.getExtent(),a=Math.abs(o[1]-o[0]),u=(0,s.G_)(r,n.axis);if(void 0===u)return{min:t,max:e};var c=1/0;i.each(u,function(t){c=Math.min(t.offset,c)});var l=-1/0;i.each(u,function(t){l=Math.max(t.offset+t.width,l)});var h=(c=Math.abs(c))+(l=Math.abs(l)),d=e-t,p=d/(1-(c+l)/a)-d;return e+=l/h*p,{min:t-=c/h*p,max:e}}(o,a,e,(0,s.My)(c));o=h.min,a=h.max}}return{extent:[o,a],fixMin:r.minFixed,fixMax:r.maxFixed}}function f(t,e){var n=p(t,e),i=n.extent,r=e.get("splitNumber");t instanceof l.Z&&(t.base=e.get("logBase"));var o=t.type,a=e.get("interval"),s="interval"===o||"time"===o;t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:s?e.get("minInterval"):null,maxInterval:s?e.get("maxInterval"):null}),null!=a&&t.setInterval&&t.setInterval(a)}function m(t,e){if(e=e||t.get("type"))switch(e){case"category":return new r.Z({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new c.Z({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(a.Z.getClass(e)||o.Z)}}function g(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function v(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(n,i){return t.scale.getFormattedLabel(n,i,e)}:i.isString(e)?function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}:i.isFunction(e)?function(i,r){return null!=n&&(r=i.value-n),e(_(t,i),r,null!=i.level?{level:i.level}:null)}:function(e){return t.scale.getLabel(e)}}function _(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function y(t){var e,n,i,o=t.model,a=t.scale;if(!(!o.get(["axisLabel","show"])||a.isBlank())){var s=a.getExtent();n=a instanceof r.Z?a.count():(e=a.getTicks()).length;var c=t.getLabelModel(),l=v(t),h=1;n>40&&(h=Math.ceil(n/40));for(var d=0;d<n;d+=h){var p=l(e?e[d]:{value:s[0]+d},d),f=function(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new u.Z(t.x,t.y,o,a)}(c.getTextRect(p),c.get("rotate")||0);i?i.union(f):i=f}return i}}function x(t){var e=t.get("interval");return null==e?"auto":e}function M(t){return"category"===t.type&&0===x(t.getLabelModel())}function D(t,e){var n={};return i.each(t.mapDimensionsAll(e),function(e){n[(0,h.IR)(t,e)]=!0}),i.keys(n)}function I(t,e,n){e&&i.each(D(e,n),function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])})}},57440:function(t,e,n){n.d(e,{W:()=>i});var i=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}()},82469:function(t,e,n){n.d(e,{Z:()=>f});var i=n(377),r=n(76109),o={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},a=r.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},o),s=r.merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},o),u=r.merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},s),c=r.defaults({logBase:10},s);let l={category:a,value:s,time:u,log:c};var h=n(80062),d=n(41269),p={value:1,category:1,time:1,log:1};function f(t,e,n,o){(0,r.each)(p,function(a,s){var u=(0,r.merge)((0,r.merge)({},l[s],!0),o,!0),c=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+s,n}return(0,i.__extends)(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,h.YD)(this),i=n?(0,h.tE)(t):{},o=e.getTheme();(0,r.merge)(t,o.get(s+"Axis")),(0,r.merge)(t,this.getDefaultOption()),t.type=m(t),n&&(0,h.dt)(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=d.Z.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+s,n.defaultOption=u,n}(n);t.registerComponentModel(c)}),t.registerSubTypeDefaulter(e+"Axis",m)}function m(t){return t.type||(t.data?"category":"value")}},76589:function(t,e,n){n.d(e,{Z:()=>i});function i(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}},45344:function(t,e,n){n.d(e,{I:()=>u});var i=n(377),r=n(76109),o=n(98650),a=n(57440),s=n(84861),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",s.C6).models[0]},e.type="cartesian2dAxis",e}(o.Z);r.mixin(u,a.W)},63988:function(t,e,n){n.d(e,{Z:()=>w});var i=n(76109),r=n(80062),o=n(51296),a=n(377),s=n(94757),u=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return i.map(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),i.filter(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),c=n(59296),l=n(19894),h=["x","y"];function d(t){return"interval"===t.type||"time"===t.type}var p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=h,e}return(0,a.__extends)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(d(t)&&d(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var u=(o[0]-r[0])/a,l=(o[1]-r[1])/s,h=r[0]-n[0]*u,p=r[1]-i[0]*l,f=this._transform=[u,0,0,l,h,p];this._invTransform=(0,c.invert)([],f)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new s.Z(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return(0,l.applyTransform)(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return(0,l.applyTransform)(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new s.Z(i,r,o,a)},e}(u),f=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return(0,a.__extends)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t[+("x"!==this.dim)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(n(55975).Z),m=n(84861),g=n(96606),v=n(95514),_=n(2668),y=n(72518),x=Math.log;function M(t,e){return t.getCoordSysModel()===e}function D(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),u=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=u)I(o[u])&&(r=o[u]);else for(var c in o)if(o.hasOwnProperty(c)&&I(o[c])&&!i[l(o[c])]){r=o[c];break}r&&(i[l(r)]=!0)}function l(t){return t.dim+"_"+t.index}}function I(t){return t&&"category"!==t.type&&"time"!==t.type&&(0,o.Yb)(t)}let w=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=h,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function r(t){var e,n=(0,i.keys)(t),r=n.length;if(r){for(var a=[],s=r-1;s>=0;s--){var u=t[+n[s]],c=u.model,l=u.scale;(0,v.lM)(l)&&c.get("alignTicks")&&null==c.get("interval")?a.push(u):((0,o.Jk)(l,c),(0,v.lM)(l)&&(e=u))}a.length&&(e||(e=a.pop(),(0,o.Jk)(e.scale,e.model)),(0,i.each)(a,function(t){!function(t,e,n){var i=y.Z.prototype,r=i.getTicks.call(n),a=i.getTicks.call(n,!0),s=r.length-1,u=i.getInterval.call(n),c=(0,o.Xv)(t,e),l=c.extent,h=c.fixMin,d=c.fixMax;if("log"===t.type){var p=x(t.base);l=[x(l[0])/p,x(l[1])/p]}t.setExtent(l[0],l[1]),t.calcNiceExtent({splitNumber:s,fixMin:h,fixMax:d});var f=i.getExtent.call(t);h&&(l[0]=f[0]),d&&(l[1]=f[1]);var m=i.getInterval.call(t),g=l[0],M=l[1];if(h&&d)m=(M-g)/s;else if(h)for(M=l[0]+m*s;M<l[1]&&isFinite(M)&&isFinite(l[1]);)m=(0,v.r1)(m),M=l[0]+m*s;else if(d)for(g=l[1]-m*s;g>l[0]&&isFinite(g)&&isFinite(l[0]);)m=(0,v.r1)(m),g=l[1]-m*s;else{t.getTicks().length-1>s&&(m=(0,v.r1)(m));var D=m*s;M=Math.ceil(l[1]/m)*m,(g=(0,_.NM)(M-D))<0&&l[0]>=0?(g=0,M=(0,_.NM)(D)):M>0&&l[1]<=0&&(M=0,g=-(0,_.NM)(D))}var I=(r[0].value-a[0].value)/u,w=(r[s].value-a[s].value)/u;i.setExtent.call(t,g+m*I,M+m*w),i.setInterval.call(t,m),(I||w)&&i.setNiceExtent.call(t,g+m,M-m)}(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),r(n.x),r(n.y);var a={};(0,i.each)(n.x,function(t){D(n,"y",t,a)}),(0,i.each)(n.y,function(t){D(n,"x",t,a)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var a=t.getBoxLayoutParams(),s=!n&&t.get("containLabel"),u=(0,r.ME)(a,{width:e.getWidth(),height:e.getHeight()});this._rect=u;var c=this._axesList;function l(){(0,i.each)(c,function(t){var e,n,i,r,o=t.isHorizontal(),a=o?[0,u.width]:[0,u.height],s=+!!t.inverse;t.setExtent(a[s],a[1-s]),e=t,n=o?u.x:u.y,r=(i=e.getExtent())[0]+i[1],e.toGlobalCoord="x"===e.dim?function(t){return t+n}:function(t){return r-t+n},e.toLocalCoord="x"===e.dim?function(t){return t-n}:function(t){return r-t+n}})}l(),s&&((0,i.each)(c,function(t){if(!t.model.get(["axisLabel","inside"])){var e=(0,o.Do)(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);u[n]-=e[n]+i,"top"===t.position?u.y+=e.height+i:"left"===t.position&&(u.x+=e.width+i)}}}),l()),(0,i.each)(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}(0,i.isObject)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var r=0,o=this._coordsList;r<o.length;r++)if(o[r].getAxis("x").index===t||o[r].getAxis("y").index===e)return o[r]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,r=t.seriesModel,o=t.xAxisModel||r&&r.getReferringComponents("xAxis",m.C6).models[0],a=t.yAxisModel||r&&r.getReferringComponents("yAxis",m.C6).models[0],s=t.gridModel,u=this._coordsList;return r?(e=r.coordinateSystem,0>(0,i.indexOf)(u,e)&&(e=null)):o&&a?e=this.getCartesian(o.componentIndex,a.componentIndex):o?n=this.getAxis("x",o.componentIndex):a?n=this.getAxis("y",a.componentIndex):s&&s.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var r=this,a=this,s={left:!1,right:!1,top:!1,bottom:!1},u={x:{},y:{}},c={x:0,y:0};if(e.eachComponent("xAxis",l("x"),this),e.eachComponent("yAxis",l("y"),this),!c.x||!c.y){this._axesMap={},this._axesList=[];return}function l(e){return function(n,i){if(M(n,t)){var r=n.get("position");"x"===e?"top"!==r&&"bottom"!==r&&(r=s.bottom?"top":"bottom"):"left"!==r&&"right"!==r&&(r=s.left?"right":"left"),s[r]=!0;var l=new f(e,(0,o.aG)(n),[0,0],n.get("type"),r),h="category"===l.type;l.onBand=h&&n.get("boundaryGap"),l.inverse=n.get("inverse"),n.axis=l,l.model=n,l.grid=a,l.index=i,a._axesList.push(l),u[e][i]=l,c[e]++}}}this._axesMap=u,(0,i.each)(u.x,function(e,n){(0,i.each)(u.y,function(i,o){var a="x"+n+"y"+o,s=new p(a);s.master=r,s.model=t,r._coordsMap[a]=s,r._coordsList.push(s),s.addAxis(e),s.addAxis(i)})})},t.prototype._updateScale=function(t,e){function n(t,e){(0,i.each)((0,o.PY)(t,e.dim),function(n){e.scale.unionExtentFromData(t,n)})}(0,i.each)(this._axesList,function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}}),t.eachSeries(function(t){if((0,g.Yh)(t)){var i=(0,g.Mk)(t),r=i.xAxisModel,o=i.yAxisModel;if(M(r,e)&&M(o,e)){var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),u=a.getAxis("x"),c=a.getAxis("y");n(s,u),n(s,c)}}},this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return(0,i.each)(this.getCartesians(),function(r){var o=null!=t&&"auto"!==t?r.getAxis(t):r.getBaseAxis(),a=r.getOtherAxis(o);0>(0,i.indexOf)(e,o)&&e.push(o),0>(0,i.indexOf)(n,a)&&n.push(a)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)}),e.eachSeries(function(t){if((0,g.Yh)(t)){var e=(0,g.Mk)(t),n=e.xAxisModel,i=e.yAxisModel;t.coordinateSystem=n.getCoordSysModel().coordinateSystem.getCartesian(n.componentIndex,i.componentIndex)}}),i},t.dimensions=h,t}()},34361:function(t,e,n){n.d(e,{Z:()=>r});var i=n(377);let r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(n(98650).Z)},96606:function(t,e,n){n.d(e,{Mk:()=>s,Yh:()=>a,bK:()=>o});var i=n(76109),r=n(84861);function o(t,e,n){n=n||{};var r=t.coordinateSystem,o=e.axis,a={},s=o.getAxesOnZeroOf()[0],u=o.position,c=s?"onZero":u,l=o.dim,h=r.getRect(),d=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,m="x"===l?[d[2]-f,d[3]+f]:[d[0]-f,d[1]+f];if(s){var g=s.toGlobalCoord(s.dataToCoord(0));m[p.onZero]=Math.max(Math.min(g,m[1]),m[0])}a.position=["y"===l?m[p[c]]:d[0],"x"===l?m[p[c]]:d[3]],a.rotation=Math.PI/2*("x"!==l),a.labelDirection=a.tickDirection=a.nameDirection=({top:-1,bottom:1,left:-1,right:1})[u],a.labelOffset=s?m[p[u]]-m[p.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),i.retrieve(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var v=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===c?-v:v,a.z2=1,a}function a(t){return"cartesian2d"===t.get("coordinateSystem")}function s(t){var e={xAxisModel:null,yAxisModel:null};return i.each(e,function(n,i){var o=i.replace(/Model$/,""),a=t.getReferringComponents(o,r.C6).models[0];e[i]=a}),e}},42518:function(t,e,n){n.d(e,{Z:()=>o});var i=n(76109);function r(t,e){return e=e||[0,0],i.map(["x","y"],function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))},this)}function o(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(r,t)}}}},66067:function(t,e,n){n.d(e,{Z:()=>o});var i=n(76109);function r(t,e){return e=e||[0,0],i.map([0,1],function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])},this)}function o(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(r,t)}}}},58378:function(t,e,n){n.d(e,{Z:()=>o});var i=n(76109);function r(t,e){return e=e||[0,0],i.map(["Radius","Angle"],function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s},this)}function o(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),o=e.getExtent();return o[0]>o[1]&&o.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:o[1],r0:o[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:i.bind(r,t)}}}},52722:function(t,e,n){n.d(e,{Qw:()=>u});var i=n(76109),r=n(95260),o=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var o=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var a=e.get("min",!0);null==a&&(a=e.get("startValue",!0));var s=this._modelMinRaw=a;(0,i.isFunction)(s)?this._modelMinNum=c(t,s({min:n[0],max:n[1]})):"dataMin"!==s&&(this._modelMinNum=c(t,s));var u=this._modelMaxRaw=e.get("max",!0);if((0,i.isFunction)(u)?this._modelMaxNum=c(t,u({min:n[0],max:n[1]})):"dataMax"!==u&&(this._modelMaxNum=c(t,u)),o)this._axisDataLen=e.getCategories().length;else{var l=e.get("boundaryGap"),h=(0,i.isArray)(l)?l:[l||0,l||0];"boolean"==typeof h[0]||"boolean"==typeof h[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,r.GM)(h[0],1),(0,r.GM)(h[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,r=this._axisDataLen,o=this._boundaryGapInner,a=t?null:n-e||Math.abs(e),s="dataMin"===this._modelMinRaw?e:this._modelMinNum,u="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,c=null!=s,l=null!=u;null==s&&(s=t?r?0:NaN:e-o[0]*a),null==u&&(u=t?r?r-1:NaN:n+o[1]*a),null!=s&&isFinite(s)||(s=NaN),null!=u&&isFinite(u)||(u=NaN);var h=(0,i.eqNaN)(s)||(0,i.eqNaN)(u)||t&&!r;this._needCrossZero&&(s>0&&u>0&&!c&&(s=0),s<0&&u<0&&!l&&(u=0));var d=this._determinedMin,p=this._determinedMax;return null!=d&&(s=d,c=!0),null!=p&&(u=p,l=!0),{min:s,max:u,minFixed:c,maxFixed:l,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[s[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[a[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function u(t,e,n){var i=t.rawExtentInfo;return i||(i=new o(t,e,n),t.rawExtentInfo=i),i}function c(t,e){return null==e?null:(0,i.eqNaN)(e)?NaN:t.parse(e)}},19209:function(t,e,n){n.d(e,{Z:()=>o});var i=n(76109);function r(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function o(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:(0,i.bind)(r,t)}}}},99319:function(t,e,n){n.d(e,{Z:()=>o});var i=n(76109),r={};let o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];i.each(r,function(i,r){var o=i.create(t,e);n=n.concat(o||[])}),this._coordinateSystems=n},t.prototype.update=function(t,e){i.each(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){r[t]=e},t.get=function(t){return r[t]},t}()},30473:function(t,e,n){n.d(e,{Br:()=>t3,ds:()=>t7,zP:()=>t0,wL:()=>ei,YK:()=>et,Pu:()=>t4,JE:()=>t6,qR:()=>er,OB:()=>ed,i8:()=>tw,eU:()=>t1,$j:()=>t$,zl:()=>ee,B9:()=>t2,rp:()=>t9,je:()=>el,sq:()=>t8,Hr:()=>tC,RS:()=>en,HO:()=>tS,jQ:()=>ec,S1:()=>tQ,Og:()=>eo,yn:()=>eu,I2:()=>t_.I2,aW:()=>t5,FU:()=>eh,Ok:()=>ep});var i,r,o,a,s,u,c,l,h,d,p,f,m,g,v,_,y,x,M,D=n(377),I=n(50221),w=n(76109),S=n(91254),C=n(99349),T=n(86944),b=n(63039),k=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];let L=function(t){w.each(k,function(e){this[e]=w.bind(t[e],t)},this)};var A=n(99319),R=n(75267),N=n(53800),O=n(88305),P=n(16003),E=n(80224),Z=n(42605),F=n(1946),B=n(10781),V=n(58341),z=n(80598),H=n(40312),G=n(4418),U=n(84861),W=n(91593),J=n(90247),K=n(85744),Y=n(74683),j=n(92638),q=function(){function t(t,e,n,i){this._stageTaskMap=(0,w.createHashMap)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount,a=null!=o?Math.ceil(o/r):null;return{step:r,modBy:a,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=(0,w.createHashMap)();t.eachSeries(function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;(0,w.each)(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{});(0,w.assert)(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)},this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,w.each)(t,function(t,s){if(!i.visualType||i.visualType===t.visualType){var u=o._stageTaskMap.get(t.uid),c=u.seriesTaskMap,l=u.overallTask;if(l){var h,d=l.agentStubMap;d.each(function(t){a(i,t)&&(t.dirty(),h=!0)}),h&&l.dirty(),o.updatePayload(l,n);var p=o.getPerformArgs(l,i.block);d.each(function(t){t.perform(p)}),l.perform(p)&&(r=!0)}else c&&c.each(function(s,u){a(i,s)&&s.dirty();var c=o.getPerformArgs(s,i.block);c.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(c)&&(r=!0)})}}),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=(0,w.createHashMap)(),s=t.seriesType,u=t.getTargetSeries;function c(e){var s=e.uid,u=a.set(s,o&&o.get(s)||(0,Y.v)({plan:te,reset:tn,count:to}));u.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,u)}t.createOnAllSeries?n.eachRawSeries(c):s?n.eachRawSeriesByType(s,c):u&&u(n,i).each(c)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||(0,Y.v)({reset:X});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=(0,w.createHashMap)(),u=t.seriesType,c=t.getTargetSeries,l=!0,h=!1;function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(h=!0,(0,Y.v)({reset:Q,onDirty:tt})));n.context={model:t,overallProgress:l},n.agent=o,n.__block=l,r._pipe(t,n)}(0,w.assert)(!t.createOnAllSeries,""),u?n.eachRawSeriesByType(u,d):c?c(n,i).each(d):(l=!1,(0,w.each)(n.getSeries(),d)),h&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);i.head||(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return(0,w.isFunction)(t)&&(t={overallReset:t,seriesType:function(t){i=null;try{t(ta,ts)}catch(t){}return i}(t)}),t.uid=(0,j.Kr)("stageHandler"),e&&(t.visualType=e),t},t}();function X(t){t.overallReset(t.ecModel,t.api,t.payload)}function Q(t){return t.overallProgress&&$}function $(){this.agent.dirty(),this.getDownstream().dirty()}function tt(){this.agent&&this.agent.dirty()}function te(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tn(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,U.kF)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,w.map)(e,function(t,e){return tr(e)}):ti}var ti=tr(0);function tr(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function to(t){return t.data.count()}var ta={},ts={};function tu(t,e){for(var n in e.prototype)t[n]=w.noop}tu(ta,b.Z),tu(ts,L),ta.eachSeriesByType=ta.eachRawSeriesByType=function(t){i=t},ta.eachComponent=function(t){"series"===t.mainType&&t.subType&&(i=t.subType)};var tc=n(35096),tl=n(60371),th=n(43945),td=n(83515),tp=n(95522),tf=n(31706),tm=n(21330),tg=n(2705),tv=n(29446),t_=n(43288),ty=n(96372),tx=n(67192),tM=new T.Z,tD=n(28988),tI=n(85910),tw="5.6.0",tS={zrender:"5.6.1"},tC={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},tT="__flagInMainProcess",tb="__pendingUpdate",tk="__needsUpdateStatus",tL=/^[a-zA-Z0-9_]+$/,tA="__connectUpdateStatus";function tR(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.isDisposed()?void this.id:tO(this,t,e)}}function tN(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return tO(this,t,e)}}function tO(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),T.Z.prototype[e].apply(t,n)}var tP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,D.__extends)(e,t),e}(T.Z),tE=tP.prototype;tE.on=tN("on"),tE.off=tN("off");var tZ=function(t){function e(e,n,i){var r=t.call(this,new td.v)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},(0,w.isString)(n)&&(n=tW[n]),r._dom=e,i.ssr&&I.registerSSRDataGetter(function(t){var e=(0,H.A)(t),n=e.dataIndex;if(null!=n){var i=(0,w.createHashMap)();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}});var o=r._zr=I.init(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:(0,w.retrieve2)(i.useDirtyRect,!1),useCoarsePointer:(0,w.retrieve2)(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=(0,W.P2)((0,w.bind)(o.flush,o),17),(n=(0,w.clone)(n))&&(0,N.Z)(n,!0),r._theme=n,r._locale=(0,t_.D0)(i.locale||t_.sO),r._coordSysMgr=new A.Z;var a=r._api=_(r);function s(t,e){return t.__prio-e.__prio}return(0,C.Z)(tU,s),(0,C.Z)(tH,s),r._scheduler=new q(r,a,tH,tU),r._messageCenter=new tP,r._initEvents(),r.resize=(0,w.bind)(r.resize,r),o.animation.on("frame",r._onframe,r),p(o,r),f(o,r),(0,w.setAsPrimitive)(r),r}return(0,D.__extends)(e,t),e.prototype._onframe=function(){if(!this._disposed){M(this);var t=this._scheduler;if(this[tb]){var e=this[tb].silent;this[tT]=!0;try{r(this),s.update.call(this,null,this[tb].updateParams)}catch(t){throw this[tT]=!1,this[tb]=null,t}this._zr.flush(),this[tT]=!1,this[tb]=null,h.call(this,e),d.call(this,e)}else if(t.unfinished){var n=1,i=this._model,o=this._api;t.unfinished=!1;do{var a=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),c(this,i),t.performVisualTasks(i),v(this,this._model,o,"remain",{}),n-=new Date-a}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[tT]){if(this._disposed)return void this.id;if((0,w.isObject)(e)&&(n=e.lazyUpdate,i=e.silent,o=e.replaceMerge,a=e.transition,e=e.notMerge),this[tT]=!0,!this._model||e){var i,o,a,u=new R.Z(this._api),c=this._theme,l=this._model=new b.Z;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,c,this._locale,u)}this._model.setOption(t,{replaceMerge:o},tG);var p={seriesTransition:a,optionChanged:!0};if(n)this[tb]={silent:i,updateParams:p},this[tT]=!1,this.getZr().wakeUp();else{try{r(this),s.update.call(this,null,p)}catch(t){throw this[tb]=null,this[tT]=!1,t}this._ssr||this._zr.flush(),this[tb]=null,this[tT]=!1,h.call(this,i),d.call(this,i)}}},e.prototype.setTheme=function(){(0,tm.Sh)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||S.Z.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(S.Z.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,w.each)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed)return void this.id;var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;(0,w.each)(e,function(t){n.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,w.each)(i,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed)return void this.id;var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(!tY[n])return this.getDataURL(t);var a=o,s=o,u=-o,c=-o,l=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();(0,w.each)(tK,function(o,h){if(o.group===n){var d=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,w.clone)(t)),p=o.getDom().getBoundingClientRect();a=i(p.left,a),s=i(p.top,s),u=r(p.right,u),c=r(p.bottom,c),l.push({dom:d,left:p.left,top:p.top})}}),a*=h,s*=h,u*=h,c*=h;var d=u-a,p=c-s,f=tD.qW.createCanvas(),m=I.init(f,{renderer:e?"svg":"canvas"});if(m.resize({width:d,height:p}),!e)return t.connectedBackgroundColor&&m.add(new F.Z({shape:{x:0,y:0,width:d,height:p},style:{fill:t.connectedBackgroundColor}})),(0,w.each)(l,function(t){var e=new B.ZP({style:{x:t.left*h-a,y:t.top*h-s,image:t.dom}});m.add(e)}),m.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"));var g="";return(0,w.each)(l,function(t){var e=t.left-a,n=t.top-s;g+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),m.painter.getSvgRoot().innerHTML=g,t.connectedBackgroundColor&&m.painter.setBackgroundColor(t.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()},e.prototype.convertToPixel=function(t,e){return u(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return u(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(this._disposed)return void this.id;var n,i=this._model,r=U.pm(i,t);return(0,w.each)(r,function(t,i){i.indexOf("Models")>=0&&(0,w.each)(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=this._model,i=U.pm(n,t,{defaultMainType:"series"}),r=i.seriesModel.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?r.indexOfRawIndex(i.dataIndex):null;return null!=o?(0,tf.Or)(r,o,e):(0,tf.UL)(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;(0,w.each)(tB,function(e){var n=function(n){var i,r=t.getModel(),o=n.target;if("globalout"===e?i={}:o&&(0,ty.o)(o,function(t){var e=(0,H.A)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return i=(0,w.extend)({},e.eventData),!0},!0),i){var a=i.componentType,s=i.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=i.seriesIndex);var u=a&&null!=s&&r.getComponent(a,s),c=u&&t["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:i,model:u,view:c},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)}),(0,w.each)(tz,function(e,n){t._messageCenter.on(n,function(t){this.trigger(n,t)},t)}),(0,w.each)(["selectchanged"],function(e){t._messageCenter.on(e,function(t){this.trigger(e,t)},t)}),(0,tg.s)(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed)return void this.id;this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)return void this.id;this._disposed=!0,this.getDom()&&U.P$(this.getDom(),tX,"");var t=this._api,e=this._model;(0,w.each)(this._componentsViews,function(n){n.dispose(e,t)}),(0,w.each)(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete tK[this.id]},e.prototype.resize=function(t){if(!this[tT]){if(this._disposed)return void this.id;this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[tb]&&(null==i&&(i=this[tb].silent),n=!0,this[tb]=null),this[tT]=!0;try{n&&r(this),s.update.call(this,{type:"resize",animation:(0,w.extend)({duration:0},t&&t.animation)})}catch(t){throw this[tT]=!1,t}this[tT]=!1,h.call(this,i),d.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)return void this.id;if((0,w.isObject)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),tJ[t]){var n=tJ[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){if(this._disposed)return void this.id;this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var e=(0,w.extend)({},t);return e.type=tz[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void this.id;if(((0,w.isObject)(e)||(e={silent:!!e}),tV[t.type])&&this._model){if(this[tT])return void this._pendingActions.push(t);var n=e.silent;l.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&S.Z.browser.weChat&&this._throttledZrFlush(),h.call(this,n),d.call(this,n)}},e.prototype.updateLabelLayout=function(){tM.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)return void this.id;var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===G.wU&&t.states.emphasis?e.push("emphasis"):t.hoverState===G.CX&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered(function(t){return function t(e,n,i,r){var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),u=0;u<s.length;u++)r=Math.max(t(s[u],n,i,r),r);else e.z=n,e.zlevel=i,r=Math.max(e.z2,r);if(o&&(o.z=n,o.zlevel=i,isFinite(r)&&(o.z2=r+2)),a){var c=e.textGuideLineConfig;a.z=n,a.zlevel=i,isFinite(r)&&(a.z2=r+(c&&c.showAbove?1:-1))}return r}(t,n,i,-1/0),!0})}}function i(t,e){e.eachRendered(function(t){if(!V.eq(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function I(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis&&!V.eq(t)){if(t instanceof z.ZP&&(0,G.e9)(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}r=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),o(t,!0),o(t,!1),e.plan()},o=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,u=0;u<r.length;u++)r[u].__alive=!1;function c(t){var u=t.__requireNewView;t.__requireNewView=!1;var c="_ec_"+t.id+"_"+t.type,l=!u&&o[c];if(!l){var h=(0,th.u9)(t.type);(l=new(e?E.Z.getClass(h.main,h.sub):Z.Z.getClass(h.sub))).init(n,s),o[c]=l,r.push(l),a.add(l.group)}t.__viewId=l.__id=c,l.__alive=!0,l.__model=t,l.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},e||i.prepareView(l,t,n,s)}e?n.eachComponent(function(t,e){"series"!==t&&c(e)}):n.eachSeries(c);for(var u=0;u<r.length;){var l=r[u];l.__alive?u++:(e||l.renderTask.dispose(),a.remove(l.group),l.dispose(n,s),r.splice(u,1),o[l.__id]===l&&delete o[l.__id],l.__id=l.group.__ecComponentInfo=null)}},a=function(t,e,n,i,r){var o,a=t._model;if(a.setUpdatePayload(n),!i)return void(0,w.each)([].concat(t._componentsViews).concat(t._chartsViews),l);var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var u={mainType:i,query:s};r&&(u.subType=r);var c=n.excludeSeriesId;function l(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}null!=c&&(o=(0,w.createHashMap)(),(0,w.each)(U.kF(c),function(t){var e=U.U5(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(u,function(e){if(!(o&&null!=o.get(e.id)))if((0,G.xp)(n))if(e instanceof P.Z)n.type!==G.Ki||n.notBlur||e.get(["emphasis","disabled"])||(0,G.UL)(e,n,t._api);else{var i=(0,G.oJ)(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,a=i.dispatchers;n.type===G.Ki&&r&&!n.notBlur&&(0,G.zI)(e.mainType,e.componentIndex,t._api),a&&(0,w.each)(a,function(t){n.type===G.Ki?(0,G.fD)(t):(0,G.Mh)(t)})}else(0,G.aG)(n)&&e instanceof P.Z&&((0,G.og)(e,n,t._api),(0,G.ci)(e),x(t))},t),a&&a.eachComponent(u,function(e){o&&null!=o.get(e.id)||l(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)},s={prepareAndUpdate:function(t){r(this),s.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),c(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),m(this,i,r,e,n);var u=i.get("backgroundColor")||"transparent",l=i.get("darkMode");o.setBackgroundColor(u),null!=l&&"auto"!==l&&o.setDarkMode(l),tM.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent(function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var u=s.updateTransform(a,i,r,e);u&&u.update&&o.push(s)}else o.push(s)}});var a=(0,w.createHashMap)();i.eachSeries(function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)}),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),v(this,i,r,e,{},a),tM.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),Z.Z.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),m(this,n,this._api,e,{}),tM.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries(function(t){t.getData().clearAllVisual()}),Z.Z.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent(function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}}),i.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)}),tM.trigger("afterupdate",i,this._api))},updateLayout:function(t){s.update.call(this,t)}},u=function(t,e,n,i){if(t._disposed)return void t.id;for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=U.pm(o,n),u=0;u<a.length;u++){var c=a[u];if(c[e]&&null!=(r=c[e](o,s,i)))return r}},c=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})},l=function(t,e){var n,i=this,o=this.getModel(),u=t.type,c=t.escapeConnect,l=tV[u],h=l.actionInfo,d=(h.update||"update").split(":"),p=d.pop(),f=null!=d[0]&&(0,th.u9)(d[0]);this[tT]=!0;var m=[t],g=!1;t.batch&&(g=!0,m=(0,w.map)(t.batch,function(e){return(e=(0,w.defaults)((0,w.extend)({},e),t)).batch=null,e}));var v=[],_=(0,G.aG)(t),y=(0,G.xp)(t);if(y&&(0,G.T5)(this._api),(0,w.each)(m,function(e){if((n=(n=l.action(e,i._model,i._api))||(0,w.extend)({},e)).type=h.event||n.type,v.push(n),y){var r=U.zH(t),o=r.queryOptionMap;a(i,p,e,r.mainTypeSpecified?o.keys()[0]:"series"),x(i)}else _?(a(i,p,e,"series"),x(i)):f&&a(i,p,e,f.main,f.sub)}),"none"!==p&&!y&&!_&&!f)try{this[tb]?(r(this),s.update.call(this,t),this[tb]=null):s[p].call(this,t)}catch(t){throw this[tT]=!1,t}if(n=g?{type:h.event||u,escapeConnect:c,batch:v}:v[0],this[tT]=!1,!e){var M=this._messageCenter;if(M.trigger(n.type,n),_){var D={type:"selectchanged",escapeConnect:c,selected:(0,G.C5)(o),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};M.trigger(D.type,D)}}},h=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();l.call(this,n,t)}},d=function(t){t||this.trigger("updated")},p=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[tb]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},f=function(t,e){t.on("mouseover",function(t){var n=t.target,i=(0,ty.o)(n,G.Av);i&&((0,G.$l)(i,t,e._api),x(e))}).on("mouseout",function(t){var n=t.target,i=(0,ty.o)(n,G.Av);i&&((0,G.xr)(i,t,e._api),x(e))}).on("click",function(t){var n=t.target,i=(0,ty.o)(n,function(t){return null!=(0,H.A)(t).dataIndex},!0);if(i){var r=i.selected?"unselect":"select",o=(0,H.A)(i);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},m=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent(function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})}),i){var r,o,a=e.concat(n);(0,C.Z)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,w.each)(a,function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)})}}(e),g(t,e,n,i,r),(0,w.each)(t._chartsViews,function(t){t.__alive=!1}),v(t,e,n,i,r),(0,w.each)(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},g=function(t,e,r,o,a,s){(0,w.each)(s||t._componentsViews,function(t){var a=t.__model;i(a,t),t.render(a,e,r,o),n(a,t),I(a,t)})},v=function(t,e,r,o,a,s){var u,c,l,h,d=t._scheduler;a=(0,w.extend)(a||{},{updatedSeries:e.getSeries()}),tM.trigger("series:beforeupdate",e,r,a);var p=!1;e.eachSeries(function(e){var n,r,a,u=t._chartsMap[e.__viewId];u.__alive=!0;var c=u.renderTask;d.updatePayload(c,o),i(e,u),s&&s.get(e.uid)&&c.dirty(),c.perform(d.getPerformArgs(c))&&(p=!0),u.group.silent=!!e.get("silent"),n=e,r=u,a=n.get("blendMode")||null,r.eachRendered(function(t){t.isGroup||(t.style.blend=a)}),(0,G.ci)(e)}),d.unfinished=p||d.unfinished,tM.trigger("series:layoutlabels",e,r,a),tM.trigger("series:transition",e,r,a),e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];n(e,i),I(e,i)}),u=t,c=e,l=u._zr.storage,h=0,l.traverse(function(t){!t.isGroup&&h++}),!(h>c.get("hoverLayerThreshold"))||S.Z.node||S.Z.worker||c.eachSeries(function(t){if(!t.preventUsingHoverLayer){var e=u._chartsMap[t.__viewId];e.__alive&&e.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}}),tM.trigger("series:afterupdate",e,r,a)},x=function(t){t[tk]=!0,t.getZr().wakeUp()},M=function(t){t[tk]&&(t.getZr().storage.traverse(function(t){V.eq(t)||e(t)}),t[tk]=!1)},_=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,D.__extends)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,G.fD)(e,n),x(t)},n.prototype.leaveEmphasis=function(e,n){(0,G.Mh)(e,n),x(t)},n.prototype.enterBlur=function(e){(0,G.SX)(e),x(t)},n.prototype.leaveBlur=function(e){(0,G.VP)(e),x(t)},n.prototype.enterSelect=function(e){(0,G.XX)(e),x(t)},n.prototype.leaveSelect=function(e){(0,G.SJ)(e),x(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(L))(t)},y=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][tA]=e}(0,w.each)(tz,function(n,i){t._messageCenter.on(i,function(n){if(tY[t.group]&&0!==t[tA]&&(!n||!n.escapeConnect)){var i=t.makeActionFromEvent(n),r=[];(0,w.each)(tK,function(e){e!==t&&e.group===t.group&&r.push(e)}),e(r,0),(0,w.each)(r,function(t){1!==t[tA]&&t.dispatchAction(i)}),e(r,2)}})})}}(),e}(T.Z),tF=tZ.prototype;tF.on=tR("on"),tF.off=tR("off"),tF.one=function(t,e,n){var i=this;(0,tm.Sh)("ECharts#one is deprecated."),this.on.call(this,t,function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)},n)};var tB=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],tV={},tz={},tH=[],tG=[],tU=[],tW={},tJ={},tK={},tY={},tj=new Date-0,tq=new Date-0,tX="_echarts_instance_";function tQ(t,e,n){var i=!(n&&n.ssr);if(i){var r=t6(t);if(r)return r}var o=new tZ(t,e,n);return o.id="ec_"+tj++,tK[o.id]=o,i&&U.P$(t,tX,o.id),y(o),tM.trigger("afterinit",o),o}function t$(t){if((0,w.isArray)(t)){var e=t;t=null,(0,w.each)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+tq++,(0,w.each)(e,function(e){e.group=t})}return tY[t]=!0,t}function t0(t){tY[t]=!1}var t1=t0;function t2(t){(0,w.isString)(t)?t=tK[t]:t instanceof tZ||(t=t6(t)),t instanceof tZ&&!t.isDisposed()&&t.dispose()}function t6(t){return tK[U.IL(t,tX)]}function t9(t){return tK[t]}function t5(t,e){tW[t]=e}function t7(t){0>(0,w.indexOf)(tG,t)&&tG.push(t)}function t4(t,e){es(tH,t,e,2e3)}function t8(t){et("afterinit",t)}function t3(t){et("afterupdate",t)}function et(t,e){tM.on(t,e)}function ee(t,e,n){(0,w.isFunction)(e)&&(n=e,e="");var i=(0,w.isObject)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),tz[e=t.event]||((0,w.assert)(tL.test(i)&&tL.test(e)),tV[i]||(tV[i]={action:n,actionInfo:t}),tz[e]=i)}function en(t,e){A.Z.register(t,e)}function ei(t){var e=A.Z.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function er(t,e){es(tU,t,e,1e3,"layout")}function eo(t,e){es(tU,t,e,3e3,"visual")}var ea=[];function es(t,e,n,i,r){if(((0,w.isFunction)(e)||(0,w.isObject)(e))&&(n=e,e=i),!((0,w.indexOf)(ea,n)>=0)){ea.push(n);var o=q.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function eu(t,e){tJ[t]=e}function ec(t){(0,tD.g2)({createCanvas:t})}function el(t,e,n){var i=(0,tI.C)("registerMap");i&&i(t,e,n)}function eh(t){var e=(0,tI.C)("getMap");return e&&e(t)}var ed=tv.DA;eo(2e3,J.TD),eo(4500,J.Tn),eo(4500,J.$P),eo(2e3,tp.n),eo(4500,tp.m),eo(7e3,tx.Z),t7(N.Z),t4(900,O.Z),tJ.default=K.Z,ee({type:G.Ki,event:G.Ki,update:G.Ki},w.noop),ee({type:G.yx,event:G.yx,update:G.yx},w.noop),ee({type:G.Hg,event:G.Hg,update:G.Hg},w.noop),ee({type:G.JQ,event:G.JQ,update:G.JQ},w.noop),ee({type:G.iK,event:G.iK,update:G.iK},w.noop),tW.light=tc.Z,tW.dark=tl.Z;var ep={}},85910:function(t,e,n){n.d(e,{C:()=>o,M:()=>r});var i={};function r(t,e){i[t]=e}function o(t){return i[t]}},43288:function(t,e,n){n.d(e,{Li:()=>d,G8:()=>h,I2:()=>c,D0:()=>l,sO:()=>u});var i=n(72673),r=n(91254),o=n(76109),a={},s={},u=r.Z.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function c(t,e){s[t=t.toUpperCase()]=new i.Z(e),a[t]=e}function l(t){if(!(0,o.isString)(t))return(0,o.merge)((0,o.clone)(t),(0,o.clone)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.clone)(e):(0,o.merge)((0,o.clone)(e),(0,o.clone)(a.EN),!1)}function h(t){return s[t]}function d(){return s.EN}c("EN",{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:". "}}}}),c("ZH",{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:""}}}})},74683:function(t,e,n){n.d(e,{v:()=>r});var i=n(76109);function r(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n,r,o,a=this._upstream,s=t&&t.skip;if(this._dirty&&a){var u=this.context;u.data=u.outputData=a.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!s&&(r=this._plan(this.context));var c=((e=this._modBy)>=1||(e=1),e),l=this._modDataCount||0,h=((n=t&&t.modBy)>=1||(n=1),n),d=t&&t.modDataCount||0;(c!==h||l!==d)&&(r="reset"),(this._dirty||"reset"===r)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=h,this._modDataCount=d;var p=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,m=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!s&&(o||f<m)){var g=this._progress;if((0,i.isArray)(g))for(var v=0;v<g.length;v++)this._doProgress(g[v],f,m,h,d);else this._doProgress(g,f,m,h,d)}this._dueIndex=m;var _=null!=this._settedOutputEnd?this._settedOutputEnd:m;this._outputDueEnd=_}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){a.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:a.next},this.context)},t.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,i.isArray)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,n,r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,n,i,r,o={reset:function(u,c,l,h){e=u,t=c,n=l,r=Math.ceil((i=h)/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}()},42171:function(t,e,n){function i(t){return null==t?0:t.length||1}function r(t){return t}n.d(e,{Z:()=>o});let o=function(){function t(t,e,n,i,o,a){this._old=t,this._new=e,this._oldKeyGetter=n||r,this._newKeyGetter=i||r,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},r=Array(t.length),o=Array(e.length);this._initIndexMap(t,null,r,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=r[a],u=n[s],c=i(u);if(c>1){var l=u.shift();1===u.length&&(n[s]=u[0]),this._update&&this._update(l,a)}else 1===c?(n[s]=null,this._update&&this._update(u,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},r={},o=[],a=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,r,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var u=o[s],c=n[u],l=r[u],h=i(c),d=i(l);if(h>1&&1===d)this._updateManyToOne&&this._updateManyToOne(l,c),r[u]=null;else if(1===h&&d>1)this._updateOneToMany&&this._updateOneToMany(l,c),r[u]=null;else if(1===h&&1===d)this._update&&this._update(l,c),r[u]=null;else if(h>1&&d>1)this._updateManyToMany&&this._updateManyToMany(l,c),r[u]=null;else if(h>1)for(var p=0;p<h;p++)this._remove&&this._remove(c[p]);else this._remove&&this._remove(c)}this._performRestAdd(a,r)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=e[r],a=i(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);e[r]=null}},t.prototype._initIndexMap=function(t,e,n,r){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[r](t[a],a);if(o||(n[a]=s),e){var u=e[s],c=i(u);0===c?(e[s]=a,o&&n.push(s)):1===c?e[s]=[u,a]:u.push(a)}}},t}()},35065:function(t,e,n){n.d(e,{ZP:()=>g,hG:()=>l});var i,r=n(76109),o=n(58847),a=n(5908),s="undefined",u=typeof Uint32Array===s?Array:Uint32Array,c=typeof Uint16Array===s?Array:Uint16Array,l=typeof Int32Array===s?Array:Int32Array,h=typeof Float64Array===s?Array:Float64Array,d={float:h,int:l,ordinal:Array,number:Array,time:h};function p(t){return t>65535?u:c}function f(){return[1/0,-1/0]}function m(t,e,n,i,r){var o=d[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var u=new o(i),c=0;c<s;c++)u[c]=a[c];t[e]=u}}else t[e]=new o(i)}let g=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,r.createHashMap)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=i[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[],(0,a.QY)(o),this._dimensions=(0,r.map)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new d[e||"float"](this._rawCount),this._rawExtent[r]=f(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=f());for(var s=r[t],u=o;u<a;u++){var c=n[u]=e.parseAndCollect(n[u]);isNaN(c)||(s[0]=Math.min(c,s[0]),s[1]=Math.max(c,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var 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,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),u=s+Math.max(t.length,e||0),c=0;c<o;c++){var l=r[c];m(n,c,l.type,u,!0)}for(var h=[],d=s;d<u;d++)for(var p=d-s,f=0;f<o;f++){var l=r[f],g=i.arrayRows.call(this,t[p]||h,l.property,p,f);n[f][d]=g;var v=a[f];g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}return this._rawCount=this._count=u,{start:s,end:u}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,u=this._rawExtent,c=(0,r.map)(a,function(t){return t.property}),l=0;l<s;l++){var h=a[l];u[l]||(u[l]=f()),m(o,l,h.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,u);else for(var d=[],p=t;p<e;p++){d=i.getItem(p,d);for(var g=0;g<s;g++){var v=o[g],_=this._dimValueGetter(d,c[g],p,g);v[p]=_;var y=u[g];_<y[0]&&(y[0]=_),_>y[1]&&(y[1]=_)}}!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 r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;for(var r=0,o=i.length;r<o;r++)n.push(this.get(i[r],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,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}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;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return -1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,u=0,c=this.count();u<c;u++){var l=e-i[this.getRawIndex(u)],h=Math.abs(l);h<=n&&((h<o||h===o&&l>=0&&a<0)&&(o=h,a=l,s=0),l===a&&(r[s++]=u))}return r.length=s,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 r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{var n=p(this._rawCount);t=new n(this.count());for(var r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(p(n._rawCount))(i),o=[],a=t.length,s=0,u=t[0],c=n._chunks,l=0;l<i;l++){var h=void 0,d=n.getRawIndex(l);if(0===a)h=e(l);else if(1===a)h=e(c[u][d],l);else{for(var f=0;f<a;f++)o[f]=c[t[f]][d];o[f]=l,h=e.apply(null,o)}h&&(r[s++]=d)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=(0,r.keys)(t),o=i.length;if(!o)return this;var a=e.count(),s=new(p(e._rawCount))(a),u=0,c=i[0],l=t[c][0],h=t[c][1],d=e._chunks,f=!1;if(!e._indices){var m=0;if(1===o){for(var g=d[i[0]],v=0;v<n;v++){var _=g[v];(_>=l&&_<=h||isNaN(_))&&(s[u++]=m),m++}f=!0}else if(2===o){for(var g=d[i[0]],y=d[i[1]],x=t[i[1]][0],M=t[i[1]][1],v=0;v<n;v++){var _=g[v],D=y[v];(_>=l&&_<=h||isNaN(_))&&(D>=x&&D<=M||isNaN(D))&&(s[u++]=m),m++}f=!0}}if(!f)if(1===o)for(var v=0;v<a;v++){var I=e.getRawIndex(v),_=d[i[0]][I];(_>=l&&_<=h||isNaN(_))&&(s[u++]=I)}else for(var v=0;v<a;v++){for(var w=!0,I=e.getRawIndex(v),S=0;S<o;S++){var C=i[S],_=d[C][I];(_<t[C][0]||_>t[C][1])&&(w=!1)}w&&(s[u++]=e.getRawIndex(v))}return u<a&&(e._indices=s),e._count=u,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],u=t._rawExtent,c=0;c<e.length;c++)u[e[c]]=f();for(var l=0;l<a;l++){for(var h=t.getRawIndex(l),d=0;d<o;d++)s[d]=i[e[d]][h];s[o]=l;var p=n&&n.apply(null,s);if(null!=p){"object"!=typeof p&&(r[0]=p,p=r);for(var c=0;c<p.length;c++){var m=e[c],g=p[c],v=u[m],_=i[m];_&&(_[h]=g),g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),u=0,c=Math.floor(1/e),l=this.getRawIndex(0),h=new(p(this._rawCount))(Math.min((Math.ceil(s/c)+2)*2,s));h[u++]=l;for(var d=1;d<s-1;d+=c){for(var f=Math.min(d+c,s-1),m=Math.min(d+2*c,s),g=(m+f)/2,v=0,_=f;_<m;_++){var y=this.getRawIndex(_),x=a[y];isNaN(x)||(v+=x)}v/=m-f;var M=d,D=Math.min(d+c,s),I=d-1,w=a[l];n=-1,r=M;for(var S=-1,C=0,_=M;_<D;_++){var y=this.getRawIndex(_),x=a[y];if(isNaN(x)){C++,S<0&&(S=y);continue}(i=Math.abs((I-g)*(x-w)-(I-_)*(v-w)))>n&&(n=i,r=y)}C>0&&C<D-M&&(h[u++]=Math.min(S,r),r=Math.max(S,r)),h[u++]=r,l=r}return h[u++]=this.getRawIndex(s-1),o._count=u,o._indices=h,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new(p(this._rawCount))(2*Math.ceil(a/r)),u=0,c=0;c<a;c+=r){var l=c,h=o[this.getRawIndex(l)],d=c,f=o[this.getRawIndex(d)],m=r;c+r>a&&(m=a-c);for(var g=0;g<m;g++){var v=o[this.getRawIndex(c+g)];v<h&&(h=v,l=c+g),v>f&&(f=v,d=c+g)}var _=this.getRawIndex(l),y=this.getRawIndex(d);l<d?(s[u++]=_,s[u++]=y):(s[u++]=y,s[u++]=_)}return n._count=u,n._indices=s,n._updateGetRawIdx(),n},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),u=o[t],c=this.count(),l=r._rawExtent[t]=f(),h=new(p(this._rawCount))(Math.ceil(c/s)),d=0,m=0;m<c;m+=s){s>c-m&&(a.length=s=c-m);for(var g=0;g<s;g++){var v=this.getRawIndex(m+g);a[g]=u[v]}var _=n(a),y=this.getRawIndex(Math.min(m+i(a,_)||0,c-1));u[y]=_,_<l[0]&&(l[0]=_),_>l[1]&&(l[1]=_),h[d++]=y}return r._count=d,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,u=[];s<n;s++)u[s]=i[t[s]][a];u[s]=r,e.apply(null,u)}}},t.prototype.getDataExtent=function(t){var e,n=this._chunks[t],i=f();if(!n)return i;var r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(e=this._extent[t])return e.slice();for(var o=(e=i)[0],a=e[1],s=0;s<r;s++){var u=n[this.getRawIndex(s)];u<o&&(o=u),u>a&&(a=u)}return e=[o,a],this._extent[t]=e,e},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,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,o=this._chunks,a=e&&(0,r.reduce)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else i._chunks=o;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,r.clone)(this._extent),t._rawExtent=(0,r.clone)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var 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,o.yQ)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,o.yQ)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return(0,o.yQ)(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}()},41269:function(t,e,n){n.d(e,{Z:()=>a});var i=n(76109),r=0;function o(t){return(0,i.isObject)(t)&&null!=t.value?t.value:t+""}let a=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&(0,i.map)(r,o);return new t({categories:a,needCollect:!a,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.isString)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,i.createHashMap)(this.categories))},t}()},39116:function(t,e,n){n.d(e,{Z:()=>T});var i,r,o,a,s,u,c,l=n(76109),h=n(72673),d=n(42171),p=n(83996),f=n(54847),m=n(48648),g=n(6e4),v=n(84861),_=n(40312),y=n(5908),x=n(35065),M=n(91478),D=l.isObject,I=l.map,w="undefined"==typeof Int32Array?Array:Int32Array,S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],C=["_approximateExtent"];let T=function(){function t(t,e){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 n,i=!1;(0,M.bB)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,u={},c=0;c<n.length;c++){var h=n[c],d=l.isString(h)?new m.Z({name:h}):h instanceof m.Z?h:new m.Z(h),p=d.name;d.type=d.type||"float",d.coordDim||(d.coordDim=p,d.coordDimIndex=0);var f=d.otherDims=d.otherDims||{};o.push(p),r[p]=d,null!=u[p]&&(s=!0),d.createInvertedIndices&&(a[p]=[]),0===f.itemName&&(this._nameDimIdx=c),0===f.itemId&&(this._idDimIdx=c),i&&(d.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var g=this._dimIdxToName=l.createHashMap();l.each(o,function(t){g.set(r[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);if(i)return i.name},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(l.isNumber(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||0>this._schema.getSourceDimensionIndex(t)))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof x.ZP&&(i=t),!i){var o=this.dimensions,a=(0,y.Ld)(t)||l.isArrayLike(t)?new p.Pl(t,o.length):t;i=new x.ZP;var s=I(o,function(t){return{type:r._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.y)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&c(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.J5&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList;if(n.getSource().sourceFormat===g.cy&&!n.pure)for(var a=[],s=t;s<e;s++){var u=n.getItem(s,a);if(!this.hasItemOption&&(0,v.Co)(u)&&(this.hasItemOption=!0),u){var l=u.name;null==r[s]&&null!=l&&(r[s]=(0,v.U5)(l,null));var h=u.id;null==o[s]&&null!=h&&(o[s]=(0,v.U5)(h,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)c(this,s);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){D(t)?l.extend(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return r(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 l.isArray(t)?i.getValues(I(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],i=n&&n[e];return null==i||isNaN(i)?-1:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){l.isFunction(t)&&(n=e,e=t,t=[]);var i=n||this,r=I(a(t),this._getStoreDimIndex,this);this._store.each(r,i?l.bind(e,i):e)},t.prototype.filterSelf=function(t,e,n){l.isFunction(t)&&(n=e,e=t,t=[]);var i=n||this,r=I(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?l.bind(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=l.keys(t),r=[];return l.each(i,function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){l.isFunction(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 r=n||i||this,o=I(a(t),this._getStoreDimIndex,this),s=u(this);return s._store=this._store.map(o,r?l.bind(e,r):e),s},t.prototype.modify=function(t,e,n,i){var r=n||i||this,o=I(a(t),this._getStoreDimIndex,this);this._store.modify(o,r?l.bind(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=u(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},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 h.Z(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new d.Z(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return r(t,e)},function(t){return r(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||{},D(t)?l.extend(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 r=i[e];return null==r&&(r=this.getVisual(e),l.isArray(r)?r=r.slice():D(r)&&(r=l.extend({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,D(e)?l.extend(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){D(t)?l.extend(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?l.extend(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,_.Q)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){l.each(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:I(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];l.isFunction(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(l.slice(arguments)))})},t.internalField=void(i=function(t){var e=t._invertedIndicesMap;l.each(e,function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new w(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(var s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}})},o=function(t,e,n){return(0,v.U5)(t._getCategory(e,n),null)},r=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},a=function(t){return l.isArray(t)||(t=null!=t?[t]:[]),t},u=function(e){var n=new t(e._schema?e._schema:I(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){l.each(S.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,l.each(C,function(n){t[n]=l.clone(e[n])}),t._calculationInfo=l.extend({},e._calculationInfo)},c=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,a=t._idDimIdx,s=n[e],u=i[e];if(null==s&&null!=r&&(n[e]=s=o(t,r,e)),null==u&&null!=a&&(i[e]=u=o(t,a,e)),null==u&&null!=s){var c=t._nameRepeatCount,l=c[s]=(c[s]||0)+1;u=s,l>1&&(u+="__ec__"+l),i[e]=u}}),t}()},48648:function(t,e,n){n.d(e,{Z:()=>r});var i=n(76109);let r=function(t){this.otherDims={},null!=t&&i.extend(this,t)}},5908:function(t,e,n){n.d(e,{Kp:()=>d,Ld:()=>u,ML:()=>h,QY:()=>m,_P:()=>c,nx:()=>l});var i=n(76109),r=n(6e4),o=n(84861),a=n(78090),s=function(t){this.data=t.data||(t.sourceFormat===r.hL?{}:[]),this.sourceFormat=t.sourceFormat||r.RA,this.seriesLayoutBy=t.seriesLayoutBy||r.fY,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&(0,a.u7)(this,n)===a.Dq.Must&&(i.type="ordinal")}};function u(t){return t instanceof s}function c(t,e,n){n=n||d(t);var a=e.seriesLayoutBy,u=function(t,e,n,a,s){if(!t)return{dimensionsDefine:p(s),startIndex:c,dimensionsDetectedCount:u};if(e===r.XD){var u,c;"auto"===a||null==a?f(function(t){null!=t&&"-"!==t&&((0,i.isString)(t)?null==c&&(c=1):c=0)},n,t,10):c=(0,i.isNumber)(a)?a:+!!a,s||1!==c||(s=[],f(function(t,e){s[e]=null!=t?t+"":""},n,t,1/0)),u=s?s.length:n===r.Wc?t.length:t[0]?t[0].length:null}else if(e===r.qb)s||(s=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e)return(0,i.keys)(e)}(t));else if(e===r.hL)s||(s=[],(0,i.each)(t,function(t,e){s.push(e)}));else if(e===r.cy){var l=(0,o.C4)(t[0]);u=(0,i.isArray)(l)&&l.length||1}else r.J5;return{startIndex:c,dimensionsDefine:p(s),dimensionsDetectedCount:u}}(t,n,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:u.dimensionsDefine,startIndex:u.startIndex,dimensionsDetectedCount:u.dimensionsDetectedCount,metaRawOption:(0,i.clone)(e)})}function l(t){return new s({data:t,sourceFormat:(0,i.isTypedArray)(t)?r.J5:r.cy})}function h(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,i.clone)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function d(t){var e=r.RA;if((0,i.isTypedArray)(t))e=r.J5;else if((0,i.isArray)(t)){0===t.length&&(e=r.XD);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,i.isArray)(a)||(0,i.isTypedArray)(a)){e=r.XD;break}else if((0,i.isObject)(a)){e=r.qb;break}}}}else if((0,i.isObject)(t)){for(var s in t)if((0,i.hasOwn)(t,s)&&(0,i.isArrayLike)(t[s])){e=r.hL;break}}return e}function p(t){if(t){var e=(0,i.createHashMap)();return(0,i.map)(t,function(t,n){var r={name:(t=(0,i.isObject)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r})}}function f(t,e,n,i){if(e===r.Wc)for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else for(var a=n[0]||[],o=0;o<a.length&&o<i;o++)t(a[o],o)}function m(t){var e=t.sourceFormat;return e===r.qb||e===r.hL}},44224:function(t,e,n){n.d(e,{Z:()=>v});var i=n(76109),r=n(84861),o=(0,r.Yf)();function a(t,e){var n;if(n=this,o(n).mainData===n){var r=(0,i.extend)({},o(this).datas);r[this.dataType]=e,h(e,r,t)}else d(e,this.dataType,o(this).mainData,t);return e}function s(t,e){return t.struct&&t.struct.update(),e}function u(t,e){return(0,i.each)(o(e).datas,function(n,i){n!==e&&d(n.cloneShallow(),i,e,t)}),e}function c(t){var e=o(this).mainData;return null==t||null==e?e:o(e).datas[t]}function l(){var t=o(this).mainData;return null==t?[{data:t}]:(0,i.map)((0,i.keys)(o(t).datas),function(e){return{type:e,data:o(t).datas[e]}})}function h(t,e,n){o(t).datas={},(0,i.each)(e,function(e,i){d(e,i,t,n)})}function d(t,e,n,i){o(n).datas[e]=t,o(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=c,t.getLinkedDataAll=l}let p=function(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,h(e,n,t),(0,i.each)(n,function(n){(0,i.each)(e.TRANSFERABLE_METHODS,function(e){n.wrapMethod(e,(0,i.curry)(a,t))})}),e.wrapMethod("cloneShallow",(0,i.curry)(u,t)),(0,i.each)(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,(0,i.curry)(s,t))}),(0,i.assert)(n[e.dataType]===e)};var f=n(39116),m=n(72231),g=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.isFunction(t)&&(n=e,e=t,t=null),t=t||{},i.isString(t)&&(t={order:t});var r,o=t.order||"preorder",a=this[t.attr||"children"];"preorder"===o&&(r=e.call(n,this));for(var s=0;!r&&s<a.length;s++)a[s].eachNode(t,e,n);"postorder"===o&&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 r=n[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;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))return this.hostTree.data.getItemModel(this.dataIndex).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},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}();let v=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(var 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,o){var a=new t(n),s=[],u=1;!function t(e,n){var o,c,l,h=e.value;u=Math.max(u,i.isArray(h)?h.length:1),s.push(e);var d=new g((0,r.U5)(e.name,""),a);n?(o=d,l=(c=n).children,o.parentNode!==c&&(l.push(o),o.parentNode=c)):a.root=d,a._nodes.push(d);var p=e.children;if(p)for(var f=0;f<p.length;f++)t(p[f],d)}(e),a.root.updateDepthAndHeight(0);var c=(0,m.Z)(s,{coordDimensions:["value"],dimensionsCount:u}).dimensions,l=new f.Z(c,n);return l.initData(s),o&&o(l),p({mainData:l,struct:a,structAttr:"tree"}),a.update(),a},t}()},91478:function(t,e,n){n.d(e,{Eo:()=>u,Jj:()=>h,Jl:()=>d,bB:()=>c,v5:()=>l});var i=n(76109),r=n(84861),o=n(5908),a=(0,r.Yf)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},u=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=h(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,i.retrieve2)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.QY)(this.source),n=!d(t),i="",r=[],a=0,u=0;a<t;a++){var c=void 0,l=void 0,h=void 0,p=this.dimensions[u];if(p&&p.storeDimIndex===a)c=e?p.name:null,l=p.type,h=p.ordinalMeta,u++;else{var f=this.getSourceDimension(a);f&&(c=e?f.name:null,l=f.type)}r.push({property:c,type:l,ordinalMeta:h}),!e||null==c||p&&p.isCalculationCoord||(i+=n?c.replace(/\`/g,"`1").replace(/\$/g,"`2"):c),i+="$",i+=s[l]||"f",h&&(i+=h.uid),i+="$"}var m=this.source;return{dimensions:r,hash:[m.seriesLayoutBy,m.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.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 c(t){return t instanceof u}function l(t){for(var e=(0,i.createHashMap)(),n=0;n<(t||[]).length;n++){var r=t[n],o=(0,i.isObject)(r)?r.name:r;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function h(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=l(t.dimensionsDefine))}function d(t){return t>30}},72231:function(t,e,n){n.d(e,{Z:()=>d,q:()=>h});var i=n(6e4),r=n(48648),o=n(76109),a=n(5908),s=n(35065),u=n(84861),c=n(78090),l=n(91478);function h(t,e){return d(t,e).dimensions}function d(t,e){(0,a.Ld)(t)||(t=(0,a.nx)(t));var n,h,d,p,f,m=(e=e||{}).coordDimensions||[],g=e.dimensionsDefine||t.dimensionsDefine||[],v=(0,o.createHashMap)(),_=[],y=(n=t,h=m,d=g,p=e.dimensionsCount,f=Math.max(n.dimensionsDetectedCount||1,h.length,d.length,p||0),(0,o.each)(h,function(t){var e;(0,o.isObject)(t)&&(e=t.dimsDef)&&(f=Math.max(f,e.length))}),f),x=e.canOmitUnusedDimensions&&(0,l.Jl)(y),M=g===t.dimensionsDefine,D=M?(0,l.Jj)(t):(0,l.v5)(g),I=e.encodeDefine;!I&&e.encodeDefaulter&&(I=e.encodeDefaulter(t,y));for(var w=(0,o.createHashMap)(I),S=new s.hG(y),C=0;C<S.length;C++)S[C]=-1;function T(t){var e=S[t];if(e<0){var n=g[t],i=(0,o.isObject)(n)?n:{name:n},a=new r.Z,s=i.name;null!=s&&null!=D.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var u=_.length;return S[t]=u,a.storeDimIndex=t,_.push(a),a}return _[e]}if(!x)for(var C=0;C<y;C++)T(C);w.each(function(t,e){var n=(0,u.kF)(t).slice();if(1===n.length&&!(0,o.isString)(n[0])&&n[0]<0)return void w.set(e,!1);var i=w.set(e,[]);(0,o.each)(n,function(t,n){var r=(0,o.isString)(t)?D.get(t):t;null!=r&&r<y&&(i[n]=r,k(T(r),e,n))})});var b=0;function k(t,e,n){null!=i.f7.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,v.set(e,!0))}(0,o.each)(m,function(t){if((0,o.isString)(t))r=t,i={};else{var e,n,i,r=(i=t).name,a=i.ordinalMeta;i.ordinalMeta=null,(i=(0,o.extend)({},i)).ordinalMeta=a,e=i.dimsDef,n=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=w.get(r);if(!1!==s){if(!(s=(0,u.kF)(s)).length)for(var c=0;c<(e&&e.length||1);c++){for(;b<y&&null!=T(b).coordDim;)b++;b<y&&s.push(b++)}(0,o.each)(s,function(t,a){var s=T(t);if(M&&null!=i.type&&(s.type=i.type),k((0,o.defaults)(s,i),r,a),null==s.name&&e){var u=e[a];(0,o.isObject)(u)||(u={name:u}),s.name=s.displayName=u.name,s.defaultTooltip=u.defaultTooltip}n&&(0,o.defaults)(s.otherDims,n)})}});var L=e.generateCoord,A=e.generateCoordCount,R=null!=A;A=L?A||1:0;var N=L||"value";function O(t){null==t.name&&(t.name=t.coordDim)}if(x)(0,o.each)(_,function(t){O(t)}),_.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var P=0;P<y;P++){var E=T(P);null==E.coordDim&&(E.coordDim=function(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}(N,v,R),E.coordDimIndex=0,(!L||A<=0)&&(E.isExtraCoord=!0),A--),O(E),null==E.type&&((0,c.u7)(t,P)===c.Dq.Must||E.isExtraCoord&&(null!=E.otherDims.itemName||null!=E.otherDims.seriesName))&&(E.type="ordinal")}return function(t){for(var e=(0,o.createHashMap)(),n=0;n<t.length;n++){var i=t[n],r=i.name,a=e.get(r)||0;a>0&&(i.name=r+(a-1)),a++,e.set(r,a)}}(_),new l.Eo({source:t,dimensions:_,fullDimensionCount:y,dimensionOmitted:x})}},83996:function(t,e,n){n.d(e,{Pl:()=>d,_j:()=>m,a:()=>_,hk:()=>I,tB:()=>M});var i,r,o,a,s,u=n(76109),c=n(84861),l=n(5908),h=n(6e4),d=function(){var t;function e(t,e){var n=(0,l.Ld)(t)?t:(0,l.nx)(t);this._source=n;var i=this._data=n.data;n.sourceFormat===h.J5&&(this._offset=0,this._dimSize=e,this._data=i),s(this,i,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,e){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=void((t=e.prototype).pure=!1,t.persistent=!0),e.internalField=function(){s=function(t,r,o){var s=o.sourceFormat,c=o.seriesLayoutBy,l=o.startIndex,d=o.dimensionsDefine,p=a[D(s,c)];if((0,u.extend)(t,p),s===h.J5)t.getItem=e,t.count=i,t.fillStorage=n;else{var f=m(s,c);t.getItem=(0,u.bind)(f,null,r,l,d);var g=_(s,c);t.count=(0,u.bind)(g,null,r,l,d)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],u=null==s[0]?1/0:s[0],c=null==s[1]?-1/0:s[1],l=e-t,h=n[a],d=0;d<l;d++){var p=r[d*o+a];h[t+d]=p,p<u&&(u=p),p>c&&(c=p)}s[0]=u,s[1]=c}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[h.XD+"_"+h.fY]={pure:!0,appendData:r},t[h.XD+"_"+h.Wc]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[h.qb]={pure:!0,appendData:r},t[h.hL]={pure:!0,appendData:function(t){var e=this._data;(0,u.each)(t,function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])})}},t[h.cy]={appendData:r},t[h.J5]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),e}(),p=function(t,e,n,i){return t[i]},f=((i={})[h.XD+"_"+h.fY]=function(t,e,n,i){return t[i+e]},i[h.XD+"_"+h.Wc]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[i]:null}return o},i[h.qb]=p,i[h.hL]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=t[n[a].name];o[a]=s?s[i]:null}return o},i[h.cy]=p,i);function m(t,e){return f[D(t,e)]}var g=function(t,e,n){return t.length},v=((r={})[h.XD+"_"+h.fY]=function(t,e,n){return Math.max(0,t.length-e)},r[h.XD+"_"+h.Wc]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},r[h.qb]=g,r[h.hL]=function(t,e,n){var i=t[n[0].name];return i?i.length:0},r[h.cy]=g,r);function _(t,e){return v[D(t,e)]}var y=function(t,e,n){return t[e]},x=((o={})[h.XD]=y,o[h.qb]=function(t,e,n){return t[n]},o[h.hL]=y,o[h.cy]=function(t,e,n){var i=(0,c.C4)(t);return i instanceof Array?i[e]:i},o[h.J5]=y,o);function M(t){return x[t]}function D(t,e){return t===h.XD?t+"_"+e:t}function I(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return x[o](i,a,s)}var u=i;return o===h.cy&&(u=(0,c.C4)(i)),u}}}},60326:function(t,e,n){n.d(e,{BM:()=>o,IR:()=>s,M:()=>a});var i=n(76109),r=n(91478);function o(t,e,n){var o,a,s,u,c,l,h,d,p=(n=n||{}).byIndex,f=n.stackedCoordDimension;(o=e,(0,r.bB)(o.schema))?(a=(s=e.schema).dimensions,u=e.store):a=e;var m=!!(t&&t.get("stack"));if((0,i.each)(a,function(t,e){(0,i.isString)(t)&&(a[e]=t={name:t}),m&&!t.isExtraCoord&&(p||c||!t.ordinalMeta||(c=t),l||"ordinal"===t.type||"time"===t.type||f&&f!==t.coordDim||(l=t))}),!l||p||c||(p=!0),l){h="__\0ecstackresult_"+t.id,d="__\0ecstackedover_"+t.id,c&&(c.createInvertedIndices=!0);var g=l.coordDim,v=l.type,_=0;(0,i.each)(a,function(t){t.coordDim===g&&_++});var y={name:h,coordDim:g,coordDimIndex:_,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},x={name:d,coordDim:d,coordDimIndex:_+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(u&&(y.storeDimIndex=u.ensureCalculationDimension(d,v),x.storeDimIndex=u.ensureCalculationDimension(h,v)),s.appendCalculationDimension(y),s.appendCalculationDimension(x)):(a.push(y),a.push(x))}return{stackedDimension:l&&l.name,stackedByDimension:c&&c.name,isStackedByIndex:p,stackedOverDimension:d,stackResultDimension:h}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function s(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},58847:function(t,e,n){n.d(e,{ID:()=>u,yQ:()=>a});var i=n(2668),r=n(76109),o=n(21330);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,r.isNumber)(t)||null==t||"-"===t||(t=+(0,i.sG)(t)),null==t||""===t?NaN:Number(t))}(0,r.createHashMap)({number:function(t){return parseFloat(t)},time:function(t){return+(0,i.sG)(t)},trim:function(t){return(0,r.isString)(t)?(0,r.trim)(t):t}});var s={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}};(function(t,e){(0,r.isNumber)(e)||(0,o._y)(""),this._opFn=s[t],this._rvalFloat=(0,i.FK)(e)}).prototype.evaluate=function(t){return(0,r.isNumber)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,i.FK)(t),this._rvalFloat)};var u=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,r.isNumber)(t)?t:(0,i.FK)(t),o=(0,r.isNumber)(e)?e:(0,i.FK)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var u=(0,r.isString)(t),c=(0,r.isString)(e);u&&(n=c?t:0),c&&(o=u?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}();(function(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.FK)(e)}).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.FK)(t)===this._rvalFloat)}return this._isEQ?e:!e}},54847:function(t,e,n){n.d(e,{T:()=>u,y:()=>a});var i=n(76109),r=n(6e4),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var n={},a=n.encode={},u=(0,i.createHashMap)(),c=[],l=[],h={};(0,i.each)(t.dimensions,function(e){var n=t.getDimensionInfo(e),i=n.coordDim;if(i){var o,d=n.coordDimIndex;s(a,i)[d]=e,n.isExtraCoord||(u.set(i,1),"ordinal"!==(o=n.type)&&"time"!==o&&(c[0]=e),s(h,i)[d]=t.getDimensionIndex(n.name)),n.defaultTooltip&&l.push(e)}r.f7.each(function(t,e){var i=s(a,e),r=n.otherDims[e];null!=r&&!1!==r&&(i[r]=n.name)})});var d=[],p={};u.each(function(t,e){var n=a[e];p[e]=n[0],d=d.concat(n)}),n.dataDimsOnCoord=d,n.dataDimIndicesOnCoord=(0,i.map)(d,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=p;var f=a.label;f&&f.length&&(c=f.slice());var m=a.tooltip;return m&&m.length?l=m.slice():l.length||(l=c.slice()),a.defaultedLabel=c,a.defaultedTooltip=l,n.userOutput=new o(h,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"}},78090:function(t,e,n){n.d(e,{Dq:()=>a,JT:()=>h,Wd:()=>l,md:()=>u,pY:()=>c,u7:()=>d});var i=n(84861),r=n(76109),o=n(6e4),a={Must:1,Might:2,Not:3},s=(0,i.Yf)();function u(t){s(t).datasetMap=(0,r.createHashMap)()}function c(t,e,n){var i,o,a={},u=l(e);if(!u||!t)return a;var c=[],h=[],d=s(e.ecModel).datasetMap,p=u.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,r.each)(t,function(e,n){var s=(0,r.isObject)(e)?e:t[n]={name:e};"ordinal"===s.type&&null==i&&(i=n,o=g(s)),a[s.name]=[]});var f=d.get(p)||d.set(p,{categoryWayDim:o,valueWayDim:0});function m(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function g(t){var e=t.dimsDef;return e?e.length:1}return(0,r.each)(t,function(t,e){var n=t.name,r=g(t);if(null==i){var o=f.valueWayDim;m(a[n],o,r),m(h,o,r),f.valueWayDim+=r}else if(i===e)m(a[n],0,r),m(c,0,r);else{var o=f.categoryWayDim;m(a[n],o,r),m(h,o,r),f.categoryWayDim+=r}}),c.length&&(a.itemName=c),h.length&&(a.seriesName=h),a}function l(t){if(!t.get("data",!0))return(0,i.HZ)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i.C6).models[0]}function h(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,i.HZ)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i.C6).models:[]}function d(t,e){return function(t,e,n,s,u,c){var l,h,d;if((0,r.isTypedArray)(t))return a.Not;if(s){var p=s[c];(0,r.isObject)(p)?(h=p.name,d=p.type):(0,r.isString)(p)&&(h=p)}if(null!=d)return"ordinal"===d?a.Must:a.Not;if(e===o.XD)if(n===o.Wc){for(var f=t[c],m=0;m<(f||[]).length&&m<5;m++)if(null!=(l=y(f[u+m])))return l}else for(var m=0;m<t.length&&m<5;m++){var g=t[u+m];if(g&&null!=(l=y(g[c])))return l}else if(e===o.qb){if(!h)return a.Not;for(var m=0;m<t.length&&m<5;m++){var v=t[m];if(v&&null!=(l=y(v[h])))return l}}else if(e===o.hL){if(!h)return a.Not;var f=t[h];if(!f||(0,r.isTypedArray)(f))return a.Not;for(var m=0;m<f.length&&m<5;m++)if(null!=(l=y(f[m])))return l}else if(e===o.cy)for(var m=0;m<t.length&&m<5;m++){var v=t[m],_=(0,i.C4)(v);if(!(0,r.isArray)(_))return a.Not;if(null!=(l=y(_[c])))return l}function y(t){var e=(0,r.isString)(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}},8770:function(t,e,n){n.d(e,{U:()=>l});var i=n(76109),r=n(5908),o=n(6e4),a=n(78090),s=n(29446),u=n(35065),c=n(83996),l=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(h(n)){var u=void 0,c=void 0,l=void 0;if(s){var d=a[0];d.prepareSource(),u=(l=d.getSource()).data,c=l.sourceFormat,e=[d._getVersionSign()]}else u=n.get("data",!0),c=(0,i.isTypedArray)(u)?o.J5:o.cy,e=[];var p=this._getSourceMetaRawOption()||{},f=l&&l.metaRawOption||{},m=(0,i.retrieve2)(p.seriesLayoutBy,f.seriesLayoutBy)||null,g=(0,i.retrieve2)(p.sourceHeader,f.sourceHeader),v=(0,i.retrieve2)(p.dimensions,f.dimensions);t=m!==f.seriesLayoutBy||!!g!=!!f.sourceHeader||v?[(0,r._P)(u,{seriesLayoutBy:m,sourceHeader:g,dimensions:v},c)]:[]}else if(s){var _=this._applyTransform(a);t=_.sourceList,e=_.upstreamSignList}else{var y=n.get("source",!0);t=[(0,r._P)(y,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);null!=a&&1!==t.length&&d("");var u=[],c=[];return(0,i.each)(t,function(t){t.prepareSource();var e=t.getSource(a||0);null==a||e||d(""),u.push(e),c.push(t._getVersionSign())}),o?e=(0,s.vK)(o,u,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,r.ML)(u[0])]),{sourceList:e,upstreamSignList:c}},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=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];h(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new u.ZP).initData(new c.Pl(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!h(t))return(0,i.map)((0,a.JT)(t),function(t){return t.getSourceManager()});var e=(0,a.Wd)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;return h(i)?(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function h(t){return"series"===t.mainType}function d(t){throw Error(t)}},29446:function(t,e,n){n.d(e,{DA:()=>g,vK:()=>v});var i=n(6e4),r=n(84861),o=n(76109),a=n(83996),s=n(58847),u=n(21330),c=n(5908),l=function(){function t(){}return t.prototype.getRawData=function(){throw Error("not supported")},t.prototype.getRawDataItem=function(t){throw Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.yQ)(t,e)},t}();function h(t){return _(t.sourceFormat)||(0,u._y)(""),t.data}function d(t){var e=t.sourceFormat,n=t.data;if(_(e)||(0,u._y)(""),e===i.XD){for(var r=[],a=0,s=n.length;a<s;a++)r.push(n[a].slice());return r}if(e===i.qb){for(var r=[],a=0,s=n.length;a<s;a++)r.push((0,o.extend)({},n[a]));return r}}function p(t,e,n){if(null!=n){if((0,o.isNumber)(n)||!isNaN(n)&&!(0,o.hasOwn)(e,n))return t[n];else if((0,o.hasOwn)(e,n))return e[n]}}function f(t){return(0,o.clone)(t)}var m=(0,o.createHashMap)();function g(t){var e=(t=(0,o.clone)(t)).type;e||(0,u._y)("");var n=e.split(":");2!==n.length&&(0,u._y)("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,m.set(e,t)}function v(t,e,n){var s=(0,r.kF)(t),g=s.length;g||(0,u._y)("");for(var v=0;v<g;v++)e=function(t,e,n,s){e.length||(0,u._y)(""),(0,o.isObject)(t)||(0,u._y)("");var g=t.type,v=m.get(g);v||(0,u._y)("");var y=(0,o.map)(e,function(t){return function(t,e){var n=new l,r=t.data,s=n.sourceFormat=t.sourceFormat,c=t.startIndex;t.seriesLayoutBy!==i.fY&&(0,u._y)("");var m=[],g={},v=t.dimensionsDefine;if(v)(0,o.each)(v,function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};m.push(i),null!=n&&((0,o.hasOwn)(g,n)&&(0,u._y)(""),g[n]=i)});else for(var _=0;_<t.dimensionsDetectedCount||0;_++)m.push({index:_});var y=(0,a._j)(s,i.fY);e.__isBuiltIn&&(n.getRawDataItem=function(t){return y(r,c,m,t)},n.getRawData=(0,o.bind)(h,null,t)),n.cloneRawData=(0,o.bind)(d,null,t);var x=(0,a.a)(s,i.fY);n.count=(0,o.bind)(x,null,r,c,m);var M=(0,a.tB)(s);n.retrieveValue=function(t,e){return D(y(r,c,m,t),e)};var D=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=m[e];if(n)return M(t,e,n.name)}};return n.getDimensionInfo=(0,o.bind)(p,null,m,g),n.cloneAllDimensionInfo=(0,o.bind)(f,null,m),n}(t,v)}),x=(0,r.kF)(v.transform({upstream:y[0],upstreamList:y,config:(0,o.clone)(t.config)}));return(0,o.map)(x,function(t,n){(0,o.isObject)(t)||(0,u._y)(""),t.data||(0,u._y)(""),_((0,c.Kp)(t.data))||(0,u._y)("");var r,a=e[0];if(a&&0===n&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),r={seriesLayoutBy:i.fY,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else r={seriesLayoutBy:i.fY,sourceHeader:0,dimensions:t.dimensions};return(0,c._P)(t.data,r,null)})}(s[v],e,0,0),v!==g-1&&(e.length=Math.max(e.length,1));return e}function _(t){return t===i.XD||t===i.qb}},56010:function(t,e,n){n.d(e,{Br:()=>c.Br,g2:()=>F.g2,Q:()=>a,eU:()=>c.eU,Hn:()=>w.Z,zl:()=>c.zl,tF:()=>l.Z,sq:()=>c.sq,RS:()=>c.RS,Nu:()=>Q,HO:()=>c.HO,xr:()=>v,S1:()=>c.S1,Og:()=>c.Og,pI:()=>g,D5:()=>u,Ir:()=>h.Z,FU:()=>c.FU,ds:()=>c.ds,aV:()=>f.Z,JE:()=>c.JE,i8:()=>c.i8,B9:()=>c.B9,rp:()=>c.rp,_y:()=>i,gf:()=>_,RD:()=>tS.Z,XV:()=>o,I2:()=>c.I2,Sp:()=>tb,zP:()=>c.zP,OB:()=>tw.Z,qR:()=>c.qR,D$:()=>Z.D,Zr:()=>tk,WU:()=>s,x_:()=>m,rV:()=>c.OB,P2:()=>x.P2,TA:()=>p.Z,tv:()=>tT,yn:()=>c.yn,aW:()=>c.aW,z$:()=>tC.RV,Zy:()=>tL,wL:()=>c.wL,Rx:()=>r,pQ:()=>Q,Pu:()=>c.Pu,YK:()=>c.YK,$j:()=>c.$j,wJ:()=>d.Z,je:()=>c.je,jQ:()=>c.jQ,Hr:()=>c.Hr,$_:()=>y,Ok:()=>c.Ok});var i={};n.r(i),n.d(i,{createDimensions:()=>k.q,createList:()=>R,createScale:()=>O,createSymbol:()=>L.th,createTextStyle:()=>E,dataStack:()=>N,enableHoverEmphasis:()=>A.vF,getECData:()=>T.A,getLayoutRect:()=>S.ME,mixinAxisModelCommonMethods:()=>P});var r={};n.r(r),n.d(r,{MAX_SAFE_INTEGER:()=>$.YM,asc:()=>$.dt,getPercentWithPrecision:()=>$.eJ,getPixelPrecision:()=>$.M9,getPrecision:()=>$.p8,getPrecisionSafe:()=>$.ZB,isNumeric:()=>$.kE,isRadianAroundZero:()=>$.mW,linearMap:()=>$.NU,nice:()=>$.kx,numericToNumber:()=>$.FK,parseDate:()=>$.sG,quantile:()=>$.VR,quantity:()=>$.Xd,quantityExponent:()=>$.xW,reformIntervals:()=>$.nR,remRadian:()=>$.wW,round:()=>$.NM});var o={};n.r(o),n.d(o,{format:()=>tt.WU,parse:()=>$.sG});var a={};n.r(a),n.d(a,{Arc:()=>tm.Z,BezierCurve:()=>tf.Z,BoundingRect:()=>V.Z,Circle:()=>ta.Z,CompoundPath:()=>tv.Z,Ellipse:()=>ts.Z,Group:()=>ti.Z,Image:()=>tr.ZP,IncrementalDisplayable:()=>tg.Z,Line:()=>tp.Z,LinearGradient:()=>t_.Z,Polygon:()=>tl.Z,Polyline:()=>th.Z,RadialGradient:()=>ty.Z,Rect:()=>td.Z,Ring:()=>tc.Z,Sector:()=>tu.C,Text:()=>to.ZP,clipPointsByRect:()=>te.clipPointsByRect,clipRectByRect:()=>te.clipRectByRect,createIcon:()=>te.createIcon,extendPath:()=>te.extendPath,extendShape:()=>te.extendShape,getShapeClass:()=>te.getShapeClass,getTransform:()=>te.getTransform,initProps:()=>tn.KZ,makeImage:()=>te.makeImage,makePath:()=>te.makePath,mergePath:()=>te.mergePath,registerShape:()=>te.registerShape,resizePath:()=>te.resizePath,updateProps:()=>tn.D});var s={};n.r(s),n.d(s,{addCommas:()=>tx.OD,capitalFirst:()=>tx.ew,encodeHTML:()=>tM.F1,formatTime:()=>tx.mr,formatTpl:()=>tx.kF,getTextRect:()=>tI.Y,getTooltipMarker:()=>tx.A0,normalizeCssArray:()=>tx.MY,toCamelCase:()=>tx.zW,truncateText:()=>tD.aF});var u={};n.r(u),n.d(u,{bind:()=>_.bind,clone:()=>_.clone,curry:()=>_.curry,defaults:()=>_.defaults,each:()=>_.each,extend:()=>_.extend,filter:()=>_.filter,indexOf:()=>_.indexOf,inherits:()=>_.inherits,isArray:()=>_.isArray,isFunction:()=>_.isFunction,isObject:()=>_.isObject,isString:()=>_.isString,map:()=>_.map,merge:()=>_.merge,reduce:()=>_.reduce});var c=n(30473),l=n(98650),h=n(80224),d=n(16003),p=n(42605),f=n(39116),m=n(50221),g=n(59296),v=n(19894),_=n(76109),y=n(41420),x=n(91593),M=n(6553),D=n(51296),I=n(57440),w=n(72673),S=n(80062),C=n(60326),T=n(40312),b=n(27932),k=n(72231),L=n(85924),A=n(4418);function R(t){return(0,M.Z)(null,t)}var N={isDimensionStacked:C.M,enableDataStack:C.BM,getStackedDimension:C.IR};function O(t,e){var n=e;e instanceof w.Z||(n=new w.Z(e));var i=D.aG(n);return i.setExtent(t[0],t[1]),D.Jk(i,n),i}function P(t){_.mixin(t,I.W)}function E(t,e){return e=e||{},(0,b.Lr)(t,null,null,"normal"!==e.state)}var Z=n(65334),F=n(28988),B=n(377),V=n(94757),z=n(67472),H=[];function G(t,e){for(var n=0;n<t.length;n++)v.applyTransform(t[n],t[n],e)}function U(t,e,n,i){for(var r=0;r<t.length;r++){var o=t[r];i&&(o=i.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(v.min(e,e,o),v.max(n,n,o))}}var W=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),J=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},K=function(t){this.type="linestring",this.points=t},Y=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return(0,B.__extends)(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;i<e.length;i++){var r=e[i],o=r.exterior,a=o&&o.length;a>n&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s<r;s++){var u=t[s][0],c=t[s][1],l=o*c-u*a;e+=l,n+=(o+u)*l,i+=(a+c)*l,o=u,a=c}return e?[n/e/3,i/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0],r=this.geometries;return(0,_.each)(r,function(e){"polygon"===e.type?U(e.exterior,n,i,t):(0,_.each)(e.points,function(e){U(e,n,i,t)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new V.Z(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++){var o=n[i];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(z.X(a,t[0],t[1])){for(var u=0;u<(s?s.length:0);u++)if(z.X(s[u],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=r.width/r.height;n?i||(i=n/o):n=o*i;for(var a=new V.Z(t,e,n,i),s=r.calculateTransform(a),u=this.geometries,c=0;c<u.length;c++){var l=u[c];"polygon"===l.type?(G(l.exterior,s),(0,_.each)(l.interiors,function(t){G(t,s)})):(0,_.each)(l.points,function(t){G(t,s)})}(r=this._rect).copy(a),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(W);function j(t,e){var n=W.call(this,t)||this;return n.type="geoSVG",n._elOnlyForCalculate=e,n}function q(t,e,n){for(var i=0;i<t.length;i++)t[i]=X(t[i],e[i],n)}function X(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,u=t.charCodeAt(a+1)-64;u=u>>1^-(1&u),s=(s>>1^-(1&s))+r,u+=o,r=s,o=u,i.push([s/n,u/n])}return i}function Q(t,e){return t=function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);var n=t.features;return _.each(n,function(t){var n=t.geometry,i=n.encodeOffsets,r=n.coordinates;if(i)switch(n.type){case"LineString":n.coordinates=X(r,i,e);break;case"Polygon":case"MultiLineString":q(r,i,e);break;case"MultiPolygon":_.each(r,function(t,n){return q(t,i[n],e)})}}),t.UTF8Encoding=!1,t}(t),_.map(_.filter(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new J(o[0],o.slice(1)));break;case"MultiPolygon":_.each(i.coordinates,function(t){t[0]&&r.push(new J(t[0],t.slice(1)))});break;case"LineString":r.push(new K([i.coordinates]));break;case"MultiLineString":r.push(new K(i.coordinates))}var a=new Y(n[e||"name"],r,n.cp);return a.properties=n,a})}(0,B.__extends)(j,W),j.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=g.identity(H),r=t;r&&!r.isGeoSVGGraphicRoot;)g.mul(i,r.getLocalTransform(),i),r=r.parent;return g.invert(i,i),v.applyTransform(n,n,i),n};var $=n(2668),tt=n(279),te=n(79629),tn=n(58341),ti=n(26951),tr=n(10781),to=n(71839),ta=n(497),ts=n(66917),tu=n(27959),tc=n(45542),tl=n(5227),th=n(16127),td=n(1946),tp=n(67747),tf=n(49015),tm=n(26449),tg=n(2191),tv=n(61706),t_=n(16217),ty=n(7276),tx=n(32124),tM=n(26199),tD=n(21496),tI=n(69395),tw=n(91254),tS=n(55975),tC=n(84583);function tT(t){var e=l.Z.extend(t);return l.Z.registerClass(e),e}function tb(t){var e=h.Z.extend(t);return h.Z.registerClass(e),e}function tk(t){var e=d.Z.extend(t);return d.Z.registerClass(e),e}function tL(t){var e=p.Z.extend(t);return p.Z.registerClass(e),e}var tA=n(38778);(0,Z.D)(tA.T)},65334:function(t,e,n){n.d(e,{D:()=>function t(e){if((0,u.isArray)(e))return void(0,u.each)(e,function(e){t(e)});(0,u.indexOf)(h,e)>=0||(h.push(e),(0,u.isFunction)(e)&&(e={install:e}),e.install(d))}});var i=n(30473),r=n(80224),o=n(42605),a=n(98650),s=n(16003),u=n(76109),c=n(85910),l=n(50221),h=[],d={registerPreprocessor:i.ds,registerProcessor:i.Pu,registerPostInit:i.sq,registerPostUpdate:i.Br,registerUpdateLifecycle:i.YK,registerAction:i.zl,registerCoordinateSystem:i.RS,registerLayout:i.qR,registerVisual:i.Og,registerTransform:i.OB,registerLoading:i.yn,registerMap:i.je,registerImpl:c.M,PRIORITY:i.Hr,ComponentModel:a.Z,ComponentView:r.Z,SeriesModel:s.Z,ChartView:o.Z,registerComponentModel:function(t){a.Z.registerClass(t)},registerComponentView:function(t){r.Z.registerClass(t)},registerSeriesModel:function(t){s.Z.registerClass(t)},registerChartView:function(t){o.Z.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.Z.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,l.registerPainter)(t,e)}}}}]);
|