(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-1126b2c6"],{"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>>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>>1);0>>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;vo[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;1{for(var e=0;n<=t;)e|=1&t,t>>=1;return t+e})(s);do{}while((u=o(t,i,r,e)){if(t===e)return 1;var i=t.length;if(i===e.length){if(1===n){for(var o=0;o{if(a(t)){var e=t.length;if(a(t[0])){for(var n=[],i=0;ie&&(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;es&&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","≥"][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((t=>{var e=[],n=t.get("fontSize"),i=(n=((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"),t.get("textShadowColor")),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(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=o&&a<=n+1){for(var u=[],c=0;c{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&&a<=h+1){for(var f=s.components,g=0,m=f.length,y=0,v=0;g(t=l(t.node1,t.node2,e),e.__edgeMap[t]))(t,e);if(!d)return null;for(var p=-1,f=0;fn[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=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=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{var r,l;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||(t=>{for(var e,n,i=0;i{for(var t={},r={},s=[],l=0,u=Math.min(5,n);lnull!=(t=t.option.seriesIndex)&&"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;no[0][1]&&(o[0][1]=a[0]),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("c775").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=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=o(t.categoryGap,t.bandWidth),s=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&&nthis._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;ne.length&&(this._expandData(),e=this.data);for(var n=0;nr||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=ga&&(a=t.depth)}));var s=t.expandAndCollapse&&0<=t.initialTreeDepth?t.initialTreeDepth:a;return i.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=s})),i.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{for(;n>>1;t[o][1]{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=((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{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})(((t,e,n)=>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=(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||1Math.abs(i[1])?0e[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("7368b"),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 "+_)),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;sn[0]&&isFinite(f)&&isFinite(n[0]););else{t=o.getTicks().length-1;var p=(a":"\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=((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{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;i=Math.min(i,n/t.height);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]=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{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("06ad");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{for(var t in i){if(null==i||!i.hasOwnProperty(t)||"default"===t||"__esModule"===t)return;e[t]=i[t]}})(),n("b719"));(()=>{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("95a8"),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{if(t.sourceFormat===r)return null!=(t=(t=>{for(var e=0;e=e.r0}});t.exports=n},"342d":function(t,e,n){var i=n("cbe5"),o=n("20c8"),a=n("ee84"),r=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,c=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},h=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(c(t)*c(e))},d=function(t,e){return(t[0]*e[1]{if(!t)return new o;for(var e,n=0,i=0,a=n,r=i,s=new o,l=o.CMD,u=t.match(f),c=0;c{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)=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 0c&&(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{var i=6;t=t.get("hoverLinkDataSize");return t?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] ",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'+t.dom+""})),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;ul.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{for(var e=[],n=t.data,i=t.len(),o=0;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],n[0]=o(u(r[0],(e=e[s])[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{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{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):((t,e,n,i,o,a,r)=>{var s=(n=n.getOuterSize()).width;n=n.height;return null!=a&&(i=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=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:(t=>{for(var e,n=0;n":"\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,((t,e)=>{var n=t.getVisual("color"),o=t.getVisual("visualMeta");if(o&&0!==o.length||(n=null),!(o=t.getModel("itemStyle").get("color"))){if(n)return n;if(0===t.depth)return e.option.color[0];n=e.option.color.length,o=e.option.color[(t=>{for(var e=t;1n!==a&&(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)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',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":"\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":"",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{for(var e=t.length,n=t[0].length,i=[],o=[],a=0,r={},s=0;s{for(var e=new Array(t.length),n=0;n{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=this._rawCount||t<0)){if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))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();st[C][1])&&(A=!1)}A&&(a[r++]=this.getRawIndex(m))}return rh[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{var e=r[t.main];return e&&e[o]?e:r[t.main]={___EC__COMPONENT__CONTAINER___:!0}})(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{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))})(((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.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{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;dn.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(),S=f.getTargetSeries,T=!0,A=f.modifyOutputEnd,(D=f.seriesType)?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=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;oe);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=((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;ve.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 ")))},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},"7368b":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{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{for(var e=t.split(/\n+/g),n=(t=c(e.shift()),[]),i=0;i{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,t=t.exist,(o=o).type||(t?t.subType:v.determineSubType(n,o))))})),((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&&((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;uO&&(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{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})(I=x,ot),rt=(I=at,tt),st=et,lt=nt,ut=ot,ct=1/0;o.each(I,(function(t){var e=t.length,n=0;o.each(t,(function(t){n+=t.getLayout().value})),t="vertical"===ut?(st-(e-1)*lt)/n:(rt-(e-1)*lt)/n;t{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)))}))}))})(at,ht*=.99,ot),s(at,nt,tt,et,ot),((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)))}))}))})(at,ht,ot),s(at,nt,tt,et,ot);y=x;var dt="vertical"===b?"x":"y";o.each(y,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[dt]-e.node2.getLayout()[dt]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[dt]-e.node1.getLayout()[dt]}))})),o.each(y,(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{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?ed[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 ")),n.value&&(t+=" : "+l(n.value)),t):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=[];co[0]&&h{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;nn[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(((t,e)=>{var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var o=0;o{var n;if(e=e.get("color"))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);t=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=c(t,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=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=((t,e,n)=>{for(var i=0,o=0,a=e.length;or[1]&&(r[1]=t)}))):r=[NaN,NaN],{sum:i,dataExtent:r}})(e,l,u);if(0===c.sum)return t.viewChildren=[];if(c.sum=((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*en[l[r]])&&(d=n[l[r]]);for(var p=0,f=t.length;p{var a,r=(e||{}).node,l=[i,o];if(!r||r===n)return l;for(var u=(e=i*o)*t.option.zoomToNodeRatio;a=r.parentNode;){for(var c=0,h=a.children,d=0,p=h.length;d{if(e)return{x:e.x,y:e.y};if(e={x:0,y:0},!n)return e;var i=(n=n.node).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=(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{var n=0;t=t.scale.getExtent();return"start"===e?n=t[0]:"end"===e?n=t[1]:0":"\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{a!==g&&(e.__attrCachedBy=f.NONE),(a=t.__textCotentBlock)&&!t.__dirtyText||(a=t.__textCotentBlock=c.parseRichText(n,i));var r=t,s=e,l=a,u=i,h=(n=o,l.width),d=(t=l.outerWidth,e=l.outerHeight,a=u.textPadding,o=(i=C(b,r,u,n)).baseX,i.baseY),p=i.textAlign,m=(i=i.textVerticalAlign,n=(S(s,u,n,o,d),c.adjustTextX(o,t,p)),o=c.adjustTextY(d,e,i),n),y=o,v=(a&&(m+=a[3],y+=a[0]),m+h);I(u)&&T(r,s,u,n,o,t,e);for(var x,_=0;_{var r,s=I(i),l=!1,u=e.__attrCachedBy===f.PLAIN_TEXT,h=(a=(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),i.textPadding),i.textLineHeight),d=(h=(M=(M=t.__textCotentBlock)&&!t.__dirtyText?M:t.__textCotentBlock=c.parsePlainText(n,u,a,h,i.truncate)).outerHeight,M.lines),y=M.lineHeight,v=(M=C(b,t,i,o)).baseX,_=M.baseY,w=M.textAlign||"left",M=M.textVerticalAlign,A=(o=(S(e,i,o,v,_),c.adjustTextY(_,h,M)),v),D=o;(s||a)&&(_=c.getWidth(n,u),a&&(_+=a[1]+a[3]),M=c.adjustTextX(v,_,w),s&&T(t,e,i,M,o,_,h),a)&&(A=O(v,w,a),D+=a[0]),e.textAlign=w,e.textBaseline="middle",e.globalAlpha=i.opacity||1;for(var k=0;k=t&&(0===e?0:i[e-1][0]){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{var e=V[t];if(!e){F((t=t*M+e)-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;fy?"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{var t=e.getModel("title").option;return(t=t&&t.length?t[0]:t)&&t.text})())?h(d("general.withTitle"),{title:l}):d("general.withoutTitle"),u=[],l+=h(d(1r?e+=h(d("data.partialData"),{displayCnt:r}):e+=d("data.allData"),[]),g=0;gt[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{for(var o=e;ol+r);o++)if(t[o].y+=i,et[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=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.anglet[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,((t,e)=>(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>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;lm.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{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&&(o=(e=t.offsetX)-this._x,a=(n=t.offsetY)-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{var i=[1/0,-1/0],o=(n=(l(n,(function(t){var n=t.getData();n&&l(n.mapDimension(e,!0),(function(t){t=n.getApproximateExtent(t),t[0]i[1]&&(i[1]=t[1])}))})),i[1]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?((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"),null==(e=c.label||(c.label={})).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=((t,e)=>{for(var n=e.model,i=e.dim,o=0;oa[1]&&a.reverse(),(i=null==i||i>a[1]?a[1]:i)=n.start.time&&t.timeo.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=0n.weeks||0===t&&en.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&&0t.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=((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')}}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=this._maxSize&&0{if(e{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)))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)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,x=(m=M).getModel("iconStyle"),_=m.getModel("emphasis.iconStyle"),u=y.getIcons?y.getIcons():m.get("icon"),b=m.get("title")||{},"string"==typeof u&&(a=u,v=b,b={},(u={})[S]=a,b[S]=v),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(x.getItemStyle()),r.hoverStyle=_.getItemStyle(),r.setStyle({text:b[a],textAlign:_.get("textAlign"),textBorderRadius:_.get("textBorderRadius"),textPadding:_.get("textPadding"),textFill:null}),i=t.getModel("tooltip");i&&i.get("show")&&r.attr("tooltip",o.extend({content:b[a],formatter:i.get("formatter",!0)||function(){return b[a]},formatterParams:{componentType:"toolbox",name:a,title:b[a],$vars:["name","title"]},position:i.get("position",!0)||"bottom"},i.option)),s.setHoverStyle(r),t.get("showTitle")&&(r.__title=b[a],r.on("mouseover",(function(){var e=_.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";r.setStyle({textFill:_.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:_.get("textBackgroundColor"),textPosition:_.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\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{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=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=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]{for(var n=t.length,i=0;ie)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=e.maxIterations){t+=e.ellipsis;break}var s=0===r?((t,e,n,i)=>{for(var o=0,a=0,r=t.length;av)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"],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){ra[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{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=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&&(s=(e=t).axis,u=(l=e.seriesModels).length,c=e.boxWidthList=[],h=e.boxOffsetList=[],d=[],"category"===s.type?n=s.getBandWidth():(r=0,a(l,(function(t){r=Math.max(r,t.getData().count())})),e=s.getExtent(),Math.abs(e[1]-e[0])),a(l,(function(t){t=t.get("boxWidth"),i.isArray(t)||(t=[t,t]),d.push([o(t[0],n)||0,o(t[1],n)||0])})),p=(s=.8*n-2)/u*.3,g=(f=(s-p*(u-1))/u)/2-s/2,a(l,(function(t,e){h.push(g),g+=p+f,c.push(Math.min(Math.max(f,d[e][0]),d[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{if(t!==e){if(!t||!e||t.length!==e.length)return 1;for(var n=0;no[0]){for(l=0;lt);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"'])/g),s={"&":"&","<":"<",">":">",'"':""","'":"'"};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':'':{renderMode:o,content:"{marker"+a+"|} ",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={},a=(r=t.axis).position,r=r.orient,s={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 o.position=["vertical"===r?s.vertical[a]:n[0],"horizontal"===r?s.horizontal[a]:n[3]],o.rotation=Math.PI/2*{horizontal:0,vertical:1}[r],o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,right:1,left:-1}[a],t.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),i.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection),null==(s=e.rotate)&&(s=t.get("axisLabel.rotate")),o.labelRotation="top"===a?-s:s,o.z2=1,o}},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;fs&&(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{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;si)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=((t,e,n)=>{if(!n.valueDim)return[];for(var i=[],o=0,a=e.count();o{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{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.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||hy.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{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{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"),x=(d=d||[])[0],g=d[1],e=d[d.length-1],d=d[d.length-2],n=(u=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;Dr[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=((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{e=e.split(",");for(var n=t,i=0;i(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{var e,n;return(t=t._track).length&&(e=(n=t[t.length-1])[0]-(t=t[0])[0],n=p(e*e+(e=n[1]-t[1])*e,.5),ge[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("42e5d"),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