chunk-2af406aa.5d4d05f8.js 817 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2af406aa"],{"0046":function(t,e,n){var i=n("6d8b"),o=i.each,a=i.createHashMap,r=(i=n("4f85"),n("3301"));n=i.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var n,i,s,l=this.getSource();return i=this,(n=l).encodeDefine||(i=i.ecModel.getComponent("parallel",i.get("parallelIndex")))&&(s=n.encodeDefine=a(),o(i.dimensions,(function(t){var e=+t.replace("dim","");s.set(t,e)}))),r(l,this)},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,(function(e,o){t===e&&i.push(n.getRawIndex(o))})),i},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});t.exports=n},"004f":function(t,e,n){var i=n("6d8b"),o=n("72b6"),a=n("2306"),r=n("a15a").createSymbol,s=n("f934"),l=n("cbb0");n=o.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group,e=(t.removeAll(),this.visualMapModel),n=e.get("textGap"),o=e.textStyleModel,r=o.getFont(),l=o.getTextColor(),u=this._getItemAlign(),c=e.itemSize,h=(o=this._getViewData(),o.endsText),d=i.retrieve(e.get("showLabel",!0),!h);h&&this._renderEndsText(t,h[0],c,d,u),i.each(o.viewPieceList,(function(o){var s=o.piece,h=new a.Group;h.onclick=i.bind(this._onItemClick,this,s),this._enableHoverLink(h,o.indexInModelPieceList),o=e.getRepresentValue(s);this._createItemSymbol(h,o,[0,0,c[0],c[1]]),d&&(o=this.visualMapModel.getValueState(o),h.add(new a.Text({style:{x:"right"===u?-n:c[0]+n,y:c[1]/2,text:s.text,textVerticalAlign:"middle",textAlign:u,textFont:r,textFill:l,opacity:"outOfRange"===o?.5:1}}))),t.add(h)}),this),h&&this._renderEndsText(t,h[1],c,d,u),s.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function n(t){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:t,batch:l.makeHighDownBatch(n.findTargetDataIndices(e),n)})}t.on("mouseover",i.bind(n,this,"highlight")).on("mouseout",i.bind(n,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;return"vertical"===e.orient?l.getItemAlign(t,this.api,t.itemSize):(t=e.align)&&"auto"!==t?t:"left"},_renderEndsText:function(t,e,n,i,o){var r,s;e&&(r=new a.Group,s=this.visualMapModel.textStyleModel,r.add(new a.Text({style:{x:i?"right"===o?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:i?o:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(r))},_getViewData:function(){var t=this.visualMapModel,e=i.map(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),o=t.get("orient");t=t.get("inverse");return("horizontal"===o?t:!t)?e.reverse():n=n&&n.slice().reverse(),{viewPieceList:e,endsText:n}},_createItemSymbol:function(t,e,n){t.add(r(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,n=e.option,o=i.clone(n.selected),a=e.getSelectedMapKey(t);"single"===n.selectedMode?(o[a]=!0,i.each(o,(function(t,e){o[e]=e===a}))):o[a]=!o[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}});t.exports=n},"007d":function(t,e,n){var i=n("3eba");n("cb8f"),n("a96b"),n("42f6"),i.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),i.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},"00ba":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("e46b"),r=n("e0d3").defaultEmphasis,s=n("0f99").makeSeriesEncodeForNameBased,l=n("c4a3"),u=i.extendSeriesModel({type:"series.funnel",init:function(t){u.superApply(this,"init",arguments),this.legendVisualProvider=new l(o.bind(this.getData,this),o.bind(this.getRawData,this)),this._defaultLabelLine(t)},getInitialData:function(t,e){return a(this,{coordDimensions:["value"],encodeDefaulter:o.curry(s,this)})},_defaultLabelLine:function(t){r(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),n=u.superCall(this,"getDataParams",t),i=e.mapDimension("value"),o=e.getSum(i);return n.percent=o?+(e.get(i,t)/o*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}});t.exports=u},"00d8":function(t,e,n){var i=n("6d8b");function o(t,e){return e=e||[0,0],i.map([0,1],(function(n){var i=e[n],o=t[n]/2,a=[],r=[];return a[n]=i-o,r[n]=i+o,a[1-n]=r[1-n]=e[1-n],Math.abs(this.dataToPoint(a)[n]-this.dataToPoint(r)[n])}),this)}t.exports=function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(o,t)}}}},"0141":function(t,e,n){var i=n("6d8b"),o=n("9850"),a=n("6cc5"),r=n("5b87");function s(t,e,n,i){a.call(this,t),this.map=e,t=r.load(e,n),this._nameCoordMap=t.nameCoordMap,this._regionsMap=t.regionsMap,this._invertLongitute=null==i||i,this.regions=t.regions,this._rect=t.boundingRect}function l(t,e,n,i){var o=n.geoModel;n=n.seriesModel,o=o?o.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return o===this?o[t](i):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return!0;return!1},transformTo:function(t,e,n,i){var a=this.getBoundingRect(),r=this._invertLongitute,s=(a=a.clone(),r&&(a.y=-a.y-a.height),this._rawTransformable);s.transform=a.calculateTransform(new o(t,e,n,i)),s.decomposeTransform(),r&&((a=s.scale)[1]=-a[1]),s.updateTransform(),this._updateTransform()},getRegion:function(t){return this._regionsMap.get(t)},getRegionByCoord:function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return e[n]},addGeoCoord:function(t,e){this._nameCoordMap.set(t,e)},getGeoCoord:function(t){return this._nameCoordMap.get(t)},getBoundingRect:function(){return this._rect},dataToPoint:function(t,e,n){if(t="string"==typeof t?this.getGeoCoord(t):t)return a.prototype.dataToPoint.call(this,t,e,n)},convertToPixel:i.curry(l,"dataToPoint"),convertFromPixel:i.curry(l,"pointToData")},i.mixin(s,a),t.exports=s},"0156":function(t,e,n){var i=n("6d8b");e.layout=function(t,e,n){n=n||{};t=t.coordinateSystem;var o=e.axis,a={},r=o.getAxesOnZeroOf()[0],s=o.position,l=r?"onZero":s,u=(o=o.dim,t=[(t=t.getRect()).x,t.x+t.width,t.y,t.y+t.height],{left:0,right:1,top:0,bottom:1,onZero:2}),c=e.get("offset")||0,h=(c="x"===o?[t[2]-c,t[3]+c]:[t[0]-c,t[1]+c],r&&(h=r.toGlobalCoord(r.dataToCoord(0)),c[u.onZero]=Math.max(Math.min(h,c[1]),c[0])),a.position=["y"===o?c[u[l]]:t[0],"x"===o?c[u[l]]:t[3]],a.rotation=Math.PI/2*("x"===o?0:1),a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],a.labelOffset=r?c[u[s]]-c[u.onZero]:0,e.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),i.retrieve(n.labelInside,e.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection),e.get("axisLabel.rotate"));return a.labelRotate="top"===l?-h:h,a.z2=1,a}},"01ed":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2306");n("5aa9"),n("af24"),i.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new a.Rect({shape:t.coordinateSystem.getRect(),style:o.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),i.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))},"01ef":function(t,e){e.updateViewOnPan=function(t,e,n){var i=(t=t.target).position;i[0]+=e,i[1]+=n,t.dirty()},e.updateViewOnZoom=function(t,e,n,i){var o=t.target,a=t.zoomLimit,r=o.position,s=o.scale,l=t.zoom=t.zoom||1;l*=e,a&&(e=a.min||0,a=a.max||1/0,l=Math.max(Math.min(a,l),e)),a=l/t.zoom;t.zoom=l,r[0]-=(n-r[0])*(a-1),r[1]-=(i-r[1])*(a-1),s[0]*=a,s[1]*=a,o.dirty()}},"0352":function(t,e,n){var i=n("6cb7"),o=n("b12f"),a=n("0f99").detectSourceFormat;n=n("93d0").SERIES_LAYOUT_BY_COLUMN;i.extend({type:"dataset",defaultOption:{seriesLayoutBy:n,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){a(this)}}),o.extend({type:"dataset"})},"04f6":function(t,e){var n=32,i=7;function o(t,e,n,i){var o=e+1;if(o===n)return 1;if(i(t[o++],t[e])<0){for(;o<n&&i(t[o],t[o-1])<0;)o++;var a=t,r=e,s=o;for(s--;r<s;){var l=a[r];a[r++]=a[s],a[s--]=l}}else for(;o<n&&0<=i(t[o],t[o-1]);)o++;return o-e}function a(t,e,n,i,o){for(i===e&&i++;i<n;i++){for(var a,r=t[i],s=e,l=i;s<l;)o(r,t[a=s+l>>>1])<0?l=a:s=1+a;var u=i-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:for(;0<u;)t[s+u]=t[s+u-1],u--}t[s]=r}}function r(t,e,n,i,o,a){var r=0,s=0,l=1;if(0<a(t,e[n+o])){for(s=i-o;l<s&&0<a(t,e[n+o+l]);)(l=1+((r=l)<<1))<=0&&(l=s);s<l&&(l=s),r+=o,l+=o}else{for(s=o+1;l<s&&a(t,e[n+o-l])<=0;)(l=1+((r=l)<<1))<=0&&(l=s);i=r,r=o-(l=s<l?s:l),l=o-i}for(r++;r<l;){var u=r+(l-r>>>1);0<a(t,e[n+u])?r=u+1:l=u}return l}function s(t,e,n,i,o,a){var r=0,s=0,l=1;if(a(t,e[n+o])<0){for(s=o+1;l<s&&a(t,e[n+o-l])<0;)(l=1+((r=l)<<1))<=0&&(l=s);var u=r;r=o-(l=s<l?s:l),l=o-u}else{for(s=i-o;l<s&&0<=a(t,e[n+o+l]);)(l=1+((r=l)<<1))<=0&&(l=s);s<l&&(l=s),r+=o,l+=o}for(r++;r<l;){var c=r+(l-r>>>1);a(t,e[n+c])<0?l=c:r=c+1}return l}function l(t,e){var n,o,a=i,l=0,u=(t.length,[]);function c(c){var h=n[c],d=o[c],p=n[c+1],f=o[c+1];o[c]=d+f,c===l-3&&(n[c+1]=n[c+2],o[c+1]=o[c+2]),l--,c=s(t[p],t,h,d,0,e);if(h+=c,0!=(d-=c)&&0!==(f=r(t[h+d-1],t,p,f,f-1,e)))if(d<=f){var g=h,m=d,y=(c=p,f),v=0;for(v=0;v<m;v++)u[v]=t[g+v];var x=0,_=c,b=g;if(t[b++]=t[_++],0==--y)for(v=0;v<m;v++)t[b+v]=u[x+v];else if(1===m){for(v=0;v<y;v++)t[b+v]=t[_+v];t[b+y]=u[x]}else{for(var w,S,M,I=a;;){S=w=0,M=!1;do{if(e(t[_],u[x])<0){if(t[b++]=t[_++],S++,(w=0)==--y){M=!0;break}}else if(t[b++]=u[x++],w++,S=0,1==--m){M=!0;break}}while((w|S)<I);if(M)break;do{if(0!==(w=s(t[_],u,x,m,0,e))){for(v=0;v<w;v++)t[b+v]=u[x+v];if(b+=w,x+=w,(m-=w)<=1){M=!0;break}}if(t[b++]=t[_++],0==--y){M=!0;break}if(0!==(S=r(u[x],t,_,y,0,e))){for(v=0;v<S;v++)t[b+v]=t[_+v];if(b+=S,_+=S,0===(y-=S)){M=!0;break}}if(t[b++]=u[x++],1==--m){M=!0;break}}while(I--,i<=w||i<=S);if(M)break;I<0&&(I=0),I+=2}if((a=I)<1&&(a=1),1===m){for(v=0;v<y;v++)t[b+v]=t[_+v];t[b+y]=u[x]}else{if(0===m)throw new Error;for(v=0;v<m;v++)t[b+v]=u[x+v]}}}else{var T=h,A=d,C=p,D=f,L=0;for(L=0;L<D;L++)u[L]=t[C+L];var P=T+A-1,k=D-1,O=C+D-1,R=0,E=0;if(t[O--]=t[P--],0==--A)for(R=O-(D-1),L=0;L<D;L++)t[R+L]=u[L];else if(1===D){for(E=1+(O-=A),R=1+(P-=A),L=A-1;0<=L;L--)t[E+L]=t[R+L];t[O]=u[k]}else{for(var N=a;;){var z=0,B=0,V=!1;do{if(e(u[k],t[P])<0){if(t[O--]=t[P--],z++,(B=0)==--A){V=!0;break}}else if(t[O--]=u[k--],B++,z=0,1==--D){V=!0;break}}while((z|B)<N);if(V)break;do{if(0!==(z=A-s(u[k],t,T,A,A-1,e))){for(A-=z,E=1+(O-=z),R=1+(P-=z),L=z-1;0<=L;L--)t[E+L]=t[R+L];if(0===A){V=!0;break}}if(t[O--]=u[k--],1==--D){V=!0;break}if(0!==(B=D-r(t[P],u,0,D,D-1,e))){for(D-=B,E=1+(O-=B),R=1+(k-=B),L=0;L<B;L++)t[E+L]=u[R+L];if(D<=1){V=!0;break}}if(t[O--]=t[P--],0==--A){V=!0;break}}while(N--,i<=z||i<=B);if(V)break;N<0&&(N=0),N+=2}if((a=N)<1&&(a=1),1===D){for(E=1+(O-=A),R=1+(P-=A),L=A-1;0<=L;L--)t[E+L]=t[R+L];t[O]=u[k]}else{if(0===D)throw new Error;for(R=O-(D-1),L=0;L<D;L++)t[R+L]=u[L]}}}}n=[],o=[],this.mergeRuns=function(){for(;1<l;){var t=l-2;if(1<=t&&o[t-1]<=o[t]+o[t+1]||2<=t&&o[t-2]<=o[t]+o[t-1])o[t-1]<o[t+1]&&t--;else if(o[t]>o[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;1<l;){var t=l-2;0<t&&o[t-1]<o[t+1]&&t--,c(t)}},this.pushRun=function(t,e){n[l]=t,o[l]=e,l+=1}}t.exports=function(t,e,i,r){var s=(r=r||t.length)-(i=i||0);if(!(s<2)){var u=0;if(s<n)a(t,i,r,i+(u=o(t,i,r,e)),e);else{var c,h=new l(t,e),d=function(t){for(var e=0;n<=t;)e|=1&t,t>>=1;return t+e}(s);do{}while((u=o(t,i,r,e))<d&&(a(t,i,i+(c=d<(c=s)?d:s),i+u,e),u=c),h.pushRun(i,u),h.mergeRuns(),i+=u,0!==(s-=u));h.forceMergeRuns()}}}},"0655":function(t,e,n){var i=n("8728"),o=1e-8;function a(t,e){return Math.abs(t-e)<o}e.contain=function(t,e,n){var o=0,r=t[0];if(!r)return!1;for(var s=1;s<t.length;s++){var l=t[s];o+=i(r[0],r[1],l[0],l[1],e,n),r=l}var u=t[0];return a(r[0],u[0])&&a(r[1],u[1])||(o+=i(r[0],r[1],u[0],u[1],e,n)),0!==o}},"06ad9":function(t,e,n){var i=n("4436"),o=n("41ef"),a=n("6d8b").isArrayLike,r=Array.prototype.slice;function s(t,e){return t[e]}function l(t,e,n){t[e]=n}function u(t,e,n){return(e-t)*n+t}function c(t,e,n,i,o){var a=t.length;if(1===o)for(var r=0;r<a;r++)i[r]=u(t[r],e[r],n);else{var s=a&&t[0].length;for(r=0;r<a;r++)for(var l=0;l<s;l++)i[r][l]=u(t[r][l],e[r][l],n)}}function h(t,e,n){var i=t.length,o=e.length;if(i!==o)if(o<i)t.length=o;else for(var a=i;a<o;a++)t.push(1===n?e[a]:r.call(e[a]));var s=t[0]&&t[0].length;for(a=0;a<t.length;a++)if(1===n)isNaN(t[a])&&(t[a]=e[a]);else for(var l=0;l<s;l++)isNaN(t[a][l])&&(t[a][l]=e[a][l])}function d(t,e,n,i,o,a,r,s,l){var u=t.length;if(1===l)for(var c=0;c<u;c++)s[c]=p(t[c],e[c],n[c],i[c],o,a,r);else{var h=t[0].length;for(c=0;c<u;c++)for(var d=0;d<h;d++)s[c][d]=p(t[c][d],e[c][d],n[c][d],i[c][d],o,a,r)}}function p(t,e,n,i,o,a,r){return t=.5*(n-t),i=.5*(i-e),(2*(e-n)+t+i)*r+(-3*(e-n)-2*t-i)*a+t*o+e}function f(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function g(t,e,n,r,s,l){var g=t._getter,m=t._setter,y="spline"===e,v=r.length;if(v){for(var x,_=r[0].value,b=a(_),w=!1,S=!1,M=b?(_=(_=r)[_.length-1].value,a(_&&_[0])?2:1):0,I=(r.sort((function(t,e){return t.time-e.time})),x=r[v-1].time,[]),T=[],A=r[0].value,C=!0,D=0;D<v;D++){I.push(r[D].time/x);var L,P=r[D].value;b&&function(t,e,n){if(t===e)return 1;var i=t.length;if(i===e.length){if(1===n){for(var o=0;o<i;o++)if(t[o]!==e[o])return}else{var a=t[0].length;for(o=0;o<i;o++)for(var r=0;r<a;r++)if(t[o][r]!==e[o][r])return}return 1}}(P,A,M)||!b&&P===A||(C=!1),"string"==typeof(A=P)&&((L=o.parse(P))?(P=L,w=!0):S=!0),T.push(P)}if(l||!C){var k=T[v-1];for(D=0;D<v-1;D++)b?h(T[D],k,M):!isNaN(T[D])||isNaN(k)||S||w||(T[D]=k);b&&h(g(t._target,s),k,M);var O,R,E,N,z,B,V=0,G=0;_=(w&&(B=[0,0,0,0]),new i({target:t._target,life:x,loop:t._loop,delay:t._delay,onframe:function(t,e){var n;if(e<0)n=0;else if(e<G){for(n=Math.min(V+1,v-1);0<=n&&!(I[n]<=e);n--);n=Math.min(n,v-2)}else{for(n=V;n<v&&!(e<I[n]);n++);n=Math.min(n-1,v-2)}G=e;var i,o=I[(V=n)+1]-I[n];if(0!=o)if(O=(e-I[n])/o,y)if(E=T[n],R=T[0===n?n:n-1],N=T[v-2<n?v-1:n+1],z=T[v-3<n?v-1:n+2],b)d(R,E,N,z,O,O*O,O*O*O,g(t,s),M);else{if(w)i=d(R,E,N,z,O,O*O,O*O*O,B,1),i=f(B);else{if(S)return.5<O?N:E;i=p(R,E,N,z,O,O*O,O*O*O)}m(t,s,i)}else if(b)c(T[n],T[n+1],O,g(t,s),M);else{if(w)c(T[n],T[n+1],O,B,1),i=f(B);else{if(S)return.5<O?T[n+1]:T[n];i=u(T[n],T[n+1],O)}m(t,s,i)}},ondestroy:n}));return e&&"spline"!==e&&(_.easing=e),_}}}function m(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||s,this._setter=i||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]}m.prototype={when:function(t,e){var n,i=this._tracks;for(n in e)if(e.hasOwnProperty(n)){if(!i[n]){i[n]=[];var o=this._getter(this._target,n);if(null==o)continue;0!==t&&i[n].push({time:0,value:function(t){if(a(t)){var e=t.length;if(a(t[0])){for(var n=[],i=0;i<e;i++)n.push(r.call(t[i]));return n}return r.call(t)}return t}(o)})}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;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,n=0;n<e;n++)t[n].call(this)},start:function(t,e){function n(){--l||s._doneCallback()}var i,o,a,r,s=this,l=0;for(o in this._tracks)this._tracks.hasOwnProperty(o)&&(a=g(this,t,n,this._tracks[o],o,e))&&(this._clipList.push(a),l++,this.animation&&this.animation.addClip(a),i=a);return i&&(r=i.onframe,i.onframe=function(t,e){r(t,e);for(var n=0;n<s._onframeList.length;n++)s._onframeList[n](t,e)}),l||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,n=this.animation,i=0;i<e.length;i++){var o=e[i];t&&o.onframe(this._target,1),n&&n.removeClip(o)}e.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}},t.exports=m},"06c7":function(t,e,n){function i(t,e){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e}var o=n("6d8b"),a=n("31d9"),r=n("6179"),s=n("b1d4");function l(t){this.root,this.data,this._nodes=[],this.hostModel=t}function u(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}i.prototype={constructor:i,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,n){"function"==typeof t&&(n=e,e=t,t=null);var i,a=(t=o.isString(t=t||{})?{order:t}:t).order||"preorder",r=this[t.attr||"children"];"preorder"===a&&(i=e.call(n,this));for(var s=0;!i&&s<r.length;s++)r[s].eachNode(t,e,n);"postorder"===a&&e.call(n,this)},updateDepthAndHeight:function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var o=n[e].getNodeById(t);if(o)return o}},contains:function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var o=n[e].contains(t);if(o)return o}},getAncestors:function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},getValue:function(t){var e=this.hostTree.data;return e.get(e.getDimension(t||"value"),this.dataIndex)},setLayout:function(t,e){0<=this.dataIndex&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},setVisual:function(t,e){0<=this.dataIndex&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){return t=this.data.getRawIndex(t),this._nodes[t]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},l.createTree=function(t,e,n){var c=new l(e),h=[],d=1;return function t(e,n){var a=e.value;d=Math.max(d,o.isArray(a)?a.length:1),h.push(e);var r=new i(e.name,c);n?u(r,n):c.root=r,c._nodes.push(r);var s=e.children;if(s)for(var l=0;l<s.length;l++)t(s[l],r)}(t),c.root.updateDepthAndHeight(0),t=s(h,{coordDimensions:["value"],dimensionsCount:d}),t=new r(t,e),t.initData(h),n&&n(t),a({mainData:t,struct:c,structAttr:"tree"}),c.update(),c},t.exports=l},"06ea":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("eaea"),a=n("5f14"),r=n("60e3"),s=n("3842").reformIntervals,l=o.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(t,e){l.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode(),o=(u[this._mode].call(this),this._resetSelected(t,e),this.option.categories);this.resetVisual((function(t,e){"categories"===n?(t.mappingMethod="category",t.categories=i.clone(o)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=i.map(this._pieceList,(function(t){return t=i.clone(t),"inRange"!==e&&(t.visual=null),t})))}))},completeVisualOption:function(){var t=this.option,e={},n=a.listVisualTypes(),s=this.isCategory();function l(t,e,n){return t&&t[e]&&(i.isObject(t[e])?t[e].hasOwnProperty(n):t[e]===n)}i.each(t.pieces,(function(t){i.each(n,(function(n){t.hasOwnProperty(n)&&(e[n]=1)}))})),i.each(e,(function(e,n){var o=0;i.each(this.stateList,(function(e){o|=l(t,e,n)||l(t.target,e,n)}),this),o||i.each(this.stateList,(function(e){(t[e]||(t[e]={}))[n]=r.get(n,"inRange"===e?"active":"inactive",s)}))}),this),o.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(t,e){var n,o=this.option,a=this._pieceList,r=(e?o:t).selected||{};o.selected=r,i.each(a,(function(t,e){t=this.getSelectedMapKey(t),r.hasOwnProperty(t)||(r[t]=!0)}),this),"single"===o.selectedMode&&(n=!1,i.each(a,(function(t,e){t=this.getSelectedMapKey(t),r[t]&&(n?r[t]=!1:n=!0)}),this))},getSelectedMapKey:function(t){return"categories"===this._mode?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this.option;return t.pieces&&0<t.pieces.length?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=i.clone(t)},getValueState:function(t){return t=a.findPieceIndex(t,this._pieceList),null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),(function(e,n){a.findPieceIndex(e,this._pieceList)===t&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},getRepresentValue:function(t){return this.isCategory()||null!=t.value?t.value:(t=t.interval||[])[0]===-1/0&&t[1]===1/0?0:(t[0]+t[1])/2},getVisualMeta:function(t){var e,n,o,a,r,s;if(!this.isCategory())return e=[],n=[],(a=(o=this)._pieceList.slice()).length?((r=a[0].interval[0])!==-1/0&&a.unshift({interval:[-1/0,r]}),(r=a[a.length-1].interval[1])!==1/0&&a.push({interval:[r,1/0]})):a.push({interval:[-1/0,1/0]}),s=-1/0,i.each(a,(function(t){t=t.interval,t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:e,outerColors:n};function l(i,a){var r=o.getRepresentValue({interval:i});a=a||o.getValueState(r),r=t(r,a);i[0]===-1/0?n[0]=r:i[1]===1/0?n[1]=r:e.push({value:i[0],color:r},{value:i[1],color:r})}}}),u={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),o=this.getExtent(),a=t.splitNumber;a=Math.max(parseInt(a,10),1);t.splitNumber=a;for(var r=(o[1]-o[0])/a;+r.toFixed(n)!==r&&n<5;)n++;t.precision=n,r=+r.toFixed(n),t.minOpen&&e.push({interval:[-1/0,o[0]],close:[0,0]});for(var l=0,u=o[0];l<a;u+=r,l++){var c=l===a-1?o[1]:u+r;e.push({interval:[u,c],close:[1,1]})}t.maxOpen&&e.push({interval:[o[1],1/0],close:[0,0]}),s(e),i.each(e,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(){var t=this.option;i.each(t.categories,(function(t){this._pieceList.push({text:this.formatValueText(t,!0),value:t})}),this),c(t,this._pieceList)},pieces:function(){var t=this.option,e=this._pieceList;i.each(t.pieces,(function(t,n){if(n={text:"",index:n},null!=(t=i.isObject(t)?t:{value:t}).label&&(n.text=t.label),t.hasOwnProperty("value")){var o=n.value=t.value;n.interval=[o,o],n.close=[1,1]}else{for(var r=n.interval=[],s=n.close=[0,0],l=[1,0,1],u=[-1/0,1/0],c=[],h=0;h<2;h++){for(var d=[["gte","gt","min"],["lte","lt","max"]][h],p=0;p<3&&null==r[h];p++)r[h]=t[d[p]],s[h]=l[p],c[h]=2===p;null==r[h]&&(r[h]=u[h])}c[0]&&r[1]===1/0&&(s[0]=0),c[1]&&r[0]===-1/0&&(s[1]=0),r[0]===r[1]&&s[0]&&s[1]&&(n.value=r[0])}n.visual=a.retrieveVisuals(t),e.push(n)}),this),c(t,e),s(e),i.each(e,(function(t){var e=t.close;e=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,e)}),this)}};function c(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}t.exports=l},"07d7":function(t,e,n){var i=n("6d8b"),o=n("41ef"),a=n("607d"),r=n("65ed"),s=n("22d1"),l=n("eda2"),u=i.each,c=l.toCamelCase,h=["","-webkit-","-moz-","-o-"];function d(t){var e,n,a=[],r=t.get("transitionDuration"),d=t.get("backgroundColor"),p=t.getModel("textStyle"),f=t.get("padding");return r&&a.push((n="left "+r+"s "+(e="cubic-bezier(0.23, 1, 0.32, 1)")+",top "+r+"s "+e,i.map(h,(function(t){return t+"transition:"+n})).join(";"))),d&&(s.canvasSupported?a.push("background-Color:"+d):(a.push("background-Color:#"+o.toHex(d)),a.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],(function(e){var n="border-"+e,i=c(n);i=t.get(i);null!=i&&a.push(n+":"+i+("color"===e?"":"px"))})),a.push(function(t){var e=[],n=t.get("fontSize");(i=t.getTextColor())&&e.push("color:"+i),e.push("font:"+t.getFont()),null==(i=t.get("lineHeight"))&&(i=Math.round(3*n/2)),n&&e.push("line-height:"+i+"px");n=t.get("textShadowColor");var i=t.get("textShadowBlur")||0,o=t.get("textShadowOffsetX")||0,a=t.get("textShadowOffsetY")||0;return i&&e.push("text-shadow:"+o+"px "+a+"px "+i+"px "+n),u(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}(p)),null!=f&&a.push("padding:"+l.normalizeCssArray(f).join("px ")+"px"),a.join(";")+";"}function p(t,e,n,i,o){var a=e&&e.painter;n?(n=a&&a.getViewportRoot())&&r.transformLocalCoord(t,n,document.body,i,o):(t[0]=i,t[1]=o,(n=a&&a.getViewportRootOffset())&&(t[0]+=n.offsetLeft,t[1]+=n.offsetTop)),t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function f(t,e,n){if(s.wxa)return null;var i=document.createElement("div"),o=(i.domBelongToZr=!0,this.el=i,this._zr=e.getZr()),r=(n=this._appendToBody=n&&n.appendToBody,this._styleCoord=[0,0,0,0],p(this._styleCoord,o,n,e.getWidth()/2,e.getHeight()/2),(n?document.body:t).appendChild(i),this._container=t,this._show=!1,this._hideTimeout,this);i.onmouseenter=function(){r._enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0},i.onmousemove=function(t){var e,n;t=t||window.event,r._enterable||(e=o.handler,n=o.painter.getViewportRoot(),a.normalizeEvent(n,t,!0),e.dispatch("mousemove",t))},i.onmouseleave=function(){r._enterable&&r._show&&r.hideLater(r._hideDelay),r._inContent=!1}}f.prototype={constructor:f,_enterable:!0,update:function(t){var e=this._container,n=e.currentStyle||document.defaultView.getComputedStyle(e);e=e.style;"absolute"!==e.position&&"absolute"!==n.position&&(e.position="relative"),t.get("alwaysShowContent")&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3];t*=this._zr.getWidth(),e*=this._zr.getHeight();this.moveTo(t,e)},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,n=this._styleCoord;e.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+d(t)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n=this._styleCoord;p(n,this._zr,this._appendToBody,t,e),t=this.el.style;t.left=n[0]+"px",t.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t,e=this.el.clientWidth,n=this.el.clientHeight;return document.defaultView&&document.defaultView.getComputedStyle&&(t=document.defaultView.getComputedStyle(this.el))&&(e+=parseInt(t.borderLeftWidth,10)+parseInt(t.borderRightWidth,10),n+=parseInt(t.borderTopWidth,10)+parseInt(t.borderBottomWidth,10)),{width:e,height:n}}},t.exports=f},"07e6":function(t,e,n){n("4d85"),n("a753")},"0817":function(t,e,n){var i=n("3eba");n("f306"),n("0046"),n("60d7"),n=n("ab71");i.registerVisual(n)},"085d":function(t,e,n){var i=n("3eba"),o=(n("bd92"),n("19e2"),n("eabf")),a=n("4c99");n=n("09b1");i.registerPreprocessor(o),i.registerVisual(a),i.registerLayout(n)},"08c3":function(t,e,n){function i(t,e,n,i){a.call(this,t,e,n),this.type=i||"value",this.model=null}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},o.inherits(i,a),t.exports=i},"09b1":function(t,e,n){var i=n("2306").subPixelOptimize,o=n("cccd"),a=n("3842").parsePercent,r=n("6d8b").retrieve2,s="undefined"!=typeof Float32Array?Float32Array:Array;n={seriesType:"candlestick",plan:o(),reset:function(t){var e,n,o=t.coordinateSystem,u=t.getData(),c=(e=u,p="category"===(p=(h=t).getBaseAxis()).type?p.getBandWidth():(p=p.getExtent(),Math.abs(p[1]-p[0])/e.count()),e=a(r(h.get("barMaxWidth"),p),p),n=a(r(h.get("barMinWidth"),1),p),null!=(h=h.get("barWidth"))?a(h,p):Math.max(Math.min(p/2,e),n)),h=["x","y"],d=u.mapDimension(h[0]),p=u.mapDimension(h[1],!0),f=p[0],g=p[1],m=p[2],y=p[3];if(u.setLayout({candleWidth:c,isSimpleBox:c<=1.3}),!(null==d||p.length<4))return{progress:t.pipelineContext.large?function(t,e){for(var n,i=new s(4*t.count),a=0,r=[],u=[];null!=(n=t.next());){var c=e.get(d,n),h=e.get(f,n),p=e.get(g,n),v=e.get(m,n),x=e.get(y,n);isNaN(c)||isNaN(v)||isNaN(x)?(i[a++]=NaN,a+=3):(i[a++]=l(e,n,h,p,g),r[0]=c,r[1]=v,n=o.dataToPoint(r,null,u),i[a++]=n?n[0]:NaN,i[a++]=n?n[1]:NaN,r[1]=x,n=o.dataToPoint(r,null,u),i[a++]=n?n[1]:NaN)}e.setLayout("largePoints",i)}:function(t,e){for(var n;null!=(n=t.next());){var a=e.get(d,n),r=e.get(f,n),s=e.get(g,n),u=e.get(m,n),h=e.get(y,n),p=Math.min(r,s),v=Math.max(r,s),x=(p=w(p,a),v=w(v,a),w(u,a)),_=w(h,a),b=[];S(b,v,0),S(b,p,1),b.push(M(_),M(v),M(x),M(p)),e.setItemLayout(n,{sign:l(e,n,r,s,g),initBaseline:(s<r?v:p)[1],ends:b,brushRect:function(t,e,n){return t=w(t,n),e=w(e,n),t[0]-=c/2,e[0]-=c/2,{x:t[0],y:t[1],width:c,height:e[1]-t[1]}}(u,h,a)})}function w(t,e){var n=[];return n[0]=e,n[1]=t,isNaN(e)||isNaN(t)?[NaN,NaN]:o.dataToPoint(n)}function S(t,e,n){var o=e.slice();e=e.slice();o[0]=i(o[0]+c/2,1,!1),e[0]=i(e[0]-c/2,1,!0),n?t.push(o,e):t.push(e,o)}function M(t){return t[0]=i(t[0],1),t}}}}};function l(t,e,n,i,o){return n=i<n||!(n<i||!(0<e)||t.get(o,e-1)<=i)?-1:1,n}t.exports=n},"0a6d":function(t,e,n){n("e4d1"),n("7f72")},"0b44":function(t,e,n){function i(){this._track=[]}var o=n("607d");function a(t){var e=t[1][0]-t[0][0];t=t[1][1]-t[0][1];return Math.sqrt(e*e+t*t)}i.prototype={constructor:i,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,n){var i=t.touches;if(i){for(var a={points:[],touches:[],target:e,event:t},r=0,s=i.length;r<s;r++){var l=i[r],u=o.clientToLocal(n,l,{});a.points.push([u.zrX,u.zrY]),a.touches.push(l)}this._track.push(a)}},_recognize:function(t){for(var e in r)if(r.hasOwnProperty(e)&&(e=r[e](this._track,t),e))return e}};var r={pinch:function(t,e){var n,i=t.length;if(i)return n=(t[i-1]||{}).points,(i=(t[i-2]||{}).points||n)&&1<i.length&&n&&1<n.length?(i=a(n)/a(i),isFinite(i)||(i=1),e.pinchScale=i,i=[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2],e.pinchX=i[0],e.pinchY=i[1],{type:"pinch",target:t[0].target,event:e}):void 0}};t.exports=i},"0b4b":function(t,e,n){n("d28f"),n("f14c"),n("0ee7"),n("ebf9")},"0c12":function(t,e){function n(){}n.prototype={diff:function(t,e,n){this.equals=n=n||function(t,e){return t===e};var i=this,o=(t=t.slice(),(e=e.slice()).length),a=t.length,r=1,s=o+a,l=[{newPos:-1,components:[]}];n=this.extractCommon(l[0],e,t,0);if(l[0].newPos+1>=o&&a<=n+1){for(var u=[],c=0;c<e.length;c++)u.push(c);return[{indices:u,count:e.length}]}for(;r<=s;){var h=function(){for(var n=-1*r;n<=r;n+=2){var s,u=l[n-1],c=l[n+1],h=(c?c.newPos:0)-n,d=(u&&(l[n-1]=void 0),u&&u.newPos+1<o),p=c&&0<=h&&h<a;if(d||p){if(!d||p&&u.newPos<c.newPos?(s={newPos:c.newPos,components:c.components.slice(0)},i.pushComponent(s.components,void 0,!0)):((s=u).newPos++,i.pushComponent(s.components,!0,void 0)),h=i.extractCommon(s,e,t,n),s.newPos+1>=o&&a<=h+1){for(var f=s.components,g=0,m=f.length,y=0,v=0;g<m;g++){var x=f[g];if(x.removed){for(_=[],b=v;b<v+x.count;b++)_.push(b);x.indices=_,v+=x.count}else{for(var _=[],b=y;b<y+x.count;b++)_.push(b);x.indices=_,y+=x.count,x.added||(v+=x.count)}}return f}l[n]=s}else l[n]=void 0}r++}();if(h)return h}},pushComponent:function(t,e,n){var i=t[t.length-1];i&&i.added===e&&i.removed===n?t[t.length-1]={count:i.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,i){for(var o=e.length,a=n.length,r=t.newPos,s=r-i,l=0;r+1<o&&s+1<a&&this.equals(e[r+1],n[s+1]);)r++,s++,l++;return l&&t.components.push({count:l}),t.newPos=r,s},tokenize:function(t){return t.slice()},join:function(t){return t.slice()}};var i=new n;t.exports=function(t,e,n){return i.diff(t,e,n)}},"0c37":function(t,e,n){function i(t,e){var n=s(t),i=20,o=[];if("number"==typeof n)i=n;else if(a.isArray(n))return t.__curvenessList=n;for(var r=(i=i<e?e:i)%2?i+2:i+3,l=(o=[],0);l<r;l++)o.push((l%2?l+1:l)/10*(l%2?-1:1));t.__curvenessList=o}function o(t){return[(t=t.split(r))[0],t[2],t[1]].join(r)}var a=n("6d8b"),r="--\x3e",s=function(t){return t.get("autoCurveness")||null},l=function(t,e,n){return t=[t.id,t.dataIndex].join("."),e=[e.id,e.dataIndex].join("."),[n.uid,t,e].join(r)},u=function(t,e){return e=e.__edgeMap,e[t]?e[t].length:0};e.initCurvenessList=function(t){s(t)&&(t.__curvenessList=[],t.__edgeMap={},i(t))},e.createEdgeMapForCurveness=function(t,e,n,i){s(n)&&(t=l(t,e,n),n=(e=n.__edgeMap)[o(t)],e[t]&&!n?e[t].isForward=!0:n&&e[t]&&(n.isForward=!0,e[t].isForward=!1),e[t]=e[t]||[],e[t].push(i))},e.getCurvenessForEdge=function(t,e,n,r){var c=s(e),h=a.isArray(c);if(!c)return null;var d=function(t,e){return t=l(t.node1,t.node2,e),e.__edgeMap[t]}(t,e);if(!d)return null;for(var p=-1,f=0;f<d.length;f++)if(d[f]===n){p=f;break}m=e;var g=u(l((g=t).node1,g.node2,m),m)+u(l(g.node2,g.node1,m),m),m=(i(e,g),t.lineStyle=t.lineStyle||{},l(t.node1,t.node2,e));t=e.__curvenessList,g=h||g%2?0:1;return d.isForward?t[g+p]:(m=o(m),e=t[p+(m=u(m,e))+g],r?!h||c&&0===c[0]?(m+g)%2?e:-e:((m%2?0:1)+g)%2?e:-e:t[p+m+g])}},"0c41":function(t,e,n){var i=n("6d8b"),o=n("4a01"),a=n("01ef"),r=n("c526").onIrrelevantElement,s=n("2306"),l=n("5b87"),u=n("8918").getUID,c=n("0cde");function h(t){var e=t.getItemStyle();t=t.get("areaColor");return null!=t&&(e.fill=t),e}function d(t,e){e.eachChild((function(e){i.each(e.__regions,(function(n){e.trigger(t.isSelected(n.name)?"emphasis":"normal")}))}))}function p(t,e){var n=new s.Group;this.uid=u("ec_map_draw"),this._controller=new o(t.getZr()),this._controllerHost={target:e?n:null},this.group=n,this._updateGroup=e,this._mouseDownFlag,this._mapName,this._initialized,n.add(this._regionsGroup=new s.Group),n.add(this._backgroundGroup=new s.Group)}p.prototype={constructor:p,draw:function(t,e,n,o,a){var r,l,u,p,f,g,m,y="geo"===t.mainType,v=t.getData&&t.getData(),x=(y&&e.eachComponent({mainType:"series",subType:"map"},(function(e){v||e.getHostGeoModel()!==t||(v=e.getData())})),t.coordinateSystem),_=(this._updateBackground(x),this._regionsGroup),b=this.group,w=x.getTransformInfo(),S=!_.childAt(0)||a,M=(S?(b.transform=w.roamTransform,b.decomposeTransform(),b.dirty()):((a=new c).transform=w.roamTransform,a.decomposeTransform(),r={scale:a.scale,position:a.position},l=a.scale,s.updateProps(b,r,t)),w.rawScale),I=w.rawPosition,T=(_.removeAll(),["itemStyle"]),A=["emphasis","itemStyle"],C=["label"],D=["emphasis","label"],L=i.createHashMap();i.each(x.regions,(function(e){function n(t){return[t[0]*M[0]+I[0],t[1]*M[1]+I[1]]}var o,a,r=L.get(e.name)||L.set(e.name,new s.Group),u=new s.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}}),c=(r.add(u),t.getRegionModel(e.name)||t),d=c.getModel(T),p=c.getModel(A),f=(d=h(d),p=h(p),c.getModel(C)),g=c.getModel(D),m=(v&&(o=v.indexOfName(e.name),m=v.getItemVisual(o,"color",!0))&&(d.fill=m),i.each(e.geometries,(function(t){if("polygon"===t.type){for(var e=[],i=0;i<t.exterior.length;++i)e.push(n(t.exterior[i]));for(u.shape.paths.push(new s.Polygon({segmentIgnoreThreshold:1,shape:{points:e}})),i=0;i<(t.interiors?t.interiors.length:0);++i){for(var o=t.interiors[i],a=(e=[],0);a<o.length;++a)e.push(n(o[a]));u.shape.paths.push(new s.Polygon({segmentIgnoreThreshold:1,shape:{points:e}}))}}})),u.setStyle(d),u.style.strokeNoScale=!0,u.culling=!0,f.get("show")),x=(d=g.get("show"),v&&isNaN(v.get(v.mapDimension("value"),o))),w=v&&v.getItemLayout(o);(y||x&&(m||d)||w&&w.showLabel)&&(x=y?e.name:o,(!v||0<=o)&&(a=t),m=new s.Text({position:n(e.center.slice()),scale:[1/b.scale[0],1/b.scale[1]],z2:10,silent:!0}),s.setLabelStyle(m.style,m.hoverStyle={},f,g,{labelFetcher:a,labelDataIndex:x,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),S||(d=[1/l[0],1/l[1]],s.updateProps(m,{scale:d},t)),r.add(m)),v?v.setItemGraphicEl(o,r):(c=t.getRegionModel(e.name),u.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:c&&c.option||{}}),(r.__regions||(r.__regions=[])).push(e),r.highDownSilentOnTouch=!!t.get("selectedMode"),s.setHoverStyle(r,p),_.add(r)})),this._updateController(t,e,n),u=this,p=t,g=n,m=o,(f=_).off("click"),f.off("mousedown"),p.get("selectedMode")&&(f.on("mousedown",(function(){u._mouseDownFlag=!0})),f.on("click",(function(t){if(u._mouseDownFlag){u._mouseDownFlag=!1;for(var e=t.target;!e.__regions;)e=e.parent;e&&((t={type:("geo"===p.mainType?"geo":"map")+"ToggleSelect",batch:i.map(e.__regions,(function(t){return{name:t.name,from:m.uid}}))})[p.mainType+"Id"]=p.id,g.dispatchAction(t),d(p,f))}}))),d(t,_)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&l.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){t=t.map,this._mapName!==t&&i.each(l.makeGraphic(t,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=t},_updateController:function(t,e,n){var o=t.coordinateSystem,s=this._controller,l=this._controllerHost,u=(l.zoomLimit=t.get("scaleLimit"),l.zoom=o.getZoom(),s.enable(t.get("roam")||!1),t.mainType);function c(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}s.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,a.updateViewOnPan(l,t.dx,t.dy),n.dispatchAction(i.extend(c(),{dx:t.dx,dy:t.dy}))}),this),s.off("zoom").on("zoom",(function(t){var e;this._mouseDownFlag=!1,a.updateViewOnZoom(l,t.scale,t.originX,t.originY),n.dispatchAction(i.extend(c(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup&&(e=this.group.scale,this._regionsGroup.traverse((function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])})))}),this),s.setPointerChecker((function(e,i,a){return o.getViewRectAfterRoam().contain(i,a)&&!r(e,n,t)}))}},t.exports=p},"0cde":function(t,e,n){var i=n("1687"),o=n("401b"),a=i.identity;function r(t){return 5e-5<t||t<-5e-5}function s(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}n=s.prototype;var l=(n.transform=null,n.needLocalTransform=function(){return r(this.rotation)||r(this.position[0])||r(this.position[1])||r(this.scale[0]-1)||r(this.scale[1]-1)},[]),u=(n.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),o=this.transform;n||e?(o=o||i.create(),n?this.getLocalTransform(o):a(o),e&&(n?i.mul(o,t.transform,o):i.copy(o,t.transform)),this.transform=o,null!=(e=this.globalScaleRatio)&&1!==e&&(this.getGlobalScale(l),t=((l[1]-(n=l[1]<0?-1:1))*e+n)/l[1]||0,o[0]*=e=((l[0]-(n=l[0]<0?-1:1))*e+n)/l[0]||0,o[1]*=e,o[2]*=t,o[3]*=t),this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,o)):o&&a(o)},n.getLocalTransform=function(t){return s.getLocalTransform(this,t)},n.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},n.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)},[]),c=i.create();n.setLocalTransform=function(t){var e,n,i,o;t&&(e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=this.position,o=this.scale,r(e-1)&&(e=Math.sqrt(e)),r(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),i[0]=t[4],i[1]=t[5],o[0]=e,o[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e))},n.decomposeTransform=function(){var t,e;this.transform&&(e=this.parent,t=this.transform,e&&e.transform&&(i.mul(u,e.invTransform,t),t=u),(e=this.origin)&&(e[0]||e[1])&&(c[4]=e[0],c[5]=e[1],i.mul(u,t,c),u[4]-=e[0],u[5]-=e[1],t=u),this.setLocalTransform(t))},n.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[0]=1,t[1]=1),t},n.transformCoordToLocal=function(t,e){return t=[t,e],e=this.invTransform,e&&o.applyTransform(t,t,e),t},n.transformCoordToGlobal=function(t,e){return t=[t,e],e=this.transform,e&&o.applyTransform(t,t,e),t},s.getLocalTransform=function(t,e){a(e=e||[]);var n=t.origin,o=t.scale||[1,1],r=t.rotation||0;t=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),i.scale(e,e,o),r&&i.rotate(e,e,r),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=t[0],e[5]+=t[1],e},t.exports=s},"0da8":function(t,e,n){var i=n("19eb"),o=n("9850"),a=n("6d8b"),r=n("5e76");function s(t){i.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var n,i,o,a,s,l,u=this.style,c=u.image;u.bind(t,this,e),e=this._image=r.createOrUpdateImage(c,this._image,this,this.onload);e&&r.isImageReady(e)&&(c=u.x||0,n=u.y||0,i=u.width,o=u.height,a=e.width/e.height,null==i&&null!=o?i=o*a:null==o&&null!=i?o=i/a:null==i&&null==o&&(i=e.width,o=e.height),this.setTransform(t),u.sWidth&&u.sHeight?(s=u.sx||0,l=u.sy||0,t.drawImage(e,s,l,u.sWidth,u.sHeight,c,n,i,o)):u.sx&&u.sy?(s=u.sx,l=u.sy,t.drawImage(e,s,l,i-s,o-l,c,n,i,o)):t.drawImage(e,c,n,i,o),null!=u.text)&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new o(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},a.inherits(s,i),t.exports=s},"0e0f":function(t,e,n){var i=n("5f14"),o=n("6d8b");t.exports=function(t,e){t.eachSeriesByType("sankey",(function(t){var e,n,a=t.getGraph().nodes;a.length&&(e=1/0,n=-1/0,o.each(a,(function(t){t=t.getLayout().value,t<e&&(e=t),n<t&&(n=t)})),o.each(a,(function(o){var a=new i({type:"color",mappingMethod:"linear",dataExtent:[e,n],visual:t.get("color")}).mapValueToVisual(o.getLayout().value),r=o.getModel().get("itemStyle.color");null!=r?o.setVisual("color",r):o.setVisual("color",a)})))}))}},"0ee7":function(t,e,n){var i=n("6d8b"),o=n("2306"),a=n("f934"),r=(n=n("5e97"),o.Group),s=["width","height"],l=["x","y"],u=n.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){u.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new r),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new r),this._showController},resetInner:function(){u.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,n,a,r,s,l){var c=this,h=(u.superCall(this,"renderInner",t,e,n,a,r,s,l),this._controllerGroup),d=e.get("pageIconSize",!0);i.isArray(d)||(d=[d,d]),p("pagePrev",0),t=e.getModel("pageTextStyle");function p(t,n){var r=t+"DataIndex";n=o.createIcon(e.get("pageIcons",!0)[e.getOrient().name][n],{onclick:i.bind(c._pageGo,c,r,e,a)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});n.name=t,h.add(n)}h.add(new o.Text({name:"pageText",style:{textFill:t.getTextColor(),font:t.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),p("pageNext",1)},layoutInner:function(t,e,n,o,r,u){var c=this.getSelectorGroup(),h=t.getOrient().index,d=s[h],p=l[h],f=s[1-h],g=l[1-h],m=(r&&a.box("horizontal",c,t.get("selectorItemGap",!0)),t.get("selectorButtonGap",!0)),y=c.getBoundingRect(),v=[-y.x,-y.y],x=i.clone(n);r&&(x[d]=n[d]-y[d]-m),n=this._layoutContentAndController(t,o,x,h,d,f,g);return r&&("end"===u?v[h]+=n[d]+m:(t=y[d]+m,v[h]-=t,n[p]-=t),n[d]+=y[d]+m,v[1-h]+=n[g]+n[f]/2-y[f]/2,n[f]=Math.max(n[f],y[f]),n[g]=Math.min(n[g],y[g]+v[1-h]),c.attr("position",v)),n},_layoutContentAndController:function(t,e,n,r,s,l,u){var c=this.getContentGroup(),h=this._containerGroup,d=this._controllerGroup,p=(a.box(t.get("orient"),c,t.get("itemGap"),r?n.width:null,r?null:n.height),a.box("horizontal",d,t.get("pageButtonItemGap",!0)),c.getBoundingRect()),f=d.getBoundingRect(),g=this._showController=p[s]>n[s],m=[-p.x,-p.y],y=(e=(e||(m[r]=c.position[r]),[0,0]),[-f.x,-f.y]),v=i.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));g&&("end"===t.get("pageButtonPosition",!0)?y[r]+=n[s]-f[s]:e[r]+=f[s]+v),y[1-r]+=p[l]/2-f[l]/2,c.attr("position",m),h.attr("position",e),d.attr("position",y),m={x:0,y:0},m[s]=(g?n:p)[s],m[l]=Math.max(p[l],f[l]),m[u]=Math.min(0,f[u]+y[1-r]),h.__rectSize=n[s],g?((e={x:0,y:0})[s]=Math.max(n[s]-f[s]-v,0),e[l]=m[l],h.setClipPath(new o.Rect({shape:e})),h.__rectSize=e[s]):d.eachChild((function(t){t.attr({invisible:!0,silent:!0})})),p=this._getPageInfo(t);return null!=p.pageIndex&&o.updateProps(c,{position:p.contentPosition},g&&t),this._updatePageInfoView(t,p),m},_pageGo:function(t,e,n){t=this._getPageInfo(e)[t],null!=t&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup,o=(i.each(["pagePrev","pageNext"],(function(i){var o=null!=e[i+"DataIndex"];i=n.childOfName(i);i&&(i.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),i.cursor=o?"pointer":"default")})),n.childOfName("pageText")),a=t.get("pageFormatter"),r=e.pageIndex,s=(r=null!=r?r+1:0,e.pageCount);o&&a&&o.setStyle("text",i.isString(a)?a.replace("{current}",r).replace("{total}",s):a({current:r,total:s}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,o=t.getOrient().index,a=s[o],r=l[o],u=(t=this._findTargetItemIndex(e),n.children()),c=(e=u[t],u.length),h=c?1:0,d={contentPosition:n.position.slice(),pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(e){n=y(e),d.contentPosition[o]=-n.s;for(var p=t+1,f=n,g=n,m=null;p<=c;++p)(!(m=y(u[p]))&&g.e>f.s+i||m&&!v(m,f.s))&&(f=g.i>f.i?g:m)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=f.i),++d.pageCount),g=m;for(p=t-1,f=n,g=n,m=null;-1<=p;--p)(m=y(u[p]))&&v(g,m.s)||!(f.i<g.i)||(g=f,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=f.i),++d.pageCount,++d.pageIndex),f=m}return d;function y(t){var e,n;if(t)return{s:n=(e=t.getBoundingRect())[r]+t.position[o],e:n+e[a],i:t.__legendDataIndex}}function v(t,e){return t.e>=e&&t.s<=e+i}},_findTargetItemIndex:function(t){var e,n;return this._showController?(this.getContentGroup().eachChild((function(i,o){i=i.__legendDataIndex,null==n&&null!=i&&(n=o),i===t&&(e=o)})),null!=e?e:n):0}});t.exports=u},"0f55":function(t,e,n){function i(t,e,n,i,o){a.call(this,t,e,n),this.type=i||"value",this.axisIndex=o}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},o.inherits(i,a),t.exports=i},"0f99":function(t,e,n){n("4e08").__DEV__;var i=n("e0d3"),o=i.makeInner,a=i.getDataItemValue,r=(i=n("6d8b"),i.createHashMap),s=i.each,l=i.map,u=i.isArray,c=i.isString,h=i.isObject,d=i.isTypedArray,p=i.isArrayLike,f=i.extend,g=(i.assert,n("ec6f")),m=(i=n("93d0"),i.SOURCE_FORMAT_ORIGINAL),y=i.SOURCE_FORMAT_ARRAY_ROWS,v=i.SOURCE_FORMAT_OBJECT_ROWS,x=i.SOURCE_FORMAT_KEYED_COLUMNS,_=i.SOURCE_FORMAT_UNKNOWN,b=i.SOURCE_FORMAT_TYPED_ARRAY,w=i.SERIES_LAYOUT_BY_ROW,S={Must:1,Might:2,Not:3},M=o();function I(t){var e;if(t)return e=r(),l(t,(function(t,n){var i;return null!=(t=f({},h(t)?t:{name:t})).name&&(t.name+="",null==t.displayName&&(t.displayName=t.name),(i=e.get(t.name))?t.name+="-"+i.count++:e.set(t.name,{count:1})),t}))}function T(t,e,n,i){if(null==i&&(i=1/0),e===w)for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else{var a=n[0]||[];for(o=0;o<a.length&&o<i;o++)t(a[o],o)}}function A(t){var e=t.option;if(!e.data)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}function C(t,e,n,i,o,r){var s,l,p;if(!d(t)){if(i&&(i=i[r],h(i)?(l=i.name,p=i.type):c(i)&&(l=i)),null!=p)return"ordinal"===p?S.Must:S.Not;if(e===y)if(n===w){for(var f=t[r],g=0;g<(f||[]).length&&g<5;g++)if(null!=(s=I(f[o+g])))return s}else for(g=0;g<t.length&&g<5;g++){var _=t[o+g];if(_&&null!=(s=I(_[r])))return s}else if(e===v){if(!l)return S.Not;for(g=0;g<t.length&&g<5;g++)if((b=t[g])&&null!=(s=I(b[l])))return s}else if(e===x){if(!l)return S.Not;if(!(f=t[l])||d(f))return S.Not;for(g=0;g<f.length&&g<5;g++)if(null!=(s=I(f[g])))return s}else if(e===m)for(g=0;g<t.length&&g<5;g++){var b=t[g],M=a(b);if(!u(M))return S.Not;if(null!=(s=I(M[r])))return s}}return S.Not;function I(t){var e=c(t);return null!=t&&isFinite(t)&&""!==t?e?S.Might:S.Not:e&&"-"!==t?S.Must:void 0}}e.BE_ORDINAL=S,e.detectSourceFormat=function(t){var e=t.option.source,n=_;if(d(e))n=b;else if(u(e)){0===e.length&&(n=y);for(var i=0,o=e.length;i<o;i++){var a=e[i];if(null!=a){if(u(a)){n=y;break}if(h(a)){n=v;break}}}}else if(h(e)){for(var r in e)if(e.hasOwnProperty(r)&&p(e[r])){n=x;break}}else if(null!=e)throw new Error("Invalid data");M(t).sourceFormat=n},e.getSource=function(t){return M(t).source},e.resetSourceDefaulter=function(t){M(t).datasetMap=r()},e.prepareSource=function(t){var e,n=t.option,i=n.data,o=d(i)?b:m,r=!1,l=n.seriesLayoutBy,h=n.sourceHeader,p=n.dimensions,f=((f=A(t))&&(i=(e=f.option).source,o=M(f).sourceFormat,r=!0,l=l||e.seriesLayoutBy,null==h&&(h=e.sourceHeader),p=p||e.dimensions),function(t,e,n,i,o){return t?(e===y?("auto"===i||null==i?T((function(t){null!=t&&"-"!==t&&(c(t)?null==l&&(l=1):l=0)}),n,t,10):l=i?1:0,o||1!==l||(o=[],T((function(t,e){o[e]=null!=t?t:""}),n,t)),r=o?o.length:n===w?t.length:t[0]?t[0].length:null):e===v?o=o||function(t){for(var e,n,i=0;i<t.length&&!(e=t[i++]););if(e)return n=[],s(e,(function(t,e){n.push(e)})),n}(t):e===x?o||(o=[],s(t,(function(t,e){o.push(e)}))):e===m&&(i=a(t[0]),r=u(i)&&i.length||1),{startIndex:l,dimensionsDefine:I(o),dimensionsDetectCount:r}):{dimensionsDefine:I(o)};var r,l}(i,o,l,h,p));M(t).source=new g({data:i,fromDataset:r,seriesLayoutBy:l,sourceFormat:o,dimensionsDefine:f.dimensionsDefine,startIndex:f.startIndex,dimensionsDetectCount:f.dimensionsDetectCount,encodeDefine:n.encode})},e.makeSeriesEncodeForAxisCoordSys=function(t,e,n){var i,o,a,r,l,u={},c=A(e);return c&&t&&(i=[],o=[],e=e.ecModel,e=M(e).datasetMap,c=c.uid+"_"+n.seriesLayoutBy,t=t.slice(),s(t,(function(e,n){h(e)||(t[n]={name:e}),"ordinal"===e.type&&null==a&&(r=p(t[a=n])),u[e.name]=[]})),l=e.get(c)||e.set(c,{categoryWayDim:r,valueWayDim:0}),s(t,(function(t,e){var n,r=t.name;t=p(t);null==a?(n=l.valueWayDim,d(u[r],n,t),d(o,n,t),l.valueWayDim+=t):a===e?(d(u[r],0,t),d(i,0,t)):(n=l.categoryWayDim,d(u[r],n,t),d(o,n,t),l.categoryWayDim+=t)})),i.length&&(u.itemName=i),o.length)&&(u.seriesName=o),u;function d(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function p(t){return t=t.dimsDef,t?t.length:1}},e.makeSeriesEncodeForNameBased=function(t,e,n){var i,o,a,r={};return A(t)&&(i=e.sourceFormat,o=e.dimensionsDefine,i!==v&&i!==x||s(o,(function(t,e){"name"===(h(t)?t.name:t)&&(a=e)})),t=function(){for(var t={},r={},s=[],l=0,u=Math.min(5,n);l<u;l++){var c=C(e.data,i,e.seriesLayoutBy,o,e.startIndex,l),h=(s.push(c),c===S.Not);if(h&&null==t.v&&l!==a&&(t.v=l),null!=t.n&&t.n!==t.v&&(h||s[t.n]!==S.Not)||(t.n=l),d(t)&&s[t.n]!==S.Not)return t;h||(c===S.Might&&null==r.v&&l!==a&&(r.v=l),null!=r.n&&r.n!==r.v)||(r.n=l)}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(r)?r:null}())&&(r.value=t.v,t=null!=a?a:t.n,r.itemName=[t],r.seriesName=[t]),r},e.guessOrdinal=function(t,e){return C(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}},"0fd3":function(t,e,n){var i=n("2306"),o=n("7e5b"),a=n("6d8b"),r=n("a15a").createSymbol,s=n("401b"),l=n("4a3f");function u(t,e,n){i.Group.call(this),this.add(this.createLine(t,e,n)),this._updateEffectSymbol(t,e)}n=u.prototype,n.createLine=function(t,e,n){return new o(t,e,n)},n._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),i=n.get("symbolSize"),o=n.get("symbol"),s=(a.isArray(i)||(i=[i,i]),n.get("color")||t.getItemVisual(e,"color")),l=this.childAt(1);this._symbolType!==o&&(this.remove(l),(l=r(o,-.5,-.5,1,1,s)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(n.getItemStyle(["color"])),l.attr("scale",i),l.setColor(s),l.attr("scale",i),this._symbolType=o,this._symbolScale=i,this._updateEffectAnimation(t,n,e))},n._updateEffectAnimation=function(t,e,n){var i,o,r,s,l,u,c=this.childAt(1);c&&(i=this,l=t.getItemLayout(n),o=1e3*e.get("period"),r=e.get("loop"),u=e.get("constantSpeed"),s="function"==typeof(e=a.retrieve(e.get("delay"),(function(e){return e/t.count()*o/3}))),c.ignore=!0,this.updateAnimationPoints(c,l),(o=0<u?this.getLineLength(c)/u*1e3:o)===this._period&&r===this._loop||(c.stopAnimation(),l=e,s&&(l=e(n)),0<c.__t&&(l=-o*c.__t),c.__t=0,u=c.animate("",r).when(o,{__t:1}).delay(l).during((function(){i.updateSymbolPosition(c)})),r||u.done((function(){i.remove(c)})),u.start()),this._period=o,this._loop=r)},n.getLineLength=function(t){return s.dist(t.__p1,t.__cp1)+s.dist(t.__cp1,t.__p2)},n.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},n.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},n.updateSymbolPosition=function(t){var e,n=t.__p1,i=t.__p2,o=t.__cp1,a=t.__t,r=t.position,u=[r[0],r[1]],c=l.quadraticAt,h=l.quadraticDerivativeAt;r[0]=c(n[0],o[0],i[0],a),r[1]=c(n[1],o[1],i[1],a),c=h(n[0],o[0],i[0],a),h=h(n[1],o[1],i[1],a);t.rotation=-Math.atan2(h,c)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(e=1.05*s.dist(u,r),t.attr("scale",[t.scale[0],e]),1===a&&(r[0]=u[0]+(r[0]-u[0])/2,r[1]=u[1]+(r[1]-u[1])/2)):1===t.__lastT?(e=2*s.dist(n,r),t.attr("scale",[t.scale[0],e])):t.attr("scale",this._symbolScale)),t.__lastT=t.__t,t.ignore=!1},n.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},a.inherits(u,i.Group),t.exports=u},"10cc":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("9850"),r=n("2b8c"),s=n("a890"),l=n("88b3"),u=n("bd9e"),c=["inBrush","outOfBrush"],h="__ecBrushSelect",d="__ecInBrushSelectEvent";n=i.PRIORITY.VISUAL.BRUSH;function p(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new u(e.option,t)).setInputRanges(e.areas,t)}))}function f(t,e){var n;t.isDisposed()||((n=t.getZr())[d]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[d]=!1)}function g(t,e,n,i){for(var o=0,a=e.length;o<a;o++){var r=e[o];if(t[r.brushType](i,n,r.selectors,r))return 1}}function m(t){var e,n,i=t.brushSelector;return o.isString(i)?(e=[],o.each(s,(function(t,n){e[n]=function(e,n,o,a){return n=n.getItemLayout(e),t[i](n,o,a)}})),e):o.isFunction(i)?(n={},o.each(s,(function(t,e){n[e]=i})),n):i}i.registerLayout(n,(function(t,e,n){t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),p(t)})),i.registerVisual(n,(function(t,e,n){var i,a,u,p,v,x=[];t.eachComponent({mainType:"brush"},(function(e,n){var l={brushId:e.id,brushIndex:n,brushName:e.name,areas:o.clone(e.areas),selected:[]},u=(x.push(l),e.option),h=u.brushLink,d=[],p=[],f=[],v=0,_=(n||(i=u.throttleType,a=u.throttleDelay),o.map(e.areas,(function(t){return e=o.defaults({boundingRect:y[t.brushType](t)},t),n=e.selectors={},o.each(s[e.brushType],(function(t,i){n[i]=function(i){return t(i,n,e)}})),e;var e,n}))),b=r.createVisualMappings(e.option,c,(function(t){t.mappingMethod="fixed"}));function w(t){return"all"===h||d[t]}function S(t){return!!t.length}o.isArray(h)&&o.each(h,(function(t){d[t]=1})),t.eachSeries((function(n,i){var a,r,s,l,u,c,h,d=f[i]=[];"parallel"===n.subType?(c=i,h=(u=n).coordinateSystem,v|=h.hasAxisBrushed(),w(c)&&h.eachActiveState(u.getData(),(function(t,e){"active"===t&&(p[e]=1)}))):(c=i,r=d,(l=m(a=n))&&!function(t,e){return t=t.option.seriesIndex,null!=t&&"all"!==t&&(o.isArray(t)?o.indexOf(t,e)<0:e!==t)}(e,c)&&(o.each(_,(function(n){l[n.brushType]&&e.brushTargetManager.controlSeries(n,a,t)&&r.push(n),v|=S(r)})),w(c))&&S(r)&&(s=a.getData()).each((function(t){g(l,r,s,t)&&(p[t]=1)})))})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]},i=(l.selected.push(n),m(t)),o=f[e],a=t.getData();t=w(e)?function(t){return p[t]?(n.dataIndex.push(a.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(t){return g(i,o,a,t)?(n.dataIndex.push(a.getRawIndex(t)),"inBrush"):"outOfBrush"};(w(e)?v:S(o))&&r.applyVisual(c,b,a,t)}))})),e=e,u=i,p=a,v=x,(n=n)&&!(n=e.getZr())[d]&&(n[h]||(n[h]=f),l.createOrUpdate(n,h,p,u)(e,v))}));var y={lineX:o.noop,lineY:o.noop,rect:function(t){return v(t.range)},polygon:function(t){for(var e=t.range,n=0,i=e.length;n<i;n++){var o=o||[[1/0,-1/0],[1/0,-1/0]],a=e[n];a[0]<o[0][0]&&(o[0][0]=a[0]),a[0]>o[0][1]&&(o[0][1]=a[0]),a[1]<o[1][0]&&(o[1][0]=a[1]),a[1]>o[1][1]&&(o[1][1]=a[1])}return o&&v(o)}};function v(t){return new a(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}e.layoutCovers=p},1111:function(t,e,n){var i=n("3eba"),o=(n("67a8"),n("4784"),n("7f96"));n=n("87c3");i.registerVisual(o("effectScatter","circle")),i.registerLayout(n("effectScatter"))},"133d":function(t,e,n){var i=n("6d8b"),o=n("e0d3");t.exports=function(t,e){var n,a,r=[],s=t.seriesIndex;return null==s||!(e=e.getSeriesByIndex(s))||(n=e.getData(),null==(s=o.queryDataIndex(n,t)))||s<0||i.isArray(s)?{point:[]}:(t=n.getItemGraphicEl(s),a=e.coordinateSystem,e.getTooltipPosition?r=e.getTooltipPosition(s)||[]:a&&a.dataToPoint?r=a.dataToPoint(n.getValues(i.map(a.dimensions,(function(t){return n.mapDimension(t)})),s,!0))||[]:t&&((e=t.getBoundingRect().clone()).applyTransform(t.transform),r=[e.x+e.width/2,e.y+e.height/2]),{point:r,el:t})}},1418:function(t,e,n){var i=n("6d8b"),o=n("a15a").createSymbol,a=n("2306"),r=n("3842").parsePercent,s=n("c775f").getDefaultLabel;function l(t,e,n){a.Group.call(this),this.updateData(t,e,n)}n=l.prototype;var u=l.getSymbolSize=function(t,e){return t=t.getItemVisual(e,"symbolSize"),t instanceof Array?t.slice():[+t,+t]};function c(t){return[t[0]/2,t[1]/2]}function h(t,e){this.parent.drift(t,e)}n._createSymbol=function(t,e,n,i,a){this.removeAll(),e=e.getItemVisual(n,"color"),n=o(t,-1,-1,2,2,e,a),n.attr({z2:100,culling:!0,scale:c(i)}),n.drift=h,this._symbolType=t,this.add(n)},n.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},n.getSymbolPath=function(){return this.childAt(0)},n.getScale=function(){return this.childAt(0).scale},n.highlight=function(){this.childAt(0).trigger("emphasis")},n.downplay=function(){this.childAt(0).trigger("normal")},n.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},n.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},n.updateData=function(t,e,n){this.silent=!1;var i,o,r=t.getItemVisual(e,"symbol")||"circle",s=t.hostModel,l=u(t,e),h=r!==this._symbolType;h?(o=t.getItemVisual(e,"symbolKeepAspect"),this._createSymbol(r,t,e,l,o)):((i=this.childAt(0)).silent=!1,a.updateProps(i,{scale:c(l)},s,e)),this._updateCommon(t,e,l,n),h&&(i=this.childAt(0),r=n&&n.fadeIn,o={scale:i.scale.slice()},r&&(o.style={opacity:i.style.opacity}),i.scale=[0,0],r&&(i.style.opacity=0),a.initProps(i,o,s,e)),this._seriesModel=s};var d=["itemStyle"],p=["emphasis","itemStyle"],f=["label"],g=["emphasis","label"];function m(t,e){var n,i;this.incremental||this.useHoverLayer||("emphasis"===e?(n=(i=this.__symbolOriginalScale)[1]/i[0],i={scale:[Math.max(1.1*i[0],i[0]+3),Math.max(1.1*i[1],i[1]+3*n)]},this.animateTo(i,400,"elasticOut")):"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut"))}n._updateCommon=function(t,e,n,o){var l=this.childAt(0),u=t.hostModel,h=t.getItemVisual(e,"color"),y=("image"!==l.type?l.useStyle({strokeNoScale:!0}):l.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null}),o&&o.itemStyle),v=o&&o.hoverItemStyle,x=o&&o.symbolOffset,_=o&&o.labelModel,b=o&&o.hoverLabelModel,w=o&&o.hoverAnimation,S=o&&o.cursorStyle,M=(!o||t.hasItemOption?(y=(M=o&&o.itemModel?o.itemModel:t.getItemModel(e)).getModel(d).getItemStyle(["color"]),v=M.getModel(p).getItemStyle(),x=M.getShallow("symbolOffset"),_=M.getModel(f),b=M.getModel(g),w=M.getShallow("hoverAnimation"),S=M.getShallow("cursor")):v=i.extend({},v),l.style),I=t.getItemVisual(e,"symbolRotate"),T=(I=(l.attr("rotation",(I||0)*Math.PI/180||0),x&&l.attr("position",[r(x[0],n[0]),r(x[1],n[1])]),S&&l.attr("cursor",S),l.setColor(h,o&&o.symbolInnerColor),l.setStyle(y),t.getItemVisual(e,"opacity")),x=(null!=I&&(M.opacity=I),t.getItemVisual(e,"liftZ")),S=l.__z2Origin,null!=x?null==S&&(l.__z2Origin=l.z2,l.z2+=x):null!=S&&(l.z2=S,l.__z2Origin=null),o&&o.useNameLabel);a.setLabelStyle(M,v,_,b,{labelFetcher:u,labelDataIndex:e,defaultText:function(e,n){return T?t.getName(e):s(t,e)},isRectText:!0,autoColor:h}),l.__symbolOriginalScale=c(n),l.hoverStyle=v,l.highDownOnUpdate=w&&u.isAnimationEnabled()?m:null,a.setHoverStyle(l)},n.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,e&&e.keepLabel||(n.style.text=null),a.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},i.inherits(l,a.Group),t.exports=l},1466:function(t,e,n){var i=n("3eba"),o=n("2306"),a=n("6d8b"),r=n("a15a");n=i.extendChartView({type:"radar",render:function(t,e,n){var i=t.coordinateSystem,s=this.group,l=t.getData(),u=this._data;function c(t,e){var n,i=t.getItemVisual(e,"symbol")||"circle",o=t.getItemVisual(e,"color");if("none"!==i)return n=t.getItemVisual(e,"symbolSize"),n=n=a.isArray(n)?n:[+n,+n],i=r.createSymbol(i,-1,-1,2,2,o),o=t.getItemVisual(e,"symbolRotate")||0,i.attr({style:{strokeNoScale:!0},z2:100,scale:[n[0]/2,n[1]/2],rotation:o*Math.PI/180||0}),i}function h(e,n,i,a,r,s){i.removeAll();for(var l=0;l<n.length-1;l++){var u=c(a,r);u&&(e[u.__dimIdx=l]?(u.attr("position",e[l]),o[s?"initProps":"updateProps"](u,{position:n[l]},t,r)):u.attr("position",n[l]),i.add(u))}}function d(t){return a.map(t,(function(t){return[i.cx,i.cy]}))}l.diff(u).add((function(e){var n,i,a,r,s=l.getItemLayout(e);s&&(n=new o.Polygon,i=new o.Polyline,a={shape:{points:s}},n.shape.points=d(s),i.shape.points=d(s),o.initProps(n,a,t,e),o.initProps(i,a,t,e),a=new o.Group,r=new o.Group,a.add(i),a.add(n),a.add(r),h(i.shape.points,s,r,l,e,!0),l.setItemGraphicEl(e,a))})).update((function(e,n){n=u.getItemGraphicEl(n);var i=n.childAt(0),a=n.childAt(1),r=n.childAt(2),s={shape:{points:l.getItemLayout(e)}};s.shape.points&&(h(i.shape.points,s.shape.points,r,l,e,!1),o.updateProps(i,s,t),o.updateProps(a,s,t),l.setItemGraphicEl(e,n))})).remove((function(t){s.remove(u.getItemGraphicEl(t))})).execute(),l.eachItemGraphicEl((function(t,e){var n=l.getItemModel(e),i=t.childAt(0),r=t.childAt(1),u=t.childAt(2),c=l.getItemVisual(e,"color"),h=(i=(s.add(t),i.useStyle(a.defaults(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),i.hoverStyle=n.getModel("emphasis.lineStyle").getLineStyle(),n.getModel("areaStyle")),n.getModel("emphasis.areaStyle")),d=i.isEmpty()&&i.parentModel.isEmpty(),p=h.isEmpty()&&h.parentModel.isEmpty()&&d,f=(r.ignore=d,r.useStyle(a.defaults(i.getAreaStyle(),{fill:c,opacity:.7})),r.hoverStyle=h.getAreaStyle(),n.getModel("itemStyle").getItemStyle(["color"])),g=n.getModel("emphasis.itemStyle").getItemStyle(),m=n.getModel("label"),y=n.getModel("emphasis.label");u.eachChild((function(t){t.setStyle(f),t.hoverStyle=a.clone(g);var n=l.get(l.dimensions[t.__dimIdx],e);null!=n&&!isNaN(n)||(n=""),o.setLabelStyle(t.style,t.hoverStyle,m,y,{labelFetcher:l.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:n,autoColor:c,isRectText:!0})})),t.highDownOnUpdate=function(t,e){r.attr("ignore","emphasis"===e?p:d)},o.setHoverStyle(t)})),this._data=l},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),t.exports=n},"14d37":function(t,e,n){var i=n("6d8b"),o=n("2306"),a=n("fab2"),r=(n=n("6679"),["axisLine","axisTickLabel","axisName"]),s=["splitLine","splitArea","minorSplitLine"];n=n.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){var n,o,l,u,c,h,d;this.group.removeAll(),t.get("show")&&(n=t.axis,d=(o=n.polar).getAngleAxis(),l=n.getTicksCoords(),u=n.getMinorTicksCoords(),c=d.getExtent()[0],h=n.getExtent(),d={position:[o.cx,o.cy],rotation:c/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1},d=new a(t,d),i.each(r,d.add,d),this.group.add(d.getGroup()),i.each(s,(function(e){t.get(e+".show")&&!n.scale.isBlank()&&this["_"+e](t,o,c,h,l,u)}),this))},_splitLine:function(t,e,n,a,r){for(var s=t.getModel("splitLine").getModel("lineStyle"),l=0,u=(u=s.get("color"))instanceof Array?u:[u],c=[],h=0;h<r.length;h++){var d=l++%u.length;c[d]=c[d]||[],c[d].push(new o.Circle({shape:{cx:e.cx,cy:e.cy,r:r[h].coord}}))}for(h=0;h<c.length;h++)this.group.add(o.mergePath(c[h],{style:i.defaults({stroke:u[h%u.length],fill:null},s.getLineStyle()),silent:!0}))},_minorSplitLine:function(t,e,n,a,r,s){if(s.length){t=t.getModel("minorSplitLine").getModel("lineStyle");for(var l=[],u=0;u<s.length;u++)for(var c=0;c<s[u].length;c++)l.push(new o.Circle({shape:{cx:e.cx,cy:e.cy,r:s[u][c].coord}}));this.group.add(o.mergePath(l,{style:i.defaults({fill:null},t.getLineStyle()),silent:!0}))}},_splitArea:function(t,e,n,a,r){if(r.length){for(var s=t.getModel("splitArea").getModel("areaStyle"),l=0,u=(u=s.get("color"))instanceof Array?u:[u],c=[],h=r[0].coord,d=1;d<r.length;d++){var p=l++%u.length;c[p]=c[p]||[],c[p].push(new o.Sector({shape:{cx:e.cx,cy:e.cy,r0:h,r:r[d].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),h=r[d].coord}for(d=0;d<c.length;d++)this.group.add(o.mergePath(c[d],{style:i.defaults({fill:u[d%u.length]},s.getAreaStyle()),silent:!0}))}}});t.exports=n},1548:function(t,e,n){var i=n("6d8b"),o=n("3301"),a=n("697e"),r=n("2023"),s=n("4319"),l=n("f934"),u=(l=(l.getLayoutRect,e.getLayoutRect=l.getLayoutRect,n("ee1aa")),l.enableDataStack),c=l.isDimensionStacked,h=(l=l.getStackedDimension,n("862d"));e.completeDimensions=h,h=n("b1d4"),e.createDimensions=h,h=n("a15a");e.createSymbol=h.createSymbol,n={isDimensionStacked:c,enableDataStack:u,getStackedDimension:l},e.createList=function(t){return o(t.getSource(),t)},e.dataStack=n,e.createScale=function(t,e){var n=e;return s.isInstance(e)||(n=new s(e),i.mixin(n,r)),(e=a.createScaleByModel(n)).setExtent(t[0],t[1]),a.niceScaleExtent(e,n),e},e.mixinAxisModelCommonMethods=function(t){i.mixin(t,r)}},"15af":function(t,e,n){var i=n("3eba"),o=(n("cb69"),n("abff"),n("7f96")),a=n("87c3");n("01ed"),i.registerVisual(o("scatter","circle")),i.registerLayout(a("scatter"))},1687:function(t,e){var n="undefined"==typeof Float32Array?Array:Float32Array;function i(){var t=new n(6);return o(t),t}function o(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}e.create=i,e.identity=o,e.copy=a,e.mul=function(t,e,n){var i=e[0]*n[0]+e[2]*n[1],o=e[1]*n[0]+e[3]*n[1],a=e[0]*n[2]+e[2]*n[3],r=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4];n=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=o,t[2]=a,t[3]=r,t[4]=s,t[5]=n,t},e.translate=function(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t},e.rotate=function(t,e,n){var i=e[0],o=e[2],a=e[4],r=e[1],s=e[3],l=(e=e[5],Math.sin(n));n=Math.cos(n);return t[0]=i*n+r*l,t[1]=-i*l+r*n,t[2]=o*n+s*l,t[3]=-o*l+n*s,t[4]=n*a+l*e,t[5]=n*e-l*a,t},e.scale=function(t,e,n){var i=n[0];n=n[1];return t[0]=e[0]*i,t[1]=e[1]*n,t[2]=e[2]*i,t[3]=e[3]*n,t[4]=e[4]*i,t[5]=e[5]*n,t},e.invert=function(t,e){var n=e[0],i=e[2],o=e[4],a=e[1],r=e[3],s=(e=e[5],n*r-a*i);return s?(t[0]=r*(s=1/s),t[1]=-a*s,t[2]=-i*s,t[3]=n*s,t[4]=(i*e-r*o)*s,t[5]=(a*o-n*e)*s,t):null},e.clone=function(t){var e=i();return a(e,t),e}},1748:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("71ad"),r=n("4319"),s=n("2023");n=a.valueAxis;function l(t,e){return o.defaults({show:e},t)}a=i.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),a=this.get("axisTick"),l=this.get("axisType"),u=this.get("axisLabel"),c=this.get("name"),h=this.get("name.show"),d=this.get("name.formatter"),p=this.get("nameGap"),f=this.get("triggerEvent"),g=o.map(this.get("indicator")||[],(function(g){null!=g.max&&0<g.max&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var m=c;null!=g.color&&(m=o.defaults({color:g.color},c)),g=o.merge(o.clone(g),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:a,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:p,nameTextStyle:m,triggerEvent:f},!1),h||(g.name=""),"string"==typeof d?(m=g.name,g.name=d.replace("{value}",null!=m?m:"")):"function"==typeof d&&(g.name=d(g.name,g)),m=o.extend(new r(g,null,this.ecModel),s);return m.mainType="radar",m.componentIndex=this.componentIndex,m}),this);this.getIndicatorModels=function(){return g}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:o.merge({lineStyle:{color:"#bbb"}},n.axisLine),axisLabel:l(n.axisLabel,!1),axisTick:l(n.axisTick,!1),axisType:"interval",splitLine:l(n.splitLine,!0),splitArea:l(n.splitArea,!0),indicator:[]}}),t.exports=a},1792:function(t,e){var n={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};t.exports=function(t,e){"china"===t&&(t=n[e.name])&&((e=e.center)[0]+=t[0]/10.5,e[1]+=-t[1]/14)}},"17b8":function(t,e,n){n=n("3014").extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return t<e?e:t},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}}),t.exports=n},"17d6":function(t,e,n){var i=n("6d8b"),o=n("22d1"),a=(0,n("e0d3").makeInner)(),r=i.each;function s(t,e,n){t.handler("leave",null,n)}function l(t,e,n,i){e.handler(t,n,i)}e.register=function(t,e,n){var u,c,h;function d(t,e){c.on(t,(function(t){n=h;var n,i,o={dispatchAction:s,pendings:i={showTip:[],hideTip:[]}};function s(t){var e=i[t.type];e?e.push(t):(t.dispatchAction=s,n.dispatchAction(t))}r(a(c).records,(function(n){n&&e(n,t,o.dispatchAction)}));var l,u=o.pendings,d=h,p=u.showTip.length,f=u.hideTip.length;p?l=u.showTip[p-1]:f&&(l=u.hideTip[f-1]),l&&(l.dispatchAction=null,d.dispatchAction(l))}))}o.node||(u=e.getZr(),a(u).records||(a(u).records={}),h=e,a(c=u).initialized||(a(c).initialized=!0,d("click",i.curry(l,"click")),d("mousemove",i.curry(l,"mousemove")),d("globalout",s)),(a(u).records[t]||(a(u).records[t]={})).handler=n)},e.unregister=function(t,e){o.node||(e=e.getZr(),(a(e).records||{})[t]&&(a(e).records[t]=null))}},"18c0":function(t,e,n){var i=n("6d8b"),o=n("e0d8"),a=n("8e43"),r=o.prototype,s=o.extend({type:"ordinal",init:function(t,e){t&&!i.isArray(t)||(t=new a({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),r.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return r.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(r.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:i.noop,niceExtent:i.noop});s.create=function(){return new s},t.exports=s},1953:function(t,e,n){n=n("2449").extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}}),t.exports=n},"19e2":function(t,e,n){var i=n("6d8b"),o=n("e887"),a=n("2306"),r=n("cbe5"),s=n("b0af").createClipPath,l=["itemStyle"],u=["emphasis","itemStyle"],c=["color","color0","borderColor","borderColor0"],h=(n=o.extend({type:"candlestick",render:function(t,e,n){this.group.removeClipPath(),this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},_updateDrawMode:function(t){t=t.pipelineContext.large,(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(t){var e=t.getData(),n=this._data,i=this.group,o=e.getLayout("isSimpleBox"),r=t.get("clip",!0),s=t.coordinateSystem,l=s.getArea&&s.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){var s,u;e.hasValue(n)&&(u=e.getItemLayout(n),r&&p(l,u)||(s=d(u,0,!0),a.initProps(s,{shape:{points:u.ends}},t,n),f(s,e,n,o),i.add(s),e.setItemGraphicEl(n,s)))})).update((function(s,u){var c;u=n.getItemGraphicEl(u);!e.hasValue(s)||(c=e.getItemLayout(s),r&&p(l,c))?i.remove(u):(u?a.updateProps(u,{shape:{points:c.ends}},t,s):u=d(c),f(u,e,s,o),i.add(u),e.setItemGraphicEl(s,u))})).remove((function(t){t=n.getItemGraphicEl(t),t&&i.remove(t)})).execute(),this._data=e},_renderLarge:function(t){this._clear(),m(t,this.group),t=t.get("clip",!0)?s(t.coordinateSystem,!1,t):null,t?this.group.setClipPath(t):this.group.removeClipPath()},_incrementalRenderNormal:function(t,e){for(var n,i=e.getData(),o=i.getLayout("isSimpleBox");null!=(n=t.next());){var a=d(i.getItemLayout(n));f(a,i,n,o),a.incremental=!0,this.group.add(a)}},_incrementalRenderLarge:function(t,e){m(e,this.group,!0)},remove:function(t){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:i.noop}),r.extend({type:"normalCandlestickBox",shape:{},buildPath:function(t,e){e=e.points,this.__simpleBox?(t.moveTo(e[4][0],e[4][1]),t.lineTo(e[6][0],e[6][1])):(t.moveTo(e[0][0],e[0][1]),t.lineTo(e[1][0],e[1][1]),t.lineTo(e[2][0],e[2][1]),t.lineTo(e[3][0],e[3][1]),t.closePath(),t.moveTo(e[4][0],e[4][1]),t.lineTo(e[5][0],e[5][1]),t.moveTo(e[6][0],e[6][1]),t.lineTo(e[7][0],e[7][1]))}}));function d(t,e,n){var o,a=t.ends;return new h({shape:{points:n?(o=t,i.map(a,(function(t){return(t=t.slice())[1]=o.initBaseline,t}))):a},z2:100})}function p(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function f(t,e,n,i){var o=e.getItemModel(n),r=o.getModel(l),s=e.getItemVisual(n,"color");e=e.getItemVisual(n,"borderColor")||s,n=r.getItemStyle(c),t.useStyle(n),t.style.strokeNoScale=!0,t.style.fill=s,t.style.stroke=e,t.__simpleBox=i,r=o.getModel(u).getItemStyle();a.setHoverStyle(t,r)}var g=r.extend({type:"largeCandlestickBox",shape:{},buildPath:function(t,e){for(var n,i=e.points,o=0;o<i.length;)this.__sign===i[o++]?(n=i[o++],t.moveTo(n,i[o++]),t.lineTo(n,i[o++])):o+=3}});function m(t,e,n){var i=t.getData(),o=i.getLayout("largePoints"),a=new g({shape:{points:o},__sign:1});e.add(a),o=new g({shape:{points:o},__sign:-1});e.add(o),y(1,a,t,i),y(-1,o,t,i),n&&(a.incremental=!0,o.incremental=!0)}function y(t,e,n,i){t=0<t?"P":"N",i=i.getVisual("borderColor"+t)||i.getVisual("color"+t),t=n.getModel(l).getItemStyle(c),e.useStyle(t),e.style.fill=null,e.style.stroke=i}t.exports=n},"19eb":function(t,e,n){var i=n("6d8b"),o=n("2b61"),a=n("d5b7");n=n("9e2e");function r(t){for(var e in a.call(this,t=t||{}),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new o(t.style,this),this._rect=null,this.__clipPaths=null}r.prototype={constructor:r,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){return t=this.transformCoordToLocal(t,e),this.getBoundingRect().contain(t[0],t[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?a.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new o(t,this),this.dirty(!1),this},calculateTextPosition:null},i.inherits(r,a),i.mixin(r,n),t.exports=r},"1ab3":function(t,e,n){var i=n("6d8b"),o=n("2306");n=n("e887");function a(t,e,n,i){var o=e.getData(),a=this.dataIndex,s=(a=o.getName(a),e.get("selectedOffset"));i.dispatchAction({type:"pieToggleSelect",from:t,name:a,seriesId:e.id}),o.each((function(t){r(o.getItemGraphicEl(t),o.getItemLayout(t),e.isSelected(o.getName(t)),s,n)}))}function r(t,e,n,i,o){e=(e.startAngle+e.endAngle)/2,n=n?i:0,i=[Math.cos(e)*n,Math.sin(e)*n],o?t.animate().when(200,{position:i}).start("bounceOut"):t.attr("position",i)}function s(t,e){o.Group.call(this);var n=new o.Sector({z2:2}),i=new o.Polyline,a=new o.Text;this.add(n),this.add(i),this.add(a),this.updateData(t,e,!0)}var l=s.prototype;l.updateData=function(t,e,n){var a=this.childAt(0),s=this.childAt(1),l=this.childAt(2),u=t.hostModel,c=t.getItemModel(e),h=t.getItemLayout(e),d=i.extend({},h),p=(d.label=null,u.getShallow("animationTypeUpdate"));n?(a.setShape(d),"scale"===u.getShallow("animationType")?(a.shape.r=h.r0,o.initProps(a,{shape:{r:h.r}},u,e)):(a.shape.endAngle=h.startAngle,o.updateProps(a,{shape:{endAngle:h.endAngle}},u,e))):"expansion"===p?a.setShape(d):o.updateProps(a,{shape:d},u,e),d=t.getItemVisual(e,"color"),a.useStyle(i.defaults({lineJoin:"bevel",fill:d},c.getModel("itemStyle").getItemStyle())),a.hoverStyle=c.getModel("emphasis.itemStyle").getItemStyle(),d=c.getShallow("cursor"),d&&a.attr("cursor",d),r(this,t.getItemLayout(e),u.isSelected(t.getName(e)),u.get("selectedOffset"),u.get("animation")),d=!n&&"transition"===p;this._updateLabel(t,e,d),this.highDownOnUpdate=u.get("silent")?null:function(t,e){var n=u.isAnimationEnabled()&&c.get("hoverAnimation");"emphasis"===e?(s.ignore=s.hoverIgnore,l.ignore=l.hoverIgnore,n&&(a.stopAnimation(!0),a.animateTo({shape:{r:h.r+u.get("hoverOffset")}},300,"elasticOut"))):(s.ignore=s.normalIgnore,l.ignore=l.normalIgnore,n&&(a.stopAnimation(!0),a.animateTo({shape:{r:h.r}},300,"elasticOut")))},o.setHoverStyle(this)},l._updateLabel=function(t,e,n){var i,a,r=this.childAt(1),s=this.childAt(2),l=t.hostModel,u=t.getItemModel(e),c=t.getItemLayout(e).label,h=t.getItemVisual(e,"color");!c||isNaN(c.x)||isNaN(c.y)?s.ignore=s.normalIgnore=s.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0:(i={points:c.linePoints||[[c.x,c.y],[c.x,c.y],[c.x,c.y]]},a={x:c.x,y:c.y},n?(o.updateProps(r,{shape:i},l,e),o.updateProps(s,{style:a},l,e)):(r.attr({shape:i}),s.attr({style:a})),s.attr({rotation:c.rotation,origin:[c.x,c.y],z2:10}),n=u.getModel("label"),l=u.getModel("emphasis.label"),i=u.getModel("labelLine"),a=u.getModel("emphasis.labelLine"),h=t.getItemVisual(e,"color"),o.setLabelStyle(s.style,s.hoverStyle={},n,l,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:c.text,autoColor:h,useInsideStyle:!!c.inside},{textAlign:c.textAlign,textVerticalAlign:c.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),s.ignore=s.normalIgnore=!n.get("show"),s.hoverIgnore=!l.get("show"),r.ignore=r.normalIgnore=!i.get("show"),r.hoverIgnore=!a.get("show"),r.setStyle({stroke:h,opacity:t.getItemVisual(e,"opacity")}),r.setStyle(i.getModel("lineStyle").getLineStyle()),r.hoverStyle=a.getModel("lineStyle").getLineStyle(),u=i.get("smooth"),r.setShape({smooth:u=u&&!0===u?.4:u}))},i.inherits(s,o.Group),l=n.extend({type:"pie",init:function(){var t=new o.Group;this._sectorGroup=t},render:function(t,e,n,o){if(!o||o.from!==this.uid){var r=t.getData(),l=this._data,u=this.group,c=(o=e.get("animation"),!l),h=t.get("animationType"),d=t.get("animationTypeUpdate"),p=i.curry(a,this.uid,t,o,n),f=t.get("selectedMode");if(r.diff(l).add((function(t){var e=new s(r,t);c&&"scale"!==h&&e.eachChild((function(t){t.stopAnimation(!0)})),f&&e.on("click",p),r.setItemGraphicEl(t,e),u.add(e)})).update((function(t,e){e=l.getItemGraphicEl(e),c||"transition"===d||e.eachChild((function(t){t.stopAnimation(!0)})),e.updateData(r,t),e.off("click"),f&&e.on("click",p),u.add(e),r.setItemGraphicEl(t,e)})).remove((function(t){t=l.getItemGraphicEl(t),u.remove(t)})).execute(),o&&0<r.count()&&(c?"scale"!==h:"transition"!==d)){for(var g=r.getItemLayout(0),m=1;isNaN(g.startAngle)&&m<r.count();++m)g=r.getItemLayout(m);e=Math.max(n.getWidth(),n.getHeight())/2,o=i.bind(u.removeClipPath,u),u.setClipPath(this._createClipPath(g.cx,g.cy,e,g.startAngle,g.clockwise,o,t,c))}else u.removeClipPath();this._data=r}},dispose:function(){},_createClipPath:function(t,e,n,i,a,r,s,l){return t=new o.Sector({shape:{cx:t,cy:e,r0:0,r:n,startAngle:i,endAngle:i,clockwise:a}}),(l?o.initProps:o.updateProps)(t,{shape:{endAngle:i+(a?1:-1)*Math.PI*2}},s,r),t},containPoint:function(t,e){var n;e=e.getData().getItemLayout(0);if(e)return n=t[0]-e.cx,t=t[1]-e.cy,(n=Math.sqrt(n*n+t*t))<=e.r&&n>=e.r0}});t.exports=l},"1c5f":function(t,e,n){var i=n("401b"),o=n("6d8b"),a=n("0c37").getCurvenessForEdge;function r(t,e){t.eachEdge((function(t,n){n=o.retrieve3(t.getModel().get("lineStyle.curveness"),-a(t,e,n,!0),0);var r=i.clone(t.node1.getLayout()),s=i.clone(t.node2.getLayout()),l=[r,s];+n&&l.push([(r[0]+s[0])/2-(r[1]-s[1])*n,(r[1]+s[1])/2-(s[0]-r[0])*n]),t.setLayout(l)}))}e.simpleLayout=function(t){var e=t.coordinateSystem;e&&"view"!==e.type||((e=t.getGraph()).eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),r(e,t))},e.simpleLayoutEdge=r},"1ccf":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("fd27"),a=n("3842").parsePercent,r=n("697e"),s=r.createScaleByModel,l=r.niceScaleExtent,u=(r=n("2039"),n("ee1aa").getStackedDimension);function c(t,e){var n,o=this,a=o.getAngleAxis(),r=o.getRadiusAxis();a.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){var e;t.coordinateSystem===o&&(e=t.getData(),i.each(e.mapDimension("radius",!0),(function(t){r.scale.unionExtentFromData(e,u(e,t))})),i.each(e.mapDimension("angle",!0),(function(t){a.scale.unionExtentFromData(e,u(e,t))})))})),l(a.scale,a.model),l(r.scale,r.model),"category"!==a.type||a.onBand||(t=a.getExtent(),n=360/a.scale.count(),a.inverse?t[1]+=n:t[1]-=n,a.setExtent(t[0],t[1]))}function h(t,e){var n;t.type=e.get("type"),t.scale=s(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType&&(t.inverse^=e.get("clockwise"),n=e.get("startAngle"),t.setExtent(n,n+(t.inverse?-360:360))),(e.axis=t).model=e}n("78f0"),n={dimensions:o.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,r){r=new o(r);var s,l=(r.update=c,r.getRadiusAxis()),u=r.getAngleAxis(),d=t.findAxisModel("radiusAxis"),p=t.findAxisModel("angleAxis");h(l,d),h(u,p),l=r,d=e,p=(u=t).get("center"),s=d.getWidth(),d=d.getHeight(),l.cx=a(p[0],s),l.cy=a(p[1],d),p=l.getRadiusAxis(),l=Math.min(s,d)/2,null==(s=u.get("radius"))?s=[0,"100%"]:i.isArray(s)||(s=[0,s]),s=[a(s[0],l),a(s[1],l)],p.inverse?p.setExtent(s[1],s[0]):p.setExtent(s[0],s[1]),n.push(r),(t.coordinateSystem=r).model=t})),t.eachSeries((function(e){var n;"polar"===e.get("coordinateSystem")&&(n=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0],e.coordinateSystem=n.coordinateSystem)})),n}},r.register("polar",n)},"1e32":function(t,e,n){var i=n("6d8b"),o=n("3842").parsePercent,a=n("ee1aa").isDimensionStacked;function r(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function s(t,e){return e.dim+t.model.componentIndex}t.exports=function(t,e,n){var l,u,c,h={},d=(l=i.filter(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})),u={},i.each(l,(function(t,e){var n=t.getData(),i=t.coordinateSystem,a=i.getBaseAxis(),l=(i=s(i,a),a.getExtent()),c=(a="category"===a.type?a.getBandWidth():Math.abs(l[1]-l[0])/n.count(),l=u[i]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},n=l.stacks,i=(u[i]=l,r(t)),n[i]||l.autoWidthCount++,n[i]=n[i]||{width:0,maxWidth:0},o(t.get("barWidth"),a)),h=(a=o(t.get("barMaxWidth"),a),t.get("barGap"));t=t.get("barCategoryGap");c&&!n[i].width&&(c=Math.min(l.remainedWidth,c),n[i].width=c,l.remainedWidth-=c),a&&(n[i].maxWidth=a),null!=h&&(l.gap=h),null!=t&&(l.categoryGap=t)})),c={},i.each(u,(function(t,e){c[e]={};var n,a=t.stacks,r=t.bandWidth,s=(r=o(t.categoryGap,r),o(t.gap,1)),l=t.remainedWidth,u=t.autoWidthCount,h=(l-r)/(u+(u-1)*s),d=(h=Math.max(h,0),i.each(a,(function(t,e){var n=t.maxWidth;n&&n<h&&(n=Math.min(n,l),t.width&&(n=Math.min(n,t.width)),l-=n,t.width=n,u--)})),h=(l-r)/(u+(u-1)*s),h=Math.max(h,0),0),p=(i.each(a,(function(t,e){t.width||(t.width=h),d+=(n=t).width*(1+s)})),n&&(d-=n.width*s),-d/2);i.each(a,(function(t,n){c[e][n]=c[e][n]||{offset:p,width:t.width},p+=t.width*(1+s)}))})),c);e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type)for(var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),o=s(n,i),l=r(t),u=(o=d[o][l],o.offset),c=o.width,p=n.getOtherAxis(i),f=t.coordinateSystem.cx,g=t.coordinateSystem.cy,m=t.get("barMinHeight")||0,y=t.get("barMinAngle")||0,v=(h[l]=h[l]||[],e.mapDimension(p.dim)),x=e.mapDimension(i.dim),_=a(e,v),b="radius"!==i.dim||!t.get("roundCap",!0),w="radius"===p.dim?p.dataToRadius(0):p.dataToAngle(0),S=0,M=e.count();S<M;S++){var I,T,A,C,D=e.get(v,S),L=e.get(x,S),P=0<=D?"p":"n",k=w;_&&(h[l][L]||(h[l][L]={p:w,n:w}),k=h[l][L][P]),"radius"===p.dim?(A=p.dataToRadius(D)-w,T=i.dataToAngle(L),A=(I=k)+(A=Math.abs(A)<m?(A<0?-1:1)*m:A),C=(T-=u)-c,_&&(h[l][L][P]=A)):(D=p.dataToAngle(D,b)-w,A=(I=i.dataToRadius(L)+u)+c,C=(T=k)+(D=Math.abs(D)<y?(D<0?-1:1)*y:D),_&&(h[l][L][P]=C)),e.setItemLayout(S,{cx:f,cy:g,r0:I,r:A,startAngle:-T*Math.PI/180,endAngle:-C*Math.PI/180})}}),this)}},"1f0e":function(t,e,n){n=n("cbe5").extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(t,e){var n=Math.cos,i=Math.sin,o=e.r,a=e.width,r=e.angle,s=e.x-n(r)*a*(o/3<=a?1:2),l=e.y-i(r)*a*(o/3<=a?1:2);r=e.angle-Math.PI/2;t.moveTo(s,l),t.lineTo(e.x+n(r)*a,e.y+i(r)*a),t.lineTo(e.x+n(e.angle)*o,e.y+i(e.angle)*o),t.lineTo(e.x-n(r)*a,e.y-i(r)*a),t.lineTo(s,l)}}),t.exports=n},"1f1a":function(t,e,n){var i=n("6d8b"),o=n("e0d3"),a=n("6cb7"),r=n("4319"),s=n("7023"),l=n("eeea");n=a.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){a.prototype.init.apply(this,arguments),o.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=i.reduce(t.regions||[],(function(t,n){return n.name&&t.set(n.name,new r(n,e)),t}),i.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new r(null,this,this.ecModel)},getFormattedLabel:function(t,e){e=e||"normal";var n=this.getRegionModel(t).get(("normal"===e?"":e+".")+"label.formatter"),i={name:t};return"function"==typeof n?(i.status=e,n(i)):"string"==typeof n?n.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});i.mixin(n,s),t.exports=n},"1fab":function(t,e){function n(t){this._$handlers={},this._$eventProcessor=t}var i=Array.prototype.slice;function o(t,e,n,i,o,a){var r=t._$handlers;if("function"==typeof n&&(o=i,i=n,n=null),i&&e){u=n,l=(l=t)._$eventProcessor,n=u=null!=u&&l&&l.normalizeQuery?l.normalizeQuery(u):u,r[e]||(r[e]=[]);for(var s=0;s<r[e].length;s++)if(r[e][s].h===i)return t;var l={h:i,one:a,query:n,ctx:o||t,callAtLast:i.zrEventfulCallAtLast},u=r[e].length-1;a=r[e][u];a&&a.callAtLast?r[e].splice(u,0,l):r[e].push(l)}return t}n.prototype={constructor:n,one:function(t,e,n,i){return o(this,t,e,n,i,!0)},on:function(t,e,n,i){return o(this,t,e,n,i,!1)},isSilent:function(t){var e=this._$handlers;return!e[t]||!e[t].length},off:function(t,e){var n=this._$handlers;if(t)if(e){if(n[t]){for(var i=[],o=0,a=n[t].length;o<a;o++)n[t][o].h!==e&&i.push(n[t][o]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];else this._$handlers={};return this},trigger:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e)for(var o=arguments,a=o.length,r=(3<a&&(o=i.call(o,1)),e.length),s=0;s<r;){var l=e[s];if(n&&n.filter&&null!=l.query&&!n.filter(t,l.query))s++;else{switch(a){case 1:l.h.call(l.ctx);break;case 2:l.h.call(l.ctx,o[1]);break;case 3:l.h.call(l.ctx,o[1],o[2]);break;default:l.h.apply(l.ctx,o)}l.one?(e.splice(s,1),r--):s++}}return n&&n.afterTrigger&&n.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e)for(var o=arguments,a=o.length,r=(o=4<a?i.call(o,1,o.length-1):o)[o.length-1],s=e.length,l=0;l<s;){var u=e[l];if(n&&n.filter&&null!=u.query&&!n.filter(t,u.query))l++;else{switch(a){case 1:u.h.call(r);break;case 2:u.h.call(r,o[1]);break;case 3:u.h.call(r,o[1],o[2]);break;default:u.h.apply(r,o)}u.one?(e.splice(l,1),s--):l++}}return n&&n.afterTrigger&&n.afterTrigger(t),this}},t.exports=n},2023:function(t,e,n){var i=n("6d8b");n={getMin:function(t){var e=this.option;t=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=t&&"dataMin"!==t&&"function"!=typeof t&&!i.eqNaN(t)?this.axis.scale.parse(t):t},getMax:function(t){var e=this.option;t=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=t&&"dataMax"!==t&&"function"!=typeof t&&!i.eqNaN(t)?this.axis.scale.parse(t):t},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:i.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};t.exports=n},2039:function(t,e,n){var i=n("6d8b"),o={};function a(){this._coordinateSystems=[]}a.prototype={constructor:a,create:function(t,e){var n=[];i.each(o,(function(i,o){i=i.create(t,e),n=n.concat(i||[])})),this._coordinateSystems=n},update:function(t,e){i.each(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},a.register=function(t,e){o[t]=e},a.get=function(t){return o[t]},t.exports=a},"20c8":function(t,e,n){function i(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null}var o=n("4a3f"),a=n("401b"),r=n("e2637"),s=n("9850"),l=n("2cf4c").devicePixelRatio,u={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],h=[],d=[],p=[],f=Math.min,g=Math.max,m=Math.cos,y=Math.sin,v=Math.sqrt,x=Math.abs,_="undefined"!=typeof Float32Array;i.prototype={constructor:i,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){this._ux=x((n=n||0)/l/t)||0,this._uy=x(n/l/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return(this._ctx=t)&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(u.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=x(t-this._xi)>this._ux||x(e-this._yi)>this._uy||this._len<5;return this.addData(u.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,o,a){return this.addData(u.C,t,e,n,i,o,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,o,a):this._ctx.bezierCurveTo(t,e,n,i,o,a)),this._xi=o,this._yi=a,this},quadraticCurveTo:function(t,e,n,i){return this.addData(u.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,o,a){return this.addData(u.A,t,e,n,n,i,o-i,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,i,o,a),this._xi=m(o)*n+t,this._yi=y(o)*n+e,this},arcTo:function(t,e,n,i,o){return this._ctx&&this._ctx.arcTo(t,e,n,i,o),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(u.R,t,e,n,i),this},closePath:function(){this.addData(u.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,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;for(var e=this._dashIdx=0,n=0;n<t.length;n++)e+=t[n];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length===e||!_||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},appendPath:function(t){for(var e=(t=t instanceof Array?t:[t]).length,n=0,i=this._len,o=0;o<e;o++)n+=t[o].len();for(_&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n)),o=0;o<e;o++)for(var a=t[o].data,r=0;r<a.length;r++)this.data[i++]=a[r];this._len=i},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var n=0;n<arguments.length;n++)e[this._len++]=arguments[n];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var n,i,o=this._dashSum,a=this._dashOffset,r=this._lineDash,s=this._ctx,l=this._xi,u=this._yi,c=t-l,h=e-u,d=v(c*c+h*h),p=l,m=u,y=r.length;for(a<0&&(a=o+a),p-=(a%=o)*(c/=d),m-=a*(h/=d);0<c&&p<=t||c<0&&t<=p||0===c&&(0<h&&m<=e||h<0&&e<=m);)p+=c*(n=r[i=this._dashIdx]),m+=h*n,this._dashIdx=(i+1)%y,0<c&&p<l||c<0&&l<p||0<h&&m<u||h<0&&u<m||s[i%2?"moveTo":"lineTo"]((0<=c?f:g)(p,t),(0<=h?f:g)(m,e));this._dashOffset=-v((c=p-t)*c+(h=m-e)*h)},_dashedBezierTo:function(t,e,n,i,a,r){var s,l,u,c,h,d=this._dashSum,p=this._dashOffset,f=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=o.cubicAt,_=0,b=this._dashIdx,w=f.length,S=0;for(p<0&&(p=d+p),p%=d,s=0;s<1;s+=.1)l=x(m,t,n,a,s+.1)-x(m,t,n,a,s),u=x(y,e,i,r,s+.1)-x(y,e,i,r,s),_+=v(l*l+u*u);for(;b<w&&!(p<(S+=f[b]));b++);for(s=(S-p)/_;s<=1;)c=x(m,t,n,a,s),h=x(y,e,i,r,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=f[b]/_,b=(b+1)%w;b%2!=0&&g.lineTo(a,r),this._dashOffset=-v((l=a-c)*l+(u=r-h)*u)},_dashedQuadraticTo:function(t,e,n,i){var o=n,a=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,o,a)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,_)&&(this.data=new Float32Array(t))},getBoundingRect:function(){c[0]=c[1]=d[0]=d[1]=Number.MAX_VALUE,h[0]=h[1]=p[0]=p[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,o=0,l=0;l<t.length;){var f=t[l++];switch(1===l&&(i=e=t[l],o=n=t[l+1]),f){case u.M:e=i=t[l++],n=o=t[l++],d[0]=i,d[1]=o,p[0]=i,p[1]=o;break;case u.L:r.fromLine(e,n,t[l],t[l+1],d,p),e=t[l++],n=t[l++];break;case u.C:r.fromCubic(e,n,t[l++],t[l++],t[l++],t[l++],t[l],t[l+1],d,p),e=t[l++],n=t[l++];break;case u.Q:r.fromQuadratic(e,n,t[l++],t[l++],t[l],t[l+1],d,p),e=t[l++],n=t[l++];break;case u.A:var g=t[l++],v=t[l++],x=t[l++],_=t[l++],b=t[l++],w=t[l++]+b,S=(l+=1,1-t[l++]);1===l&&(i=m(b)*x+g,o=y(b)*_+v),r.fromArc(g,v,x,_,b,w,S,d,p),e=m(w)*x+g,n=y(w)*_+v;break;case u.R:i=e=t[l++],o=n=t[l++],b=t[l++],S=t[l++],r.fromLine(i,o,i+b,o+S,d,p);break;case u.Z:e=i,n=o}a.min(c,c,d),a.max(h,h,p)}return 0===l&&(c[0]=c[1]=h[0]=h[1]=0),new s(c[0],c[1],h[0]-c[0],h[1]-c[1])},rebuildPath:function(t){for(var e,n,i,o,a=this.data,r=this._ux,s=this._uy,l=this._len,c=0;c<l;){var h=a[c++];switch(1===c&&(e=i=a[c],n=o=a[c+1]),h){case u.M:e=i=a[c++],n=o=a[c++],t.moveTo(i,o);break;case u.L:d=a[c++],p=a[c++],(x(d-i)>r||x(p-o)>s||c===l-1)&&(t.lineTo(d,p),i=d,o=p);break;case u.C:t.bezierCurveTo(a[c++],a[c++],a[c++],a[c++],a[c++],a[c++]),i=a[c-2],o=a[c-1];break;case u.Q:t.quadraticCurveTo(a[c++],a[c++],a[c++],a[c++]),i=a[c-2],o=a[c-1];break;case u.A:var d=a[c++],p=a[c++],f=a[c++],g=a[c++],v=a[c++],_=a[c++],b=a[c++],w=a[c++],S=g<f?f:g,M=g<f?1:f/g,I=g<f?g/f:1;_=v+_;.001<Math.abs(f-g)?(t.translate(d,p),t.rotate(b),t.scale(M,I),t.arc(0,0,S,v,_,1-w),t.scale(1/M,1/I),t.rotate(-b),t.translate(-d,-p)):t.arc(d,p,S,v,_,1-w),1===c&&(e=m(v)*f+d,n=y(v)*g+p),i=m(_)*f+d,o=y(_)*g+p;break;case u.R:e=i=a[c],n=o=a[c+1],t.rect(a[c++],a[c++],a[c++],a[c++]);break;case u.Z:t.closePath(),i=e,o=n}}}},i.CMD=u,t.exports=i},2145:function(t,e){var n={};e.register=function(t,e){n[t]=e},e.get=function(t){return n[t]}},2163:function(t,e,n){var i=n("4f85"),o=n("06c7"),a=n("eda2").encodeHTML,r=n("4319");n=i.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new r(n,this,this.ecModel),a=o.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){return e=a.getNodeByDataIndex(e),e.children.length&&e.isExpand||(t.parentModel=i),t}))})),s=0;a.eachNode("preorder",(function(t){t.depth>s&&(s=t.depth)}));var l=t.expandAndCollapse&&0<=t.initialTreeDepth?t.initialTreeDepth:s;return a.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l})),a.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],i=e.getNodeByDataIndex(t),o=(e=i.getValue(),i.name);i&&i!==n;)o=i.parentNode.name+"."+o,i=i.parentNode;return a(o+(isNaN(e)||null==e?"":" : "+e))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=n},"216a":function(t,e,n){var i=n("6d8b"),o=n("3842"),a=n("eda2"),r=n("944e"),s=(n=n("89e3"),n.prototype),l=Math.ceil,u=Math.floor,c=36e5,h=864e5,d=n.extend({type:"time",getLabel:function(t){var e=this._stepLvl;t=new Date(t);return a.formatTime(e[0],t,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent,n=(e[0]===e[1]&&(e[0]-=h,e[1]+=h),e[1]===-1/0&&e[0]===1/0&&(n=new Date,e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-h),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval),this._interval);t.fixMin||(e[0]=o.round(u(e[0]/n)*n)),t.fixMax||(e[1]=o.round(l(e[1]/n)*n))},niceTicks:function(t,e,n){var i=this._extent,a=i[1]-i[0],s=a/(t=t||10);null!=e&&s<e&&(s=e),e=p.length,n=function(t,e,n,i){for(;n<i;){var o=n+i>>>1;t[o][1]<e?n=1+o:i=o}return n}(p,s=null!=n&&n<s?n:s,0,e),s=p[Math.min(n,e-1)],n=s[1],"year"===s[0]&&(n*=o.nice(a/n/t,!0)),e=this.getSetting("useUTC")?0:60*new Date(+i[0]||+i[1]).getTimezoneOffset()*1e3,a=[Math.round(l((i[0]-e)/n)*n+e),Math.round(u((i[1]-e)/n)*n+e)];r.fixExtent(a,i),this._stepLvl=s,this._interval=n,this._niceExtent=a},parse:function(t){return+o.parseDate(t)}}),p=(i.each(["contain","normalize"],(function(t){d.prototype[t]=function(e){return s[t].call(this,this.parse(e))}})),[["hh:mm:ss",1e3],["hh:mm:ss",5e3],["hh:mm:ss",1e4],["hh:mm:ss",15e3],["hh:mm:ss",3e4],["hh:mm\nMM-dd",6e4],["hh:mm\nMM-dd",3e5],["hh:mm\nMM-dd",6e5],["hh:mm\nMM-dd",9e5],["hh:mm\nMM-dd",18e5],["hh:mm\nMM-dd",c],["hh:mm\nMM-dd",72e5],["hh:mm\nMM-dd",6*c],["hh:mm\nMM-dd",432e5],["MM-dd\nyyyy",h],["MM-dd\nyyyy",2*h],["MM-dd\nyyyy",3*h],["MM-dd\nyyyy",4*h],["MM-dd\nyyyy",5*h],["MM-dd\nyyyy",6*h],["week",7*h],["MM-dd\nyyyy",864e6],["week",14*h],["week",21*h],["month",31*h],["week",42*h],["month",62*h],["week",70*h],["quarter",95*h],["month",31*h*4],["month",13392e6],["half-year",16416e6],["month",31*h*8],["month",26784e6],["year",380*h]]);d.create=function(t){return new d({useUTC:t.ecModel.get("useUTC")})},t.exports=d},"217b":function(t,e,n){n("4e08").__DEV__;var i=n("3301");n=n("4f85").extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return i(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=n},"217c":function(t,e,n){var i=n("6d8b"),o=n("6cb7");n("df3a"),n=o.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){o.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&i.merge(e,t,!0),this._initDimensions()},contains:function(t,e){return t=t.get("parallelIndex"),null!=t&&e.getComponent("parallel",t)===this},setAxisExpand:function(t){i.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=i.filter(this.dependentModels.parallelAxis,(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);i.each(n,(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))}});t.exports=n},"22d1":function(t,e){var n="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}:function(t){var e={},n=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge\/([\d.]+)/);t=/micromessenger/i.test(t);return n&&(e.firefox=!0,e.version=n[1]),i&&(e.ie=!0,e.version=i[1]),o&&(e.edge=!0,e.version=o[1]),t&&(e.weChat=!0),{browser:e,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!e.ie&&!e.edge,pointerEventsSupported:"onpointerdown"in window&&(e.edge||e.ie&&11<=e.version),domSupported:"undefined"!=typeof document}}(navigator.userAgent);t.exports=n},"22da":function(t,e,n){var i=n("f934");function o(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function a(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function r(t,e){return t.parentNode===e.parentNode?1:2}e.init=function(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e,n,i=[t];e=i.pop();)if(n=e.children,e.isExpand&&n.length)for(var o=n.length-1;0<=o;o--){var a=n[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}},e.firstWalk=function(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){for(var s=t.children,l=s.length,u=0,c=0;0<=--l;){var h=s[l];h.hierNode.prelim+=u,h.hierNode.modifier+=u,c+=h.hierNode.change,u+=h.hierNode.shift+c}n=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2,r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-n):t.hierNode.prelim=n}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,s=t,l=s.parentNode.children[0],u=e,c=r.hierNode.modifier,h=s.hierNode.modifier,d=l.hierNode.modifier,p=u.hierNode.modifier;u=o(u),s=a(s),u&&s;){r=o(r),l=a(l),r.hierNode.ancestor=t;var f=u.hierNode.prelim+p-s.hierNode.prelim-h+i(u,s);0<f&&(function(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}(function(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}(u,t,n),t,f),h+=f,c+=f),p+=u.hierNode.modifier,h+=s.hierNode.modifier,c+=r.hierNode.modifier,d+=l.hierNode.modifier}u&&!o(r)&&(r.hierNode.thread=u,r.hierNode.modifier+=p-c),s&&!a(l)&&(l.hierNode.thread=s,l.hierNode.modifier+=h-d,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)},e.secondWalk=function(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier},e.separation=function(t){return arguments.length?t:r},e.radialCoordinate=function(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n},e.getViewRect=function(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}},2306:function(t,e,n){var i=n("6d8b"),o=n("342d"),a=n("41ef"),r=n("1687"),s=n("401b"),l=n("cbe5"),u=n("0cde"),c=n("0da8"),h=(e.Image=c,n("e1fc")),d=(h=(e.Group=h,n("76a5")),h=(e.Text=h,n("d9fc")),e.Circle=h,n("4aa2")),p=(e.Sector=d,n("4573")),f=(e.Ring=p,n("87b1")),g=(e.Polygon=f,n("d498")),m=(e.Polyline=g,n("c7a2")),y=(e.Rect=m,n("cb11")),v=(e.Line=y,n("ac0f")),x=(e.BezierCurve=v,n("8d32")),_=(e.Arc=x,n("d4c6")),b=(_=(e.CompoundPath=_,n("48a9")),_=(e.LinearGradient=_,n("dded")),_=(e.RadialGradient=_,n("9850")),_=(e.BoundingRect=_,n("392f")),e.IncrementalDisplayable=_,n("9cf9")),w=Math.max,S=Math.min,M={},I=1,T="emphasis",A="normal",C=1,D={},L={};function P(t,e){L[t]=e}function k(t,e,n,i){return t=o.createFromString(t,e),n&&("center"===i&&(n=O(n,t.getBoundingRect())),R(t,n)),t}function O(t,e){e=e.width/e.height;var n=t.height*e;e=n<=t.width?t.height:(n=t.width)/e;return{x:t.x+t.width/2-n/2,y:t.y+t.height/2-e/2,width:n,height:e}}function R(t,e){t.applyTransform&&(e=t.getBoundingRect().calculateTransform(e),t.applyTransform(e))}function E(t){return null!=t&&"none"!==t}_=o.mergePath,n=b.subPixelOptimize;var N=i.createHashMap(),z=0;function B(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var n=t.__zr,i=t.useHoverLayer&&n&&"canvas"===n.painter.type;if(t.__highlighted=i?"layer":"plain",!(t.isGroup||!n&&t.useHoverLayer)){var o=t,a=t.style;if(tt(a=i?(o=n.addHover(t)).style:a),!i&&(n=o,n.__hoverStlDirty)){n.__hoverStlDirty=!1;var r=n.__hoverStl;if(r){var s,l=n.__cachedNormalStl={},u=(n.__cachedNormalZ2=n.z2,n.style);for(s in r)null!=r[s]&&(l[s]=u[s]);l.fill=u.fill,l.stroke=u.stroke}else n.__cachedNormalStl=n.__cachedNormalZ2=null}a.extendFrom(e),V(a,e,"fill"),V(a,e,"stroke"),Q(a),i||(t.dirty(!1),t.z2+=I)}}}function V(t,e,n){!E(e[n])&&E(t[n])&&(t[n]="string"!=typeof(e=t[n])?e:((t=N.get(e))||(t=a.lift(e,-.1),z<1e4&&(N.set(e,t),z++)),t))}function G(t){var e,n=t.__highlighted;n&&(t.__highlighted=!1,t.isGroup||("layer"===n?t.__zr&&t.__zr.removeHover(t):(n=t.style,(e=t.__cachedNormalStl)&&(tt(n),t.setStyle(e),Q(n)),null!=(e=t.__cachedNormalZ2)&&t.z2-e===I&&(t.z2=e))))}function F(t,e,n){var i,o=A,a=A;t.__highlighted&&(o=T,i=!0),e(t,n),t.__highlighted&&(a=T,i=!0),t.isGroup&&t.traverse((function(t){t.isGroup||e(t,n)})),i&&t.__highDownOnUpdate&&t.__highDownOnUpdate(o,a)}function H(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,G(t),B(t))}function W(t){j(this,t)||this.__highByOuter||F(this,B)}function U(t){j(this,t)||this.__highByOuter||F(this,G)}function Z(t){this.__highByOuter|=1<<(t||0),F(this,B)}function Y(t){(this.__highByOuter&=~(1<<(t||0)))||F(this,G)}function j(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function X(t,e){var n;e=!1===e;t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,e&&!t.__highDownDispatcher||(t[n=e?"off":"on"]("mouseover",W)[n]("mouseout",U),t[n]("emphasis",Z)[n]("normal",Y),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!e)}function q(t,e,n,o,a){return K(t,e,o,a),n&&i.extend(t,n),t}function K(t,e,n,o){(n=n||M).isRectText&&(n.getTextPosition?s=n.getTextPosition(e,o):"outside"===(s=e.getShallow("position")||(o?null:"inside"))&&(s="top"),t.textPosition=s,t.textOffset=e.getShallow("offset"),null!=(s=e.getShallow("rotate"))&&(s*=Math.PI/180),t.textRotation=s,t.textDistance=i.retrieve2(e.getShallow("distance"),o?null:5));var a,r,s=e.ecModel,l=s&&s.option.textStyle,u=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||M).rich;if(n)for(var i in e=e||{},n)n.hasOwnProperty(i)&&(e[i]=1);t=t.parentModel}return e}(e);if(u)for(var c in a={},u)u.hasOwnProperty(c)&&(r=e.getModel(["rich",c]),$(a[c]={},r,l,n,o));t.rich=a,$(t,e,l,n,o,!0),n.forceRich&&!n.textStyle&&(n.textStyle={})}function $(t,e,n,o,a,r){n=!a&&n||M,t.textFill=J(e.getShallow("color"),o)||n.color,t.textStroke=J(e.getShallow("textBorderColor"),o)||n.textBorderColor,t.textStrokeWidth=i.retrieve2(e.getShallow("textBorderWidth"),n.textBorderWidth),a||(r&&(t.insideRollbackOpt=o,Q(t)),null==t.textFill&&(t.textFill=o.autoColor)),t.fontStyle=e.getShallow("fontStyle")||n.fontStyle,t.fontWeight=e.getShallow("fontWeight")||n.fontWeight,t.fontSize=e.getShallow("fontSize")||n.fontSize,t.fontFamily=e.getShallow("fontFamily")||n.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"),r&&o.disableBox||(t.textBackgroundColor=J(e.getShallow("backgroundColor"),o),t.textPadding=e.getShallow("padding"),t.textBorderColor=J(e.getShallow("borderColor"),o),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")||n.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||n.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||n.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function J(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function Q(t){var e,n,i,o=t.textPosition,a=t.insideRollbackOpt;a&&null==t.textFill&&(n=a.autoColor,i=a.isRectText,i=!(a=!1!==(a=a.useInsideStyle)&&(!0===a||i&&o&&"string"==typeof o&&0<=o.indexOf("inside")))&&null!=n,(a||i)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),a&&(t.textFill="#fff",null==t.textStroke)&&(t.textStroke=n,null==t.textStrokeWidth)&&(t.textStrokeWidth=2),i)&&(t.textFill=n),t.insideRollback=e}function tt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function et(t,e,n,i,o,a){var r,s;"function"==typeof o&&(a=o,o=null),i&&i.isAnimationEnabled()&&(r=i.getShallow("animationDuration"+(t=t?"Update":"")),s=i.getShallow("animationEasing"+t),"function"==typeof(t=i.getShallow("animationDelay"+t))&&(t=t(o,i.getAnimationDelayParams?i.getAnimationDelayParams(e,o):null)),0<(r="function"==typeof r?r(o):r))?e.animateTo(n,r,t||0,s,a,!!a):(e.stopAnimation(),e.attr(n),a&&a())}function nt(t,e,n,i,o){et(!0,t,e,n,i,o)}function it(t,e,n){return e&&!i.isArrayLike(e)&&(e=u.getLocalTransform(e)),n&&(e=r.invert([],e)),s.applyTransform([],t,e)}function ot(t,e,n,i,o,a,r,s){n-=t,i-=e,r-=o,s-=a;var l,u=r*i-n*s;return!((l=u)<=1e-6&&-1e-6<=l||(o=((l=t-o)*i-n*(t=e-a))/u)<0||1<o||(i=(l*s-r*t)/u)<0||1<i)}P("circle",h),P("sector",d),P("ring",p),P("polygon",f),P("polyline",g),P("rect",m),P("line",y),P("bezierCurve",v),P("arc",x),e.Z2_EMPHASIS_LIFT=I,e.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return o.extendFromString(t,e)},e.registerShape=P,e.getShapeClass=function(t){if(L.hasOwnProperty(t))return L[t]},e.makePath=k,e.makeImage=function(t,e,n){var i=new c({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){"center"===n&&(t={width:t.width,height:t.height},i.setStyle(O(e,t)))}});return i},e.mergePath=_,e.resizePath=R,e.subPixelOptimizeLine=function(t){return b.subPixelOptimizeLine(t.shape,t.shape,t.style),t},e.subPixelOptimizeRect=function(t){return b.subPixelOptimizeRect(t.shape,t.shape,t.style),t},e.subPixelOptimize=n,e.setElementHoverStyle=H,e.setHoverStyle=function(t,e){X(t,!0),F(t,H,e)},e.setAsHighDownDispatcher=X,e.isHighDownDispatcher=function(t){return!(!t||!t.__highDownDispatcher)},e.getHighlightDigit=function(t){var e=D[t];return null==e&&C<=32?D[t]=C++:e},e.setLabelStyle=function(t,e,n,o,a,r,s){var l,u=(a=a||M).labelFetcher,c=a.labelDataIndex,h=a.labelDimIndex,d=a.labelProp,p=n.getShallow("show"),f=o.getShallow("show");(p||f)&&null==(l=u?u.getFormattedLabel(c,"normal",null,h,d):l)&&(l=i.isFunction(a.defaultText)?a.defaultText(c,a):a.defaultText),p=p?l:null,f=f?i.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h,d):null,l):null;null==p&&null==f||(q(t,n,r,a),q(e,o,s,a,!0)),t.text=p,e.text=f},e.modifyLabelStyle=function(t,e,n){var o=t.style;e&&(tt(o),t.setStyle(e),Q(o)),o=t.__hoverStl,n&&o&&(tt(o),i.extend(o,n),Q(o))},e.setTextStyle=q,e.setText=function(t,e,n){var i,o={isRectText:!0};!1===n?i=!0:o.autoColor=n,K(t,e,o,i)},e.getFont=function(t,e){return e=e&&e.getModel("textStyle"),i.trim([t.fontStyle||e&&e.getShallow("fontStyle")||"",t.fontWeight||e&&e.getShallow("fontWeight")||"",(t.fontSize||e&&e.getShallow("fontSize")||12)+"px",t.fontFamily||e&&e.getShallow("fontFamily")||"sans-serif"].join(" "))},e.updateProps=nt,e.initProps=function(t,e,n,i,o){et(!1,t,e,n,i,o)},e.getTransform=function(t,e){for(var n=r.identity([]);t&&t!==e;)r.mul(n,t.getLocalTransform(),n),t=t.parent;return n},e.applyTransform=it,e.transformDirection=function(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),o=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]);i=it(["left"===t?-i:"right"===t?i:0,"top"===t?-o:"bottom"===t?o:0],e,n);return Math.abs(i[0])>Math.abs(i[1])?0<i[0]?"right":"left":0<i[1]?"bottom":"top"},e.groupTransition=function(t,e,n,o){var a,r;function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=i.extend({},t.shape)),e}t&&e&&(r={},t.traverse((function(t){!t.isGroup&&t.anid&&(r[t.anid]=t)})),a=r,e.traverse((function(t){var e,i;!t.isGroup&&t.anid&&(e=a[t.anid])&&(i=l(t),t.attr(l(e)),nt(t,i,n,t.dataIndex))})))},e.clipPointsByRect=function(t,e){return i.map(t,(function(t){var n=t[0];n=w(n,e.x),n=S(n,e.x+e.width),t=t[1],t=w(t,e.y);return[n,S(t,e.y+e.height)]}))},e.clipRectByRect=function(t,e){var n=w(t.x,e.x),i=S(t.x+t.width,e.x+e.width),o=w(t.y,e.y);t=S(t.y+t.height,e.y+e.height);if(n<=i&&o<=t)return{x:n,y:o,width:i-n,height:t-o}},e.createIcon=function(t,e,n){var o=(e=i.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(o.image=t.slice(8),i.defaults(o,n),new c(e)):k(t.replace("path://",""),e,n,"center")},e.linePolygonIntersect=function(t,e,n,i,o){for(var a=0,r=o[o.length-1];a<o.length;a++){var s=o[a];if(ot(t,e,n,i,s[0],s[1],r[0],r[1]))return!0;r=s}},e.lineLineIntersect=ot},2325:function(t,e,n){var i=n("6d8b"),o=n("607d"),a=n("2306"),r=n("88b3"),s=n("7dcf"),l=n("3842"),u=n("f934"),c=n("ef6a4"),h=a.Rect,d=l.linearMap,p=l.asc,f=i.bind,g=i.each,m="horizontal",y="vertical",v=["line","bar","candlestick","scatter"],x=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,n,i){x.superApply(this,"render",arguments),r.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1===this.dataZoomModel.get("show")?this.group.removeAll():(i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView())},remove:function(){x.superApply(this,"remove",arguments),r.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),r.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group,e=(t.removeAll(),this._resetLocation(),this._resetInterval(),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,n=this._findCoordRect(),o=(e={width:e.getWidth(),height:e.getHeight()},this._orient===m?{right:e.width-n.x-n.width,top:e.height-30-7,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height}),a=u.getLayoutParams(t.option);i.each(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])})),n=u.getLayoutRect(a,e,t.padding);this._location={x:n.x,y:n.y},this._size=[n.width,n.height],this._orient===y&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),o=(i=i&&i.get("inverse"),this._displayables.barGroup),a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==m||i?n===m&&i?{scale:a?[-1,1]:[-1,-1]}:n!==y||i?{scale:a?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:a?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:a?[1,1]:[1,-1]}),n=t.getBoundingRect([o]);t.attr("position",[e.x-n.x,e.y-n.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.barGroup;n.add(new h({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),n.add(new h({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:i.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t,e,n,o,r,s,l,u,c,h,p,f=this._dataShadowInfo=this._prepareDataShadowInfo();f&&(t=this._size,e=(n=f.series).getRawData(),null!=(n=n.getShadowDim?n.getShadowDim():f.otherDim))&&(f=.3*((o=e.getDataExtent(n))[1]-o[0]),o=[o[0]-f,o[1]+f],r=[0,t[1]],f=[0,t[0]],s=[[t[0],0],[0,0]],l=[],u=f[1]/(e.count()-1),c=0,h=Math.round(e.count()/t[0]),e.each([n],(function(t,e){var n;0<h&&e%h?c+=u:(t=(n=null==t||isNaN(t)||""===t)?0:d(t,o,r,!0),n&&!p&&e?(s.push([s[s.length-1][0],0]),l.push([l[l.length-1][0],0])):!n&&p&&(s.push([c,0]),l.push([c,0])),s.push([c,t]),l.push([c,t]),c+=u,p=n)})),f=this.dataZoomModel,this._displayables.barGroup.add(new a.Polygon({shape:{points:s},style:i.defaults({fill:f.get("dataBackgroundColor")},f.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new a.Polyline({shape:{points:l},style:f.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19})))},_prepareDataShadowInfo:function(){var t,e,n=this.dataZoomModel,o=n.get("showDataShadow");if(!1!==o)return e=this.ecModel,n.eachTargetAxis((function(a,r){var s=n.getAxisProxy(a.name,r).getTargetSeriesModels();i.each(s,(function(n){var s,l,u,c;t||!0!==o&&i.indexOf(v,n.get("type"))<0||(s=e.getComponent(a.axis,r).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[a.name],c=n.coordinateSystem,null!=l&&c.getOtherAxis&&(u=c.getOtherAxis(s).inverse),l=n.getData().mapDimension(l),t={thisAxis:s,series:n,thisDim:a.name,otherDim:l,otherAxisInverse:u})}),this)}),this),t},_renderHandle:function(){var t=this._displayables,e=t.handles=[],n=t.handleLabels=[],i=this._displayables.barGroup,o=this._size,r=this.dataZoomModel;i.add(t.filler=new h({draggable:!0,cursor:_(this._orient),drift:f(this._onDragMove,this,"all"),ondragstart:f(this._showDataInfo,this,!0),ondragend:f(this._onDragEnd,this),onmouseover:f(this._showDataInfo,this,!0),onmouseout:f(this._showDataInfo,this,!1),style:{fill:r.get("fillerColor"),textPosition:"inside"}})),i.add(new h({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:r.get("dataBackgroundColor")||r.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(t){var o=a.createIcon(r.get("handleIcon"),{cursor:_(this._orient),draggable:!0,drift:f(this._onDragMove,this,t),ondragend:f(this._onDragEnd,this),onmouseover:f(this._showDataInfo,this,!0),onmouseout:f(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=o.getBoundingRect();this._handleHeight=l.parsePercent(r.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,o.setStyle(r.getModel("handleStyle").getItemStyle()),s=r.get("handleColor"),null!=s&&(o.style.fill=s),i.add(e[t]=o),s=r.textStyleModel;this.group.add(n[t]=new a.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:s.getTextColor(),textFont:s.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 n=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),r=[0,100];c(e,i,o,n.get("zoomLock")?"all":t,null!=a.minSpan?d(a.minSpan,r,o,!0):null,null!=a.maxSpan?d(a.maxSpan,r,o,!0):null),e=this._range,n=this._range=p([d(i[0],o,r,!0),d(i[1],o,r,!0)]);return!e||e[0]!==n[0]||e[1]!==n[1]},_updateView:function(t){var e=this._displayables,n=this._handleEnds,i=p(n.slice()),o=this._size;g([0,1],(function(t){var i=e.handles[t],a=this._handleHeight;i.attr({scale:[a/2,a/2],position:[n[t],o[1]/2-a/2]})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:o[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e,n,i=this.dataZoomModel,o=this._displayables,r=o.handleLabels,s=this._orient,l=["",""],u=(i.get("showDetail")&&(i=i.findRepresentativeAxisProxy())&&(e=i.getAxisModel().axis,n=this._range,t=t?i.calculateDataWindow({start:n[0],end:n[1]}).valueWindow:i.getDataValueWindow(),l=[this._formatLabel(t[0],e),this._formatLabel(t[1],e)]),p(this._handleEnds.slice()));function c(t){var e=a.getTransform(o.handles[t].parent,this.group),n=a.transformDirection(0===t?"right":"left",e),i=this._handleWidth/2+5;i=a.applyTransform([u[t]+(0===t?-i:i),this._size[1]/2],e);r[t].setStyle({x:i[0],y:i[1],textVerticalAlign:s===m?"middle":n,textAlign:s===m?n:"center",text:l[t]})}c.call(this,0),c.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,o=n.get("labelFormatter");n=n.get("labelPrecision"),null!=n&&"auto"!==n||(n=e.getPixelPrecision()),e=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(n,20));return i.isFunction(o)?o(t,e):i.isString(o)?o.replace("{value}",e):e},_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,n,i){this._dragging=!0,o.stop(i.event),i=this._displayables.barGroup.getLocalTransform(),e=a.applyTransform([e,n],i,!0),n=this._updateInterval(t,e[0]),i=this.dataZoomModel.get("realtime"),this._updateView(!i),n&&i&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),this.dataZoomModel.get("realtime")||this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size;t=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);t[0]<0||t[0]>e[0]||t[1]<0||t[1]>e[1]||(e=((e=this._handleEnds)[0]+e[1])/2,t=this._updateInterval("all",t[0]-e),this._updateView(),t&&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,e,n;return g(this.getTargetCoordInfo(),(function(t){!n&&t.length&&(t=t[0].model.coordinateSystem,n=t.getRect&&t.getRect())})),n||(t=this.api.getWidth(),e=this.api.getHeight(),n={x:.2*t,y:.2*e,width:.6*t,height:.6*e}),n}});function _(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=x},"237f":function(t,e,n){var i=n("6d8b"),o=n("6179"),a=n("7368"),r=n("31d9"),s=n("b1d4"),l=n("2039"),u=n("3301");t.exports=function(t,e,n,c,h){for(var d=new a(c),p=0;p<t.length;p++)d.addNode(i.retrieve(t[p].id,t[p].name,p),p);var f,g=[],m=[],y=0;for(p=0;p<e.length;p++){var v=e[p],x=v.source,_=v.target;d.addEdge(x,_,y)&&(m.push(v),g.push(i.retrieve(v.id,x+" > "+_)),y++)}return"cartesian2d"===(c=n.get("coordinateSystem"))||"polar"===c?f=u(t,n):(c=(c=l.get(c))&&"view"!==c.type&&c.dimensions||[],i.indexOf(c,"value")<0&&c.concat(["value"]),c=s(t,{coordDimensions:c}),(f=new o(c,n)).initData(t)),(c=new o(["value"],n)).initData(m,g),h&&h(f,c),r({mainData:f,struct:d,structAttr:"graph",datas:{node:f,edge:c},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},"23e0":function(t,e,n){var i=n("6d8b"),o=n("7887"),a=n("89e3"),r=n("3842"),s=n("697e"),l=s.getScaleExtent,u=s.niceScaleExtent,c=(s=n("2039"),n("8c2a"));function h(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=i.map(t.getIndicatorModels(),(function(t,e){e="indicator_"+e;var n=new o(e,new("log"===t.get("axisType")?c:a));return n.name=t.get("name"),(n.model=t).axis=n,this.dimensions.push(e),n}),this),this.resize(t,n),this.cx,this.cy,this.r,this.r0,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},h.prototype.coordToPoint=function(t,e){return e=this._indicatorAxes[e].angle,[this.cx+t*Math.cos(e),this.cy-t*Math.sin(e)]},h.prototype.pointToData=function(t){for(var e,n=t[0]-this.cx,i=(t=t[1]-this.cy,Math.sqrt(n*n+t*t)),o=(n/=i,t/=i,Math.atan2(-t,n)),a=1/0,r=-1,s=0;s<this._indicatorAxes.length;s++){var l=this._indicatorAxes[s],u=Math.abs(o-l.angle);u<a&&(e=l,r=s,a=u)}return[r,+(e&&e.coordToData(i))]},h.prototype.resize=function(t,e){var n=t.get("center"),o=e.getWidth(),a=(e=e.getHeight(),Math.min(o,e)/2);this.cx=r.parsePercent(n[0],o),this.cy=r.parsePercent(n[1],e),this.startAngle=t.get("startAngle")*Math.PI/180,o=t.get("radius");this.r0=r.parsePercent((o="string"!=typeof o&&"number"!=typeof o?o:[0,o])[0],a),this.r=r.parsePercent(o[1],a),i.each(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r),e=this.startAngle+e*Math.PI*2/this._indicatorAxes.length,e=Math.atan2(Math.sin(e),Math.cos(e)),t.angle=e}),this)},h.prototype.update=function(t,e){var n=this._indicatorAxes,o=this._model,a=(i.each(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,a){var r;"radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===o&&(r=e.getData(),i.each(n,(function(t){t.scale.unionExtentFromData(r,r.mapDimension(t.dim))})))}),this),o.get("splitNumber"));function s(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10));t/=e;return 2===t?t=5:t*=2,t*e}i.each(n,(function(t,e){var n=l(t.scale,t.model).extent,i=(u(t.scale,t.model),t.model),o=t.scale,c=i.getMin(),h=i.getMax(),d=o.getInterval();if(null!=c&&null!=h)o.setExtent(+c,+h),o.setInterval((h-c)/a);else if(null!=c)for(;o.setExtent(+c,p=c+d*a),o.setInterval(d),d=s(d),p<n[1]&&isFinite(p)&&isFinite(n[1]););else if(null!=h)for(;o.setExtent(f=h-d*a,+h),o.setInterval(d),d=s(d),f>n[0]&&isFinite(f)&&isFinite(n[0]););else{t=o.getTicks().length-1;var p=(a<t&&(d=s(d)),Math.ceil(n[1]/d)*d),f=r.round(p-d*a);o.setExtent(f,p),o.setInterval(d)}}))},h.dimensions=[],h.create=function(t,e){var n=[];return t.eachComponent("radar",(function(t){var i=new h(t,0,e);n.push(i),t.coordinateSystem=i})),t.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])})),n},s.register("radar",h),t.exports=h},"23ee":function(t,e,n){var i=n("3eba"),o=(n("879e"),n("9704"),n("d747"),n("675a")),a=n("7f96"),r=n("2943"),s=n("de6e"),l=n("d357"),u=n("adda"),c=n("5866");n=n("7b0c");i.registerProcessor(o),i.registerVisual(a("graph","circle",null)),i.registerVisual(r),i.registerVisual(s),i.registerLayout(l),i.registerLayout(i.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),i.registerLayout(c),i.registerCoordinateSystem("graphView",{create:n})},2449:function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("6d8b"),a=n("22d1"),r=n("e0d3"),s=n("eda2"),l=(n=n("38a2"),s.addCommas),u=s.encodeHTML;function c(t){r.defaultEmphasis(t,"label",["show"])}s=i.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},isAnimationEnabled:function(){var t;return!a.node&&(t=this.__hostSeries,this.getShallow("animation"))&&t&&t.isAnimationEnabled()},mergeOption:function(t,e){this._mergeOption(t,e,!1,!1)},_mergeOption:function(t,e,n,i){var a=this.constructor,r=this.mainType+"Model";n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),s=t[r];n&&n.data?(s?s._mergeOption(n,e,!0):(i&&c(n),o.each(n.data,(function(t){t instanceof Array?(c(t[0]),c(t[1])):c(t)})),s=new a(n,this,e),o.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[r]=s):t[r]=null}),this)},formatTooltip:function(t,e,n,i){var a=this.getData(),r=this.getRawValue(t),s=o.isArray(r)?o.map(r,l).join(", "):l(r);a=a.getName(t),t=u(this.name);return null==r&&!a||(t+="html"===i?"<br/>":"\n"),a&&(t+=u(a),null!=r)&&(t+=" : "),null!=r&&(t+=u(s)),t},getData:function(){return this._data},setData:function(t){this._data=t}}),o.mixin(s,n),t.exports=s},"24b9":function(t,e,n){n("4e08").__DEV__;var i=n("f934"),o=(n=n("3842"),n.parsePercent),a=n.linearMap;t.exports=function(t,e,n){t.eachSeriesByType("funnel",(function(t){function n(t,e){if("horizontal"===h){var n,i=r.get(s,t)||0,o=a(i,[y,v],m,!0);switch(x){case"top":n=g;break;case"center":n=g+(p-o)/2;break;case"bottom":n=g+(p-o)}return[[e,n],[e,n+o]]}i=r.get(s,t)||0;var l,u=a(i,[y,v],m,!0);switch(x){case"left":l=f;break;case"center":l=f+(d-u)/2;break;case"right":l=f+d-u}return[[l,e],[l+u,e]]}var r=t.getData(),s=r.mapDimension("value"),l=t.get("sort"),u=(u=e,i.getLayoutRect(t.getBoxLayoutParams(),{width:u.getWidth(),height:u.getHeight()})),c=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),o=[],a="ascending"===e,r=0,s=t.count();r<s;r++)o[r]=r;return"function"==typeof e?o.sort(e):"none"!==e&&o.sort((function(t,e){return a?i[t]-i[e]:i[e]-i[t]})),o}(r,l),h=t.get("orient"),d=u.width,p=u.height,f=u.x,g=u.y,m="horizontal"===h?[o(t.get("minSize"),p),o(t.get("maxSize"),p)]:[o(t.get("minSize"),d),o(t.get("maxSize"),d)],y=(u=r.getDataExtent(s),t.get("min")),v=t.get("max"),x=(null==y&&(y=Math.min(u[0],0)),null==v&&(v=u[1]),t.get("funnelAlign")),_=t.get("gap"),b=(("horizontal"===h?d:p)-_*(r.count()-1))/r.count();"ascending"===l&&(b=-b,_=-_,"horizontal"===h?f+=d:g+=p,c=c.reverse());for(var w,S=0;S<c.length;S++){var M,I,T,A=c[S],C=c[S+1],D=r.getItemModel(A);"horizontal"===h?(null==(M=D.get("itemStyle.width"))?M=b:(M=o(M,d),"ascending"===l&&(M=-M)),I=n(A,f),T=n(C,f+M),f+=M+_):(null==(D=D.get("itemStyle.height"))?D=b:(D=o(D,p),"ascending"===l&&(D=-D)),I=n(A,"horizontal"===h?f:g),T=n(C,"horizontal"===h?f+M:g+D),g+=D+_),r.setItemLayout(A,{points:I.concat(T.slice().reverse())})}(w=r).each((function(t){var e,n,i,o,a,r,s,l=w.getItemModel(t),u=l.getModel("label").get("position"),c=l.get("orient"),h=(l=l.getModel("labelLine"),t=w.getItemLayout(t),t.points),d="inner"===u||"inside"===u||"center"===u||"insideLeft"===u||"insideRight"===u;u=d?(s="insideLeft"===u?(e=(h[0][0]+h[3][0])/2+5,n=(h[0][1]+h[3][1])/2,"left"):"insideRight"===u?(e=(h[1][0]+h[2][0])/2-5,n=(h[1][1]+h[2][1])/2,"right"):(e=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,n=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,"center"),[[e,n],[e,n]]):(l=l.get("length"),s="left"===u?(i=(h[3][0]+h[0][0])/2,o=(h[3][1]+h[0][1])/2,e=(a=i-l)-5,"right"):"right"===u?(i=(h[1][0]+h[2][0])/2,o=(h[1][1]+h[2][1])/2,e=(a=i+l)+5,"left"):"top"===u?(i=(h[3][0]+h[0][0])/2,n=(r=(o=(h[3][1]+h[0][1])/2)-l)-5,"center"):"bottom"===u?(i=(h[1][0]+h[2][0])/2,n=(r=(o=(h[1][1]+h[2][1])/2)+l)+5,"center"):"rightTop"===u?(i=("horizontal"===c?h[3]:h[1])[0],o=("horizontal"===c?h[3]:h[1])[1],"horizontal"===c?(n=(r=o-l)-5,"center"):(e=(a=i+l)+5,"top")):"rightBottom"===u?(i=h[2][0],o=h[2][1],"horizontal"===c?(n=(r=o+l)+5,"center"):(e=(a=i+l)+5,"bottom")):"leftTop"===u?(i=h[0][0],o=("horizontal"===c?h[0]:h[1])[1],"horizontal"===c?(n=(r=o-l)-5,"center"):(e=(a=i-l)-5,"right")):"leftBottom"===u?(i=("horizontal"===c?h[1]:h[3])[0],o=("horizontal"===c?h[1]:h[2])[1],"horizontal"===c?(n=(r=o+l)+5,"center"):(e=(a=i-l)-5,"right")):(i=(h[1][0]+h[2][0])/2,o=(h[1][1]+h[2][1])/2,"horizontal"===c?(n=(r=o+l)+5,"center"):(e=(a=i+l)+5,"left")),"horizontal"===c?e=a=i:n=r=o,[[i,o],[a,r]]);t.label={linePoints:u,x:e,y:n,verticalAlign:"middle",textAlign:s,inside:d}}))}))}},"255c":function(t,e,n){var i=n("3eba"),o=n("d4d1").Polygon,a=n("2306"),r=n("6d8b"),s=r.bind,l=r.extend,u=n("80f0");r=i.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(t,e,n){var i=t.getData(),r=this.group,c=t.getLayerSeries(),h=i.getLayout("layoutInfo"),d=h.rect;h=h.boundaryGap;function p(t){return t.name}r.attr("position",[0,d.y+h[0]]);d=new u(this._layersSeries||[],c,p,p);var f={};function g(e,n,s){var u=this._layers;if("remove"===e)r.remove(u[n]);else{for(var h,d=[],p=[],g=c[n].indices,m=0;m<g.length;m++){var y=i.getItemLayout(g[m]),v=y.x,x=y.y0;y=y.y;d.push([v,x]),p.push([v,x+y]),h=i.getItemVisual(g[m],"color")}var _,b,w,S,M,I=i.getItemLayout(g[0]),T=i.getItemModel(g[m-1]),A=T.getModel("label"),C=A.get("margin"),D=(e=("add"===e?(w=f[n]=new a.Group,_=new o({shape:{points:d,stackedOnPoints:p,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),b=new a.Text({style:{x:I.x-C,y:I.y0+I.y/2}}),w.add(_),w.add(b),r.add(w),_.setClipPath((e=_.getBoundingRect(),D=t,S=function(){_.removeClipPath()},M=new a.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}}),a.initProps(M,{shape:{width:e.width+20,height:e.height+20}},D,S),M))):(w=u[s],_=w.childAt(0),b=w.childAt(1),r.add(w),f[n]=w,a.updateProps(_,{shape:{points:d,stackedOnPoints:p}},t),a.updateProps(b,{style:{x:I.x-C,y:I.y0+I.y/2}},t)),T.getModel("emphasis.itemStyle")),T.getModel("itemStyle"));a.setTextStyle(b.style,A,{text:A.get("show")?t.getFormattedLabel(g[m-1],"normal")||i.getName(g[m-1]):null,textVerticalAlign:"middle"}),_.setStyle(l({fill:h},D.getItemStyle(["color"]))),a.setHoverStyle(_,e.getItemStyle())}}d.add(s(g,this,"add")).update(s(g,this,"update")).remove(s(g,this,"remove")).execute(),this._layersSeries=c,this._layers=f},dispose:function(){}});t.exports=r},"26e1":function(t,e,n){var i=n("6d8b"),o=n("e0d3"),a=i.each,r=i.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var n=0,o=s.length;n<o;n++){var a=s[n],r=e.normal,l=e.emphasis;r&&r[a]&&(t[a]=t[a]||{},t[a].normal?i.merge(t[a].normal,r[a]):t[a].normal=r[a],r[a]=null),l&&l[a]&&(t[a]=t[a]||{},t[a].emphasis?i.merge(t[a].emphasis,l[a]):t[a].emphasis=l[a],l[a]=null)}}function u(t,e,n){var o,a;t&&t[e]&&(t[e].normal||t[e].emphasis)&&(o=t[e].normal,a=t[e].emphasis,o&&(n?(t[e].normal=t[e].emphasis=null,i.defaults(t[e],o)):t[e]=o),a)&&(t.emphasis=t.emphasis||{},t.emphasis[e]=a)}function c(t){u(t,"itemStyle"),u(t,"lineStyle"),u(t,"areaStyle"),u(t,"label"),u(t,"labelLine"),u(t,"upperLabel"),u(t,"edgeLabel")}function h(t,e){var n=r(t)&&t[e],i=r(n)&&n.textStyle;if(i)for(var a=0,s=o.TEXT_STYLE_OPTIONS.length;a<s;a++)e=o.TEXT_STYLE_OPTIONS[a],i.hasOwnProperty(e)&&(n[e]=i[e])}function d(t){t&&(c(t),h(t,"label"),t.emphasis)&&h(t.emphasis,"label")}function p(t){return i.isArray(t)?t:t?[t]:[]}function f(t){return(i.isArray(t)?t[0]:t)||{}}t.exports=function(t,e){a(p(t.series),(function(t){if(r(t)&&r(t)){l(t),c(t),h(t,"label"),h(t,"upperLabel"),h(t,"edgeLabel"),t.emphasis&&(h(t.emphasis,"label"),h(t.emphasis,"upperLabel"),h(t.emphasis,"edgeLabel"));var e=t.markPoint,n=(e&&(l(e),d(e)),t.markLine),o=(n&&(l(n),d(n)),t.markArea),a=(o&&d(o),t.data);if("graph"===t.type){a=a||t.nodes;var s=t.links||t.edges;if(s&&!i.isTypedArray(s))for(var p=0;p<s.length;p++)d(s[p]);i.each(t.categories,(function(t){c(t)}))}if(a&&!i.isTypedArray(a))for(p=0;p<a.length;p++)d(a[p]);if((e=t.markPoint)&&e.data){var f=e.data;for(p=0;p<f.length;p++)d(f[p])}if((n=t.markLine)&&n.data){var g=n.data;for(p=0;p<g.length;p++)i.isArray(g[p])?(d(g[p][0]),d(g[p][1])):d(g[p])}"gauge"===t.type?(h(t,"axisLabel"),h(t,"title"),h(t,"detail")):"treemap"===t.type?(u(t.breadcrumb,"itemStyle"),i.each(t.levels,(function(t){c(t)}))):"tree"===t.type&&c(t.leaves)}}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),a(n,(function(e){a(p(t[e]),(function(t){t&&(h(t,"axisLabel"),h(t.axisPointer,"label"))}))})),a(p(t.parallel),(function(t){t=t&&t.parallelAxisDefault,h(t,"axisLabel"),h(t&&t.axisPointer,"label")})),a(p(t.calendar),(function(t){u(t,"itemStyle"),h(t,"dayLabel"),h(t,"monthLabel"),h(t,"yearLabel")})),a(p(t.radar),(function(t){h(t,"name")})),a(p(t.geo),(function(t){r(t)&&(d(t),a(p(t.regions),(function(t){d(t)})))})),a(p(t.timeline),(function(t){d(t),u(t,"label"),u(t,"itemStyle"),u(t,"controlStyle",!0),t=t.data,i.isArray(t)&&i.each(t,(function(t){i.isObject(t)&&(u(t,"label"),u(t,"itemStyle"))}))})),a(p(t.toolbox),(function(t){u(t,"iconStyle"),a(t.feature,(function(t){u(t,"iconStyle")}))})),h(f(t.axisPointer),"label"),h(f(t.tooltip).axisPointer,"label")}},"282b":function(t,e,n){var i=n("6d8b");t.exports=function(t){for(var e=0;e<t.length;e++)t[e][1]||(t[e][1]=t[e][0]);return function(e,n,o){for(var a={},r=0;r<t.length;r++){var s=t[r][1];n&&0<=i.indexOf(n,s)||o&&i.indexOf(o,s)<0||null!=(s=e.getShallow(s))&&(a[t[r][0]]=s)}return a}}},"292e":function(t,e,n){var i=n("3842"),o=i.parsePercent,a=i.linearMap,r=n("f934"),s=n("bb70"),l=n("6d8b"),u=2*Math.PI,c=Math.PI/180;t.exports=function(t,e,n,i){e.eachSeriesByType(t,(function(t){var e,i=t.getData(),h=i.mapDimension("value"),d=(p=n,r.getLayoutRect(t.getBoxLayoutParams(),{width:p.getWidth(),height:p.getHeight()})),p=t.get("center"),f=t.get("radius"),g=(l.isArray(f)||(f=[0,f]),l.isArray(p)||(p=[p,p]),o(d.width,n.getWidth())),m=o(d.height,n.getHeight()),y=Math.min(g,m),v=o(p[0],g)+d.x,x=o(p[1],m)+d.y,_=o(f[0],y/2),b=o(f[1],y/2),w=-t.get("startAngle")*c,S=t.get("minAngle")*c,M=0,I=(i.each(h,(function(t){isNaN(t)||M++})),i.getSum(h)),T=Math.PI/(I||M)*2,A=t.get("clockwise"),C=t.get("roseType"),D=t.get("stillShowZeroSum"),L=i.getDataExtent(h),P=(L[0]=0,u),k=0,O=w,R=A?1:-1;i.each(h,(function(t,e){var n,o;isNaN(t)?i.setItemLayout(e,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:v,cy:x,r0:_,r:C?NaN:b,viewRect:d}):((n="area"!==C?0===I&&D?T:t*T:u/M)<S?P-=n=S:k+=t,o=O+R*n,i.setItemLayout(e,{angle:n,startAngle:O,endAngle:o,clockwise:A,cx:v,cy:x,r0:_,r:C?a(t,L,[_,b]):b,viewRect:d}),O=o)})),P<u&&M&&(P<=.001?(e=u/M,i.each(h,(function(t,n){isNaN(t)||((t=i.getItemLayout(n)).angle=e,t.startAngle=w+R*n*e,t.endAngle=w+R*(n+1)*e)}))):(T=P/k,O=w,i.each(h,(function(t,e){isNaN(t)||(t=(e=i.getItemLayout(e)).angle===S?S:t*T,e.startAngle=O,e.endAngle=O+R*t,O+=R*t)})))),s(t,b,d.width,d.height,d.x,d.y)}))}},2943:function(t,e){t.exports=function(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getData(),o={};n.each((function(i){for(var a=n.getName(i),r=(o["ec-"+a]=i,n.getItemModel(i)),s=(a=r.get("itemStyle.color")||t.getColorFromPalette(a,e),n.setItemVisual(i,"color",a),["opacity","symbol","symbolSize","symbolKeepAspect"]),l=0;l<s.length;l++){var u=r.getShallow(s[l],!0);null!=u&&n.setItemVisual(i,s[l],u)}})),n.count()&&i.each((function(t){var e=i.getItemModel(t).getShallow("category");if(null!=e){"string"==typeof e&&(e=o["ec-"+e]);for(var a=["color","opacity","symbol","symbolSize","symbolKeepAspect"],r=0;r<a.length;r++)null==i.getItemVisual(t,a[r],!0)&&i.setItemVisual(t,a[r],n.getItemVisual(e,a[r]))}}))}))}},"29a8":function(t,e){t.exports={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:""}}}}},"29a9":function(t,e,n){var i=n("3eba"),o=n("b336");n("bc5f"),n("ab05"),n("06ea"),n("004f"),n("d6ef"),i.registerPreprocessor(o)},"2b17":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=(i.isTypedArray,i.extend),a=(i.assert,i.each),r=i.isObject,s=(i=n("e0d3"),i.getDataItemValue),l=i.isDataItemOption,u=n("3842").parseDate,c=n("ec6f"),h=(i=n("93d0"),i.SOURCE_FORMAT_TYPED_ARRAY),d=i.SOURCE_FORMAT_ARRAY_ROWS,p=i.SOURCE_FORMAT_ORIGINAL,f=i.SOURCE_FORMAT_OBJECT_ROWS;function g(t,e){c.isInstance(t)||(t=c.seriesDataToSource(t)),this._source=t;var n=this._data=t.data,i=t.sourceFormat;i===h&&(this._offset=0,this._dimSize=e,this._data=n),e=m[i===d?i+"_"+t.seriesLayoutBy:i];o(this,e)}n=g.prototype;var m=(n.pure=!1,{arrayRows_column:{pure:n.persistent=!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:x},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=[],n=this._data,i=0;i<n.length;i++){var o=n[i];e.push(o?o[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:y,getItem:v,appendData:x},keyedColumns:{pure:!0,count:function(){var t=this._source.dimensionsDefine[0].name;t=this._data[t];return t?t.length:0},getItem:function(t){for(var e=[],n=this._source.dimensionsDefine,i=0;i<n.length;i++){var o=this._data[n[i].name];e.push(o?o[t]:null)}return e},appendData:function(t){var e=this._data;a(t,(function(t,n){for(var i=e[n]||(e[n]=[]),o=0;o<(t||[]).length;o++)i.push(t[o])}))}},original:{count:y,getItem:v,appendData:x},typedArray:{persistent:!(n.getSource=function(){return this._source}),pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(t,e){t-=this._offset,e=e||[];for(var n=this._dimSize*t,i=0;i<this._dimSize;i++)e[i]=this._data[n+i];return e},appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}});function y(){return this._data.length}function v(t){return this._data[t]}function x(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}var _={arrayRows:b,objectRows:function(t,e,n,i){return null!=n?t[i]:t},keyedColumns:b,original:function(t,e,n,i){return t=s(t),null!=n&&t instanceof Array?t[n]:t},typedArray:b};function b(t,e,n,i){return null!=n?t[n]:t}function w(t,e,n,i){return S(t[i],this._dimensionInfos[e])}function S(t,e){var n=e&&e.type;return"ordinal"===n?(e=e&&e.ordinalMeta)?e.parseAndCollect(t):t:null==(t="time"===n&&"number"!=typeof t&&null!=t&&"-"!==t?+u(t):t)||""===t?NaN:+t}i={arrayRows:w,objectRows:function(t,e,n,i){return S(t[e],this._dimensionInfos[e])},keyedColumns:w,original:function(t,e,n,i){var o=t&&(null==t.value?t:t.value);return!this._rawData.pure&&l(t)&&(this.hasItemOption=!0),S(o instanceof Array?o[i]:o,this._dimensionInfos[e])},typedArray:function(t,e,n,i){return t[i]}},e.DefaultDataProvider=g,e.defaultDimValueGetters=i,e.retrieveRawValue=function(t,e,n){if(t){var i,o,a,r=t.getRawDataItem(e);if(null!=r)return i=t.getProvider().getSource().sourceFormat,(t=t.getDimensionInfo(n))&&(o=t.name,a=t.index),_[i](r,e,a,o)}},e.retrieveRawAttr=function(t,e,n){if(t){var i=t.getProvider().getSource().sourceFormat;if(i===p||i===f)return t=t.getRawDataItem(e),(t=i!==p||r(t)?t:null)?t[n]:void 0}}},"2b61":function(t,e,n){function i(t){this.extendFrom(t,!1)}var o=n("7d6d"),a=n("82eb").ContextCachedBy,r=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function s(t,e,n){var i=null==e.x?0:e.x,o=null==e.x2?1:e.x2,a=null==e.y?0:e.y,r=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,o=o*n.width+n.x,a=a*n.height+n.y,r=r*n.height+n.y),i=isNaN(i)?0:i,o=isNaN(o)?1:o,a=isNaN(a)?0:a,r=isNaN(r)?0:r,t.createLinearGradient(i,a,o,r)}function l(t,e,n){var i=n.width,o=n.height,a=Math.min(i,o),r=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(r=r*i+n.x,s=s*o+n.y,l*=a),t.createRadialGradient(r,s,0,r,s,l)}for(var u=i.prototype={constructor:i,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,n){var i=this,s=n&&n.style,l=!s||t.__attrCachedBy!==a.STYLE_BIND;t.__attrCachedBy=a.STYLE_BIND;for(var u=0;u<r.length;u++){var c=r[u],h=c[0];!l&&i[h]===s[h]||(t[h]=o(t,h,i[h]||c[1]))}!l&&i.fill===s.fill||(t.fillStyle=i.fill),!l&&i.stroke===s.stroke||(t.strokeStyle=i.stroke),!l&&i.opacity===s.opacity||(t.globalAlpha=null==i.opacity?1:i.opacity),!l&&i.blend===s.blend||(t.globalCompositeOperation=i.blend||"source-over"),this.hasStroke()&&(n=i.lineWidth,t.lineWidth=n/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1))},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&0<this.lineWidth},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},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,n){for(var i=("radial"===e.type?l:s)(t,e,n),o=e.colorStops,a=0;a<o.length;a++)i.addColorStop(o[a].offset,o[a].color);return i}},c=0;c<r.length;c++){var h=r[c];h[0]in u||(u[h[0]]=h[1])}i.getGradient=u.getGradient,t.exports=i},"2b8c":function(t,e,n){var i=n("6d8b"),o=n("5f14"),a=i.each;function r(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return 1}e.createVisualMappings=function(t,e,n){var r={};return a(e,(function(e){var s=r[e]=(l.prototype.__hidden=l.prototype,new l);function l(){}a(t[e],(function(t,a){o.isValidType(a)&&(t={type:a,visual:t},n&&n(t,e),s[a]=new o(t),"opacity"===a)&&((t=i.clone(t)).type="colorAlpha",s.__hidden.__alphaForOpacity=new o(t))}))})),r},e.replaceVisualOption=function(t,e,n){var o;i.each(n,(function(t){e.hasOwnProperty(t)&&r(e[t])&&(o=!0)})),o&&i.each(n,(function(n){e.hasOwnProperty(n)&&r(e[n])?t[n]=i.clone(e[n]):delete t[n]}))},e.applyVisual=function(t,e,n,a,r,s){var l,u={};function c(t){return n.getItemVisual(l,t)}function h(t,e){n.setItemVisual(l,t,e)}function d(t,i){if(l=null==s?t:i,i=n.getRawDataItem(l),!i||!1!==i.visualMap){i=a.call(r,t);for(var o=e[i],d=u[i],p=0,f=d.length;p<f;p++){var g=d[p];o[g]&&o[g].applyVisual(t,c,h)}}}i.each(t,(function(t){var n=o.prepareVisualTypes(e[t]);u[t]=n})),null==s?n.each(d):n.each([s],d)},e.incrementalApplyVisual=function(t,e,n,a){var r={};return i.each(t,(function(t){var n=o.prepareVisualTypes(e[t]);r[t]=n})),{progress:function(t,i){function o(t){return i.getItemVisual(l,t)}function s(t,e){i.setItemVisual(l,t,e)}var l;for(null!=a&&(a=i.getDimension(a));null!=(l=t.next());){var u=i.getRawDataItem(l);if(!u||!1!==u.visualMap)for(var c=null!=a?i.get(a,l,!0):l,h=(u=n(c),e[u]),d=r[u],p=0,f=d.length;p<f;p++){var g=d[p];h[g]&&h[g].applyVisual(c,o,s)}}}}}},"2c17":function(t,e,n){var i=n("3eba"),o=(n=n("6d8b"),n.createHashMap),a=n.each;i.registerProcessor({getTargetSeries:function(t){var e=o();return t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(t,n,i){i=i.getAxisProxy(t.name,n),a(i.getTargetSeriesModels(),(function(t){e.set(t.uid,t)}))}))})),e},modifyOutputEnd:!0,overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(t,n,i){i.getAxisProxy(t.name,n).reset(i,e)})),t.eachTargetAxis((function(t,n,i){i.getAxisProxy(t.name,n).filterData(i,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy(),n=e.getDataPercentWindow();e=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:e[0],endValue:e[1]})}))}})},"2cf4c":function(t,e){var n=1;n=n="undefined"!=typeof window?Math.max(window.devicePixelRatio||1,1):n;e.debugMode=0,e.devicePixelRatio=n},"2cfc":function(t,e,n){var i=n("3eba");n("4338"),n("bcbe"),n("c62c"),n("cb8f"),n("f138"),i.extendComponentView({type:"single"})},"2f31":function(t,e,n){var i=n("3eba"),o=n("ae75");n("10cc"),n("f31f"),n("c2dd"),n("b8ec"),n("fecb"),i.registerPreprocessor(o)},"2f45":function(t,e,n){var i=n("6d8b"),o=i.each,a=i.createHashMap,r=(i.assert,n("4e08").__DEV__,a(["tooltip","label","itemName","itemId","seriesName"]));function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}e.OTHER_DIMENSIONS=r,e.summarizeDimensions=function(t){var e={},n=e.encode={},i=a(),l=[],u=[],c=e.userOutput={dimensionNames:t.dimensions.slice(),encode:{}},h=(o(t.dimensions,(function(e){var o,a,h=t.getDimensionInfo(e),d=h.coordDim;d&&(o=h.coordDimIndex,s(n,d)[o]=e,h.isExtraCoord||(i.set(d,1),"ordinal"!==(a=h.type)&&"time"!==a&&(l[0]=e),s(c.encode,d)[o]=h.index),h.defaultTooltip)&&u.push(e),r.each((function(t,e){var i=s(n,e);e=h.otherDims[e];null!=e&&!1!==e&&(i[e]=h.name)}))})),[]),d={},p=(i.each((function(t,e){var i=n[e];d[e]=i[0],h=h.concat(i)})),e.dataDimsOnCoord=h,e.encodeFirstDimNotExtra=d,n.label);return p&&p.length&&(l=p.slice()),(p=n.tooltip)&&p.length?u=p.slice():u.length||(u=l.slice()),n.defaultedLabel=l,n.defaultedTooltip=u,e},e.getDimensionTypeByAxis=function(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},"2f73":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("1e32");n("1ccf"),n("f5e6"),n("792e"),n("cb8f"),n("6acf"),i.registerLayout(o.curry(a,"bar")),i.extendComponentView({type:"polar"})},"2f91":function(t,e){var n=["itemStyle","borderColor"];t.exports=function(t,e){var i=t.get("color");t.eachRawSeriesByType("boxplot",(function(e){var o=i[e.seriesIndex%i.length],a=e.getData();a.setVisual({legendSymbol:"roundRect",color:e.get(n)||o}),t.isSeriesFiltered(e)||a.each((function(t){var e=a.getItemModel(t);a.setItemVisual(t,{color:e.get(n,!0)})}))}))}},3014:function(t,e,n){var i=n("4f85"),o=n("3301");n=i.extend({type:"series.__base_bar__",getInitialData:function(t,e){return o(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(t){var e,n,i=this.coordinateSystem;return i?(t=i.dataToPoint(i.clampData(t)),e=(n=this.getData()).getLayout("offset"),n=n.getLayout("size"),t[i.getBaseAxis().isHorizontal()?0:1]+=e+n/2,t):[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});t.exports=n},3041:function(t,e,n){var i=n("e1fc"),o=n("0da8"),a=n("76a5"),r=n("d9fc"),s=n("c7a2"),l=n("ae69"),u=n("cb11"),c=n("cbe5"),h=n("87b1"),d=n("d498"),p=n("48a9"),f=n("2b61"),g=n("1687"),m=n("342d").createFromString,y=(n=n("6d8b"),n.isString),v=n.extend,x=n.defaults,_=n.trim,b=n.each,w=/[\s,]+/;function S(t){for(9===(t=y(t)?(new DOMParser).parseFromString(t,"text/xml"):t).nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}function M(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}M.prototype.parse=function(t,e){if(e=e||{},t=S(t),!t)throw new Error("Illegal svg");for(var n,o,a=new i,r=(this._root=a,t.getAttribute("viewBox")||""),l=parseFloat(t.getAttribute("width")||e.width),u=parseFloat(t.getAttribute("height")||e.height),c=(isNaN(l)&&(l=null),isNaN(u)&&(u=null),L(t,a,null,!0),t.firstChild);c;)this._parseNode(c,a),c=c.nextSibling;return(n=r&&4<=(t=_(r).split(w)).length?{x:parseFloat(t[0]||0),y:parseFloat(t[1]||0),width:parseFloat(t[2]),height:parseFloat(t[3])}:n)&&null!=l&&null!=u&&(o=E(n,l,u),e.ignoreViewBox||(r=a,(a=new i).add(r),r.scale=o.scale.slice(),r.position=o.position.slice())),e.ignoreRootClip||null==l||null==u||a.setClipPath(new s({shape:{x:0,y:0,width:l,height:u}})),{root:a,width:l,height:u,viewBoxRect:n,viewBoxTransform:o}},M.prototype._parseNode=function(t,e){for(var n,i,o,a,r=t.nodeName.toLowerCase(),s=("defs"===r?this._isDefine=!0:"text"===r&&(this._isText=!0),this._isDefine?(a=T[r])&&(i=a.call(this,t),o=t.getAttribute("id"))&&(this._defs[o]=i):(a=I[r])&&(n=a.call(this,t,e),e.add(n)),t.firstChild);s;)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===r?this._isDefine=!1:"text"===r&&(this._isText=!1)},M.prototype._parseText=function(t,e){1===t.nodeType&&(n=t.getAttribute("dx")||0,i=t.getAttribute("dy")||0,this._textX+=parseFloat(n),this._textY+=parseFloat(i));var n=new a({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]}),i=(A(e,n),L(t,n,this._defs),n.style.fontSize);i&&i<9&&(n.style.fontSize=9,n.scale=n.scale||[1,1],n.scale[0]*=i/9,n.scale[1]*=i/9),t=n.getBoundingRect();return this._textX+=t.width,e.add(n),n};var I={g:function(t,e){var n=new i;return A(e,n),L(t,n,this._defs),n},rect:function(t,e){var n=new s;return A(e,n),L(t,n,this._defs),n.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)}),n},circle:function(t,e){var n=new r;return A(e,n),L(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new u;return A(e,n),L(t,n,this._defs),n.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)}),n},ellipse:function(t,e){var n=new l;return A(e,n),L(t,n,this._defs),n.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)}),n},polygon:function(t,e){var n=(n=t.getAttribute("points"))&&C(n);n=new h({shape:{points:n||[]}});return A(e,n),L(t,n,this._defs),n},polyline:function(t,e){var n=new c;return A(e,n),L(t,n,this._defs),e=(e=t.getAttribute("points"))&&C(e),new d({shape:{points:e||[]}})},image:function(t,e){var n=new o;return A(e,n),L(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),n},text:function(t,e){var n=t.getAttribute("x")||0,o=t.getAttribute("y")||0,a=t.getAttribute("dx")||0,r=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(a),this._textY=parseFloat(o)+parseFloat(r),n=new i;return A(e,n),L(t,n,this._defs),n},tspan:function(t,e){var n=t.getAttribute("x"),o=t.getAttribute("y"),a=(n=(null!=n&&(this._textX=parseFloat(n)),null!=o&&(this._textY=parseFloat(o)),t.getAttribute("dx")||0),o=t.getAttribute("dy")||0,new i);return A(e,a),L(t,a,this._defs),this._textX+=n,this._textY+=o,a},path:function(t,e){var n=t.getAttribute("d")||"";n=m(n);return A(e,n),L(t,n,this._defs),n}},T={lineargradient:function(t){for(var e,n,i=parseInt(t.getAttribute("x1")||0,10),o=parseInt(t.getAttribute("y1")||0,10),a=parseInt(t.getAttribute("x2")||10,10),r=parseInt(t.getAttribute("y2")||0,10),s=(i=new p(i,o,a,r),i),l=t.firstChild;l;)1===l.nodeType&&(e=0<(e=l.getAttribute("offset")).indexOf("%")?parseInt(e,10)/100:e?parseFloat(e):0,n=l.getAttribute("stop-color")||"#000000",s.addColorStop(e,n)),l=l.nextSibling;return i},radialgradient:function(t){}};function A(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),x(e.__inheritedStyle,t.__inheritedStyle))}function C(t){for(var e=_(t).split(w),n=[],i=0;i<e.length;i+=2){var o=parseFloat(e[i]),a=parseFloat(e[i+1]);n.push([o,a])}return n}var D={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function L(t,e,n,i){var o=e.__inheritedStyle||{},a="text"===e.type;if(1===t.nodeType){var r,s=t,l=e;if(s=s.getAttribute("transform")){s=s.replace(/,/g," ");var u=null,c=[];s.replace(O,(function(t,e,n){c.push(e,n)}));for(var h=c.length-1;0<h;h-=2){var d=c[h],p=c[h-1];switch(u=u||g.create(),p){case"translate":d=_(d).split(w),g.translate(u,u,[parseFloat(d[0]),parseFloat(d[1]||0)]);break;case"scale":d=_(d).split(w),g.scale(u,u,[parseFloat(d[0]),parseFloat(d[1]||d[0])]);break;case"rotate":d=_(d).split(w),g.rotate(u,u,parseFloat(d[0]));break;case"skew":d=_(d).split(w);break;case"matrix":d=_(d).split(w),u[0]=parseFloat(d[0]),u[1]=parseFloat(d[1]),u[2]=parseFloat(d[2]),u[3]=parseFloat(d[3]),u[4]=parseFloat(d[4]),u[5]=parseFloat(d[5])}}l.setLocalTransform(u)}if(v(o,function(t){var e=t.getAttribute("style"),n={};if(e){var i,o,a={};for(R.lastIndex=0;null!=(i=R.exec(e));)a[i[1]]=i[2];for(o in D)D.hasOwnProperty(o)&&null!=a[o]&&(n[D[o]]=a[o])}return n}(t)),!i)for(var m in D)D.hasOwnProperty(m)&&null!=(r=t.getAttribute(m))&&(o[D[m]]=r)}s=a?"textFill":"fill",l=a?"textStroke":"stroke";var y=(e.style=e.style||new f,e.style);null!=o.fill&&y.set(s,k(o.fill,n)),null!=o.stroke&&y.set(l,k(o.stroke,n)),b(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=o[t]&&y.set("lineWidth"===t&&a?"textStrokeWidth":t,parseFloat(o[t]))})),o.textBaseline&&"auto"!==o.textBaseline||(o.textBaseline="alphabetic"),"alphabetic"===o.textBaseline&&(o.textBaseline="bottom"),"start"===o.textAlign&&(o.textAlign="left"),"end"===o.textAlign&&(o.textAlign="right"),b(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(t){null!=o[t]&&y.set(t,o[t])})),o.lineDash&&(e.style.lineDash=_(o.lineDash).split(w)),y[l]&&"none"!==y[l]&&(e[l]=!0),e.__inheritedStyle=o}var P=/url\(\s*#(.*?)\)/;function k(t,e){var n=e&&t&&t.match(P);return n?e[_(n[1])]:t}var O=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g,R=/([^\s:;]+)\s*:\s*([^:;]+)/g;function E(t,e,n){var i=e/t.width,o=n/t.height;i=Math.min(i,o);return{scale:[i,i],position:[-(t.x+t.width/2)*i+e/2,-(t.y+t.height/2)*i+n/2]}}e.parseXML=S,e.makeViewBoxTransform=E,e.parseSVG=function(t,e){return(new M).parse(t,e)}},"307a":function(t,e,n){var i=n("6d8b"),o=n("eaea"),a=n("3842"),r=[20,140],s=o.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),null!=t[0]&&!isNaN(t[0])||(t[0]=r[0]),null!=t[1]&&!isNaN(t[1])||(t[1]=r[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):i.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){o.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,(function(t){t=this.option.controller[t].symbolSize,t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=a.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},getValueState:function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},getVisualMeta:function(t){var e=l(0,0,this.getExtent()),n=l(0,0,this.option.range.slice()),i=[];function o(e,n){i.push({value:e,color:t(e,n)})}for(var a=0,r=0,s=n.length,u=e.length;r<u&&(!n.length||e[r]<=n[0]);r++)e[r]<n[a]&&o(e[r],"outOfRange");for(var c=1;a<s;a++,c=0)c&&i.length&&o(n[a],"outOfRange"),o(n[a],"inRange");for(c=1;r<u;r++)(!n.length||n[n.length-1]<e[r])&&(c&&(i.length&&o(i[i.length-1].value,"outOfRange"),c=0),o(e[r],"outOfRange"));var h=i.length;return{stops:i,outerColors:[h?i[0].color:"transparent",h?i[h-1].color:"transparent"]}}});function l(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,o=n[0],a=[],r=0;r<=200&&o<n[1];r++)a.push(o),o+=i;return a.push(n[1]),a}t.exports=s},"307b":function(t,e,n){var i=n("6d8b");function o(t,e){var n=this.getAxis();e=e instanceof Array?e[0]:e,t=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(e-t)-n.dataToCoord(e+t))}t.exports=function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(o,t)}}}},"307d":function(t,e,n){function i(t,e,n,i){var a,r,l,u=t.getData(),h=i.type;return o.isArray(i)||"min"!==h&&"max"!==h&&"average"!==h&&"median"!==h&&null==i.xAxis&&null==i.yAxis||(u=null!=i.yAxis||null!=i.xAxis?(l=e.getAxis(null!=i.yAxis?"y":"x"),o.retrieve(i.yAxis,i.xAxis)):(l=(e=s.getAxisInfo(i,u,e,t)).valueAxis,e=c(u,e.valueDataDim),s.numCalculate(u,e,h)),l=1-(e="x"===l.dim?0:1),r={},(a=o.clone(i)).type=null,a.coord=[],r.coord=[],a.coord[l]=-1/0,r.coord[l]=1/0,0<=(l=n.get("precision"))&&"number"==typeof u&&(u=+u.toFixed(Math.min(l,20))),a.coord[e]=r.coord[e]=u,i=[a,r,{type:h,valueIndex:i.valueIndex,value:u}]),(i=[s.dataTransform(t,i[0]),s.dataTransform(t,i[1]),o.extend({},i[2])])[2].type=i[2].type||"",o.merge(i[2],i[0]),o.merge(i[2],i[1]),i}var o=n("6d8b"),a=n("6179"),r=n("3842"),s=n("923d"),l=n("73ca"),u=n("88f0"),c=n("ee1aa").getStackedDimension;function h(t){return!isNaN(t)&&!isFinite(t)}function d(t,e,n,i){var o=1-t,a=i.dimensions[t];return h(e[o])&&h(n[o])&&e[t]===n[t]&&i.getAxis(a).containData(e[t])}function p(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(d(1,n,i,t)||d(0,n,i,t)))return!0}return s.dataFilter(t,e[0])&&s.dataFilter(t,e[1])}function f(t,e,n,i,o){var a,s,l=i.coordinateSystem,u=t.getItemModel(e),c=r.parsePercent(u.get("x"),o.getWidth());u=r.parsePercent(u.get("y"),o.getHeight());isNaN(c)||isNaN(u)?(a=i.getMarkerPosition?i.getMarkerPosition(t.getValues(t.dimensions,e)):(s=l.dimensions,o=t.get(s[0],e),i=t.get(s[1],e),l.dataToPoint([o,i])),"cartesian2d"===l.type&&(o=l.getAxis("x"),i=l.getAxis("y"),s=l.dimensions,h(t.get(s[0],e))?a[0]=o.toGlobalCoord(o.getExtent()[n?0:1]):h(t.get(s[1],e))&&(a[1]=i.toGlobalCoord(i.getExtent()[n?0:1]))),isNaN(c)||(a[0]=c),isNaN(u)||(a[1]=u)):a=[c,u],t.setItemLayout(e,a)}n=u.extend({type:"markLine",updateTransform:function(t,e,n){e.eachSeries((function(t){var e,i,o,a=t.markLineModel;a&&(e=a.getData(),i=a.__from,o=a.__to,i.each((function(e){f(i,e,!0,t,n),f(o,e,!1,t,n)})),e.each((function(t){e.setItemLayout(t,[i.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout())}),this)},renderSeries:function(t,e,n,r){var u=t.coordinateSystem,c=t.id,h=t.getData(),d=this.markerGroupMap,g=(d=d.get(c)||d.set(c,new l),c=(this.group.add(d.group),function(t,e,n){l=t?o.map(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return o.defaults({name:t},n)})):[{name:"value",type:"float"}];var r=new a(l,n),l=new a(l,n),u=new a([],n);n=o.map(n.get("data"),o.curry(i,e,t,n));return t&&(n=o.filter(n,o.curry(p,t))),t=t?s.dimValueGetter:function(t){return t.value},r.initData(o.map(n,(function(t){return t[0]})),null,t),l.initData(o.map(n,(function(t){return t[1]})),null,t),u.initData(o.map(n,(function(t){return t[2]}))),u.hasItemOption=!0,{from:r,to:l,line:u}}(u,t,e)),c.from),m=c.to,y=c.line,v=(e.__from=g,e.__to=m,e.setData(y),e.get("symbol")),x=e.get("symbolSize");function _(e,n,i){var o=e.getItemModel(n);f(e,n,i,t,r),e.setItemVisual(n,{symbolRotate:o.get("symbolRotate"),symbolSize:o.get("symbolSize")||x[i?0:1],symbol:o.get("symbol",!0)||v[i?0:1],color:o.get("itemStyle.color")||h.getVisual("color")})}o.isArray(v)||(v=[v,v]),"number"==typeof x&&(x=[x,x]),c.from.each((function(t){_(g,t,!0),_(m,t,!1)})),y.each((function(t){var e=y.getItemModel(t).get("lineStyle.color");y.setItemVisual(t,{color:e||g.getItemVisual(t,"color")}),y.setItemLayout(t,[g.getItemLayout(t),m.getItemLayout(t)]),y.setItemVisual(t,{fromSymbolRotate:g.getItemVisual(t,"symbolRotate"),fromSymbolSize:g.getItemVisual(t,"symbolSize"),fromSymbol:g.getItemVisual(t,"symbol"),toSymbolRotate:m.getItemVisual(t,"symbolRotate"),toSymbolSize:m.getItemVisual(t,"symbolSize"),toSymbol:m.getItemVisual(t,"symbol")})})),d.updateData(y),c.line.eachItemGraphicEl((function(t,n){t.traverse((function(t){t.dataModel=e}))})),d.__keep=!0,d.group.silent=e.get("silent")||t.get("silent")}}),t.exports=n},"30a3":function(t,e,n){function i(t){this.stage=(t=t||{}).stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,a.call(this)}var o=n("6d8b"),a=n("607d").Dispatcher,r=n("98b7"),s=n("06ad9");i.prototype={constructor:i,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),n=0;n<e.length;n++)this.addClip(e[n])},removeClip:function(t){t=o.indexOf(this._clips,t),0<=t&&this._clips.splice(t,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n<e.length;n++)this.removeClip(e[n]);t.animation=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,e=t-this._time,n=this._clips,i=n.length,o=[],a=[],r=0;r<i;r++){var s=n[r],l=s.step(t,e);l&&(o.push(l),a.push(s))}for(r=0;r<i;)n[r]._needsRemove?(n[r]=n[i-1],n.pop(),i--):r++;for(i=o.length,r=0;r<i;r++)a[r].fire(o[r]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;this._running=!0,r((function e(){t._running&&(r(e),t._paused||t._update())}))},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,e){return t=new s(t,(e=e||{}).loop,e.getter,e.setter),this.addAnimator(t),t}},o.mixin(i,a),t.exports=i},"311a":function(t,e,n){var i=n("3eba"),o=(n("d01c"),n("5b69"),n("bdc0"),n("81ac"));n=n("0e0f");i.registerLayout(o),i.registerVisual(n)},"313e":function(t,e,n){var i=n("3eba"),o=(function(){for(var t in i){if(null==i||!i.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=i[t]}}(),n("b719"));!function(){for(var t in o){if(null==o||!o.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=o[t]}}(),n("0352"),n("ef97"),n("94b1"),n("c037"),n("15af"),n("8deb"),n("675c"),n("ef97a"),n("dae1"),n("23ee"),n("07e6"),n("a4b1"),n("0817"),n("311a"),n("fa52"),n("085d"),n("1111"),n("a7e2"),n("5ce2"),n("aadf"),n("6c12f"),n("d7169"),n("e057"),n("cd12"),n("2f73"),n("d070"),n("2cfc"),n("f306"),n("9390"),n("7f59"),n("b11c"),n("007d"),n("cb8f"),n("2f31"),n("627c"),n("ee95"),n("db0e"),n("95a88"),n("7e32a"),n("0b4b"),n("d28f"),n("0a6d"),n("7f72"),n("e4d1"),n("5450"),n("7419"),n("29a9"),n("f170"),n("8ee0")},"31d9":function(t,e,n){var i=n("6d8b"),o=i.each,a="\0__link_datas",r="\0__link_mainData";function s(t,e){var n;return(n=this)[r]===n?h((n=i.extend({},this[a]))[this.dataType]=e,n,t):d(e,this.dataType,this[r],t),e}function l(t,e){return t.struct&&t.struct.update(this),e}function u(t,e){return o(e[a],(function(n,i){n!==e&&d(n.cloneShallow(),i,e,t)})),e}function c(t){var e=this[r];return null==t||null==e?e:e[a][t]}function h(t,e,n){t[a]={},o(e,(function(e,i){d(e,i,t,n)}))}function d(t,e,n,i){(n[a][e]=t)[r]=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=c}t.exports=function(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,h(e,n,t),o(n,(function(n){o(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,i.curry(s,t))}))})),e.wrapMethod("cloneShallow",i.curry(u,t)),o(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,i.curry(l,t))})),i.assert(n[e.dataType]===e)}},"320a":function(t,e,n){for(var i=n("6d8b"),o=n("f279"),a=[126,25],r=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;s<r.length;s++)for(var l=0;l<r[s].length;l++)r[s][l][0]/=10.5,r[s][l][1]/=-14,r[s][l][0]+=a[0],r[s][l][1]+=a[1];t.exports=function(t,e){"china"===t&&e.push(new o("南海诸岛",i.map(r,(function(t){return{type:"polygon",exterior:t}})),a))}},"32a1":function(t,e,n){var i=n("6d8b"),o=n("7dcf"),a=n("ef6a4"),r=n("5576"),s=i.bind,l=o.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(t,e,n,o){l.superApply(this,"render",arguments),this._range=t.getPercentRange(),i.each(this.getTargetCoordInfo(),(function(e,o){var a=i.map(e,(function(t){return r.generateCoordId(t.model)}));i.each(e,(function(e){var l=e.model,c={};i.each(["pan","zoom","scrollMove"],(function(t){c[t]=s(u[t],this,e,o)}),this),r.register(n,{coordId:r.generateCoordId(l),allCoordIds:a,containsPoint:function(t,e,n){return l.coordinateSystem.containPoint([e,n])},dataZoomId:t.id,dataZoomModel:t,getRange:c})}),this)}),this)},dispose:function(){r.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),u={zoom:function(t,e,n,i){var o=this._range,r=o.slice(),s=t.axisModels[0];if(s)return s=(0<(e=h[e](null,[i.originX,i.originY],s,n,t)).signal?e.pixelStart+e.pixelLength-e.pixel:e.pixel-e.pixelStart)/e.pixelLength*(r[1]-r[0])+r[0],n=Math.max(1/i.scale,0),r[0]=(r[0]-s)*n+s,r[1]=(r[1]-s)*n+s,t=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan(),a(0,r,[0,100],0,t.minSpan,t.maxSpan),this._range=r,o[0]!==r[0]||o[1]!==r[1]?r:void 0},pan:c((function(t,e,n,i,o,a){return i=h[i]([a.oldX,a.oldY],[a.newX,a.newY],e,o,n),i.signal*(t[1]-t[0])*i.pixel/i.pixelLength})),scrollMove:c((function(t,e,n,i,o,a){return h[i]([0,0],[a.scrollDelta,a.scrollDelta],e,o,n).signal*(t[1]-t[0])*a.scrollDelta}))};function c(t){return function(e,n,i,o){var r=this._range,s=r.slice(),l=e.axisModels[0];if(l)return l=t(s,l,e,n,i,o),a(l,s,[0,100],"all"),this._range=s,r[0]!==s[0]||r[1]!==s[1]?s:void 0}}var h={grid:function(t,e,n,i,o){n=n.axis;var a={};o=o.model.coordinateSystem.getRect();return t=t||[0,0],"x"===n.dim?(a.pixel=e[0]-t[0],a.pixelLength=o.width,a.pixelStart=o.x,a.signal=n.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=o.height,a.pixelStart=o.y,a.signal=n.inverse?-1:1),a},polar:function(t,e,n,i,o){var a=n.axis,r={},s=(o=o.model.coordinateSystem,o.getRadiusAxis().getExtent()),l=o.getAngleAxis().getExtent();return t=t?o.pointToCoord(t):[0,0],e=o.pointToCoord(e),"radiusAxis"===n.mainType?(r.pixel=e[0]-t[0],r.pixelLength=s[1]-s[0],r.pixelStart=s[0],r.signal=a.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=l[1]-l[0],r.pixelStart=l[0],r.signal=a.inverse?-1:1),r},singleAxis:function(t,e,n,i,o){n=n.axis,o=o.model.coordinateSystem.getRect();var a={};return t=t||[0,0],"horizontal"===n.orient?(a.pixel=e[0]-t[0],a.pixelLength=o.width,a.pixelStart=o.x,a.signal=n.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=o.height,a.pixelStart=o.y,a.signal=n.inverse?-1:1),a}};t.exports=l},3301:function(t,e,n){var i=n("6d8b"),o=n("6179"),a=n("b1d4"),r=n("93d0").SOURCE_FORMAT_ORIGINAL,s=n("2f45").getDimensionTypeByAxis,l=n("e0d3").getDataItemValue,u=n("2039"),c=n("8b7f").getCoordSysInfoBySeries,h=n("ec6f"),d=n("ee1aa").enableDataStack,p=n("0f99").makeSeriesEncodeForAxisCoordSys;t.exports=function(t,e,n){n=n||{},h.isInstance(t)||(t=h.seriesDataToSource(t));var f,g,m=e.get("coordinateSystem"),y=(m=u.get(m),c(e)),v=(m=(v=(v=y?i.map(y.coordSysDims,(function(t){var e={name:t};t=y.axisMap.get(t);return t&&(t=t.get("type"),e.type=s(t)),e})):v)||m&&(m.getDimensionsInfo?m.getDimensionsInfo():m.dimensions.slice())||["x","y"],a(t,{coordDimensions:v,generateCoord:n.generateCoord,encodeDefaulter:n.useEncodeDefaulter?i.curry(p,v,e):null})),n=(y&&i.each(m,(function(t,e){var n=t.coordDim;n=y.categoryAxisMap.get(n);n&&(null==f&&(f=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(g=!0)})),g||null==f||(m[f].otherDims.itemName=0),d(e,m)),new o(m,e));v.setCalculationInfo(n),m=null!=f&&function(t){if(t.sourceFormat===r)return null!=(t=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]))&&!i.isArray(l(t))}(t)?function(t,e,n,i){return i===f?n:this.defaultDimValueGetter(t,e,n,i)}:null;return v.hasItemOption=!1,v.initData(t,null,m),v}},3329:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2306"),r=n("a15a").createSymbol,s=n("3842"),l=s.parsePercent,u=s.isNumeric,c=n("e7aa").setLabel,h=["itemStyle","borderWidth"],d=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],p=new a.Circle;s=i.extendChartView({type:"pictorialBar",render:function(t,e,n){var i=this.group,o=t.getData(),r=this._data,s=t.coordinateSystem,l=!!s.getBaseAxis().isHorizontal(),u=s.grid.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:d[+l],categoryDim:d[1-l]};return o.diff(r).add((function(t){var e,n;o.hasValue(t)&&(e=b(o,t),e=f(o,t,e,c),n=I(o,c,e),o.setItemGraphicEl(t,n),i.add(n),L(n,c,e))})).update((function(t,e){var n,s,l,u,h,d,p;e=r.getItemGraphicEl(e);o.hasValue(t)?(n=b(o,t),n=f(o,t,n,c),s=A(o,n),e&&s!==e.__pictorialShapeStr&&(i.remove(e),o.setItemGraphicEl(t,null),e=null),e?(s=e,l=c,h=(u=n).animationModel,d=u.dataIndex,p=s.__pictorialBundle,a.updateProps(p,{position:u.bundlePosition.slice()},h,d),(u.symbolRepeat?y:v)(s,l,u,!0),x(s,u,!0),_(s,l,u,!0)):e=I(o,c,n,!0),o.setItemGraphicEl(t,e),e.__pictorialSymbolMeta=n,i.add(e),L(e,c,n)):i.remove(e)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&T(r,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=o,this.group},dispose:o.noop,remove:function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl((function(e){T(i,e.dataIndex,t,e)})):n.removeAll()}});function f(t,e,n,i){var a=t.getItemLayout(e),r=n.get("symbolRepeat"),s=n.get("symbolClip"),c=n.get("symbolPosition")||"start",d=(n.get("symbolRotate")||0)*Math.PI/180||0,f=n.get("symbolPatternSize")||2,m=n.isAnimationEnabled(),y=(s={dataIndex:e,layout:a,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",color:t.getItemVisual(e,"color"),symbolClip:s,symbolRepeat:r,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:f,rotation:d,animationModel:m?n:null,hoverAnimation:m&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0},m=n,r),v=a,x=i,_=s,b=x.valueDim,w=(m=m.get("symbolBoundingData"),x.coordSys.getOtherAxis(x.coordSys.getBaseAxis())),S=w.toGlobalCoord(w.dataToCoord(0)),M=1-(v[b.wh]<=0),I=(w=(I=o.isArray(m)?((I=[g(w,m[0])-S,g(w,m[1])-S])[1]<I[0]&&I.reverse(),I[M]):null!=m?g(w,m)-S:y?x.coordSysExtent[b.index][M]-S:v[b.wh],_.boundingLength=I,y&&(_.repeatCutLength=v[b.wh]),_.pxSign=0<I?1:I<0?-1:0,t),m=e,x=a,M=r,S=s.boundingLength,y=s.pxSign,v=f,b=i,_=s,b.valueDim),T=(t=b.categoryDim,x=Math.abs(x[t.wh]),w=w.getItemVisual(m,"symbolSize"),e=((w=o.isArray(w)?w.slice():[w=null==w?"100%":w,w])[t.index]=l(w[t.index],x),w[I.index]=l(w[I.index],M?x:Math.abs(S)),_.symbolSize=w,(_.symbolScale=[w[0]/v,w[1]/v])[I.index]*=(b.isHorizontal?-1:1)*y,n),f=s.symbolScale,m=d,t=i,M=s,x=((e=e.get(h)||0)&&(p.attr({scale:f.slice(),rotation:m}),p.updateTransform(),e=(e/=p.getLineScale())*f[t.valueDim.index]),M.valueLineWidth=e,s.symbolSize),S=n.get("symbolOffset"),_=(o.isArray(S)&&(S=[l(S[0],x[0]),l(S[1],x[1])]),n),w=x,v=a,b=r,y=S,d=c,m=s.valueLineWidth,f=s.boundingLength,t=s.repeatCutLength,M=i,e=s,n=M.categoryDim,x=M.valueDim,a=e.pxSign,r=m=Math.max(w[x.index]+m,0),b&&(T=Math.abs(f),_=o.retrieve(_.get("symbolMargin"),"15%")+"",A=!1,_.lastIndexOf("!")===_.length-1&&(A=!0,_=_.slice(0,_.length-1)),_=l(_,w[x.index]),w=Math.max(m+2*_,0),S=A?0:2*_,C=u(b),c=C?b:P((T+S)/w),w=m+2*(_=(T-c*m)/2/(A?c:c-1)),S=A?0:2*_,C||"fixed"===b||(c=t?P((Math.abs(t)+S)/w):0),r=c*w-S,e.repeatTimes=c,e.symbolMargin=_),a*(r/2)),A=((m=e.pathPosition=[])[n.index]=v[n.wh]/2,m[x.index]="start"===d?T:"end"===d?f-T:f/2,y&&(m[0]+=y[0],m[1]+=y[1]),e.bundlePosition=[]),C=(A[n.index]=v[n.xy],A[x.index]=v[x.xy],e.barRectShape=o.extend({},v));return C[x.wh]=a*Math.max(Math.abs(v[x.wh]),Math.abs(m[x.index]+T)),C[n.wh]=v[n.wh],(b=e.clipShape={})[n.xy]=-v[n.xy],b[n.wh]=M.ecSize[n.wh],b[x.xy]=0,b[x.wh]=v[x.wh],s}function g(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function m(t){var e=t.symbolPatternSize;e=r(t.symbolType,-e/2,-e/2,e,e,t.color);return e.attr({culling:!0}),"image"!==e.type&&e.setStyle({strokeNoScale:!0}),e}function y(t,e,n,i){var o=t.__pictorialBundle,a=n.symbolSize,r=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,h=a[e.valueDim.index]+r+2*n.symbolMargin;for(C(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?D(t,null,f(c),n,i):D(t,null,{scale:[0,0]},n,i,(function(){o.remove(t)})),M(t,n),c++}));c<u;c++){var d=m(n),p=(d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,o.add(d),f(c));D(d,{position:p.position,scale:[0,0]},{scale:p.scale,rotation:p.rotation},n,i),d.on("mouseover",g).on("mouseout",y),M(d,n)}function f(t){var e=s.slice(),i=n.pxSign,o=t;return("start"===n.symbolRepeatDirection?0<i:i<0)&&(o=u-1-t),e[l.index]=h*(o-u/2+.5)+s[l.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function g(){C(t,(function(t){t.trigger("emphasis")}))}function y(){C(t,(function(t){t.trigger("normal")}))}}function v(t,e,n,i){var o=t.__pictorialBundle,a=t.__pictorialMainPath;a?D(a,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(a=t.__pictorialMainPath=m(n),o.add(a),D(a,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),a.on("mouseover",(function(){this.trigger("emphasis")})).on("mouseout",(function(){this.trigger("normal")}))),M(a,n)}function x(t,e,n){var i=o.extend({},e.barRectShape),r=t.__pictorialBarRect;r?D(r,null,{shape:i},e,n):(r=t.__pictorialBarRect=new a.Rect({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(r))}function _(t,e,n,i){var r,s,l,u;n.symbolClip&&(r=t.__pictorialClipPath,u=o.extend({},n.clipShape),e=e.valueDim,s=n.animationModel,l=n.dataIndex,r?a.updateProps(r,{shape:u},s,l):(u[e.wh]=0,r=new a.Rect({shape:u}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r,(u={})[e.wh]=n.clipShape[e.wh],a[i?"updateProps":"initProps"](r,{shape:u},s,l)))}function b(t,e){return t=t.getItemModel(e),t.getAnimationDelayParams=w,t.isAnimationEnabled=S,t}function w(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function S(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(t,e){t.off("emphasis").off("normal");var n=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function I(t,e,n,i){var o=new a.Group,r=new a.Group;return o.add(r),(o.__pictorialBundle=r).attr("position",n.bundlePosition.slice()),n.symbolRepeat?y(o,e,n):v(o,0,n),x(o,n,i),_(o,e,n,i),o.__pictorialShapeStr=A(t,n),o.__pictorialSymbolMeta=n,o}function T(t,e,n,i){var r=i.__pictorialBarRect,s=(r&&(r.style.text=null),[]);C(i,(function(t){s.push(t)})),i.__pictorialMainPath&&s.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),o.each(s,(function(t){a.updateProps(t,{scale:[0,0]},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function A(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function C(t,e,n){o.each(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function D(t,e,n,i,o,r){e&&t.attr(e),i.symbolClip&&!o?n&&t.attr(n):n&&a[o?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,r)}function L(t,e,n){var i=n.color,r=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),h=s.getShallow("cursor"),d=(C(t,(function(t){t.setColor(i),t.setStyle(o.defaults({fill:i,opacity:n.opacity},l)),a.setHoverStyle(t,u),h&&(t.cursor=h),t.z2=n.z2})),{}),p=e.valueDim.posDesc[+(0<n.boundingLength)];t=t.__pictorialBarRect;c(t.style,d,s,i,e.seriesModel,r,p),a.setHoverStyle(t,d)}function P(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}t.exports=s},"340d":function(t,e,n){var i=n("6d8b"),o=n("e887"),a=n("4e47"),r=n("80f0"),s=n("eda2").windowOpen;n=o.extend({type:"sunburst",init:function(){},render:function(t,e,n,o){var s,l,u,c=this,h=(this.seriesModel=t,this.api=n,this.ecModel=e,t.getData()),d=h.tree.root,p=(n=t.getViewRoot(),this.group),f=t.get("renderLabelForZeroData"),g=[],m=(n.eachNode((function(t){g.push(t)})),this._oldChildren||[]);function y(t){return t.getId()}function v(n,i){var o;n=null==n?null:s[n],i=null==i?null:l[i];(n=f||!n||n.getValue()?n:null)!==d&&i!==d&&(i&&i.piece?n?(i.piece.updateData(!1,n,"normal",t,e),h.setItemGraphicEl(n.dataIndex,i.piece)):(o=i)&&o.piece&&(p.remove(o.piece),o.piece=null):n&&(i=new a(n,t,e),p.add(i),h.setItemGraphicEl(n.dataIndex,i)))}l=m,0===(s=g).length&&0===l.length||new r(l,s,y,y).add(v).update(v).remove(i.curry(v,null)).execute(),m=d,0<(u=n).depth?(c.virtualPiece?c.virtualPiece.updateData(!1,m,"normal",t,e):(c.virtualPiece=new a(m,t,e),p.add(c.virtualPiece)),u.piece._onclickEvent&&u.piece.off("click",u.piece._onclickEvent),m=function(t){c._rootToNode(u.parentNode)},u.piece._onclickEvent=m,c.virtualPiece.on("click",m)):c.virtualPiece&&(p.remove(c.virtualPiece),c.virtualPiece=null),o&&o.highlight&&o.highlight.piece?(n=t.getShallow("highlightPolicy"),o.highlight.piece.onEmphasis(n)):o&&o.unhighlight&&(m=!(m=this.virtualPiece)&&d.children.length?d.children[0].piece:m)&&m.onNormal(),this._initEvents(),this._oldChildren=g},dispose:function(){},_initEvents:function(){function t(t){var n=!1;e.seriesModel.getViewRoot().eachNode((function(i){var o;!n&&i.piece&&i.piece.childAt(0)===t.target&&("rootToNode"===(o=i.getModel().get("nodeClick"))?e._rootToNode(i):"link"===o&&(i=(o=i.getModel()).get("link"))&&(o=o.get("target",!0)||"_blank",s(i,o)),n=!0)}))}var e=this;this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var n;e=e.getData().getItemLayout(0);if(e)return n=t[0]-e.cx,t=t[1]-e.cy,(n=Math.sqrt(n*n+t*t))<=e.r&&n>=e.r0}});t.exports=n},"342d":function(t,e,n){function i(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(d(t,e))}var o=n("cbe5"),a=n("20c8"),r=n("ee84"),s=Math.sqrt,l=Math.sin,u=Math.cos,c=Math.PI,h=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},d=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(h(t)*h(e))};function p(t,e,n,o,a,r,h,p,f,g,m){f*=c/180;var y=u(f)*(t-n)/2+l(f)*(e-o)/2,v=-1*l(f)*(t-n)/2+u(f)*(e-o)/2,x=y*y/(h*h)+v*v/(p*p);1<x&&(h*=s(x),p*=s(x)),x=(a===r?-1:1)*s((h*h*(p*p)-h*h*(v*v)-p*p*(y*y))/(h*h*(v*v)+p*p*(y*y)))||0,a=x*h*v/p,x=x*-p*y/h,t=(t+n)/2+u(f)*a-l(f)*x,n=(e+o)/2+l(f)*a+u(f)*x,e=i([1,0],[(y-a)/h,(v-x)/p]),o=[(y-a)/h,(v-x)/p],y=[(-1*y-a)/h,(-1*v-x)/p],a=i(o,y);d(o,y)<=-1&&(a=c),1<=d(o,y)&&(a=0),0===r&&0<a&&(a-=2*c),1===r&&a<0&&(a+=2*c),m.addData(g,t,n,h,p,e,a,f,r)}var f=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(t,e){var n=function(t){if(!t)return new a;for(var e,n=0,i=0,o=n,r=i,s=new a,l=a.CMD,u=t.match(f),c=0;c<u.length;c++){for(var h,d=u[c],m=d.charAt(0),y=d.match(g)||[],v=y.length,x=0;x<v;x++)y[x]=parseFloat(y[x]);for(var _=0;_<v;){var b,w,S,M,I,T=n,A=i;switch(m){case"l":n+=y[_++],i+=y[_++],h=l.L,s.addData(h,n,i);break;case"L":n=y[_++],i=y[_++],h=l.L,s.addData(h,n,i);break;case"m":n+=y[_++],i+=y[_++],h=l.M,s.addData(h,n,i),o=n,r=i,m="l";break;case"M":n=y[_++],i=y[_++],h=l.M,s.addData(h,n,i),o=n,r=i,m="L";break;case"h":n+=y[_++],h=l.L,s.addData(h,n,i);break;case"H":n=y[_++],h=l.L,s.addData(h,n,i);break;case"v":i+=y[_++],h=l.L,s.addData(h,n,i);break;case"V":i=y[_++],h=l.L,s.addData(h,n,i);break;case"C":h=l.C,s.addData(h,y[_++],y[_++],y[_++],y[_++],y[_++],y[_++]),n=y[_-2],i=y[_-1];break;case"c":h=l.C,s.addData(h,y[_++]+n,y[_++]+i,y[_++]+n,y[_++]+i,y[_++]+n,y[_++]+i),n+=y[_-2],i+=y[_-1];break;case"S":var C=n,D=i,L=s.len(),P=s.data;e===l.C&&(C+=n-P[L-4],D+=i-P[L-3]),h=l.C,T=y[_++],A=y[_++],n=y[_++],i=y[_++],s.addData(h,C,D,T,A,n,i);break;case"s":C=n,D=i,L=s.len(),P=s.data,e===l.C&&(C+=n-P[L-4],D+=i-P[L-3]),h=l.C,T=n+y[_++],A=i+y[_++],n+=y[_++],i+=y[_++],s.addData(h,C,D,T,A,n,i);break;case"Q":T=y[_++],A=y[_++],n=y[_++],i=y[_++],h=l.Q,s.addData(h,T,A,n,i);break;case"q":T=y[_++]+n,A=y[_++]+i,n+=y[_++],i+=y[_++],h=l.Q,s.addData(h,T,A,n,i);break;case"T":C=n,D=i,L=s.len(),P=s.data,e===l.Q&&(C+=n-P[L-4],D+=i-P[L-3]),n=y[_++],i=y[_++],h=l.Q,s.addData(h,C,D,n,i);break;case"t":C=n,D=i,L=s.len(),P=s.data,e===l.Q&&(C+=n-P[L-4],D+=i-P[L-3]),n+=y[_++],i+=y[_++],h=l.Q,s.addData(h,C,D,n,i);break;case"A":b=y[_++],w=y[_++],S=y[_++],M=y[_++],I=y[_++],p(T=n,A=i,n=y[_++],i=y[_++],M,I,b,w,S,h=l.A,s);break;case"a":b=y[_++],w=y[_++],S=y[_++],M=y[_++],I=y[_++],p(T=n,A=i,n+=y[_++],i+=y[_++],M,I,b,w,S,h=l.A,s)}}"z"!==m&&"Z"!==m||(h=l.Z,s.addData(h),n=o,i=r),e=h}return s.toStatic(),s}(t);return(e=e||{}).buildPath=function(t){var e;t.setData?(t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e)):n.rebuildPath(e=t)},e.applyTransform=function(t){r(n,t),this.dirty(!0)},e}e.createFromString=function(t,e){return new o(m(t,e))},e.extendFromString=function(t,e){return o.extend(m(t,e))},e.mergePath=function(t,e){for(var n=[],i=t.length,a=0;a<i;a++){var r=t[a];r.path||r.createPathProxy(),r.__dirtyPath&&r.buildPath(r.path,r.shape,!0),n.push(r.path)}return(e=new o(e)).createPathProxy(),e.buildPath=function(t){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e)},e}},"347f":function(t,e,n){var i=n("6d8b"),o=n("9850"),a=n("1687"),r=n("2306"),s=n("f934"),l=n("933b"),u=n("08c3"),c=n("a15a").createSymbol,h=n("697e"),d=n("3842"),p=n("eda2").encodeHTML,f=i.bind,g=i.each,m=Math.PI;n=l.extend({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(t,e,n,i){var o,a,r;this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)&&(o=this._layout(t,n),a=this._createGroup("mainGroup"),e=this._createGroup("labelGroup"),r=this._axis=this._createAxis(o,t),t.formatTooltip=function(t){return p(r.scale.getLabel(t))},g(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](o,a,r,t)}),this),this._renderAxisLabel(o,e,r,t),this._position(o,t)),this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var n,i,o,a=t.get("label.position"),r=t.get("orient"),l=(u=t,l=e,s.getLayoutRect(u.getBoxLayoutParams(),{width:l.getWidth(),height:l.getHeight()},u.get("padding"))),u=(null==a||"auto"===a?a="horizontal"===r?l.y+l.height/2<e.getHeight()/2?"-":"+":l.x+l.width/2<e.getWidth()/2?"+":"-":isNaN(a)&&(a={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[r][a]),{horizontal:"center",vertical:0<=a||"+"===a?"left":"right"}),c=(e={horizontal:0<=a||"+"===a?"top":"bottom",vertical:"middle"},{horizontal:0,vertical:m/2}),h="vertical"===r?l.height:l.width,d=t.getModel("controlStyle"),p=d.get("show",!0),f=p?d.get("itemSize"):0,g=p?d.get("itemGap"):0,y=f+g,v=(t.get("label.rotate")||0)*m/180,x=d.get("position",!0),_=p&&d.get("showPlayBtn",!0),b=p&&d.get("showPrevBtn",!0),w=(p=p&&d.get("showNextBtn",!0),d=0,h);return"left"===x||"bottom"===x?(_&&(n=[0,0],d+=y),b&&(i=[d,0],d+=y)):(_&&(n=[w-f,0],w-=y),b&&(i=[0,0],d+=y)),p&&(o=[w-f,0],w-=y),x=[d,w],t.get("inverse")&&x.reverse(),{viewRect:l,mainLength:h,orient:r,rotation:c[r],labelRotation:v,labelPosOpt:a,labelAlign:t.get("label.align")||u[r],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||e[r],playPosition:n,prevBtnPosition:i,nextBtnPosition:o,axisExtent:x,controlSize:f,controlGap:g}},_position:function(t,e){var n,i=this._mainGroup,o=this._labelGroup,r=t.viewRect,s=("vertical"===t.orient&&(c=a.create(),l=r.x,u=r.y+r.height,a.translate(c,c,[-l,-u]),a.rotate(c,c,-m/2),a.translate(c,c,[l,u]),(r=r.clone()).applyTransform(c)),p(r)),l=p(i.getBoundingRect()),u=p(o.getBoundingRect()),c=i.position,h=(r=o.position,r[0]=c[0]=s[0][0],t.labelPosOpt);function d(t){var e=t.position;t.origin=[s[0][0]-e[0],s[1][0]-e[1]]}function p(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function f(t,e,n,i,o){t[i]+=n[i][o]-e[i][o]}isNaN(h)?(f(c,l,s,1,n="+"===h?0:1),f(r,u,s,1,1-n)):(f(c,l,s,1,n=0<=h?0:1),r[1]=c[1]+h),i.attr("position",c),o.attr("position",r),i.rotation=o.rotation=t.rotation,d(i),d(o)},_createAxis:function(t,e){var n=e.getData(),i=e.get("axisType"),o=h.createScaleByModel(e,i),a=(o.getTicks=function(){return n.mapArray(["value"],(function(t){return t}))},n.getDataExtent("value"));o.setExtent(a[0],a[1]),o.niceTicks(),a=new u("value",o,t.axisExtent,i);return a.model=e,a},_createGroup:function(t){return t=this["_"+t]=new r.Group,this.group.add(t),t},_renderAxisLine:function(t,e,n,o){n=n.getExtent(),o.get("lineStyle.show")&&e.add(new r.Line({shape:{x1:n[0],y1:0,x2:n[1],y2:0},style:i.extend({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,n,i){var o=i.getData(),a=n.scale.getTicks();g(a,(function(t){var a=n.dataToCoord(t),s=o.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle");a={position:[a,0],onclick:f(this._changeTimeline,this,t)},l=y(s,l,e,a);r.setHoverStyle(l,u.getItemStyle()),s.get("tooltip")?(l.dataIndex=t,l.dataModel=i):l.dataIndex=l.dataModel=null}),this)},_renderAxisLabel:function(t,e,n,i){var o;n.getLabelModel().get("show")&&(o=i.getData(),i=n.getViewLabels(),g(i,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=(s=s.getModel("emphasis.label"),n.dataToCoord(i.tickValue));u=new r.Text({position:[u,0],rotation:t.labelRotation-t.rotation,onclick:f(this._changeTimeline,this,a),silent:!1});r.setTextStyle(u.style,l,{text:i.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(u),r.setHoverStyle(u,r.setTextStyle({},s))}),this))},_renderControl:function(t,e,n,i){var a=t.controlSize,s=t.rotation,l=i.getModel("controlStyle").getItemStyle(),u=i.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-a/2,a,a],h=i.getPlayState(),d=i.get("inverse",!0);function p(t,n,h,d){t&&(n=function(t,e,n,i){var a=i.style;t=r.createIcon(t.get(e),i||{},new o(n[0],n[1],n[2],n[3]));return a&&t.setStyle(a),t}(i,n,c,{position:t,origin:[a/2,0],rotation:d?-s:0,rectHover:!0,style:l,onclick:h}),e.add(n),r.setHoverStyle(n,u))}p(t.nextBtnPosition,"controlStyle.nextIcon",f(this._changeTimeline,this,d?"-":"+")),p(t.prevBtnPosition,"controlStyle.prevIcon",f(this._changeTimeline,this,d?"+":"-")),p(t.playPosition,"controlStyle."+(h?"stopIcon":"playIcon"),f(this._handlePlayClick,this,!h),!0)},_renderCurrentPointer:function(t,e,n,i){var o=i.getData(),a=i.getCurrentIndex(),r=(o=o.getItemModel(a).getModel("checkpointStyle"),this);this._currentPointer=y(o,o,this._mainGroup,{},this._currentPointer,{onCreate:function(t){t.draggable=!0,t.drift=f(r._handlePointerDrag,r),t.ondragend=f(r._handlePointerDragend,r),v(t,a,n,i,!0)},onUpdate:function(t){v(t,a,n,i)}})},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){t=this._toAxisCoord(t)[0];var n=this._axis;n=d.asc(n.getExtent().slice()),(t=t>n[1]?n[1]:t)<n[0]&&(t=n[0]),this._currentPointer.position[0]=t,this._currentPointer.dirty(),n=this._findNearestTick(t),t=this.model;(e||n!==t.getCurrentIndex()&&t.get("realtime"))&&this._changeTimeline(n)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(f((function(){var t=this.model;this._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))}),this),this.model.get("playInterval")))},_toAxisCoord:function(t){var e=this._mainGroup.getLocalTransform();return r.applyTransform(t,e,!0)},_findNearestTick:function(t){var e,n=this.model.getData(),i=1/0,o=this._axis;return n.each(["value"],(function(n,a){n=o.dataToCoord(n),n=Math.abs(n-t),n<i&&(i=n,e=a)})),e},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})}});function y(t,e,n,o,a,r){var s=e.get("color"),l=(a?(a.setColor(s),n.add(a),r&&r.onUpdate(a)):(l=t.get("symbol"),(a=c(l,-1,-1,2,2,s)).setStyle("strokeNoScale",!0),n.add(a),r&&r.onCreate(a)),e.getItemStyle(["color","symbol","symbolSize"]));a.setStyle(l),o=i.merge({rectHover:!0,z2:100},o,!0),s=t.get("symbolSize"),(s=s instanceof Array?s.slice():[+s,+s])[0]/=2,s[1]/=2,o.scale=s,n=t.get("symbolOffset"),n&&((r=o.position=o.position||[0,0])[0]+=d.parsePercent(n[0],s[0]),r[1]+=d.parsePercent(n[1],s[1])),e=t.get("symbolRotate");return o.rotation=(e||0)*Math.PI/180||0,a.attr(o),a.updateTransform(),a}function v(t,e,n,i,o){var a;t.dragging||(a=i.getModel("checkpointStyle"),n=n.dataToCoord(i.getData().get(["value"],e)),o||!a.get("animation",!0)?t.attr({position:[n,0]}):(t.stopAnimation(!0),t.animateTo({position:[n,0]},a.get("animationDuration",!0),a.get("animationEasing",!0))))}t.exports=n},3790:function(t,e,n){n=n("3a56").extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),t.exports=n},3842:function(t,e,n){var i=n("6d8b"),o=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function a(t){var e;return 0===t?0:(e=Math.floor(Math.log(t)/Math.LN10),10<=t/Math.pow(10,e)&&e++,e)}e.linearMap=function(t,e,n,i){var o=e[1]-e[0],a=n[1]-n[0];if(0==o)return 0==a?n[0]:(n[0]+n[1])/2;if(i)if(0<o){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/o*a+n[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t},e.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},e.asc=function(t){return t.sort((function(t,e){return t-e})),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},e.getPrecisionSafe=function(t){var e=(t=t.toString()).indexOf("e");return 0<e?(e=+t.slice(e+1))<0?-e:0:(e=t.indexOf("."))<0?0:t.length-1-e},e.getPixelPrecision=function(t,e){var n=Math.log,i=Math.LN10;t=Math.floor(n(t[1]-t[0])/i),n=Math.round(n(Math.abs(e[1]-e[0]))/i),e=Math.min(Math.max(-t+n,0),20);return isFinite(e)?e:20},e.getPercentWithPrecision=function(t,e,n){if(!t[e])return 0;var o=i.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===o)return 0;for(var a=Math.pow(10,n),r=(n=i.map(t,(function(t){return(isNaN(t)?0:t)/o*a*100})),100*a),s=i.map(n,(function(t){return Math.floor(t)})),l=i.reduce(s,(function(t,e){return t+e}),0),u=i.map(n,(function(t,e){return t-s[e]}));l<r;){for(var c=Number.NEGATIVE_INFINITY,h=null,d=0,p=u.length;d<p;++d)u[d]>c&&(c=u[d],h=d);++s[h],u[h]=0,++l}return s[e]/a},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return-1e-4<t&&t<1e-4},e.parseDate=function(t){var e,n;return t instanceof Date?t:"string"==typeof t?(e=o.exec(t))?e[8]?(n=+e[4]||0,"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,+e[7]||0))):new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0):new Date(NaN):null==t?new Date(NaN):new Date(Math.round(t))},e.quantity=function(t){return Math.pow(10,a(t))},e.quantityExponent=a,e.nice=function(t,e){var n=a(t),i=Math.pow(10,n),o=t/i;return t=(e=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10)*i,-20<=n?+t.toFixed(n<0?-n:0):t},e.quantile=function(t,e){e=(t.length-1)*e+1;var n=Math.floor(e),i=+t[n-1];return(e-=n)?i+e*(t[n]-i):i},e.reformIntervals=function(t){t.sort((function(t,e){return function t(e,n,i){return e.interval[i]<n.interval[i]||e.interval[i]===n.interval[i]&&(e.close[i]-n.close[i]==(i?-1:1)||!i&&t(e,n,1))}(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i<t.length;){for(var o=t[i].interval,a=t[i].close,r=0;r<2;r++)o[r]<=e&&(o[r]=e,a[r]=r?1:1-n),e=o[r],n=a[r];o[0]===o[1]&&a[0]*a[1]!=1?t.splice(i,1):i++}return t},e.isNumeric=function(t){return 0<=t-parseFloat(t)}},"38a2":function(t,e,n){var i=n("2b17").retrieveRawValue,o=n("eda2"),a=o.getTooltipMarker,r=o.formatTpl,s=n("e0d3").getTooltipRenderMode,l=/\{@(.+?)\}/g;t.exports={getDataParams:function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),o=n.getRawIndex(t),r=n.getName(t),l=n.getRawDataItem(t),u=n.getItemVisual(t,"color"),c=(t=n.getItemVisual(t,"borderColor"),this.ecModel.getComponent("tooltip")),h=(c=c&&c.get("renderMode"),c=s(c),this.mainType),d="series"===h;n=n.userOutput;return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:r,dataIndex:o,data:l,dataType:e,value:i,color:u,borderColor:t,dimensionNames:n?n.dimensionNames:null,encode:n?n.encode:null,marker:a({color:u,renderMode:c}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,o,a){e=e||"normal";var s=this.getData(n),u=s.getItemModel(t);n=this.getDataParams(t,n),null!=o&&n.value instanceof Array&&(n.value=n.value[o]),u=u.get("normal"===e?[a||"label","formatter"]:[e,a||"label","formatter"]);return"function"==typeof u?(n.status=e,n.dimensionIndex=o,u(n)):"string"==typeof u?r(u,n).replace(l,(function(e,n){var o=n.length;return"["===n.charAt(0)&&"]"===n.charAt(o-1)&&(n=+n.slice(1,o-1)),i(s,t,n)})):void 0},getRawValue:function(t,e){return i(this.getData(e),t)},formatTooltip:function(){}}},3901:function(t,e,n){var i=n("282b")([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);t.exports={getLineStyle:function(t){return t=i(this,t),t.lineDash=this.getLineDash(t.lineWidth),t},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2);t*=4;return"solid"!==e&&null!=e&&("dashed"===e?[t,t]:[n,n])}}},"392f":function(t,e,n){var i=n("6d8b").inherits,o=n("19eb"),a=n("9850");function r(t){o.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}r.prototype.incremental=!0,r.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},r.prototype.addDisplayable=function(t,e){(e?this._temporaryDisplayables:this._displayables).push(t),this.dirty()},r.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},r.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},r.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++)(e=this._displayables[t]).parent=this,e.update(),e.parent=null;var e;for(t=0;t<this._temporaryDisplayables.length;t++)(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null},r.prototype.brush=function(t,e){for(var n=this._cursor;n<this._displayables.length;n++)(i=this._displayables[n]).beforeBrush&&i.beforeBrush(t),i.brush(t,n===this._cursor?null:this._displayables[n-1]),i.afterBrush&&i.afterBrush(t);this._cursor=n;var i;for(n=0;n<this._temporaryDisplayables.length;n++)(i=this._temporaryDisplayables[n]).beforeBrush&&i.beforeBrush(t),i.brush(t,0===n?null:this._temporaryDisplayables[n-1]),i.afterBrush&&i.afterBrush(t);this._temporaryDisplayables=[],this.notClear=!0};var s=[];r.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new a(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(s)),t.union(i)}this._rect=t}return this._rect},r.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0;return!1},i(r,o),t.exports=r},3942:function(t,e,n){var i=n("3eba"),o=n("6d8b");i.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e){var n=e.getComponent("timeline");return n&&null!=t.currentIndex&&(n.setCurrentIndex(t.currentIndex),!n.get("loop",!0))&&n.isIndexMax()&&n.setPlayState(!1),e.resetOption("timeline"),o.defaults({currentIndex:n.option.currentIndex},t)})),i.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){e=e.getComponent("timeline"),e&&null!=t.playState&&e.setPlayState(t.playState)}))},3970:function(t,e,n){var i=n("4f85"),o=n("3301"),a=n("2039");n=i.extend({type:"series.heatmap",getInitialData:function(t,e){return o(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var t=a.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});t.exports=n},"3a56":function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("6d8b"),a=n("22d1"),r=n("e0d3"),s=n("50e5"),l=n("cc39"),u=o.each,c=s.eachAxisDim;n=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,e,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=h(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this.doInit(i)},mergeOption:function(t){var e=h(t);o.merge(this.option,t,!0),o.merge(this.settledOption,e,!0),this.doInit(e)},doInit:function(t){var e=this.option,n=(a.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),d(this,t),this.settledOption);u([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis((function(e,n,i,o){var a=this.dependentModels[e.axis][n];a=a.__dzAxisProxy||(a.__dzAxisProxy=new l(e.name,n,this,o));t[e.name+"_"+n]=a}),this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();c((function(e){e=e.axisIndex,t[e]=r.normalizeToArray(t[e])}),this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1,n=(c((function(n){null!=t[n.axisIndex]&&(e=!0)}),this),t.orient);return null==n&&e?"orient":e?void 0:(null==n&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t,e=!0,n=this.get("orient",!0),i=this.option,a=this.dependentModels;e&&(a[(t="vertical"===n?"y":"x")+"Axis"].length?(i[t+"AxisIndex"]=[0],e=!1):u(a.singleAxis,(function(t){e&&t.get("orient",!0)===n&&(i.singleAxisIndex=[t.componentIndex],e=!1)}))),e&&c((function(t){if(e){var n=[],o=this.dependentModels[t.axis];if(o.length&&!n.length)for(var a=0,r=o.length;a<r;a++)"category"===o[a].get("type")&&n.push(a);(i[t.axisIndex]=n).length&&(e=!1)}}),this),e&&this.ecModel.eachSeries((function(t){this._isSeriesHasAllAxesTypeOf(t,"value")&&c((function(e){var n=i[e.axisIndex],a=t.get(e.axisIndex),r=t.get(e.axisId);a=t.ecModel.queryComponents({mainType:e.axis,index:a,id:r})[0].componentIndex;o.indexOf(n,a)<0&&n.push(a)}))}),this)},_autoSetOrient:function(){var t;this.eachTargetAxis((function(e){t=t||e.name}),this),this.option.orient="y"===t?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,e){var n=!0;return c((function(i){var o=t.get(i.axisIndex);i=this.dependentModels[i.axis][o];i&&i.get("type")===e||(n=!1)}),this),n},_setDefaultThrottle:function(t){t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle&&(t=this.ecModel.option,this.option.throttle=t.animation&&0<t.animationDurationUpdate?100:20)},getFirstTargetAxisModel:function(){var t;return c((function(e){var n;null==t&&(n=this.get(e.axisIndex)).length&&(t=this.dependentModels[e.axis][n[0]])}),this),t},eachTargetAxis:function(t,e){var n=this.ecModel;c((function(i){u(this.get(i.axisIndex),(function(o){t.call(e,i,o,this,n)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){return t=this.getAxisProxy(t,e),t&&t.getAxisModel()},setRawRange:function(t){var e=this.option,n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),d(this,t)},setCalculatedRange:function(t){var e=this.option;u(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){return null!=t||null!=e?this.getAxisProxy(t,e).getDataValueWindow():(t=this.findRepresentativeAxisProxy())?t.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e,n=this._axisProxies;for(e in n)if(n.hasOwnProperty(e)&&n[e].hostedBy(this))return n[e];for(e in n)if(n.hasOwnProperty(e)&&!n[e].hostedBy(this))return n[e]},getRangePropMode:function(){return this._rangePropMode.slice()}});function h(t){var e={};return u(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}function d(t,e){var n=t._rangePropMode,i=t.get("rangeMode");u([["start","startValue"],["end","endValue"]],(function(t,o){var a=null!=e[t[0]];t=null!=e[t[1]];a&&!t?n[o]="percent":!a&&t?n[o]="value":i?n[o]=i[o]:a&&(n[o]="percent")}))}t.exports=n},"3cd6":function(t,e,n){var i=n("6d8b"),o=n("48a9"),a=n("607d"),r=n("72b6"),s=n("2306"),l=n("3842"),u=n("ef6a4"),c=n("cbb0"),h=n("e0d3"),d=l.linearMap,p=i.each,f=Math.min,g=Math.max,m=r.extend({type:"visualMap.continuous",init:function(){m.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e),t=t.get("text");this._renderEndsText(e,t,0),this._renderEndsText(e,t,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,n){var i,o,a;e&&(e=null!=(e=e[1-n])?e+"":"",o=(i=this.visualMapModel).get("textGap"),i=i.itemSize,a=this._shapes.barGroup,i=this._applyTransform([i[0]/2,0===n?-o:i[1]+o],a),o=this._applyTransform(0===n?"bottom":"top",a),n=this._orient,a=this.visualMapModel.textStyleModel,this.group.add(new s.Text({style:{x:i[0],y:i[1],textVerticalAlign:"horizontal"===n?"middle":o,textAlign:"horizontal"===n?o:"center",text:e,textFont:a.getFont(),textFill:a.getTextColor()}})))},_renderBar:function(t){var e=this.visualMapModel,n=this._shapes,o=e.itemSize,a=this._orient,r=this._useHandle,s=c.getItemAlign(e,this.api,o),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=y()),l.add(n.inRange=y(null,r?x(this._orient):null,i.bind(this._dragHandle,this,"all",!1),i.bind(this._dragHandle,this,"all",!0))),e=e.textStyleModel.getTextRect("国"),e=g(e.width,e.height);r&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(l,0,o,e,a,s),this._createHandle(l,1,o,e,a,s)),this._createIndicator(l,o,e,a),t.add(l)},_createHandle:function(t,e,n,o,r){var l=i.bind(this._dragHandle,this,e,!1),u=i.bind(this._dragHandle,this,e,!0),c=y((c=o,0===e?[[0,0],[c,0],[c,-c]]:[[0,0],[c,0],[c,c]]),x(this._orient),l,u);c.position[0]=n[0],t.add(c),n=this.visualMapModel.textStyleModel,t=new s.Text({draggable:!0,drift:l,onmousemove:function(t){a.stop(t.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:n.getFont(),textFill:n.getTextColor()}}),this.group.add(t),l=["horizontal"===r?o/2:1.5*o,"horizontal"===r?0===e?-1.5*o:1.5*o:0===e?-o/2:o/2],u=this._shapes;u.handleThumbs[e]=c,u.handleLabelPoints[e]=l,u.handleLabels[e]=t},_createIndicator:function(t,e,n,i){var o=y([[0,0]],"move");o.position[0]=e[0],o.attr({invisible:!0,silent:!0}),t.add(o),e=this.visualMapModel.textStyleModel,t=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:e.getFont(),textFill:e.getTextColor()}}),this.group.add(t),e=["horizontal"===i?n/2:9,0],i=this._shapes;i.indicator=o,i.indicatorLabel=t,i.indicatorLabelPoint=e},_dragHandle:function(t,e,n,i){this._useHandle&&(this._dragging=!e,e||(n=this._applyTransform([n,i],this._shapes.barGroup,!0),this._updateInterval(t,n[1]),this._updateView()),e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?this._hovering||this._clearHoverLinkToSeries():v(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1))},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent();t=[0,t.itemSize[1]];this._handleEnds=[d(e[0],n,t,!0),d(e[1],n,t,!0)]},_updateInterval:function(t,e){var n=this.visualMapModel,i=this._handleEnds,o=[0,n.itemSize[1]];u(e=e||0,i,o,t,0),e=n.getExtent();this._dataInterval=[d(i[0],o,e,!0),d(i[1],o,e,!0)]},_updateView:function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,o=(e=[0,e.itemSize[1]],t=t?e:this._handleEnds,this._createBarVisual(this._dataInterval,n,t,"inRange"));n=this._createBarVisual(n,n,e,"outOfRange");i.inRange.setStyle({fill:o.barColor,opacity:o.opacity}).setShape("points",o.barPoints),i.outOfRange.setStyle({fill:n.barColor,opacity:n.opacity}).setShape("points",n.barPoints),this._updateHandle(t,o)},_createBarVisual:function(t,e,n,i){i={forceState:i,convertOpacityToAlpha:!0};var a=this._makeColorGradient(t,i);t=[this.getControllerVisual(t[0],"symbolSize",i),this.getControllerVisual(t[1],"symbolSize",i)],i=this._createBarPoints(n,t);return{barColor:new o(0,0,0,1,a),barPoints:i,handlesColor:[a[0].color,a[a.length-1].color]}},_makeColorGradient:function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var o=1;o<100;o++){var a=t[0]+i*o;if(a>t[1])break;n.push({color:this.getControllerVisual(a,"color",e),offset:o/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){var n,i,o,a;this._useHandle&&(n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,a=n.handleLabels,p([0,1],(function(r){var l=o[r];l.setStyle("fill",e.handlesColor[r]),l.position[1]=t[r],l=s.applyTransform(n.handleLabelPoints[r],s.getTransform(l,this.group));a[r].setStyle({x:l[0],y:l[1],text:i.formatValueText(this._dataInterval[r]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===r?"bottom":"top":"left",n.barGroup)})}),this))},_showIndicator:function(t,e,n,i){var o,a=this.visualMapModel,r=a.getExtent(),l=a.itemSize,u=[0,l[1]],c=(r=d(t,r,u,!0),u=this._shapes,u.indicator);c&&(c.position[1]=r,c.attr("invisible",!1),c.setShape("points",(o=!!n,i=i,r=r,l=l[1],o?[[0,-f(i,g(r,0))],[6,0],[0,f(i,g(l-r,0))]]:[[0,0],[5,-5],[5,5]])),o=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c.setStyle("fill",o),i=s.applyTransform(u.indicatorLabelPoint,s.getTransform(c,this.group)),(l=u.indicatorLabel).attr("invisible",!1),r=this._applyTransform("left",u.barGroup),t=this._orient,l.setStyle({text:(n||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===t?r:"middle",textAlign:"horizontal"===t?"center":r,x:i[0],y:i[1]}))},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){var n;t._hovering=!0,t._dragging||(n=t.visualMapModel.itemSize,(e=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0))[1]=f(g(0,e[1]),n[1]),t._doHoverLinkToSeries(e[1],0<=e[0]&&e[0]<=n[0]))})).on("mouseout",(function(){t._hovering=!1,t._dragging||t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n,i,o,a=this.visualMapModel,r=a.itemSize;a.option.hoverLink&&(r=[0,r[1]],i=a.getExtent(),o=[(t=f(g(r[0],t),r[1]))-(n=function(t,e,n){var i=6;t=t.get("hoverLinkDataSize");return t&&(i=d(t,e,n,!0)/2),i}(a,i,r)),t+n],t=d(t,r,i,!0),i=[d(o[0],r,i,!0),d(o[1],r,i,!0)],o[0]<r[0]&&(i[0]=-1/0),r[1]<o[1]&&(i[1]=1/0),e&&(i[0]===-1/0?this._showIndicator(t,i[1],"< ",n):i[1]===1/0?this._showIndicator(t,i[0],"> ",n):this._showIndicator(t,t,"≈ ",n)),r=this._hoverLinkDataIndices,o=[],(e||v(a))&&(o=this._hoverLinkDataIndices=a.findTargetDataIndices(i)),t=h.compressBatches(r,o),this._dispatchHighDown("downplay",c.makeHighDownBatch(t[0],a)),this._dispatchHighDown("highlight",c.makeHighDownBatch(t[1],a)))},_hoverLinkFromSeriesMouseOver:function(t){t=t.target;var e,n=this.visualMapModel;t&&null!=t.dataIndex&&(e=this.ecModel.getSeriesByIndex(t.seriesIndex),n.isTargetSeries(e))&&(n=(e=e.getData(t.dataType)).get(n.getDataDimension(e),t.dataIndex,!0),isNaN(n)||this._showIndicator(n,n))},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,n,o){return e=s.getTransform(e,o?null:this.group),s[i.isArray(t)?"applyTransform":"transformDirection"](t,e,n)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function y(t,e,n,i){return new s.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){a.stop(t.event)},ondragend:i})}function v(t){var e=t.get("hoverLinkOnHandle");return null==e?t.get("realtime"):e}function x(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=m},"3eba":function(t,e,n){n("4e08").__DEV__;var i=n("697e7"),o=n("6d8b"),a=n("41ef"),r=n("22d1"),s=n("04f6"),l=n("1fab"),u=n("7e63"),c=n("843e"),h=n("2039"),d=n("ca98"),p=n("fb05"),f=n("d15d"),g=n("6cb7"),m=n("4f85"),y=n("b12f"),v=n("e887"),x=n("2306"),_=n("e0d3"),b=n("88b3").throttle,w=n("fd63"),S=n("b809"),M=n("998c"),I=n("69ff"),T=n("c533"),A=n("f219"),C=(n("0352"),n("ec34")),D=o.assert,L=o.each,P=o.isFunction,k=o.isObject,O=g.parseClassType,R={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:3500,COMPONENT:4e3,BRUSH:5e3}},E="__flagInMainProcess",N="__optionUpdated",z=/^[a-zA-Z0-9_]+$/;function B(t,e){return function(n,i,o){!e&&this._disposed?this.id:(n=n&&n.toLowerCase(),l.prototype[t].call(this,n,i,o))}}function V(){l.call(this)}function G(t,e,n){n=n||{},"string"==typeof e&&(e=ct[e]),this.id,this.group,this._dom=t,t=this._zr=i.init(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height}),this._throttledZrFlush=b(o.bind(t.flush,t),17),(e=o.clone(e))&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var a,r,u;e=this._api=(n=(a=this)._coordSysMgr,o.extend(new c(a),{getCoordinateSystems:o.bind(n.getCoordinateSystems,n),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return a._model.getComponent(e.mainType,e.index);t=t.parent}}}));function d(t,e){return t.__prio-e.__prio}s(ut,d),s(rt,d),this._scheduler=new I(this,e,rt,ut),l.call(this,this._ecEventProcessor=new it),this._messageCenter=new V,this._initEvents(),this.resize=o.bind(this.resize,this),this._pendingActions=[],t.animation.on("frame",this._onframe,this),u=this,(r=t).on("rendered",(function(){u.trigger("rendered"),!r.animation.isFinished()||u[N]||u._scheduler.unfinished||u._pendingActions.length||u.trigger("finished")})),o.setAsPrimitive(this)}V.prototype.on=B("on",!0),V.prototype.off=B("off",!0),V.prototype.one=B("one",!0),o.mixin(V,l);var F=G.prototype;function H(t,e,n){if(this._disposed)this.id;else{var i=this._model,o=this._coordSysMgr.getCoordinateSystems();e=_.parseFinder(i,e);for(var a=0;a<o.length;a++){var r=o[a];if(r[t]&&null!=(r=r[t](i,e,n)))return r}}}F._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[N]){var e=this[N].silent;this[E]=!0,U(this),W.update.call(this),this[E]=!1,this[N]=!1,X.call(this,e),q.call(this,e)}else if(t.unfinished){var n=1,i=this._model;this._api;t.unfinished=!1;do{var o=+new Date}while(t.performSeriesTasks(i),t.performDataProcessorTasks(i),Y(this,i),t.performVisualTasks(i),Q(this,this._model,0,"remain"),0<(n-=+new Date-o)&&t.unfinished);t.unfinished||this._zr.flush()}}},F.getDom=function(){return this._dom},F.getZr=function(){return this._zr},F.setOption=function(t,e,n){var i,o,a;this._disposed?this.id:(k(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[E]=!0,this._model&&!e||(e=new d(this._api),o=this._theme,(a=this._model=new u).scheduler=this._scheduler,a.init(null,null,o,e)),this._model.setOption(t,st),n?(this[N]={silent:i},this[E]=!1):(U(this),W.update.call(this),this._zr.flush(),this[N]=!1,this[E]=!1,X.call(this,i),q.call(this,i)))},F.setTheme=function(){},F.getModel=function(){return this._model},F.getOption=function(){return this._model&&this._model.getOption()},F.getWidth=function(){return this._zr.getWidth()},F.getHeight=function(){return this._zr.getHeight()},F.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},F.getRenderedCanvas=function(t){if(r.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},F.getSvgDataURL=function(){var t,e;if(r.svgSupported)return e=(t=this._zr).storage.getDisplayList(),o.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()},F.getDataURL=function(t){var e,n,i,o;if(!this._disposed)return o=(t=t||{}).excludeComponents,e=this._model,n=[],i=this,L(o,(function(t){e.eachComponent({mainType:t},(function(t){t=i._componentsMap[t.__viewId],t.group.ignore||(n.push(t),t.group.ignore=!0)}))})),o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png")),L(n,(function(t){t.group.ignore=!1})),o;this.id},F.getConnectedDataURL=function(t){var e,n,a,s,l,u,c,h,d,p,f,g,m,y,v;if(this._disposed)this.id;else if(r.canvasSupported)return e="svg"===t.type,n=this.group,a=Math.min,s=Math.max,pt[n]?(u=l=1/0,h=c=-1/0,d=[],p=t&&t.pixelRatio||1,o.each(dt,(function(i,r){var p;i.group===n&&(p=e?i.getZr().painter.getSvgDom().innerHTML:i.getRenderedCanvas(o.clone(t)),i=i.getDom().getBoundingClientRect(),l=a(i.left,l),u=a(i.top,u),c=s(i.right,c),h=s(i.bottom,h),d.push({dom:p,left:i.left,top:i.top}))})),f=(c*=p)-(l*=p),g=(h*=p)-(u*=p),m=o.createCanvas(),(y=i.init(m,{renderer:e?"svg":"canvas"})).resize({width:f,height:g}),e?(v="",L(d,(function(t){var e=t.left-l,n=t.top-u;v+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()):(t.connectedBackgroundColor&&y.add(new x.Rect({shape:{x:0,y:0,width:f,height:g},style:{fill:t.connectedBackgroundColor}})),L(d,(function(t){t=new x.Image({style:{x:t.left*p-l,y:t.top*p-u,image:t.dom}}),y.add(t)})),y.refreshImmediately(),m.toDataURL("image/"+(t&&t.type||"png")))):this.getDataURL(t)},F.convertToPixel=o.curry(H,"convertToPixel"),F.convertFromPixel=o.curry(H,"convertFromPixel"),F.containPixel=function(t,e){var n,i;if(!this._disposed)return n=this._model,t=_.parseFinder(n,t),o.each(t,(function(t,n){0<=n.indexOf("Models")&&o.each(t,(function(t){var o=t.coordinateSystem;o&&o.containPoint?i|=!!o.containPoint(e):"seriesModels"===n&&(o=this._chartsMap[t.__viewId])&&o.containPoint&&(i|=o.containPoint(e,t))}),this)}),this),!!i;this.id},F.getVisual=function(t,e){var n=this._model;n=(t=_.parseFinder(n,t,{defaultMainType:"series"})).seriesModel.getData(),t=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=t?n.getItemVisual(t,e):n.getVisual(e)},F.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},F.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var W={prepareAndUpdate:function(t){U(this),W.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,o=this._coordSysMgr,s=this._scheduler;e&&(s.restoreData(e,t),s.performSeriesTasks(e),o.create(e,n),s.performDataProcessorTasks(e,t),Y(this,e),o.update(e,n),$(e),s.performVisualTasks(e,t),J(this,e,n,t),o=e.get("backgroundColor")||"transparent",r.canvasSupported?i.setBackgroundColor(o):(s=a.parse(o),o=a.stringify(s,"rgb"),0===s[3]&&(o="transparent")),tt(e,n))},updateTransform:function(t){var e,n,i=this._model,a=this,r=this._api;i&&(e=[],i.eachComponent((function(n,o){var s=a.getViewOfComponentModel(o);s&&s.__alive&&(!s.updateTransform||(o=s.updateTransform(o,i,r,t))&&o.update)&&e.push(s)})),n=o.createHashMap(),i.eachSeries((function(e){var o=a._chartsMap[e.__viewId];(!o.updateTransform||(o=o.updateTransform(e,i,r,t))&&o.update)&&n.set(e.uid,1)})),$(i),this._scheduler.performVisualTasks(i,t,{setDirty:!0,dirtyMap:n}),Q(a,i,0,t,n),tt(i,this._api))},updateView:function(t){var e=this._model;e&&(v.markUpdateMethod(t,"updateView"),$(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),J(this,this._model,this._api,t),tt(e,this._api))},updateVisual:function(t){W.update.call(this,t)},updateLayout:function(t){W.update.call(this,t)}};function U(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),K(t,"component",e,n),K(t,"chart",e,n),n.plan()}function Z(t,e,n,i,a){var r,s,l=t._model;function u(i){i&&i.__alive&&i[e]&&i[e](i.__model,l,t._api,n)}i?((r={})[i+"Id"]=n[i+"Id"],r[i+"Index"]=n[i+"Index"],r[i+"Name"]=n[i+"Name"],r={mainType:i,query:r},a&&(r.subType=a),null!=(s=n.excludeSeriesId)&&(s=o.createHashMap(_.normalizeToArray(s))),l&&l.eachComponent(r,(function(e){s&&null!=s.get(e.id)||u(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)):L(t._componentsViews.concat(t._chartsViews),u)}function Y(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))}function j(t,e){var n,i=t.type,a=t.escapeConnect,r=ot[i],s=r.actionInfo,l=(u=(s.update||"update").split(":")).pop(),u=null!=u[0]&&O(u[0]),c=(this[E]=!0,[t]),h=!1,d=(t.batch&&(h=!0,c=o.map(t.batch,(function(e){return(e=o.defaults(o.extend({},e),t)).batch=null,e}))),[]),p="highlight"===i||"downplay"===i;L(c,(function(t){(n=(n=r.action(t,this._model,this._api))||o.extend({},t)).type=s.event||n.type,d.push(n),p?Z(this,l,t,"series"):u&&Z(this,l,t,u.main,u.sub)}),this),"none"===l||p||u||(this[N]?(U(this),W.update.call(this,t),this[N]=!1):W[l].call(this,t)),n=h?{type:s.event||i,escapeConnect:a,batch:d}:d[0],this[E]=!1,e||this._messageCenter.trigger(n.type,n)}function X(t){for(var e=this._pendingActions;e.length;){var n=e.shift();j.call(this,n,t)}}function q(t){t||this.trigger("updated")}function K(t,e,n,i){for(var o="component"===e,a=o?t._componentsViews:t._chartsViews,r=o?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;u<a.length;u++)a[u].__alive=!1;function c(t){var e,u="_ec_"+t.id+"_"+t.type,c=r[u];c||(e=O(t.type),(c=new(o?y.getClass(e.main,e.sub):v.getClass(e.sub))).init(n,l),r[u]=c,a.push(c),s.add(c.group)),t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},o||i.prepareView(c,t,n,l)}for(o?n.eachComponent((function(t,e){"series"!==t&&c(e)})):n.eachSeries(c),u=0;u<a.length;){var h=a[u];h.__alive?u++:(o||h.renderTask.dispose(),s.remove(h.group),h.dispose(n,l),a.splice(u,1),delete r[h.__id],h.__id=h.group.__ecComponentInfo=null)}}function $(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function J(t,e,n,i){var o,a,r,s,l;o=t,a=e,r=n,s=i,L(l||o._componentsViews,(function(t){var e=t.__model;t.render(e,a,r,s),nt(e,t)})),L(t._chartsViews,(function(t){t.__alive=!1})),Q(t,e,0,i),L(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))}function Q(t,e,n,i,o){var a,s,l,u,c,h=t._scheduler;e.eachSeries((function(e){var n,r=t._chartsMap[e.__viewId],s=(r.__alive=!0,r.renderTask);h.updatePayload(s,i),o&&o.get(e.uid)&&s.dirty(),a|=s.perform(h.getPerformArgs(s)),r.group.silent=!!e.get("silent"),nt(e,r),s=r,n=e.get("blendMode")||null,s.group.traverse((function(t){t.isGroup||t.style.blend!==n&&t.setStyle("blend",n),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.setStyle("blend",n)}))}))})),h.unfinished|=a,l=e,u=(s=t)._zr.storage,c=0,u.traverse((function(t){c++})),c>l.get("hoverLayerThreshold")&&!r.node&&l.eachSeries((function(t){t.preventUsingHoverLayer||(t=s._chartsMap[t.__viewId]).__alive&&t.group.traverse((function(t){t.useHoverLayer=!0}))})),S(t._zr.dom,e)}function tt(t,e){L(lt,(function(n){n(t,e)}))}F.resize=function(t){var e;this._disposed?this.id:(this._zr.resize(t),e=this._model,this._loadingFX&&this._loadingFX.resize(),e&&(e=e.resetOption("media"),t=t&&t.silent,this[E]=!0,e&&U(this),W.update.call(this),this[E]=!1,X.call(this,t),q.call(this,t)))},F.showLoading=function(t,e){this._disposed?this.id:(k(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ht[t]&&(t=ht[t](this._api,e),e=this._zr,this._loadingFX=t,e.add(t)))},F.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},F.makeActionFromEvent=function(t){var e=o.extend({},t);return e.type=at[t.type],e},F.dispatchAction=function(t,e){this._disposed?this.id:(k(e)||(e={silent:!!e}),ot[t.type]&&this._model&&(this[E]?this._pendingActions.push(t):(j.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&r.browser.weChat&&this._throttledZrFlush(),X.call(this,e.silent),q.call(this,e.silent))))},F.appendData=function(t){var e;this._disposed?this.id:(e=t.seriesIndex,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0)},F.on=B("on",!1),F.off=B("off",!1),F.one=B("one",!1);var et=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function nt(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i)&&(t.zlevel=i)}))}function it(){this.eventInfo}F._initEvents=function(){L(et,(function(t){function e(e){var n,i,a,r=this.getModel(),s=e.target;"globalout"===t?n={}:s&&null!=s.dataIndex?n=(a=s.dataModel||r.getSeriesByIndex(s.seriesIndex))&&a.getDataParams(s.dataIndex,s.dataType,s)||{}:s&&s.eventData&&(n=o.extend({},s.eventData)),n&&(a=n.componentType,i=n.componentIndex,"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",i=n.seriesIndex),a=(r=a&&null!=i&&r.getComponent(a,i))&&this["series"===r.mainType?"_chartsMap":"_componentsMap"][r.__viewId],n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:s,packedEvent:n,model:r,view:a},this.trigger(t,n))}e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),L(at,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},F.isDisposed=function(){return this._disposed},F.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},F.dispose=function(){var t,e;this._disposed?this.id:(this._disposed=!0,_.setAttribute(this.getDom(),mt,""),t=this._api,e=this._model,L(this._componentsViews,(function(n){n.dispose(e,t)})),L(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete dt[this.id])},o.mixin(G,l),it.prototype={constructor:it,normalizeQuery:function(t){var e,n,i,a={},r={},s={};return o.isString(t)?(e=O(t),a.mainType=e.main||null,a.subType=e.sub||null):(n=["Index","Name","Id"],i={name:1,dataIndex:1,dataType:1},o.each(t,(function(t,e){for(var o=!1,l=0;l<n.length;l++){var u=n[l],c=e.lastIndexOf(u);0<c&&c===e.length-u.length&&"data"!==(c=e.slice(0,c))&&(a.mainType=c,a[u.toLowerCase()]=t,o=!0)}i.hasOwnProperty(e)&&(r[e]=t,o=!0),o||(s[e]=t)}))),{cptQuery:a,dataQuery:r,otherQuery:s}},filter:function(t,e,n){var i,o,a,r,s,l=this.eventInfo;return!l||(i=l.targetEl,o=l.packedEvent,a=l.model,l=l.view,!a)||!l||(r=e.cptQuery,s=e.dataQuery,u(r,a,"mainType")&&u(r,a,"subType")&&u(r,a,"index","componentIndex")&&u(r,a,"name")&&u(r,a,"id")&&u(s,o,"name")&&u(s,o,"dataIndex")&&u(s,o,"dataType")&&(!l.filterForExposedEvent||l.filterForExposedEvent(t,e.otherQuery,i,o)));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var ot={},at={},rt=[],st=[],lt=[],ut=[],ct={},ht={},dt={},pt={},ft=+new Date,gt=+new Date,mt="_echarts_instance_";function yt(t){pt[t]=!1}function vt(t){return dt[_.getAttribute(t,mt)]}function xt(t,e){ct[t]=e}function _t(t){st.push(t)}function bt(t,e){Mt(rt,t,e,1e3)}function wt(t,e,n){"function"==typeof e&&(n=e,e="");var i=k(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,D(z.test(i)&&z.test(e)),ot[i]||(ot[i]={action:n,actionInfo:t}),at[e]=i}function St(t,e){Mt(ut,t,e,3e3,"visual")}function Mt(t,e,n,i,o){(P(e)||k(e))&&(n=e,e=i),i=I.wrapStageHandler(n,o),i.__prio=e,i.__raw=n,t.push(i)}function It(t,e){ht[t]=e}F=yt,St(2e3,w),_t(p),bt(900,f),It("default",M),wt({type:"highlight",event:"highlight",update:"highlight"},o.noop),wt({type:"downplay",event:"downplay",update:"downplay"},o.noop),xt("light",T),xt("dark",A),e.version="4.9.0",e.dependencies={zrender:"4.3.2"},e.PRIORITY=R,e.init=function(t,e,n){var i,o,a=vt(t);return a||((a=new G(t,e,n)).id="ec_"+ft++,dt[a.id]=a,_.setAttribute(t,mt,a.id),i=a,o="__connectUpdateStatus",L(at,(function(t,e){i._messageCenter.on(e,(function(t){var e,n;!pt[i.group]||0===i[o]||t&&t.escapeConnect||(e=i.makeActionFromEvent(t),n=[],L(dt,(function(t){t!==i&&t.group===i.group&&n.push(t)})),r(n,0),L(n,(function(t){1!==t[o]&&t.dispatchAction(e)})),r(n,2))}))})),a);function r(t,e){for(var n=0;n<t.length;n++)t[n][o]=e}},e.connect=function(t){var e;return o.isArray(t)&&(e=t,t=null,L(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+gt++,L(e,(function(e){e.group=t}))),pt[t]=!0,t},e.disConnect=yt,e.disconnect=F,e.dispose=function(t){"string"==typeof t?t=dt[t]:t instanceof G||(t=vt(t)),t instanceof G&&!t.isDisposed()&&t.dispose()},e.getInstanceByDom=vt,e.getInstanceById=function(t){return dt[t]},e.registerTheme=xt,e.registerPreprocessor=_t,e.registerProcessor=bt,e.registerPostUpdate=function(t){lt.push(t)},e.registerAction=wt,e.registerCoordinateSystem=function(t,e){h.register(t,e)},e.getCoordinateSystemDimensions=function(t){if(t=h.get(t))return t.getDimensionsInfo?t.getDimensionsInfo():t.dimensions.slice()},e.registerLayout=function(t,e){Mt(ut,t,e,1e3,"layout")},e.registerVisual=St,e.registerLoading=It,e.extendComponentModel=function(t){return g.extend(t)},e.extendComponentView=function(t){return y.extend(t)},e.extendSeriesModel=function(t){return m.extend(t)},e.extendChartView=function(t){return v.extend(t)},e.setCanvasCreator=function(t){o.$override("createCanvas",t)},e.registerMap=function(t,e,n){C.registerMap(t,e,n)},e.getMap=function(t){return(t=C.retrieveMap(t))&&t[0]&&{geoJson:t[0].geoJSON,specialAreas:t[0].specialAreas}},e.dataTool={};var Tt,At=n("b719");for(Tt in At)At.hasOwnProperty(Tt)&&(e[Tt]=At[Tt])},"3f8e":function(t,e,n){var i=n("8727").createElement,o=n("20c8"),a=n("9850"),r=n("1687"),s=n("e86a"),l=n("a73c"),u=n("76a5"),c=o.CMD,h=Array.prototype.join,d="none",p=Math.round,f=Math.sin,g=Math.cos,m=Math.PI,y=2*Math.PI,v=180/m,x=1e-4;function _(t){return p(1e4*t)/1e4}function b(t){return t<x&&-x<t}function w(t,e){e&&S(t,"transform","matrix("+h.call(e,",")+")")}function S(t,e,n){n&&("linear"===n.type||"radial"===n.type)||t.setAttribute(e,n)}function M(t,e,n,i){var o,a;a=e,null!=(o=(o=n)?a.textFill:a.fill)&&o!==d?(S(t,"fill",a="transparent"===(a=n?e.textFill:e.fill)?d:a),S(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)):S(t,"fill",d),o=e,null!=(a=(a=n)?o.textStroke:o.stroke)&&a!==d?(S(t,"stroke",o="transparent"===(o=n?e.textStroke:e.stroke)?d:o),S(t,"stroke-width",(n?e.textStrokeWidth:e.lineWidth)/(!n&&e.strokeNoScale?i.getLineScale():1)),S(t,"paint-order",n?"stroke":"fill"),S(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity),e.lineDash?(S(t,"stroke-dasharray",e.lineDash.join(",")),S(t,"stroke-dashoffset",p(e.lineDashOffset||0))):S(t,"stroke-dasharray",""),e.lineCap&&S(t,"stroke-linecap",e.lineCap),e.lineJoin&&S(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&S(t,"stroke-miterlimit",e.miterLimit)):S(t,"stroke",d)}n={},n.brush=function(t){var e=t.style,n=t.__svgEl,o=(n||(n=i("path"),t.__svgEl=n),t.path||t.createPathProxy(),t.path);t.__dirtyPath&&(o.beginPath(),o.subPixelOptimize=!1,t.buildPath(o,t.shape),t.__dirtyPath=!1,(o=function(t){for(var e=[],n=t.data,i=t.len(),o=0;o<i;){var a="",r=0;switch(n[o++]){case c.M:a="M",r=2;break;case c.L:a="L",r=2;break;case c.Q:a="Q",r=4;break;case c.C:a="C",r=6;break;case c.A:var s=n[o++],l=n[o++],u=n[o++],h=n[o++],d=n[o++],x=n[o++],w=n[o++],S=n[o++],M=Math.abs(x),I=b(M-y)||(S?y<=x:y<=-x),T=!1,A=(T=!!I||!b(M)&&m<=(0<x?x%y:x%y+y)==!!S,M=_(s+u*g(d)),_(l+h*f(d)));I=(I&&(x=S?y-1e-4:1e-4-y,T=!0,9===o)&&e.push("M",M,A),_(s+u*g(d+x))),M=_(l+h*f(d+x));e.push("A",_(u),_(h),p(w*v),+T,+S,I,M);break;case c.Z:a="Z";break;case c.R:I=_(n[o++]),M=_(n[o++]),A=_(n[o++]),s=_(n[o++]),e.push("M",I,M,"L",I+A,M,"L",I+A,M+s,"L",I,M+s,"L",I,M)}a&&e.push(a);for(var C=0;C<r;C++)e.push(_(n[o++]))}return e.join(" ")}(o)).indexOf("NaN")<0)&&S(n,"d",o),M(n,e,!1,t),w(n,t.transform),null!=e.text?L(t,t.getBoundingRect()):k(t)},o={};var I=(o.brush=function(t){var e,n,o,a,r,s,l,u=t.style,c=u.image;(c=c instanceof HTMLImageElement?c.src:c)&&(e=u.x||0,n=u.y||0,o=u.width,a=u.height,(r=t.__svgEl)||(r=i("image"),t.__svgEl=r),c!==t.__imageSrc&&(s="href",l=c,r.setAttributeNS("http://www.w3.org/1999/xlink",s,l),t.__imageSrc=c),S(r,"width",o),S(r,"height",a),S(r,"x",e),S(r,"y",n),w(r,t.transform),null!=u.text?L(t,t.getBoundingRect()):k(t))},{}),T=new a,A={},C=[],D={left:"start",right:"end",center:"middle",middle:"middle"},L=function(t,e){var n=t.style,o=t.transform,a=t instanceof u||n.transformText,c=(t.__dirty&&l.normalizeTextStyle(n,!0),n.text);if(null!=c&&(c+=""),l.needDrawText(c,n)){null==c&&(c=""),!a&&o&&(T.copy(e),T.applyTransform(o),e=T);var h=t.__textSvgEl,d=(h||(h=i("text"),t.__textSvgEl=h),h.style),p=n.font||s.DEFAULT_FONT,f=h.__computedFont,g=(p=(p!==h.__styleFont&&(d.font=h.__styleFont=p,f=h.__computedFont=d.font),n.textPadding),d=n.textLineHeight,t.__textCotentBlock),m=(f=(g=g&&!t.__dirtyText?g:t.__textCotentBlock=s.parsePlainText(c,f,p,d,n.truncate)).outerHeight,g.lineHeight),y=(d=(l.getBoxPosition(A,t,n,e),A.baseX),A.baseY),v=A.textAlign||"left",x=A.textVerticalAlign,_=h,b=n,S=d,I=y;r.identity(C),a&&o&&r.copy(C,o),a=b.textRotation,e&&a&&("center"===(o=b.textOrigin)?(S=e.width/2+e.x,I=e.height/2+e.y):o&&(S=o[0]+e.x,I=o[1]+e.y),C[4]-=S,C[5]-=I,r.rotate(C,C,a),C[4]+=S,C[5]+=I),w(_,C);var D=d,L=s.adjustTextY(y,f,x),k=(a=(p&&(b=d,o=p,D="right"===(e=v)?b-o[1]:"center"===e?b+o[3]/2-o[1]/2:b+o[3],L+=p[0]),L+=m/2,M(h,n,!0,t),g.canCacheByTextString),t.__tspanList||(t.__tspanList=[])),O=k.length;if(a&&t.__canCacheByTextString&&t.__text===c){if(t.__dirtyText&&O)for(var R=0;R<O;++R)P(k[R],v,D,L+R*m)}else{t.__text=c,t.__canCacheByTextString=a;var E=g.lines,N=E.length;for(R=0;R<N;R++){var z=k[R],B=E[R];z?z.__zrText!==B&&(z.innerHTML="",z.appendChild(document.createTextNode(B))):(z=k[R]=i("tspan"),h.appendChild(z),z.appendChild(document.createTextNode(B))),P(z,v,D,L+R*m)}if(N<O){for(;R<O;R++)h.removeChild(k[R]);k.length=N}}}};function P(t,e,n,i){S(t,"dominant-baseline","middle"),S(t,"text-anchor",D[e]),S(t,"x",n),S(t,"y",i)}function k(t){t&&t.__textSvgEl&&(t.__textSvgEl.parentNode&&t.__textSvgEl.parentNode.removeChild(t.__textSvgEl),t.__textSvgEl=null,t.__tspanList=[],t.__text=null)}I.drawRectText=L,I.brush=function(t){null!=t.style.text?L(t,!1):k(t)},e.path=n,e.image=o,e.text=I},"401b":function(t,e){var n="undefined"==typeof Float32Array?Array:Float32Array;function i(t){return Math.sqrt(a(t))}var o=i;function a(t){return t[0]*t[0]+t[1]*t[1]}var r=a;function s(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var l=s;function u(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var c=u;e.create=function(t,e){var i=new n(2);return null==e&&(e=0),i[0]=t=null==t?0:t,i[1]=e,i},e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t},e.clone=function(t){var e=new n(2);return e[0]=t[0],e[1]=t[1],e},e.set=function(t,e,n){return t[0]=e,t[1]=n,t},e.add=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},e.scaleAndAdd=function(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t},e.sub=function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},e.len=i,e.length=o,e.lenSquare=a,e.lengthSquare=r,e.mul=function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},e.div=function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},e.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},e.normalize=function(t,e){var n=i(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t},e.distance=s,e.dist=l,e.distanceSquare=u,e.distSquare=c,e.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t},e.lerp=function(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t},e.applyTransform=function(t,e,n){var i=e[0];e=e[1];return t[0]=n[0]*i+n[2]*e+n[4],t[1]=n[1]*i+n[3]*e+n[5],t},e.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},e.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},"414c":function(t,e,n){n=n("3a56").extend({type:"dataZoom.select"}),t.exports=n},"41ef":function(t,e,n){n=n("d51b");var i={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(t){return(t=Math.round(t))<0?0:255<t?255:t}function a(t){return t<0?0:1<t?1:t}function r(t){return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100*255):o(parseInt(t,10))}function s(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100):a(parseFloat(t))}function l(t,e,n){return n<0?n+=1:1<n&&--n,6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function u(t,e,n){return t+(e-t)*n}function c(t,e,n,i,o){t[0]=e,t[1]=n,t[2]=i,t[3]=o}function h(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new n(20),p=null;function f(t,e){p&&h(p,e),p=d.put(t,p||e.slice())}function g(t,e){if(t){e=e||[];var n=d.get(t);if(n)return h(e,n);if(n=(t+="").replace(/ /g,"").toLowerCase(),n in i)return h(e,i[n]),f(t,e),e;if("#"===n.charAt(0))return 4===n.length?0<=(o=parseInt(n.substr(1),16))&&o<=4095?(c(e,(3840&o)>>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,1),f(t,e),e):void c(e,0,0,0,1):7===n.length?0<=(o=parseInt(n.substr(1),16))&&o<=16777215?(c(e,(16711680&o)>>16,(65280&o)>>8,255&o,1),f(t,e),e):void c(e,0,0,0,1):void 0;var o=n.indexOf("("),a=n.indexOf(")");if(-1!==o&&a+1===n.length){var l=n.substr(0,o),u=n.substr(o+1,a-(o+1)).split(","),p=1;switch(l){case"rgba":if(4!==u.length)return void c(e,0,0,0,1);p=s(u.pop());case"rgb":return 3!==u.length?void c(e,0,0,0,1):(c(e,r(u[0]),r(u[1]),r(u[2]),p),f(t,e),e);case"hsla":return 4!==u.length?void c(e,0,0,0,1):(u[3]=s(u[3]),m(u,e),f(t,e),e);case"hsl":return 3!==u.length?void c(e,0,0,0,1):(m(u,e),f(t,e),e);default:return}}c(e,0,0,0,1)}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=s(t[1]),a=s(t[2]);i=a<=.5?a*(i+1):a+i-a*i,a=2*a-i;return c(e=e||[],o(255*l(a,i,n+1/3)),o(255*l(a,i,n)),o(255*l(a,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function y(t,e,n){var i,r,s;if(e&&e.length&&0<=t&&t<=1)return n=n||[],t*=e.length-1,i=Math.floor(t),s=Math.ceil(t),r=e[i],e=e[s],n[0]=o(u(r[0],e[0],s=t-i)),n[1]=o(u(r[1],e[1],s)),n[2]=o(u(r[2],e[2],s)),n[3]=a(u(r[3],e[3],s)),n}function v(t,e,n){var i,r,s,l;if(e&&e.length&&0<=t&&t<=1)return t*=e.length-1,i=Math.floor(t),r=Math.ceil(t),l=g(e[i]),e=g(e[r]),l=_([o(u(l[0],e[0],s=t-i)),o(u(l[1],e[1],s)),o(u(l[2],e[2],s)),a(u(l[3],e[3],s))],"rgba"),n?{color:l,leftIndex:i,rightIndex:r,value:t}:l}n=y;var x=v;function _(t,e){var n;if(t&&t.length)return n=t[0]+","+t[1]+","+t[2],"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}e.parse=g,e.lift=function(t,e){var n=g(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255<n[i]?n[i]=255:t[i]<0&&(n[i]=0);return _(n,4===n.length?"rgba":"rgb")}},e.toHex=function(t){if(t=g(t))return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)},e.fastLerp=y,e.fastMapToColor=n,e.lerp=v,e.mapToColor=x,e.modifyHSL=function(t,e,n,i){if(t=g(t))return t=function(t){var e,n,i,o,a,r,s,l,u,c;if(t)return c=t[0]/255,e=t[1]/255,n=t[2]/255,s=Math.min(c,e,n),o=((i=Math.max(c,e,n))+s)/2,0==(u=i-s)?r=a=0:(r=o<.5?u/(i+s):u/(2-i-s),s=((i-c)/6+u/2)/u,l=((i-e)/6+u/2)/u,u=((i-n)/6+u/2)/u,c===i?a=u-l:e===i?a=1/3+s-u:n===i&&(a=2/3+l-s),a<0&&(a+=1),1<a&&--a),c=[360*a,r,o],null!=t[3]&&c.push(t[3]),c}(t),null!=e&&(t[0]=(e=e,(e=Math.round(e))<0?0:360<e?360:e)),null!=n&&(t[1]=s(n)),null!=i&&(t[2]=s(i)),_(m(t),"rgba")},e.modifyAlpha=function(t,e){if((t=g(t))&&null!=e)return t[3]=a(e),_(t,"rgba")},e.stringify=_},"42e5":function(t,e){function n(t){this.colorStops=t||[]}n.prototype={constructor:n,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}},t.exports=n},"42f6":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("22d1"),r=n("07d7"),s=n("82f9"),l=n("eda2"),u=n("3842"),c=n("2306"),h=n("133d"),d=n("f934"),p=n("4319"),f=n("17d6"),g=n("697e"),m=n("ff2e"),y=n("e0d3").getTooltipRenderMode,v=o.bind,x=o.each,_=u.parsePercent,b=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}});n=i.extendComponentView({type:"tooltip",init:function(t,e){var n,i;a.node||(n=(t=t.getComponent("tooltip")).get("renderMode"),this._renderMode=y(n),"html"===this._renderMode?(i=new r(e.getDom(),e,{appendToBody:t.get("appendToBody",!0)}),this._newLine="<br/>"):(i=new s(e),this._newLine="\n"),this._tooltipContent=i)},render:function(t,e,n){a.node||(this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent"),(e=this._tooltipContent).update(t),e.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow())},_initGlobalListener:function(){var t=this._tooltipModel.get("triggerOn");f.register("itemTooltip",this._api,v((function(e,n,i){"none"!==t&&(0<=t.indexOf(e)?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},_keepShow:function(){var t,e=this._tooltipModel,n=this._ecModel,i=this._api;null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")&&(t=this,clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){i.isDisposed()||t.manuallyShowTip(e,n,i,{x:t._lastX,y:t._lastY})})))},manuallyShowTip:function(t,e,n,i){var o,r,s;i.from===this.uid||a.node||(o=S(i,n),this._ticket="",s=i.dataByCoordSys,i.tooltip&&null!=i.x&&null!=i.y?((r=b).position=[i.x,i.y],r.update(),r.tooltip=i.tooltip,this._tryShow({offsetX:i.x,offsetY:i.y,target:r},o)):s?this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:i.dataByCoordSys,tooltipOption:i.tooltipOption},o):null!=i.seriesIndex?this._manuallyAxisShowTip(t,e,n,i)||(s=(r=h(i,e)).point[0],t=r.point[1],null!=s&&null!=t&&this._tryShow({offsetX:s,offsetY:t,position:i.position,target:r.el},o)):null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},o)))},manuallyHideTip:function(t,e,n,i){var o=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(S(i,n))},_manuallyAxisShowTip:function(t,e,n,i){var o=i.seriesIndex,a=i.dataIndex,r=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=o&&null!=a&&null!=r&&(r=e.getSeriesByIndex(o),r&&(t=w([r.getData().getItemModel(a),r,(r.coordinateSystem||{}).model,t]),"axis"===t.get("trigger"))))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:a,position:i.position}),!0},_tryShow:function(t,e){var n,i=t.target;this._tooltipModel&&(this._lastX=t.offsetX,this._lastY=t.offsetY,(n=t.dataByCoordSys)&&n.length?this._showAxisTooltip(n,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){t=t.get("showDelay"),e=o.bind(e,this),clearTimeout(this._showTimout),0<t?this._showTimout=setTimeout(e,t):e()},_showAxisTooltip:function(t,e){var n=this._ecModel,i=this._tooltipModel,a=[e.offsetX,e.offsetY],r=[],s=[],u=w([e.tooltipOption,i]),c=this._renderMode,h=this._newLine,d={},p=(x(t,(function(t){x(t.dataByAxis,(function(t){var e,i,a=n.getComponent(t.axisDim+"Axis",t.axisIndex),u=t.value,p=[];a&&null!=u&&(e=m.getValueLabel(u,a.axis,n,t.seriesDataIndices,t.valueLabelOpt),o.each(t.seriesDataIndices,(function(i){var r,l=n.getSeriesByIndex(i.seriesIndex),h=(i=i.dataIndexInside,l&&l.getDataParams(i));h.axisDim=t.axisDim,h.axisIndex=t.axisIndex,h.axisType=t.axisType,h.axisId=t.axisId,h.axisValue=g.getAxisRawValue(a.axis,u),h.axisValueLabel=e,h&&(s.push(h),h=l.formatTooltip(i,!0,null,c),o.isObject(h)?(r=h.html,l=h.markers,o.merge(d,l)):r=h,p.push(r))})),i=e,"html"!==c?r.push(p.join(h)):r.push((i?l.encodeHTML(i)+h:"")+p.join(h)))}))}),this),r.reverse(),r=r.join(this._newLine+this._newLine),e.position);this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,p,a[0],a[1],this._tooltipContent,s):this._showTooltipContent(u,r,s,Math.random(),a[0],a[1],p,void 0,d)}))},_showSeriesItemTooltip:function(t,e,n){var i,a,r,s,l=this._ecModel,u=e.seriesIndex,c=(l=l.getSeriesByIndex(u),e.dataModel||l),h=e.dataIndex,d=(e=e.dataType,c.getData(e)),p=w([d.getItemModel(h),c,l&&(l.coordinateSystem||{}).model,this._tooltipModel]);l=p.get("trigger");null!=l&&"item"!==l||(i=c.getDataParams(h,e),l=c.formatTooltip(h,!1,e,this._renderMode),r=o.isObject(l)?(a=l.html,l.markers):(a=l,null),s="item_"+c.name+"_"+h,this._showOrMove(p,(function(){this._showTooltipContent(p,a,i,s,t.offsetX,t.offsetY,t.position,t.target,r)})),n({type:"showTip",dataIndexInside:h,dataIndex:d.getRawIndex(h),seriesIndex:u,from:this.uid}))},_showComponentItemTooltip:function(t,e,n){var i=e.tooltip,o=new p(i="string"==typeof i?{content:i,formatter:i}:i,this._tooltipModel,this._ecModel),a=o.get("content"),r=Math.random();this._showOrMove(o,(function(){this._showTooltipContent(o,a,o.get("formatterParams")||{},r,t.offsetX,t.offsetY,t.position,e)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,i,o,a,r,s,u){var c,h,d;this._ticket="",t.get("showContent")&&t.get("show")&&(c=this._tooltipContent,h=t.get("formatter"),r=r||t.get("position"),e=e,h&&"string"==typeof h?e=l.formatTpl(h,n,!0):"function"==typeof h&&(d=v((function(e,i){e===this._ticket&&(c.setContent(i,u,t),this._updatePosition(t,r,o,a,c,n,s))}),this),this._ticket=i,e=h(n,i,d)),c.setContent(e,u,t),c.show(t),this._updatePosition(t,r,o,a,c,n,s))},_updatePosition:function(t,e,n,i,a,r,s){var l,u=this._api.getWidth(),c=this._api.getHeight(),h=(e=e||t.get("position"),a.getSize()),p=t.get("align"),f=t.get("verticalAlign"),g=s&&s.getBoundingRect().clone();s&&g.applyTransform(s.transform),"function"==typeof e&&(e=e([n,i],r,a.el,g,{viewSize:[u,c],contentSize:h.slice()})),o.isArray(e)?(n=_(e[0],u),i=_(e[1],c)):o.isObject(e)?(e.width=h[0],e.height=h[1],n=(r=d.getLayoutRect(e,{width:u,height:c})).x,i=r.y,f=p=null):(n=(l="string"==typeof e&&s?function(t,e,n){var i=n[0],o=n[1],a=0,r=0,s=e.width,l=e.height;switch(t){case"inside":a=e.x+s/2-i/2,r=e.y+l/2-o/2;break;case"top":a=e.x+s/2-i/2,r=e.y-o-5;break;case"bottom":a=e.x+s/2-i/2,r=e.y+l+5;break;case"left":a=e.x-i-5,r=e.y+l/2-o/2;break;case"right":a=e.x+s+5,r=e.y+l/2-o/2}return[a,r]}(e,g,h):function(t,e,n,i,o,a,r){n=n.getOuterSize();var s=n.width;n=n.height;return null!=a&&(i<t+s+a?t-=s+a:t+=a),null!=r&&(o<e+n+r?e-=n+r:e+=r),[t,e]}(n,i,a,u,c,p?null:20,f?null:20))[0],i=l[1]),p&&(n-=M(p)?h[0]/2:"right"===p?h[0]:0),f&&(i-=M(f)?h[1]/2:"bottom"===f?h[1]:0),t.get("confine")&&(r=n,s=i,e=u,g=c,p=(p=a).getOuterSize(),f=p.width,p=p.height,r=Math.min(r+f,e)-f,s=Math.min(s+p,g)-p,r=Math.max(r,0),s=Math.max(s,0),n=(l=[r,s])[0],i=l[1]),a.moveTo(n,i)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&x(e,(function(e,i){e=e.dataByAxis||{};var o=(t[i]||{}).dataByAxis||[];(n&=e.length===o.length)&&x(e,(function(t,e){e=o[e]||{};var i=t.seriesDataIndices||[],a=e.seriesDataIndices||[];(n&=t.value===e.value&&t.axisType===e.axisType&&t.axisId===e.axisId&&i.length===a.length)&&x(i,(function(t,e){e=a[e],n&=t.seriesIndex===e.seriesIndex&&t.dataIndex===e.dataIndex}))}))})),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){a.node||(this._tooltipContent.dispose(),f.unregister("itemTooltip",e))}});function w(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(p.isInstance(n)&&(n=n.get("tooltip",!0)),e=new p(n="string"==typeof n?{formatter:n}:n,e,e.ecModel))}return e}function S(t,e){return t.dispatchAction||o.bind(e.dispatchAction,e)}function M(t){return"center"===t||"middle"===t}t.exports=n},4319:function(t,e,n){var i=n("6d8b"),o=n("22d1"),a=n("e0d3").makeInner,r=n("625e"),s=r.enableClassExtend,l=(r=r.enableClassCheck,n("3901")),u=n("9bdb7"),c=n("fe21"),h=(n=n("551f"),i.mixin),d=a();function p(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function f(t,e,n){for(var i=0;i<e.length&&(!e[i]||null!=(t=t&&"object"==typeof t?t[e[i]]:null));i++);return null==t&&n?n.get(e):t}function g(t,e){var n=d(t).getParent;return n?n.call(t,e):t.parentModel}p.prototype={constructor:p,init:null,mergeOption:function(t){i.merge(this.option,t,!0)},get:function(t,e){return null==t?this.option:f(this.option,this.parsePath(t),!e&&g(this,t))},getShallow:function(t,e){var n=this.option;n=null==n?n:n[t],e=!e&&g(this,t);return null==n&&e?e.getShallow(t):n},getModel:function(t,e){var n;return new p(null==t?this.option:f(this.option,t=this.parsePath(t)),e=e||(n=g(this,t))&&n.getModel(t),this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){return new this.constructor(i.clone(this.option))},setReadOnly:function(t){},parsePath:function(t){return"string"==typeof t?t.split("."):t},customizeGetParent:function(t){d(this).getParent=t},isAnimationEnabled:function(){if(!o.node)return null!=this.option.animation?!!this.option.animation:this.parentModel?this.parentModel.isAnimationEnabled():void 0}},s(p),r(p),h(p,l),h(p,u),h(p,c),h(p,n),t.exports=p},4338:function(t,e,n){var i=n("4bf6");n("2039").register("single",{create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(o,a){var r=new i(o,t,e);r.name="single_"+a,r.resize(o,e),o.coordinateSystem=r,n.push(r)})),t.eachSeries((function(e){var n;"singleAxis"===e.get("coordinateSystem")&&(n=t.queryComponents({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0],e.coordinateSystem=n&&n.coordinateSystem)})),n},dimensions:i.prototype.dimensions})},"43b8":function(t,e,n){n=n("2449").extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}}),t.exports=n},4411:function(t,e,n){function i(){}for(var o=n("3eba"),a=n("55ac"),r=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<r.length;s++)o.registerAction({type:r[s],update:"updateView"},i);o.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},(function(e,n){var i,o=a.retrieveTargetInfo(t,["treemapZoomToNode","treemapRootToNode"],e);o&&((i=e.getViewRoot())&&(t.direction=a.aboveViewRoot(i,o.node)?"rollUp":"drillDown"),e.resetViewRoot(o.node))}))}))},4436:function(t,e,n){var i=n("74cb");function o(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}o.prototype={constructor:o,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var n;e=(t-this._startTime-this._pausedTime)/this._life;if(!(e<0))return e=Math.min(e,1),n="function"==typeof(n="string"==typeof(n=this.easing)?i[n]:n)?n(e):e,this.fire("frame",n),1===e?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){this[t="on"+t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}},t.exports=o},"44fb":function(t,e,n){var i=n("3eba"),o=n("55ac"),a="sunburstRootToNode",r=(i.registerAction({type:a,update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var i,r=o.retrieveTargetInfo(t,[a],e);r&&((i=e.getViewRoot())&&(t.direction=o.aboveViewRoot(i,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node))}))})),"sunburstHighlight");i.registerAction({type:r,update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){e=o.retrieveTargetInfo(t,[r],e),e&&(t.highlight=e.node)}))})),i.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){t.unhighlight=!0}))}))},4527:function(t,e,n){var i=n("2306"),o=n("6d8b");function a(t,e,n){i.Group.call(this),this._createPolyline(t,e,n)}n=a.prototype,n._createPolyline=function(t,e,n){var o=t.getItemLayout(e);o=new i.Polyline({shape:{points:o}});this.add(o),this._updateCommonStl(t,e,n)},n.updateData=function(t,e,n){var o=t.hostModel,a=this.childAt(0),r={shape:{points:t.getItemLayout(e)}};i.updateProps(a,r,o,e),this._updateCommonStl(t,e,n)},n._updateCommonStl=function(t,e,n){var a=this.childAt(0),r=t.getItemModel(e),s=(e=t.getItemVisual(e,"color"),n&&n.lineStyle),l=n&&n.hoverLineStyle;n&&!t.hasItemOption||(s=r.getModel("lineStyle").getLineStyle(),l=r.getModel("emphasis.lineStyle").getLineStyle()),a.useStyle(o.defaults({strokeNoScale:!0,fill:"none",stroke:e},s)),a.hoverStyle=l,i.setHoverStyle(this)},n.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},o.inherits(a,i.Group),t.exports=a},4573:function(t,e,n){n=n("cbe5").extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var n=e.cx,i=e.cy,o=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,o,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,o,!0)}}),t.exports=n},4650:function(t,e,n){var i=n("3eba"),o=n("6d8b");function a(t,e,n){var i,a={},r="toggleSelected"===t;return n.eachComponent("legend",(function(n){r&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name));var s=n.getData();o.each(s,(function(t){var e;t=t.get("name");"\n"!==t&&""!==t&&(e=n.isSelected(t),a.hasOwnProperty(t)?a[t]=a[t]&&e:a[t]=e)}))})),"allSelect"===t||"inverseSelect"===t?{selected:a}:{name:e.name,selected:a}}i.registerAction("legendToggleSelect","legendselectchanged",o.curry(a,"toggleSelected")),i.registerAction("legendAllSelect","legendselectall",o.curry(a,"allSelect")),i.registerAction("legendInverseSelect","legendinverseselect",o.curry(a,"inverseSelect")),i.registerAction("legendSelect","legendselected",o.curry(a,"select")),i.registerAction("legendUnSelect","legendunselected",o.curry(a,"unSelect"))},"471e":function(t,e){t.exports=function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}},4784:function(t,e,n){var i=n("3eba"),o=n("f706"),a=n("c8ef"),r=n("1687"),s=n("87c3");n=i.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new o(a)},render:function(t,e,n){t=t.getData();var i=this._symbolDraw;i.updateData(t),this.group.add(i.group)},updateTransform:function(t,e,n){var i=t.getData();this.group.dirty(),t=s().reset(t);t.progress&&t.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_updateGroupTransform:function(t){t=t.coordinateSystem,t&&t.getRoamTransform&&(this.group.transform=r.clone(t.getRoamTransform()),this.group.decomposeTransform())},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=n},"480e":function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("2306"),a=n("cd84"),r=n("6d8b");n=i.extendChartView({type:"heatmap",render:function(t,e,n){e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var i,o;e=t.coordinateSystem;"cartesian2d"===e.type||"calendar"===e.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):"lng"===(o=(o=e).dimensions)[0]&&"lat"===o[1]&&this._renderOnGeo(e,t,i,n)},incrementalPrepareRender:function(t,e,n){this.group.removeAll()},incrementalRender:function(t,e,n,i){e.coordinateSystem&&this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,n,i,a){for(var s,l,u,c,h=t.coordinateSystem,d=("cartesian2d"===h.type&&(s=h.getAxis("x"),l=h.getAxis("y"),u=s.getBandWidth(),c=l.getBandWidth()),this.group),p=t.getData(),f="emphasis.itemStyle",g="emphasis.label",m=t.getModel("itemStyle").getItemStyle(["color"]),y=t.getModel(f).getItemStyle(),v=t.getModel("label"),x=t.getModel(g),_=h.type,b="cartesian2d"===_?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],w=n;w<i;w++){if("cartesian2d"===_){if(isNaN(p.get(b[2],w)))continue;var S=h.dataToPoint([p.get(b[0],w),p.get(b[1],w)]);S=new o.Rect({shape:{x:Math.floor(Math.round(S[0])-u/2),y:Math.floor(Math.round(S[1])-c/2),width:Math.ceil(u),height:Math.ceil(c)},style:{fill:p.getItemVisual(w,"color"),opacity:p.getItemVisual(w,"opacity")}})}else{if(isNaN(p.get(b[1],w)))continue;S=new o.Rect({z2:1,shape:h.dataToRect([p.get(b[0],w)]).contentShape,style:{fill:p.getItemVisual(w,"color"),opacity:p.getItemVisual(w,"opacity")}})}var M=p.getItemModel(w),I=(M=(p.hasItemOption&&(m=M.getModel("itemStyle").getItemStyle(["color"]),y=M.getModel(f).getItemStyle(),v=M.getModel("label"),x=M.getModel(g)),t.getRawValue(w)),"-");M&&null!=M[2]&&(I=M[2]),o.setLabelStyle(m,y,v,x,{labelFetcher:t,labelDataIndex:w,defaultText:I,isRectText:!0}),S.setStyle(m),o.setHoverStyle(S,p.hasItemOption?y:r.extend({},y)),(S.incremental=a)&&(S.useHoverLayer=!0),d.add(S),p.setItemGraphicEl(w,S)}},_renderOnGeo:function(t,e,n,i){var s,l,u,c,h,d,p,f=n.targetVisuals.inRange,g=n.targetVisuals.outOfRange,m=e.getData(),y=this._hmLayer||this._hmLayer||new a,v=(e=(y.blurSize=e.get("blurSize"),y.pointSize=e.get("pointSize"),y.minOpacity=e.get("minOpacity"),y.maxOpacity=e.get("maxOpacity"),t.getViewRect().clone()),t.getRoamTransform()),x=(e.applyTransform(v),Math.max(e.x,0)),_=Math.max(e.y,0),b=(v=Math.min(e.width+e.x,i.getWidth()),e=Math.min(e.height+e.y,i.getHeight()),i=v-x,v=e-_,e=[m.mapDimension("lng"),m.mapDimension("lat"),m.mapDimension("value")],m=m.mapArray(e,(function(e,n,i){return e=t.dataToPoint([e,n]),e[0]-=x,e[1]-=_,e.push(i),e})),e=n.getExtent(),"visualMap.continuous"===n.type?(p=n.option.range,b=e[1]-e[0],p=[(p[0]-e[0])/b,(p[1]-e[0])/b],function(t){return t>=p[0]&&t<=p[1]}):(s=e,l=n.getPieceList(),u=n.option.selected,c=s[1]-s[0],h=(l=r.map(l,(function(t){return{interval:[(t.interval[0]-s[0])/c,(t.interval[1]-s[0])/c]}}))).length,d=0,function(t){for(var e=d;e<h;e++)if((n=l[e].interval)[0]<=t&&t<=n[1]){d=e;break}if(e===h){var n;for(e=d-1;0<=e;e--)if((n=l[e].interval)[0]<=t&&t<=n[1]){d=e;break}}return 0<=e&&e<h&&u[e]}));y.update(m,i,v,f.color.getNormalizer(),{inRange:f.color.getColorMapper(),outOfRange:g.color.getColorMapper()},b),e=new o.Image({style:{width:i,height:v,x:x,y:_,image:y.canvas},silent:!0});this.group.add(e)},dispose:function(){}}),t.exports=n},"480f":function(t,e,n){var i=n("4a3f"),o=n("401b"),a=n("53f3").getSymbolSize,r=[],s=[],l=[],u=i.quadraticAt,c=o.distSquare,h=Math.abs;function d(t,e,n){for(var i,o=t[0],a=t[1],d=t[2],p=1/0,f=n*n,g=.1,m=.1;m<=.9;m+=.1)r[0]=u(o[0],a[0],d[0],m),r[1]=u(o[1],a[1],d[1],m),(x=h(c(r,e)-f))<p&&(p=x,i=m);for(var y=0;y<32;y++){var v=i+g,x=(s[0]=u(o[0],a[0],d[0],i),s[1]=u(o[1],a[1],d[1],i),l[0]=u(o[0],a[0],d[0],v),l[1]=u(o[1],a[1],d[1],v),c(s,e)-f);if(h(x)<.01)break;v=c(l,e)-f,g/=2,x<0?0<=v?i+=g:i-=g:0<=v?i-=g:i+=g}return i}t.exports=function(t,e){var n=[],r=i.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];e/=2,t.eachEdge((function(t,i){var c,h,p=t.getLayout(),f=t.getVisual("fromSymbol"),g=t.getVisual("toSymbol"),m=(p.__original||(p.__original=[o.clone(p[0]),o.clone(p[1])],p[2]&&p.__original.push(o.clone(p[2]))),p.__original);null!=p[2]?(o.copy(s[0],m[0]),o.copy(s[1],m[2]),o.copy(s[2],m[1]),f&&"none"!==f&&(h=a(t.node1),c=d(s,m[0],h*e),r(s[0][0],s[1][0],s[2][0],c,n),s[0][0]=n[3],s[1][0]=n[4],r(s[0][1],s[1][1],s[2][1],c,n),s[0][1]=n[3],s[1][1]=n[4]),g&&"none"!==g&&(h=a(t.node2),c=d(s,m[1],h*e),r(s[0][0],s[1][0],s[2][0],c,n),s[1][0]=n[1],s[2][0]=n[2],r(s[0][1],s[1][1],s[2][1],c,n),s[1][1]=n[1],s[2][1]=n[2]),o.copy(p[0],s[0]),o.copy(p[1],s[2]),o.copy(p[2],s[1])):(o.copy(l[0],m[0]),o.copy(l[1],m[1]),o.sub(u,l[1],l[0]),o.normalize(u,u),f&&"none"!==f&&(h=a(t.node1),o.scaleAndAdd(l[0],l[0],u,h*e)),g&&"none"!==g&&(h=a(t.node2),o.scaleAndAdd(l[1],l[1],u,-h*e)),o.copy(p[0],l[0]),o.copy(p[1],l[1]))}))}},"48a9":function(t,e,n){function i(t,e,n,i,o,r){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==i?0:i,this.type="linear",this.global=r||!1,a.call(this,o)}var o=n("6d8b"),a=n("42e5");i.prototype={constructor:i},o.inherits(i,a),t.exports=i},"48ac":function(t,e,n){n=n("3eba").extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),t.exports=n},"48c7":function(t,e,n){var i=n("6d8b"),o=n("6cb7"),a=n("9e47"),r=(n=n("2023"),o.extend({type:"cartesian2dAxis",axis:null,init:function(){r.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){r.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){r.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}}));function s(t,e){return e.type||(e.data?"category":"value")}i.merge(r.prototype,n),o={offset:0},a("x",r,s,o),a("y",r,s,o),t.exports=r},4942:function(t,e,n){var i=function(){};n=i=1===n("2cf4c").debugMode?console.error:i;t.exports=n},"49e8":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("d81e").updateCenterAndZoom;i.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){var i,r=e.coordinateSystem;"geo"===r.type&&(i=a(r,t,e.get("scaleLimit")),e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom),"series"===n)&&o.each(e.seriesGroup,(function(t){t.setCenter(i.center),t.setZoom(i.zoom)}))}))}))},"4a01":function(t,e,n){var i=n("6d8b"),o=n("1fab"),a=n("607d"),r=n("a4fe");function s(t){this.pointerChecker,this._zr=t,this._opt={};var e=i.bind,n=e(l,this),a=e(u,this),r=e(c,this),s=e(h,this),p=e(d,this);o.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,o){this.disable(),this._opt=i.defaults(i.clone(o)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),!0!==(e=null==e||e)&&"move"!==e&&"pan"!==e||(t.on("mousedown",n),t.on("mousemove",a),t.on("mouseup",r)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",p))},this.disable=function(){t.off("mousedown",n),t.off("mousemove",a),t.off("mouseup",r),t.off("mousewheel",s),t.off("pinch",p)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(t){var e,n;a.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable||(e=t.offsetX,n=t.offsetY,this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0))}function u(t){var e,n,i,o,s,l;this._dragging&&g("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!r.isTaken(this._zr,"globalPan")&&(e=t.offsetX,n=t.offsetY,s=e-(i=this._x),l=n-(o=this._y),this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&a.stop(t.event),f(this,"pan","moveOnMouseMove",t,{dx:s,dy:l,oldX:i,oldY:o,newX:e,newY:n}))}function c(t){a.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function h(t){var e=g("zoomOnMouseWheel",t,this._opt),n=g("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,o=Math.abs(i),a=t.offsetX,r=t.offsetY;0!==i&&(e||n)&&(e&&(e=3<o?1.4:1<o?1.2:1.1,p(this,"zoom","zoomOnMouseWheel",t,{scale:0<i?e:1/e,originX:a,originY:r})),n)&&p(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(0<i?1:-1)*(3<(o=Math.abs(i))?.4:1<o?.15:.05),originX:a,originY:r})}function d(t){r.isTaken(this._zr,"globalPan")||p(this,"zoom",null,t,{scale:1<t.pinchScale?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function p(t,e,n,i,o){t.pointerChecker&&t.pointerChecker(i,o.originX,o.originY)&&(a.stop(i.event),f(t,e,n,i,o))}function f(t,e,n,o,a){a.isAvailableBehavior=i.bind(g,null,n,o),t.trigger(e,a)}function g(t,e,n){return n=n[t],!t||n&&(!i.isString(n)||e.event[n+"Key"])}i.mixin(s,o),t.exports=s},"4a3f":function(t,e,n){n=n("401b");var i=n.create,o=n.distSquare,a=Math.pow,r=Math.sqrt,s=1e-8,l=r(3),u=i(),c=i(),h=i();function d(t){return-s<t&&t<s}function p(t){return s<t||t<-s}function f(t,e,n,i,o){var a=1-o;return a*a*(a*t+3*o*e)+o*o*(o*i+3*a*n)}function g(t,e,n,i){var o=1-i;return o*(o*t+2*i*e)+i*i*n}e.cubicAt=f,e.cubicDerivativeAt=function(t,e,n,i,o){var a=1-o;return 3*(((e-t)*a+2*(n-e)*o)*a+(i-n)*o*o)},e.cubicRootAt=function(t,e,n,i,o,s){i=i+3*(e-n)-t;var u,c,h=(n=3*(n-2*e+t))*(e=3*(e-t))-9*i*(t-=o),p=(t=e*e-3*n*t,0);return d(o=n*n-3*i*e)&&d(h)?d(n)?s[0]=0:0<=(u=-e/n)&&u<=1&&(s[p++]=u):d(e=h*h-4*o*t)?(c=-(t=h/o)/2,0<=(u=-n/i+t)&&u<=1&&(s[p++]=u),0<=c&&c<=1&&(s[p++]=c)):0<e?(e=o*n+1.5*i*(-h-(t=r(e))),0<=(u=(-n-((t=(t=o*n+1.5*i*(-h+t))<0?-a(-t,1/3):a(t,1/3))+(e=e<0?-a(-e,1/3):a(e,1/3))))/(3*i))&&u<=1&&(s[p++]=u)):(t=(2*o*n-3*i*h)/(2*r(o*o*o)),e=Math.acos(t)/3,u=(-n-2*(h=r(o))*(t=Math.cos(e)))/(3*i),c=(-n+h*(t+l*Math.sin(e)))/(3*i),o=(-n+h*(t-l*Math.sin(e)))/(3*i),0<=u&&u<=1&&(s[p++]=u),0<=c&&c<=1&&(s[p++]=c),0<=o&&o<=1&&(s[p++]=o)),p},e.cubicExtrema=function(t,e,n,i,o){var a,s=6*n-12*e+6*t;i=9*e+3*i-3*t-9*n,n=3*e-3*t,e=0;return d(i)?p(s)&&0<=(a=-n/s)&&a<=1&&(o[e++]=a):d(t=s*s-4*i*n)?o[0]=-s/(2*i):0<t&&(t=(-s-(n=r(t)))/(2*i),0<=(a=(-s+n)/(2*i))&&a<=1&&(o[e++]=a),0<=t)&&t<=1&&(o[e++]=t),e},e.cubicSubdivide=function(t,e,n,i,o,a){var r=(e-t)*o+t,s=((e=(n-e)*o+e)-r)*o+r;o=((e=((n=(i-n)*o+n)-e)*o+e)-s)*o+s;a[0]=t,a[1]=r,a[2]=s,a[3]=o,a[4]=o,a[5]=e,a[6]=n,a[7]=i},e.cubicProjectPoint=function(t,e,n,i,a,s,l,d,p,g,m){var y,v,x,_,b=.005,w=1/0;u[0]=p,u[1]=g;for(var S=0;S<1;S+=.05)c[0]=f(t,n,a,l,S),c[1]=f(e,i,s,d,S),(x=o(u,c))<w&&(y=S,w=x);w=1/0;for(var M=0;M<32&&!(b<1e-4);M++)v=y+b,c[0]=f(t,n,a,l,_=y-b),c[1]=f(e,i,s,d,_),x=o(c,u),0<=_&&x<w?(y=_,w=x):(h[0]=f(t,n,a,l,v),h[1]=f(e,i,s,d,v),_=o(h,u),v<=1&&_<w?(y=v,w=_):b*=.5);return m&&(m[0]=f(t,n,a,l,y),m[1]=f(e,i,s,d,y)),r(w)},e.quadraticAt=g,e.quadraticDerivativeAt=function(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))},e.quadraticRootAt=function(t,e,n,i,o){var a,s;n=t-2*e+n,e=2*(e-t),t-=i,i=0;return d(n)?p(e)&&0<=(a=-t/e)&&a<=1&&(o[i++]=a):d(t=e*e-4*n*t)?0<=(a=-e/(2*n))&&a<=1&&(o[i++]=a):0<t&&(s=(-e-(t=r(t)))/(2*n),0<=(a=(-e+t)/(2*n))&&a<=1&&(o[i++]=a),0<=s)&&s<=1&&(o[i++]=s),i},e.quadraticExtremum=function(t,e,n){return 0==(n=t+n-2*e)?.5:(t-e)/n},e.quadraticSubdivide=function(t,e,n,i,o){var a=(e-t)*i+t;i=((e=(n-e)*i+e)-a)*i+a;o[0]=t,o[1]=a,o[2]=i,o[3]=i,o[4]=e,o[5]=n},e.quadraticProjectPoint=function(t,e,n,i,a,s,l,d,p){var f,m=.005,y=1/0;u[0]=l,u[1]=d;for(var v=0;v<1;v+=.05)c[0]=g(t,n,a,v),c[1]=g(e,i,s,v),(w=o(u,c))<y&&(f=v,y=w);y=1/0;for(var x=0;x<32&&!(m<1e-4);x++){var _=f-m,b=f+m,w=(c[0]=g(t,n,a,_),c[1]=g(e,i,s,_),o(c,u));0<=_&&w<y?(f=_,y=w):(h[0]=g(t,n,a,b),h[1]=g(e,i,s,b),_=o(h,u),b<=1&&_<y?(f=b,y=_):m*=.5)}return p&&(p[0]=g(t,n,a,f),p[1]=g(e,i,s,f)),r(y)}},"4a9d":function(t,e,n){var i=n("dcb3"),o=n("ff2e"),a=n("0156");n=n("6679"),i=i.extend({makeElOption:function(t,e,n,i,l){var u,c=n.axis,h=c.grid,d=i.get("type"),p=r(h,c).getOtherAxis(c).getGlobalExtent(),f=c.toGlobalCoord(c.dataToCoord(e,!0));d&&"none"!==d&&(u=o.buildElStyle(i),(d=s[d](c,f,p)).style=u,t.graphicKey=d.type,t.pointer=d),c=a.layout(h.model,n);o.buildCartesianSingleLabelElOption(e,t,c,n,i,l)},getHandleTransform:function(t,e,n){var i=a.layout(e.axis.grid.model,e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:o.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){n=n.axis;var o=n.grid,a=n.getGlobalExtent(!0),s=(o=r(o,n).getOtherAxis(n).getGlobalExtent(),n="x"===n.dim?0:1,t.position);s[n]+=e[n],s[n]=Math.min(a[1],s[n]),s[n]=Math.max(a[0],s[n]),e=(o[1]+o[0])/2,a=[e,e];return a[n]=s[n],{position:s,rotation:t.rotation,cursorPoint:a,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][n]}}});function r(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var s={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:o.makeLineShape([e,n[0]],[e,n[1]],l(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),a=n[1]-n[0];return{type:"Rect",shape:o.makeRectShape([e-i/2,n[0]],[i,a],l(t))}}};function l(t){return"x"===t.dim?0:1}n.registerAxisPointerClass("CartesianAxisPointer",i),t.exports=i},"4aa2":function(t,e,n){var i=n("cbe5");n=n("897a"),n=i.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:n(i.prototype.brush),buildPath:function(t,e){var n=e.cx,i=e.cy,o=Math.max(e.r0||0,0),a=Math.max(e.r,0),r=e.startAngle,s=e.endAngle,l=(e=e.clockwise,Math.cos(r)),u=Math.sin(r);t.moveTo(l*o+n,u*o+i),t.lineTo(l*a+n,u*a+i),t.arc(n,i,a,r,s,!e),t.lineTo(Math.cos(s)*o+n,Math.sin(s)*o+i),0!==o&&t.arc(n,i,o,s,r,e),t.closePath()}});t.exports=n},"4ab1":function(t,e,n){var i=n("8727").createElement,o=n("6d8b"),a=n("cbe5"),r=n("0da8"),s=n("76a5"),l=(n=n("3f8e"),n.path),u=n.image,c=n.text;function h(t,e,n,i,o){this._zrId=t,this._svgRoot=e,this._tagNames="string"==typeof n?[n]:n,this._markLabel=i,this._domName=o||"_dom",this.nextId=0}h.prototype.createElement=i,h.prototype.getDefs=function(t){var e=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");return 0===n.length?t?((n=e.insertBefore(this.createElement("defs"),e.firstChild)).contains||(n.contains=function(t){var e=n.children;if(e)for(var i=e.length-1;0<=i;--i)if(e[i]===t)return!0;return!1}),n):null:n[0]},h.prototype.update=function(t,e){var n;t&&(n=this.getDefs(!1),t[this._domName]&&n.contains(t[this._domName])?"function"==typeof e&&e(t):(n=this.add(t))&&(t[this._domName]=n))},h.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},h.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},h.prototype.getDoms=function(){var t,e=this.getDefs(!1);return e?(t=[],o.each(this._tagNames,(function(n){n=e.getElementsByTagName(n),t=t.concat([].slice.call(n))})),t):[]},h.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;o.each(t,(function(t){t[e._markLabel]="0"}))},h.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},h.prototype.removeUnused=function(){var t,e,n=this.getDefs(!1);n&&(t=this.getDoms(),e=this,o.each(t,(function(t){"1"!==t[e._markLabel]&&n.removeChild(t)})))},h.prototype.getSvgProxy=function(t){return t instanceof a?l:t instanceof r?u:t instanceof s?c:l},h.prototype.getTextSvgElement=function(t){return t.__textSvgEl},h.prototype.getSvgElement=function(t){return t.__svgEl},t.exports=h},"4b08":function(t,e,n){n=n("7dcf").extend({type:"dataZoom.select"}),t.exports=n},"4bf6":function(t,e,n){var i=n("66fc"),o=n("697e"),a=n("f934").getLayoutRect,r=n("6d8b").each;function s(t,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,n),this.model=t}s.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:s,_init:function(t,e,n){var a=this.dimension,r=(a=new i(a,o.createScaleByModel(t),[0,0],t.get("type"),t.get("position")),"category"===a.type);a.onBand=r&&t.get("boundaryGap"),a.inverse=t.get("inverse"),a.orient=t.get("orient"),(t.axis=a).model=t,(a.coordinateSystem=this)._axis=a},update:function(t,e){t.eachSeries((function(t){var e;t.coordinateSystem===this&&(e=t.getData(),r(e.mapDimension(this.dimension,!0),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),o.niceScaleExtent(this._axis.scale,this._axis.model))}),this)},resize:function(t,e){this._rect=a({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],o=e.reverse?1:0;e.setExtent(i[o],i[1-o]),this._updateAxisTransform(e,n?t.x:t.y)},_updateAxisTransform:function(t,e){var n=t.getExtent(),i=n[0]+n[1];n=t.isHorizontal();t.toGlobalCoord=n?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=n?function(t){return t-e}:function(t){return i-t+e}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),i=[],o="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[o]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-o]=0==o?n.y+n.height/2:n.x+n.width/2,i}},t.exports=s},"4c86":function(t,e,n){var i=n("6d8b").each,o=n("bda7"),a=n("e0d3").makeInner,r=n("320a"),s=n("1792"),l=n("6bd4"),u=n("a7f2"),c=a();t.exports={load:function(t,e,n){var a=c(e).parsed;if(a)return a;var h,d=e.specialAreas||{};a=e.geoJSON;try{h=a?o(a,n):[]}catch(e){throw new Error("Invalid geoJson format\n"+e.message)}return r(t,h),i(h,(function(e){var n=e.name;s(t,e),l(t,e),u(t,e),n=d[n];n&&e.transformTo(n.left,n.top,n.width,n.height)})),c(e).parsed={regions:h,boundingRect:function(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();(e=e||i.clone()).union(i)}return e}(h)}}}},"4c99":function(t,e,n){n=n("cccd");var i=["itemStyle","borderColor"],o=["itemStyle","borderColor0"],a=["itemStyle","color"],r=["itemStyle","color0"];n={seriesType:"candlestick",plan:n(),performRawSeries:!0,reset:function(t,e){if(t.getData().setVisual({legendSymbol:"roundRect",colorP:n(1,t),colorN:n(-1,t),borderColorP:s(1,t),borderColorN:s(-1,t)}),!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var i;null!=(i=t.next());){var o=e.getItemModel(i),a=e.getItemLayout(i).sign;e.setItemVisual(i,{color:n(a,o),borderColor:s(a,o)})}}};function n(t,e){return e.get(0<t?a:r)}function s(t,e){return e.get(0<t?i:o)}}};t.exports=n},"4d62":function(t,e,n){var i=n("2306"),o=n("6d8b");n=n("e887");function a(t,e){i.Group.call(this);var n=new i.Polygon,o=new i.Polyline,a=new i.Text;this.add(n),this.add(o),this.add(a),this.highDownOnUpdate=function(t,e){"emphasis"===e?(o.ignore=o.hoverIgnore,a.ignore=a.hoverIgnore):(o.ignore=o.normalIgnore,a.ignore=a.normalIgnore)},this.updateData(t,e,!0)}var r=a.prototype,s=["itemStyle","opacity"];r.updateData=function(t,e,n){var a=this.childAt(0),r=t.hostModel,l=t.getItemModel(e),u=t.getItemLayout(e),c=null==(c=t.getItemModel(e).get(s))?1:c;a.useStyle({}),n?(a.setShape({points:u.points}),a.setStyle({opacity:0}),i.initProps(a,{style:{opacity:c}},r,e)):i.updateProps(a,{style:{opacity:c},shape:{points:u.points}},r,e),n=l.getModel("itemStyle"),c=t.getItemVisual(e,"color");a.setStyle(o.defaults({lineJoin:"round",fill:c},n.getItemStyle(["opacity"]))),a.hoverStyle=n.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),i.setHoverStyle(this)},r._updateLabel=function(t,e){var n=this.childAt(1),o=this.childAt(2),a=t.hostModel,r=t.getItemModel(e),s=t.getItemLayout(e).label,l=(a=(t.getItemVisual(e,"color"),i.updateProps(n,{shape:{points:s.linePoints||s.linePoints}},a,e),i.updateProps(o,{style:{x:s.x,y:s.y}},a,e),o.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10}),r.getModel("label")),r.getModel("emphasis.label")),u=r.getModel("labelLine"),c=(r=r.getModel("emphasis.labelLine"),t.getItemVisual(e,"color"));i.setLabelStyle(o.style,o.hoverStyle={},a,l,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:c,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),o.ignore=o.normalIgnore=!a.get("show"),o.hoverIgnore=!l.get("show"),n.ignore=n.normalIgnore=!u.get("show"),n.hoverIgnore=!r.get("show"),n.setStyle({stroke:c}),n.setStyle(u.getModel("lineStyle").getLineStyle()),n.hoverStyle=r.getModel("lineStyle").getLineStyle()},o.inherits(a,i.Group),r=n.extend({type:"funnel",render:function(t,e,n){var i=t.getData(),o=this._data,r=this.group;i.diff(o).add((function(t){var e=new a(i,t);i.setItemGraphicEl(t,e),r.add(e)})).update((function(t,e){e=o.getItemGraphicEl(e),e.updateData(i,t),r.add(e),i.setItemGraphicEl(t,e)})).remove((function(t){t=o.getItemGraphicEl(t),r.remove(t)})).execute(),this._data=i},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=r},"4d85":function(t,e,n){var i=n("e46b");n=n("4f85").extend({type:"series.gauge",getInitialData:function(t,e){return i(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}});t.exports=n},"4e08":function(t,e,n){(function(t){"undefined"!=typeof window?n=window.__DEV__:void 0!==t&&(n=t.__DEV__);var n;t=n=void 0===n||n;e.__DEV__=t}).call(this,n("c8ba"))},"4e10":function(t,e,n){var i=n("6d8b"),o=n("e46b"),a=n("4f85"),r=n("eda2"),s=r.encodeHTML,l=r.addCommas,u=(r=n("7023"),n("2b17").retrieveRawAttr),c=n("5b87"),h=n("0f99").makeSeriesEncodeForNameBased;n=a.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var e=o(this,{coordDimensions:["value"],encodeDefaulter:i.curry(h,this)}),n=e.mapDimension("value"),a=i.createHashMap(),r=[],s=[],l=0,d=e.count();l<d;l++){var p=e.getName(l);a.set(p,!0),r.push({name:p,value:e.get(n,l),selected:u(e,l,"selected")})}var f=c.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return i.each(f.regions,(function(t){t=t.name,a.get(t)||(r.push({name:t}),s.push(t))})),this.updateSelectedMap(r),e.appendValues([],s),e},getHostGeoModel:function(){var t=this.option.geoIndex;return null!=t?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},getRegionModel:function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},formatTooltip:function(t,e,n,i){for(var o=this.getData(),a=l(this.getRawValue(t)),r=o.getName(t),u=this.seriesGroup,c=[],h=0;h<u.length;h++){var d=u[h].originalData.indexOfName(r),p=o.mapDimension("value");isNaN(u[h].originalData.get(p,d))||c.push(s(u[h].name))}return t="html"===i?"<br/>":"\n",c.join(", ")+t+s(r+" : "+a)},getTooltipPosition:function(t){var e;if(null!=t)return t=this.getData().getName(t),(t=(e=this.coordinateSystem).getRegion(t))&&e.dataToPoint(t.center)},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});i.mixin(n,r),t.exports=n},"4e47":function(t,e,n){var i=n("6d8b"),o=n("2306"),a="none",r="ancestor",s="self";function l(t,e,n){o.Group.call(this);var i=new o.Sector({z2:2}),a=(i.seriesIndex=e.seriesIndex,new o.Text({z2:4,silent:t.getModel("label").get("silent")}));function r(){a.ignore=a.hoverIgnore}function s(){a.ignore=a.normalIgnore}this.add(i),this.add(a),this.updateData(!0,t,"normal",e,n),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}n=l.prototype,n.updateData=function(t,e,n,a,r){(this.node=e).piece=this,a=a||this._seriesModel,r=r||this._ecModel;var s,l=this.childAt(0),u=(l.dataIndex=e.dataIndex,e.getModel()),c=e.getLayout(),h=i.extend({},c),d=(h.label=null,function(t,e){var n=t.getVisual("color"),o=t.getVisual("visualMeta");if(o&&0!==o.length||(n=null),o=t.getModel("itemStyle").get("color"),!o){if(n)return n;if(0===t.depth)return e.option.color[0];n=e.option.color.length,o=e.option.color[function(t){for(var e=t;1<e.depth;)e=e.parentNode;return t=t.getAncestors()[0],i.indexOf(t.children,e)}(t)%n]}return o}(e,r)),p=(p=e,s=d,a.getData().setItemVisual(p.dataIndex,"color",s),u.getModel("itemStyle").getItemStyle());s="normal"===n?p:(s=u.getModel(n+".itemStyle").getItemStyle(),i.merge(s,p)),s=i.defaults({lineJoin:"bevel",fill:s.fill||d},s),t?(l.setShape(h),l.shape.r=c.r0,o.updateProps(l,{shape:{r:c.r}},a,e.dataIndex),l.useStyle(s)):"object"==typeof s.fill&&s.fill.type||"object"==typeof l.style.fill&&l.style.fill.type?(o.updateProps(l,{shape:h},a),l.useStyle(s)):o.updateProps(l,{shape:h,style:s},a),this._updateLabel(a,d,n),p=u.getShallow("cursor");p&&l.attr("cursor",p),t&&(c=a.getShallow("highlightPolicy"),this._initEvents(l,e,a,c)),this._seriesModel=a||this._seriesModel,this._ecModel=r||this._ecModel,o.setHoverStyle(this)},n.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode((function(n){n.piece&&(e.node===n?n.piece.updateData(!1,n,"emphasis"):function(t,e,n){if(n!==a)return n===s?t===e:n===r?t===e||t.isAncestorOf(e):t===e||t.isDescendantOf(e)}(n,e.node,t)?n.piece.childAt(0).trigger("highlight"):t!==a&&n.piece.childAt(0).trigger("downplay"))}))},n.onNormal=function(){this.node.hostTree.root.eachNode((function(t){t.piece&&t.piece.updateData(!1,t,"normal")}))},n.onHighlight=function(){this.updateData(!1,this.node,"highlight")},n.onDownplay=function(){this.updateData(!1,this.node,"downplay")},n._updateLabel=function(t,e,n){var a,r=this.node.getModel(),s=r.getModel("label"),l="normal"===n||"emphasis"===n?s:r.getModel(n+".label"),u=(r=r.getModel("emphasis.label"),l.get("formatter")),c=(t=i.retrieve(t.getFormattedLabel(this.node.dataIndex,u?n:"normal",null,null,"label"),this.node.name),u=(!1===f("show")&&(t=""),this.node.getLayout()),n=l.get("minAngle"),n=(n=null==n?s.get("minAngle"):n)/180*Math.PI,u.endAngle-u.startAngle),h=(c=(null!=n&&Math.abs(c)<n&&(t=""),this.childAt(1)),n=(o.setLabelStyle(c.style,c.hoverStyle||{},s,r,{defaultText:l.getShallow("show")?t:null,autoColor:e,useInsideStyle:!0}),(u.startAngle+u.endAngle)/2),r=Math.cos(n),e=Math.sin(n),f("position")),d=f("distance")||0,p=f("align");"outside"===h?(a=u.r+d,p=n>Math.PI/2?"right":"left"):p&&"center"!==p?"left"===p?(a=u.r0+d,n>Math.PI/2&&(p="right")):"right"===p&&(a=u.r-d,n>Math.PI/2)&&(p="left"):(a=(u.r+u.r0)/2,p="center"),c.attr("style",{text:t,textAlign:p,textVerticalAlign:f("verticalAlign")||"middle",opacity:f("opacity")}),h=a*r+u.cx,d=a*e+u.cy,c.attr("position",[h,d]),t=f("rotate"),p=0;function f(t){var e=l.get(t);return null==e?s.get(t):e}"radial"===t?(p=-n)<-Math.PI/2&&(p+=Math.PI):"tangential"===t?(p=Math.PI/2-n)>Math.PI/2?p-=Math.PI:p<-Math.PI/2&&(p+=Math.PI):"number"==typeof t&&(p=t*Math.PI/180),c.attr("rotation",p)},n._initEvents=function(t,e,n,i){function o(){r.onEmphasis(i)}function a(){r.onNormal()}t.off("mouseover").off("mouseout").off("emphasis").off("normal");var r=this;n.isAnimationEnabled()&&t.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",(function(){r.onDownplay()})).on("highlight",(function(){r.onHighlight()}))},i.inherits(l,o.Group),t.exports=l},"4e9f":function(t,e,n){var i=n("22d1"),o=n("29a8");n=n("2145"),o=o.toolbox.saveAsImage;function a(t){this.model=t}a.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:o.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},a.prototype.unusable=!i.canvasSupported,a.prototype.onclick=function(t,e){var n=this.model,o=n.get("name")||t.get("title.0.text")||"echarts",a="svg"===e.getZr().painter.getType()?"svg":n.get("type",!0)||"png";e=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||i.browser.ie||i.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var r=atob(e.split(",")[1]),s=r.length,l=new Uint8Array(s);s--;)l[s]=r.charCodeAt(s);t=new Blob([l]),window.navigator.msSaveOrOpenBlob(t,o+"."+a)}else t=n.get("lang"),n='<body style="margin:0;"><img src="'+e+'" style="max-width:100%;" title="'+(t&&t[0]||"")+'" /></body>',window.open().document.write(n);else t=document.createElement("a"),t.download=o+"."+a,t.target="_blank",t.href=e,n=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1}),t.dispatchEvent(n)},n.register("saveAsImage",a),t.exports=a},"4f85":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("22d1"),a=n("eda2"),r=a.formatTime,s=a.encodeHTML,l=a.addCommas,u=a.getTooltipMarker,c=n("e0d3"),h=n("6cb7"),d=n("e47b"),p=(a=n("38a2"),n("f934")),f=p.getLayoutParams,g=p.mergeLayoutParam,m=n("f47d").createTask,y=(p=n("0f99"),p.prepareSource),v=p.getSource,x=n("2b17").retrieveRawValue,_=c.makeInner();p=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=m({count:w,reset:S}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),y(this),t=this.getInitialData(t,n),I(t,this),this.dataTask.context.data=t,_(this).dataBeforeProcessed=t,b(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,o=n?f(t):{},a=this.subType;h.hasClass(a),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),c.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&g(t,o,n)},mergeOption:function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&g(this.option,t,n),y(this),n=this.getInitialData(t,e);I(n,this),this.dataTask.dirty(),this.dataTask.context.data=n,_(this).dataBeforeProcessed=n,b(this)},fillDataTextStyle:function(t){if(t&&!i.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&c.defaultEmphasis(t[n],"label",e)},getInitialData:function(){},appendData:function(t){this.getRawData().appendData(t.data)},getData:function(t){var e=A(this);return e?(e=e.context.data,null==t?e:e.getLinkedData(t)):_(this).data},setData:function(t){var e,n=A(this);n&&((e=n.context).data!==t&&n.modifyOutputEnd&&n.setOutputEnd(t.count()),e.outputData=t,n!==this.dataTask)&&(e.data=t),_(this).data=t},getSource:function(){return v(this)},getRawData:function(){return _(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,e,n,o){var a=this,h="html"===(o=o||"html")?"<br/>":"\n",d="richText"===o,p={},f=0;function g(t){return{renderMode:o,content:s(l(t)),style:p}}var m,y,v=this.getData(),_=v.mapDimension("defaultedTooltip",!0),b=_.length,w=this.getRawValue(t),S=i.isArray(w),M=v.getItemVisual(t,"color");function I(t,n){var i,c,h;n=v.getDimensionInfo(n);n&&!1!==n.otherDims.tooltip&&(i=n.type,c="sub"+a.seriesIndex+"at"+f,h="string"==typeof(h=u({color:M,type:"subItem",renderMode:o,markerId:c}))?h:h.content,(h=(m?h+s(n.displayName||"-")+": ":"")+s("ordinal"===i?t+"":"time"===i?e?"":r("yyyy/MM/dd hh:mm:ss",t):l(t)))&&y.push(h),d)&&(p[c]=M,++f)}M=(M=i.isObject(M)&&M.colorStops?(M.colorStops[0]||{}).color:M)||"transparent";var T=(1<b||S&&!b?(T=w,m=i.reduce(T,(function(t,e,n){return n=v.getDimensionInfo(n),t|(n&&!1!==n.tooltip&&null!=n.displayName)}),0),y=[],_.length?i.each(_,(function(e){I(x(v,t,e),e)})):i.each(T,I),T=m?d?"\n":"<br/>":"",T+=y.join(T||", "),{renderMode:o,content:T,style:p}):g(b?x(v,t,_[0]):S?w[0]:w)).content;b=a.seriesIndex+"at"+f,_=u({color:M,type:"item",renderMode:o,markerId:b}),p[b]=M,++f,S=v.getName(t),w=this.name,w=(w=c.isNameSpecified(this)?w:"")?s(w)+(e?": ":h):"",b="string"==typeof _?_:_.content;return{html:e?b+w+T:w+b+(S?s(S)+": "+T:T),markers:p}},isAnimationEnabled:function(){var t;return!(o.node||(t=this.getShallow("animation"))&&this.getData().count()>this.getShallow("animationThreshold"))&&t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel;return d.getColorFromPalette.call(this,t,e,n)||i.getColorFromPalette(t,e,n)},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 b(t){var e,n,o=t.name;c.isNameSpecified(t)||(t.name=(t=(e=(t=t).getRawData()).mapDimension("seriesName",!0),n=[],i.each(t,(function(t){t=e.getDimensionInfo(t),t.displayName&&n.push(t.displayName)})),n.join(" ")||o))}function w(t){return t.model.getRawData().count()}function S(t){return t=t.model,t.setData(t.getRawData().cloneShallow()),M}function M(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function I(t,e){i.each(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,i.curry(T,e))}))}function T(t){t=A(t),t&&t.setOutputEnd(this.count())}function A(t){var e,n=(t.ecModel||{}).scheduler;n=n&&n.getPipeline(t.uid);if(n)return(n=n.currentTask)&&(e=n.agentStubMap)?e.get(t.uid):n}i.mixin(p,a),i.mixin(p,d),t.exports=p},"4fac":function(t,e,n){var i=n("620b"),o=n("9c2c");e.buildPath=function(t,e,n){var a=e.points,r=e.smooth;if(a&&2<=a.length){if(r&&"spline"!==r)for(var s=o(a,r,n,e.smoothConstraint),l=(t.moveTo(a[0][0],a[0][1]),a.length),u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=a[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}else{"spline"===r&&(a=i(a,n)),t.moveTo(a[0][0],a[0][1]);u=1;for(var p=a.length;u<p;u++)t.lineTo(a[u][0],a[u][1])}n&&t.closePath()}}},"50e5":function(t,e,n){var i=n("6d8b"),o=n("eda2"),a=["cartesian2d","polar","singleAxis"];function r(t,e){t=t.slice();var n=i.map(t,o.capitalFirst),a=(e=(e||[]).slice(),i.map(e,o.capitalFirst));return function(o,r){i.each(t,(function(t,i){for(var s={name:t,capital:n[i]},l=0;l<e.length;l++)s[e[l]]=t+a[l];o.call(r,s)}))}}n=r(["x","y","z","radius","angle","single"],["axisIndex","axis","index","id"]),e.isCoordSupported=function(t){return 0<=i.indexOf(a,t)},e.createNameEach=r,e.eachAxisDim=n,e.createLinkedNodesFinder=function(t,e,n){return function(a){var r,s={nodes:[],records:{}};if(e((function(t){s.records[t.name]={}})),a)for(o(a,s);r=!1,t(l),r;);return s;function l(t){var a,l,u;0<=i.indexOf(s.nodes,t)||(a=t,l=s,u=!1,e((function(t){i.each(n(a,t)||[],(function(e){l.records[t.name][e]&&(u=!0)}))})),!u)||(o(t,s),r=!0)}};function o(t,o){o.nodes.push(t),e((function(e){i.each(n(t,e)||[],(function(t){o.records[e.name][t]=!0}))}))}}},"527a":function(t,e,n){var i=n("6d8b"),o=n("3842");function a(t,e,n){if(t.count())for(var o,a=e.coordinateSystem,r=e.getLayerSeries(),s=t.mapDimension("single"),l=t.mapDimension("value"),u=i.map(r,(function(e){return i.map(e.indices,(function(e){var n=a.dataToPoint(t.get(s,e));return n[1]=t.get(l,e),n}))})),c=(e=function(t){for(var e=t.length,n=t[0].length,i=[],o=[],a=0,r={},s=0;s<n;++s){for(var l=0,u=0;l<e;++l)u+=t[l][s][1];a<u&&(a=u),i.push(u)}for(var c=0;c<n;++c)o[c]=(a-i[c])/2;for(var h=a=0;h<n;++h){var d=i[h]+o[h];a<d&&(a=d)}return r.y0=o,r.max=a,r}(u),e.y0),h=n/e.max,d=r.length,p=r[0].indices.length,f=0;f<p;++f){o=c[f]*h,t.setItemLayout(r[0].indices[f],{layerIndex:0,x:u[0][f][0],y0:o,y:u[0][f][1]*h});for(var g=1;g<d;++g)o+=u[g-1][f][1]*h,t.setItemLayout(r[g].indices[f],{layerIndex:g,x:u[g][f][0],y0:o,y:u[g][f][1]*h})}}t.exports=function(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,i={},r=n.getRect(),s=(i.rect=r,t.get("boundaryGap"));n=n.getAxis();i.boundaryGap=s,"horizontal"===n.orient?(s[0]=o.parsePercent(s[0],r.height),s[1]=o.parsePercent(s[1],r.height),a(e,t,r.height-s[0]-s[1])):(s[0]=o.parsePercent(s[0],r.width),s[1]=o.parsePercent(s[1],r.width),a(e,t,r.width-s[0]-s[1])),e.setLayout("layoutInfo",i)}))}},"53f3":function(t,e){e.getNodeGlobalScale=function(t){var e,n=t.coordinateSystem;return"view"!==n.type?1:(t=t.option.nodeScaleRatio,e=(e=n.scale)&&e[0]||1,((n.getZoom()-1)*t+1)/e)},e.getSymbolSize=function(t){return+(t=(t=t.getVisual("symbolSize"))instanceof Array?(t[0]+t[1])/2:t)}},5450:function(t,e,n){n("7419"),n("29a9")},"54fb":function(t,e){t.exports=function(t){t.eachSeriesByType("map",(function(t){var e=t.get("color"),n=t.getModel("itemStyle"),i=n.get("areaColor");n=n.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:i,color:n})}))}},"551f":function(t,e,n){var i=n("282b")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]);t.exports={getItemStyle:function(t,e){return t=i(this,t,e),e=this.getBorderLineDash(),e&&(t.lineDash=e),t},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}}},5522:function(t,e,n){n("23e0"),n("1748"),n("6c12")},5576:function(t,e,n){var i=n("6d8b"),o=n("4a01"),a=n("88b3"),r="\0_ec_dataZoom_roams";function s(t){return t=t.getZr(),t[r]||(t[r]={})}function l(t){i.each(t,(function(e,n){e.count||(e.controller.dispose(),delete t[n])}))}function u(t,e){t.dispatchAction({type:"dataZoom",batch:e})}e.register=function(t,e){var n,r,c,h,d,p=s(t),f=e.dataZoomId,g=e.coordId,m=(i.each(p,(function(t,n){var o=t.dataZoomInfos;o[f]&&i.indexOf(e.allCoordIds,g)<0&&(delete o[f],t.count--)})),l(p),p[g]);m||((m=p[g]={coordId:g,dataZoomInfos:{},count:0}).controller=(n=m,r=new o(t.getZr()),i.each(["pan","zoom","scrollMove"],(function(t){r.on(t,(function(e){var o=[];i.each(n.dataZoomInfos,(function(i){var a;e.isAvailableBehavior(i.dataZoomModel.option)&&(a=(a=(i.getRange||{})[t])&&a(n.controller,e),!i.dataZoomModel.get("disabled",!0))&&a&&o.push({dataZoomId:i.dataZoomId,start:a[0],end:a[1]})})),o.length&&n.dispatchAction(o)}))})),r),m.dispatchAction=i.curry(u,t)),m.dataZoomInfos[f]||m.count++,m.dataZoomInfos[f]=e,p=m.dataZoomInfos,h={type_true:2,type_move:1,type_false:0,type_undefined:-1},d=!0,i.each(p,(function(t){t=t.dataZoomModel;var e=!t.get("disabled",!0)&&(!t.get("zoomLock",!0)||"move");h["type_"+c]<h["type_"+e]&&(c=e),d&=t.get("preventDefaultMouseMove",!0)})),t={controlType:c,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!d}};m.controller.enable(t.controlType,t.opt),m.controller.setPointerChecker(e.containsPoint),a.createOrUpdate(m,"dispatchAction",e.dataZoomModel.get("throttle",!0),"fixRate")},e.unregister=function(t,e){t=s(t),i.each(t,(function(t){t.controller.dispose();var n=t.dataZoomInfos;n[e]&&(delete n[e],t.count--)})),l(t)},e.generateCoordId=function(t){return t.type+"\0_"+t.id}},"55ac":function(t,e,n){var i=n("6d8b");function o(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}e.retrieveTargetInfo=function(t,e,n){if(t&&0<=i.indexOf(e,t.type))return e=n.getData().tree.root,(n="string"==typeof(n=t.targetNode)?e.getNodeById(n):n)&&e.contains(n)||null!=(t=t.targetNodeId)&&(n=e.getNodeById(t))?{node:n}:void 0},e.getPathToRoot=o,e.aboveViewRoot=function(t,e){return t=o(t),0<=i.indexOf(t,e)},e.wrapTreePathInfo=function(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}},"562e":function(t,e,n){var i=n("6d8b");t.exports=function(t){null!=t&&i.extend(this,t),this.otherDims={}}},5693:function(t,e){e.buildPath=function(t,e){var n,i,o,a,r,s=e.x,l=e.y,u=e.width,c=e.height;e=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof e?n=i=o=a=e:e instanceof Array?1===e.length?n=i=o=a=e[0]:2===e.length?(n=o=e[0],i=a=e[1]):3===e.length?(n=e[0],i=a=e[1],o=e[2]):(n=e[0],i=e[1],o=e[2],a=e[3]):n=i=o=a=0,u<n+i&&(n*=u/(r=n+i),i*=u/r),u<o+a&&(o*=u/(r=o+a),a*=u/r),c<i+o&&(i*=c/(r=i+o),o*=c/r),c<n+a&&(n*=c/(r=n+a),a*=c/r),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+c-o),0!==o&&t.arc(s+u-o,l+c-o,o,0,Math.PI/2),t.lineTo(s+a,l+c),0!==a&&t.arc(s+a,l+c-a,a,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}},5866:function(t,e,n){var i=n("ef2b").forceLayout,o=n("1c5f").simpleLayout,a=n("94e4").circularLayout,r=n("3842").linearMap,s=n("401b"),l=n("6d8b"),u=n("0c37").getCurvenessForEdge;t.exports=function(t){t.eachSeriesByType("graph",(function(t){var e,n,c,h,d,p,f,g,m,y,v,x,_=t.coordinateSystem;_&&"view"!==_.type||("force"===t.get("layout")?(e=t.preservedPoints||{},n=t.getGraph(),c=n.data,v=n.edgeData,y=(h=t.getModel("force")).get("initLayout"),t.preservedPoints?c.each((function(t){var n=c.getId(t);c.setItemLayout(t,e[n]||[NaN,NaN])})):y&&"none"!==y?"circular"===y&&a(t,"value"):o(t),d=c.getDataExtent("value"),p=v.getDataExtent("value"),f=h.get("repulsion"),g=h.get("edgeLength"),l.isArray(f)||(f=[f,f]),g=[(g=l.isArray(g)?g:[g,g])[1],g[0]],m=c.mapArray("value",(function(t,e){var n=c.getItemLayout(e);t=r(t,d,f);return{w:t=isNaN(t)?(f[0]+f[1])/2:t,rep:t,fixed:c.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),y=v.mapArray("value",(function(e,i){var o=n.getEdgeByIndex(i),a=(e=r(e,p,g),isNaN(e)&&(e=(g[0]+g[1])/2),o.getModel());i=l.retrieve3(a.get("lineStyle.curveness"),-u(o,t,i,!0),0);return{n1:m[o.node1.dataIndex],n2:m[o.node2.dataIndex],d:e,curveness:i,ignoreForceLayout:a.get("ignoreForceLayout")}})),v=(_=t.coordinateSystem).getBoundingRect(),_=i(m,y,{rect:v,gravity:h.get("gravity"),friction:h.get("friction")}),x=_.step,_.step=function(t){for(var i=0,o=m.length;i<o;i++)m[i].fixed&&s.copy(m[i].p,n.getNodeByIndex(i).getLayout());x((function(i,o,a){for(var r=0,l=i.length;r<l;r++)i[r].fixed||n.getNodeByIndex(r).setLayout(i[r].p),e[c.getId(r)]=i[r].p;for(r=0,l=o.length;r<l;r++){var u=o[r],h=n.getEdgeByIndex(r),d=u.n1.p,p=u.n2.p,f=h.getLayout();(f=f?f.slice():[])[0]=f[0]||[],f[1]=f[1]||[],s.copy(f[0],d),s.copy(f[1],p),+u.curveness&&(f[2]=[(d[0]+p[0])/2-(d[1]-p[1])*u.curveness,(d[1]+p[1])/2-(p[0]-d[0])*u.curveness]),h.setLayout(f)}t&&t(a)}))},t.forceLayout=_,t.preservedPoints=e,_.step()):t.forceLayout=null)}))}},"58df":function(t,e,n){var i=n("6d8b"),o=n("2306");e.rectCoordAxisBuildSplitArea=function(t,e,n,a){var r=n.axis;if(!r.scale.isBlank()){n=n.getModel("splitArea");var s=n.getModel("areaStyle"),l=s.get("color"),u=a.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:n,clamp:!0});if(c.length){var h=l.length,d=t.__splitAreaColors,p=i.createHashMap(),f=0;if(d)for(var g=0;g<c.length;g++){var m=d.get(c[g].tickValue);if(null!=m){f=(m+(h-1)*g)%h;break}}var y=r.toGlobalCoord(c[0].coord),v=s.getAreaStyle();for(l=i.isArray(l)?l:[l],g=1;g<c.length;g++){var x,_,b,w,S=r.toGlobalCoord(c[g].coord);y=r.isHorizontal()?(x=y,_=u.y,w=u.height,x+(b=S-x)):(x=u.x,_=y,b=u.width,_+(w=S-_)),S=c[g-1].tickValue;null!=S&&p.set(S,f),e.add(new o.Rect({anid:null!=S?"area_"+S:null,shape:{x:x,y:_,width:b,height:w},style:i.defaults({fill:l[f]},v),silent:!0})),f=(f+1)%h}t.__splitAreaColors=p}}},e.rectCoordAxisHandleRemove=function(t){t.__splitAreaColors=null}},"5aa9":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=i.isObject,a=i.each,r=i.map,s=i.indexOf,l=(i.retrieve,n("f934").getLayoutRect),u=(i=n("697e"),i.createScaleByModel),c=i.ifAxisCrossZero,h=i.niceScaleExtent,d=i.estimateLabelUnionRect,p=n("cbe9"),f=n("ec02"),g=(i=n("2039"),n("ee1aa").getStackedDimension);function m(t,e){return t.getCoordSysModel()===e}function y(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}function v(t,e,n,i){n.getAxesOnZeroOf=function(){return o?[o]:[]};var o,a=t[e];t=n.model,e=t.get("axisLine.onZero"),n=t.get("axisLine.onZeroAxisIndex");if(e){if(null!=n)x(a[n])&&(o=a[n]);else for(var r in a)if(a.hasOwnProperty(r)&&x(a[r])&&!i[s(a[r])]){o=a[r];break}o&&(i[s(o)]=!0)}function s(t){return t.dim+"_"+t.index}}function x(t){return t&&"category"!==t.type&&"time"!==t.type&&c(t)}n("8ed2"),n=y.prototype,n.type="grid",n.axisPointerEnabled=!0,n.getRect=function(){return this._rect},n.update=function(t,e){var n=this._axesMap,i=(this._updateScale(t,this.model),a(n.x,(function(t){h(t.scale,t.model)})),a(n.y,(function(t){h(t.scale,t.model)})),{});a(n.x,(function(t){v(n,"y",t,i)})),a(n.y,(function(t){v(n,"x",t,i)})),this.resize(this.model,e)},n.resize=function(t,e,n){var i=l(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),o=(this._rect=i,this._axesList);function r(){a(o,(function(t){var e,n,o=t.isHorizontal(),a=o?[0,i.width]:[0,i.height],r=t.inverse?1:0;t.setExtent(a[r],a[1-r]),a=t,e=o?i.x:i.y,r=a.getExtent(),n=r[0]+r[1],a.toGlobalCoord="x"===a.dim?function(t){return t+e}:function(t){return n-t+e},a.toLocalCoord="x"===a.dim?function(t){return t-e}:function(t){return n-t+e}}))}r(),!n&&t.get("containLabel")&&(a(o,(function(t){var e,n,o;t.model.get("axisLabel.inside")||(e=d(t))&&(n=t.isHorizontal()?"height":"width",o=t.model.get("axisLabel.margin"),i[n]-=e[n]+o,"top"===t.position?i.y+=e.height+o:"left"===t.position&&(i.x+=e.width+o))})),r())},n.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n){if(null==e)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[e]}},n.getAxes=function(){return this._axesList.slice()},n.getCartesian=function(t,e){if(null!=t&&null!=e)return this._coordsMap["x"+t+"y"+e];o(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var n=0,i=this._coordsList;n<i.length;n++)if(i[n].getAxis("x").index===t||i[n].getAxis("y").index===e)return i[n]},n.getCartesians=function(){return this._coordsList.slice()},n.convertToPixel=function(t,e,n){return t=this._findConvertTarget(t,e),t.cartesian?t.cartesian.dataToPoint(n):t.axis?t.axis.toGlobalCoord(t.axis.dataToCoord(n)):null},n.convertFromPixel=function(t,e,n){return t=this._findConvertTarget(t,e),t.cartesian?t.cartesian.pointToData(n):t.axis?t.axis.coordToData(t.axis.toLocalCoord(n)):null},n._findConvertTarget=function(t,e){var n,i,o=e.seriesModel,a=e.xAxisModel||o&&o.getReferringComponents("xAxis")[0],r=e.yAxisModel||o&&o.getReferringComponents("yAxis")[0],l=(e=e.gridModel,this._coordsList);return o?(n=o.coordinateSystem,s(l,n)<0&&(n=null)):a&&r?n=this.getCartesian(a.componentIndex,r.componentIndex):a?i=this.getAxis("x",a.componentIndex):r?i=this.getAxis("y",r.componentIndex):e&&e.coordinateSystem===this&&(n=this._coordsList[0]),{cartesian:n,axis:i}},n.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},n._initCartesian=function(t,e,n){var i={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},r={x:0,y:0};function s(e){return function(n,a){var s,l;m(n,t)&&(s=n.get("position"),"x"===e?"top"!==s&&"bottom"!==s&&(s=i.bottom?"top":"bottom"):"left"!==s&&"right"!==s&&(s=i.left?"right":"left"),i[s]=!0,l="category"===(s=new f(e,u(n),[0,0],n.get("type"),s)).type,s.onBand=l&&n.get("boundaryGap"),s.inverse=n.get("inverse"),(n.axis=s).model=n,s.grid=this,s.index=a,this._axesList.push(s),o[e][a]=s,r[e]++)}}e.eachComponent("xAxis",s("x"),this),e.eachComponent("yAxis",s("y"),this),r.x&&r.y?(this._axesMap=o,a(o.x,(function(e,n){a(o.y,(function(i,o){o="x"+n+"y"+o;var a=new p(o);a.grid=this,a.model=t,this._coordsMap[o]=a,this._coordsList.push(a),a.addAxis(e),a.addAxis(i)}),this)}),this)):(this._axesMap={},this._axesList=[])},n._updateScale=function(t,e){function n(t,e){a(t.mapDimension(e.dim,!0),(function(n){e.scale.unionExtentFromData(t,g(t,n))}))}a(this._axesList,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeries((function(t){var i,o,a;w(t)&&(a=(i=b(t))[0],i=i[1],m(a,e))&&m(i,e)&&(a=this.getCartesian(a.componentIndex,i.componentIndex),i=t.getData(),o=a.getAxis("x"),a=a.getAxis("y"),"list"===i.type)&&(n(i,o),n(i,a))}),this)},n.getTooltipAxes=function(t){var e=[],n=[];return a(this.getCartesians(),(function(i){var o=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis();i=i.getOtherAxis(o);s(e,o)<0&&e.push(o),s(n,i)<0&&n.push(i)})),{baseAxes:e,otherAxes:n}};var _=["xAxis","yAxis"];function b(t){return r(_,(function(e){return t.getReferringComponents(e)[0]}))}function w(t){return"cartesian2d"===t.get("coordinateSystem")}y.create=function(t,e){var n=[];return t.eachComponent("grid",(function(i,o){var a=new y(i,t,e);a.name="grid_"+o,a.resize(i,e,!0),i.coordinateSystem=a,n.push(a)})),t.eachSeries((function(t){var e,n,i;w(t)&&(e=(n=b(t))[0],n=n[1],i=e.getCoordSysModel().coordinateSystem,t.coordinateSystem=i.getCartesian(e.componentIndex,n.componentIndex))})),n},y.dimensions=y.prototype.dimensions=p.prototype.dimensions,i.register("cartesian2d",y),t.exports=y},"5b69":function(t,e,n){var i=n("2306"),o=n("3eba"),a=n("6d8b"),r=["itemStyle","opacity"],s=["emphasis","itemStyle","opacity"],l=["lineStyle","opacity"],u=["emphasis","lineStyle","opacity"];function c(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function h(t,e,n){var i=t.getGraphicEl(),o=c(t,e);null!=n&&(null==o&&(o=1),o*=n),i.downplay&&i.downplay(),i.traverse((function(t){"group"!==t.type&&t.setStyle("opacity",o)}))}function d(t,e){var n=c(t,e);e=t.getGraphicEl();e.traverse((function(t){"group"!==t.type&&t.setStyle("opacity",n)})),e.highlight&&e.highlight()}var p=i.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}});n=o.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(t,e,n){var o,a,r=this,s=t.getGraph(),l=this.group,u=t.layoutInfo,c=u.width,h=u.height,d=t.getData(),f=t.getData("edge"),g=t.get("orient");this._model=t,l.removeAll(),l.attr("position",[u.x,u.y]),s.eachEdge((function(e){var n,o,a,r,s,u,d,m=new p,y=(m.dataIndex=e.dataIndex,m.seriesIndex=t.seriesIndex,m.dataType="edge",e.getModel("lineStyle")),v=y.get("curveness"),x=e.node1.getLayout(),_=e.node1.getModel(),b=_.get("localX"),w=(_=_.get("localY"),e.node2.getLayout()),S=e.node2.getModel(),M=S.get("localX"),I=(S=S.get("localY"),e.getLayout());switch(m.shape.extent=Math.max(1,I.dy),b="vertical"===(m.shape.orient=g)?(n=(null!=b?b*c:x.x)+I.sy,o=(null!=_?_*h:x.y)+x.dy,a=(null!=M?M*c:w.x)+I.ty,s=n,u=o*(1-v)+(r=null!=S?S*h:w.y)*v,d=a,o*v+r*(1-v)):(n=(null!=b?b*c:x.x)+x.dx,o=(null!=_?_*h:x.y)+I.sy,s=n*(1-v)+(a=null!=M?M*c:w.x)*v,u=o,d=n*v+a*(1-v),r=(null!=S?S*h:w.y)+I.ty),m.setShape({x1:n,y1:o,x2:a,y2:r,cpx1:s,cpy1:u,cpx2:d,cpy2:b}),m.setStyle(y.getItemStyle()),m.style.fill){case"source":m.style.fill=e.node1.getVisual("color");break;case"target":m.style.fill=e.node2.getVisual("color")}i.setHoverStyle(m,e.getModel("emphasis.lineStyle").getItemStyle()),l.add(m),f.setItemGraphicEl(e.dataIndex,m)})),s.eachNode((function(e){var n=e.getLayout(),o=e.getModel(),a=o.get("localX"),r=o.get("localY"),s=o.getModel("label"),u=o.getModel("emphasis.label");a=new i.Rect({shape:{x:null!=a?a*c:n.x,y:null!=r?r*h:n.y,width:n.dx,height:n.dy},style:o.getModel("itemStyle").getItemStyle()}),r=e.getModel("emphasis.itemStyle").getItemStyle();i.setLabelStyle(a.style,r,s,u,{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id,isRectText:!0}),a.setStyle("fill",e.getVisual("color")),i.setHoverStyle(a,r),l.add(a),d.setItemGraphicEl(e.dataIndex,a),a.dataType="node"})),d.eachItemGraphicEl((function(e,i){var o=d.getItemModel(i);o.get("draggable")&&(e.drift=function(e,o){r._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:d.getRawIndex(i),localX:this.shape.x/c,localY:this.shape.y/h})},e.ondragend=function(){r._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move"),e.highlight=function(){this.trigger("emphasis")},e.downplay=function(){this.trigger("normal")},e.focusNodeAdjHandler&&e.off("mouseover",e.focusNodeAdjHandler),e.unfocusNodeAdjHandler&&e.off("mouseout",e.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(e.on("mouseover",e.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex}))}),e.on("mouseout",e.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(n)}))})),f.eachItemGraphicEl((function(e,i){i=f.getItemModel(i),e.focusNodeAdjHandler&&e.off("mouseover",e.focusNodeAdjHandler),e.unfocusNodeAdjHandler&&e.off("mouseout",e.unfocusNodeAdjHandler),i.get("focusNodeAdjacency")&&(e.on("mouseover",e.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex}))}),e.on("mouseout",e.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(n)}))})),!this._data&&t.get("animation")&&l.setClipPath((u=l.getBoundingRect(),s=t,o=function(){l.removeClipPath()},a=new i.Rect({shape:{x:u.x-10,y:u.y-10,width:0,height:u.height+20}}),i.initProps(a,{shape:{width:u.width+20}},s,o),a)),this._data=t.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(t){var e=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){e._unfocusDelayTimer=null,t.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(t,e,n,i){t=t.getData();var o,c=t.graph,p=i.dataIndex;t=t.getItemModel(p),i=i.edgeDataIndex;null==p&&null==i||(o=c.getNodeByIndex(p),p=c.getEdgeByIndex(i),c.eachNode((function(t){h(t,r,.1)})),c.eachEdge((function(t){h(t,l,.1)})),o&&(d(o,s),"outEdges"===(i=t.get("focusNodeAdjacency"))?a.each(o.outEdges,(function(t){t.dataIndex<0||(d(t,u),d(t.node2,s))})):"inEdges"===i?a.each(o.inEdges,(function(t){t.dataIndex<0||(d(t,u),d(t.node1,s))})):"allEdges"===i&&a.each(o.edges,(function(t){t.dataIndex<0||(d(t,u),t.node1!==o&&d(t.node1,s),t.node2!==o&&d(t.node2,s))}))),p&&(d(p,u),d(p.node1,s),d(p.node2,s)))},unfocusNodeAdjacency:function(t,e,n,i){t=t.getGraph(),t.eachNode((function(t){h(t,r)})),t.eachEdge((function(t){h(t,l)}))}});t.exports=n},"5b87":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=i.each,a=i.createHashMap,r=n("ec34"),s=(i=n("4c86"),n("c92f")),l=n("9850"),u={geoJSON:i,svg:s};n={load:function(t,e,n){var i,r=[],s=a(),c=a(),d=h(t);return o(d,(function(a){a=u[a.type].load(t,a,n),o(a.regions,(function(t){var n=t.name;e&&e.hasOwnProperty(n)&&(t=t.cloneShallow(n=e[n])),r.push(t),s.set(n,t),c.set(n,t.center)})),a=a.boundingRect,a&&(i?i.union(a):i=a.clone())})),{regions:r,regionsMap:s,nameCoordMap:c,boundingRect:i||new l(0,0,0,0)}},makeGraphic:c("makeGraphic"),removeGraphic:c("removeGraphic")};function c(t){return function(e,n){var i=h(e),a=[];return o(i,(function(i){var o=u[i.type][t];o&&a.push(o(e,i,n))})),a}}function h(t){return r.retrieveMap(t)||[]}t.exports=n},"5ce2":function(t,e,n){n("3970"),n("480e")},"5e683":function(t,e,n){var i=n("6d8b"),o=n("2cf4c").devicePixelRatio,a=n("2b61"),r=n("dc2f");function s(){return!1}function l(t,e,n){var o=i.createCanvas(),a=e.getWidth(),r=(e=e.getHeight(),o.style);return r&&(r.position="absolute",r.left=0,r.top=0,r.width=a+"px",r.height=e+"px",o.setAttribute("data-zr-dom-id",t)),o.width=a*n,o.height=e*n,o}function u(t,e,n){var a;n=n||o,"string"==typeof t?a=l(t,e,n):i.isObject(t)&&(t=(a=t).id),this.id=t,(t=(this.dom=a).style)&&(a.onselectstart=s,t["-webkit-user-select"]="none",t["user-select"]="none",t["-webkit-touch-callout"]="none",t["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",t.padding=0,t.margin=0,t["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n}u.prototype={constructor:u,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=l("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var n=this.dpr,i=this.dom,o=i.style,a=this.domBack;o&&(o.width=t+"px",o.height=e+"px"),i.width=t*n,i.height=e*n,a&&(a.width=t*n,a.height=e*n,1!==n)&&this.ctxBack.scale(n,n)},clear:function(t,e){var n,i=this.dom,o=this.ctx,s=i.width,l=i.height,u=(e=e||this.clearColor,t=this.motionBlur&&!t,this.lastFrameAlpha),c=this.dpr;t&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,s/c,l/c)),o.clearRect(0,0,s,l),e&&"transparent"!==e&&(e.colorStops?(n=e.__canvasGradient||a.getGradient(o,e,{x:0,y:0,width:s,height:l}),e.__canvasGradient=n):e.image&&(n=r.prototype.getCanvasPattern.call(e,o)),o.save(),o.fillStyle=n||e,o.fillRect(0,0,s,l),o.restore()),t&&(i=this.domBack,o.save(),o.globalAlpha=u,o.drawImage(i,0,0,s,l),o.restore())}},t.exports=u},"5e76":function(t,e,n){var i=new(n("d51b"))(50);function o(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function a(t){return t&&t.width&&t.height}e.findExistImage=function(t){var e;return"string"==typeof t?(e=i.get(t))&&e.image:t},e.createOrUpdateImage=function(t,e,n,r,s){return t?"string"==typeof t?(e&&e.__zrImageSrc===t||!n||(n={hostEl:n,cb:r,cbPayload:s},(r=i.get(t))?a(e=r.image)||r.pending.push(n):((e=new Image).onload=e.onerror=o,i.put(t,e.__cachedImgObj={image:e,pending:[n]}),e.src=e.__zrImageSrc=t)),e):t:e},e.isImageReady=a},"5e97":function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("6d8b"),a=n("a15a").createSymbol,r=n("2306"),s=n("7919").makeBackground,l=n("f934"),u=o.curry,c=o.each,h=r.Group;n=i.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new h),this._backgroundEl,this.group.add(this._selectorGroup=new h),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,e,n){var i,a,r,u,c,h=this._isFirstRender;this._isFirstRender=!1,this.resetInner(),t.get("show",!0)&&(u=t.get("align"),r=t.get("orient"),u&&"auto"!==u||(u="right"===t.get("left")&&"vertical"===r?"right":"left"),i=t.get("selector",!0),a=t.get("selectorPosition",!0),this.renderInner(u,t,e,n,i,r,a=!i||a&&"auto"!==a?a:"horizontal"===r?"end":"start"),e=t.getBoxLayoutParams(),r={width:n.getWidth(),height:n.getHeight()},n=t.get("padding"),c=l.getLayoutRect(e,r,n),u=this.layoutInner(t,u,c,h,i,a),c=l.getLayoutRect(o.defaults({width:u.width,height:u.height},e),r,n),this.group.attr("position",[c.x-u.x,c.y-u.y]),this.group.add(this._backgroundEl=s(u,t)))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(t,e,n,i,a,r,s){var l=this.getContentGroup(),d=o.createHashMap(),m=e.get("selectedMode"),y=[];n.eachRawSeries((function(t){t.get("legendHoverLink")||y.push(t.id)})),c(e.getData(),(function(o,a){var r,s,c,v,x,_=o.get("name");this.newlineDisabled||""!==_&&"\n"!==_?(r=n.getSeriesByName(_)[0],d.get(_)||(r?(s=(x=r.getData()).getVisual("color"),c=x.getVisual("borderColor"),"function"==typeof s&&(s=s(r.getDataParams(0))),"function"==typeof c&&(c=c(r.getDataParams(0))),v=x.getVisual("legendSymbol")||"roundRect",x=x.getVisual("symbol"),this._createItem(_,a,o,e,v,x,t,s,c,m).on("click",u(p,_,null,i,y)).on("mouseover",u(f,r.name,null,i,y)).on("mouseout",u(g,r.name,null,i,y)),d.set(_,!0)):n.eachRawSeries((function(n){var r,s;d.get(_)||n.legendVisualProvider&&(n=n.legendVisualProvider).containName(_)&&(r=n.indexOfName(_),s=n.getItemVisual(r,"color"),n=n.getItemVisual(r,"borderColor"),this._createItem(_,a,o,e,"roundRect",null,t,s,n,m).on("click",u(p,null,_,i,y)).on("mouseover",u(f,null,_,i,y)).on("mouseout",u(g,null,_,i,y)),d.set(_,!0))}),this))):l.add(new h({newline:!0}))}),this),a&&this._createSelector(a,e,i,r,s)},_createSelector:function(t,e,n,i,o){var a=this.getSelectorGroup();c(t,(function(t){var i,o,s,l;i=(t=t).type,o=new r.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}}),a.add(o),s=e.getModel("selectorLabel"),l=e.getModel("emphasis.selectorLabel"),r.setLabelStyle(o.style,o.hoverStyle={},s,l,{defaultText:t.title,isRectText:!1}),r.setHoverStyle(o)}))},_createItem:function(t,e,n,i,s,l,u,c,p,f){var g=i.get("itemWidth"),m=i.get("itemHeight"),y=i.get("inactiveColor"),v=i.get("inactiveBorderColor"),x=i.get("symbolKeepAspect"),_=i.getModel("itemStyle"),b=i.isSelected(t),w=new h,S=n.getModel("textStyle"),M=n.get("icon"),I=(n=n.getModel("tooltip"),n.parentModel),T=a(s=M||s,0,0,g,m,b?c:y,null==x||x);w.add(d(T,s,_,p,v,b)),M||!l||l===s&&"none"!==l||(M=a(l="none"===l?"circle":l,(g-(T=.8*m))/2,(m-T)/2,T,T,b?c:y,null==x||x),w.add(d(M,l,_,p,v,b))),s="left"===u?g+5:-5,T=u,c=i.get("formatter"),x=t,"string"==typeof c&&c?x=c.replace("{name}",null!=t?t:""):"function"==typeof c&&(x=c(t)),w.add(new r.Text({style:r.setTextStyle({},S,{text:x,x:s,y:m/2,textFill:b?S.getTextColor():y,textAlign:T,textVerticalAlign:"middle"})})),M=new r.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:n.get("show")?o.extend({content:t,formatter:I.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:t,$vars:["name"]}},n.option):null});return w.add(M),w.eachChild((function(t){t.silent=!0})),M.silent=!f,this.getContentGroup().add(w),r.setHoverStyle(w),w.__legendDataIndex=e,w},layoutInner:function(t,e,n,i,o,a){var r,s,u,c,h,d=this.getContentGroup(),p=this.getSelectorGroup(),f=(n=(l.box(t.get("orient"),d,t.get("itemGap"),n.width,n.height),d.getBoundingRect()),[-n.x,-n.y]);return o?(l.box("horizontal",p,t.get("selectorItemGap",!0)),r=[-(o=p.getBoundingRect()).x,-o.y],s=t.get("selectorButtonGap",!0),u=0===(t=t.getOrient().index)?"width":"height",c=0===t?"height":"width",h=0===t?"y":"x","end"===a?r[t]+=n[u]+s:f[t]+=o[u]+s,r[1-t]+=n[c]/2-o[c]/2,p.attr("position",r),d.attr("position",f),(a={x:0,y:0})[u]=n[u]+s+o[u],a[c]=Math.max(n[c],o[c]),a[h]=Math.min(0,o[h]+r[1-t]),a):(d.attr("position",f),this.group.getBoundingRect())},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function d(t,e,n,i,o,a){var r;return"line"!==e&&e.indexOf("empty")<0?(r=n.getItemStyle(),t.style.stroke=i,a||(r.stroke=o)):r=n.getItemStyle(["borderWidth","borderColor"]),t.setStyle(r)}function p(t,e,n,i){g(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),f(t,e,n,i)}function f(t,e,n,i){var o=n.getZr().storage.getDisplayList()[0];o&&o.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function g(t,e,n,i){var o=n.getZr().storage.getDisplayList()[0];o&&o.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}t.exports=n},"5f14":function(t,e,n){function i(t){var e,n=t.mappingMethod,i=t.type;t=this.option=o.clone(t),this.type=i,this.mappingMethod=n,this._normalizeData=_[n],i=c[i];if(this.applyVisual=i.applyVisual,this.getColorMapper=i.getColorMapper,this._doMap=i._doMap[n],"piecewise"===n)h(t),i=(e=t).pieceList,e.hasSpecialVisual=!1,o.each(i,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}));else if("category"===n)if(t.categories){i=t;var a,r=i.categories,l=i.visual,d=i.categoryMap={};s(r,(function(t,e){d[t]=e})),o.isArray(l)||(a=[],o.isObject(l)?s(l,(function(t,e){e=d[e],a[null!=e?e:u]=t})):a[u]=l,l=x(i,a));for(var p=r.length-1;0<=p;p--)null==l[p]&&(delete d[r[p]],r.pop())}else h(t,!0);else o.assert("linear"!==n||t.dataExtent),h(t)}var o=n("6d8b"),a=n("41ef"),r=n("3842").linearMap,s=o.each,l=o.isObject,u=-1,c=(i.prototype={constructor:i,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return o.bind(this._normalizeData,this)}},i.visualHandlers={color:{applyVisual:f("color"),getColorMapper:function(){var t=this.option;return o.bind("category"===t.mappingMethod?function(t,e){return e||(t=this._normalizeData(t)),g.call(this,t)}:function(e,n,i){var o=!!i;return n||(e=this._normalizeData(e)),i=a.fastLerp(e,t.parsedVisual,i),o?i:a.stringify(i,"rgba")},this)},_doMap:{linear:function(t){return a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba")},category:g,piecewise:function(t,e){return e=v.call(this,e),null==e?a.stringify(a.fastLerp(t,this.option.parsedVisual),"rgba"):e},fixed:m}},colorHue:d((function(t,e){return a.modifyHSL(t,e)})),colorSaturation:d((function(t,e){return a.modifyHSL(t,null,e)})),colorLightness:d((function(t,e){return a.modifyHSL(t,null,null,e)})),colorAlpha:d((function(t,e){return a.modifyAlpha(t,e)})),opacity:{applyVisual:f("opacity"),_doMap:y([0,1])},liftZ:{applyVisual:f("liftZ"),_doMap:{linear:m,category:m,piecewise:m,fixed:m}},symbol:{applyVisual:function(t,e,n){var i=this.mapValueToVisual(t);if(o.isString(i))n("symbol",i);else if(l(i))for(var a in i)i.hasOwnProperty(a)&&n(a,i[a])},_doMap:{linear:p,category:g,piecewise:function(t,e){return e=v.call(this,e),null==e?p.call(this,t):e},fixed:m}},symbolSize:{applyVisual:f("symbolSize"),_doMap:y([0,1])}});function h(t,e){var n=t.visual,i=[];o.isObject(n)?s(n,(function(t){i.push(t)})):null!=n&&i.push(n),e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),x(t,i)}function d(t){return{applyVisual:function(e,n,i){e=this.mapValueToVisual(e),i("color",t(n("color"),e))},_doMap:y([0,1])}}function p(t){var e=this.option.visual;return e[Math.round(r(t,[0,1],[0,e.length-1],!0))]||{}}function f(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function g(t){var e=this.option.visual;return e[this.option.loop&&t!==u?t%e.length:t]}function m(){return this.option.visual[0]}function y(t){return{linear:function(e){return r(e,t,this.option.visual,!0)},category:g,piecewise:function(e,n){return n=v.call(this,n),null==n?r(e,t,this.option.visual,!0):n},fixed:m}}function v(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual&&(e=n[i.findPieceIndex(t,n)],e&&e.visual))return e.visual[this.type]}function x(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=o.map(e,(function(t){return a.parse(t)}))),e}var _={linear:function(t){return r(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList;t=i.findPieceIndex(t,e,!0);if(null!=t)return r(t,[0,e.length-1],[0,1],!0)},category:function(t){return t=this.option.categories?this.option.categoryMap[t]:t,null==t?u:t},fixed:o.noop};function b(t,e,n){return t?e<=n:e<n}i.listVisualTypes=function(){var t=[];return o.each(c,(function(e,n){t.push(n)})),t},i.addVisualHandler=function(t,e){c[t]=e},i.isValidType=function(t){return c.hasOwnProperty(t)},i.eachVisual=function(t,e,n){o.isObject(t)?o.each(t,e,n):e.call(n,t)},i.mapVisual=function(t,e,n){var a,r=o.isArray(t)?[]:o.isObject(t)?{}:(a=!0,null);return i.eachVisual(t,(function(t,i){t=e.call(n,t,i),a?r=t:r[i]=t})),r},i.retrieveVisuals=function(t){var e,n={};return t&&s(c,(function(i,o){t.hasOwnProperty(o)&&(n[o]=t[o],e=!0)})),e?n:null},i.prepareVisualTypes=function(t){if(l(t)){var e=[];s(t,(function(t,n){e.push(n)})),t=e}else{if(!o.isArray(t))return[];t=t.slice()}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},i.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},i.findPieceIndex=function(t,e,n){for(var i,o=1/0,a=0,r=e.length;a<r;a++){var s=e[a].value;if(null!=s){if(s===t||"string"==typeof s&&s===t+"")return a;n&&c(s,a)}}for(a=0,r=e.length;a<r;a++){var l=e[a],u=l.interval;l=l.close;if(u){if(u[0]===-1/0){if(b(l[1],t,u[1]))return a}else if(u[1]===1/0){if(b(l[0],u[0],t))return a}else if(b(l[0],u[0],t)&&b(l[1],t,u[1]))return a;n&&c(u[0],a),n&&c(u[1],a)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function c(e,n){e=Math.abs(e-t),e<o&&(o=e,i=n)}},t.exports=i},"607d":function(t,e,n){var i=n("1fab"),o=(e.Dispatcher=i,n("22d1")),a=(i=n("65ed"),i.isCanvasEl),r=i.transformCoordWithViewport,s="undefined"!=typeof window&&!!window.addEventListener,l=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,u=[];function c(t,e,n,i){return n=n||{},i||!o.canvasSupported?h(t,e,n):o.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):h(t,e,n),n}function h(t,e,n){if(o.domSupported&&t.getBoundingClientRect){var i,s=e.clientX;e=e.clientY;if(a(t))return i=t.getBoundingClientRect(),n.zrX=s-i.left,void(n.zrY=e-i.top);if(r(u,t,s,e))return n.zrX=u[0],void(n.zrY=u[1])}n.zrX=n.zrY=0}function d(t){return t||window.event}n=s?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0},e.clientToLocal=c,e.getNativeEvent=d,e.normalizeEvent=function(t,e,n){var i;return null==(e=d(e)).zrX&&((i=e.type)&&0<=i.indexOf("touch")?(i=("touchend"!==i?e.targetTouches:e.changedTouches)[0])&&c(t,i,e,n):(c(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3),i=e.button,null==e.which&&void 0!==i&&l.test(e.type))&&(e.which=1&i?1:2&i?3:4&i?2:0),e},e.addEventListener=function(t,e,n,i){s?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n,i){s?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)},e.stop=n,e.isMiddleOrRightButtonOnMouseUpDown=function(t){return 2===t.which||3===t.which},e.notLeftMouse=function(t){return 1<t.which}},"60d7":function(t,e,n){var i=n("2306");n=n("e887"),n=n.extend({type:"parallel",init:function(){this._dataGroup=new i.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(t,e,n,l){var u,c,h,d,p,f=this._dataGroup,g=t.getData(),m=this._data,y=t.coordinateSystem,v=y.dimensions,x=r(t);g.diff(m).add((function(t){s(a(g,f,t,v,y),g,t,x)})).update((function(e,n){n=m.getItemGraphicEl(n);var a=o(g,e,v,y),r=(g.setItemGraphicEl(e,n),l&&!1===l.animation?null:t);i.updateProps(n,{shape:{points:a}},r,e),s(n,g,e,x)})).remove((function(t){t=m.getItemGraphicEl(t),f.remove(t)})).execute(),this._initialized||(this._initialized=!0,c=t,h=function(){setTimeout((function(){f.removeClipPath()}))},d=(u=y).model,u=u.getRect(),p=new i.Rect({shape:{x:u.x,y:u.y,width:u.width,height:u.height}}),d="horizontal"===d.get("layout")?"width":"height",p.setShape(d,0),i.initProps(p,{shape:{width:u.width,height:u.height}},c,h),d=p,f.setClipPath(d)),this._data=g},incrementalPrepareRender:function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,n){for(var i=e.getData(),o=e.coordinateSystem,l=o.dimensions,u=r(e),c=t.start;c<t.end;c++){var h=a(i,this._dataGroup,c,l,o);h.incremental=!0,s(h,i,c,u)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function o(t,e,n,i){for(var o,a=[],r=0;r<n.length;r++){var s=n[r],l=t.get(t.mapDimension(s),e);o=l,("category"===i.getAxis(s).type?null==o:null==o||isNaN(o))||a.push(i.dataToPoint(l,s))}return a}function a(t,e,n,a,r){return a=o(t,n,a,r),r=new i.Polyline({shape:{points:a},silent:!0,z2:10}),e.add(r),t.setItemGraphicEl(n,r),r}function r(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),{lineStyle:t.getModel("lineStyle").getLineStyle(),smooth:null!=e?e:.3}}function s(t,e,n,i){var o=i.lineStyle;e.hasItemOption&&(o=e.getItemModel(n).getModel("lineStyle").getLineStyle()),t.useStyle(o),o=t.style;o.fill=null,o.stroke=e.getItemVisual(n,"color"),o.opacity=e.getItemVisual(n,"opacity"),i.smooth&&(t.shape.smooth=i.smooth)}t.exports=n},"60e3":function(t,e,n){var i=n("6d8b"),o={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};t.exports={get:function(t,e,n){return t=i.clone((o[t]||{})[e]),n&&i.isArray(t)?t[t.length-1]:t}}},6179:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("4319"),a=n("80f0"),r=n("ec6f"),s=n("2b17"),l=s.defaultDimValueGetters,u=s.DefaultDataProvider,c=n("2f45").summarizeDimensions,h=n("562e"),d=i.isObject,p=(s="undefined",{float:typeof Float64Array==s?Array:Float64Array,int:typeof Int32Array==s?Array:Int32Array,ordinal:Array,number:Array,time:Array}),f=typeof Uint32Array==s?Array:Uint32Array,g=typeof Int32Array==s?Array:Int32Array,m=typeof Uint16Array==s?Array:Uint16Array;function y(t){return 65535<t._rawCount?f:m}var v=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],x=["_extent","_approximateExtent","_rawExtent"];function _(t,e){i.each(v.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,i.each(x,(function(n){t[n]=i.clone(e[n])})),t._calculationInfo=i.extend(e._calculationInfo)}function b(t,e){t=t||["x","y"];for(var n={},o=[],a={},r=0;r<t.length;r++){var s=t[r],l=(i.isString(s)?s=new h({name:s}):s instanceof h||(s=new h(s)),s.name);s.type=s.type||"float",s.coordDim||(s.coordDim=l,s.coordDimIndex=0),s.otherDims=s.otherDims||{},o.push(l),(n[l]=s).index=r,s.createInvertedIndices&&(a[l]=[])}this.dimensions=o,this._dimensionInfos=n,this.hostModel=e,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=c(this),this._invertedIndicesMap=a,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput}function w(t,e,n,i,o){var a=p[e.type],r=i-1,s=e.name,l=t[s][r];if(l&&l.length<n){for(var u=new a(Math.min(o-r*n,n)),c=0;c<l.length;c++)u[c]=l[c];t[s][r]=u}for(var h=i*n;h<o;h+=n)t[s].push(new a(Math.min(o-h,n)))}function S(t){var e=t._invertedIndicesMap;i.each(e,(function(n,i){var o=t._dimensionInfos[i].ordinalMeta;if(o){n=e[i]=new g(o.categories.length);for(var a=0;a<n.length;a++)n[a]=-1;for(a=0;a<t._count;a++)n[t.get(i,a)]=a}}))}function M(t,e,n){var i,o,a;return null!=e&&(i=t._chunkSize,a=Math.floor(n/i),e=t.dimensions[e],a=t._storage[e][a])&&(o=a[n%i],a=t._dimensionInfos[e].ordinalMeta)&&a.categories.length?a.categories[o]:o}function I(t){return t}function T(t){return t<this._count&&0<=t?this._indices[t]:-1}function A(t,e){var n=t._idList[e];return null==(n=null==n?M(t,t._idDimIdx,e):n)?"e\0\0"+e:n}function C(t){return i.isArray(t)?t:[t]}function D(t,e){for(var n=t.dimensions,o=new b(i.map(n,t.getDimensionInfo,t),t.hostModel),a=(_(o,t),o._storage={}),r=t._storage,s=0;s<n.length;s++){var l=n[s];r[l]&&(0<=i.indexOf(e,l)?(a[l]=function(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(t[n]);return e}(r[l]),o._rawExtent[l]=L(),o._extent[l]=null):a[l]=r[l])}return o}function L(){return[1/0,-1/0]}function P(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType}n=b.prototype,n.type="list",n.hasItemOption=!0,n.getDimension=function(t){return"number"!=typeof t&&(isNaN(t)||this._dimensionInfos.hasOwnProperty(t))?t:this.dimensions[t]},n.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},n.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},n.mapDimension=function(t,e){var n=this._dimensionsSummary;return null==e?n.encodeFirstDimNotExtra[t]:(n=n.encode[t],!0===e?(n||[]).slice():n&&n[e])},n.initData=function(t,e,n){(r.isInstance(t)||i.isArrayLike(t))&&(t=new u(t,this.dimensions.length)),this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=l[this._rawData.getSource().sourceFormat],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._dimValueGetterArrayRows=l.arrayRows,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},n.getProvider=function(){return this._rawData},n.appendData=function(t){var e=this._rawData,n=this.count();e.appendData(t),t=e.count();e.persistent||(t+=n),this._initDataFromProvider(n,t)},n.appendValues=function(t,e){for(var n=this._chunkSize,i=this._storage,o=this.dimensions,a=o.length,r=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e?e.length:0),u=this._chunkCount,c=0;c<a;c++)r[y=o[c]]||(r[y]=L()),i[y]||(i[y]=[]),w(i,this._dimensionInfos[y],n,u,l),this._chunkCount=i[y].length;for(var h=new Array(a),d=s;d<l;d++){for(var p=d-s,f=Math.floor(d/n),g=d%n,m=0;m<a;m++){var y=o[m],v=this._dimValueGetterArrayRows(t[p]||h,y,p,m),x=(i[y][f][g]=v,r[y]);v<x[0]&&(x[0]=v),v>x[1]&&(x[1]=v)}e&&(this._nameList[d]=e[p])}this._rawCount=this._count=l,this._extent={},S(this)},n._initDataFromProvider=function(t,e){if(!(e<=t)){for(var n,i=this._chunkSize,o=this._rawData,a=this._storage,r=this.dimensions,s=r.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},p=this._chunkCount,f=0;f<s;f++){h[T=r[f]]||(h[T]=L());var g=l[T];0===g.otherDims.itemName&&(n=this._nameDimIdx=f),0===g.otherDims.itemId&&(this._idDimIdx=f),a[T]||(a[T]=[]),w(a,g,i,p,e),this._chunkCount=a[T].length}for(var m=new Array(s),y=t;y<e;y++){m=o.getItem(y,m);for(var v,x,_,b=Math.floor(y/i),M=y%i,I=0;I<s;I++){var T,A=a[T=r[I]][b],C=this._dimValueGetter(m,T,y,I);A=(A[M]=C,h[T]);C<A[0]&&(A[0]=C),C>A[1]&&(A[1]=C)}o.pure||(v=u[y],m&&null==v&&(null!=m.name?u[y]=v=m.name:null!=n&&(x=a[_=r[n]][b])&&(v=x[M],x=l[_].ordinalMeta)&&x.categories.length&&(v=x.categories[v])),null==(_=null==m?null:m.id)&&null!=v&&(d[v]=d[v]||0,0<d[_=v]&&(_+="__ec__"+d[v]),d[v]++),null!=_&&(c[y]=_))}!o.persistent&&o.clean&&o.clean(),this._rawCount=this._count=e,this._extent={},S(this)}},n.count=function(){return this._count},n.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){o=new e(n);for(var i=0;i<n;i++)o[i]=t[i]}else o=new e(t.buffer,0,n)}else{var o=new(e=y(this))(this.count());for(i=0;i<o.length;i++)o[i]=i}return o},n.get=function(t,e){if(!(0<=e&&e<this._count))return NaN;var n=this._storage;if(!n[t])return NaN;e=this.getRawIndex(e);var i=Math.floor(e/this._chunkSize);e%=this._chunkSize;return n[t][i][e]},n.getByRawIndex=function(t,e){var n;return 0<=e&&e<this._rawCount&&(t=this._storage[t])?(n=Math.floor(e/this._chunkSize),e%=this._chunkSize,t[n][e]):NaN},n._getFast=function(t,e){var n=Math.floor(e/this._chunkSize);e%=this._chunkSize;return this._storage[t][n][e]},n.getValues=function(t,e){var n=[];i.isArray(t)||(e=t,t=this.dimensions);for(var o=0,a=t.length;o<a;o++)n.push(this.get(t[o],e));return n},n.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this.get(e[n],t)))return!1;return!0},n.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],n=L();if(!e)return n;var i=this.count();if(!this._indices)return this._rawExtent[t].slice();if(e=this._extent[t])return e.slice();for(var o=(e=n)[0],a=e[1],r=0;r<i;r++){var s=this._getFast(t,this.getRawIndex(r));s<o&&(o=s),a<s&&(a=s)}return this._extent[t]=[o,a]},n.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},n.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},n.getCalculationInfo=function(t){return this._calculationInfo[t]},n.setCalculationInfo=function(t,e){d(t)?i.extend(this._calculationInfo,t):this._calculationInfo[t]=e},n.getSum=function(t){var e=0;if(this._storage[t])for(var n=0,i=this.count();n<i;n++){var o=this.get(t,n);isNaN(o)||(e+=o)}return e},n.getMedian=function(t){var e=[],n=(t=(this.each(t,(function(t,n){isNaN(t)||e.push(t)})),[].concat(e).sort((function(t,e){return t-e}))),this.count());return 0===n?0:n%2==1?t[(n-1)/2]:(t[n/2]+t[n/2-1])/2},n.rawIndexOf=function(t,e){return t=(t&&this._invertedIndicesMap[t])[e],null==t||isNaN(t)?-1:t},n.indexOfName=function(t){for(var e=0,n=this.count();e<n;e++)if(this.getName(e)===t)return e;return-1},n.indexOfRawIndex=function(t){if(!(t>=this._rawCount||t<0)){if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,o=this._count-1;i<=o;){var a=(i+o)/2|0;if(e[a]<t)i=1+a;else{if(!(e[a]>t))return a;o=a-1}}}return-1},n.indicesOfNearest=function(t,e,n){var i=[];if(this._storage[t]){null==n&&(n=1/0);for(var o=1/0,a=-1,r=0,s=0,l=this.count();s<l;s++){var u=e-this.get(t,s),c=Math.abs(u);c<=n&&((c<o||c===o&&0<=u&&a<0)&&(o=c,a=u,r=0),u===a)&&(i[r++]=s)}i.length=r}return i},n.getRawIndex=I,n.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n<this.dimensions.length;n++){var i=this.dimensions[n];e.push(this.get(i,t))}return e},n.getName=function(t){return t=this.getRawIndex(t),this._nameList[t]||M(this,this._nameDimIdx,t)||""},n.getId=function(t){return A(this,this.getRawIndex(t))},n.each=function(t,e,n,o){"use strict";if(this._count){"function"==typeof t&&(o=n,n=e,e=t,t=[]),n=n||o||this;for(var a=(t=i.map(C(t),this.getDimension,this)).length,r=0;r<this.count();r++)switch(a){case 0:e.call(n,r);break;case 1:e.call(n,this.get(t[0],r),r);break;case 2:e.call(n,this.get(t[0],r),this.get(t[1],r),r);break;default:for(var s=0,l=[];s<a;s++)l[s]=this.get(t[s],r);l[s]=r,e.apply(n,l)}}},n.filterSelf=function(t,e,n,o){"use strict";if(this._count){"function"==typeof t&&(o=n,n=e,e=t,t=[]),n=n||o||this,t=i.map(C(t),this.getDimension,this);for(var a=this.count(),r=new(y(this))(a),s=[],l=t.length,u=0,c=t[0],h=0;h<a;h++){var d=this.getRawIndex(h);if(0===l)f=e.call(n,h);else if(1===l)var p=this._getFast(c,d),f=e.call(n,p,h);else{for(var g=0;g<l;g++)s[g]=this._getFast(c,d);s[g]=h,f=e.apply(n,s)}f&&(r[u++]=d)}return u<a&&(this._indices=r),this._count=u,this._extent={},this.getRawIndex=this._indices?T:I,this}},n.selectRange=function(t){"use strict";if(this._count){var e,n=[];for(e in t)t.hasOwnProperty(e)&&n.push(e);var i=n.length;if(i){var o=this.count(),a=new(y(this))(o),r=0,s=n[0],l=t[s][0],u=t[s][1],c=!1;if(!this._indices){var h=0;if(1===i){for(var d=this._storage[n[0]],p=0;p<this._chunkCount;p++)for(var f=d[p],g=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<g;m++)(l<=(w=f[m])&&w<=u||isNaN(w))&&(a[r++]=h),h++;c=!0}else if(2===i){d=this._storage[s];var v=this._storage[n[1]],x=t[n[1]][0],_=t[n[1]][1];for(p=0;p<this._chunkCount;p++){f=d[p];var b=v[p];for(g=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<g;m++){var w=f[m],S=b[m];(l<=w&&w<=u||isNaN(w))&&(x<=S&&S<=_||isNaN(S))&&(a[r++]=h),h++}}c=!0}}if(!c)if(1===i)for(m=0;m<o;m++){var M=this.getRawIndex(m);(l<=(w=this._getFast(s,M))&&w<=u||isNaN(w))&&(a[r++]=M)}else for(m=0;m<o;m++){var A=!0;for(M=this.getRawIndex(m),p=0;p<i;p++){var C=n[p];((w=this._getFast(e,M))<t[C][0]||w>t[C][1])&&(A=!1)}A&&(a[r++]=this.getRawIndex(m))}return r<o&&(this._indices=a),this._count=r,this._extent={},this.getRawIndex=this._indices?T:I,this}}},n.mapArray=function(t,e,n,i){"use strict";"function"==typeof t&&(i=n,n=e,e=t,t=[]);var o=[];return this.each(t,(function(){o.push(e&&e.apply(this,arguments))}),n=n||i||this),o},n.map=function(t,e,n,o){"use strict";n=n||o||this;o=D(this,t=i.map(C(t),this.getDimension,this));for(var a=(o._indices=this._indices,o.getRawIndex=o._indices?T:I,o._storage),r=[],s=this._chunkSize,l=t.length,u=this.count(),c=[],h=o._rawExtent,d=0;d<u;d++){for(var p=0;p<l;p++)c[p]=this.get(t[p],d);c[l]=d;var f=e&&e.apply(n,c);if(null!=f){"object"!=typeof f&&(r[0]=f,f=r);for(var g=this.getRawIndex(d),m=Math.floor(g/s),y=g%s,v=0;v<f.length;v++){var x=t[v],_=f[v],b=h[x];x=a[x];x&&(x[m][y]=_),_<b[0]&&(b[0]=_),_>b[1]&&(b[1]=_)}}}return o},n.downSample=function(t,e,n,i){for(var o=D(this,[t]),a=o._storage,r=[],s=Math.floor(1/e),l=a[t],u=this.count(),c=this._chunkSize,h=o._rawExtent[t],d=new(y(this))(u),p=0,f=0;f<u;f+=s){u-f<s&&(r.length=s=u-f);for(var g=0;g<s;g++){var m=this.getRawIndex(f+g),v=Math.floor(m/c);r[g]=l[v][m%c]}var x=n(r),_=this.getRawIndex(Math.min(f+i(r,x)||0,u-1));(l[Math.floor(_/c)][_%c]=x)<h[0]&&(h[0]=x),x>h[1]&&(h[1]=x),d[p++]=_}return o._count=p,o._indices=d,o.getRawIndex=T,o},n.getItemModel=function(t){var e=this.hostModel;return new o(this.getRawDataItem(t),e,e&&e.ecModel)},n.diff=function(t){var e=this;return new a(t?t.getIndices():[],this.getIndices(),(function(e){return A(t,e)}),(function(t){return A(e,t)}))},n.getVisual=function(t){var e=this._visual;return e&&e[t]},n.setVisual=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},n.setLayout=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},n.getLayout=function(t){return this._layout[t]},n.getItemLayout=function(t){return this._itemLayouts[t]},n.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?i.extend(this._itemLayouts[t]||{},e):e},n.clearItemLayouts=function(){this._itemLayouts.length=0},n.getItemVisual=function(t,e,n){return t=this._itemVisuals[t],t=t&&t[e],null!=t||n?t:this.getVisual(e)},n.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},o=this.hasItemVisual;if(this._itemVisuals[t]=i,d(e))for(var a in e)e.hasOwnProperty(a)&&(i[a]=e[a],o[a]=!0);else i[e]=n,o[e]=!0},n.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}},n.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type)&&e.traverse(P,e),this._graphicEls[t]=e},n.getItemGraphicEl=function(t){return this._graphicEls[t]},n.eachItemGraphicEl=function(t,e){i.each(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},n.cloneShallow=function(t){var e;return t||(e=i.map(this.dimensions,this.getDimensionInfo,this),t=new b(e,this.hostModel)),t._storage=this._storage,_(t,this),this._indices?(e=this._indices.constructor,t._indices=new e(this._indices)):t._indices=null,t.getRawIndex=t._indices?T:I,t},n.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(i.slice(arguments)))})},n.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],n.CHANGABLE_METHODS=["filterSelf","selectRange"],t.exports=b},"620b":function(t,e,n){var i=n("401b").distance;function o(t,e,n,i,o,a,r){return t=.5*(n-t),i=.5*(i-e),(2*(e-n)+t+i)*r+(-3*(e-n)-2*t-i)*a+t*o+e}t.exports=function(t,e){for(var n=t.length,a=[],r=0,s=1;s<n;s++)r+=i(t[s-1],t[s]);var l=(l=r/2)<n?n:l;for(s=0;s<l;s++){var u,c,h=s/(l-1)*(e?n:n-1),d=Math.floor(h),p=(h=h-d,t[d%n]),f=(d=e?(u=t[(d-1+n)%n],c=t[(d+1)%n],t[(d+2)%n]):(u=t[0===d?d:d-1],c=t[n-2<d?n-1:d+1],t[n-3<d?n-1:d+2]),h*h),g=h*f;a.push([o(u[0],p[0],c[0],d[0],h,f,g),o(u[1],p[1],c[1],d[1],h,f,g)])}return a}},"625e":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o="___EC__COMPONENT__CONTAINER___";function a(t){var e={main:"",sub:""};return t&&(t=t.split("."),e.main=t[0]||"",e.sub=t[1]||""),e}var r=0;function s(t,e){var n=i.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function l(t,e,n){return this.superClass.prototype[e].apply(t,n)}e.parseClassType=a,e.enableClassExtend=function(t,e){(t.$constructor=t).extend=function(t){function e(){(t.$constructor||n).apply(this,arguments)}var n=this;return i.extend(e.prototype,t),e.extend=this.extend,e.superCall=s,e.superApply=l,i.inherits(e,this),e.superClass=n,e}},e.enableClassCheck=function(t){var e=["__\0is_clz",r++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}},e.enableClassManagement=function(t,e){e=e||{};var n,r={};return t.registerClass=function(t,e){var n;return e&&(n=e,i.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),(e=a(e)).sub?e.sub!==o&&((function(t){var e=r[t.main];return e&&e[o]||(e=r[t.main]={___EC__COMPONENT__CONTAINER___:!0}),e}(e))[e.sub]=t):r[e.main]=t),t},t.getClass=function(t,e,n){var i=r[t];if(i&&i[o]&&(i=e?i[e]:null),n&&!i)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){t=a(t);var e=[];t=r[t.main];return t&&t[o]?i.each(t,(function(t,n){n!==o&&e.push(t)})):e.push(t),e},t.hasClass=function(t){return t=a(t),!!r[t.main]},t.getAllClassMainTypes=function(){var t=[];return i.each(r,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){return t=a(t),t=r[t.main],t&&t[o]},t.parseClassType=a,e.registerWhenExtend&&(n=t.extend)&&(t.extend=function(e){var i=n.call(this,e);return t.registerClass(i,e.type)}),t},e.setReadOnly=function(t,e){}},"627c":function(t,e,n){var i=n("6d8b"),o=n("3eba"),a=n("2306"),r=n("f934").getLayoutRect,s=n("eda2").windowOpen;o.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),o.extendComponentView({type:"title",render:function(t,e,n){var o,l,u,c,h,d,p,f,g;this.group.removeAll(),t.get("show")&&(o=this.group,p=t.getModel("textStyle"),l=t.getModel("subtextStyle"),f=t.get("textAlign"),g=i.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),h=(p=new a.Text({style:a.setTextStyle({},p,{text:t.get("text"),textFill:p.getTextColor()},{disableBox:!0}),z2:10})).getBoundingRect(),d=t.get("subtext"),l=new a.Text({style:a.setTextStyle({},l,{text:d,textFill:l.getTextColor(),y:h.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),u=t.get("link"),c=t.get("sublink"),h=t.get("triggerEvent",!0),p.silent=!u&&!h,l.silent=!c&&!h,u&&p.on("click",(function(){s(u,"_"+t.get("target"))})),c&&l.on("click",(function(){s(c,"_"+t.get("subtarget"))})),p.eventData=l.eventData=h?{componentType:"title",componentIndex:t.componentIndex}:null,o.add(p),d&&o.add(l),h=o.getBoundingRect(),(d=t.getBoxLayoutParams()).width=h.width,d.height=h.height,d=r(d,{width:n.getWidth(),height:n.getHeight()},t.get("padding")),f||("right"===(f="middle"===(f=t.get("left")||t.get("right"))?"center":f)?d.x+=d.width:"center"===f&&(d.x+=d.width/2)),g||("bottom"===(g="center"===(g=t.get("top")||t.get("bottom"))?"middle":g)?d.y+=d.height:"middle"===g&&(d.y+=d.height/2),g=g||"top"),o.attr("position",[d.x,d.y]),p.setStyle(n={textAlign:f,textVerticalAlign:g}),l.setStyle(n),h=o.getBoundingRect(),p=d.margin,(f=t.getItemStyle(["color","opacity"])).fill=t.get("backgroundColor"),g=new a.Rect({shape:{x:h.x-p[3],y:h.y-p[0],width:h.width+p[1]+p[3],height:h.height+p[0]+p[2],r:t.get("borderRadius")},style:f,subPixelOptimize:!0,silent:!0}),o.add(g))}})},6569:function(t,e,n){var i=n("6d8b"),o=n("e0d3");t.exports=function(t){var e,n,a;(a=t).parallel||(e=!1,i.each(a.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(a.parallel=[{}])),n=t,a=o.normalizeToArray(n.parallelAxis),i.each(a,(function(t){var e;i.isObject(t)&&(e=t.parallelIndex||0,e=o.normalizeToArray(n.parallel)[e])&&e.parallelAxisDefault&&i.merge(t,e.parallelAxisDefault,!1)}))}},6582:function(t,e,n){n={seriesType:"lines",plan:n("cccd")(),reset:function(t){var e=t.coordinateSystem,n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(o,a){var r=[];if(i){var s,l=o.end-o.start;if(n){for(var u=0,c=o.start;c<o.end;c++)u+=t.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var h=0,d=[];for(c=o.start;c<o.end;c++){var p=t.getLineCoords(c,r);n&&(s[h++]=p);for(var f=0;f<p;f++)d=e.dataToPoint(r[f],!1,d),s[h++]=d[0],s[h++]=d[1]}a.setLayout("linesPoints",s)}else for(c=o.start;c<o.end;c++){var g=a.getItemModel(c),m=(p=t.getLineCoords(c,r),[]);if(n)for(var y=0;y<p;y++)m.push(e.dataToPoint(r[y]));else m[0]=e.dataToPoint(r[0]),m[1]=e.dataToPoint(r[1]),g=g.get("lineStyle.curveness"),+g&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*g,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*g]);a.setItemLayout(c,m)}}}}},t.exports=n},"65ed":function(t,e,n){var i=n("22d1"),o=n("84ec").buildTransformer,a="___zrEVENTSAVED",r=[];function s(t,e,n,r,s){if(e.getBoundingClientRect&&i.domSupported&&!l(e)){var u=e[a]||(e[a]={});e=function(t,e,n){for(var i=n?"invTrans":"trans",a=e[i],r=e.srcCoords,s=!0,l=[],u=[],c=0;c<4;c++){var h=t[c].getBoundingClientRect(),d=2*c,p=h.left;h=h.top;l.push(p,h),s=s&&r&&p===r[d]&&h===r[1+d],u.push(t[c].offsetLeft,t[c].offsetTop)}return s&&a?a:(e.srcCoords=l,e[i]=n?o(u,l):o(l,u))}(function(t,e){var n=e.markers;if(!n){n=e.markers=[];for(var i=["left","right"],o=["top","bottom"],a=0;a<4;a++){var r=document.createElement("div"),s=r.style,l=a%2,u=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",o[u]+":0",i[1-l]+":auto",o[1-u]+":auto",""].join("!important;"),t.appendChild(r),n.push(r)}}return n}(e,u),u,s);if(e)return e(t,n,r),!0}return!1}function l(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=function(t,e,n,i,o){return s(r,e,i,o,!0)&&s(t,n,r[0],r[1])},e.transformCoordWithViewport=s,e.isCanvasEl=l},6679:function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("cd33"),a=i.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,i){this.axisPointerClass&&o.fixValue(t),a.superApply(this,"render",arguments),r(this,t,0,n,0,!0)},updateAxisPointer:function(t,e,n,i,o){r(this,t,0,n,0,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),a.superApply(this,"remove",arguments)},dispose:function(t,e){s(this,e),a.superApply(this,"dispose",arguments)}});function r(t,e,n,i,r,l){var u,c=a.getAxisPointerClass(t.axisPointerClass);c&&((u=o.getAxisPointerModel(e))?(t._axisPointer||(t._axisPointer=new c)).render(e,u,i,l):s(t,i))}function s(t,e,n){var i=t._axisPointer;i&&i.dispose(e,n),t._axisPointer=null}var l=[];a.registerAxisPointerClass=function(t,e){l[t]=e},a.getAxisPointerClass=function(t){return t&&l[t]},t.exports=a},"66a4":function(t,e,n){var i=n("6d8b");function o(t){var e=t.itemStyle||(t.itemStyle={}),n=(e=e.emphasis||(e.emphasis={}),t=t.label||t.label||{},t.normal||(t.normal={})),o={normal:1,emphasis:1};i.each(t,(function(t,e){o[e]||a(n,e)||(n[e]=t)})),e.label&&!a(t,"emphasis")&&(t.emphasis=e.label,delete e.label)}function a(t,e){return t.hasOwnProperty(e)}t.exports=function(t){t=t&&t.timeline,i.isArray(t)||(t=t?[t]:[]),i.each(t,(function(t){var e,n;t&&(e=(t=t).type,(n={number:"value",time:"time"})[e]&&(t.axisType=n[e],delete t.type),o(t),a(t,"controlPosition")&&(a(n=t.controlStyle||(t.controlStyle={}),"position")||(n.position=t.controlPosition),"none"!==n.position||a(n,"show")||(n.show=!1,delete n.position),delete t.controlPosition),i.each(t.data||[],(function(t){i.isObject(t)&&!i.isArray(t)&&(!a(t,"value")&&a(t,"name")&&(t.value=t.name),o(t))})))}))}},"66fc":function(t,e,n){function i(t,e,n,i,o){a.call(this,t,e,n),this.type=i||"value",this.position=o||"bottom",this.orient=null}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},o.inherits(i,a),t.exports=i},"675a":function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph().data,o=n.mapArray(n.getName);i.filterSelf((function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=o[n]);for(var a=0;a<e.length;a++)if(!e[a].isSelected(n))return!1}return!0}))}),this)}},"675c":function(t,e,n){var i=n("3eba"),o=(n("4e10"),n("a6668"),n("49e8"),n("eeea"),n("cee1")),a=n("54fb"),r=n("f6ed"),s=n("9442");n=n("7782");i.registerLayout(o),i.registerVisual(a),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,r),i.registerPreprocessor(s),n("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},"67a8":function(t,e,n){var i=n("3301");n=n("4f85").extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){return i(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});t.exports=n},"67cc":function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("6d8b"),a=n("2306"),r=n("e7aa").setLabel,s=n("4319"),l=n("b5c7"),u=n("cbe5"),c=n("e1fc"),h=n("88b3").throttle,d=n("b0af").createClipPath,p=n("c2be"),f=["itemStyle","barBorderWidth"],g=[0,0];o.extend(s.prototype,l);n=i.extendChartView({type:"bar",render:function(t,e,n){this._updateDrawMode(t);var i=t.get("coordinateSystem");return"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n)),this.group},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){t=t.pipelineContext.large,(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(t,e,n){function i(t){var e=w[d.type](u,t),n=(n=o,new("polar"===d.type?a.Sector:a.Rect)({shape:C(n,e,d),silent:!0,z2:0}));return n.useStyle(I.getBarItemStyle()),"cartesian2d"===d.type&&n.setShape("r",T),A[t]=n}var o,r,s,l=this.group,u=t.getData(),h=this._data,d=t.coordinateSystem,p=d.getBaseAxis(),f=("cartesian2d"===d.type?o=p.isHorizontal():"polar"===d.type&&(o="angle"===p.dim),t.isAnimationEnabled()?t:null),g=t.get("clip",!0),m=(p=u,s=(r=d).getArea&&r.getArea(),"cartesian2d"!==r.type||"category"===(r=r.getBaseAxis()).type&&r.onBand||(p=p.getLayout("bandWidth"),r.isHorizontal()?(s.x-=p,s.width+=2*p):(s.y-=p,s.height+=2*p)),s),y=(l.removeClipPath(),t.get("roundCap",!0)),S=t.get("showBackground",!0),I=t.getModel("backgroundStyle"),T=I.get("barBorderRadius")||0,A=[],D=this._backgroundEls||[],L=(u.diff(h).add((function(e){var n=u.getItemModel(e),a=w[d.type](u,e,n);if(S&&i(e),u.hasValue(e)){if(g&&v[d.type](m,a))return void l.remove(r);var r=x[d.type](e,a,o,f,!1,y);u.setItemGraphicEl(e,r),l.add(r),M(r,u,e,n,a,t,o,"polar"===d.type)}})).update((function(e,n){var r,s=u.getItemModel(e),c=w[d.type](u,e,s),p=(S&&(0===D.length?p=i(n):((p=D[n]).useStyle(I.getBarItemStyle()),"cartesian2d"===d.type&&p.setShape("r",T),A[e]=p),r=w[d.type](u,e),r=C(o,r,d),a.updateProps(p,{shape:r},f,e)),h.getItemGraphicEl(n));if(u.hasValue(e)){if(g&&v[d.type](m,c))return void l.remove(p);p?a.updateProps(p,{shape:c},f,e):p=x[d.type](e,c,o,f,!0,y),u.setItemGraphicEl(e,p),l.add(p),M(p,u,e,s,c,t,o,"polar"===d.type)}else l.remove(p)})).remove((function(t){var e=h.getItemGraphicEl(t);"cartesian2d"===d.type?e&&_(t,f,e):e&&b(t,f,e)})).execute(),this._backgroundGroup||(this._backgroundGroup=new c));L.removeAll();for(var P=0;P<A.length;++P)L.add(A[P]);l.add(L),this._backgroundEls=A,this._data=u},_renderLarge:function(t,e,n){this._clear(),T(t,this.group),t=t.get("clip",!0)?d(t.coordinateSystem,!1,t):null,t?this.group.setClipPath(t):this.group.removeClipPath()},_incrementalRenderLarge:function(t,e){this._removeBackground(),T(e,this.group,!0)},dispose:o.noop,remove:function(t){this._clear(t)},_clear:function(t){var e=this.group,n=this._data;t&&t.get("animation")&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){("sector"===e.type?b:_)(e.dataIndex,t,e)}))):e.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}});var m=Math.max,y=Math.min,v={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1,o=(n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),m(e.x,t.x)),a=y(e.x+e.width,t.x+t.width),r=m(e.y,t.y);t=y(e.y+e.height,t.y+t.height),e.x=o,e.y=r,e.width=a-o,e.height=t-r,a=e.width<0||e.height<0;return n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),a},polar:function(t,e){var n=e.r0<=e.r?1:-1,i=(n<0&&(i=e.r,e.r=e.r0,e.r0=i),y(e.r,t.r));t=m(e.r0,t.r0),t=(e.r=i)-(e.r0=t)<0;return n<0&&(i=e.r,e.r=e.r0,e.r0=i),t}},x={cartesian2d:function(t,e,n,i,r){var s,l=new a.Rect({shape:o.extend({},e),z2:1});return l.name="item",i&&(s={},l.shape[n=n?"height":"width"]=0,s[n]=e[n],a[r?"updateProps":"initProps"](l,{shape:s},i,t)),l},polar:function(t,e,n,i,r,s){var l,u=e.startAngle<e.endAngle;s=new(!n&&s?p:a.Sector)({shape:o.defaults({clockwise:u},e),z2:1});return s.name="item",i&&(u={},s.shape[l=n?"r":"endAngle"]=n?0:e.startAngle,u[l]=e[l],a[r?"updateProps":"initProps"](s,{shape:u},i,t)),s}};function _(t,e,n){n.style.text=null,a.updateProps(n,{shape:{width:0}},e,t,(function(){n.parent&&n.parent.remove(n)}))}function b(t,e,n){n.style.text=null,a.updateProps(n,{shape:{r:n.shape.r0}},e,t,(function(){n.parent&&n.parent.remove(n)}))}var w={cartesian2d:function(t,e,n){t=t.getItemLayout(e),n=n?(e=t,n=(n=n).get(f)||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),e=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height),Math.min(n,i,e)):0;var i=0<t.width?1:-1;e=0<t.height?1:-1;return{x:t.x+i*n/2,y:t.y+e*n/2,width:t.width-i*n,height:t.height-e*n}},polar:function(t,e,n){return t=t.getItemLayout(e),{cx:t.cx,cy:t.cy,r0:t.r0,r:t.r,startAngle:t.startAngle,endAngle:t.endAngle}}};function S(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function M(t,e,n,i,s,l,u,c){var h=e.getItemVisual(n,"color"),d=e.getItemVisual(n,"opacity"),p=(e=e.getVisual("borderColor"),i.getModel("itemStyle")),f=i.getModel("emphasis.itemStyle").getBarItemStyle();c||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(o.defaults({stroke:S(s)?"none":e,fill:S(s)?"none":h,opacity:d},p.getBarItemStyle())),e=i.getShallow("cursor"),e&&t.attr("cursor",e),d=u?0<s.height?"bottom":"top":0<s.width?"left":"right";c||r(t.style,f,i,h,l,n,d),S(s)&&(f.fill=f.stroke="none"),a.setHoverStyle(t,f)}var I=u.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,i=this.__startPoint,o=this.__baseDimIdx,a=0;a<n.length;a+=2)i[o]=n[a+o],t.moveTo(i[0],i[1]),t.lineTo(n[a],n[a+1])}});function T(t,e,n){var i,o,a,r,s=t.getData(),l=[],u=s.getLayout("valueAxisHorizontal")?1:0,c=(l[1-u]=s.getLayout("valueAxisStart"),s.getLayout("largeDataIndices")),h=s.getLayout("barWidth"),d=t.getModel("backgroundStyle");t.get("showBackground",!0)&&(r=s.getLayout("largeBackgroundPoints"),(o=[])[1-u]=s.getLayout("backgroundStart"),r=new I({shape:{points:r},incremental:!!n,__startPoint:o,__baseDimIdx:u,__largeDataIndices:c,__barWidth:h,silent:!0,z2:0}),o=r,a=s,i=(d=d).get("borderColor")||d.get("color"),d=d.getItemStyle(["color","borderColor"]),o.useStyle(d),o.style.fill=null,o.style.stroke=i,o.style.lineWidth=a.getLayout("barWidth"),e.add(r)),d=new I({shape:{points:s.getLayout("largePoints")},incremental:!!n,__startPoint:l,__baseDimIdx:u,__largeDataIndices:c,__barWidth:h});e.add(d),i=d,o=t,r=(a=s).getVisual("borderColor")||a.getVisual("color"),o=o.getModel("itemStyle").getItemStyle(["color","borderColor"]),i.useStyle(o),i.style.fill=null,i.style.stroke=r,i.style.lineWidth=a.getLayout("barWidth"),d.seriesIndex=t.seriesIndex,t.get("silent")||(d.on("mousedown",A),d.on("mousemove",A))}var A=h((function(t){t=function(t,e,n){for(var i=t.__baseDimIdx,o=1-i,a=t.shape.points,r=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[o],u=(t=(g[0]=e,g[1]=n,g[i]),g[1-i]),c=t-s,h=t+s,d=0,p=a.length/2;d<p;d++){var f=2*d,m=a[f+i];f=a[f+o];if(c<=m&&m<=h&&(l<=f?l<=u&&u<=f:f<=u&&u<=l))return r[d]}return-1}(this,t.offsetX,t.offsetY),this.dataIndex=0<=t?t:null}),30,!1);function C(t,e,n){var i="polar"===n.type;n=i?n.getArea():n.grid.getRect();return i?{cx:n.cx,cy:n.cy,r0:(t?n:e).r0,r:(t?n:e).r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:(t?e:n).x,y:(t?n:e).y,width:(t?e:n).width,height:(t?n:e).height}}t.exports=n},"68ab":function(t,e,n){var i=n("4a3f").quadraticProjectPoint;e.containStroke=function(t,e,n,o,a,r,s,l,u){return 0!==s&&!(e+(s=s)<u&&o+s<u&&r+s<u||u<e-s&&u<o-s&&u<r-s||t+s<l&&n+s<l&&a+s<l||l<t-s&&l<n-s&&l<a-s)&&i(t,e,n,o,a,r,l,u,null)<=s/2}},6932:function(t,e,n){n("6cb7").registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))},"697e":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("18c0"),a=n("89e3"),r=n("e0d8"),s=n("3842"),l=n("9d57"),u=l.prepareLayoutBarSeries,c=l.makeColumnLayout,h=l.retrieveColumnLayout,d=n("9850");function p(t,e){var n,o,a,r,l,d=t.type,p=e.getMin(),f=e.getMax(),g=t.getExtent(),m=("ordinal"===d?v=e.getCategories().length:(o=e.get("boundaryGap"),(o="boolean"==typeof(o=i.isArray(o)?o:[o||0,o||0])[0]?[0,0]:o)[0]=s.parsePercent(o[0],1),o[1]=s.parsePercent(o[1],1),a=g[1]-g[0]||Math.abs(g[0])),"dataMin"===p?p=g[0]:"function"==typeof p&&(p=p({min:g[0],max:g[1]})),"dataMax"===f?f=g[1]:"function"==typeof f&&(f=f({min:g[0],max:g[1]})),null!=p),y=null!=f,v=(null==p&&(p="ordinal"===d?v?0:NaN:g[0]-o[0]*a),null==f&&(f="ordinal"===d?v?v-1:NaN:g[1]+o[1]*a),null!=p&&isFinite(p)||(p=NaN),null!=f&&isFinite(f)||(f=NaN),t.setBlank(i.eqNaN(p)||i.eqNaN(f)||"ordinal"===d&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(p=0<p&&0<f&&!m?0:p)<0&&f<0&&!y&&(f=0),e.ecModel);return v&&"time"===d&&(g=u("bar",v),i.each(g,(function(t){n|=t.getBaseAxis()===e.axis})),n)&&(o=c(g),a=p,t=f,d=o,g=(g=(v=e).axis.getExtent())[1]-g[0],void 0!==(d=h(d,v.axis))&&(r=1/0,i.each(d,(function(t){r=Math.min(t.offset,r)})),l=-1/0,i.each(d,(function(t){l=Math.max(t.offset+t.width,l)})),r=Math.abs(r),l=Math.abs(l),t+=l/(v=r+l)*(g=(d=t-a)/(1-(r+l)/g)-d),a-=r/v*g),p=(o={min:a,max:t}).min,f=o.max),{extent:[p,f],fixMin:m,fixMax:y}}function f(t){var e,n=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof n?(e=n,n=function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}):"function"==typeof n?function(e,o){return null!=i&&(o=e-i),n(g(t,e),o)}:function(e){return t.scale.getLabel(e)}}function g(t,e){return"category"===t.type?t.scale.getLabel(e):e}function m(t){return t=t.get("interval"),null==t?"auto":t}n("216a"),n("8c2a"),e.getScaleExtent=p,e.niceScaleExtent=function(t,e){var n=p(t,e),i=n.extent,o=e.get("splitNumber"),a=("log"===t.type&&(t.base=e.get("logBase")),t.type);t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:o,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===a||"time"===a?e.get("minInterval"):null,maxInterval:"interval"===a||"time"===a?e.get("maxInterval"):null}),null!=(i=e.get("interval"))&&t.setInterval&&t.setInterval(i)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new o(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(r.getClass(e)||a).create(t)}},e.ifAxisCrossZero=function(t){var e=(t=t.scale.getExtent())[0];t=t[1];return!(0<e&&0<t||e<0&&t<0)},e.makeLabelFormatter=f,e.getAxisRawValue=g,e.estimateLabelUnionRect=function(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){e="category"===t.type;var i,o,a=n.getExtent(),r=e?n.count():(i=n.getTicks()).length,s=t.getLabelModel(),l=f(t),u=1;40<r&&(u=Math.ceil(r/40));for(var c,h,p,g=0;g<r;g+=u){var m=l(i?i[g]:a[0]+g),y=(m=s.getTextRect(m),m=m,c=s.get("rotate")||0,h=p=y=h=void 0,c=c*Math.PI/180,m=m.plain(),h=m.width,y=m.height,p=h*Math.abs(Math.cos(c))+Math.abs(y*Math.sin(c)),h=h*Math.abs(Math.sin(c))+Math.abs(y*Math.cos(c)),new d(m.x,m.y,p,h));o?o.union(y):o=y}return o}},e.getOptionCategoryInterval=m,e.shouldShowAllLabels=function(t){return"category"===t.type&&0===m(t.getLabelModel())}},"697e7":function(t,e,n){var i=n("de00"),o=n("22d1"),a=n("6d8b"),r=n("d2cf"),s=n("afa0"),l=n("ed21"),u=n("30a3"),c=n("cdaa"),h=!o.canvasSupported,d={canvas:l},p={};function f(t,e,n){n=n||{},this.dom=e,this.id=t;var i=this,l=new s,p=n.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");p="vml"}else p&&d[p]||(p="canvas");p=new d[p](e,l,n,t),this.storage=l,this.painter=p,e=o.node||o.worker?null:new c(p.getViewportRoot(),p.root);var f=(this.handler=new r(l,p,e,p.root),this.animation=new u({stage:{update:a.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh,l.delFromStorage),g=l.addToStorage;l.delFromStorage=function(t){f.call(l,t),t&&t.removeSelfFromZr(i)},l.addToStorage=function(t){g.call(l,t),t.addSelfToZr(i)}}f.prototype={constructor:f,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){if(this.painter.addHover)return t=this.painter.addHover(t,e),this.refreshHover(),t},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){this.painter.resize((t=t||{}).width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,n){this.handler.on(t,e,n)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete p[t]}},e.version="4.3.2",e.init=function(t,e){return t=new f(i(),t,e),p[t.id]=t},e.dispose=function(t){if(t)t.dispose();else{for(var e in p)p.hasOwnProperty(e)&&p[e].dispose();p={}}return this},e.getInstance=function(t){return p[t]},e.registerPainter=function(t,e){d[t]=e}},"69ff":function(t,e,n){var i=n("6d8b"),o=i.each,a=i.map,r=i.isFunction,s=i.createHashMap,l=i.noop,u=n("f47d").createTask,c=n("8918").getUID,h=(i=n("7e63"),n("843e")),d=n("e0d3").normalizeToArray;function p(t,e,n,i){this.ecInstance=t,this.api=e,this.unfinished,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i),this._stageTaskMap=s()}function f(t,e,n,i,a){var r;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}a=a||{},o(e,(function(e,o){var l,u,c,h,d;a.visualType&&a.visualType!==e.visualType||(l=(u=t._stageTaskMap.get(e.uid)).seriesTaskMap,(u=u.overallTask)?((h=u.agentStubMap).each((function(t){s(a,t)&&(t.dirty(),c=!0)})),c&&u.dirty(),g(u,i),d=t.getPerformArgs(u,a.block),h.each((function(t){t.perform(d)})),r|=u.perform(d)):l&&l.each((function(o,l){s(a,o)&&o.dirty();var u=t.getPerformArgs(o,a.block);u.skip=!e.performRawSeries&&n.isSeriesFiltered(o.context.model),g(o,i),r|=o.perform(u)})))})),t.unfinished|=r}n=p.prototype,n.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){t=t.overallTask,t&&t.dirty()}))},n.getPerformArgs=function(t,e){var n,i;if(t.__pipeline)return i=(n=this._pipelineMap.get(t.__pipeline.id)).context,{step:e=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,modBy:null!=(t=i&&i.modDataCount)?Math.ceil(t/e):null,modDataCount:t}},n.getPipeline=function(t){return this._pipelineMap.get(t)},n.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),o=(e=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,t.get("large")&&i>=t.get("largeThreshold"));i="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:e,modDataCount:i,large:o}},n.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries((function(t){var i=t.getProgressive(),o=t.uid;n.set(o,{id:o,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),I(e,t,t.dataTask)}))},n.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;o(this._allHandlers,(function(i){var a,r,l,c,h,d,p,f,g,v,w,S,T,A,C,D=t.get(i.uid)||t.set(i.uid,[]);function L(t){var e=t.uid;e=h.get(e)||h.set(e,u({plan:_,reset:b,count:M}));e.context={model:t,ecModel:l,api:c,useClearVisual:r.isVisual&&!r.isLayout,plan:r.plan,reset:r.reset,scheduler:a},I(a,t,e)}function P(t){var e=t.uid,n=w.get(e);n||(n=w.set(e,u({reset:y,onDirty:x})),v.dirty()),n.context={model:t,overallProgress:T,modifyOutputEnd:A},n.agent=v,n.__block=T,I(p,t,n)}i.reset&&(a=this,r=i,l=e,c=n,h=(f=D).seriesTaskMap||(f.seriesTaskMap=s()),f=r.seriesType,g=r.getTargetSeries,r.createOnAllSeries?l.eachRawSeries(L):f?l.eachRawSeriesByType(f,L):g&&g(l,c).each(L),d=a._pipelineMap,h.each((function(t,e){d.get(e)||(t.dispose(),h.removeKey(e))}))),i.overallReset&&(p=this,f=i,g=e,i=n,(v=(D=D).overallTask=D.overallTask||u({reset:m})).context={ecModel:g,api:i,overallReset:f.overallReset,scheduler:p},w=v.agentStubMap=v.agentStubMap||s(),D=f.seriesType,S=f.getTargetSeries,T=!0,A=f.modifyOutputEnd,D?g.eachRawSeriesByType(D,P):S?S(g,i).each(P):(T=!1,o(g.getSeries(),P)),C=p._pipelineMap,w.each((function(t,e){C.get(e)||(t.dispose(),v.dirty(),w.removeKey(e))})))}),this)},n.prepareView=function(t,e,n,i){var o=t.renderTask,a=o.context;a.model=e,a.ecModel=n,a.api=i,o.__block=!t.incrementalPrepareRender,I(this,e,o)},n.performDataProcessorTasks=function(t,e){f(this,this._dataProcessorHandlers,t,e,{block:!0})},n.performVisualTasks=function(t,e,n){f(this,this._visualHandlers,t,e,n)},n.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},n.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}}while(e=e.getUpstream())}))};var g=n.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function m(t){t.overallReset(t.ecModel,t.api,t.payload)}function y(t,e){return t.overallProgress&&v}function v(){this.agent.dirty(),this.getDownstream().dirty()}function x(){this.agent&&this.agent.dirty()}function _(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function b(t){return t.useClearVisual&&t.data.clearAllVisual(),t=t.resetDefines=d(t.reset(t.model,t.ecModel,t.api,t.payload)),1<t.length?a(t,(function(t,e){return S(e)})):w}var w=S(0);function S(t){return function(e,n){var i=n.data,o=n.resetDefines[t];if(o&&o.dataEach)for(var a=e.start;a<e.end;a++)o.dataEach(i,a);else o&&o.progress&&o.progress(e,i)}}function M(t){return t.data.count()}function I(t,e,n){e=e.uid,t=t._pipelineMap.get(e),t.head||(t.head=n),t.tail&&t.tail.pipe(n),(t.tail=n).__idxInPipeline=t.count++,n.__pipeline=t}p.wrapStageHandler=function(t,e){return(t=r(t)?{overallReset:t,seriesType:function(t){T=null;try{t(A,C)}catch(t){}return T}(t)}:t).uid=c("stageHandler"),e&&(t.visualType=e),t};var T,A={},C={};function D(t,e){for(var n in e.prototype)t[n]=l}D(A,i),D(C,h),A.eachSeriesByType=A.eachRawSeriesByType=function(t){T=t},A.eachComponent=function(t){"series"===t.mainType&&t.subType&&(T=t.subType)},t.exports=p},"6a4c":function(t,e,n){var i=n("4527"),o=n("6d8b"),a=n("0fd3"),r=n("401b");function s(t,e,n){a.call(this,t,e,n),this._lastFrame=0,this._lastFramePercent=0}n=s.prototype,n.createLine=function(t,e,n){return new i(t,e,n)},n.updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,o=1;o<e.length;o++){var a=e[o-1],s=e[o];i+=r.dist(a,s),n.push(i)}if(0!==i){for(o=0;o<n.length;o++)n[o]/=i;this._offsets=n,this._length=i}},n.getLineLength=function(t){return this._length},n.updateSymbolPosition=function(t){var e=t.__t,n=this._points,i=this._offsets,o=n.length;if(i){var a=this._lastFrame;if(e<this._lastFramePercent){for(s=Math.min(a+1,o-1);0<=s&&!(i[s]<=e);s--);s=Math.min(s,o-2)}else{for(var s=a;s<o&&!(i[s]>e);s++);s=Math.min(s-1,o-2)}r.lerp(t.position,n[s],n[s+1],(e-i[s])/(i[s+1]-i[s])),a=n[s+1][0]-n[s][0],n=n[s+1][1]-n[s][1],t.rotation=-Math.atan2(n,a)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},o.inherits(s,a),t.exports=s},"6acf":function(t,e,n){var i=n("eda2"),o=n("dcb3"),a=n("2306"),r=n("ff2e"),s=n("1687"),l=n("fab2"),u=(n=n("6679"),o=o.extend({makeElOption:function(t,e,n,o,c){var h,d=n.axis,p=("angle"===d.dim&&(this.animationThreshold=Math.PI/18),d.polar),f=p.getOtherAxis(d).getExtent(),g=d["dataTo"+i.capitalFirst(d.dim)](e),m=o.get("type");m&&"none"!==m&&(h=r.buildElStyle(o),(m=u[m](d,p,g,f,h)).style=h,t.graphicKey=m.type,t.pointer=m),d=function(t,e,n,i){var o,r,u,c=e.axis,h=(t=c.dataToCoord(t),u=(u=n.getAngleAxis().getExtent()[0])/180*Math.PI,n.getRadiusAxis().getExtent());return h="radius"===c.dim?(c=s.create(),s.rotate(c,c,u),s.translate(c,c,[n.cx,n.cy]),o=a.applyTransform([t,-i],c),c=e.getModel("axisLabel").get("rotate")||0,e=l.innerTextLayout(u,c*Math.PI/180,-1),r=e.textAlign,e.textVerticalAlign):(u=h[1],o=n.coordToPoint([u+i,t]),c=n.cx,e=n.cy,r=Math.abs(o[0]-c)/u<.3?"center":o[0]>c?"left":"right",Math.abs(o[1]-e)/u<.3?"middle":o[1]>e?"top":"bottom"),{position:o,align:r,verticalAlign:h}}(e,n,p,o.get("label.margin")),r.buildLabelElOption(t,n,o,c,d)}}),{line:function(t,e,n,i,o){return"angle"===t.dim?{type:"Line",shape:r.makeLineShape(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i,o){var a=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,i[0],i[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,n-a/2,n+a/2,0,2*Math.PI)}}});n.registerAxisPointerClass("PolarAxisPointer",o),t.exports=o},"6bd4":function(t,e){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};t.exports=function(t,e){"world"===t&&(t=n[e.name])&&((e=e.center)[0]=t[0],e[1]=t[1])}},"6c12":function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("6d8b"),a=n("fab2"),r=n("2306"),s=["axisLine","axisTickLabel","axisName"];n=i.extendComponentView({type:"radar",render:function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem;t=e.getIndicatorAxes(),t=o.map(t,(function(t){return new a(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));o.each(t,(function(t){o.each(s,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),a=t.getModel("splitLine"),s=(t=t.getModel("splitArea"),a.getModel("lineStyle")),l=t.getModel("areaStyle"),u=a.get("show"),c=t.get("show"),h=s.get("color"),d=l.get("color"),p=(h=o.isArray(h)?h:[h],d=o.isArray(d)?d:[d],[]),f=[];if("circle"===i)for(var g=n[0].getTicksCoords(),m=e.cx,y=e.cy,v=0;v<g.length;v++)u&&p[T(p,h,v)].push(new r.Circle({shape:{cx:m,cy:y,r:g[v].coord}})),c&&v<g.length-1&&f[T(f,d,v)].push(new r.Ring({shape:{cx:m,cy:y,r0:g[v].coord,r:g[v+1].coord}}));else{var x,_=o.map(n,(function(t,n){return t=t.getTicksCoords(),x=null==x?t.length-1:Math.min(t.length-1,x),o.map(t,(function(t){return e.coordToPoint(t.coord,n)}))})),b=[];for(v=0;v<=x;v++){for(var w=[],S=0;S<n.length;S++)w.push(_[S][v]);w[0]&&w.push(w[0].slice()),u&&p[T(p,h,v)].push(new r.Polyline({shape:{points:w}})),c&&b&&f[T(f,d,v-1)].push(new r.Polygon({shape:{points:w.concat(b)}})),b=w.slice().reverse()}}var M=s.getLineStyle(),I=l.getAreaStyle();o.each(f,(function(t,e){this.group.add(r.mergePath(t,{style:o.defaults({stroke:"none",fill:d[e%d.length]},I),silent:!0}))}),this),o.each(p,(function(t,e){this.group.add(r.mergePath(t,{style:o.defaults({fill:"none",stroke:h[e%h.length]},M),silent:!0}))}),this)}function T(t,e,n){return n%=e.length,t[n]=t[n]||[],n}}});t.exports=n},"6c12f":function(t,e,n){var i=n("3eba"),o=(n("2cfc"),n("adf4"),n("255c"),n("527a")),a=n("71b2");n=n("d3f47");i.registerLayout(o),i.registerVisual(a),i.registerProcessor(n("themeRiver"))},"6cb7":function(t,e,n){var i=n("6d8b"),o=n("4319"),a=n("8918"),r=n("625e"),s=r.enableClassManagement,l=r.parseClassType,u=(r=n("e0d3").makeInner,n("f934")),c=(n=n("de1c"),r()),h=o.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,n,i){o.call(this,t,e,n,i),this.uid=a.getUID("ec_cpt_model")},init:function(t,e,n,i){this.mergeDefaultAndTheme(t,n)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,o=n?u.getLayoutParams(t):{};e=e.getTheme();i.merge(t,e.get(this.mainType)),i.merge(t,this.getDefaultOption()),n&&u.mergeLayoutParam(t,o,n)},mergeOption:function(t,e){i.merge(this.option,t,!0);var n=this.layoutMode;n&&u.mergeLayoutParam(this.option,t,n)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=c(this);if(!t.defaultOption){for(var e=[],n=this.constructor;n;){var o=n.prototype.defaultOption;o&&e.push(o),n=n.superClass}for(var a={},r=e.length-1;0<=r;r--)a=i.merge(a,e[r],!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)})}});s(h,{registerWhenExtend:!0}),a.enableSubTypeDefaulter(h),a.enableTopologicalTravel(h,(function(t){var e=[];return i.each(h.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=i.map(e,(function(t){return l(t).main})),"dataset"!==t&&i.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e})),i.mixin(h,n),t.exports=h},"6cc5":function(t,e,n){var i=n("6d8b"),o=n("401b"),a=n("1687"),r=n("9850"),s=n("0cde"),l=o.applyTransform;function u(){s.call(this)}function c(t){this.name=t,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function h(t,e,n,i){return n=n.seriesModel,n=n?n.coordinateSystem:null,n===this?n[t](i):null}i.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,i){return this._rect=new r(t,e,n,i),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,i){this.transformTo(t,e,n,i),this._viewRect=new r(t,e,n,i)},transformTo:function(t,e,n,i){var o=this.getBoundingRect(),a=this._rawTransformable;a.transform=o.calculateTransform(new r(t,e,n,i)),a.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min)&&(t=Math.max(e.min,t)),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),a=this.getZoom();i=o.applyTransform([],i,t),n=o.applyTransform([],n,t);e.origin=i,e.position=[n[0]-i[0],n[1]-i[1]],e.scale=[a,a],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;(e.parent=t).updateTransform(),e.updateTransform(),a.copy(this.transform||(this.transform=[]),e.transform||a.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],a.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var t=this._roamTransformable.transform,e=this._rawTransformable;return{roamTransform:t?i.slice(t):a.create(),rawScale:i.slice(e.scale),rawPosition:i.slice(e.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,n){return e=e?this._rawTransform:this.transform,n=n||[],e?l(n,t,e):o.copy(n,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:i.curry(h,"dataToPoint"),convertFromPixel:i.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},i.mixin(c,s),t.exports=c},"6cd8":function(t,e,n){var i=n("6d8b"),o=n("2306"),a=n("1418"),r=n("22da").radialCoordinate,s=n("3eba"),l=n("e2637"),u=n("6cc5"),c=n("01ef"),h=n("4a01"),d=n("c526").onIrrelevantElement,p=(n("4e08").__DEV__,n("3842").parsePercent),f=o.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.childPoints,i=n.length,o=e.parentPoint,a=n[0],r=n[i-1];if(1===i)t.moveTo(o[0],o[1]),t.lineTo(a[0],a[1]);else{var s=e.orient,l="TB"===s||"BT"===s?0:1,u=(s=1-l,e=p(e.forkPosition,1),[]);u[l]=o[l],u[s]=o[s]+(r[s]-o[s])*e,t.moveTo(o[0],o[1]),t.lineTo(u[0],u[1]),t.moveTo(a[0],a[1]),u[l]=a[l],t.lineTo(u[0],u[1]),u[l]=r[l],t.lineTo(u[0],u[1]),t.lineTo(r[0],r[1]);for(var c=1;c<i-1;c++){var h=n[c];t.moveTo(h[0],h[1]),u[l]=h[l],t.lineTo(u[0],u[1])}}}});n=s.extendChartView({type:"tree",init:function(t,e){this._oldTree,this._mainGroup=new o.Group,this._controller=new h(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(t,e,n,i){var o=t.getData(),a=t.layoutInfo,r=this._mainGroup,s=t.get("layout"),l=("radial"===s?r.attr("position",[a.x+a.width/2,a.y+a.height/2]):r.attr("position",[a.x,a.y]),this._updateViewCoordSys(t,a,s),this._updateController(t,e,n),this._data),u={expandAndCollapse:t.get("expandAndCollapse"),layout:s,edgeShape:t.get("edgeShape"),edgeForkPosition:t.get("edgeForkPosition"),orient:t.getOrient(),curvature:t.get("lineStyle.curveness"),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};o.diff(l).add((function(e){g(o,e)&&y(o,e,null,r,t,u)})).update((function(e,n){var i=l.getItemGraphicEl(n);g(o,e)?y(o,e,i,r,t,u):i&&v(l,n,i,r,t,u)})).remove((function(e){var n=l.getItemGraphicEl(e);n&&v(l,e,n,r,t,u)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===u.expandAndCollapse&&o.eachItemGraphicEl((function(e,i){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:i})}))})),this._data=o},_updateViewCoordSys:function(t){var e=t.getData(),n=[],i=(e.each((function(t){t=e.getItemLayout(t),!t||isNaN(t.x)||isNaN(t.y)||n.push([+t.x,+t.y])})),[]),o=[],a=(l.fromPoints(n,i,o),this._min),r=this._max;o[0]-i[0]==0&&(i[0]=a?a[0]:i[0]-1,o[0]=r?r[0]:o[0]+1),o[1]-i[1]==0&&(i[1]=a?a[1]:i[1]-1,o[1]=r?r[1]:o[1]+1),a=t.coordinateSystem=new u;a.zoomLimit=t.get("scaleLimit"),a.setBoundingRect(i[0],i[1],o[0]-i[0],o[1]-i[1]),a.setCenter(t.get("center")),a.setZoom(t.get("zoom")),this.group.attr({position:a.position,scale:a.scale}),this._viewCoordSys=a,this._min=i,this._max=o},_updateController:function(t,e,n){var i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(e,i,o){var r=a.getBoundingRect();return r.applyTransform(a.transform),r.contain(i,o)&&!d(e,n,t)})),i.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){c.updateViewOnPan(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})}),this).on("zoom",(function(e){c.updateViewOnZoom(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(t)}),this)},_updateNodeAndLinkScale:function(t){var e=t.getData(),n=(t=this._getNodeGlobalScale(t),[t,t]);e.eachItemGraphicEl((function(t,e){t.attr("scale",n)}))},_getNodeGlobalScale:function(t){var e,n;t=t.coordinateSystem;return"view"!==t.type?1:(e=this._nodeScaleRatio,n=(n=t.scale)&&n[0]||1,((t.getZoom()-1)*e+1)/n)},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function g(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)&&"none"!==t.getItemVisual(e,"symbol")}function m(t,e,n){return n.itemModel=e,n.itemStyle=e.getModel("itemStyle").getItemStyle(),n.hoverItemStyle=e.getModel("emphasis.itemStyle").getItemStyle(),n.lineStyle=e.getModel("lineStyle").getLineStyle(),n.labelModel=e.getModel("label"),n.hoverLabelModel=e.getModel("emphasis.label"),!1===t.isExpand&&0!==t.children.length?n.symbolInnerColor=n.itemStyle.fill:n.symbolInnerColor="#fff",n}function y(t,e,n,r,s,l){var u=!n,c=t.tree.getNodeByDataIndex(e),h=c.getModel(),d=(l=m(c,h,l),h=t.tree.root,c.parentNode!==h&&c.parentNode||c),p=t.getItemGraphicEl(d.dataIndex),g=(d=d.getLayout(),p=p?{x:p.position[0],y:p.position[1],rawX:p.__radialOldRawX,rawY:p.__radialOldRawY}:d,c.getLayout()),y=(u=(u?(n=new a(t,e,l)).attr("position",[p.x,p.y]):n.updateData(t,e,l),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,r.add(n),t.setItemGraphicEl(e,n),o.updateProps(n,{position:[g.x,g.y]},s),n.getSymbolPath()),"radial"===l.layout&&(e=(t=h.children[0]).getLayout(),v=t.children.length,g.x===e.x&&!0===c.isExpand?((y={}).x=(t.children[0].getLayout().x+t.children[v-1].getLayout().x)/2,y.y=(t.children[0].getLayout().y+t.children[v-1].getLayout().y)/2,(_=Math.atan2(y.y-e.y,y.x-e.x))<0&&(_=2*Math.PI+_),(y=y.x<e.x)&&(_-=Math.PI)):((_=Math.atan2(g.y-e.y,g.x-e.x))<0&&(_=2*Math.PI+_),0===c.children.length||0!==c.children.length&&!1===c.isExpand?(y=g.x<e.x)&&(_-=Math.PI):(y=g.x>e.x)||(_-=Math.PI)),t=y?"left":"right",e=(v=l.labelModel.get("rotate"))*(Math.PI/180),u.setStyle({textPosition:l.labelModel.get("position")||t,textRotation:null==v?-_:e,textOrigin:"center",verticalAlign:"middle"})),s),v=(u=c,t=h,n),_=p;e=d,s=g,c=r,h=l,n=h.edgeShape,p=v.__edge;if("curve"===n)u.parentNode&&u.parentNode!==t&&(p=p||(v.__edge=new o.BezierCurve({shape:x(h,_,_),style:i.defaults({opacity:0,strokeNoScale:!0},h.lineStyle)})),o.updateProps(p,{shape:x(h,e,s),style:i.defaults({opacity:1},h.lineStyle)},y));else if("polyline"===n&&"orthogonal"===h.layout&&u!==t&&u.children&&0!==u.children.length&&!0===u.isExpand){for(var b=u.children,w=[],S=0;S<b.length;S++){var M=b[S].getLayout();w.push([M.x,M.y])}p=p||(v.__edge=new f({shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]],orient:h.orient,forkPosition:h.edgeForkPosition},style:i.defaults({opacity:0,strokeNoScale:!0},h.lineStyle)})),o.updateProps(p,{shape:{parentPoint:[s.x,s.y],childPoints:w},style:i.defaults({opacity:1},h.lineStyle)},y)}c.add(p)}function v(t,e,n,i,a,r){var s,l=t.tree.getNodeByDataIndex(e),u=t.tree.root,c=l.getModel(),h=(r=m(l,c,r),l.parentNode!==u&&l.parentNode||l);for(r.edgeShape;null==(s=h.getLayout());)h=h.parentNode!==u&&h.parentNode||h;o.updateProps(n,{position:[s.x+1,s.y+1]},a,(function(){i.remove(n),t.setItemGraphicEl(e,null)})),n.fadeOut(null,{keepLabel:!0});c=t.getItemGraphicEl(h.dataIndex).__edge;var d=n.__edge||(!1===h.isExpand||1===h.children.length?c:void 0);l=r.edgeShape;d&&("curve"===l?o.updateProps(d,{shape:x(r,s,s),style:{opacity:0}},a,(function(){i.remove(d)})):"polyline"===l&&"orthogonal"===r.layout&&o.updateProps(d,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},a,(function(){i.remove(d)})))}function x(t,e,n){var i,o,a,s,l,u,c,h,d,p,f,g,m=t.orient;return"radial"===t.layout?(l=e.rawX,u=e.rawY,c=n.rawX,h=n.rawY,d=r(l,u),p=r(l,u+(h-u)*t.curvature),f=r(c,h+(u-h)*t.curvature),g=r(c,h),{x1:d.x,y1:d.y,x2:g.x,y2:g.y,cpx1:p.x,cpy1:p.y,cpx2:f.x,cpy2:f.y}):(l=e.x,u=e.y,c=n.x,h=n.y,"LR"!==m&&"RL"!==m||(i=l+(c-l)*t.curvature,o=u,a=c+(l-c)*t.curvature,s=h),"TB"!==m&&"BT"!==m||(i=l,o=u+(h-u)*t.curvature,a=c,s=h+(u-h)*t.curvature),{x1:l,y1:u,x2:c,y2:h,cpx1:i,cpy1:o,cpx2:a,cpy2:s})}t.exports=n},"6d8b":function(t,e){var n,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},o={"[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},a=Object.prototype.toString,r=Array.prototype,s=r.forEach,l=r.filter,u=r.slice,c=r.map,h=r.reduce,d={};function p(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!M(t)){e=[];for(var r=0,s=t.length;r<s;r++)e[r]=p(t[r])}}else if(o[n]){if(!M(t)){var l=t.constructor;if(t.constructor.from)e=l.from(t);else for(e=new l(t.length),r=0,s=t.length;r<s;r++)e[r]=p(t[r])}}else if(!i[n]&&!M(t)&&!w(t))for(var u in e={},t)t.hasOwnProperty(u)&&(e[u]=p(t[u]));return e}function f(t,e,n){if(!_(e)||!_(t))return n?p(e):t;for(var i in e){var o,a;e.hasOwnProperty(i)&&(o=t[i],!_(a=e[i])||!_(o)||x(a)||x(o)||w(a)||w(o)||b(a)||b(o)||M(a)||M(o)?!n&&i in t||(t[i]=p(e[i])):f(o,a,n))}return t}function g(t,e,n){for(var i in e)e.hasOwnProperty(i)&&(n?null!=e[i]:null==t[i])&&(t[i]=e[i]);return t}function m(){return d.createCanvas()}function y(t,e,n){if(t&&e)if(t.forEach&&t.forEach===s)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,o=t.length;i<o;i++)e.call(n,t[i],i,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(n,t[a],a,t)}function v(t,e){var n=u.call(arguments,2);return function(){return t.apply(e,n.concat(u.call(arguments)))}}function x(t){return"[object Array]"===a.call(t)}function _(t){var e=typeof t;return"function"==e||!!t&&"object"==e}function b(t){return!!i[a.call(t)]}function w(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}d.createCanvas=function(){return document.createElement("canvas")};var S="__ec_primitive__";function M(t){return t[S]}function I(t){var e=x(t),n=(this.data={},this);function i(t,i){e?n.set(t,i):n.set(i,t)}t instanceof I?t.each(i):t&&y(t,i)}I.prototype={constructor:I,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){for(var n in void 0!==e&&(t=v(t,e)),this.data)this.data.hasOwnProperty(n)&&t(this.data[n],n)},removeKey:function(t){delete this.data[t]}},e.$override=function(t,e){"createCanvas"===t&&(n=null),d[t]=e},e.clone=p,e.merge=f,e.mergeAll=function(t,e){for(var n=t[0],i=1,o=t.length;i<o;i++)n=f(n,t[i],e);return n},e.extend=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},e.defaults=g,e.createCanvas=m,e.getContext=function(){return n=n||m().getContext("2d")},e.indexOf=function(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1},e.inherits=function(t,e){var n,i=t.prototype;function o(){}for(n in o.prototype=e.prototype,t.prototype=new o,i)i.hasOwnProperty(n)&&(t.prototype[n]=i[n]);(t.prototype.constructor=t).superClass=e},e.mixin=function(t,e,n){g(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,n)},e.isArrayLike=function(t){if(t)return"string"!=typeof t&&"number"==typeof t.length},e.each=y,e.map=function(t,e,n){if(t&&e){if(t.map&&t.map===c)return t.map(e,n);for(var i=[],o=0,a=t.length;o<a;o++)i.push(e.call(n,t[o],o,t));return i}},e.reduce=function(t,e,n,i){if(t&&e){if(t.reduce&&t.reduce===h)return t.reduce(e,n,i);for(var o=0,a=t.length;o<a;o++)n=e.call(i,n,t[o],o,t);return n}},e.filter=function(t,e,n){if(t&&e){if(t.filter&&t.filter===l)return t.filter(e,n);for(var i=[],o=0,a=t.length;o<a;o++)e.call(n,t[o],o,t)&&i.push(t[o]);return i}},e.find=function(t,e,n){if(t&&e)for(var i=0,o=t.length;i<o;i++)if(e.call(n,t[i],i,t))return t[i]},e.bind=v,e.curry=function(t){var e=u.call(arguments,1);return function(){return t.apply(this,e.concat(u.call(arguments)))}},e.isArray=x,e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[object String]"===a.call(t)},e.isObject=_,e.isBuiltInObject=b,e.isTypedArray=function(t){return!!o[a.call(t)]},e.isDom=w,e.eqNaN=function(t){return t!=t},e.retrieve=function(t){for(var e=0,n=arguments.length;e<n;e++)if(null!=arguments[e])return arguments[e]},e.retrieve2=function(t,e){return null!=t?t:e},e.retrieve3=function(t,e,n){return null!=t?t:null!=e?e:n},e.slice=function(){return Function.call.apply(u,arguments)},e.normalizeCssArray=function(t){var e;return"number"==typeof t?[t,t,t,t]:2===(e=t.length)?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t},e.assert=function(t,e){if(!t)throw new Error(e)},e.trim=function(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},e.setAsPrimitive=function(t){t[S]=!0},e.isPrimitive=M,e.createHashMap=function(t){return new I(t)},e.concatArray=function(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var o=t.length;for(i=0;i<e.length;i++)n[i+o]=e[i];return n},e.noop=function(){}},"6d9a":function(t,e){e.eachAfter=function(t,e,n){for(var i,o=[t],a=[];i=o.pop();)if(a.push(i),i.isExpand){var r=i.children;if(r.length)for(var s=0;s<r.length;s++)o.push(r[s])}for(;i=a.pop();)e(i,n)},e.eachBefore=function(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var o=n.children;if(o.length)for(var a=o.length-1;0<=a;a--)i.push(o[a])}}},"6fda":function(t,e,n){var i=n("6d8b").each,o="\0_ec_hist_store";function a(t){return t[o]||(t[o]=[{}])}e.push=function(t,e){var n=a(t);i(e,(function(e,i){for(var o,a=n.length-1;0<=a&&!n[a][i];a--);a<0&&(o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0])&&(o=o.getPercentRange(),n[0][i]={dataZoomId:i,start:o[0],end:o[1]})})),n.push(e)},e.pop=function(t){var e=a(t),n=(t=e[e.length-1],1<e.length&&e.pop(),{});return i(t,(function(t,i){for(var o=e.length-1;0<=o;o--)if(t=e[o][i]){n[i]=t;break}})),n},e.clear=function(t){t[o]=null},e.count=function(t){return a(t).length}},7023:function(t,e,n){var i=n("6d8b");t.exports={updateSelectedMap:function(t){this._targetList=i.isArray(t)?t.slice():[],this._selectTargetMap=i.reduce(t||[],(function(t,e){return t.set(e.name,e),t}),i.createHashMap())},select:function(t,e){e=null!=e?this._targetList[e]:this._selectTargetMap.get(t),"single"===this.get("selectedMode")&&this._selectTargetMap.each((function(t){t.selected=!1})),e&&(e.selected=!0)},unSelect:function(t,e){e=null!=e?this._targetList[e]:this._selectTargetMap.get(t),e&&(e.selected=!1)},toggleSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=n)return this[n.selected?"unSelect":"select"](t,e),n.selected},isSelected:function(t,e){return e=null!=e?this._targetList[e]:this._selectTargetMap.get(t),e&&e.selected}}},"71ad":function(t,e,n){n=n("6d8b");var i={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)"]}}},o={};o.categoryAxis=n.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},i),o.valueAxis=n.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},i),o.timeAxis=n.defaults({scale:!0,min:"dataMin",max:"dataMax"},o.valueAxis),o.logAxis=n.defaults({scale:!0,logBase:10},o.valueAxis),t.exports=o},"71b2":function(t,e,n){var i=n("6d8b").createHashMap;t.exports=function(t){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.getRawData(),o=t.get("color"),a=i();e.each((function(t){a.set(e.getRawIndex(t),t)})),n.each((function(i){var r=n.getName(i);r=o[(t.nameMap.get(r)-1)%o.length],n.setItemVisual(i,"color",r),i=a.get(i);null!=i&&e.setItemVisual(i,"color",r)}))}))}},7293:function(t,e,n){n("4e08").__DEV__;var i=n("4f85"),o=n("6179"),a=n("6d8b"),r=a.concatArray,s=a.mergeAll,l=a.map,u=n("eda2").encodeHTML,c=(n("2039"),"undefined"==typeof Uint32Array?Array:Uint32Array),h="undefined"==typeof Float64Array?Array:Float64Array;function d(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=l(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),s([e,t[0],t[1]])})))}var p=i.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(t){t.data=t.data||[],d(t);var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),p.superApply(this,"init",arguments)},mergeOption:function(t){var e;d(t),t.data&&(e=this._processFlatCoordsArray(t.data),this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords)&&(t.data=new Float32Array(e.count)),p.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=r(this._flatCoords,e.flatCoords),this._flatCoordsOffset=r(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){return t=this.getData().getItemModel(t),t.option instanceof Array?t.option:t.getShallow("coords")},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],o=0;o<i;o++)e[o]=e[o]||[],e[o][0]=this._flatCoords[n+2*o],e[o][1]=this._flatCoords[n+2*o+1];return i}var a=this._getCoordsFromItemModel(t);for(o=0;o<a.length;o++)e[o]=e[o]||[],e[o][0]=a[o][0],e[o][1]=a[o][1];return a.length},_processFlatCoordsArray:function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"!=typeof t[0])return{flatCoordsOffset:null,flatCoords:null,count:t.length};for(var n=t.length,i=new c(n),o=new h(n),a=0,r=0,s=0,l=0;l<n;){s++;var u=t[l++];i[r++]=a+e,i[r++]=u;for(var d=0;d<u;d++){var p=t[l++],f=t[l++];o[a++]=p,o[a++]=f}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,r),flatCoords:o,count:s}},getInitialData:function(t,e){var n=new o(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,i,o){return t instanceof Array?NaN:(n.hasItemOption=!0,t=t.value,null!=t?t instanceof Array?t[o]:t:void 0)})),n},formatTooltip:function(t){t=this.getData().getItemModel(t);var e,n=t.get("name");return n||(n=t.get("fromName"),t=t.get("toName"),e=[],null!=n&&e.push(n),null!=t&&e.push(t),u(e.join(" > ")))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}});t.exports=p},"72b6":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2306"),r=n("eda2"),s=n("f934"),l=n("5f14");n=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,n,i){!1===(this.visualMapModel=t).get("show")?this.group.removeAll():this.doRender.apply(this,arguments)},renderBackground:function(t){var e=this.visualMapModel,n=r.normalizeCssArray(e.get("padding")||0),i=t.getBoundingRect();t.add(new a.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,n){var i=(n=n||{}).forceState,a=this.visualMapModel,r={};function s(t){return r[t]}function u(t,e){r[t]=e}"symbol"===e&&(r.symbol=a.get("itemSymbol")),"color"===e&&(h=a.get("contentColor"),r.color=h);var c=a.controllerVisuals[i||a.getValueState(t)],h=l.prepareVisualTypes(c);return o.each(h,(function(i){var o=c[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",o=c.__alphaForOpacity),l.dependsOn(i,e)&&o&&o.applyVisual(t,s,u)})),r[e]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:o.noop});t.exports=n},7368:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b");n=n("625e").enableClassCheck;function o(t){return"_EC_"+t}function a(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData}var r=a.prototype;function s(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function l(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}function u(t,e){return{getValue:function(n){var i=this[t][e];return i.get(i.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,i){0<=this.dataIndex&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[t][e].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){0<=this.dataIndex&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}r.type="graph",r.isDirected=function(){return this._directed},r.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[o(t)])return((e=new s(t,e)).hostGraph=this).nodes.push(e),n[o(t)]=e},r.getNodeByIndex=function(t){return t=this.data.getRawIndex(t),this.nodes[t]},r.getNodeById=function(t){return this._nodesMap[o(t)]},r.addEdge=function(t,e,n){var i=this._nodesMap,a=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),s.isInstance(t)||(t=i[o(t)]),s.isInstance(e)||(e=i[o(e)]),t&&e)return i=t.id+"-"+e.id,((n=new l(t,e,n)).hostGraph=this)._directed&&(t.outEdges.push(n),e.inEdges.push(n)),t.edges.push(n),t!==e&&e.edges.push(n),this.edges.push(n),a[i]=n},r.getEdgeByIndex=function(t){return t=this.edgeData.getRawIndex(t),this.edges[t]},r.getEdge=function(t,e){s.isInstance(t)&&(t=t.id),s.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},r.eachNode=function(t,e){for(var n=this.nodes,i=n.length,o=0;o<i;o++)0<=n[o].dataIndex&&t.call(e,n[o],o)},r.eachEdge=function(t,e){for(var n=this.edges,i=n.length,o=0;o<i;o++)0<=n[o].dataIndex&&0<=n[o].node1.dataIndex&&0<=n[o].node2.dataIndex&&t.call(e,n[o],o)},r.breadthFirstTraverse=function(t,e,n,i){if(e=s.isInstance(e)?e:this._nodesMap[o(e)]){for(var a="out"===n?"outEdges":"in"===n?"inEdges":"edges",r=0;r<this.nodes.length;r++)this.nodes[r].__visited=!1;if(!t.call(i,e,null))for(var l=[e];l.length;){var u=l.shift(),c=u[a];for(r=0;r<c.length;r++){var h=c[r];h=h.node1===u?h.node2:h.node1;if(!h.__visited){if(t.call(i,h,u))return;l.push(h),h.__visited=!0}}}}},r.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,o=0,a=n.length;o<a;o++)n[o].dataIndex=-1;for(o=0,a=t.count();o<a;o++)n[t.getRawIndex(o)].dataIndex=o;for(e.filterSelf((function(t){return t=i[e.getRawIndex(t)],0<=t.node1.dataIndex&&0<=t.node2.dataIndex})),o=0,a=i.length;o<a;o++)i[o].dataIndex=-1;for(o=0,a=e.count();o<a;o++)i[e.getRawIndex(o)].dataIndex=o},r.clone=function(){for(var t=new a(this._directed),e=this.nodes,n=this.edges,i=0;i<e.length;i++)t.addNode(e[i].id,e[i].dataIndex);for(i=0;i<n.length;i++){var o=n[i];t.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return t},s.prototype={constructor:s,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)}},l.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},i.mixin(s,u("hostGraph","data")),i.mixin(l,u("hostGraph","edgeData")),a.Node=s,a.Edge=l,n(s),n(l),t.exports=a},"73ca":function(t,e,n){var i=n("2306"),o=n("7e5b");function a(t){this._ctor=t||o,this.group=new i.Group}function r(t){return t=t.hostModel,{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function s(t){return isNaN(t[0])||isNaN(t[1])}function l(t){return!s(t[0])&&!s(t[1])}n=a.prototype,n.isPersistent=function(){return!0},n.updateData=function(t){var e=this,n=e.group,i=e._lineData,o=(e._lineData=t,i||n.removeAll(),r(t));t.diff(i).add((function(n){var i,a,r;i=e,n=n,r=o,l((a=t).getItemLayout(n))&&(r=new i._ctor(a,n,r),a.setItemGraphicEl(n,r),i.group.add(r))})).update((function(n,a){var r=e,s=i,u=t,c=o;s=s.getItemGraphicEl(a),l(u.getItemLayout(n))?(s?s.updateData(u,n,c):s=new r._ctor(u,n,c),u.setItemGraphicEl(n,s),r.group.add(s)):r.group.remove(s)})).remove((function(t){n.remove(i.getItemGraphicEl(t))})).execute()},n.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},n.incrementalPrepareUpdate=function(t){this._seriesScope=r(t),this._lineData=null,this.group.removeAll()},n.incrementalUpdate=function(t,e){function n(t){var e;t.isGroup||(e=t).animators&&0<e.animators.length||(t.incremental=t.useHoverLayer=!0)}for(var i,o=t.start;o<t.end;o++)l(e.getItemLayout(o))&&((i=new this._ctor(e,o,this._seriesScope)).traverse(n),this.group.add(i),e.setItemGraphicEl(o,i))},n.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},n._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=a},7419:function(t,e,n){var i=n("3eba"),o=n("b336");n("bc5f"),n("ab05"),n("307a"),n("3cd6"),n("d6ef"),i.registerPreprocessor(o)},"74cb":function(t,e){var n={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(e=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*--t)*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(e=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(e=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*--t)*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*--t)*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((1+e)*t-e)*.5:.5*((t-=2)*t*((1+e)*t+e)+2)},bounceIn:function(t){return 1-n.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*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}};t.exports=n},7661:function(t,e,n){var i=n("0c41");n=n("3eba").extendComponentView({type:"geo",init:function(t,e){e=new i(e,!0),this._mapDraw=e,this.group.add(e.group)},render:function(t,e,n,i){var o;i&&"geoToggleSelect"===i.type&&i.from===this.uid||(o=this._mapDraw,t.get("show")?o.draw(t,e,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent"))},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});t.exports=n},"767c":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("607d"),r=n("29a8"),s=(n=n("2145"),r=r.toolbox.dataView,new Array(60).join("-")),l="\t";function u(t){e={},n=[],i=[],t.eachRawSeries((function(t){var o,a,r=t.coordinateSystem;(!r||"cartesian2d"!==r.type&&"polar"!==r.type||"category"!==(o=r.getBaseAxis()).type?n:(a=o.dim+"_"+o.index,e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series)).push(t)}));var e,n,i,a,r;t={seriesGroupByCategoryAxis:e,other:n,meta:i};return{value:o.filter([(a=t.seriesGroupByCategoryAxis,r=[],o.each(a,(function(t,e){for(var n=t.categoryAxis,i=t.valueAxis.dim,a=[" "].concat(o.map(t.series,(function(t){return t.name}))),s=[n.model.getCategories()],u=(o.each(t.series,(function(t){var e=t.getRawData();s.push(t.getRawData().mapArray(e.mapDimension(i),(function(t){return t})))})),[a.join(l)]),c=0;c<s[0].length;c++){for(var h=[],d=0;d<s.length;d++)h.push(s[d][c]);u.push(h.join(l))}r.push(u.join("\n"))})),r.join("\n\n"+s+"\n\n")),(a=t.other,o.map(a,(function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,o=e.getName(arguments[t-1]),a=0;a<t-1;a++)i[a]=arguments[a];n.push((o?o+l:"")+i.join(l))})),n.join("\n")})).join("\n\n"+s+"\n\n"))],(function(t){return t.replace(/[\n\t\s]/g,"")})).join("\n\n"+s+"\n\n"),meta:t.meta}}function c(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var h=new RegExp("["+l+"]+","g");function d(t,e){t=t.split(new RegExp("\n*"+s+"\n*","g"));var n={series:[]};return o.each(t,(function(t,i){var a,r;0<=t.slice(0,t.indexOf("\n")).indexOf(l)?(r=function(t){for(var e=t.split(/\n+/g),n=(t=c(e.shift()).split(h),[]),i=o.map(t,(function(t){return{name:t,data:[]}})),a=0;a<e.length;a++){var r=c(e[a]).split(h);n.push(r.shift());for(var s=0;s<r.length;s++)i[s]&&(i[s].data[a]=r[s])}return{series:i,categories:n}}(t),a=(i=e[i]).axisDim+"Axis",i&&(n[a]=n[a]||[],n[a][i.axisIndex]={data:r.categories},n.series=n.series.concat(r.series))):(r=function(t){for(var e=t.split(/\n+/g),n=(t=c(e.shift()),[]),i=0;i<e.length;i++){var o=c(e[i]);if(o){for(var a,r=o.split(h),s=(o=!1,isNaN(r[0])?(o=!0,a=r[0],r=r.slice(1),n[i]={name:a,value:[]},n[i].value):n[i]=[]),l=0;l<r.length;l++)s.push(+r[l]);1===s.length&&(o?n[i].value=s[0]:n[i]=s[0])}}return{name:t,data:n}}(t),n.series.push(r))})),n}function p(t){this._dom=null,this.model=t}p.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:o.clone(r.title),lang:o.clone(r.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},p.prototype.onclick=function(t,e){var n=e.getDom(),i=this.model,r=(this._dom&&n.removeChild(this._dom),document.createElement("div")),s=(r.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",r.style.backgroundColor=i.get("backgroundColor")||"#fff",document.createElement("h4")),l=i.get("lang")||[],c=(s.innerHTML=l[0]||i.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=i.get("textColor"),document.createElement("div")),h=document.createElement("textarea"),p=(c.style.cssText="display:block;width:100%;overflow:auto;",i.get("optionToContent")),f=i.get("contentToOption"),g=(t=u(t),"function"==typeof p?"string"==typeof(p=p(e.getOption()))?c.innerHTML=p:o.isDom(p)&&c.appendChild(p):(c.appendChild(h),h.readOnly=i.get("readOnly"),h.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",h.style.color=i.get("textColor"),h.style.borderColor=i.get("textareaBorderColor"),h.style.backgroundColor=i.get("textareaColor"),h.value=t.value),t.meta),m=(p=document.createElement("div"),t=(p.style.cssText="position:absolute;bottom:0;left:0;right:0;","float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px"),document.createElement("div")),y=document.createElement("div"),v=(t=(t+=";background-color:"+i.get("buttonColor"))+";color:"+i.get("buttonTextColor"),this);function x(){n.removeChild(r),v._dom=null}a.addEventListener(m,"click",x),a.addEventListener(y,"click",(function(){var t;try{t="function"==typeof f?f(c,e.getOption()):d(h.value,g)}catch(t){throw x(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),x()})),m.innerHTML=l[1],y.innerHTML=l[2],y.style.cssText=t,m.style.cssText=t,i.get("readOnly")||p.appendChild(y),p.appendChild(m),r.appendChild(s),r.appendChild(c),r.appendChild(p),c.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},p.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},p.prototype.dispose=function(t,e){this.remove(t,e)},n.register("dataView",p),i.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];o.each(t.newOption.series,(function(t){var i,a,r=e.getSeriesByName(t.name)[0];r?(r=r.get("data"),n.push({name:t.name,data:(i=t.data,a=r,o.map(i,(function(t,e){var n;e=a&&a[e];return o.isObject(e)&&!o.isArray(e)&&(o.isObject(t)&&!o.isArray(t)||(t={value:t}),n=null!=e.name&&null==t.name,t=o.defaults(t,e),n)&&delete t.name,t})))})):n.push(o.extend({type:"scatter"},t))})),e.mergeOption(o.defaults({series:n},t.newOption))})),t.exports=p},"76a5":function(t,e,n){function i(t){o.call(this,t)}var o=n("19eb"),a=n("6d8b"),r=n("e86a"),s=n("a73c"),l=n("82eb").ContextCachedBy;i.prototype={constructor:i,type:"text",brush:function(t,e){var n=this.style,i=(this.__dirty&&s.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null,n.text);null!=i&&(i+=""),s.needDrawText(i,n)?(this.setTransform(t),s.renderText(this,t,i,n,null,e),this.restoreTransform(t)):t.__attrCachedBy=l.NONE},getBoundingRect:function(){var t,e=this.style;return this.__dirty&&s.normalizeTextStyle(e,!0),this._rect||(e.text,(t=r.getBoundingRect(e.text+"",e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich)).x+=e.x||0,t.y+=e.y||0,s.getStroke(e.textStroke,e.textStrokeWidth)&&(e=e.textStrokeWidth,t.x-=e/2,t.y-=e/2,t.width+=e,t.height+=e),this._rect=t),this._rect}},a.inherits(i,o),t.exports=i},7782:function(t,e,n){var i=n("3eba"),o=n("6d8b");t.exports=function(t,e){o.each(e,(function(e){e.update="updateView",i.registerAction(e,(function(n,i){var o={};return i.eachComponent({mainType:"series",subType:t,query:n},(function(t){t[e.method]&&t[e.method](n.name,n.dataIndex);var i=t.getData();i.each((function(e){e=i.getName(e),o[e]=t.isSelected(e)||!1}))})),{name:n.name,selected:o,seriesId:n.seriesId}}))}))}},7887:function(t,e,n){var i=n("6d8b"),o=n("84ce");function a(t,e,n){o.call(this,t,e,n),this.type="value",this.angle=0,this.name="",this.model}i.inherits(a,o),t.exports=a},7891:function(t,e,n){var i=n("6d8b");t.exports=function(t){var e,n=t.polar;n&&(i.isArray(n)||(n=[n]),e=[],i.each(n,(function(n,o){(n.indicator?(n.type&&!n.shape&&(n.shape=n.type),t.radar=t.radar||[],i.isArray(t.radar)||(t.radar=[t.radar]),t.radar):e).push(n)})),t.polar=e),i.each(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}},"78f0":function(t,e,n){var i=n("3eba");n("d9f1"),n=i.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});t.exports=n},7919:function(t,e,n){var i=n("f934"),o=i.getLayoutRect,a=i.box,r=i.positionElement,s=n("eda2"),l=n("2306");e.layout=function(t,e,n){var i=e.getBoxLayoutParams(),s=e.get("padding"),l=(n={width:n.getWidth(),height:n.getHeight()},o(i,n,s));a(e.get("orient"),t,e.get("itemGap"),l.width,l.height),r(t,i,n,s)},e.makeBackground=function(t,e){var n=s.normalizeCssArray(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),new l.Rect({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}},"792e":function(t,e,n){n("1ccf"),n("14d37")},"7b0c":function(t,e,n){var i=n("6cc5"),o=n("f934").getLayoutRect,a=n("e2637");t.exports=function(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var r,s,l,u,c,h,d,p=t.get("coordinateSystem");p&&"view"!==p||(p=(r=t.getData()).mapArray((function(t){return t=r.getItemModel(t),[+t.get("x"),+t.get("y")]})),a.fromPoints(p,p=[],l=[]),l[0]-p[0]==0&&(l[0]+=1,--p[0]),l[1]-p[1]==0&&(l[1]+=1,--p[1]),s=(l[0]-p[0])/(l[1]-p[1]),h=e,d=s,(c=(c=t).getBoxLayoutParams()).aspect=d,d=o(c,{width:h.getWidth(),height:h.getHeight()}),isNaN(s)&&(p=[d.x,d.y],l=[d.x+d.width,d.y+d.height]),c=l[0]-p[0],h=l[1]-p[1],s=d.width,l=d.height,(u=t.coordinateSystem=new i).zoomLimit=t.get("scaleLimit"),u.setBoundingRect(p[0],p[1],c,h),u.setViewRect(d.x,d.y,s,l),u.setCenter(t.get("center")),u.setZoom(t.get("zoom")),n.push(u))})),n}},"7c4d":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("fc82"),r=n("bd9e"),s=n("6fda"),l=n("ef6a4"),u=n("29a8"),c=n("2145"),h=(n=(n("dd39"),u.toolbox.dataZoom),o.each);function d(t,e,n){(this._brushController=new a(n.getZr())).on("brush",o.bind(this._onBrush,this)).mount(),this._isZoomActive}d.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:o.clone(n.title),brushStyle:{borderWidth:0,color:"rgba(0,0,0,0.2)"}};u=d.prototype;var p=(u.render=function(t,e,n,i){this.model=t,this.ecModel=e,this.api=n;var o=t,a=e,l=this,u=l._isZoomActive;i&&"takeGlobalCursor"===i.type&&(u="dataZoomSelect"===i.key&&i.dataZoomSelectActive),l._isZoomActive=u,o.setIconStatus("zoom",u?"emphasis":"normal"),i=new r(f(o.option),a,{include:["grid"]}),l._brushController.setPanels(i.makePanelOpts(n,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!u&&{brushType:"auto",brushStyle:o.getModel("brushStyle").getItemStyle()}),t.setIconStatus("back",1<s.count(e)?"emphasis":"normal")},u.onclick=function(t,e,n){p[n].call(this)},u.remove=function(t,e){this._brushController.unmount()},u.dispose=function(t,e){this._brushController.dispose()},{zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}});function f(t){var e={};return o.each(["xAxisIndex","yAxisIndex"],(function(n){e[n]=t[n],null==e[n]&&(e[n]="all"),!1!==e[n]&&"none"!==e[n]||(e[n]=[])})),e}u._onBrush=function(t,e){var n,i;function o(t,e,o){e=e.getAxis(t);var a,r,s,u=e.model;a=t,r=u,i.eachComponent({mainType:"dataZoom",subType:"select"},(function(t){t.getAxisModel(a,r.componentIndex)&&(s=t)})),t=s,u=t.findRepresentativeAxisProxy(u).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(o=l(0,o.slice(),e.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),t&&(n[t.id]={dataZoomId:t.id,startValue:o[0],endValue:o[1]})}e.isEnd&&t.length&&(n={},i=this.ecModel,this._brushController.updateCovers([]),new r(f(this.model.option),i,{include:["grid"]}).matchOutputRanges(t,i,(function(t,e,n){"cartesian2d"===n.type&&("rect"===(t=t.brushType)?(o("x",n,e[0]),o("y",n,e[1])):o({lineX:"x",lineY:"y"}[t],n,e))})),s.push(i,n),this._dispatchZoomAction(n))},u._dispatchZoomAction=function(t){var e=[];h(t,(function(t,n){e.push(o.clone(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},c.register("dataZoom",d),i.registerPreprocessor((function(t){var e,n;function i(n,i){var a,r,s,l;i&&(null==(r=i[a=n+"Index"])||"all"===r||o.isArray(r)||(r=!1===r||"none"===r?[]:[r]),l=function(t,s){var l;null!=r&&"all"!==r&&-1===o.indexOf(r,s)||((l={type:"select",$fromToolbox:!0,filterMode:i.filterMode||"filter",id:"\0_ec_\0toolbox-dataZoom_"+n+s})[a]=s,e.push(l))},s=t[s=n],o.isArray(s)||(s=s?[s]:[]),h(s,l))}t&&(e=t.dataZoom||(t.dataZoom=[]),o.isArray(e)||(t.dataZoom=e=[e]),n=(n=t.toolbox)&&(o.isArray(n)?n[0]:n))&&n.feature&&(i("xAxis",n=n.feature.dataZoom),i("yAxis",n))})),t.exports=d},"7d6d":function(t,e){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};t.exports=function(t,e,i){return n.hasOwnProperty(e)?i*t.dpr:i}},"7dcf":function(t,e,n){n=n("b12f").extend({type:"dataZoom",render:function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,n={};return t.eachTargetAxis((function(t,i){if(t=e.getComponent(t.axis,i),t&&(i=t.getCoordSysModel(),i)){for(var o,a=i,r=n[i.mainType]||(n[i.mainType]=[]),s=(i=i.componentIndex,0);s<r.length;s++)if(r[s].model===a){o=r[s];break}o||r.push(o={model:a,axisModels:[],coordIndex:i}),o.axisModels.push(t)}}),this),n}}),t.exports=n},"7e32a":function(t,e,n){var i=n("3eba");n("43b8"),n("8e77"),i.registerPreprocessor((function(t){t.markArea=t.markArea||{}}))},"7e5b":function(t,e,n){var i=n("6d8b"),o=n("401b"),a=n("a15a"),r=n("7f91"),s=n("2306"),l=n("3842").round,u=["fromSymbol","toSymbol"];function c(t){return"_"+t+"Type"}function h(t,e,n){var o,r,s=e.getItemVisual(n,t);if(s&&"none"!==s)return o=e.getItemVisual(n,"color"),r=e.getItemVisual(n,t+"Size"),e=e.getItemVisual(n,t+"Rotate"),i.isArray(r)||(r=[r,r]),(n=a.createSymbol(s,-r[0]/2,-r[1]/2,r[0],r[1],o)).__specifiedRotation=null==e||isNaN(e)?void 0:+e*Math.PI/180||0,n.name=t,n}function d(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1,e=e[2],e?(t.cpx1=e[0],t.cpy1=e[1]):(t.cpx1=NaN,t.cpy1=NaN)}function p(t,e,n){s.Group.call(this),this._createLine(t,e,n)}n=p.prototype,n.beforeUpdate=function(){var t=this.childOfName("fromSymbol"),e=this.childOfName("toSymbol"),n=this.childOfName("label");if(t||e||!n.ignore){for(var i=1,a=this.parent;a;)a.scale&&(i/=a.scale[0]),a=a.parent;var r=this.childOfName("line");if(this.__dirty||r.__dirty){var s=r.shape.percent,l=r.pointAt(0),u=r.pointAt(s),c=o.sub([],u,l);if(o.normalize(c,c),t&&(t.attr("position",l),null==(x=t.__specifiedRotation)?(g=r.tangentAt(0),t.attr("rotation",Math.PI/2-Math.atan2(g[1],g[0]))):t.attr("rotation",x),t.attr("scale",[i*s,i*s])),e&&(e.attr("position",u),null==(x=e.__specifiedRotation)?(g=r.tangentAt(1),e.attr("rotation",-Math.PI/2-Math.atan2(g[1],g[0]))):e.attr("rotation",x),e.attr("scale",[i*s,i*s])),!n.ignore){n.attr("position",u);t=n.__labelDistance;var h,d,p,f,g,m,y=t[0]*i,v=t[1]*i,x=s/2,_=(e=[(g=r.tangentAt(x))[1],-g[0]],r.pointAt(x)),b=(0<e[1]&&(e[0]=-e[0],e[1]=-e[1]),g[0]<0?-1:1);switch("start"!==n.__position&&"end"!==n.__position&&(t=-Math.atan2(g[1],g[0]),u[0]<l[0]&&(t=Math.PI+t),n.attr("rotation",t)),n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":m=-v,p="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":m=v,p="top";break;default:m=0,p="middle"}switch(n.__position){case"end":h=[c[0]*y+u[0],c[1]*v+u[1]],d=.8<c[0]?"left":c[0]<-.8?"right":"center",p=.8<c[1]?"top":c[1]<-.8?"bottom":"middle";break;case"start":h=[-c[0]*y+l[0],-c[1]*v+l[1]],d=.8<c[0]?"right":c[0]<-.8?"left":"center",p=.8<c[1]?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":h=[y*b+l[0],l[1]+m],d=g[0]<0?"right":"left",f=[-y*b,-m];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":h=[_[0],_[1]+m],d="center",f=[0,-m];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":h=[-y*b+u[0],u[1]+m],d=0<=g[0]?"right":"left",f=[y*b,-m]}n.attr({style:{textVerticalAlign:n.__verticalAlign||p,textAlign:n.__textAlign||d},position:h,scale:[i,i],origin:f})}}}},n._createLine=function(t,e,n){var o=t.hostModel,a=t.getItemLayout(e),l=(a=(a=a,d((l=new r({name:"line",subPixelOptimize:!0})).shape,a),l),a.shape.percent=0,s.initProps(a,{shape:{percent:1}},o,e),this.add(a),new s.Text({name:"label",lineLabelOriginalOpacity:1}));this.add(l),i.each(u,(function(n){var i=h(n,t,e);this.add(i),this[c(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},n.updateData=function(t,e,n){var o=t.hostModel,a=this.childOfName("line"),r=t.getItemLayout(e),l={shape:{}};d(l.shape,r),s.updateProps(a,l,o,e),i.each(u,(function(n){var i=t.getItemVisual(e,n),o=c(n);this[o]!==i&&(this.remove(this.childOfName(n)),n=h(n,t,e),this.add(n)),this[o]=i}),this),this._updateCommonStl(t,e,n)},n._updateCommonStl=function(t,e,n){var o,a,r=t.hostModel,c=this.childOfName("line"),h=n&&n.lineStyle,d=n&&n.hoverLineStyle,p=n&&n.labelModel,f=n&&n.hoverLabelModel,g=(n&&!t.hasItemOption||(h=(n=t.getItemModel(e)).getModel("lineStyle").getLineStyle(),d=n.getModel("emphasis.lineStyle").getLineStyle(),p=n.getModel("label"),f=n.getModel("emphasis.label")),t.getItemVisual(e,"color")),m=i.retrieve3(t.getItemVisual(e,"opacity"),h.opacity,1);c.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:g,opacity:m},h)),c.hoverStyle=d,i.each(u,(function(t){t=this.childOfName(t),t&&(t.setColor(g),t.setStyle({opacity:m}))}),this),n=p.getShallow("show"),h=f.getShallow("show"),c=this.childOfName("label"),(n||h)&&(a=g||"#000",null==(o=r.getFormattedLabel(e,"normal",t.dataType)))&&(o=null==(d=r.getRawValue(e))?t.getName(e):isFinite(d)?l(d):d),d=n?o:null,r=h?i.retrieve2(r.getFormattedLabel(e,"emphasis",t.dataType),o):null,e=c.style;null==d&&null==r||(s.setTextStyle(c.style,p,{text:d},{autoColor:a}),c.__textAlign=e.textAlign,c.__verticalAlign=e.textVerticalAlign,c.__position=p.get("position")||"middle",t=p.get("distance"),i.isArray(t)||(t=[t,t]),c.__labelDistance=t),c.hoverStyle=null!=r?{text:r,textFill:f.getTextColor(!0),fontStyle:f.getShallow("fontStyle"),fontWeight:f.getShallow("fontWeight"),fontSize:f.getShallow("fontSize"),fontFamily:f.getShallow("fontFamily")}:{text:null},c.ignore=!n&&!h,s.setHoverStyle(this)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},n.setLinePoints=function(t){var e=this.childOfName("line");d(e.shape,t),e.dirty()},i.inherits(p,s.Group),t.exports=p},"7e63":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=i.each,a=i.filter,r=i.map,s=i.isArray,l=i.indexOf,u=i.isObject,c=i.isString,h=i.createHashMap,d=i.assert,p=i.clone,f=i.merge,g=i.extend,m=(i=i.mixin,n("e0d3")),y=n("4319"),v=n("6cb7"),x=n("8971"),_=n("e47b"),b=n("0f99").resetSourceDefaulter,w="\0_ec_inner";n=y.extend({init:function(t,e,n,i){n=n||{},this.option=null,this._theme=new y(n),this._optionManager=i},setOption:function(t,e){d(!(w in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e,n=!1,i=this._optionManager;return t&&"recreate"!==t||(e=i.mountOption("recreate"===t),this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(e)):function(t){this.option={},this.option[w]=1,this._componentsMap=h({series:[]}),this._seriesIndices,this._seriesIndicesMap,function(t,e){var n=t.color&&!t.colorLayer;o(e,(function(e,i){"colorLayer"===i&&n||v.hasClass(i)||("object"==typeof e?t[i]=t[i]?f(t[i],e,!1):p(e):null==t[i]&&(t[i]=e))}))}(t,this._theme.option),f(t,x,!1),this.mergeOption(t)}.call(this,e),n=!0),"timeline"!==t&&"media"!==t||this.restoreData(),t&&"recreate"!==t&&"timeline"!==t||(e=i.getTimelineOption(this))&&(this.mergeOption(e),n=!0),t&&"recreate"!==t&&"media"!==t||(e=i.getMediaOption(this,this._api)).length&&o(e,(function(t){this.mergeOption(t,n=!0)}),this),n},mergeOption:function(t){var e=this.option,n=this._componentsMap,i=[];b(this),o(t,(function(t,n){null!=t&&(v.hasClass(n)?n&&i.push(n):e[n]=null==e[n]?p(t):f(e[n],t,!0))})),v.topologicalTravel(i,v.getAllClassMainTypes(),(function(i,a){var r=m.normalizeToArray(t[i]),l=(r=m.mappingToExists(n.get(i),r),m.makeIdAndName(r),o(r,(function(t,e){var n,o=t.option;u(o)&&(t.keyInfo.mainType=i,t.keyInfo.subType=(n=i,o=o,t=t.exist,o.type||(t?t.subType:v.determineSubType(n,o))))})),function(t,e){s(e)||(e=e?[e]:[]);var n={};return o(e,(function(e){n[e]=(t.get(e)||[]).slice()})),n}(n,a));e[i]=[],n.set(i,[]),o(r,(function(t,o){var a,r=t.exist,s=t.option;d(u(s)||r,"Empty component definition"),s?(a=v.getClass(i,t.keyInfo.subType,!0),r&&r.constructor===a?(r.name=t.keyInfo.name,r.mergeOption(s,this),r.optionUpdated(s,!1)):(r=new a(s,this,this,a=g({dependentModels:l,componentIndex:o},t.keyInfo)),g(r,a),r.init(s,this,this,a),r.optionUpdated(null,!0))):(r.mergeOption({},this),r.optionUpdated({},!1)),n.get(i)[o]=r,e[i][o]=r.option}),this),"series"===i&&S(this,n.get("series"))}),this),this._seriesIndicesMap=h(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=p(this.option);return o(t,(function(e,n){if(v.hasClass(n)){for(var i=(e=m.normalizeToArray(e)).length-1;0<=i;i--)m.isIdInner(e[i])&&e.splice(i,1);t[n]=e}})),delete t[w],t},getTheme:function(){return this._theme},getComponent:function(t,e){if(t=this._componentsMap.get(t),t)return t[e||0]},queryComponents:function(t){var e,n,i,o,u,c,h=t.mainType;return h&&(e=t.index,n=t.id,i=t.name,o=this._componentsMap.get(h))&&o.length?M(null!=e?(s(e)||(e=[e]),a(r(e,(function(t){return o[t]})),(function(t){return!!t}))):null!=n?(u=s(n),a(o,(function(t){return u&&0<=l(n,t.id)||!u&&t.id===n}))):null!=i?(c=s(i),a(o,(function(t){return c&&0<=l(i,t.name)||!c&&t.name===i}))):o.slice(),t):[]},findComponents:function(t){var e,n=t.query,i=t.mainType,o=(o=i+"Index",r=i+"Id",e=i+"Name",!(n=n)||null==n[o]&&null==n[r]&&null==n[e]?null:{mainType:i,index:n[o],id:n[r],name:n[e]}),r=o?this.queryComponents(o):this._componentsMap.get(i);return n=M(r,t),t.filter?a(n,t.filter):n},eachComponent:function(t,e,n){var i=this._componentsMap;"function"==typeof t?(n=e,e=t,i.each((function(t,i){o(t,(function(t,o){e.call(n,i,t,o)}))}))):c(t)?o(i.get(t),e,n):u(t)&&(i=this.findComponents(t),o(i,e,n))},getSeriesByName:function(t){var e=this._componentsMap.get("series");return a(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 a(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){o(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},eachRawSeries:function(t,e){o(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){o(this._seriesIndices,(function(i){var o=this._componentsMap.get("series")[i];o.subType===t&&e.call(n,o,i)}),this)},eachRawSeriesByType:function(t,e,n){return o(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){t=a(this._componentsMap.get("series"),t,e),S(this,t)},restoreData:function(t){var e=this._componentsMap,n=(S(this,e.get("series")),[]);e.each((function(t,e){n.push(e)})),v.topologicalTravel(n,v.getAllClassMainTypes(),(function(n,i){o(e.get(n),(function(e){"series"===n&&function(t,e){var n,i;if(e)return n=e.seiresIndex,i=e.seriesId,e=e.seriesName,null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=e&&t.name!==e}(e,t)||e.restoreData()}))}))}});function S(t,e){t._seriesIndicesMap=h(t._seriesIndices=r(e,(function(t){return t.componentIndex}))||[])}function M(t,e){return e.hasOwnProperty("subType")?a(t,(function(t){return t.subType===e.subType})):t}i(n,_),t.exports=n},"7f59":function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("6d8b"),a=n("e0d3"),r=n("2306"),s=n("f934"),l=n("3842").parsePercent,u={path:null,compoundPath:null,group:r.Group,image:r.Image,text:r.Text},c=(i.registerPreprocessor((function(t){var e=t.graphic;o.isArray(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])})),i.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(t){var e=this.option.elements;this.option.elements=null,c.superApply(this,"mergeOption",arguments),this.option.elements=e},optionUpdated:function(t,e){var n=this.option,i=(t=(e?n:t).elements,n.elements=e?[]:n.elements),r=(e=[],n=(this._flatten(t,e),a.mappingToExists(i,e)),a.makeIdAndName(n),this._elOptionsToUpdate=[]);o.each(n,(function(t,e){var n,a,l,u,c,h=t.option;h&&(r.push(h),u=h,n=(t=t).exist,u.id=t.keyInfo.id,!u.type&&n&&(u.type=n.type),null==u.parentId&&((t=u.parentOption)?u.parentId=t.id:n&&(u.parentId=n.parentId)),u.parentOption=null,t=i,n=e,u=h,c=o.extend({},u),a=t[n],"merge"===(l=u.$action||"merge")?a?(o.merge(a,c,!0),s.mergeLayoutParam(a,c,{ignoreSize:!0}),s.copyLayoutParams(u,a)):t[n]=c:"replace"===l?t[n]=c:"remove"===l&&a&&(t[n]=null),u=i[e],c=h,u)&&(u.hv=c.hv=[p(c,["left","right"]),p(c,["top","bottom"])],"group"===u.type)&&(null==u.width&&(u.width=c.width=0),null==u.height)&&(u.height=c.height=0)}),this);for(var l=i.length-1;0<=l;l--)null==i[l]?i.splice(l,1):delete i[l].$action},_flatten:function(t,e,n){o.each(t,(function(t){var i;t&&(n&&(t.parentOption=n),e.push(t),i=t.children,"group"===t.type&&i&&this._flatten(i,e,t),delete t.children)}),this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}}));function h(t,e,n,i){var o=n.type;o=new(u.hasOwnProperty(o)?u[o]:r.getShapeClass(o))(n);e.add(o),i.set(t,o),o.__ecGraphicId=t}function d(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){d(t,e)})),e.removeKey(t.__ecGraphicId),n.remove(t))}function p(t,e){var n;return o.each(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}i.extendComponentView({type:"graphic",init:function(t,e){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},_updateElements:function(t){var e,n,i=t.useElOptionsToUpdate();i&&(e=this._elMap,n=this.group,o.each(i,(function(i){var a,r=i.$action,l=i.id,u=e.get(l),c=i.parentId,p=(c=null!=c?e.get(c):n,i.style);"text"===i.type&&p&&(i.hv&&i.hv[1]&&(p.textVerticalAlign=p.textBaseline=null),!p.hasOwnProperty("textFill")&&p.fill&&(p.textFill=p.fill),!p.hasOwnProperty("textStroke"))&&p.stroke&&(p.textStroke=p.stroke),a=i,a=o.extend({},a),o.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),(function(t){delete a[t]})),p=a,r&&"merge"!==r?"replace"===r?(d(u,e),h(l,c,p,e)):"remove"===r&&d(u,e):u?u.attr(p):h(l,c,p,e),r=e.get(l);r&&(r.__ecGraphicWidthOption=i.width,r.__ecGraphicHeightOption=i.height,u=t,p=(c=r).eventData,p=c.silent||c.ignore?p:p||(c.eventData={componentType:"graphic",componentIndex:u.componentIndex,name:c.name}))&&(p.info=c.info)})))},_relocate:function(t,e){for(var n=t.option.elements,i=this.group,o=this._elMap,a=e.getWidth(),r=e.getHeight(),u=0;u<n.length;u++){var c,h=n[u];(d=o.get(h.id))&&d.isGroup&&(c=(p=d.parent)===i,d.__ecGraphicWidth=l(d.__ecGraphicWidthOption,c?a:p.__ecGraphicWidth)||0,d.__ecGraphicHeight=l(d.__ecGraphicHeightOption,c?r:p.__ecGraphicHeight)||0)}for(u=n.length-1;0<=u;u--){var d,p,f;h=n[u];(d=o.get(h.id))&&(f=(p=d.parent)===i?{width:a,height:r}:{width:p.__ecGraphicWidth,height:p.__ecGraphicHeight},s.positionElement(d,h,f,null,{hv:h.hv,boundingMode:h.bounding}))}},_clear:function(){var t=this._elMap;t.each((function(e){d(e,t)})),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},"7f72":function(t,e,n){n("6932"),n("3a56"),n("7dcf"),n("a18f"),n("32a1"),n("2c17"),n("9e87")},"7f91":function(t,e,n){var i=n("2306"),o=n("401b"),a=(n=i.Line.prototype,i.BezierCurve.prototype);function r(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}i=i.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){this[r(e)?"_buildPathLine":"_buildPathCurve"](t,e)},_buildPathLine:n.buildPath,_buildPathCurve:a.buildPath,pointAt:function(t){return this[r(this.shape)?"_pointAtLine":"_pointAtCurve"](t)},_pointAtLine:n.pointAt,_pointAtCurve:a.pointAt,tangentAt:function(t){var e=this.shape;e=r(e)?[e.x2-e.x1,e.y2-e.y1]:this._tangentAtCurve(t);return o.normalize(e,e)},_tangentAtCurve:a.tangentAt}),t.exports=i},"7f96":function(t,e,n){var i=n("6d8b").isFunction;t.exports=function(t,e,n){return{seriesType:t,performRawSeries:!0,reset:function(t,o,a){var r=t.getData(),s=t.get("symbol"),l=t.get("symbolSize"),u=t.get("symbolKeepAspect"),c=t.get("symbolRotate"),h=i(s),d=i(l),p=i(c),f=h||d||p,g=!h&&s?s:e,m=d?null:l;if(r.setVisual({legendSymbol:n||g,symbol:g,symbolSize:m,symbolKeepAspect:u,symbolRotate:c}),!o.isSeriesFiltered(t))return{dataEach:r.hasItemOption||f?function(e,n){var i,o,a,r;f&&(r=t.getRawValue(n),i=t.getDataParams(n),h&&e.setItemVisual(n,"symbol",s(r,i)),d&&e.setItemVisual(n,"symbolSize",l(r,i)),p)&&e.setItemVisual(n,"symbolRotate",c(r,i)),e.hasItemOption&&(i=(r=e.getItemModel(n)).getShallow("symbol",!0),o=r.getShallow("symbolSize",!0),a=r.getShallow("symbolRotate",!0),r=r.getShallow("symbolKeepAspect",!0),null!=i&&e.setItemVisual(n,"symbol",i),null!=o&&e.setItemVisual(n,"symbolSize",o),null!=a&&e.setItemVisual(n,"symbolRotate",a),null!=r)&&e.setItemVisual(n,"symbolKeepAspect",r)}:null}}}}},"80f0":function(t,e){function n(t){return t}function i(t,e,i,o,a){this._old=t,this._new=e,this._oldKeyGetter=i||n,this._newKeyGetter=o||n,this.context=a}function o(t,e,n,i,o){for(var a=0;a<t.length;a++){var r="_ec_"+o[i](t[a],a),s=e[r];null==s?(n.push(r),e[r]=a):(s.length||(e[r]=s=[s]),s.push(a))}}i.prototype={constructor:i,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,n={},i=[],a=[];for(o(t,{},i,"_oldKeyGetter",this),o(e,n,a,"_newKeyGetter",this),r=0;r<t.length;r++)null!=(l=n[s=i[r]])?((c=l.length)?(1===c&&(n[s]=null),l=l.shift()):n[s]=null,this._update&&this._update(l,r)):this._remove&&this._remove(r);for(var r=0;r<a.length;r++){var s=a[r];if(n.hasOwnProperty(s)){var l=n[s];if(null!=l)if(l.length)for(var u=0,c=l.length;u<c;u++)this._add&&this._add(l[u]);else this._add&&this._add(l)}}}},t.exports=i},"81ac":function(t,e,n){var i=n("f934"),o=n("6d8b"),a=n("e0d3").groupData;function r(t){return t=t.hostGraph.data.getRawDataItem(t.dataIndex),null!=t.depth&&0<=t.depth}function s(t,e,n,i,a){var r="vertical"===a?"x":"y";o.each(t,(function(t){t.sort((function(t,e){return t.getLayout()[r]-e.getLayout()[r]}));for(var o,s,l,u=0,c=t.length,h="vertical"===a?"dx":"dy",d=0;d<c;d++)0<(l=u-(s=t[d]).getLayout()[r])&&(o=s.getLayout()[r]+l,"vertical"===a?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[r]+s.getLayout()[h]+e;if(0<(l=u-e-("vertical"===a?i:n)))for(o=s.getLayout()[r]-l,"vertical"===a?s.setLayout({x:o},!0):s.setLayout({y:o},!0),u=o,d=c-2;0<=d;--d)0<(l=(s=t[d]).getLayout()[r]+s.getLayout()[h]+e-u)&&(o=s.getLayout()[r]-l,"vertical"===a?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[r]}))}function l(t,e){return d(t.node2,e)*t.getValue()}function u(t,e){return d(t.node2,e)}function c(t,e){return d(t.node1,e)*t.getValue()}function h(t,e){return d(t.node1,e)}function d(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function p(t){return t.getValue()}function f(t,e,n){for(var i=0,o=t.length,a=-1;++a<o;){var r=+e.call(t,t[a],n);isNaN(r)||(i+=r)}return i}t.exports=function(t,e,n){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),g=t.get("nodeGap"),m=(m=e,i.getLayoutRect(t.getBoxLayoutParams(),{width:m.getWidth(),height:m.getHeight()})),y=(t.layoutInfo=m).width,v=(m=m.height,t.getGraph()),x=v.nodes;v=v.edges;o.each(x,(function(t){var e=f(t.outEdges,p),n=f(t.inEdges,p),i=t.getValue()||0;e=Math.max(e,n,i);t.setLayout({value:e},!0)}));for(var _=0!==o.filter(x,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),b=t.get("orient"),w=(t=t.get("nodeAlign"),g=g,_=_,x),S=v,M=n,I=(y=n=y,m),T=b,A=[],C=[],D=[],L=[],P=0,k=0;k<S.length;k++)A[k]=1;for(k=0;k<w.length;k++)C[k]=w[k].inEdges.length,0===C[k]&&D.push(w[k]);for(var O=-1;D.length;){for(var R=0;R<D.length;R++){var E=D[R],N=E.hostGraph.data.getRawDataItem(E.dataIndex),z=null!=N.depth&&0<=N.depth;z&&N.depth>O&&(O=N.depth),E.setLayout({depth:z?N.depth:P},!0),"vertical"===T?E.setLayout({dy:M},!0):E.setLayout({dx:M},!0);for(var B=0;B<E.outEdges.length;B++){var V=E.outEdges[B],G=S.indexOf(V);G=(A[G]=0,V.node2),V=w.indexOf(G);0==--C[V]&&L.indexOf(G)<0&&L.push(G)}}++P,D=L,L=[]}for(k=0;k<A.length;k++)if(1===A[k])throw new Error("Sankey is a DAG, the original data has cycle!");var F=P-1<O?O:P-1;if(t&&"left"!==t){var H=w,W=F;if("right"===t){for(var U=[],Z=H,Y=0;Z.length;){for(var j=0;j<Z.length;j++){var X=Z[j];X.setLayout({skNodeHeight:Y},!0);for(var q=0;q<X.inEdges.length;q++){var K=X.inEdges[q];U.indexOf(K.node1)<0&&U.push(K.node1)}}Z=U,U=[],++Y}o.each(H,(function(t){r(t)||t.setLayout({depth:Math.max(0,W-t.getLayout().skNodeHeight)},!0)}))}else if("justify"===t){var $=H,J=W;o.each($,(function(t){r(t)||t.outEdges.length||t.setLayout({depth:J},!0)}))}}t=w;var Q="vertical"===T?(I-M)/F:(y-M)/F,tt=T;o.each(t,(function(t){var e=t.getLayout().depth*Q;"vertical"===tt?t.setLayout({y:e},!0):t.setLayout({x:e},!0)}));H=v;var et=m,nt=n,it=g,ot=_,at=b,rt=function(t,e){var n=[],i="vertical"===e?"y":"x",r=a(t,(function(t){return t.getLayout()[i]}));return r.keys.sort((function(t,e){return t-e})),o.each(r.keys,(function(t){n.push(r.buckets.get(t))})),n}(x,at),st=(I=rt,y=H,et),lt=nt,ut=it,ct=at,ht=1/0;o.each(I,(function(t){var e=t.length,n=0;o.each(t,(function(t){n+=t.getLayout().value})),t="vertical"===ct?(lt-(e-1)*ut)/n:(st-(e-1)*ut)/n;t<ht&&(ht=t)})),o.each(I,(function(t){o.each(t,(function(t,e){var n=t.getLayout().value*ht;"vertical"===ct?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),o.each(y,(function(t){var e=+t.getValue()*ht;t.setLayout({dy:e},!0)})),s(rt,it,et,nt,at);for(var dt=1;0<ot;ot--)!function(t,e,n){o.each(t.slice().reverse(),(function(t){o.each(t,(function(t){var i,o;t.outEdges.length&&(i=f(t.outEdges,l,n)/f(t.outEdges,p,n),isNaN(i)&&(i=(o=t.outEdges.length)?f(t.outEdges,u,n)/o:0),"vertical"===n?(o=t.getLayout().x+(i-d(t,n))*e,t.setLayout({x:o},!0)):(o=t.getLayout().y+(i-d(t,n))*e,t.setLayout({y:o},!0)))}))}))}(rt,dt*=.99,at),s(rt,it,et,nt,at),function(t,e,n){o.each(t,(function(t){o.each(t,(function(t){var i,o;t.inEdges.length&&(i=f(t.inEdges,c,n)/f(t.inEdges,p,n),isNaN(i)&&(i=(o=t.inEdges.length)?f(t.inEdges,h,n)/o:0),"vertical"===n?(o=t.getLayout().x+(i-d(t,n))*e,t.setLayout({x:o},!0)):(o=t.getLayout().y+(i-d(t,n))*e,t.setLayout({y:o},!0)))}))}))}(rt,dt,at),s(rt,it,et,nt,at);F=x;var pt="vertical"===b?"x":"y";o.each(F,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[pt]-e.node2.getLayout()[pt]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[pt]-e.node1.getLayout()[pt]}))})),o.each(F,(function(t){var e=0,n=0;o.each(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),o.each(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}))}},"82eb":function(t,e){e.ContextCachedBy={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},e.WILL_BE_RESTORED=9},"82f9":function(t,e,n){var i=n("6d8b"),o=n("76a5"),a=n("2306");function r(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function s(t){var e=this._zr=t.getZr();this._styleCoord=[0,0,0,0],r(this._styleCoord,e,t.getWidth()/2,t.getHeight()/2),this._show=!1,this._hideTimeout}s.prototype={constructor:s,_enterable:!0,update:function(t){t.get("alwaysShowContent")&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3];t*=this._zr.getWidth(),e*=this._zr.getHeight();this.moveTo(t,e)},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,n){this.el&&this._zr.remove(this.el);for(var i={},r=t,s="{marker",l=r.indexOf(s);0<=l;){var u=r.indexOf("|}"),c=r.substr(l+s.length,u-l-s.length);-1<c.indexOf("sub")?i["marker"+c]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[c],textOffset:[3,0]}:i["marker"+c]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[c]},l=(r=r.substr(u+1)).indexOf("{marker")}var h=n.getModel("textStyle"),d=h.get("fontSize"),p=n.get("textLineHeight"),f=(null==p&&(p=Math.round(3*d/2)),this.el=new o({style:a.setTextStyle({},h,{rich:i,text:t,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding"),textLineHeight:p}),z:n.get("z")}),this._zr.add(this.el),this);this.el.on("mouseover",(function(){f._enterable&&(clearTimeout(f._hideTimeout),f._show=!0),f._inContent=!0})),this.el.on("mouseout",(function(){f._enterable&&f._show&&f.hideLater(f._hideDelay),f._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){var n;this.el&&(r(n=this._styleCoord,this._zr,t,e),this.el.attr("position",[n[0],n[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(i.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]}}},t.exports=s},8344:function(t,e,n){var i=n("6d8b"),o=n("f706"),a=n("3842"),r=n("6179"),s=n("923d");function l(t,e,n){var i=e.coordinateSystem;t.each((function(o){var r,s,l,u=t.getItemModel(o),c=a.parsePercent(u.get("x"),n.getWidth());u=a.parsePercent(u.get("y"),n.getHeight());isNaN(c)||isNaN(u)?e.getMarkerPosition?l=e.getMarkerPosition(t.getValues(t.dimensions,o)):i&&(r=t.get(i.dimensions[0],o),s=t.get(i.dimensions[1],o),l=i.dataToPoint([r,s])):l=[c,u],isNaN(c)||(l[0]=c),isNaN(u)||(l[1]=u),t.setItemLayout(o,l)}))}n=n("88f0").extend({type:"markPoint",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markPointModel;e&&(l(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout(e))}),this)},renderSeries:function(t,e,n,a){var u=t.coordinateSystem,c=t.id,h=t.getData(),d=this.markerGroupMap,p=(d=d.get(c)||d.set(c,new o),function(t,e,n){o=t?i.map(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return i.defaults({name:t},n)})):[{name:"value",type:"float"}];var o=new r(o,n);n=i.map(n.get("data"),i.curry(s.dataTransform,e));return t&&(n=i.filter(n,i.curry(s.dataFilter,t))),o.initData(n,null,t?s.dimValueGetter:function(t){return t.value}),o}(u,t,e));e.setData(p),l(e.getData(),t,a),p.each((function(t){var n,o,a=p.getItemModel(t),r=a.getShallow("symbol"),s=a.getShallow("symbolSize"),l=a.getShallow("symbolRotate"),u=i.isFunction(r),c=i.isFunction(s),d=i.isFunction(l);(u||c||d)&&(n=e.getRawValue(t),o=e.getDataParams(t),u&&(r=r(n,o)),c&&(s=s(n,o)),d)&&(l=l(n,o)),p.setItemVisual(t,{symbol:r,symbolSize:s,symbolRotate:l,color:a.get("itemStyle.color")||h.getVisual("color")})})),d.updateData(p),this.group.add(d.group),p.eachItemGraphicEl((function(t){t.traverse((function(t){t.dataModel=e}))})),d.__keep=!0,d.group.silent=e.get("silent")||t.get("silent")}}),t.exports=n},"83ba":function(t,e,n){var i=n("6d8b"),o=n("6cb7"),a=(n=n("f934"),n.getLayoutParams),r=n.sizeCalculable,s=n.mergeLayoutParam,l=o.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,n,i){var o=a(t);l.superApply(this,"init",arguments),u(t,o)},mergeOption:function(t,e){l.superApply(this,"mergeOption",arguments),u(this.option,t)}});function u(t,e){var n=t.cellSize,o=(i.isArray(n)?1===n.length&&(n[1]=n[0]):n=t.cellSize=[n,n],i.map([0,1],(function(t){return r(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]})));s(t,e,{type:"box",ignoreSize:o})}t.exports=l},"843e":function(t,e,n){var i=n("6d8b"),o=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];t.exports=function(t){i.each(o,(function(e){this[e]=i.bind(t[e],t)}),this)}},8459:function(t,e,n){n=n("3eba"),n.registerAction({type:"axisAreaSelect",event:"axisAreaSelected"},(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),n.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))},"849b":function(t,e,n){var i=n("d9d0");n("2039").register("parallel",{create:function(t,e){var n=[];return t.eachComponent("parallel",(function(o,a){var r=new i(o,t,e);r.name="parallel_"+a,r.resize(o,e),(o.coordinateSystem=r).model=o,n.push(r)})),t.eachSeries((function(e){var n;"parallel"===e.get("coordinateSystem")&&(n=t.queryComponents({mainType:"parallel",index:e.get("parallelIndex"),id:e.get("parallelId")})[0],e.coordinateSystem=n.coordinateSystem)})),n}})},"84ce":function(t,e,n){function i(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1}var o=n("6d8b"),a=o.each,r=o.map,s=(o=n("3842"),o.linearMap),l=o.getPixelPrecision,u=o.round,c=(o=n("e073"),o.createAxisTicks),h=o.createAxisLabels,d=o.calculateCategoryInterval,p=[0,1];function f(t,e){e=(t[1]-t[0])/e/2,t[0]+=e,t[1]-=e}i.prototype={constructor:i,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]);e=Math.max(e[0],e[1]);return n<=t&&t<=e},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 n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&f(n=n.slice(),i.count()),s(t,p,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&f(n=n.slice(),i.count()),i=s(t,n,p,e);return this.scale.scale(i)},pointToData:function(t,e){},getTicksCoords:function(t){var e,n,i,o,s,l,h,d=(t=t||{}).tickModel||this.getTickModel(),p=c(this,d).ticks;p=r(p,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this),d=d.get("alignWithLabel");function f(t,e){return t=u(t),e=u(e),l?e<t:t<e}return e=this,n=p,d=d,t=t.clamp,h=n.length,e.onBand&&!d&&h&&(d=e.getExtent(),1===h?(n[0].coord=d[0],i=n[1]={coord:d[0]}):(s=n[h-1].tickValue-n[0].tickValue,o=(n[h-1].coord-n[0].coord)/s,a(n,(function(t){t.coord-=o/2})),e=1+(s=e.scale.getExtent())[1]-n[h-1].tickValue,i={coord:n[h-1].coord+o*e},n.push(i)),l=d[0]>d[1],f(n[0].coord,d[0])&&(t?n[0].coord=d[0]:n.shift()),t&&f(d[0],n[0].coord)&&n.unshift({coord:d[0]}),f(d[1],i.coord)&&(t?i.coord=d[1]:n.pop()),t)&&f(i.coord,d[1])&&n.push({coord:d[1]}),p},getMinorTicksCoords:function(){var t;return"ordinal"===this.scale.type?[]:(t=this.model.getModel("minorTick").get("splitNumber"),t=this.scale.getMinorTicks(t=0<t&&t<100?t:5),r(t,(function(t){return r(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this))},getViewLabels:function(){return h(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();e=e[1]-e[0]+(this.onBand?1:0),0===e&&(e=1),t=Math.abs(t[1]-t[0]);return Math.abs(t)/e},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return d(this)}},t.exports=i},"84d5":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("4319"),r=n("e0d3").isNameSpecified,s=(n=n("29a8").legend.selector,{all:{type:"all",title:o.clone(n.all)},inverse:{type:"inverse",title:o.clone(n.inverse)}}),l=i.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){l.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var e=t.selector;!0===e&&(e=t.selector=["all","inverse"]),o.isArray(e)&&o.each(e,(function(t,n){o.isString(t)&&(t={type:t}),e[n]=o.merge(t,s[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}e||this.select(t[0].get("name"))}},_updateData:function(t){var e=[],n=[],i=(t.eachRawSeries((function(i){var o,a=i.name;n.push(a),i.legendVisualProvider&&(a=i.legendVisualProvider.getAllNames(),t.isSeriesFiltered(i)||(n=n.concat(a)),a.length)?e=e.concat(a):o=!0,o&&r(i)&&e.push(i.name)})),this._availableNames=n,this.get("data")||e);i=o.map(i,(function(t){return new a(t="string"!=typeof t&&"number"!=typeof t?t:{name:t},this,this.ecModel)}),this);this._data=i},getData:function(){return this._data},select:function(t){var e,n=this.option.selected;"single"===this.get("selectedMode")&&(e=this._data,o.each(e,(function(t){n[t.get("name")]=!1}))),n[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},toggleSelected:function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},allSelect:function(){var t=this._data,e=this.option.selected;o.each(t,(function(t){e[t.get("name",!0)]=!0}))},inverseSelect:function(){var t=this._data,e=this.option.selected;o.each(t,(function(t){t=t.get("name",!0),e.hasOwnProperty(t)||(e[t]=!0),e[t]=!e[t]}))},isSelected:function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&0<=o.indexOf(this._availableNames,t)},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}}});t.exports=l},"84ec":function(t,e){var n=Math.log(2);function i(t,e,o,a,r,s){var l,u=a+"-"+r,c=t.length;if(s.hasOwnProperty(u))return s[u];if(1===e)return l=Math.round(Math.log((1<<c)-1&~r)/n),t[o][l];for(var h=a|1<<o,d=o+1;a&1<<d;)d++;for(var p=0,f=0,g=0;f<c;f++){var m=1<<f;m&r||(p+=(g%2?-1:1)*t[o][f]*i(t,e-1,d,h,r|m,s),g++)}return s[u]=p}e.buildTransformer=function(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],o={},a=i(n,8,0,0,0,o);if(0!==a){for(var r=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==r[l]&&(r[l]=0),r[l]+=((s+l)%2?-1:1)*i(n,7,0===s?1:0,1<<s,1<<l,o)/a*e[s];return function(t,e,n){var i=e*r[6]+n*r[7]+1;t[0]=(e*r[0]+n*r[1]+r[2])/i,t[1]=(e*r[3]+n*r[4]+r[5])/i}}}},"857d":function(t,e){var n=2*Math.PI;e.normalizeRadian=function(t){return(t%=n)<0&&(t+=n),t}},"862d":function(t,e,n){var i=n("6d8b"),o=i.createHashMap,a=i.each,r=i.isString,s=i.defaults,l=i.extend,u=i.isObject,c=i.clone,h=n("e0d3").normalizeToArray,d=(i=n("0f99"),i.guessOrdinal),p=i.BE_ORDINAL,f=n("ec6f"),g=n("2f45").OTHER_DIMENSIONS,m=n("562e");function y(t,e,n){if(n||null!=e.get(t)){for(var i=0;null!=e.get(t+i);)i++;t+=i}return e.set(t,!0),t}t.exports=function(t,e,n){f.isInstance(e)||(e=f.seriesDataToSource(e)),n=n||{},t=(t||[]).slice();for(var i,v,x,_,b=(n.dimsDef||[]).slice(),w=o(),S=o(),M=[],I=(i=e,v=t,x=n.dimCount,_=Math.max(i.dimensionsDetectCount||1,v.length,b.length,x||0),a(v,(function(t){t=t.dimsDef,t&&(_=Math.max(_,t.length))})),_),T=0;T<I;T++){var A=b[T]=l({},u(b[T])?b[T]:{name:b[T]}),C=A.name,D=M[T]=new m;null!=C&&null==w.get(C)&&(D.name=D.displayName=C,w.set(C,T)),null!=A.type&&(D.type=A.type),null!=A.displayName&&(D.displayName=A.displayName)}var L=n.encodeDef,P=(!L&&n.encodeDefaulter&&(L=n.encodeDefaulter(e,I)),(L=o(L)).each((function(t,e){var n;1===(t=h(t).slice()).length&&!r(t[0])&&t[0]<0?L.set(e,!1):(n=L.set(e,[]),a(t,(function(t,i){null!=(t=r(t)?w.get(t):t)&&t<I&&(n[i]=t,k(M[t],e,i))})))})),0);function k(t,e,n){null!=g.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,S.set(e,!0))}a(t,(function(t,e){r(t)?(o=t,t={}):(o=t.name,l=t.ordinalMeta,t.ordinalMeta=null,(t=c(t)).ordinalMeta=l,n=t.dimsDef,i=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null);var n,i,o,l,d=L.get(o);if(!1!==d){if(!(d=h(d)).length)for(var p=0;p<(n&&n.length||1);p++){for(;P<M.length&&null!=M[P].coordDim;)P++;P<M.length&&d.push(P++)}a(d,(function(e,a){e=M[e],k(s(e,t),o,a),null==e.name&&n&&(a=n[a],u(a)||(a={name:a}),e.name=e.displayName=a.name,e.defaultTooltip=a.defaultTooltip),i&&s(e.otherDims,i)}))}}));for(var O=n.generateCoord,R=null!=(E=n.generateCoordCount),E=O?E||1:0,N=O||"value",z=0;z<I;z++)null==(D=M[z]=M[z]||new m).coordDim&&(D.coordDim=y(N,S,R),D.coordDimIndex=0,(!O||E<=0)&&(D.isExtraCoord=!0),E--),null==D.name&&(D.name=y(D.coordDim,w)),null!=D.type||d(e,z,D.name)!==p.Must&&(!D.isExtraCoord||null==D.otherDims.itemName&&null==D.otherDims.seriesName)||(D.type="ordinal");return M}},"870e":function(t,e,n){var i=n("6d8b");function o(t){return!isNaN(t[0])&&!isNaN(t[1])}function a(t){return[t.cx,t.cy]}t.exports=function(t){t.eachSeriesByType("radar",(function(t){var e,n=t.getData(),r=[],s=t.coordinateSystem;s&&(e=s.getIndicatorAxes(),i.each(e,(function(t,i){n.each(n.mapDimension(e[i].dim),(function(t,e){r[e]=r[e]||[],t=s.dataToPoint(t,i),r[e][i]=o(t)?t:a(s)}))})),n.each((function(t){var e=i.find(r[t],o)||a(s);r[t].push(e.slice()),n.setItemLayout(t,r[t])})))}))}},8727:function(t,e){e.createElement=function(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}},8728:function(t,e){t.exports=function(t,e,n,i,o,a){var r;return e<a&&i<a||a<e&&a<i||i===e?0:(r=i<e?1:-1,1!=(a=(a-e)/(i-e))&&0!=a||(r=i<e?.5:-.5),(i=a*(n-t)+t)===o?1/0:o<i?r:0)}},"879e":function(t,e,n){var i=n("3eba"),o=n("6179"),a=n("6d8b"),r=n("e0d3").defaultEmphasis,s=n("4319"),l=n("eda2").encodeHTML,u=n("237f"),c=n("c4a3"),h=(n=n("0c37"),n.initCurvenessList),d=n.createEdgeMapForCurveness,p=i.extendSeriesModel({type:"series.graph",init:function(t){p.superApply(this,"init",arguments);var e=this;function n(){return e._categoriesData}this.legendVisualProvider=new c(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){p.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){p.superApply(this,"mergeDefaultAndTheme",arguments),r(t,["edgeLabel"],["show"])},getInitialData:function(t,e){var n=t.edges||t.links||[],i=(t=t.data||t.nodes||[],this);if(t&&n)return h(this),t=u(t,n,this,!0,(function(t,n){t.wrapMethod("getItemModel",(function(t){var e=i._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));t=i.getModel("edgeLabel");var o=new s({label:t.option},t.parentModel,e),a=(t=i.getModel("emphasis.edgeLabel"),new s({emphasis:{label:t.option}},t.parentModel,e));function r(t){return(t=this.parsePath(t))&&"label"===t[0]?o:t&&"emphasis"===t[0]&&"label"===t[1]?a:this.parentModel}n.wrapMethod("getItemModel",(function(t){return t.customizeGetParent(r),t}))})),a.each(t.edges,(function(t){d(t.node1,t.node2,this,t.dataIndex)}),this),t.data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,n){var i,o,a,r;return"edge"===n?(a=this.getData(),i=this.getDataParams(t,n),r=a.graph.getEdgeByIndex(t),o=a.getName(r.node1.dataIndex),a=a.getName(r.node2.dataIndex),r=[],null!=o&&r.push(o),null!=a&&r.push(a),r=l(r.join(" > ")),i.value&&(r+=" : "+l(i.value)),r):p.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=a.map(this.option.categories||[],(function(t){return null!=t.value?t:a.extend({value:0},t)})),e=new o(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return p.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{label:{show:!0}}}});t.exports=p},"87b1":function(t,e,n){var i=n("cbe5"),o=n("4fac");n=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){o.buildPath(t,e,!0)}});t.exports=n},"87c3":function(t,e,n){var i=n("6d8b").map,o=n("cccd"),a=n("ee1aa").isDimensionStacked;t.exports=function(t){return{seriesType:t,plan:o(),reset:function(t){var e,n,o=t.getData(),r=t.coordinateSystem,s=t.pipelineContext.large;if(r)return e=i(r.dimensions,(function(t){return o.mapDimension(t)})).slice(0,2),n=e.length,t=o.getCalculationInfo("stackResultDimension"),a(o,e[0])&&(e[0]=t),a(o,e[1])&&(e[1]=t),n&&{progress:function(t,i){for(var o,a,l=t.end-t.start,u=s&&new Float32Array(l*n),c=t.start,h=0,d=[],p=[];c<t.end;c++)a=1===n?(o=i.get(e[0],c),!isNaN(o)&&r.dataToPoint(o,null,p)):(o=d[0]=i.get(e[0],c),a=d[1]=i.get(e[1],c),!isNaN(o)&&!isNaN(a)&&r.dataToPoint(d,null,p)),s?(u[h++]=a?a[0]:NaN,u[h++]=a?a[1]:NaN):i.setItemLayout(c,a&&a.slice()||[NaN,NaN]);s&&i.setLayout("symbolPoints",u)}}}}}},"88b3":function(t,e){var n="\0__throttleOriginMethod",i="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var i,o,a,r,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(a,r||[])}function d(){i=(new Date).getTime(),a=this,r=arguments;var t=s||e,d=s||n;s=null,o=i-(d?l:u)-t,clearTimeout(c),d?c=setTimeout(h,t):0<=o?h():c=setTimeout(h,-o),l=i}return e=e||0,d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}e.throttle=a,e.createOrUpdate=function(t,e,r,s){var l=t[e];if(l){var u=l[n]||l,c=l[o];if(l[i]!==r||c!==s){if(null==r||!s)return t[e]=u;(l=t[e]=a(u,r,"debounce"===s))[n]=u,l[o]=s,l[i]=r}return l}},e.clear=function(t,e){var i=t[e];i&&i[n]&&(t[e]=i[n])}},"88f0":function(t,e,n){var i=n("3eba"),o=n("6d8b");n=i.extendComponentView({type:"marker",init:function(){this.markerGroupMap=o.createHashMap()},render:function(t,e,n){var i=this.markerGroupMap,o=(i.each((function(t){t.__keep=!1})),this.type+"Model");e.eachSeries((function(t){var i=t[o];i&&this.renderSeries(t,i,e,n)}),this),i.each((function(t){t.__keep||this.group.remove(t.group)}),this)},renderSeries:function(){}});t.exports=n},8918:function(t,e,n){var i=n("6d8b"),o=n("625e").parseClassType,a=0;e.getUID=function(t){return[t||"",a++,Math.random().toFixed(5)].join("_")},e.enableSubTypeDefaulter=function(t){var e={};return t.registerSubTypeDefaulter=function(t,n){t=o(t),e[t.main]=n},t.determineSubType=function(n,i){var a,r=i.type;return r||(a=o(n).main,t.hasSubTypes(n)&&e[a]&&(r=e[a](i))),r},t},e.enableTopologicalTravel=function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,o,a,r){if(t.length){s=o,l={},u=[],i.each(s,(function(t){var o,a,r=n(l,t),c=r.originalDeps=e(t);o=s,a=[],i.each(c,(function(t){0<=i.indexOf(o,t)&&a.push(t)})),c=a;r.entryCount=c.length,0===r.entryCount&&u.push(t),i.each(c,(function(e){i.indexOf(r.predecessor,e)<0&&r.predecessor.push(e);var o=n(l,e);i.indexOf(o.successor,e)<0&&o.successor.push(t)}))}));o={graph:l,noEntryList:u};var s,l,u,c=o.graph,h=o.noEntryList,d={};for(i.each(t,(function(t){d[t]=!0}));h.length;){var p=h.pop(),f=c[p],g=!!d[p];g&&(a.call(r,p,f.originalDeps.slice()),delete d[p]),i.each(f.successor,g?y:m)}i.each(d,(function(){throw new Error("Circle dependency may exists")}))}function m(t){c[t].entryCount--,0===c[t].entryCount&&h.push(t)}function y(t){d[t]=!0,m(t)}}}},8971:function(t,e){var n="";n={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:(n="undefined"!=typeof navigator?navigator.platform||"":n).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,n){var i=n("22d1"),o=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];t.exports=function(t){return i.browser.ie&&11<=i.browser.version?function(){var e,n=this.__clipPaths,i=this.style;if(n)for(var a=0;a<n.length;a++){var r=n[a],s=r&&r.shape;r=r&&r.type;if(s&&("sector"===r&&s.startAngle===s.endAngle||"rect"===r&&(!s.width||!s.height))){for(var l=0;l<o.length;l++)o[l][2]=i[o[l][0]],i[o[l][0]]=o[l][1];e=!0;break}}if(t.apply(this,arguments),e)for(l=0;l<o.length;l++)i[o[l][0]]=o[l][2]}:t}},"89e3":function(t,e,n){var i=n("3842"),o=n("eda2"),a=n("e0d8"),r=n("944e"),s=i.round,l=a.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>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=r.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,i=this._niceExtent,o=this._intervalPrecision,a=[];if(e){n[0]<i[0]&&a.push(t?s(i[0]-e,o):n[0]);for(var r=i[0];r<=i[1]&&(a.push(r),(r=s(r+e,o))!==a[a.length-1]);)if(1e4<a.length)return[];var l=a.length?a[a.length-1]:i[1];n[1]>l&&a.push(t?s(l+e,o):n[1])}return a},getMinorTicks:function(t){for(var e=this.getTicks(!0),n=[],o=this.getExtent(),a=1;a<e.length;a++){for(var r=e[a],s=e[a-1],l=0,u=[],c=(r-s)/t;l<t-1;){var h=i.round(s+(l+1)*c);h>o[0]&&h<o[1]&&u.push(h),l++}n.push(u)}return n},getLabel:function(t,e){return null==t?"":(null==(e=e&&e.precision)?e=i.getPrecisionSafe(t)||0:"auto"===e&&(e=this._intervalPrecision),t=s(t,e,!0),o.addCommas(t))},niceTicks:function(t,e,n){t=t||5;var i=this._extent,o=i[1]-i[0];isFinite(o)&&(o<0&&i.reverse(),o=r.intervalScaleNiceTicks(i,t,e,n),this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent)},niceExtent:function(t){var e=this._extent,n=(e[0]===e[1]&&(0!==e[0]?(n=e[0],t.fixMax||(e[1]+=n/2),e[0]-=n/2):e[1]=1),e[1]-e[0]);isFinite(n)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval),n=this._interval;t.fixMin||(e[0]=s(Math.floor(e[0]/n)*n)),t.fixMax||(e[1]=s(Math.ceil(e[1]/n)*n))}});l.create=function(){return new l},t.exports=l},"8b7f":function(t,e,n){n("4e08").__DEV__;n=n("6d8b");var i=n.createHashMap,o=(n.retrieve,n.each);function a(t){this.coordSysName=t,this.coordSysDims=[],this.axisMap=i(),this.categoryAxisMap=i(),this.firstCategoryDimIndex=null}var r={cartesian2d:function(t,e,n,i){var o=t.getReferringComponents("xAxis")[0];t=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",o),n.set("y",t),s(o)&&(i.set("x",o),e.firstCategoryDimIndex=0),s(t)&&(i.set("y",t),e.firstCategoryDimIndex,e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,i){t=t.getReferringComponents("singleAxis")[0],e.coordSysDims=["single"],n.set("single",t),s(t)&&(i.set("single",t),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){t=t.getReferringComponents("polar")[0];var o=t.findAxisModel("radiusAxis");t=t.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",t),s(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),s(t)&&(i.set("angle",t),null==e.firstCategoryDimIndex)&&(e.firstCategoryDimIndex=1)},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var a=t.ecModel,r=(t=a.getComponent("parallel",t.get("parallelIndex")),e.coordSysDims=t.dimensions.slice());o(t.parallelAxisIndex,(function(t,o){t=a.getComponent("parallelAxis",t);var l=r[o];n.set(l,t),s(t)&&null==e.firstCategoryDimIndex&&(i.set(l,t),e.firstCategoryDimIndex=o)}))}};function s(t){return"category"===t.get("type")}e.getCoordSysInfoBySeries=function(t){var e=t.get("coordinateSystem"),n=new a(e);if(e=r[e])return e(t,n,n.axisMap,n.categoryAxisMap),n}},"8c2a":function(t,e,n){var i=n("6d8b"),o=n("e0d8"),a=n("3842"),r=n("89e3"),s=o.prototype,l=r.prototype,u=a.getPrecisionSafe,c=a.round,h=Math.floor,d=Math.ceil,p=Math.pow,f=Math.log,g=o.extend({type:"log",base:10,$constructor:function(){o.apply(this,arguments),this._originalScale=new r},getTicks:function(t){var e=this._originalScale,n=this._extent,o=e.getExtent();return i.map(l.getTicks.call(this,t),(function(t){var i=a.round(p(this.base,t));i=t===n[0]&&e.__fixMin?m(i,o[0]):i;return t===n[1]&&e.__fixMax?m(i,o[1]):i}),this)},getMinorTicks:l.getMinorTicks,getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),p(this.base,t)},setExtent:function(t,e){var n=this.base;t=f(t)/f(n),e=f(e)/f(n),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this),n=(t=(e[0]=p(t,e[0]),e[1]=p(t,e[1]),this._originalScale),t.getExtent());return t.__fixMin&&(e[0]=m(e[0],n[0])),t.__fixMax&&(e[1]=m(e[1],n[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=f(t[0])/f(e),t[1]=f(t[1])/f(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n==1/0||n<=0)){var i=a.quantity(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&0<Math.abs(i);)i*=10;t=[a.round(d(e[0]/i)*i),a.round(h(e[1]/i)*i)],this._interval=i,this._niceExtent=t}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return c(t,u(e))}i.each(["contain","normalize"],(function(t){g.prototype[t]=function(e){return e=f(e)/f(this.base),s[t].call(this,e)}})),g.create=function(){return new g},t.exports=g},"8d32":function(t,e,n){n=n("cbe5").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 n=e.cx,i=e.cy,o=Math.max(e.r,0),a=e.startAngle,r=e.endAngle,s=(e=e.clockwise,Math.cos(a)),l=Math.sin(a);t.moveTo(s*o+n,l*o+i),t.arc(n,i,o,a,r,!e)}}),t.exports=n},"8deb":function(t,e,n){var i=n("3eba"),o=(n("5522"),n("a016"),n("1466"),n("98e7")),a=n("7f96"),r=n("870e"),s=n("d3f47");n=n("7891");i.registerVisual(o("radar")),i.registerVisual(a("radar","circle")),i.registerLayout(r),i.registerProcessor(s("radar")),i.registerPreprocessor(n)},"8e43":function(t,e,n){n=n("6d8b");var i=n.createHashMap,o=n.isObject,a=n.map;function r(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}function s(t){return t._map||(t._map=i(t.categories))}function l(t){return o(t)&&null!=t.value?t.value:t+""}r.createByAxisModel=function(t){t=t.option;var e=t.data;e=e&&a(e,l);return new r({categories:e,needCollect:!e,deduplication:!1!==t.dedplication})},n=r.prototype,n.getOrdinal=function(t){return s(this).get(t)},n.parseAndCollect=function(t){var e,n,i=this._needCollect;return"string"==typeof t||i?(i&&!this._deduplication?(n=this.categories.length,this.categories[n]=t):null==(n=(e=s(this)).get(t))&&(i?(n=this.categories.length,this.categories[n]=t,e.set(t,n)):n=NaN),n):t},t.exports=r},"8e77":function(t,e,n){function i(t,e,n,i){var a=u.dataTransform(t,i[0]),r=(t=u.dataTransform(t,i[1]),i=o.retrieve,a.coord),s=t.coord;return r[0]=i(r[0],-1/0),r[1]=i(r[1],-1/0),s[0]=i(s[0],1/0),s[1]=i(s[1],1/0),(r=o.mergeAll([{},a,t])).coord=[a.coord,t.coord],r.x0=a.x,r.y0=a.y,r.x1=t.x,r.y1=t.y,r}var o=n("6d8b"),a=n("41ef"),r=n("6179"),s=n("3842"),l=n("2306"),u=n("923d");n=n("88f0");function c(t){return!isNaN(t)&&!isFinite(t)}function h(t,e,n){return t=1-t,c(e[t])&&c(n[t])}function d(t,e){var n=e.coord[0],i=e.coord[1];return!("cartesian2d"!==t.type||!n||!i||!h(1,n,i)&&!h(0,n,i))||u.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||u.dataFilter(t,{coord:i,x:e.x1,y:e.y1})}function p(t,e,n,i,o){var a,r,l,u=i.coordinateSystem,h=t.getItemModel(e),d=s.parsePercent(h.get(n[0]),o.getWidth());h=s.parsePercent(h.get(n[1]),o.getHeight());return isNaN(d)||isNaN(h)?(l=i.getMarkerPosition?i.getMarkerPosition(t.getValues(n,e)):(o=[a=t.get(n[0],e),r=t.get(n[1],e)],u.clampData&&u.clampData(o,o),u.dataToPoint(o,!0)),"cartesian2d"===u.type&&(i=u.getAxis("x"),o=u.getAxis("y"),a=t.get(n[0],e),r=t.get(n[1],e),c(a)?l[0]=i.toGlobalCoord(i.getExtent()["x0"===n[0]?0:1]):c(r)&&(l[1]=o.toGlobalCoord(o.getExtent()["y0"===n[1]?0:1]))),isNaN(d)||(l[0]=d),isNaN(h)||(l[1]=h)):l=[d,h],l}var f=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];n.extend({type:"markArea",updateTransform:function(t,e,n){e.eachSeries((function(t){var e,i=t.markAreaModel;i&&(e=i.getData()).each((function(i){var a=o.map(f,(function(o){return p(e,i,o,t,n)}));e.setItemLayout(i,a),e.getItemGraphicEl(i).setShape("points",a)}))}),this)},renderSeries:function(t,e,n,s){var u=t.coordinateSystem,h=t.id,g=t.getData(),m=this.markerGroupMap,y=m.get(h)||m.set(h,{group:new l.Group}),v=(this.group.add(y.group),y.__keep=!0,function(t,e,n){var a,s;return s=t?(a=o.map(t&&t.dimensions,(function(t){var n=e.getData();n=n.getDimensionInfo(n.mapDimension(t))||{};return o.defaults({name:t},n)})),new r(o.map(["x0","y0","x1","y1"],(function(t,e){return{name:t,type:a[e%2].type}})),n)):new r(a=[{name:"value",type:"float"}],n),n=o.map(n.get("data"),o.curry(i,e,t,n)),t&&(n=o.filter(n,o.curry(d,t))),t=t?function(t,e,n,i){return t.coord[Math.floor(i/2)][i%2]}:function(t){return t.value},s.initData(n,null,t),s.hasItemOption=!0,s}(u,t,e));e.setData(v),v.each((function(e){var n=o.map(f,(function(n){return p(v,e,n,t,s)})),i=!0;o.each(f,(function(t){var n;i&&(n=v.get(t[0],e),t=v.get(t[1],e),c(n)||u.getAxis("x").containData(n))&&(c(t)||u.getAxis("y").containData(t))&&(i=!1)})),v.setItemLayout(e,{points:n,allClipped:i}),v.setItemVisual(e,{color:g.getVisual("color")})})),v.diff(y.__data).add((function(t){var e=v.getItemLayout(t);e.allClipped||(e=new l.Polygon({shape:{points:e.points}}),v.setItemGraphicEl(t,e),y.group.add(e))})).update((function(t,n){n=y.__data.getItemGraphicEl(n);var i=v.getItemLayout(t);i.allClipped?n&&y.group.remove(n):(n?l.updateProps(n,{shape:{points:i.points}},e,t):n=new l.Polygon({shape:{points:i.points}}),v.setItemGraphicEl(t,n),y.group.add(n))})).remove((function(t){t=y.__data.getItemGraphicEl(t),y.group.remove(t)})).execute(),v.eachItemGraphicEl((function(t,n){var i=v.getItemModel(n),r=i.getModel("label"),s=i.getModel("emphasis.label"),u=v.getItemVisual(n,"color");t.useStyle(o.defaults(i.getModel("itemStyle").getItemStyle(),{fill:a.modifyAlpha(u,.4),stroke:u})),t.hoverStyle=i.getModel("emphasis.itemStyle").getItemStyle(),l.setLabelStyle(t.style,t.hoverStyle,r,s,{labelFetcher:e,labelDataIndex:n,defaultText:v.getName(n)||"",isRectText:!0,autoColor:u}),l.setHoverStyle(t,{}),t.dataModel=e})),y.__data=v,y.group.silent=e.get("silent")||t.get("silent")}})},"8ec5":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2145"),r=i.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){r.superApply(this,"optionUpdated",arguments),o.each(this.option.feature,(function(t,e){e=a.get(e),e&&o.merge(t,e.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}});t.exports=r},"8ed2":function(t,e,n){n("48c7"),n=n("6cb7").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=n},"8ee0":function(t,e,n){n("3f8e"),(0,n("697e7").registerPainter)("svg",n("dc20"))},"903c":function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}},"90c2":function(t,e,n){var i=n("5f14"),o=n("41ef"),a=n("6d8b"),r=a.isArray;function s(t,e,n){var i=a.extend({},e),o=n.designatedVisualItemStyle;return a.each(["color","colorAlpha","colorSaturation"],(function(n){o[n]=e[n];var a=t.get(n);(o[n]=null)!=a&&(i[n]=a)})),i}function l(t){var e,n=c(t,"color");if(n)return e=c(t,"colorAlpha"),(t=c(t,"colorSaturation"))&&(n=o.modifyHSL(n,null,null,t)),e?o.modifyAlpha(n,e):n}function u(t,e){return null!=e?o.modifyHSL(e,null,null,t):null}function c(t,e){if(t=t[e],null!=t&&"none"!==t)return t}function h(t,e,n,o,a,r){if(r&&r.length){var s;r=d(e,"color")||null!=a.color&&"none"!==a.color&&(d(e,"colorAlpha")||d(e,"colorSaturation"));if(r)return a=e.get("visualMin"),s=e.get("visualMax"),n=n.dataExtent.slice(),null!=a&&a<n[0]&&(n[0]=a),null!=s&&s>n[1]&&(n[1]=s),a=e.get("colorMappingBy"),"color"!==(s={type:r.name,dataExtent:n,visual:r.range}).type||"index"!==a&&"id"!==a?s.mappingMethod="linear":(s.mappingMethod="category",s.loop=!0),(e=new i(s)).__drColorMappingBy=a,e}}function d(t,e){return t=t.get(e),r(t)&&t.length?{name:e,range:t}:null}function p(t,e,n,i,o,r){var s,l;e=a.extend({},e);return o&&(i="index"===(l="color"===(s=o.type)&&o.__drColorMappingBy)?i:"id"===l?r.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension")),e[s]=o.mapValueToVisual(i)),e}t.exports={seriesType:"treemap",reset:function(t,e,n,i){var o=t.getData().tree.root;o.isRemoved()||function t(e,n,i,o){var r=e.getModel(),c=e.getLayout();if(c&&!c.invisible&&c.isInView){var d=e.getModel("itemStyle"),f=s(d,n,o);n=d.get("borderColor");var g,m,y=d.get("borderColorSaturation");null!=y&&(g=l(f),n=u(y,g)),e.setVisual("borderColor",n),y=e.viewChildren,y&&y.length?(m=h(0,r,c,0,f,y),a.each(y,(function(e,n){(e.depth>=i.length||e===i[e.depth])&&(n=p(r,f,e,n,m,o),t(e,n,i,o))}))):(g=l(f),e.setVisual("color",g))}}(o,{},t.getViewRoot().getAncestors(),t)}}},"923d":function(t,e,n){var i=n("6d8b"),o=n("3842"),a=n("ee1aa").isDimensionStacked,r=i.indexOf;function s(t,e,n,i,r,s){var l=[],u=a(e,i)?e.getCalculationInfo("stackResultDimension"):i;t=c(e,u,t),t=e.indicesOfNearest(u,t)[0],l[r]=e.get(n,t),l[s]=e.get(u,t),r=e.get(i,t),n=o.getPrecision(e.get(i,t));return 0<=(n=Math.min(n,20))&&(l[s]=+l[s].toFixed(n)),[l,r]}n=i.curry;var l={min:n(s,"min"),max:n(s,"max"),average:n(s,"average")};function u(t,e,n,i){var o={};return null!=t.valueIndex||null!=t.valueDim?(o.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,o.valueAxis=n.getAxis(function(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var o=0;o<i.length;o++){var a=n.getDimensionInfo(i[o]);if(a.name===e)return a.coordDim}}(i,o.valueDataDim)),o.baseAxis=n.getOtherAxis(o.valueAxis),o.baseDataDim=e.mapDimension(o.baseAxis.dim)):(o.baseAxis=i.getBaseAxis(),o.valueAxis=n.getOtherAxis(o.baseAxis),o.baseDataDim=e.mapDimension(o.baseAxis.dim),o.valueDataDim=e.mapDimension(o.valueAxis.dim)),o}function c(t,e,n){var i,o;return"average"===n?(o=i=0,t.each(e,(function(t,e){isNaN(t)||(i+=t,o++)})),i/o):"median"===n?t.getMedian(e):t.getDataExtent(e,!0)["max"===n?1:0]}e.dataTransform=function(t,e){var n=t.getData(),o=t.coordinateSystem;if(e&&(s=e,isNaN(parseFloat(s.x))||isNaN(parseFloat(s.y)))&&!i.isArray(e.coord)&&o){var a=o.dimensions,s=u(e,n,o,t);if((e=i.clone(e)).type&&l[e.type]&&s.baseAxis&&s.valueAxis)o=r(a,s.baseAxis.dim),t=r(a,s.valueAxis.dim),s=l[e.type](n,s.baseDataDim,s.valueDataDim,o,t),e.coord=s[0],e.value=s[1];else{for(var h=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],d=0;d<2;d++)l[h[d]]&&(h[d]=c(n,n.mapDimension(a[d]),h[d]));e.coord=h}}return e},e.getAxisInfo=u,e.dataFilter=function(t,e){return!(t&&t.containData&&e.coord&&(n=e,isNaN(parseFloat(n.x)))&&isNaN(parseFloat(n.y)))||t.containData(e.coord);var n},e.dimValueGetter=function(t,e,n,i){return i<2?t.coord&&t.coord[i]:t.value},e.numCalculate=c},9273:function(t,e,n){var i=n("6d8b"),o=n("84ce");function a(t,e){o.call(this,"radius",t,e),this.type="category"}a.prototype={constructor:a,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToRadius:o.prototype.dataToCoord,radiusToData:o.prototype.coordToData},i.inherits(a,o),t.exports=a},"928d":function(t,e,n){var i=n("6d8b"),o=n("4f85"),a=n("06c7"),r=n("4319"),s=n("eda2"),l=s.encodeHTML,u=s.addCommas,c=n("55ac").wrapTreePathInfo;s=o.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(t,e){var n={name:t.name,children:t.data},o=(function t(e){var n=0;i.each(e.children,(function(e){t(e),e=e.value,i.isArray(e)&&(e=e[0]),n+=e}));var o=e.value;i.isArray(o)&&(o=o[0]),null!=o&&!isNaN(o)||(o=n),o<0&&(o=0),i.isArray(e.value)?e.value[0]=o:e.value=o}(n),t.levels||[]),s=this.designatedVisualItemStyle={},l=new r({itemStyle:s},this,e),u=(o=t.levels=function(t,e){var n;e=e.get("color");if(e)return t=t||[],i.each(t,(function(t){t=new r(t);var e=t.get("color");(t.get("itemStyle.color")||e&&"none"!==e)&&(n=!0)})),n||((t[0]||(t[0]={})).color=e.slice()),t}(o,e),i.map(o||[],(function(t){return new r(t,l,e)}),this)),c=a.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){return e=c.getNodeByDataIndex(e),e=u[e.depth],t.parentModel=e||l,t}))}));return c.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t);n=i.isArray(n)?u(n[0]):u(n),e=e.getName(t);return l(e+": "+n)},getDataParams:function(t){var e=o.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=c(n,this),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},i.extend(this.layoutInfo,t)},mapIdToIndex:function(t){var e=this._idIndexMap,n=(e||(e=this._idIndexMap=i.createHashMap(),this._idIndexMapCount=0),e.get(t));return null==n&&e.set(t,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});t.exports=s},"933b":function(t,e,n){n=n("b12f").extend({type:"timeline"}),t.exports=n},9390:function(t,e,n){n("d090"),n("83ba"),n("ee66")},"93d0":function(t,e){e.SOURCE_FORMAT_ORIGINAL="original",e.SOURCE_FORMAT_ARRAY_ROWS="arrayRows",e.SOURCE_FORMAT_OBJECT_ROWS="objectRows",e.SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",e.SOURCE_FORMAT_UNKNOWN="unknown",e.SOURCE_FORMAT_TYPED_ARRAY="typedArray",e.SERIES_LAYOUT_BY_COLUMN="column",e.SERIES_LAYOUT_BY_ROW="row"},9442:function(t,e,n){var i=n("6d8b");t.exports=function(t){var e=[];i.each(t.series,(function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,i.defaults(t,t.mapLocation))}))}},"944e":function(t,e,n){var i=n("3842"),o=i.round;function a(t){return i.getPrecisionSafe(t)+2}function r(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function s(t,e){isFinite(t[0])||(t[0]=e[0]),isFinite(t[1])||(t[1]=e[1]),r(t,0,e),r(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,n,r){var l={},u=t[1]-t[0];u=l.interval=i.nice(u/e,!0),null!=n&&u<n&&(u=l.interval=n),null!=r&&r<u&&(u=l.interval=r),e=l.intervalPrecision=a(u);return s(l.niceTickExtent=[o(Math.ceil(t[0]/u)*u,e),o(Math.floor(t[1]/u)*u,e)],t),l},e.getIntervalPrecision=a,e.fixExtent=s},"94b1":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("9d57"),r=a.layout;a=a.largeLayout;n("5aa9"),n("17b8"),n("67cc"),n("01ed"),i.registerLayout(i.PRIORITY.VISUAL.LAYOUT,o.curry(r,"bar")),i.registerLayout(i.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,a),i.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},"94e4":function(t,e,n){var i=n("401b"),o=n("53f3"),a=o.getSymbolSize,r=o.getNodeGlobalScale,s=n("6d8b"),l=n("0c37").getCurvenessForEdge,u=Math.PI,c=[],h={value:function(t,e,n,i,o,a,r,s){var l=0,u=i.getSum("value"),c=2*Math.PI/(u||s);n.eachNode((function(t){var e=t.getValue("value");e=c*(u?e:1)/2;l+=e,t.setLayout([o*Math.cos(l)+a,o*Math.sin(l)+r]),l+=e}))},symbolSize:function(t,e,n,i,o,s,l,h){var d=0,p=(c.length=h,r(t)),f=(n.eachNode((function(t){var e=a(t);(e=isNaN(e)?2:e)<0&&(e=0),e*=p,e=Math.asin(e/2/o);isNaN(e)&&(e=u/2),c[t.dataIndex]=e,d+=2*e})),(2*u-d)/h/2),g=0;n.eachNode((function(t){var e=f+c[t.dataIndex];g+=e,t.setLayout([o*Math.cos(g)+s,o*Math.sin(g)+l]),g+=e}))}};e.circularLayout=function(t,e){var n,o,a,r,u,c,d=t.coordinateSystem;d&&"view"!==d.type||(u=d.getBoundingRect(),o=(n=t.getData()).graph,a=u.width/2+u.x,r=u.height/2+u.y,u=Math.min(u.width,u.height)/2,c=n.count(),n.setLayout({cx:a,cy:r}),c&&(h[e](t,d,o,n,u,a,r,c),o.eachEdge((function(e,n){n=s.retrieve3(e.getModel().get("lineStyle.curveness"),l(e,t,n),0);var o,u=i.clone(e.node1.getLayout()),c=i.clone(e.node2.getLayout()),h=(u[0]+c[0])/2,d=(u[1]+c[1])/2;+n&&(o=[a*(n*=3)+h*(1-n),r*n+d*(1-n)]),e.setLayout([u,c,o])}))))}},"95a88":function(t,e,n){var i=n("3eba");n("1953"),n("307d"),i.registerPreprocessor((function(t){t.markLine=t.markLine||{}}))},9680:function(t,e){e.containStroke=function(t,e,n,i,o,a,r){var s;return 0!==o&&(s=0,!(e+(o=o)<r&&i+o<r||r<e-o&&r<i-o||t+o<a&&n+o<a||a<t-o&&a<n-o))&&(t===n?Math.abs(a-t)<=o/2:(a=(s=(e-i)/(t-n))*a-r+(t*i-n*e)/(t-n))*a/(s*s+1)<=o/2*o/2)}},9704:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("f706"),r=n("73ca"),s=n("4a01"),l=n("01ef"),u=n("c526").onIrrelevantElement,c=n("2306"),h=n("480f"),d=n("53f3").getNodeGlobalScale,p="__focusNodeAdjacency",f="__unfocusNodeAdjacency",g=["itemStyle","opacity"],m=["lineStyle","opacity"];function y(t,e){var n=t.getVisual("opacity");return null!=n?n:t.getModel().get(e)}function v(t,e,n){var i=t.getGraphicEl(),o=y(t,e);null!=n&&(null==o&&(o=1),o*=n),i.downplay&&i.downplay(),i.traverse((function(t){var e;t.isGroup||(null!=(e=t.lineLabelOriginalOpacity)&&null==n||(e=o),t.setStyle("opacity",e))}))}function x(t,e){var n=y(t,e);e=t.getGraphicEl();e.traverse((function(t){t.isGroup||t.setStyle("opacity",n)})),e.highlight&&e.highlight()}n=i.extendChartView({type:"graph",init:function(t,e){var n=new a,i=new r,o=this.group;this._controller=new s(e.getZr()),this._controllerHost={target:o},o.add(n.group),o.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},render:function(t,e,n){var i=this,o=t.coordinateSystem,a=(this._model=t,this._symbolDraw),r=this._lineDraw,s=this.group,l=("view"===o.type&&(o={position:o.position,scale:o.scale},this._firstRender?s.attr(o):c.updateProps(s,o,t)),h(t.getGraph(),d(t)),t.getData()),u=(s=(a.updateData(l),t.getEdgeData()),r.updateData(s),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout),t.forceLayout),g=t.get("force.layoutAnimation"),m=(u&&this._startForceLayoutIteration(u,g),l.eachItemGraphicEl((function(e,o){var a=l.getItemModel(o),r=(e.off("drag").off("dragend"),a.get("draggable"));r&&e.on("drag",(function(){u&&(u.warmUp(),this._layouting||this._startForceLayoutIteration(u,g),u.setFixed(o),l.setItemLayout(o,e.position))}),this).on("dragend",(function(){u&&u.setUnfixed(o)}),this),e.setDraggable(r&&u),e[p]&&e.off("mouseover",e[p]),e[f]&&e.off("mouseout",e[f]),a.get("focusNodeAdjacency")&&(e.on("mouseover",e[p]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e[f]=function(){i._dispatchUnfocus(n)}))}),this),l.graph.eachEdge((function(e){var o=e.getGraphicEl();o[p]&&o.off("mouseover",o[p]),o[f]&&o.off("mouseout",o[f]),e.getModel().get("focusNodeAdjacency")&&(o.on("mouseover",o[p]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),o.on("mouseout",o[f]=function(){i._dispatchUnfocus(n)}))})),"circular"===t.get("layout")&&t.get("circular.rotateLabel")),y=l.getLayout("cx"),v=l.getLayout("cy");l.eachItemGraphicEl((function(t,e){var n,i=l.getItemModel(e).get("label.rotate")||0;t=t.getSymbolPath();m?(e=l.getItemLayout(e),(n=Math.atan2(e[1]-v,e[0]-y))<0&&(n=2*Math.PI+n),(e=e[0]<y)&&(n-=Math.PI),c.modifyLabelStyle(t,{textRotation:-n,textPosition:n=e?"left":"right",textOrigin:"center"},{textPosition:n})):c.modifyLabelStyle(t,{textRotation:i*=Math.PI/180})})),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(t,e){var n=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){n._unfocusDelayTimer=null,t.dispatchAction({type:"unfocusNodeAdjacency",seriesId:n._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(t,e,n,i){t=t.getData().graph;var a=i.dataIndex;i=i.edgeDataIndex,a=t.getNodeByIndex(a),i=t.getEdgeByIndex(i);(a||i)&&(t.eachNode((function(t){v(t,g,.1)})),t.eachEdge((function(t){v(t,m,.1)})),a&&(x(a,g),o.each(a.edges,(function(t){t.dataIndex<0||(x(t,m),x(t.node1,g),x(t.node2,g))}))),i)&&(x(i,m),x(i.node1,g),x(i.node2,g))},unfocusNodeAdjacency:function(t,e,n,i){t=t.getData().graph,t.eachNode((function(t){v(t,g)})),t.eachEdge((function(t){v(t,m)}))},_startForceLayoutIteration:function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},_updateController:function(t,e,n){var i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(e,i,o){var r=a.getBoundingRect();return r.applyTransform(a.transform),r.contain(i,o)&&!u(e,n,t)})),"view"!==t.coordinateSystem.type?i.disable():(i.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){l.updateViewOnPan(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){l.updateViewOnZoom(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(),h(t.getGraph(),d(t)),this._lineDraw.updateLayout()}),this))},_updateNodeAndLinkScale:function(){var t=this._model,e=t.getData(),n=(t=d(t),[t,t]);e.eachItemGraphicEl((function(t,e){t.attr("scale",n)}))},updateLayout:function(t){h(t.getGraph(),d(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}}),t.exports=n},9850:function(t,e,n){var i,o,a,r,s=n("401b"),l=n("1687"),u=s.applyTransform,c=Math.min,h=Math.max;function d(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}d.prototype={constructor:d,union:function(t){var e=c(t.x,this.x),n=c(t.y,this.y);this.width=h(t.x+t.width,this.x+this.width)-e,this.height=h(t.y+t.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:(i=[],o=[],a=[],r=[],function(t){var e;t&&(i[0]=a[0]=this.x,i[1]=r[1]=this.y,o[0]=r[0]=this.x+this.width,o[1]=a[1]=this.y+this.height,u(i,i,t),u(o,o,t),u(a,a,t),u(r,r,t),this.x=c(i[0],o[0],a[0],r[0]),this.y=c(i[1],o[1],a[1],r[1]),t=h(i[0],o[0],a[0],r[0]),e=h(i[1],o[1],a[1],r[1]),this.width=t-this.x,this.height=e-this.y)}),calculateTransform:function(t){var e=t.width/this.width,n=t.height/this.height,i=l.create();return l.translate(i,i,[-this.x,-this.y]),l.scale(i,i,[e,n]),l.translate(i,i,[t.x,t.y]),i},intersect:function(t){if(!t)return!1;t instanceof d||(t=d.create(t));var e=this.x,n=this.x+this.width,i=this.y,o=this.y+this.height,a=t.x,r=t.x+t.width,s=t.y;t=t.y+t.height;return!(n<a||r<e||o<s||t<i)},contain:function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new d(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}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)},t.exports=d},"98b7":function(t,e){var n="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=n},"98e7":function(t,e,n){var i=n("6d8b").createHashMap;t.exports=function(t){return{getTargetSeries:function(e){var n={},o=i();return e.eachSeriesByType(t,(function(t){t.__paletteScope=n,o.set(t.uid,t)})),o},reset:function(t,e){var n=t.getRawData(),i={},o=t.getData();o.each((function(t){var e=o.getRawIndex(t);i[e]=t})),n.each((function(e){var a,r=i[e],s=null!=r&&o.getItemVisual(r,"color",!0),l=null!=r&&o.getItemVisual(r,"borderColor",!0);s&&l||(a=n.getItemModel(e)),s||(s=a.get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count()),null!=r&&o.setItemVisual(r,"color",s)),l||(e=a.get("itemStyle.borderColor"),null!=r&&o.setItemVisual(r,"borderColor",e))}))}}}},"998c":function(t,e,n){var i=n("6d8b"),o=n("2306"),a=n("e86a"),r=Math.PI;t.exports=function(t,e){e=e||{},i.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 n,s=new o.Group,l=new o.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),u=(s.add(l),e.fontSize+" sans-serif"),c=new o.Rect({style:{fill:"none",text:e.text,font:u,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});return s.add(c),e.showSpinner&&((n=new o.Arc({shape:{startAngle:-r/2,endAngle:-r/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*r/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*r/2}).delay(300).start("circularInOut"),s.add(n)),s.resize=function(){var i=a.getWidth(e.text,u),o=e.showSpinner?e.spinnerRadius:0,r=(i=(t.getWidth()-2*o-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner?0:i/2),t.getHeight()/2);e.showSpinner&&n.setShape({cx:i,cy:r}),c.setShape({x:i-o,y:r-o,width:2*o,height:2*o}),l.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},s.resize(),s}},"9bdb7":function(t,e,n){var i=n("282b")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]);t.exports={getAreaStyle:function(t,e){return i(this,t,e)}}},"9c2c":function(t,e,n){n=n("401b");var i=n.min,o=n.max,a=n.scale,r=n.distance,s=n.add,l=n.clone,u=n.sub;t.exports=function(t,e,n,c){var h,d,p=[],f=[],g=[],m=[];if(c){for(var y=[1/0,1/0],v=[-1/0,-1/0],x=0,_=t.length;x<_;x++)i(y,y,t[x]),o(v,v,t[x]);i(y,y,c[0]),o(v,v,c[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(n)h=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){p.push(l(t[x]));continue}h=t[x-1],d=t[x+1]}u(f,d,h),a(f,f,e);var w=r(b,h),S=r(b,d),M=w+S;M=(0!==M&&(w/=M,S/=M),a(g,f,-w),a(m,f,S),s([],b,g)),w=s([],b,m);c&&(o(M,M,y),i(M,M,v),o(w,w,y),i(w,w,v)),p.push(M),p.push(w)}return n&&p.push(p.shift()),p}},"9ca8":function(t,e,n){var i=n("6d8b"),o=n("9850"),a=n("3842"),r=a.parsePercent,s=a.MAX_SAFE_INTEGER,l=n("f934"),u=n("55ac"),c=Math.max,h=Math.min,d=i.retrieve,p=i.each,f=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],y=["upperLabel","height"];function v(t,e,n,o,a,r){var s,l=t.children||[],u=o.sort;"asc"!==u&&"desc"!==u&&(u=null),o=null!=o.leafDepth&&o.leafDepth<=r;if(a&&!o)return t.viewChildren=[];l=i.filter(l,(function(t){return!t.isRemoved()})),r=l,(s=u)&&r.sort((function(t,e){var n="asc"===s?t.getValue()-e.getValue():e.getValue()-t.getValue();return 0==n?"asc"===s?t.dataIndex-e.dataIndex:e.dataIndex-t.dataIndex:n}));var c=function(t,e,n){for(var i=0,o=0,a=e.length;o<a;o++)i+=e[o].getValue();var r,s=t.get("visualDimension");return e&&e.length?"value"===s&&n?(r=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&r.reverse()):(r=[1/0,-1/0],p(e,(function(t){t=t.getValue(s),t<r[0]&&(r[0]=t),t>r[1]&&(r[1]=t)}))):r=[NaN,NaN],{sum:i,dataExtent:r}}(e,l,u);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,n,i,o){if(i){for(var a=t.get("visibleMin"),r=o.length,s=r,l=r-1;0<=l;l--){var u=o["asc"===i?r-l-1:l].getValue();u/n*e<a&&(s=l,n-=u)}"asc"===i?o.splice(0,r-s):o.splice(s,r-s)}return n}(e,n,c.sum,u,l),0===c.sum)return t.viewChildren=[];for(var h=0,d=l.length;h<d;h++){var f=l[h].getValue()/c.sum*n;l[h].setLayout({area:f})}return o&&(l.length&&t.setLayout({isLeafRoot:!0},!0),l.length=0),t.viewChildren=l,t.setLayout({dataExtent:c.dataExtent},!0),l}function x(t,e,n){for(var i,o=0,a=1/0,r=0,s=t.length;r<s;r++)(i=t[r].getLayout().area)&&(i<a&&(a=i),o<i)&&(o=i);var l=t.area*t.area;e=e*e*n;return l?c(e*o/l,l/(e*a)):1/0}function _(t,e,n,i,o){var a=e===n.width?0:1,r=1-a,s=["x","y"],l=["width","height"],u=n[s[a]],d=e?t.area/e:0;(o||d>n[l[r]])&&(d=n[l[r]]);for(var p=0,f=t.length;p<f;p++){var g=t[p],m={},y=d?g.getLayout().area/d:0,v=m[l[r]]=c(d-2*i,0),x=n[s[a]]+n[l[a]]-u;x=p===f-1||x<y?x:y,y=m[l[a]]=c(x-2*i,0);m[s[r]]=n[s[r]]+h(i,v/2),m[s[a]]=u+h(i,y/2),u+=x,g.setLayout(m,!0)}n[s[r]]+=d,n[l[r]]-=d}function b(t){return t.get(m)?t.get(y):0}t.exports={seriesType:"treemap",reset:function(t,e,n,a){var m,y=n.getWidth(),w=n.getHeight(),S=t.option,M=(n=l.getLayoutRect(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),S.size||[]),I=r(d(n.width,M[0]),y),T=(M=r(d(n.height,M[1]),w),a&&a.type),A=u.retrieveTargetInfo(a,["treemapZoomToNode","treemapRootToNode"],t),C=(a="treemapRender"===T||"treemapMove"===T?a.rootRect:null,t.getViewRoot()),D=u.getPathToRoot(C);"treemapMove"!==T&&(T="treemapZoomToNode"===T?function(t,e,n,i,o){var a,r=(e||{}).node,l=[i,o];if(!r||r===n)return l;e=i*o;for(var u=e*t.option.zoomToNodeRatio;a=r.parentNode;){for(var c=0,h=a.children,d=0,p=h.length;d<p;d++)c+=h[d].getValue();var g=r.getValue();if(0===g)return l;u*=c/g;g=a.getModel();var m=g.get(f);g=Math.max(m,b(g));u+=4*m*m+(3*m+g)*Math.pow(u,.5),s<u&&(u=s),r=a}return u<e&&(u=e),n=Math.pow(u/e,.5),[i*n,o*n]}(t,A,C,I,M):a?[a.width,a.height]:[I,M],I=S.sort,M={squareRatio:S.squareRatio,sort:I=I&&"asc"!==I&&"desc"!==I?"desc":I,leafDepth:S.leafDepth},C.hostTree.clearLayouts(),m={x:0,y:0,width:T[0],height:T[1],area:T[0]*T[1]},C.setLayout(m),function t(e,n,i,o){var a;if(!e.isRemoved()){var r=e.getLayout();a=r.width,r=r.height;var s=e.getModel(),l=s.get(f),u=s.get(g)/2,d=b(s),p=Math.max(l,d),m=l-u,y=p-u;s=e.getModel(),e.setLayout({borderWidth:l,upperHeight:p,upperLabelHeight:d},!0),a=c(a-2*m,0),r=c(r-m-y,0),l=a*r;var w=v(e,s,l,n,i,o);if(w.length){var S={x:m,y:y,width:a,height:r},M=h(a,r),I=1/0,T=[];T.area=0;for(var A=0,C=w.length;A<C;){var D=w[A];D=(T.push(D),T.area+=D.getLayout().area,x(T,M,n.squareRatio));I=D<=I?(A++,D):(T.area-=T.pop().getLayout().area,_(T,M,S,u,!1),M=h(S.width,S.height),1/(T.length=T.area=0))}for(T.length&&_(T,M,S,u,!0),i||null!=(p=s.get("childrenVisibleMin"))&&l<p&&(i=!0),A=0,C=w.length;A<C;A++)t(w[A],n,i,o+1)}}}(C,M,!1,0),m=C.getLayout(),p(D,(function(t,e){e=(D[e+1]||C).getValue(),t.setLayout(i.extend({dataExtent:[e,e],borderWidth:0,upperHeight:0},m))}))),I=t.getData().tree.root;I.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};if(e={x:0,y:0},!n)return e;n=n.node;var i=n.getLayout();if(!i)return e;for(var o=[i.width/2,i.height/2],a=n;a;){var r=a.getLayout();o[0]+=r.x,o[1]+=r.y,a=a.parentNode}return{x:t.width/2-o[0],y:t.height/2-o[1]}}(n,a,A),!0),t.setLayoutInfo(n),function t(e,n,i,a,r){var s=e.getLayout(),l=i[r],u=l&&l===e;if(!(l&&!u||r===i.length&&e!==a)){e.setLayout({isInView:!0,invisible:!u&&!n.intersect(s),isAboveViewRoot:u},!0);var c=new o(n.x-s.x,n.y-s.y,n.width,n.height);p(e.viewChildren||[],(function(e){t(e,c,i,a,r+1)}))}}(I,new o(-n.x,-n.y,y,w),D,C,0)}}},"9cf9":function(t,e){var n=Math.round;function i(t,e,i){var o;return e?((o=n(2*t))+n(e))%2==0?o/2:(o+(i?1:-1))/2:t}e.subPixelOptimizeLine=function(t,e,o){var a,r,s;e&&(a=e.x1,r=e.x2,s=e.y1,e=e.y2,t.x1=a,t.x2=r,t.y1=s,t.y2=e,o=o&&o.lineWidth)&&(n(2*a)===n(2*r)&&(t.x1=t.x2=i(a,o,!0)),n(2*s)===n(2*e))&&(t.y1=t.y2=i(s,o,!0))},e.subPixelOptimizeRect=function(t,e,n){var o,a,r;e&&(o=e.x,a=e.y,r=e.width,e=e.height,t.x=o,t.y=a,t.width=r,t.height=e,n=n&&n.lineWidth)&&(t.x=i(o,n,!0),t.y=i(a,n,!0),t.width=Math.max(i(o+r,n,!1)-t.x,0===r?0:1),t.height=Math.max(i(a+e,n,!1)-t.y,0===e?0:1))},e.subPixelOptimize=i},"9d57":function(t,e,n){var i=n("6d8b"),o=n("3842").parsePercent,a=n("ee1aa").isDimensionStacked,r=(n=n("cccd"),"__ec_stack_"),s="undefined"!=typeof Float32Array?Float32Array:Array;function l(t){return t.get("stack")||r+t.seriesIndex}function u(t){return t.dim+t.index}function c(t,e){var n=[];return e.eachSeriesByType(t,(function(t){f(t)&&!g(t)&&n.push(t)})),n}function h(t){var e=function(t){var e,n={},o=(i.each(t,(function(t){var e=t.coordinateSystem.getBaseAxis();if("time"===e.type||"value"===e.type)for(var i=t.getData(),o=e.dim+"_"+e.index,a=i.mapDimension(e.dim),r=0,s=i.count();r<s;++r){var l=i.get(a,r);n[o]?n[o].push(l):n[o]=[l]}})),[]);for(e in n)if(n.hasOwnProperty(e)){var a=n[e];if(a){a.sort((function(t,e){return t-e}));for(var r=null,s=1;s<a.length;++s){var l=a[s]-a[s-1];0<l&&(r=null===r?l:Math.min(r,l))}o[e]=r}}return o}(t),n=[];return i.each(t,(function(t){var i,a=t.coordinateSystem.getBaseAxis(),r=a.getExtent(),s=(i="category"===a.type?a.getBandWidth():"value"===a.type||"time"===a.type?(i=a.dim+"_"+a.index,i=e[i],s=Math.abs(r[1]-r[0]),c=a.scale.getExtent(),c=Math.abs(c[1]-c[0]),i?s/c*i:s):(c=t.getData(),Math.abs(r[1]-r[0])/c.count()),o(t.get("barWidth"),i)),c=(r=o(t.get("barMaxWidth"),i),o(t.get("barMinWidth")||1,i)),h=t.get("barGap"),d=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:s,barMaxWidth:r,barMinWidth:c,barGap:h,barCategoryGap:d,axisKey:u(a),stackId:l(t)})})),d(n)}function d(t){var e={},n=(i.each(t,(function(t,n){var i=t.axisKey,o=t.bandWidth,a=(o=e[i]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o.stacks),r=(i=(e[i]=o,t.stackId),a[i]||o.autoWidthCount++,a[i]=a[i]||{width:0,maxWidth:0},t.barWidth);r&&!a[i].width&&(a[i].width=r,r=Math.min(o.remainedWidth,r),o.remainedWidth-=r),r=t.barMaxWidth,r&&(a[i].maxWidth=r),r=t.barMinWidth,r&&(a[i].minWidth=r),a=t.barGap,null!=a&&(o.gap=a),i=t.barCategoryGap;null!=i&&(o.categoryGap=i)})),{});return i.each(e,(function(t,e){n[e]={};var a,r=t.stacks,s=t.bandWidth,l=o(t.categoryGap,s),u=o(t.gap,1),c=t.remainedWidth,h=t.autoWidthCount,d=(c-l)/(h+(h-1)*u),p=(d=Math.max(d,0),i.each(r,(function(t){var e,n=t.maxWidth,i=t.minWidth;t.width?(e=t.width,n&&(e=Math.min(e,n)),i&&(e=Math.max(e,i)),t.width=e,c-=e+u*e,h--):(e=d,n&&n<e&&(e=Math.min(n,c)),(e=i&&e<i?i:e)!==d&&(t.width=e,c-=e+u*e,h--))})),d=(c-l)/(h+(h-1)*u),d=Math.max(d,0),0),f=(i.each(r,(function(t,e){t.width||(t.width=d),p+=(a=t).width*(1+u)})),a&&(p-=a.width*u),-p/2);i.each(r,(function(t,i){n[e][i]=n[e][i]||{bandWidth:s,offset:f,width:t.width},f+=t.width*(1+u)}))})),n}function p(t,e,n){if(t&&e)return null!=(t=t[u(e)])&&null!=n?t[l(n)]:t}function f(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function g(t){return t.pipelineContext&&t.pipelineContext.large}function m(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}n={seriesType:"bar",plan:n(),reset:function(t){var e,n,i,o,a,r,l,u,c,d;if(f(t)&&g(t))return e=t.getData(),n=t.coordinateSystem,i=n.grid.getRect(),o=n.getBaseAxis(),a=n.getOtherAxis(o),r=e.mapDimension(a.dim),l=e.mapDimension(o.dim),u=a.isHorizontal(),c=u?0:1,.5<(d=p(h([t]),o,t).width)||(d=.5),{progress:function(t,e){for(var o,h=t.count,p=new s(2*h),f=new s(2*h),g=new s(h),y=[],v=[],x=0,_=0;null!=(o=t.next());)v[c]=e.get(r,o),v[1-c]=e.get(l,o),y=n.dataToPoint(v,null,y),f[x]=u?i.x+i.width:y[0],p[x++]=y[0],f[x]=u?y[1]:i.y+i.height,p[x++]=y[1],g[_++]=o;e.setLayout({largePoints:p,largeDataIndices:g,largeBackgroundPoints:f,barWidth:d,valueAxisStart:m(0,a),backgroundStart:u?i.x:i.y,valueAxisHorizontal:u})}}}},e.getLayoutOnAxis=function(t){var e=[],n=t.axis;if("category"===n.type){for(var o=n.getBandWidth(),a=0;a<t.count;a++)e.push(i.defaults({bandWidth:o,axisKey:"axis0",stackId:r+a},t));var s=d(e),l=[];for(a=0;a<t.count;a++){var u=s.axis0[r+a];u.offsetCenter=u.offset+u.width/2,l.push(u)}return l}},e.prepareLayoutBarSeries=c,e.makeColumnLayout=h,e.retrieveColumnLayout=p,e.layout=function(t,e){var n=h(t=c(t,e)),o={};i.each(t,(function(t){for(var e=t.getData(),i=t.coordinateSystem,r=i.getBaseAxis(),s=l(t),c=n[u(r)][s],h=c.offset,d=c.width,p=i.getOtherAxis(r),f=t.get("barMinHeight")||0,g=(o[s]=o[s]||[],e.setLayout({bandWidth:c.bandWidth,offset:h,size:d}),e.mapDimension(p.dim)),y=e.mapDimension(r.dim),v=a(e,g),x=p.isHorizontal(),_=m(0,p),b=0,w=e.count();b<w;b++){var S,M,I,T,A,C=e.get(g,b),D=e.get(y,b),L=0<=C?"p":"n",P=_;v&&(o[s][D]||(o[s][D]={p:_,n:_}),P=o[s][D][L]),x?(S=P,M=(A=i.dataToPoint([C,D]))[1]+h,I=A[0]-_,T=d,Math.abs(I)<f&&(I=(I<0?-1:1)*f),isNaN(I)||v&&(o[s][D][L]+=I)):(S=(A=i.dataToPoint([D,C]))[0]+h,M=P,I=d,T=A[1]-_,Math.abs(T)<f&&(T=(T<=0?-1:1)*f),isNaN(T)||v&&(o[s][D][L]+=T)),e.setItemLayout(b,{x:S,y:M,width:I,height:T})}}),this)},e.largeLayout=n},"9e2e":function(t,e,n){function i(){}var o=n("a73c"),a=n("9850"),r=n("82eb").WILL_BE_RESTORED,s=new a;i.prototype={constructor:i,drawRectText:function(t,e){var n,i=this.style,a=(e=i.textRect||e,this.__dirty&&o.normalizeTextStyle(i,!0),i.text);null!=a&&(a+=""),o.needDrawText(a,i)&&(t.save(),n=this.transform,i.transformText?this.setTransform(t):n&&(s.copy(e),s.applyTransform(n),e=s),o.renderText(this,t,a,i,e,r),t.restore())}},t.exports=i},"9e47":function(t,e,n){var i=n("6d8b"),o=n("71ad"),a=n("6cb7"),r=n("f934"),s=r.getLayoutParams,l=r.mergeLayoutParam,u=n("8e43"),c=["value","category","time","log"];t.exports=function(t,e,n,r){i.each(c,(function(a){e.extend({type:t+"Axis."+a,mergeDefaultAndTheme:function(e,o){var r=this.layoutMode,u=r?s(e):{};o=o.getTheme();i.merge(e,o.get(a+"Axis")),i.merge(e,this.getDefaultOption()),e.type=n(t,e),r&&l(e,u,r)},optionUpdated:function(){"category"===this.option.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:i.mergeAll([{},o[a+"Axis"],r],!0)})})),a.registerSubTypeDefaulter(t+"Axis",i.curry(n,t))}},"9e87":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("50e5");i.registerAction("dataZoom",(function(t,e){var n=a.createLinkedNodesFinder(o.bind(e.eachComponent,e,"dataZoom"),a.eachAxisDim,(function(t,e){return t.get(e.axisIndex)})),i=[];e.eachComponent({mainType:"dataZoom",query:t},(function(t,e){i.push.apply(i,n(t).nodes)})),o.each(i,(function(e,n){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))},"9f51":function(t,e,n){var i=n("857d").normalizeRadian,o=2*Math.PI;e.containStroke=function(t,e,n,a,r,s,l,u,c){return 0!==l&&(u-=t,c-=e,t=Math.sqrt(u*u+c*c),!(n<t-l||t+l<n))&&(Math.abs(a-r)%o<1e-4||((r=s?(e=a,a=i(r),i(e)):(a=i(a),i(r)))<a&&(r+=o),(t=Math.atan2(c,u))<0&&(t+=o),a<=t&&t<=r)||a<=t+o&&t+o<=r)}},"9f82":function(t,e,n){var i=n("ee1aa").isDimensionStacked,o=n("6d8b").map;e.prepareDataCoordInfo=function(t,e,n){var a,r=t.getBaseAxis(),s=(n=function(t,e){var n=0;t=t.scale.getExtent();return"start"===e?n=t[0]:"end"===e?n=t[1]:0<t[0]?n=t[0]:t[1]<0&&(n=t[1]),n}(s=t.getOtherAxis(r),n),r=r.dim,s.dim),l=e.mapDimension(s),u=e.mapDimension(r),c="x"===s||"radius"===s?1:0,h=(t=o(t.dimensions,(function(t){return e.mapDimension(t)})),e.getCalculationInfo("stackResultDimension"));return(a|=i(e,t[0]))&&(t[0]=h),(a|=i(e,t[1]))&&(t[1]=h),{dataDimsForPoint:t,valueStart:n,valueAxisDim:s,baseAxisDim:r,stacked:!!a,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}},e.getStackedOnPoint=function(t,e,n,i){var o=NaN,a=(t.stacked&&(o=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(o)&&(o=t.valueStart),t.baseDataOffset),r=[];return r[a]=n.get(t.baseDim,i),r[1-a]=o,e.dataToPoint(r)}},"9fa3":function(t,e,n){var i=n("4ab1"),o=n("6d8b"),a=n("1687");function r(t,e){i.call(this,t,e,"clipPath","__clippath_in_use__")}o.inherits(r,i),r.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1),e=this.getTextSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!0),this.markUsed(t)},r.prototype.updateDom=function(t,e,n){var i,o,r,s,l;e&&0<e.length?(s=this.getDefs(!0),(i=e[0])[l=n?"_textDom":"_dom"]?(r=i[l].getAttribute("id"),o=i[l],s.contains(o)||s.appendChild(o)):(r="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(o=this.createElement("clipPath")).setAttribute("id",r),s.appendChild(o),i[l]=o),s=this.getSvgProxy(i),i.transform&&i.parent.invTransform&&!n?(l=Array.prototype.slice.call(i.transform),a.mul(i.transform,i.parent.invTransform,i.transform),s.brush(i),i.transform=l):s.brush(i),l=this.getSvgElement(i),o.innerHTML="",o.appendChild(l.cloneNode()),t.setAttribute("clip-path","url(#"+r+")"),1<e.length&&this.updateDom(o,e.slice(1),n)):t&&t.setAttribute("clip-path","none")},r.prototype.markUsed=function(t){var e=this;t.__clipPaths&&o.each(t.__clipPaths,(function(t){t._dom&&i.prototype.markUsed.call(e,t._dom),t._textDom&&i.prototype.markUsed.call(e,t._textDom)}))},t.exports=r},a016:function(t,e,n){var i=n("4f85"),o=n("e46b"),a=n("6d8b"),r=n("eda2").encodeHTML,s=n("c4a3"),l=i.extend({type:"series.radar",dependencies:["radar"],init:function(t){l.superApply(this,"init",arguments),this.legendVisualProvider=new s(a.bind(this.getData,this),a.bind(this.getRawData,this))},getInitialData:function(t,e){return o(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(t,e,n,i){var o=this.getData(),s=this.coordinateSystem.getIndicatorAxes(),l=this.getData().getName(t);i="html"===i?"<br/>":"\n";return r(""===l?this.name:l)+i+a.map(s,(function(e,n){var i=o.get(o.mapDimension(e.dim),t);return r(e.name+" : "+i)})).join(i)},getTooltipPosition:function(t){if(null!=t)for(var e,n=this.getData(),i=this.coordinateSystem,o=n.getValues(a.map(i.dimensions,(function(t){return n.mapDimension(t)})),t,!0),r=0,s=o.length;r<s;r++)if(!isNaN(o[r]))return e=i.getIndicatorAxes(),i.coordToPoint(e[r].dataToCoord(o[r]),r)},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}});t.exports=l},a04e:function(t,e,n){n("6cb7").registerSubTypeDefaulter("timeline",(function(){return"slider"}))},a15a:function(t,e,n){var i=n("6d8b"),o=n("2306"),a=n("9850"),r=n("e86a").calculateTextPosition,s=(n=o.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,o=e.width/2;e=e.height/2;t.moveTo(n,i-e),t.lineTo(n+o,i+e),t.lineTo(n-o,i+e),t.closePath()}}),o.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,o=e.width/2;e=e.height/2;t.moveTo(n,i-e),t.lineTo(n+o,i),t.lineTo(n,i+e),t.lineTo(n-o,i),t.closePath()}})),l=o.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,o=e.width/5*3,a=(e=Math.max(o,e.height),o=o/2,o*o/(e-o)),r=(e=i-e+o+a,Math.asin(a/o)),s=Math.cos(r)*o,l=Math.sin(r),u=Math.cos(r),c=.6*o,h=.7*o;t.moveTo(n-s,e+a),t.arc(n,e,o,Math.PI-r,2*Math.PI+r),t.bezierCurveTo(n+s-l*c,e+a+u*c,n,i-h,n,i),t.bezierCurveTo(n,i-h,n-s+l*c,e+a+u*c,n-s,e+a),t.closePath()}}),u=o.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,o=e.x;e=e.y,i=i/3*2;t.moveTo(o,e),t.lineTo(o+i,e+n),t.lineTo(o,e+n/4*3),t.lineTo(o-i,e+n),t.lineTo(o,e),t.closePath()}}),c=(s={line:o.Line,rect:o.Rect,roundRect:o.Rect,square:o.Rect,circle:o.Circle,diamond:s,pin:l,arrow:u,triangle:n},{line:function(t,e,n,i,o){o.x1=t,o.y1=e+i/2,o.x2=t+n,o.y2=e+i/2},rect:function(t,e,n,i,o){o.x=t,o.y=e,o.width=n,o.height=i},roundRect:function(t,e,n,i,o){o.x=t,o.y=e,o.width=n,o.height=i,o.r=Math.min(n,i)/4},square:function(t,e,n,i,o){n=Math.min(n,i),o.x=t,o.y=e,o.width=n,o.height=n},circle:function(t,e,n,i,o){o.cx=t+n/2,o.cy=e+i/2,o.r=Math.min(n,i)/2},diamond:function(t,e,n,i,o){o.cx=t+n/2,o.cy=e+i/2,o.width=n,o.height=i},pin:function(t,e,n,i,o){o.x=t+n/2,o.y=e+i/2,o.width=n,o.height=i},arrow:function(t,e,n,i,o){o.x=t+n/2,o.y=e+i/2,o.width=n,o.height=i},triangle:function(t,e,n,i,o){o.cx=t+n/2,o.cy=e+i/2,o.width=n,o.height=i}}),h={},d=(i.each(s,(function(t,e){h[e]=new t})),o.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){t=r(t,e,n);var i=this.shape;return i&&"pin"===i.symbolType&&"inside"===e.textPosition&&(t.y=n.y+.4*n.height),t},buildPath:function(t,e,n){var i,o=e.symbolType;"none"!==o&&(i=(i=h[o])||h[o="rect"],c[o](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,n))}}));function p(t,e){var n,i;"image"!==this.type&&(n=this.style,(i=this.shape)&&"line"===i.symbolType?n.stroke=t:this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff"):(n.fill&&(n.fill=t),n.stroke&&(n.stroke=t)),this.dirty(!1))}e.createSymbol=function(t,e,n,i,r,s,l){var u=0===t.indexOf("empty");return(l=0===(t=u?t.substr(5,1).toLowerCase()+t.substr(6):t).indexOf("image://")?o.makeImage(t.slice(8),new a(e,n,i,r),l?"center":"cover"):0===t.indexOf("path://")?o.makePath(t.slice(7),{},new a(e,n,i,r),l?"center":"cover"):new d({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=u,l.setColor=p,l.setColor(s),l}},a18f:function(t,e,n){n=n("3a56").extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}}),t.exports=n},a38d:function(t,e,n){var i=n("2306"),o=n("392f"),a=n("9680"),r=n("68ab"),s=i.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,e){var n=e.segs,i=e.curveness;if(e.polyline)for(var o=0;o<n.length;){var a=n[o++];if(0<a){t.moveTo(n[o++],n[o++]);for(var r=1;r<a;r++)t.lineTo(n[o++],n[o++])}}else for(o=0;o<n.length;){var s=n[o++],l=n[o++],u=n[o++],c=n[o++];t.moveTo(s,l),0<i?t.quadraticCurveTo((s+u)/2-(l-c)*i,(l+c)/2-(u-s)*i,u,c):t.lineTo(u,c)}},findDataIndex:function(t,e){var n=this.shape,i=n.segs,o=n.curveness;if(n.polyline)for(var s=0,l=0;l<i.length;){var u=i[l++];if(0<u)for(var c=i[l++],h=i[l++],d=1;d<u;d++){var p=i[l++],f=i[l++];if(a.containStroke(c,h,p,f))return s}s++}else for(s=0,l=0;l<i.length;){if(c=i[l++],h=i[l++],p=i[l++],f=i[l++],0<o){if(r.containStroke(c,h,(c+p)/2-(h-f)*o,(h+f)/2-(p-c)*o,p,f))return s}else if(a.containStroke(c,h,p,f))return s;s++}return-1}});function l(){this.group=new i.Group}n=l.prototype,n.isPersistent=function(){return!this._incremental},n.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},n.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),5e5<t.count()?(this._incremental||(this._incremental=new o({silent:!0})),this.group.add(this._incremental)):this._incremental=null},n.incrementalUpdate=function(t,e){var n=new s;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},n.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},n._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get("lineStyle.curveness")}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0,e=e.getVisual("color");e&&t.setStyle("stroke",e),t.setStyle("fill"),n||(t.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null,e=t.findDataIndex(e.offsetX,e.offsetY),0<e&&(t.dataIndex=e+t.__startIndex)})))},n._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=l},a4b1:function(t,e,n){var i=n("3eba"),o=(n("00ba"),n("4d62"),n("98e7")),a=n("24b9");n=n("d3f47");i.registerVisual(o("funnel")),i.registerLayout(a),i.registerProcessor(n("funnel"))},a4fe:function(t,e,n){n=n("3eba");var i="\0_ec_interaction_mutex";function o(t){return t[i]||(t[i]={})}n.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),e.take=function(t,e,n){o(t)[e]=n},e.release=function(t,e,n){(t=o(t))[e]===n&&(t[e]=null)},e.isTaken=function(t,e){return!!o(t)[e]}},a6668:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2306"),r=n("0c41"),s="__seriesMapHighDown",l="__seriesMapCallKey";n=i.extendChartView({type:"map",render:function(t,e,n,i){var o,a;i&&"mapToggleSelect"===i.type&&i.from===this.uid||((o=this.group).removeAll(),t.getHostGeoModel())||(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id?(a=this._mapDraw)&&o.add(a.group):t.needsDrawMap?(a=this._mapDraw||new r(n,!0),o.add(a.group),a.draw(t,e,n,this,i),this._mapDraw=a):(this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null),t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n))},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(t,e,n){var i=t.originalData,r=this.group;i.each(i.mapDimension("value"),(function(e,n){var h,d,p,f,g,m,y,v;isNaN(e)||(e=i.getItemLayout(n))&&e.point&&(h=e.point,e=e.offset,h=new a.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:h[0]+9*e,cy:h[1],r:3},silent:!0,z2:8+(e?0:a.Z2_EMPHASIS_LIFT+1)}),e||(e=t.mainSeries.getData(),p=i.getName(n),f=e.indexOfName(p),d=(n=i.getItemModel(n)).getModel("label"),n=n.getModel("emphasis.label"),e=e.getItemGraphicEl(f),p=o.retrieve2(t.getFormattedLabel(f,"normal"),p),f=o.retrieve2(t.getFormattedLabel(f,"emphasis"),p),m=e[s],g=Math.random(),m||(m=e[s]={},y=o.curry(u,!0),v=o.curry(u,!1),e.on("mouseover",y).on("mouseout",v).on("emphasis",y).on("normal",v)),e[l]=g,o.extend(m,{recordVersion:g,circle:h,labelModel:d,hoverLabelModel:n,emphasisText:f,normalText:p}),c(m,!1)),r.add(h))}))}});function u(t){var e=this[s];e&&e.recordVersion===this[l]&&c(e,t)}function c(t,e){var n=t.circle,i=t.labelModel,o=t.hoverLabelModel,r=t.emphasisText;t=t.normalText;e?(n.style.extendFrom(a.setTextStyle({},o,{text:o.get("show")?r:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=a.Z2_EMPHASIS_LIFT):(a.setTextStyle(n.style,i,{text:i.get("show")?t:null,textPosition:i.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}t.exports=n},a73c:function(t,e,n){var i=n("6d8b"),o=i.retrieve2,a=i.retrieve3,r=i.each,s=i.normalizeCssArray,l=i.isString,u=i.isObject,c=n("e86a"),h=n("5693"),d=n("5e76"),p=n("7d6d"),f=(i=n("82eb"),i.ContextCachedBy),g=i.WILL_BE_RESTORED,m=c.DEFAULT_FONT,y={left:1,right:1,center:1},v={top:1,bottom:1,middle:1},x=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],_={},b={};function w(t){var e;t&&(t.font=c.makeFont(t),e=t.textAlign,t.textAlign=null==(e="middle"===e?"center":e)||y[e]?e:"left",e=t.textVerticalAlign||t.textBaseline,t.textVerticalAlign=null==(e="center"===e?"middle":e)||v[e]?e:"top",t.textPadding)&&(t.textPadding=s(t.textPadding))}function S(t,e,n,i,o){var a;n&&e.textRotation&&("center"===(a=e.textOrigin)?(i=n.width/2+n.x,o=n.height/2+n.y):a&&(i=a[0]+n.x,o=a[1]+n.y),t.translate(i,o),t.rotate(-e.textRotation),t.translate(-i,-o))}function M(t,e,n,i,r,s,l,u){var c=i.rich[n.styleName]||{},h=(c.text=n.text,n.textVerticalAlign),d=s+r/2;"top"===h?d=s+n.height/2:"bottom"===h&&(d=s+r-n.height/2),!n.isLineHolder&&I(c)&&T(t,e,c,"right"===u?l-n.width:"center"===u?l-n.width/2:l,d-n.height/2,n.width,n.height),h=n.textPadding,h&&(l=O(l,u,h),d-=n.height/2-h[2]-n.textHeight/2),D(e,"shadowBlur",a(c.textShadowBlur,i.textShadowBlur,0)),D(e,"shadowColor",c.textShadowColor||i.textShadowColor||"transparent"),D(e,"shadowOffsetX",a(c.textShadowOffsetX,i.textShadowOffsetX,0)),D(e,"shadowOffsetY",a(c.textShadowOffsetY,i.textShadowOffsetY,0)),D(e,"textAlign",u),D(e,"textBaseline","middle"),D(e,"font",n.font||m),s=L(c.textStroke||i.textStroke,void 0),r=P(c.textFill||i.textFill),t=o(c.textStrokeWidth,i.textStrokeWidth);s&&(D(e,"lineWidth",t),D(e,"strokeStyle",s),e.strokeText(n.text,l,d)),r&&(D(e,"fillStyle",r),e.fillText(n.text,l,d))}function I(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function T(t,e,n,i,o,a,r){var s,c,p=n.textBackgroundColor,f=n.textBorderWidth,g=n.textBorderColor,m=l(p);D(e,"shadowBlur",n.textBoxShadowBlur||0),D(e,"shadowColor",n.textBoxShadowColor||"transparent"),D(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),D(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),(m||f&&g)&&(e.beginPath(),(s=n.textBorderRadius)?h.buildPath(e,{x:i,y:o,width:a,height:r,r:s}):e.rect(i,o,a,r),e.closePath()),m?(D(e,"fillStyle",p),null!=n.fillOpacity?(c=e.globalAlpha,e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=c):e.fill()):u(p)&&(s=p.image,s=d.createOrUpdateImage(s,null,t,A,p))&&d.isImageReady(s)&&e.drawImage(s,i,o,a,r),f&&g&&(D(e,"lineWidth",f),D(e,"strokeStyle",g),null!=n.strokeOpacity?(c=e.globalAlpha,e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=c):e.stroke())}function A(t,e){e.image=t}function C(t,e,n,i){var o,a=n.x||0,r=n.y||0,s=n.textAlign,l=n.textVerticalAlign;return i&&((o=n.textPosition)instanceof Array?(a=i.x+k(o[0],i.width),r=i.y+k(o[1],i.height)):(a=(o=(e&&e.calculateTextPosition?e:c).calculateTextPosition(_,n,i)).x,r=o.y,s=s||o.textAlign,l=l||o.textVerticalAlign),e=n.textOffset)&&(a+=e[0],r+=e[1]),(t=t||{}).baseX=a,t.baseY=r,t.textAlign=s,t.textVerticalAlign=l,t}function D(t,e,n){t[e]=p(t,e,n),t[e]}function L(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function P(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function k(t,e){return"string"==typeof t?0<=t.lastIndexOf("%")?parseFloat(t)/100*e:parseFloat(t):t}function O(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}e.normalizeTextStyle=function(t){return w(t),r(t.rich,w),t},e.renderText=function(t,e,n,i,o,a){(i.rich?function(t,e,n,i,o,a){a!==g&&(e.__attrCachedBy=f.NONE),a=t.__textCotentBlock,a&&!t.__dirtyText||(a=t.__textCotentBlock=c.parseRichText(n,i)),function(t,e,n,i,o){var a=n.width,r=n.outerWidth,s=n.outerHeight,l=i.textPadding,u=C(b,t,i,o),h=u.baseX,d=u.baseY,p=u.textAlign,f=(u=u.textVerticalAlign,o=(S(e,i,o,h,d),c.adjustTextX(h,r,p)),h=c.adjustTextY(d,s,u),o),g=h;l&&(f+=l[3],g+=l[0]);var m=f+a;I(i)&&T(t,e,i,o,h,r,s);for(var y,v=0;v<n.lines.length;v++){for(var x=n.lines[v],_=x.tokens,w=_.length,A=x.lineHeight,D=x.width,L=0,P=f,k=m,O=w-1;L<w&&(!(y=_[L]).textAlign||"left"===y.textAlign);)M(t,e,y,i,A,g,P,"left"),D-=y.width,P+=y.width,L++;for(;0<=O&&"right"===(y=_[O]).textAlign;)M(t,e,y,i,A,g,k,"right"),D-=y.width,k-=y.width,O--;for(P+=(a-(P-f)-(m-k)-D)/2;L<=O;)y=_[L],M(t,e,y,i,A,g,P+y.width/2,"center"),P+=y.width,L++;g+=A}}(t,e,a,i,o)}:function(t,e,n,i,o,a){"use strict";var r,s=I(i),l=!1,u=e.__attrCachedBy===f.PLAIN_TEXT;a!==g?(a&&(r=a.style,l=!s&&u&&r),e.__attrCachedBy=s?f.NONE:f.PLAIN_TEXT):u&&(e.__attrCachedBy=f.NONE),a=i.font||m,l&&a===(r.font||m)||(e.font=a),u=t.__computedFont,t.__styleFont!==a&&(t.__styleFont=a,u=t.__computedFont=e.font);a=i.textPadding;var h=i.textLineHeight,d=t.__textCotentBlock;d&&!t.__dirtyText||(d=t.__textCotentBlock=c.parsePlainText(n,u,a,h,i.truncate));h=d.outerHeight;var y=d.lines,v=d.lineHeight,_=(d=C(b,t,i,o),d.baseX),w=d.baseY,M=d.textAlign||"left",A=(d=d.textVerticalAlign,o=(S(e,i,o,_,w),c.adjustTextY(w,h,d)),_),D=o;(s||a)&&(w=c.getWidth(n,u),a&&(w+=a[1]+a[3]),d=c.adjustTextX(_,w,M),s&&T(t,e,i,d,o,w,h),a)&&(A=O(_,M,a),D+=a[0]),e.textAlign=M,e.textBaseline="middle",e.globalAlpha=i.opacity||1;for(var k=0;k<x.length;k++){var R=x[k],E=R[0],N=R[1],z=i[E];l&&z===r[E]||(e[N]=p(e,N,z||R[2]))}D+=v/2;n=i.textStrokeWidth,u=l?r.textStrokeWidth:null,s=!l||n!==u,t=!l||s||i.textStroke!==r.textStroke;var B=L(i.textStroke,n),V=P(i.textFill);if(B&&(s&&(e.lineWidth=n),t)&&(e.strokeStyle=B),!V||l&&i.textFill===r.textFill||(e.fillStyle=V),1===y.length)B&&e.strokeText(y[0],A,D),V&&e.fillText(y[0],A,D);else for(k=0;k<y.length;k++)B&&e.strokeText(y[k],A,D),V&&e.fillText(y[k],A,D),D+=v})(t,e,n,i,o,a)},e.getBoxPosition=C,e.getStroke=L,e.getFill=P,e.parsePercent=k,e.needDrawText=function(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}},a753:function(t,e,n){var i=n("1f0e"),o=n("2306"),a=n("e887"),r=(n=n("3842"),n.parsePercent),s=n.round,l=n.linearMap;function u(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}var c=2*Math.PI;n=a.extend({type:"gauge",render:function(t,e,n){this.group.removeAll();var i,o,a,s,l=t.get("axisLine.lineStyle.color"),u=(o=n,a=(i=t).get("center"),s=o.getWidth(),u=o.getHeight(),s=Math.min(s,u),{cx:r(a[0],o.getWidth()),cy:r(a[1],o.getHeight()),r:r(i.get("radius"),s/2)});this._renderMain(t,e,n,l,u)},dispose:function(){},_renderMain:function(t,e,n,i,a){for(var r=this.group,s=t.getModel("axisLine"),l=s.getModel("lineStyle"),u=t.get("clockwise"),h=-t.get("startAngle")/180*Math.PI,d=((y=-t.get("endAngle")/180*Math.PI)-h)%c,p=h,f=l.get("width"),g=s.get("show"),m=0;g&&m<i.length;m++){var y=h+d*Math.min(Math.max(i[m][0],0),1),v=new o.Sector({shape:{startAngle:p,endAngle:y,cx:a.cx,cy:a.cy,clockwise:u,r0:a.r-f,r:a.r},silent:!0});v.setStyle({fill:i[m][1]}),v.setStyle(l.getLineStyle(["color","borderWidth","borderColor"])),r.add(v),p=y}function x(t){if(t<=0)return i[0][1];for(var e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]}u||(s=h,h=y,y=s),this._renderTicks(t,e,n,x,a,h,y,u),this._renderPointer(t,e,n,x,a,h,y,u),this._renderTitle(t,e,n,x,a),this._renderDetail(t,e,n,x,a)},_renderTicks:function(t,e,n,i,a,l,c,h){for(var d=this.group,p=a.cx,f=a.cy,g=a.r,m=+t.get("min"),y=+t.get("max"),v=t.getModel("splitLine"),x=t.getModel("axisTick"),_=t.getModel("axisLabel"),b=t.get("splitNumber"),w=x.get("splitNumber"),S=r(v.get("length"),g),M=r(x.get("length"),g),I=l,T=(c-l)/b,A=T/w,C=v.getModel("lineStyle").getLineStyle(),D=x.getModel("lineStyle").getLineStyle(),L=0;L<=b;L++){var P,k,O,R=Math.cos(I),E=Math.sin(I);if(v.get("show")&&(P=new o.Line({shape:{x1:R*g+p,y1:E*g+f,x2:R*(g-S)+p,y2:E*(g-S)+f},style:C,silent:!0}),"auto"===C.stroke&&P.setStyle({stroke:i(L/b)}),d.add(P)),_.get("show")&&(P=u(s(L/b*(y-m)+m),_.get("formatter")),k=_.get("distance"),O=i(L/b),d.add(new o.Text({style:o.setTextStyle({},_,{text:P,x:R*(g-S-k)+p,y:E*(g-S-k)+f,textVerticalAlign:E<-.4?"top":.4<E?"bottom":"middle",textAlign:R<-.4?"left":.4<R?"right":"center"},{autoColor:O}),silent:!0}))),x.get("show")&&L!==b){for(var N=0;N<=w;N++){R=Math.cos(I),E=Math.sin(I);var z=new o.Line({shape:{x1:R*g+p,y1:E*g+f,x2:R*(g-M)+p,y2:E*(g-M)+f},silent:!0,style:D});"auto"===D.stroke&&z.setStyle({stroke:i((L+N/w)/b)}),d.add(z),I+=A}I-=A}else I+=T}},_renderPointer:function(t,e,n,a,s,u,c,h){var d,p,f,g,m=this.group,y=this._data;t.get("pointer.show")?(d=[+t.get("min"),+t.get("max")],p=[u,c],f=t.getData(),g=f.mapDimension("value"),f.diff(y).add((function(e){var n=new i({shape:{angle:u}});o.initProps(n,{shape:{angle:l(f.get(g,e),d,p,!0)}},t),m.add(n),f.setItemGraphicEl(e,n)})).update((function(e,n){n=y.getItemGraphicEl(n),o.updateProps(n,{shape:{angle:l(f.get(g,e),d,p,!0)}},t),m.add(n),f.setItemGraphicEl(e,n)})).remove((function(t){t=y.getItemGraphicEl(t),m.remove(t)})).execute(),f.eachItemGraphicEl((function(t,e){var n=f.getItemModel(e),i=n.getModel("pointer");t.setShape({x:s.cx,y:s.cy,width:r(i.get("width"),s.r),r:r(i.get("length"),s.r)}),t.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",a(l(f.get(g,e),d,[0,1],!0))),o.setHoverStyle(t,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=f):y&&y.eachItemGraphicEl((function(t){m.remove(t)}))},_renderTitle:function(t,e,n,i,a){var s,u,c,h=t.getData(),d=h.mapDimension("value"),p=t.getModel("title");p.get("show")&&(u=p.get("offsetCenter"),s=a.cx+r(u[0],a.r),u=a.cy+r(u[1],a.r),a=+t.get("min"),c=+t.get("max"),t=t.getData().get(d,0),d=i(l(t,[a,c],[0,1],!0)),this.group.add(new o.Text({silent:!0,style:o.setTextStyle({},p,{x:s,y:u,text:h.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:d,forceRich:!0})})))},_renderDetail:function(t,e,n,i,a){var s,c,h,d=t.getModel("detail"),p=+t.get("min"),f=+t.get("max");d.get("show")&&(c=d.get("offsetCenter"),s=a.cx+r(c[0],a.r),c=a.cy+r(c[1],a.r),h=r(d.get("width"),a.r),a=r(d.get("height"),a.r),t=(t=t.getData()).get(t.mapDimension("value"),0),i=i(l(t,[p,f],[0,1],!0)),this.group.add(new o.Text({silent:!0,style:o.setTextStyle({},d,{x:s,y:c,text:u(t,d.get("formatter")),textWidth:isNaN(h)?null:h,textHeight:isNaN(a)?null:a,textAlign:"center",textVerticalAlign:"middle"},{autoColor:i,forceRich:!0})})))}});t.exports=n},a7e2:function(t,e,n){var i=n("3eba"),o=(n("7293"),n("ae46"),n("6582"));n=n("ee98");i.registerLayout(o),i.registerVisual(n)},a7f2:function(t,e){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];t.exports=function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:n[0]})}},a87d:function(t,e,n){var i=n("22d1"),o=n("401b").applyTransform,a=n("9850"),r=n("41ef"),s=n("e86a"),l=n("a73c"),u=n("9e2e"),c=n("19eb"),h=n("0da8"),d=n("76a5"),p=n("cbe5"),f=n("20c8"),g=n("42e5"),m=n("d3a4"),y=f.CMD,v=Math.round,x=Math.sqrt,_=Math.abs,b=Math.cos,w=Math.sin,S=Math.max;if(!i.canvasSupported){function M(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=R+","+R,t.coordorigin="0,0"}function I(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)}function T(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function A(t,e,n){return 1e5*(parseFloat(t)||0)+1e3*(parseFloat(e)||0)+n}function C(t,e,n,i){var a="fill"===e,r=t.getElementsByTagName(e)[0];if(null!=n[e]&&"none"!==n[e]&&(a||!a&&n.lineWidth)){if(t[a?"filled":"stroked"]="true",n[e]instanceof g&&T(t,r),r=r||m.createNode(e),a){e=r;var s=n,l=s.fill;if(null!=l)if(l instanceof g){for(var u,c,h,d,p,f=0,y=[0,0],v=0,x=1,_=i.getBoundingRect(),b=_.width,w=_.height,M=("linear"===l.type?(u="gradient",p=i.transform,d=[l.x*b,l.y*w],h=[l.x2*b,l.y2*w],p&&(o(d,d,p),o(h,h,p)),c=h[0]-d[0],h=h[1]-d[1],(f=180*Math.atan2(c,h)/Math.PI)<0&&(f+=360),f<1e-6&&(f=0)):(u="gradientradial",d=[l.x*b,l.y*w],p=i.transform,c=i.scale,y=[(d[0]-_.x)/(h=b),(d[1]-_.y)/(i=w)],p&&o(d,d,p),h/=c[0]*R,i/=c[1]*R,b=S(h,i),x=2*l.r/b-(v=0/b)),l.colorStops.slice()),A=(M.sort((function(t,e){return t.offset-e.offset})),M.length),C=[],D=[],L=0;L<A;L++){var P=M[L],k=V(P.color);D.push(P.offset*x+v+" "+k[0]),0!==L&&L!==A-1||C.push(k)}2<=A&&(_=C[0][0],w=C[1][0],d=C[0][1]*s.opacity,p=C[1][1]*s.opacity,e.type=u,e.method="none",e.focus="100%",e.angle=f,e.color=_,e.color2=w,e.colors=D.join(","),e.opacity=p,e.opacity2=d),"radial"===u&&(e.focusposition=y.join(","))}else B(e,l,s.opacity)}else c=r,(h=n).lineDash&&(c.dashstyle=h.lineDash.join(" ")),null==h.stroke||h.stroke instanceof g||B(c,h.stroke,h.opacity);I(t,r)}else t[a?"filled":"stroked"]="false",T(t,r)}function D(t,e,n,i){var a=this.style;if(this.__dirty&&l.normalizeTextStyle(a,!0),null!=(u=a.text)&&(u+=""),u){if(a.rich){for(var r=s.parseRichText(u,a),u=[],c=0;c<r.lines.length;c++){for(var h=r.lines[c].tokens,d=[],p=0;p<h.length;p++)d.push(h[p].text);u.push(d.join(""))}u=u.join("\n")}var f,g,y,x,_,b=a.textAlign,w=a.textVerticalAlign,S=function(t){var e=H[t];if(!e){U<W&&(W=0,H={});var n,i=Z.style;try{i.font=t,n=i.fontFamily.split(",")[0]}catch(t){}e={style:i.fontStyle||F,variant:i.fontVariant||F,weight:i.fontWeight||F,size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},H[t]=e,W++}return e}(a.font),T=(S=S.style+" "+S.variant+" "+S.weight+" "+S.size+'px "'+S.family+'"',n=n||s.getBoundingRect(u,S,b,w,a.textPadding,a.textLineHeight),this.transform),D=(e=(T&&!i&&(Y.copy(e),Y.applyTransform(T),e=Y),i?(f=e.x,g=e.y):(D=a.textPosition)instanceof Array?(f=e.x+z(D[0],e.width),g=e.y+z(D[1],e.height),b=b||"left"):(f=(D=(this.calculateTextPosition?this:s).calculateTextPosition({},a,e)).x,g=D.y,b=b||D.textAlign,w=w||D.textVerticalAlign),f=s.adjustTextX(f,n.width,b),g=s.adjustTextY(g,n.height,w),g+=n.height/2,m.createNode),this._textVmlEl);b=(D?x=(y=(_=D.firstChild).nextSibling).nextSibling:(D=e("line"),y=e("path"),x=e("textpath"),_=e("skew"),x.style["v-text-align"]="left",M(D),y.textpathok=!0,x.on=!0,D.from="0 0",D.to="1000 0.05",I(D,_),I(D,y),I(D,x),this._textVmlEl=D),[f,g]),w=D.style;T&&i?(o(b,b,T),_.on=!0,_.matrix=T[0].toFixed(3)+","+T[2].toFixed(3)+","+T[1].toFixed(3)+","+T[3].toFixed(3)+",0,0",_.offset=(v(b[0])||0)+","+(v(b[1])||0),_.origin="0 0",w.left="0px",w.top="0px"):(_.on=!1,w.left=v(f)+"px",w.top=v(g)+"px"),x.string=String(u).replace(/&/g,"&amp;").replace(/"/g,"&quot;");try{x.style.font=S}catch(t){}C(D,"fill",{fill:a.textFill,opacity:a.opacity},this),C(D,"stroke",{stroke:a.textStroke,opacity:a.opacity,lineDash:a.lineDash||null},this),D.style.zIndex=A(this.zlevel,this.z,this.z2),I(t,D)}}function L(t){T(t,this._textVmlEl),this._textVmlEl=null}function P(t){I(t,this._textVmlEl)}for(var k,O="progid:DXImageTransform.Microsoft",R=21600,E=R/2,N=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},z=l.parsePercent,B=function(t,e,n){e=r.parse(e),n=+n,isNaN(n)&&(n=1),e&&(t.color=N(e[0],e[1],e[2]),t.opacity=n*e[3])},V=function(t){return t=r.parse(t),[N(t[0],t[1],t[2]),t[3]]},G=[[],[],[]],F=(p.prototype.brushVML=function(t){var e,n=this.style,i=this._vmlEl,a=(i||(i=m.createNode("shape"),M(i),this._vmlEl=i),C(i,"fill",n,this),C(i,"stroke",n,this),this.transform),r=null!=a,s=i.getElementsByTagName("stroke")[0];s&&(e=n.lineWidth,r&&!n.strokeNoScale&&(r=a[0]*a[3]-a[1]*a[2],e*=x(_(r))),s.weight=e+"px"),a=this.path||(this.path=new f);this.__dirtyPath&&(a.beginPath(),a.subPixelOptimize=!1,this.buildPath(a,this.shape),a.toStatic(),this.__dirtyPath=!1),i.path=function(t,e){for(var n,i,a,r=y.M,s=y.C,l=y.L,u=y.A,c=y.Q,h=[],d=t.data,p=t.len(),f=0;f<p;){switch(_="",S=0,n=d[f++]){case r:_=" m ",S=1,i=d[f++],a=d[f++],G[0][0]=i,G[0][1]=a;break;case l:_=" l ",S=1,i=d[f++],a=d[f++],G[0][0]=i,G[0][1]=a;break;case c:case s:var g,m,_=" c ",S=3,M=d[f++],I=d[f++],T=d[f++],A=d[f++];n===c?(T=((g=T)+2*M)/3,A=((m=A)+2*I)/3,M=(i+2*M)/3,I=(a+2*I)/3):(g=d[f++],m=d[f++]),G[0][0]=M,G[0][1]=I,G[1][0]=T,G[1][1]=A,i=G[2][0]=g,a=G[2][1]=m;break;case u:T=0,A=0;var C=1,D=1,L=0,P=(e&&(T=e[4],A=e[5],C=x(e[0]*e[0]+e[1]*e[1]),D=x(e[2]*e[2]+e[3]*e[3]),L=Math.atan2(-e[1]/D,e[0]/C)),d[f++]),k=d[f++],O=d[f++],N=d[f++],z=d[f++]+L,B=(L=d[f++]+z+L,f++,d[f++]),V=P+b(z)*O,F=k+w(z)*N,H=(M=P+b(L)*O,I=k+w(L)*N,B?" wa ":" at ");Math.abs(V-M)<1e-4&&(.01<Math.abs(L-z)?B&&(V+=270/R):Math.abs(F-k)<1e-4?B&&V<P||!B&&P<V?I-=270/R:I+=270/R:B&&F<k||!B&&k<F?M+=270/R:M-=270/R),h.push(H,v(((P-O)*C+T)*R-E),",",v(((k-N)*D+A)*R-E),",",v(((P+O)*C+T)*R-E),",",v(((k+N)*D+A)*R-E),",",v((V*C+T)*R-E),",",v((F*D+A)*R-E),",",v((M*C+T)*R-E),",",v((I*D+A)*R-E)),i=M,a=I;break;case y.R:L=G[0],z=G[1],L[0]=d[f++],L[1]=d[f++],z[0]=L[0]+d[f++],z[1]=L[1]+d[f++],e&&(o(L,L,e),o(z,z,e)),L[0]=v(L[0]*R-E),z[0]=v(z[0]*R-E),L[1]=v(L[1]*R-E),z[1]=v(z[1]*R-E),h.push(" m ",L[0],",",L[1]," l ",z[0],",",L[1]," l ",z[0],",",z[1]," l ",L[0],",",z[1]);break;case y.Z:h.push(" x ")}if(0<S){h.push(_);for(var W=0;W<S;W++){var U=G[W];e&&o(U,U,e),h.push(v(U[0]*R-E),",",v(U[1]*R-E),W<S-1?",":"")}}}return h.join("")}(a,this.transform),i.style.zIndex=A(this.zlevel,this.z,this.z2),I(t,i),null!=n.text?this.drawRectText(t,this.getBoundingRect()):this.removeRectText(t)},p.prototype.onRemove=function(t){T(t,this._vmlEl),this.removeRectText(t)},p.prototype.onAdd=function(t){I(t,this._vmlEl),this.appendRectText(t)},h.prototype.brushVML=function(t){var e,n,i,a,r,s,l,u,c,h,d,p,f,g,y,_,b,w,T,C,D,L,P,k,R=this.style,E=R.image;"object"==typeof(h=E)&&h.tagName&&"IMG"===h.tagName.toUpperCase()?((h=E.src)===this._imageSrc?(e=this._imageWidth,n=this._imageHeight):(i=(a=E.runtimeStyle).width,c=a.height,a.width="auto",a.height="auto",e=E.width,n=E.height,a.width=i,a.height=c,this._imageSrc=h,this._imageWidth=e,this._imageHeight=n),E=h):E===this._imageSrc&&(e=this._imageWidth,n=this._imageHeight),E&&(i=R.x||0,a=R.y||0,r=R.width,s=R.height,l=R.sWidth,u=R.sHeight,c=R.sx||0,h=R.sy||0,d=l&&u,(p=this._vmlEl)||(p=m.doc.createElement("div"),M(p),this._vmlEl=p),f=p.style,k=!1,_=y=1,this.transform&&(g=this.transform,y=x(g[0]*g[0]+g[1]*g[1]),_=x(g[2]*g[2]+g[3]*g[3]),k=g[1]||g[2]),k?(k=[i+r,a],b=[i,a+s],w=[i+r,a+s],o(P=[i,a],P,g),o(k,k,g),o(b,b,g),o(w,w,g),L=S(P[0],k[0],b[0],w[0]),P=S(P[1],k[1],b[1],w[1]),(k=[]).push("M11=",g[0]/y,",","M12=",g[2]/_,",","M21=",g[1]/y,",","M22=",g[3]/_,",","Dx=",v(i*y+g[4]),",","Dy=",v(a*_+g[5])),f.padding="0 "+v(L)+"px "+v(P)+"px 0",f.filter=O+".Matrix("+k.join("")+", SizingMethod=clip)"):(g&&(i=i*y+g[4],a=a*_+g[5]),f.filter="",f.left=v(i)+"px",f.top=v(a)+"px"),b=this._imageEl,w=this._cropEl,b||(b=m.doc.createElement("div"),this._imageEl=b),T=b.style,d?(e&&n?(T.width=v(y*e*r/l)+"px",T.height=v(_*n*s/u)+"px"):(C=new Image,D=this,C.onload=function(){C.onload=null,e=C.width,n=C.height,T.width=v(y*e*r/l)+"px",T.height=v(_*n*s/u)+"px",D._imageWidth=e,D._imageHeight=n,D._imageSrc=E},C.src=E),w||((w=m.doc.createElement("div")).style.overflow="hidden",this._cropEl=w),(L=w.style).width=v((r+c*r/l)*y),L.height=v((s+h*s/u)*_),L.filter=O+".Matrix(Dx="+-c*r/l*y+",Dy="+-h*s/u*_+")",w.parentNode||p.appendChild(w),b.parentNode!==w&&w.appendChild(b)):(T.width=v(y*r)+"px",T.height=v(_*s)+"px",p.appendChild(b),w&&w.parentNode&&(p.removeChild(w),this._cropEl=null)),P="",(k=R.opacity)<1&&(P+=".Alpha(opacity="+v(100*k)+") "),P+=O+".AlphaImageLoader(src="+E+", SizingMethod=scale)",T.filter=P,p.style.zIndex=A(this.zlevel,this.z,this.z2),I(t,p),null!=R.text)&&this.drawRectText(t,this.getBoundingRect())},h.prototype.onRemove=function(t){T(t,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(t)},h.prototype.onAdd=function(t){I(t,this._vmlEl),this.appendRectText(t)},"normal"),H={},W=0,U=100,Z=document.createElement("div"),Y=(s.$override("measureText",(function(t,e){var n=m.doc;k||((k=n.createElement("div")).style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",m.doc.body.appendChild(k));try{k.style.font=e}catch(t){}return k.innerHTML="",k.appendChild(n.createTextNode(t)),{width:k.offsetWidth}})),new a),j=[u,c,h,p,d],X=0;X<j.length;X++){var q=j[X].prototype;q.drawRectText=D,q.removeRectText=L,q.appendRectText=P}d.prototype.brushVML=function(t){var e=this.style;null!=e.text?this.drawRectText(t,{x:e.x||0,y:e.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(t)},d.prototype.onRemove=function(t){this.removeRectText(t)},d.prototype.onAdd=function(t){this.appendRectText(t)}}},a890:function(t,e,n){var i=n("0655"),o=n("9850"),a=n("2306").linePolygonIntersect;n={lineX:r(0),lineY:r(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&i.contain(n.range,t[0],t[1])},rect:function(t,e,n){var r,s,l,u,c;n=n.range;return!(!t||n.length<=1)&&(r=t.x,s=t.y,l=t.width,u=t.height,c=n[0],!!(i.contain(n,r,s)||i.contain(n,r+l,s)||i.contain(n,r,s+u)||i.contain(n,r+l,s+u)||o.create(t).contain(c[0],c[1])||a(r,s,r+l,s,n)||a(r,s,r,s+u,n)||a(r+l,s,r+l,s+u,n)||a(r,s+u,r+l,s+u,n))||void 0)}}};function r(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e)return i=i.range,s(e[t],i)},rect:function(i,o,a){if(i)return a=a.range,(i=[i[e[t]],i[e[t]]+i[n[t]]])[1]<i[0]&&i.reverse(),s(i[0],a)||s(i[1],a)||s(a[0],i)||s(a[1],i)}}}function s(t,e){return e[0]<=t&&t<=e[1]}t.exports=n},a8c6:function(t,e,n){n=n("2449").extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}}),t.exports=n},a96b:function(t,e,n){n=n("3eba").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=n},a991:function(t,e,n){var i=n("6d8b"),o=n("e86a"),a=n("84ce"),r=(0,n("e0d3").makeInner)();function s(t,e){a.call(this,"angle",t,e=e||[0,360]),this.type="category"}s.prototype={constructor:s,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:a.prototype.dataToCoord,angleToData:a.prototype.coordToData,calculateCategoryInterval:function(){var t,e,n=this.getLabelModel(),i=this.scale,a=i.getExtent();i=i.count();return a[1]-a[0]<1?0:(a=a[0],t=this.dataToCoord(a+1)-this.dataToCoord(a),t=Math.abs(t),a=o.getBoundingRect(a,n.getFont(),"center","top"),n=Math.max(a.height,7)/t,isNaN(n)&&(n=1/0),a=Math.max(0,Math.floor(n)),n=(t=r(this.model)).lastAutoInterval,e=t.lastTickCount,null!=n&&null!=e&&Math.abs(n-a)<=1&&Math.abs(e-i)<=1&&a<n?a=n:(t.lastTickCount=i,t.lastAutoInterval=a),a)}},i.inherits(s,a),t.exports=s},aa01:function(t,e,n){var i=n("6d8b"),o=n("4f85"),a=n("06c7"),r=n("4319"),s=n("55ac").wrapTreePathInfo;n=o.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var n={name:t.name,children:t.data},o=(function t(e){var n=0;i.each(e.children,(function(e){t(e),e=e.value,i.isArray(e)&&(e=e[0]),n+=e}));var o=e.value;i.isArray(o)&&(o=o[0]),null!=o&&!isNaN(o)||(o=n),o<0&&(o=0),i.isArray(e.value)?e.value[0]=o:e.value=o}(n),i.map(t.levels||[],(function(t){return new r(t,this,e)}),this)),s=a.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){return e=s.getNodeByDataIndex(e),e=o[e.depth],e&&(t.parentModel=e),t}))}));return s.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=o.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=s(n,this),e},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});t.exports=n},aa3e:function(t,e,n){var i=n("6d8b");function o(t,e){return e=e||[0,0],i.map(["x","y"],(function(n,i){n=this.getAxis(n);var o=e[i];i=t[i]/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(o-i)-n.dataToCoord(o+i))}),this)}t.exports=function(t){var e=t.grid.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:i.bind(o,t)}}}},aadf:function(t,e,n){var i=n("3eba"),o=n("6d8b");n("5aa9"),n("d6d9"),n("3329");var a=n("9d57").layout,r=n("7f96");n("01ed"),i.registerLayout(o.curry(a,"pictorialBar")),i.registerVisual(r("pictorialBar","roundRect"))},ab05:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2b8c"),r=n("5f14");n=i.PRIORITY.VISUAL.COMPONENT;function s(t,e,n,i){for(var o=e.targetVisuals[i],a=r.prepareVisualTypes(o),s={color:t.getData().getVisual("color")},l=0,u=a.length;l<u;l++){var c=a[l];c=o["opacity"===c?"__alphaForOpacity":c];c&&c.applyVisual(n,h,d)}return s.color;function h(t){return s[t]}function d(t,e){s[t]=e}}i.registerVisual(n,{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var i=t.pipelineContext;!e.isTargetSeries(t)||i&&i.large||n.push(a.incrementalApplyVisual(e.stateList,e.targetVisuals,o.bind(e.getValueState,e),e.getDataDimension(t.getData())))})),n}}),i.registerVisual(n,{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",(function(e){var a;e.isTargetSeries(t)&&(a=e.getVisualMeta(o.bind(s,null,t,e))||{stops:[],outerColors:[]},e=e.getDataDimension(n),null!=(e=n.getDimensionInfo(e)))&&(a.dimension=e.index,i.push(a))})),t.getData().setVisual("visualMeta",i)}})},ab71:function(t,e){var n=["lineStyle","normal","opacity"];t.exports={seriesType:"parallel",reset:function(t,e,i){var o=t.getModel("itemStyle"),a=t.getModel("lineStyle"),r=(e=e.get("color"),a=a.get("color")||o.get("color")||e[t.seriesIndex%e.length],o=t.get("inactiveOpacity"),e=t.get("activeOpacity"),t.getModel("lineStyle").getLineStyle()),s=t.coordinateSystem,l=(t=t.getData(),{normal:r.opacity,active:e,inactive:o});return t.setVisual("color",a),{progress:function(t,e){s.eachActiveState(e,(function(t,i){var o=l[t];"normal"===t&&e.hasItemOption&&null!=(t=e.getItemModel(i).get(n,!0))&&(o=t),e.setItemVisual(i,"opacity",o)}),t.start,t.end)}}}}},abff:function(t,e,n){var i=n("3eba"),o=n("f706"),a=n("c965"),r=n("87c3");i.extendChartView({type:"scatter",render:function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||1e4<i.count()||!this._symbolDraw.isPersistent())return{update:!0};t=r().reset(t),t.progress&&t.progress({start:0,end:i.count()},i),this._symbolDraw.updateLayout(i)},_getClipShape:function(t){var e=t.coordinateSystem;e=e&&e.getArea&&e.getArea();return t.get("clip",!0)?e:null},_updateSymbolDraw:function(t,e){var n=this._symbolDraw;e=e.pipelineContext.large;return n&&e===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=new(e?a:o),this._isLargeDraw=e,this.group.removeAll()),this.group.add(n.group),n},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},ac0f:function(t,e,n){var i=n("cbe5"),o=n("401b"),a=(n=n("4a3f"),n.quadraticSubdivide),r=n.cubicSubdivide,s=n.quadraticAt,l=n.cubicAt,u=n.quadraticDerivativeAt,c=n.cubicDerivativeAt,h=[];function d(t,e,n){var i=t.cpx2,o=t.cpy2;return null===i||null===o?[(n?c:l)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?c:l)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?u:s)(t.x1,t.cpx1,t.x2,e),(n?u:s)(t.y1,t.cpy1,t.y2,e)]}n=i.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 n=e.x1,i=e.y1,o=e.x2,s=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,d=e.cpy2;e=e.percent;0!==e&&(t.moveTo(n,i),null==c||null==d?(e<1&&(a(n,l,o,e,h),l=h[1],o=h[2],a(i,u,s,e,h),u=h[1],s=h[2]),t.quadraticCurveTo(l,u,o,s)):(e<1&&(r(n,l,c,o,e,h),l=h[1],c=h[2],o=h[3],r(i,u,d,s,e,h),u=h[1],d=h[2],s=h[3]),t.bezierCurveTo(l,u,c,d,o,s)))},pointAt:function(t){return d(this.shape,t,!1)},tangentAt:function(t){return t=d(this.shape,t,!0),o.normalize(t,t)}}),t.exports=n},adda:function(t,e,n){var i=n("94e4").circularLayout;t.exports=function(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&i(t,"symbolSize")}))}},adf4:function(t,e,n){var i=n("4f85"),o=n("b1d4"),a=n("2f45").getDimensionTypeByAxis,r=n("6179"),s=n("6d8b"),l=n("e0d3").groupData,u=n("eda2").encodeHTML,c=n("c4a3"),h=i.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){h.superApply(this,"init",arguments),this.legendVisualProvider=new c(s.bind(this.getData,this),s.bind(this.getRawData,this))},fixData:function(t){for(var e=t.length,n={},i=l(t,(function(t){return n.hasOwnProperty(t[0])||(n[t[0]]=-1),t[2]})),o=[],a=(i.buckets.each((function(t,e){o.push({name:e,dataList:t})})),o.length),r=0;r<a;++r){for(var s=o[r].name,u=0;u<o[r].dataList.length;++u){var c=o[r].dataList[u][0];n[c]=r}for(c in n)n.hasOwnProperty(c)&&n[c]!==r&&(n[c]=r,t[e]=[],t[e][0]=c,t[e][1]=0,t[e][2]=s,e++)}return t},getInitialData:function(t,e){e=e.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0].get("type"),t=s.filter(t.data,(function(t){return void 0!==t[2]}));for(var n=this.fixData(t||[]),i=[],l=this.nameMap=s.createHashMap(),u=0,c=0;c<n.length;++c)i.push(n[c][2]),l.get(n[c][2])||(l.set(n[c][2],u),u++);return t=o(n,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:a(e)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),e=new r(t,this),e.initData(n),e},getLayerSeries:function(){for(var t=this.getData(),e=t.count(),n=[],i=0;i<e;++i)n[i]=i;var o=t.mapDimension("single"),a=l(n,(function(e){return t.get("name",e)})),r=[];return a.buckets.each((function(e,n){e.sort((function(e,n){return t.get(o,e)-t.get(o,n)})),r.push({name:n,indices:e})})),r},getAxisTooltipData:function(t,e,n){s.isArray(t)||(t=t?[t]:[]);for(var i,o=this.getData(),a=this.getLayerSeries(),r=[],l=a.length,u=0;u<l;++u){for(var c=Number.MAX_VALUE,h=-1,d=a[u].indices.length,p=0;p<d;++p){var f=o.get(t[0],a[u].indices[p]),g=Math.abs(f-e);g<=c&&(i=f,c=g,h=a[u].indices[p])}r.push(h)}return{dataIndices:r,nestestValue:i}},formatTooltip:function(t){var e=this.getData(),n=e.getName(t);e=e.get(e.mapDimension("value"),t);return!isNaN(e)&&null!=e||(e="-"),u(n+" : "+e)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}});t.exports=h},ae46:function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("73ca"),a=n("0fd3"),r=n("7e5b"),s=n("4527"),l=n("6a4c"),u=n("a38d"),c=n("6582"),h=n("b0af").createClipPath;n=i.extendChartView({type:"lines",init:function(){},render:function(t,e,n){var i=t.getData(),o=this._updateLineDraw(i,t),a=t.get("zlevel"),r=t.get("effect.trailLength"),s=(n=n.getZr(),"svg"===n.painter.getType());s||n.painter.getLayer(a).clear(!0),null==this._lastZlevel||s||n.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&r&&(s||n.configLayer(a,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(r/10+.9,1),0)})),o.updateData(i),s=t.get("clip",!0)&&h(t.coordinateSystem,!1,t);s?this.group.setClipPath(s):this.group.removeClipPath(),this._lastZlevel=a,this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},incrementalRender:function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var i=t.getData(),o=t.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};o=c.reset(t),o.progress&&o.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(t,e){var n=this._lineDraw,i=this._showEffect(e),c=!!e.get("polyline");e=e.pipelineContext.large;return n&&i===this._hasEffet&&c===this._isPolyline&&e===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=e?new u:new o(c?i?l:s:i?a:r),this._hasEffet=i,this._isPolyline=c,this._isLargeDraw=e,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(t){return!!t.get("effect.show")},_clearLayer:function(t){t=t.getZr(),"svg"!==t.painter.getType()&&null!=this._lastZlevel&&t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});t.exports=n},ae69:function(t,e,n){n=n("cbe5").extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var n=e.cx,i=e.cy,o=e.rx,a=(e=e.ry,.5522848*o),r=.5522848*e;t.moveTo(n-o,i),t.bezierCurveTo(n-o,i-r,n-a,i-e,n,i-e),t.bezierCurveTo(n+a,i-e,n+o,i-r,n+o,i),t.bezierCurveTo(n+o,i+r,n+a,i+e,n,i+e),t.bezierCurveTo(n-a,i+e,n-o,i+r,n-o,i),t.closePath()}}),t.exports=n},ae75:function(t,e,n){var i=n("6d8b"),o=["rect","polygon","keep","clear"];t.exports=function(t,e){var n,a,r,s=t&&t.brush;(s=i.isArray(s)?s:s?[s]:[]).length&&(n=[],i.each(s,(function(t){t=t.hasOwnProperty("toolbox")?t.toolbox:[],t instanceof Array&&(n=n.concat(t))})),s=t&&t.toolbox,(s=i.isArray(s)?s[0]:s)||(t.toolbox=[s={feature:{}}]),(t=(s=(t=s.feature||(s.feature={})).brush||(t.brush={})).type||(s.type=[])).push.apply(t,n),a=t,r={},i.each(a,(function(t){r[t]=1})),a.length=0,i.each(r,(function(t,e){a.push(e)})),e)&&!t.length&&t.push.apply(t,o)}},af24:function(t,e,n){n("48c7"),n("f273")},afa0:function(t,e,n){var i=n("6d8b"),o=n("22d1"),a=n("e1fc"),r=n("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}function l(){this._roots=[],this._displayList=[],this._displayListLen=0}l.prototype={constructor:l,traverse:function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,a=e.length;i<a;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,o.canvasSupported&&r(n,s)},_updateAndAddDisplayable:function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var i=t.clipPath;if(i){e=e?e.slice():[];for(var o=i,a=t;o;)o.parent=a,o.updateTransform(),e.push(o),o=(a=o).clipPath}if(t.isGroup){for(var r=t._children,s=0;s<r.length;s++){var l=r[s];t.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,e,n)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof a&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var e=0;e<this._roots.length;e++){var n=this._roots[e];n instanceof a&&n.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0}else if(t instanceof Array){e=0;for(var o=t.length;e<o;e++)this.delRoot(t[e])}else{var r=i.indexOf(this._roots,t);0<=r&&(this.delFromStorage(t),this._roots.splice(r,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},t.exports=l},b006:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("fab2"),r=n("fc82"),s=n("f4a2"),l=n("2306"),u=["axisLine","axisTickLabel","axisName"],c=i.extendComponentView({type:"parallelAxis",init:function(t,e){c.superApply(this,"init",arguments),(this._brushController=new r(e.getZr())).on("brush",o.bind(this._onBrush,this))},render:function(t,e,n,i){var r,s,c,h,d;d=t,r=e,(s=i)&&"axisAreaSelect"===s.type&&r.findComponents({mainType:"parallelAxis",query:s})[0]===d||(this.axisModel=t,this.api=n,this.group.removeAll(),r=this._axisGroup,this._axisGroup=new l.Group,this.group.add(this._axisGroup),t.get("show")&&(d=(s=e.getComponent("parallel",t.get("parallelIndex"))).coordinateSystem,c=(e=t.getAreaSelectStyle()).width,h=t.axis.dim,d=d.getAxisLayout(h),h=o.extend({strokeContainThreshold:c},d),d=new a(t,h),o.each(u,d.add,d),this._axisGroup.add(d.getGroup()),this._refreshBrushController(h,e,t,s,c,n),d=i&&!1===i.animation?null:t,l.groupTransition(r,this._axisGroup,d)))},_refreshBrushController:function(t,e,n,i,a,r){var u,c=n.axis.getExtent(),h=c[1]-c[0],d=Math.min(30,.1*Math.abs(h));c=l.BoundingRect.create({x:c[0],y:-a/2,width:h,height:a});c.x-=d,c.width+=2*d,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(c),isTargetByCursor:s.makeRectIsTargetByCursor(c,r,i),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(c,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers((u=n.axis,o.map(n.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[u.dataToCoord(t[0],!0),u.dataToCoord(t[1],!0)]}}))))},_onBrush:function(t,e){var n=this.axisModel,i=n.axis;t=o.map(t,(function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]}));!n.option.realtime!==e.isEnd&&!e.removeOnClick||this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:t})},dispose:function(){this._brushController.dispose()}});t.exports=c},b0af:function(t,e,n){var i=n("2306"),o=n("3842").round;function a(t,e,n){var o=t.getArea(),a=(t=t.getBaseAxis().isHorizontal(),o.x),r=o.y,s=o.width,l=(o=o.height,n.get("lineStyle.width")||2);a-=l/2,r-=l/2,s+=l,o+=l,a=Math.floor(a),s=Math.round(s),l=new i.Rect({shape:{x:a,y:r,width:s,height:o}});return e&&(l.shape[t?"width":"height"]=0,i.initProps(l,{shape:{width:s,height:o}},n)),l}function r(t,e,n){var a=t.getArea();t=new i.Sector({shape:{cx:o(t.cx,1),cy:o(t.cy,1),r0:o(a.r0,1),r:o(a.r,1),startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});return e&&(t.shape.endAngle=a.startAngle,i.initProps(t,{shape:{endAngle:a.endAngle}},n)),t}e.createGridClipPath=a,e.createPolarClipPath=r,e.createClipPath=function(t,e,n){return t?"polar"===t.type?r(t,e,n):"cartesian2d"===t.type?a(t,e,n):null:null}},b11c:function(t,e,n){n("8ec5"),n("db9e"),n("4e9f"),n("d3a0"),n("767c"),n("7c4d"),n("df70")},b12f:function(t,e,n){function i(){this.group=new o,this.uid=a.getUID("viewComponent")}var o=n("e1fc"),a=n("8918"),r=(n=n("625e"),i.prototype={constructor:i,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){},filterForExposedEvent:null});r.updateView=r.updateLayout=r.updateVisual=function(t,e,n,i){},n.enableClassExtend(i),n.enableClassManagement(i,{registerWhenExtend:!0}),t.exports=i},b16f:function(t,e,n){var i=n("4ab1"),o=n("6d8b"),a=n("4942"),r=n("41ef");function s(t,e){i.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}o.inherits(s,i),s.prototype.addWithoutUpdate=function(t,e){var n;e&&e.style&&(n=this,o.each(["fill","stroke"],(function(i){var o,a,r;!e.style[i]||"linear"!==e.style[i].type&&"radial"!==e.style[i].type||(o=e.style[i],r=n.getDefs(!0),o._dom?(a=o._dom,r.contains(o._dom)||n.addDom(a)):a=n.add(o),n.markUsed(e),r=a.getAttribute("id"),t.setAttribute(i,"url(#"+r+")"))})))},s.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return a("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},s.prototype.update=function(t){var e=this;i.prototype.update.call(this,t,(function(){var n=t.type,i=t._dom.tagName;"linear"===n&&"linearGradient"===i||"radial"===n&&"radialGradient"===i?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))}))},s.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void a("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,i=0,o=n.length;i<o;++i){var s,l=this.createElement("stop"),u=(l.setAttribute("offset",100*n[i].offset+"%"),n[i].color);-1<u.indexOf("rgba")?(s=r.parse(u)[3],u=r.toHex(u),l.setAttribute("stop-color","#"+u),l.setAttribute("stop-opacity",s)):l.setAttribute("stop-color",n[i].color),e.appendChild(l)}t._dom=e},s.prototype.markUsed=function(t){var e;t.style&&((e=t.style.fill)&&e._dom&&i.prototype.markUsed.call(this,e._dom),e=t.style.stroke)&&e._dom&&i.prototype.markUsed.call(this,e._dom)},t.exports=s},b1d4:function(t,e,n){var i=n("862d");t.exports=function(t,e){return i((e=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})}},b336:function(t,e,n){var i=n("6d8b"),o=i.each;function a(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}t.exports=function(t){t=t&&t.visualMap,i.isArray(t)||(t=t?[t]:[]),o(t,(function(t){t&&(a(t,"splitList")&&!a(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList),t=t.pieces)&&i.isArray(t)&&o(t,(function(t){i.isObject(t)&&(a(t,"start")&&!a(t,"min")&&(t.min=t.start),a(t,"end"))&&!a(t,"max")&&(t.max=t.end)}))}))}},b369:function(t,e,n){function i(t){return(t=I(t)).stroke=t.fill=t.lineWidth=null,t}var o=n("3eba"),a=n("6d8b"),r=n("2306"),s=n("80f0"),l=n("55ac"),u=n("f610"),c=n("4a01"),h=n("9850"),d=n("1687"),p=n("e6cd"),f=n("282b"),g=n("eda2").windowOpen,m=a.bind,y=r.Group,v=r.Rect,x=a.each,_=["label"],b=["emphasis","label"],w=["upperLabel"],S=["emphasis","upperLabel"],M=10,I=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);n=o.extendChartView({type:"treemap",init:function(t,e){this._containerGroup,this._storage=T(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(t,e,n,i){var o,r,s,u=e.findComponents({mainType:"series",subType:"treemap",query:i});a.indexOf(u,t)<0||(this.seriesModel=t,this.api=n,this.ecModel=e,u=l.retrieveTargetInfo(i,["treemapZoomToNode","treemapRootToNode"],t),e=i&&i.type,s=t.layoutInfo,o=!this._oldTree,r=this._storage,r="treemapRootToNode"===e&&u&&r?{rootNodeGroup:r.nodeGroup[u.node.getRawIndex()],direction:i.direction}:null,i=this._giveContainerGroup(s),s=this._doRender(i,t,r),o||e&&"treemapZoomToNode"!==e&&"treemapRootToNode"!==e?s.renderFinally():this._doAnimation(i,s,t,r),this._resetController(n),this._renderBreadcrumb(t,n,u))},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new y,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,n){var i,o=e.getData().tree,r=this._oldTree,l=T(),u=T(),c=this._storage,h=[],d=a.curry(A,e,u,c,n,l,h),p=(function t(e,n,i,o,r){function l(t){return t.getId()}function u(a,s){a=null!=a?e[a]:null,s=null!=s?n[s]:null;var l=d(a,s,i,r);l&&t(a&&a.viewChildren||[],s&&s.viewChildren||[],l,o,r+1)}o?x(n=e,(function(t,e){t.isRemoved()||u(e,e)})):new s(n,e,l,l).add(u).update(u).remove(a.curry(u,null)).execute()}(o.root?[o.root]:[],r&&r.root?[r.root]:[],t,o===r||!r,0),i=T(),(e=c)&&x(e,(function(t,e){var n=i[e];x(t,(function(t){t&&(n.push(t),t.__tmWillDelete=1)}))})),i);return this._oldTree=o,this._storage=u,{lastsForAnimation:l,willDeleteEls:p,renderFinally:function(){x(p,(function(t){x(t,(function(t){t.parent&&t.parent.remove(t)}))})),x(h,(function(t){t.invisible=!0,t.dirty()}))}}},_doAnimation:function(t,e,n,i){var o,r,s;n.get("animation")&&(o=n.get("animationDurationUpdate"),r=n.get("animationEasing"),s=p.createWrap(),x(e.willDeleteEls,(function(t,e){x(t,(function(t,n){var a,l,u;!t.invisible&&(u=t.parent,u=i&&"drillDown"===i.direction?u===i.rootNodeGroup?{shape:{x:0,y:0,width:u.__tmNodeWidth,height:u.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}}:(l=a=0,u.__tmWillDelete||(a=u.__tmNodeWidth/2,l=u.__tmNodeHeight/2),"nodeGroup"===e?{position:[a,l],style:{opacity:0}}:{shape:{x:a,y:l,width:0,height:0},style:{opacity:0}}))&&s.add(t,u,o,r)}))})),x(this._storage,(function(t,n){x(t,(function(t,i){i=e.lastsForAnimation[n][i];var l={};i&&("nodeGroup"===n?i.old&&(l.position=t.position.slice(),t.attr("position",i.old)):(i.old&&(l.shape=a.extend({},t.shape),t.setShape(i.old)),i.fadein?(t.setStyle("opacity",0),l.style={opacity:1}):1!==t.style.opacity&&(l.style={opacity:1})),s.add(t,l,o,r))}))}),this),this._state="animating",s.done(m((function(){this._state="ready",e.renderFinally()}),this)).start())},_resetController:function(t){var e=this._controller,n=(e||((e=this._controller=new c(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",m(this._onPan,this)),e.on("zoom",m(this._onZoom,this))),new h(0,0,t.getWidth(),t.getHeight()));e.setPointerChecker((function(t,e,i){return n.contain(e,i)}))},_clearController:function(){var t=this._controller;t&&t.dispose()},_onPan:function(t){var e;"animating"!==this._state&&(3<Math.abs(t.dx)||3<Math.abs(t.dy))&&(e=this.seriesModel.getData().tree.root)&&(e=e.getLayout())&&this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:e.x+t.dx,y:e.y+t.dy,width:e.width,height:e.height}})},_onZoom:function(t){var e,n,i=t.originX,o=t.originY;"animating"!==this._state&&(e=this.seriesModel.getData().tree.root)&&(e=e.getLayout())&&(e=new h(e.x,e.y,e.width,e.height),i-=(n=this.seriesModel.layoutInfo).x,o-=n.y,n=d.create(),d.translate(n,n,[-i,-o]),d.scale(n,n,[t.scale,t.scale]),d.translate(n,n,[i,o]),e.applyTransform(n),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:e.x,y:e.y,width:e.width,height:e.height}}))},_initEvents:function(t){t.on("click",(function(t){var e,n;"ready"===this._state&&(n=this.seriesModel.get("nodeClick",!0))&&(e=this.findTarget(t.offsetX,t.offsetY))&&((t=e.node).getLayout().isLeafRoot?this._rootToNode(e):"zoomToNode"===n?this._zoomToNode(e):"link"===n&&(n=(e=t.hostTree.data.getItemModel(t.dataIndex)).get("link",!0),t=e.get("target",!0)||"blank",n)&&g(n,t))}),this)},_renderBreadcrumb:function(t,e,n){n=(n=n||(null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2)))||{node:t.getData().tree.root},(this._breadcrumb||(this._breadcrumb=new u(this.group))).render(t,e,n.node,m((function(e){"animating"!==this._state&&(l.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}),this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=T(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var o=this._storage.background[i.getRawIndex()];if(o){var a=o.transformCoordToLocal(t,e);o=o.shape;if(!(o.x<=a[0]&&a[0]<=o.x+o.width&&o.y<=a[1]&&a[1]<=o.y+o.height))return!1;n={node:i,offsetX:a[0],offsetY:a[1]}}}),this),n}});function T(){return{nodeGroup:[],background:[],content:[]}}function A(t,e,n,o,s,l,u,c,h,d){if(u){var p=u.getLayout(),f=t.getData();if(f.setItemGraphicEl(u.dataIndex,null),p&&p.isInView){var g=p.width,m=p.height,x=p.borderWidth,T=p.invisible,A=u.getRawIndex(),C=c&&c.getRawIndex(),D=(c=u.viewChildren,p.upperHeight),L=(c=c&&c.length,u.getModel("itemStyle")),P=u.getModel("emphasis.itemStyle"),k=U("nodeGroup",y);if(k){if(h.add(k),k.attr("position",[p.x||0,p.y||0]),k.__tmNodeWidth=g,k.__tmNodeHeight=m,!p.isAboveViewRoot){var O=u.getModel();h=U("background",v,d,1);if(h){var R=k,E=h,N=c&&p.upperLabelHeight;E.dataIndex=u.dataIndex,E.seriesIndex=t.seriesIndex,E.setShape({x:0,y:0,width:g,height:m}),T?F(E):(E.invisible=!1,B=u.getVisual("borderColor",!0),V=P.get("borderColor"),(G=i(L)).fill=B,(z=I(P)).fill=V,N?H(G,z,B,V=g-2*x,D,{x:x,y:0,width:V,height:D}):G.text=z.text=null,E.setStyle(G),r.setElementHoverStyle(E,z)),R.add(E)}if(c)r.isHighDownDispatcher(k)&&r.setAsHighDownDispatcher(k,!1),h&&(r.setAsHighDownDispatcher(h,!0),f.setItemGraphicEl(u.dataIndex,h));else{var z;N=U("content",v,d,2);if(N){var B=k,V=N;V.dataIndex=u.dataIndex,V.seriesIndex=t.seriesIndex;D=Math.max(g-2*x,0);var G=Math.max(m-2*x,0);V.culling=!0,V.setShape({x:x,y:x,width:D,height:G}),T?F(V):(V.invisible=!1,z=u.getVisual("color",!0),R=i(L),R.fill=z,E=I(P),H(R,E,z,D,G),V.setStyle(R),r.setElementHoverStyle(V,E)),B.add(V)}h&&r.isHighDownDispatcher(h)&&r.setAsHighDownDispatcher(h,!1),r.setAsHighDownDispatcher(k,!0),f.setItemGraphicEl(u.dataIndex,k)}}return k}}}function F(t){t.invisible||l.push(t)}function H(e,n,i,o,s,l){var c=O.get("name"),h=O.getModel(l?w:_),d=O.getModel(l?S:b),f=h.getShallow("show");r.setLabelStyle(e,n,h,d,{defaultText:f?c:null,autoColor:i,isRectText:!0,labelFetcher:t,labelDataIndex:u.dataIndex,labelProp:l?"upperLabel":"label"}),W(e,l,p),W(n,l,p),l&&(e.textRect=a.clone(l)),e.truncate=f&&h.get("ellipsis")?{outerWidth:o,outerHeight:s,minChar:2}:null}function W(e,n,i){var o=e.text;!n&&i.isLeafRoot&&null!=o&&(n=t.get("drillDownIcon",!0),e.text=n?n+" "+o:o)}function U(t,i,r,l){var c,h,d=null!=C&&n[t][C],p=s[t];return d?(n[t][C]=null,c=d,h=t,(p[A]={}).old="nodeGroup"===h?c.position.slice():a.extend({},c.shape)):T||((d=new i({z:function(t,e){return t=t*M+e,(t-1)/t}(r,l)})).__tmDepth=r,h=d.__tmStorageName=t,c=(c=p)[A]={},!(i=u.parentNode)||o&&"drillDown"!==o.direction||(r=l=0,i=s.background[i.getRawIndex()],!o&&i&&i.old&&(l=i.old.width,r=i.old.height),c.old="nodeGroup"===h?[0,r]:{x:l,y:r,width:0,height:0}),c.fadein="nodeGroup"!==h),e[t][A]=d}}t.exports=n},b419:function(t,e,n){var i=n("6d8b"),o=n("2306"),a=n("4319"),r=n("6679"),s=n("fab2"),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]);t=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:t[0],y2:t[1]}}function c(t){return t.getRadiusAxis().inverse?0:1}function h(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}n=r.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){var n,o,a,r,s,u;this.group.removeAll(),t.get("show")&&(n=t.axis,o=n.polar,a=o.getRadiusAxis().getExtent(),r=n.getTicksCoords(),s=n.getMinorTicksCoords(),h(u=i.map(n.getViewLabels(),(function(t){return(t=i.clone(t)).coord=n.dataToCoord(t.tickValue),t}))),h(r),i.each(l,(function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,o,r,s,a,u)}),this))},_axisLine:function(t,e,n,i,a){t=t.getModel("axisLine.lineStyle");var r=c(e),s=r?0:1;e=0===a[s]?new o.Circle({shape:{cx:e.cx,cy:e.cy,r:a[r]},style:t.getLineStyle(),z2:1,silent:!0}):new o.Ring({shape:{cx:e.cx,cy:e.cy,r:a[r],r0:a[s]},style:t.getLineStyle(),z2:1,silent:!0});e.style.fill=null,this.group.add(e)},_axisTick:function(t,e,n,a,r){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=r[c(e)];r=i.map(n,(function(t){return new o.Line({shape:u(e,[h,h+l],t.coord)})}));this.group.add(o.mergePath(r,{style:i.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,n,a,r){if(a.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),d=r[c(e)],p=[],f=0;f<a.length;f++)for(var g=0;g<a[f].length;g++)p.push(new o.Line({shape:u(e,[d,d+h],a[f][g].coord)}));this.group.add(o.mergePath(p,{style:i.defaults(l.getModel("lineStyle").getLineStyle(),i.defaults(s.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}))}))}},_axisLabel:function(t,e,n,r,l,u){var h=t.getCategories(!0),d=t.getModel("axisLabel"),p=d.get("margin"),f=t.get("triggerEvent");i.each(u,(function(n,i){var r=d,u=n.tickValue,g=l[c(e)],m=e.coordToPoint([g+p,n.coord]),y=e.cx,v=e.cy;y=Math.abs(m[0]-y)/g<.3?"center":m[0]>y?"left":"right",g=Math.abs(m[1]-v)/g<.3?"middle":m[1]>v?"top":"bottom",h&&h[u]&&h[u].textStyle&&(r=new a(h[u].textStyle,d,d.ecModel)),v=new o.Text({silent:s.isLabelSilent(t)});this.group.add(v),o.setTextStyle(v.style,r,{x:m[0],y:m[1],textFill:r.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:y,textVerticalAlign:g}),f&&(v.eventData=s.makeAxisEventDataBase(t),v.eventData.targetType="axisLabel",v.eventData.value=n.rawLabel)}),this)},_splitLine:function(t,e,n,a,r){for(var s=t.getModel("splitLine").getModel("lineStyle"),l=0,c=(c=s.get("color"))instanceof Array?c:[c],h=[],d=0;d<n.length;d++){var p=l++%c.length;h[p]=h[p]||[],h[p].push(new o.Line({shape:u(e,r,n[d].coord)}))}for(d=0;d<h.length;d++)this.group.add(o.mergePath(h[d],{style:i.defaults({stroke:c[d%c.length]},s.getLineStyle()),silent:!0,z:t.get("z")}))},_minorSplitLine:function(t,e,n,i,a){if(i.length){for(var r=t.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<i.length;l++)for(var c=0;c<i[l].length;c++)s.push(new o.Line({shape:u(e,a,i[l][c].coord)}));this.group.add(o.mergePath(s,{style:r.getLineStyle(),silent:!0,z:t.get("z")}))}},_splitArea:function(t,e,n,a,r){if(n.length){for(var s=t.getModel("splitArea").getModel("areaStyle"),l=0,u=(u=s.get("color"))instanceof Array?u:[u],c=[],h=Math.PI/180,d=-n[0].coord*h,p=Math.min(r[0],r[1]),f=Math.max(r[0],r[1]),g=t.get("clockwise"),m=1;m<n.length;m++){var y=l++%u.length;c[y]=c[y]||[],c[y].push(new o.Sector({shape:{cx:e.cx,cy:e.cy,r0:p,r:f,startAngle:d,endAngle:-n[m].coord*h,clockwise:g},silent:!0})),d=-n[m].coord*h}for(m=0;m<c.length;m++)this.group.add(o.mergePath(c[m],{style:i.defaults({fill:u[m%u.length]},s.getAreaStyle()),silent:!0}))}}}),t.exports=n},b5c7:function(t,e,n){var i=n("282b")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);t.exports={getBarItemStyle:function(t){var e;t=i(this,t);return this.getBorderLineDash&&(e=this.getBorderLineDash())&&(t.lineDash=e),t}}},b719:function(t,e,n){var i=n("697e7"),o=(i=(e.zrender=i,n("1687")),i=(e.matrix=i,n("401b")),e.vector=i,n("6d8b")),a=(i=n("41ef"),e.color=i,n("2306")),r=(i=n("3842"),i=(e.number=i,n("eda2")),i=(e.format=i,n("88b3")),i=(i.throttle,e.throttle=i.throttle,n("1548")),i=(e.helper=i,n("bda7")),e.parseGeoJSON=i,n("6179")),s=(r=(e.List=r,n("4319")),r=(e.Model=r,n("84ce")),r=(e.Axis=r,n("22d1")),n=(e.env=r,i),{}),l=(o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){s[t]=o[t]})),{});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){l[t]=a[t]})),e.parseGeoJson=n,e.util=s,e.graphic=l},b809:function(t,e,n){var i=n("6d8b"),o=n("29a8"),a=n("2b17").retrieveRawValue;t.exports=function(t,e){var n,r,s,l,u,c=e.getModel("aria");function h(t,e){var n;return"string"!=typeof t?t:(n=t,i.each(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n)}function d(t){var e=c.get(t);if(null!=e)return e;for(var n=t.split("."),i=o.aria,a=0;a<n.length;++a)i=i[n[a]];return i}c.get("show")&&(c.get("description")?t.setAttribute("aria-label",c.get("description")):(n=0,e.eachSeries((function(t,e){++n}),this),r=c.get("data.maxCount")||10,l=c.get("series.maxCount")||10,s=Math.min(n,l),n<1||(l=(l=function(){var t=e.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}())?h(d("general.withTitle"),{title:l}):d("general.withoutTitle"),u=[],l+=h(d(1<n?"series.multiple.prefix":"series.single.prefix"),{seriesCount:n}),e.eachSeries((function(t,e){if(e<s){e=t.get("name");var i="series."+(1<n?"multiple":"single")+".";e=d(e?i+"withName":i+"withoutName");e=h(e,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(i=t.subType,o.series.typeNames[i]||"自定义图")});for(var l,c,p=t.getData(),f=((window.data=p).count()>r?e+=h(d("data.partialData"),{displayCnt:r}):e+=d("data.allData"),[]),g=0;g<p.count();g++)g<r&&(l=p.getName(g),c=a(p,g),f.push(h(d(l?"data.withName":"data.withoutName"),{name:l,value:c})));e+=f.join(d("data.separator.middle"))+d("data.separator.end"),u.push(e)}})),l+=u.join(d("series.multiple.separator.middle"))+d("series.multiple.separator.end"),t.setAttribute("aria-label",l))))}},b8ec:function(t,e,n){n=n("3eba"),n.registerAction({type:"brush",event:"brush"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),n.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),n.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){}))},bb70:function(t,e,n){var i=n("e86a"),o=n("3842").parsePercent,a=Math.PI/180;function r(t,e,n,i,o,a,r,s,l,u){function c(e,n){for(var i=e;0<=i&&!(t[i].y-n<l)&&(t[i].y-=n,!(0<i&&t[i].y>t[i-1].y+t[i-1].height));i--);}function h(t,e,n,i,o,a){for(var r,s,l,u=e?Number.MAX_VALUE:0,c=0,h=t.length;c<h;c++)"none"===t[c].labelAlignTo&&(r=Math.abs(t[c].y-i),l=t[c].len,s=t[c].len2,l=r<o+l?Math.sqrt((o+l+s)*(o+l+s)-r*r):Math.abs(t[c].x-n),e&&u<=l&&(l=u-10),!e&&l<=u&&(l=u+10),t[c].x=n+l*a,u=l)}t.sort((function(t,e){return t.y-e.y}));for(var d,p=0,f=t.length,g=[],m=[],y=0;y<f;y++)"outer"===t[y].position&&"labelLine"===t[y].labelAlignTo&&(d=t[y].x-u,t[y].linePoints[1][0]+=d,t[y].x=u),(d=t[y].y-p)<0&&function(e,n,i){for(var o=e;o<n&&!(t[o].y+i>l+r);o++)if(t[o].y+=i,e<o&&o+1<n&&t[o+1].y>t[o].y+t[o].height)return c(o,i/2);c(n-1,i/2)}(y,f,-d),p=t[y].y+t[y].height;for(r-p<0&&c(f-1,p-r),y=0;y<f;y++)(t[y].y>=n?m:g).push(t[y]);h(g,!1,e,n,i,o),h(m,!0,e,n,i,o)}function s(t){return"center"===t.position}t.exports=function(t,e,n,l,u,c){var h,d,p=t.getData(),f=[],g=!1,m=(t.get("minShowLabelAngle")||0)*a;if(p.each((function(a){var r,s,l,c,y,v,x,_,b,w,S,M,I=p.getItemLayout(a),T=p.getItemModel(a),A=T.getModel("label"),C=A.get("position")||T.get("emphasis.label.position"),D=A.get("distanceToLabelLine"),L=A.get("alignTo"),P=o(A.get("margin"),n),k=A.get("bleedMargin"),O=A.getFont(),R=(T=T.getModel("labelLine"),T.get("length"));R=o(R,n),T=T.get("length2"),T=o(T,n);I.angle<m||(r=(I.startAngle+I.endAngle)/2,s=Math.cos(r),y=Math.sin(r),h=I.cx,d=I.cy,a=t.getFormattedLabel(a,"normal")||p.getName(a),l=i.getBoundingRect(a,O,w,"top"),c="inside"===C||"inner"===C,w="center"===C?(x=I.cx,_=I.cy,"center"):(x=(S=(c?(I.r+I.r0)/2*s:I.r*s)+h)+3*s,_=(M=(c?(I.r+I.r0)/2*y:I.r*y)+d)+3*y,c||(b=S+s*(R+e-I.r),y=M+y*(R+e-I.r),v=b+(s<0?-1:1)*T,x="edge"===L?s<0?u+P:u+n-P:v+(s<0?-D:D),b=[[S,M],[b,_=y],[v,y]]),c?"center":"edge"===L?0<s?"right":"left":0<s?"left":"right"),M="number"==typeof(S=A.get("rotate"))?S*(Math.PI/180):S?s<0?-r+Math.PI:-r:0,g=!!M,I.label={x:x,y:_,position:C,height:l.height,len:R,len2:T,linePoints:b,textAlign:w,verticalAlign:"middle",rotation:M,inside:c,labelDistance:D,labelAlignTo:L,labelMargin:P,bleedMargin:k,textRect:l,text:a,font:O},c)||f.push(I.label)})),!g&&t.get("avoidLabelOverlap")){for(var y=f,v=h,x=d,_=e,b=n,w=u,S=[],M=[],I=Number.MAX_VALUE,T=-Number.MAX_VALUE,A=0;A<y.length;A++)s(y[A])||(y[A].x<v?(I=Math.min(I,y[A].x),S):(T=Math.max(T,y[A].x),M)).push(y[A]);for(r(M,v,x,_,1,0,l,0,c,T),r(S,v,x,_,-1,0,l,0,c,I),A=0;A<y.length;A++){var C,D,L,P,k=y[A];s(k)||(C=k.linePoints)&&(D="edge"===k.labelAlignTo,L=k.textRect.width,(P=D?k.x<v?C[2][0]-k.labelDistance-w-k.labelMargin:w+b-k.labelMargin-C[2][0]-k.labelDistance:k.x<v?k.x-w-k.bleedMargin:w+b-k.x-k.bleedMargin)<k.textRect.width&&(k.text=i.truncateText(k.text,P,k.font),"edge"===k.labelAlignTo)&&(L=i.getWidth(k.text,k.font)),P=C[1][0]-C[2][0],D?k.x<v?C[2][0]=w+k.labelMargin+L+k.labelDistance:C[2][0]=w+b-k.labelMargin-L-k.labelDistance:(k.x<v?C[2][0]=k.x+k.labelDistance:C[2][0]=k.x-k.labelDistance,C[1][0]=C[2][0]+P),C[1][1]=C[2][1]=k.y)}}}},bc5f:function(t,e,n){n("6cb7").registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?0<t.pieces.length:0<t.splitNumber)&&!t.calculable?"piecewise":"continuous"}))},bcaa:function(t,e,n){var i=n("4ab1");function o(t,e){i.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function a(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}n("6d8b").inherits(o,i),o.prototype.addWithoutUpdate=function(t,e){var n;e&&a(e.style)&&(e._shadowDom?(n=e._shadowDom,this.getDefs(!0).contains(e._shadowDom)||this.addDom(n)):n=this.add(e),this.markUsed(e),e=n.getAttribute("id"),t.style.filter="url(#"+e+")")},o.prototype.add=function(t){var e=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,e),this.addDom(e),e},o.prototype.update=function(t,e){var n;a(e.style)?i.prototype.update.call(n=this,e,(function(){n.updateDom(e,e._shadowDom)})):this.remove(t,e)},o.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(t),t.style.filter="")},o.prototype.updateDom=function(t,e){var n,i,o,a,r=0===(r=e.getElementsByTagName("feDropShadow")).length?this.createElement("feDropShadow"):r[0],s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)n=s.shadowOffsetX||0,i=s.shadowOffsetY||0,o=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);n=s.textShadowOffsetX||0,i=s.textShadowOffsetY||0,o=s.textShadowBlur,a=s.textShadowColor}r.setAttribute("dx",n/l),r.setAttribute("dy",i/u),r.setAttribute("flood-color",a),r.setAttribute("stdDeviation",o/2/l+" "+o/2/u),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(o/2*200)+"%"),e.setAttribute("height",Math.ceil(o/2*200)+"%"),e.appendChild(r),t._shadowDom=e},o.prototype.markUsed=function(t){t._shadowDom&&i.prototype.markUsed.call(this,t._shadowDom)},t.exports=o},bcbe:function(t,e,n){var i=n("6d8b"),o=n("fab2"),a=n("2306"),r=n("edb9"),s=n("6679"),l=(n=n("58df"),n.rectCoordAxisBuildSplitArea),u=n.rectCoordAxisHandleRemove,c=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine"],d=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,n,s){var l=this.group,u=(l.removeAll(),this._axisGroup),p=(this._axisGroup=new a.Group,r.layout(t));p=new o(t,p);i.each(c,p.add,p),l.add(this._axisGroup),l.add(p.getGroup()),i.each(h,(function(e){t.get(e+".show")&&this["_"+e](t)}),this),a.groupTransition(u,this._axisGroup,t),d.superCall(this,"render",t,e,n,s)},remove:function(){u(this)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){for(var n=t.getModel("splitLine"),i=n.getModel("lineStyle"),o=i.get("width"),r=(r=i.get("color"))instanceof Array?r:[r],s=t.coordinateSystem.getRect(),l=e.isHorizontal(),u=[],c=0,h=e.getTicksCoords({tickModel:n}),d=[],p=[],f=0;f<h.length;++f){var g=e.toGlobalCoord(h[f].coord);g=(l?(d[0]=g,d[1]=s.y,p[0]=g,p[1]=s.y+s.height):(d[0]=s.x,d[1]=g,p[0]=s.x+s.width,p[1]=g),c++%r.length);u[g]=u[g]||[],u[g].push(new a.Line({subPixelOptimize:!0,shape:{x1:d[0],y1:d[1],x2:p[0],y2:p[1]},style:{lineWidth:o},silent:!0}))}for(f=0;f<u.length;++f)this.group.add(a.mergePath(u[f],{style:{stroke:r[f%r.length],lineDash:i.getLineDash(o),lineWidth:o},silent:!0}))}},_splitArea:function(t){l(this,this._axisGroup,t,t)}});t.exports=d},bd6b:function(t,e,n){function i(){this.animators=[]}var o=n("06ad9"),a=n("4942"),r=(n=n("6d8b"),n.isString),s=n.isFunction,l=n.isObject,u=n.isArrayLike,c=n.indexOf;function h(t,e,n,i,o,a,c,h){r(i)?(a=o,o=i,i=0):s(o)?(a=o,o="linear",i=0):s(i)?(a=i,i=0):n=s(n)?(a=n,500):n||500,t.stopAnimation(),function t(e,n,i,o,a,r,s){var c={},h=0;for(var p in o)o.hasOwnProperty(p)&&(null!=i[p]?l(o[p])&&!u(o[p])?t(e,n?n+"."+p:p,i[p],o[p],a,r,s):(s?(c[p]=i[p],d(e,n,p,o[p])):c[p]=o[p],h++):null==o[p]||s||d(e,n,p,o[p]));0<h&&e.animate(n,!1).when(null==a?500:a,c).delay(r||0)}(t,"",t,e,n,i,h);var p=t.animators.slice(),f=p.length;function g(){--f||a&&a()}f||a&&a();for(var m=0;m<p.length;m++)p[m].done(g).start(o,c)}function d(t,e,n,i){var o;e?((o={})[e]={},o[e][n]=i,t.attr(o)):t.attr(n,i)}i.prototype={constructor:i,animate:function(t,e){var n,i,r,s=!1,l=this,u=this.__zr;if(t){for(var h=t.split("."),d=l,p=(s="shape"===h[0],0),f=h.length;p<f;p++)d=d&&d[h[p]];d&&(n=d)}else n=l;if(n)return i=l.animators,(r=new o(n,e)).during((function(t){l.dirty(s)})).done((function(){i.splice(c(i,r),1)})),i.push(r),u&&u.animation.addAnimator(r),r;a('Property "'+t+'" is not existed in element '+l.id)},stopAnimation:function(t){for(var e=this.animators,n=e.length,i=0;i<n;i++)e[i].stop(t);return e.length=0,this},animateTo:function(t,e,n,i,o,a){h(this,t,e,n,i,o,a)},animateFrom:function(t,e,n,i,o,a){h(this,t,e,n,i,o,a,!0)}},t.exports=i},bd92:function(t,e,n){var i=n("6d8b"),o=n("4f85");n=n("e468").seriesModelMixin,o=o.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(t,e,n){return e=e.getItemLayout(t),e&&n.rect(e.brushRect)}});i.mixin(o,n,!0),t.exports=o},bd9e:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("2306"),a=n("e0d3"),r=n("f4a2"),s=i.each,l=i.indexOf,u=(n=i.curry,["dataToPoint","pointToData"]),c=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function h(t,e,n){var i=this._targetInfoList=[],o={},a=f(e,t);s(g,(function(t,e){n&&n.include&&!(0<=l(n.include,e))||t(a,i,o)}))}var d=h.prototype;function p(t){return t[0]>t[1]&&t.reverse(),t}function f(t,e){return a.parseFinder(t,e,{includeMainTypes:c})}d.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,n){(t.coordRanges||(t.coordRanges=[])).push(e),t.coordRange||(t.coordRange=e,n=v[t.brushType](0,n,e),t.__rangeOffset={offset:_[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax})}))},d.matchOutputRanges=function(t,e,n){s(t,(function(t){var o=this.findTargetInfo(t,e);o&&!0!==o&&i.each(o.coordSyses,(function(i){var o=v[t.brushType](1,i,t.range);n(t,o.values,i,e)}))}),this)},d.setInputRanges=function(t,e){s(t,(function(t){var n,i=this.findTargetInfo(t,e);t.range=t.range||[],i&&!0!==i&&(t.panelId=i.panelId,i=v[t.brushType](0,i.coordSys,t.coordRange),n=t.__rangeOffset,t.range=n?_[t.brushType](i.values,n.offset,function(t,e){return t=w(t),e=w(e),t=[t[0]/e[0],t[1]/e[1]],isNaN(t[0])&&(t[0]=1),isNaN(t[1])&&(t[1]=1),t}(i.xyMinMax,n.xyMinMax)):i.values)}),this)},d.makePanelOpts=function(t,e){return i.map(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e&&e(n),clipPath:r.makeRectPanelClipPath(i),isTargetByCursor:r.makeRectIsTargetByCursor(i,t,n.coordSysModel),getLinearBrushOtherExtent:r.makeLinearBrushOtherExtent(i)}}))},d.controlSeries=function(t,e,n){return t=this.findTargetInfo(t,n),!0===t||t&&0<=l(t.coordSyses,e.coordinateSystem)},d.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=f(e,t),o=0;o<n.length;o++){var a=n[o],r=t.panelId;if(r){if(a.panelId===r)return a}else for(o=0;o<m.length;o++)if(m[o](i,a))return a}return!0};var g={grid:function(t,e){var n=t.xAxisModels,o=t.yAxisModels,a=(t=t.gridModels,i.createHashMap()),r={},u={};(n||o||t)&&(s(n,(function(t){t=t.axis.grid.model,a.set(t.id,t),r[t.id]=!0})),s(o,(function(t){t=t.axis.grid.model,a.set(t.id,t),u[t.id]=!0})),s(t,(function(t){a.set(t.id,t),r[t.id]=!0,u[t.id]=!0})),a.each((function(t){var i=t.coordinateSystem,a=[];s(i.getCartesians(),(function(t,e){(0<=l(n,t.getAxis("x").model)||0<=l(o,t.getAxis("y").model))&&a.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:a[0],coordSyses:a,getPanelRect:y.grid,xAxisDeclared:r[t.id],yAxisDeclared:u[t.id]})})))},geo:function(t,e){s(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:y.geo})}))}},m=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel;t=t.gridModel;return(t=!(t=!t&&n?n.axis.grid.model:t)&&i?i.axis.grid.model:t)&&t===e.gridModel},function(t,e){return t=t.geoModel,t&&t===e.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(o.getTransform(t)),e}},v={lineX:n(x,0),lineY:n(x,1),rect:function(t,e,n){var i=e[u[t]]([n[0][0],n[1][0]]);e=e[u[t]]([n[0][1],n[1][1]]),t=[p([i[0],e[0]]),p([i[1],e[1]])];return{values:t,xyMinMax:t}},polygon:function(t,e,n){var o=[[1/0,-1/0],[1/0,-1/0]];return{values:i.map(n,(function(n){return n=e[u[t]](n),o[0][0]=Math.min(o[0][0],n[0]),o[1][0]=Math.min(o[1][0],n[1]),o[0][1]=Math.max(o[0][1],n[0]),o[1][1]=Math.max(o[1][1],n[1]),n})),xyMinMax:o}}};function x(t,e,n,o){var a=n.getAxis(["x","y"][t]),r=(n=p(i.map([0,1],(function(t){return e?a.coordToData(a.toLocalCoord(o[t])):a.toGlobalCoord(a.dataToCoord(o[t]))}))),[]);return r[t]=n,r[1-t]=[NaN,NaN],{values:n,xyMinMax:r}}var _={lineX:n(b,0),lineY:n(b,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return i.map(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function b(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function w(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}t.exports=h},bda7:function(t,e,n){var i=n("6d8b"),o=n("f279");function a(t,e,n){for(var i=[],o=e[0],a=e[1],r=0;r<t.length;r+=2){var s=(s=t.charCodeAt(r)-64)>>1^-(1&s),l=(l=t.charCodeAt(r+1)-64)>>1^-(1&l);i.push([(o=s+=o)/n,(a=l+=a)/n])}return i}t.exports=function(t,e){var n=t;if(n.UTF8Encoding){for(var r=n.UTF8Scale,s=(null==r&&(r=1024),n.features),l=0;l<s.length;l++)for(var u=s[l].geometry,c=u.coordinates,h=u.encodeOffsets,d=0;d<c.length;d++){var p=c[d];if("Polygon"===u.type)c[d]=a(p,h[d],r);else if("MultiPolygon"===u.type)for(var f=0;f<p.length;f++){var g=p[f];p[f]=a(g,h[d][f],r)}}n.UTF8Encoding=!1}return i.map(i.filter(t.features,(function(t){return t.geometry&&t.properties&&0<t.geometry.coordinates.length})),(function(t){var n=t.properties,a=(t=t.geometry,t.coordinates),r=[];"Polygon"===t.type&&r.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===t.type&&i.each(a,(function(t){t[0]&&r.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})})),t=new o(n[e||"name"],r,n.cp);return t.properties=n,t}))}},bdc0:function(t,e,n){var i=n("3eba");n("d2a5"),i.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},bf9b:function(t,e,n){var i=n("3eba"),o=n("d81e").updateCenterAndZoom;i.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex;e=e.getData().tree.getNodeByDataIndex(n);e.isExpand=!e.isExpand}))})),i.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=e.coordinateSystem;n=o(n,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))},c037:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=(n("f7c6"),n("1ab3"),n("7782")),r=n("98e7"),s=n("292e");n=n("d3f47");a("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),i.registerVisual(r("pie")),i.registerLayout(o.curry(s,"pie")),i.registerProcessor(n("pie"))},c2be:function(t,e,n){n=(0,n("2306").extendShape)({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var n=e.cx,i=e.cy,o=Math.max(e.r0||0,0),a=Math.max(e.r,0),r=.5*(a-o),s=o+r,l=e.startAngle,u=e.endAngle,c=(e=e.clockwise,Math.cos(l)),h=Math.sin(l),d=Math.cos(u),p=Math.sin(u);(e?u-l<2*Math.PI:l-u<2*Math.PI)&&(t.moveTo(c*o+n,h*o+i),t.arc(c*s+n,h*s+i,r,-Math.PI+l,l,!e)),t.arc(n,i,a,l,u,!e),t.moveTo(d*a+n,p*a+i),t.arc(d*s+n,p*s+i,r,u-2*Math.PI,u-Math.PI,!e),0!==o&&(t.arc(n,i,o,u,l,e),t.moveTo(c*o+n,p*o+i)),t.closePath()}}),t.exports=n},c2dd:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("fc82"),r=n("10cc").layoutCovers;n=i.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new a(e.getZr())).on("brush",o.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,s.apply(this,arguments)},updateTransform:function(t,e){return r(e),s.apply(this,arguments)},updateView:s,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),e.isEnd&&!e.removeOnClick||this.api.dispatchAction({type:"brush",brushId:n,areas:o.clone(t),$from:n}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:o.clone(t),$from:n})}});function s(t,e,n,i){i&&i.$from===t.id||this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=n},c4a3:function(t,e){t.exports=function(t,e){this.getAllNames=function(){var t=e();return t.mapArray(t.getName)},this.containName=function(t){return 0<=e().indexOfName(t)},this.indexOfName=function(e){return t().indexOfName(e)},this.getItemVisual=function(e,n){return t().getItemVisual(e,n)}}},c515:function(t,e,n){n("849b"),n("8459"),n("b006")},c526:function(t,e){var n={axisPointer:1,tooltip:1,brush:1};e.onIrrelevantElement=function(t,e,i){return e=e.getComponentByElement(t.topTarget),t=e&&e.coordinateSystem,e&&e!==i&&!n[e.mainType]&&t&&t.model!==i}},c533:function(t,e){var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];t.exports={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]}},c62c:function(t,e,n){var i=n("6d8b"),o=n("6cb7"),a=n("9e47");n=n("2023"),o=o.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});i.merge(o.prototype,n),a("single",o,(function(t,e){return e.type||(e.data?"category":"value")}),{left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}}),t.exports=o},c775f:function(t,e,n){var i=n("2b17").retrieveRawValue;e.getDefaultLabel=function(t,e){var n=t.mapDimension("defaultedLabel",!0),o=n.length;if(1===o)return i(t,e,n[0]);if(o){for(var a=[],r=0;r<n.length;r++){var s=i(t,e,n[r]);a.push(s)}return a.join(" ")}}},c7a2:function(t,e,n){var i=n("cbe5"),o=n("5693"),a=n("9cf9").subPixelOptimizeRect,r={};n=i.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var n,i,s,l;this.subPixelOptimize?(a(r,e,this.style),n=r.x,i=r.y,s=r.width,l=r.height,r.r=e.r,e=r):(n=e.x,i=e.y,s=e.width,l=e.height),e.r?o.buildPath(t,e):t.rect(n,i,s,l),t.closePath()}});t.exports=n},c8ef:function(t,e,n){var i=n("6d8b"),o=n("a15a").createSymbol,a=n("2306").Group,r=n("3842").parsePercent,s=n("1418");function l(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}function u(t,e){a.call(this);var n=new s(t,e),i=new a;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(t,e)}n=u.prototype,n.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=this.childAt(1),a=0;a<3;a++){var r=o(e,-1,-1,2,2,n),s=(r.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]}),-a/3*t.period+t.effectOffset);r.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(s).start(),r.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),i.add(r)}l(i,t)},n.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],o=0;o<i.length;o++){var a=i[o];if(e[a]!==t[a])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}l(n,t)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateData=function(t,e){var n,o=t.hostModel,a=(this.childAt(0).updateData(t,e),this.childAt(1)),s=t.getItemModel(e),l=t.getItemVisual(e,"symbol"),u=(u=t.getItemVisual(e,"symbolSize"),u=i.isArray(u)?u:[+u,+u]),c=t.getItemVisual(e,"color"),h=(a.attr("scale",u),a.traverse((function(t){t.attr({fill:c})})),s.getShallow("symbolOffset")),d=(h&&((d=a.position)[0]=r(h[0],u[0]),d[1]=r(h[1],u[1])),t.getItemVisual(e,"symbolRotate")),p=(a.rotation=(d||0)*Math.PI/180||0,{});p.showEffectOn=o.get("showEffectOn"),p.rippleScale=s.get("rippleEffect.scale"),p.brushType=s.get("rippleEffect.brushType"),p.period=1e3*s.get("rippleEffect.period"),p.effectOffset=e/t.count(),p.z=s.getShallow("z")||0,p.zlevel=s.getShallow("zlevel")||0,p.symbolType=l,p.color=c,p.rippleEffectColor=s.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===p.showEffectOn?(this._effectCfg?this.updateEffectAnimation(p):this.startEffectAnimation(p),this._effectCfg=p):(this._effectCfg=null,this.stopEffectAnimation(),n=this.childAt(0),h=function(){n.downplay(),"render"!==p.showEffectOn&&this.stopEffectAnimation()},this.on("mouseover",u=function(){n.highlight(),"render"!==p.showEffectOn&&this.startEffectAnimation(p)},this).on("mouseout",h,this).on("emphasis",u,this).on("normal",h,this)),this._effectCfg=p},n.fadeOut=function(t){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),t&&t()},i.inherits(u,a),t.exports=u},c92f:function(t,e,n){var i=n("3041"),o=i.parseSVG,a=i.makeViewBoxTransform,r=n("e1fc"),s=n("c7a2"),l=(i=n("6d8b"),i.assert),u=i.createHashMap,c=n("9850"),h=(0,n("e0d3").makeInner)();function d(t,e){t=t.svgXML;try{n=(u=t&&o(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{}).root,l(null!=n)}catch(t){throw new Error("Invalid svg format\n"+t.message)}t=u.width;var n,i=u.height,u=u.viewBoxRect;return e||(e=null==t||null==i?n.getBoundingRect():new c(0,0,0,0),null!=t&&(e.width=t),null!=i&&(e.height=i)),u&&(t=a(u,e.width,e.height),i=n,(n=new r).add(i),i.scale=t.scale,i.position=t.position),n.setClipPath(new s({shape:e.plain()})),{root:n,boundingRect:e}}t.exports={load:function(t,e){var n=h(e).originRoot;return n?{root:n,boundingRect:h(e).boundingRect}:(n=d(e),h(e).originRoot=n.root,h(e).boundingRect=n.boundingRect,n)},makeGraphic:function(t,e,n){var i,o,a,r=h(e),s=r.rootMap||(r.rootMap=u());return(a=s.get(n))||(i=r.originRoot,o=r.boundingRect,a=r.originRootHostKey?d(e,o).root:(r.originRootHostKey=n,i),s.set(n,a))},removeGraphic:function(t,e,n){e=h(e);var i=e.rootMap;i&&i.removeKey(n),n===e.originRootHostKey&&(e.originRootHostKey=null)}}},c965:function(t,e,n){var i=n("2306"),o=n("a15a").createSymbol,a=n("392f"),r=i.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(t,e){var n=e.points,i=e.size,o=this.symbolProxy,a=o.shape;e=(t.getContext?t.getContext():t)&&i[0]<4;if(!e)for(var r=0;r<n.length;){var s=n[r++],l=n[r++];isNaN(s)||isNaN(l)||this.softClipShape&&!this.softClipShape.contain(s,l)||(a.x=s-i[0]/2,a.y=l-i[1]/2,a.width=i[0],a.height=i[1],o.buildPath(t,a,!0))}},afterBrush:function(t){var e=this.shape,n=e.points,i=e.size;if(i[0]<4){this.setTransform(t);for(var o=0;o<n.length;){var a=n[o++],r=n[o++];isNaN(a)||isNaN(r)||this.softClipShape&&!this.softClipShape.contain(a,r)||t.fillRect(a-i[0]/2,r-i[1]/2,i[0],i[1])}this.restoreTransform(t)}},findDataIndex:function(t,e){for(var n=this.shape,i=n.points,o=(n=n.size,Math.max(n[0],4)),a=Math.max(n[1],4),r=i.length/2-1;0<=r;r--){var s=2*r,l=i[s]-o/2;s=i[1+s]-a/2;if(l<=t&&s<=e&&t<=l+o&&e<=s+a)return r}return-1}});function s(){this.group=new i.Group}n=s.prototype,n.isPersistent=function(){return!this._incremental},n.updateData=function(t,e){this.group.removeAll();var n=new r({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},n.updateLayout=function(t){var e;this._incremental||(e=t.getLayout("symbolPoints"),this.group.eachChild((function(t){var n,i;null!=t.startIndex&&(n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2,e=new Float32Array(e.buffer,i,n)),t.setShape("points",e)})))},n.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),2e6<t.count()?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},n.incrementalUpdate=function(t,e,n){var i;this._incremental?(i=new r,this._incremental.addDisplayable(i,!0)):((i=new r({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(i)),i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!!this._incremental,n)},n._setCommon=function(t,e,n,i){var a=e.hostModel,r=(i=i||{},e.getVisual("symbolSize"));t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=i.clipShape||null,t.symbolProxy=o(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor,r=t.shape.size[0]<4,t.useStyle(a.getModel("itemStyle").getItemStyle(r?["color","shadowBlur","shadowColor"]:["color"])),i=e.getVisual("color");i&&t.setColor(i),n||(t.seriesIndex=a.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null,e=t.findDataIndex(e.offsetX,e.offsetY),0<=e&&(t.dataIndex=e+(t.startIndex||0))})))},n.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},n._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=s},ca29:function(t,e,n){var i=n("6d9a"),o=i.eachAfter,a=i.eachBefore,r=(i=n("22da"),i.init),s=i.firstWalk,l=i.secondWalk,u=i.separation,c=i.radialCoordinate,h=i.getViewRect;t.exports=function(t,e){t.eachSeriesByType("tree",(function(t){var n=h(t,n=e),i=(t.layoutInfo=n,t.get("layout")),d=0,p=0,f=null;f="radial"===i?(d=2*Math.PI,p=Math.min(n.height,n.width)/2,u((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(d=n.width,p=n.height,u());var g,m,y,v,x,_,b,w,S,M=(n=t.getData().tree.root).children[0];M&&(r(n),o(M,s,f),n.hierNode.modifier=-M.hierNode.prelim,a(M,l),a(y=m=g=M,(function(t){var e=t.getLayout().x;e<g.getLayout().x&&(g=t),e>m.getLayout().x&&(m=t),t.depth>y.depth&&(y=t)})),n=g===m?1:f(g,m)/2,v=n-g.getLayout().x,w=b=_=x=0,"radial"===i?(x=d/(m.getLayout().x+n+v),_=p/(y.depth-1||1),a(M,(function(t){b=(t.getLayout().x+v)*x,w=(t.depth-1)*_;var e=c(b,w);t.setLayout({x:e.x,y:e.y,rawX:b,rawY:w},!0)}))):"RL"===(S=t.getOrient())||"LR"===S?(_=p/(m.getLayout().x+n+v),x=d/(y.depth-1||1),a(M,(function(t){w=(t.getLayout().x+v)*_,b="LR"===S?(t.depth-1)*x:d-(t.depth-1)*x,t.setLayout({x:b,y:w},!0)}))):"TB"!==S&&"BT"!==S||(x=d/(m.getLayout().x+n+v),_=p/(y.depth-1||1),a(M,(function(t){b=(t.getLayout().x+v)*x,w="TB"===S?(t.depth-1)*_:p-(t.depth-1)*_,t.setLayout({x:b,y:w},!0)}))))}))}},ca98:function(t,e,n){var i=n("6d8b"),o=n("e0d3"),a=n("6cb7"),r=i.each,s=i.clone,l=i.map,u=i.merge,c=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}h.prototype={constructor:h,setOption:function(t,e){t&&i.each(o.normalizeToArray(t.series),(function(t){t&&t.data&&i.isTypedArray(t.data)&&i.setAsPrimitive(t.data)})),t=s(t);var n,c=this._optionBackup;t=function(t,e,n){var o,a,s,l=[],u=[],c=t.timeline;return t.baseOption&&(a=t.baseOption),(c||t.options)&&(a=a||{},l=(t.options||[]).slice()),t.media&&(a=a||{},s=t.media,r(s,(function(t){t&&t.option&&(t.query?u.push(t):o=o||t)}))),a=a||t,a.timeline||(a.timeline=c),r([a].concat(l).concat(i.map(u,(function(t){return t.option}))),(function(t){r(e,(function(e){e(t,n)}))})),{baseOption:a,timelineOptions:l,mediaDefault:o,mediaList:u}}.call(this,t,e,!c);this._newBaseOption=t.baseOption,c?(n=c.baseOption,e=t.baseOption,r(e=e||{},(function(t,e){var i,r;null!=t&&(i=n[e],a.hasClass(e)?(t=o.normalizeToArray(t),i=o.normalizeToArray(i),r=o.mappingToExists(i,t),n[e]=l(r,(function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option}))):n[e]=u(i,t,!0))})),t.timelineOptions.length&&(c.timelineOptions=t.timelineOptions),t.mediaList.length&&(c.mediaList=t.mediaList),t.mediaDefault&&(c.mediaDefault=t.mediaDefault)):this._optionBackup=t},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,n=this._timelineOptions;return n.length&&(t=t.getComponent("timeline"))?s(n[t.getCurrentIndex()],!0):e},getMediaOption:function(t){var e=this._api.getWidth(),n=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,r=[],u=[];if(o.length||a){for(var h,d,p=0,f=o.length;p<f;p++)!function(t,e,n){var o={width:e,height:n,aspectratio:e/n},a=!0;return i.each(t,(function(t,e){var n;e=e.match(c);e&&e[1]&&e[2]&&(n=e[1],e=e[2].toLowerCase(),e=o[e],t=t,("min"===(n=n)?t<=e:"max"===n?e<=t:e===t)||(a=!1))})),a}(o[p].query,e,n)||r.push(p);(r=!r.length&&a?[-1]:r).length&&(h=r,d=this._currentMediaIndices,h.join(",")!==d.join(","))&&(u=l(r,(function(t){return s((-1===t?a:o[t]).option)}))),this._currentMediaIndices=r}return u}},t.exports=h},cb11:function(t,e,n){var i=n("cbe5"),o=n("9cf9").subPixelOptimizeLine,a={};n=i.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n,i,r,s=(this.subPixelOptimize?(o(a,e,this.style),n=a.x1,i=a.y1,r=a.x2,a):(n=e.x1,i=e.y1,r=e.x2,e)).y2;e=e.percent;0!==e&&(t.moveTo(n,i),e<1&&(r=n*(1-e)+r*e,s=i*(1-e)+s*e),t.lineTo(r,s))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=n},cb69:function(t,e,n){var i=n("3301");n=n("4f85").extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return i(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});t.exports=n},cb6d:function(t,e){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function i(t,e){return{target:t,topTarget:e&&e.topTarget}}n.prototype={constructor:n,_dragStart:function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent;e&&((this._draggingTarget=e).dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(i(e,t),"dragstart",t.event))},_drag:function(t){var e,n,o,a,r=this._draggingTarget;r&&(e=t.offsetX,n=t.offsetY,o=e-this._x,a=n-this._y,this._x=e,this._y=n,r.drift(o,a,t),this.dispatchToElement(i(r,t),"drag",t.event),o=this.findHover(e,n,r).target,a=this._dropTarget,r!==(this._dropTarget=o))&&(a&&o!==a&&this.dispatchToElement(i(a,t),"dragleave",t.event),o)&&o!==a&&this.dispatchToElement(i(o,t),"dragenter",t.event)},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(i(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(i(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}},t.exports=n},cb73:function(t,e,n){var i=n("3842").parsePercent,o=n("6d8b"),a=Math.PI/180;function r(t,e){var n;return"function"==typeof e?t.sort(e):(n="asc"===e,t.sort((function(t,e){var i=(t.getValue()-e.getValue())*(n?1:-1);return 0==i?(t.dataIndex-e.dataIndex)*(n?-1:1):i})))}t.exports=function(t,e,n,s){e.eachSeriesByType(t,(function(t){var e=t.get("center"),s=t.get("radius"),l=(o.isArray(s)||(s=[0,s]),o.isArray(e)||(e=[e,e]),n.getWidth()),u=n.getHeight(),c=Math.min(l,u),h=i(e[0],l),d=i(e[1],u),p=i(s[0],c/2),f=(l=i(s[1],c/2),e=-t.get("startAngle")*a,t.get("minAngle")*a),g=t.getData().tree.root,m=(u=t.getViewRoot(),u.depth),y=(s=t.get("sort"),null!=s&&function t(e,n){var i=e.children||[];e.children=r(i,n),i.length&&o.each(e.children,(function(e){t(e,n)}))}(u,s),0),v=(o.each(u.children,(function(t){isNaN(t.getValue())||y++})),u.getValue()),x=Math.PI/(v||y)*2,_=0<u.depth,b=(s=u.height-(_?-1:1),(l-p)/(s||1)),w=t.get("clockwise"),S=t.get("stillShowZeroSum"),M=w?1:-1,I=function(t,e){var n,a,r,s,l,u;if(t)return n=e,t!==g&&(a=t.getValue(),n=e+M*(a=(a=0===v&&S?x:a*x)<f?f:a),s=t.depth-m-(_?-1:1),r=p+b*s,s=p+b*(1+s),null!=(l=t.getModel()).get("r0")&&(r=i(l.get("r0"),c/2)),null!=l.get("r")&&(s=i(l.get("r"),c/2)),t.setLayout({angle:a,startAngle:e,endAngle:n,clockwise:w,cx:h,cy:d,r0:r,r:s})),t.children&&t.children.length&&(u=0,o.each(t.children,(function(t){u+=I(t,e+u)}))),n-e};_&&(l=2*Math.PI,g.setLayout({angle:l,startAngle:e,endAngle:e+l,clockwise:w,cx:h,cy:d,r0:p,r:p+b})),I(u,e)}))}},cb8f:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("cd33"),r=n("eb6b");n("48ac"),n("d4b1"),n("4a9d"),i.registerPreprocessor((function(t){var e;t&&(t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={}),e=t.axisPointer.link)&&!o.isArray(e)&&(t.axisPointer.link=[e])})),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=a.collect(t,e)})),i.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},r)},cbb0:function(t,e,n){var i=n("6d8b"),o=n("f934").getLayoutRect;e.getItemAlign=function(t,e,n){var i=t.option;if(null!=(t=i.align)&&"auto"!==t)return t;t={width:e.getWidth(),height:e.getHeight()};for(var a="horizontal"===i.orient?1:0,r=[["left","right","width"],["top","bottom","height"]],s=r[a],l=[0,null,10],u={},c=0;c<3;c++)u[r[1-a][c]]=l[c],u[s[c]]=2===c?n[0]:i[s[c]];e=[["x","width",3],["y","height",0]][a];var h=o(u,t,i.padding);return s[(h.margin[e[2]]||0)+h[e[0]]+.5*h[e[1]]<.5*t[e[1]]?0:1]},e.makeHighDownBatch=function(t,e){return i.each(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}},cbe5:function(t,e,n){var i=n("19eb"),o=n("6d8b"),a=n("20c8"),r=n("d833"),s=n("dc2f").prototype.getCanvasPattern,l=Math.abs,u=new a(!0);function c(t){i.call(this,t),this.path=null}c.prototype={constructor:c,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n,i=this.style,o=this.path||u,a=i.hasStroke(),r=i.hasFill(),l=i.fill,c=i.stroke,h=r&&!!l.colorStops,d=a&&!!c.colorStops,p=r&&!!l.image,f=a&&!!c.image,g=(e=(i.bind(t,this,e),this.setTransform(t),this.__dirty&&(h&&(g=g||this.getBoundingRect(),this._fillGradient=i.getGradient(t,l,g)),d)&&(g=g||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,c,g)),h?t.fillStyle=this._fillGradient:p&&(t.fillStyle=s.call(l,t)),d?t.strokeStyle=this._strokeGradient:f&&(t.strokeStyle=s.call(c,t)),i.lineDash),i.lineDashOffset);h=!!t.setLineDash,p=this.getGlobalScale();o.setScale(p[0],p[1],this.segmentIgnoreThreshold),this.__dirtyPath||e&&!h&&a?(o.beginPath(t),e&&!h&&(o.setLineDash(e),o.setLineDashOffset(g)),this.buildPath(o,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),r&&(null!=i.fillOpacity?(n=t.globalAlpha,t.globalAlpha=i.fillOpacity*i.opacity,o.fill(t),t.globalAlpha=n):o.fill(t)),e&&h&&(t.setLineDash(e),t.lineDashOffset=g),a&&(null!=i.strokeOpacity?(n=t.globalAlpha,t.globalAlpha=i.strokeOpacity*i.opacity,o.stroke(t),t.globalAlpha=n):o.stroke(t)),e&&h&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new a},getBoundingRect:function(){var t,e,n=this._rect,i=this.style,o=!n;return o&&(t=(t=this.path)||(this.path=new a),this.__dirtyPath&&(t.beginPath(),this.buildPath(t,this.shape,!1)),n=t.getBoundingRect()),this._rect=n,i.hasStroke()?(t=this._rectWithStroke||(this._rectWithStroke=n.clone()),(this.__dirty||o)&&(t.copy(n),o=i.lineWidth,e=i.strokeNoScale?this.getLineScale():1,i.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),1e-10<e)&&(t.width+=o/e,t.height+=o/e,t.x-=o/e/2,t.y-=o/e/2),t):n},contain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),o=this.style;if(t=n[0],e=n[1],i.contain(t,e)){if(n=this.path.data,o.hasStroke()){i=o.lineWidth;var a=o.strokeNoScale?this.getLineScale():1;if(1e-10<a&&(o.hasFill()||(i=Math.max(i,this.strokeContainThreshold)),r.containStroke(n,i/a,t,e)))return!0}if(o.hasFill())return r.contain(n,t,e)}return!1},dirty:function(t){(t=null==t||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):i.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(o.isObject(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&1e-10<l(t[0]-1)&&1e-10<l(t[3]-1)?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},c.extend=function(t){function e(e){c.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i,o=this.shape;for(i in n)!o.hasOwnProperty(i)&&n.hasOwnProperty(i)&&(o[i]=n[i])}t.init&&t.init.call(this,e)}for(var n in o.inherits(e,c),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},o.inherits(c,i),t.exports=c},cbe9:function(t,e,n){var i=n("6d8b"),o=n("9850"),a=n("cf7e");function r(t){a.call(this,t)}r.prototype={constructor:r,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"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,n){var i=this.getAxis("x"),o=this.getAxis("y");return(n=n||[])[0]=i.toGlobalCoord(i.dataToCoord(t[0])),n[1]=o.toGlobalCoord(o.dataToCoord(t[1])),n},clampData:function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,o=n.getExtent(),a=i.getExtent();n=n.parse(t[0]),i=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(o[0],o[1]),n),Math.max(o[0],o[1])),e[1]=Math.min(Math.max(Math.min(a[0],a[1]),i),Math.max(a[0],a[1])),e},pointToData:function(t,e){var n=this.getAxis("x"),i=this.getAxis("y");return(e=e||[])[0]=n.coordToData(n.toLocalCoord(t[0])),e[1]=i.coordToData(i.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(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]);t=Math.max(t[0],t[1])-n,e=Math.max(e[0],e[1])-i;return new o(n,i,t,e)}},i.inherits(r,a),t.exports=r},cc39:function(t,e,n){function i(t,e,n,i){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n}var o=n("6d8b"),a=n("3842"),r=n("50e5"),s=n("ef6a4"),l=o.each,u=a.asc;function c(t,e){var n,i=t.getAxisModel(),o=t._percentWindow;t=t._valueWindow;o&&(n=a.getPixelPrecision(t,[0,500]),n=Math.min(n,20),e=e||0===o[0]&&100===o[1],i.setRange(e?null:+t[0].toFixed(n),e?null:+t[1].toFixed(n)))}i.prototype={constructor:i,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(n){var i;r.isCoordSupported(n.get("coordinateSystem"))&&(i=this._dimName,i=e.queryComponents({mainType:i+"Axis",index:n.get(i+"AxisIndex"),id:n.get(i+"AxisId")})[0],this._axisIndex===(i&&i.componentIndex))&&t.push(n)}),this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,n=this._dimName,i=this.ecModel,o=this.getAxisModel();n="x"===n||"y"===n?(t="gridIndex","x"===n?"y":"x"):(t="polarIndex","angle"===n?"radius":"angle");return i.eachComponent(n+"Axis",(function(n){(n.get(t)||0)===(o.get(t)||0)&&(e=n)})),e},getMinMaxSpan:function(){return o.clone(this._minMaxSpan)},calculateDataWindow:function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,o=this._dataZoomModel.getRangePropMode(),r=[0,100],c=[],h=[],d=(l(["start","end"],(function(s,l){var u=t[s];s=t[s+"Value"];"percent"===o[l]?s=i.parse(a.linearMap(u=null==u?r[l]:u,r,n)):(e=!0,s=null==s?n[l]:i.parse(s),u=a.linearMap(s,n,r)),h[l]=s,c[l]=u})),u(h),u(c),this._minMaxSpan);function p(t,e,n,o,r){var l=r?"Span":"ValueSpan";s(0,t,n,"all",d["min"+l],d["max"+l]);for(var u=0;u<2;u++)e[u]=a.linearMap(t[u],n,o,!0),r&&(e[u]=i.parse(e[u]))}return e?p(h,c,n,r,!1):p(c,h,r,n,!0),{valueWindow:h,percentWindow:c}},reset:function(t){var e,n,i,o,r;t===this._dataZoomModel&&(r=this.getTargetSeriesModels(),this._dataExtent=function(t,e,n){var i=[1/0,-1/0];return l(n,(function(t){var n=t.getData();n&&l(n.mapDimension(e,!0),(function(t){t=n.getApproximateExtent(t),t[0]<i[0]&&(i[0]=t[0]),t[1]>i[1]&&(i[1]=t[1])}))})),i[1]<i[0]&&(i=[NaN,NaN]),function(t,e){t=t.getAxisModel();var n=t.getMin(!0),i="category"===t.get("type"),o=i&&t.getCategories().length;null!=n&&"dataMin"!==n&&"function"!=typeof n?e[0]=n:i&&(e[0]=0<o?0:NaN),n=t.getMax(!0),null!=n&&"dataMax"!==n&&"function"!=typeof n?e[1]=n:i&&(e[1]=0<o?o-1:NaN),t.get("scale",!0)||(0<e[0]&&(e[0]=0),e[1]<0&&(e[1]=0))}(t,i),i}(this,this._dimName,r),n=(e=this)._minMaxSpan={},i=e._dataZoomModel,o=e._dataExtent,l(["min","max"],(function(t){var r=i.get(t+"Span"),s=i.get(t+"ValueSpan");null!=(s=null!=s?e.getAxisModel().axis.scale.parse(s):s)?r=a.linearMap(o[0]+s,o,[0,100],!0):null!=r&&(s=a.linearMap(r,[0,100],o,!0)-o[0]),n[t+"Span"]=r,n[t+"ValueSpan"]=s})),r=this.calculateDataWindow(t.settledOption),this._valueWindow=r.valueWindow,this._percentWindow=r.percentWindow,c(this))},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,c(this,!0))},filterData:function(t,e){var n,i,o,a;t===this._dataZoomModel&&(n=this._dimName,i=this.getTargetSeriesModels(),o=t.get("filterMode"),a=this._valueWindow,"none"!==o)&&l(i,(function(t){var e=t.getData(),i=e.mapDimension(n,!0);i.length&&("weakFilter"===o?e.filterSelf((function(t){for(var n,o,r,s=0;s<i.length;s++){var l=e.get(i[s],t),u=!isNaN(l),c=l<a[0];l=l>a[1];if(u&&!c&&!l)return!0;u&&(r=!0),c&&(n=!0),l&&(o=!0)}return r&&n&&o})):l(i,(function(n){var i;"empty"===o?t.setData(e=e.map(n,(function(t){return(e=t)>=a[0]&&e<=a[1]?t:NaN;var e}))):((i={})[n]=a,e.selectRange(i))})),l(i,(function(t){e.setApproximateExtent(a,t)})))}))}},t.exports=i},cccd:function(t,e,n){var i=n("e0d3").makeInner;t.exports=function(){var t=i();return function(e){var n=t(e),i=(e=e.pipelineContext,n.large),o=n.progressiveRender,a=n.large=e&&e.large;n=n.progressiveRender=e&&e.progressiveRender;return!!(i^a||o^n)&&"reset"}}},cd12:function(t,e,n){n("01ed"),n("4a9d"),n("cb8f")},cd33:function(t,e,n){var i=n("6d8b"),o=n("4319"),a=i.each,r=i.curry;function s(t,e){return"all"===t||i.isArray(t)&&0<=i.indexOf(t,e)||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){return!!t.get("handle.show")}function c(t){return t.type+"||"+t.id}e.collect=function(t,e){var n,l,h,d,p,f,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n=g,e=e,h=(l=t).getComponent("tooltip"),d=l.getComponent("axisPointer"),p=d.get("link",!0)||[],f=[],a(e.getCoordinateSystems(),(function(t){var e,g,m,y,v;function x(r,h,m){var y,v=m.model.getModel("axisPointer",d),x=v.get("show");x&&("auto"!==x||r||u(v))&&(null==h&&(h=v.get("triggerTooltip")),x=(v=r?function(t,e,n,r,s,l){var u=e.getModel("axisPointer"),c={};return a(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){c[t]=i.clone(u.get(t))})),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line"),e=c.label||(c.label={}),null==e.show&&(e.show=!1),"cross"===s&&(s=u.get("label.show"),e.show=null==s||s,l||(s=c.lineStyle=u.get("crossStyle"))&&i.defaults(e,s.textStyle)),t.model.getModel("axisPointer",new o(c,n,r))}(m,g,d,l,r,h):v).get("snap"),r=c(m.model),y=h||x||"category"===m.type,h=n.axesInfo[r]={key:r,axis:m,coordSys:t,axisPointerModel:v,triggerTooltip:h,involveSeries:y,snap:x,useHandle:u(v),seriesModels:[]},e[r]=h,n.seriesInvolved|=y,null!=(x=function(t,e){for(var n=e.model,i=e.dim,o=0;o<t.length;o++){var a=t[o]||{};if(s(a[i+"AxisId"],n.id)||s(a[i+"AxisIndex"],n.componentIndex)||s(a[i+"AxisName"],n.name))return o}}(p,m)))&&((v=f[x]||(f[x]={axesInfo:{}})).axesInfo[r]=h,v.mapper=p[x].mapper,h.linkGroup=v)}t.axisPointerEnabled&&(m=c(t.model),e=n.coordSysAxesInfo[m]={},g=(n.coordSysMap[m]=t).model.getModel("tooltip",h),a(t.getAxes(),r(x,!1,null)),t.getTooltipAxes)&&h&&g.get("show")&&(m="axis"===g.get("trigger"),y="cross"===g.get("axisPointer.type"),v=t.getTooltipAxes(g.get("axisPointer.axis")),(m||y)&&a(v.baseAxes,r(x,!y||"cross",m)),y)&&a(v.otherAxes,r(x,"cross",!1))})),g.seriesInvolved&&function(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get("tooltip.trigger",!0),o=e.get("tooltip.show",!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==o&&!1!==e.get("axisPointer.show",!0)&&a(t.coordSysAxesInfo[c(n.model)],(function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}),this)}(g,t),g},e.fixValue=function(t){var e,n,i,o,a;(t=l(t))&&(o=t.axisPointerModel,e=t.axis.scale,n=o.option,a=o.get("status"),null!=(i=o.get("value"))&&(i=e.parse(i)),o=u(o),null==a&&(n.status=o?"show":"hide"),(a=e.getExtent().slice())[0]>a[1]&&a.reverse(),(i=null==i||i>a[1]?a[1]:i)<a[0]&&(i=a[0]),n.value=i,o)&&(n.status=t.axis.scale.isBlank()?"hide":"show")},e.getAxisInfo=l,e.getAxisPointerModel=function(t){return(t=l(t))&&t.axisPointerModel},e.makeKey=c},cd84:function(t,e,n){var i=n("6d8b");function o(){var t=i.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}o.prototype={update:function(t,e,n,i,o,a){var r=this._getBrush(),s=this._getGradient(t,o,"inRange"),l=this._getGradient(t,o,"outOfRange"),u=this.pointSize+this.blurSize,c=(o=this.canvas,o.getContext("2d")),h=t.length;o.width=e,o.height=n;for(var d=0;d<h;++d){var p=t[d],f=p[0],g=p[1],m=i(p[2]);c.globalAlpha=m,c.drawImage(r,f-u,g-u)}if(o.width&&o.height){e=c.getImageData(0,0,o.width,o.height);for(var y=e.data,v=0,x=y.length,_=this.minOpacity,b=this.maxOpacity-_;v<x;){m=y[v+3]/256;var w,S=4*Math.floor(255*m);0<m?(w=a(m)?s:l,0<m&&(m=m*b+_),y[v++]=w[S],y[v++]=w[1+S],y[v++]=w[2+S],y[v++]=w[3+S]*m*256):v+=4}c.putImageData(e,0,0)}return o},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=i.createCanvas()),e=this.pointSize+this.blurSize,n=2*e,o=(t.width=n,t.height=n,t.getContext("2d"));return o.clearRect(0,0,n,n),o.shadowOffsetX=n,o.shadowBlur=this.blurSize,o.shadowColor="#000",o.beginPath(),o.arc(-e,e,this.pointSize,0,2*Math.PI,!0),o.closePath(),o.fill(),t},_getGradient:function(t,e,n){for(var i=this._gradientPixels,o=i[n]||(i[n]=new Uint8ClampedArray(1024)),a=[0,0,0,0],r=0,s=0;s<256;s++)e[n](s/255,!0,a),o[r++]=a[0],o[r++]=a[1],o[r++]=a[2],o[r++]=a[3];return o}},t.exports=o},cdaa:function(t,e,n){var i,o=n("607d"),a=o.addEventListener,r=o.removeEventListener,s=o.normalizeEvent,l=o.getNativeEvent,u=n("6d8b"),c=n("1fab"),h=n("22d1"),d=h.domSupported,p=(i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:o=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:u.map(o,(function(t){var e=t.replace("mouse","pointer");return i.hasOwnProperty(e)?e:t}))}),f={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function g(t){return"mousewheel"===t&&h.browser.firefox?"DOMMouseScroll":t}function m(t){return t=t.pointerType,"pen"===t||"touch"===t}function y(t){t&&(t.zrByTouch=!0)}function v(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}function x(t,e){this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}n=x.prototype;var _=(n.stopPropagation=n.stopImmediatePropagation=n.preventDefault=u.noop,{mousedown:function(t){t=s(this.dom,t),this._mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=s(this.dom,t);var e=this._mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||T(this,!0),this.trigger("mousemove",t)},mouseup:function(t){t=s(this.dom,t),T(this,!1),this.trigger("mouseup",t)},mouseout:function(t){t=s(this.dom,t),this._pointerCapturing&&(t.zrEventControl="no_globalout");var e=t.toElement||t.relatedTarget;t.zrIsToLocalDOM=v(this,e),this.trigger("mouseout",t)},touchstart:function(t){y(t=s(this.dom,t)),this._lastTouchMoment=new Date,this.handler.processGesture(t,"start"),_.mousemove.call(this,t),_.mousedown.call(this,t)},touchmove:function(t){y(t=s(this.dom,t)),this.handler.processGesture(t,"change"),_.mousemove.call(this,t)},touchend:function(t){y(t=s(this.dom,t)),this.handler.processGesture(t,"end"),_.mouseup.call(this,t),+new Date-this._lastTouchMoment<300&&_.click.call(this,t)},pointerdown:function(t){_.mousedown.call(this,t)},pointermove:function(t){m(t)||_.mousemove.call(this,t)},pointerup:function(t){_.mouseup.call(this,t)},pointerout:function(t){m(t)||_.mouseout.call(this,t)}}),b=(u.each(["click","mousewheel","dblclick","contextmenu"],(function(t){_[t]=function(e){e=s(this.dom,e),this.trigger(t,e)}})),{pointermove:function(t){m(t)||b.mousemove.call(this,t)},pointerup:function(t){b.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this._pointerCapturing;T(this,!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}});function w(t,e){var n=e.domHandlers;h.pointerEventsSupported?u.each(p.pointer,(function(i){M(e,i,(function(e){n[i].call(t,e)}))})):(h.touchEventsSupported&&u.each(p.touch,(function(i){M(e,i,(function(o){var a;n[i].call(t,o),(a=e).touching=!0,null!=a.touchTimer&&(clearTimeout(a.touchTimer),a.touchTimer=null),a.touchTimer=setTimeout((function(){a.touching=!1,a.touchTimer=null}),700)}))})),u.each(p.mouse,(function(i){M(e,i,(function(o){o=l(o),e.touching||n[i].call(t,o)}))})))}function S(t,e){function n(n){M(e,n,(function(i){var o;i=l(i),v(t,i.target)||(o=i,i=s(t.dom,new x(t,o),!0),e.domHandlers[n].call(t,i))}),{capture:!0})}h.pointerEventsSupported?u.each(f.pointer,n):h.touchEventsSupported||u.each(f.mouse,n)}function M(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,a(t.domTarget,g(e),n,i)}function I(t){var e,n=t.mounted;for(e in n)n.hasOwnProperty(e)&&r(t.domTarget,g(e),n[e],t.listenerOpts[e]);t.mounted={}}function T(t,e){var n;t._mayPointerCapture=null,d&&t._pointerCapturing^e&&(t._pointerCapturing=e,n=t._globalHandlerScope,e?S(t,n):I(n))}function A(t,e){this.domTarget=t,this.domHandlers=e,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function C(t,e){c.call(this),this.dom=t,this.painterRoot=e,this._localHandlerScope=new A(t,_),d&&(this._globalHandlerScope=new A(document,b)),this._pointerCapturing=!1,this._mayPointerCapture=null,w(this,this._localHandlerScope)}o=C.prototype,o.dispose=function(){I(this._localHandlerScope),d&&I(this._globalHandlerScope)},o.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},u.mixin(C,c),t.exports=C},cee1:function(t,e,n){var i=n("6d8b");t.exports=function(t){var e={};t.eachSeriesByType("map",(function(n){var o,a,r=n.getMapType();n.getHostGeoModel()||e[r]||(o={},i.each(n.seriesGroup,(function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),(function(t,e){var a=i.getName(e),r=n.getRegion(a);r&&!isNaN(t)&&(t=o[a]||0,r=n.dataToPoint(r.center),o[a]=t+1,i.setItemLayout(e,{point:r,offset:t}))}))})),(a=n.getData()).each((function(t){var e=a.getName(t),n=a.getItemLayout(t)||{};n.showLabel=!o[e],a.setItemLayout(t,n)})),e[r]=!0)}))}},cf7e:function(t,e,n){var i=n("6d8b");function o(t){return this._axes[t]}function a(t){this._axes={},this._dimList=[],this.name=t||""}a.prototype={constructor:a,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return i.map(this._dimList,o,this)},getAxesByScale:function(t){return t=t.toLowerCase(),i.filter(this.getAxes(),(function(e){return e.scale.type===t}))},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},o=0;o<n.length;o++){var a=n[o],r=this._axes[a];i[a]=r[e](t[a])}return i}},t.exports=a},d01c:function(t,e,n){var i=n("4f85"),o=n("237f"),a=n("eda2").encodeHTML,r=n("4319"),s=(n("4e08").__DEV__,i.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(t,e){for(var n=t.edges||t.links,i=t.data||t.nodes,a=t.levels,s=this.levelModels={},l=0;l<a.length;l++)null!=a[l].depth&&0<=a[l].depth&&(s[a[l].depth]=new r(a[l],this,e));if(i&&n)return o(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,i=n.getData().getItemLayout(e).depth;return n.levelModels[i]||this.parentModel})),t})),e.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout().depth;return n.levelModels[i]||this.parentModel})),t}))})).data},setNodePosition:function(t,e){t=this.option.data[t],t.localX=e[0],t.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,n){var i,o;return"edge"===n?(o=(o=(i=this.getDataParams(t,n)).data).source+" -- "+o.target,i.value&&(o+=" : "+i.value),a(o)):"node"===n?(i=this.getGraph().getNodeByIndex(t).getLayout().value,n=this.getDataParams(t,n).data.name,a(o=i?n+" : "+i:o)):s.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var n=s.superCall(this,"getDataParams",t,e);return null==n.value&&"node"===e&&(e=this.getGraph().getNodeByIndex(t).getLayout().value,n.value=e),n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}));t.exports=s},d070:function(t,e,n){var i=n("3eba"),o=n("6d8b");function a(t,e){e.update="updateView",i.registerAction(e,(function(e,n){var i={};return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name);var a=n.coordinateSystem;o.each(a.regions,(function(t){i[t.name]=n.isSelected(t.name)||!1}))})),{selected:i,name:e.name}}))}n("1f1a"),n("eeea"),n("7661"),n("49e8"),a("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),a("select",{type:"geoSelect",event:"geoselected"}),a("unSelect",{type:"geoUnSelect",event:"geounselected"})},d090:function(t,e,n){var i=n("6d8b"),o=n("f934"),a=n("3842");n=n("2039");function r(t,e,n){this._model=t}function s(t,e,n,i){var o=n.calendarModel;n=n.seriesModel,o=o?o.coordinateSystem:n?n.coordinateSystem:null;return o===this?o[t](i):null}r.prototype={constructor:r,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){var e=(t=a.parseDate(t)).getFullYear(),n=(n=t.getMonth()+1)<10?"0"+n:n,i=(i=t.getDate())<10?"0"+i:i,o=t.getDay();return{y:e,m:n,d:i,day:Math.abs((o+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+n+"-"+i,date:t}},getNextNDay:function(t,e){return 0!==(e=e||0)&&(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},update:function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,a=["width","height"],r=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n],u=(n=(i.each([0,1],(function(t){c(r,t)&&(s[a[t]]=r[t]*l[t])})),{width:e.getWidth(),height:e.getHeight()}),this._rect=o.getLayoutRect(s,n));function c(t,e){return null!=t[e]&&"auto"!==t[e]}i.each([0,1],(function(t){c(r,t)||(r[t]=u[a[t]]/l[t])})),this._sw=r[0],this._sh=r[1]},dataToPoint:function(t,e){i.isArray(t)&&(t=t[0]),null==e&&(e=!0);t=this.getDateInfo(t);var n=this._rangeInfo,o=t.formatedDate;return!e||t.time>=n.start.time&&t.time<n.end.time+864e5?(e=t.day,t=this._getRangeInfo([n.start.time,o]).nthWeek,"vertical"===this._orient?[this._rect.x+e*this._sw+this._sw/2,this._rect.y+t*this._sh+this._sh/2]:[this._rect.x+t*this._sw+this._sw/2,this._rect.y+e*this._sh+this._sh/2]):[NaN,NaN]},pointToData:function(t){return t=this.pointToDate(t),t&&t.time},dataToRect:function(t,e){return t=this.dataToPoint(t,e),{contentShape:{x:t[0]-(this._sw-this._lineWidth)/2,y:t[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:t,tl:[t[0]-this._sw/2,t[1]-this._sh/2],tr:[t[0]+this._sw/2,t[1]-this._sh/2],br:[t[0]+this._sw/2,t[1]+this._sh/2],bl:[t[0]-this._sw/2,t[1]+this._sh/2]}},pointToDate:function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=(t=Math.floor((t[1]-this._rect.y)/this._sh)+1,this._rangeInfo.range);return"vertical"===this._orient?this._getDateByWeeksAndDay(t,e-1,n):this._getDateByWeeksAndDay(e,t-1,n)},convertToPixel:i.curry(s,"dataToPoint"),convertFromPixel:i.curry(s,"pointToData"),_initRangeOption:function(){var t,e=this._model.get("range"),n=e,o=(i.isArray(n)&&1===n.length&&(n=n[0]),/^\d{4}$/.test(n)&&(e=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)&&((t=(o=this.getDateInfo(n)).date).setMonth(t.getMonth()+1),t=this.getNextNDay(t,-1),e=[o.formatedDate,t.formatedDate]),/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(e=[n,n]),this._getRangeInfo(e));return o.start.time>o.end.time&&e.reverse(),e},_getRangeInfo:function(t){(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var e,n,i=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,o=new Date(t[0].time),a=o.getDate(),r=t[1].date.getDate();if(o.setDate(a+i-1),o.getDate()!==r)for(var s=0<o.getTime()-t[1].time?1:-1;(n=o.getDate())!==r&&0<(o.getTime()-t[1].time)*s;)i-=s,o.setDate(n-s);a=Math.floor((i+t[0].day+6)/7);var l=e?1-a:a-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:i,weeks:a,nthWeek:l,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){return n=this._getRangeInfo(n),!(t>n.weeks||0===t&&e<n.fweek||t===n.weeks&&e>n.lweek)&&(t=7*(t-1)-n.fweek+e,(e=new Date(n.start.time)).setDate(n.start.d+t),this.getDateInfo(e))}},r.dimensions=r.prototype.dimensions,r.getDimensionsInfo=r.prototype.getDimensionsInfo,r.create=function(t,e){var n=[];return t.eachComponent("calendar",(function(t){var e=new r(t);n.push(e),t.coordinateSystem=e})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},n.register("calendar",r),t.exports=r},d15d:function(t,e,n){n=n("6d8b");var i=n.createHashMap,o=n.each;function a(t){o(t,(function(e,n){var i=[],o=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],r=e.data,s=e.isStackedByIndex;a=r.map(a,(function(a,l,u){var c,h,d=r.get(e.stackedDimension,u);if(isNaN(d))return o;s?h=r.getRawIndex(u):c=r.get(e.stackedByDimension,u);for(var p=NaN,f=n-1;0<=f;f--){var g=t[f];if(0<=(h=s?h:g.data.rawIndexOf(g.stackedByDimension,c))&&(g=g.data.getByRawIndex(g.stackResultDimension,h),0<=d&&0<g||d<=0&&g<0)){d+=g,p=g;break}}return i[0]=d,i[1]=p,i}));r.hostModel.setData(a),e.data=a}))}t.exports=function(t){var e=i();t.eachSeries((function(t){var n,i=t.get("stack");i&&(i=e.get(i)||e.set(i,[]),(t={stackResultDimension:(n=t.getData()).getCalculationInfo("stackResultDimension"),stackedOverDimension:n.getCalculationInfo("stackedOverDimension"),stackedDimension:n.getCalculationInfo("stackedDimension"),stackedByDimension:n.getCalculationInfo("stackedByDimension"),isStackedByIndex:n.getCalculationInfo("isStackedByIndex"),data:n,seriesModel:t}).stackedDimension)&&(t.isStackedByIndex||t.stackedByDimension)&&(i.length&&n.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(t))})),e.each(a)}},d28f:function(t,e,n){var i=n("3eba"),o=(n("84d5"),n("4650"),n("5e97"),n("903c"));n=n("6cb7");i.registerProcessor(i.PRIORITY.PROCESSOR.SERIES_FILTER,o),n.registerSubTypeDefaulter("legend",(function(){return"plain"}))},d2a5:function(t,e,n){n=n("3eba"),n.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),n.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},d2cf:function(t,e,n){var i=n("6d8b"),o=n("401b"),a=n("cb6d"),r=n("1fab"),s=n("607d"),l=n("0b44");function u(){s.stop(this.event)}function c(){}function h(t,e,n,i){r.call(this),this.storage=t,this.painter=e,this.painterRoot=i,n=n||new c,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,a.call(this),this.setHandlerProxy(n)}c.prototype.dispose=function(){};var d=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"];function p(t,e,n){return t=t.painter,e<0||e>t.getWidth()||n<0||n>t.getHeight()}h.prototype={constructor:h,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(i.each(d,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,i=p(this,e,n),o=this._hovered,a=o.target;a&&!a.__zr&&(a=(o=this.findHover(o.x,o.y)).target),i=this._hovered=i?{x:e,y:n}:this.findHover(e,n),e=i.target,n=this.proxy;n.setCursor&&n.setCursor(e?e.cursor:"default"),a&&e!==a&&this.dispatchToElement(o,"mouseout",t),this.dispatchToElement(i,"mousemove",t),e&&e!==a&&this.dispatchToElement(i,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"===e||n||this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){t=this[t],t&&t.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,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var o="on"+e,a={type:e,event:n,target:(t=t).target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:u};i&&(i[o]&&(a.cancelBubble=i[o].call(i,a)),i.trigger(e,a),i=i.parent,!a.cancelBubble););a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer((function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)})))}},findHover:function(t,e,n){for(var i,o=this.storage.getDisplayList(),a={x:t,y:e},r=o.length-1;0<=r;r--)if(o[r]!==n&&!o[r].ignore&&(i=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i,o=t;o;){if(o.clipPath&&!o.clipPath.contain(e,n))return!1;o.silent&&(i=!0),o=o.parent}return!i||"silent"}return!1}(o[r],t,e))&&(a.topTarget||(a.topTarget=o[r]),"silent"!==i)){a.target=o[r];break}return a},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr,i=("start"===e&&n.clear(),n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom));"end"===e&&n.clear(),i&&(e=i.type,t.gestureEvent=e,this.dispatchToElement({target:i.target},e,i.event))}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){h.prototype[t]=function(e){var n,i,a=e.zrX,r=e.zrY,s=p(this,a,r);if("mouseup"===t&&s||(i=(n=this.findHover(a,r)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||4<o.dist(this._downPoint,[e.zrX,e.zrY]))return;this._downPoint=null}this.dispatchToElement(n,t,e)}})),i.mixin(h,r),i.mixin(h,a),t.exports=h},d357:function(t,e,n){var i=n("6d8b").each,o=(n=n("1c5f"),n.simpleLayout),a=n.simpleLayoutEdge;t.exports=function(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var r=t.getData(),s=[];i(n.dimensions,(function(t){s=s.concat(r.mapDimension(t,!0))}));for(var l=0;l<r.count();l++){for(var u=[],c=!1,h=0;h<s.length;h++){var d=r.get(s[h],l);isNaN(d)||(c=!0),u.push(d)}c?r.setItemLayout(l,n.dataToPoint(u)):r.setItemLayout(l,[NaN,NaN])}a(r.graph,t)}else e&&"none"!==e||o(t)}))}},d3a0:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("29a8"),r=(n=n("2145"),a.toolbox.magicType),s="__ec_magicType_stack__";function l(t){this.model=t}l.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:o.clone(r.title),option:{},seriesIndex:{}};a=l.prototype;var u=(a.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return o.each(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},{line:function(t,e,n,i){if("bar"===t)return o.merge({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.line")||{},!0)},bar:function(t,e,n,i){if("line"===t)return o.merge({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get("option.bar")||{},!0)},stack:function(t,e,n,i){if(n=n.get("stack")===s,"line"===t||"bar"===t)return i.setIconStatus("stack",n?"normal":"emphasis"),o.merge({id:e,stack:n?"":s},i.get("option.stack")||{},!0)}}),c=[["line","bar"],["stack"]];a.onclick=function(t,e,n){var i,a,l=this.model,h=l.get("seriesIndex."+n);u[n]&&(i={series:[]},o.each(c,(function(t){0<=o.indexOf(t,n)&&o.each(t,(function(t){l.setIconStatus(t,"normal")}))})),l.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==h?null:{seriesIndex:h}},(function(e){var a=e.subType,r=e.id;a=u[n](a,r,e,l),a&&(o.defaults(a,e.option),i.series.push(a)),r=e.coordinateSystem;if(r&&"cartesian2d"===r.type&&("line"===n||"bar"===n)&&(a=r.getAxesByScale("ordinal")[0],a)){var s=a.dim+"Axis",c=t.queryComponents({mainType:s,index:e.get(name+"Index"),id:e.get(name+"Id")})[0].componentIndex;i[s]=i[s]||[];for(var h=0;h<=c;h++)i[s][c]=i[s][c]||{};i[s][c].boundaryGap="bar"===n}})),"stack"===n&&(a=i.series&&i.series[0]&&i.series[0].stack===s?o.merge({stack:r.title.tiled},r.title):o.clone(r.title)),e.dispatchAction({type:"changeMagicType",currentType:n,newOption:i,newTitle:a,featureName:"magicType"}))},i.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)})),n.register("magicType",l),t.exports=l},d3a4:function(t,e,n){n=n("22d1");var i,o="urn:schemas-microsoft-com:vml",a="undefined"==typeof window?null:window,r=!1,s=a&&a.document;if(s&&!n.canvasSupported)try{s.namespaces.zrvml||s.namespaces.add("zrvml",o),i=function(t){return s.createElement("<zrvml:"+t+' class="zrvml">')}}catch(t){i=function(t){return s.createElement("<"+t+' xmlns="'+o+'" class="zrvml">')}}e.doc=s,e.createNode=function(t){return i(t)},e.initVML=function(){var t;!r&&s&&(r=!0,((t=s.styleSheets).length<31?s.createStyleSheet():t[0]).addRule(".zrvml","behavior:url(#default#VML)"))}},d3f47:function(t,e){t.exports=function(t){return{seriesType:t,reset:function(t,e){var n,i=e.findComponents({mainType:"legend"});i&&i.length&&(n=t.getData()).filterSelf((function(t){for(var e=n.getName(t),o=0;o<i.length;o++)if(!i[o].isSelected(e))return!1;return!0}))}}}},d498:function(t,e,n){var i=n("cbe5"),o=n("4fac");n=i.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){o.buildPath(t,e,!1)}});t.exports=n},d4b1:function(t,e,n){var i=n("3eba"),o=n("17d6"),a=i.extendComponentView({type:"axisPointer",render:function(t,e,n){e=e.getComponent("tooltip");var i=t.get("triggerOn")||e&&e.get("triggerOn")||"mousemove|click";o.register("axisPointer",n,(function(t,e,n){"none"!==i&&("leave"===t||0<=i.indexOf(t))&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){o.unregister(e.getZr(),"axisPointer"),a.superApply(this._model,"remove",arguments)},dispose:function(t,e){o.unregister("axisPointer",e),a.superApply(this._model,"dispose",arguments)}});t.exports=a},d4c6:function(t,e,n){var i=n("cbe5");n=i.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n<e.length;n++)t=t||e[n].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},buildPath:function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),i.prototype.getBoundingRect.call(this)}});t.exports=n},d4d1:function(t,e,n){var i=n("cbe5"),o=n("401b"),a=(n=n("897a"),o.min),r=o.max,s=o.scaleAndAdd,l=o.copy,u=[],c=[],h=[];function d(t){return isNaN(t[0])||isNaN(t[1])}function p(t,e,n,i,o,a,r,s,l,u,c){return("none"!==u&&u?f:g).apply(this,arguments)}function f(t,e,n,i,o,a,r,s,u,p,f){for(var g=0,m=n,y=0;y<i;y++){var v,x,_,b=e[m];if(o<=m||m<0)break;if(d(b)){if(f){m+=a;continue}break}m===n?t[0<a?"moveTo":"lineTo"](b[0],b[1]):0<u?(v=e[g],_=(b[x="y"===p?1:0]-v[x])*u,l(c,v),c[x]=v[x]+_,l(h,b),h[x]=b[x]-_,t.bezierCurveTo(c[0],c[1],h[0],h[1],b[0],b[1])):t.lineTo(b[0],b[1]),g=m,m+=a}return y}function g(t,e,n,i,p,f,g,m,y,v,x){for(var _=0,b=n,w=0;w<i;w++){var S=e[b];if(p<=b||b<0)break;if(d(S)){if(x){b+=f;continue}break}if(b===n)t[0<f?"moveTo":"lineTo"](S[0],S[1]),l(c,S);else if(0<y){var M=b+f,I=e[M];if(x)for(;I&&d(e[M]);)I=e[M+=f];var T,A,C=.5,D=e[_];!(I=e[M])||d(I)?l(h,S):(d(I)&&!x&&(I=S),o.sub(u,I,D),A="x"===v||"y"===v?(A="x"===v?0:1,T=Math.abs(S[A]-D[A]),Math.abs(S[A]-I[A])):(T=o.dist(S,D),o.dist(S,I)),s(h,S,u,-y*(1-(C=A/(A+T))))),a(c,c,m),r(c,c,g),a(h,h,m),r(h,h,g),t.bezierCurveTo(c[0],c[1],h[0],h[1],S[0],S[1]),s(c,S,u,y*C)}else t.lineTo(S[0],S[1]);_=b,b+=f}return w}function m(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var o=0;o<t.length;o++){var a=t[o];a[0]<n[0]&&(n[0]=a[0]),a[1]<n[1]&&(n[1]=a[1]),a[0]>i[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1])}return{min:e?n:i,max:e?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:n(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,o=n.length,a=m(n,e.smoothConstraint);if(e.connectNulls){for(;0<o&&d(n[o-1]);o--);for(;i<o&&d(n[i]);i++);}for(;i<o;)i+=p(t,n,i,o,o,1,a.min,a.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}});n=i.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:n(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=e.stackedOnPoints,o=0,a=n.length,r=e.smoothMonotone,s=m(n,e.smoothConstraint),l=m(i,e.smoothConstraint);if(e.connectNulls){for(;0<a&&d(n[a-1]);a--);for(;o<a&&d(n[o]);o++);}for(;o<a;){var u=p(t,n,o,a,a,1,s.min,s.max,e.smooth,r,e.connectNulls);p(t,i,o+u-1,u,a,-1,l.min,l.max,e.stackedOnSmooth,r,e.connectNulls),o+=u+1,t.closePath()}}});e.Polyline=y,e.Polygon=n},d51b:function(t,e){function n(){this.head=null,this.tail=null,this._len=0}function i(t){this._list=new n,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null}var o=n.prototype,a=(o.insert=function(t){return t=new a(t),this.insertEntry(t),t},o.insertEntry=function(t){this.head?((this.tail.next=t).prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},o.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},o.len=function(){return this._len},o.clear=function(){this.head=this.tail=null,this._len=0},function(t){this.value=t,this.next,this.prev});o=i.prototype;o.put=function(t,e){var n,i,o=this._list,r=this._map,s=null;return null==r[t]&&(i=o.len(),n=this._lastRemovedEntry,i>=this._maxSize&&0<i&&(i=o.head,o.remove(i),delete r[i.key],s=i.value,this._lastRemovedEntry=i),n?n.value=e:n=new a(e),n.key=t,o.insertEntry(n),r[t]=n),s},o.get=function(t){t=this._map[t];var e=this._list;if(null!=t)return t!==e.tail&&(e.remove(t),e.insertEntry(t)),t.value},o.clear=function(){this._list.clear(),this._map={}},t.exports=i},d5b7:function(t,e,n){function i(t){r.call(this,t),a.call(this,t),s.call(this,t),this.id=t.id||o()}var o=n("de00"),a=n("1fab"),r=n("0cde"),s=n("bd6b"),l=n("6d8b");i.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}var n=this.transform;(n=n||(this.transform=[1,0,0,1,0,0]))[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){var n;"position"===t||"scale"===t||"origin"===t?e&&((n=(n=this[t])||(this[t]=[]))[0]=e[0],n[1]=e[1]):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(l.isObject(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);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).__zr=e,(t.__clipTarget=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 n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},l.mixin(i,s),l.mixin(i,r),l.mixin(i,a),t.exports=i},d6d9:function(t,e,n){var i=n("3014").extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(t){return t.stack=null,i.superApply(this,"getInitialData",arguments)}});t.exports=i},d6ef:function(t,e,n){n("3eba").registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},(function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))}))},d7169:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=(n("aa01"),n("340d"),n("44fb"),n("98e7")),r=n("cb73");n=n("d3f47");i.registerVisual(o.curry(a,"sunburst")),i.registerLayout(o.curry(r,"sunburst")),i.registerProcessor(o.curry(n,"sunburst"))},d747:function(t,e,n){var i=n("3eba"),o=n("d81e").updateCenterAndZoom;n("d2a5"),i.registerAction({type:"graphRoam",event:"graphRoam",update:"none"},(function(t,e){e.eachComponent({mainType:"series",query:t},(function(e){var n=e.coordinateSystem;n=o(n,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))},d81e:function(t,e){e.updateCenterAndZoom=function(t,e,n){var i,o=t.getZoom(),a=t.getCenter(),r=e.zoom,s=t.dataToPoint(a);return null!=e.dx&&null!=e.dy&&(s[0]-=e.dx,s[1]-=e.dy,a=t.pointToData(s),t.setCenter(a)),null!=r&&(n&&(i=n.min||0,n=n.max||1/0,r=Math.max(Math.min(o*r,n),i)/o),t.scale[0]*=r,t.scale[1]*=r,n=t.position,i=(e.originX-n[0])*(r-1),e=(e.originY-n[1])*(r-1),n[0]-=i,n[1]-=e,t.updateTransform(),a=t.pointToData(s),t.setCenter(a),t.setZoom(r*o)),{center:t.getCenter(),zoom:t.getZoom()}}},d833:function(t,e,n){var i=n("20c8"),o=n("9680"),a=n("e7d2"),r=n("68ab"),s=n("9f51"),l=n("857d").normalizeRadian,u=n("4a3f"),c=n("8728"),h=i.CMD,d=2*Math.PI,p=1e-4,f=[-1,-1,-1],g=[-1,-1];function m(t,e,n,i,o,a,r,s,l,c){if(e<c&&i<c&&a<c&&s<c||c<e&&c<i&&c<a&&c<s)return 0;var h=u.cubicRootAt(e,i,a,s,c,f);if(0===h)return 0;for(var d,p,m=0,y=-1,v=0;v<h;v++){var x=f[v],_=0===x||1===x?.5:1;u.cubicAt(t,n,o,r,x)<l||(y<0&&(y=u.cubicExtrema(e,i,a,s,g),g[1]<g[0]&&1<y&&(p=void 0,p=g[0],g[0]=g[1],g[1]=p),p=u.cubicAt(e,i,a,s,g[0]),1<y)&&(d=u.cubicAt(e,i,a,s,g[1])),2===y?x<g[0]?m+=p<e?_:-_:x<g[1]?m+=d<p?_:-_:m+=s<d?_:-_:x<g[0]?m+=p<e?_:-_:m+=s<p?_:-_)}return m}function y(t,e,n,i,g){for(var y,v,x=0,_=0,b=0,w=0,S=0,M=0;M<t.length;){var I=t[M++];switch(I===h.M&&1<M&&(n||(x+=c(_,b,w,S,i,g))),1===M&&(w=_=t[M],S=b=t[M+1]),I){case h.M:_=w=t[M++],b=S=t[M++];break;case h.L:if(n){if(o.containStroke(_,b,t[M],t[M+1],e,i,g))return!0}else x+=c(_,b,t[M],t[M+1],i,g)||0;_=t[M++],b=t[M++];break;case h.C:if(n){if(a.containStroke(_,b,t[M++],t[M++],t[M++],t[M++],t[M],t[M+1],e,i,g))return!0}else x+=m(_,b,t[M++],t[M++],t[M++],t[M++],t[M],t[M+1],i,g)||0;_=t[M++],b=t[M++];break;case h.Q:if(n){if(r.containStroke(_,b,t[M++],t[M++],t[M],t[M+1],e,i,g))return!0}else x+=function(t,e,n,i,o,a,r,s){if(e<s&&i<s&&a<s||s<e&&s<i&&s<a)return 0;var l=u.quadraticRootAt(e,i,a,s,f);if(0===l)return 0;var c=u.quadraticExtremum(e,i,a);if(0<=c&&c<=1){for(var h=0,d=u.quadraticAt(e,i,a,c),p=0;p<l;p++){var g=0===f[p]||1===f[p]?.5:1;u.quadraticAt(t,n,o,f[p])<r||(f[p]<c?h+=d<e?g:-g:h+=a<d?g:-g)}return h}return g=0===f[0]||1===f[0]?.5:1,u.quadraticAt(t,n,o,f[0])<r?0:a<e?g:-g}(_,b,t[M++],t[M++],t[M],t[M+1],i,g)||0;_=t[M++],b=t[M++];break;case h.A:var T=t[M++],A=t[M++],C=t[M++],D=t[M++],L=t[M++],P=t[M++],k=(M+=1,1-t[M++]),O=Math.cos(L)*C+T,R=Math.sin(L)*D+A,E=(1<M?x+=c(_,b,O,R,i,g):(w=O,S=R),(i-T)*D/C+T);if(n){if(s.containStroke(T,A,D,L,L+P,k,e,E,g))return!0}else x+=function(t,e,n,i,o,a,r,s){if(n<(s-=e)||s<-n)return 0;if(e=Math.sqrt(n*n-s*s),f[0]=-e,f[1]=e,(n=Math.abs(i-o))<1e-4)return 0;if(n%d<1e-4)return o=d,h=a?1:-1,r>=f[i=0]+t&&r<=f[1]+t?h:0;(o=a?(e=i,i=l(o),l(e)):(i=l(i),l(o)))<i&&(o+=d);for(var u=0,c=0;c<2;c++){var h,p=f[c];r<p+t&&(h=a?1:-1,i<=(p=(p=Math.atan2(s,p))<0?d+p:p)&&p<=o||i<=p+d&&p+d<=o)&&(u+=h=p>Math.PI/2&&p<1.5*Math.PI?-h:h)}return u}(T,A,D,L,L+P,k,E,g);_=Math.cos(L+P)*C+T,b=Math.sin(L+P)*D+A;break;case h.R:if(w=_=t[M++],S=b=t[M++],O=w+t[M++],R=S+t[M++],n){if(o.containStroke(w,S,O,S,e,i,g)||o.containStroke(O,S,O,R,e,i,g)||o.containStroke(O,R,w,R,e,i,g)||o.containStroke(w,R,w,S,e,i,g))return!0}else x=(x+=c(O,S,O,R,i,g))+c(w,R,w,S,i,g);break;case h.Z:if(n){if(o.containStroke(_,b,w,S,e,i,g))return!0}else x+=c(_,b,w,S,i,g);_=w,b=S}}return n||(y=b,v=S,Math.abs(y-v)<p)||(x+=c(_,b,w,S,i,g)||0),0!==x}e.contain=function(t,e,n){return y(t,0,!1,e,n)},e.containStroke=function(t,e,n,i){return y(t,e,!0,n,i)}},d9d0:function(t,e,n){var i=n("6d8b"),o=n("1687"),a=n("f934"),r=n("697e"),s=n("0f55"),l=n("2306"),u=n("3842"),c=n("ef6a4"),h=i.each,d=Math.min,p=Math.max,f=Math.floor,g=Math.ceil,m=u.round,y=Math.PI;function v(t,e,n){this._axesMap=i.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._rect,this._model=t,this._init(t,e,n)}function x(t,e){return d(p(t,e[0]),e[1])}v.prototype={type:"parallel",constructor:v,_init:function(t,e,n){var i=t.dimensions,o=t.parallelAxisIndex;h(i,(function(t,n){n=o[n];var i=e.getComponent("parallelAxis",n);t=this._axesMap.set(t,new s(t,r.createScaleByModel(i),[0,0],i.get("type"),n)),n="category"===t.type;t.onBand=n&&i.get("boundaryGap"),t.inverse=i.get("inverse"),(i.axis=t).model=i,t.coordinateSystem=i.coordinateSystem=this}),this)},update:function(t,e){this._updateAxesFromSeries(this._model,t)},containPoint:function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,o=e.pixelDimIndex,a=t[1-o];t=t[o];return n<=a&&a<=n+e.axisLength&&i<=t&&t<=i+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries((function(n){var i;t.contains(n,e)&&(i=n.getData(),h(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),r.niceScaleExtent(e.scale,e.model)}),this))}),this)},resize:function(t,e){this._rect=a.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t=this._model,e=this._rect,n=["x","y"],i=["width","height"],o=t.get("layout"),a="horizontal"===o?0:1,r=e[i[a]],s=[0,r],l=this.dimensions.length,u=x(t.get("axisExpandWidth"),s),c=x(t.get("axisExpandCount")||0,[0,l]),h=t.get("axisExpandable")&&3<l&&c<l&&1<c&&0<u&&0<r,d=t.get("axisExpandWindow"),p=(s=(d?(p=x(d[1]-d[0],s),d[1]=d[0]+p):(p=x(u*(c-1),s),(d=[u*(t.get("axisExpandCenter")||f(l/2))-p/2])[1]=d[0]+p),(r-p)/(l-c)),t=(s<3&&(s=0),[f(m(d[0]/u,1))+1,g(m(d[1]/u,1))-1]),s/u*d[0]);return{layout:o,pixelDimIndex:a,layoutBase:e[n[a]],layoutLength:r,axisBase:e[n[1-a]],axisLength:e[i[1-a]],axisExpandable:h,axisExpandWidth:u,axisCollapseWidth:s,axisExpandWindow:d,axisCount:l,winInnerIndices:t,axisExpandWindow0Pos:p}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),a=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),h(n,(function(e,n){n=(i.axisExpandable?function(t,e){var n,i,o=e.layoutLength,a=e.axisExpandWidth,r=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*a-e.axisExpandWindow[0],u=a,c=!0):(n=o-(r-1-t)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}:function(t,e){return e=e.layoutLength/(e.axisCount-1),{position:e*t,axisNameAvailableWidth:e,axisLabelShow:!0}})(n,i);var r={horizontal:{x:n.position,y:i.axisLength},vertical:{x:0,y:n.position}},s=(r=[r[a].x+t.x,r[a].y+t.y],{horizontal:y/2,vertical:0}[a]),l=o.create();o.rotate(l,l,s),o.translate(l,l,r),this._axesLayout[e]={position:r,rotation:s,transform:l,axisNameAvailableWidth:n.axisNameAvailableWidth,axisLabelShow:n.axisLabelShow,nameTruncateMaxWidth:n.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(t,e,n,o){null==n&&(n=0),null==o&&(o=t.count());for(var a=this._axesMap,r=this.dimensions,s=[],l=[],u=(i.each(r,(function(e){s.push(t.mapDimension(e)),l.push(a.get(e).model)})),this.hasAxisBrushed()),c=n;c<o;c++){if(u){for(var h="active",d=t.getValues(s,c),p=0,f=r.length;p<f;p++)if("inactive"===l[p].getActiveState(d[p])){h="inactive";break}}else h="normal";e(h,c)}},hasAxisBrushed:function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,o=t.length;i<o;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},axisCoordToPoint:function(t,e){return e=this._axesLayout[e],l.applyTransform([t,0],e.transform)},getAxisLayout:function(t){return i.clone(this._axesLayout[t])},getSlidedAxisExpandWindow:function(t){var e,n,i,o,a=this._makeLayoutInfo(),r=a.pixelDimIndex,s=a.axisExpandWindow.slice(),l=s[1]-s[0],u=[0,a.axisExpandWidth*(a.axisCount-1)];return this.containPoint(t)?(t=t[r]-a.layoutBase-a.axisExpandWindow0Pos,r="slide",n=a.axisCollapseWidth,o=null!=(i=this._model.get("axisExpandSlideTriggerArea"))[0],n?(o&&n&&t<l*i[0]?(r="jump",e=t-l*i[2]):o&&n&&t>l*(1-i[0])?(r="jump",e=t-l*(1-i[2])):0<=(e=t-l*i[1])&&(e=t-l*(1-i[1]))<=0&&(e=0),(e*=a.axisExpandWidth/n)?c(e,s,u,"all"):r="none"):(l=s[1]-s[0],(s=[p(0,u[1]*t/l-l/2)])[1]=d(u[1],s[0]+l),s[0]=s[1]-l),{axisExpandWindow:s,behavior:r}):{behavior:"none",axisExpandWindow:s}}},t.exports=v},d9f1:function(t,e,n){var i=n("6d8b"),o=n("6cb7"),a=n("9e47");n=n("2023"),o=o.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});function r(t,e){return e.type||(e.data?"category":"value")}i.merge(o.prototype,n),i={splitNumber:5},a("angle",o,r,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),a("radius",o,r,i)},d9fc:function(t,e,n){n=n("cbe5").extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}}),t.exports=n},dae1:function(t,e,n){var i=n("3eba"),o=(n("928d"),n("b369"),n("4411"),n("90c2"));n=n("9ca8");i.registerVisual(o),i.registerLayout(n)},db0e:function(t,e,n){var i=n("3eba");n("a8c6"),n("8344"),i.registerPreprocessor((function(t){t.markPoint=t.markPoint||{}}))},db9e:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("e86a"),r=n("2145"),s=n("2306"),l=n("4319"),u=n("80f0"),c=n("7919");n=i.extendComponentView({type:"toolbox",render:function(t,e,n,i){var h,d,p,f,g=this.group;function m(a,u){a=f[a],u=f[u];var c,m,y,v,x,_,b,w,S=d[a],M=new l(S,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===a&&(S.title=i.newTitle),a&&!u){if(0===a.indexOf("my"))c={model:M,onclick:M.option.onclick,featureName:a};else{S=r.get(a);if(!S)return;c=new S(M,e,n)}p[a]=c}else{if(!(c=p[u]))return;c.model=M,c.ecModel=e,c.api=n}!a&&u?c.dispose&&c.dispose(e,n):!M.get("show")||c.unusable?c.remove&&c.remove(e,n):(y=c,S=a,v=(m=M).getModel("iconStyle"),x=m.getModel("emphasis.iconStyle"),u=y.getIcons?y.getIcons():m.get("icon"),_=m.get("title")||{},"string"==typeof u&&(a=u,b=_,_={},(u={})[S]=a,_[S]=b),w=m.iconPaths={},o.each(u,(function(i,a){var r=s.createIcon(i,{},{x:-h/2,y:-h/2,width:h,height:h});r.setStyle(v.getItemStyle()),r.hoverStyle=x.getItemStyle(),r.setStyle({text:_[a],textAlign:x.get("textAlign"),textBorderRadius:x.get("textBorderRadius"),textPadding:x.get("textPadding"),textFill:null}),i=t.getModel("tooltip");i&&i.get("show")&&r.attr("tooltip",o.extend({content:_[a],formatter:i.get("formatter",!0)||function(){return _[a]},formatterParams:{componentType:"toolbox",name:a,title:_[a],$vars:["name","title"]},position:i.get("position",!0)||"bottom"},i.option)),s.setHoverStyle(r),t.get("showTitle")&&(r.__title=_[a],r.on("mouseover",(function(){var e=x.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";r.setStyle({textFill:x.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:x.get("textBackgroundColor"),textPosition:x.get("textPosition")||n})})).on("mouseout",(function(){r.setStyle({textFill:null,textBackgroundColor:null})}))),r.trigger(m.get("iconStatus."+a)||"normal"),g.add(r),r.on("click",o.bind(y.onclick,y,e,n,a)),w[a]=r})),M.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&i[t].trigger(e)},c.render&&c.render(M,e,n,i))}g.removeAll(),t.get("show")&&(h=+t.get("itemSize"),d=t.get("feature")||{},p=this._features||(this._features={}),f=[],o.each(d,(function(t,e){f.push(e)})),new u(this._featureNames||[],f).add(m).update(m).remove(o.curry(m,null)).execute(),this._featureNames=f,c.layout(g,t,n),g.add(c.makeBackground(g.getBoundingRect(),t)),g.eachChild((function(t){var e,i,o=t.__title,r=t.hoverStyle;r&&o&&(o=a.getBoundingRect(o,a.makeFont(r)),e=t.position[0]+g.position[0],i=!1,t.position[1]+g.position[1]+h+o.height>n.getHeight()&&(r.textPosition="top",i=!0),t=i?-5-o.height:h+8,e+o.width/2>n.getWidth()?(r.textPosition=["100%",t],r.textAlign="right"):e-o.width/2<0&&(r.textPosition=[0,t],r.textAlign="left"))})))},updateView:function(t,e,n,i){o.each(this._features,(function(t){t.updateView&&t.updateView(t.model,e,n,i)}))},remove:function(t,e){o.each(this._features,(function(n){n.remove&&n.remove(t,e)})),this.group.removeAll()},dispose:function(t,e){o.each(this._features,(function(n){n.dispose&&n.dispose(t,e)}))}});t.exports=n},dc20:function(t,e,n){var i=n("8727").createElement,o=n("6d8b"),a=n("4942"),r=n("cbe5"),s=n("0da8"),l=n("76a5"),u=n("0c12"),c=n("b16f"),h=n("9fa3"),d=n("bcaa"),p=(n=n("3f8e"),n.path),f=n.image,g=n.text;function m(t){return parseInt(t,10)}function y(t,e){return e&&t&&e.parentNode!==t}function v(t,e,n){y(t,e)&&n&&((n=n.nextSibling)?t.insertBefore(e,n):t.appendChild(e))}function x(t,e){var n;y(t,e)&&((n=t.firstChild)?t.insertBefore(e,n):t.appendChild(e))}function _(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function b(t){return t.__textSvgEl}function w(t){return t.__svgEl}function S(t,e,n,a){this.root=t,this.storage=e,this._opts=n=o.extend({},n||{}),(e=i("svg")).setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("version","1.1"),e.setAttribute("baseProfile","full"),e.style.cssText="user-select:none;position:absolute;left:0;top:0;";var r=i("g"),s=(e.appendChild(r),i("g"));e.appendChild(s),this.gradientManager=new c(a,s),this.clipPathManager=new h(a,s),this.shadowManager=new d(a,s),(a=document.createElement("div")).style.cssText="overflow:hidden;position:relative",this._svgDom=e,this._svgRoot=s,this._backgroundRoot=r,this._viewport=a,t.appendChild(a),a.appendChild(e),this.resize(n.width,n.height),this._visibleList=[]}S.prototype={constructor:S,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=i("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0),e.style.fill=t,this._backgroundRoot.appendChild(e),this._backgroundNode=e},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();for(var e=this._svgRoot,n=this._visibleList,i=t.length,o=[],a=0;a<i;a++){var c=t[a],h=(h=c)instanceof r?p:h instanceof s?f:h instanceof l?g:p,d=w(c)||b(c);c.invisible||(c.__dirty&&(h&&h.brush(c),this.clipPathManager.update(c),c.style&&(this.gradientManager.update(c.style.fill),this.gradientManager.update(c.style.stroke),this.shadowManager.update(d,c)),c.__dirty=!1),o.push(c))}var m,y,S=u(n,o);for(a=0;a<S.length;a++)if((y=S[a]).removed)for(var M=0;M<y.count;M++){d=w(c=n[y.indices[M]]);var I=b(c);_(e,d),_(e,I)}for(a=0;a<S.length;a++)if((y=S[a]).added)for(M=0;M<y.count;M++)d=w(c=o[y.indices[M]]),I=b(c),m?v(e,d,m):x(e,d),d?v(e,I,d):m?v(e,I,m):x(e,I),v(e,I,d),m=I||d||m,this.gradientManager.addWithoutUpdate(d||I,c),this.shadowManager.addWithoutUpdate(d||I,c),this.clipPathManager.markUsed(c);else if(!y.removed)for(M=0;M<y.count;M++)d=w(c=o[y.indices[M]]),I=b(c),d=w(c),I=b(c),this.gradientManager.markUsed(c),this.gradientManager.addWithoutUpdate(d||I,c),this.shadowManager.markUsed(c),this.shadowManager.addWithoutUpdate(d||I,c),this.clipPathManager.markUsed(c),I&&v(e,I,d),m=d||I||m;this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=o},_getDefs:function(t){var e=this._svgDom,n=e.getElementsByTagName("defs");return 0===n.length?t?((n=e.insertBefore(i("defs"),e.firstChild)).contains||(n.contains=function(t){var e=n.children;if(e)for(var i=e.length-1;0<=i;--i)if(e[i]===t)return!0;return!1}),n):null:n[0]},resize:function(t,e){var n=this._viewport,i=(n.style.display="none",this._opts);null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width===t&&this._height===e||(this._width=t,this._height=e,(i=n.style).width=t+"px",i.height=e+"px",(n=this._svgDom).setAttribute("width",t),n.setAttribute("height",e)),this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e,n=this._opts,i=["width","height"][t],o=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t];t=["paddingRight","paddingBottom"][t];return null!=n[i]&&"auto"!==n[i]?parseFloat(n[i]):(n=this.root,e=document.defaultView.getComputedStyle(n),(n[o]||m(e[i])||m(n.style[i]))-(m(e[a])||0)-(m(e[t])||0)|0)},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(this._svgDom.outerHTML.replace(/></g,">\n\r<"))}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(t){var e;S.prototype[t]=(e=t,function(){a('In SVG mode painter not support method "'+e+'"')})})),t.exports=S},dc2f:function(t,e){function n(t,e){this.image=t,this.repeat=e,this.type="pattern"}n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")},t.exports=n},dcb3:function(t,e,n){var i=n("6d8b"),o=n("625e"),a=n("2306"),r=n("cd33"),s=n("607d"),l=n("88b3"),u=(0,n("e0d3").makeInner)(),c=i.clone,h=i.bind;function d(){}function p(t,e,n,o){!function t(e,n){var o;return i.isObject(e)&&i.isObject(n)?(o=!0,i.each(n,(function(n,i){o=o&&t(e[i],n)})),!!o):e===n}(u(n).lastProp,o)&&(u(n).lastProp=o,e?a.updateProps(n,o,t):(n.stopAnimation(),n.attr(o)))}function f(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function m(t,e,n){var i=e.get("z"),o=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=o&&(t.zlevel=o),t.silent=n)}))}o.enableClassExtend((d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,o){var r,s,l=e.get("value"),u=e.get("status");this._axisModel=t,this._axisPointerModel=e,this._api=n,!o&&this._lastValue===l&&this._lastStatus===u||(this._lastValue=l,this._lastStatus=u,o=this._group,r=this._handle,u&&"hide"!==u?(o&&o.show(),r&&r.show(),this.makeElOption(u={},l,t,e,n),(s=u.graphicKey)!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=s,s=this._moveAnimation=this.determineAnimation(t,e),o?(s=i.curry(p,e,s),this.updatePointerEl(o,u,s,e),this.updateLabelEl(o,u,s,e)):(o=this._group=new a.Group,this.createPointerEl(o,u,t,e),this.createLabelEl(o,u,t,e),n.getZr().add(o)),m(o,e,!0),this._renderHandle(l)):(o&&o.hide(),r&&r.hide()))},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n,i=e.get("animation"),o=t.axis,a="category"===o.type;e=e.get("snap");return!(!e&&!a)&&("auto"===i||null==i?(n=this.animationThreshold,a&&o.getBandWidth()>n||!!e&&(a=r.getAxisInfo(t).seriesDataCount,e=o.getExtent(),Math.abs(e[0]-e[1])/a>n)):!0===i)},makeElOption:function(t,e,n,i,o){},createPointerEl:function(t,e,n,i){var o=e.pointer;o&&(o=u(t).pointerEl=new a[o.type](c(e.pointer)),t.add(o))},createLabelEl:function(t,e,n,i){e.label&&(e=u(t).labelEl=new a.Rect(c(e.label)),t.add(e),f(e,i))},updatePointerEl:function(t,e,n){t=u(t).pointerEl,t&&e.pointer&&(t.setStyle(e.pointer.style),n(t,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){t=u(t).labelEl,t&&(t.setStyle(e.label.style),n(t,{shape:e.label.shape,position:e.label.position}),f(t,i))},_renderHandle:function(t){var e,n,o,r,u,c;!this._dragging&&this.updateHandleTransform&&(e=this._axisPointerModel,n=this._api.getZr(),o=this._handle,r=e.getModel("handle"),c=e.get("status"),r.get("show")&&c&&"hide"!==c?(this._handle||(u=!0,o=this._handle=a.createIcon(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),n.add(o)),m(o,e,!1),o.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"])),c=r.get("size"),i.isArray(c)||(c=[c,c]),o.attr("scale",[c[0]/2,c[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,u)):(o&&n.remove(o),this._handle=null))},_moveHandleToValue:function(t,e){p(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;n&&(this._dragging=!0,t=this.updateHandleTransform(g(n),[t,e],this._axisModel,this._axisPointerModel),this._payloadInfo=t,n.stopAnimation(),n.attr(g(t)),u(n).lastProp=null,this._doDispatchAxisPointer())},_doDispatchAxisPointer:function(){var t,e;this._handle&&(t=this._payloadInfo,e=this._axisModel,this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]}))},_onHandleDragEnd:function(t){var e;this._dragging=!1,this._handle&&(e=this._axisPointerModel.get("value"),this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"}))},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;t=t.getZr();var e=this._group,n=this._handle;t&&e&&(this._lastGraphicKey=null,e&&t.remove(e),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}}).constructor=d),t.exports=d},dcea:function(t,e,n){var i=n("6d8b"),o=n("e887"),a=n("2306"),r=(n=n("cbe5"),["itemStyle"]),s=["emphasis","itemStyle"],l=(o=o.extend({type:"boxplot",render:function(t,e,n){var i=t.getData(),o=this.group,a=this._data,r=(this._data||o.removeAll(),"horizontal"===t.get("layout")?1:0);i.diff(a).add((function(t){var e;i.hasValue(t)&&(e=u(i.getItemLayout(t),i,t,r,!0),i.setItemGraphicEl(t,e),o.add(e))})).update((function(t,e){var n;e=a.getItemGraphicEl(e);i.hasValue(t)?(n=i.getItemLayout(t),e?c(n,e,i,t):e=u(n,i,t,r),o.add(e),i.setItemGraphicEl(t,e)):o.remove(e)})).remove((function(t){t=a.getItemGraphicEl(t),t&&o.remove(t)})).execute(),this._data=i},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:i.noop}),n.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),t.lineTo(n[++i][0],n[i][1])}}));function u(t,e,n,o,a){var r,s,u=t.ends;o=new l({shape:{points:a?(r=o,s=t,i.map(u,(function(t){return(t=t.slice())[r]=s.initBaseline,t}))):u}});return c(t,o,e,n,a),o}function c(t,e,n,i,o){var l=n.hostModel;(0,a[o?"initProps":"updateProps"])(e,{shape:{points:t.ends}},l,i),o=n.getItemModel(i),t=o.getModel(r),l=n.getItemVisual(i,"color"),n=t.getItemStyle(["borderColor"]),n.stroke=l,n.strokeNoScale=!0,e.useStyle(n),e.z2=100,i=o.getModel(s).getItemStyle();a.setHoverStyle(e,i)}t.exports=o},dd39:function(t,e,n){n("6932"),n("3a56"),n("7dcf"),n("414c"),n("4b08"),n("2c17"),n("9e87")},dd7e:function(t,e,n){var i=n("6d8b"),o=n("edaf");n=n("38a2"),o=o.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});i.mixin(o,n),t.exports=o},dded:function(t,e,n){function i(t,e,n,i,o){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=o||!1,a.call(this,i)}var o=n("6d8b"),a=n("42e5");i.prototype={constructor:i},o.inherits(i,a),t.exports=i},de00:function(t,e){var n=2311;t.exports=function(){return n++}},de1c:function(t,e){t.exports={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")}}}},de6e:function(t,e){function n(t){return t instanceof Array?t:[t,t]}t.exports=function(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),i=t.getEdgeData(),o=n(t.get("edgeSymbol")),a=n(t.get("edgeSymbolSize")),r="lineStyle.color".split("."),s="lineStyle.opacity".split(".");i.setVisual("fromSymbol",o&&o[0]),i.setVisual("toSymbol",o&&o[1]),i.setVisual("fromSymbolSize",a&&a[0]),i.setVisual("toSymbolSize",a&&a[1]),i.setVisual("color",t.get(r)),i.setVisual("opacity",t.get(s)),i.each((function(t){var o=i.getItemModel(t),a=e.getEdgeByIndex(t),l=(t=n(o.getShallow("symbol",!0)),n(o.getShallow("symbolSize",!0))),u=o.get(r);o=o.get(s);switch(u){case"source":u=a.node1.getVisual("color");break;case"target":u=a.node2.getVisual("color")}t[0]&&a.setVisual("fromSymbol",t[0]),t[1]&&a.setVisual("toSymbol",t[1]),l[0]&&a.setVisual("fromSymbolSize",l[0]),l[1]&&a.setVisual("toSymbolSize",l[1]),a.setVisual("color",u),a.setVisual("opacity",o)}))}))}},df3a:function(t,e,n){var i=n("6d8b"),o=n("6cb7"),a=n("282b"),r=n("9e47"),s=n("3842");n=n("2023"),o=o.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return a([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=i.clone(t);if(e)for(var n=e.length-1;0<=n;n--)s.asc(e[n])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null!=t&&!isNaN(t))if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,o=e.length;i<o;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"}});i.merge(o.prototype,n),r("parallel",o,(function(t,e){return e.type||(e.data?"category":"value")}),{type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10}),t.exports=o},df70:function(t,e,n){var i=n("3eba"),o=n("6fda"),a=n("29a8");n=n("2145"),a=a.toolbox.restore;function r(t){this.model=t}r.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:a.title},r.prototype.onclick=function(t,e,n){o.clear(t),e.dispatchAction({type:"restore",from:this.uid})},n.register("restore",r),i.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")})),t.exports=r},e057:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("2306"),a=n("c775f").getDefaultLabel,r=n("3301"),s=n("9d57").getLayoutOnAxis,l=n("80f0"),u=n("4f85"),c=n("4319"),h=n("e887"),d=n("b0af").createClipPath,p=n("aa3e"),f=n("00d8"),g=n("307b"),m=n("eaeb"),y=(n=n("471e"),o.CACHED_LABEL_STYLE_PROPERTIES),v=["itemStyle"],x=["emphasis","itemStyle"],_=["label"],b=["emphasis","label"],w="e\0\0",S={cartesian2d:p,geo:f,singleAxis:g,polar:m,calendar:n};function M(t,e,n,i,o){null==n[t]||o||(e[t]=n[t],n[t]=i[t])}function I(t,e,n,r){var l,u,c,h,d,p,f,g=t.get("renderItem"),m=t.coordinateSystem,y={},w=(m&&(y=m.prepareCustoms?m.prepareCustoms():S[m.type](m)),i.defaults({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:function(t,n){return null==n&&(n=c),e.get(e.getDimension(t||0),n)},style:function(n,r){T(r=null==r?c:r);var s=h.getModel(v).getItemStyle(),l=(null!=f&&(s.fill=f),e.getItemVisual(r,"opacity"));null!=l&&(s.opacity=l),l=n?L(n,d):d;return o.setTextStyle(s,l,null,{autoColor:f,isRectText:!0}),s.text=l.getShallow("show")?i.retrieve2(t.getFormattedLabel(r,"normal"),a(e,r)):null,n&&P(s,n),s},styleEmphasis:function(n,r){T(r=null==r?c:r);var s=h.getModel(x).getItemStyle(),l=n?L(n,p):p;return o.setTextStyle(s,l,null,{isRectText:!0},!0),s.text=l.getShallow("show")?i.retrieve3(t.getFormattedLabel(r,"emphasis"),t.getFormattedLabel(r,"normal"),a(e,r)):null,n&&P(s,n),s},visual:function(t,n){return null==n&&(n=c),e.getItemVisual(n,t)},barLayout:function(t){var e;if(m.getBaseAxis)return e=m.getBaseAxis(),s(i.defaults({axis:e},t),r)},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return o.getFont(t,n)}},y.api||{})),M={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:y.coordSys,dataInsideLength:e.count(),encode:(l=t.getData(),u={},i.each(l.dimensions,(function(t,e){var n;t=l.getDimensionInfo(t);t.isExtraCoord||(n=t.coordDim,(u[n]=u[n]||[])[t.coordDimIndex]=e)})),u)},I=!0;return function(t,n){return c=t,I=!0,g&&g(i.defaults({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},M),w)};function T(t){null==t&&(t=c),I&&(h=e.getItemModel(t),d=h.getModel(_),p=h.getModel(b),f=e.getItemVisual(t,"color"),I=!1)}}function T(t,e,n,i,o,a){return(t=A(t,e,n,i,o,a,!0))&&a.setItemGraphicEl(e,t),t}function A(t,e,n,a,r,s,u){var c=!n,h=(n=n||{}).type,d=n.shape,p=n.style;if(t&&(c||null!=h&&h!==t.__customGraphicType||"path"===h&&(_=d)&&(_.hasOwnProperty("pathData")||_.hasOwnProperty("d"))&&O(d)!==t.__customPathData||"image"===h&&R(p,"image")&&p.image!==t.__customImagePath||"text"===h&&R(d,"text")&&p.text!==t.__customText)&&(r.remove(t),t=null),!c){var f,g,m,y,v,x,_=!t;if(t=t||function(t){var e=t.type;if("path"===e){var n=t.shape,i=null!=n.width&&null!=n.height?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,a=O(n);(i=o.makePath(a,null,i,n.layout||"center")).__customPathData=a}else if("image"===e)(i=new o.Image({})).__customImagePath=t.style.image;else if("text"===e)(i=new o.Text({})).__customText=t.style.text;else if("group"===e)i=new o.Group;else{if("compoundPath"===e)throw new Error('"compoundPath" is not supported yet.');i=new(o.getShapeClass(e))}return i.__customGraphicType=e,i.name=t.name,i}(n),f=t,d=e,p=a,m=_,c=u,u={},v=(g=n).style||{},g.shape&&(u.shape=i.clone(g.shape)),g.position&&(u.position=g.position.slice()),g.scale&&(u.scale=g.scale.slice()),g.origin&&(u.origin=g.origin.slice()),g.rotation&&(u.rotation=g.rotation),"image"===f.type&&g.style&&(y=u.style={},i.each(["x","y","width","height"],(function(t){M(t,y,v,f.style,m)}))),"text"===f.type&&g.style&&(y=u.style={},i.each(["x","y"],(function(t){M(t,y,v,f.style,m)})),!v.hasOwnProperty("textFill")&&v.fill&&(v.textFill=v.fill),!v.hasOwnProperty("textStroke"))&&v.stroke&&(v.textStroke=v.stroke),"group"!==f.type&&(f.useStyle(v),m)&&(f.style.opacity=0,x=v.opacity,o.initProps(f,{style:{opacity:x=null==x?1:x}},p,d)),m?f.attr(u):o.updateProps(f,u,p,d),g.hasOwnProperty("z2")&&f.attr("z2",g.z2||0),g.hasOwnProperty("silent")&&f.attr("silent",g.silent),g.hasOwnProperty("invisible")&&f.attr("invisible",g.invisible),g.hasOwnProperty("ignore")&&f.attr("ignore",g.ignore),g.hasOwnProperty("info")&&f.attr("info",g.info),x=g.styleEmphasis,o.setElementHoverStyle(f,x),c&&o.setAsHighDownDispatcher(f,!1!==x),"group"===h){var b=t,w=e,S=a,I=s,T=(u=n).children,L=T?T.length:0;u="byName"===(p=u.$mergeChildren)||u.diffChildrenByName,p=!1===p;if(L||u||p)if(u)u={oldChildren:b.children()||[],newChildren:T||[],dataIndex:w,animatableModel:S,group:b,data:I},new l(u.oldChildren,u.newChildren,C,C,u).add(D).update(D).remove(k).execute();else{p&&b.removeAll();for(var P=0;P<L;P++)T[P]&&A(b.childAt(P),w,T[P],S,b,I)}}return r.add(t),t}}function C(t,e){return t=t&&t.name,null!=t?t:w+e}function D(t,e){var n=this.context;t=null!=t?n.newChildren[t]:null;A(null!=e?n.oldChildren[e]:null,n.dataIndex,t,n.animatableModel,n.group,n.data)}function L(t,e){var n=new c({},e);return i.each(y,(function(e,i){t.hasOwnProperty(e)&&(n.option[i]=t[e])})),n}function P(t,e){for(var n in e)!e.hasOwnProperty(n)&&y.hasOwnProperty(n)||(t[n]=e[n])}function k(t){var e=this.context;t=e.oldChildren[t];t&&e.group.remove(t)}function O(t){return t&&(t.pathData||t.d)}function R(t,e){return t&&t.hasOwnProperty(e)}u.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(t,e){return r(this.getSource(),this)},getDataParams:function(t,e,n){var i=u.prototype.getDataParams.apply(this,arguments);return n&&(i.info=n.info),i}}),h.extend({type:"custom",_data:null,render:function(t,e,n,i){var o=this._data,a=t.getData(),r=this.group,s=I(t,a,e,n);a.diff(o).add((function(e){T(null,e,s(e,i),t,r,a)})).update((function(e,n){T(o.getItemGraphicEl(n),e,s(e,i),t,r,a)})).remove((function(t){t=o.getItemGraphicEl(t),t&&r.remove(t)})).execute(),e=t.get("clip",!0)?d(t.coordinateSystem,!1,t):null;e?r.setClipPath(e):r.removeClipPath(),this._data=a},incrementalPrepareRender:function(t,e,n){this.group.removeAll(),this._data=null},incrementalRender:function(t,e,n,i,o){var a=e.getData(),r=I(e,a,n,i);function s(t){t.isGroup||(t.incremental=!0,t.useHoverLayer=!0)}for(var l=t.start;l<t.end;l++)T(null,l,r(l,o),e,this.group,a).traverse(s)},dispose:i.noop,filterForExposedEvent:function(t,e,n,i){var o=e.element;if(null==o||n.name===o)return!0;for(;(n=n.parent)&&n!==this.group;)if(n.name===o)return!0;return!1}})},e073:function(t,e,n){var i=n("6d8b"),o=n("e86a"),a=n("e0d3").makeInner,r=(n=n("697e"),n.makeLabelFormatter),s=n.getOptionCategoryInterval,l=n.shouldShowAllLabels,u=a();function c(t,e){var n,o=h(t,"labels"),a=(e=s(e),d(o,e));return a||p(o,e,{labels:i.isFunction(e)?g(t,e):f(t,n="auto"===e?null!=(o=u(a=t).autoInterval)?o:u(a).autoInterval=a.calculateCategoryInterval():e),labelCategoryInterval:n})}function h(t,e){return u(t)[e]||(u(t)[e]=[])}function d(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function p(t,e,n){return t.push({key:e,value:n}),n}function f(t,e,n){for(var i=r(t),o=t.scale,a=o.getExtent(),s=t.getLabelModel(),u=[],c=Math.max((e||0)+1,1),h=(e=a[0],o.count()),d=(h=(0!==e&&1<c&&2<h/c&&(e=Math.round(Math.ceil(e/c)*c)),l(t)),t=s.get("showMinLabel")||h,s=s.get("showMaxLabel")||h,t&&e!==a[0]&&p(a[0]),e);d<=a[1];d+=c)p(d);function p(t){u.push(n?t:{formattedLabel:i(t),rawLabel:o.getLabel(t),tickValue:t})}return s&&d-c!==a[1]&&p(a[1]),u}function g(t,e,n){var o=t.scale,a=r(t),s=[];return i.each(o.getTicks(),(function(t){var i=o.getLabel(t);e(t,i)&&s.push(n?t:{formattedLabel:a(t),rawLabel:i,tickValue:t})})),s}e.createAxisLabels=function(t){return"category"===t.type?(a=(o=t).getLabelModel(),s=c(o,a),!a.get("show")||o.scale.isBlank()?{labels:[],labelCategoryInterval:s.labelCategoryInterval}:s):(a=(e=t).scale.getTicks(),n=r(e),{labels:i.map(a,(function(t,i){return{formattedLabel:n(t,i),rawLabel:e.scale.getLabel(t),tickValue:t}}))});var e,n,o,a,s},e.createAxisTicks=function(t,e){var n,o,a,r,l,u;return"category"===t.type?(e=e,r=h(n=t,"ticks"),l=s(e),(u=d(r,l))||(e.get("show")&&!n.scale.isBlank()||(o=[]),o=i.isFunction(l)?g(n,l,!0):"auto"===l?(u=c(n,n.getLabelModel()),a=u.labelCategoryInterval,i.map(u.labels,(function(t){return t.tickValue}))):f(n,a=l,!0),p(r,l,{ticks:o,tickCategoryInterval:a}))):{ticks:t.scale.getTicks()}},e.calculateCategoryInterval=function(t){s=(i=t).getLabelModel();var e={axisRotate:i.getRotate?i.getRotate():i.isHorizontal&&!i.isHorizontal()?90:0,labelRotate:s.get("rotate")||0,font:s.getFont()},n=r(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,a=(s=t.scale).getExtent(),s=s.count();if(a[1]-a[0]<1)return 0;for(var l=1,c=(40<s&&(l=Math.max(1,Math.floor(s/40))),a[0]),h=t.dataToCoord(c+1)-t.dataToCoord(c),d=Math.abs(h*Math.cos(i)),p=(h=Math.abs(h*Math.sin(i)),0),f=0;c<=a[1];c+=l){var g=1.3*(m=o.getBoundingRect(n(c),e.font,"center","top")).width,m=1.3*m.height;p=Math.max(p,g,7),f=Math.max(f,m,7)}i=p/d,d=f/h,isNaN(i)&&(i=1/0),isNaN(d)&&(d=1/0),h=Math.max(0,Math.floor(Math.min(i,d))),i=u(t.model),d=t.getExtent(),t=i.lastAutoInterval;var y=i.lastTickCount;return null!=t&&null!=y&&Math.abs(t-h)<=1&&Math.abs(y-s)<=1&&h<t&&i.axisExtend0===d[0]&&i.axisExtend1===d[1]?h=t:(i.lastTickCount=s,i.lastAutoInterval=h,i.axisExtend0=d[0],i.axisExtend1=d[1]),h}},e0d3:function(t,e,n){var i=n("6d8b"),o=n("22d1"),a=i.each,r=i.isObject,s=i.isArray;function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t){return r(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var c=0;function h(t,e){return t&&t.hasOwnProperty(e)}e.normalizeToArray=l,e.defaultEmphasis=function(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,o=n.length;i<o;i++){var a=n[i];!t.emphasis[e].hasOwnProperty(a)&&t[e].hasOwnProperty(a)&&(t.emphasis[e][a]=t[e][a])}}},e.TEXT_STYLE_OPTIONS=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"],e.getDataItemValue=function(t){return!r(t)||s(t)||t instanceof Date?t:t.value},e.isDataItemOption=function(t){return r(t)&&!(t instanceof Array)},e.mappingToExists=function(t,e){e=(e||[]).slice();var n=i.map(t||[],(function(t,e){return{exist:t}}));return a(e,(function(t,i){if(r(t)){for(var o=0;o<n.length;o++)if(!n[o].option&&null!=t.id&&n[o].exist.id===t.id+"")return n[o].option=t,void(e[i]=null);for(o=0;o<n.length;o++){var a=n[o].exist;if(!(n[o].option||null!=a.id&&null!=t.id||null==t.name||u(t)||u(a)||a.name!==t.name+""))return n[o].option=t,void(e[i]=null)}}})),a(e,(function(t,e){if(r(t)){for(var i=0;i<n.length;i++){var o=n[i].exist;if(!n[i].option&&!u(o)&&null==t.id){n[i].option=t;break}}i>=n.length&&n.push({option:t})}})),n},e.makeIdAndName=function(t){var e=i.createHashMap();a(t,(function(t,n){var i=t.exist;i&&e.set(i.id,t)})),a(t,(function(t,n){var o=t.option;i.assert(!o||null==o.id||!e.get(o.id)||e.get(o.id)===t,"id duplicates: "+(o&&o.id)),o&&null!=o.id&&e.set(o.id,t),t.keyInfo||(t.keyInfo={})})),a(t,(function(t,n){var i=t.exist,o=t.option,a=t.keyInfo;if(r(o)){if(a.name=null!=o.name?o.name+"":i?i.name:"series\0"+n,i)a.id=i.id;else if(null!=o.id)a.id=o.id+"";else for(var s=0;a.id="\0"+a.name+"\0"+s++,e.get(a.id););e.set(a.id,t)}}))},e.isNameSpecified=function(t){return!(!(t=t.name)||!t.indexOf("series\0"))},e.isIdInner=u,e.compressBatches=function(t,e){var n={},i={};return o(t||[],n),o(e||[],i,n),[a(n),a(i)];function o(t,e,n){for(var i=0,o=t.length;i<o;i++)for(var a=t[i].seriesId,r=l(t[i].dataIndex),s=n&&n[a],u=0,c=r.length;u<c;u++){var h=r[u];s&&s[h]?s[h]=null:(e[a]||(e[a]={}))[h]=1}}function a(t,e){var n,i,o=[];for(n in t)t.hasOwnProperty(n)&&null!=t[n]&&(e?o.push(+n):(i=a(t[n],!0)).length&&o.push({seriesId:n,dataIndex:i}));return o}},e.queryDataIndex=function(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?i.isArray(e.dataIndex)?i.map(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?i.isArray(e.name)?i.map(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0},e.makeInner=function(){var t="__\0ec_inner_"+c+++"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}},e.parseFinder=function(t,e,n){i.isString(e)&&((o={})[e+"Index"]=0,e=o);var o=n&&n.defaultMainType,r=(!o||h(e,o+"Index")||h(e,o+"Id")||h(e,o+"Name")||(e[o+"Index"]=0),{});return a(e,(function(o,a){var s,l;o=e[a];"dataIndex"===a||"dataIndexInside"===a?r[a]=o:(s=(a=a.match(/^(\w+)(Index|Id|Name)$/)||[])[1],a=(a[2]||"").toLowerCase(),!s||!a||null==o||"index"===a&&"none"===o||n&&n.includeMainTypes&&i.indexOf(n.includeMainTypes,s)<0||(l={mainType:s},"index"===a&&"all"===o||(l[a]=o),a=t.queryComponents(l),r[s+"Models"]=a,r[s+"Model"]=a[0]))})),r},e.setAttribute=function(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n},e.getAttribute=function(t,e){return t.getAttribute?t.getAttribute(e):t[e]},e.getTooltipRenderMode=function(t){return"auto"===t?o.domSupported?"html":"richText":t||"html"},e.groupData=function(t,e){var n=i.createHashMap(),o=[];return i.each(t,(function(t){var i=e(t);(n.get(i)||(o.push(i),n.set(i,[]))).push(t)})),{keys:o,buckets:n}}},e0d8:function(t,e,n){function i(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}n=n("625e"),i.prototype.parse=function(t){return t},i.prototype.getSetting=function(t){return this._setting[t]},i.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},i.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},i.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},i.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},i.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},i.prototype.getExtent=function(){return this._extent.slice()},i.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},i.prototype.isBlank=function(){return this._isBlank},i.prototype.setBlank=function(t){this._isBlank=t},i.prototype.getLabel=null,n.enableClassExtend(i),n.enableClassManagement(i,{registerWhenExtend:!0}),t.exports=i},e1fc:function(t,e,n){function i(t){for(var e in a.call(this,t=t||{}),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0}var o=n("6d8b"),a=n("d5b7"),r=n("9850");i.prototype={constructor:i,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,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){var n;return t&&t!==this&&t.parent!==this&&e&&e.parent===this&&0<=(e=(n=this._children).indexOf(e))&&(n.splice(e,0,t),this._doAdd(t)),this},_doAdd:function(t){t.parent&&t.parent.remove(t);var e=(t.parent=this).__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof i)&&t.addChildrenToStorage(e),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,a=this._children,r=o.indexOf(a,t);return r<0||(a.splice(r,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof i)&&t.delChildrenFromStorage(n),e&&e.refresh()),this},removeAll:function(){for(var t,e=this._children,n=this.__storage,o=0;o<e.length;o++)t=e[o],n&&(n.delFromStorage(t),t instanceof i)&&t.delChildrenFromStorage(n),t.parent=null;return e.length=0,this},eachChild:function(t,e){for(var n=this._children,i=0;i<n.length;i++){var o=n[i];t.call(e,o,i)}return this},traverse:function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n];t.call(e,i),"group"===i.type&&i.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.addToStorage(n),n instanceof i&&n.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.delFromStorage(n),n instanceof i&&n.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,n=new r(0,0,0,0),i=t||this._children,o=[],a=0;a<i.length;a++){var s,l=i[a];l.ignore||l.invisible||(s=l.getBoundingRect(),(l=l.getLocalTransform(o))?(n.copy(s),n.applyTransform(l),(e=e||n.clone()).union(n)):(e=e||s.clone()).union(s))}return e||n}},o.inherits(i,a),t.exports=i},e2637:function(t,e,n){var i=n("401b"),o=n("4a3f"),a=Math.min,r=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,c=i.create(),h=i.create(),d=i.create(),p=[],f=[];e.fromPoints=function(t,e,n){if(0!==t.length){for(var i=t[0],o=i[0],s=i[0],l=i[1],u=i[1],c=1;c<t.length;c++)i=t[c],o=a(o,i[0]),s=r(s,i[0]),l=a(l,i[1]),u=r(u,i[1]);e[0]=o,e[1]=l,n[0]=s,n[1]=u}},e.fromLine=function(t,e,n,i,o,s){o[0]=a(t,n),o[1]=a(e,i),s[0]=r(t,n),s[1]=r(e,i)},e.fromCubic=function(t,e,n,i,s,l,u,c,h,d){var g,m=o.cubicExtrema,y=o.cubicAt,v=m(t,n,s,u,p);for(h[0]=1/0,h[1]=1/0,d[0]=-1/0,d[1]=-1/0,g=0;g<v;g++){var x=y(t,n,s,u,p[g]);h[0]=a(x,h[0]),d[0]=r(x,d[0])}for(v=m(e,i,l,c,f),g=0;g<v;g++){var _=y(e,i,l,c,f[g]);h[1]=a(_,h[1]),d[1]=r(_,d[1])}h[0]=a(t,h[0]),d[0]=r(t,d[0]),h[0]=a(u,h[0]),d[0]=r(u,d[0]),h[1]=a(e,h[1]),d[1]=r(e,d[1]),h[1]=a(c,h[1]),d[1]=r(c,d[1])},e.fromQuadratic=function(t,e,n,i,s,l,u,c){var h=o.quadraticExtremum,d=o.quadraticAt,p=r(a(h(t,n,s),1),0);h=r(a(h(e,i,l),1),0),n=d(t,n,s,p),p=d(e,i,l,h);u[0]=a(t,s,n),u[1]=a(e,l,p),c[0]=r(t,s,n),c[1]=r(e,l,p)},e.fromArc=function(t,e,n,o,a,r,p,f,g){var m=i.min,y=i.max,v=Math.abs(a-r);if(v%u<1e-4&&1e-4<v)f[0]=t-n,f[1]=e-o,g[0]=t+n,g[1]=e+o;else{c[0]=l(a)*n+t,c[1]=s(a)*o+e,h[0]=l(r)*n+t,h[1]=s(r)*o+e,m(f,c,h),y(g,c,h),(a%=u)<0&&(a+=u),(r%=u)<0&&(r+=u),r<a&&!p?r+=u:a<r&&p&&(a+=u),p&&(v=r,r=a,a=v);for(var x=0;x<r;x+=Math.PI/2)a<x&&(d[0]=l(x)*n+t,d[1]=s(x)*o+e,m(f,d,f),y(g,d,g))}}},e468:function(t,e,n){var i=n("e46b"),o=n("6d8b"),a=n("2f45").getDimensionTypeByAxis,r=n("0f99").makeSeriesEncodeForAxisCoordSys;e.seriesModelMixin={_baseAxisDim:null,getInitialData:function(t,e){var n,s,l=e.getComponent("xAxis",this.get("xAxisIndex")),u=(e=e.getComponent("yAxis",this.get("yAxisIndex")),l.get("type")),c=e.get("type"),h=(u=("category"===u?(t.layout="horizontal",n=l.getOrdinalMeta(),d=!0):"category"===c?(t.layout="vertical",n=e.getOrdinalMeta(),d=!0):t.layout=t.layout||"horizontal",["x","y"]),c="horizontal"===t.layout?0:1,this._baseAxisDim=u[c]),d=(u=u[1-c],l=[l,e],e=l[c].get("type"),l=l[1-c].get("type"),c=t.data,c&&d&&(s=[],o.each(c,(function(t,e){var n;t.value&&o.isArray(t.value)?(n=t.value.slice(),t.value.unshift(e)):o.isArray(t)?(n=t.slice(),t.unshift(e)):n=t,s.push(n)})),t.data=s),this.defaultValueDimensions);c=[{name:h,type:a(e),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:u,type:a(l),dimsDef:d.slice()}];return i(this,{coordDimensions:c,dimensionsCount:d.length+1,encodeDefaulter:o.curry(r,c,this)})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}}},e46b:function(t,e,n){var i=n("b1d4"),o=n("6179"),a=(n=n("6d8b"),n.extend),r=n.isArray;t.exports=function(t,e,n){e=r(e)?{coordDimensions:e}:a({},e);var s=t.getSource();e=i(s,e);return(e=new o(e,t)).initData(s,n),e}},e47b:function(t,e,n){n=n("e0d3");var i=n.makeInner,o=n.normalizeToArray,a=i();t.exports={clearColorPalette:function(){a(this).colorIdx=0,a(this).colorNameMap={}},getColorFromPalette:function(t,e,n){e=a(e=e||this);var i,r,s=e.colorIdx||0,l=e.colorNameMap=e.colorNameMap||{};return l.hasOwnProperty(t)?l[t]:(i=o(this.get("color",!0)),r=this.get("colorLayer",!0),(r=(r=null!=n&&r?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(r,n):i)||i)&&r.length?(n=r[s],t&&(l[t]=n),e.colorIdx=(s+1)%r.length,n):void 0)}}},e4d1:function(t,e,n){n("6932"),n("3a56"),n("7dcf"),n("3790"),n("2325"),n("2c17"),n("9e87")},e6cd:function(t,e,n){var i=n("6d8b");e.createWrap=function(){var t,e=[],n={};return{add:function(t,o,a,r,s){return i.isString(r)&&(s=r,r=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:o,time:a,delay:r,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var i=e.length,o=0,a=e.length;o<a;o++){var r=e[o];r.el.animateTo(r.target,r.time,r.delay,r.easing,s)}return this;function s(){--i||(e.length=0,n={},t&&t())}}}}},e7aa:function(t,e,n){var i=n("2306"),o=n("c775f").getDefaultLabel;function a(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=function(t,e,n,r,s,l,u){var c=n.getModel("label");n=n.getModel("emphasis.label");i.setLabelStyle(t,e,c,n,{labelFetcher:s,labelDataIndex:l,defaultText:o(s.getData(),l),isRectText:!0,autoColor:r}),a(t),a(e)}},e7d2:function(t,e,n){var i=n("4a3f");e.containStroke=function(t,e,n,o,a,r,s,l,u,c,h){return 0!==u&&!(e+(u=u)<h&&o+u<h&&r+u<h&&l+u<h||h<e-u&&h<o-u&&h<r-u&&h<l-u||t+u<c&&n+u<c&&a+u<c&&s+u<c||c<t-u&&c<n-u&&c<a-u&&c<s-u)&&i.cubicProjectPoint(t,e,n,o,a,r,s,l,c,h,null)<=u/2}},e86a:function(t,e,n){var i=n("9850"),o=n("5e76"),a=(n=n("6d8b"),n.getContext),r=n.extend,s=n.retrieve2,l=n.retrieve3,u=n.trim,c={},h=0,d=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,f="12px sans-serif",g={};function m(t,e){var n=t+":"+(e=e||f);if(c[n])return c[n];for(var i=(t+"").split("\n"),o=0,a=0,r=i.length;a<r;a++)o=Math.max(M(i[a],e).width,o);return d<h&&(h=0,c={}),h++,c[n]=o}function y(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function v(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function x(t,e,n){var i=e.textPosition,o=e.textDistance,a=n.x,r=n.y,s=(o=o||0,n.height),l=n.width,u=s/2,c="left",h="top";switch(i){case"left":a-=o,r+=u,c="right",h="middle";break;case"right":a+=o+l,r+=u,h="middle";break;case"top":a+=l/2,r-=o,c="center",h="bottom";break;case"bottom":a+=l/2,r+=s+o,c="center";break;case"inside":a+=l/2,r+=u,c="center",h="middle";break;case"insideLeft":a+=o,r+=u,h="middle";break;case"insideRight":a+=l-o,r+=u,c="right",h="middle";break;case"insideTop":a+=l/2,r+=o,c="center";break;case"insideBottom":a+=l/2,r+=s-o,c="center",h="bottom";break;case"insideTopLeft":a+=o,r+=o;break;case"insideTopRight":a+=l-o,r+=o,c="right";break;case"insideBottomLeft":a+=o,r+=s-o,h="bottom";break;case"insideBottomRight":a+=l-o,r+=s-o,c="right",h="bottom"}return(t=t||{}).x=a,t.y=r,t.textAlign=c,t.textVerticalAlign=h,t}function _(t,e,n,i,o){if(!e)return"";var a=(t+"").split("\n");o=b(e,n,i,o);for(var r=0,s=a.length;r<s;r++)a[r]=w(a[r],o);return a.join("\n")}function b(t,e,n,i){(i=r({},i)).font=e;n=s(n,"...");for(var o=(i.maxIterations=s(i.maxIterations,2),i.minChar=s(i.minChar,0)),a=(i.cnCharWidth=m("国",e),i.ascCharWidth=m("a",e)),l=(i.placeholder=s(i.placeholder,""),t=Math.max(0,t-1)),u=0;u<o&&a<=l;u++)l-=a;return e=m(n,e),l<e&&(n="",e=0),l=t-e,i.ellipsis=n,i.ellipsisWidth=e,i.contentWidth=l,i.containerWidth=t,i}function w(t,e){var n=e.containerWidth,i=e.font,o=e.contentWidth;if(!n)return"";var a=m(t,i);if(!(a<=n)){for(var r=0;;r++){if(a<=o||r>=e.maxIterations){t+=e.ellipsis;break}var s=0===r?function(t,e,n,i){for(var o=0,a=0,r=t.length;a<r&&o<e;a++){var s=t.charCodeAt(a);o+=0<=s&&s<=127?n:i}return a}(t,o,e.ascCharWidth,e.cnCharWidth):0<a?Math.floor(t.length*o/a):0;a=m(t=t.substr(0,s),i)}""===t&&(t=e.placeholder)}return t}function S(t){return m("国",t)}function M(t,e){return g.measureText(t,e)}function I(t,e,n,i,o){null!=t&&(t+="");i=s(i,S(e));var a=t?t.split("\n"):[],r=a.length*i,l=r,u=!0;if(n&&(l+=n[0]+n[2]),t&&o){u=!1;var c=o.outerHeight,h=o.outerWidth;if(null!=c&&c<l)t="",a=[];else if(null!=h)for(var d=b(h-(n?n[1]+n[3]:0),e,o.ellipsis,{minChar:o.minChar,placeholder:o.placeholder}),p=0,f=a.length;p<f;p++)a[p]=w(a[p],d)}return{lines:a,height:r,outerHeight:l,lineHeight:i,canCacheByTextString:u}}function T(t,e){var n={lines:[],width:0,height:0};if(null!=t&&(t+=""),t){for(var i,a=p.lastIndex=0;null!=(i=p.exec(t));){var r=i.index;a<r&&A(n,t.substring(a,r)),A(n,i[2],i[1]),a=p.lastIndex}a<t.length&&A(n,t.substring(a,t.length));var u=n.lines,c=0,h=0,d=[],f=e.textPadding,g=e.truncate,y=g&&g.outerWidth,v=g&&g.outerHeight;f&&(null!=y&&(y-=f[1]+f[3]),null!=v)&&(v-=f[0]+f[2]);for(var x=0;x<u.length;x++){for(var b=u[x],w=0,M=0,I=0;I<b.tokens.length;I++){var T=(R=b.tokens[I]).styleName&&e.rich[R.styleName]||{},C=R.textPadding=T.textPadding,D=R.font=T.font||e.font,L=R.textHeight=s(T.textHeight,S(D));if(C&&(L+=C[0]+C[2]),R.height=L,R.lineHeight=l(T.textLineHeight,e.textLineHeight,L),R.textAlign=T&&T.textAlign||e.textAlign,R.textVerticalAlign=T&&T.textVerticalAlign||"middle",null!=v&&c+R.lineHeight>v)return{lines:[],width:0,height:0};R.textWidth=m(R.text,D);var P,k=T.textWidth,O=null==k||"auto"===k;"string"==typeof k&&"%"===k.charAt(k.length-1)?(R.percentWidth=k,d.push(R),k=0):(O&&(k=R.textWidth,P=(P=T.textBackgroundColor)&&P.image)&&(P=o.findExistImage(P),o.isImageReady(P))&&(k=Math.max(k,P.width*L/P.height)),k+=L=C?C[1]+C[3]:0,null!=(P=null!=y?y-M:null)&&P<k&&(!O||P<L?(R.text="",R.textWidth=k=0):(R.text=_(R.text,P-L,D,g.ellipsis,{minChar:g.minChar}),R.textWidth=m(R.text,D),k=R.textWidth+L))),M+=R.width=k,T&&(w=Math.max(w,R.lineHeight))}b.width=M,c+=b.lineHeight=w,h=Math.max(h,M)}for(n.outerWidth=n.width=s(e.textWidth,h),n.outerHeight=n.height=s(e.textHeight,c),f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]),x=0;x<d.length;x++){var R,E=(R=d[x]).percentWidth;R.width=parseInt(E,10)/100*h}}return n}function A(t,e,n){for(var i=""===e,o=e.split("\n"),a=t.lines,r=0;r<o.length;r++){var s,l,u=o[r],c={styleName:n,text:u,isLineHolder:!u&&!i};r?a.push({tokens:[c]}):1===(l=(s=(a[a.length-1]||(a[0]={tokens:[]})).tokens).length)&&s[0].isLineHolder?s[0]=c:!u&&l&&!i||s.push(c)}}g.measureText=function(t,e){var n=a();return n.font=e||f,n.measureText(t)},e.DEFAULT_FONT=f,e.$override=function(t,e){g[t]=e},e.getWidth=m,e.getBoundingRect=function(t,e,n,o,a,r,s,l){var u,c,h,d,p,f;return s?(u=o,s=(h=T(h=t,{rich:s=s,truncate:f=l,font:c=e,textAlign:d=n,textPadding:p=a,textLineHeight:r})).outerWidth,f=h.outerHeight,c=y(0,s,d),p=v(0,f,u),new i(c,p,s,f)):(h=n,d=o,s=I(u=t,c=e,p=a,s=r,f=l),f=m(u,c),p&&(f+=p[1]+p[3]),u=s.outerHeight,c=y(0,f,h),p=v(0,u,d),(h=new i(c,p,f,u)).lineHeight=s.lineHeight,h)},e.adjustTextX=y,e.adjustTextY=v,e.calculateTextPosition=x,e.adjustTextPositionOnRect=function(t,e,n){return x({},{textPosition:t,textDistance:n},e)},e.truncateText=_,e.getLineHeight=S,e.measureText=M,e.parsePlainText=I,e.parseRichText=T,e.makeFont=function(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&u(e)||t.textFont||t.font}},e887:function(t,e,n){var i=n("6d8b").each,o=n("e1fc"),a=n("8918"),r=n("625e"),s=n("e0d3"),l=n("2306"),u=n("f47d").createTask,c=(n=n("cccd"),s.makeInner()),h=n();function d(){this.group=new o,this.uid=a.getUID("viewChart"),this.renderTask=u({plan:g,reset:m}),this.renderTask.context={view:this}}function p(t,e,n){if(t&&(t.trigger(e,n),t.isGroup)&&!l.isHighDownDispatcher(t))for(var i=0,o=t.childCount();i<o;i++)p(t.childAt(i),e,n)}function f(t,e,n){var o=s.queryDataIndex(t,e),a=e&&null!=e.highlightKey?l.getHighlightDigit(e.highlightKey):null;null!=o?i(s.normalizeToArray(o),(function(e){p(t.getItemGraphicEl(e),n,a)})):t.eachItemGraphicEl((function(t){p(t,n,a)}))}function g(t){return h(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,o=t.payload,a=e.pipelineContext.progressiveRender,r=(t=t.view,o&&c(o).updateMethod);a=a?"incrementalPrepareRender":r&&t[r]?r:"render";return"render"!==a&&t[a](e,n,i,o),y[a]}n=d.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){f(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){f(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null},n.updateView=n.updateLayout=n.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},r.enableClassExtend(d,["dispose"]),r.enableClassManagement(d,{registerWhenExtend:!0}),d.markUpdateMethod=function(t,e){c(t).updateMethod=e};var y={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};t.exports=d},e9f9:function(t,e,n){var i=n("4942"),o=n("d3a4");n=n("6d8b").each;function a(t){return parseInt(t,10)}function r(t,e){o.initVML(),this.root=t,this.storage=e;var n=document.createElement("div"),i=document.createElement("div"),a=(n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",i.style.cssText="position:absolute;left:0;top:0;",t.appendChild(n),this._vmlRoot=i,this._vmlViewport=n,this.resize(),e.delFromStorage),r=e.addToStorage;e.delFromStorage=function(t){a.call(e,t),t&&t.onRemove&&t.onRemove(i)},e.addToStorage=function(t){t.onAdd&&t.onAdd(i),r.call(e,t)},this._firstPaint=!0}r.prototype={constructor:r,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,n=0;n<t.length;n++){var i=t[n];i.invisible||i.ignore?(i.__alreadyNotVisible||i.onRemove(e),i.__alreadyNotVisible=!0):(i.__alreadyNotVisible&&i.onAdd(e),i.__alreadyNotVisible=!1,i.__dirty&&(i.beforeBrush&&i.beforeBrush(),(i.brushVML||i.brush).call(i,e),i.afterBrush)&&i.afterBrush()),i.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(e),this._firstPaint=!1)},resize:function(t,e){var n;t=null==t?this._getWidth():t,e=null==e?this._getHeight():e;this._width===t&&this._height===e||(this._width=t,this._height=e,(n=this._vmlViewport.style).width=t+"px",n.height=e+"px")},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var t=this.root,e=t.currentStyle;return(t.clientWidth||a(e.width))-a(e.paddingLeft)-a(e.paddingRight)|0},_getHeight:function(){var t=this.root,e=t.currentStyle;return(t.clientHeight||a(e.height))-a(e.paddingTop)-a(e.paddingBottom)|0}},n(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],(function(t){var e;r.prototype[t]=(e=t,function(){i('In IE8.0 VML mode painter not support method "'+e+'"')})})),t.exports=r},eabf:function(t,e,n){var i=n("6d8b");t.exports=function(t){t&&i.isArray(t.series)&&i.each(t.series,(function(t){i.isObject(t)&&"k"===t.type&&(t.type="candlestick")}))}},eaea:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("22d1"),r=n("60e3"),s=n("5f14"),l=n("2b8c"),u=n("e0d3"),c=(n=n("3842"),s.mapVisual),h=s.eachVisual,d=o.isArray,p=o.each,f=n.asc,g=n.linearMap;n=o.noop,i=i.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(t,e,n){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(t,n)},optionUpdated:function(t,e){var n=this.option;a.canvasSupported||(n.realtime=!1),e||l.replaceVisualOption(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(t){var e=this.stateList;t=o.bind(t,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,e,t),this.targetVisuals=l.createVisualMappings(this.option.target,e,t)},getTargetSeriesIndices:function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=u.normalizeToArray(t),e},eachTargetSeries:function(t,e){o.each(this.getTargetSeriesIndices(),(function(n){t.call(e,this.ecModel.getSeriesByIndex(n))}),this)},isTargetSeries:function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},formatValueText:function(t,e,n){var i,a=this.option,r=a.precision,s=this.dataBound;a=a.formatter;return n=n||["<",">"],o.isArray(t)&&(t=t.slice(),i=!0),e=e?t:i?[l(t[0]),l(t[1])]:l(t),o.isString(a)?a.replace("{value}",i?e[0]:e).replace("{value2}",i?e[1]:e):o.isFunction(a)?i?a(t[0],t[1]):a(t):i?t[0]===s[0]?n[0]+" "+e[1]:t[1]===s[1]?n[1]+" "+e[0]:e[0]+" - "+e[1]:e;function l(t){return t===s[0]?"min":t===s[1]?"max":(+t).toFixed(Math.min(r,20))}},resetExtent:function(){var t=this.option;t=f([t.min,t.max]);this._dataExtent=t},getDataDimension:function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var i=t.dimensions,o=i.length-1;0<=o;o--){var a=i[o];if(!t.getDimensionInfo(a).isCalculationCoord)return a}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),a=e.controller||(e.controller={}),l=(o.merge(i,n),o.merge(a,n),this.isCategory());function u(n){d(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")},p(this.stateList,(function(t){var e,i=n[t];o.isString(i)&&((e=r.get(i,"active",l))?(n[t]={},n[t][i]=e):delete n[t])}),this)}u.call(this,i),u.call(this,a),function(t,e,n){e=t[e];var i=t[n];e&&!i&&(i=t[n]={},p(e,(function(t,e){var n;s.isValidType(e)&&null!=(n=r.get(e,"inactive",l))&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor");p(this.stateList,(function(a){var r,s=this.itemSize,u=t[a];null==(u=u||(t[a]={color:l?i:[i]})).symbol&&(u.symbol=e&&o.clone(e)||(l?"roundRect":["roundRect"])),null==u.symbolSize&&(u.symbolSize=n&&o.clone(n)||(l?s[0]:[s[0],s[0]])),u.symbol=c(u.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t})),a=u.symbolSize;null!=a&&(r=-1/0,h(a,(function(t){r<t&&(r=t)})),u.symbolSize=c(a,(function(t){return g(t,[0,r],[0,s[0]],!0)})))}),this)}.call(this,a)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:n,getValueState:n,getVisualMeta:n});t.exports=i},eaeb:function(t,e,n){var i=n("6d8b");function o(t,e){return i.map(["Radius","Angle"],(function(n,i){var o=this["get"+n+"Axis"](),a=e[i],r=(i=t[i]/2,"dataTo"+n);o="category"===o.type?o.getBandWidth():Math.abs(o[r](a-i)-o[r](a+i));return"Angle"===n?o*Math.PI/180:o}),this)}t.exports=function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),a=e.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:a[1],r0:a[0]},api:{coord:i.bind((function(i){var o=e.dataToRadius(i[0]),a=(i=n.dataToAngle(i[1]),t.coordToPoint([o,i]));return a.push(o,i*Math.PI/180),a})),size:i.bind(o,t)}}}},eb6b:function(t,e,n){var i=n("6d8b"),o=n("e0d3").makeInner,a=n("cd33"),r=n("133d"),s=i.each,l=i.curry,u=o();function c(t,e,n,o,a){var r,l,u,c,h,d,p,f,g,m,y=t.axis;!y.scale.isBlank()&&y.containData(e)&&(t.involveSeries?(l=e,u=t.axis,c=u.dim,h=l,d=[],p=Number.MAX_VALUE,f=-1,s(t.seriesModels,(function(t,e){var n,i=t.getData().mapDimension(c,!0);if(t.getAxisTooltipData){var o=t.getAxisTooltipData(i,l,u),a=o.dataIndices;o=o.nestestValue}else{if(!(a=t.getData().indicesOfNearest(i[0],l,"category"===u.type?.5:null)).length)return;o=t.getData().get(i[0],a[0])}null!=o&&isFinite(o)&&(i=l-o,(n=Math.abs(i))<=p)&&((n<p||0<=i&&f<0)&&(p=n,f=i,h=o,d.length=0),s(a,(function(e){d.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))})),m=(r={payloadBatch:d,snapToValue:h}).snapToValue,(g=r.payloadBatch)[0]&&null==a.seriesIndex&&i.extend(a,g[0]),!o&&t.snap&&y.containData(m)&&null!=m&&(e=m),n.showPointer(t,e,g,a),n.showTooltip(t,r,m)):n.showPointer(t,e))}function h(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function d(t,e,n,i){n=n.payloadBatch;var o,r,s=e.axis,l=s.model,u=e.axisPointerModel;e.triggerTooltip&&n.length&&(e=e.coordSys.model,o=a.makeKey(e),(r=t.map[o])||(r=t.map[o]={coordSysId:e.id,coordSysIndex:e.componentIndex,coordSysType:e.type,coordSysMainType:e.mainType,dataByAxis:[]},t.list.push(r)),r.dataByAxis.push({axisDim:s.dim,axisIndex:l.componentIndex,axisType:l.type,axisId:l.id,value:i,valueLabelOpt:{precision:u.get("label.precision"),formatter:u.get("label.formatter")},seriesDataIndices:n.slice()}))}function p(t){var e=t.axis.model,n={};t=n.axisDim=t.axis.dim;return n.axisIndex=n[t+"AxisIndex"]=e.componentIndex,n.axisName=n[t+"AxisName"]=e.name,n.axisId=n[t+"AxisId"]=e.id,n}function f(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,n){var o,a,g,m,y,v,x,_,b,w,S,M,I,T,A=t.currTrigger,C=[t.x,t.y],D=t,L=t.dispatchAction||i.bind(n.dispatchAction,n),P=e.getComponent("axisPointer").coordSysAxesInfo;if(P)return f(C)&&(C=r({seriesIndex:D.seriesIndex,dataIndex:D.dataIndex},e).point),o=f(C),a=D.axesInfo,g=P.axesInfo,m="leave"===A||f(C),y={},e={list:[],map:{}},x={showPointer:l(h,v={}),showTooltip:l(d,e)},s(P.coordSysMap,(function(t,e){var n=o||t.containPoint(C);s(P.coordSysAxesInfo[e],(function(t,e){var i=t.axis,r=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(a,t);m||!n||a&&!r||null!=(r=null!=(r=r&&r.value)||o?r:i.pointToData(C))&&c(t,r,x,!1,y)}))})),_={},s(g,(function(t,e){var n=t.linkGroup;n&&!v[e]&&s(n.axesInfo,(function(e,i){i=v[i];e!==t&&i&&(i=i.value,n.mapper&&(i=t.axis.scale.parse(n.mapper(i,p(e),p(t)))),_[t.key]=i)}))})),s(_,(function(t,e){c(g[e],t,x,!0,y)})),b=v,D=g,w=y.axesInfo=[],s(D,(function(t,e){var n=t.axisPointerModel.option;e=b[e];e?(t.useHandle||(n.status="show"),n.value=e.value,n.seriesDataIndices=(e.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&w.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})})),A=e,D=t,e=L,f(t=C)||!A.list.length?e({type:"hideTip"}):(L=((A.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{},e({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:D.tooltipOption,position:D.position,dataIndexInside:L.dataIndexInside,dataIndex:L.dataIndex,seriesIndex:L.seriesIndex,dataByCoordSys:A.list})),e=g,D=(t=n).getZr(),L="axisPointerLastHighlights",S=u(D)[L]||{},M=u(D)[L]={},s(e,(function(t,e){t=t.axisPointerModel.option,"show"===t.status&&s(t.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;M[e]=t}))})),I=[],T=[],i.each(S,(function(t,e){M[e]||T.push(t)})),i.each(M,(function(t,e){S[e]||I.push(t)})),T.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,batch:T}),I.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,batch:I}),y}},ebf9:function(t,e,n){n("3eba").registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))},ec02:function(t,e,n){function i(t,e,n,i,o){a.call(this,t,e,n),this.type=i||"value",this.position=o||"bottom"}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,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},o.inherits(i,a),t.exports=i},ec34:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=i.createHashMap,a=i.isString,r=i.isArray,s=i.each,l=(i.assert,n("3041").parseXML),u=o(),c={geoJSON:function(t){var e=t.source;t.geoJSON=a(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=l(t.source)}};t.exports={registerMap:function(t,e,n){return e=r(e)?e:e.svg?[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),[{type:"geoJSON",source:e,specialAreas:n}]),s(e,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,c[e])(t)})),u.set(t,e)},retrieveMap:function(t){return u.get(t)}}},ec6f:function(t,e,n){var i=n("6d8b"),o=i.createHashMap,a=i.isTypedArray,r=(i=n("625e").enableClassCheck,n=n("93d0"),n.SOURCE_FORMAT_ORIGINAL),s=n.SERIES_LAYOUT_BY_COLUMN,l=n.SOURCE_FORMAT_UNKNOWN,u=n.SOURCE_FORMAT_TYPED_ARRAY,c=n.SOURCE_FORMAT_KEYED_COLUMNS;function h(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===c?{}:[]),this.sourceFormat=t.sourceFormat||l,this.seriesLayoutBy=t.seriesLayoutBy||s,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&o(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}h.seriesDataToSource=function(t){return new h({data:t,sourceFormat:a(t)?u:r,fromDataset:!1})},i(h),t.exports=h},ecf8:function(t,e,n){var i=n("6d8b"),o=n("3842").parsePercent,a=i.each;t.exports=function(t){var e,n;e=[],n=[],t.eachSeriesByType("boxplot",(function(t){var o=t.getBaseAxis(),a=i.indexOf(n,o);a<0&&(a=n.length,n[a]=o,e[a]={axis:o,seriesModels:[]}),e[a].seriesModels.push(t)})),a(e,(function(t){var e,n,r,s,l,u,c,h,d,p,f,g,m=t.seriesModels;m.length&&(d=(e=t).axis,r=e.seriesModels,s=r.length,l=e.boxWidthList=[],u=e.boxOffsetList=[],c=[],"category"===d.type?n=d.getBandWidth():(h=0,a(r,(function(t){h=Math.max(h,t.getData().count())})),e=d.getExtent(),Math.abs(e[1]-e[0])),a(r,(function(t){t=t.get("boxWidth"),i.isArray(t)||(t=[t,t]),c.push([o(t[0],n)||0,o(t[1],n)||0])})),p=(d=.8*n-2)/s*.3,g=(f=(d-p*(s-1))/s)/2-d/2,a(r,(function(t,e){u.push(g),g+=p+f,l.push(Math.min(Math.max(f,c[e][0]),c[e][1]))})),a(m,(function(e,n){var i=t.boxOffsetList[n],o=(n=t.boxWidthList[n],e.coordinateSystem),a=e.getData(),r=n/2,s="horizontal"===e.get("layout")?0:1,l=1-s,u=(n=["x","y"],a.mapDimension(n[s])),c=a.mapDimension(n[l],!0);if(!(null==u||c.length<5))for(var h=0;h<a.count();h++){var d=a.get(u,h),p=v(d,c[2],h),f=v(d,c[0],h),g=v(d,c[1],h),m=v(d,c[3],h),y=(d=v(d,c[4],h),[]);x(y,g,0),x(y,m,1),y.push(f,g,d,m),_(y,f),_(y,d),_(y,p),a.setItemLayout(h,{initBaseline:p[l],ends:y})}function v(t,e,n){var r;e=a.get(e,n),n=[];return n[s]=t,n[l]=e,isNaN(t)||isNaN(e)?r=[NaN,NaN]:(r=o.dataToPoint(n))[s]+=i,r}function x(t,e,n){var i=e.slice();e=e.slice();i[s]+=r,e[s]-=r,n?t.push(i,e):t.push(e,i)}function _(t,e){var n=e.slice();e=e.slice();n[s]-=r,e[s]+=r,t.push(n,e)}})))}))}},ed21:function(t,e,n){var i=n("2cf4c").devicePixelRatio,o=n("6d8b"),a=n("4942"),r=n("9850"),s=n("04f6"),l=n("5e683"),u=n("98b7"),c=n("0da8"),h=n("22d1"),d=314159;function p(t){return parseInt(t,10)}var f=new r(0,0,0,0),g=new r(0,0,0,0);function m(t,e,n){this.type="canvas";var a,r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=o.extend({},n||{}),this.dpr=n.devicePixelRatio||i,this._singleCanvas=r,(s=(this.root=t).style)&&(s["-webkit-tap-highlight-color"]="transparent",s["-webkit-user-select"]=s["user-select"]=s["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[];e=this._layers={};this._layerConfig={},this._needsManuallyCompositing=!1,r?(r=t.width,a=t.height,null!=n.width&&(r=n.width),null!=n.height&&(a=n.height),this.dpr=n.devicePixelRatio||1,t.width=r*this.dpr,t.height=a*this.dpr,this._width=r,this._height=a,(n=new l(t,this,this.dpr)).__builtin__=!0,n.initContext(),(e[d]=n).zlevel=d,s.push(d),this._domRoot=t):(this._width=this._getSize(0),this._height=this._getSize(1),n=this._domRoot=(r=this._width,a=this._height,(e=document.createElement("div")).style.cssText=["position:relative","width:"+r+"px","height:"+a+"px","padding:0","margin:0","border-width:0"].join(";")+";",e),t.appendChild(n)),this._hoverlayer=null,this._hoverElements=[]}m.prototype={constructor:m,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var i=0;i<n.length;i++){var o,a=n[i];a=this._layers[a];!a.__builtin__&&a.refresh&&(o=0===i?this._backgroundColor:null,a.refresh(o))}return this.refreshHover(),this},addHover:function(t,e){var n;if(!t.__hoverMir)return((n=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent})).__from=t).__hoverMir=n,e&&n.setStyle(e),this._hoverElements.push(n),n},removeHover:function(t){var e=t.__hoverMir,n=this._hoverElements;e=o.indexOf(n,e);0<=e&&n.splice(e,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n<e.length;n++){var i=e[n].__from;i&&(i.__hoverMir=null)}e.length=0},refreshHover:function(){var t=this._hoverElements,e=t.length;if((n=this._hoverlayer)&&n.clear(),e){s(t,this.storage.displayableSortFunc);var n,i={};(n=n||(this._hoverlayer=this.getLayer(1e5))).ctx.save();for(var o=0;o<e;){var a=t[o],r=a.__from;r&&r.__zr?(o++,r.invisible||(a.transform=r.transform,a.invTransform=r.invTransform,a.__clipPaths=r.__clipPaths,this._doPaintEl(a,n,!0,i))):(t.splice(o,1),r.__hoverMir=null,e--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(1e5)},_paintList:function(t,e,n){var i,o;this._redrawId!==n||(e=e||!1,this._updateLayerStatus(t),i=this._doPaintList(t,e),this._needsManuallyCompositing&&this._compositeManually(),i)||(o=this,u((function(){o._paintList(t,e,n)})))},_compositeManually:function(){var t=this.getLayer(d).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)}))},_doPaintList:function(t,e){for(var n=[],i=0;i<this._zlevelList.length;i++){var a=this._zlevelList[i];(l=this._layers[a]).__builtin__&&l!==this._hoverlayer&&(l.__dirty||e)&&n.push(l)}for(var r=!0,s=0;s<n.length;s++){var l,u,c=(l=n[s]).ctx,d={},p=(c.save(),e?l.__startIndex:l.__drawIndex),f=!e&&l.incremental&&Date.now,g=f&&Date.now(),m=l.zlevel===this._zlevelList[0]?this._backgroundColor:null;l.__startIndex!==l.__endIndex&&(p!==l.__startIndex||(u=t[p]).incremental&&u.notClear&&!e)||l.clear(!1,m);for(var y=p=-1===p?l.__startIndex:p;y<l.__endIndex;y++){var v=t[y];if(this._doPaintEl(v,l,e,d),v.__dirty=v.__dirtyText=!1,f&&15<Date.now()-g)break}l.__drawIndex=y,l.__drawIndex<l.__endIndex&&(r=!1),d.prevElClipPaths&&c.restore(),c.restore()}return h.wxa&&o.each(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),r},_doPaintEl:function(t,e,n,i){var o=e.ctx,a=t.transform;if((e.__dirty||n)&&!t.invisible&&0!==t.style.opacity&&(!a||a[0]||a[3])&&(!t.culling||(e=t,n=this._width,a=this._height,f.copy(e.getBoundingRect()),e.transform&&f.applyTransform(e.transform),g.width=n,g.height=a,f.intersect(g)))){if(e=t.__clipPaths,n=i.prevElClipPaths,(!n||function(t,e){if(t!==e){if(!t||!e||t.length!==e.length)return 1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return 1}}(e,n))&&(n&&(o.restore(),i.prevElClipPaths=null,i.prevEl=null),e)){o.save();for(var r=e,s=o,l=0;l<r.length;l++){var u=r[l];u.setTransform(s),s.beginPath(),u.buildPath(s,u.shape),s.clip(),u.restoreTransform(s)}i.prevElClipPaths=e}t.beforeBrush&&t.beforeBrush(o),t.brush(o,i.prevEl||null),(i.prevEl=t).afterBrush&&t.afterBrush(o)}},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=d);var n=this._layers[t];return n||((n=new l("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?o.merge(n,this._layerConfig[t],!0):this._layerConfig[t-.01]&&o.merge(n,this._layerConfig[t-.01],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},insertLayer:function(t,e){var n,i=this._layers,o=this._zlevelList,r=o.length,s=null,l=-1,u=this._domRoot;if(i[t])a("ZLevel "+t+" has been used already");else if((n=e)&&(n.__builtin__||"function"==typeof n.resize&&"function"==typeof n.refresh)){if(0<r&&t>o[0]){for(l=0;l<r-1&&!(o[l]<t&&o[l+1]>t);l++);s=i[o[l]]}o.splice(l+1,0,t),(i[t]=e).virtual||(s?(n=s.dom).nextSibling?u.insertBefore(e.dom,n.nextSibling):u.appendChild(e.dom):u.firstChild?u.insertBefore(e.dom,u.firstChild):u.appendChild(e.dom))}else a("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){for(var n,i=this._zlevelList,o=0;o<i.length;o++)n=i[o],t.call(e,this._layers[n],n)},eachBuiltinLayer:function(t,e){for(var n,i,o=this._zlevelList,a=0;a<o.length;a++)i=o[a],(n=this._layers[i]).__builtin__&&t.call(e,n,i)},eachOtherLayer:function(t,e){for(var n,i,o=this._zlevelList,a=0;a<o.length;a++)i=o[a],(n=this._layers[i]).__builtin__||t.call(e,n,i)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++)if((s=t[n]).zlevel!==t[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}var i,o=null,r=0;for(n=0;n<t.length;n++){var s,l,u=(s=t[n]).zlevel;i!==u&&(i=u,r=0),s.incremental?((l=this.getLayer(u+.001,this._needsManuallyCompositing)).incremental=!0,r=1):l=this.getLayer(u+(0<r?.01:0),this._needsManuallyCompositing),l.__builtin__||a("ZLevel "+u+" has been used by unkown layer "+l.id),l!==o&&(l.__used=!0,l.__startIndex!==n&&(l.__dirty=!0),l.__startIndex=n,l.incremental?l.__drawIndex=-1:l.__drawIndex=n,e(n),o=l),s.__dirty&&(l.__dirty=!0,l.incremental)&&l.__drawIndex<0&&(l.__drawIndex=n)}e(n),this.eachBuiltinLayer((function(t,e){!t.__used&&0<t.getElementCount()&&(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 n=this._layerConfig;n[t]?o.merge(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var a=this._zlevelList[i];a!==t&&a!==t+.01||(a=this._layers[a],o.merge(a,n[t],!0))}}},delLayer:function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(o.indexOf(n,t),1))},resize:function(t,e){if(this._domRoot.style){var n=this._domRoot,i=(n.style.display="none",this._opts);if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||e!==this._height){for(var a in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(t,e);o.each(this._progressiveLayers,(function(n){n.resize(t,e)})),this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(d).resize(t,e)}return this},clearLayer:function(t){t=this._layers[t],t&&t.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(this._singleCanvas&&!this._compositeManually)return this._layers[d].dom;var e=new l("image",this,(t=t||{}).pixelRatio||this.dpr);if(e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var n=e.dom.width,i=e.dom.height,o=e.ctx;this.eachLayer((function(t){t.__builtin__?o.drawImage(t.dom,0,0,n,i):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())}))}else for(var a={},r=this.storage.getDisplayList(!0),s=0;s<r.length;s++){var u=r[s];this._doPaintEl(u,e,!0,a)}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e,n=this._opts,i=["width","height"][t],o=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t];t=["paddingRight","paddingBottom"][t];return null!=n[i]&&"auto"!==n[i]?parseFloat(n[i]):(n=this.root,e=document.defaultView.getComputedStyle(n),(n[o]||p(e[i])||p(n.style[i]))-(p(e[a])||0)-(p(e[t])||0)|0)},pathToImage:function(t,e){e=e||this.dpr;var n=document.createElement("canvas"),i=n.getContext("2d"),o=t.getBoundingRect(),a=t.style,r=a.shadowBlur*e,s=a.shadowOffsetX*e,l=a.shadowOffsetY*e,u=(a=a.hasStroke()?a.lineWidth:0,Math.max(a/2,r-s)),h=(s=Math.max(a/2,s+r),Math.max(a/2,r-l));a=Math.max(a/2,l+r),l=o.width+u+s,r=o.height+h+a,n.width=l*e,n.height=r*e,i.scale(e,e),i.clearRect(0,0,l,r),i.dpr=e,s={position:t.position,rotation:t.rotation,scale:t.scale};return t.position=[u-o.x,h-o.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(i),a=new c({style:{x:0,y:0,image:n}}),null!=s.position&&(a.position=t.position=s.position),null!=s.rotation&&(a.rotation=t.rotation=s.rotation),null!=s.scale&&(a.scale=t.scale=s.scale),a}},t.exports=m},eda2:function(t,e,n){var i=n("6d8b"),o=n("e86a"),a=n("3842"),r=(n=i.normalizeCssArray,/([&<>"'])/g),s={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function l(t){return null==t?"":(t+"").replace(r,(function(t,e){return s[e]}))}function u(t,e){return"{"+t+(null==e?"":e)+"}"}var c=["a","b","c","d","e","f","g"];function h(t,e){return"0000".substr(0,e-(t+="").length)+t}var d=o.truncateText;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(1<t.length?"."+t[1]:"")},e.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e?t&&t.charAt(0).toUpperCase()+t.slice(1):t},e.normalizeCssArray=n,e.encodeHTML=l,e.formatTpl=function(t,e,n){var o=(e=i.isArray(e)?e:[e]).length;if(!o)return"";for(var a=e[0].$vars||[],r=0;r<a.length;r++){var s=c[r];t=t.replace(u(s),u(s,0))}for(var h=0;h<o;h++)for(var d=0;d<a.length;d++){var p=e[h][a[d]];t=t.replace(u(c[d],h),n?l(p):p)}return t},e.formatTplSimple=function(t,e,n){return i.each(e,(function(e,i){t=t.replace("{"+i+"}",n?l(e):e)})),t},e.getTooltipMarker=function(t,e){var n=(t=i.isString(t)?{color:t,extraCssText:e}:t||{}).color,o=t.type,a=(e=t.extraCssText,t.renderMode||"html");t=t.markerId||"X";return n?"html"===a?"subItem"===o?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+l(n)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+l(n)+";"+(e||"")+'"></span>':{renderMode:a,content:"{marker"+t+"|} ",style:{color:n}}:""},e.formatTime=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=(e=a.parseDate(e))["get"+(n=n?"UTC":"")+"FullYear"](),o=e["get"+n+"Month"]()+1,r=e["get"+n+"Date"](),s=e["get"+n+"Hours"](),l=e["get"+n+"Minutes"](),u=e["get"+n+"Seconds"]();e=e["get"+n+"Milliseconds"]();return t.replace("MM",h(o,2)).replace("M",o).replace("yyyy",i).replace("yy",i%100).replace("dd",h(r,2)).replace("d",r).replace("hh",h(s,2)).replace("h",s).replace("mm",h(l,2)).replace("m",l).replace("ss",h(u,2)).replace("s",u).replace("SSS",h(e,3))},e.capitalFirst=function(t){return t&&t.charAt(0).toUpperCase()+t.substr(1)},e.truncateText=d,e.getTextBoundingRect=function(t){return o.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},e.getTextRect=function(t,e,n,i,a,r,s,l){return o.getBoundingRect(t,e,n,i,a,l,r,s)},e.windowOpen=function(t,e){var n;"_blank"===e||"blank"===e?((n=window.open()).opener=null,n.location=t):window.open(t,e)}},edaf:function(t,e,n){var i=n("6d8b"),o=n("6cb7"),a=n("6179"),r=n("e0d3"),s=o.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t=e<=t?e-1:t)<0&&(t=0),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t,e=this.option,n=e.data||[],o=(e=e.axisType,this._names=[]);"category"===e&&(t=[],i.each(n,(function(e,n){var a,s=r.getDataItemValue(e);i.isObject(e)?(a=i.clone(e)).value=n:a=n,t.push(a),i.isString(s)||null!=s&&!isNaN(s)||(s=""),o.push(s+"")})),n=t),e={category:"ordinal",time:"time"}[e]||"number";(this._data=new a([{name:"value",type:e}],this)).initData(n,o)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});t.exports=s},edb9:function(t,e,n){var i=n("6d8b");e.layout=function(t,e){e=e||{};var n=t.coordinateSystem,o=t.axis,a={},r=o.position,s=(o=o.orient,{horizontal:{top:(n=[(n=n.getRect()).x,n.x+n.width,n.y,n.y+n.height])[2],bottom:n[3]},vertical:{left:n[0],right:n[1]}});return a.position=["vertical"===o?s.vertical[r]:n[0],"horizontal"===o?s.horizontal[r]:n[3]],a.rotation=Math.PI/2*{horizontal:0,vertical:1}[o],a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],t.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),i.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection),null==(s=e.rotate)&&(s=t.get("axisLabel.rotate")),a.labelRotation="top"===r?-s:s,a.z2=1,a}},ee1aa:function(t,e,n){n=n("6d8b");var i=n.each,o=n.isString;function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}e.enableDataStack=function(t,e,n){var a,r,s,l,u,c,h=(n=n||{}).byIndex,d=n.stackedCoordDimension,p=!(!t||!t.get("stack"));return i(e,(function(t,n){o(t)&&(e[n]=t={name:t}),p&&!t.isExtraCoord&&(h||a||!t.ordinalMeta||(a=t),r||"ordinal"===t.type||"time"===t.type||d&&d!==t.coordDim||(r=t))})),!r||h||a||(h=!0),r&&(s="__\0ecstackresult",l="__\0ecstackedover",a&&(a.createInvertedIndices=!0),u=r.coordDim,n=r.type,c=0,i(e,(function(t){t.coordDim===u&&c++})),e.push({name:s,coordDim:u,coordDimIndex:c,type:n,isExtraCoord:!0,isCalculationCoord:!0}),c++,e.push({name:l,coordDim:l,coordDimIndex:c,type:n,isExtraCoord:!0,isCalculationCoord:!0})),{stackedDimension:r&&r.name,stackedByDimension:a&&a.name,isStackedByIndex:h,stackedOverDimension:l,stackResultDimension:s}},e.isDimensionStacked=a,e.getStackedDimension=function(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},ee66:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2306"),r=n("eda2"),s=n("3842"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]};n=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var i=this.group,o=(i.removeAll(),t.coordinateSystem),a=o.getRangeInfo();o=o.getOrient();this._renderDayRect(t,a,i),this._renderLines(t,a,o,i),this._renderYearText(t,a,o,i),this._renderMonthText(t,o,i),this._renderWeekText(t,a,o,i)},_renderDayRect:function(t,e,n){for(var i=t.coordinateSystem,o=t.getModel("itemStyle").getItemStyle(),r=i.getCellWidth(),s=i.getCellHeight(),l=e.start.time;l<=e.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl;u=new a.Rect({shape:{x:u[0],y:u[1],width:r,height:s},cursor:"default",style:o});n.add(u)}},_renderLines:function(t,e,n,i){for(var o=this,a=t.coordinateSystem,r=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=r.lineWidth,u=(this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[],e.start),c=0;u.time<=e.end.time;c++){d(u.formatedDate);var h=(u=0===c?a.getDateInfo(e.start.y+"-"+e.start.m):u).date;h.setMonth(h.getMonth()+1),u=a.getDateInfo(h)}function d(e){o._firstDayOfMonth.push(a.getDateInfo(e)),o._firstDayPoints.push(a.dataToRect([e],!1).tl),e=o._getLinePointsOfOneWeek(t,e,n),o._tlpoints.push(e[0]),o._blpoints.push(e[e.length-1]),s&&o._drawSplitline(e,r,i)}d(a.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,l,n),r,i),s&&this._drawSplitline(o._getEdgesPoints(o._blpoints,l,n),r,i)},_getEdgesPoints:function(t,e,n){return t=[t[0].slice(),t[t.length-1].slice()],n="horizontal"===n?0:1,t[0][n]=t[0][n]-e/2,t[1][n]=t[1][n]+e/2,t},_drawSplitline:function(t,e,n){t=new a.Polyline({z2:20,shape:{points:t},style:e}),n.add(t)},_getLinePointsOfOneWeek:function(t,e,n){for(var i=t.coordinateSystem,o=(e=i.getDateInfo(e),[]),a=0;a<7;a++){var r=i.getNextNDay(e.time,a),s=i.dataToRect([r.time],!1);o[2*r.day]=s.tl,o[2*r.day+1]=s["horizontal"===n?"bl":"tr"]}return o},_formatterLabel:function(t,e){return"string"==typeof t&&t?r.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,i,o){e=e.slice();var a=["center","bottom"];"bottom"===i?(e[1]+=o,a=["center","top"]):"left"===i?e[0]-=o:"right"===i?(e[0]+=o,a=["center","top"]):e[1]-=o,o=0;return{rotation:o="left"!==i&&"right"!==i?o:Math.PI/2,position:e,style:{textAlign:a[0],textVerticalAlign:a[1]}}},_renderYearText:function(t,e,n,i){var o,r,s,l,u,c;t=t.getModel("yearLabel");t.get("show")&&(o=t.get("margin"),r=(r=t.get("position"))||("horizontal"!==n?"top":"left"),s=((c=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]])[0][0]+c[1][0])/2,u=(c[0][1]+c[1][1])/2,s={top:[s,c[l="horizontal"===n?0:1][1]],bottom:[s,c[1-l][1]],left:[c[1-l][0],u],right:[c[l][0],u]},c=e.start.y,+e.end.y>+e.start.y&&(c=c+"-"+e.end.y),l=t.get("formatter"),u={start:e.start.y,end:e.end.y,nameMap:c},e=this._formatterLabel(l,u),c=new a.Text({z2:30}),a.setTextStyle(c.style,t,{text:e}),c.attr(this._yearTextPositionControl(c,s[r],n,r,o)),i.add(c))},_monthTextPositionControl:function(t,e,n,i,o){var a="left",r="top",s=t[0];t=t[1];return"horizontal"===n?(t+=o,e&&(a="center"),"start"===i&&(r="bottom")):(s+=o,e&&(r="middle"),"start"===i&&(a="right")),{x:s,y:t,textAlign:a,textVerticalAlign:r}},_renderMonthText:function(t,e,n){var i=t.getModel("monthLabel");if(i.get("show"))for(var r=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=(t=i.get("align"),[this._tlpoints,this._blpoints]),h=(o.isString(r)&&(r=l[r.toUpperCase()]||[]),"start"===u?0:1),d="horizontal"===e?0:1,p=(s="start"===u?-s:s,"center"===t),f=0;f<c[h].length-1;f++){var g=c[h][f].slice(),m=this._firstDayOfMonth[f],y=(p&&(y=this._firstDayPoints[f],g[d]=(y[d]+c[0][f+1][d])/2),i.get("formatter")),v=r[+m.m-1];m={yyyy:m.y,yy:(m.y+"").slice(2),MM:m.m,M:+m.m,nameMap:v},v=this._formatterLabel(y,m),m=new a.Text({z2:30});o.extend(a.setTextStyle(m.style,i,{text:v}),this._monthTextPositionControl(g,p,e,u,s)),n.add(m)}},_weekTextPositionControl:function(t,e,n,i,o){var a="center",r="middle",s=t[0];t=t[1],n="start"===n;return"horizontal"===e?(s=s+i+(n?1:-1)*o[0]/2,a=n?"right":"left"):(t=t+i+(n?1:-1)*o[1]/2,r=n?"bottom":"top"),{x:s,y:t,textAlign:a,textVerticalAlign:r}},_renderWeekText:function(t,e,n,i){var r=t.getModel("dayLabel");if(r.get("show")){var l=t.coordinateSystem,c=r.get("position"),h=r.get("nameMap"),d=r.get("margin"),p=l.getFirstDayOfWeek(),f=(o.isString(h)&&(h=u[h.toUpperCase()]||[]),l.getNextNDay(e.end.time,7-e.lweek).time),g=[l.getCellWidth(),l.getCellHeight()];d=s.parsePercent(d,g["horizontal"===n?0:1]);"start"===c&&(f=l.getNextNDay(e.start.time,-(7+e.fweek)).time,d=-d);for(var m=0;m<7;m++){var y=l.getNextNDay(f,m),v=(y=l.dataToRect([y.time],!1).center,Math.abs((m+p)%7)),x=new a.Text({z2:30});o.extend(a.setTextStyle(x.style,r,{text:h[v]}),this._weekTextPositionControl(y,n,c,d,g)),i.add(x)}}}});t.exports=n},ee84:function(t,e,n){var i=n("20c8"),o=n("401b").applyTransform,a=i.CMD,r=[[],[],[]],s=Math.sqrt,l=Math.atan2;t.exports=function(t,e){for(var n,i,u,c,h=t.data,d=a.M,p=a.C,f=a.L,g=a.R,m=a.A,y=a.Q,v=0,x=0;v<h.length;){switch(n=h[v++],x=v,i=0,n){case d:case f:i=1;break;case p:i=3;break;case y:i=2;break;case m:var _=e[4],b=e[5],w=s(e[0]*e[0]+e[1]*e[1]),S=s(e[2]*e[2]+e[3]*e[3]),M=l(-e[1]/S,e[0]/w);h[v]*=w,h[v++]+=_,h[v]*=S,h[v++]+=b,h[v++]*=w,h[v++]*=S,h[v++]+=M,h[v++]+=M,x=v+=2;break;case g:c[0]=h[v++],c[1]=h[v++],o(c,c,e),h[x++]=c[0],h[x++]=c[1],c[0]+=h[v++],c[1]+=h[v++],o(c,c,e),h[x++]=c[0],h[x++]=c[1]}for(u=0;u<i;u++)(c=r[u])[0]=h[v++],c[1]=h[v++],o(c,c,e),h[x++]=c[0],h[x++]=c[1]}}},ee95:function(t,e,n){var i=n("3eba"),o=n("66a4");n("a04e"),n("3942"),n("dd7e"),n("347f"),i.registerPreprocessor(o)},ee98:function(t,e){function n(t){return t instanceof Array?t:[t,t]}var i="lineStyle.opacity".split(".");t.exports={seriesType:"lines",reset:function(t,e,o){var a=n(t.get("symbol")),r=n(t.get("symbolSize")),s=t.getData();return s.setVisual("fromSymbol",a&&a[0]),s.setVisual("toSymbol",a&&a[1]),s.setVisual("fromSymbolSize",r&&r[0]),s.setVisual("toSymbolSize",r&&r[1]),s.setVisual("opacity",t.get(i)),{dataEach:s.hasItemOption?function(t,e){var o=n((r=t.getItemModel(e)).getShallow("symbol",!0)),a=n(r.getShallow("symbolSize",!0)),r=r.get(i);o[0]&&t.setItemVisual(e,"fromSymbol",o[0]),o[1]&&t.setItemVisual(e,"toSymbol",o[1]),a[0]&&t.setItemVisual(e,"fromSymbolSize",a[0]),a[1]&&t.setItemVisual(e,"toSymbolSize",a[1]),t.setItemVisual(e,"opacity",r)}:null}}}},eeea:function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("6d8b"),a=n("0141"),r=n("f934"),s=n("3842"),l=n("5b87"),u=n("ec34");function c(t,e){var n,i=t.get("boundingCoords"),o=(i=(null!=i&&(o=i[0],i=i[1],isNaN(o[0])||isNaN(o[1])||isNaN(i[0])||isNaN(i[1])||this.setBoundingRect(o[0],o[1],i[0]-o[0],i[1]-o[1])),this.getBoundingRect()),t.get("layoutCenter")),a=t.get("layoutSize"),l=e.getWidth(),u=(e=e.getHeight(),i=i.width/i.height*this.aspectScale,!1);o&&a&&(o=[s.parsePercent(o[0],l),s.parsePercent(o[1],e)],a=s.parsePercent(a,Math.min(l,e)),isNaN(o[0])||isNaN(o[1])||isNaN(a)||(u=!0)),u?(n={},1<i?(n.width=a,n.height=a/i):(n.height=a,n.width=a*i),n.y=o[1]-n.height/2,n.x=o[0]-n.width/2):((u=t.getBoxLayoutParams()).aspect=i,n=r.getLayoutRect(u,{width:l,height:e})),this.setViewRect(n.x,n.y,n.width,n.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function h(t,e){o.each(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}n={dimensions:a.prototype.dimensions,create:function(t,e){var n=[],i=(t.eachComponent("geo",(function(t,i){var o=t.get("map"),r=t.get("aspectScale"),s=!0,l=u.retrieveMap(o);l&&l[0]&&"svg"===l[0].type?(null==r&&(r=1),s=!1):null==r&&(r=.75),l=new a(o+i,o,t.get("nameMap"),s);l.aspectScale=r,l.zoomLimit=t.get("scaleLimit"),n.push(l),h(l,t),(t.coordinateSystem=l).model=t,l.resize=c,l.resize(t,e)})),t.eachSeries((function(t){var e;"geo"===t.get("coordinateSystem")&&(e=t.get("geoIndex")||0,t.coordinateSystem=n[e])})),{});return t.eachSeriesByType("map",(function(t){var e;t.getHostGeoModel()||(e=t.getMapType(),i[e]=i[e]||[],i[e].push(t))})),o.each(i,(function(t,i){var r=o.map(t,(function(t){return t.get("nameMap")})),s=new a(i,i,o.mergeAll(r));s.zoomLimit=o.retrieve.apply(null,o.map(t,(function(t){return t.get("scaleLimit")}))),n.push(s),s.resize=c,s.aspectScale=t[0].get("aspectScale"),s.resize(t[0],e),o.each(t,(function(t){h(t.coordinateSystem=s,t)}))})),n},getFilledRegions:function(t,e,n){for(var i=(t||[]).slice(),a=o.createHashMap(),r=0;r<i.length;r++)a.set(i[r].name,i[r]);return t=l.load(e,n),o.each(t.regions,(function(t){t=t.name,a.get(t)||i.push({name:t})})),i}},i.registerCoordinateSystem("geo",n),t.exports=n},ef2b:function(t,e,n){var i=n("401b"),o=i.scaleAndAdd;e.forceLayout=function(t,e,n){for(var a=n.rect,r=a.width,s=a.height,l=[a.x+r/2,a.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<t.length;c++){var h=t[c];h.p||(h.p=i.create(r*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=i.clone(h.p),h.edges=null}var d=null==n.friction?.6:n.friction,p=d;return{warmUp:function(){p=.8*d},setFixed:function(e){t[e].fixed=!0},setUnfixed:function(e){t[e].fixed=!1},step:function(n){for(var a=[],r=t.length,s=0;s<e.length;s++){var c=e[s];c.ignoreForceLayout||(h=c.n1,f=c.n2,i.sub(a,f.p,h.p),g=i.len(a)-c.d,c=f.w/(h.w+f.w),isNaN(c)&&(c=0),i.normalize(a,a),h.fixed||o(h.p,h.p,a,c*g*p),f.fixed)||o(f.p,f.p,a,-(1-c)*g*p)}for(s=0;s<r;s++)(y=t[s]).fixed||(i.sub(a,l,y.p),o(y.p,y.p,a,u*p));for(s=0;s<r;s++)for(var h=t[s],d=s+1;d<r;d++){var f=t[d];i.sub(a,f.p,h.p),0===(g=i.len(a))&&(i.set(a,Math.random()-.5,Math.random()-.5),g=1);var g,m=(h.rep+f.rep)/g/g;h.fixed||o(h.pp,h.pp,a,m),f.fixed||o(f.pp,f.pp,a,-m)}var y,v=[];for(s=0;s<r;s++)(y=t[s]).fixed||(i.sub(v,y.p,y.pp),o(y.p,y.p,v,p),i.copy(y.pp,y.p));p*=.992,n&&n(t,e,p<.01)}}}},ef6a4:function(t,e){function n(t,e){return t=t[e]-t[1-e],{span:Math.abs(t),sign:0<t||!(t<0)&&e?-1:1}}function i(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}t.exports=function(t,e,o,a,r,s){t=t||0;var l=o[1]-o[0],u=(l=(null!=r&&(r=i(r,[0,l])),null!=s&&(s=Math.max(s,null!=r?r:0)),"all"===a&&(u=i(u=Math.abs(e[1]-e[0]),[0,l]),r=s=i(u,[r,s]),a=0),e[0]=i(e[0],o),e[1]=i(e[1],o),n(e,a)),e[a]+=t,r||0);t=o.slice(),l.sign<0?t[0]+=u:t[1]-=u,e[a]=i(e[a],t),o=n(e,a),null!=r&&(o.sign!==l.sign||o.span<r)&&(e[1-a]=e[a]+l.sign*r),o=n(e,a);return null!=s&&o.span>s&&(e[1-a]=e[a]+o.sign*s),e}},ef97:function(t,e,n){var i=n("3eba"),o=(n("217b"),n("f17f"),n("7f96")),a=n("87c3"),r=n("fdde");n("01ed"),i.registerVisual(o("line","circle","line")),i.registerLayout(a("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,r("line"))},ef97a:function(t,e,n){var i=n("3eba"),o=(n("2163"),n("6cd8"),n("bf9b"),n("7f96"));n=n("ca29");i.registerVisual(o("tree","circle")),i.registerLayout(n)},f123:function(t,e,n){n=n("9f82");var i=n.prepareDataCoordInfo,o=n.getStackedOnPoint;t.exports=function(t,e,n,a,r,s,l,u){c=[],e.diff(t).add((function(t){c.push({cmd:"+",idx:t})})).update((function(t,e){c.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){c.push({cmd:"-",idx:t})})).execute();for(var c,h=c,d=[],p=[],f=[],g=[],m=[],y=[],v=[],x=i(r,e,l),_=i(s,t,u),b=0;b<h.length;b++){var w=h[b],S=!0;switch(w.cmd){case"=":var M=t.getItemLayout(w.idx),I=e.getItemLayout(w.idx1);(isNaN(M[0])||isNaN(M[1]))&&(M=I.slice()),d.push(M),p.push(I),f.push(n[w.idx]),g.push(a[w.idx1]),v.push(e.getRawIndex(w.idx1));break;case"+":var T=w.idx;d.push(r.dataToPoint([e.get(x.dataDimsForPoint[0],T),e.get(x.dataDimsForPoint[1],T)])),p.push(e.getItemLayout(T).slice()),f.push(o(x,r,e,T)),g.push(a[T]),v.push(e.getRawIndex(T));break;case"-":T=w.idx,M=t.getRawIndex(T);M!==T?(d.push(t.getItemLayout(T)),p.push(s.dataToPoint([t.get(_.dataDimsForPoint[0],T),t.get(_.dataDimsForPoint[1],T)])),f.push(n[T]),g.push(o(_,s,t,T)),v.push(M)):S=!1}S&&(m.push(w),y.push(y.length))}y.sort((function(t,e){return v[t]-v[e]}));var A=[],C=[],D=[],L=[],P=[];for(b=0;b<y.length;b++)T=y[b],A[b]=d[T],C[b]=p[T],D[b]=f[T],L[b]=g[T],P[b]=m[T];return{current:A,next:C,stackedOnCurrent:D,stackedOnNext:L,status:P}}},f138:function(t,e,n){var i=n("dcb3"),o=n("ff2e"),a=n("edb9"),r=(n=n("6679"),["x","y"]),s=["width","height"],l=(i=i.extend({makeElOption:function(t,e,n,i,r){var s,h=n.axis,d=h.coordinateSystem,p=c(d,1-u(h)),f=(d=d.dataToPoint(e)[0],i.get("type"));f&&"none"!==f&&(s=o.buildElStyle(i),(f=l[f](h,d,p)).style=s,t.graphicKey=f.type,t.pointer=f),h=a.layout(n);o.buildCartesianSingleLabelElOption(e,t,h,n,i,r)},getHandleTransform:function(t,e,n){var i=a.layout(e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:o.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){n=n.axis;var o=n.coordinateSystem,a=(n=u(n),c(o,n)),r=t.position;r[n]+=e[n],r[n]=Math.min(a[1],r[n]),r[n]=Math.max(a[0],r[n]),e=c(o,1-n),a=(e[1]+e[0])/2,o=[a,a];return o[n]=r[n],{position:r,rotation:t.rotation,cursorPoint:o,tooltipOption:{verticalAlign:"middle"}}}}),{line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:o.makeLineShape([e,n[0]],[e,n[1]],u(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),a=n[1]-n[0];return{type:"Rect",shape:o.makeRectShape([e-i/2,n[0]],[i,a],u(t))}}});function u(t){return t.isHorizontal()?0:1}function c(t,e){return t=t.getRect(),[t[r[e]],t[r[e]]+t[s[e]]]}n.registerAxisPointerClass("SingleAxisPointer",i),t.exports=i},f14c:function(t,e,n){var i=n("84d5"),o=(n=n("f934"),n.mergeLayoutParam),a=n.getLayoutParams,r=i.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(t,e,n,i){var o=a(t);r.superCall(this,"init",t,e,n,i),s(this,t,o)},mergeOption:function(t,e){r.superCall(this,"mergeOption",t,e),s(this,this.option,t)}});function s(t,e,n){var i=[1,1];i[t.getOrient().index]=0,o(e,n,{type:"box",ignoreSize:i})}t.exports=r},f170:function(t,e,n){n("a87d"),(0,n("697e7").registerPainter)("vml",n("e9f9"))},f17f:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("e2637").fromPoints,a=n("f706"),r=n("1418"),s=n("f123"),l=n("2306"),u=n("e0d3"),c=n("d4d1"),h=c.Polyline,d=c.Polygon,p=n("e887"),f=(c=n("9f82"),c.prepareDataCoordInfo),g=c.getStackedOnPoint,m=(c=n("b0af"),c.createGridClipPath),y=c.createPolarClipPath;function v(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++){var i=t[n],o=e[n];if(i[0]!==o[0]||i[1]!==o[1])return}return 1}}function x(t,e){var n=[],i=[],a=[],r=[];return o(t,n,i),o(e,a,r),Math.max(Math.abs(n[0]-a[0]),Math.abs(n[1]-a[1]),Math.abs(i[0]-r[0]),Math.abs(i[1]-r[1]))}function _(t){return"number"==typeof t?t:t?.5:0}function b(t,e,n){e=e.getBaseAxis();for(var i="x"===e.dim||"radius"===e.dim?0:1,o=[],a=0;a<t.length-1;a++){var r=t[a+1],s=t[a],l=(o.push(s),[]);switch(n){case"end":l[i]=r[i],l[1-i]=s[1-i],o.push(l);break;case"middle":var u=(s[i]+r[i])/2,c=[];l[i]=c[i]=u,l[1-i]=s[1-i],c[1-i]=r[1-i],o.push(l),o.push(c);break;default:l[i]=s[i],l[1-i]=r[1-i],o.push(l)}}return t[a]&&o.push(t[a]),o}function w(t,e,n){t=t.get("showAllSymbol");var o="auto"===t;if(!t||o){var a,s;t=n.getAxesByScale("ordinal")[0];if(t&&(!o||!function(t,e){for(var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count(),o=(isNaN(i)&&(i=0),e.count()),a=Math.max(1,Math.round(o/5)),s=0;s<o;s+=a)if(1.5*r.getSymbolSize(e,s)[t.isHorizontal()?1:0]>i)return;return 1}(t,e)))return a=e.mapDimension(t.dim),s={},i.each(t.getViewLabels(),(function(t){s[t.tickValue]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}function S(t,e,n){var i,o,a,r;return"cartesian2d"===t.type?(i=t.getBaseAxis().isHorizontal(),o=m(t,e,n),n.get("clip",!0)||(a=o.shape,r=Math.max(a.width,a.height),i?(a.y-=r,a.height+=2*r):(a.x-=r,a.width+=2*r)),o):y(t,e,n)}n=p.extend({type:"line",init:function(){var t=new l.Group,e=new a;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var o,a=t.coordinateSystem,r=this.group,s=t.getData(),u=t.getModel("lineStyle"),c=t.getModel("areaStyle"),h=s.mapArray(s.getItemLayout),d="polar"===a.type,p=this._coordSys,m=this._symbolDraw,y=this._polyline,x=this._polygon,M=this._lineGroup,I=t.get("animation"),T=!c.isEmpty(),A=c.get("origin"),C=function(t,e,n){if(!n.valueDim)return[];for(var i=[],o=0,a=e.count();o<a;o++)i.push(g(n,t,e,o));return i}(a,s,f(a,s,A)),D=t.get("showSymbol"),L=D&&!d&&w(t,s,a),P=this._data;P&&P.eachItemGraphicEl((function(t,e){t.__temp&&(r.remove(t),P.setItemGraphicEl(e,null))})),D||m.remove(),r.add(M),d=!d&&t.get("step"),a&&a.getArea&&t.get("clip",!0)&&(null!=(o=a.getArea()).width?(o.x-=.1,o.y-=.1,o.width+=.2,o.height+=.2):o.r0&&(o.r0-=.5,o.r1+=.5)),this._clipShapeForSymbol=o,y&&p.type===a.type&&d===this._step?(T&&!x?x=this._newPolygon(h,C,a,I):x&&!T&&(M.remove(x),x=this._polygon=null),M.setClipPath(S(a,!1,t)),D&&m.updateData(s,{isIgnore:L,clipShape:o}),s.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),v(this._stackedOnPoints,C)&&v(this._points,h)||(I?this._updateAnimation(s,C,a,n,d,A):(d&&(h=b(h,a,d),C=b(C,a,d)),y.setShape({points:h}),x&&x.setShape({points:h,stackedOnPoints:C})))):(D&&m.updateData(s,{isIgnore:L,clipShape:o}),d&&(h=b(h,a,d),C=b(C,a,d)),y=this._newPolyline(h,a,I),T&&(x=this._newPolygon(h,C,a,I)),M.setClipPath(S(a,!0,t))),p=function(t,e){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()&&"cartesian2d"===e.type){for(var o,a=n.length-1;0<=a;a--){var r,s=n[a].dimension;s=t.dimensions[s],s=t.getDimensionInfo(s);if("x"===(r=s&&s.coordDim)||"y"===r){o=n[a];break}}if(o){var u=e.getAxis(r),c=(e=i.map(o.stops,(function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}})),e.length),h=o.outerColors.slice(),d=(c&&e[0].coord>e[c-1].coord&&(e.reverse(),h.reverse()),e[0].coord-10),p=e[c-1].coord+10,f=p-d;return f<.001?"transparent":(i.each(e,(function(t){t.offset=(t.coord-d)/f})),e.push({offset:c?e[c-1].offset:.5,color:h[1]||"transparent"}),e.unshift({offset:c?e[0].offset:.5,color:h[0]||"transparent"}),c=new l.LinearGradient(0,0,0,0,e,!0),c[r]=d,c[r+"2"]=p,c)}}}(s,a)||s.getVisual("color"),y.useStyle(i.defaults(u.getLineStyle(),{fill:"none",stroke:p,lineJoin:"bevel"})),t.get("smooth"),n=_(t.get("smooth"));y.setShape({smooth:n,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),x&&(D=s.getCalculationInfo("stackedOnSeries"),m=0,x.useStyle(i.defaults(c.getAreaStyle(),{fill:p,opacity:.7,lineJoin:"bevel"})),D&&(m=_(D.get("smooth"))),x.setShape({smooth:n,stackedOnSmooth:m,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})),this._data=s,this._coordSys=a,this._stackedOnPoints=C,this._points=h,this._step=d,this._valueOrigin=A},dispose:function(){},highlight:function(t,e,n,i){var o=t.getData(),a=u.queryDataIndex(o,i);if(!(a instanceof Array)&&null!=a&&0<=a){var s=o.getItemGraphicEl(a);if(!s){var l=o.getItemLayout(a);if(!l)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l[0],l[1]))return;(s=new r(o,a)).position=l,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,o.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else p.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var o,a=t.getData(),r=u.queryDataIndex(a,i);null!=r&&0<=r?(o=a.getItemGraphicEl(r))&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay()):p.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new d({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n},_updateAnimation:function(t,e,n,i,o,a){var r=this._polyline,u=this._polygon,c=t.hostModel,h=(e=s(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,a),a=e.current,e.stackedOnCurrent),d=e.next,p=e.stackedOnNext;if(o&&(a=b(e.current,n,o),h=b(e.stackedOnCurrent,n,o),d=b(e.next,n,o),p=b(e.stackedOnNext,n,o)),3e3<x(a,d)||u&&3e3<x(h,p))r.setShape({points:d}),u&&u.setShape({points:d,stackedOnPoints:p});else{r.shape.__points=e.current,r.shape.points=a,l.updateProps(r,{shape:{points:d}},c),u&&(u.setShape({points:a,stackedOnPoints:h}),l.updateProps(u,{shape:{points:d,stackedOnPoints:p}},c));for(var f,g=[],m=e.status,y=0;y<m.length;y++)"="===m[y].cmd&&(f=t.getItemGraphicEl(m[y].idx1))&&g.push({el:f,ptIdx:y});r.animators&&r.animators.length&&r.animators[0].during((function(){for(var t=0;t<g.length;t++)g[t].el.attr("position",r.shape.__points[g[t].ptIdx])}))}},remove:function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}}),t.exports=n},f219:function(t,e){function n(){return{axisLine:{lineStyle:{color:i}},axisTick:{lineStyle:{color:i}},axisLabel:{textStyle:{color:i}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:i}}}}var i="#eee",o=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"];o={color:o,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:i},crossStyle:{color:i},label:{color:"#000"}}},legend:{textStyle:{color:i}},textStyle:{color:i},title:{textStyle:{color:i}},toolbox:{iconStyle:{normal:{borderColor:i}}},dataZoom:{textStyle:{color:i}},visualMap:{textStyle:{color:i}},timeline:{lineStyle:{color:i},itemStyle:{normal:{color:o[1]}},label:{normal:{textStyle:{color:i}}},controlStyle:{normal:{color:i,borderColor:i}}},timeAxis:n(),logAxis:n(),valueAxis:n(),categoryAxis:n(),line:{symbol:"circle"},graph:{color:o},gauge:{title:{textStyle:{color:i}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};o.categoryAxis.splitLine.show=!1,t.exports=o},f273:function(t,e,n){var i=n("6d8b"),o=n("2306"),a=n("fab2"),r=n("6679"),s=n("0156"),l=(n=n("58df"),n.rectCoordAxisBuildSplitArea),u=n.rectCoordAxisHandleRemove,c=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine","minorSplitLine"],d=r.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,n,r){this.group.removeAll();var l,u,p=this._axisGroup;this._axisGroup=new o.Group,this.group.add(this._axisGroup),t.get("show")&&(l=t.getCoordSysModel(),u=s.layout(l,t),u=new a(t,u),i.each(c,u.add,u),this._axisGroup.add(u.getGroup()),i.each(h,(function(e){t.get(e+".show")&&this["_"+e](t,l)}),this),o.groupTransition(p,this._axisGroup,t),d.superCall(this,"render",t,e,n,r))},remove:function(){u(this)},_splitLine:function(t,e){var n=t.axis;if(!n.scale.isBlank()){t=t.getModel("splitLine");for(var a=t.getModel("lineStyle"),r=a.get("color"),s=(r=i.isArray(r)?r:[r],e.coordinateSystem.getRect()),l=n.isHorizontal(),u=0,c=n.getTicksCoords({tickModel:t}),h=[],d=[],p=a.getLineStyle(),f=0;f<c.length;f++){var g=n.toGlobalCoord(c[f].coord),m=(g=(l?(h[0]=g,h[1]=s.y,d[0]=g,d[1]=s.y+s.height):(h[0]=s.x,h[1]=g,d[0]=s.x+s.width,d[1]=g),u++%r.length),c[f].tickValue);this._axisGroup.add(new o.Line({anid:null!=m?"line_"+c[f].tickValue:null,subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:d[0],y2:d[1]},style:i.defaults({stroke:r[g]},p),silent:!0}))}}},_minorSplitLine:function(t,e){var n=t.axis,i=(t=t.getModel("minorSplitLine").getModel("lineStyle"),e.coordinateSystem.getRect()),a=n.isHorizontal(),r=n.getMinorTicksCoords();if(r.length)for(var s=[],l=[],u=t.getLineStyle(),c=0;c<r.length;c++)for(var h=0;h<r[c].length;h++){var d=n.toGlobalCoord(r[c][h].coord);a?(s[0]=d,s[1]=i.y,l[0]=d,l[1]=i.y+i.height):(s[0]=i.x,s[1]=d,l[0]=i.x+i.width,l[1]=d),this._axisGroup.add(new o.Line({anid:"minor_line_"+r[c][h].tickValue,subPixelOptimize:!0,shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:u,silent:!0}))}},_splitArea:function(t,e){l(this,this._axisGroup,t,e)}});d.extend({type:"xAxis"}),d.extend({type:"yAxis"})},f279:function(t,e,n){var i=n("9850"),o=n("e2637"),a=n("401b"),r=n("0655");function s(t,e,n){this.name=t,this.geometries=e,n=n?[n[0],n[1]]:[(t=this.getBoundingRect()).x+t.width/2,t.y+t.height/2],this.center=n}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;t=Number.MAX_VALUE;for(var e,n=[t,t],r=[-t,-t],s=[],l=[],u=this.geometries,c=0;c<u.length;c++)"polygon"===u[c].type&&(e=u[c].exterior,o.fromPoints(e,s,l),a.min(n,n,s),a.max(r,r,l));return 0===c&&(n[0]=n[1]=r[0]=r[1]=0),this._rect=new i(n[0],n[1],r[0]-n[0],r[1]-n[1])},contain:function(t){var e=this.getBoundingRect(),n=this.geometries;if(e.contain(t[0],t[1]))t:for(var i=0,o=n.length;i<o;i++)if("polygon"===n[i].type){var a=n[i].exterior,s=n[i].interiors;if(r.contain(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(r.contain(s[l]))continue t;return!0}}return!1},transformTo:function(t,e,n,o){for(var r=this.getBoundingRect(),s=r.width/r.height,l=(s=(n?o=o||n/s:n=s*o,new i(t,e,n,o)),r.calculateTransform(s)),u=this.geometries,c=0;c<u.length;c++)if("polygon"===u[c].type){for(var h=u[c].exterior,d=u[c].interiors,p=0;p<h.length;p++)a.applyTransform(h[p],h[p],l);for(var f=0;f<(d?d.length:0);f++)for(p=0;p<d[f].length;p++)a.applyTransform(d[f][p],d[f][p],l)}(r=this._rect).copy(s),this.center=[r.x+r.width/2,r.y+r.height/2]},cloneShallow:function(t){return t=new s(t=null==t?this.name:t,this.geometries,this.center),t._rect=this._rect,t.transformTo=null,t}},t.exports=s},f306:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("88b3"),r=n("6569"),s=(n("849b"),n("217c"),n("c515"),i.extendComponentView({type:"parallel",render:function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},o.each(s,(function(t,e){n.getZr().on(e,this._handlers[e]=o.bind(t,this))}),this)),a.createOrUpdate(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,e){o.each(this._handlers,(function(t,n){e.getZr().off(n,t)})),this._handlers=null},_throttledDispatchExpand:function(t){this._dispatchExpand(t)},_dispatchExpand:function(t){t&&this._api.dispatchAction(o.extend({type:"parallelAxisExpand"},t))}}),{mousedown:function(t){l(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(l(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(5<Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2))return;e=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),"none"!==e.behavior&&this._dispatchExpand({axisExpandWindow:e.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){var e,n;!this._mouseDownPoint&&l(this,"mousemove")&&("jump"===(n=(t=(e=this._model).coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY])).behavior)&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:t.axisExpandWindow,animation:"jump"===n&&null}))}});function l(t,e){return t=t._model,t.get("axisExpandable")&&t.get("axisExpandTriggerOn")===e}i.registerPreprocessor(r)},f31f:function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("6d8b"),a=n("2b8c"),r=n("4319"),s=["#ddd"];n=i.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var n=this.option;e||a.replaceVisualOption(n,t,["inBrush","outOfBrush"]),e=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:s},e.hasOwnProperty("liftZ")||(e.liftZ=5)},setAreas:function(t){t&&(this.areas=o.map(t,(function(t){return l(this.option,t)}),this))},setBrushOption:function(t){this.brushOption=l(this.option,t),this.brushType=this.brushOption.brushType}});function l(t,e){return o.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new r(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}t.exports=n},f47d:function(t,e,n){var i=n("6d8b"),o=(i.assert,i.isArray);function a(t){this._reset=(t=t||{}).reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}n("4e08").__DEV__;i=a.prototype;var r,s,l,u,c,h,d=(i.perform=function(t){var e,n,i=this._upstream,a=t&&t.skip,r=(this._dirty&&i&&((r=this.context).data=r.outputData=i.context.outputData),this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!a&&(e=this._plan(this.context)),c(this._modBy)),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(t){return 1<=t?t:1}if(r===l&&s===u||(e="reset"),!this._dirty&&"reset"!==e||(this._dirty=!1,n=function(t,e){var n,i;return t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&((n=t._reset(t.context))&&n.progress&&(i=n.forceFirstProgress,n=n.progress),o(n))&&!n.length&&(n=null),t._progress=n,t._modBy=t._modDataCount=null,e=t._downstream,e&&e.dirty(),i}(this,a)),this._modBy=l,this._modDataCount=u,r=t&&t.step,this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,d=Math.min(null!=r?this._dueIndex+r:1/0,this._dueEnd);if(!a&&(n||h<d)){var p=this._progress;if(o(p))for(var f=0;f<p.length;f++)g(this,p[f],h,d,l,u);else g(this,p,h,d,l,u)}this._dueIndex=d,s=null!=this._settedOutputEnd?this._settedOutputEnd:d,this._outputDueEnd=s}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},h={reset:function(t,e,n,i){s=t,r=e,l=n,u=i,c=Math.ceil(u/l),h.next=1<l&&0<u?f:p}});function p(){return s<r?s++:null}function f(){var t=s%c*l+Math.ceil(s/c);t=r<=s?null:t<u?t:s;return s++,t}function g(t,e,n,i,o,a){d.reset(n,i,o,a),t._callingProgress=e,t._callingProgress({start:n,end:i,count:i-n,next:d.next},t.context)}i.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},i.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},i.pipe=function(t){this._downstream===t&&!this._dirty||((this._downstream=t)._upstream=this,t.dirty())},i.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},i.getUpstream=function(){return this._upstream},i.getDownstream=function(){return this._downstream},i.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e.createTask=function(t){return new a(t)}},f4a2:function(t,e,n){var i=n("9850"),o=n("c526").onIrrelevantElement,a=n("2306");function r(t){return i.create(t)}e.makeRectPanelClipPath=function(t){return t=r(t),function(e,n){return a.clipPointsByRect(e,t)}},e.makeLinearBrushOtherExtent=function(t,e){return t=r(t),function(n){n=null!=e?e:n;var i=n?t.width:t.height;n=n?t.x:t.y;return[n,n+(i||0)]}},e.makeRectIsTargetByCursor=function(t,e,n){return t=r(t),function(i,a,r){return t.contain(a[0],a[1])&&!o(i,e,n)}}},f5e6:function(t,e,n){n("1ccf"),n("b419")},f610:function(t,e,n){var i=n("2306"),o=n("f934"),a=n("6d8b"),r=n("55ac").wrapTreePathInfo;function s(t){this.group=new i.Group,t.add(this.group)}s.prototype={constructor:s,render:function(t,e,n,i){var a,r,s=t.getModel("breadcrumb"),l=this.group;l.removeAll(),s.get("show")&&n&&(r=(a=s.getModel("itemStyle")).getModel("textStyle"),e={pos:{left:s.get("left"),right:s.get("right"),top:s.get("top"),bottom:s.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:s.get("emptyItemWidth"),totalWidth:0,renderList:[]},this._prepare(n,e,r),this._renderContent(t,e,a,r,i),o.positionElement(l,e.pos,e.box))},_prepare:function(t,e,n){for(var i=t;i;i=i.parentNode){var o=i.getModel().get("name"),a=n.getTextRect(o);a=Math.max(a.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:o,width:a})}},_renderContent:function(t,e,n,s,l){for(var u,c,h,d,p,f=0,g=e.emptyItemWidth,m=t.get("breadcrumb.height"),y=o.getAvailableSize(e.pos,e.box),v=e.totalWidth,x=e.renderList,_=x.length-1;0<=_;_--){var b=x[_],w=b.node,S=b.width,M=(b=b.text,v>y.width&&(v-=S-g,S=g,b=null),new i.Polygon({shape:{points:(u=f,c=0,M=S,h=m,d=_===x.length-1,p=void 0,p=[[d?u:u-5,c],[u+M,c],[u+M,c+h],[d?u:u-5,c+h]],0===_||p.splice(2,0,[u+M+5,c+h/2]),d||p.push([u,c+h/2]),p)},style:a.defaults(n.getItemStyle(),{lineJoin:"bevel",text:b,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:a.curry(l,w)}));this.group.add(M),d=t,u=w,M.eventData={componentType:"series",componentSubType:"treemap",componentIndex:d.componentIndex,seriesIndex:d.componentIndex,seriesName:d.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:u&&u.dataIndex,name:u&&u.name},treePathInfo:u&&r(u,d)},f+=S+8}},remove:function(){this.group.removeAll()}},t.exports=s},f6ed:function(t,e,n){var i=n("6d8b");t.exports=function(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel();n=n?"o"+n.id:"i"+t.getMapType();(e[n]=e[n]||[]).push(t)})),i.each(e,(function(t,e){n=i.map(t,(function(t){return t.getData()})),o=t[0].get("mapValueCalculation"),a={},i.each(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){n="ec-"+t.getName(n),a[n]=a[n]||[],isNaN(e)||a[n].push(e)}))}));for(var n,o,a,r=n[0].map(n[0].mapDimension("value"),(function(t,e){for(var i="ec-"+n[0].getName(e),r=0,s=1/0,l=-1/0,u=a[i].length,c=0;c<u;c++)s=Math.min(s,a[i][c]),l=Math.max(l,a[i][c]),r+=a[i][c];return e="min"===o?s:"max"===o?l:"average"===o?r/u:r,0===u?NaN:e})),s=0;s<t.length;s++)t[s].originalData=t[s].getData();for(s=0;s<t.length;s++)(t[s].seriesGroup=t)[s].needsDrawMap=0===s&&!t[s].getHostGeoModel(),t[s].setData(r.cloneShallow()),t[s].mainSeries=t[0]}))}},f706:function(t,e,n){var i=n("2306"),o=n("1418"),a=n("6d8b").isObject;function r(t){this.group=new i.Group,this._symbolCtor=t||o}function s(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&(!i.isIgnore||!i.isIgnore(n))&&(!i.clipShape||i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function l(t){return(t=null==t||a(t)?t:{isIgnore:t})||{}}function u(t){return t=t.hostModel,{itemStyle:t.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:t.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label"),cursorStyle:t.get("cursor")}}n=r.prototype,n.updateData=function(t,e){e=l(e);var n=this.group,o=t.hostModel,a=this._data,r=this._symbolCtor,c=u(t);a||n.removeAll(),t.diff(a).add((function(i){var o,a=t.getItemLayout(i);s(t,a,i,e)&&((o=new r(t,i,c)).attr("position",a),t.setItemGraphicEl(i,o),n.add(o))})).update((function(l,u){u=a.getItemGraphicEl(u);var h=t.getItemLayout(l);s(t,h,l,e)?(u?(u.updateData(t,l,c),i.updateProps(u,{position:h},o)):(u=new r(t,l)).attr("position",h),n.add(u),t.setItemGraphicEl(l,u)):n.remove(u)})).remove((function(t){var e=a.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}))})).execute(),this._data=t},n.isPersistent=function(){return!0},n.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl((function(e,n){n=t.getItemLayout(n),e.attr("position",n)}))},n.incrementalPrepareUpdate=function(t){this._seriesScope=u(t),this._data=null,this.group.removeAll()},n.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}n=l(n);for(var o=t.start;o<t.end;o++){var a,r=e.getItemLayout(o);s(e,r,o,n)&&((a=new this._symbolCtor(e,o,this._seriesScope)).traverse(i),a.attr("position",r),this.group.add(a),e.setItemGraphicEl(o,a))}},n.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}))})):e.removeAll()},t.exports=r},f7c6:function(t,e,n){var i=n("3eba"),o=n("e46b"),a=n("6d8b"),r=n("e0d3"),s=n("3842").getPercentWithPrecision,l=n("7023"),u=n("2b17").retrieveRawAttr,c=n("0f99").makeSeriesEncodeForNameBased,h=n("c4a3"),d=i.extendSeriesModel({type:"series.pie",init:function(t){d.superApply(this,"init",arguments),this.legendVisualProvider=new h(a.bind(this.getData,this),a.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){d.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return o(this,{coordDimensions:["value"],encodeDefaulter:a.curry(c,this)})},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],i=0,o=t.count();i<o;i++)n.push({name:t.getName(i),value:t.get(e,i),selected:u(t,i,"selected")});return n},getDataParams:function(t){var e=this.getData(),n=d.superCall(this,"getDataParams",t),i=[];return e.each(e.mapDimension("value"),(function(t){i.push(t)})),n.percent=s(i,t,e.hostModel.get("percentPrecision")),n.$vars.push("percent"),n},_defaultLabelLine:function(t){r.defaultEmphasis(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});a.mixin(d,l),t.exports=d},f934:function(t,e,n){var i=n("6d8b"),o=n("9850"),a=n("3842").parsePercent,r=n("eda2"),s=i.each,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function c(t,e,n,i,o){var a=0,r=0,s=(null==i&&(i=1/0),null==o&&(o=1/0),0);e.eachChild((function(l,u){var c,h,d,p=l.position,f=l.getBoundingRect();u=e.childAt(u+1),u=u&&u.getBoundingRect();s="horizontal"===t?(h=f.width+(u?-u.x+f.x:0),i<(c=a+h)||l.newline?(a=0,c=h,r+=s+n,f.height):Math.max(s,f.height)):(h=f.height+(u?-u.y+f.y:0),o<(d=r+h)||l.newline?(a+=s+n,r=0,d=h,f.width):Math.max(s,f.width)),l.newline||(p[0]=a,p[1]=r,"horizontal"===t?a=c+n:r=d+n)}))}n=c;var h=i.curry(c,"vertical"),d=i.curry(c,"horizontal");function p(t,e,n){n=r.normalizeCssArray(n||0);var i=e.width,s=e.height,l=a(t.left,i),u=a(t.top,s),c=(e=a(t.right,i),a(t.bottom,s)),h=a(t.width,i),d=a(t.height,s),p=n[2]+n[0],f=n[1]+n[3],g=t.aspect;switch(isNaN(h)&&(h=i-e-f-l),isNaN(d)&&(d=s-c-p-u),null!=g&&(isNaN(h)&&isNaN(d)&&(i/s<g?h=.8*i:d=.8*s),isNaN(h)&&(h=g*d),isNaN(d))&&(d=h/g),isNaN(l)&&(l=i-e-h-f),isNaN(u)&&(u=s-c-d-p),t.left||t.right){case"center":l=i/2-h/2-n[3];break;case"right":l=i-h-f}switch(t.top||t.bottom){case"middle":case"center":u=s/2-d/2-n[0];break;case"bottom":u=s-d-p}return l=l||0,u=u||0,isNaN(h)&&(h=i-f-l-(e||0)),isNaN(d)&&(d=s-p-u-(c||0)),g=new o(l+n[3],u+n[0],h,d),g.margin=n,g}function f(t,e){return e&&t&&s(l,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}e.LOCATION_PARAMS=l,e.HV_NAMES=u,e.box=n,e.vbox=h,e.hbox=d,e.getAvailableSize=function(t,e,n){var i=e.width,o=(e=e.height,a(t.x,i)),s=a(t.y,e),l=a(t.x2,i),u=a(t.y2,e);return(isNaN(o)||isNaN(parseFloat(t.x)))&&(o=0),(isNaN(l)||isNaN(parseFloat(t.x2)))&&(l=i),(isNaN(s)||isNaN(parseFloat(t.y)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.y2)))&&(u=e),n=r.normalizeCssArray(n||0),{width:Math.max(l-o-n[1]-n[3],0),height:Math.max(u-s-n[0]-n[2],0)}},e.getLayoutRect=p,e.positionElement=function(t,e,n,a,r){var s,l,u=!r||!r.hv||r.hv[0],c=!r||!r.hv||r.hv[1];r=r&&r.boundingMode||"all";(u||c)&&("raw"===r?s="group"===t.type?new o(0,0,+e.width||0,+e.height||0):t.getBoundingRect():(s=t.getBoundingRect(),t.needLocalTransform()&&(l=t.getLocalTransform(),(s=s.clone()).applyTransform(l))),e=p(i.defaults({width:s.width,height:s.height},e),n,a),l=t.position,n=u?e.x-s.x:0,a=c?e.y-s.y:0,t.attr("position","raw"===r?[n,a]:[l[0]+n,l[1]+a]))},e.sizeCalculable=function(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]},e.mergeLayoutParam=function(t,e,n){var o=(n=i.isObject(n)?n:{}).ignoreSize,a=(n=(i.isArray(o)||(o=[o,o]),r(u[0],0)),r(u[1],1));function r(n,i){var a={},r=0,u={},h=0;if(s(n,(function(e){u[e]=t[e]})),s(n,(function(t){l(e,t)&&(a[t]=u[t]=e[t]),c(a,t)&&r++,c(u,t)&&h++})),o[i])c(e,n[1])?u[n[2]]=null:c(e,n[2])&&(u[n[1]]=null);else if(2!==h&&r){if(!(2<=r))for(var d=0;d<n.length;d++){var p=n[d];if(!l(a,p)&&l(t,p)){a[p]=t[p];break}}return a}return u}function l(t,e){return t.hasOwnProperty(e)}function c(t,e){return null!=t[e]&&"auto"!==t[e]}function h(t,e,n){s(t,(function(t){e[t]=n[t]}))}h(u[0],t,n),h(u[1],t,a)},e.getLayoutParams=function(t){return f({},t)},e.copyLayoutParams=f},fa52:function(t,e,n){var i=n("3eba"),o=(n("febc"),n("dcea"),n("2f91"));n=n("ecf8");i.registerVisual(o),i.registerLayout(n)},fab2:function(t,e,n){function i(t,e){this.opt=e,this.axisModel=t,r(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group,(t=new c.Group({position:e.position.slice(),rotation:e.rotation})).updateTransform(),this._transform=t.transform,this._dumbGroup=t}var o=n("6d8b"),a=o.retrieve,r=o.defaults,s=o.extend,l=o.each,u=n("eda2"),c=n("2306"),h=n("4319"),d=(o=n("3842"),o.isRadianAroundZero),p=o.remRadian,f=n("a15a").createSymbol,g=n("1687"),m=n("401b").applyTransform,y=n("697e").shouldShowAllLabels,v=Math.PI,x=(i.prototype={constructor:i,hasBuilder:function(t){return!!x[t]},add:function(t){x[t].call(this)},getGroup:function(){return this.group}},{axisLine:function(){var t,e,n,i,o,a,r,u=this.opt,h=this.axisModel;h.get("axisLine.show")&&(e=this.axisModel.axis.getExtent(),o=this._transform,t=[e[0],0],e=[e[1],0],o&&(m(t,t,o),m(e,e,o)),n=s({lineCap:"round"},h.getModel("axisLine.lineStyle").getLineStyle()),this.group.add(new c.Line({anid:"line",subPixelOptimize:!0,shape:{x1:t[0],y1:t[1],x2:e[0],y2:e[1]},style:n,strokeContainThreshold:u.strokeContainThreshold||5,silent:!0,z2:1})),i=h.get("axisLine.symbol"),o=h.get("axisLine.symbolSize"),"number"==typeof(h=h.get("axisLine.symbolOffset")||0)&&(h=[h,h]),null!=i)&&("string"==typeof i&&(i=[i,i]),a=(o="string"!=typeof o&&"number"!=typeof o?o:[o,o])[0],r=o[1],l([{rotate:u.rotation+Math.PI/2,offset:h[0],r:0},{rotate:u.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}],(function(e,o){var s;"none"!==i[o]&&null!=i[o]&&(o=f(i[o],-a/2,-r/2,a,r,n.stroke,!0),s=e.r+e.offset,s=[t[0]+s*Math.cos(u.rotation),t[1]-s*Math.sin(u.rotation)],o.attr({rotation:e.rotate,position:s,silent:!0,z2:11}),this.group.add(o))}),this))},axisTickLabel:function(){var t,e,n,i,o=this.axisModel,s=this.opt,u=function(t,e,n){var i=e.axis,o=e.getModel("axisTick");if(o.get("show")&&!i.scale.isBlank()){for(var a=o.getModel("lineStyle"),s=(n=n.tickDirection*o.get("length"),T(i.getTicksCoords(),t._transform,n,r(a.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),"ticks")),l=0;l<s.length;l++)t.group.add(s[l]);return s}}(this,o,s),d=function(t,e,n){var i,o,r,s,u,d,p,f,g=e.axis,m=a(n.axisLabelShow,e.get("axisLabel.show"));if(m&&!g.scale.isBlank())return i=e.getModel("axisLabel"),o=i.get("margin"),m=g.getViewLabels(),r=(a(n.labelRotate,i.get("rotate"))||0)*v/180,s=b(n.rotation,r,n.labelDirection),u=e.getCategories&&e.getCategories(!0),d=[],p=w(e),f=e.get("triggerEvent"),l(m,(function(a,r){var l=a.tickValue,m=a.formattedLabel,y=(a=a.rawLabel,i),v=(y=u&&u[l]&&u[l].textStyle?new h(u[l].textStyle,i,e.ecModel):y).getTextColor()||e.get("axisLine.lineStyle.color"),x=[g.dataToCoord(l),n.labelOffset+n.labelDirection*o];x=new c.Text({anid:"label_"+l,position:x,rotation:s.rotation,silent:p,z2:10});c.setTextStyle(x.style,y,{text:m,textAlign:y.getShallow("align",!0)||s.textAlign,textVerticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||s.textVerticalAlign,textFill:"function"==typeof v?v("category"===g.type?a:"value"===g.type?l+"":l,r):v}),f&&(x.eventData=_(e),x.eventData.targetType="axisLabel",x.eventData.value=a),t._dumbGroup.add(x),x.updateTransform(),d.push(x),t.group.add(x),x.decomposeTransform()})),d}(this,o,s),p=(d=d,u=u,y((t=o).axis)||(f=t.get("axisLabel.showMinLabel"),t=t.get("axisLabel.showMaxLabel"),u=u||[],x=(d=d||[])[0],g=d[1],e=d[d.length-1],d=d[d.length-2],n=u[0],m=u[1],i=u[u.length-1],u=u[u.length-2],!1===f?(S(x),S(n)):M(x,g)&&(f?(S(g),S(m)):(S(x),S(n))),!1===t?(S(e),S(i)):M(d,e)&&(t?(S(d),S(u)):(S(e),S(i)))),this),f=o,g=s,m=f.axis,x=f.getModel("minorTick");if(x.get("show")&&!m.scale.isBlank()){var I=m.getMinorTicksCoords();if(I.length){m=x.getModel("lineStyle");for(var A=g.tickDirection*x.get("length"),C=r(m.getLineStyle(),r(f.getModel("axisTick").getLineStyle(),{stroke:f.get("axisLine.lineStyle.color")})),D=0;D<I.length;D++)for(var L=T(I[D],p._transform,A,C,"minorticks_"+D),P=0;P<L.length;P++)p.group.add(L[P])}}},axisName:function(){var t,e,n,i,o,r,l,h,f=this.opt,g=this.axisModel,m=a(f.axisName,g.get("name"));m&&(h=g.get("nameLocation"),i=f.nameDirection,t=g.getModel("nameTextStyle"),l=g.get("nameGap")||0,e=(r=this.axisModel.axis.getExtent())[0]>r[1]?-1:1,e=["start"===h?r[0]-e*l:"end"===h?r[1]+e*l:(r[0]+r[1])/2,I(h)?f.labelOffset+i*l:0],null!=(l=g.get("nameRotate"))&&(l=l*v/180),I(h)?n=b(f.rotation,null!=l?l:f.rotation,i):(n=function(t,e,n,i){var o;n=p(n-t.rotation),t=i[0]>i[1],i="start"===e&&!t||"start"!==e&&t;return e=d(n-v/2)?(o=i?"bottom":"top","center"):d(n-1.5*v)?(o=i?"top":"bottom","center"):(o="middle",n<1.5*v&&v/2<n?i?"left":"right":i?"right":"left"),{rotation:n,textAlign:e,textVerticalAlign:o}}(f,h,l||0,r),null!=(o=f.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(n.rotation)),isFinite(o)||(o=null))),i=t.getFont(),l=(h=g.get("nameTruncate",!0)||{}).ellipsis,r=a(f.nameTruncateMaxWidth,h.maxWidth,o),f=null!=l&&null!=r?u.truncateText(m,r,i,l,{minChar:2,placeholder:h.placeholder}):m,o=g.get("tooltip",!0),(l={componentType:r=g.mainType,name:m,$vars:["name"]})[r+"Index"]=g.componentIndex,h=new c.Text({anid:"name",__fullText:m,__truncatedText:f,position:e,rotation:n.rotation,silent:w(g),z2:1,tooltip:o&&o.show?s({content:m,formatter:function(){return m},formatterParams:l},o):null}),c.setTextStyle(h.style,t,{text:f,textFont:i,textFill:t.getTextColor()||g.get("axisLine.lineStyle.color"),textAlign:t.get("align")||n.textAlign,textVerticalAlign:t.get("verticalAlign")||n.textVerticalAlign}),g.get("triggerEvent")&&(h.eventData=_(g),h.eventData.targetType="axisName",h.eventData.name=m),this._dumbGroup.add(h),h.updateTransform(),this.group.add(h),h.decomposeTransform())}}),_=i.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},b=i.innerTextLayout=function(t,e,n){var i;e=p(e-t),t=d(e)?(i=0<n?"top":"bottom","center"):d(e-v)?(i=0<n?"bottom":"top","center"):(i="middle",0<e&&e<v?0<n?"right":"left":0<n?"left":"right");return{rotation:e,textAlign:t,textVerticalAlign:i}},w=i.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function S(t){t&&(t.ignore=!0)}function M(t,e){var n,i=t&&t.getBoundingRect().clone(),o=e&&e.getBoundingRect().clone();if(i&&o)return n=g.identity([]),g.rotate(n,n,-t.rotation),i.applyTransform(g.mul([],n,t.getLocalTransform())),o.applyTransform(g.mul([],n,e.getLocalTransform())),i.intersect(o)}function I(t){return"middle"===t||"center"===t}function T(t,e,n,i,o){for(var a=[],r=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;u=(r[0]=u,s[r[1]=0]=u,s[1]=n,e&&(m(r,r,e),m(s,s,e)),new c.Line({anid:o+"_"+t[l].tickValue,subPixelOptimize:!0,shape:{x1:r[0],y1:r[1],x2:s[0],y2:s[1]},style:i,z2:2,silent:!0}));a.push(u)}return a}t.exports=i},fb05:function(t,e,n){var i=n("6d8b"),o=i.each,a=i.isArray,r=i.isObject,s=n("26e1"),l=n("e0d3").normalizeToArray;function u(t){o(c,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var c=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],h=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];t.exports=function(t,e){s(t,e),t.series=l(t.series),o(t.series,(function(t){if(r(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e)null!=t.clockWise&&(t.clockwise=t.clockWise);else if("gauge"===e&&(e=function(t,e){e=e.split(",");for(var n=t,i=0;i<e.length&&null!=(n=n&&n[e[i]]);i++);return n}(t,"pointer.color"),null!=e)){var n=t,i="itemStyle.color",o=void 0;i=i.split(",");for(var a,s=n,l=0;l<i.length-1;l++)null==s[a=i[l]]&&(s[a]={}),s=s[a];!o&&null!=s[i[l]]||(s[i[l]]=e)}u(t)}})),t.dataRange&&(t.visualMap=t.dataRange),o(h,(function(e){e=t[e],e&&(a(e)||(e=[e]),o(e,(function(t){u(t)})))}))}},fc82:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("1fab"),a=n("2306"),r=n("a4fe"),s=n("80f0"),l=i.curry,u=i.each,c=i.map,h=Math.min,d=Math.max,p=Math.pow,f=1e4,g=6,m=6,y={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},v={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},x={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},_=0;function b(t){o.call(this),this._zr=t,this.group=new a.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+_++,this._handlers={},u(q,(function(t,e){this._handlers[e]=i.bind(t,this)}),this)}function w(t,e){var n=$[e.brushType].createCover(t,e);return n.__brushOption=e,I(n,e),t.group.add(n),n}function S(t,e){var n=A(e);return n.endCreating&&(n.endCreating(t,e),I(e,e.__brushOption)),e}function M(t,e){var n=e.__brushOption;A(e).updateCoverShape(t,e,n.range,n)}function I(t,e){var n=e.z;null==n&&(n=f),t.traverse((function(t){t.z=n,t.z2=n}))}function T(t,e){A(e).updateCommon(t,e),M(t,e)}function A(t){return $[t.__brushOption.brushType]}function C(t,e,n){var i,o,a=t._panels;return!a||(o=t._transform,u(a,(function(t){t.isTargetByCursor(e,n,o)&&(i=t)})),i)}function D(t,e){return t=t._panels,!t||null==(e=e.__brushOption.panelId)||t[e]}function L(t){var e=t._covers,n=e.length;return u(e,(function(e){t.group.remove(e)}),t),e.length=0,n}function P(t,e){var n=c(t._covers,(function(t){t=t.__brushOption;var e=i.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:e}}));t.trigger("brush",n,{isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function k(t){var e=t.length-1;return[t[0],t[e=e<0?0:e]]}function O(t,e,n,i){var o=new a.Group;return o.add(new a.Rect({name:"main",style:z(n),silent:!0,draggable:!0,cursor:"move",drift:l(t,e,o,"nswe"),ondragend:l(P,e,{isEnd:!0})})),u(i,(function(n){o.add(new a.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:l(t,e,o,n),ondragend:l(P,e,{isEnd:!0})}))})),o}function R(t,e,n,i){var o=i.brushStyle.lineWidth||0,a=d(o,m),r=n[0][0],s=n[1][0],l=r-o/2,u=s-o/2,c=n[0][1],h=(n=n[1][1],c-a+o/2),p=n-a+o/2,f=(c=c-r,n=n-s,c+o);o=n+o;N(t,e,"main",r,s,c,n),i.transformable&&(N(t,e,"w",l,u,a,o),N(t,e,"e",h,u,a,o),N(t,e,"n",l,u,f,a),N(t,e,"s",l,p,f,a),N(t,e,"nw",l,u,a,a),N(t,e,"ne",h,u,a,a),N(t,e,"sw",l,p,a,a),N(t,e,"se",h,p,a,a))}function E(t,e){var n=e.__brushOption,i=n.transformable,o=e.childAt(0);o.useStyle(z(n)),o.attr({silent:!i,cursor:i?"move":"default"}),u(["w","e","n","s","se","sw","ne","nw"],(function(n){var o=e.childOfName(n);n=function t(e,n){var i,o,r;return 1<n.length?(n=n.split(""),"e"!==(r=[t(e,n[0]),t(e,n[1])])[0]&&"w"!==r[0]||r.reverse(),r.join("")):(i={w:"left",e:"right",n:"top",s:"bottom"},o={left:"w",right:"e",top:"n",bottom:"s"},r=a.transformDirection(i[n],V(e)),o[r])}(t,n);o&&o.attr({silent:!i,invisible:!i,cursor:i?v[n]+"-resize":null})}))}function N(t,e,n,i,o,a,r){n=e.childOfName(n);n&&n.setShape((n=W(t,e,[[i,o],[i+a,o+r]]),t=h(n[0][0],n[1][0]),e=h(n[0][1],n[1][1]),i=d(n[0][0],n[1][0]),n=d(n[0][1],n[1][1]),{x:t,y:e,width:i-t,height:n-e}))}function z(t){return i.defaults({strokeNoScale:!0},t.brushStyle)}function B(t,e,n,i){var o=[h(t,n),h(e,i)];t=[d(t,n),d(e,i)];return[[o[0],t[0]],[o[1],t[1]]]}function V(t){return a.getTransform(t.group)}function G(t,e,n,i,o,a,r,s){var l=i.__brushOption,c=t(l.range),h=H(n,a,r);u(o.split(""),(function(t){t=y[t],c[t[0]][t[1]]+=h[t[0]]})),l.range=e(B(c[0][0],c[1][0],c[0][1],c[1][1])),T(n,i),P(n,{isEnd:!1})}function F(t,e,n,i,o){var a=e.__brushOption.range,r=H(t,n,i);u(a,(function(t){t[0]+=r[0],t[1]+=r[1]})),T(t,e),P(t,{isEnd:!1})}function H(t,e,n){return t=t.group,e=t.transformCoordToLocal(e,n),n=t.transformCoordToLocal(0,0),[e[0]-n[0],e[1]-n[1]]}function W(t,e,n){return e=D(t,e),e&&!0!==e?e.clipPath(n,t._transform):i.clone(n)}function U(t,e,n){if(t._brushType&&!function(t,e,n){return t=t._zr,e<0||e>t.getWidth()||n<0||n>t.getHeight()}(t,e)){var i=t._zr,o=t._covers,a=C(t,e,n);if(!t._dragging)for(var r=0;r<o.length;r++){var s=o[r].__brushOption;if(a&&(!0===a||s.panelId===a.panelId)&&$[s.brushType].contain(o[r],n[0],n[1]))return}a&&i.setCursorStyle("crosshair")}}function Z(t){t=t.event,t.preventDefault&&t.preventDefault()}function Y(t,e,n){return t.childOfName("main").contain(e,n)}function j(t,e,n,o){var a,r,s=t._creatingCover,l=t._creatingPanel,u=t._brushOption;return t._track.push(n.slice()),function(t){var e,n;if((t=t._track).length)return n=t[t.length-1],t=t[0],e=n[0]-t[0],n=n[1]-t[1],t=p(e*e+n*n,.5),g<t}(t)||s?(l&&!s&&("single"===u.brushMode&&L(t),(r=i.clone(u)).brushType=X(r.brushType,l),r.panelId=!0===l?null:l.panelId,s=t._creatingCover=w(t,r),t._covers.push(s)),s&&(r=$[X(t._brushType,l)],s.__brushOption.range=r.getCreatingRange(W(t,s,t._track)),o&&(S(t,s),r.updateCommon(t,s)),M(t,s),a={isEnd:o})):o&&"single"===u.brushMode&&u.removeOnClick&&C(t,e,n)&&L(t)&&(a={isEnd:o,removeOnClick:!0}),a}function X(t,e){return"auto"===t?e.defaultBrushType:t}b.prototype={constructor:b,enableBrush:function(t){var e,n,o,a,s;return this._brushType&&(n=(o=this)._zr,r.release(n,"globalPan",o._uid),e=n,n=o._handlers,u(n,(function(t,n){e.off(n,t)})),o._brushType=o._brushOption=null),t.brushType&&(o=t,t=(n=this)._zr,n._enableGlobalPan||r.take(t,"globalPan",n._uid),a=t,s=n._handlers,u(s,(function(t,e){a.on(e,t)})),n._brushType=o.brushType,n._brushOption=i.merge(i.clone(x),o,!0)),this},setPanels:function(t){var e;return t&&t.length?(e=this._panels={},i.each(t,(function(t){e[t.panelId]=i.clone(t)}))):this._panels=null,this},mount:function(t){this._enableGlobalPan=(t=t||{}).enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){u(this._covers,t,e)},updateCovers:function(t){t=i.map(t,(function(t){return i.merge(i.clone(x),t,!0)}));var e="\0-brush-index-",n=this._covers,o=this._covers=[],a=this,r=this._creatingCover;return new s(n,t,(function(t,e){return l(t.__brushOption,e)}),l).add(u).update(u).remove((function(t){n[t]!==r&&a.group.remove(n[t])})).execute(),this;function l(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function u(e,i){var s=t[e];null!=i&&n[i]===r?o[e]=n[i]:(e=o[e]=null!=i?(n[i].__brushOption=s,n[i]):S(a,w(a,s)),T(a,e))}},unmount:function(){return this.enableBrush(!1),L(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},i.mixin(b,o);var q={mousedown:function(t){var e;this._dragging?K(this,t):t.target&&t.target.draggable||(Z(t),e=this.group.transformCoordToLocal(t.offsetX,t.offsetY),this._creatingCover=null,(this._creatingPanel=C(this,t,e))&&(this._dragging=!0,this._track=[e.slice()]))},mousemove:function(t){var e=t.offsetX,n=t.offsetY;e=this.group.transformCoordToLocal(e,n);U(this,t,e),this._dragging&&(Z(t),n=j(this,t,e,!1))&&P(this,n)},mouseup:function(t){K(this,t)}};function K(t,e){var n,i;t._dragging&&(Z(e),n=e.offsetX,i=e.offsetY,n=t.group.transformCoordToLocal(n,i),i=j(t,e,n,!0),t._dragging=!1,t._track=[],t._creatingCover=null,i)&&P(t,i)}var $={lineX:J(0),lineY:J(1),rect:{createCover:function(t,e){return O(l(G,(function(t){return t}),(function(t){return t})),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){return t=k(t),B(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(t,e,n,i){R(t,e,n,i)},updateCommon:E,contain:Y},polygon:{createCover:function(t,e){var n=new a.Group;return n.add(new a.Polyline({name:"main",style:z(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new a.Polygon({name:"main",draggable:!0,drift:l(F,t,e),ondragend:l(P,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:W(t,e,n)})},updateCommon:E,contain:Y}};function J(t){return{createCover:function(e,n){return O(l(G,(function(e){return e=[e,[0,100]],t&&e.reverse(),e}),(function(e){return e[t]})),e,n,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){return e=k(e),[h(e[0][t],e[1][t]),d(e[0][t],e[1][t])]},updateCoverShape:function(e,n,i,o){var a=D(e,n);a=[i,!0!==a&&a.getLinearBrushOtherExtent?a.getLinearBrushOtherExtent(t,e._transform):[0,[(i=e._zr).getWidth(),i.getHeight()][1-t]]];t&&a.reverse(),R(e,n,a,o)},updateCommon:E,contain:Y}}t.exports=b},fd27:function(t,e,n){function i(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new o,this._angleAxis=new a,this._radiusAxis.polar=this._angleAxis.polar=this}var o=n("9273"),a=n("a991");i.prototype={type:"polar",axisPointerEnabled:!0,constructor:i,dimensions:["radius","angle"],model:null,containPoint:function(t){return t=this.pointToCoord(t),this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){return t=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis(),{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){return t=this.pointToCoord(t),[this._radiusAxis.radiusToData(t[0],e),this._angleAxis.angleToData(t[1],e)]},pointToCoord:function(t){for(var e=t[0]-this.cx,n=(t=t[1]-this.cy,this.getAngleAxis()),i=n.getExtent(),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]),r=(i=(n.inverse?o=a-360:a=o+360,Math.sqrt(e*e+t*t)),e/=i,t/=i,Math.atan2(-t,e)/Math.PI*180),s=r<o?1:-1;r<o||a<r;)r+=360*s;return[i,r]},coordToPoint:function(t){var e=t[0];t=t[1]/180*Math.PI;return[Math.cos(t)*e+this.cx,-Math.sin(t)*e+this.cy]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice(),n=(e[0]>e[1]&&e.reverse(),t.getExtent()),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){t-=this.cx,e-=this.cy,t=t*t+e*e,e=this.r;var n=this.r0;return t<=e*e&&n*n<=t}}}},t.exports=i},fd63:function(t,e,n){var i=n("42e5"),o=n("6d8b").isFunction;t.exports={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),a=(t.visualColorAccessPath||"itemStyle.color").split("."),r=t.get(a),s=!o(r)||r instanceof i?null:r,l=(r&&!s||(r=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",r),(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."));r=t.get(l);if(n.setVisual("borderColor",r),!e.isSeriesFiltered(t))return s&&n.each((function(e){n.setItemVisual(e,"color",s(t.getDataParams(e)))})),{dataEach:n.hasItemOption?function(t,e){var n=t.getItemModel(e),i=n.get(a,!0);n=n.get(l,!0);null!=i&&t.setItemVisual(e,"color",i),null!=n&&t.setItemVisual(e,"borderColor",n)}:null}}}},fdde:function(t,e){function n(t,e){return Math.round(t.length/2)}var i={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}};t.exports=function(t){return{seriesType:t,modifyOutputEnd:!0,reset:function(t,e,o){var a,r,s=t.getData(),l=t.get("sampling"),u=t.coordinateSystem;"cartesian2d"===u.type&&l&&(a=u.getBaseAxis(),u=u.getOtherAxis(a),a=a.getExtent(),a=Math.abs(a[1]-a[0]),1<(a=Math.round(s.count()/a)))&&("string"==typeof l?r=i[l]:"function"==typeof l&&(r=l),r)&&t.setData(s.downSample(s.mapDimension(u.dim),1/a,r,n))}}}},fe21:function(t,e,n){var i=n("e86a"),o=n("2306"),a=["textStyle","color"];t.exports={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(a):null)},getFont:function(){return o.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return i.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"))}}},febc:function(t,e,n){var i=n("6d8b"),o=n("4f85");n=n("e468").seriesModelMixin,o=o.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});i.mixin(o,n,!0),t.exports=o},fecb:function(t,e,n){var i=n("6d8b"),o=n("2145");n=n("29a8").toolbox.brush;function a(t,e,n){this.model=t,this.ecModel=e,this.api=n,this._brushType,this._brushMode}a.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:i.clone(n.title)},n=a.prototype,n.render=n.updateView=function(t,e,n){var o,a,r;e.eachComponent({mainType:"brush"},(function(t){o=t.brushType,a=t.brushOption.brushMode||"single",r|=t.areas.length})),this._brushType=o,this._brushMode=a,i.each(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===a:"clear"===e?r:e===o)?"emphasis":"normal")}))},n.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return i.each(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},n.onclick=function(t,e,n){var i=this._brushType,o=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===o?"single":"multiple":o}})},o.register("brush",a),t.exports=a},ff2e:function(t,e,n){var i=n("6d8b"),o=n("2306"),a=n("e86a"),r=n("eda2"),s=n("1687"),l=n("697e"),u=n("fab2");function c(t,e,n,i,o){var s,l=h(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),u=(n=n.getModel("label"),r.normalizeCssArray(n.get("padding")||0)),c=n.getFont(),d=a.getBoundingRect(l,c),p=o.position,f=d.width+u[1]+u[3],g=(d=d.height+u[0]+u[2],o.align),m=(g=("right"===g&&(p[0]-=f),"center"===g&&(p[0]-=f/2),o.verticalAlign),"bottom"===g&&(p[1]-=d),"middle"===g&&(p[1]-=d/2),o=p,g=f,s=d,m=(i=i).getWidth(),i=i.getHeight(),o[0]=Math.min(o[0]+g,m)-g,o[1]=Math.min(o[1]+s,i)-s,o[0]=Math.max(o[0],0),o[1]=Math.max(o[1],0),n.get("backgroundColor"));m&&"auto"!==m||(m=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:f,height:d,r:n.get("borderRadius")},position:p.slice(),style:{text:l,textFont:c,textFill:n.getTextColor(),textPosition:"inside",textPadding:u,fill:m,stroke:n.get("borderColor")||"transparent",lineWidth:n.get("borderWidth")||0,shadowBlur:n.get("shadowBlur"),shadowColor:n.get("shadowColor"),shadowOffsetX:n.get("shadowOffsetX"),shadowOffsetY:n.get("shadowOffsetY")},z2:10}}function h(t,e,n,o,a){t=e.scale.parse(t);var r,s=e.scale.getLabel(t,{precision:a.precision});a=a.formatter;return a&&(r={value:l.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]},i.each(o,(function(t){var e=n.getSeriesByIndex(t.seriesIndex);t=t.dataIndexInside,e=e&&e.getDataParams(t);e&&r.seriesData.push(e)})),i.isString(a)?s=a.replace("{value}",s):i.isFunction(a)&&(s=a(r))),s}function d(t,e,n){var i=s.create();return s.rotate(i,i,n.rotation),s.translate(i,i,n.position),o.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}e.buildElStyle=function(t){var e,n=t.get("type");t=t.getModel(n+"Style");return"line"===n?(e=t.getLineStyle()).fill=null:"shadow"===n&&((e=t.getAreaStyle()).stroke=null),e},e.buildLabelElOption=c,e.getValueLabel=h,e.getTransformedPosition=d,e.buildCartesianSingleLabelElOption=function(t,e,n,i,o,a){var r=u.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=o.get("label.margin"),c(e,i,o,a,{position:d(i.axis,t,n),align:r.textAlign,verticalAlign:r.textVerticalAlign})},e.makeLineShape=function(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}},e.makeRectShape=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},e.makeSectorShape=function(t,e,n,i,o,a){return{cx:t,cy:e,r0:n,r:i,startAngle:o,endAngle:a,clockwise:!0}}}}]);