(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-253b078c"],{"007d":function(t,e,i){var n=i("3eba");i("cb8f"),i("a96b"),i("42f6"),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},"0156":function(t,e,i){var n=i("6d8b");function r(t,e,i){i=i||{};var r=t.coordinateSystem,a=e.axis,o={},s=a.getAxesOnZeroOf()[0],l=a.position,u=s?"onZero":l,h=a.dim,c=r.getRect(),d=[c.x,c.x+c.width,c.y,c.y+c.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,g="x"===h?[d[2]-p,d[3]+p]:[d[0]-p,d[1]+p];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));g[f.onZero]=Math.max(Math.min(v,g[1]),g[0])}o.position=["y"===h?g[f[u]]:d[0],"x"===h?g[f[u]]:d[3]],o.rotation=Math.PI/2*("x"===h?0:1);var m={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=m[l],o.labelOffset=s?g[f[l]]-g[f.onZero]:0,e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),n.retrieve(i.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var y=e.get("axisLabel.rotate");return o.labelRotate="top"===u?-y:y,o.z2=1,o}e.layout=r},"01ed":function(t,e,i){var n=i("3eba"),r=i("6d8b"),a=i("2306");i("5aa9"),i("af24"),n.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new a.Rect({shape:t.coordinateSystem.getRect(),style:r.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),n.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))},"0352":function(t,e,i){var n=i("6cb7"),r=i("b12f"),a=i("0f99"),o=a.detectSourceFormat,s=i("93d0"),l=s.SERIES_LAYOUT_BY_COLUMN;n.extend({type:"dataset",defaultOption:{seriesLayoutBy:l,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){o(this)}}),r.extend({type:"dataset"})},"04f6":function(t,e){var i=32,n=7;function r(t){var e=0;while(t>=i)e|=1&t,t>>=1;return t+e}function a(t,e,i,n){var r=e+1;if(r===i)return 1;if(n(t[r++],t[e])<0){while(r=0)r++;return r-e}function o(t,e,i){i--;while(e>>1,r(o,t[a])<0?l=a:s=a+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=o}}function l(t,e,i,n,r,a){var o=0,s=0,l=1;if(a(t,e[i+r])>0){s=n-r;while(l0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}else{s=r+1;while(ls&&(l=s);var u=o;o=r-l,l=r-u}o++;while(o>>1);a(t,e[i+h])>0?o=h+1:l=h}return l}function u(t,e,i,n,r,a){var o=0,s=0,l=1;if(a(t,e[i+r])<0){s=r+1;while(ls&&(l=s);var u=o;o=r-l,l=r-u}else{s=n-r;while(l=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}o++;while(o>>1);a(t,e[i+h])<0?l=h:o=h+1}return l}function h(t,e){var i,r,a=n,o=0,s=0;o=t.length;var h=[];function c(t,e){i[s]=t,r[s]=e,s+=1}function d(){while(s>1){var t=s-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]r[t+1])break;p(t)}}function f(){while(s>1){var t=s-2;t>0&&r[t-1]=n||v>=n);if(m)break;y<0&&(y=0),y+=2}if(a=y,a<1&&(a=1),1===r){for(c=0;c=0;c--)t[v+c]=t[g+c];if(0===r){_=!0;break}}if(t[p--]=h[f--],1===--s){_=!0;break}if(x=s-l(t[d],h,0,s,s-1,e),0!==x){for(p-=x,f-=x,s-=x,v=p+1,g=f+1,c=0;c=n||x>=n);if(_)break;m<0&&(m=0),m+=2}if(a=m,a<1&&(a=1),1===s){for(p-=r,d-=r,v=p+1,g=d+1,c=r-1;c>=0;c--)t[v+c]=t[g+c];t[p]=h[f]}else{if(0===s)throw new Error;for(g=p-(s-1),c=0;c=0;c--)t[v+c]=t[g+c];t[p]=h[f]}else for(g=p-(s-1),c=0;cd&&(f=d),s(t,n,n+f,n+u,e),u=f}c.pushRun(n,u),c.mergeRuns(),l-=u,n+=u}while(0!==l);c.forceMergeRuns()}}t.exports=c},"0655":function(t,e,i){var n=i("8728"),r=1e-8;function a(t,e){return Math.abs(t-e).5?e:t}function d(t,e,i,n,r){var a=t.length;if(1===r)for(var o=0;or;if(a)t.length=r;else for(var o=n;o=0;i--)if(I[i]<=e)break;i=Math.min(i,b-2)}else{for(i=W;ie)break;i=Math.min(i-1,b-2)}W=i,G=e;var n=I[i+1]-I[i];if(0!==n)if(N=(e-I[i])/n,_)if(F=k[i],B=k[0===i?i:i-1],V=k[i>b-2?b-1:i+1],H=k[i>b-3?b-1:i+2],M)g(B,F,V,H,N,N*N,N*N*N,u(t,s),C);else{if(T)r=g(B,F,V,H,N,N*N,N*N*N,j,1),r=y(j);else{if(A)return c(F,V,N);r=v(B,F,V,H,N,N*N,N*N*N)}m(t,s,r)}else if(M)d(k[i],k[i+1],N,u(t,s),C);else{var r;if(T)d(k[i],k[i+1],N,j,1),r=y(j);else{if(A)return c(k[i],k[i+1],N);r=h(k[i],k[i+1],N)}m(t,s,r)}},Z=new n({target:t._target,life:w,loop:t._loop,delay:t._delay,onframe:U,ondestroy:i});return e&&"spline"!==e&&(Z.easing=e),Z}}}var b=function(t,e,i,n){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||l,this._setter=n||u,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(t,e){var i=this._tracks;for(var n in e)if(e.hasOwnProperty(n)){if(!i[n]){i[n]=[];var r=this._getter(this._target,n);if(null==r)continue;0!==t&&i[n].push({time:0,value:m(r)})}i[n].push({time:t,value:e[n]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t1&&n&&n.length>1){var s=a(n)/a(r);!isFinite(s)&&(s=1),e.pinchScale=s;var l=o(n);return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},l=r;t.exports=l},"0cde":function(t,e,i){var n=i("1687"),r=i("401b"),a=n.identity,o=5e-5;function s(t){return t>o||t<-o}var l=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var h=[];u.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),r=this.transform;if(i||e){r=r||n.create(),i?this.getLocalTransform(r):a(r),e&&(i?n.mul(r,t.transform,r):n.copy(r,t.transform)),this.transform=r;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(h);var s=h[0]<0?-1:1,l=h[1]<0?-1:1,u=((h[0]-s)*o+s)/h[0]||0,c=((h[1]-l)*o+l)/h[1]||0;r[0]*=u,r[1]*=u,r[2]*=c,r[3]*=c}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,r)}else r&&a(r)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var c=[],d=n.create();u.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=this.position,r=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(e=-e),t[3]<0&&(i=-i),n[0]=t[4],n[1]=t[5],r[0]=e,r[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/e)}},u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n.mul(c,t.invTransform,e),e=c);var i=this.origin;i&&(i[0]||i[1])&&(d[4]=i[0],d[5]=i[1],n.mul(c,e,d),c[4]-=i[0],c[5]-=i[1],e=c),this.setLocalTransform(e)}},u.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},u.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&r.applyTransform(i,i,n),i},u.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&r.applyTransform(i,i,n),i},l.getLocalTransform=function(t,e){e=e||[],a(e);var i=t.origin,r=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),n.scale(e,e,r),o&&n.rotate(e,e,o),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var f=l;t.exports=f},"0da8":function(t,e,i){var n=i("19eb"),r=i("9850"),a=i("6d8b"),o=i("5e76");function s(t){n.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var i=this.style,n=i.image;i.bind(t,this,e);var r=this._image=o.createOrUpdateImage(n,this._image,this,this.onload);if(r&&o.isImageReady(r)){var a=i.x||0,s=i.y||0,l=i.width,u=i.height,h=r.width/r.height;if(null==l&&null!=u?l=u*h:null==u&&null!=l?u=l/h:null==l&&null==u&&(l=r.width,u=r.height),this.setTransform(t),i.sWidth&&i.sHeight){var c=i.sx||0,d=i.sy||0;t.drawImage(r,c,d,i.sWidth,i.sHeight,a,s,l,u)}else if(i.sx&&i.sy){c=i.sx,d=i.sy;var f=l-c,p=u-d;t.drawImage(r,c,d,f,p,a,s,l,u)}else t.drawImage(r,a,s,l,u);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new r(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},a.inherits(s,n);var l=s;t.exports=l},"0f99":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("e0d3")),a=r.makeInner,o=r.getDataItemValue,s=i("6d8b"),l=s.createHashMap,u=s.each,h=s.map,c=s.isArray,d=s.isString,f=s.isObject,p=s.isTypedArray,g=s.isArrayLike,v=s.extend,m=(s.assert,i("ec6f")),y=i("93d0"),x=y.SOURCE_FORMAT_ORIGINAL,_=y.SOURCE_FORMAT_ARRAY_ROWS,b=y.SOURCE_FORMAT_OBJECT_ROWS,w=y.SOURCE_FORMAT_KEYED_COLUMNS,S=y.SOURCE_FORMAT_UNKNOWN,M=y.SOURCE_FORMAT_TYPED_ARRAY,T=y.SERIES_LAYOUT_BY_ROW,A={Must:1,Might:2,Not:3},C=a();function I(t){var e=t.option.source,i=S;if(p(e))i=M;else if(c(e)){0===e.length&&(i=_);for(var n=0,r=e.length;n3&&(r=i.call(r,1));for(var o=e.length,s=0;s4&&(r=i.call(r,1,r.length-1));for(var o=r[r.length-1],s=e.length,l=0;lthis._ux||x(e-this._yi)>this._uy||this._len<5;return this.addData(u.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,n,r,a){return this.addData(u.C,t,e,i,n,r,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,r,a):this._ctx.bezierCurveTo(t,e,i,n,r,a)),this._xi=r,this._yi=a,this},quadraticCurveTo:function(t,e,i,n){return this.addData(u.Q,t,e,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,n):this._ctx.quadraticCurveTo(t,e,i,n)),this._xi=i,this._yi=n,this},arc:function(t,e,i,n,r,a){return this.addData(u.A,t,e,i,i,n,r-n,0,a?0:1),this._ctx&&this._ctx.arc(t,e,i,n,r,a),this._xi=v(r)*i+t,this._yi=m(r)*i+e,this},arcTo:function(t,e,i,n,r){return this._ctx&&this._ctx.arcTo(t,e,i,n,r),this},rect:function(t,e,i,n){return this._ctx&&this._ctx.rect(t,e,i,n),this.addData(u.R,t,e,i,n),this},closePath:function(){this.addData(u.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;ie.length&&(this._expandData(),e=this.data);for(var i=0;i0&&f<=t||h<0&&f>=t||0===h&&(c>0&&v<=e||c<0&&v>=e))n=this._dashIdx,i=o[n],f+=h*i,v+=c*i,this._dashIdx=(n+1)%m,h>0&&fl||c>0&&vu||s[n%2?"moveTo":"lineTo"](h>=0?p(f,t):g(f,t),c>=0?p(v,e):g(v,e));h=f-t,c=v-e,this._dashOffset=-y(h*h+c*c)},_dashedBezierTo:function(t,e,i,r,a,o){var s,l,u,h,c,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,v=this._xi,m=this._yi,x=n.cubicAt,_=0,b=this._dashIdx,w=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(v,t,i,a,s+.1)-x(v,t,i,a,s),u=x(m,e,r,o,s+.1)-x(m,e,r,o,s),_+=y(l*l+u*u);for(;bf)break;s=(S-f)/_;while(s<=1)h=x(v,t,i,a,s),c=x(m,e,r,o,s),b%2?g.moveTo(h,c):g.lineTo(h,c),s+=p[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(a,o),l=a-h,u=o-c,this._dashOffset=-y(l*l+u*u)},_dashedQuadraticTo:function(t,e,i,n){var r=i,a=n;i=(i+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,n,r,a)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,_&&(this.data=new Float32Array(t)))},getBoundingRect:function(){h[0]=h[1]=d[0]=d[1]=Number.MAX_VALUE,c[0]=c[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,n=0,s=0,l=0;ll||x(o-r)>h||d===c-1)&&(t.lineTo(a,o),n=a,r=o);break;case u.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],r=s[d-1];break;case u.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],r=s[d-1];break;case u.A:var p=s[d++],g=s[d++],y=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],T=y>_?y:_,A=y>_?1:y/_,C=y>_?_/y:1,I=Math.abs(y-_)>.001,k=b+w;I?(t.translate(p,g),t.rotate(S),t.scale(A,C),t.arc(0,0,T,b,k,1-M),t.scale(1/A,1/C),t.rotate(-S),t.translate(-p,-g)):t.arc(p,g,T,b,k,1-M),1===d&&(e=v(b)*y+p,i=m(b)*_+g),n=v(k)*y+p,r=m(k)*_+g;break;case u.R:e=n=s[d],i=r=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case u.Z:t.closePath(),n=e,r=i}}}},b.CMD=u;var w=b;t.exports=w},"216a":function(t,e,i){var n=i("6d8b"),r=i("3842"),a=i("eda2"),o=i("944e"),s=i("89e3"),l=s.prototype,u=Math.ceil,h=Math.floor,c=1e3,d=60*c,f=60*d,p=24*f,g=function(t,e,i,n){while(i>>1;t[r][1]i&&(s=i);var l=m.length,c=g(m,s,0,l),d=m[Math.min(c,l-1)],f=d[1];if("year"===d[0]){var p=a/f,v=r.nice(p/t,!0);f*=v}var y=this.getSetting("useUTC")?0:60*new Date(+n[0]||+n[1]).getTimezoneOffset()*1e3,x=[Math.round(u((n[0]-y)/f)*f+y),Math.round(h((n[1]-y)/f)*f+y)];o.fixExtent(x,n),this._stepLvl=d,this._interval=f,this._niceExtent=x},parse:function(t){return+r.parseDate(t)}});n.each(["contain","normalize"],(function(t){v.prototype[t]=function(e){return l[t].call(this,this.parse(e))}}));var m=[["hh:mm:ss",c],["hh:mm:ss",5*c],["hh:mm:ss",10*c],["hh:mm:ss",15*c],["hh:mm:ss",30*c],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",5*d],["hh:mm\nMM-dd",10*d],["hh:mm\nMM-dd",15*d],["hh:mm\nMM-dd",30*d],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];v.create=function(t){return new v({useUTC:t.ecModel.get("useUTC")})};var y=v;t.exports=y},"217b8":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("3301")),a=i("4f85"),o=a.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return r(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=o},"22d1":function(t,e){var i={};i="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:r(navigator.userAgent);var n=i;function r(t){var e={},i={},n=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return n&&(i.firefox=!0,i.version=n[1]),r&&(i.ie=!0,i.version=r[1]),a&&(i.edge=!0,i.version=a[1]),o&&(i.weChat=!0),{browser:i,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11),domSupported:"undefined"!==typeof document}}t.exports=n},2306:function(t,e,i){var n=i("6d8b"),r=i("342d"),a=i("41ef"),o=i("1687"),s=i("401b"),l=i("cbe5"),u=i("0cde"),h=i("0da8");e.Image=h;var c=i("e1fc");e.Group=c;var d=i("76a5");e.Text=d;var f=i("d9fc");e.Circle=f;var p=i("4aa2");e.Sector=p;var g=i("4573");e.Ring=g;var v=i("87b1");e.Polygon=v;var m=i("d498");e.Polyline=m;var y=i("c7a2");e.Rect=y;var x=i("cb11");e.Line=x;var _=i("ac0f");e.BezierCurve=_;var b=i("8d32");e.Arc=b;var w=i("d4c6");e.CompoundPath=w;var S=i("48a9");e.LinearGradient=S;var M=i("dded");e.RadialGradient=M;var T=i("9850");e.BoundingRect=T;var A=i("392f");e.IncrementalDisplayable=A;var C=i("9cf9"),I=Math.max,k=Math.min,D={},O=1,P={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},L="emphasis",R="normal",E=1,z={},N={};function B(t){return l.extend(t)}function F(t,e){return r.extendFromString(t,e)}function V(t,e){N[t]=e}function H(t){if(N.hasOwnProperty(t))return N[t]}function W(t,e,i,n){var a=r.createFromString(t,e);return i&&("center"===n&&(i=j(i,a.getBoundingRect())),Z(a,i)),a}function G(t,e,i){var n=new h({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var r={width:t.width,height:t.height};n.setStyle(j(e,r))}}});return n}function j(t,e){var i,n=e.width/e.height,r=t.height*n;r<=t.width?i=t.height:(r=t.width,i=r/n);var a=t.x+t.width/2,o=t.y+t.height/2;return{x:a-r/2,y:o-i/2,width:r,height:i}}var U=r.mergePath;function Z(t,e){if(t.applyTransform){var i=t.getBoundingRect(),n=i.calculateTransform(e);t.applyTransform(n)}}function Y(t){return C.subPixelOptimizeLine(t.shape,t.shape,t.style),t}function q(t){return C.subPixelOptimizeRect(t.shape,t.shape,t.style),t}var X=C.subPixelOptimize;function $(t){return null!=t&&"none"!==t}var K=n.createHashMap(),J=0;function Q(t){if("string"!==typeof t)return t;var e=K.get(t);return e||(e=a.lift(t,-.1),J<1e4&&(K.set(t,e),J++)),e}function tt(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var i=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var n=t.style;for(var r in e)null!=e[r]&&(i[r]=n[r]);i.fill=n.fill,i.stroke=n.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function et(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var i=t.__zr,n=t.useHoverLayer&&i&&"canvas"===i.painter.type;if(t.__highlighted=n?"layer":"plain",!(t.isGroup||!i&&t.useHoverLayer)){var r=t,a=t.style;n&&(r=i.addHover(t),a=r.style),Mt(a),n||tt(r),a.extendFrom(e),it(a,e,"fill"),it(a,e,"stroke"),St(a),n||(t.dirty(!1),t.z2+=O)}}}function it(t,e,i){!$(e[i])&&$(t[i])&&(t[i]=Q(t[i]))}function nt(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var i=t.style,n=t.__cachedNormalStl;n&&(Mt(i),t.setStyle(n),St(i));var r=t.__cachedNormalZ2;null!=r&&t.z2-r===O&&(t.z2=r)}}function rt(t,e,i){var n,r=R,a=R;t.__highlighted&&(r=L,n=!0),e(t,i),t.__highlighted&&(a=L,n=!0),t.isGroup&&t.traverse((function(t){!t.isGroup&&e(t,i)})),n&&t.__highDownOnUpdate&&t.__highDownOnUpdate(r,a)}function at(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,nt(t),et(t))}function ot(t){!ht(this,t)&&!this.__highByOuter&&rt(this,et)}function st(t){!ht(this,t)&&!this.__highByOuter&&rt(this,nt)}function lt(t){this.__highByOuter|=1<<(t||0),rt(this,et)}function ut(t){!(this.__highByOuter&=~(1<<(t||0)))&&rt(this,nt)}function ht(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function ct(t,e){dt(t,!0),rt(t,at,e)}function dt(t,e){var i=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!i||t.__highDownDispatcher){var n=i?"off":"on";t[n]("mouseover",ot)[n]("mouseout",st),t[n]("emphasis",lt)[n]("normal",ut),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!i}}function ft(t){return!(!t||!t.__highDownDispatcher)}function pt(t){var e=z[t];return null==e&&E<=32&&(e=z[t]=E++),e}function gt(t,e,i,r,a,o,s){a=a||D;var l,u=a.labelFetcher,h=a.labelDataIndex,c=a.labelDimIndex,d=a.labelProp,f=i.getShallow("show"),p=r.getShallow("show");(f||p)&&(u&&(l=u.getFormattedLabel(h,"normal",null,c,d)),null==l&&(l=n.isFunction(a.defaultText)?a.defaultText(h,a):a.defaultText));var g=f?l:null,v=p?n.retrieve2(u?u.getFormattedLabel(h,"emphasis",null,c,d):null,l):null;null==g&&null==v||(mt(t,i,o,a),mt(e,r,s,a,!0)),t.text=g,e.text=v}function vt(t,e,i){var r=t.style;e&&(Mt(r),t.setStyle(e),St(r)),r=t.__hoverStl,i&&r&&(Mt(r),n.extend(r,i),St(r))}function mt(t,e,i,r,a){return xt(t,e,r,a),i&&n.extend(t,i),t}function yt(t,e,i){var n,r={isRectText:!0};!1===i?n=!0:r.autoColor=i,xt(t,e,r,n)}function xt(t,e,i,r){if(i=i||D,i.isRectText){var a;i.getTextPosition?a=i.getTextPosition(e,r):(a=e.getShallow("position")||(r?null:"inside"),"outside"===a&&(a="top")),t.textPosition=a,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=n.retrieve2(e.getShallow("distance"),r?null:5)}var s,l=e.ecModel,u=l&&l.option.textStyle,h=_t(e);if(h)for(var c in s={},h)if(h.hasOwnProperty(c)){var d=e.getModel(["rich",c]);bt(s[c]={},d,u,i,r)}return t.rich=s,bt(t,e,u,i,r,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),t}function _t(t){var e;while(t&&t!==t.ecModel){var i=(t.option||D).rich;if(i)for(var n in e=e||{},i)i.hasOwnProperty(n)&&(e[n]=1);t=t.parentModel}return e}function bt(t,e,i,r,a,o){i=!a&&i||D,t.textFill=wt(e.getShallow("color"),r)||i.color,t.textStroke=wt(e.getShallow("textBorderColor"),r)||i.textBorderColor,t.textStrokeWidth=n.retrieve2(e.getShallow("textBorderWidth"),i.textBorderWidth),a||(o&&(t.insideRollbackOpt=r,St(t)),null==t.textFill&&(t.textFill=r.autoColor)),t.fontStyle=e.getShallow("fontStyle")||i.fontStyle,t.fontWeight=e.getShallow("fontWeight")||i.fontWeight,t.fontSize=e.getShallow("fontSize")||i.fontSize,t.fontFamily=e.getShallow("fontFamily")||i.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&r.disableBox||(t.textBackgroundColor=wt(e.getShallow("backgroundColor"),r),t.textPadding=e.getShallow("padding"),t.textBorderColor=wt(e.getShallow("borderColor"),r),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||i.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||i.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||i.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||i.textShadowOffsetY}function wt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function St(t){var e,i=t.textPosition,n=t.insideRollbackOpt;if(n&&null==t.textFill){var r=n.autoColor,a=n.isRectText,o=n.useInsideStyle,s=!1!==o&&(!0===o||a&&i&&"string"===typeof i&&i.indexOf("inside")>=0),l=!s&&null!=r;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=r)}t.insideRollback=e}function Mt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function Tt(t,e){var i=e&&e.getModel("textStyle");return n.trim([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}function At(t,e,i,n,r,a){"function"===typeof r&&(a=r,r=null);var o=n&&n.isAnimationEnabled();if(o){var s=t?"Update":"",l=n.getShallow("animationDuration"+s),u=n.getShallow("animationEasing"+s),h=n.getShallow("animationDelay"+s);"function"===typeof h&&(h=h(r,n.getAnimationDelayParams?n.getAnimationDelayParams(e,r):null)),"function"===typeof l&&(l=l(r)),l>0?e.animateTo(i,l,h||0,u,a,!!a):(e.stopAnimation(),e.attr(i),a&&a())}else e.stopAnimation(),e.attr(i),a&&a()}function Ct(t,e,i,n,r){At(!0,t,e,i,n,r)}function It(t,e,i,n,r){At(!1,t,e,i,n,r)}function kt(t,e){var i=o.identity([]);while(t&&t!==e)o.mul(i,t.getLocalTransform(),i),t=t.parent;return i}function Dt(t,e,i){return e&&!n.isArrayLike(e)&&(e=u.getLocalTransform(e)),i&&(e=o.invert([],e)),s.applyTransform([],t,e)}function Ot(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-n:"right"===t?n:0,"top"===t?-r:"bottom"===t?r:0];return a=Dt(a,e,i),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function Pt(t,e,i,r){if(t&&e){var a=o(t);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=a[t.anid];if(e){var n=l(t);t.attr(l(e)),Ct(t,n,i,t.dataIndex)}}}))}function o(t){var e={};return t.traverse((function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)})),e}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=n.extend({},t.shape)),e}}function Lt(t,e){return n.map(t,(function(t){var i=t[0];i=I(i,e.x),i=k(i,e.x+e.width);var n=t[1];return n=I(n,e.y),n=k(n,e.y+e.height),[i,n]}))}function Rt(t,e){var i=I(t.x,e.x),n=k(t.x+t.width,e.x+e.width),r=I(t.y,e.y),a=k(t.y+t.height,e.y+e.height);if(n>=i&&a>=r)return{x:i,y:r,width:n-i,height:a-r}}function Et(t,e,i){e=n.extend({rectHover:!0},e);var r=e.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),n.defaults(r,i),new h(e)):W(t.replace("path://",""),e,i,"center")}function zt(t,e,i,n,r){for(var a=0,o=r[r.length-1];a1)return!1;var v=Bt(f,p,h,c)/d;return!(v<0||v>1)}function Bt(t,e,i,n){return t*n-i*e}function Ft(t){return t<=1e-6&&t>=-1e-6}V("circle",f),V("sector",p),V("ring",g),V("polygon",v),V("polyline",m),V("rect",y),V("line",x),V("bezierCurve",_),V("arc",b),e.Z2_EMPHASIS_LIFT=O,e.CACHED_LABEL_STYLE_PROPERTIES=P,e.extendShape=B,e.extendPath=F,e.registerShape=V,e.getShapeClass=H,e.makePath=W,e.makeImage=G,e.mergePath=U,e.resizePath=Z,e.subPixelOptimizeLine=Y,e.subPixelOptimizeRect=q,e.subPixelOptimize=X,e.setElementHoverStyle=at,e.setHoverStyle=ct,e.setAsHighDownDispatcher=dt,e.isHighDownDispatcher=ft,e.getHighlightDigit=pt,e.setLabelStyle=gt,e.modifyLabelStyle=vt,e.setTextStyle=mt,e.setText=yt,e.getFont=Tt,e.updateProps=Ct,e.initProps=It,e.getTransform=kt,e.applyTransform=Dt,e.transformDirection=Ot,e.groupTransition=Pt,e.clipPointsByRect=Lt,e.clipRectByRect=Rt,e.createIcon=Et,e.linePolygonIntersect=zt,e.lineLineIntersect=Nt},2325:function(t,e,i){var n=i("6d8b"),r=i("607d"),a=i("2306"),o=i("88b3"),s=i("7dcf"),l=i("3842"),u=i("f934"),h=i("ef6a"),c=a.Rect,d=l.linearMap,f=l.asc,p=n.bind,g=n.each,v=7,m=1,y=30,x="horizontal",_="vertical",b=5,w=["line","bar","candlestick","scatter"],S=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,i,n){S.superApply(this,"render",arguments),o.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){S.superApply(this,"remove",arguments),o.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),o.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new a.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},a=this._orient===x?{right:r.width-i.x-i.width,top:r.height-y-v,width:i.width,height:y}:{right:v,top:i.y,width:y,height:i.height},o=u.getLayoutParams(t.option);n.each(["right","top","width","height"],(function(t){"ph"===o[t]&&(o[t]=a[t])}));var s=u.getLayoutRect(o,r,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===_&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),r=n&&n.get("inverse"),a=this._displayables.barGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;a.attr(i!==x||r?i===x&&r?{scale:o?[-1,1]:[-1,-1]}:i!==_||r?{scale:o?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:o?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:o?[1,1]:[1,-1]});var s=t.getBoundingRect([a]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,i=this._displayables.barGroup;i.add(new c({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),i.add(new c({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,i=t.series,r=i.getRawData(),o=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=o){var s=r.getDataExtent(o),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,h=[0,e[1]],c=[0,e[0]],f=[[e[0],0],[0,0]],p=[],g=c[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([o],(function(t,e){if(m>0&&e%m)v+=g;else{var i=null==t||isNaN(t)||""===t,n=i?0:d(t,s,h,!0);i&&!u&&e?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!i&&u&&(f.push([v,0]),p.push([v,0])),f.push([v,n]),p.push([v,n]),v+=g,u=i}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new a.Polygon({shape:{points:f},style:n.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new a.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var i,r=this.ecModel;return t.eachTargetAxis((function(a,o){var s=t.getAxisProxy(a.name,o).getTargetSeriesModels();n.each(s,(function(t){if(!i&&!(!0!==e&&n.indexOf(w,t.get("type"))<0)){var s,l=r.getComponent(a.axis,o).axis,u=M(a.name),h=t.coordinateSystem;null!=u&&h.getOtherAxis&&(s=h.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),i={thisAxis:l,series:t,thisDim:a.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],n=this._displayables.barGroup,r=this._size,o=this.dataZoomModel;n.add(t.filler=new c({draggable:!0,cursor:T(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:o.get("fillerColor"),textPosition:"inside"}})),n.add(new c({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:m,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(t){var r=a.createIcon(o.get("handleIcon"),{cursor:T(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=r.getBoundingRect();this._handleHeight=l.parsePercent(o.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,r.setStyle(o.getModel("handleStyle").getItemStyle());var u=o.get("handleColor");null!=u&&(r.style.fill=u),n.add(e[t]=r);var h=o.textStyleModel;this.group.add(i[t]=new a.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:h.getTextColor(),textFont:h.getFont()},z2:10}))}),this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var i=this.dataZoomModel,n=this._handleEnds,r=this._getViewExtent(),a=i.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];h(e,n,r,i.get("zoomLock")?"all":t,null!=a.minSpan?d(a.minSpan,o,r,!0):null,null!=a.maxSpan?d(a.maxSpan,o,r,!0):null);var s=this._range,l=this._range=f([d(n[0],r,o,!0),d(n[1],r,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,i=this._handleEnds,n=f(i.slice()),r=this._size;g([0,1],(function(t){var n=e.handles[t],a=this._handleHeight;n.attr({scale:[a/2,a/2],position:[i[t],r[1]/2-a/2]})}),this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:r[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,i=this._displayables,n=i.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,h=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(h[0],l),this._formatLabel(h[1],l)]}}var c=f(this._handleEnds.slice());function d(t){var e=a.getTransform(i.handles[t].parent,this.group),s=a.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+b,u=a.applyTransform([c[t]+(0===t?-l:l),this._size[1]/2],e);n[t].setStyle({x:u[0],y:u[1],textVerticalAlign:r===x?"middle":s,textAlign:r===x?s:"center",text:o[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var i=this.dataZoomModel,r=i.get("labelFormatter"),a=i.get("labelPrecision");null!=a&&"auto"!==a||(a=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(a,20));return n.isFunction(r)?r(t,o):n.isString(r)?r.replace("{value}",o):o},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,i,n){this._dragging=!0,r.stop(n.event);var o=this._displayables.barGroup.getLocalTransform(),s=a.applyTransform([e,i],o,!0),l=this._updateInterval(t,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,i=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(i[0]<0||i[0]>e[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,r=(n[0]+n[1])/2,a=this._updateInterval("all",i[0]-r);this._updateView(),a&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),(function(e){if(!t&&e.length){var i=e[0].model.coordinateSystem;t=i.getRect&&i.getRect()}})),!t){var e=this.api.getWidth(),i=this.api.getHeight();t={x:.2*e,y:.2*i,width:.6*e,height:.6*i}}return t}});function M(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function T(t){return"vertical"===t?"ns-resize":"ew-resize"}var A=S;t.exports=A},"26e1":function(t,e,i){var n=i("6d8b"),r=i("e0d3"),a=n.each,o=n.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var i=0,r=s.length;i=0||r&&n.indexOf(r,s)<0)){var l=e.getShallow(s);null!=l&&(a[t[o][0]]=l)}}return a}}t.exports=r},"29a8":function(t,e){var i={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:"旭日图"}},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:""}}}};t.exports=i},"2b17":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=(r.isTypedArray,r.extend),o=(r.assert,r.each),s=r.isObject,l=i("e0d3"),u=l.getDataItemValue,h=l.isDataItemOption,c=i("3842"),d=c.parseDate,f=i("ec6f"),p=i("93d0"),g=p.SOURCE_FORMAT_TYPED_ARRAY,v=p.SOURCE_FORMAT_ARRAY_ROWS,m=p.SOURCE_FORMAT_ORIGINAL,y=p.SOURCE_FORMAT_OBJECT_ROWS;function x(t,e){f.isInstance(t)||(t=f.seriesDataToSource(t)),this._source=t;var i=this._data=t.data,n=t.sourceFormat;n===g&&(this._offset=0,this._dimSize=e,this._data=i);var r=b[n===v?n+"_"+t.seriesLayoutBy:n];a(this,r)}var _=x.prototype;_.pure=!1,_.persistent=!0,_.getSource=function(){return this._source};var b={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:M},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],i=this._data,n=0;n0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var n="radial"===e.type?u:l,r=n(t,e,i),a=e.colorStops,o=0;o=4&&(u={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(u&&null!=o&&null!=l&&(h=V(u,o,l),!e.ignoreViewBox)){var f=r;r=new n,r.add(f),f.scale=h.scale.slice(),f.position=h.position.slice()}return e.ignoreRootClip||null==o||null==l||r.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:r,width:o,height:l,viewBoxRect:u,viewBoxTransform:h}},A.prototype._parseNode=function(t,e){var i,n=t.nodeName.toLowerCase();if("defs"===n?this._isDefine=!0:"text"===n&&(this._isText=!0),this._isDefine){var r=I[n];if(r){var a=r.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=a)}}else{r=C[n];r&&(i=r.call(this,t,e),e.add(i))}var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===n?this._isDefine=!1:"text"===n&&(this._isText=!1)},A.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,n=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(n)}var r=new a({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});D(e,r),L(t,r,this._defs);var o=r.style.fontSize;o&&o<9&&(r.style.fontSize=9,r.scale=r.scale||[1,1],r.scale[0]*=o/9,r.scale[1]*=o/9);var s=r.getBoundingRect();return this._textX+=s.width,e.add(r),r};var C={g:function(t,e){var i=new n;return D(e,i),L(t,i,this._defs),i},rect:function(t,e){var i=new s;return D(e,i),L(t,i,this._defs),i.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),i},circle:function(t,e){var i=new o;return D(e,i),L(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),i},line:function(t,e){var i=new u;return D(e,i),L(t,i,this._defs),i.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),i},ellipse:function(t,e){var i=new l;return D(e,i),L(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),i},polygon:function(t,e){var i=t.getAttribute("points");i&&(i=O(i));var n=new c({shape:{points:i||[]}});return D(e,n),L(t,n,this._defs),n},polyline:function(t,e){var i=new h;D(e,i),L(t,i,this._defs);var n=t.getAttribute("points");n&&(n=O(n));var r=new d({shape:{points:n||[]}});return r},image:function(t,e){var i=new r;return D(e,i),L(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(t,e){var i=t.getAttribute("x")||0,r=t.getAttribute("y")||0,a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(a),this._textY=parseFloat(r)+parseFloat(o);var s=new n;return D(e,s),L(t,s,this._defs),s},tspan:function(t,e){var i=t.getAttribute("x"),r=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=r&&(this._textY=parseFloat(r));var a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new n;return D(e,s),L(t,s,this._defs),this._textX+=a,this._textY+=o,s},path:function(t,e){var i=t.getAttribute("d")||"",n=m(i);return D(e,n),L(t,n,this._defs),n}},I={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),i=parseInt(t.getAttribute("y1")||0,10),n=parseInt(t.getAttribute("x2")||10,10),r=parseInt(t.getAttribute("y2")||0,10),a=new f(e,i,n,r);return k(t,a),a},radialgradient:function(t){}};function k(t,e){var i=t.firstChild;while(i){if(1===i.nodeType){var n=i.getAttribute("offset");n=n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var r=i.getAttribute("stop-color")||"#000000";e.addColorStop(n,r)}i=i.nextSibling}}function D(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),b(e.__inheritedStyle,t.__inheritedStyle))}function O(t){for(var e=w(t).split(M),i=[],n=0;n0;a-=2){var o=r[a],s=r[a-1];switch(n=n||g.create(),s){case"translate":o=w(o).split(M),g.translate(n,n,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=w(o).split(M),g.scale(n,n,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=w(o).split(M),g.rotate(n,n,parseFloat(o[0]));break;case"skew":o=w(o).split(M),console.warn("Skew transform is not supported yet");break;case"matrix":o=w(o).split(M);n[0]=parseFloat(o[0]),n[1]=parseFloat(o[1]),n[2]=parseFloat(o[2]),n[3]=parseFloat(o[3]),n[4]=parseFloat(o[4]),n[5]=parseFloat(o[5]);break}}e.setLocalTransform(n)}}var B=/([^\s:;]+)\s*:\s*([^:;]+)/g;function F(t){var e=t.getAttribute("style"),i={};if(!e)return i;var n,r={};B.lastIndex=0;while(null!=(n=B.exec(e)))r[n[1]]=n[2];for(var a in P)P.hasOwnProperty(a)&&null!=r[a]&&(i[P[a]]=r[a]);return i}function V(t,e,i){var n=e/t.width,r=i/t.height,a=Math.min(n,r),o=[a,a],s=[-(t.x+t.width/2)*a+e/2,-(t.y+t.height/2)*a+i/2];return{scale:o,position:s}}function H(t,e){var i=new A;return i.parse(t,e)}e.parseXML=T,e.makeViewBoxTransform=V,e.parseSVG=H},"30a3":function(t,e,i){var n=i("6d8b"),r=i("607d"),a=r.Dispatcher,o=i("98b7"),s=i("06ad"),l=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,a.call(this)};l.prototype={constructor:l,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],h=Math.max(1/n.scale,0);o[0]=(o[0]-u)*h+u,o[1]=(o[1]-u)*h+u;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return a(0,o,[0,100],0,d.minSpan,d.maxSpan),this._range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:h((function(t,e,i,n,r,a){var o=c[n]([a.oldX,a.oldY],[a.newX,a.newY],e,r,i);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength})),scrollMove:h((function(t,e,i,n,r,a){var o=c[n]([0,0],[a.scrollDelta,a.scrollDelta],e,r,i);return o.signal*(t[1]-t[0])*a.scrollDelta}))};function h(t){return function(e,i,n,r){var o=this._range,s=o.slice(),l=e.axisModels[0];if(l){var u=t(s,l,e,i,n,r);return a(u,s,[0,100],"all"),this._range=s,o[0]!==s[0]||o[1]!==s[1]?s:void 0}}}var c={grid:function(t,e,i,n,r){var a=i.axis,o={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===a.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(t,e,i,n,r){var a=i.axis,o={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a.inverse?-1:1),o},singleAxis:function(t,e,i,n,r){var a=i.axis,o=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===a.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}},d=l;t.exports=d},3301:function(t,e,i){var n=i("6d8b"),r=i("6179"),a=i("b1d4"),o=i("93d0"),s=o.SOURCE_FORMAT_ORIGINAL,l=i("2f45"),u=l.getDimensionTypeByAxis,h=i("e0d3"),c=h.getDataItemValue,d=i("2039"),f=i("8b7f"),p=f.getCoordSysInfoBySeries,g=i("ec6f"),v=i("ee1a"),m=v.enableDataStack,y=i("0f99"),x=y.makeSeriesEncodeForAxisCoordSys;function _(t,e,i){i=i||{},g.isInstance(t)||(t=g.seriesDataToSource(t));var o,s=e.get("coordinateSystem"),l=d.get(s),h=p(e);h&&(o=n.map(h.coordSysDims,(function(t){var e={name:t},i=h.axisMap.get(t);if(i){var n=i.get("type");e.type=u(n)}return e}))),o||(o=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var c,f,v=a(t,{coordDimensions:o,generateCoord:i.generateCoord,encodeDefaulter:i.useEncodeDefaulter?n.curry(x,o,e):null});h&&n.each(v,(function(t,e){var i=t.coordDim,n=h.categoryAxisMap.get(i);n&&(null==c&&(c=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(f=!0)})),f||null==c||(v[c].otherDims.itemName=0);var y=m(e,v),_=new r(v,e);_.setCalculationInfo(y);var w=null!=c&&b(t)?function(t,e,i,n){return n===c?i:this.defaultDimValueGetter(t,e,i,n)}:null;return _.hasItemOption=!1,_.initData(t,null,w),_}function b(t){if(t.sourceFormat===s){var e=w(t.data||[]);return null!=e&&!n.isArray(c(e))}}function w(t){var e=0;while(e1&&(h*=o(_),f*=o(_));var b=(r===a?-1:1)*o((h*h*(f*f)-h*h*(x*x)-f*f*(y*y))/(h*h*(x*x)+f*f*(y*y)))||0,w=b*h*x/f,S=b*-f*y/h,M=(t+i)/2+l(m)*w-s(m)*S,T=(e+n)/2+s(m)*w+l(m)*S,A=d([1,0],[(y-w)/h,(x-S)/f]),C=[(y-w)/h,(x-S)/f],I=[(-1*y-w)/h,(-1*x-S)/f],k=d(C,I);c(C,I)<=-1&&(k=u),c(C,I)>=1&&(k=0),0===a&&k>0&&(k-=2*u),1===a&&k<0&&(k+=2*u),v.addData(g,M,T,h,f,A,k,m,a)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function v(t){if(!t)return new r;for(var e,i=0,n=0,a=i,o=n,s=new r,l=r.CMD,u=t.match(p),h=0;h0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/r*a+i[0]}function s(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?a(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function l(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function u(t){return t.sort((function(t,e){return t-e})),t}function h(t){if(t=+t,isNaN(t))return 0;var e=1,i=0;while(Math.round(t*e)/e!==t)e*=10,i++;return i}function c(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slice(i+1);return n<0?-n:0}var r=e.indexOf(".");return r<0?0:e.length-1-r}function d(t,e){var i=Math.log,n=Math.LN10,r=Math.floor(i(t[1]-t[0])/n),a=Math.round(i(Math.abs(e[1]-e[0]))/n),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20}function f(t,e,i){if(!t[e])return 0;var r=n.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===r)return 0;var a=Math.pow(10,i),o=n.map(t,(function(t){return(isNaN(t)?0:t)/r*a*100})),s=100*a,l=n.map(o,(function(t){return Math.floor(t)})),u=n.reduce(l,(function(t,e){return t+e}),0),h=n.map(o,(function(t,e){return t-l[e]}));while(uc&&(c=h[f],d=f);++l[d],h[d]=0,++u}return l[e]/a}var p=9007199254740991;function g(t){var e=2*Math.PI;return(t%e+e)%e}function v(t){return t>-r&&t=10&&e++,e}function b(t,e){var i,n=_(t),r=Math.pow(10,n),a=t/r;return i=e?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10,t=i*r,n>=-20?+t.toFixed(n<0?-n:0):t}function w(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),r=+t[n-1],a=i-n;return a?r+a*(t[n]-r):r}function S(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,i=1,n=0;n=0}e.linearMap=o,e.parsePercent=s,e.round=l,e.asc=u,e.getPrecision=h,e.getPrecisionSafe=c,e.getPixelPrecision=d,e.getPercentWithPrecision=f,e.MAX_SAFE_INTEGER=p,e.remRadian=g,e.isRadianAroundZero=v,e.parseDate=y,e.quantity=x,e.quantityExponent=_,e.nice=b,e.quantile=w,e.reformIntervals=S,e.isNumeric=M},"38a2":function(t,e,i){var n=i("2b17"),r=n.retrieveRawValue,a=i("eda2"),o=a.getTooltipMarker,s=a.formatTpl,l=i("e0d3"),u=l.getTooltipRenderMode,h=/\{@(.+?)\}/g,c={getDataParams:function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),r=i.getRawIndex(t),a=i.getName(t),s=i.getRawDataItem(t),l=i.getItemVisual(t,"color"),h=i.getItemVisual(t,"borderColor"),c=this.ecModel.getComponent("tooltip"),d=c&&c.get("renderMode"),f=u(d),p=this.mainType,g="series"===p,v=i.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:a,dataIndex:r,data:s,dataType:e,value:n,color:l,borderColor:h,dimensionNames:v?v.dimensionNames:null,encode:v?v.encode:null,marker:o({color:l,renderMode:f}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,i,n,a){e=e||"normal";var o=this.getData(i),l=o.getItemModel(t),u=this.getDataParams(t,i);null!=n&&u.value instanceof Array&&(u.value=u.value[n]);var c=l.get("normal"===e?[a||"label","formatter"]:[e,a||"label","formatter"]);if("function"===typeof c)return u.status=e,u.dimensionIndex=n,c(u);if("string"===typeof c){var d=s(c,u);return d.replace(h,(function(e,i){var n=i.length;return"["===i.charAt(0)&&"]"===i.charAt(n-1)&&(i=+i.slice(1,n-1)),r(o,t,i)}))}},getRawValue:function(t,e){return r(this.getData(e),t)},formatTooltip:function(){}};t.exports=c},3901:function(t,e,i){var n=i("282b"),r=n([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),a={getLineStyle:function(t){var e=r(this,t);return e.lineDash=this.getLineDash(e.lineWidth),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),i=Math.max(t,2),n=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[n,n]:[i,i])}};t.exports=a},"392f":function(t,e,i){var n=i("6d8b"),r=n.inherits,a=i("19eb"),o=i("9850");function s(t){a.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},s.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i0?100:20}},getFirstTargetAxisModel:function(){var t;return c((function(e){if(null==t){var i=this.get(e.axisIndex);i.length&&(t=this.dependentModels[e.axis][i[0]])}}),this),t},eachTargetAxis:function(t,e){var i=this.ecModel;c((function(n){h(this.get(n.axisIndex),(function(r){t.call(e,n,r,this,i)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var i=this.getAxisProxy(t,e);return i&&i.getAxisModel()},setRawRange:function(t){var e=this.option,i=this.settledOption;h([["start","startValue"],["end","endValue"]],(function(n){null==t[n[0]]&&null==t[n[1]]||(e[n[0]]=i[n[0]]=t[n[0]],e[n[1]]=i[n[1]]=t[n[1]])}),this),p(this,t)},setCalculatedRange:function(t){var e=this.option;h(["start","startValue","end","endValue"],(function(i){e[i]=t[i]}))},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var i in e)if(e.hasOwnProperty(i)&&e[i].hostedBy(this))return e[i];for(var i in e)if(e.hasOwnProperty(i)&&!e[i].hostedBy(this))return e[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});function f(t){var e={};return h(["start","end","startValue","endValue","throttle"],(function(i){t.hasOwnProperty(i)&&(e[i]=t[i])})),e}function p(t,e){var i=t._rangePropMode,n=t.get("rangeMode");h([["start","startValue"],["end","endValue"]],(function(t,r){var a=null!=e[t[0]],o=null!=e[t[1]];a&&!o?i[r]="percent":!a&&o?i[r]="value":n?i[r]=n[r]:a&&(i[r]="percent")}))}var g=d;t.exports=g},"3eba":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("697e7")),a=i("6d8b"),o=i("41ef"),s=i("22d1"),l=i("04f6"),u=i("1fab"),h=i("7e63"),c=i("843e"),d=i("2039"),f=i("ca98"),p=i("fb05"),g=i("d15d"),v=i("6cb7"),m=i("4f85"),y=i("b12f"),x=i("e887"),_=i("2306"),b=i("e0d3"),w=i("88b3"),S=w.throttle,M=i("fd63"),T=i("b809"),A=i("998c"),C=i("69ff"),I=i("c533"),k=i("f219");i("0352");var D=i("ec34"),O=a.assert,P=a.each,L=a.isFunction,R=a.isObject,E=v.parseClassType,z="4.9.0",N={zrender:"4.3.2"},B=1,F=1e3,V=800,H=900,W=5e3,G=1e3,j=1100,U=2e3,Z=3e3,Y=3500,q=4e3,X=5e3,$={PROCESSOR:{FILTER:F,SERIES_FILTER:V,STATISTIC:W},VISUAL:{LAYOUT:G,PROGRESSIVE_LAYOUT:j,GLOBAL:U,CHART:Z,POST_CHART_LAYOUT:Y,COMPONENT:q,BRUSH:X}},K="__flagInMainProcess",J="__optionUpdated",Q=/^[a-zA-Z0-9_]+$/;function tt(t,e){return function(i,n,r){e||!this._disposed?(i=i&&i.toLowerCase(),u.prototype[t].call(this,i,n,r)):_t(this.id)}}function et(){u.call(this)}function it(t,e,i){i=i||{},"string"===typeof e&&(e=Pt[e]),this.id,this.group,this._dom=t;var n="canvas",o=this._zr=r.init(t,{renderer:i.renderer||n,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=S(a.bind(o.flush,o),17);e=a.clone(e);e&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new d;var s=this._api=Mt(this);function h(t,e){return t.__prio-e.__prio}l(Ot,h),l(It,h),this._scheduler=new C(this,s,It,Ot),u.call(this,this._ecEventProcessor=new Tt),this._messageCenter=new et,this._initEvents(),this.resize=a.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),dt(o,this),a.setAsPrimitive(this)}et.prototype.on=tt("on",!0),et.prototype.off=tt("off",!0),et.prototype.one=tt("one",!0),a.mixin(et,u);var nt=it.prototype;function rt(t,e,i){if(this._disposed)_t(this.id);else{var n,r=this._model,a=this._coordSysMgr.getCoordinateSystems();e=b.parseFinder(r,e);for(var o=0;o0&&t.unfinished);t.unfinished||this._zr.flush()}}},nt.getDom=function(){return this._dom},nt.getZr=function(){return this._zr},nt.setOption=function(t,e,i){if(this._disposed)_t(this.id);else{var n;if(R(e)&&(i=e.lazyUpdate,n=e.silent,e=e.notMerge),this[K]=!0,!this._model||e){var r=new f(this._api),a=this._theme,o=this._model=new h;o.scheduler=this._scheduler,o.init(null,null,a,r)}this._model.setOption(t,kt),i?(this[J]={silent:n},this[K]=!1):(ot(this),at.update.call(this),this._zr.flush(),this[J]=!1,this[K]=!1,ht.call(this,n),ct.call(this,n))}},nt.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},nt.getModel=function(){return this._model},nt.getOption=function(){return this._model&&this._model.getOption()},nt.getWidth=function(){return this._zr.getWidth()},nt.getHeight=function(){return this._zr.getHeight()},nt.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},nt.getRenderedCanvas=function(t){if(s.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},nt.getSvgDataURL=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return a.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},nt.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,i=this._model,n=[],r=this;P(e,(function(t){i.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return P(n,(function(t){t.group.ignore=!1})),a}_t(this.id)},nt.getConnectedDataURL=function(t){if(this._disposed)_t(this.id);else if(s.canvasSupported){var e="svg"===t.type,i=this.group,n=Math.min,o=Math.max,l=1/0;if(Et[i]){var u=l,h=l,c=-l,d=-l,f=[],p=t&&t.pixelRatio||1;a.each(Rt,(function(r,s){if(r.group===i){var l=e?r.getZr().painter.getSvgDom().innerHTML:r.getRenderedCanvas(a.clone(t)),p=r.getDom().getBoundingClientRect();u=n(p.left,u),h=n(p.top,h),c=o(p.right,c),d=o(p.bottom,d),f.push({dom:l,left:p.left,top:p.top})}})),u*=p,h*=p,c*=p,d*=p;var g=c-u,v=d-h,m=a.createCanvas(),y=r.init(m,{renderer:e?"svg":"canvas"});if(y.resize({width:g,height:v}),e){var x="";return P(f,(function(t){var e=t.left-u,i=t.top-h;x+=''+t.dom+""})),y.painter.getSvgRoot().innerHTML=x,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new _.Rect({shape:{x:0,y:0,width:g,height:v},style:{fill:t.connectedBackgroundColor}})),P(f,(function(t){var e=new _.Image({style:{x:t.left*p-u,y:t.top*p-h,image:t.dom}});y.add(e)})),y.refreshImmediately(),m.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},nt.convertToPixel=a.curry(rt,"convertToPixel"),nt.convertFromPixel=a.curry(rt,"convertFromPixel"),nt.containPixel=function(t,e){if(!this._disposed){var i,n=this._model;return t=b.parseFinder(n,t),a.each(t,(function(t,n){n.indexOf("Models")>=0&&a.each(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)i|=!!r.containPoint(e);else if("seriesModels"===n){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(i|=a.containPoint(e,t))}}),this)}),this),!!i}_t(this.id)},nt.getVisual=function(t,e){var i=this._model;t=b.parseFinder(i,t,{defaultMainType:"series"});var n=t.seriesModel,r=n.getData(),a=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?r.indexOfRawIndex(t.dataIndex):null;return null!=a?r.getItemVisual(a,e):r.getVisual(e)},nt.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},nt.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var at={prepareAndUpdate:function(t){ot(this),at.update.call(this,t)},update:function(t){var e=this._model,i=this._api,n=this._zr,r=this._coordSysMgr,a=this._scheduler;if(e){a.restoreData(e,t),a.performSeriesTasks(e),r.create(e,i),a.performDataProcessorTasks(e,t),lt(this,e),r.update(e,i),pt(e),a.performVisualTasks(e,t),gt(this,e,i,t);var l=e.get("backgroundColor")||"transparent";if(s.canvasSupported)n.setBackgroundColor(l);else{var u=o.parse(l);l=o.stringify(u,"rgb"),0===u[3]&&(l="transparent")}yt(e,i)}},updateTransform:function(t){var e=this._model,i=this,n=this._api;if(e){var r=[];e.eachComponent((function(a,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,n,t);l&&l.update&&r.push(s)}else r.push(s)}));var o=a.createHashMap();e.eachSeries((function(r){var a=i._chartsMap[r.__viewId];if(a.updateTransform){var s=a.updateTransform(r,e,n,t);s&&s.update&&o.set(r.uid,1)}else o.set(r.uid,1)})),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),mt(i,e,n,t,o),yt(e,this._api)}},updateView:function(t){var e=this._model;e&&(x.markUpdateMethod(t,"updateView"),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),gt(this,this._model,this._api,t),yt(e,this._api))},updateVisual:function(t){at.update.call(this,t)},updateLayout:function(t){at.update.call(this,t)}};function ot(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),ft(t,"component",e,i),ft(t,"chart",e,i),i.plan()}function st(t,e,i,n,r){var o=t._model;if(n){var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};r&&(l.subType=r);var u=i.excludeSeriesId;null!=u&&(u=a.createHashMap(b.normalizeToArray(u))),o&&o.eachComponent(l,(function(e){u&&null!=u.get(e.id)||h(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else P(t._componentsViews.concat(t._chartsViews),h);function h(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}}function lt(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries((function(t){n.updateStreamModes(t,i[t.__viewId])}))}function ut(t,e){var i=t.type,n=t.escapeConnect,r=At[i],o=r.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&E(s[0]),this[K]=!0;var u=[t],h=!1;t.batch&&(h=!0,u=a.map(t.batch,(function(e){return e=a.defaults(a.extend({},e),t),e.batch=null,e})));var c,d=[],f="highlight"===i||"downplay"===i;P(u,(function(t){c=r.action(t,this._model,this._api),c=c||a.extend({},t),c.type=o.event||c.type,d.push(c),f?st(this,l,t,"series"):s&&st(this,l,t,s.main,s.sub)}),this),"none"===l||f||s||(this[J]?(ot(this),at.update.call(this,t),this[J]=!1):at[l].call(this,t)),c=h?{type:o.event||i,escapeConnect:n,batch:d}:d[0],this[K]=!1,!e&&this._messageCenter.trigger(c.type,c)}function ht(t){var e=this._pendingActions;while(e.length){var i=e.shift();ut.call(this,i,t)}}function ct(t){!t&&this.trigger("updated")}function dt(t,e){t.on("rendered",(function(){e.trigger("rendered"),!t.animation.isFinished()||e[J]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))}function ft(t,e,i,n){for(var r="component"===e,a=r?t._componentsViews:t._chartsViews,o=r?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ue.get("hoverLayerThreshold")&&!s.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var i=t._chartsMap[e.__viewId];i.__alive&&i.group.traverse((function(t){t.useHoverLayer=!0}))}}))}function wt(t,e){var i=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||t.style.blend!==i&&t.setStyle("blend",i),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.setStyle("blend",i)}))}))}function St(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t.zlevel=n))}))}function Mt(t){var e=t._coordSysMgr;return a.extend(new c(t),{getCoordinateSystems:a.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){while(e){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}}})}function Tt(){this.eventInfo}nt._initEvents=function(){P(xt,(function(t){var e=function(e){var i,n=this.getModel(),r=e.target,o="globalout"===t;if(o)i={};else if(r&&null!=r.dataIndex){var s=r.dataModel||n.getSeriesByIndex(r.seriesIndex);i=s&&s.getDataParams(r.dataIndex,r.dataType,r)||{}}else r&&r.eventData&&(i=a.extend({},r.eventData));if(i){var l=i.componentType,u=i.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=i.seriesIndex);var h=l&&null!=u&&n.getComponent(l,u),c=h&&this["series"===h.mainType?"_chartsMap":"_componentsMap"][h.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:r,packedEvent:i,model:h,view:c},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),P(Ct,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},nt.isDisposed=function(){return this._disposed},nt.clear=function(){this._disposed?_t(this.id):this.setOption({series:[]},!0)},nt.dispose=function(){if(this._disposed)_t(this.id);else{this._disposed=!0,b.setAttribute(this.getDom(),Bt,"");var t=this._api,e=this._model;P(this._componentsViews,(function(i){i.dispose(e,t)})),P(this._chartsViews,(function(i){i.dispose(e,t)})),this._zr.dispose(),delete Rt[this.id]}},a.mixin(it,u),Tt.prototype={constructor:Tt,normalizeQuery:function(t){var e={},i={},n={};if(a.isString(t)){var r=E(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};a.each(t,(function(t,r){for(var a=!1,l=0;l0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,a=!0)}}s.hasOwnProperty(r)&&(i[r]=t,a=!0),a||(n[r]=t)}))}return{cptQuery:e,dataQuery:i,otherQuery:n}},filter:function(t,e,i){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,a=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return h(l,o,"mainType")&&h(l,o,"subType")&&h(l,o,"index","componentIndex")&&h(l,o,"name")&&h(l,o,"id")&&h(u,a,"name")&&h(u,a,"dataIndex")&&h(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,a));function h(t,e,i,n){return null==t[i]||e[n||i]===t[i]}},afterTrigger:function(){this.eventInfo=null}};var At={},Ct={},It=[],kt=[],Dt=[],Ot=[],Pt={},Lt={},Rt={},Et={},zt=new Date-0,Nt=new Date-0,Bt="_echarts_instance_";function Ft(t){var e=0,i=1,n=2,r="__connectUpdateStatus";function a(t,e){for(var i=0;i255?255:t}function o(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function h(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function c(t,e,i){return t+(e-t)*i}function d(t,e,i,n,r){return t[0]=e,t[1]=i,t[2]=n,t[3]=r,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new n(20),g=null;function v(t,e){g&&f(g,e),g=p.put(t,g||e.slice())}function m(t,e){if(t){e=e||[];var i=p.get(t);if(i)return f(e,i);t+="";var n=t.replace(/ /g,"").toLowerCase();if(n in r)return f(e,r[n]),v(t,e),e;if("#"!==n.charAt(0)){var a=n.indexOf("("),o=n.indexOf(")");if(-1!==a&&o+1===n.length){var s=n.substr(0,a),h=n.substr(a+1,o-(a+1)).split(","),c=1;switch(s){case"rgba":if(4!==h.length)return void d(e,0,0,0,1);c=u(h.pop());case"rgb":return 3!==h.length?void d(e,0,0,0,1):(d(e,l(h[0]),l(h[1]),l(h[2]),c),v(t,e),e);case"hsla":return 4!==h.length?void d(e,0,0,0,1):(h[3]=u(h[3]),y(h,e),v(t,e),e);case"hsl":return 3!==h.length?void d(e,0,0,0,1):(y(h,e),v(t,e),e);default:return}}d(e,0,0,0,1)}else{if(4===n.length){var g=parseInt(n.substr(1),16);return g>=0&&g<=4095?(d(e,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),v(t,e),e):void d(e,0,0,0,1)}if(7===n.length){g=parseInt(n.substr(1),16);return g>=0&&g<=16777215?(d(e,(16711680&g)>>16,(65280&g)>>8,255&g,1),v(t,e),e):void d(e,0,0,0,1)}}}}function y(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=u(t[1]),r=u(t[2]),o=r<=.5?r*(n+1):r+n-r*n,s=2*r-o;return e=e||[],d(e,a(255*h(s,o,i+1/3)),a(255*h(s,o,i)),a(255*h(s,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function x(t){if(t){var e,i,n=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(n,r,a),s=Math.max(n,r,a),l=s-o,u=(s+o)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+o):l/(2-s-o);var h=((s-n)/6+l/2)/l,c=((s-r)/6+l/2)/l,d=((s-a)/6+l/2)/l;n===s?e=d-c:r===s?e=1/3+h-d:a===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,u];return null!=t[3]&&f.push(t[3]),f}}function _(t,e){var i=m(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:t[n]<0&&(i[n]=0);return I(i,4===i.length?"rgba":"rgb")}}function b(t){var e=m(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function w(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),r=Math.floor(n),o=Math.ceil(n),l=e[r],u=e[o],h=n-r;return i[0]=a(c(l[0],u[0],h)),i[1]=a(c(l[1],u[1],h)),i[2]=a(c(l[2],u[2],h)),i[3]=s(c(l[3],u[3],h)),i}}var S=w;function M(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),r=Math.floor(n),o=Math.ceil(n),l=m(e[r]),u=m(e[o]),h=n-r,d=I([a(c(l[0],u[0],h)),a(c(l[1],u[1],h)),a(c(l[2],u[2],h)),s(c(l[3],u[3],h))],"rgba");return i?{color:d,leftIndex:r,rightIndex:o,value:n}:d}}var T=M;function A(t,e,i,n){if(t=m(t),t)return t=x(t),null!=e&&(t[0]=o(e)),null!=i&&(t[1]=u(i)),null!=n&&(t[2]=u(n)),I(y(t),"rgba")}function C(t,e){if(t=m(t),t&&null!=e)return t[3]=s(e),I(t,"rgba")}function I(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}e.parse=m,e.lift=_,e.toHex=b,e.fastLerp=w,e.fastMapToColor=S,e.lerp=M,e.mapToColor=T,e.modifyHSL=A,e.modifyAlpha=C,e.stringify=I},"42e5":function(t,e){var i=function(t){this.colorStops=t||[]};i.prototype={constructor:i,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var n=i;t.exports=n},"42f6":function(t,e,i){var n=i("3eba"),r=i("6d8b"),a=i("22d1"),o=i("07d7"),s=i("82f9"),l=i("eda2"),u=i("3842"),h=i("2306"),c=i("133d"),d=i("f934"),f=i("4319"),p=i("17d6"),g=i("697e"),v=i("ff2e"),m=i("e0d3"),y=m.getTooltipRenderMode,x=r.bind,_=r.each,b=u.parsePercent,w=new h.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=n.extendComponentView({type:"tooltip",init:function(t,e){if(!a.node){var i,n=t.getComponent("tooltip"),r=n.get("renderMode");this._renderMode=y(r),"html"===this._renderMode?(i=new o(e.getDom(),e,{appendToBody:n.get("appendToBody",!0)}),this._newLine="
"):(i=new s(e),this._newLine="\n"),this._tooltipContent=i}},render:function(t,e,i){if(!a.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var n=this._tooltipContent;n.update(t),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");p.register("itemTooltip",this._api,x((function(t,i,n){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(i,n):"leave"===t&&this._hide(n))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!i.isDisposed()&&n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY})}))}},manuallyShowTip:function(t,e,i,n){if(n.from!==this.uid&&!a.node){var r=T(n,i);this._ticket="";var o=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var s=w;s.position=[n.x,n.y],s.update(),s.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:s},r)}else if(o)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},r);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var l=c(n,e),u=l.point[0],h=l.point[1];null!=u&&null!=h&&this._tryShow({offsetX:u,offsetY:h,position:n.position,target:l.el},r)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target},r))}},manuallyHideTip:function(t,e,i,n){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(T(n,i))},_manuallyAxisShowTip:function(t,e,i,n){var r=n.seriesIndex,a=n.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=a&&null!=o){var s=e.getSeriesByIndex(r);if(s){var l=s.getData();t=M([l.getItemModel(a),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:a,position:n.position}),!0}}},_tryShow:function(t,e){var i=t.target,n=this._tooltipModel;if(n){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;r&&r.length?this._showAxisTooltip(r,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=r.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,n=this._tooltipModel,a=[e.offsetX,e.offsetY],o=[],s=[],u=M([e.tooltipOption,n]),h=this._renderMode,c=this._newLine,d={};_(t,(function(t){_(t.dataByAxis,(function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),n=t.value,a=[];if(e&&null!=n){var u=v.getValueLabel(n,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);r.each(t.seriesDataIndices,(function(o){var l=i.getSeriesByIndex(o.seriesIndex),c=o.dataIndexInside,f=l&&l.getDataParams(c);if(f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=g.getAxisRawValue(e.axis,n),f.axisValueLabel=u,f){s.push(f);var p,v=l.formatTooltip(c,!0,null,h);if(r.isObject(v)){p=v.html;var m=v.markers;r.merge(d,m)}else p=v;a.push(p)}}));var f=u;"html"!==h?o.push(a.join(c)):o.push((f?l.encodeHTML(f)+c:"")+a.join(c))}}))}),this),o.reverse(),o=o.join(this._newLine+this._newLine);var f=e.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,f,a[0],a[1],this._tooltipContent,s):this._showTooltipContent(u,o,s,Math.random(),a[0],a[1],f,void 0,d)}))},_showSeriesItemTooltip:function(t,e,i){var n=this._ecModel,a=e.seriesIndex,o=n.getSeriesByIndex(a),s=e.dataModel||o,l=e.dataIndex,u=e.dataType,h=s.getData(u),c=M([h.getItemModel(l),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),d=c.get("trigger");if(null==d||"item"===d){var f,p,g=s.getDataParams(l,u),v=s.formatTooltip(l,!1,u,this._renderMode);r.isObject(v)?(f=v.html,p=v.markers):(f=v,p=null);var m="item_"+s.name+"_"+l;this._showOrMove(c,(function(){this._showTooltipContent(c,f,g,m,t.offsetX,t.offsetY,t.position,t.target,p)})),i({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:a,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if("string"===typeof n){var r=n;n={content:r,formatter:r}}var a=new f(n,this._tooltipModel,this._ecModel),o=a.get("content"),s=Math.random();this._showOrMove(a,(function(){this._showTooltipContent(a,o,a.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)})),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,r,a,o,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent,c=t.get("formatter");o=o||t.get("position");var d=e;if(c&&"string"===typeof c)d=l.formatTpl(c,i,!0);else if("function"===typeof c){var f=x((function(e,n){e===this._ticket&&(h.setContent(n,u,t),this._updatePosition(t,o,r,a,h,i,s))}),this);this._ticket=n,d=c(i,n,f)}h.setContent(d,u,t),h.show(t),this._updatePosition(t,o,r,a,h,i,s)}},_updatePosition:function(t,e,i,n,a,o,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=a.getSize(),c=t.get("align"),f=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof e&&(e=e([i,n],o,a.el,p,{viewSize:[l,u],contentSize:h.slice()})),r.isArray(e))i=b(e[0],l),n=b(e[1],u);else if(r.isObject(e)){e.width=h[0],e.height=h[1];var g=d.getLayoutRect(e,{width:l,height:u});i=g.x,n=g.y,c=null,f=null}else if("string"===typeof e&&s){var v=I(e,p,h);i=v[0],n=v[1]}else{v=A(i,n,a,l,u,c?null:20,f?null:20);i=v[0],n=v[1]}if(c&&(i-=k(c)?h[0]/2:"right"===c?h[0]:0),f&&(n-=k(f)?h[1]/2:"bottom"===f?h[1]:0),t.get("confine")){v=C(i,n,a,l,u);i=v[0],n=v[1]}a.moveTo(i,n)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&_(e,(function(e,n){var r=e.dataByAxis||{},a=t[n]||{},o=a.dataByAxis||[];i&=r.length===o.length,i&&_(r,(function(t,e){var n=o[e]||{},r=t.seriesDataIndices||[],a=n.seriesDataIndices||[];i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&r.length===a.length,i&&_(r,(function(t,e){var n=a[e];i&=t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}))}))})),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){a.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",e))}});function M(t){var e=t.pop();while(t.length){var i=t.pop();i&&(f.isInstance(i)&&(i=i.get("tooltip",!0)),"string"===typeof i&&(i={formatter:i}),e=new f(i,e,e.ecModel))}return e}function T(t,e){return t.dispatchAction||r.bind(e.dispatchAction,e)}function A(t,e,i,n,r,a,o){var s=i.getOuterSize(),l=s.width,u=s.height;return null!=a&&(t+l+a>n?t-=l+a:t+=a),null!=o&&(e+u+o>r?e-=u+o:e+=o),[t,e]}function C(t,e,i,n,r){var a=i.getOuterSize(),o=a.width,s=a.height;return t=Math.min(t+o,n)-o,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function I(t,e,i){var n=i[0],r=i[1],a=5,o=0,s=0,l=e.width,u=e.height;switch(t){case"inside":o=e.x+l/2-n/2,s=e.y+u/2-r/2;break;case"top":o=e.x+l/2-n/2,s=e.y-r-a;break;case"bottom":o=e.x+l/2-n/2,s=e.y+u+a;break;case"left":o=e.x-n-a,s=e.y+u/2-r/2;break;case"right":o=e.x+l+a,s=e.y+u/2-r/2}return[o,s]}function k(t){return"center"===t||"middle"===t}t.exports=S},4319:function(t,e,i){var n=i("6d8b"),r=i("22d1"),a=i("e0d3"),o=a.makeInner,s=i("625e"),l=s.enableClassExtend,u=s.enableClassCheck,h=i("3901"),c=i("9bdb"),d=i("fe21"),f=i("551f"),p=n.mixin,g=o();function v(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function m(t,e,i){for(var n=0;n3?1.4:r>1?1.2:1.1,l=n>0?s:1/s;f(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:a,originY:o})}if(i){var u=Math.abs(n),h=(n>0?1:-1)*(u>3?.4:u>1?.15:.05);f(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:h,originX:a,originY:o})}}}function d(t){if(!o.isTaken(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;f(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY})}}function f(t,e,i,n,r){t.pointerChecker&&t.pointerChecker(n,r.originX,r.originY)&&(a.stop(n.event),p(t,e,i,n,r))}function p(t,e,i,r,a){a.isAvailableBehavior=n.bind(g,null,i,r),t.trigger(e,a)}function g(t,e,i){var r=i[t];return!t||r&&(!n.isString(r)||e.event[r+"Key"])}n.mixin(s,r);var v=s;t.exports=v},"4a3f":function(t,e,i){var n=i("401b"),r=n.create,a=n.distSquare,o=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,h=s(3),c=1/3,d=r(),f=r(),p=r();function g(t){return t>-l&&tl||t<-l}function m(t,e,i,n,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*n+3*a*i)}function y(t,e,i,n,r){var a=1-r;return 3*(((e-t)*a+2*(i-e)*r)*a+(n-i)*r*r)}function x(t,e,i,n,r,a){var l=n+3*(e-i)-t,u=3*(i-2*e+t),d=3*(e-t),f=t-r,p=u*u-3*l*d,v=u*d-9*l*f,m=d*d-3*u*f,y=0;if(g(p)&&g(v))if(g(u))a[0]=0;else{var x=-d/u;x>=0&&x<=1&&(a[y++]=x)}else{var _=v*v-4*p*m;if(g(_)){var b=v/p,w=(x=-u/l+b,-b/2);x>=0&&x<=1&&(a[y++]=x),w>=0&&w<=1&&(a[y++]=w)}else if(_>0){var S=s(_),M=p*u+1.5*l*(-v+S),T=p*u+1.5*l*(-v-S);M=M<0?-o(-M,c):o(M,c),T=T<0?-o(-T,c):o(T,c);x=(-u-(M+T))/(3*l);x>=0&&x<=1&&(a[y++]=x)}else{var A=(2*p*u-3*l*v)/(2*s(p*p*p)),C=Math.acos(A)/3,I=s(p),k=Math.cos(C),D=(x=(-u-2*I*k)/(3*l),w=(-u+I*(k+h*Math.sin(C)))/(3*l),(-u+I*(k-h*Math.sin(C)))/(3*l));x>=0&&x<=1&&(a[y++]=x),w>=0&&w<=1&&(a[y++]=w),D>=0&&D<=1&&(a[y++]=D)}}return y}function _(t,e,i,n,r){var a=6*i-12*e+6*t,o=9*e+3*n-3*t-9*i,l=3*e-3*t,u=0;if(g(o)){if(v(a)){var h=-l/a;h>=0&&h<=1&&(r[u++]=h)}}else{var c=a*a-4*o*l;if(g(c))r[0]=-a/(2*o);else if(c>0){var d=s(c),f=(h=(-a+d)/(2*o),(-a-d)/(2*o));h>=0&&h<=1&&(r[u++]=h),f>=0&&f<=1&&(r[u++]=f)}}return u}function b(t,e,i,n,r,a){var o=(e-t)*r+t,s=(i-e)*r+e,l=(n-i)*r+i,u=(s-o)*r+o,h=(l-s)*r+s,c=(h-u)*r+u;a[0]=t,a[1]=o,a[2]=u,a[3]=c,a[4]=c,a[5]=h,a[6]=l,a[7]=n}function w(t,e,i,n,r,o,l,h,c,g,v){var y,x,_,b,w,S=.005,M=1/0;d[0]=c,d[1]=g;for(var T=0;T<1;T+=.05)f[0]=m(t,i,r,l,T),f[1]=m(e,n,o,h,T),b=a(d,f),b=0&&b=0&&h<=1&&(r[u++]=h)}}else{var c=o*o-4*a*l;if(g(c)){h=-o/(2*a);h>=0&&h<=1&&(r[u++]=h)}else if(c>0){var d=s(c),f=(h=(-o+d)/(2*a),(-o-d)/(2*a));h>=0&&h<=1&&(r[u++]=h),f>=0&&f<=1&&(r[u++]=f)}}return u}function A(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function C(t,e,i,n,r){var a=(e-t)*n+t,o=(i-e)*n+e,s=(o-a)*n+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=i}function I(t,e,i,n,r,o,l,h,c){var g,v=.005,m=1/0;d[0]=l,d[1]=h;for(var y=0;y<1;y+=.05){f[0]=S(t,i,r,y),f[1]=S(e,n,o,y);var x=a(d,f);x=0&&xe?(t.apply(a,o),r=s):i&&(clearTimeout(n),n=setTimeout((function(){t.apply(a,o)}),i))}}function a(t,e,i){if(e){var n=t,r=e.split(".");r.forEach((function(t,e){e===r.length-1?n[t]=i:(n[t]||(n[t]={}),n=n[t])}))}}function o(t,e,i){if(!e)return t;var n=e.split("."),r=t;return n.some((function(t,e){if(void 0===r[t])return r=i,!0;r=r[t]})),r}function s(t){try{return JSON.parse(window.localStorage.getItem(t))}catch(e){}}function l(t,e){try{window.localStorage.setItem(t,JSON.stringify(e))}catch(i){}}i.r(e),i.d(e,"debounce",(function(){return n})),i.d(e,"throttle",(function(){return r})),i.d(e,"set",(function(){return a})),i.d(e,"get",(function(){return o})),i.d(e,"getStore",(function(){return s})),i.d(e,"setStore",(function(){return l})),i.d(e,"clone",(function(){return x})),i.d(e,"cloneDeep",(function(){return _})),i.d(e,"getType",(function(){return h})),i.d(e,"getTypeof",(function(){return c})),i.d(e,"isObject",(function(){return d})),i.d(e,"isArray",(function(){return f})),i.d(e,"isFunction",(function(){return p})),i.d(e,"isString",(function(){return g})),i.d(e,"isBoolean",(function(){return v})),i.d(e,"isEmptyObj",(function(){return m})),i.d(e,"isNumber",(function(){return y})),i.d(e,"kebabToCamel",(function(){return b})),i.d(e,"camelToKebab",(function(){return w})),i.d(e,"unique",(function(){return S})),i.d(e,"getLinearValue",(function(){return M})),i.d(e,"getFnAndObjValue",(function(){return T})),i.d(e,"arrDelItem",(function(){return A})),i.d(e,"arrDelArrItem",(function(){return C})),i.d(e,"getArrMin",(function(){return I})),i.d(e,"getArrMax",(function(){return k})),i.d(e,"toArray",(function(){return D})),i.d(e,"noop",(function(){return O})),i.d(e,"extend",(function(){return L})),i.d(e,"isEqual",(function(){return R})),i.d(e,"hasOwn",(function(){return P}));var u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function h(t){return Object.prototype.toString.call(t)}function c(t){return"undefined"===typeof t?"undefined":u(t)}function d(t){return"[object Object]"===h(t)}function f(t){return"[object Array]"===h(t)}function p(t){return"[object Function]"===h(t)}function g(t){return"[object String]"===h(t)}function v(t){return"[object Boolean]"===h(t)}function m(t){return d(t)&&!Object.keys(t).length}function y(t){return"[object Number]"===h(t)}function x(t){return d(t)?Object.assign({},t):f(t)?t.slice():void 0}function _(t){return JSON.parse(JSON.stringify(t))}function b(t){return t.replace(/-(\w)/g,(function(t,e){return e.toUpperCase()}))}function w(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function S(t){var e=[];return t.forEach((function(t){~e.indexOf(t)||e.push(t)})),e}function M(t,e,i,n,r){var a=(n-e)/(i-t),o=e-t*a;return null==r?{k:a,b:o}:r*a+o}function T(t,e){return p(t)?t(e):d(t)&&null!=t[e]?t[e]:e}function A(t,e){return t.filter((function(t){return e!==t}))}var C=function(t,e){return t.filter((function(t){return!~e.indexOf(t)}))};function I(t){return Math.min.apply(null,t)}function k(t){return Math.max.apply(null,t)}function D(t){return Array.prototype.slice.call(t)}function O(){}function P(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var L=Object.assign||function(t){for(var e=1;e":"\n",d="richText"===n,f={},p=0;function g(i){var o=r.reduce(i,(function(t,e,i){var n=m.getDimensionInfo(i);return t|(n&&!1!==n.tooltip&&null!=n.displayName)}),0),c=[];function g(t,i){var r=m.getDimensionInfo(i);if(r&&!1!==r.otherDims.tooltip){var g=r.type,v="sub"+a.seriesIndex+"at"+p,y=h({color:w,type:"subItem",renderMode:n,markerId:v}),x="string"===typeof y?y:y.content,_=(o?x+l(r.displayName||"-")+": ":"")+l("ordinal"===g?t+"":"time"===g?e?"":s("yyyy/MM/dd hh:mm:ss",t):u(t));_&&c.push(_),d&&(f[v]=w,++p)}}y.length?r.each(y,(function(e){g(M(m,t,e),e)})):r.each(i,g);var v=o?d?"\n":"
":"",x=v+c.join(v||", ");return{renderMode:n,content:x,style:f}}function v(t){return{renderMode:n,content:l(u(t)),style:f}}var m=this.getData(),y=m.mapDimension("defaultedTooltip",!0),x=y.length,_=this.getRawValue(t),b=r.isArray(_),w=m.getItemVisual(t,"color");r.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=x>1||b&&!x?g(_):v(x?M(m,t,y[0]):b?_[0]:_),T=S.content,A=a.seriesIndex+"at"+p,C=h({color:w,type:"item",renderMode:n,markerId:A});f[A]=w,++p;var I=m.getName(t),k=this.name;c.isNameSpecified(this)||(k=""),k=k?l(k)+(e?": ":o):"";var D="string"===typeof C?C:C.content,O=e?D+k+T:k+D+(I?l(I)+": "+T:T);return{html:O,markers:f}},isAnimationEnabled:function(){if(a.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,i){var n=this.ecModel,r=f.getColorFromPalette.call(this,t,e,i);return r||(r=n.getColorFromPalette(t,e,i)),r},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function C(t){var e=t.name;c.isNameSpecified(t)||(t.name=I(t)||e)}function I(t){var e=t.getRawData(),i=e.mapDimension("seriesName",!0),n=[];return r.each(i,(function(t){var i=e.getDimensionInfo(t);i.displayName&&n.push(i.displayName)})),n.join(" ")}function k(t){return t.model.getRawData().count()}function D(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),O}function O(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function P(t,e){r.each(t.CHANGABLE_METHODS,(function(i){t.wrapMethod(i,r.curry(L,e))}))}function L(t){var e=R(t);e&&e.setOutputEnd(this.count())}function R(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var r=n.agentStubMap;r&&(n=r.get(t.uid))}return n}}r.mixin(A,p),r.mixin(A,f);var E=A;t.exports=E},"4fac":function(t,e,i){var n=i("620b"),r=i("9c2c");function a(t,e,i){var a=e.points,o=e.smooth;if(a&&a.length>=2){if(o&&"spline"!==o){var s=r(a,o,i,e.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var l=a.length,u=0;u<(i?l:l-1);u++){var h=s[2*u],c=s[2*u+1],d=a[(u+1)%l];t.bezierCurveTo(h[0],h[1],c[0],c[1],d[0],d[1])}}else{"spline"===o&&(a=n(a,i)),t.moveTo(a[0][0],a[0][1]);u=1;for(var f=a.length;u=0}function l(t,e){t=t.slice();var i=n.map(t,r.capitalFirst);e=(e||[]).slice();var a=n.map(e,r.capitalFirst);return function(r,o){n.each(t,(function(t,n){for(var s={name:t,capital:i[n]},l=0;l=0}function a(t,r){var a=!1;return e((function(e){n.each(i(t,e)||[],(function(t){r.records[e.name][t]&&(a=!0)}))})),a}function o(t,r){r.nodes.push(t),e((function(e){n.each(i(t,e)||[],(function(t){r.records[e.name][t]=!0}))}))}}e.isCoordSupported=s,e.createNameEach=l,e.eachAxisDim=u,e.createLinkedNodesFinder=h},"551f":function(t,e,i){var n=i("282b"),r=n([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),a={getItemStyle:function(t,e){var i=r(this,t,e),n=this.getBorderLineDash();return n&&(i.lineDash=n),i},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=a},5576:function(t,e,i){var n=i("6d8b"),r=i("4a01"),a=i("88b3"),o="\0_ec_dataZoom_roams";function s(t,e){var i=h(t),r=e.dataZoomId,o=e.coordId;n.each(i,(function(t,i){var a=t.dataZoomInfos;a[r]&&n.indexOf(e.allCoordIds,o)<0&&(delete a[r],t.count--)})),d(i);var s=i[o];s||(s=i[o]={coordId:o,dataZoomInfos:{},count:0},s.controller=c(t,s),s.dispatchAction=n.curry(f,t)),!s.dataZoomInfos[r]&&s.count++,s.dataZoomInfos[r]=e;var l=p(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(e.containsPoint),a.createOrUpdate(s,"dispatchAction",e.dataZoomModel.get("throttle",!0),"fixRate")}function l(t,e){var i=h(t);n.each(i,(function(t){t.controller.dispose();var i=t.dataZoomInfos;i[e]&&(delete i[e],t.count--)})),d(i)}function u(t){return t.type+"\0_"+t.id}function h(t){var e=t.getZr();return e[o]||(e[o]={})}function c(t,e){var i=new r(t.getZr());return n.each(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(i){var r=[];n.each(e.dataZoomInfos,(function(n){if(i.isAvailableBehavior(n.dataZoomModel.option)){var a=(n.getRange||{})[t],o=a&&a(e.controller,i);!n.dataZoomModel.get("disabled",!0)&&o&&r.push({dataZoomId:n.dataZoomId,start:o[0],end:o[1]})}})),r.length&&e.dispatchAction(r)}))})),i}function d(t){n.each(t,(function(e,i){e.count||(e.controller.dispose(),delete t[i])}))}function f(t,e){t.dispatchAction({type:"dataZoom",batch:e})}function p(t){var e,i="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0;return n.each(t,(function(t){var n=t.dataZoomModel,o=!n.get("disabled",!0)&&(!n.get("zoomLock",!0)||"move");r[i+o]>r[i+e]&&(e=o),a&=n.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a}}}e.register=s,e.unregister=l,e.generateCoordId=u},"562e":function(t,e,i){var n=i("6d8b");function r(t){null!=t&&n.extend(this,t),this.otherDims={}}var a=r;t.exports=a},5693:function(t,e){function i(t,e){var i,n,r,a,o,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"===typeof c?i=n=r=a=c:c instanceof Array?1===c.length?i=n=r=a=c[0]:2===c.length?(i=r=c[0],n=a=c[1]):3===c.length?(i=c[0],n=a=c[1],r=c[2]):(i=c[0],n=c[1],r=c[2],a=c[3]):i=n=r=a=0,i+n>u&&(o=i+n,i*=u/o,n*=u/o),r+a>u&&(o=r+a,r*=u/o,a*=u/o),n+r>h&&(o=n+r,n*=h/o,r*=h/o),i+a>h&&(o=i+a,i*=h/o,a*=h/o),t.moveTo(s+i,l),t.lineTo(s+u-n,l),0!==n&&t.arc(s+u-n,l+n,n,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+a,l+h),0!==a&&t.arc(s+a,l+h-a,a,Math.PI/2,Math.PI),t.lineTo(s,l+i),0!==i&&t.arc(s+i,l+i,i,Math.PI,1.5*Math.PI)}e.buildPath=i},"58df":function(t,e,i){var n=i("6d8b"),r=i("2306");function a(t,e,i,a){var o=i.axis;if(!o.scale.isBlank()){var s=i.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),h=a.coordinateSystem.getRect(),c=o.getTicksCoords({tickModel:s,clamp:!0});if(c.length){var d=u.length,f=t.__splitAreaColors,p=n.createHashMap(),g=0;if(f)for(var v=0;v=0;if(r){var a="touchend"!==n?e.targetTouches[0]:e.changedTouches[0];a&&c(t,a,e,i)}else c(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&u.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function g(t,e,i,n){l?t.addEventListener(e,i,n):t.attachEvent("on"+e,i)}function v(t,e,i,n){l?t.removeEventListener(e,i,n):t.detachEvent("on"+e,i)}var m=l?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function y(t){return 2===t.which||3===t.which}function x(t){return t.which>1}e.clientToLocal=c,e.getNativeEvent=f,e.normalizeEvent=p,e.addEventListener=g,e.removeEventListener=v,e.stop=m,e.isMiddleOrRightButtonOnMouseUpDown=y,e.notLeftMouse=x},6179:function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=i("4319"),o=i("80f0"),s=i("ec6f"),l=i("2b17"),u=l.defaultDimValueGetters,h=l.DefaultDataProvider,c=i("2f45"),d=c.summarizeDimensions,f=i("562e"),p=r.isObject,g="undefined",v=-1,m="e\0\0",y={float:typeof Float64Array===g?Array:Float64Array,int:typeof Int32Array===g?Array:Int32Array,ordinal:Array,number:Array,time:Array},x=typeof Uint32Array===g?Array:Uint32Array,_=typeof Int32Array===g?Array:Int32Array,b=typeof Uint16Array===g?Array:Uint16Array;function w(t){return t._rawCount>65535?x:b}function S(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],T=["_extent","_approximateExtent","_rawExtent"];function A(t,e){r.each(M.concat(e.__wrappedMethods||[]),(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t.__wrappedMethods=e.__wrappedMethods,r.each(T,(function(i){t[i]=r.clone(e[i])})),t._calculationInfo=r.extend(e._calculationInfo)}var C=function(t,e){t=t||["x","y"];for(var i={},n=[],a={},o=0;o=0?this._indices[t]:-1}function R(t,e){var i=t._idList[e];return null==i&&(i=O(t,t._idDimIdx,e)),null==i&&(i=m+e),i}function E(t){return r.isArray(t)||(t=[t]),t}function z(t,e){var i=t.dimensions,n=new C(r.map(i,t.getDimensionInfo,t),t.hostModel);A(n,t);for(var a=n._storage={},o=t._storage,s=0;s=0?(a[l]=N(o[l]),n._rawExtent[l]=B(),n._extent[l]=null):a[l]=o[l])}return n}function N(t){for(var e=new Array(t.length),i=0;ix[1]&&(x[1]=y)}e&&(this._nameList[f]=e[p])}this._rawCount=this._count=l,this._extent={},D(this)},I._initDataFromProvider=function(t,e){if(!(t>=e)){for(var i,n=this._chunkSize,r=this._rawData,a=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,u=this._nameList,h=this._idList,c=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;pM[1]&&(M[1]=S)}if(!r.pure){var T=u[y];if(m&&null==T)if(null!=m.name)u[y]=T=m.name;else if(null!=i){var A=o[i],C=a[A][x];if(C){T=C[_];var I=l[A].ordinalMeta;I&&I.categories.length&&(T=I.categories[T])}}var O=null==m?null:m.id;null==O&&null!=T&&(d[T]=d[T]||0,O=T,d[T]>0&&(O+="__ec__"+d[T]),d[T]++),null!=O&&(h[y]=O)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},D(this)}},I.count=function(){return this._count},I.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,i=this._count;if(e===Array){r=new e(i);for(var n=0;n=0&&e=0&&es&&(s=u)}return n=[o,s],this._extent[t]=n,n},I.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},I.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},I.getCalculationInfo=function(t){return this._calculationInfo[t]},I.setCalculationInfo=function(t,e){p(t)?r.extend(this._calculationInfo,t):this._calculationInfo[t]=e},I.getSum=function(t){var e=this._storage[t],i=0;if(e)for(var n=0,r=this.count();n=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,i=e[t];if(null!=i&&it))return a;r=a-1}}return-1},I.indicesOfNearest=function(t,e,i){var n=this._storage,r=n[t],a=[];if(!r)return a;null==i&&(i=1/0);for(var o=1/0,s=-1,l=0,u=0,h=this.count();u=0&&s<0)&&(o=d,s=c,l=0),c===s&&(a[l++]=u))}return a.length=l,a},I.getRawIndex=P,I.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],i=0;i=u&&y<=h||isNaN(y))&&(o[s++]=d),d++}c=!0}else if(2===n){f=this._storage[l];var x=this._storage[e[1]],_=t[e[1]][0],b=t[e[1]][1];for(p=0;p=u&&y<=h||isNaN(y))&&(M>=_&&M<=b||isNaN(M))&&(o[s++]=d),d++}}c=!0}}if(!c)if(1===n)for(m=0;m=u&&y<=h||isNaN(y))&&(o[s++]=T)}else for(m=0;mt[C][1])&&(A=!1)}A&&(o[s++]=this.getRawIndex(m))}return sw[1]&&(w[1]=b)}}}return a},I.downSample=function(t,e,i,n){for(var r=z(this,[t]),a=r._storage,o=[],s=Math.floor(1/e),l=a[t],u=this.count(),h=this._chunkSize,c=r._rawExtent[t],d=new(w(this))(u),f=0,p=0;pu-p&&(s=u-p,o.length=s);for(var g=0;gc[1]&&(c[1]=x),d[f++]=_}return r._count=f,r._indices=d,r.getRawIndex=L,r},I.getItemModel=function(t){var e=this.hostModel;return new a(this.getRawDataItem(t),e,e&&e.ecModel)},I.diff=function(t){var e=this;return new o(t?t.getIndices():[],this.getIndices(),(function(e){return R(t,e)}),(function(t){return R(e,t)}))},I.getVisual=function(t){var e=this._visual;return e&&e[t]},I.setVisual=function(t,e){if(p(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},I.setLayout=function(t,e){if(p(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},I.getLayout=function(t){return this._layout[t]},I.getItemLayout=function(t){return this._itemLayouts[t]},I.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?r.extend(this._itemLayouts[t]||{},e):e},I.clearItemLayouts=function(){this._itemLayouts.length=0},I.getItemVisual=function(t,e,i){var n=this._itemVisuals[t],r=n&&n[e];return null!=r||i?r:this.getVisual(e)},I.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=n,p(e))for(var a in e)e.hasOwnProperty(a)&&(n[a]=e[a],r[a]=!0);else n[e]=i,r[e]=!0},I.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var F=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};I.setItemGraphicEl=function(t,e){var i=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=i&&i.seriesIndex,"group"===e.type&&e.traverse(F,e)),this._graphicEls[t]=e},I.getItemGraphicEl=function(t){return this._graphicEls[t]},I.eachItemGraphicEl=function(t,e){r.each(this._graphicEls,(function(i,n){i&&t&&t.call(e,i,n)}))},I.cloneShallow=function(t){if(!t){var e=r.map(this.dimensions,this.getDimensionInfo,this);t=new C(e,this.hostModel)}if(t._storage=this._storage,A(t,this),this._indices){var i=this._indices.constructor;t._indices=new i(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?L:P,t},I.wrapMethod=function(t,e){var i=this[t];"function"===typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(r.slice(arguments)))})},I.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],I.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=C;t.exports=V},"620b":function(t,e,i){var n=i("401b"),r=n.distance;function a(t,e,i,n,r,a,o){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*o+(-3*(e-i)-2*s-l)*a+s*r+e}function o(t,e){for(var i=t.length,n=[],o=0,s=1;si-2?i-1:f+1],c=t[f>i-3?i-1:f+2]);var v=p*p,m=p*v;n.push([a(u[0],g[0],h[0],c[0],p,v,m),a(u[1],g[1],h[1],c[1],p,v,m)])}return n}t.exports=o},"625e":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=".",o="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(a),e.main=t[0]||"",e.sub=t[1]||""),e}function l(t){r.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function u(t,e){t.$constructor=t,t.extend=function(t){var e=this,i=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return r.extend(i.prototype,t),i.extend=this.extend,i.superCall=d,i.superApply=f,r.inherits(i,this),i.superClass=e,i}}var h=0;function c(t){var e=["__\0is_clz",h++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function d(t,e){var i=r.slice(arguments,2);return this.superClass.prototype[e].apply(t,i)}function f(t,e,i){return this.superClass.prototype[e].apply(t,i)}function p(t,e){e=e||{};var i={};function n(t){var e=i[t.main];return e&&e[o]||(e=i[t.main]={},e[o]=!0),e}if(t.registerClass=function(t,e){if(e)if(l(e),e=s(e),e.sub){if(e.sub!==o){var r=n(e);r[e.sub]=t}}else i[e.main]=t;return t},t.getClass=function(t,e,n){var r=i[t];if(r&&r[o]&&(r=e?r[e]:null),n&&!r)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){t=s(t);var e=[],n=i[t.main];return n&&n[o]?r.each(n,(function(t,i){i!==o&&e.push(t)})):e.push(n),e},t.hasClass=function(t){return t=s(t),!!i[t.main]},t.getAllClassMainTypes=function(){var t=[];return r.each(i,(function(e,i){t.push(i)})),t},t.hasSubTypes=function(t){t=s(t);var e=i[t.main];return e&&e[o]},t.parseClassType=s,e.registerWhenExtend){var a=t.extend;a&&(t.extend=function(e){var i=a.call(this,e);return t.registerClass(i,e.type)})}return t}function g(t,e){}e.parseClassType=s,e.enableClassExtend=u,e.enableClassCheck=c,e.enableClassManagement=p,e.setReadOnly=g},6521:function(t,e,i){"use strict";function n(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}var r=i("4cbb"),a=n(i("3eba"));i("007d"),i("d28f");var o=n(i("7e03")),s=i("89d6"),l={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"v-charts-component-loading"},[i("div",{staticClass:"loader"},[i("div",{staticClass:"loading-spinner"},[i("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[i("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])])])])},staticRenderFns:[]},u={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"v-charts-data-empty"},[t._v(" 暂无数据 ")])},staticRenderFns:[]},h=Object.assign||function(t){for(var e=1;e>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",r[u]+":0",n[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(o),i.push(o)}return i}function c(t,e,i){for(var n=i?"invTrans":"trans",r=e[n],o=e.srcCoords,s=!0,l=[],u=[],h=0;h<4;h++){var c=t[h].getBoundingClientRect(),d=2*h,f=c.left,p=c.top;l.push(f,p),s=s&&o&&f===o[d]&&p===o[d+1],u.push(t[h].offsetLeft,t[h].offsetTop)}return s&&r?r:(e.srcCoords=l,e[n]=i?a(u,l):a(l,u))}function d(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=l,e.transformCoordWithViewport=u,e.isCanvasEl=d},6679:function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("3eba")),a=i("cd33"),o=r.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,n){this.axisPointerClass&&a.fixValue(t),o.superApply(this,"render",arguments),s(this,t,e,i,n,!0)},updateAxisPointer:function(t,e,i,n,r){s(this,t,e,i,n,!1)},remove:function(t,e){var i=this._axisPointer;i&&i.remove(e),o.superApply(this,"remove",arguments)},dispose:function(t,e){l(this,e),o.superApply(this,"dispose",arguments)}});function s(t,e,i,n,r,s){var u=o.getAxisPointerClass(t.axisPointerClass);if(u){var h=a.getAxisPointerModel(e);h?(t._axisPointer||(t._axisPointer=new u)).render(e,h,n,s):l(t,n)}}function l(t,e,i){var n=t._axisPointer;n&&n.dispose(e,i),t._axisPointer=null}var u=[];o.registerAxisPointerClass=function(t,e){u[t]=e},o.getAxisPointerClass=function(t){return t&&u[t]};var h=o;t.exports=h},"68ab":function(t,e,i){var n=i("4a3f"),r=n.quadraticProjectPoint;function a(t,e,i,n,a,o,s,l,u){if(0===s)return!1;var h=s;if(u>e+h&&u>n+h&&u>o+h||ut+h&&l>i+h&&l>a+h||l0&&u>0&&!f&&(s=0),s<0&&u<0&&!p&&(u=0));var v=e.ecModel;if(v&&"time"===o){var m,y=h("bar",v);if(r.each(y,(function(t){m|=t.getBaseAxis()===e.axis})),m){var x=c(y),_=g(s,u,e,x);s=_.min,u=_.max}}return{extent:[s,u],fixMin:f,fixMax:p}}function g(t,e,i,n){var a=i.axis.getExtent(),o=a[1]-a[0],s=d(n,i.axis);if(void 0===s)return{min:t,max:e};var l=1/0;r.each(s,(function(t){l=Math.min(t.offset,l)}));var u=-1/0;r.each(s,(function(t){u=Math.max(t.offset+t.width,u)})),l=Math.abs(l),u=Math.abs(u);var h=l+u,c=e-t,f=1-(l+u)/o,p=c/f-c;return e+=p*(u/h),t-=p*(l/h),{min:t,max:e}}function v(t,e){var i=p(t,e),n=i.extent,r=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var a=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:r,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:"interval"===a||"time"===a?e.get("minInterval"):null,maxInterval:"interval"===a||"time"===a?e.get("maxInterval"):null});var o=e.get("interval");null!=o&&t.setInterval&&t.setInterval(o)}function m(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new a(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(s.getClass(e)||o).create(t)}}function y(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)}function x(t){var e=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"===typeof e?(e=function(e){return function(i){return i=t.scale.getLabel(i),e.replace("{value}",null!=i?i:"")}}(e),e):"function"===typeof e?function(n,r){return null!=i&&(r=n-i),e(_(t,n),r)}:function(e){return t.scale.getLabel(e)}}function _(t,e){return"category"===t.type?t.scale.getLabel(e):e}function b(t){var e=t.model,i=t.scale;if(e.get("axisLabel.show")&&!i.isBlank()){var n,r,a="category"===t.type,o=i.getExtent();a?r=i.count():(n=i.getTicks(),r=n.length);var s,l=t.getLabelModel(),u=x(t),h=1;r>40&&(h=Math.ceil(r/40));for(var c=0;ci.blockIndex,a=r?i.step:null,o=n&&n.modDataCount,s=null!=o?Math.ceil(o/a):null;return{step:a,modBy:s,modDataCount:o}}},y.getPipeline=function(t){return this._pipelineMap.get(t)},y.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData(),r=n.count(),a=i.progressiveEnabled&&e.incrementalPrepareRender&&r>=i.threshold,o=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=i.context={progressiveRender:a,modDataCount:s,large:o}},y.restorePipelines=function(t){var e=this,i=e._pipelineMap=s();t.eachSeries((function(t){var n=t.getProgressive(),r=t.uid;i.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:n&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),P(e,t,t.dataTask)}))},y.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),i=this.api;r(this._allHandlers,(function(n){var r=t.get(n.uid)||t.set(n.uid,[]);n.reset&&b(this,n,r,e,i),n.overallReset&&w(this,n,r,e,i)}),this)},y.prepareView=function(t,e,i,n){var r=t.renderTask,a=r.context;a.model=e,a.ecModel=i,a.api=n,r.__block=!t.incrementalPrepareRender,P(this,e,r)},y.performDataProcessorTasks=function(t,e){x(this,this._dataProcessorHandlers,t,e,{block:!0})},y.performVisualTasks=function(t,e,i){x(this,this._visualHandlers,t,e,i)},y.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},y.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)}))};var _=y.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function b(t,e,i,n,r){var a=i.seriesTaskMap||(i.seriesTaskMap=s()),o=e.seriesType,l=e.getTargetSeries;function u(i){var o=i.uid,s=a.get(o)||a.set(o,h({plan:C,reset:I,count:O}));s.context={model:i,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},P(t,i,s)}e.createOnAllSeries?n.eachRawSeries(u):o?n.eachRawSeriesByType(o,u):l&&l(n,r).each(u);var c=t._pipelineMap;a.each((function(t,e){c.get(e)||(t.dispose(),a.removeKey(e))}))}function w(t,e,i,n,a){var o=i.overallTask=i.overallTask||h({reset:S});o.context={ecModel:n,api:a,overallReset:e.overallReset,scheduler:t};var l=o.agentStubMap=o.agentStubMap||s(),u=e.seriesType,c=e.getTargetSeries,d=!0,f=e.modifyOutputEnd;function p(e){var i=e.uid,n=l.get(i);n||(n=l.set(i,h({reset:M,onDirty:A})),o.dirty()),n.context={model:e,overallProgress:d,modifyOutputEnd:f},n.agent=o,n.__block=d,P(t,e,n)}u?n.eachRawSeriesByType(u,p):c?c(n,a).each(p):(d=!1,r(n.getSeries(),p));var g=t._pipelineMap;l.each((function(t,e){g.get(e)||(t.dispose(),o.dirty(),l.removeKey(e))}))}function S(t){t.overallReset(t.ecModel,t.api,t.payload)}function M(t,e){return t.overallProgress&&T}function T(){this.agent.dirty(),this.getDownstream().dirty()}function A(){this.agent&&this.agent.dirty()}function C(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function I(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=v(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?a(e,(function(t,e){return D(e)})):k}var k=D(0);function D(t){return function(e,i){var n=i.data,r=i.resetDefines[t];if(r&&r.dataEach)for(var a=e.start;a=0;o--)a=n.merge(a,e[o],!0);t.defaultOption=a}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});function g(t){var e=[];return n.each(p.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=n.map(e,(function(t){return l(t).main})),"dataset"!==t&&n.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}s(p,{registerWhenExtend:!0}),a.enableSubTypeDefaulter(p),a.enableTopologicalTravel(p,g),n.mixin(p,d);var v=p;t.exports=v},"6d8b":function(t,e){var i={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},n={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},r=Object.prototype.toString,a=Array.prototype,o=a.forEach,s=a.filter,l=a.slice,u=a.map,h=a.reduce,c={};function d(t,e){"createCanvas"===t&&(y=null),c[t]=e}function f(t){if(null==t||"object"!==typeof t)return t;var e=t,a=r.call(t);if("[object Array]"===a){if(!X(t)){e=[];for(var o=0,s=t.length;o3&&void 0!==arguments[3]?arguments[3]:"-";if(isNaN(t))return n;if(!e)return t;if(a.isFunction(e))return e(t,r);i=isNaN(i)?0:++i;var o=".["+new Array(i).join(0)+"]",s=e;switch(e){case"KMB":s=i?"0,0"+o+"a":"0,0a";break;case"normal":s=i?"0,0"+o:"0,0";break;case"percent":s=i?"0,0"+o+"%":"0,0.[00]%";break}return r(t,s)},s=function(t){var e={};return Object.keys(t).forEach((function(i){t[i].forEach((function(t){e[t]=i}))})),e},l=function(t){return new Promise((function(e,i){var n=new XMLHttpRequest;n.open("GET",t),n.send(null),n.onload=function(){e(JSON.parse(n.responseText))},n.onerror=function(){i(JSON.parse(n.responseText))}}))},u={},h=function(t){var e=t.position,i=t.positionJsonLink,n=t.beforeRegisterMapOnce,r=t.mapURLProfix,a=i||""+r+e+".json";return u[a]||(u[a]=l(a).then((function(t){return n&&(t=n(t)),t}))),u[a]},c=null,d=null,f=function(t,e){return c||(c=new Promise((function(i,n){var r="bmap"+Date.now();window[r]=i;var a=document.createElement("script");a.src=["https://api.map.baidu.com/api?v="+(e||"2.0"),"ak="+t,"callback="+r].join("&"),document.body.appendChild(a)}))),c},p=function(t,e){return d||(d=new Promise((function(i,n){var r="amap"+Date.now();window[r]=i;var a=document.createElement("script");a.src=["https://webapi.amap.com/maps?v="+(e||"1.4.3"),"key="+t,"callback="+r].join("&"),document.body.appendChild(a)}))),d};function g(t,e,i){void 0!==t[e]?t[e].push(i):t[e]=[i]}e.getFormated=o,e.getStackMap=s,e.$get=l,e.getMapJSON=h,e.getBmap=f,e.getAmap=p,e.setArrayValue=g},"71ad":function(t,e,i){var n=i("6d8b"),r={show:!0,zlevel: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:"#333",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,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},a={};a.categoryAxis=n.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},r),a.valueAxis=n.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},r),a.timeAxis=n.defaults({scale:!0,min:"dataMin",max:"dataMax"},a.valueAxis),a.logAxis=n.defaults({scale:!0,logBase:10},a.valueAxis);var o=a;t.exports=o},"74cb":function(t,e){var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},elasticOut:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},elasticInOut:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},n=i;t.exports=n},"76a5":function(t,e,i){var n=i("19eb"),r=i("6d8b"),a=i("e86a"),o=i("a73c"),s=i("82eb"),l=s.ContextCachedBy,u=function(t){n.call(this,t)};u.prototype={constructor:u,type:"text",brush:function(t,e){var i=this.style;this.__dirty&&o.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var n=i.text;null!=n&&(n+=""),o.needDrawText(n,i)?(this.setTransform(t),o.renderText(this,t,n,i,null,e),this.restoreTransform(t)):t.__attrCachedBy=l.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&o.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var i=a.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(i.x+=t.x||0,i.y+=t.y||0,o.getStroke(t.textStroke,t.textStrokeWidth)){var n=t.textStrokeWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect}},r.inherits(u,n);var h=u;t.exports=h},7919:function(t,e,i){var n=i("f934"),r=n.getLayoutRect,a=n.box,o=n.positionElement,s=i("eda2"),l=i("2306");function u(t,e,i){var n=e.getBoxLayoutParams(),s=e.get("padding"),l={width:i.getWidth(),height:i.getHeight()},u=r(n,l,s);a(e.get("orient"),t,e.get("itemGap"),u.width,u.height),o(t,n,l,s)}function h(t,e){var i=s.normalizeCssArray(e.get("padding")),n=e.getItemStyle(["color","opacity"]);n.fill=e.get("backgroundColor");t=new l.Rect({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:n,silent:!0,z2:-1});return t}e.layout=u,e.makeBackground=h},"7d6d":function(t,e){var i={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function n(t,e,n){return i.hasOwnProperty(e)?n*t.dpr:n}t.exports=n},"7dcf":function(t,e,i){var n=i("b12f"),r=n.extend({type:"dataZoom",render:function(t,e,i,n){this.dataZoomModel=t,this.ecModel=e,this.api=i},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,i={};function n(t,e,i,n){for(var r,a=0;ae-o){var u=new RegExp("\\.?0{1,"+(n-(e-o))+"}$");l=l.replace(u,"")}return l}function c(t,e,i,r){var u=Math.abs(e),c=!1,d=!1,f="",p="",g=!1,v=void 0,m=void 0;i=i||"",e=e||0,~i.indexOf("(")?(c=!0,i=i.replace(/[(|)]/g,"")):(~i.indexOf("+")||~i.indexOf("-"))&&(m=~i.indexOf("+")?i.indexOf("+"):e<0?i.indexOf("-"):-1,i=i.replace(/[+|-]/g,"")),~i.indexOf("a")&&(v=i.match(/a(k|m|b|t)?/),v=!!v&&v[1],~i.indexOf(" a")&&(f=" "),i=i.replace(new RegExp(f+"a[kmbt]?"),""),u>=a&&!v||"t"===v?(f+=t.abbrLabel.tr,e/=a):u=o&&!v||"b"===v?(f+=t.abbrLabel.bi,e/=o):u=s&&!v||"m"===v?(f+=t.abbrLabel.mi,e/=s):(u=l&&!v||"k"===v)&&(f+=t.abbrLabel.th,e/=l)),~i.indexOf("[.]")&&(d=!0,i=i.replace("[.]","."));var y=e.toString().split(".")[0],x=i.split(".")[1],_=i.indexOf(","),b=(i.split(".")[0].split(",")[0].match(/0/g)||[]).length;if(x?(~x.indexOf("[")?(x=x.replace("]",""),x=x.split("["),p=h(e,x[0].length+x[1].length,r,x[1].length)):p=h(e,x.length,r),y=p.split(".")[0],p=~p.indexOf(".")?"."+p.split(".")[1]:"",d&&0===+p.slice(1)&&(p="")):y=h(e,0,r),f&&!v&&+y>=1e3&&f!==n.trillion&&(y=""+ +y/1e3,f=n.million),~y.indexOf("-")&&(y=y.slice(1),g=!0),y.length0;w--)y="0"+y;_>-1&&(y=y.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")),i.indexOf(".")||(y="");var S=y+p+(f||"");return c?S=(c&&g?"(":"")+S+(c&&g?")":""):m>=0?S=0===m?(g?"-":"+")+S:S+(g?"-":"+"):g&&(S="-"+S),S}function d(t,e){Object.keys(e).forEach((function(i){t[i]=e[i]}))}var f={regexp:/%/,format:function(t,e,i,n){var r=~e.indexOf(" %")?" ":"",a=void 0;return n.options.scalePercentBy100&&(t*=100),e=e.replace(/\s?%/,""),a=n._numberToFormat(t,e,i),~a.indexOf(")")?(a=a.split(""),a.splice(-1,0,r+"%"),a=a.join("")):a=a+r+"%",a}},p={},g={};function v(t,e,i){e=e||p.defaultFormat,i=i||Math.round;var n=void 0,r=void 0;if(0===t&&null!==p.zeroFormat)n=p.zeroFormat;else if(null===t&&null!==p.nullFormat)n=p.nullFormat;else{for(var a in g)if(g[a]&&e.match(g[a].regexp)){r=g[a].format;break}r=r||c.bind(null,p),n=r(t,e,i,m)}return n}function m(t,e,i){var n=void 0;return n=0===t||"undefined"===typeof t?0:null===t||u(t)?null:"string"===typeof t?p.zeroFormat&&t===p.zeroFormat?0:p.nullFormat&&t===p.nullFormat||!t.replace(/[^0-9]+/g,"").length?null:+t:+t||null,v(n,e,i)}d(p,r),m.options=p,m._numberToFormat=c.bind(null,p),m.register=function(t,e){g[t]=e},m.unregister=function(t){g[t]=null},m.setOptions=function(t){d(p,t)},m.reset=function(){d(p,r)},m.register("percentage",f),e["default"]=m},"7e63":function(t,e,i){var n=i("4e08"),r=(n.__DEV__,i("6d8b")),a=r.each,o=r.filter,s=r.map,l=r.isArray,u=r.indexOf,h=r.isObject,c=r.isString,d=r.createHashMap,f=r.assert,p=r.clone,g=r.merge,v=r.extend,m=r.mixin,y=i("e0d3"),x=i("4319"),_=i("6cb7"),b=i("8971"),w=i("e47b"),S=i("0f99"),M=S.resetSourceDefaulter,T="\0_ec_inner",A=x.extend({init:function(t,e,i,n){i=i||{},this.option=null,this._theme=new x(i),this._optionManager=n},setOption:function(t,e){f(!(T in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,i=this._optionManager;if(!t||"recreate"===t){var n=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(n)):k.call(this,n),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var r=i.getTimelineOption(this);r&&(this.mergeOption(r),e=!0)}if(!t||"recreate"===t||"media"===t){var o=i.getMediaOption(this,this._api);o.length&&a(o,(function(t){this.mergeOption(t,e=!0)}),this)}return e},mergeOption:function(t){var e=this.option,i=this._componentsMap,n=[];function r(n,r){var o=y.normalizeToArray(t[n]),s=y.mappingToExists(i.get(n),o);y.makeIdAndName(s),a(s,(function(t,e){var i=t.option;h(i)&&(t.keyInfo.mainType=n,t.keyInfo.subType=O(n,i,t.exist))}));var l=D(i,r);e[n]=[],i.set(n,[]),a(s,(function(t,r){var a=t.exist,o=t.option;if(f(h(o)||a,"Empty component definition"),o){var s=_.getClass(n,t.keyInfo.subType,!0);if(a&&a.constructor===s)a.name=t.keyInfo.name,a.mergeOption(o,this),a.optionUpdated(o,!1);else{var u=v({dependentModels:l,componentIndex:r},t.keyInfo);a=new s(o,this,this,u),v(a,u),a.init(o,this,this,u),a.optionUpdated(null,!0)}}else a.mergeOption({},this),a.optionUpdated({},!1);i.get(n)[r]=a,e[n][r]=a.option}),this),"series"===n&&P(this,i.get("series"))}M(this),a(t,(function(t,i){null!=t&&(_.hasClass(i)?i&&n.push(i):e[i]=null==e[i]?p(t):g(e[i],t,!0))})),_.topologicalTravel(n,_.getAllClassMainTypes(),r,this),this._seriesIndicesMap=d(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=p(this.option);return a(t,(function(e,i){if(_.hasClass(i)){e=y.normalizeToArray(e);for(var n=e.length-1;n>=0;n--)y.isIdInner(e[n])&&e.splice(n,1);t[i]=e}})),delete t[T],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap.get(t);if(i)return i[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i,n=t.index,r=t.id,a=t.name,h=this._componentsMap.get(e);if(!h||!h.length)return[];if(null!=n)l(n)||(n=[n]),i=o(s(n,(function(t){return h[t]})),(function(t){return!!t}));else if(null!=r){var c=l(r);i=o(h,(function(t){return c&&u(r,t.id)>=0||!c&&t.id===r}))}else if(null!=a){var d=l(a);i=o(h,(function(t){return d&&u(a,t.name)>=0||!d&&t.name===a}))}else i=h.slice();return L(i,t)},findComponents:function(t){var e=t.query,i=t.mainType,n=a(e),r=n?this.queryComponents(n):this._componentsMap.get(i);return s(L(r,t));function a(t){var e=i+"Index",n=i+"Id",r=i+"Name";return!t||null==t[e]&&null==t[n]&&null==t[r]?null:{mainType:i,index:t[e],id:t[n],name:t[r]}}function s(e){return t.filter?o(e,t.filter):e}},eachComponent:function(t,e,i){var n=this._componentsMap;if("function"===typeof t)i=e,e=t,n.each((function(t,n){a(t,(function(t,r){e.call(i,n,t,r)}))}));else if(c(t))a(n.get(t),e,i);else if(h(t)){var r=this.findComponents(t);a(r,e,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){R(this),a(this._seriesIndices,(function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)}),this)},eachRawSeries:function(t,e){a(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){R(this),a(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];r.subType===t&&e.call(i,r,n)}),this)},eachRawSeriesByType:function(t,e,i){return a(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return R(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){R(this);var i=o(this._componentsMap.get("series"),t,e);P(this,i)},restoreData:function(t){var e=this._componentsMap;P(this,e.get("series"));var i=[];e.each((function(t,e){i.push(e)})),_.topologicalTravel(i,_.getAllClassMainTypes(),(function(i,n){a(e.get(i),(function(e){("series"!==i||!C(e,t))&&e.restoreData()}))}))}});function C(t,e){if(e){var i=e.seiresIndex,n=e.seriesId,r=e.seriesName;return null!=i&&t.componentIndex!==i||null!=n&&t.id!==n||null!=r&&t.name!==r}}function I(t,e){var i=t.color&&!t.colorLayer;a(e,(function(e,n){"colorLayer"===n&&i||_.hasClass(n)||("object"===typeof e?t[n]=t[n]?g(t[n],e,!1):p(e):null==t[n]&&(t[n]=e))}))}function k(t){t=t,this.option={},this.option[T]=1,this._componentsMap=d({series:[]}),this._seriesIndices,this._seriesIndicesMap,I(t,this._theme.option),g(t,b,!1),this.mergeOption(t)}function D(t,e){l(e)||(e=e?[e]:[]);var i={};return a(e,(function(e){i[e]=(t.get(e)||[]).slice()})),i}function O(t,e,i){var n=e.type?e.type:i?i.subType:_.determineSubType(t,e);return n}function P(t,e){t._seriesIndicesMap=d(t._seriesIndices=s(e,(function(t){return t.componentIndex}))||[])}function L(t,e){return e.hasOwnProperty("subType")?o(t,(function(t){return t.subType===e.subType})):t}function R(t){}m(A,w);var E=A;t.exports=E},"7f72":function(t,e,i){i("6932"),i("3a56"),i("7dcf"),i("a18f"),i("32a1"),i("2c17"),i("9e87")},"7f96":function(t,e,i){var n=i("6d8b"),r=n.isFunction;function a(t,e,i){return{seriesType:t,performRawSeries:!0,reset:function(t,n,a){var o=t.getData(),s=t.get("symbol"),l=t.get("symbolSize"),u=t.get("symbolKeepAspect"),h=t.get("symbolRotate"),c=r(s),d=r(l),f=r(h),p=c||d||f,g=!c&&s?s:e,v=d?null:l;if(o.setVisual({legendSymbol:i||g,symbol:g,symbolSize:v,symbolKeepAspect:u,symbolRotate:h}),!n.isSeriesFiltered(t))return{dataEach:o.hasItemOption||p?m:null};function m(e,i){if(p){var n=t.getRawValue(i),r=t.getDataParams(i);c&&e.setItemVisual(i,"symbol",s(n,r)),d&&e.setItemVisual(i,"symbolSize",l(n,r)),f&&e.setItemVisual(i,"symbolRotate",h(n,r))}if(e.hasItemOption){var a=e.getItemModel(i),o=a.getShallow("symbol",!0),u=a.getShallow("symbolSize",!0),g=a.getShallow("symbolRotate",!0),v=a.getShallow("symbolKeepAspect",!0);null!=o&&e.setItemVisual(i,"symbol",o),null!=u&&e.setItemVisual(i,"symbolSize",u),null!=g&&e.setItemVisual(i,"symbolRotate",g),null!=v&&e.setItemVisual(i,"symbolKeepAspect",v)}}}}}t.exports=a},"80f0":function(t,e){function i(t){return t}function n(t,e,n,r,a){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=a}function r(t,e,i,n,r){for(var a=0;a=0){var h=o.indexOf(l),c=o.substr(u+s.length,h-u-s.length);c.indexOf("sub")>-1?n["marker"+c]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[c],textOffset:[3,0]}:n["marker"+c]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[c]},o=o.substr(h+1),u=o.indexOf("{marker")}var d=i.getModel("textStyle"),f=d.get("fontSize"),p=i.get("textLineHeight");null==p&&(p=Math.round(3*f/2)),this.el=new r({style:a.setTextStyle({},d,{rich:n,text:t,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding"),textLineHeight:p}),z:i.get("z")}),this._zr.add(this.el);var g=this;this.el.on("mouseover",(function(){g._enterable&&(clearTimeout(g._hideTimeout),g._show=!0),g._inContent=!0})),this.el.on("mouseout",(function(){g._enterable&&g._show&&g.hideLater(g._hideDelay),g._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){if(this.el){var i=this._styleCoord;o(i,this._zr,t,e),this.el.attr("position",[i[0],i[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var l=s;t.exports=l},"843e":function(t,e,i){var n=i("6d8b"),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function a(t){n.each(r,(function(e){this[e]=n.bind(t[e],t)}),this)}var o=a;t.exports=o},"84ce":function(t,e,i){var n=i("6d8b"),r=n.each,a=n.map,o=i("3842"),s=o.linearMap,l=o.getPixelPrecision,u=o.round,h=i("e073"),c=h.createAxisTicks,d=h.createAxisLabels,f=h.calculateCategoryInterval,p=[0,1],g=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};function v(t,e){var i=t[1]-t[0],n=e,r=i/n/2;t[0]+=r,t[1]-=r}function m(t,e,i,n){var a=e.length;if(t.onBand&&!i&&a){var o,s,l=t.getExtent();if(1===a)e[0].coord=l[0],o=e[1]={coord:l[0]};else{var h=e[a-1].tickValue-e[0].tickValue,c=(e[a-1].coord-e[0].coord)/h;r(e,(function(t){t.coord-=c/2}));var d=t.scale.getExtent();s=1+d[1]-e[a-1].tickValue,o={coord:e[a-1].coord+c*s},e.push(o)}var f=l[0]>l[1];p(e[0].coord,l[0])&&(n?e[0].coord=l[0]:e.shift()),n&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]}),p(l[1],o.coord)&&(n?o.coord=l[1]:e.pop()),n&&p(o.coord,l[1])&&e.push({coord:l[1]})}function p(t,e){return t=u(t),e=u(e),f?t>e:t=i&&t<=n},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&(i=i.slice(),v(i,n.count())),s(t,p,i,e)},coordToData:function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&(i=i.slice(),v(i,n.count()));var r=s(t,i,p,e);return this.scale.scale(r)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),i=c(this,e),n=i.ticks,r=a(n,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this),o=e.get("alignWithLabel");return m(this,r,o,t.clamp),r},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 i=this.scale.getMinorTicks(e),n=a(i,(function(t){return a(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return n},getViewLabels:function(){return d(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var y=g;t.exports=y},"84d5":function(t,e,i){var n=i("3eba"),r=i("6d8b"),a=i("4319"),o=i("e0d3"),s=o.isNameSpecified,l=i("29a8"),u=l.legend.selector,h={all:{type:"all",title:r.clone(u.all)},inverse:{type:"inverse",title:r.clone(u.inverse)}},c=n.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){c.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var e=t.selector;!0===e&&(e=t.selector=["all","inverse"]),r.isArray(e)&&r.each(e,(function(t,i){r.isString(t)&&(t={type:t}),e[i]=r.merge(t,h[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,i=0;i=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),d=c;t.exports=d},"84ec":function(t,e){var i=Math.log(2);function n(t,e,r,a,o,s){var l=a+"-"+o,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var h=Math.round(Math.log((1<e&&a>n||ar?o:0}t.exports=i},"87b1":function(t,e,i){var n=i("cbe5"),r=i("4fac"),a=n.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){r.buildPath(t,e,!0)}});t.exports=a},"87c3":function(t,e,i){var n=i("6d8b"),r=n.map,a=i("cccd"),o=i("ee1a"),s=o.isDimensionStacked;function l(t){return{seriesType:t,plan:a(),reset:function(t){var e=t.getData(),i=t.coordinateSystem,n=t.pipelineContext,a=n.large;if(i){var o=r(i.dimensions,(function(t){return e.mapDimension(t)})).slice(0,2),l=o.length,u=e.getCalculationInfo("stackResultDimension");return s(e,o[0])&&(o[0]=u),s(e,o[1])&&(o[1]=u),l&&{progress:h}}function h(t,e){for(var n=t.end-t.start,r=a&&new Float32Array(n*l),s=t.start,u=0,h=[],c=[];s=0?c():h=setTimeout(c,-r),l=n};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(t){s=t},d}function o(t,e,o,s){var l=t[e];if(l){var u=l[i]||l,h=l[r],c=l[n];if(c!==o||h!==s){if(null==o||!s)return t[e]=u;l=t[e]=a(u,o,"debounce"===s),l[i]=u,l[r]=s,l[n]=o}return l}}function s(t,e){var n=t[e];n&&n[i]&&(t[e]=n[i])}e.throttle=a,e.createOrUpdate=o,e.clear=s},8918:function(t,e,i){var n=i("6d8b"),r=i("625e"),a=r.parseClassType,o=0;function s(t){return[t||"",o++,Math.random().toFixed(5)].join("_")}function l(t){var e={};return t.registerSubTypeDefaulter=function(t,i){t=a(t),e[t.main]=i},t.determineSubType=function(i,n){var r=n.type;if(!r){var o=a(i).main;t.hasSubTypes(i)&&e[o]&&(r=e[o](n))}return r},t}function u(t,e){function i(t){var i={},o=[];return n.each(t,(function(s){var l=r(i,s),u=l.originalDeps=e(s),h=a(u,t);l.entryCount=h.length,0===l.entryCount&&o.push(s),n.each(h,(function(t){n.indexOf(l.predecessor,t)<0&&l.predecessor.push(t);var e=r(i,t);n.indexOf(e.successor,t)<0&&e.successor.push(s)}))})),{graph:i,noEntryList:o}}function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function a(t,e){var i=[];return n.each(t,(function(t){n.indexOf(e,t)>=0&&i.push(t)})),i}t.topologicalTravel=function(t,e,r,a){if(t.length){var o=i(e),s=o.graph,l=o.noEntryList,u={};n.each(t,(function(t){u[t]=!0}));while(l.length){var h=l.pop(),c=s[h],d=!!u[h];d&&(r.call(a,h,c.originalDeps.slice()),delete u[h]),n.each(c.successor,d?p:f)}n.each(u,(function(){throw new Error("Circle dependency may exists")}))}function f(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function p(t){u[t]=!0,f(t)}}}e.getUID=s,e.enableSubTypeDefaulter=l,e.enableTopologicalTravel=u},8971:function(t,e){var i="";"undefined"!==typeof navigator&&(i=navigator.platform||"");var n={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:i.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=n},"897a":function(t,e,i){var n=i("22d1"),r=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function a(t){return n.browser.ie&&n.browser.version>=11?function(){var e,i=this.__clipPaths,n=this.style;if(i)for(var a=0;a'].join("")},l=["initOptions","loading","dataEmpty","judgeWidth","widthChangeDelay"],u=["grid","dataZoom","visualMap","toolbox","title","legend","xAxis","yAxis","radar","tooltip","axisPointer","brush","geo","timeline","graphic","series","backgroundColor","textStyle"];e.DEFAULT_THEME=n,e.DEFAULT_COLORS=r,e.HEAT_MAP_COLOR=a,e.HEAT_BMAP_COLOR=o,e.itemPoint=s,e.STATIC_PROPS=l,e.ECHARTS_SETTINGS=u},"89e3":function(t,e,i){var n=i("3842"),r=i("eda2"),a=i("e0d8"),o=i("944e"),s=n.round,l=a.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,i=this._extent,n=this._niceExtent,r=this._intervalPrecision,a=[];if(!e)return a;var o=1e4;i[0]o)return[]}var u=a.length?a[a.length-1]:n[1];return i[1]>u&&(t?a.push(s(u+e,r)):a.push(i[1])),a},getMinorTicks:function(t){for(var e=this.getTicks(!0),i=[],r=this.getExtent(),a=1;ar[0]&&d0)n*=10;var o=[a.round(d(e[0]/n)*n),a.round(c(e[1]/n)*n)];this._interval=n,this._niceExtent=o}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function v(t,e){return h(t,u(e))}n.each(["contain","normalize"],(function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}})),g.create=function(){return new g};var m=g;t.exports=m},"8d32":function(t,e,i){var n=i("cbe5"),r=n.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.cx,n=e.cy,r=Math.max(e.r,0),a=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(a),u=Math.sin(a);t.moveTo(l*r+i,u*r+n),t.arc(i,n,r,a,o,!s)}});t.exports=r},"8e43":function(t,e,i){var n=i("6d8b"),r=n.createHashMap,a=n.isObject,o=n.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}s.createByAxisModel=function(t){var e=t.option,i=e.data,n=i&&o(i,h);return new s({categories:n,needCollect:!n,deduplication:!1!==e.dedplication})};var l=s.prototype;function u(t){return t._map||(t._map=r(t.categories))}function h(t){return a(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return u(this).get(t)},l.parseAndCollect=function(t){var e,i=this._needCollect;if("string"!==typeof t&&!i)return t;if(i&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var n=u(this);return e=n.get(t),null==e&&(i?(e=this.categories.length,this.categories[e]=t,n.set(t,e)):e=NaN),e};var c=s;t.exports=c},"8ed2":function(t,e,i){i("48c7");var n=i("6cb7"),r=n.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=r},"903c":function(t,e){function i(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var i=0;ia&&(h=s.interval=a);var c=s.intervalPrecision=o(h),d=s.niceTickExtent=[r(Math.ceil(t[0]/h)*h,c),r(Math.floor(t[1]/h)*h,c)];return l(d,t),s}function o(t){return n.getPrecisionSafe(t)+2}function s(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function l(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=a,e.getIntervalPrecision=o,e.fixExtent=l},9680:function(t,e){function i(t,e,i,n,r,a,o){if(0===r)return!1;var s=r,l=0,u=t;if(o>e+s&&o>n+s||ot+s&&a>i+s||a=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(t){return new l(t.x,t.y,t.width,t.height)};var u=l;t.exports=u},"98b7":function(t,e){var i="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=i},"998c":function(t,e,i){var n=i("6d8b"),r=i("2306"),a=i("e86a"),o=Math.PI;function s(t,e){e=e||{},n.defaults(e,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var i=new r.Group,s=new r.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(s);var l=e.fontSize+" sans-serif",u=new r.Rect({style:{fill:"none",text:e.text,font:l,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});if(i.add(u),e.showSpinner){var h=new r.Arc({shape:{startAngle:-o/2,endAngle:-o/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001});h.animateShape(!0).when(1e3,{endAngle:3*o/2}).start("circularInOut"),h.animateShape(!0).when(1e3,{startAngle:3*o/2}).delay(300).start("circularInOut"),i.add(h)}return i.resize=function(){var i=a.getWidth(e.text,l),n=e.showSpinner?e.spinnerRadius:0,r=(t.getWidth()-2*n-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner?0:i/2),o=t.getHeight()/2;e.showSpinner&&h.setShape({cx:r,cy:o}),u.setShape({x:r-n,y:o-n,width:2*n,height:2*n}),s.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i}t.exports=s},"9bdb":function(t,e,i){var n=i("282b"),r=n([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a={getAreaStyle:function(t,e){return r(this,t,e)}};t.exports=a},"9c2c":function(t,e,i){var n=i("401b"),r=n.min,a=n.max,o=n.scale,s=n.distance,l=n.add,u=n.clone,h=n.sub;function c(t,e,i,n){var c,d,f,p,g=[],v=[],m=[],y=[];if(n){f=[1/0,1/0],p=[-1/0,-1/0];for(var x=0,_=t.length;x<_;x++)r(f,f,t[x]),a(p,p,t[x]);r(f,f,n[0]),a(p,p,n[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(i)c=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){g.push(u(t[x]));continue}c=t[x-1],d=t[x+1]}h(v,d,c),o(v,v,e);var w=s(b,c),S=s(b,d),M=w+S;0!==M&&(w/=M,S/=M),o(m,v,-w),o(y,v,S);var T=l([],b,m),A=l([],b,y);n&&(a(T,T,f),r(T,T,p),a(A,A,f),r(A,A,p)),g.push(T),g.push(A)}return i&&g.push(g.shift()),g}t.exports=c},"9cf9":function(t,e){var i=Math.round;function n(t,e,n){if(e){var r=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=r,t.x2=o,t.y1=s,t.y2=l;var u=n&&n.lineWidth;u&&(i(2*r)===i(2*o)&&(t.x1=t.x2=a(r,u,!0)),i(2*s)===i(2*l)&&(t.y1=t.y2=a(s,u,!0)))}}function r(t,e,i){if(e){var n=e.x,r=e.y,o=e.width,s=e.height;t.x=n,t.y=r,t.width=o,t.height=s;var l=i&&i.lineWidth;l&&(t.x=a(n,l,!0),t.y=a(r,l,!0),t.width=Math.max(a(n+o,l,!1)-t.x,0===o?0:1),t.height=Math.max(a(r+s,l,!1)-t.y,0===s?0:1))}}function a(t,e,n){if(!e)return t;var r=i(2*t);return(r+i(e))%2===0?r/2:(r+(n?1:-1))/2}e.subPixelOptimizeLine=n,e.subPixelOptimizeRect=r,e.subPixelOptimize=a},"9d57":function(t,e,i){var n=i("6d8b"),r=i("3842"),a=r.parsePercent,o=i("ee1a"),s=o.isDimensionStacked,l=i("cccd"),u="__ec_stack_",h=.5,c="undefined"!==typeof Float32Array?Float32Array:Array;function d(t){return t.get("stack")||u+t.seriesIndex}function f(t){return t.dim+t.index}function p(t){var e=[],i=t.axis,r="axis0";if("category"===i.type){for(var a=i.getBandWidth(),o=0;o0&&(o=null===o?l:Math.min(o,l))}i[r]=o}}return i}function m(t){var e=v(t),i=[];return n.each(t,(function(t){var n,r=t.coordinateSystem,o=r.getBaseAxis(),s=o.getExtent();if("category"===o.type)n=o.getBandWidth();else if("value"===o.type||"time"===o.type){var l=o.dim+"_"+o.index,u=e[l],h=Math.abs(s[1]-s[0]),c=o.scale.getExtent(),p=Math.abs(c[1]-c[0]);n=u?h/p*u:h}else{var g=t.getData();n=Math.abs(s[1]-s[0])/g.count()}var v=a(t.get("barWidth"),n),m=a(t.get("barMaxWidth"),n),y=a(t.get("barMinWidth")||1,n),x=t.get("barGap"),_=t.get("barCategoryGap");i.push({bandWidth:n,barWidth:v,barMaxWidth:m,barMinWidth:y,barGap:x,barCategoryGap:_,axisKey:f(o),stackId:d(t)})})),y(i)}function y(t){var e={};n.each(t,(function(t,i){var n=t.axisKey,r=t.bandWidth,a=e[n]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=a.stacks;e[n]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var h=t.barMinWidth;h&&(o[s].minWidth=h);var c=t.barGap;null!=c&&(a.gap=c);var d=t.barCategoryGap;null!=d&&(a.categoryGap=d)}));var i={};return n.each(e,(function(t,e){i[e]={};var r=t.stacks,o=t.bandWidth,s=a(t.categoryGap,o),l=a(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),n.each(r,(function(t){var e=t.maxWidth,i=t.minWidth;if(t.width){n=t.width;e&&(n=Math.min(n,e)),i&&(n=Math.max(n,i)),t.width=n,u-=n+l*n,h--}else{var n=c;e&&en&&(n=i),n!==c&&(t.width=n,u-=n+l*n,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var d,f=0;n.each(r,(function(t,e){t.width||(t.width=c),d=t,f+=t.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;n.each(r,(function(t,n){i[e][n]=i[e][n]||{bandWidth:o,offset:p,width:t.width},p+=t.width*(1+l)}))})),i}function x(t,e,i){if(t&&e){var n=t[f(e)];return null!=n&&null!=i&&(n=n[d(i)]),n}}function _(t,e){var i=g(t,e),r=m(i),a={},o={};n.each(i,(function(t){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),l=d(t),u=r[f(n)][l],h=u.offset,c=u.width,p=i.getOtherAxis(n),g=t.get("barMinHeight")||0;a[l]=a[l]||[],o[l]=o[l]||[],e.setLayout({bandWidth:u.bandWidth,offset:h,size:c});for(var v=e.mapDimension(p.dim),m=e.mapDimension(n.dim),y=s(e,v),x=p.isHorizontal(),_=M(n,p,y),b=0,w=e.count();b=0?"p":"n",O=_;if(y&&(a[l][k]||(a[l][k]={p:_,n:_}),O=a[l][k][D]),x){var P=i.dataToPoint([I,k]);S=O,T=P[1]+h,A=P[0]-_,C=c,Math.abs(A)h||(d=h),{progress:f}}function f(t,e){var h,f=t.count,p=new c(2*f),g=new c(2*f),v=new c(f),m=[],y=[],x=0,_=0;while(null!=(h=t.next()))y[u]=e.get(o,h),y[1-u]=e.get(s,h),m=i.dataToPoint(y,null,m),g[x]=l?n.x+n.width:m[0],p[x++]=m[0],g[x]=l?m[1]:n.y+n.height,p[x++]=m[1],v[_++]=h;e.setLayout({largePoints:p,largeDataIndices:v,largeBackgroundPoints:g,barWidth:d,valueAxisStart:M(r,a,!1),backgroundStart:l?n.x:n.y,valueAxisHorizontal:l})}}};function w(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function S(t){return t.pipelineContext&&t.pipelineContext.large}function M(t,e,i){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=p,e.prepareLayoutBarSeries=g,e.makeColumnLayout=m,e.retrieveColumnLayout=x,e.layout=_,e.largeLayout=b},"9e2e":function(t,e,i){var n=i("a73c"),r=i("9850"),a=i("82eb"),o=a.WILL_BE_RESTORED,s=new r,l=function(){};l.prototype={constructor:l,drawRectText:function(t,e){var i=this.style;e=i.textRect||e,this.__dirty&&n.normalizeTextStyle(i,!0);var r=i.text;if(null!=r&&(r+=""),n.needDrawText(r,i)){t.save();var a=this.transform;i.transformText?this.setTransform(t):a&&(s.copy(e),s.applyTransform(a),e=s),n.renderText(this,t,r,i,e,o),t.restore()}}};var u=l;t.exports=u},"9e47":function(t,e,i){var n=i("6d8b"),r=i("71ad"),a=i("6cb7"),o=i("f934"),s=o.getLayoutParams,l=o.mergeLayoutParam,u=i("8e43"),h=["value","category","time","log"];function c(t,e,i,o){n.each(h,(function(a){e.extend({type:t+"Axis."+a,mergeDefaultAndTheme:function(e,r){var o=this.layoutMode,u=o?s(e):{},h=r.getTheme();n.merge(e,h.get(a+"Axis")),n.merge(e,this.getDefaultOption()),e.type=i(t,e),o&&l(e,u,o)},optionUpdated:function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:n.mergeAll([{},r[a+"Axis"],o],!0)})})),a.registerSubTypeDefaulter(t+"Axis",n.curry(i,t))}t.exports=c},"9e87":function(t,e,i){var n=i("3eba"),r=i("6d8b"),a=i("50e5");n.registerAction("dataZoom",(function(t,e){var i=a.createLinkedNodesFinder(r.bind(e.eachComponent,e,"dataZoom"),a.eachAxisDim,(function(t,e){return t.get(e.axisIndex)})),n=[];e.eachComponent({mainType:"dataZoom",query:t},(function(t,e){n.push.apply(n,i(t).nodes)})),r.each(n,(function(e,i){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))},"9f51":function(t,e,i){var n=i("857d"),r=n.normalizeRadian,a=2*Math.PI;function o(t,e,i,n,o,s,l,u,h){if(0===l)return!1;var c=l;u-=t,h-=e;var d=Math.sqrt(u*u+h*h);if(d-c>i||d+co&&(o+=a);var p=Math.atan2(h,u);return p<0&&(p+=a),p>=n&&p<=o||p+a>=n&&p+a<=o}e.containStroke=o},"9f82":function(t,e,i){var n=i("ee1a"),r=n.isDimensionStacked,a=i("6d8b"),o=a.map;function s(t,e,i){var n,a=t.getBaseAxis(),s=t.getOtherAxis(a),u=l(s,i),h=a.dim,c=s.dim,d=e.mapDimension(c),f=e.mapDimension(h),p="x"===c||"radius"===c?1:0,g=o(t.dimensions,(function(t){return e.mapDimension(t)})),v=e.getCalculationInfo("stackResultDimension");return(n|=r(e,g[0]))&&(g[0]=v),(n|=r(e,g[1]))&&(g[1]=v),{dataDimsForPoint:g,valueStart:u,valueAxisDim:c,baseAxisDim:h,stacked:!!n,valueDim:d,baseDim:f,baseDataOffset:p,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function l(t,e){var i=0,n=t.scale.getExtent();return"start"===e?i=n[0]:"end"===e?i=n[1]:n[0]>0?i=n[0]:n[1]<0&&(i=n[1]),i}function u(t,e,i,n){var r=NaN;t.stacked&&(r=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(r)&&(r=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=i.get(t.baseDim,n),o[1-a]=r,e.dataToPoint(o)}e.prepareDataCoordInfo=s,e.getStackedOnPoint=u},a15a:function(t,e,i){var n=i("6d8b"),r=i("2306"),a=i("9850"),o=i("e86a"),s=o.calculateTextPosition,l=r.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,a=e.height/2;t.moveTo(i,n-a),t.lineTo(i+r,n+a),t.lineTo(i-r,n+a),t.closePath()}}),u=r.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var i=e.cx,n=e.cy,r=e.width/2,a=e.height/2;t.moveTo(i,n-a),t.lineTo(i+r,n),t.lineTo(i,n+a),t.lineTo(i-r,n),t.closePath()}}),h=r.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,r=e.width/5*3,a=Math.max(r,e.height),o=r/2,s=o*o/(a-o),l=n-a+o+s,u=Math.asin(s/o),h=Math.cos(u)*o,c=Math.sin(u),d=Math.cos(u),f=.6*o,p=.7*o;t.moveTo(i-h,l+s),t.arc(i,l,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(i+h-c*f,l+s+d*f,i,n-p,i,n),t.bezierCurveTo(i,n-p,i-h+c*f,l+s+d*f,i-h,l+s),t.closePath()}}),c=r.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.height,n=e.width,r=e.x,a=e.y,o=n/3*2;t.moveTo(r,a),t.lineTo(r+o,a+i),t.lineTo(r,a+i/4*3),t.lineTo(r-o,a+i),t.lineTo(r,a),t.closePath()}}),d={line:r.Line,rect:r.Rect,roundRect:r.Rect,square:r.Rect,circle:r.Circle,diamond:u,pin:h,arrow:c,triangle:l},f={line:function(t,e,i,n,r){r.x1=t,r.y1=e+n/2,r.x2=t+i,r.y2=e+n/2},rect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r.height=n},roundRect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r.height=n,r.r=Math.min(i,n)/4},square:function(t,e,i,n,r){var a=Math.min(i,n);r.x=t,r.y=e,r.width=a,r.height=a},circle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.r=Math.min(i,n)/2},diamond:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r.height=n},pin:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r.height=n},arrow:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r.height=n},triangle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r.height=n}},p={};n.each(d,(function(t,e){p[e]=new t}));var g=r.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,i){var n=s(t,e,i),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.textPosition&&(n.y=i.y+.4*i.height),n},buildPath:function(t,e,i){var n=e.symbolType;if("none"!==n){var r=p[n];r||(n="rect",r=p[n]),f[n](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,i)}}});function v(t,e){if("image"!==this.type){var i=this.style,n=this.shape;n&&"line"===n.symbolType?i.stroke=t:this.__isEmptyBrush?(i.stroke=t,i.fill=e||"#fff"):(i.fill&&(i.fill=t),i.stroke&&(i.stroke=t)),this.dirty(!1)}}function m(t,e,i,n,o,s,l){var u,h=0===t.indexOf("empty");return h&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),u=0===t.indexOf("image://")?r.makeImage(t.slice(8),new a(e,i,n,o),l?"center":"cover"):0===t.indexOf("path://")?r.makePath(t.slice(7),{},new a(e,i,n,o),l?"center":"cover"):new g({shape:{symbolType:t,x:e,y:i,width:n,height:o}}),u.__isEmptyBrush=h,u.setColor=v,u.setColor(s),u}e.createSymbol=m},a18f:function(t,e,i){var n=i("3a56"),r=n.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});t.exports=r},a4fe:function(t,e,i){var n=i("3eba"),r="\0_ec_interaction_mutex";function a(t,e,i){var n=l(t);n[e]=i}function o(t,e,i){var n=l(t),r=n[e];r===i&&(n[e]=null)}function s(t,e){return!!l(t)[e]}function l(t){return t[r]||(t[r]={})}n.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),e.take=a,e.release=o,e.isTaken=s},a73c:function(t,e,i){var n=i("6d8b"),r=n.retrieve2,a=n.retrieve3,o=n.each,s=n.normalizeCssArray,l=n.isString,u=n.isObject,h=i("e86a"),c=i("5693"),d=i("5e76"),f=i("7d6d"),p=i("82eb"),g=p.ContextCachedBy,v=p.WILL_BE_RESTORED,m=h.DEFAULT_FONT,y={left:1,right:1,center:1},x={top:1,bottom:1,middle:1},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],b={},w={};function S(t){return M(t),o(t.rich,M),t}function M(t){if(t){t.font=h.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||y[e]?e:"left";var i=t.textVerticalAlign||t.textBaseline;"center"===i&&(i="middle"),t.textVerticalAlign=null==i||x[i]?i:"top";var n=t.textPadding;n&&(t.textPadding=s(t.textPadding))}}function T(t,e,i,n,r,a){n.rich?C(t,e,i,n,r,a):A(t,e,i,n,r,a)}function A(t,e,i,n,r,a){"use strict";var o,s=O(n),l=!1,u=e.__attrCachedBy===g.PLAIN_TEXT;a!==v?(a&&(o=a.style,l=!s&&u&&o),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(e.__attrCachedBy=g.NONE);var c=n.font||m;l&&c===(o.font||m)||(e.font=c);var d=t.__computedFont;t.__styleFont!==c&&(t.__styleFont=c,d=t.__computedFont=e.font);var p=n.textPadding,y=n.textLineHeight,x=t.__textCotentBlock;x&&!t.__dirtyText||(x=t.__textCotentBlock=h.parsePlainText(i,d,p,y,n.truncate));var b=x.outerHeight,S=x.lines,M=x.lineHeight,T=R(w,t,n,r),A=T.baseX,C=T.baseY,I=T.textAlign||"left",D=T.textVerticalAlign;k(e,n,r,A,C);var L=h.adjustTextY(C,b,D),E=A,B=L;if(s||p){var V=h.getWidth(i,d),H=V;p&&(H+=p[1]+p[3]);var W=h.adjustTextX(A,H,I);s&&P(t,e,n,W,L,H,b),p&&(E=F(A,I,p),B+=p[0])}e.textAlign=I,e.textBaseline="middle",e.globalAlpha=n.opacity||1;for(var G=0;G<_.length;G++){var j=_[G],U=j[0],Z=j[1],Y=n[U];l&&Y===o[U]||(e[Z]=f(e,Z,Y||j[2]))}B+=M/2;var q=n.textStrokeWidth,X=l?o.textStrokeWidth:null,$=!l||q!==X,K=!l||$||n.textStroke!==o.textStroke,J=z(n.textStroke,q),Q=N(n.textFill);if(J&&($&&(e.lineWidth=q),K&&(e.strokeStyle=J)),Q&&(l&&n.textFill===o.textFill||(e.fillStyle=Q)),1===S.length)J&&e.strokeText(S[0],E,B),Q&&e.fillText(S[0],E,B);else for(G=0;G=0&&(b=M[z],"right"===b.textAlign))D(t,e,b,n,A,y,E,"right"),C-=b.width,E-=b.width,z--;L+=(a-(L-m)-(x-E)-C)/2;while(I<=z)b=M[I],D(t,e,b,n,A,y,L+b.width/2,"center"),L+=b.width,I++;y+=A}}function k(t,e,i,n,r){if(i&&e.textRotation){var a=e.textOrigin;"center"===a?(n=i.width/2+i.x,r=i.height/2+i.y):a&&(n=a[0]+i.x,r=a[1]+i.y),t.translate(n,r),t.rotate(-e.textRotation),t.translate(-n,-r)}}function D(t,e,i,n,o,s,l,u){var h=n.rich[i.styleName]||{};h.text=i.text;var c=i.textVerticalAlign,d=s+o/2;"top"===c?d=s+i.height/2:"bottom"===c&&(d=s+o-i.height/2),!i.isLineHolder&&O(h)&&P(t,e,h,"right"===u?l-i.width:"center"===u?l-i.width/2:l,d-i.height/2,i.width,i.height);var f=i.textPadding;f&&(l=F(l,u,f),d-=i.height/2-f[2]-i.textHeight/2),E(e,"shadowBlur",a(h.textShadowBlur,n.textShadowBlur,0)),E(e,"shadowColor",h.textShadowColor||n.textShadowColor||"transparent"),E(e,"shadowOffsetX",a(h.textShadowOffsetX,n.textShadowOffsetX,0)),E(e,"shadowOffsetY",a(h.textShadowOffsetY,n.textShadowOffsetY,0)),E(e,"textAlign",u),E(e,"textBaseline","middle"),E(e,"font",i.font||m);var p=z(h.textStroke||n.textStroke,v),g=N(h.textFill||n.textFill),v=r(h.textStrokeWidth,n.textStrokeWidth);p&&(E(e,"lineWidth",v),E(e,"strokeStyle",p),e.strokeText(i.text,l,d)),g&&(E(e,"fillStyle",g),e.fillText(i.text,l,d))}function O(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function P(t,e,i,n,r,a,o){var s=i.textBackgroundColor,h=i.textBorderWidth,f=i.textBorderColor,p=l(s);if(E(e,"shadowBlur",i.textBoxShadowBlur||0),E(e,"shadowColor",i.textBoxShadowColor||"transparent"),E(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),E(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),p||h&&f){e.beginPath();var g=i.textBorderRadius;g?c.buildPath(e,{x:n,y:r,width:a,height:o,r:g}):e.rect(n,r,a,o),e.closePath()}if(p)if(E(e,"fillStyle",s),null!=i.fillOpacity){var v=e.globalAlpha;e.globalAlpha=i.fillOpacity*i.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(u(s)){var m=s.image;m=d.createOrUpdateImage(m,null,t,L,s),m&&d.isImageReady(m)&&e.drawImage(m,n,r,a,o)}if(h&&f)if(E(e,"lineWidth",h),E(e,"strokeStyle",f),null!=i.strokeOpacity){v=e.globalAlpha;e.globalAlpha=i.strokeOpacity*i.opacity,e.stroke(),e.globalAlpha=v}else e.stroke()}function L(t,e){e.image=t}function R(t,e,i,n){var r=i.x||0,a=i.y||0,o=i.textAlign,s=i.textVerticalAlign;if(n){var l=i.textPosition;if(l instanceof Array)r=n.x+B(l[0],n.width),a=n.y+B(l[1],n.height);else{var u=e&&e.calculateTextPosition?e.calculateTextPosition(b,i,n):h.calculateTextPosition(b,i,n);r=u.x,a=u.y,o=o||u.textAlign,s=s||u.textVerticalAlign}var c=i.textOffset;c&&(r+=c[0],a+=c[1])}return t=t||{},t.baseX=r,t.baseY=a,t.textAlign=o,t.textVerticalAlign=s,t}function E(t,e,i){return t[e]=f(t,e,i),t[e]}function z(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function N(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function B(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function F(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}function V(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}e.normalizeTextStyle=S,e.renderText=T,e.getBoxPosition=R,e.getStroke=z,e.getFill=N,e.parsePercent=B,e.needDrawText=V},a96b:function(t,e,i){var n=i("3eba"),r=n.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});t.exports=r},aabe:function(t,e,i){},ac0f:function(t,e,i){var n=i("cbe5"),r=i("401b"),a=i("4a3f"),o=a.quadraticSubdivide,s=a.cubicSubdivide,l=a.quadraticAt,u=a.cubicAt,h=a.quadraticDerivativeAt,c=a.cubicDerivativeAt,d=[];function f(t,e,i){var n=t.cpx2,r=t.cpy2;return null===n||null===r?[(i?c:u)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?c:u)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?h:l)(t.x1,t.cpx1,t.x2,e),(i?h:l)(t.y1,t.cpy1,t.y2,e)]}var p=n.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.x1,n=e.y1,r=e.x2,a=e.y2,l=e.cpx1,u=e.cpy1,h=e.cpx2,c=e.cpy2,f=e.percent;0!==f&&(t.moveTo(i,n),null==h||null==c?(f<1&&(o(i,l,r,f,d),l=d[1],r=d[2],o(n,u,a,f,d),u=d[1],a=d[2]),t.quadraticCurveTo(l,u,r,a)):(f<1&&(s(i,l,h,r,f,d),l=d[1],h=d[2],r=d[3],s(n,u,c,a,f,d),u=d[1],c=d[2],a=d[3]),t.bezierCurveTo(l,u,h,c,r,a)))},pointAt:function(t){return f(this.shape,t,!1)},tangentAt:function(t){var e=f(this.shape,t,!0);return r.normalize(e,e)}});t.exports=p},ae69:function(t,e,i){var n=i("cbe5"),r=n.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var i=.5522848,n=e.cx,r=e.cy,a=e.rx,o=e.ry,s=a*i,l=o*i;t.moveTo(n-a,r),t.bezierCurveTo(n-a,r-l,n-s,r-o,n,r-o),t.bezierCurveTo(n+s,r-o,n+a,r-l,n+a,r),t.bezierCurveTo(n+a,r+l,n+s,r+o,n,r+o),t.bezierCurveTo(n-s,r+o,n-a,r+l,n-a,r),t.closePath()}});t.exports=r},af24:function(t,e,i){i("48c7"),i("f273")},afa0:function(t,e,i){var n=i("6d8b"),r=i("22d1"),a=i("e1fc"),o=i("04f6");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(t,e){for(var i=0;i=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof a&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},b0af:function(t,e,i){var n=i("2306"),r=i("3842"),a=r.round;function o(t,e,i){var r=t.getArea(),a=t.getBaseAxis().isHorizontal(),o=r.x,s=r.y,l=r.width,u=r.height,h=i.get("lineStyle.width")||2;o-=h/2,s-=h/2,l+=h,u+=h,o=Math.floor(o),l=Math.round(l);var c=new n.Rect({shape:{x:o,y:s,width:l,height:u}});return e&&(c.shape[a?"width":"height"]=0,n.initProps(c,{shape:{width:l,height:u}},i)),c}function s(t,e,i){var r=t.getArea(),o=new n.Sector({shape:{cx:a(t.cx,1),cy:a(t.cy,1),r0:a(r.r0,1),r:a(r.r,1),startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return e&&(o.shape.endAngle=r.startAngle,n.initProps(o,{shape:{endAngle:r.endAngle}},i)),o}function l(t,e,i){return t?"polar"===t.type?s(t,e,i):"cartesian2d"===t.type?o(t,e,i):null:null}e.createGridClipPath=o,e.createPolarClipPath=s,e.createClipPath=l},b12f:function(t,e,i){var n=i("e1fc"),r=i("8918"),a=i("625e"),o=function(){this.group=new n,this.uid=r.getUID("viewComponent")};o.prototype={constructor:o,init:function(t,e){},render:function(t,e,i,n){},dispose:function(){},filterForExposedEvent:null};var s=o.prototype;s.updateView=s.updateLayout=s.updateVisual=function(t,e,i,n){},a.enableClassExtend(o),a.enableClassManagement(o,{registerWhenExtend:!0});var l=o;t.exports=l},b1d4:function(t,e,i){var n=i("862d");function r(t,e){return e=e||{},n(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,encodeDefaulter:e.encodeDefaulter,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}t.exports=r},b719:function(t,e,i){var n=i("697e7");e.zrender=n;var r=i("1687");e.matrix=r;var a=i("401b");e.vector=a;var o=i("6d8b"),s=i("41ef");e.color=s;var l=i("2306"),u=i("3842");e.number=u;var h=i("eda2");e.format=h;var c=i("88b3");c.throttle;e.throttle=c.throttle;var d=i("1548");e.helper=d;var f=i("bda7");e.parseGeoJSON=f;var p=i("6179");e.List=p;var g=i("4319");e.Model=g;var v=i("84ce");e.Axis=v;var m=i("22d1");e.env=m;var y=f,x={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){x[t]=o[t]}));var _={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){_[t]=l[t]})),e.parseGeoJson=y,e.util=x,e.graphic=_},b809:function(t,e,i){var n=i("6d8b"),r=i("29a8"),a=i("2b17"),o=a.retrieveRawValue;function s(t,e){var i=e.getModel("aria");if(i.get("show"))if(i.get("description"))t.setAttribute("aria-label",i.get("description"));else{var a=0;e.eachSeries((function(t,e){++a}),this);var s,l=i.get("data.maxCount")||10,u=i.get("series.maxCount")||10,h=Math.min(a,u);if(!(a<1)){var c=v();s=c?p(g("general.withTitle"),{title:c}):g("general.withoutTitle");var d=[],f=a>1?"series.multiple.prefix":"series.single.prefix";s+=p(g(f),{seriesCount:a}),e.eachSeries((function(t,e){if(e1?"multiple":"single")+".";i=g(n?r+"withName":r+"withoutName"),i=p(i,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:m(t.subType)});var s=t.getData();window.data=s,s.count()>l?i+=p(g("data.partialData"),{displayCnt:l}):i+=g("data.allData");for(var u=[],c=0;c0&&t.animate(e,!1).when(null==r?500:r,s).delay(a||0)}function p(t,e,i,n){if(e){var r={};r[e]={},r[e][i]=n,t.attr(r)}else t.attr(i,n)}c.prototype={constructor:c,animate:function(t,e){var i,a=!1,o=this,s=this.__zr;if(t){var l=t.split("."),u=o;a="shape"===l[0];for(var c=0,d=l.length;c>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=a,r=s,a=l,n.push([s/i,l/i])}return n}function s(t,e){return a(t),n.map(n.filter(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var i=t.properties,a=t.geometry,o=a.coordinates,s=[];"Polygon"===a.type&&s.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),"MultiPolygon"===a.type&&n.each(o,(function(t){t[0]&&s.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var l=new r(i[e||"name"],s,i.cp);return l.properties=i,l}))}t.exports=s},c3da:function(t,e,i){"use strict";function n(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}var r=i("6f0c"),a=i("4cbb");i("ef97");var o=n(i("6521")),s=Object.assign||function(t){for(var e=1;e"),t.forEach((function(t){var o=t.seriesName,s=t.data,l=t.marker,h=null,c=~u.indexOf(o)?i[1]:i[0],d=a.isArray(s)?s[1]:s;h=r.getFormated(d,c,n),e.push(l),e.push(o+": "+h),e.push("
")})),e.join("")}}}function d(t){var e=t.metrics,i=t.legendName,n=t.labelMap;if(!i&&!n)return{data:e};var r=n?e.map((function(t){return null==n[t]?t:n[t]})):e;return{data:r,formatter:function(t){return null!=i[t]?i[t]:t}}}var f=function(t,e,i,n){e=a.isArray(e)?e:[],t=a.isArray(t)?t:[];var r=i.axisSite,o=void 0===r?{}:r,s=i.yAxisType,f=void 0===s?["normal","normal"]:s,p=i.xAxisType,g=void 0===p?"category":p,v=i.yAxisName,m=void 0===v?[]:v,y=i.dimension,x=void 0===y?[t[0]]:y,_=i.xAxisName,b=void 0===_?[]:_,w=i.axisVisible,S=void 0===w||w,M=i.area,T=i.stack,A=i.scale,C=void 0===A?[!1,!1]:A,I=i.min,k=void 0===I?[null,null]:I,D=i.max,O=void 0===D?[null,null]:D,P=i.nullAddZero,L=void 0!==P&&P,R=i.digit,E=void 0===R?2:R,z=i.legendName,N=void 0===z?{}:z,B=i.labelMap,F=void 0===B?{}:B,V=i.label,H=i.itemStyle,W=i.lineStyle,G=i.areaStyle,j=n.tooltipVisible,U=n.legendVisible,Z=n.tooltipFormatter,Y=t.slice();o.left&&o.right?Y=o.left.concat(o.right):o.left&&!o.right?Y=o.left:i.metrics?Y=i.metrics:Y.splice(t.indexOf(x[0]),1);var q=U&&d({metrics:Y,legendName:N,labelMap:F}),X=j&&c({axisSite:o,yAxisType:f,digit:E,labelMap:F,xAxisType:g,tooltipFormatter:Z}),$=l({dimension:x,rows:e,xAxisName:b,axisVisible:S,xAxisType:g}),K=h({yAxisName:m,yAxisType:f,axisVisible:S,scale:C,min:k,max:O,digit:E}),J=u({rows:e,axisSite:o,metrics:Y,area:M,stack:T,nullAddZero:L,labelMap:F,label:V,itemStyle:H,lineStyle:W,areaStyle:G,xAxisType:g,dimension:x}),Q={legend:q,xAxis:$,series:J,yAxis:K,tooltip:X};return Q},p=s({},o,{name:"VeLine",data:function(){return this.chartHandler=f,{}}});t.exports=p},c533:function(t,e){var i=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],n={color:i,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],i]};t.exports=n},c775f:function(t,e,i){var n=i("2b17"),r=n.retrieveRawValue;function a(t,e){var i=t.mapDimension("defaultedLabel",!0),n=i.length;if(1===n)return r(t,e,i[0]);if(n){for(var a=[],o=0;o=e:"max"===i?t<=e:t===e}function g(t,e){return t.join(",")===e.join(",")}function v(t,e){e=e||{},o(e,(function(e,i){if(null!=e){var n=t[i];if(a.hasClass(i)){e=r.normalizeToArray(e),n=r.normalizeToArray(n);var o=r.mappingToExists(n,e);t[i]=l(o,(function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option}))}else t[i]=u(n,e,!0)}}))}c.prototype={constructor:c,setOption:function(t,e){t&&n.each(r.normalizeToArray(t.series),(function(t){t&&t.data&&n.isTypedArray(t.data)&&n.setAsPrimitive(t.data)})),t=s(t);var i=this._optionBackup,a=d.call(this,t,e,!i);this._newBaseOption=a.baseOption,i?(v(i.baseOption,a.baseOption),a.timelineOptions.length&&(i.timelineOptions=a.timelineOptions),a.mediaList.length&&(i.mediaList=a.mediaList),a.mediaDefault&&(i.mediaDefault=a.mediaDefault)):this._optionBackup=a},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=s(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,r=this._mediaDefault,a=[],o=[];if(!n.length&&!r)return o;for(var u=0,h=n.length;u1e-10&&(r.width+=o/s,r.height+=o/s,r.x-=o/s/2,r.y-=o/s/2)}return r}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),r=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var a=this.path.data;if(r.hasStroke()){var s=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(a,s/l,t,e)))return!0}if(r.hasFill())return o.contain(a,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):n.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(r.isObject(t))for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&u(t[0]-1)>1e-10&&u(t[3]-1)>1e-10?Math.sqrt(u(t[0]*t[3]-t[2]*t[1])):1}},c.extend=function(t){var e=function(e){c.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var n=this.shape;for(var r in i)!n.hasOwnProperty(r)&&i.hasOwnProperty(r)&&(n[r]=i[r])}t.init&&t.init.call(this,e)};for(var i in r.inherits(e,c),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},r.inherits(c,n);var d=c;t.exports=d},cbe9:function(t,e,i){var n=i("6d8b"),r=i("9850"),a=i("cf7e");function o(t){a.call(this,t)}o.prototype={constructor:o,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,i){var n=this.getAxis("x"),r=this.getAxis("y");return i=i||[],i[0]=n.toGlobalCoord(n.dataToCoord(t[0])),i[1]=r.toGlobalCoord(r.dataToCoord(t[1])),i},clampData:function(t,e){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,r=i.getExtent(),a=n.getExtent(),o=i.parse(t[0]),s=n.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(r[0],r[1]),o),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),e},pointToData:function(t,e){var i=this.getAxis("x"),n=this.getAxis("y");return e=e||[],e[0]=i.coordToData(i.toLocalCoord(t[0])),e[1]=n.coordToData(n.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),i=Math.min(t[0],t[1]),n=Math.min(e[0],e[1]),a=Math.max(t[0],t[1])-i,o=Math.max(e[0],e[1])-n,s=new r(i,n,a,o);return s}},n.inherits(o,a);var s=o;t.exports=s},cc39:function(t,e,i){var n=i("6d8b"),r=i("3842"),a=i("50e5"),o=i("ef6a"),s=n.each,l=r.asc,u=function(t,e,i,n){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=n,this._dataZoomModel=i};function h(t,e,i){var n=[1/0,-1/0];return s(i,(function(t){var i=t.getData();i&&s(i.mapDimension(e,!0),(function(t){var e=i.getApproximateExtent(t);e[0]n[1]&&(n[1]=e[1])}))})),n[1]0?0:NaN);var o=i.getMax(!0);return null!=o&&"dataMax"!==o&&"function"!==typeof o?e[1]=o:r&&(e[1]=a>0?a-1:NaN),i.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0)),e}function d(t,e){var i=t.getAxisModel(),n=t._percentWindow,a=t._valueWindow;if(n){var o=r.getPixelPrecision(a,[0,500]);o=Math.min(o,20);var s=e||0===n[0]&&100===n[1];i.setRange(s?null:+a[0].toFixed(o),s?null:+a[1].toFixed(o))}}function f(t){var e=t._minMaxSpan={},i=t._dataZoomModel,n=t._dataExtent;s(["min","max"],(function(a){var o=i.get(a+"Span"),s=i.get(a+"ValueSpan");null!=s&&(s=t.getAxisModel().axis.scale.parse(s)),null!=s?o=r.linearMap(n[0]+s,n,[0,100],!0):null!=o&&(s=r.linearMap(o,[0,100],n,!0)-n[0]),e[a+"Span"]=o,e[a+"ValueSpan"]=s}))}u.prototype={constructor:u,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries((function(i){if(a.isCoordSupported(i.get("coordinateSystem"))){var n=this._dimName,r=e.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(r&&r.componentIndex)&&t.push(i)}}),this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,i,n=this._dimName,r=this.ecModel,a=this.getAxisModel(),o="x"===n||"y"===n;return o?(e="gridIndex",t="x"===n?"y":"x"):(e="polarIndex",t="angle"===n?"radius":"angle"),r.eachComponent(t+"Axis",(function(t){(t.get(e)||0)===(a.get(e)||0)&&(i=t)})),i},getMinMaxSpan:function(){return n.clone(this._minMaxSpan)},calculateDataWindow:function(t){var e,i=this._dataExtent,n=this.getAxisModel(),a=n.axis.scale,u=this._dataZoomModel.getRangePropMode(),h=[0,100],c=[],d=[];s(["start","end"],(function(n,o){var s=t[n],l=t[n+"Value"];"percent"===u[o]?(null==s&&(s=h[o]),l=a.parse(r.linearMap(s,h,i))):(e=!0,l=null==l?i[o]:a.parse(l),s=r.linearMap(l,i,h)),d[o]=l,c[o]=s})),l(d),l(c);var f=this._minMaxSpan;function p(t,e,i,n,s){var l=s?"Span":"ValueSpan";o(0,t,i,"all",f["min"+l],f["max"+l]);for(var u=0;u<2;u++)e[u]=r.linearMap(t[u],i,n,!0),s&&(e[u]=a.parse(e[u]))}return e?p(d,c,i,h,!1):p(c,d,h,i,!0),{valueWindow:d,percentWindow:c}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=h(this,this._dimName,e),f(this);var i=this.calculateDataWindow(t.settledOption);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,d(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,d(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),r=t.get("filterMode"),a=this._valueWindow;"none"!==r&&s(n,(function(t){var e=t.getData(),n=e.mapDimension(i,!0);n.length&&("weakFilter"===r?e.filterSelf((function(t){for(var i,r,o,s=0;sa[1];if(u&&!h&&!c)return!0;u&&(o=!0),h&&(i=!0),c&&(r=!0)}return o&&i&&r})):s(n,(function(i){if("empty"===r)t.setData(e=e.map(i,(function(t){return o(t)?t:NaN})));else{var n={};n[i]=a,e.selectRange(n)}})),s(n,(function(t){e.setApproximateExtent(a,t)})))}))}function o(t){return t>=a[0]&&t<=a[1]}}};var p=u;t.exports=p},cccd:function(t,e,i){var n=i("e0d3"),r=n.makeInner;function a(){var t=r();return function(e){var i=t(e),n=e.pipelineContext,r=i.large,a=i.progressiveRender,o=i.large=n&&n.large,s=i.progressiveRender=n&&n.progressiveRender;return!!(r^o||a^s)&&"reset"}}t.exports=a},cd33:function(t,e,i){var n=i("6d8b"),r=i("4319"),a=n.each,o=n.curry;function s(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(i,t,e),i.seriesInvolved&&h(i,t),i}function l(t,e,i){var n=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),s=r.get("link",!0)||[],l=[];a(i.getCoordinateSystems(),(function(i){if(i.axisPointerEnabled){var h=m(i.model),d=t.coordSysAxesInfo[h]={};t.coordSysMap[h]=i;var f=i.model,p=f.getModel("tooltip",n);if(a(i.getAxes(),o(_,!1,null)),i.getTooltipAxes&&n&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get("axisPointer.type"),x=i.getTooltipAxes(p.get("axisPointer.axis"));(g||y)&&a(x.baseAxes,o(_,!y||"cross",g)),y&&a(x.otherAxes,o(_,"cross",!1))}}function _(n,a,o){var h=o.model.getModel("axisPointer",r),f=h.get("show");if(f&&("auto"!==f||n||v(h))){null==a&&(a=h.get("triggerTooltip")),h=n?u(o,p,r,e,n,a):h;var g=h.get("snap"),y=m(o.model),x=a||g||"category"===o.type,_=t.axesInfo[y]={key:y,axis:o,coordSys:i,axisPointerModel:h,triggerTooltip:a,involveSeries:x,snap:g,useHandle:v(h),seriesModels:[]};d[y]=_,t.seriesInvolved|=x;var b=c(s,o);if(null!=b){var w=l[b]||(l[b]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=s[b].mapper,_.linkGroup=w}}}}))}function u(t,e,i,o,s,l){var u=e.getModel("axisPointer"),h={};a(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){h[t]=n.clone(u.get(t))})),h.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(h.type="line");var c=h.label||(h.label={});if(null==c.show&&(c.show=!1),"cross"===s){var d=u.get("label.show");if(c.show=null==d||d,!l){var f=h.lineStyle=u.get("crossStyle");f&&n.defaults(c,f.textStyle)}}return t.model.getModel("axisPointer",new r(h,i,o))}function h(t,e){e.eachSeries((function(e){var i=e.coordinateSystem,n=e.get("tooltip.trigger",!0),r=e.get("tooltip.show",!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==r&&!1!==e.get("axisPointer.show",!0)&&a(t.coordSysAxesInfo[m(i.model)],(function(t){var n=t.axis;i.getAxis(n.dim)===n&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}),this)}function c(t,e){for(var i=e.model,n=e.dim,r=0;r=0||t===e}function f(t){var e=p(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,r=i.option,a=i.get("status"),o=i.get("value");null!=o&&(o=n.parse(o));var s=v(i);null==a&&(r.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o=0;p--){var g=t[p];if(s||(c=g.data.rawIndexOf(g.stackedByDimension,h)),c>=0){var v=g.data.getByRawIndex(g.stackResultDimension,c);if(d>=0&&v>0||d<=0&&v<0){d+=v,f=v;break}}}return n[0]=d,n[1]=f,n}));o.hostModel.setData(l),e.data=l}))}t.exports=o},d28f:function(t,e,i){var n=i("3eba");i("84d5"),i("4650"),i("5e97");var r=i("903c"),a=i("6cb7");n.registerProcessor(n.PRIORITY.PROCESSOR.SERIES_FILTER,r),a.registerSubTypeDefaulter("legend",(function(){return"plain"}))},d2cf:function(t,e,i){var n=i("6d8b"),r=i("401b"),a=i("cb6d"),o=i("1fab"),s=i("607d"),l=i("0b44"),u="silent";function h(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:c}}function c(){s.stop(this.event)}function d(){}d.prototype.dispose=function(){};var f=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(t,e,i,n){o.call(this),this.storage=t,this.painter=e,this.painterRoot=n,i=i||new d,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,a.call(this),this.setHandlerProxy(i)};function g(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){var n,r=t;while(r){if(r.clipPath&&!r.clipPath.contain(e,i))return!1;r.silent&&(n=!0),r=r.parent}return!n||u}return!1}function v(t,e,i){var n=t.painter;return e<0||e>n.getWidth()||i<0||i>n.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(n.each(f,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,i=t.zrY,n=v(this,e,i),r=this._hovered,a=r.target;a&&!a.__zr&&(r=this.findHover(r.x,r.y),a=r.target);var o=this._hovered=n?{x:e,y:i}:this.findHover(e,i),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==a&&this.dispatchToElement(o,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,i=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!i&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var i=this[t];i&&i.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,i){t=t||{};var n=t.target;if(!n||!n.silent){var r="on"+e,a=h(e,t,i);while(n)if(n[r]&&(a.cancelBubble=n[r].call(n,a)),n.trigger(e,a),n=n.parent,a.cancelBubble)break;a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,a),t.trigger&&t.trigger(e,a)})))}},findHover:function(t,e,i){for(var n=this.storage.getDisplayList(),r={x:t,y:e},a=n.length-1;a>=0;a--){var o;if(n[a]!==i&&!n[a].ignore&&(o=g(n[a],t,e))&&(!r.topTarget&&(r.topTarget=n[a]),o!==u)){r.target=n[a];break}}return r},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var i=this._gestureMgr;"start"===e&&i.clear();var n=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),n){var r=n.type;t.gestureEvent=r,this.dispatchToElement({target:n.target},r,n.event)}}},n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){p.prototype[t]=function(e){var i,n,a=e.zrX,o=e.zrY,s=v(this,a,o);if("mouseup"===t&&s||(i=this.findHover(a,o),n=i.target),"mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||r.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}})),n.mixin(p,o),n.mixin(p,a);var m=p;t.exports=m},d498:function(t,e,i){var n=i("cbe5"),r=i("4fac"),a=n.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){r.buildPath(t,e,!1)}});t.exports=a},d4b1:function(t,e,i){var n=i("3eba"),r=i("17d6"),a=n.extendComponentView({type:"axisPointer",render:function(t,e,i){var n=e.getComponent("tooltip"),a=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";r.register("axisPointer",i,(function(t,e,i){"none"!==a&&("leave"===t||a.indexOf(t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){r.unregister(e.getZr(),"axisPointer"),a.superApply(this._model,"remove",arguments)},dispose:function(t,e){r.unregister("axisPointer",e),a.superApply(this._model,"dispose",arguments)}}),o=a;t.exports=o},d4c6:function(t,e,i){var n=i("cbe5"),r=n.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i=r||v<0)break;if(f(y)){if(p){v+=a;continue}break}if(v===i)t[a>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=e[g],_="y"===h?1:0,b=(y[_]-x[_])*l;u(c,x),c[_]=x[_]+b,u(d,y),d[_]=y[_]-b,t.bezierCurveTo(c[0],c[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=v,v+=a}return m}function v(t,e,i,n,a,p,g,v,m,y,x){for(var _=0,b=i,w=0;w=a||b<0)break;if(f(S)){if(x){b+=p;continue}break}if(b===i)t[p>0?"moveTo":"lineTo"](S[0],S[1]),u(c,S);else if(m>0){var M=b+p,T=e[M];if(x)while(T&&f(e[M]))M+=p,T=e[M];var A=.5,C=e[_];T=e[M];if(!T||f(T))u(d,S);else{var I,k;if(f(T)&&!x&&(T=S),r.sub(h,T,C),"x"===y||"y"===y){var D="x"===y?0:1;I=Math.abs(S[D]-C[D]),k=Math.abs(S[D]-T[D])}else I=r.dist(S,C),k=r.dist(S,T);A=k/(k+I),l(d,S,h,-m*(1-A))}o(c,c,v),s(c,c,g),o(d,d,v),s(d,d,g),t.bezierCurveTo(c[0],c[1],d[0],d[1],S[0],S[1]),l(c,S,h,m*A)}else t.lineTo(S[0],S[1]);_=b,b+=p}return w}function m(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var r=0;rn[0]&&(n[0]=a[0]),a[1]>n[1]&&(n[1]=a[1])}return{min:e?i:n,max:e?n:i}}var y=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:a(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=0,r=i.length,a=m(i,e.smoothConstraint);if(e.connectNulls){for(;r>0;r--)if(!f(i[r-1]))break;for(;n0;a--)if(!f(i[a-1]))break;for(;r=this._maxSize&&o>0){var l=i.head;i.remove(l),delete n[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new r(e),s.key=t,i.insertEntry(s),n[t]=s}return a},o.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var s=a;t.exports=s},d5b7:function(t,e,i){var n=i("de00"),r=i("1fab"),a=i("0cde"),o=i("bd6b"),s=i("6d8b"),l=function(t){a.call(this,t),r.call(this,t),o.call(this,t),this.id=t.id||n()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var i=this[t];i||(i=this[t]=[]),i[0]=e[0],i[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;ie&&u>n&&u>a&&u>s||u1&&y(),d=h.cubicAt(e,n,a,s,m[0]),g>1&&(f=h.cubicAt(e,n,a,s,m[1]))),2===g?_e&&s>n&&s>a||s=0&&u<=1){for(var c=0,d=h.quadraticAt(e,n,a,u),f=0;fi||s<-i)return 0;var l=Math.sqrt(i*i-s*s);v[0]=-l,v[1]=l;var h=Math.abs(n-r);if(h<1e-4)return 0;if(h%f<1e-4){n=0,r=f;var c=a?1:-1;return o>=v[0]+t&&o<=v[1]+t?c:0}if(a){l=n;n=u(r),r=u(l)}else n=u(n),r=u(r);n>r&&(r+=f);for(var d=0,p=0;p<2;p++){var g=v[p];if(g+t>o){var m=Math.atan2(s,g);c=a?1:-1;m<0&&(m=f+m),(m>=n&&m<=r||m+f>=n&&m+f<=r)&&(m>Math.PI/2&&m<1.5*Math.PI&&(c=-c),d+=c)}}return d}function w(t,e,i,n,l){for(var u=0,h=0,f=0,p=0,v=0,m=0;m1&&(i||(u+=c(h,f,p,v,n,l))),1===m&&(h=t[m],f=t[m+1],p=h,v=f),y){case d.M:p=t[m++],v=t[m++],h=p,f=v;break;case d.L:if(i){if(r.containStroke(h,f,t[m],t[m+1],e,n,l))return!0}else u+=c(h,f,t[m],t[m+1],n,l)||0;h=t[m++],f=t[m++];break;case d.C:if(i){if(a.containStroke(h,f,t[m++],t[m++],t[m++],t[m++],t[m],t[m+1],e,n,l))return!0}else u+=x(h,f,t[m++],t[m++],t[m++],t[m++],t[m],t[m+1],n,l)||0;h=t[m++],f=t[m++];break;case d.Q:if(i){if(o.containStroke(h,f,t[m++],t[m++],t[m],t[m+1],e,n,l))return!0}else u+=_(h,f,t[m++],t[m++],t[m],t[m+1],n,l)||0;h=t[m++],f=t[m++];break;case d.A:var w=t[m++],S=t[m++],M=t[m++],T=t[m++],A=t[m++],C=t[m++];m+=1;var I=1-t[m++],k=Math.cos(A)*M+w,D=Math.sin(A)*T+S;m>1?u+=c(h,f,k,D,n,l):(p=k,v=D);var O=(n-w)*T/M+w;if(i){if(s.containStroke(w,S,T,A,A+C,I,e,O,l))return!0}else u+=b(w,S,T,A,A+C,I,O,l);h=Math.cos(A+C)*M+w,f=Math.sin(A+C)*T+S;break;case d.R:p=h=t[m++],v=f=t[m++];var P=t[m++],L=t[m++];k=p+P,D=v+L;if(i){if(r.containStroke(p,v,k,v,e,n,l)||r.containStroke(k,v,k,D,e,n,l)||r.containStroke(k,D,p,D,e,n,l)||r.containStroke(p,D,p,v,e,n,l))return!0}else u+=c(k,v,k,D,n,l),u+=c(p,D,p,v,n,l);break;case d.Z:if(i){if(r.containStroke(h,f,p,v,e,n,l))return!0}else u+=c(h,f,p,v,n,l);h=p,f=v;break}}return i||g(f,v)||(u+=c(h,f,p,v,n,l)||0),0!==u}function S(t,e,i){return w(t,0,!1,e,i)}function M(t,e,i,n){return w(t,e,!0,i,n)}e.contain=S,e.containStroke=M},d9fc:function(t,e,i){var n=i("cbe5"),r=n.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,i){i&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=r},dc2f:function(t,e){var i=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};i.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var n=i;t.exports=n},dcb3:function(t,e,i){var n=i("6d8b"),r=i("625e"),a=i("2306"),o=i("cd33"),s=i("607d"),l=i("88b3"),u=i("e0d3"),h=u.makeInner,c=h(),d=n.clone,f=n.bind;function p(){}function g(t,e,i,n){v(c(i).lastProp,n)||(c(i).lastProp=n,e?a.updateProps(i,n,t):(i.stopAnimation(),i.attr(n)))}function v(t,e){if(n.isObject(t)&&n.isObject(e)){var i=!0;return n.each(e,(function(e,n){i=i&&v(t[n],e)})),!!i}return t===e}function m(t,e){t[e.get("label.show")?"show":"hide"]()}function y(t){return{position:t.position.slice(),rotation:t.rotation||0}}function x(t,e,i){var n=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=r&&(t.zlevel=r),t.silent=i)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,i,r){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,r||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var h={};this.makeElOption(h,o,t,e,i);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=c;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var f=n.curry(g,e,d);this.updatePointerEl(l,h,f,e),this.updateLabelEl(l,h,f,e)}else l=this._group=new a.Group,this.createPointerEl(l,h,t,e),this.createLabelEl(l,h,t,e),i.getZr().add(l);x(l,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var i=e.get("animation"),n=t.axis,r="category"===n.type,a=e.get("snap");if(!a&&!r)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(r&&n.getBandWidth()>s)return!0;if(a){var l=o.getAxisInfo(t).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===i},makeElOption:function(t,e,i,n,r){},createPointerEl:function(t,e,i,n){var r=e.pointer;if(r){var o=c(t).pointerEl=new a[r.type](d(e.pointer));t.add(o)}},createLabelEl:function(t,e,i,n){if(e.label){var r=c(t).labelEl=new a.Rect(d(e.label));t.add(r),m(r,n)}},updatePointerEl:function(t,e,i){var n=c(t).pointerEl;n&&e.pointer&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,n){var r=c(t).labelEl;r&&(r.setStyle(e.label.style),i(r,{shape:e.label.shape,position:e.label.position}),m(r,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,r=this._api.getZr(),o=this._handle,u=i.getModel("handle"),h=i.get("status");if(!u.get("show")||!h||"hide"===h)return o&&r.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=a.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:f(this._onHandleDragMove,this,0,0),drift:f(this._onHandleDragMove,this),ondragend:f(this._onHandleDragEnd,this)}),r.add(o)),x(o,i,!1);var c=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];o.setStyle(u.getItemStyle(null,c));var d=u.get("size");n.isArray(d)||(d=[d,d]),o.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){g(this._axisPointerModel,!e&&this._moveAnimation,this._handle,y(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(y(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(y(n)),c(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},_onHandleDragEnd:function(t){this._dragging=!1;var e=this._handle;if(e){var i=this._axisPointerModel.get("value");this._moveHandleToValue(i),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}},p.prototype.constructor=p,r.enableClassExtend(p);var _=p;t.exports=_},dded:function(t,e,i){var n=i("6d8b"),r=i("42e5"),a=function(t,e,i,n,a){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,this.type="radial",this.global=a||!1,r.call(this,n)};a.prototype={constructor:a},n.inherits(a,r);var o=a;t.exports=o},de00:function(t,e){var i=2311;function n(){return i++}t.exports=n},de1c:function(t,e){var i={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};t.exports=i},e073:function(t,e,i){var n=i("6d8b"),r=i("e86a"),a=i("e0d3"),o=a.makeInner,s=i("697e"),l=s.makeLabelFormatter,u=s.getOptionCategoryInterval,h=s.shouldShowAllLabels,c=o();function d(t){return"category"===t.type?p(t):m(t)}function f(t,e){return"category"===t.type?v(t,e):{ticks:t.scale.getTicks()}}function p(t){var e=t.getLabelModel(),i=g(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i}function g(t,e){var i,r,a=y(t,"labels"),o=u(e),s=x(a,o);return s||(n.isFunction(o)?i=T(t,o):(r="auto"===o?b(t):o,i=M(t,r)),_(a,o,{labels:i,labelCategoryInterval:r}))}function v(t,e){var i,r,a=y(t,"ticks"),o=u(e),s=x(a,o);if(s)return s;if(e.get("show")&&!t.scale.isBlank()||(i=[]),n.isFunction(o))i=T(t,o,!0);else if("auto"===o){var l=g(t,t.getLabelModel());r=l.labelCategoryInterval,i=n.map(l.labels,(function(t){return t.tickValue}))}else r=o,i=M(t,r,!0);return _(a,o,{ticks:i,tickCategoryInterval:r})}function m(t){var e=t.scale.getTicks(),i=l(t);return{labels:n.map(e,(function(e,n){return{formattedLabel:i(e,n),rawLabel:t.scale.getLabel(e),tickValue:e}}))}}function y(t,e){return c(t)[e]||(c(t)[e]=[])}function x(t,e){for(var i=0;i40&&(u=Math.max(1,Math.floor(s/40)));for(var h=o[0],d=t.dataToCoord(h+1)-t.dataToCoord(h),f=Math.abs(d*Math.cos(n)),p=Math.abs(d*Math.sin(n)),g=0,v=0;h<=o[1];h+=u){var m=0,y=0,x=r.getBoundingRect(i(h),e.font,"center","top");m=1.3*x.width,y=1.3*x.height,g=Math.max(g,m,7),v=Math.max(v,y,7)}var _=g/f,b=v/p;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),M=c(t.model),T=t.getExtent(),A=M.lastAutoInterval,C=M.lastTickCount;return null!=A&&null!=C&&Math.abs(A-w)<=1&&Math.abs(C-s)<=1&&A>w&&M.axisExtend0===T[0]&&M.axisExtend1===T[1]?w=A:(M.lastTickCount=s,M.lastAutoInterval=w,M.axisExtend0=T[0],M.axisExtend1=T[1]),w}function S(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 M(t,e,i){var n=l(t),r=t.scale,a=r.getExtent(),o=t.getLabelModel(),s=[],u=Math.max((e||0)+1,1),c=a[0],d=r.count();0!==c&&u>1&&d/u>2&&(c=Math.round(Math.ceil(c/u)*u));var f=h(t),p=o.get("showMinLabel")||f,g=o.get("showMaxLabel")||f;p&&c!==a[0]&&m(a[0]);for(var v=c;v<=a[1];v+=u)m(v);function m(t){s.push(i?t:{formattedLabel:n(t),rawLabel:r.getLabel(t),tickValue:t})}return g&&v-u!==a[1]&&m(a[1]),s}function T(t,e,i){var r=t.scale,a=l(t),o=[];return n.each(r.getTicks(),(function(t){var n=r.getLabel(t);e(t,n)&&o.push(i?t:{formattedLabel:a(t),rawLabel:n,tickValue:t})})),o}e.createAxisLabels=d,e.createAxisTicks=f,e.calculateCategoryInterval=w},e0d3:function(t,e,i){var n=i("6d8b"),r=i("22d1"),a=n.each,o=n.isObject,s=n.isArray,l="series\0";function u(t){return t instanceof Array?t:null==t?[]:[t]}function h(t,e,i){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,r=i.length;n=i.length&&i.push({option:t})}})),i}function g(t){var e=n.createHashMap();a(t,(function(t,i){var n=t.exist;n&&e.set(n.id,t)})),a(t,(function(t,i){var r=t.option;n.assert(!r||null==r.id||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})})),a(t,(function(t,i){var n=t.exist,r=t.option,a=t.keyInfo;if(o(r)){if(a.name=null!=r.name?r.name+"":n?n.name:l+i,n)a.id=n.id;else if(null!=r.id)a.id=r.id+"";else{var s=0;do{a.id="\0"+a.name+"\0"+s++}while(e.get(a.id))}e.set(a.id,t)}}))}function v(t){var e=t.name;return!(!e||!e.indexOf(l))}function m(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function y(t,e){var i={},n={};return r(t||[],i),r(e||[],n,i),[a(i),a(n)];function r(t,e,i){for(var n=0,r=t.length;n=e[0]&&t<=e[1]},r.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},r.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},r.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r.prototype.getLabel=null,n.enableClassExtend(r),n.enableClassManagement(r,{registerWhenExtend:!0});var a=r;t.exports=a},e1fc:function(t,e,i){var n=i("6d8b"),r=i("d5b7"),a=i("9850"),o=function(t){for(var e in t=t||{},r.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,i=0;i=0&&(i.splice(n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,r=this._children,a=n.indexOf(r,t);return a<0||(r.splice(a,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),e&&e.refresh()),this},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e1e-4)return p[0]=t-i,p[1]=e-r,g[0]=t+i,void(g[1]=e+r);if(h[0]=l(a)*i+t,h[1]=s(a)*r+e,c[0]=l(o)*i+t,c[1]=s(o)*r+e,v(p,h,c),m(g,h,c),a%=u,a<0&&(a+=u),o%=u,o<0&&(o+=u),a>o&&!f?o+=u:aa&&(d[0]=l(_)*i+t,d[1]=s(_)*r+e,v(p,d,p),m(g,d,g))}e.fromPoints=f,e.fromLine=p,e.fromCubic=m,e.fromQuadratic=y,e.fromArc=x},e47b:function(t,e,i){var n=i("e0d3"),r=n.makeInner,a=n.normalizeToArray,o=r();function s(t,e){for(var i=t.length,n=0;ne)return t[n];return t[i-1]}var l={clearColorPalette:function(){o(this).colorIdx=0,o(this).colorNameMap={}},getColorFromPalette:function(t,e,i){e=e||this;var n=o(e),r=n.colorIdx||0,l=n.colorNameMap=n.colorNameMap||{};if(l.hasOwnProperty(t))return l[t];var u=a(this.get("color",!0)),h=this.get("colorLayer",!0),c=null!=i&&h?s(h,i):u;if(c=c||u,c&&c.length){var d=c[r];return t&&(l[t]=d),n.colorIdx=(r+1)%c.length,d}}};t.exports=l},e4d1:function(t,e,i){i("6932"),i("3a56"),i("7dcf"),i("3790"),i("2325"),i("2c17"),i("9e87")},e7d2:function(t,e,i){var n=i("4a3f");function r(t,e,i,r,a,o,s,l,u,h,c){if(0===u)return!1;var d=u;if(c>e+d&&c>r+d&&c>o+d&&c>l+d||ct+d&&h>i+d&&h>a+d&&h>s+d||hf&&(d=0,c={}),d++,c[i]=r,r}function x(t,e,i,n,r,a,o,s){return o?b(t,e,i,n,r,a,o,s):_(t,e,i,n,r,a,s)}function _(t,e,i,r,a,o,s){var l=P(t,e,a,o,s),u=y(t,e);a&&(u+=a[1]+a[3]);var h=l.outerHeight,c=w(0,u,i),d=S(0,h,r),f=new n(c,d,u,h);return f.lineHeight=l.lineHeight,f}function b(t,e,i,r,a,o,s,l){var u=L(t,{rich:s,truncate:l,font:e,textAlign:i,textPadding:a,textLineHeight:o}),h=u.outerWidth,c=u.outerHeight,d=w(0,h,i),f=S(0,c,r);return new n(d,f,h,c)}function w(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function S(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function M(t,e,i){var n=e.textPosition,r=e.textDistance,a=i.x,o=i.y;r=r||0;var s=i.height,l=i.width,u=s/2,h="left",c="top";switch(n){case"left":a-=r,o+=u,h="right",c="middle";break;case"right":a+=r+l,o+=u,c="middle";break;case"top":a+=l/2,o-=r,h="center",c="bottom";break;case"bottom":a+=l/2,o+=s+r,h="center";break;case"inside":a+=l/2,o+=u,h="center",c="middle";break;case"insideLeft":a+=r,o+=u,c="middle";break;case"insideRight":a+=l-r,o+=u,h="right",c="middle";break;case"insideTop":a+=l/2,o+=r,h="center";break;case"insideBottom":a+=l/2,o+=s-r,h="center",c="bottom";break;case"insideTopLeft":a+=r,o+=r;break;case"insideTopRight":a+=l-r,o+=r,h="right";break;case"insideBottomLeft":a+=r,o+=s-r,c="bottom";break;case"insideBottomRight":a+=l-r,o+=s-r,h="right",c="bottom";break}return t=t||{},t.x=a,t.y=o,t.textAlign=h,t.textVerticalAlign=c,t}function T(t,e,i){var n={textPosition:t,textDistance:i};return M({},n,e)}function A(t,e,i,n,r){if(!e)return"";var a=(t+"").split("\n");r=C(e,i,n,r);for(var o=0,s=a.length;o=a;u++)o-=a;var h=y(i,e);return h>o&&(i="",h=0),o=t-h,n.ellipsis=i,n.ellipsisWidth=h,n.contentWidth=o,n.containerWidth=t,n}function I(t,e){var i=e.containerWidth,n=e.font,r=e.contentWidth;if(!i)return"";var a=y(t,n);if(a<=i)return t;for(var o=0;;o++){if(a<=r||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?k(t,r,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*r/a):0;t=t.substr(0,s),a=y(t,n)}return""===t&&(t=e.placeholder),t}function k(t,e,i,n){for(var r=0,a=0,o=t.length;ac)t="",o=[];else if(null!=d)for(var f=C(d-(i?i[1]+i[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),p=0,g=o.length;pa&&R(i,t.substring(a,o)),R(i,n[2],n[1]),a=p.lastIndex}am)return{lines:[],width:0,height:0};M.textWidth=y(M.text,I);var O=T.textWidth,P=null==O||"auto"===O;if("string"===typeof O&&"%"===O.charAt(O.length-1))M.percentWidth=O,d.push(M),O=0;else{if(P){O=M.textWidth;var L=T.textBackgroundColor,E=L&&L.image;E&&(E=r.findExistImage(E),r.isImageReady(E)&&(O=Math.max(O,E.width*k/E.height)))}var z=C?C[1]+C[3]:0;O+=z;var N=null!=v?v-w:null;null!=N&&N=0&&s<0)&&(o=g,s=p,r=h,a.length=0),l(c,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:r}}function p(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function g(t,e,i,n){var r=i.payloadBatch,a=e.axis,s=a.model,l=e.axisPointerModel;if(e.triggerTooltip&&r.length){var u=e.coordSys.model,h=o.makeKey(u),c=t.map[h];c||(c=t.map[h]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:a.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:r.slice()})}}function v(t,e,i){var n=i.axesInfo=[];l(e,(function(e,i){var r=e.axisPointerModel.option,a=t[i];a?(!e.useHandle&&(r.status="show"),r.value=a.value,r.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}function m(t,e,i,n){if(!b(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}function y(t,e,i){var r=i.getZr(),a="axisPointerLastHighlights",o=h(r)[a]||{},s=h(r)[a]={};l(t,(function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&l(i.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t}))}));var u=[],c=[];n.each(o,(function(t,e){!s[e]&&c.push(t)})),n.each(s,(function(t,e){!o[e]&&u.push(t)})),c.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:c}),u.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:u})}function x(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}function _(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function b(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=c},ec02:function(t,e,i){var n=i("6d8b"),r=i("84ce"),a=function(t,e,i,n,a){r.call(this,t,e,i),this.type=n||"value",this.position=a||"bottom"};a.prototype={constructor:a,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},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},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},n.inherits(a,r);var o=a;t.exports=o},ec1b:function(t,e,i){!function(e,i){t.exports=i()}(0,(function(){return function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var i={};return e.m=t,e.c=i,e.i=function(t){return t},e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=2)}([function(t,e,i){var n=i(4)(i(1),i(5),null,null);t.exports=n.exports},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(3);e.default={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(t){return t>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,e,i,n){return i*(1-Math.pow(2,-10*t/n))*1024/1023+e}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,n.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,n.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,n.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,n.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var e=t-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(e/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e1?this.decimal+e[1]:"",r=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;r.test(i);)i=i.replace(r,"$1"+this.separator+"$2");return this.prefix+i+n+this.suffix}},destroyed:function(){(0,n.cancelAnimationFrame)(this.rAF)}}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),r=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=r.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",r.default)},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=0,r="webkit moz ms o".split(" "),a=void 0,o=void 0;if("undefined"==typeof window)e.requestAnimationFrame=a=function(){},e.cancelAnimationFrame=o=function(){};else{e.requestAnimationFrame=a=window.requestAnimationFrame,e.cancelAnimationFrame=o=window.cancelAnimationFrame;for(var s=void 0,l=0;l=0&&i.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i15)break}}o.__drawIndex=m,o.__drawIndex0&&t>n[0]){for(s=0;st)break;a=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(a){var u=a.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,n,r=this._zlevelList;for(n=0;n0?g:0),this._needsManuallyCompositing),l.__builtin__||o("ZLevel "+u+" has been used by unkown layer "+l.id),l!==a&&(l.__used=!0,l.__startIndex!==i&&(l.__dirty=!0),l.__startIndex=i,l.incremental?l.__drawIndex=-1:l.__drawIndex=i,e(i),a=l),n.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=i))}e(i),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?a.merge(i[t],e,!0):i[t]=e;for(var n=0;n1?"."+t[1]:""))}function s(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var l=n.normalizeCssArray,u=/([&<>"'])/g,h={"&":"&","<":"<",">":">",'"':""","'":"'"};function c(t){return null==t?"":(t+"").replace(u,(function(t,e){return h[e]}))}var d=["a","b","c","d","e","f","g"],f=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,i){n.isArray(e)||(e=[e]);var r=e.length;if(!r)return"";for(var a=e[0].$vars||[],o=0;o':'':{renderMode:a,content:"{marker"+o+"|} ",style:{color:i}}:""}function m(t,e){return t+="","0000".substr(0,e-t.length)+t}function y(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=a.parseDate(e),r=i?"UTC":"",o=n["get"+r+"FullYear"](),s=n["get"+r+"Month"]()+1,l=n["get"+r+"Date"](),u=n["get"+r+"Hours"](),h=n["get"+r+"Minutes"](),c=n["get"+r+"Seconds"](),d=n["get"+r+"Milliseconds"]();return t=t.replace("MM",m(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",m(l,2)).replace("d",l).replace("hh",m(u,2)).replace("h",u).replace("mm",m(h,2)).replace("m",h).replace("ss",m(c,2)).replace("s",c).replace("SSS",m(d,3)),t}function x(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var _=r.truncateText;function b(t){return r.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function w(t,e,i,n,a,o,s,l){return r.getBoundingRect(t,e,i,n,a,l,o,s)}function S(t,e){if("_blank"===e||"blank"===e){var i=window.open();i.opener=null,i.location=t}else window.open(t,e)}e.addCommas=o,e.toCamelCase=s,e.normalizeCssArray=l,e.encodeHTML=c,e.formatTpl=p,e.formatTplSimple=g,e.getTooltipMarker=v,e.formatTime=y,e.capitalFirst=x,e.truncateText=_,e.getTextBoundingRect=b,e.getTextRect=w,e.windowOpen=S},ee1a:function(t,e,i){var n=i("6d8b"),r=n.each,a=n.isString;function o(t,e,i){i=i||{};var n,o,s,l,u=i.byIndex,h=i.stackedCoordDimension,c=!(!t||!t.get("stack"));if(r(e,(function(t,i){a(t)&&(e[i]=t={name:t}),c&&!t.isExtraCoord&&(u||n||!t.ordinalMeta||(n=t),o||"ordinal"===t.type||"time"===t.type||h&&h!==t.coordDim||(o=t))})),!o||u||n||(u=!0),o){s="__\0ecstackresult",l="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var d=o.coordDim,f=o.type,p=0;r(e,(function(t){t.coordDim===d&&p++})),e.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:n&&n.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function l(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}e.enableDataStack=o,e.isDimensionStacked=s,e.getStackedDimension=l},ee84:function(t,e,i){var n=i("20c8"),r=i("401b"),a=r.applyTransform,o=n.CMD,s=[[],[],[]],l=Math.sqrt,u=Math.atan2;function h(t,e){var i,n,r,h,c,d=t.data,f=o.M,p=o.C,g=o.L,v=o.R,m=o.A,y=o.Q;for(r=0,h=0;rs&&(e[1-a]=e[a]+f.sign*s),e}function n(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i<0?1:e?-1:1}}function r(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}t.exports=i},ef97:function(t,e,i){var n=i("3eba");i("217b8"),i("f17f");var r=i("7f96"),a=i("87c3"),o=i("fdde");i("01ed"),n.registerVisual(r("line","circle","line")),n.registerLayout(a("line")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,o("line"))},f123:function(t,e,i){var n=i("9f82"),r=n.prepareDataCoordInfo,a=n.getStackedOnPoint;function o(t,e){var i=[];return e.diff(t).add((function(t){i.push({cmd:"+",idx:t})})).update((function(t,e){i.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){i.push({cmd:"-",idx:t})})).execute(),i}function s(t,e,i,n,s,l,u,h){for(var c=o(t,e),d=[],f=[],p=[],g=[],v=[],m=[],y=[],x=r(s,e,u),_=r(l,t,h),b=0;b=0;o--){var s=i[o].dimension,l=t.dimensions[s],u=t.getDimensionInfo(l);if(n=u&&u.coordDim,"x"===n||"y"===n){a=i[o];break}}if(a){var c=e.getAxis(n),d=r.map(a.stops,(function(t){return{coord:c.toGlobalCoord(c.dataToCoord(t.value)),color:t.color}})),f=d.length,p=a.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=10,v=d[0].coord-g,m=d[f-1].coord+g,y=m-v;if(y<.001)return"transparent";r.each(d,(function(t){t.offset=(t.coord-v)/y})),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var x=new h.LinearGradient(0,0,0,0,d,!0);return x[n]=v,x[n+"2"]=m,x}}}function I(t,e,i){var n=t.get("showAllSymbol"),a="auto"===n;if(!n||a){var o=i.getAxesByScale("ordinal")[0];if(o&&(!a||!k(o,e))){var s=e.mapDimension(o.dim),l={};return r.each(o.getViewLabels(),(function(t){l[t.tickValue]=1})),function(t){return!l.hasOwnProperty(e.get(s,t))}}}}function k(t,e){var i=t.getExtent(),n=Math.abs(i[1]-i[0])/t.scale.count();isNaN(n)&&(n=0);for(var r=e.count(),a=Math.max(1,Math.round(r/5)),o=0;on)return!1;return!0}function D(t,e,i){if("cartesian2d"===t.type){var n=t.getBaseAxis().isHorizontal(),r=_(t,e,i);if(!i.get("clip",!0)){var a=r.shape,o=Math.max(a.width,a.height);n?(a.y-=o,a.height+=2*o):(a.x-=o,a.width+=2*o)}return r}return b(t,e,i)}var O=g.extend({type:"line",init:function(){var t=new h.Group,e=new s;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,i){var n=t.coordinateSystem,a=this.group,o=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=o.mapArray(o.getItemLayout),h="polar"===n.type,c=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,g=this._lineGroup,v=t.get("animation"),y=!l.isEmpty(),x=l.get("origin"),_=m(n,o,x),b=T(n,o,_),S=t.get("showSymbol"),k=S&&!h&&I(t,o,n),O=this._data;O&&O.eachItemGraphicEl((function(t,e){t.__temp&&(a.remove(t),O.setItemGraphicEl(e,null))})),S||d.remove(),a.add(g);var P,L=!h&&t.get("step");n&&n.getArea&&t.get("clip",!0)&&(P=n.getArea(),null!=P.width?(P.x-=.1,P.y-=.1,P.width+=.2,P.height+=.2):P.r0&&(P.r0-=.5,P.r1+=.5)),this._clipShapeForSymbol=P,f&&c.type===n.type&&L===this._step?(y&&!p?p=this._newPolygon(u,b,n,v):p&&!y&&(g.remove(p),p=this._polygon=null),g.setClipPath(D(n,!1,t)),S&&d.updateData(o,{isIgnore:k,clipShape:P}),o.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),w(this._stackedOnPoints,b)&&w(this._points,u)||(v?this._updateAnimation(o,b,n,i,L,x):(L&&(u=A(u,n,L),b=A(b,n,L)),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:b})))):(S&&d.updateData(o,{isIgnore:k,clipShape:P}),L&&(u=A(u,n,L),b=A(b,n,L)),f=this._newPolyline(u,n,v),y&&(p=this._newPolygon(u,b,n,v)),g.setClipPath(D(n,!0,t)));var R=C(o,n)||o.getVisual("color");f.useStyle(r.defaults(s.getLineStyle(),{fill:"none",stroke:R,lineJoin:"bevel"}));var E=t.get("smooth");if(E=M(t.get("smooth")),f.setShape({smooth:E,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var z=o.getCalculationInfo("stackedOnSeries"),N=0;p.useStyle(r.defaults(l.getAreaStyle(),{fill:R,opacity:.7,lineJoin:"bevel"})),z&&(N=M(z.get("smooth"))),p.setShape({smooth:E,stackedOnSmooth:N,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=n,this._stackedOnPoints=b,this._points=u,this._step=L,this._valueOrigin=x},dispose:function(){},highlight:function(t,e,i,n){var r=t.getData(),a=c.queryDataIndex(r,n);if(!(a instanceof Array)&&null!=a&&a>=0){var o=r.getItemGraphicEl(a);if(!o){var s=r.getItemLayout(a);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;o=new l(r,a),o.position=s,o.setZ(t.get("zlevel"),t.get("z")),o.ignore=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,r.setItemGraphicEl(a,o),o.stopSymbolAnimation(!0),this.group.add(o)}o.highlight()}else g.prototype.highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var r=t.getData(),a=c.queryDataIndex(r,n);if(null!=a&&a>=0){var o=r.getItemGraphicEl(a);o&&(o.__temp?(r.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else g.prototype.downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new f({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new p({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(t,e,i,n,r,a){var o=this._polyline,s=this._polygon,l=t.hostModel,c=u(this._data,t,this._stackedOnPoints,e,this._coordSys,i,this._valueOrigin,a),d=c.current,f=c.stackedOnCurrent,p=c.next,g=c.stackedOnNext;if(r&&(d=A(c.current,i,r),f=A(c.stackedOnCurrent,i,r),p=A(c.next,i,r),g=A(c.stackedOnNext,i,r)),S(d,p)>3e3||s&&S(f,g)>3e3)return o.setShape({points:p}),void(s&&s.setShape({points:p,stackedOnPoints:g}));o.shape.__points=c.current,o.shape.points=d,h.updateProps(o,{shape:{points:p}},l),s&&(s.setShape({points:d,stackedOnPoints:f}),h.updateProps(s,{shape:{points:p,stackedOnPoints:g}},l));for(var v=[],m=c.status,y=0;y=1)&&(t=1),t}s===u&&l===d||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=c(this,n)),this._modBy=u,this._modDataCount=d;var p=t&&t.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,v=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!n&&(o||g1&&n>0?s:o}};return a;function o(){return e=t?null:an||l.newline?(a=0,h=v,o+=s+i,s=f.height):s=Math.max(s,f.height)}else{var m=f.height+(g?-g.y+f.y:0);c=o+m,c>r||l.newline?(a+=s+i,o=0,c=m,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=a,d[1]=o,"horizontal"===t?a=h+i:o=c+i)}))}var d=c,f=n.curry(c,"vertical"),p=n.curry(c,"horizontal");function g(t,e,i){var n=e.width,r=e.height,a=o(t.x,n),l=o(t.y,r),u=o(t.x2,n),h=o(t.y2,r);return(isNaN(a)||isNaN(parseFloat(t.x)))&&(a=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(h)||isNaN(parseFloat(t.y2)))&&(h=r),i=s.normalizeCssArray(i||0),{width:Math.max(u-a-i[1]-i[3],0),height:Math.max(h-l-i[0]-i[2],0)}}function v(t,e,i){i=s.normalizeCssArray(i||0);var n=e.width,a=e.height,l=o(t.left,n),u=o(t.top,a),h=o(t.right,n),c=o(t.bottom,a),d=o(t.width,n),f=o(t.height,a),p=i[2]+i[0],g=i[1]+i[3],v=t.aspect;switch(isNaN(d)&&(d=n-h-g-l),isNaN(f)&&(f=a-c-p-u),null!=v&&(isNaN(d)&&isNaN(f)&&(v>n/a?d=.8*n:f=.8*a),isNaN(d)&&(d=v*f),isNaN(f)&&(f=d/v)),isNaN(l)&&(l=n-h-d-g),isNaN(u)&&(u=a-c-f-p),t.left||t.right){case"center":l=n/2-d/2-i[3];break;case"right":l=n-d-g;break}switch(t.top||t.bottom){case"middle":case"center":u=a/2-f/2-i[0];break;case"bottom":u=a-f-p;break}l=l||0,u=u||0,isNaN(d)&&(d=n-g-l-(h||0)),isNaN(f)&&(f=a-p-u-(c||0));var m=new r(l+i[3],u+i[0],d,f);return m.margin=i,m}function m(t,e,i,a,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],u=o&&o.boundingMode||"all";if(s||l){var h;if("raw"===u)h="group"===t.type?new r(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(h=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();h=h.clone(),h.applyTransform(c)}e=v(n.defaults({width:h.width,height:h.height},e),i,a);var d=t.position,f=s?e.x-h.x:0,p=l?e.y-h.y:0;t.attr("position","raw"===u?[f,p]:[d[0]+f,d[1]+p])}}function y(t,e){return null!=t[h[e][0]]||null!=t[h[e][1]]&&null!=t[h[e][2]]}function x(t,e,i){!n.isObject(i)&&(i={});var r=i.ignoreSize;!n.isArray(r)&&(r=[r,r]);var a=s(h[0],0),o=s(h[1],1);function s(i,n){var a={},o=0,s={},h=0,d=2;if(l(i,(function(e){s[e]=t[e]})),l(i,(function(t){u(e,t)&&(a[t]=s[t]=e[t]),c(a,t)&&o++,c(s,t)&&h++})),r[n])return c(e,i[1])?s[i[2]]=null:c(e,i[2])&&(s[i[1]]=null),s;if(h!==d&&o){if(o>=d)return a;for(var f=0;ff[1]?-1:1,g=["start"===s?f[0]-p*d:"end"===s?f[1]+p*d:(f[0]+f[1])/2,O(s)?t.labelOffset+h*d:0],v=e.get("nameRotate");null!=v&&(v=v*b/180),O(s)?n=T(t.rotation,null!=v?v:t.rotation,h):(n=A(t,s,v||0,f),a=t.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(n.rotation)),!isFinite(a)&&(a=null)));var m=c.getFont(),y=e.get("nameTruncate",!0)||{},x=y.ellipsis,_=r(t.nameTruncateMaxWidth,y.maxWidth,a),w=null!=x&&null!=_?l.truncateText(i,_,m,x,{minChar:2,placeholder:y.placeholder}):i,S=e.get("tooltip",!0),I=e.mainType,k={componentType:I,name:i,$vars:["name"]};k[I+"Index"]=e.componentIndex;var D=new u.Text({anid:"name",__fullText:i,__truncatedText:w,position:g,rotation:n.rotation,silent:C(e),z2:1,tooltip:S&&S.show?o({content:i,formatter:function(){return i},formatterParams:k},S):null});u.setTextStyle(D.style,c,{text:w,textFont:m,textFill:c.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:c.get("align")||n.textAlign,textVerticalAlign:c.get("verticalAlign")||n.textVerticalAlign}),e.get("triggerEvent")&&(D.eventData=M(e),D.eventData.targetType="axisName",D.eventData.name=i),this._dumbGroup.add(D),D.updateTransform(),this.group.add(D),D.decomposeTransform()}}},M=w.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},T=w.innerTextLayout=function(t,e,i){var n,r,a=f(e-t);return d(a)?(r=i>0?"top":"bottom",n="center"):d(a-b)?(r=i>0?"bottom":"top",n="center"):(r="middle",n=a>0&&a0?"right":"left":i>0?"left":"right"),{rotation:a,textAlign:n,textVerticalAlign:r}};function A(t,e,i,n){var r,a,o=f(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;return d(o-b/2)?(a=l?"bottom":"top",r="center"):d(o-1.5*b)?(a=l?"top":"bottom",r="center"):(a="middle",r=o<1.5*b&&o>b/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:r,textVerticalAlign:a}}var C=w.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function I(t,e,i){if(!_(t.axis)){var n=t.get("axisLabel.showMinLabel"),r=t.get("axisLabel.showMaxLabel");e=e||[],i=i||[];var a=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=i[0],h=i[1],c=i[i.length-1],d=i[i.length-2];!1===n?(k(a),k(u)):D(a,o)&&(n?(k(o),k(h)):(k(a),k(u))),!1===r?(k(s),k(c)):D(l,s)&&(r?(k(l),k(d)):(k(s),k(c)))}}function k(t){t&&(t.ignore=!0)}function D(t,e,i){var n=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(n&&r){var a=v.identity([]);return v.rotate(a,a,-t.rotation),n.applyTransform(v.mul([],a,t.getLocalTransform())),r.applyTransform(v.mul([],a,e.getLocalTransform())),n.intersect(r)}}function O(t){return"middle"===t||"center"===t}function P(t,e,i,n,r){for(var a=[],o=[],s=[],l=0;le&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i1)"string"===typeof o?l=i[o]:"function"===typeof o&&(l=o),l&&t.setData(a.downSample(a.mapDimension(h.dim),1/f,l,n))}}}}t.exports=r},fe21:function(t,e,i){var n=i("e86a"),r=i("2306"),a=["textStyle","color"],o={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(a):null)},getFont:function(){return r.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return n.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=o},ff2e:function(t,e,i){var n=i("6d8b"),r=i("2306"),a=i("e86a"),o=i("eda2"),s=i("1687"),l=i("697e"),u=i("fab22");function h(t){var e,i=t.get("type"),n=t.getModel(i+"Style");return"line"===i?(e=n.getLineStyle(),e.fill=null):"shadow"===i&&(e=n.getAreaStyle(),e.stroke=null),e}function c(t,e,i,n,r){var s=i.get("value"),l=f(s,e.axis,e.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),u=i.getModel("label"),h=o.normalizeCssArray(u.get("padding")||0),c=u.getFont(),p=a.getBoundingRect(l,c),g=r.position,v=p.width+h[1]+h[3],m=p.height+h[0]+h[2],y=r.align;"right"===y&&(g[0]-=v),"center"===y&&(g[0]-=v/2);var x=r.verticalAlign;"bottom"===x&&(g[1]-=m),"middle"===x&&(g[1]-=m/2),d(g,v,m,n);var _=u.get("backgroundColor");_&&"auto"!==_||(_=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:v,height:m,r:u.get("borderRadius")},position:g.slice(),style:{text:l,textFont:c,textFill:u.getTextColor(),textPosition:"inside",textPadding:h,fill:_,stroke:u.get("borderColor")||"transparent",lineWidth:u.get("borderWidth")||0,shadowBlur:u.get("shadowBlur"),shadowColor:u.get("shadowColor"),shadowOffsetX:u.get("shadowOffsetX"),shadowOffsetY:u.get("shadowOffsetY")},z2:10}}function d(t,e,i,n){var r=n.getWidth(),a=n.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+i,a)-i,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function f(t,e,i,r,a){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:a.precision}),s=a.formatter;if(s){var u={value:l.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};n.each(r,(function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,r=e&&e.getDataParams(n);r&&u.seriesData.push(r)})),n.isString(s)?o=s.replace("{value}",o):n.isFunction(s)&&(o=s(u))}return o}function p(t,e,i){var n=s.create();return s.rotate(n,n,i.rotation),s.translate(n,n,i.position),r.applyTransform([t.dataToCoord(e),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function g(t,e,i,n,r,a){var o=u.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=r.get("label.margin"),c(e,n,r,a,{position:p(n.axis,t,i),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function v(t,e,i){return i=i||0,{x1:t[i],y1:t[1-i],x2:e[i],y2:e[1-i]}}function m(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}}function y(t,e,i,n,r,a){return{cx:t,cy:e,r0:i,r:n,startAngle:r,endAngle:a,clockwise:!0}}e.buildElStyle=h,e.buildLabelElOption=c,e.getValueLabel=f,e.getTransformedPosition=p,e.buildCartesianSingleLabelElOption=g,e.makeLineShape=v,e.makeRectShape=m,e.makeSectorShape=y}}]);