/*! * build: Vue Admin Plus * copyright: vue-admin-beautiful.com * time: 2025-08-28 17:13:40 */ "use strict";(self["webpackChunkadmin_plus"]=self["webpackChunkadmin_plus"]||[]).push([[794],{3486:function(t,e,n){n.d(e,{m:function(){return u}});var i=n(24326),o=n(74562),r=n(99031),a=n(67071),s=Math.log;function u(t,e,n){var u=o.A.prototype,l=u.getTicks.call(n),c=u.getTicks.call(n,!0),p=l.length-1,h=u.getInterval.call(n),d=(0,r.Rx)(t,e),f=d.extent,g=d.fixMin,v=d.fixMax;if("log"===t.type){var y=s(t.base);f=[s(f[0])/y,s(f[1])/y]}t.setExtent(f[0],f[1]),t.calcNiceExtent({splitNumber:p,fixMin:g,fixMax:v});var m=u.getExtent.call(t);g&&(f[0]=m[0]),v&&(f[1]=m[1]);var _=u.getInterval.call(t),x=f[0],A=f[1];if(g&&v)_=(A-x)/p;else if(g){A=f[0]+_*p;while(Af[0]&&isFinite(x)&&isFinite(f[0]))_=(0,a.kH)(_),x=f[1]-_*p}else{var T=t.getTicks().length-1;T>p&&(_=(0,a.kH)(_));var M=_*p;A=Math.ceil(f[1]/_)*_,x=(0,i.LI)(A-M),x<0&&f[0]>=0?(x=0,A=(0,i.LI)(M)):A>0&&f[1]<=0&&(A=0,x=-(0,i.LI)(M))}var w=(l[0].value-c[0].value)/h,b=(l[p].value-c[p].value)/h;u.setExtent.call(t,x+_*w,A+_*b),u.setInterval.call(t,_),(w||b)&&u.setNiceExtent.call(t,x+_,A-_)}},5196:function(t,e,n){var i=n(15215),o=n(98026),r=n(15915),a=n(34253),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.init=function(e,n,i){var o=(0,a.vs)(e);t.prototype.init.apply(this,arguments),u(e,o)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),u(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(r.A);function u(t,e){var n,i=t.cellSize;n=o.cy(i)?i:t.cellSize=[i,i],1===n.length&&(n[1]=n[0]);var r=o.Tj([0,1],function(t){return(0,a.Qf)(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]});(0,a.YA)(t,e,{type:"box",ignoreSize:r})}e.A=s},12462:function(t,e,n){n.d(e,{L:function(){return i}});var i=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},t.prototype.getCoordSysModel=function(){},t}()},13286:function(t,e,n){var i=n(98026),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)"]}}},r=i.h1({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},o),a=i.h1({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),s=i.h1({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},a),u=i.NT({logBase:10},a);e.A={category:r,value:a,time:s,log:u}},13976:function(t,e,n){n.d(e,{m:function(){return o},v:function(){return r}});var i={};function o(t,e){i[t]=e}function r(t){return i[t]}},17838:function(t,e,n){var i=n(15215),o=n(15915),r=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.findAxisModel=function(t){var e,n=this.ecModel;return n.eachComponent(t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(o.A);e.A=r},23509:function(t,e,n){var i=n(98026),o=n(34253),r=n(24326),a=864e5,s=function(){function t(e,n,i){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){t=r._U(t);var e=t.getFullYear(),n=t.getMonth()+1,i=n<10?"0"+n:""+n,o=t.getDate(),a=o<10?"0"+o:""+o,s=t.getDay();return s=Math.abs((s+7-this.getFirstDayOfWeek())%7),{y:e+"",m:i,d:a,day:s,time:t.getTime(),formatedDate:e+"-"+i+"-"+a,date:t}},t.prototype.getNextNDay=function(t,e){return e=e||0,0===e||(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e)),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,r=["width","height"],a=this._model.getCellSize().slice(),s=this._model.getBoxLayoutParams(),u="horizontal"===this._orient?[n,7]:[7,n];i.__([0,1],function(t){p(a,t)&&(s[r[t]]=a[t]*u[t])});var l={width:e.getWidth(),height:e.getHeight()},c=this._rect=o.dV(s,l);function p(t,e){return null!=t[e]&&"auto"!==t[e]}i.__([0,1],function(t){p(a,t)||(a[t]=c[r[t]]/u[t])}),this._sw=a[0],this._sh=a[1]},t.prototype.dataToPoint=function(t,e){i.cy(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),o=this._rangeInfo,r=n.formatedDate;if(e&&!(n.time>=o.start.time&&n.times.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/a)-Math.floor(n[0].time/a)+1,o=new Date(n[0].time),r=o.getDate(),s=n[1].date.getDate();o.setDate(r+i-1);var u=o.getDate();if(u!==s){var l=o.getTime()-n[1].time>0?1:-1;while((u=o.getDate())!==s&&(o.getTime()-n[1].time)*l>0)i-=l,o.setDate(u-l)}var c=Math.floor((i+n[0].day+6)/7),p=e?1-c:c-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:c,nthWeek:p,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var o=7*(t-1)-i.fweek+e,r=new Date(i.start.time);return r.setDate(+i.start.d+o),this.getDateInfo(r)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",function(o){var r=new t(o,e,n);i.push(r),o.coordinateSystem=r}),e.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])}),i},t.dimensions=["time","value"],t}();function u(t){var e=t.calendarModel,n=t.seriesModel,i=e?e.coordinateSystem:n?n.coordinateSystem:null;return i}e.A=s},24130:function(t,e,n){var i=n(15215),o=n(98026),r=n(15915),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&o.h1(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){o.__(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=o.pb(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this);o.__(n,function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)})},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(r.A);e.A=a},26567:function(t,e,n){n.d(e,{A:function(){return h}});var i=n(15215),o=n(33423),r=function(t){function e(e,n,i){var o=t.call(this,e,n,i)||this;return o.type="value",o.angle=0,o.name="",o}return(0,i.C6)(e,t),e}(o.A),a=r,s=n(74562),u=n(24326),l=n(98026),c=n(3486),p=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=(0,l.Tj)(t.getIndicatorModels(),function(t,e){var n="indicator_"+e,i=new a(n,new s.A);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i},this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e],i=n.angle,o=this.cx+t*Math.cos(i),r=this.cy-t*Math.sin(i);return[o,r]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var o,r=Math.atan2(-n,e),a=1/0,s=-1,u=0;u=n&&r<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries(function(n){if(t.contains(n,e)){var i=n.getData();f(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),a.af(e.scale,e.model)},this)}},this)},t.prototype.resize=function(t,e){this._rect=r.dV(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],o=["width","height"],r=e.get("layout"),a="horizontal"===r?0:1,s=n[o[a]],u=[0,s],l=this.dimensions.length,c=T(e.get("axisExpandWidth"),u),p=T(e.get("axisExpandCount")||0,[0,l]),h=e.get("axisExpandable")&&l>3&&l>p&&p>1&&c>0&&s>0,d=e.get("axisExpandWindow");if(d)t=T(d[1]-d[0],u),d[1]=d[0]+t;else{t=T(c*(p-1),u);var f=e.get("axisExpandCenter")||y(l/2);d=[c*f-t/2],d[1]=d[0]+t}var g=(s-t)/(l-p);g<3&&(g=0);var v=[y(_(d[0]/c,1))+1,m(_(d[1]/c,1))-1],x=g/c*d[0];return{layout:r,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[o[1-a]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:g,axisExpandWindow:d,axisCount:l,winInnerIndices:v,axisExpandWindow0Pos:x}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each(function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])}),f(n,function(e,n){var a=(i.axisExpandable?w:M)(n,i),s={horizontal:{x:a.position,y:i.axisLength},vertical:{x:0,y:a.position}},u={horizontal:x/2,vertical:0},l=[s[r].x+t.x,s[r].y+t.y],c=u[r],p=o.vt();o.e$(p,p,c),o.Tl(p,p,l),this._axesLayout[e]={position:l,rotation:c,transform:p,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,o){null==n&&(n=0),null==o&&(o=t.count());var r=this._axesMap,a=this.dimensions,s=[],u=[];i.__(a,function(e){s.push(t.mapDimension(e)),u.push(r.get(e).model)});for(var l=this.hasAxisBrushed(),c=n;co*(1-c[0])?(u="jump",a=s-o*(1-c[2])):(a=s-o*c[1])>=0&&(a=s-o*(1-c[1]))<=0&&(a=0),a*=e.axisExpandWidth/l,a?(0,d.A)(a,i,r,"all"):u="none";else{var h=i[1]-i[0],f=r[1]*s/h;i=[v(0,f-h/2)],i[1]=g(r[1],i[0]+h),i[0]=i[1]-h}return{axisExpandWindow:i,behavior:u}},t}();function T(t,e){return g(v(t,e[0]),e[1])}function M(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function w(t,e){var n,i,o=e.layoutLength,r=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,u=e.winInnerIndices,l=s,c=!1;return t0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function c(t){var e=t.getLabelModel().get("customValues");if(e){var n=(0,s.ry)(t),o=t.scale.getExtent(),r=l(t,e),a=i.pb(r,function(t){return t>=o[0]&&t<=o[1]});return{labels:i.Tj(a,function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}})}}return"category"===t.type?h(t):g(t)}function p(t,e){var n=t.getTickModel().get("customValues");if(n){var o=t.scale.getExtent(),r=l(t,n);return{ticks:i.pb(r,function(t){return t>=o[0]&&t<=o[1]})}}return"category"===t.type?f(t,e):{ticks:i.Tj(t.scale.getTicks(),function(t){return t.value})}}function h(t){var e=t.getLabelModel(),n=d(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function d(t,e){var n,o,r=v(t,"labels"),a=(0,s.j2)(e),u=y(r,a);return u||(i.Tn(a)?n=M(t,a):(o="auto"===a?_(t):a,n=T(t,o)),m(r,a,{labels:n,labelCategoryInterval:o}))}function f(t,e){var n,o,r=v(t,"ticks"),a=(0,s.j2)(e),u=y(r,a);if(u)return u;if(e.get("show")&&!t.scale.isBlank()||(n=[]),i.Tn(a))n=M(t,a,!0);else if("auto"===a){var l=d(t,t.getLabelModel());o=l.labelCategoryInterval,n=i.Tj(l.labels,function(t){return t.tickValue})}else o=a,n=T(t,o,!0);return m(r,a,{ticks:n,tickCategoryInterval:o})}function g(t){var e=t.scale.getTicks(),n=(0,s.ry)(t);return{labels:i.Tj(e,function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}})}}function v(t,e){return u(t)[e]||(u(t)[e]=[])}function y(t,e){for(var n=0;n40&&(c=Math.max(1,Math.floor(l/40)));for(var p=a[0],h=t.dataToCoord(p+1)-t.dataToCoord(p),d=Math.abs(h*Math.cos(i)),f=Math.abs(h*Math.sin(i)),g=0,v=0;p<=a[1];p+=c){var y=0,m=0,_=r.NO(n({value:p}),e.font,"center","top");y=1.3*_.width,m=1.3*_.height,g=Math.max(g,y,7),v=Math.max(v,m,7)}var x=g/d,T=v/f;isNaN(x)&&(x=1/0),isNaN(T)&&(T=1/0);var M=Math.max(0,Math.floor(Math.min(x,T))),w=u(t.model),b=t.getExtent(),C=w.lastAutoInterval,S=w.lastTickCount;return null!=C&&null!=S&&Math.abs(C-M)<=1&&Math.abs(S-l)<=1&&C>M&&w.axisExtent0===b[0]&&w.axisExtent1===b[1]?M=C:(w.lastTickCount=l,w.lastAutoInterval=M,w.axisExtent0=b[0],w.axisExtent1=b[1]),M}function A(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function T(t,e,n){var i=(0,s.ry)(t),o=t.scale,r=o.getExtent(),a=t.getLabelModel(),u=[],l=Math.max((e||0)+1,1),c=r[0],p=o.count();0!==c&&l>1&&p/l>2&&(c=Math.round(Math.ceil(c/l)*l));var h=(0,s.PJ)(t),d=a.get("showMinLabel")||h,f=a.get("showMaxLabel")||h;d&&c!==r[0]&&v(r[0]);for(var g=c;g<=r[1];g+=l)v(g);function v(t){var e={value:t};u.push(n?t:{formattedLabel:i(e),rawLabel:o.getLabel(e),tickValue:t})}return f&&g-l!==r[1]&&v(r[1]),u}function M(t,e,n){var o=t.scale,r=(0,s.ry)(t),a=[];return i.__(o.getTicks(),function(t){var i=o.getLabel(t),s=t.value;e(t.value,i)&&a.push(n?s:{formattedLabel:r(t),rawLabel:i,tickValue:s})}),a}var w=[0,1],b=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,o.hb)(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&&(n=n.slice(),C(n,i.count())),(0,o.Cb)(t,w,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),C(n,i.count()));var r=(0,o.Cb)(t,n,w,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=p(this,e),o=n.ticks,r=(0,i.Tj)(o,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this),a=e.get("alignWithLabel");return S(this,r,a,t.clamp),r},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),o=(0,i.Tj)(n,function(t){return(0,i.Tj)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this);return o},t.prototype.getViewLabels=function(){return c(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?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return x(this)},t}();function C(t,e){var n=t[1]-t[0],i=e,o=n/i/2;t[0]+=o,t[1]-=o}function S(t,e,n,r){var a=e.length;if(t.onBand&&!n&&a){var s,u,l=t.getExtent();if(1===a)e[0].coord=l[0],s=e[1]={coord:l[1],tickValue:e[0].tickValue};else{var c=e[a-1].tickValue-e[0].tickValue,p=(e[a-1].coord-e[0].coord)/c;(0,i.__)(e,function(t){t.coord-=p/2});var h=t.scale.getExtent();u=1+h[1]-e[a-1].tickValue,s={coord:e[a-1].coord+p*u,tickValue:h[1]+1},e.push(s)}var d=l[0]>l[1];f(e[0].coord,l[0])&&(r?e[0].coord=l[0]:e.shift()),r&&f(l[0],e[0].coord)&&e.unshift({coord:l[0]}),f(l[1],s.coord)&&(r?s.coord=l[1]:e.pop()),r&&f(s.coord,l[1])&&e.push({coord:l[1]})}function f(t,e){return t=(0,o.LI)(t),e=(0,o.LI)(e),d?t>e:te[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(v.A),m=y,_=n(48170),x=n(96878),A=n(67071),T=n(3486),M=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 o(t){var e,n=(0,i.HP)(t),o=n.length;if(o){for(var a=[],s=o-1;s>=0;s--){var u=+n[s],l=t[u],c=l.model,p=l.scale;(0,A.rf)(p)&&c.get("alignTicks")&&null==c.get("interval")?a.push(l):((0,r.af)(p,c),(0,A.rf)(p)&&(e=l))}a.length&&(e||(e=a.pop(),(0,r.af)(e.scale,e.model)),(0,i.__)(a,function(t){(0,T.m)(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),o(n.x),o(n.y);var a={};(0,i.__)(n.x,function(t){b(n,"y",t,a)}),(0,i.__)(n.y,function(t){b(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,o.dV)(a,{width:e.getWidth(),height:e.getHeight()});this._rect=u;var l=this._axesList;function c(){(0,i.__)(l,function(t){var e=t.isHorizontal(),n=e?[0,u.width]:[0,u.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),S(t,e?u.x:u.y)})}c(),s&&((0,i.__)(l,function(t){if(!t.model.get(["axisLabel","inside"])){var e=(0,r.Og)(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)}}}),c()),(0,i.__)(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.Gv)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var o=0,r=this._coordsList;o0&&u>0&&!l&&(s=0),s<0&&u<0&&!c&&(u=0));var h=this._determinedMin,d=this._determinedMax;return null!=h&&(s=h,l=!0),null!=d&&(u=d,c=!0),{min:s,max:u,minFixed:l,maxFixed:c,isBlank:p}},t.prototype.modifyDataMinMax=function(t,e){this[s[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=a[t];this[n]=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 r(t,e,n),t.rawExtentInfo=i,i)}function l(t,e){return null==e?null:(0,i.Yp)(e)?NaN:t.parse(e)}},49431:function(t,e,n){n.d(e,{U:function(){return o}});var i=n(98026);function o(t){return new r(t)}var r=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,o=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!o&&(e=this._plan(this.context));var a,s=p(this._modBy),u=this._modDataCount||0,l=p(t&&t.modBy),c=t&&t.modDataCount||0;function p(t){return!(t>=1)&&(t=1),t}s===l&&u===c||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(o)),this._modBy=l,this._modDataCount=c;var h=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,f=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!o&&(a||d1&&i>0?s:a}};return r;function a(){return e=t?null:r-1?u:c}():c;function f(t,e){t=t.toUpperCase(),h[t]=new i.A(e),p[t]=e}function g(t){if((0,s.Kg)(t)){var e=p[t.toUpperCase()]||{};return t===u||t===l?(0,s.o8)(e):(0,s.h1)((0,s.o8)(e),(0,s.o8)(p[c]),!1)}return(0,s.h1)((0,s.o8)(t),(0,s.o8)(p[c]),!1)}function v(t){return h[t]}function y(){return h[c]}f(l,r.A),f(u,a.A)},56219:function(t,e,n){var i=n(15215),o=n(83509),r=n(45587),a=n(29308),s=n(92836),u=n(24326),l=o.NW,c=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new s.Ay,n._rawTransformable=new s.Ay,n.name=e,n}return(0,i.C6)(e,t),e.prototype.setBoundingRect=function(t,e,n,i){return this._rect=new a.A(t,e,n,i),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,i){this._transformTo(t,e,n,i),this._viewRect=new a.A(t,e,n,i)},e.prototype._transformTo=function(t,e,n,i){var o=this.getBoundingRect(),r=this._rawTransformable;r.transform=o.calculateTransform(new a.A(t,e,n,i));var s=r.parent;r.parent=null,r.decomposeTransform(),r.parent=s,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[(0,u.lo)(t[0],e.getWidth()),(0,u.lo)(t[1],e.getHeight())],this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect(),e=t.x+t.width/2,n=t.y+t.height/2;return[e,n]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=o.NW([],i,t),n=o.NW([],n,t),e.originX=i[0],e.originY=i[1],e.x=n[0]-i[0],e.y=n[1]-i[1],e.scaleX=e.scaleY=r,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),r.C(this.transform||(this.transform=[]),e.transform||r.vt()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],r.B8(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new s.Ay;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?l(n,t,i):o.C(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var i=p(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=p(e);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(s.Ay);function p(t){var e=t.seriesModel;return e?e.coordinateSystem:null}e.A=c},57483:function(t,e,n){n.d(e,{P:function(){return u}});var i=n(15215),o=n(98026),r=n(15915),a=n(12462),s=n(48170),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",s.US).models[0]},e.type="cartesian2dAxis",e}(r.A);o.co(u,a.L)},59458:function(t,e,n){n.d(e,{A:function(){return j}});var i=n(98026),o=n(69942),r=n(43870),a=n(10992),s=n(29308),u=n(2141),l=n(15215),c=n(83509),p=n(51183),h=n(45587),d=[];function f(t,e){for(var n=0;nn&&(t=o,n=a)}if(t)return v(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],o=[-1/0,-1/0],r=this.geometries;return(0,i.__)(r,function(e){"polygon"===e.type?g(e.exterior,n,o,t):(0,i.__)(e.points,function(e){g(e,n,o,t)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(o[0])&&isFinite(o[1])||(n[0]=n[1]=o[0]=o[1]=0),e=new s.A(n[0],n[1],o[0]-n[0],o[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,o=n.length;i>1^-(1&s),u=u>>1^-(1&u),s+=o,u+=r,o=s,r=u,i.push([s/n,u/n])}return i}function D(t,e){return t=C(t),i.Tj(i.pb(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var n=t.properties,o=t.geometry,r=[];switch(o.type){case"Polygon":var a=o.coordinates;r.push(new m(a[0],a.slice(1)));break;case"MultiPolygon":i.__(o.coordinates,function(t){t[0]&&r.push(new m(t[0],t.slice(1)))});break;case"LineString":r.push(new _([o.coordinates]));break;case"MultiLineString":r.push(new _(o.coordinates))}var s=new x(n[e||"name"],r,n.cp);return s.properties=n,s})}for(var I=[126,25],k="南海诸岛",R=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],P=0;P=0;n--)s.Y6(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,o=e.length;ir[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:function(i){var o=e.dataToRadius(i[0]),r=n.dataToAngle(i[1]),a=t.coordToPoint([o,r]);return a.push(o,r*Math.PI/180),a},size:i.oI(o,t)}}}},70116:function(t,e,n){n.d(e,{A:function(){return A}});var i=n(98026),o=n(15215),r=n(29308),a=n(56219),s=n(59458),u=n(48170),l={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},c=["lng","lat"],p=function(t){function e(e,n,o){var r=t.call(this,e)||this;r.dimensions=c,r.type="geo",r._nameCoordMap=i.nt(),r.map=n;var a,u=o.projection,p=s.A.load(n,o.nameMap,o.nameProperty),h=s.A.getGeoResource(n),d=(r.resourceType=h?h.type:null,r.regions=p.regions),f=l[h.type];if(r._regionsMap=p.regionsMap,r.regions=p.regions,r.projection=u,u)for(var g=0;g1?(d.width=h,d.height=h/T):(d.height=h,d.width=h*T),d.y=p[1]-d.height/2,d.x=p[0]-d.width/2;else{var w=t.getBoxLayoutParams();w.aspect=T,d=f.dV(w,{width:x,height:A})}this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}function m(t,e){i.__(e.get("geoCoord"),function(e,n){t.addGeoCoord(n,e)})}var _=function(){function t(){this.dimensions=c}return t.prototype.create=function(t,e){var n=[];function o(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",function(t,r){var a=t.get("map"),s=new d(a+r,a,i.X$({nameMap:t.get("nameMap")},o(t)));s.zoomLimit=t.get("scaleLimit"),n.push(s),t.coordinateSystem=s,s.model=t,s.resize=y,s.resize(t,e)}),t.eachSeries(function(t){var e=t.get("coordinateSystem");if("geo"===e){var i=t.get("geoIndex")||0;t.coordinateSystem=n[i]}});var r={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}}),i.__(r,function(t,r){var a=i.Tj(t,function(t){return t.get("nameMap")}),s=new d(r,r,i.X$({nameMap:i.Um(a)},o(t[0])));s.zoomLimit=i.Je.apply(null,i.Tj(t,function(t){return t.get("scaleLimit")})),n.push(s),s.resize=y,s.resize(t[0],e),i.__(t,function(t){t.coordinateSystem=s,m(s,t)})}),n},t.prototype.getFilledRegions=function(t,e,n,o){for(var r=(t||[]).slice(),a=i.nt(),u=0;u0&&!f.min?f.min=0:null!=f.min&&f.min<0&&!f.max&&(f.max=0);var g=l;null!=f.color&&(g=o.NT({color:f.color},l));var v=o.h1(o.o8(f),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:u,name:f.text,showName:c,nameLocation:"end",nameGap:h,nameTextStyle:g,triggerEvent:d},!1);if(o.Kg(p)){var y=v.name;v.name=p.replace("{value}",null!=y?y:"")}else o.Tn(p)&&(v.name=p(v.name,v));var m=new a.A(v,null,this.ecModel);return o.co(m,s.L.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this._indicatorModels=f},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:o.h1({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:c(l.axisLabel,!1),axisTick:c(l.axisTick,!1),splitLine:c(l.splitLine,!0),splitArea:c(l.splitArea,!0),indicator:[]},e}(u.A);e.A=p},76953:function(t,e,n){n.d(e,{A:function(){return r}});var i=n(98026);function o(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,o=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-o)-n.dataToCoord(i+o))}function r(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.oI)(o,t)}}}},78308:function(t,e,n){n.d(e,{A:function(){return r}});var i=n(98026),o=n(48170);function r(t){a(t),s(t)}function a(t){if(!t.parallel){var e=!1;i.__(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}}function s(t){var e=o.qB(t.parallelAxis);i.__(e,function(e){if(i.Gv(e)){var n=e.parallelIndex||0,r=o.qB(t.parallel)[n];r&&r.parallelAxisDefault&&i.h1(e,r.parallelAxisDefault,!1)}})}},79798:function(t,e,n){n.d(e,{A:function(){return r}});var i=n(98026);function o(t,e){return e=e||[0,0],i.Tj([0,1],function(n){var i=e[n],o=t[n]/2,r=[],a=[];return r[n]=i-o,a[n]=i+o,r[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(r)[n]-this.dataToPoint(a)[n])},this)}function r(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.oI(o,t)}}}},84557:function(t,e,n){n.d(e,{A:function(){return r}});var i=n(98026);function o(t,e){return e=e||[0,0],i.Tj(["x","y"],function(n,i){var o=this.getAxis(n),r=e[i],a=t[i]/2;return"category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(r-a)-o.dataToCoord(r+a))},this)}function r(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.oI(o,t)}}}},85508:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(98026);function o(t,e){e=e||{};var n=t.coordinateSystem,o=t.axis,r={},a=o.position,s=o.orient,u=n.getRect(),l=[u.x,u.x+u.width,u.y,u.y+u.height],c={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===s?c.vertical[a]:l[0],"horizontal"===s?c.horizontal[a]:l[3]];var p={horizontal:0,vertical:1};r.rotation=Math.PI/2*p[s];var h={top:-1,bottom:1,right:1,left:-1};r.labelDirection=r.tickDirection=r.nameDirection=h[a],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),i.Je(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var d=e.rotate;return null==d&&(d=t.get(["axisLabel","rotate"])),r.labelRotation="top"===a?-d:d,r.z2=1,r}},86351:function(t,e,n){var i=n(15215),o=n(15915),r=n(12462),a=n(98026),s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(o.A);(0,a.co)(s,r.L.prototype),e.A=s},89737:function(t,e,n){var i=n(98026),o={},r=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];i.__(o,function(i,o){var r=i.create(t,e);n=n.concat(r||[])}),this._coordinateSystems=n},t.prototype.update=function(t,e){i.__(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){o[t]=e},t.get=function(t){return o[t]},t}();e.A=r},93074:function(t,e,n){var i=n(15215),o=n(98026),r=n(48170),a=n(15915),s=n(5202),u=n(70116),l=n(59458),c=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.prototype.init=function(t,e,n){var i=l.A.getGeoResource(t.map);if(i&&"geoJSON"===i.type){var o=t.itemStyle=t.itemStyle||{};"color"in o||(o.color="#eee")}this.mergeDefaultAndTheme(t,n),r.M5(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=u.A.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=o.TS(e.regions||[],function(e,i){var o=i.name;return o&&(e.set(o,new s.A(i,t,t.ecModel)),i.selected&&(n[o]=!0)),e},o.nt()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new s.A(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),i="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),r={name:t};return o.Tn(i)?(r.status=e,i(r)):o.Kg(i)?i.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,n=e.selectedMode;if(n){"multiple"!==n&&(e.selectedMap=null);var i=e.selectedMap||(e.selectedMap={});i[t]=!0}},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(a.A);e.A=c},93132:function(t,e,n){n.d(e,{A:function(){return y}});var i=n(15215),o=n(33423),r=function(t){function e(e,n,i,o,r){var a=t.call(this,e,n,i)||this;return a.type=o||"value",a.position=r||"bottom",a}return(0,i.C6)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(o.A),a=r,s=n(99031),u=n(34253),l=n(98026),c=["single"],p=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=c,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=this.dimension,o=new a(i,s.f$(t),[0,0],t.get("type"),t.get("position")),r="category"===o.type;o.onBand=r&&t.get("boundaryGap"),o.inverse=t.get("inverse"),o.orient=t.get("orient"),t.axis=o,o.model=t,o.coordinateSystem=this,this._axis=o},t.prototype.update=function(t,e){t.eachSeries(function(t){if(t.coordinateSystem===this){var e=t.getData();(0,l.__)(e.mapDimensionsAll(this.dimension),function(t){this._axis.scale.unionExtentFromData(e,t)},this),s.af(this._axis.scale,this._axis.model)}},this)},t.prototype.resize=function(t,e){this._rect=(0,u.dV)({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],o=e.inverse?1:0;e.setExtent(i[o],i[1-o]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),i=n[0]+n[1],o=t.isHorizontal();t.toGlobalCoord=o?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=o?function(t){return t-e}:function(t){return i-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis(),i=n.orient;return"horizontal"===i?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],o="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[o]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-o]=0===o?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){var i=h(e);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=h(e);return i===this?this.pointToData(n):null},t}();function h(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var d=p,f=n(48170);function g(t,e){var n=[];return t.eachComponent("singleAxis",function(i,o){var r=new d(i,t,e);r.name="single_"+o,r.resize(i,e),i.coordinateSystem=r,n.push(r)}),t.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",f.US).models[0];t.coordinateSystem=e&&e.coordinateSystem}}),n}var v={create:g,dimensions:c},y=v},96053:function(t,e,n){n.d(e,{A:function(){return w}});var i=n(98026),o=n(15215),r=n(33423),a=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return(0,o.C6)(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(r.A);a.prototype.dataToRadius=r.A.prototype.dataToCoord,a.prototype.radiusToData=r.A.prototype.coordToData;var s=a,u=n(45558),l=n(48170),c=(0,l.$r)(),p=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return(0,o.C6)(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),o=n.count();if(i[1]-i[0]<1)return 0;var r=i[0],a=t.dataToCoord(r+1)-t.dataToCoord(r),s=Math.abs(a),l=u.NO(null==r?"":r+"",e.getFont(),"center","top"),p=Math.max(l.height,7),h=p/s;isNaN(h)&&(h=1/0);var d=Math.max(0,Math.floor(h)),f=c(t.model),g=f.lastAutoInterval,v=f.lastTickCount;return null!=g&&null!=v&&Math.abs(g-d)<=1&&Math.abs(v-o)<=1&&g>d?d=g:(f.lastTickCount=o,f.lastAutoInterval=d),d},e}(r.A);p.prototype.dataToAngle=r.A.prototype.dataToCoord,p.prototype.angleToData=r.A.prototype.coordToData;var h=p,d=["radius","angle"],f=function(){function t(t){this.dimensions=d,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new s,this._angleAxis=new h,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){var e="_"+t+"Axis";return this[e]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),o=i.getExtent(),r=Math.min(o[0],o[1]),a=Math.max(o[0],o[1]);i.inverse?r=a-360:a=r+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;var u=Math.atan2(-n,e)/Math.PI*180,l=ua)u+=360*l;return[s,u]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI,i=Math.cos(n)*e+this.cx,o=-Math.sin(n)*e+this.cy;return[i,o]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),n=e.getExtent().slice();n[0]>n[1]&&n.reverse();var i=t.getExtent(),o=Math.PI/180,r=1e-4;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*o,endAngle:-i[1]*o,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,o=n*n+i*i,a=this.r,s=this.r0;return a!==s&&o-r<=a*a&&o+r>=s*s}}},t.prototype.convertToPixel=function(t,e,n){var i=g(e);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=g(e);return i===this?this.pointToData(n):null},t}();function g(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var v=f,y=n(24326),m=n(99031);function _(t,e,n){var o=e.get("center"),r=n.getWidth(),a=n.getHeight();t.cx=(0,y.lo)(o[0],r),t.cy=(0,y.lo)(o[1],a);var s=t.getRadiusAxis(),u=Math.min(r,a)/2,l=e.get("radius");null==l?l=[0,"100%"]:i.cy(l)||(l=[0,l]);var c=[(0,y.lo)(l[0],u),(0,y.lo)(l[1],u)];s.inverse?s.setExtent(c[1],c[0]):s.setExtent(c[0],c[1])}function x(t,e){var n=this,o=n.getAngleAxis(),r=n.getRadiusAxis();if(o.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===n){var e=t.getData();i.__((0,m.wq)(e,"radius"),function(t){r.scale.unionExtentFromData(e,t)}),i.__((0,m.wq)(e,"angle"),function(t){o.scale.unionExtentFromData(e,t)})}}),(0,m.af)(o.scale,o.model),(0,m.af)(r.scale,r.model),"category"===o.type&&!o.onBand){var a=o.getExtent(),s=360/o.scale.count();o.inverse?a[1]+=s:a[1]-=s,o.setExtent(a[0],a[1])}}function A(t){return"angleAxis"===t.mainType}function T(t,e){var n;if(t.type=e.get("type"),t.scale=(0,m.f$)(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),A(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),o=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,o)}e.axis=t,t.model=e}var M={dimensions:d,create:function(t,e){var n=[];return t.eachComponent("polar",function(t,i){var o=new v(i+"");o.update=x;var r=o.getRadiusAxis(),a=o.getAngleAxis(),s=t.findAxisModel("radiusAxis"),u=t.findAxisModel("angleAxis");T(r,s),T(a,u),_(o,t,e),n.push(o),t.coordinateSystem=o,o.model=t}),t.eachSeries(function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",l.US).models[0];0,t.coordinateSystem=e.coordinateSystem}}),n}},w=M},96413:function(t,e,n){n.d(e,{vI:function(){return c},w2:function(){return l}});var i=n(15215),o=n(98026),r=n(15915),a=n(12462),s=n(48170),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",s.US).models[0]},e.type="polarAxis",e}(r.A);o.co(u,a.L);var l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="angleAxis",e}(u),c=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.C6)(e,t),e.type="radiusAxis",e}(u)},96878:function(t,e,n){n.d(e,{LR:function(){return s},Zp:function(){return r},gO:function(){return a}});var i=n(98026),o=n(48170);function r(t,e,n){n=n||{};var o=t.coordinateSystem,r=e.axis,a={},s=r.getAxesOnZeroOf()[0],u=r.position,l=s?"onZero":u,c=r.dim,p=o.getRect(),h=[p.x,p.x+p.width,p.y,p.y+p.height],d={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,g="x"===c?[h[2]-f,h[3]+f]:[h[0]-f,h[1]+f];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));g[d.onZero]=Math.max(Math.min(v,g[1]),g[0])}a.position=["y"===c?g[d[l]]:h[0],"x"===c?g[d[l]]:h[3]],a.rotation=Math.PI/2*("x"===c?0:1);var y={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=y[u],a.labelOffset=s?g[d[u]]-g[d.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),i.Je(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var m=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===l?-m:m,a.z2=1,a}function a(t){return"cartesian2d"===t.get("coordinateSystem")}function s(t){var e={xAxisModel:null,yAxisModel:null};return i.__(e,function(n,i){var r=i.replace(/Model$/,""),a=t.getReferringComponents(r,o.US).models[0];e[i]=a}),e}},98383:function(t,e,n){n.d(e,{FQ:function(){return Ct},Ng:function(){return Ae},zm:function(){return Me},ZB:function(){return Fe},Ts:function(){return xe},OH:function(){return ke},pX:function(){return Re},Oh:function(){return Pe},Ej:function(){return Be},mz:function(){return Oe},cf:function(){return Le},tb:function(){return De},lP:function(){return Ce},qg:function(){return Se},bf:function(){return be},iY:function(){return Ve},xV:function(){return Ie},AF:function(){return Ee}});var i=n(15215),o=n(87891),r=n(98026),a=n(38123),s=n(83470),u=n(57861),l=n(61715),c=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],p=function(){function t(t){r.__(c,function(e){this[e]=r.oI(t[e],t)},this)}return t}(),h=p,d=n(89737),f=n(8348),g=n(32138),v=n(7213),y=n(47355),m=n(59109),_=n(6666),x=n(10992),A=n(90540),T=n(5638),M=n(5070),w=n(69622),b=n(34833),C=n(48170),S=n(24711),L=n(20074),D=n(14716),I=n(49431),k=n(12616),R=function(){function t(t,e,n,i){this._stageTaskMap=(0,r.nt)(),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,o=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,r=o?n.step:null,a=i&&i.modDataCount,s=null!=a?Math.ceil(a/r):null;return{step:r,modBy:s,modDataCount:a}}},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(),o=i.count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&o>=n.threshold,a=t.get("large")&&o>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?o:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:s,large:a}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=(0,r.nt)();t.eachSeries(function(t){var i=t.getProgressive(),o=t.uid;n.set(o,{id:o,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,r.__)(this._allHandlers,function(i){var o=t.get(i.uid)||t.set(i.uid,{}),a="";(0,r.vA)(!(i.reset&&i.overallReset),a),i.reset&&this._createSeriesStageTask(i,o,e,n),i.overallReset&&this._createOverallStageTask(i,o,e,n)},this)},t.prototype.prepareView=function(t,e,n,i){var o=t.renderTask,r=o.context;r.model=e,r.ecModel=n,r.api=i,o.__block=!t.incrementalPrepareRender,this._pipe(e,o)},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 o=!1,a=this;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,r.__)(t,function(t,r){if(!i.visualType||i.visualType===t.visualType){var u=a._stageTaskMap.get(t.uid),l=u.seriesTaskMap,c=u.overallTask;if(c){var p,h=c.agentStubMap;h.each(function(t){s(i,t)&&(t.dirty(),p=!0)}),p&&c.dirty(),a.updatePayload(c,n);var d=a.getPerformArgs(c,i.block);h.each(function(t){t.perform(d)}),c.perform(d)&&(o=!0)}else l&&l.each(function(r,u){s(i,r)&&r.dirty();var l=a.getPerformArgs(r,i.block);l.skip=!t.performRawSeries&&e.isSeriesFiltered(r.context.model),a.updatePayload(r,n),r.perform(l)&&(o=!0)})}}),this.unfinished=o||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 o=this,a=e.seriesTaskMap,s=e.seriesTaskMap=(0,r.nt)(),u=t.seriesType,l=t.getTargetSeries;function c(e){var r=e.uid,u=s.set(r,a&&a.get(r)||(0,I.U)({plan:B,reset:O,count:W}));u.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:o},o._pipe(e,u)}t.createOnAllSeries?n.eachRawSeries(c):u?n.eachRawSeriesByType(u,c):l&&l(n,i).each(c)},t.prototype._createOverallStageTask=function(t,e,n,i){var o=this,a=e.overallTask=e.overallTask||(0,I.U)({reset:P});a.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:o};var s=a.agentStubMap,u=a.agentStubMap=(0,r.nt)(),l=t.seriesType,c=t.getTargetSeries,p=!0,h=!1,d="";function f(t){var e=t.uid,n=u.set(e,s&&s.get(e)||(h=!0,(0,I.U)({reset:E,onDirty:N})));n.context={model:t,overallProgress:p},n.agent=a,n.__block=p,o._pipe(t,n)}(0,r.vA)(!t.createOnAllSeries,d),l?n.eachRawSeriesByType(l,f):c?c(n,i).each(f):(p=!1,(0,r.__)(n.getSeries(),f)),h&&a.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,r.Tn)(t)&&(t={overallReset:t,seriesType:G(t)}),t.uid=(0,k.$Q)("stageHandler"),e&&(t.visualType=e),t},t}();function P(t){t.overallReset(t.ecModel,t.api,t.payload)}function E(t){return t.overallProgress&&z}function z(){this.agent.dirty(),this.getDownstream().dirty()}function N(){this.agent&&this.agent.dirty()}function B(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function O(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,C.qB)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,r.Tj)(e,function(t,e){return V(e)}):F}var F=V(0);function V(t){return function(e,n){var i=n.data,o=n.resetDefines[t];if(o&&o.dataEach)for(var r=e.start;r0&&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[St])if(this._disposed)se(this.id);else{var i,o,a;if((0,r.Gv)(e)&&(n=e.lazyUpdate,i=e.silent,o=e.replaceMerge,a=e.transition,e=e.notMerge),this[St]=!0,!this._model||e){var s=new f.A(this._api),u=this._theme,c=this._model=new l.A;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,s)}this._model.setOption(t,{replaceMerge:o},pe);var p={seriesTransition:a,optionChanged:!0};if(n)this[Lt]={silent:i,updateParams:p},this[St]=!1,this.getZr().wakeUp();else{try{Ot(this),Wt.update.call(this,null,p)}catch(h){throw this[Lt]=null,this[St]=!1,h}this._ssr||this._zr.flush(),this[Lt]=null,this[St]=!1,jt.call(this,i),Zt.call(this,i)}}},e.prototype.setTheme=function(){(0,tt.aT)("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||a.A.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(a.A.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,r.__)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,i=[],o=this;(0,r.__)(e,function(t){n.eachComponent({mainType:t},function(t){var e=o._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)})});var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,r.__)(i,function(t){t.group.ignore=!1}),a}se(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,a=Math.max,s=1/0;if(ve[n]){var u=s,l=s,c=-s,p=-s,h=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();(0,r.__)(ge,function(o,s){if(o.group===n){var d=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,r.o8)(t)),f=o.getDom().getBoundingClientRect();u=i(f.left,u),l=i(f.top,l),c=a(f.right,c),p=a(f.bottom,p),h.push({dom:d,left:f.left,top:f.top})}}),u*=d,l*=d,c*=d,p*=d;var f=c-u,g=p-l,v=ut.yh.createCanvas(),y=o.Ts(v,{renderer:e?"svg":"canvas"});if(y.resize({width:f,height:g}),e){var m="";return(0,r.__)(h,function(t){var e=t.left-u,n=t.top-l;m+=''+t.dom+""}),y.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new x.A({shape:{x:0,y:0,width:f,height:g},style:{fill:t.connectedBackgroundColor}})),(0,r.__)(h,function(t){var e=new A.Ay({style:{x:t.left*d-u,y:t.top*d-l,image:t.dom}});y.add(e)}),y.refreshImmediately(),v.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}se(this.id)},e.prototype.convertToPixel=function(t,e){return Gt(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Gt(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,i=this._model,o=C._e(i,t);return(0,r.__)(o,function(t,i){i.indexOf("Models")>=0&&(0,r.__)(t,function(t){var o=t.coordinateSystem;if(o&&o.containPoint)n=n||!!o.containPoint(e);else if("seriesModels"===i){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(n=n||r.containPoint(e,t))}else 0},this)},this),!!n}se(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,i=C._e(n,t,{defaultMainType:"series"}),o=i.seriesModel;var r=o.getData(),a=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?r.indexOfRawIndex(i.dataIndex):null;return null!=a?(0,K.Ez)(r,a,e):(0,K.rI)(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,r.__)(ae,function(e){var n=function(n){var i,o=t.getModel(),a=n.target,s="globalout"===e;if(s?i={}:a&&(0,ot.R)(a,function(t){var e=(0,w.z)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||o.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType,a)||{},!0}if(e.eventData)return i=(0,r.X$)({},e.eventData),!0},!0),i){var u=i.componentType,l=i.componentIndex;"markLine"!==u&&"markPoint"!==u&&"markArea"!==u||(u="series",l=i.seriesIndex);var c=u&&null!=l&&o.getComponent(u,l),p=c&&t["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];0,i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:a,packedEvent:i,model:c,view:p},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)}),(0,r.__)(le,function(e,n){t._messageCenter.on(n,function(t){this.trigger(n,t)},t)}),(0,r.__)(["selectchanged"],function(e){t._messageCenter.on(e,function(t){this.trigger(e,t)},t)}),(0,et.l)(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?se(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)se(this.id);else{this._disposed=!0;var t=this.getDom();t&&C.Bq(this.getDom(),_e,"");var e=this,n=e._api,i=e._model;(0,r.__)(e._componentsViews,function(t){t.dispose(i,n)}),(0,r.__)(e._chartsViews,function(t){t.dispose(i,n)}),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete ge[e.id]}},e.prototype.resize=function(t){if(!this[St])if(this._disposed)se(this.id);else{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[Lt]&&(null==i&&(i=this[Lt].silent),n=!0,this[Lt]=null),this[St]=!0;try{n&&Ot(this),Wt.update.call(this,{type:"resize",animation:(0,r.X$)({duration:0},t&&t.animation)})}catch(o){throw this[St]=!1,o}this[St]=!1,jt.call(this,i),Zt.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)se(this.id);else if((0,r.Gv)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),fe[t]){var n=fe[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?se(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=(0,r.X$)({},t);return e.type=le[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)se(this.id);else if((0,r.Gv)(e)||(e={silent:!!e}),ue[t.type]&&this._model)if(this[St])this._pendingActions.push(t);else{var n=e.silent;Ht.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&a.A.browser.weChat&&this._throttledZrFlush(),jt.call(this,n),Zt.call(this,n)}},e.prototype.updateLabelLayout=function(){st.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)se(this.id);else{var e=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(e);0,i.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){var e=[],n=[],i=!1;if(t.eachComponent(function(t,o){var r=o.get("zlevel")||0,a=o.get("z")||0,s=o.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:r,z:a,idx:o.componentIndex,type:t,key:s})}),i){var o,a,u=e.concat(n);(0,s.A)(u,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,r.__)(u,function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,r=e.key;null!=o&&(i=Math.max(o,i)),r?(i===o&&r!==a&&i++,a=r):a&&(i===o&&i++,a=""),o=i,n.setZLevel(i)})}}function n(t){for(var e=[],n=t.currentStates,i=0;ie.get("hoverLayerThreshold")&&!a.A.node&&!a.A.worker&&e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}})}function u(t,e){var n=t.get("blendMode")||null;e.eachRendered(function(t){t.isGroup||(t.style.blend=n)})}function l(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered(function(t){return c(t,n,i,-1/0),!0})}}function c(t,e,n,i){var o=t.getTextContent(),r=t.getTextGuideLine(),a=t.isGroup;if(a)for(var s=t.childrenRef(),u=0;u0?{duration:r,delay:i.get("delay"),easing:i.get("easing")}:null;e.eachRendered(function(t){if(t.states&&t.states.emphasis){if(T.LR(t))return;if(t instanceof M.Ay&&(0,b.fz)(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(o){t.stateTransition=a;var i=t.getTextContent(),r=t.getTextGuideLine();i&&(i.stateTransition=a),r&&(r.stateTransition=a)}t.__dirty&&n(t)}})}Ot=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Ft(t,!0),Ft(t,!1),e.plan()},Ft=function(t,e){for(var n=t._model,i=t._scheduler,o=e?t._componentsViews:t._chartsViews,r=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,u=0;u=0)){ze.push(n);var a=J.wrapStageHandler(n,o);a.__prio=e,a.__raw=n,t.push(a)}}function Be(t,e){fe[t]=e}function Oe(t,e,n){var i=(0,lt.v)("registerMap");i&&i(t,e,n)}function Fe(t){var e=(0,lt.v)("getMap");return e&&e(t)}var Ve=nt.v5;Ee(mt,L.mK),Ee(At,L.HG),Ee(At,L.EY),Ee(mt,Q.P),Ee(At,Q.e),Ee(bt,rt.A),Ce(g.A),Se(ht,v.A),Be("default",D.A),ke({type:b.h5,event:b.h5,update:b.h5},r.lQ),ke({type:b.PW,event:b.PW,update:b.PW},r.lQ),ke({type:b.Lv,event:b.Lv,update:b.Lv},r.lQ),ke({type:b.U2,event:b.U2,update:b.U2},r.lQ),ke({type:b.Q6,event:b.Q6,update:b.Q6},r.lQ),be("light",$.A),be("dark",X.A)},99031:function(t,e,n){n.d(e,{Dt:function(){return _},JJ:function(){return y},Og:function(){return x},PJ:function(){return M},PN:function(){return b},Rx:function(){return d},af:function(){return g},f$:function(){return v},j2:function(){return T},ry:function(){return m},wq:function(){return w}});var i=n(98026),o=n(18550),r=n(74562),a=n(28613),s=n(62536),u=n(29308),l=n(12706),c=n(48605),p=n(65008),h=n(42262);function d(t,e){var n=t.type,o=(0,h.Tc)(t,e,t.getExtent()).calculate();t.setBlank(o.isBlank);var r=o.min,a=o.max,u=e.ecModel;if(u&&"time"===n){var l=(0,s.GL)("bar",u),c=!1;if(i.__(l,function(t){c=c||t.getBaseAxis()===e.axis}),c){var p=(0,s.vq)(l),d=f(r,a,e,p);r=d.min,a=d.max}}return{extent:[r,a],fixMin:o.minFixed,fixMax:o.maxFixed}}function f(t,e,n,o){var r=n.axis.getExtent(),a=Math.abs(r[1]-r[0]),u=(0,s.VA)(o,n.axis);if(void 0===u)return{min:t,max:e};var l=1/0;i.__(u,function(t){l=Math.min(t.offset,l)});var c=-1/0;i.__(u,function(t){c=Math.max(t.offset+t.width,c)}),l=Math.abs(l),c=Math.abs(c);var p=l+c,h=e-t,d=1-(l+c)/a,f=h/d-h;return e+=f*(c/p),t-=f*(l/p),{min:t,max:e}}function g(t,e){var n=e,i=d(t,n),o=i.extent,r=n.get("splitNumber");t instanceof c.A&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),u="interval"===a||"time"===a;t.setExtent(o[0],o[1]),t.calcNiceExtent({splitNumber:r,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:u?n.get("minInterval"):null,maxInterval:u?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function v(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new o.A({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new l.A({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(a.A.getClass(e)||r.A)}}function y(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function m(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(e){return function(n,i){return t.scale.getFormattedLabel(n,i,e)}}(e):i.Kg(e)?function(e){return function(n){var i=t.scale.getLabel(n),o=e.replace("{value}",null!=i?i:"");return o}}(e):i.Tn(e)?function(e){return function(i,o){return null!=n&&(o=i.value-n),e(_(t,i),o,null!=i.level?{level:i.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function _(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function x(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,a=n.getExtent();n instanceof o.A?r=n.count():(i=n.getTicks(),r=i.length);var s,u=t.getLabelModel(),l=m(t),c=1;r>40&&(c=Math.ceil(r/40));for(var p=0;pt[1]&&(t[1]=i[1])})}}}]);