(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1c235c70"],{"0046":function(e,t,i){var n=i("6d8b"),a=n.each,o=n.createHashMap,r=i("4f85"),s=i("3301"),l=r.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(e,t){var i=this.getSource();return u(i,this),s(i,this)},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,i=this.getData(),n=[];return t.eachActiveState(i,(function(t,a){e===t&&n.push(i.getRawIndex(a))})),n},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"}});function u(e,t){if(!e.encodeDefine){var i=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(i){var n=e.encodeDefine=o();a(i.dimensions,(function(e){var t=c(e);n.set(e,t)}))}}}function c(e){return+e.replace("dim","")}e.exports=l},"004f":function(e,t,i){var n=i("6d8b"),a=i("72b6"),o=i("2306"),r=i("a15a"),s=r.createSymbol,l=i("f934"),u=i("cbb0"),c=a.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var t=this.visualMapModel,i=t.get("textGap"),a=t.textStyleModel,r=a.getFont(),s=a.getTextColor(),u=this._getItemAlign(),c=t.itemSize,d=this._getViewData(),h=d.endsText,p=n.retrieve(t.get("showLabel",!0),!h);function f(a){var l=a.piece,d=new o.Group;d.onclick=n.bind(this._onItemClick,this,l),this._enableHoverLink(d,a.indexInModelPieceList);var h=t.getRepresentValue(l);if(this._createItemSymbol(d,h,[0,0,c[0],c[1]]),p){var f=this.visualMapModel.getValueState(h);d.add(new o.Text({style:{x:"right"===u?-i:c[0]+i,y:c[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:u,textFont:r,textFill:s,opacity:"outOfRange"===f?.5:1}}))}e.add(d)}h&&this._renderEndsText(e,h[0],c,p,u),n.each(d.viewPieceList,f,this),h&&this._renderEndsText(e,h[1],c,p,u),l.box(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,t){function i(e){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:e,batch:u.convertDataIndex(i.findTargetDataIndices(t))})}e.on("mouseover",n.bind(i,this,"highlight")).on("mouseout",n.bind(i,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return u.getItemAlign(e,this.api,e.itemSize);var i=t.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(e,t,i,n,a){if(t){var r=new o.Group,s=this.visualMapModel.textStyleModel;r.add(new o.Text({style:{x:n?"right"===a?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?a:"center",text:t,textFont:s.getFont(),textFill:s.getTextColor()}})),e.add(r)}},_getViewData:function(){var e=this.visualMapModel,t=n.map(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),i=e.get("text"),a=e.get("orient"),o=e.get("inverse");return("horizontal"===a?o:!o)?t.reverse():i&&(i=i.slice().reverse()),{viewPieceList:t,endsText:i}},_createItemSymbol:function(e,t,i){e.add(s(this.getControllerVisual(t,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,i=t.option,a=n.clone(i.selected),o=t.getSelectedMapKey(e);"single"===i.selectedMode?(a[o]=!0,n.each(a,(function(e,t){a[t]=t===o}))):a[o]=!a[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}}),d=c;e.exports=d},"007d":function(e,t,i){var n=i("3eba");i("cb8f"),i("a96b"),i("42f6"),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},"00ba":function(e,t,i){var n=i("3eba"),a=i("e46b"),o=i("e0d3"),r=o.defaultEmphasis,s=n.extendSeriesModel({type:"series.funnel",init:function(e){s.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(e)},getInitialData:function(e,t){return a(this,["value"])},_defaultLabelLine:function(e){r(e,"labelLine",["show"]);var t=e.labelLine,i=e.emphasis.labelLine;t.show=t.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},getDataParams:function(e){var t=this.getData(),i=s.superCall(this,"getDataParams",e),n=t.mapDimension("value"),a=t.getSum(n);return i.percent=a?+(t.get(n,e)/a*100).toFixed(2):0,i.$vars.push("percent"),i},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",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}}}}),l=s;e.exports=l},"00d8":function(e,t,i){var n=i("6d8b");function a(e,t){return t=t||[0,0],n.map([0,1],(function(i){var n=t[i],a=e[i]/2,o=[],r=[];return o[i]=n-a,r[i]=n+a,o[1-i]=r[1-i]=t[1-i],Math.abs(this.dataToPoint(o)[i]-this.dataToPoint(r)[i])}),this)}function o(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:n.bind(a,e)}}}e.exports=o},"0141":function(e,t,i){var n=i("6d8b"),a=i("9850"),o=i("6cc5"),r=i("5b87");function s(e,t,i,n){o.call(this,e),this.map=t;var a=r.load(t,i);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.regionsMap,this._invertLongitute=null==n||n,this.regions=a.regions,this._rect=a.boundingRect}function l(e,t,i,n){var a=i.geoModel,o=i.seriesModel,r=a?a.coordinateSystem:o?o.coordinateSystem||(o.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return r===this?r[e](n):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(e){for(var t=this.regions,i=0;it&&(t=n.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,i=this.children,n=i.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t,i=this.hostTree,n=i.data.getItemModel(this.dataIndex),a=this.getLevelModel();return a||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(t=this.getLeavesModel()),n.getModel(e,(a||t||i.hostModel).getModel(e))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){var t=e.parentNode;while(t){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},u.prototype={constructor:u,type:"tree",eachNode:function(e,t,i){this.root.eachNode(e,t,i)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,i=0,n=t.length;i0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=a.clone(e)},getValueState:function(e){var t=r.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),(function(t,i){var a=r.findPieceIndex(t,this._pieceList);a===e&&n.push(i)}),this),t.push({seriesId:i.id,dataIndex:n})}),this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var i=e.interval||[];t=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return t},getVisualMeta:function(e){if(!this.isCategory()){var t=[],i=[],n=this,o=this._pieceList.slice();if(o.length){var r=o[0].interval[0];r!==-1/0&&o.unshift({interval:[-1/0,r]}),r=o[o.length-1].interval[1],r!==1/0&&o.push({interval:[r,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return a.each(o,(function(e){var t=e.interval;t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:t,outerColors:i}}function l(a,o){var r=n.getRepresentValue({interval:a});o||(o=n.getValueState(r));var s=e(r,o);a[0]===-1/0?i[0]=s:a[1]===1/0?i[1]=s:t.push({value:a[0],color:s},{value:a[1],color:s})}}}),d={splitNumber:function(){var e=this.option,t=this._pieceList,i=Math.min(e.precision,20),n=this.getExtent(),o=e.splitNumber;o=Math.max(parseInt(o,10),1),e.splitNumber=o;var r=(n[1]-n[0])/o;while(+r.toFixed(i)!==r&&i<5)i++;e.precision=i,r=+r.toFixed(i);var s=0;e.minOpen&&t.push({index:s++,interval:[-1/0,n[0]],close:[0,0]});for(var l=n[0],c=s+o;s","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,i)}),this)}};function h(e,t){var i=e.inverse;("vertical"===e.orient?!i:i)&&t.reverse()}var p=c;e.exports=p},"07d7":function(e,t,i){var n=i("6d8b"),a=i("41ef"),o=i("607d"),r=i("22d1"),s=i("eda2"),l=n.each,u=s.toCamelCase,c=["","-webkit-","-moz-","-o-"],d="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function h(e){var t="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+e+"s "+t+",top "+e+"s "+t;return n.map(c,(function(e){return e+"transition:"+i})).join(";")}function p(e){var t=[],i=e.get("fontSize"),n=e.getTextColor();return n&&t.push("color:"+n),t.push("font:"+e.getFont()),i&&t.push("line-height:"+Math.round(3*i/2)+"px"),l(["decoration","align"],(function(i){var n=e.get(i);n&&t.push("text-"+i+":"+n)})),t.join(";")}function f(e){var t=[],i=e.get("transitionDuration"),n=e.get("backgroundColor"),o=e.getModel("textStyle"),c=e.get("padding");return i&&t.push(h(i)),n&&(r.canvasSupported?t.push("background-Color:"+n):(t.push("background-Color:#"+a.toHex(n)),t.push("filter:alpha(opacity=70)"))),l(["width","color","radius"],(function(i){var n="border-"+i,a=u(n),o=e.get(a);null!=o&&t.push(n+":"+o+("color"===i?"":"px"))})),t.push(p(o)),null!=c&&t.push("padding:"+s.normalizeCssArray(c).join("px ")+"px"),t.join(";")+";"}function g(e,t){if(r.wxa)return null;var i=document.createElement("div"),n=this._zr=t.getZr();this.el=i,this._x=t.getWidth()/2,this._y=t.getHeight()/2,e.appendChild(i),this._container=e,this._show=!1,this._hideTimeout;var a=this;i.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!a._enterable){var i=n.handler;o.normalizeEvent(e,t,!0),i.dispatch("mousemove",t)}},i.onmouseleave=function(){a._enterable&&a._show&&a.hideLater(a._hideDelay),a._inContent=!1}}g.prototype={constructor:g,_enterable:!0,update:function(){var e=this._container,t=e.currentStyle||document.defaultView.getComputedStyle(e),i=e.style;"absolute"!==i.position&&"absolute"!==t.position&&(i.position="relative")},show:function(e){clearTimeout(this._hideTimeout);var t=this.el;t.style.cssText=d+f(e)+";left:"+this._x+"px;top:"+this._y+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",t.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(e){this.el.innerHTML=null==e?"":e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var i,n=this._zr;n&&n.painter&&(i=n.painter.getViewportRootOffset())&&(e+=i.offsetLeft,t+=i.offsetTop);var a=this.el.style;a.left=e+"px",a.top=t+"px",this._x=e,this._y=t},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var e=this.el.clientWidth,t=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(this.el);i&&(e+=parseInt(i.paddingLeft,10)+parseInt(i.paddingRight,10)+parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),t+=parseInt(i.paddingTop,10)+parseInt(i.paddingBottom,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:e,height:t}}};var m=g;e.exports=m},"07e6":function(e,t,i){i("4d85"),i("a753")},"0817":function(e,t,i){var n=i("3eba");i("f306"),i("0046"),i("60d7");var a=i("ab71");n.registerVisual(a)},"085d":function(e,t,i){var n=i("3eba");i("bd92"),i("19e2");var a=i("eabf"),o=i("4c99"),r=i("09b1");n.registerPreprocessor(a),n.registerVisual(o),n.registerLayout(r)},"08c3":function(e,t,i){var n=i("6d8b"),a=i("84ce"),o=function(e,t,i,n){a.call(this,e,t,i),this.type=n||"value",this.model=null};o.prototype={constructor:o,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},n.inherits(o,a);var r=o;e.exports=r},"09b1":function(e,t,i){var n=i("2306"),a=n.subPixelOptimize,o=i("cccd"),r=i("3842"),s=r.parsePercent,l=i("6d8b"),u=l.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,d={seriesType:"candlestick",plan:o(),reset:function(e){var t=e.coordinateSystem,i=e.getData(),n=p(e,i),o=0,r=1,s=["x","y"],l=i.mapDimension(s[o]),u=i.mapDimension(s[r],!0),d=u[0],f=u[1],g=u[2],m=u[3];if(i.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),!(null==l||u.length<4))return{progress:e.pipelineContext.large?y:v};function v(e,i){var s;while(null!=(s=e.next())){var u=i.get(l,s),c=i.get(d,s),p=i.get(f,s),v=i.get(g,s),y=i.get(m,s),x=Math.min(c,p),_=Math.max(c,p),b=A(x,u),w=A(_,u),S=A(v,u),M=A(y,u),I=[];T(I,w,0),T(I,b,1),I.push(C(M),C(w),C(S),C(b)),i.setItemLayout(s,{sign:h(i,s,c,p,f),initBaseline:c>p?w[r]:b[r],ends:I,brushRect:D(v,y,u)})}function A(e,i){var n=[];return n[o]=i,n[r]=e,isNaN(i)||isNaN(e)?[NaN,NaN]:t.dataToPoint(n)}function T(e,t,i){var r=t.slice(),s=t.slice();r[o]=a(r[o]+n/2,1,!1),s[o]=a(s[o]-n/2,1,!0),i?e.push(r,s):e.push(s,r)}function D(e,t,i){var a=A(e,i),s=A(t,i);return a[o]-=n/2,s[o]-=n/2,{x:a[0],y:a[1],width:r?n:s[0]-a[0],height:r?s[1]-a[1]:n}}function C(e){return e[o]=a(e[o],1),e}}function y(e,i){var n,a,s=new c(5*e.count),u=0,p=[],v=[];while(null!=(a=e.next())){var y=i.get(l,a),x=i.get(d,a),_=i.get(f,a),b=i.get(g,a),w=i.get(m,a);isNaN(y)||isNaN(b)||isNaN(w)?(s[u++]=NaN,u+=4):(s[u++]=h(i,a,x,_,f),p[o]=y,p[r]=b,n=t.dataToPoint(p,null,v),s[u++]=n?n[0]:NaN,s[u++]=n?n[1]:NaN,p[r]=w,n=t.dataToPoint(p,null,v),s[u++]=n?n[1]:NaN)}i.setLayout("largePoints",s)}}};function h(e,t,i,n,a){var o;return o=i>n?-1:i0?e.get(a,t-1)<=n?1:-1:1,o}function p(e,t){var i,n=e.getBaseAxis(),a="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/t.count()),o=s(u(e.get("barMaxWidth"),a),a),r=s(u(e.get("barMinWidth"),1),a),l=e.get("barWidth");return null!=l?s(l,a):Math.max(Math.min(a/2,o),r)}e.exports=d},"0a6d":function(e,t,i){i("6932"),i("3a56"),i("7dcf"),i("3790"),i("2325"),i("a18f"),i("32a1"),i("2c17"),i("9e87")},"0b4b":function(e,t,i){i("d28f"),i("f14c"),i("0ee7"),i("ebf9")},"0c12":function(e,t){function i(){}function n(e,t,i,n){for(var a=0,o=t.length,r=0,s=0;a=r&&d+1>=s){for(var h=[],p=0;p=r&&p+1>=s)return n(o,u.components,t,e);c[i]=u}else c[i]=void 0}l++}while(l<=u){var g=f();if(g)return g}},pushComponent:function(e,t,i){var n=e[e.length-1];n&&n.added===t&&n.removed===i?e[e.length-1]={count:n.count+1,added:t,removed:i}:e.push({count:1,added:t,removed:i})},extractCommon:function(e,t,i,n){var a=t.length,o=i.length,r=e.newPos,s=r-n,l=0;while(r+1=0)&&(C=e);var P=new l.Text({position:t.center.slice(),scale:[1/g[0],1/g[1]],z2:10,silent:!0});l.setLabelStyle(P.style,P.hoverStyle={},w,S,{labelFetcher:C,labelDataIndex:L,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),i.add(P)}if(s)s.setItemGraphicEl(o,i);else{u=e.getRegionModel(t.name);a.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:u&&u.option||{}}}var k=i.__regions||(i.__regions=[]);k.push(t),l.setHoverStyle(i,m,{hoverSilentOnTouch:!!e.get("selectedMode")}),c.add(i)})),this._updateController(e,t,i),p(this,e,c,i,a),f(e,c)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&u.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&n.each(u.makeGraphic(t,this.uid),(function(e){this._backgroundGroup.add(e)}),this),this._mapName=t},_updateController:function(e,t,i){var a=e.coordinateSystem,r=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=a.getZoom(),r.enable(e.get("roam")||!1);var u=e.mainType;function c(){var t={type:"geoRoam",componentType:u};return t[u+"Id"]=e.id,t}r.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,o.updateViewOnPan(l,e.dx,e.dy),i.dispatchAction(n.extend(c(),{dx:e.dx,dy:e.dy}))}),this),r.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,o.updateViewOnZoom(l,e.scale,e.originX,e.originY),i.dispatchAction(n.extend(c(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var t=this.group.scale;this._regionsGroup.traverse((function(e){"text"===e.type&&e.attr("scale",[1/t[0],1/t[1]])}))}}),this),r.setPointerChecker((function(t,n,o){return a.getViewRectAfterRoam().contain(n,o)&&!s(t,i,e)}))}};var m=g;e.exports=m},"0e0f":function(e,t,i){var n=i("5f14"),a=i("6d8b");function o(e,t){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),i=t.nodes;if(i.length){var o=1/0,r=-1/0;a.each(i,(function(e){var t=e.getLayout().value;tr&&(r=t)})),a.each(i,(function(t){var i=new n({type:"color",mappingMethod:"linear",dataExtent:[o,r],visual:e.get("color")}),a=i.mapValueToVisual(t.getLayout().value);t.setVisual("color",a);var s=t.getModel(),l=s.get("itemStyle.color");null!=l&&t.setVisual("color",l)}))}}))}e.exports=o},"0ee7":function(e,t,i){var n=i("6d8b"),a=i("2306"),o=i("f934"),r=i("5e97"),s=a.Group,l=["width","height"],u=["x","y"],c=r.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,t,i,o){var r=this;c.superCall(this,"renderInner",e,t,i,o);var s=this._controllerGroup,l=t.get("pageIconSize",!0);n.isArray(l)||(l=[l,l]),d("pagePrev",0);var u=t.getModel("pageTextStyle");function d(e,i){var u=e+"DataIndex",c=a.createIcon(t.get("pageIcons",!0)[t.getOrient().name][i],{onclick:n.bind(r._pageGo,r,u,t,o)},{x:-l[0]/2,y:-l[1]/2,width:l[0],height:l[1]});c.name=e,s.add(c)}s.add(new a.Text({name:"pageText",style:{textFill:u.getTextColor(),font:u.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),d("pageNext",1)},layoutInner:function(e,t,i,r){var s=this.getContentGroup(),c=this._containerGroup,d=this._controllerGroup,h=e.getOrient().index,p=l[h],f=l[1-h],g=u[1-h];o.box(e.get("orient"),s,e.get("itemGap"),h?i.width:null,h?null:i.height),o.box("horizontal",d,e.get("pageButtonItemGap",!0));var m=s.getBoundingRect(),v=d.getBoundingRect(),y=this._showController=m[p]>i[p],x=[-m.x,-m.y];r||(x[h]=s.position[h]);var _=[0,0],b=[-v.x,-v.y],w=n.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(y){var S=e.get("pageButtonPosition",!0);"end"===S?b[h]+=i[p]-v[p]:_[h]+=v[p]+w}b[1-h]+=m[f]/2-v[f]/2,s.attr("position",x),c.attr("position",_),d.attr("position",b);var M=this.group.getBoundingRect();M={x:0,y:0};if(M[p]=y?i[p]:m[p],M[f]=Math.max(m[f],v[f]),M[g]=Math.min(0,v[g]+b[1-h]),c.__rectSize=i[p],y){var I={x:0,y:0};I[p]=Math.max(i[p]-v[p]-w,0),I[f]=M[f],c.setClipPath(new a.Rect({shape:I})),c.__rectSize=I[p]}else d.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var A=this._getPageInfo(e);return null!=A.pageIndex&&a.updateProps(s,{position:A.contentPosition},!!y&&e),this._updatePageInfoView(e,A),M},_pageGo:function(e,t,i){var n=this._getPageInfo(t)[e];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:t.id})},_updatePageInfoView:function(e,t){var i=this._controllerGroup;n.each(["pagePrev","pageNext"],(function(n){var a=null!=t[n+"DataIndex"],o=i.childOfName(n);o&&(o.setStyle("fill",a?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=a?"pointer":"default")}));var a=i.childOfName("pageText"),o=e.get("pageFormatter"),r=t.pageIndex,s=null!=r?r+1:0,l=t.pageCount;a&&o&&a.setStyle("text",n.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(e){var t=e.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,a=e.getOrient().index,o=l[a],r=u[a],s=this._findTargetItemIndex(t),c=i.children(),d=c[s],h=c.length,p=h?1:0,f={contentPosition:i.position.slice(),pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!d)return f;var g=_(d);f.contentPosition[a]=-g.s;for(var m=s+1,v=g,y=g,x=null;m<=h;++m)x=_(c[m]),(!x&&y.e>v.s+n||x&&!b(x,v.s))&&(v=y.i>v.i?y:x,v&&(null==f.pageNextDataIndex&&(f.pageNextDataIndex=v.i),++f.pageCount)),y=x;for(m=s-1,v=g,y=g,x=null;m>=-1;--m)x=_(c[m]),x&&b(y,x.s)||!(v.i=t&&e.s<=t+n}},_findTargetItemIndex:function(e){var t,i=this.getContentGroup();return this._showController?i.eachChild((function(i,n){i.__legendDataIndex===e&&(t=n)})):t=0,t}}),d=c;e.exports=d},"0f55":function(e,t,i){var n=i("6d8b"),a=i("84ce"),o=function(e,t,i,n,o){a.call(this,e,t,i),this.type=n||"value",this.axisIndex=o};o.prototype={constructor:o,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},n.inherits(o,a);var r=o;e.exports=r},"0fd3":function(e,t,i){var n=i("2306"),a=i("7e5b"),o=i("6d8b"),r=i("a15a"),s=r.createSymbol,l=i("401b"),u=i("4a3f");function c(e,t,i){n.Group.call(this),this.add(this.createLine(e,t,i)),this._updateEffectSymbol(e,t)}var d=c.prototype;d.createLine=function(e,t,i){return new a(e,t,i)},d._updateEffectSymbol=function(e,t){var i=e.getItemModel(t),n=i.getModel("effect"),a=n.get("symbolSize"),r=n.get("symbol");o.isArray(a)||(a=[a,a]);var l=n.get("color")||e.getItemVisual(t,"color"),u=this.childAt(1);this._symbolType!==r&&(this.remove(u),u=s(r,-.5,-.5,1,1,l),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",l),u.setStyle(n.getItemStyle(["color"])),u.attr("scale",a),u.setColor(l),u.attr("scale",a),this._symbolType=r,this._updateEffectAnimation(e,n,t))},d._updateEffectAnimation=function(e,t,i){var n=this.childAt(1);if(n){var a=this,r=e.getItemLayout(i),s=1e3*t.get("period"),l=t.get("loop"),u=t.get("constantSpeed"),c=o.retrieve(t.get("delay"),(function(t){return t/e.count()*s/3})),d="function"===typeof c;if(n.ignore=!0,this.updateAnimationPoints(n,r),u>0&&(s=this.getLineLength(n)/u*1e3),s!==this._period||l!==this._loop){n.stopAnimation();var h=c;d&&(h=c(i)),n.__t>0&&(h=-s*n.__t),n.__t=0;var p=n.animate("",l).when(s,{__t:1}).delay(h).during((function(){a.updateSymbolPosition(n)}));l||p.done((function(){a.remove(n)})),p.start()}this._period=s,this._loop=l}},d.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},d.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},d.updateData=function(e,t,i){this.childAt(0).updateData(e,t,i),this._updateEffectSymbol(e,t)},d.updateSymbolPosition=function(e){var t=e.__p1,i=e.__p2,n=e.__cp1,a=e.__t,o=e.position,r=u.quadraticAt,s=u.quadraticDerivativeAt;o[0]=r(t[0],n[0],i[0],a),o[1]=r(t[1],n[1],i[1],a);var l=s(t[0],n[0],i[0],a),c=s(t[1],n[1],i[1],a);e.rotation=-Math.atan2(c,l)-Math.PI/2,e.ignore=!1},d.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var i=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,i,t)},o.inherits(c,n.Group);var h=c;e.exports=h},"10cc":function(e,t,i){var n=i("3eba"),a=i("6d8b"),o=i("9850"),r=i("2b8c"),s=i("a890"),l=i("88b3"),u=i("bd9e"),c=["inBrush","outOfBrush"],d="__ecBrushSelect",h="__ecInBrushSelectEvent",p=n.PRIORITY.VISUAL.BRUSH;function f(e,t,i,n,a){if(a){var o=e.getZr();if(!o[h]){o[d]||(o[d]=g);var r=l.createOrUpdate(o,d,i,t);r(e,n)}}}function g(e,t){if(!e.isDisposed()){var i=e.getZr();i[h]=!0,e.dispatchAction({type:"brushSelect",batch:t}),i[h]=!1}}function m(e,t,i,n){for(var a=0,o=t.length;at[0][1]&&(t[0][1]=o[0]),o[1]t[1][1]&&(t[1][1]=o[1])}return t&&b(t)}};function b(e){return new o(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}},1111:function(e,t,i){var n=i("3eba");i("67a8"),i("4784");var a=i("7f96"),o=i("87c3");n.registerVisual(a("effectScatter","circle")),n.registerLayout(o("effectScatter"))},"133d":function(e,t,i){var n=i("6d8b"),a=i("e0d3");function o(e,t){var i,o=[],r=e.seriesIndex;if(null==r||!(i=t.getSeriesByIndex(r)))return{point:[]};var s=i.getData(),l=a.queryDataIndex(s,e);if(null==l||l<0||n.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=i.coordinateSystem;if(i.getTooltipPosition)o=i.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)o=c.dataToPoint(s.getValues(n.map(c.dimensions,(function(e){return s.mapDimension(e)})),l,!0))||[];else if(u){var d=u.getBoundingRect().clone();d.applyTransform(u.transform),o=[d.x+d.width/2,d.y+d.height/2]}return{point:o,el:u}}e.exports=o},1418:function(e,t,i){var n=i("6d8b"),a=i("a15a"),o=a.createSymbol,r=i("2306"),s=i("3842"),l=s.parsePercent,u=i("c775"),c=u.getDefaultLabel;function d(e,t,i){r.Group.call(this),this.updateData(e,t,i)}var h=d.prototype,p=d.getSymbolSize=function(e,t){var i=e.getItemVisual(t,"symbolSize");return i instanceof Array?i.slice():[+i,+i]};function f(e){return[e[0]/2,e[1]/2]}function g(e,t){this.parent.drift(e,t)}h._createSymbol=function(e,t,i,n,a){this.removeAll();var r=t.getItemVisual(i,"color"),s=o(e,-1,-1,2,2,r,a);s.attr({z2:100,culling:!0,scale:f(n)}),s.drift=g,this._symbolType=e,this.add(s)},h.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(e)},h.getSymbolPath=function(){return this.childAt(0)},h.getScale=function(){return this.childAt(0).scale},h.highlight=function(){this.childAt(0).trigger("emphasis")},h.downplay=function(){this.childAt(0).trigger("normal")},h.setZ=function(e,t){var i=this.childAt(0);i.zlevel=e,i.z=t},h.setDraggable=function(e){var t=this.childAt(0);t.draggable=e,t.cursor=e?"move":"pointer"},h.updateData=function(e,t,i){this.silent=!1;var n=e.getItemVisual(t,"symbol")||"circle",a=e.hostModel,o=p(e,t),s=n!==this._symbolType;if(s){var l=e.getItemVisual(t,"symbolKeepAspect");this._createSymbol(n,e,t,o,l)}else{var u=this.childAt(0);u.silent=!1,r.updateProps(u,{scale:f(o)},a,t)}if(this._updateCommon(e,t,o,i),s){u=this.childAt(0);var c=i&&i.fadeIn,d={scale:u.scale.slice()};c&&(d.style={opacity:u.style.opacity}),u.scale=[0,0],c&&(u.style.opacity=0),r.initProps(u,d,a,t)}this._seriesModel=a};var m=["itemStyle"],v=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"];function _(){!r.isInEmphasis(this)&&w.call(this)}function b(){!r.isInEmphasis(this)&&S.call(this)}function w(){if(!this.incremental&&!this.useHoverLayer){var e=this.__symbolOriginalScale,t=e[1]/e[0];this.animateTo({scale:[Math.max(1.1*e[0],e[0]+3),Math.max(1.1*e[1],e[1]+3*t)]},400,"elasticOut")}}function S(){this.incremental||this.useHoverLayer||this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}h._updateCommon=function(e,t,i,a){var o=this.childAt(0),s=e.hostModel,u=e.getItemVisual(t,"color");"image"!==o.type&&o.useStyle({strokeNoScale:!0});var d=a&&a.itemStyle,h=a&&a.hoverItemStyle,p=a&&a.symbolRotate,g=a&&a.symbolOffset,M=a&&a.labelModel,I=a&&a.hoverLabelModel,A=a&&a.hoverAnimation,T=a&&a.cursorStyle;if(!a||e.hasItemOption){var D=a&&a.itemModel?a.itemModel:e.getItemModel(t);d=D.getModel(m).getItemStyle(["color"]),h=D.getModel(v).getItemStyle(),p=D.getShallow("symbolRotate"),g=D.getShallow("symbolOffset"),M=D.getModel(y),I=D.getModel(x),A=D.getShallow("hoverAnimation"),T=D.getShallow("cursor")}else h=n.extend({},h);var C=o.style;o.attr("rotation",(p||0)*Math.PI/180||0),g&&o.attr("position",[l(g[0],i[0]),l(g[1],i[1])]),T&&o.attr("cursor",T),o.setColor(u,a&&a.symbolInnerColor),o.setStyle(d);var L=e.getItemVisual(t,"opacity");null!=L&&(C.opacity=L);var P=e.getItemVisual(t,"liftZ"),k=o.__z2Origin;null!=P?null==k&&(o.__z2Origin=o.z2,o.z2+=P):null!=k&&(o.z2=k,o.__z2Origin=null);var N=a&&a.useNameLabel;function O(t,i){return N?e.getName(t):c(e,t)}r.setLabelStyle(C,h,M,I,{labelFetcher:s,labelDataIndex:t,defaultText:O,isRectText:!0,autoColor:u}),o.off("mouseover").off("mouseout").off("emphasis").off("normal"),o.hoverStyle=h,r.setHoverStyle(o),o.__symbolOriginalScale=f(i),A&&s.isAnimationEnabled()&&o.on("mouseover",_).on("mouseout",b).on("emphasis",w).on("normal",S)},h.fadeOut=function(e,t){var i=this.childAt(0);this.silent=i.silent=!0,(!t||!t.keepLabel)&&(i.style.text=null),r.updateProps(i,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,e)},n.inherits(d,r.Group);var M=d;e.exports=M},1466:function(e,t,i){var n=i("3eba"),a=i("2306"),o=i("6d8b"),r=i("a15a");function s(e){return o.isArray(e)||(e=[+e,+e]),e}var l=n.extendChartView({type:"radar",render:function(e,t,i){var n=e.coordinateSystem,l=this.group,u=e.getData(),c=this._data;function d(e,t){var i=e.getItemVisual(t,"symbol")||"circle",n=e.getItemVisual(t,"color");if("none"!==i){var a=s(e.getItemVisual(t,"symbolSize")),o=r.createSymbol(i,-1,-1,2,2,n);return o.attr({style:{strokeNoScale:!0},z2:100,scale:[a[0]/2,a[1]/2]}),o}}function h(t,i,n,o,r,s){n.removeAll();for(var l=0;l0&&!f.min?f.min=0:null!=f.min&&f.min<0&&!f.max&&(f.max=0);var g=u;if(null!=f.color&&(g=a.defaults({color:f.color},u)),f=a.merge(a.clone(f),{boundaryGap:e,splitNumber:t,scale:i,axisLine:n,axisTick:o,axisLabel:l,name:f.text,nameLocation:"end",nameGap:h,nameTextStyle:g,triggerEvent:p},!1),c||(f.name=""),"string"===typeof d){var m=f.name;f.name=d.replace("{value}",null!=m?m:"")}else"function"===typeof d&&(f.name=d(f.name,f));var v=a.extend(new r(f,null,this.ecModel),s);return v.mainType="radar",v.componentIndex=this.componentIndex,v}),this);this.getIndicatorModels=function(){return f}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}}),d=c;e.exports=d},1792:function(e,t){var i={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function n(e,t){if("china"===e){var n=i[t.name];if(n){var a=t.center;a[0]+=n[0]/10.5,a[1]+=-n[1]/14}}}e.exports=n},"17b8":function(e,t,i){var n=i("3014"),a=n.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e}});e.exports=a},"17d6":function(e,t,i){var n=i("6d8b"),a=i("22d1"),o=i("e0d3"),r=o.makeInner,s=r(),l=n.each;function u(e,t,i){if(!a.node){var n=t.getZr();s(n).records||(s(n).records={}),c(n,t);var o=s(n).records[e]||(s(n).records[e]={});o.handler=i}}function c(e,t){function i(i,n){e.on(i,(function(i){var a=f(t);l(s(e).records,(function(e){e&&n(e,i,a.dispatchAction)})),d(a.pendings,t)}))}s(e).initialized||(s(e).initialized=!0,i("click",n.curry(p,"click")),i("mousemove",n.curry(p,"mousemove")),i("globalout",h))}function d(e,t){var i,n=e.showTip.length,a=e.hideTip.length;n?i=e.showTip[n-1]:a&&(i=e.hideTip[a-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function h(e,t,i){e.handler("leave",null,i)}function p(e,t,i,n){t.handler(e,i,n)}function f(e){var t={showTip:[],hideTip:[]},i=function(n){var a=t[n.type];a?a.push(n):(n.dispatchAction=i,e.dispatchAction(n))};return{dispatchAction:i,pendings:t}}function g(e,t){if(!a.node){var i=t.getZr(),n=(s(i).records||{})[e];n&&(s(i).records[e]=null)}}t.register=u,t.unregister=g},1953:function(e,t,i){var n=i("2449"),a=n.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end"},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});e.exports=a},"19e2":function(e,t,i){var n=i("6d8b"),a=i("e887"),o=i("2306"),r=i("cbe5"),s=["itemStyle"],l=["emphasis","itemStyle"],u=["color","color0","borderColor","borderColor0"],c=a.extend({type:"candlestick",render:function(e,t,i){this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},incrementalPrepareRender:function(e,t,i){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,i,n){this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e){var t=e.getData(),i=this._data,n=this.group,a=t.getLayout("isSimpleBox");this._data||n.removeAll(),t.diff(i).add((function(i){if(t.hasValue(i)){var r,s=t.getItemLayout(i);r=h(s,i,!0),o.initProps(r,{shape:{points:s.ends}},e,i),p(r,t,i,a),n.add(r),t.setItemGraphicEl(i,r)}})).update((function(r,s){var l=i.getItemGraphicEl(s);if(t.hasValue(r)){var u=t.getItemLayout(r);l?o.updateProps(l,{shape:{points:u.ends}},e,r):l=h(u,r),p(l,t,r,a),n.add(l),t.setItemGraphicEl(r,l)}else n.remove(l)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&n.remove(t)})).execute(),this._data=t},_renderLarge:function(e){this._clear(),m(e,this.group)},_incrementalRenderNormal:function(e,t){var i,n=t.getData(),a=n.getLayout("isSimpleBox");while(null!=(i=e.next())){var o,r=n.getItemLayout(i);o=h(r,i),p(o,n,i,a),o.incremental=!0,this.group.add(o)}},_incrementalRenderLarge:function(e,t){m(t,this.group,!0)},remove:function(e){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:n.noop}),d=r.extend({type:"normalCandlestickBox",shape:{},buildPath:function(e,t){var i=t.points;this.__simpleBox?(e.moveTo(i[4][0],i[4][1]),e.lineTo(i[6][0],i[6][1])):(e.moveTo(i[0][0],i[0][1]),e.lineTo(i[1][0],i[1][1]),e.lineTo(i[2][0],i[2][1]),e.lineTo(i[3][0],i[3][1]),e.closePath(),e.moveTo(i[4][0],i[4][1]),e.lineTo(i[5][0],i[5][1]),e.moveTo(i[6][0],i[6][1]),e.lineTo(i[7][0],i[7][1]))}});function h(e,t,i){var n=e.ends;return new d({shape:{points:i?f(n,e):n},z2:100})}function p(e,t,i,n){var a=t.getItemModel(i),r=a.getModel(s),c=t.getItemVisual(i,"color"),d=t.getItemVisual(i,"borderColor")||c,h=r.getItemStyle(u);e.useStyle(h),e.style.strokeNoScale=!0,e.style.fill=c,e.style.stroke=d,e.__simpleBox=n;var p=a.getModel(l).getItemStyle();o.setHoverStyle(e,p)}function f(e,t){return n.map(e,(function(e){return e=e.slice(),e[1]=t.initBaseline,e}))}var g=r.extend({type:"largeCandlestickBox",shape:{},buildPath:function(e,t){for(var i=t.points,n=0;n0?"P":"N",o=n.getVisual("borderColor"+a)||n.getVisual("color"+a),r=i.getModel(s).getItemStyle(u);t.useStyle(r),t.style.fill=null,t.style.stroke=o}var y=c;e.exports=y},"1ab3":function(e,t,i){var n=i("6d8b"),a=i("2306"),o=i("e887");function r(e,t,i,n){var a=t.getData(),o=this.dataIndex,r=a.getName(o),l=t.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:e,name:r,seriesId:t.id}),a.each((function(e){s(a.getItemGraphicEl(e),a.getItemLayout(e),t.isSelected(a.getName(e)),l,i)}))}function s(e,t,i,n,a){var o=(t.startAngle+t.endAngle)/2,r=Math.cos(o),s=Math.sin(o),l=i?n:0,u=[r*l,s*l];a?e.animate().when(200,{position:u}).start("bounceOut"):e.attr("position",u)}function l(e,t){a.Group.call(this);var i=new a.Sector({z2:2}),n=new a.Polyline,o=new a.Text;function r(){n.ignore=n.hoverIgnore,o.ignore=o.hoverIgnore}function s(){n.ignore=n.normalIgnore,o.ignore=o.normalIgnore}this.add(i),this.add(n),this.add(o),this.updateData(e,t,!0),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}var u=l.prototype;u.updateData=function(e,t,i){var o=this.childAt(0),r=e.hostModel,l=e.getItemModel(t),u=e.getItemLayout(t),c=n.extend({},u);if(c.label=null,i){o.setShape(c);var d=r.getShallow("animationType");"scale"===d?(o.shape.r=u.r0,a.initProps(o,{shape:{r:u.r}},r,t)):(o.shape.endAngle=u.startAngle,a.updateProps(o,{shape:{endAngle:u.endAngle}},r,t))}else a.updateProps(o,{shape:c},r,t);var h=e.getItemVisual(t,"color");o.useStyle(n.defaults({lineJoin:"bevel",fill:h},l.getModel("itemStyle").getItemStyle())),o.hoverStyle=l.getModel("emphasis.itemStyle").getItemStyle();var p=l.getShallow("cursor");function f(){o.stopAnimation(!0),o.animateTo({shape:{r:u.r+r.get("hoverOffset")}},300,"elasticOut")}function g(){o.stopAnimation(!0),o.animateTo({shape:{r:u.r}},300,"elasticOut")}p&&o.attr("cursor",p),s(this,e.getItemLayout(t),r.isSelected(null,t),r.get("selectedOffset"),r.get("animation")),o.off("mouseover").off("mouseout").off("emphasis").off("normal"),l.get("hoverAnimation")&&r.isAnimationEnabled()&&o.on("mouseover",f).on("mouseout",g).on("emphasis",f).on("normal",g),this._updateLabel(e,t),a.setHoverStyle(this)},u._updateLabel=function(e,t){var i=this.childAt(1),n=this.childAt(2),o=e.hostModel,r=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,u=e.getItemVisual(t,"color");a.updateProps(i,{shape:{points:l.linePoints||[[l.x,l.y],[l.x,l.y],[l.x,l.y]]}},o,t),a.updateProps(n,{style:{x:l.x,y:l.y}},o,t),n.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var c=r.getModel("label"),d=r.getModel("emphasis.label"),h=r.getModel("labelLine"),p=r.getModel("emphasis.labelLine");u=e.getItemVisual(t,"color");a.setLabelStyle(n.style,n.hoverStyle={},c,d,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign,opacity:e.getItemVisual(t,"opacity")}),n.ignore=n.normalIgnore=!c.get("show"),n.hoverIgnore=!d.get("show"),i.ignore=i.normalIgnore=!h.get("show"),i.hoverIgnore=!p.get("show"),i.setStyle({stroke:u,opacity:e.getItemVisual(t,"opacity")}),i.setStyle(h.getModel("lineStyle").getLineStyle()),i.hoverStyle=p.getModel("lineStyle").getLineStyle();var f=h.get("smooth");f&&!0===f&&(f=.4),i.setShape({smooth:f})},n.inherits(l,a.Group);var c=o.extend({type:"pie",init:function(){var e=new a.Group;this._sectorGroup=e},render:function(e,t,i,a){if(!a||a.from!==this.uid){var o=e.getData(),s=this._data,u=this.group,c=t.get("animation"),d=!s,h=e.get("animationType"),p=n.curry(r,this.uid,e,c,i),f=e.get("selectedMode");if(o.diff(s).add((function(e){var t=new l(o,e);d&&"scale"!==h&&t.eachChild((function(e){e.stopAnimation(!0)})),f&&t.on("click",p),o.setItemGraphicEl(e,t),u.add(t)})).update((function(e,t){var i=s.getItemGraphicEl(t);i.updateData(o,e),i.off("click"),f&&i.on("click",p),u.add(i),o.setItemGraphicEl(e,i)})).remove((function(e){var t=s.getItemGraphicEl(e);u.remove(t)})).execute(),c&&d&&o.count()>0&&"scale"!==h){var g=o.getItemLayout(0),m=Math.max(i.getWidth(),i.getHeight())/2,v=n.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(g.cx,g.cy,m,g.startAngle,g.clockwise,v,e))}else u.removeClipPath();this._data=o}},dispose:function(){},_createClipPath:function(e,t,i,n,o,r,s){var l=new a.Sector({shape:{cx:e,cy:t,r0:0,r:i,startAngle:n,endAngle:n,clockwise:o}});return a.initProps(l,{shape:{endAngle:n+(o?1:-1)*Math.PI*2}},s,r),l},containPoint:function(e,t){var i=t.getData(),n=i.getItemLayout(0);if(n){var a=e[0]-n.cx,o=e[1]-n.cy,r=Math.sqrt(a*a+o*o);return r<=n.r&&r>=n.r0}}}),d=c;e.exports=d},"1c5f":function(e,t,i){var n=i("401b");function a(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var i=e.getGraph();i.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),o(i)}}function o(e){e.eachEdge((function(e){var t=e.getModel().get("lineStyle.curveness")||0,i=n.clone(e.node1.getLayout()),a=n.clone(e.node2.getLayout()),o=[i,a];+t&&o.push([(i[0]+a[0])/2-(i[1]-a[1])*t,(i[1]+a[1])/2-(a[0]-i[0])*t]),e.setLayout(o)}))}t.simpleLayout=a,t.simpleLayoutEdge=o},"1ccf":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),o=i("fd27"),r=i("3842"),s=r.parsePercent,l=i("697e"),u=l.createScaleByModel,c=l.niceScaleExtent,d=i("2039"),h=i("ee1a"),p=h.getStackedDimension;function f(e,t,i){var n=t.get("center"),a=i.getWidth(),o=i.getHeight();e.cx=s(n[0],a),e.cy=s(n[1],o);var r=e.getRadiusAxis(),l=Math.min(a,o)/2,u=s(t.get("radius"),l);r.inverse?r.setExtent(u,0):r.setExtent(0,u)}function g(e,t){var i=this,n=i.getAngleAxis(),o=i.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===i){var t=e.getData();a.each(t.mapDimension("radius",!0),(function(e){o.scale.unionExtentFromData(t,p(t,e))})),a.each(t.mapDimension("angle",!0),(function(e){n.scale.unionExtentFromData(t,p(t,e))}))}})),c(n.scale,n.model),c(o.scale,o.model),"category"===n.type&&!n.onBand){var r=n.getExtent(),s=360/n.scale.count();n.inverse?r[1]+=s:r[1]-=s,n.setExtent(r[0],r[1])}}function m(e,t){if(e.type=t.get("type"),e.scale=u(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var i=t.get("startAngle");e.setExtent(i,i+(e.inverse?-360:360))}t.axis=e,e.model=t}i("78f0");var v={dimensions:o.prototype.dimensions,create:function(e,t){var i=[];return e.eachComponent("polar",(function(e,n){var a=new o(n);a.update=g;var r=a.getRadiusAxis(),s=a.getAngleAxis(),l=e.findAxisModel("radiusAxis"),u=e.findAxisModel("angleAxis");m(r,l),m(s,u),f(a,e,t),i.push(a),e.coordinateSystem=a,a.model=e})),e.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=i.coordinateSystem}})),i}};d.register("polar",v)},"1e32":function(e,t,i){var n=i("6d8b"),a=i("3842"),o=a.parsePercent,r=i("ee1a"),s=r.isDimensionStacked;function l(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function u(e){return e.dim}function c(e,t,i){i.getWidth(),i.getHeight();var a={},o=d(n.filter(t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),i=e.coordinateSystem,n=i.getBaseAxis(),r=l(e),c=o[u(n)][r],d=c.offset,h=c.width,p=i.getOtherAxis(n),f=e.coordinateSystem.cx,g=e.coordinateSystem.cy,m=e.get("barMinHeight")||0,v=e.get("barMinAngle")||0;a[r]=a[r]||[];for(var y=t.mapDimension(p.dim),x=t.mapDimension(n.dim),_=s(t,y),b=p.getExtent()[0],w=0,S=t.count();w=0?"p":"n",P=b;if(_&&(a[r][I]||(a[r][I]={p:b,n:b}),P=a[r][I][L]),"radius"===p.dim){var k=p.dataToRadius(M)-b,N=n.dataToAngle(I);Math.abs(k)=a/3?1:2),l=t.y-n(r)*o*(o>=a/3?1:2);r=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+i(r)*o,t.y+n(r)*o),e.lineTo(t.x+i(t.angle)*a,t.y+n(t.angle)*a),e.lineTo(t.x-i(r)*o,t.y-n(r)*o),e.lineTo(s,l)}});e.exports=a},"1f1a":function(e,t,i){var n=i("6d8b"),a=i("e0d3"),o=i("6cb7"),r=i("4319"),s=i("7023"),l=i("eeea"),u=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){o.prototype.init.apply(this,arguments),a.defaultEmphasis(e,"label",["show"])},optionUpdated:function(){var e=this.option,t=this;e.regions=l.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=n.reduce(e.regions||[],(function(e,i){return i.name&&e.set(i.name,new r(i,t)),e}),n.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(e){return this._optionModelMap.get(e)||new r(null,this,this.ecModel)},getFormattedLabel:function(e,t){var i=this.getRegionModel(e),n=i.get("label."+t+".formatter"),a={name:e};return"function"===typeof n?(a.status=t,n(a)):"string"===typeof n?n.replace("{a}",null!=e?e:""):void 0},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});n.mixin(u,s);var c=u;e.exports=c},2145:function(e,t){var i={};function n(e,t){i[e]=t}function a(e){return i[e]}t.register=n,t.get=a},2163:function(e,t,i){var n=i("4f85"),a=i("06c7"),o=i("eda2"),r=o.encodeHTML,s=n.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},i=e.leaves||{},n={};n.leaves=i;var o=a.createTree(t,this,n),r=0;o.eachNode("preorder",(function(e){e.depth>r&&(r=e.depth)}));var s=e.expandAndCollapse,l=s&&e.initialTreeDepth>=0?e.initialTreeDepth:r;return o.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=l})),o.data},getOrient:function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},formatTooltip:function(e){var t=this.getData().tree,i=t.root.children[0],n=t.getNodeByDataIndex(e),a=n.getValue(),o=n.name;while(n&&n!==i)o=n.parentNode.name+"."+o,n=n.parentNode;return r(o+(isNaN(a)||null==a?"":" : "+a))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",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}});e.exports=s},"217b":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("3301")),o=i("4f85"),r=o.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return a(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});e.exports=r},"217c":function(e,t,i){var n=i("6d8b"),a=i("6cb7");i("df3a");var o=a.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&n.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var i=e.get("parallelIndex");return null!=i&&t.getComponent("parallel",i)===this},setAxisExpand:function(e){n.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],i=n.filter(this.dependentModels.parallelAxis,(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);n.each(i,(function(i){e.push("dim"+i.get("dim")),t.push(i.componentIndex)}))}});e.exports=o},"22da":function(e,t,i){var n=i("f934");function a(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var t,i,n=[e];while(t=n.pop())if(i=t.children,t.isExpand&&i.length)for(var a=i.length,o=a-1;o>=0;o--){var r=i[o];r.hierNode={defaultAncestor:null,ancestor:r,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},n.push(r)}}function o(e,t){var i=e.isExpand?e.children:[],n=e.parentNode.children,a=e.hierNode.i?n[e.hierNode.i-1]:null;if(i.length){c(e);var o=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;a?(e.hierNode.prelim=a.hierNode.prelim+t(e,a),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else a&&(e.hierNode.prelim=a.hierNode.prelim+t(e,a));e.parentNode.hierNode.defaultAncestor=d(e,a,e.parentNode.hierNode.defaultAncestor||n[0],t)}function r(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function s(e){return arguments.length?e:m}function l(e,t){var i={};return e-=Math.PI/2,i.x=t*Math.cos(e),i.y=t*Math.sin(e),i}function u(e,t){return n.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e){var t=e.children,i=t.length,n=0,a=0;while(--i>=0){var o=t[i];o.hierNode.prelim+=n,o.hierNode.modifier+=n,a+=o.hierNode.change,n+=o.hierNode.shift+a}}function d(e,t,i,n){if(t){var a=e,o=e,r=o.parentNode.children[0],s=t,l=a.hierNode.modifier,u=o.hierNode.modifier,c=r.hierNode.modifier,d=s.hierNode.modifier;while(s=h(s),o=p(o),s&&o){a=h(a),r=p(r),a.hierNode.ancestor=e;var m=s.hierNode.prelim+d-o.hierNode.prelim-u+n(s,o);m>0&&(g(f(s,e,i),e,m),u+=m,l+=m),d+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=a.hierNode.modifier,c+=r.hierNode.modifier}s&&!h(a)&&(a.hierNode.thread=s,a.hierNode.modifier+=d-l),o&&!p(r)&&(r.hierNode.thread=o,r.hierNode.modifier+=u-c,i=e)}return i}function h(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function p(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function f(e,t,i){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:i}function g(e,t,i){var n=i/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=n,t.hierNode.shift+=i,t.hierNode.modifier+=i,t.hierNode.prelim+=i,e.hierNode.change+=n}function m(e,t){return e.parentNode===t.parentNode?1:2}t.init=a,t.firstWalk=o,t.secondWalk=r,t.separation=s,t.radialCoordinate=l,t.getViewRect=u},2325:function(e,t,i){var n=i("6d8b"),a=i("607d"),o=i("2306"),r=i("88b3"),s=i("7dcf"),l=i("3842"),u=i("f934"),c=i("ef6a"),d=o.Rect,h=l.linearMap,p=l.asc,f=n.bind,g=n.each,m=7,v=1,y=30,x="horizontal",_="vertical",b=5,w=["line","bar","candlestick","scatter"],S=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,i,n){S.superApply(this,"render",arguments),r.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){S.superApply(this,"remove",arguments),r.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),r.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new o.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,i=this._findCoordRect(),a={width:t.getWidth(),height:t.getHeight()},o=this._orient===x?{right:a.width-i.x-i.width,top:a.height-y-m,width:i.width,height:y}:{right:m,top:i.y,width:y,height:i.height},r=u.getLayoutParams(e.option);n.each(["right","top","width","height"],(function(e){"ph"===r[e]&&(r[e]=o[e])}));var s=u.getLayoutRect(r,a,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===_&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),a=n&&n.get("inverse"),o=this._displayables.barGroup,r=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(i!==x||a?i===x&&a?{scale:r?[-1,1]:[-1,-1]}:i!==_||a?{scale:r?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:r?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:r?[1,1]:[1,-1]});var s=e.getBoundingRect([o]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,i=this._displayables.barGroup;i.add(new d({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),i.add(new d({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,i=e.series,a=i.getRawData(),r=i.getShadowDim?i.getShadowDim():e.otherDim;if(null!=r){var s=a.getDataExtent(r),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,t[1]],d=[0,t[0]],p=[[t[0],0],[0,0]],f=[],g=d[1]/(a.count()-1),m=0,v=Math.round(a.count()/t[0]);a.each([r],(function(e,t){if(v>0&&t%v)m+=g;else{var i=null==e||isNaN(e)||""===e,n=i?0:h(e,s,c,!0);i&&!u&&t?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!i&&u&&(p.push([m,0]),f.push([m,0])),p.push([m,n]),f.push([m,n]),m+=g,u=i}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:p},style:n.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:f},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var i,a=this.ecModel;return e.eachTargetAxis((function(o,r){var s=e.getAxisProxy(o.name,r).getTargetSeriesModels();n.each(s,(function(e){if(!i&&!(!0!==t&&n.indexOf(w,e.get("type"))<0)){var s,l=a.getComponent(o.axis,r).axis,u=M(o.name),c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=e.getData().mapDimension(u),i={thisAxis:l,series:e,thisDim:o.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),i}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],i=e.handleLabels=[],n=this._displayables.barGroup,r=this._size,s=this.dataZoomModel;n.add(e.filler=new d({draggable:!0,cursor:I(this._orient),drift:f(this._onDragMove,this,"all"),onmousemove:function(e){a.stop(e.event)},ondragstart:f(this._showDataInfo,this,!0),ondragend:f(this._onDragEnd,this),onmouseover:f(this._showDataInfo,this,!0),onmouseout:f(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),n.add(new d(o.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:v,fill:"rgba(0,0,0,0)"}}))),g([0,1],(function(e){var r=o.createIcon(s.get("handleIcon"),{cursor:I(this._orient),draggable:!0,drift:f(this._onDragMove,this,e),onmousemove:function(e){a.stop(e.event)},ondragend:f(this._onDragEnd,this),onmouseover:f(this._showDataInfo,this,!0),onmouseout:f(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),u=r.getBoundingRect();this._handleHeight=l.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,r.setStyle(s.getModel("handleStyle").getItemStyle());var c=s.get("handleColor");null!=c&&(r.style.fill=c),n.add(t[e]=r);var d=s.textStyleModel;this.group.add(i[e]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:d.getTextColor(),textFont:d.getFont()},z2:10}))}),this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[h(e[0],[0,100],t,!0),h(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var i=this.dataZoomModel,n=this._handleEnds,a=this._getViewExtent(),o=i.findRepresentativeAxisProxy().getMinMaxSpan(),r=[0,100];c(t,n,a,i.get("zoomLock")?"all":e,null!=o.minSpan?h(o.minSpan,r,a,!0):null,null!=o.maxSpan?h(o.maxSpan,r,a,!0):null);var s=this._range,l=this._range=p([h(n[0],a,r,!0),h(n[1],a,r,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(e){var t=this._displayables,i=this._handleEnds,n=p(i.slice()),a=this._size;g([0,1],(function(e){var n=t.handles[e],o=this._handleHeight;n.attr({scale:[o/2,o/2],position:[i[e],a[1]/2-o/2]})}),this),t.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:a[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,i=this._displayables,n=i.handleLabels,a=this._orient,r=["",""];if(t.get("showDetail")){var s=t.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=e?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();r=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var d=p(this._handleEnds.slice());function h(e){var t=o.getTransform(i.handles[e].parent,this.group),s=o.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+b,u=o.applyTransform([d[e]+(0===e?-l:l),this._size[1]/2],t);n[e].setStyle({x:u[0],y:u[1],textVerticalAlign:a===x?"middle":s,textAlign:a===x?s:"center",text:r[e]})}h.call(this,0),h.call(this,1)},_formatLabel:function(e,t){var i=this.dataZoomModel,a=i.get("labelFormatter"),o=i.get("labelPrecision");null!=o&&"auto"!==o||(o=t.getPixelPrecision());var r=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(o,20));return n.isFunction(a)?a(e,r):n.isString(a)?a.replace("{value}",r):r},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,i){this._dragging=!0;var n=this._displayables.barGroup.getLocalTransform(),a=o.applyTransform([t,i],n,!0),r=this._updateInterval(e,a[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),r&&s&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,i=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(i[0]<0||i[0]>t[0]||i[1]<0||i[1]>t[1])){var n=this._handleEnds,a=(n[0]+n[1])/2,o=this._updateInterval("all",i[0]-a);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(g(this.getTargetCoordInfo(),(function(t){if(!e&&t.length){var i=t[0].model.coordinateSystem;e=i.getRect&&i.getRect()}})),!e){var t=this.api.getWidth(),i=this.api.getHeight();e={x:.2*t,y:.2*i,width:.6*t,height:.6*i}}return e}});function M(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function I(e){return"vertical"===e?"ns-resize":"ew-resize"}var A=S;e.exports=A},"237f":function(e,t,i){var n=i("6d8b"),a=i("6179"),o=i("7368"),r=i("31d9"),s=i("b1d4"),l=i("2039"),u=i("3301");function c(e,t,i,c,d){for(var h=new o(c),p=0;p "+x)),m++)}var _,b=i.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(e,i);else{var w=l.get(b),S=w&&"view"!==w.type&&w.dimensions||[];n.indexOf(S,"value")<0&&S.concat(["value"]);var M=s(e,{coordDimensions:S});_=new a(M,i),_.initData(e)}var I=new a(["value"],i);return I.initData(g,f),d&&d(_,I),r({mainData:_,struct:h,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),h.update(),h}e.exports=c},"23e0":function(e,t,i){var n=i("6d8b"),a=i("7887"),o=i("89e3"),r=i("3842"),s=i("697e"),l=s.getScaleExtent,u=s.niceScaleExtent,c=i("2039");function d(e,t,i){this._model=e,this.dimensions=[],this._indicatorAxes=n.map(e.getIndicatorModels(),(function(e,t){var i="indicator_"+t,n=new a(i,new o);return n.name=e.get("name"),n.model=e,e.axis=n,this.dimensions.push(i),n}),this),this.resize(e,i),this.cx,this.cy,this.r,this.r0,this.startAngle}d.prototype.getIndicatorAxes=function(){return this._indicatorAxes},d.prototype.dataToPoint=function(e,t){var i=this._indicatorAxes[t];return this.coordToPoint(i.dataToCoord(e),t)},d.prototype.coordToPoint=function(e,t){var i=this._indicatorAxes[t],n=i.angle,a=this.cx+e*Math.cos(n),o=this.cy-e*Math.sin(n);return[a,o]},d.prototype.pointToData=function(e){var t=e[0]-this.cx,i=e[1]-this.cy,n=Math.sqrt(t*t+i*i);t/=n,i/=n;for(var a,o=Math.atan2(-i,t),r=1/0,s=-1,l=0;li[0]&&isFinite(f)&&isFinite(i[0]))}else{var g=a.getTicks().length-1;g>o&&(h=s(h));var m=Math.round((i[0]+i[1])/2/h)*h,v=Math.round(o/2);a.setExtent(r.round(m-v*h),r.round(m+(o-v)*h)),a.setInterval(h)}}))},d.dimensions=[],d.create=function(e,t){var i=[];return e.eachComponent("radar",(function(n){var a=new d(n,e,t);i.push(a),n.coordinateSystem=a})),e.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=i[e.get("radarIndex")||0])})),i},c.register("radar",d);var h=d;e.exports=h},"23ee":function(e,t,i){var n=i("3eba");i("879e"),i("9704"),i("d747");var a=i("675a"),o=i("7f96"),r=i("2943a"),s=i("de6e"),l=i("d357"),u=i("adda"),c=i("5866"),d=i("7b0c");n.registerProcessor(a),n.registerVisual(o("graph","circle",null)),n.registerVisual(r),n.registerVisual(s),n.registerLayout(l),n.registerLayout(u),n.registerLayout(c),n.registerCoordinateSystem("graphView",{create:d})},2449:function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),o=i("6d8b"),r=i("22d1"),s=i("e0d3"),l=i("eda2"),u=i("38a2"),c=l.addCommas,d=l.encodeHTML;function h(e){s.defaultEmphasis(e,"label",["show"])}var p=a.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,i,n){this.mergeDefaultAndTheme(e,i),this.mergeOption(e,i,n.createdBySelf,!0)},isAnimationEnabled:function(){if(r.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t,i,n){var a=this.constructor,r=this.mainType+"Model";i||t.eachSeries((function(e){var i=e.get(this.mainType,!0),s=e[r];i&&i.data?(s?s.mergeOption(i,t,!0):(n&&h(i),o.each(i.data,(function(e){e instanceof Array?(h(e[0]),h(e[1])):h(e)})),s=new a(i,this,t),o.extend(s,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),s.__hostSeries=e),e[r]=s):e[r]=null}),this)},formatTooltip:function(e){var t=this.getData(),i=this.getRawValue(e),n=o.isArray(i)?o.map(i,c).join(", "):c(i),a=t.getName(e),r=d(this.name);return(null!=i||a)&&(r+="
"),a&&(r+=d(a),null!=i&&(r+=" : ")),null!=i&&(r+=d(n)),r},getData:function(){return this._data},setData:function(e){this._data=e}});o.mixin(p,u);var f=p;e.exports=f},"24b9":function(e,t,i){var n=i("f934"),a=i("3842"),o=a.parsePercent,r=a.linearMap;function s(e,t){return n.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function l(e,t){for(var i=e.mapDimension("value"),n=e.mapArray(i,(function(e){return e})),a=[],o="ascending"===t,r=0,s=e.count();r=4&&(u={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(u&&null!=r&&null!=l&&(c=G(u,r,l),!t.ignoreViewBox)){var p=a;a=new n,a.add(p),p.scale=c.scale.slice(),p.position=c.position.slice()}return t.ignoreRootClip||null==r||null==l||a.setClipPath(new s({shape:{x:0,y:0,width:r,height:l}})),{root:a,width:r,height:l,viewBoxRect:u,viewBoxTransform:c}},A.prototype._parseNode=function(e,t){var i,n=e.nodeName.toLowerCase();if("defs"===n?this._isDefine=!0:"text"===n&&(this._isText=!0),this._isDefine){var a=D[n];if(a){var o=a.call(this,e),r=e.getAttribute("id");r&&(this._defs[r]=o)}}else{a=T[n];a&&(i=a.call(this,e,t),t.add(i))}var s=e.firstChild;while(s)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===n?this._isDefine=!1:"text"===n&&(this._isText=!1)},A.prototype._parseText=function(e,t){if(1===e.nodeType){var i=e.getAttribute("dx")||0,n=e.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(n)}var a=new o({style:{text:e.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});L(t,a),N(e,a,this._defs);var r=a.style.fontSize;r&&r<9&&(a.style.fontSize=9,a.scale=a.scale||[1,1],a.scale[0]*=r/9,a.scale[1]*=r/9);var s=a.getBoundingRect();return this._textX+=s.width,t.add(a),a};var T={g:function(e,t){var i=new n;return L(t,i),N(e,i,this._defs),i},rect:function(e,t){var i=new s;return L(t,i),N(e,i,this._defs),i.setShape({x:parseFloat(e.getAttribute("x")||0),y:parseFloat(e.getAttribute("y")||0),width:parseFloat(e.getAttribute("width")||0),height:parseFloat(e.getAttribute("height")||0)}),i},circle:function(e,t){var i=new r;return L(t,i),N(e,i,this._defs),i.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),r:parseFloat(e.getAttribute("r")||0)}),i},line:function(e,t){var i=new u;return L(t,i),N(e,i,this._defs),i.setShape({x1:parseFloat(e.getAttribute("x1")||0),y1:parseFloat(e.getAttribute("y1")||0),x2:parseFloat(e.getAttribute("x2")||0),y2:parseFloat(e.getAttribute("y2")||0)}),i},ellipse:function(e,t){var i=new l;return L(t,i),N(e,i,this._defs),i.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),rx:parseFloat(e.getAttribute("rx")||0),ry:parseFloat(e.getAttribute("ry")||0)}),i},polygon:function(e,t){var i=e.getAttribute("points");i&&(i=P(i));var n=new d({shape:{points:i||[]}});return L(t,n),N(e,n,this._defs),n},polyline:function(e,t){var i=new c;L(t,i),N(e,i,this._defs);var n=e.getAttribute("points");n&&(n=P(n));var a=new h({shape:{points:n||[]}});return a},image:function(e,t){var i=new a;return L(t,i),N(e,i,this._defs),i.setStyle({image:e.getAttribute("xlink:href"),x:e.getAttribute("x"),y:e.getAttribute("y"),width:e.getAttribute("width"),height:e.getAttribute("height")}),i},text:function(e,t){var i=e.getAttribute("x")||0,a=e.getAttribute("y")||0,o=e.getAttribute("dx")||0,r=e.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(o),this._textY=parseFloat(a)+parseFloat(r);var s=new n;return L(t,s),N(e,s,this._defs),s},tspan:function(e,t){var i=e.getAttribute("x"),a=e.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=a&&(this._textY=parseFloat(a));var o=e.getAttribute("dx")||0,r=e.getAttribute("dy")||0,s=new n;return L(t,s),N(e,s,this._defs),this._textX+=o,this._textY+=r,s},path:function(e,t){var i=e.getAttribute("d")||"",n=v(i);return L(t,n),N(e,n,this._defs),n}},D={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||0,10),i=parseInt(e.getAttribute("y1")||0,10),n=parseInt(e.getAttribute("x2")||10,10),a=parseInt(e.getAttribute("y2")||0,10),o=new p(t,i,n,a);return C(e,o),o},radialgradient:function(e){}};function C(e,t){var i=e.firstChild;while(i){if(1===i.nodeType){var n=i.getAttribute("offset");n=n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var a=i.getAttribute("stop-color")||"#000000";t.addColorStop(n,a)}i=i.nextSibling}}function L(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),b(t.__inheritedStyle,e.__inheritedStyle))}function P(e){for(var t=w(e).split(M),i=[],n=0;n0;o-=2){var r=a[o],s=a[o-1];switch(n=n||g.create(),s){case"translate":r=w(r).split(M),g.translate(n,n,[parseFloat(r[0]),parseFloat(r[1]||0)]);break;case"scale":r=w(r).split(M),g.scale(n,n,[parseFloat(r[0]),parseFloat(r[1]||r[0])]);break;case"rotate":r=w(r).split(M),g.rotate(n,n,parseFloat(r[0]));break;case"skew":r=w(r).split(M),console.warn("Skew transform is not supported yet");break;case"matrix":r=w(r).split(M);n[0]=parseFloat(r[0]),n[1]=parseFloat(r[1]),n[2]=parseFloat(r[2]),n[3]=parseFloat(r[3]),n[4]=parseFloat(r[4]),n[5]=parseFloat(r[5]);break}}t.setLocalTransform(n)}}var z=/([^\s:;]+)\s*:\s*([^:;]+)/g;function B(e){var t=e.getAttribute("style"),i={};if(!t)return i;var n,a={};z.lastIndex=0;while(null!=(n=z.exec(t)))a[n[1]]=n[2];for(var o in k)k.hasOwnProperty(o)&&null!=a[o]&&(i[k[o]]=a[o]);return i}function G(e,t,i){var n=t/e.width,a=i/e.height,o=Math.min(n,a),r=[o,o],s=[-(e.x+e.width/2)*o+t/2,-(e.y+e.height/2)*o+i/2];return{scale:r,position:s}}function H(e,t){var i=new A;return i.parse(e,t)}t.parseXML=I,t.makeViewBoxTransform=G,t.parseSVG=H},"307a":function(e,t,i){var n=i("6d8b"),a=i("eaea"),o=i("3842"),r=[20,140],s=a.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(e,t){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=r[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=r[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):n.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),n.each(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=o.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]=i[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),(function(t,i){e[0]<=t&&t<=e[1]&&n.push(i)}),this),t.push({seriesId:i.id,dataIndex:n})}),this),t},getVisualMeta:function(e){var t=l(this,"outOfRange",this.getExtent()),i=l(this,"inRange",this.option.range.slice()),n=[];function a(t,i){n.push({value:t,color:e(t,i)})}for(var o=0,r=0,s=i.length,u=t.length;r=0&&"number"===typeof u&&(u=+u.toFixed(Math.min(g,20))),p.coord[d]=f.coord[d]=u,a=[p,f,{type:s,valueIndex:a.valueIndex,value:u}]}return a=[r.dataTransform(e,a[0]),r.dataTransform(e,a[1]),n.extend({},a[2])],a[2].type=a[2].type||"",n.merge(a[2],a[0]),n.merge(a[2],a[1]),a};function c(e){return!isNaN(e)&&!isFinite(e)}function d(e,t,i,n){var a=1-e,o=n.dimensions[e];return c(t[a])&&c(i[a])&&t[e]===i[e]&&n.getAxis(o).containData(t[e])}function h(e,t){if("cartesian2d"===e.type){var i=t[0].coord,n=t[1].coord;if(i&&n&&(d(1,i,n,e)||d(0,i,n,e)))return!0}return r.dataFilter(e,t[0])&&r.dataFilter(e,t[1])}function p(e,t,i,n,a){var r,s=n.coordinateSystem,l=e.getItemModel(t),u=o.parsePercent(l.get("x"),a.getWidth()),d=o.parsePercent(l.get("y"),a.getHeight());if(isNaN(u)||isNaN(d)){if(n.getMarkerPosition)r=n.getMarkerPosition(e.getValues(e.dimensions,t));else{var h=s.dimensions,p=e.get(h[0],t),f=e.get(h[1],t);r=s.dataToPoint([p,f])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");h=s.dimensions;c(e.get(h[0],t))?r[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):c(e.get(h[1],t))&&(r[1]=m.toGlobalCoord(m.getExtent()[i?0:1]))}isNaN(u)||(r[0]=u),isNaN(d)||(r[1]=d)}else r=[u,d];e.setItemLayout(t,r)}var f=l.extend({type:"markLine",updateTransform:function(e,t,i){t.eachSeries((function(e){var t=e.markLineModel;if(t){var n=t.getData(),a=t.__from,o=t.__to;a.each((function(t){p(a,t,!0,e,i),p(o,t,!1,e,i)})),n.each((function(e){n.setItemLayout(e,[a.getItemLayout(e),o.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},renderSeries:function(e,t,i,a){var o=e.coordinateSystem,r=e.id,l=e.getData(),u=this.markerGroupMap,c=u.get(r)||u.set(r,new s);this.group.add(c.group);var d=g(o,e,t),h=d.from,f=d.to,m=d.line;t.__from=h,t.__to=f,t.setData(m);var v=t.get("symbol"),y=t.get("symbolSize");function x(t,i,n){var o=t.getItemModel(i);p(t,i,n,e,a),t.setItemVisual(i,{symbolSize:o.get("symbolSize")||y[n?0:1],symbol:o.get("symbol",!0)||v[n?0:1],color:o.get("itemStyle.color")||l.getVisual("color")})}n.isArray(v)||(v=[v,v]),"number"===typeof y&&(y=[y,y]),d.from.each((function(e){x(h,e,!0),x(f,e,!1)})),m.each((function(e){var t=m.getItemModel(e).get("lineStyle.color");m.setItemVisual(e,{color:t||h.getItemVisual(e,"color")}),m.setItemLayout(e,[h.getItemLayout(e),f.getItemLayout(e)]),m.setItemVisual(e,{fromSymbolSize:h.getItemVisual(e,"symbolSize"),fromSymbol:h.getItemVisual(e,"symbol"),toSymbolSize:f.getItemVisual(e,"symbolSize"),toSymbol:f.getItemVisual(e,"symbol")})})),c.updateData(m),d.line.eachItemGraphicEl((function(e,i){e.traverse((function(e){e.dataModel=t}))})),c.__keep=!0,c.group.silent=t.get("silent")||e.get("silent")}});function g(e,t,i){var o;o=e?n.map(e&&e.dimensions,(function(e){var i=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return n.defaults({name:e},i)})):[{name:"value",type:"float"}];var s=new a(o,i),l=new a(o,i),c=new a([],i),d=n.map(i.get("data"),n.curry(u,t,e,i));e&&(d=n.filter(d,n.curry(h,e)));var p=e?r.dimValueGetter:function(e){return e.value};return s.initData(n.map(d,(function(e){return e[0]})),null,p),l.initData(n.map(d,(function(e){return e[1]})),null,p),c.initData(n.map(d,(function(e){return e[2]}))),c.hasItemOption=!0,{from:s,to:l,line:c}}e.exports=f},"311a":function(e,t,i){var n=i("3eba");i("d01c"),i("5b69"),i("bdc0");var a=i("81ac"),o=i("0e0f");n.registerLayout(a),n.registerVisual(o)},"313e":function(e,t,i){var n=i("3eba");(function(){for(var e in n){if(null==n||!n.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=n[e]}})();var a=i("b719");(function(){for(var e in a){if(null==a||!a.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=a[e]}})(),i("0352"),i("ef97"),i("94b1"),i("c037"),i("15af"),i("8deb"),i("675c"),i("ef97a"),i("dae1"),i("23ee"),i("07e6"),i("a4b1"),i("0817"),i("311a"),i("fa52"),i("085d"),i("1111"),i("a7e2"),i("5ce2"),i("aadf"),i("6c12f"),i("d716"),i("e057"),i("7f59"),i("cd12"),i("0b4b"),i("007d"),i("cb8f"),i("2f73"),i("d070"),i("f306"),i("2cfc"),i("2f31"),i("9390"),i("627c"),i("0a6d"),i("5450"),i("db0e"),i("95a8"),i("7e32"),i("ee95"),i("b11c"),i("f170"),i("8ee0")},"31d9":function(e,t,i){var n=i("6d8b"),a=n.each,o="\0__link_datas",r="\0__link_mainData";function s(e){var t=e.mainData,i=e.datas;i||(i={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,p(t,i,e),a(i,(function(i){a(t.TRANSFERABLE_METHODS,(function(t){i.wrapMethod(t,n.curry(l,e))}))})),t.wrapMethod("cloneShallow",n.curry(c,e)),a(t.CHANGABLE_METHODS,(function(i){t.wrapMethod(i,n.curry(u,e))})),n.assert(i[t.dataType]===t)}function l(e,t){if(h(this)){var i=n.extend({},this[o]);i[this.dataType]=t,p(t,i,e)}else f(t,this.dataType,this[r],e);return t}function u(e,t){return e.struct&&e.struct.update(this),t}function c(e,t){return a(t[o],(function(i,n){i!==t&&f(i.cloneShallow(),n,t,e)})),t}function d(e){var t=this[r];return null==e||null==t?t:t[o][e]}function h(e){return e[r]===e}function p(e,t,i){e[o]={},a(t,(function(t,n){f(t,n,e,i)}))}function f(e,t,i,n){i[o][t]=e,e[r]=i,e.dataType=t,n.struct&&(e[n.structAttr]=n.struct,n.struct[n.datasAttr[t]]=e),e.getLinkedData=d}var g=s;e.exports=g},"320a":function(e,t,i){for(var n=i("6d8b"),a=i("f279"),o=[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;s0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(r[1]-r[0])+r[0],c=Math.max(1/n.scale,0);r[0]=(r[0]-u)*c+u,r[1]=(r[1]-u)*c+u;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return o(0,r,[0,100],0,h.minSpan,h.maxSpan),this._range=r,a[0]!==r[0]||a[1]!==r[1]?r:void 0}},pan:c((function(e,t,i,n,a,o){var r=d[n]([o.oldX,o.oldY],[o.newX,o.newY],t,a,i);return r.signal*(e[1]-e[0])*r.pixel/r.pixelLength})),scrollMove:c((function(e,t,i,n,a,o){var r=d[n]([0,0],[o.scrollDelta,o.scrollDelta],t,a,i);return r.signal*(e[1]-e[0])*o.scrollDelta}))};function c(e){return function(t,i,n,a){var r=this._range,s=r.slice(),l=t.axisModels[0];if(l){var u=e(s,l,t,i,n,a);return o(u,s,[0,100],"all"),this._range=s,r[0]!==s[0]||r[1]!==s[1]?s:void 0}}}var d={grid:function(e,t,i,n,a){var o=i.axis,r={},s=a.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(r.pixel=t[0]-e[0],r.pixelLength=s.width,r.pixelStart=s.x,r.signal=o.inverse?1:-1):(r.pixel=t[1]-e[1],r.pixelLength=s.height,r.pixelStart=s.y,r.signal=o.inverse?-1:1),r},polar:function(e,t,i,n,a){var o=i.axis,r={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===i.mainType?(r.pixel=t[0]-e[0],r.pixelLength=l[1]-l[0],r.pixelStart=l[0],r.signal=o.inverse?1:-1):(r.pixel=t[1]-e[1],r.pixelLength=u[1]-u[0],r.pixelStart=u[0],r.signal=o.inverse?-1:1),r},singleAxis:function(e,t,i,n,a){var o=i.axis,r=a.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=r.width,s.pixelStart=r.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=r.height,s.pixelStart=r.y,s.signal=o.inverse?-1:1),s}},h=l;e.exports=h},3329:function(e,t,i){var n=i("3eba"),a=i("6d8b"),o=i("2306"),r=i("a15a"),s=r.createSymbol,l=i("3842"),u=l.parsePercent,c=l.isNumeric,d=i("e7aa"),h=d.setLabel,p=["itemStyle","borderWidth"],f=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],g=new o.Circle,m=n.extendChartView({type:"pictorialBar",render:function(e,t,i){var n=this.group,a=e.getData(),o=this._data,r=e.coordinateSystem,s=r.getBaseAxis(),l=!!s.isHorizontal(),u=r.grid.getRect(),c={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:e,coordSys:r,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:f[+l],categoryDim:f[1-l]};return a.diff(o).add((function(e){if(a.hasValue(e)){var t=D(a,e),i=v(a,e,t,c),o=k(a,c,i);a.setItemGraphicEl(e,o),n.add(o),z(o,c,i)}})).update((function(e,t){var i=o.getItemGraphicEl(t);if(a.hasValue(e)){var r=D(a,e),s=v(a,e,r,c),l=R(a,s);i&&l!==i.__pictorialShapeStr&&(n.remove(i),a.setItemGraphicEl(e,null),i=null),i?N(i,c,s):i=k(a,c,s,!0),a.setItemGraphicEl(e,i),i.__pictorialSymbolMeta=s,n.add(i),z(i,c,s)}else n.remove(i)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&O(o,e,t.__pictorialSymbolMeta.animationModel,t)})).execute(),this._data=a,this.group},dispose:a.noop,remove:function(e,t){var i=this.group,n=this._data;e.get("animation")?n&&n.eachItemGraphicEl((function(t){O(n,t.dataIndex,e,t)})):i.removeAll()}});function v(e,t,i,n){var o=e.getItemLayout(t),r=i.get("symbolRepeat"),s=i.get("symbolClip"),l=i.get("symbolPosition")||"start",c=i.get("symbolRotate"),d=(c||0)*Math.PI/180||0,h=i.get("symbolPatternSize")||2,p=i.isAnimationEnabled(),f={dataIndex:t,layout:o,itemModel:i,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:s,symbolRepeat:r,symbolRepeatDirection:i.get("symbolRepeatDirection"),symbolPatternSize:h,rotation:d,animationModel:p?i:null,hoverAnimation:p&&i.get("hoverAnimation"),z2:i.getShallow("z",!0)||0};y(i,r,o,n,f),_(e,t,o,r,s,f.boundingLength,f.pxSign,h,n,f),b(i,f.symbolScale,d,n,f);var g=f.symbolSize,m=i.get("symbolOffset");return a.isArray(m)&&(m=[u(m[0],g[0]),u(m[1],g[1])]),w(i,g,o,r,s,m,l,f.valueLineWidth,f.boundingLength,f.repeatCutLength,n,f),f}function y(e,t,i,n,o){var r,s=n.valueDim,l=e.get("symbolBoundingData"),u=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),d=1-+(i[s.wh]<=0);if(a.isArray(l)){var h=[x(u,l[0])-c,x(u,l[1])-c];h[1]0?1:r<0?-1:0}function x(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function _(e,t,i,n,o,r,s,l,c,d){var h=c.valueDim,p=c.categoryDim,f=Math.abs(i[p.wh]),g=e.getItemVisual(t,"symbolSize");a.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[p.index]=u(g[p.index],f),g[h.index]=u(g[h.index],n?f:Math.abs(r)),d.symbolSize=g;var m=d.symbolScale=[g[0]/l,g[1]/l];m[h.index]*=(c.isHorizontal?-1:1)*s}function b(e,t,i,n,a){var o=e.get(p)||0;o&&(g.attr({scale:t.slice(),rotation:i}),g.updateTransform(),o/=g.getLineScale(),o*=t[n.valueDim.index]),a.valueLineWidth=o}function w(e,t,i,n,o,r,s,l,d,h,p,f){var g=p.categoryDim,m=p.valueDim,v=f.pxSign,y=Math.max(t[m.index]+l,0),x=y;if(n){var _=Math.abs(d),b=a.retrieve(e.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=u(b,t[m.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,I=c(n),A=I?n:B((_+M)/S),T=_-A*y;b=T/2/(w?A:A-1),S=y+2*b,M=w?0:2*b,I||"fixed"===n||(A=h?B((Math.abs(h)+M)/S):0),x=A*S-M,f.repeatTimes=A,f.symbolMargin=b}var D=v*(x/2),C=f.pathPosition=[];C[g.index]=i[g.wh]/2,C[m.index]="start"===s?D:"end"===s?d-D:d/2,r&&(C[0]+=r[0],C[1]+=r[1]);var L=f.bundlePosition=[];L[g.index]=i[g.xy],L[m.index]=i[m.xy];var P=f.barRectShape=a.extend({},i);P[m.wh]=v*Math.max(Math.abs(i[m.wh]),Math.abs(C[m.index]+D)),P[g.wh]=i[g.wh];var k=f.clipShape={};k[g.xy]=-i[g.xy],k[g.wh]=p.ecSize[g.wh],k[m.xy]=0,k[m.wh]=i[m.wh]}function S(e){var t=e.symbolPatternSize,i=s(e.symbolType,-t/2,-t/2,t,t,e.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function M(e,t,i,n){var a=e.__pictorialBundle,o=i.symbolSize,r=i.valueLineWidth,s=i.pathPosition,l=t.valueDim,u=i.repeatTimes||0,c=0,d=o[t.valueDim.index]+r+2*i.symbolMargin;for(E(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c0:n<0)&&(a=u-1-e),t[l.index]=d*(a-u/2+.5)+s[l.index],{position:t,scale:i.symbolScale.slice(),rotation:i.rotation}}function g(){E(e,(function(e){e.trigger("emphasis")}))}function m(){E(e,(function(e){e.trigger("normal")}))}}function I(e,t,i,n){var a=e.__pictorialBundle,o=e.__pictorialMainPath;function r(){this.trigger("emphasis")}function s(){this.trigger("normal")}o?V(o,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(o=e.__pictorialMainPath=S(i),a.add(o),V(o,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),o.on("mouseover",r).on("mouseout",s)),P(o,i)}function A(e,t,i){var n=a.extend({},t.barRectShape),r=e.__pictorialBarRect;r?V(r,null,{shape:n},t,i):(r=e.__pictorialBarRect=new o.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(r))}function T(e,t,i,n){if(i.symbolClip){var r=e.__pictorialClipPath,s=a.extend({},i.clipShape),l=t.valueDim,u=i.animationModel,c=i.dataIndex;if(r)o.updateProps(r,{shape:s},u,c);else{s[l.wh]=0,r=new o.Rect({shape:s}),e.__pictorialBundle.setClipPath(r),e.__pictorialClipPath=r;var d={};d[l.wh]=i.clipShape[l.wh],o[n?"updateProps":"initProps"](r,{shape:d},u,c)}}}function D(e,t){var i=e.getItemModel(t);return i.getAnimationDelayParams=C,i.isAnimationEnabled=L,i}function C(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function L(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function P(e,t){e.off("emphasis").off("normal");var i=t.symbolScale.slice();t.hoverAnimation&&e.on("emphasis",(function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:i.slice()},400,"elasticOut")}))}function k(e,t,i,n){var a=new o.Group,r=new o.Group;return a.add(r),a.__pictorialBundle=r,r.attr("position",i.bundlePosition.slice()),i.symbolRepeat?M(a,t,i):I(a,t,i),A(a,i,n),T(a,t,i,n),a.__pictorialShapeStr=R(e,i),a.__pictorialSymbolMeta=i,a}function N(e,t,i){var n=i.animationModel,a=i.dataIndex,r=e.__pictorialBundle;o.updateProps(r,{position:i.bundlePosition.slice()},n,a),i.symbolRepeat?M(e,t,i,!0):I(e,t,i,!0),A(e,i,!0),T(e,t,i,!0)}function O(e,t,i,n){var r=n.__pictorialBarRect;r&&(r.style.text=null);var s=[];E(n,(function(e){s.push(e)})),n.__pictorialMainPath&&s.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),a.each(s,(function(e){o.updateProps(e,{scale:[0,0]},i,t,(function(){n.parent&&n.parent.remove(n)}))})),e.setItemGraphicEl(t,null)}function R(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function E(e,t,i){a.each(e.__pictorialBundle.children(),(function(n){n!==e.__pictorialBarRect&&t.call(i,n)}))}function V(e,t,i,n,a,r){t&&e.attr(t),n.symbolClip&&!a?i&&e.attr(i):i&&o[a?"updateProps":"initProps"](e,i,n.animationModel,n.dataIndex,r)}function z(e,t,i){var n=i.color,r=i.dataIndex,s=i.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),c=s.getShallow("cursor");E(e,(function(e){e.setColor(n),e.setStyle(a.defaults({fill:n,opacity:i.opacity},l)),o.setHoverStyle(e,u),c&&(e.cursor=c),e.z2=i.z2}));var d={},p=t.valueDim.posDesc[+(i.boundingLength>0)],f=e.__pictorialBarRect;h(f.style,d,s,n,t.seriesModel,r,p),o.setHoverStyle(f,d)}function B(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var G=m;e.exports=G},"340d":function(e,t,i){var n=i("6d8b"),a=i("e887"),o=i("4e47"),r=i("80f0"),s="sunburstRootToNode",l=a.extend({type:"sunburst",init:function(){},render:function(e,t,i,a){var s=this;this.seriesModel=e,this.api=i,this.ecModel=t;var l=e.getData(),u=l.tree.root,c=e.getViewRoot(),d=this.group,h=e.get("renderLabelForZeroData"),p=[];c.eachNode((function(e){p.push(e)}));var f=this._oldChildren||[];if(v(p,f),_(u,c),a&&a.highlight&&a.highlight.piece){var g=e.getShallow("highlightPolicy");a.highlight.piece.onEmphasis(g)}else if(a&&a.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}function v(e,t){function i(e){return e.getId()}function a(i,n){var a=null==i?null:e[i],o=null==n?null:t[n];y(a,o)}0===e.length&&0===t.length||new r(t,e,i,i).add(a).update(a).remove(n.curry(a,null)).execute()}function y(i,n){if(h||!i||i.getValue()||(i=null),i!==u&&n!==u)if(n&&n.piece)i?(n.piece.updateData(!1,i,"normal",e,t),l.setItemGraphicEl(i.dataIndex,n.piece)):x(n);else if(i){var a=new o(i,e,t);d.add(a),l.setItemGraphicEl(i.dataIndex,a)}}function x(e){e&&e.piece&&(d.remove(e.piece),e.piece=null)}function _(i,n){if(n.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,i,"normal",e,t):(s.virtualPiece=new o(i,e,t),d.add(s.virtualPiece)),n.piece._onclickEvent&&n.piece.off("click",n.piece._onclickEvent);var a=function(e){s._rootToNode(n.parentNode)};n.piece._onclickEvent=a,s.virtualPiece.on("click",a)}else s.virtualPiece&&(d.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=p},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var i=!1,n=e.seriesModel.getViewRoot();n.eachNode((function(n){if(!i&&n.piece&&n.piece.childAt(0)===t.target){var a=n.getModel().get("nodeClick");if("rootToNode"===a)e._rootToNode(n);else if("link"===a){var o=n.getModel(),r=o.get("link");if(r){var s=o.get("target",!0)||"_blank";window.open(r,s)}}i=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:s,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var i=t.getData(),n=i.getItemLayout(0);if(n){var a=e[0]-n.cx,o=e[1]-n.cy,r=Math.sqrt(a*a+o*o);return r<=n.r&&r>=n.r0}}}),u=l;e.exports=u},"347f":function(e,t,i){var n=i("6d8b"),a=i("9850"),o=i("1687"),r=i("2306"),s=i("f934"),l=i("933b"),u=i("08c3"),c=i("a15a"),d=c.createSymbol,h=i("697e"),p=i("3842"),f=i("eda2"),g=f.encodeHTML,m=n.bind,v=n.each,y=Math.PI,x=l.extend({type:"timeline.slider",init:function(e,t){this.api=t,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,i,n){if(this.model=e,this.api=i,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var a=this._layout(e,i),o=this._createGroup("mainGroup"),r=this._createGroup("labelGroup"),s=this._axis=this._createAxis(a,e);e.formatTooltip=function(e){return g(s.scale.getLabel(e))},v(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](a,o,s,e)}),this),this._renderAxisLabel(a,r,s,e),this._position(a,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(e,t){var i=e.get("label.position"),n=e.get("orient"),a=_(e,t);null==i||"auto"===i?i="horizontal"===n?a.y+a.height/2=0||"+"===i?"left":"right"},c={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:y/2},h="vertical"===n?a.height:a.width,p=e.getModel("controlStyle"),f=p.get("show",!0),g=f?p.get("itemSize"):0,m=f?p.get("itemGap"):0,v=g+m,x=e.get("label.rotate")||0;x=x*y/180;var b=p.get("position",!0),w=f&&p.get("showPlayBtn",!0),S=f&&p.get("showPrevBtn",!0),M=f&&p.get("showNextBtn",!0),I=0,A=h;return"left"===b||"bottom"===b?(w&&(o=[0,0],I+=v),S&&(r=[I,0],I+=v),M&&(s=[A-g,0],A-=v)):(w&&(o=[A-g,0],A-=v),S&&(r=[0,0],I+=v),M&&(s=[A-g,0],A-=v)),l=[I,A],e.get("inverse")&&l.reverse(),{viewRect:a,mainLength:h,orient:n,rotation:d[n],labelRotation:x,labelPosOpt:i,labelAlign:e.get("label.align")||u[n],labelBaseline:e.get("label.verticalAlign")||e.get("label.baseline")||c[n],playPosition:o,prevBtnPosition:r,nextBtnPosition:s,axisExtent:l,controlSize:g,controlGap:m}},_position:function(e,t){var i=this._mainGroup,n=this._labelGroup,a=e.viewRect;if("vertical"===e.orient){var r=o.create(),s=a.x,l=a.y+a.height;o.translate(r,r,[-s,-l]),o.rotate(r,r,-y/2),o.translate(r,r,[s,l]),a=a.clone(),a.applyTransform(r)}var u=v(a),c=v(i.getBoundingRect()),d=v(n.getBoundingRect()),h=i.position,p=n.position;p[0]=h[0]=u[0][0];var f=e.labelPosOpt;if(isNaN(f)){var g="+"===f?0:1;x(h,c,u,1,g),x(p,d,u,1,1-g)}else{g=f>=0?0:1;x(h,c,u,1,g),p[1]=h[1]+f}function m(e){var t=e.position;e.origin=[u[0][0]-t[0],u[1][0]-t[1]]}function v(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function x(e,t,i,n,a){e[n]+=i[n][a]-t[n][a]}i.attr("position",h),n.attr("position",p),i.rotation=n.rotation=e.rotation,m(i),m(n)},_createAxis:function(e,t){var i=t.getData(),n=t.get("axisType"),a=h.createScaleByModel(t,n);a.getTicks=function(){return i.mapArray(["value"],(function(e){return e}))};var o=i.getDataExtent("value");a.setExtent(o[0],o[1]),a.niceTicks();var r=new u("value",a,e.axisExtent,n);return r.model=t,r},_createGroup:function(e){var t=this["_"+e]=new r.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,i,a){var o=i.getExtent();a.get("lineStyle.show")&&t.add(new r.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:n.extend({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,i,n){var a=n.getData(),o=i.scale.getTicks();v(o,(function(e){var o=i.dataToCoord(e),s=a.getItemModel(e),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[o,0],onclick:m(this._changeTimeline,this,e)},d=w(s,l,t,c);r.setHoverStyle(d,u.getItemStyle()),s.get("tooltip")?(d.dataIndex=e,d.dataModel=n):d.dataIndex=d.dataModel=null}),this)},_renderAxisLabel:function(e,t,i,n){var a=i.getLabelModel();if(a.get("show")){var o=n.getData(),s=i.getViewLabels();v(s,(function(n){var a=n.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=i.dataToCoord(n.tickValue),d=new r.Text({position:[c,0],rotation:e.labelRotation-e.rotation,onclick:m(this._changeTimeline,this,a),silent:!1});r.setTextStyle(d.style,l,{text:n.formattedLabel,textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline}),t.add(d),r.setHoverStyle(d,r.setTextStyle({},u))}),this)}},_renderControl:function(e,t,i,n){var a=e.controlSize,o=e.rotation,s=n.getModel("controlStyle").getItemStyle(),l=n.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-a/2,a,a],c=n.getPlayState(),d=n.get("inverse",!0);function h(e,i,c,d){if(e){var h={position:e,origin:[a/2,0],rotation:d?-o:0,rectHover:!0,style:s,onclick:c},p=b(n,i,u,h);t.add(p),r.setHoverStyle(p,l)}}h(e.nextBtnPosition,"controlStyle.nextIcon",m(this._changeTimeline,this,d?"-":"+")),h(e.prevBtnPosition,"controlStyle.prevIcon",m(this._changeTimeline,this,d?"+":"-")),h(e.playPosition,"controlStyle."+(c?"stopIcon":"playIcon"),m(this._handlePlayClick,this,!c),!0)},_renderCurrentPointer:function(e,t,i,n){var a=n.getData(),o=n.getCurrentIndex(),r=a.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=m(s._handlePointerDrag,s),e.ondragend=m(s._handlePointerDragend,s),S(e,o,i,n,!0)},onUpdate:function(e){S(e,o,i,n)}};this._currentPointer=w(r,r,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var i=this._toAxisCoord(e)[0],n=this._axis,a=p.asc(n.getExtent().slice());i>a[1]&&(i=a[1]),i0?100:20}},getFirstTargetAxisModel:function(){var e;return d((function(t){if(null==e){var i=this.get(t.axisIndex);i.length&&(e=this.dependentModels[t.axis][i[0]])}}),this),e},eachTargetAxis:function(e,t){var i=this.ecModel;d((function(n){c(this.get(n.axisIndex),(function(a){e.call(t,n,a,this,i)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var i=this.getAxisProxy(e,t);return i&&i.getAxisModel()},setRawRange:function(e,t){var i=this.option;c([["start","startValue"],["end","endValue"]],(function(t){null==e[t[0]]&&null==e[t[1]]||(i[t[0]]=e[t[0]],i[t[1]]=e[t[1]])}),this),!t&&f(this,e)},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var i in t)if(t.hasOwnProperty(i)&&t[i].hostedBy(this))return t[i];for(var i in t)if(t.hasOwnProperty(i)&&!t[i].hostedBy(this))return t[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});function p(e){var t={};return c(["start","end","startValue","endValue","throttle"],(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t}function f(e,t){var i=e._rangePropMode,n=e.get("rangeMode");c([["start","startValue"],["end","endValue"]],(function(e,a){var o=null!=t[e[0]],r=null!=t[e[1]];o&&!r?i[a]="percent":!o&&r?i[a]="value":n?i[a]=n[a]:o&&(i[a]="percent")}))}var g=h;e.exports=g},"3cd6":function(e,t,i){var n=i("6d8b"),a=i("48a9"),o=i("607d"),r=i("72b6"),s=i("2306"),l=i("3842"),u=i("ef6a"),c=i("cbb0"),d=i("e0d3"),h=l.linearMap,p=n.each,f=Math.min,g=Math.max,m=12,v=6,y=r.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(e,t,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var i=e.get("text");this._renderEndsText(t,i,0),this._renderEndsText(t,i,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},_renderEndsText:function(e,t,i){if(t){var n=t[1-i];n=null!=n?n+"":"";var a=this.visualMapModel,o=a.get("textGap"),r=a.itemSize,l=this._shapes.barGroup,u=this._applyTransform([r[0]/2,0===i?-o:r[1]+o],l),c=this._applyTransform(0===i?"bottom":"top",l),d=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===d?"middle":c,textAlign:"horizontal"===d?c:"center",text:n,textFont:h.getFont(),textFill:h.getTextColor()}}))}},_renderBar:function(e){var t=this.visualMapModel,i=this._shapes,a=t.itemSize,o=this._orient,r=this._useHandle,s=c.getItemAlign(t,this.api,a),l=i.barGroup=this._createBarGroup(s);l.add(i.outOfRange=x()),l.add(i.inRange=x(null,r?M(this._orient):null,n.bind(this._dragHandle,this,"all",!1),n.bind(this._dragHandle,this,"all",!0)));var u=t.textStyleModel.getTextRect("国"),d=g(u.width,u.height);r&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(l,0,a,d,o,s),this._createHandle(l,1,a,d,o,s)),this._createIndicator(l,a,d,o),e.add(l)},_createHandle:function(e,t,i,a,r){var l=n.bind(this._dragHandle,this,t,!1),u=n.bind(this._dragHandle,this,t,!0),c=x(_(t,a),M(this._orient),l,u);c.position[0]=i[0],e.add(c);var d=this.visualMapModel.textStyleModel,h=new s.Text({draggable:!0,drift:l,onmousemove:function(e){o.stop(e.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:d.getFont(),textFill:d.getTextColor()}});this.group.add(h);var p=["horizontal"===r?a/2:1.5*a,"horizontal"===r?0===t?-1.5*a:1.5*a:0===t?-a/2:a/2],f=this._shapes;f.handleThumbs[t]=c,f.handleLabelPoints[t]=p,f.handleLabels[t]=h},_createIndicator:function(e,t,i,n){var a=x([[0,0]],"move");a.position[0]=t[0],a.attr({invisible:!0,silent:!0}),e.add(a);var o=this.visualMapModel.textStyleModel,r=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:o.getFont(),textFill:o.getTextColor()}});this.group.add(r);var l=["horizontal"===n?i/2:v+3,0],u=this._shapes;u.indicator=a,u.indicatorLabel=r,u.indicatorLabelPoint=l},_dragHandle:function(e,t,i,n){if(this._useHandle){if(this._dragging=!t,!t){var a=this._applyTransform([i,n],this._shapes.barGroup,!0);this._updateInterval(e,a[1]),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():S(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},_resetInterval:function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),i=e.getExtent(),n=[0,e.itemSize[1]];this._handleEnds=[h(t[0],i,n,!0),h(t[1],i,n,!0)]},_updateInterval:function(e,t){t=t||0;var i=this.visualMapModel,n=this._handleEnds,a=[0,i.itemSize[1]];u(t,n,a,e,0);var o=i.getExtent();this._dataInterval=[h(n[0],a,o,!0),h(n[1],a,o,!0)]},_updateView:function(e){var t=this.visualMapModel,i=t.getExtent(),n=this._shapes,a=[0,t.itemSize[1]],o=e?a:this._handleEnds,r=this._createBarVisual(this._dataInterval,i,o,"inRange"),s=this._createBarVisual(i,i,a,"outOfRange");n.inRange.setStyle({fill:r.barColor,opacity:r.opacity}).setShape("points",r.barPoints),n.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(o,r)},_createBarVisual:function(e,t,i,n){var o={forceState:n,convertOpacityToAlpha:!0},r=this._makeColorGradient(e,o),s=[this.getControllerVisual(e[0],"symbolSize",o),this.getControllerVisual(e[1],"symbolSize",o)],l=this._createBarPoints(i,s);return{barColor:new a(0,0,0,1,r),barPoints:l,handlesColor:[r[0].color,r[r.length-1].color]}},_makeColorGradient:function(e,t){var i=100,n=[],a=(e[1]-e[0])/i;n.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var o=1;oe[1])break;n.push({color:this.getControllerVisual(r,"color",t),offset:o/i})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},_createBarPoints:function(e,t){var i=this.visualMapModel.itemSize;return[[i[0]-t[0],e[0]],[i[0],e[0]],[i[0],e[1]],[i[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,i=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==t||i?"horizontal"===t&&i?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||i?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,a=i.handleThumbs,o=i.handleLabels;p([0,1],(function(r){var l=a[r];l.setStyle("fill",t.handlesColor[r]),l.position[1]=e[r];var u=s.applyTransform(i.handleLabelPoints[r],s.getTransform(l,this.group));o[r].setStyle({x:u[0],y:u[1],text:n.formatValueText(this._dataInterval[r]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===r?"bottom":"top":"left",i.barGroup)})}),this)}},_showIndicator:function(e,t,i,n){var a=this.visualMapModel,o=a.getExtent(),r=a.itemSize,l=[0,r[1]],u=h(e,o,l,!0),c=this._shapes,d=c.indicator;if(d){d.position[1]=u,d.attr("invisible",!1),d.setShape("points",b(!!i,n,u,r[1]));var p={convertOpacityToAlpha:!0},f=this.getControllerVisual(e,"color",p);d.setStyle("fill",f);var g=s.applyTransform(c.indicatorLabelPoint,s.getTransform(d,this.group)),m=c.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",c.barGroup),y=this._orient;m.setStyle({text:(i||"")+a.formatValueText(t),textVerticalAlign:"horizontal"===y?v:"middle",textAlign:"horizontal"===y?"center":v,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var i=e.visualMapModel.itemSize,n=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);n[1]=f(g(0,n[1]),i[1]),e._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var a=[0,n[1]],o=i.getExtent();e=f(g(a[0],e),a[1]);var r=w(i,o,a),s=[e-r,e+r],l=h(e,a,o,!0),u=[h(s[0],a,o,!0),h(s[1],a,o,!0)];s[0]a[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",r):u[1]===1/0?this._showIndicator(l,u[0],"> ",r):this._showIndicator(l,l,"≈ ",r));var p=this._hoverLinkDataIndices,m=[];(t||S(i))&&(m=this._hoverLinkDataIndices=i.findTargetDataIndices(u));var v=d.compressBatches(p,m);this._dispatchHighDown("downplay",c.convertDataIndex(v[0])),this._dispatchHighDown("highlight",c.convertDataIndex(v[1]))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,i=this.visualMapModel;if(t&&null!=t.dataIndex){var n=this.ecModel.getSeriesByIndex(t.seriesIndex);if(i.isTargetSeries(n)){var a=n.getData(t.dataType),o=a.get(i.getDataDimension(a),t.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.convertDataIndex(e)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,i,a){var o=s.getTransform(t,a?null:this.group);return s[n.isArray(e)?"applyTransform":"transformDirection"](e,o,i)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function x(e,t,i,n){return new s.Polygon({shape:{points:e},draggable:!!i,cursor:t,drift:i,onmousemove:function(e){o.stop(e.event)},ondragend:n})}function _(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}function b(e,t,i,n){return e?[[0,-f(t,g(i,0))],[v,0],[0,f(t,g(n-i,0))]]:[[0,0],[5,-5],[5,5]]}function w(e,t,i){var n=m/2,a=e.get("hoverLinkDataSize");return a&&(n=h(a,t,i,!0)/2),n}function S(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function M(e){return"vertical"===e?"ns-resize":"ew-resize"}var I=y;e.exports=I},"3eba":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("697e7")),o=i("6d8b"),r=i("41ef"),s=i("22d1"),l=i("04f6"),u=i("1fab"),c=i("7e63"),d=i("843e"),h=i("2039"),p=i("ca98"),f=i("fb05"),g=i("d15d"),m=i("6cb7"),v=i("4f85"),y=i("b12f"),x=i("e887"),_=i("2306"),b=i("e0d3"),w=i("88b3"),S=w.throttle,M=i("fd63"),I=i("b809"),A=i("998c"),T=i("69ff"),D=i("c533"),C=i("f219");i("0352");var L=i("ec34"),P=o.assert,k=o.each,N=o.isFunction,O=o.isObject,R=m.parseClassType,E="4.2.1",V={zrender:"4.0.6"},z=1,B=1e3,G=5e3,H=1e3,F=2e3,W=3e3,Z=4e3,U=5e3,j={PROCESSOR:{FILTER:B,STATISTIC:G},VISUAL:{LAYOUT:H,GLOBAL:F,CHART:W,COMPONENT:Z,BRUSH:U}},X="__flagInMainProcess",Y="__optionUpdated",q=/^[a-zA-Z0-9_]+$/;function K(e){return function(t,i,n){t=t&&t.toLowerCase(),u.prototype[e].call(this,t,i,n)}}function J(){u.call(this)}function $(e,t,i){i=i||{},"string"===typeof t&&(t=Te[t]),this.id,this.group,this._dom=e;var n="canvas",r=this._zr=a.init(e,{renderer:i.renderer||n,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=S(o.bind(r.flush,r),17);t=o.clone(t);t&&f(t,!0),this._theme=t,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var s=this._api=xe(this);function c(e,t){return e.__prio-t.__prio}l(Ae,c),l(Se,c),this._scheduler=new T(this,s,Se,Ae),u.call(this,this._ecEventProcessor=new _e),this._messageCenter=new J,this._initEvents(),this.resize=o.bind(this.resize,this),this._pendingActions=[],r.animation.on("frame",this._onframe,this),le(r,this),o.setAsPrimitive(this)}J.prototype.on=K("on"),J.prototype.off=K("off"),J.prototype.one=K("one"),o.mixin(J,u);var Q=$.prototype;function ee(e,t,i){var n,a=this._model,o=this._coordSysMgr.getCoordinateSystems();t=b.parseFinder(a,t);for(var r=0;r0&&e.unfinished);e.unfinished||this._zr.flush()}}},Q.getDom=function(){return this._dom},Q.getZr=function(){return this._zr},Q.setOption=function(e,t,i){var n;if(O(t)&&(i=t.lazyUpdate,n=t.silent,t=t.notMerge),this[X]=!0,!this._model||t){var a=new p(this._api),o=this._theme,r=this._model=new c(null,null,o,a);r.scheduler=this._scheduler,r.init(null,null,o,a)}this._model.setOption(e,Me),i?(this[Y]={silent:n},this[X]=!1):(ie(this),te.update.call(this),this._zr.flush(),this[Y]=!1,this[X]=!1,re.call(this,n),se.call(this,n))},Q.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Q.getModel=function(){return this._model},Q.getOption=function(){return this._model&&this._model.getOption()},Q.getWidth=function(){return this._zr.getWidth()},Q.getHeight=function(){return this._zr.getHeight()},Q.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Q.getRenderedCanvas=function(e){if(s.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr;return t.painter.getRenderedCanvas(e)}},Q.getSvgDataUrl=function(){if(s.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return o.each(t,(function(e){e.stopAnimation(!0)})),e.painter.pathToDataUrl()}},Q.getDataURL=function(e){e=e||{};var t=e.excludeComponents,i=this._model,n=[],a=this;k(t,(function(e){i.eachComponent({mainType:e},(function(e){var t=a._componentsMap[e.__viewId];t.group.ignore||(n.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return k(n,(function(e){e.group.ignore=!1})),o},Q.getConnectedDataURL=function(e){if(s.canvasSupported){var t=this.group,i=Math.min,n=Math.max,r=1/0;if(Le[t]){var l=r,u=r,c=-r,d=-r,h=[],p=e&&e.pixelRatio||1;o.each(Ce,(function(a,r){if(a.group===t){var s=a.getRenderedCanvas(o.clone(e)),p=a.getDom().getBoundingClientRect();l=i(p.left,l),u=i(p.top,u),c=n(p.right,c),d=n(p.bottom,d),h.push({dom:s,left:p.left,top:p.top})}})),l*=p,u*=p,c*=p,d*=p;var f=c-l,g=d-u,m=o.createCanvas();m.width=f,m.height=g;var v=a.init(m);return k(h,(function(e){var t=new _.Image({style:{x:e.left*p-l,y:e.top*p-u,image:e.dom}});v.add(t)})),v.refreshImmediately(),m.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},Q.convertToPixel=o.curry(ee,"convertToPixel"),Q.convertFromPixel=o.curry(ee,"convertFromPixel"),Q.containPixel=function(e,t){var i,n=this._model;return e=b.parseFinder(n,e),o.each(e,(function(e,n){n.indexOf("Models")>=0&&o.each(e,(function(e){var a=e.coordinateSystem;if(a&&a.containPoint)i|=!!a.containPoint(t);else if("seriesModels"===n){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(i|=o.containPoint(t,e))}}),this)}),this),!!i},Q.getVisual=function(e,t){var i=this._model;e=b.parseFinder(i,e,{defaultMainType:"series"});var n=e.seriesModel,a=n.getData(),o=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?a.indexOfRawIndex(e.dataIndex):null;return null!=o?a.getItemVisual(o,t):a.getVisual(t)},Q.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},Q.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var te={prepareAndUpdate:function(e){ie(this),te.update.call(this,e)},update:function(e){var t=this._model,i=this._api,n=this._zr,a=this._coordSysMgr,o=this._scheduler;if(t){o.restoreData(t,e),o.performSeriesTasks(t),a.create(t,i),o.performDataProcessorTasks(t,e),ae(this,t),a.update(t,i),ce(t),o.performVisualTasks(t,e),de(this,t,i,e);var l=t.get("backgroundColor")||"transparent";if(s.canvasSupported)n.setBackgroundColor(l);else{var u=r.parse(l);l=r.stringify(u,"rgb"),0===u[3]&&(l="transparent")}fe(t,i)}},updateTransform:function(e){var t=this._model,i=this,n=this._api;if(t){var a=[];t.eachComponent((function(o,r){var s=i.getViewOfComponentModel(r);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(r,t,n,e);l&&l.update&&a.push(s)}else a.push(s)}));var r=o.createHashMap();t.eachSeries((function(a){var o=i._chartsMap[a.__viewId];if(o.updateTransform){var s=o.updateTransform(a,t,n,e);s&&s.update&&r.set(a.uid,1)}else r.set(a.uid,1)})),ce(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0,dirtyMap:r}),pe(i,t,n,e,r),fe(t,this._api)}},updateView:function(e){var t=this._model;t&&(x.markUpdateMethod(e,"updateView"),ce(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0}),de(this,this._model,this._api,e),fe(t,this._api))},updateVisual:function(e){te.update.call(this,e)},updateLayout:function(e){te.update.call(this,e)}};function ie(e){var t=e._model,i=e._scheduler;i.restorePipelines(t),i.prepareStageTasks(),ue(e,"component",t,i),ue(e,"chart",t,i),i.plan()}function ne(e,t,i,n,a){var r=e._model;if(n){var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};a&&(l.subType=a);var u=i.excludeSeriesId;null!=u&&(u=o.createHashMap(b.normalizeToArray(u))),r&&r.eachComponent(l,(function(t){u&&null!=u.get(t.id)||c(e["series"===n?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else k(e._componentsViews.concat(e._chartsViews),c);function c(n){n&&n.__alive&&n[t]&&n[t](n.__model,r,e._api,i)}}function ae(e,t){var i=e._chartsMap,n=e._scheduler;t.eachSeries((function(e){n.updateStreamModes(e,i[e.__viewId])}))}function oe(e,t){var i=e.type,n=e.escapeConnect,a=be[i],r=a.actionInfo,s=(r.update||"update").split(":"),l=s.pop();s=null!=s[0]&&R(s[0]),this[X]=!0;var u=[e],c=!1;e.batch&&(c=!0,u=o.map(e.batch,(function(t){return t=o.defaults(o.extend({},t),e),t.batch=null,t})));var d,h=[],p="highlight"===i||"downplay"===i;k(u,(function(e){d=a.action(e,this._model,this._api),d=d||o.extend({},e),d.type=r.event||d.type,h.push(d),p?ne(this,l,e,"series"):s&&ne(this,l,e,s.main,s.sub)}),this),"none"===l||p||s||(this[Y]?(ie(this),te.update.call(this,e),this[Y]=!1):te[l].call(this,e)),d=c?{type:r.event||i,escapeConnect:n,batch:h}:h[0],this[X]=!1,!t&&this._messageCenter.trigger(d.type,d)}function re(e){var t=this._pendingActions;while(t.length){var i=t.shift();oe.call(this,i,e)}}function se(e){!e&&this.trigger("updated")}function le(e,t){e.on("rendered",(function(){t.trigger("rendered"),!e.animation.isFinished()||t[Y]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))}function ue(e,t,i,n){for(var a="component"===t,o=a?e._componentsViews:e._chartsViews,r=a?e._componentsMap:e._chartsMap,s=e._zr,l=e._api,u=0;ut.get("hoverLayerThreshold")&&!s.node&&i.traverse((function(e){e.isGroup||(e.useHoverLayer=!0)}))}function ve(e,t){var i=e.get("blendMode")||null;t.group.traverse((function(e){e.isGroup||e.style.blend!==i&&e.setStyle("blend",i),e.eachPendingDisplayable&&e.eachPendingDisplayable((function(e){e.setStyle("blend",i)}))}))}function ye(e,t){var i=e.get("z"),n=e.get("zlevel");t.group.traverse((function(e){"group"!==e.type&&(null!=i&&(e.z=i),null!=n&&(e.zlevel=n))}))}function xe(e){var t=e._coordSysMgr;return o.extend(new d(e),{getCoordinateSystems:o.bind(t.getCoordinateSystems,t),getComponentByElement:function(t){while(t){var i=t.__ecComponentInfo;if(null!=i)return e._model.getComponent(i.mainType,i.index);t=t.parent}}})}function _e(){this.eventInfo}Q._initEvents=function(){k(ge,(function(e){var t=function(t){var i,n=this.getModel(),a=t.target,r="globalout"===e;if(r)i={};else if(a&&null!=a.dataIndex){var s=a.dataModel||n.getSeriesByIndex(a.seriesIndex);i=s&&s.getDataParams(a.dataIndex,a.dataType,a)||{}}else a&&a.eventData&&(i=o.extend({},a.eventData));if(i){var l=i.componentType,u=i.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=i.seriesIndex);var c=l&&null!=u&&n.getComponent(l,u),d=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];i.event=t,i.type=e,this._ecEventProcessor.eventInfo={targetEl:a,packedEvent:i,model:c,view:d},this.trigger(e,i)}};t.zrEventfulCallAtLast=!0,this._zr.on(e,t,this)}),this),k(we,(function(e,t){this._messageCenter.on(t,(function(e){this.trigger(t,e)}),this)}),this)},Q.isDisposed=function(){return this._disposed},Q.clear=function(){this.setOption({series:[]},!0)},Q.dispose=function(){if(!this._disposed){this._disposed=!0,b.setAttribute(this.getDom(),Ne,"");var e=this._api,t=this._model;k(this._componentsViews,(function(i){i.dispose(t,e)})),k(this._chartsViews,(function(i){i.dispose(t,e)})),this._zr.dispose(),delete Ce[this.id]}},o.mixin($,u),_e.prototype={constructor:_e,normalizeQuery:function(e){var t={},i={},n={};if(o.isString(e)){var a=R(e);t.mainType=a.main||null,t.subType=a.sub||null}else{var r=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};o.each(e,(function(e,a){for(var o=!1,l=0;l0&&c===a.length-u.length){var d=a.slice(0,c);"data"!==d&&(t.mainType=d,t[u.toLowerCase()]=e,o=!0)}}s.hasOwnProperty(a)&&(i[a]=e,o=!0),o||(n[a]=e)}))}return{cptQuery:t,dataQuery:i,otherQuery:n}},filter:function(e,t,i){var n=this.eventInfo;if(!n)return!0;var a=n.targetEl,o=n.packedEvent,r=n.model,s=n.view;if(!r||!s)return!0;var l=t.cptQuery,u=t.dataQuery;return c(l,r,"mainType")&&c(l,r,"subType")&&c(l,r,"index","componentIndex")&&c(l,r,"name")&&c(l,r,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,a,o));function c(e,t,i,n){return null==e[i]||t[n||i]===e[i]}},afterTrigger:function(){this.eventInfo=null}};var be={},we={},Se=[],Me=[],Ie=[],Ae=[],Te={},De={},Ce={},Le={},Pe=new Date-0,ke=new Date-0,Ne="_echarts_instance_";function Oe(e){var t=0,i=1,n=2,a="__connectUpdateStatus";function o(e,t){for(var i=0;i-_}function S(e,t){var i=t?e.textFill:e.fill;return null!=i&&i!==p}function M(e,t){var i=t?e.textStroke:e.stroke;return null!=i&&i!==p}function I(e,t){t&&A(e,"transform","matrix("+h.call(t,",")+")")}function A(e,t,i){(!i||"linear"!==i.type&&"radial"!==i.type)&&e.setAttribute(t,i)}function T(e,t,i){e.setAttributeNS("http://www.w3.org/1999/xlink",t,i)}function D(e,t,i,n){if(S(t,i)){var a=i?t.textFill:t.fill;a="transparent"===a?p:a,"none"!==e.getAttribute("clip-path")&&a===p&&(a="rgba(0, 0, 0, 0.002)"),A(e,"fill",a),A(e,"fill-opacity",null!=t.fillOpacity?t.fillOpacity*t.opacity:t.opacity)}else A(e,"fill",p);if(M(t,i)){var o=i?t.textStroke:t.stroke;o="transparent"===o?p:o,A(e,"stroke",o);var r=i?t.textStrokeWidth:t.lineWidth,s=!i&&t.strokeNoScale?n.getLineScale():1;A(e,"stroke-width",r/s),A(e,"paint-order",i?"stroke":"fill"),A(e,"stroke-opacity",null!=t.strokeOpacity?t.strokeOpacity:t.opacity);var l=t.lineDash;l?(A(e,"stroke-dasharray",t.lineDash.join(",")),A(e,"stroke-dashoffset",f(t.lineDashOffset||0))):A(e,"stroke-dasharray",""),t.lineCap&&A(e,"stroke-linecap",t.lineCap),t.lineJoin&&A(e,"stroke-linejoin",t.lineJoin),t.miterLimit&&A(e,"stroke-miterlimit",t.miterLimit)}else A(e,"stroke",p)}function C(e){for(var t=[],i=e.data,n=e.len(),a=0;a=y||!w(I)&&(_>-v&&_<0||_>v)===!!M;var D=b(l+c*m(p)),C=b(u+h*g(p));A&&(_=M?y-1e-4:1e-4-y,T=!0,9===a&&t.push("M",D,C));var L=b(l+c*m(p+_)),P=b(u+h*g(p+_));t.push("A",b(c),b(h),f(S*x),+T,+M,L,P);break;case d.Z:r="Z";break;case d.R:L=b(i[a++]),P=b(i[a++]);var k=b(i[a++]),N=b(i[a++]);t.push("M",L,P,"L",L+k,P,"L",L+k,P+N,"L",L,P+N,"L",L,P);break}r&&t.push(r);for(var O=0;O=0?this._tryShow(i,n):"leave"===e&&this._hide(n))}),this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){n.manuallyShowTip(e,t,i,{x:n._lastX,y:n._lastY})}))}},manuallyShowTip:function(e,t,i,n){if(n.from!==this.uid&&!o.node){var a=I(n,i);this._ticket="";var r=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var s=w;s.position=[n.x,n.y],s.update(),s.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:s},a)}else if(r)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,event:{},dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},a);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(e,t,i,n))return;var l=d(n,t),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:n.position,target:l.el,event:{}},a)}else null!=n.x&&null!=n.y&&(i.dispatchAction({type:"updateAxisPointer",x:n.x,y:n.y}),this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().findHover(n.x,n.y).target,event:{}},a))}},manuallyHideTip:function(e,t,i,n){var a=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(I(n,i))},_manuallyAxisShowTip:function(e,t,i,n){var a=n.seriesIndex,o=n.dataIndex,r=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=o&&null!=r){var s=t.getSeriesByIndex(a);if(s){var l=s.getData();e=M([l.getItemModel(o),s,(s.coordinateSystem||{}).model,e]);if("axis"===e.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:o,position:n.position}),!0}}},_tryShow:function(e,t){var i=e.target,n=this._tooltipModel;if(n){this._lastX=e.offsetX,this._lastY=e.offsetY;var a=e.dataByCoordSys;a&&a.length?this._showAxisTooltip(a,e):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,i,t)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,i,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var i=e.get("showDelay");t=a.bind(t,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(t,i):t()},_showAxisTooltip:function(e,t){var i=this._ecModel,n=this._tooltipModel,o=[t.offsetX,t.offsetY],r=[],s=[],u=M([t.tooltipOption,n]),c=this._renderMode,d=this._newLine,h={};_(e,(function(e){_(e.dataByAxis,(function(e){var t=i.getComponent(e.axisDim+"Axis",e.axisIndex),n=e.value,o=[];if(t&&null!=n){var u=m.getValueLabel(n,t.axis,i,e.seriesDataIndices,e.valueLabelOpt);a.each(e.seriesDataIndices,(function(r){var l=i.getSeriesByIndex(r.seriesIndex),d=r.dataIndexInside,p=l&&l.getDataParams(d);if(p.axisDim=e.axisDim,p.axisIndex=e.axisIndex,p.axisType=e.axisType,p.axisId=e.axisId,p.axisValue=g.getAxisRawValue(t.axis,n),p.axisValueLabel=u,p){s.push(p);var f,m=l.formatTooltip(d,!0,null,c);if(a.isObject(m)){f=m.html;var v=m.markers;a.merge(h,v)}else f=m;o.push(f)}}));var p=u;"html"!==c?r.push(o.join(d)):r.push((p?l.encodeHTML(p)+d:"")+o.join(d))}}))}),this),r.reverse(),r=r.join(this._newLine+this._newLine);var p=t.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(u,p,o[0],o[1],this._tooltipContent,s):this._showTooltipContent(u,r,s,Math.random(),o[0],o[1],p,void 0,h)}))},_showSeriesItemTooltip:function(e,t,i){var n=this._ecModel,o=t.seriesIndex,r=n.getSeriesByIndex(o),s=t.dataModel||r,l=t.dataIndex,u=t.dataType,c=s.getData(),d=M([c.getItemModel(l),s,r&&(r.coordinateSystem||{}).model,this._tooltipModel]),h=d.get("trigger");if(null==h||"item"===h){var p,f,g=s.getDataParams(l,u),m=s.formatTooltip(l,!1,u,this._renderMode);a.isObject(m)?(p=m.html,f=m.markers):(p=m,f=null);var v="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,p,g,v,e.offsetX,e.offsetY,e.position,e.target,f)})),i({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(e,t,i){var n=t.tooltip;if("string"===typeof n){var a=n;n={content:a,formatter:a}}var o=new p(n,this._tooltipModel,this._ecModel),r=o.get("content"),s=Math.random();this._showOrMove(o,(function(){this._showTooltipContent(o,r,o.get("formatterParams")||{},s,e.offsetX,e.offsetY,e.position,t)})),i({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,i,n,a,o,r,s,u){if(this._ticket="",e.get("showContent")&&e.get("show")){var c=this._tooltipContent,d=e.get("formatter");r=r||e.get("position");var h=t;if(d&&"string"===typeof d)h=l.formatTpl(d,i,!0);else if("function"===typeof d){var p=x((function(t,n){t===this._ticket&&(c.setContent(n,u,e),this._updatePosition(e,r,a,o,c,i,s))}),this);this._ticket=n,h=d(i,n,p)}c.setContent(h,u,e),c.show(e),this._updatePosition(e,r,a,o,c,i,s)}},_updatePosition:function(e,t,i,n,o,r,s){var l=this._api.getWidth(),u=this._api.getHeight();t=t||e.get("position");var c=o.getSize(),d=e.get("align"),p=e.get("verticalAlign"),f=s&&s.getBoundingRect().clone();if(s&&f.applyTransform(s.transform),"function"===typeof t&&(t=t([i,n],r,o.el,f,{viewSize:[l,u],contentSize:c.slice()})),a.isArray(t))i=b(t[0],l),n=b(t[1],u);else if(a.isObject(t)){t.width=c[0],t.height=c[1];var g=h.getLayoutRect(t,{width:l,height:u});i=g.x,n=g.y,d=null,p=null}else if("string"===typeof t&&s){var m=D(t,f,c);i=m[0],n=m[1]}else{m=A(i,n,o,l,u,d?null:20,p?null:20);i=m[0],n=m[1]}if(d&&(i-=C(d)?c[0]/2:"right"===d?c[0]:0),p&&(n-=C(p)?c[1]/2:"bottom"===p?c[1]:0),e.get("confine")){m=T(i,n,o,l,u);i=m[0],n=m[1]}o.moveTo(i,n)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,i=!!t&&t.length===e.length;return i&&_(t,(function(t,n){var a=t.dataByAxis||{},o=e[n]||{},r=o.dataByAxis||[];i&=a.length===r.length,i&&_(a,(function(e,t){var n=r[t]||{},a=e.seriesDataIndices||[],o=n.seriesDataIndices||[];i&=e.value===n.value&&e.axisType===n.axisType&&e.axisId===n.axisId&&a.length===o.length,i&&_(a,(function(e,t){var n=o[t];i&=e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex}))}))})),this._lastDataByCoordSys=e,!!i},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){o.node||(this._tooltipContent.hide(),f.unregister("itemTooltip",t))}});function M(e){var t=e.pop();while(e.length){var i=e.pop();i&&(p.isInstance(i)&&(i=i.get("tooltip",!0)),"string"===typeof i&&(i={formatter:i}),t=new p(i,t,t.ecModel))}return t}function I(e,t){return e.dispatchAction||a.bind(t.dispatchAction,t)}function A(e,t,i,n,a,o,r){var s=i.getOuterSize(),l=s.width,u=s.height;return null!=o&&(e+l+o>n?e-=l+o:e+=o),null!=r&&(t+u+r>a?t-=u+r:t+=r),[e,t]}function T(e,t,i,n,a){var o=i.getOuterSize(),r=o.width,s=o.height;return e=Math.min(e+r,n)-r,t=Math.min(t+s,a)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function D(e,t,i){var n=i[0],a=i[1],o=5,r=0,s=0,l=t.width,u=t.height;switch(e){case"inside":r=t.x+l/2-n/2,s=t.y+u/2-a/2;break;case"top":r=t.x+l/2-n/2,s=t.y-a-o;break;case"bottom":r=t.x+l/2-n/2,s=t.y+u+o;break;case"left":r=t.x-n-o,s=t.y+u/2-a/2;break;case"right":r=t.x+l+o,s=t.y+u/2-a/2}return[r,s]}function C(e){return"center"===e||"middle"===e}e.exports=S},4338:function(e,t,i){var n=i("4bf6"),a=i("2039");function o(e,t){var i=[];return e.eachComponent("singleAxis",(function(a,o){var r=new n(a,e,t);r.name="single_"+o,r.resize(a,t),a.coordinateSystem=r,i.push(r)})),e.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=i&&i.coordinateSystem}})),i}a.register("single",{create:o,dimensions:n.prototype.dimensions})},"43b8":function(e,t,i){var n=i("2449"),a=n.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});e.exports=a},4411:function(e,t,i){for(var n=i("3eba"),a=i("55ac"),o=function(){},r=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s=0;n--){r=t[n].interval;if(r[0]<=e&&e<=r[1]){o=n;break}}return n>=0&&n=t[0]&&e<=t[1]}}function c(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var d=a.extendChartView({type:"heatmap",render:function(e,t,i){var n;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(i){i===e&&(n=t)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var a=e.coordinateSystem;"cartesian2d"===a.type||"calendar"===a.type?this._renderOnCartesianAndCalendar(e,i,0,e.getData().count()):c(a)&&this._renderOnGeo(a,e,n,i)},incrementalPrepareRender:function(e,t,i){this.group.removeAll()},incrementalRender:function(e,t,i,n){var a=t.coordinateSystem;a&&this._renderOnCartesianAndCalendar(t,n,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,i,n,a){var r,l,u=e.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),d=u.getAxis("y");r=c.getBandWidth(),l=d.getBandWidth()}for(var h=this.group,p=e.getData(),f="itemStyle",g="emphasis.itemStyle",m="label",v="emphasis.label",y=e.getModel(f).getItemStyle(["color"]),x=e.getModel(g).getItemStyle(),_=e.getModel(m),b=e.getModel(v),w=u.type,S="cartesian2d"===w?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],M=i;M=0?n+=g:n-=g:_>=0?n-=g:n+=g}return n}function h(e,t){var i=[],o=n.quadraticSubdivide,r=[[],[],[]],s=[[],[]],l=[];function u(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),t}t/=2,e.eachEdge((function(e,n){var c=e.getLayout(),h=e.getVisual("fromSymbol"),p=e.getVisual("toSymbol");c.__original||(c.__original=[a.clone(c[0]),a.clone(c[1])],c[2]&&c.__original.push(a.clone(c[2])));var f=c.__original;if(null!=c[2]){if(a.copy(r[0],f[0]),a.copy(r[1],f[2]),a.copy(r[2],f[1]),h&&"none"!==h){var g=u(e.node1),m=d(r,f[0],g*t);o(r[0][0],r[1][0],r[2][0],m,i),r[0][0]=i[3],r[1][0]=i[4],o(r[0][1],r[1][1],r[2][1],m,i),r[0][1]=i[3],r[1][1]=i[4]}if(p&&"none"!==p){g=u(e.node2),m=d(r,f[1],g*t);o(r[0][0],r[1][0],r[2][0],m,i),r[1][0]=i[1],r[2][0]=i[2],o(r[0][1],r[1][1],r[2][1],m,i),r[1][1]=i[1],r[2][1]=i[2]}a.copy(c[0],r[0]),a.copy(c[1],r[2]),a.copy(c[2],r[1])}else{if(a.copy(s[0],f[0]),a.copy(s[1],f[1]),a.sub(l,s[1],s[0]),a.normalize(l,l),h&&"none"!==h){g=u(e.node1);a.scaleAndAdd(s[0],s[0],l,g*t)}if(p&&"none"!==p){g=u(e.node2);a.scaleAndAdd(s[1],s[1],l,-g*t)}a.copy(c[0],s[0]),a.copy(c[1],s[1])}}))}e.exports=h},"48ac":function(e,t,i){var n=i("3eba"),a=n.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),o=a;e.exports=o},"48c7":function(e,t,i){var n=i("6d8b"),a=i("6cb7"),o=i("9e47"),r=i("2023"),s=a.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(e,t){return t.type||(t.data?"category":"value")}n.merge(s.prototype,r);var u={offset:0};o("x",s,l,u),o("y",s,l,u);var c=s;e.exports=c},"49e8":function(e,t,i){var n=i("3eba"),a=i("6d8b"),o=i("d81e"),r=o.updateCenterAndZoom;n.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var i=e.componentType||"series";t.eachComponent({mainType:i,query:e},(function(t){var n=t.coordinateSystem;if("geo"===n.type){var o=r(n,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===i&&a.each(t.seriesGroup,(function(e){e.setCenter(o.center),e.setZoom(o.zoom)}))}}))}))},"4a01":function(e,t,i){var n=i("6d8b"),a=i("1fab"),o=i("607d"),r=i("a4fe");function s(e){this.pointerChecker,this._zr=e,this._opt={};var t=n.bind,i=t(l,this),o=t(u,this),r=t(c,this),s=t(d,this),p=t(h,this);a.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,a){this.disable(),this._opt=n.defaults(n.clone(a)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",o),e.on("mouseup",r)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",s),e.on("pinch",p))},this.disable=function(){e.off("mousedown",i),e.off("mousemove",o),e.off("mouseup",r),e.off("mousewheel",s),e.off("pinch",p)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(e){if(!(o.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)){var t=e.offsetX,i=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,i)&&(this._x=t,this._y=i,this._dragging=!0)}}function u(e){if(this._dragging&&g("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!r.isTaken(this._zr,"globalPan")){var t=e.offsetX,i=e.offsetY,n=this._x,a=this._y,s=t-n,l=i-a;this._x=t,this._y=i,this._opt.preventDefaultMouseMove&&o.stop(e.event),f(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:n,oldY:a,newX:t,newY:i})}}function c(e){o.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function d(e){var t=g("zoomOnMouseWheel",e,this._opt),i=g("moveOnMouseWheel",e,this._opt),n=e.wheelDelta,a=Math.abs(n),o=e.offsetX,r=e.offsetY;if(0!==n&&(t||i)){if(t){var s=a>3?1.4:a>1?1.2:1.1,l=n>0?s:1/s;p(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:o,originY:r})}if(i){var u=Math.abs(n),c=(n>0?1:-1)*(u>3?.4:u>1?.15:.05);p(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:o,originY:r})}}}function h(e){if(!r.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;p(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY})}}function p(e,t,i,n,a){e.pointerChecker&&e.pointerChecker(n,a.originX,a.originY)&&(o.stop(n.event),f(e,t,i,n,a))}function f(e,t,i,a,o){o.isAvailableBehavior=n.bind(g,null,i,a),e.trigger(t,o)}function g(e,t,i){var a=i[e];return!e||a&&(!n.isString(a)||t.event[a+"Key"])}n.mixin(s,a);var m=s;e.exports=m},"4a9d":function(e,t,i){var n=i("2306"),a=i("dcb3"),o=i("ff2e"),r=i("0156"),s=i("6679"),l=a.extend({makeElOption:function(e,t,i,n,a){var s=i.axis,l=s.grid,d=n.get("type"),h=u(l,s).getOtherAxis(s).getGlobalExtent(),p=s.toGlobalCoord(s.dataToCoord(t,!0));if(d&&"none"!==d){var f=o.buildElStyle(n),g=c[d](s,p,h,f);g.style=f,e.graphicKey=g.type,e.pointer=g}var m=r.layout(l.model,i);o.buildCartesianSingleLabelElOption(t,e,m,i,n,a)},getHandleTransform:function(e,t,i){var n=r.layout(t.axis.grid.model,t,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:o.getTransformedPosition(t.axis,e,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,i,n){var a=i.axis,o=a.grid,r=a.getGlobalExtent(!0),s=u(o,a).getOtherAxis(a).getGlobalExtent(),l="x"===a.dim?0:1,c=e.position;c[l]+=t[l],c[l]=Math.min(r[1],c[l]),c[l]=Math.max(r[0],c[l]);var d=(s[1]+s[0])/2,h=[d,d];h[l]=c[l];var p=[{verticalAlign:"middle"},{align:"center"}];return{position:c,rotation:e.rotation,cursorPoint:h,tooltipOption:p[l]}}});function u(e,t){var i={};return i[t.dim+"AxisIndex"]=t.index,e.getCartesian(i)}var c={line:function(e,t,i,a){var r=o.makeLineShape([t,i[0]],[t,i[1]],d(e));return n.subPixelOptimizeLine({shape:r,style:a}),{type:"Line",shape:r}},shadow:function(e,t,i,n){var a=Math.max(1,e.getBandWidth()),r=i[1]-i[0];return{type:"Rect",shape:o.makeRectShape([t-a/2,i[0]],[a,r],d(e))}}};function d(e){return"x"===e.dim?0:1}s.registerAxisPointerClass("CartesianAxisPointer",l);var h=l;e.exports=h},"4ab1":function(e,t,i){var n=i("8727"),a=n.createElement,o=i("6d8b"),r=i("cbe5"),s=i("0da8"),l=i("76a5"),u=i("3f8e"),c=u.path,d=u.image,h=u.text,p="0",f="1";function g(e,t,i,n,a){this._zrId=e,this._svgRoot=t,this._tagNames="string"===typeof i?[i]:i,this._markLabel=n,this._domName=a||"_dom",this.nextId=0}g.prototype.createElement=a,g.prototype.getDefs=function(e){var t=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");return 0===i.length?e?(i=t.insertBefore(this.createElement("defs"),t.firstChild),i.contains||(i.contains=function(e){var t=i.children;if(!t)return!1;for(var n=t.length-1;n>=0;--n)if(t[n]===e)return!0;return!1}),i):null:i[0]},g.prototype.update=function(e,t){if(e){var i=this.getDefs(!1);if(e[this._domName]&&i.contains(e[this._domName]))"function"===typeof t&&t(e);else{var n=this.add(e);n&&(e[this._domName]=n)}}},g.prototype.addDom=function(e){var t=this.getDefs(!0);t.appendChild(e)},g.prototype.removeDom=function(e){var t=this.getDefs(!1);t&&e[this._domName]&&(t.removeChild(e[this._domName]),e[this._domName]=null)},g.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var t=[];return o.each(this._tagNames,(function(i){var n=e.getElementsByTagName(i);t=t.concat([].slice.call(n))})),t},g.prototype.markAllUnused=function(){var e=this.getDoms(),t=this;o.each(e,(function(e){e[t._markLabel]=p}))},g.prototype.markUsed=function(e){e&&(e[this._markLabel]=f)},g.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),i=this;o.each(t,(function(t){t[i._markLabel]!==f&&e.removeChild(t)}))}},g.prototype.getSvgProxy=function(e){return e instanceof r?c:e instanceof s?d:e instanceof l?h:c},g.prototype.getTextSvgElement=function(e){return e.__textSvgEl},g.prototype.getSvgElement=function(e){return e.__svgEl};var m=g;e.exports=m},"4b08":function(e,t,i){var n=i("7dcf"),a=n.extend({type:"dataZoom.select"});e.exports=a},"4bf6":function(e,t,i){var n=i("66fc"),a=i("697e"),o=i("f934"),r=o.getLayoutRect,s=i("6d8b"),l=s.each;function u(e,t,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,i),this.model=e}u.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:u,_init:function(e,t,i){var o=this.dimension,r=new n(o,a.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===r.type;r.onBand=s&&e.get("boundaryGap"),r.inverse=e.get("inverse"),r.orient=e.get("orient"),e.axis=r,r.model=e,r.coordinateSystem=this,this._axis=r},update:function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();l(t.mapDimension(this.dimension,!0),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),a.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(e,t){this._rect=r({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,i=t.isHorizontal(),n=i?[0,e.width]:[0,e.height],a=t.reverse?1:0;t.setExtent(n[a],n[1-a]),this._updateAxisTransform(t,i?e.x:e.y)},_updateAxisTransform:function(e,t){var i=e.getExtent(),n=i[0]+i[1],a=e.isHorizontal();e.toGlobalCoord=a?function(e){return e+t}:function(e){return n-e+t},e.toLocalCoord=a?function(e){return e-t}:function(e){return n-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),i=this.getAxis(),n=i.orient;return"horizontal"===n?i.contain(i.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:i.contain(i.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),i=this.getRect(),n=[],a="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),n[a]=t.toGlobalCoord(t.dataToCoord(+e)),n[1-a]=0===a?i.y+i.height/2:i.x+i.width/2,n}};var c=u;e.exports=c},"4c86":function(e,t,i){var n=i("6d8b"),a=n.each,o=i("bda7"),r=i("e0d3"),s=r.makeInner,l=i("320a"),u=i("1792"),c=i("6bd4"),d=i("a7f2"),h=s(),p={load:function(e,t){var i=h(t).parsed;if(i)return i;var n,r=t.specialAreas||{},s=t.geoJSON;try{n=s?o(s):[]}catch(p){throw new Error("Invalid geoJson format\n"+p.message)}return a(n,(function(t){var i=t.name;u(e,t),c(e,t),d(e,t);var n=r[i];n&&t.transformTo(n.left,n.top,n.width,n.height)})),l(e,n),h(t).parsed={regions:n,boundingRect:f(n)}}};function f(e){for(var t,i=0;i0?r:s)}function c(e,t){return t.get(e>0?a:o)}}};e.exports=l},"4d62":function(e,t,i){var n=i("2306"),a=i("6d8b"),o=i("e887");function r(e,t){n.Group.call(this);var i=new n.Polygon,a=new n.Polyline,o=new n.Text;function r(){a.ignore=a.hoverIgnore,o.ignore=o.hoverIgnore}function s(){a.ignore=a.normalIgnore,o.ignore=o.normalIgnore}this.add(i),this.add(a),this.add(o),this.updateData(e,t,!0),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}var s=r.prototype,l=["itemStyle","opacity"];s.updateData=function(e,t,i){var o=this.childAt(0),r=e.hostModel,s=e.getItemModel(t),u=e.getItemLayout(t),c=e.getItemModel(t).get(l);c=null==c?1:c,o.useStyle({}),i?(o.setShape({points:u.points}),o.setStyle({opacity:0}),n.initProps(o,{style:{opacity:c}},r,t)):n.updateProps(o,{style:{opacity:c},shape:{points:u.points}},r,t);var d=s.getModel("itemStyle"),h=e.getItemVisual(t,"color");o.setStyle(a.defaults({lineJoin:"round",fill:h},d.getItemStyle(["opacity"]))),o.hoverStyle=d.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),n.setHoverStyle(this)},s._updateLabel=function(e,t){var i=this.childAt(1),a=this.childAt(2),o=e.hostModel,r=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,u=e.getItemVisual(t,"color");n.updateProps(i,{shape:{points:l.linePoints||l.linePoints}},o,t),n.updateProps(a,{style:{x:l.x,y:l.y}},o,t),a.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var c=r.getModel("label"),d=r.getModel("emphasis.label"),h=r.getModel("labelLine"),p=r.getModel("emphasis.labelLine");u=e.getItemVisual(t,"color");n.setLabelStyle(a.style,a.hoverStyle={},c,d,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),a.ignore=a.normalIgnore=!c.get("show"),a.hoverIgnore=!d.get("show"),i.ignore=i.normalIgnore=!h.get("show"),i.hoverIgnore=!p.get("show"),i.setStyle({stroke:u}),i.setStyle(h.getModel("lineStyle").getLineStyle()),i.hoverStyle=p.getModel("lineStyle").getLineStyle()},a.inherits(r,n.Group);var u=o.extend({type:"funnel",render:function(e,t,i){var n=e.getData(),a=this._data,o=this.group;n.diff(a).add((function(e){var t=new r(n,e);n.setItemGraphicEl(e,t),o.add(t)})).update((function(e,t){var i=a.getItemGraphicEl(t);i.updateData(n,e),o.add(i),n.setItemGraphicEl(e,i)})).remove((function(e){var t=a.getItemGraphicEl(e);o.remove(t)})).execute(),this._data=n},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=u;e.exports=c},"4d85":function(e,t,i){var n=i("e46b"),a=i("4f85"),o=i("6d8b"),r=a.extend({type:"series.gauge",getInitialData:function(e,t){var i=e.data||[];return o.isArray(i)||(i=[i]),e.data=i,n(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),s=r;e.exports=s},"4e10":function(e,t,i){var n=i("6d8b"),a=i("e46b"),o=i("4f85"),r=i("eda2"),s=r.encodeHTML,l=r.addCommas,u=i("7023"),c=i("2b17"),d=c.retrieveRawAttr,h=i("5b87"),p=o.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var t=a(this,["value"]),i=t.mapDimension("value"),o=n.createHashMap(),r=[],s=[],l=0,u=t.count();l"+s(n+" : "+i)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),i=this.coordinateSystem,n=i.getRegion(t);return n&&i.dataToPoint(n.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},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)"}}}});n.mixin(p,u);var f=p;e.exports=f},"4e47":function(e,t,i){var n=i("6d8b"),a=i("2306"),o={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},r=2,s=4;function l(e,t,i){a.Group.call(this);var n=new a.Sector({z2:r});n.seriesIndex=t.seriesIndex;var o=new a.Text({z2:s,silent:e.getModel("label").get("silent")});function l(){o.ignore=o.hoverIgnore}function u(){o.ignore=o.normalIgnore}this.add(n),this.add(o),this.updateData(!0,e,"normal",t,i),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var u=l.prototype;u.updateData=function(e,t,i,o,r){this.node=t,t.piece=this,o=o||this._seriesModel,r=r||this._ecModel;var s=this.childAt(0);s.dataIndex=t.dataIndex;var l=t.getModel(),u=t.getLayout(),c=n.extend({},u);c.label=null;var h=d(t,o,r);f(t,o,h);var p,g=l.getModel("itemStyle").getItemStyle();if("normal"===i)p=g;else{var m=l.getModel(i+".itemStyle").getItemStyle();p=n.merge(m,g)}p=n.defaults({lineJoin:"bevel",fill:p.fill||h},p),e?(s.setShape(c),s.shape.r=u.r0,a.updateProps(s,{shape:{r:u.r}},o,t.dataIndex),s.useStyle(p)):"object"===typeof p.fill&&p.fill.type||"object"===typeof s.style.fill&&s.style.fill.type?(a.updateProps(s,{shape:c},o),s.useStyle(p)):a.updateProps(s,{shape:c,style:p},o),this._updateLabel(o,h,i);var v=l.getShallow("cursor");if(v&&s.attr("cursor",v),e){var y=o.getShallow("highlightPolicy");this._initEvents(s,t,o,y)}this._seriesModel=o||this._seriesModel,this._ecModel=r||this._ecModel},u.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode((function(i){i.piece&&(t.node===i?i.piece.updateData(!1,i,"emphasis"):p(i,t.node,e)?i.piece.childAt(0).trigger("highlight"):e!==o.NONE&&i.piece.childAt(0).trigger("downplay"))}))},u.onNormal=function(){this.node.hostTree.root.eachNode((function(e){e.piece&&e.piece.updateData(!1,e,"normal")}))},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(e,t,i){var o=this.node.getModel(),r=o.getModel("label"),s="normal"===i||"emphasis"===i?r:o.getModel(i+".label"),l=o.getModel("emphasis.label"),u=n.retrieve(e.getFormattedLabel(this.node.dataIndex,"normal",null,null,"label"),this.node.name);!1===I("show")&&(u="");var c=this.node.getLayout(),d=s.get("minAngle");null==d&&(d=r.get("minAngle")),d=d/180*Math.PI;var h=c.endAngle-c.startAngle;null!=d&&Math.abs(h)Math.PI/2?"right":"left"):_&&"center"!==_?"left"===_?(f=c.r0+x,g>Math.PI/2&&(_="right")):"right"===_&&(f=c.r-x,g>Math.PI/2&&(_="left")):(f=(c.r+c.r0)/2,_="center"),p.attr("style",{text:u,textAlign:_,textVerticalAlign:I("verticalAlign")||"middle",opacity:I("opacity")});var b=f*m+c.cx,w=f*v+c.cy;p.attr("position",[b,w]);var S=I("rotate"),M=0;function I(e){var t=s.get(e);return null==t?r.get(e):t}"radial"===S?(M=-g,M<-Math.PI/2&&(M+=Math.PI)):"tangential"===S?(M=Math.PI/2-g,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):"number"===typeof S&&(M=S*Math.PI/180),p.attr("rotation",M)},u._initEvents=function(e,t,i,n){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var a=this,o=function(){a.onEmphasis(n)},r=function(){a.onNormal()},s=function(){a.onDownplay()},l=function(){a.onHighlight()};i.isAnimationEnabled()&&e.on("mouseover",o).on("mouseout",r).on("emphasis",o).on("normal",r).on("downplay",s).on("highlight",l)},n.inherits(l,a.Group);var c=l;function d(e,t,i){var n=e.getVisual("color"),a=e.getVisual("visualMeta");a&&0!==a.length||(n=null);var o=e.getModel("itemStyle").get("color");if(o)return o;if(n)return n;if(0===e.depth)return i.option.color[0];var r=i.option.color.length;return o=i.option.color[h(e)%r],o}function h(e){var t=e;while(t.depth>1)t=t.parentNode;var i=e.getAncestors()[0];return n.indexOf(i.children,t)}function p(e,t,i){return i!==o.NONE&&(i===o.SELF?e===t:i===o.ANCESTOR?e===t||e.isAncestorOf(t):e===t||e.isDescendantOf(t))}function f(e,t,i){var n=t.getData();n.setItemVisual(e.dataIndex,"color",i)}e.exports=c},"4e9f":function(e,t,i){var n=i("22d1"),a=i("29a8"),o=i("2145"),r=a.toolbox.saveAsImage;function s(e){this.model=e}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:r.title,type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:r.lang.slice()},s.prototype.unusable=!n.canvasSupported;var l=s.prototype;l.onclick=function(e,t){var i=this.model,a=i.get("name")||e.get("title.0.text")||"echarts",o=document.createElement("a"),r=i.get("type",!0)||"png";o.download=a+"."+r,o.target="_blank";var s=t.getConnectedDataURL({type:r,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if(o.href=s,"function"!==typeof MouseEvent||n.browser.ie||n.browser.edge)if(window.navigator.msSaveOrOpenBlob){var l=atob(s.split(",")[1]),u=l.length,c=new Uint8Array(u);while(u--)c[u]=l.charCodeAt(u);var d=new Blob([c]);window.navigator.msSaveOrOpenBlob(d,a+"."+r)}else{var h=i.get("lang"),p='',f=window.open();f.document.write(p)}else{var g=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});o.dispatchEvent(g)}},o.register("saveAsImage",s);var u=s;e.exports=u},"4f85":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),o=i("22d1"),r=i("eda2"),s=r.formatTime,l=r.encodeHTML,u=r.addCommas,c=r.getTooltipMarker,d=i("e0d3"),h=i("6cb7"),p=i("e47b"),f=i("38a2"),g=i("f934"),m=g.getLayoutParams,v=g.mergeLayoutParam,y=i("f47d"),x=y.createTask,_=i("0f99"),b=_.prepareSource,w=_.getSource,S=i("2b17"),M=S.retrieveRawValue,I=d.makeInner(),A=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.color",layoutMode:null,init:function(e,t,i,n){this.seriesIndex=this.componentIndex,this.dataTask=x({count:C,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,i),b(this);var a=this.getInitialData(e,i);k(a,this),this.dataTask.context.data=a,I(this).dataBeforeProcessed=a,T(this)},mergeDefaultAndTheme:function(e,t){var i=this.layoutMode,n=i?m(e):{},o=this.subType;h.hasClass(o)&&(o+="Series"),a.merge(e,t.getTheme().get(this.subType)),a.merge(e,this.getDefaultOption()),d.defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),i&&v(e,n,i)},mergeOption:function(e,t){e=a.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var i=this.layoutMode;i&&v(this.option,e,i),b(this);var n=this.getInitialData(e,t);k(n,this),this.dataTask.dirty(),this.dataTask.context.data=n,I(this).dataBeforeProcessed=n,T(this)},fillDataTextStyle:function(e){if(e&&!a.isTypedArray(e))for(var t=["show"],i=0;i":"\n",h="richText"===n,p={},f=0;function g(i){var r=a.reduce(i,(function(e,t,i){var n=v.getDimensionInfo(i);return e|(n&&!1!==n.tooltip&&null!=n.displayName)}),0),d=[];function g(e,i){var a=v.getDimensionInfo(i);if(a&&!1!==a.otherDims.tooltip){var g=a.type,m="sub"+o.seriesIndex+"at"+f,y=c({color:w,type:"subItem",renderMode:n,markerId:m}),x="string"===typeof y?y:y.content,_=(r?x+l(a.displayName||"-")+": ":"")+l("ordinal"===g?e+"":"time"===g?t?"":s("yyyy/MM/dd hh:mm:ss",e):u(e));_&&d.push(_),h&&(p[m]=w,++f)}}y.length?a.each(y,(function(t){g(M(v,e,t),t)})):a.each(i,g);var m=r?h?"\n":"
":"",x=m+d.join(m||", ");return{renderMode:n,content:x,style:p}}function m(e){return{renderMode:n,content:l(u(e)),style:p}}var v=this.getData(),y=v.mapDimension("defaultedTooltip",!0),x=y.length,_=this.getRawValue(e),b=a.isArray(_),w=v.getItemVisual(e,"color");a.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=x>1||b&&!x?g(_):m(x?M(v,e,y[0]):b?_[0]:_),I=S.content,A=o.seriesIndex+"at"+f,T=c({color:w,type:"item",renderMode:n,markerId:A});p[A]=w,++f;var D=v.getName(e),C=this.name;d.isNameSpecified(this)||(C=""),C=C?l(C)+(t?": ":r):"";var L="string"===typeof T?T:T.content,P=t?L+C+I:C+L+(D?l(D)+": "+I:I);return{html:P,markers:p}},isAnimationEnabled:function(){if(o.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(e,t,i){var n=this.ecModel,a=p.getColorFromPalette.call(this,e,t,i);return a||(a=n.getColorFromPalette(e,t,i)),a},coordDimToDataDim:function(e){return this.getRawData().mapDimension(e,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function T(e){var t=e.name;d.isNameSpecified(e)||(e.name=D(e)||t)}function D(e){var t=e.getRawData(),i=t.mapDimension("seriesName",!0),n=[];return a.each(i,(function(e){var i=t.getDimensionInfo(e);i.displayName&&n.push(i.displayName)})),n.join(" ")}function C(e){return e.model.getRawData().count()}function L(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),P}function P(e,t){e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function k(e,t){a.each(e.CHANGABLE_METHODS,(function(i){e.wrapMethod(i,a.curry(N,t))}))}function N(e){var t=O(e);t&&t.setOutputEnd(this.count())}function O(e){var t=(e.ecModel||{}).scheduler,i=t&&t.getPipeline(e.uid);if(i){var n=i.currentTask;if(n){var a=n.agentStubMap;a&&(n=a.get(e.uid))}return n}}a.mixin(A,f),a.mixin(A,p);var R=A;e.exports=R},"50e5":function(e,t,i){var n=i("6d8b"),a=i("eda2"),o=["x","y","z","radius","angle","single"],r=["cartesian2d","polar","singleAxis"];function s(e){return n.indexOf(r,e)>=0}function l(e,t){e=e.slice();var i=n.map(e,a.capitalFirst);t=(t||[]).slice();var o=n.map(t,a.capitalFirst);return function(a,r){n.each(e,(function(e,n){for(var s={name:e,capital:i[n]},l=0;l=0}function o(e,a){var o=!1;return t((function(t){n.each(i(e,t)||[],(function(e){a.records[t.name][e]&&(o=!0)}))})),o}function r(e,a){a.nodes.push(e),t((function(t){n.each(i(e,t)||[],(function(e){a.records[t.name][e]=!0}))}))}}t.isCoordSupported=s,t.createNameEach=l,t.eachAxisDim=u,t.createLinkedNodesFinder=c},"527a":function(e,t,i){var n=i("6d8b"),a=i("3842");function o(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),i=e.coordinateSystem,n={},o=i.getRect();n.rect=o;var s=e.get("boundaryGap"),l=i.getAxis();if(n.boundaryGap=s,"horizontal"===l.orient){s[0]=a.parsePercent(s[0],o.height),s[1]=a.parsePercent(s[1],o.height);var u=o.height-s[0]-s[1];r(t,e,u)}else{s[0]=a.parsePercent(s[0],o.width),s[1]=a.parsePercent(s[1],o.width);var c=o.width-s[0]-s[1];r(t,e,c)}t.setLayout("layoutInfo",n)}))}function r(e,t,i){if(e.count())for(var a,o=t.coordinateSystem,r=t.getLayerSeries(),l=e.mapDimension("single"),u=e.mapDimension("value"),c=n.map(r,(function(t){return n.map(t.indices,(function(t){var i=o.dataToPoint(e.get(l,t));return i[1]=e.get(u,t),i}))})),d=s(c),h=d.y0,p=i/d.max,f=r.length,g=r[0].indices.length,m=0;mo&&(o=u),n.push(u)}for(var c=0;co&&(o=h)}return r.y0=a,r.max=o,r}e.exports=o},5450:function(e,t,i){i("7419"),i("29a9")},"54fb":function(e,t){function i(e){e.eachSeriesByType("map",(function(e){var t=e.get("color"),i=e.getModel("itemStyle"),n=i.get("areaColor"),a=i.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:n,color:a})}))}e.exports=i},5522:function(e,t,i){i("23e0"),i("1748"),i("6c12")},5576:function(e,t,i){var n=i("6d8b"),a=i("4a01"),o=i("88b3"),r="\0_ec_dataZoom_roams";function s(e,t){var i=c(e),a=t.dataZoomId,r=t.coordId;n.each(i,(function(e,i){var o=e.dataZoomInfos;o[a]&&n.indexOf(t.allCoordIds,r)<0&&(delete o[a],e.count--)})),h(i);var s=i[r];s||(s=i[r]={coordId:r,dataZoomInfos:{},count:0},s.controller=d(e,s),s.dispatchAction=n.curry(p,e)),!s.dataZoomInfos[a]&&s.count++,s.dataZoomInfos[a]=t;var l=f(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(t.containsPoint),o.createOrUpdate(s,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")}function l(e,t){var i=c(e);n.each(i,(function(e){e.controller.dispose();var i=e.dataZoomInfos;i[t]&&(delete i[t],e.count--)})),h(i)}function u(e){return e.type+"\0_"+e.id}function c(e){var t=e.getZr();return t[r]||(t[r]={})}function d(e,t){var i=new a(e.getZr());return n.each(["pan","zoom","scrollMove"],(function(e){i.on(e,(function(i){var a=[];n.each(t.dataZoomInfos,(function(n){if(i.isAvailableBehavior(n.dataZoomModel.option)){var o=(n.getRange||{})[e],r=o&&o(t.controller,i);!n.dataZoomModel.get("disabled",!0)&&r&&a.push({dataZoomId:n.dataZoomId,start:r[0],end:r[1]})}})),a.length&&t.dispatchAction(a)}))})),i}function h(e){n.each(e,(function(t,i){t.count||(t.controller.dispose(),delete e[i])}))}function p(e,t){e.dispatchAction({type:"dataZoom",batch:t})}function f(e){var t,i="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return n.each(e,(function(e){var n=e.dataZoomModel,r=!n.get("disabled",!0)&&(!n.get("zoomLock",!0)||"move");a[i+r]>a[i+t]&&(t=r),o&=n.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}t.register=s,t.unregister=l,t.generateCoordId=u},"55ac":function(e,t,i){var n=i("6d8b");function a(e,t,i){if(e&&n.indexOf(t,e.type)>=0){var a=i.getData().tree.root,o=e.targetNode;if("string"===typeof o&&(o=a.getNodeById(o)),o&&a.contains(o))return{node:o};var r=e.targetNodeId;if(null!=r&&(o=a.getNodeById(r)))return{node:o}}}function o(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function r(e,t){var i=o(e);return n.indexOf(i,t)>=0}function s(e,t){var i=[];while(e){var n=e.dataIndex;i.push({name:e.name,dataIndex:n,value:t.getRawValue(n)}),e=e.parentNode}return i.reverse(),i}t.retrieveTargetInfo=a,t.getPathToRoot=o,t.aboveViewRoot=r,t.wrapTreePathInfo=s},5866:function(e,t,i){var n=i("ef2b"),a=n.forceLayout,o=i("1c5f"),r=o.simpleLayout,s=i("94e4"),l=s.circularLayout,u=i("3842"),c=u.linearMap,d=i("401b"),h=i("6d8b");function p(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var i=e.preservedPoints||{},n=e.getGraph(),o=n.data,s=n.edgeData,u=e.getModel("force"),p=u.get("initLayout");e.preservedPoints?o.each((function(e){var t=o.getId(e);o.setItemLayout(e,i[t]||[NaN,NaN])})):p&&"none"!==p?"circular"===p&&l(e):r(e);var f=o.getDataExtent("value"),g=s.getDataExtent("value"),m=u.get("repulsion"),v=u.get("edgeLength");h.isArray(m)||(m=[m,m]),h.isArray(v)||(v=[v,v]),v=[v[1],v[0]];var y=o.mapArray("value",(function(e,t){var i=o.getItemLayout(t),n=c(e,f,m);return isNaN(n)&&(n=(m[0]+m[1])/2),{w:n,rep:n,fixed:o.getItemModel(t).get("fixed"),p:!i||isNaN(i[0])||isNaN(i[1])?null:i}})),x=s.mapArray("value",(function(e,t){var i=n.getEdgeByIndex(t),a=c(e,g,v);return isNaN(a)&&(a=(v[0]+v[1])/2),{n1:y[i.node1.dataIndex],n2:y[i.node2.dataIndex],d:a,curveness:i.getModel().get("lineStyle.curveness")||0}})),_=(t=e.coordinateSystem,t.getBoundingRect()),b=a(y,x,{rect:_,gravity:u.get("gravity")}),w=b.step;b.step=function(e){for(var t=0,a=y.length;t=0;r--)null==i[r]&&(delete a[t[r]],t.pop())}function f(e,t){var i=e.visual,a=[];n.isObject(i)?s(i,(function(e){a.push(e)})):null!=i&&a.push(i);var o={color:1,symbol:1};t||1!==a.length||o.hasOwnProperty(e.type)||(a[1]=a[0]),w(e,a)}function g(e){return{applyVisual:function(t,i,n){t=this.mapValueToVisual(t),n("color",e(i("color"),t))},_doMap:_([0,1])}}function m(e){var t=this.option.visual;return t[Math.round(r(e,[0,1],[0,t.length-1],!0))]||{}}function v(e){return function(t,i,n){n(e,this.mapValueToVisual(t))}}function y(e){var t=this.option.visual;return t[this.option.loop&&e!==u?e%t.length:e]}function x(){return this.option.visual[0]}function _(e){return{linear:function(t){return r(t,e,this.option.visual,!0)},category:y,piecewise:function(t,i){var n=b.call(this,i);return null==n&&(n=r(t,e,this.option.visual,!0)),n},fixed:x}}function b(e){var t=this.option,i=t.pieceList;if(t.hasSpecialVisual){var n=c.findPieceIndex(e,i),a=i[n];if(a&&a.visual)return a.visual[this.type]}}function w(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=n.map(t,(function(e){return a.parse(e)}))),t}var S={linear:function(e){return r(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,i=c.findPieceIndex(e,t,!0);if(null!=i)return r(i,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?u:t},fixed:n.noop};function M(e,t,i){return e?t<=i:t0?1:-1,r=n.height>0?1:-1;return{x:n.x+o*a/2,y:n.y+r*a/2,width:n.width-o*a,height:n.height-r*a}},polar:function(e,t,i){var n=e.getItemLayout(t);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle}}};function y(e,t,i,n,a,s,u,c){var d=t.getItemVisual(i,"color"),h=t.getItemVisual(i,"opacity"),p=n.getModel("itemStyle"),f=n.getModel("emphasis.itemStyle").getBarItemStyle();c||e.setShape("r",p.get("barBorderRadius")||0),e.useStyle(o.defaults({fill:d,opacity:h},p.getBarItemStyle()));var g=n.getShallow("cursor");g&&e.attr("cursor",g);var m=u?a.height>0?"bottom":"top":a.width>0?"left":"right";c||l(e.style,f,n,d,s,i,m),r.setHoverStyle(e,f)}function x(e,t){var i=e.get(h)||0;return Math.min(i,Math.abs(t.width),Math.abs(t.height))}var _=d.extend({type:"largeBar",shape:{points:[]},buildPath:function(e,t){for(var i=t.points,n=this.__startPoint,a=this.__valueIdx,o=0;oi.blockIndex,o=a?i.step:null,r=n&&n.modDataCount,s=null!=r?Math.ceil(r/o):null;return{step:o,modBy:s,modDataCount:r}}},y.getPipeline=function(e){return this._pipelineMap.get(e)},y.updateStreamModes=function(e,t){var i=this._pipelineMap.get(e.uid),n=e.getData(),a=n.count(),o=i.progressiveEnabled&&t.incrementalPrepareRender&&a>=i.threshold,r=e.get("large")&&a>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?a:null;e.pipelineContext=i.context={progressiveRender:o,modDataCount:s,large:r}},y.restorePipelines=function(e){var t=this,i=t._pipelineMap=s();e.eachSeries((function(e){var n=e.getProgressive(),a=e.uid;i.set(a,{id:a,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:n&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(n||700),count:0}),k(t,e,e.dataTask)}))},y.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.ecInstance.getModel(),i=this.api;a(this._allHandlers,(function(n){var a=e.get(n.uid)||e.set(n.uid,[]);n.reset&&b(this,n,a,t,i),n.overallReset&&w(this,n,a,t,i)}),this)},y.prepareView=function(e,t,i,n){var a=e.renderTask,o=a.context;o.model=t,o.ecModel=i,o.api=n,a.__block=!e.incrementalPrepareRender,k(this,t,a)},y.performDataProcessorTasks=function(e,t){x(this,this._dataProcessorHandlers,e,t,{block:!0})},y.performVisualTasks=function(e,t,i){x(this,this._visualHandlers,e,t,i)},y.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t|=e.dataTask.perform()})),this.unfinished|=t},y.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))};var _=y.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)};function b(e,t,i,n,a){var o=i.seriesTaskMap||(i.seriesTaskMap=s()),r=t.seriesType,l=t.getTargetSeries;function u(i){var r=i.uid,s=o.get(r)||o.set(r,c({plan:T,reset:D,count:P}));s.context={model:i,ecModel:n,api:a,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:e},k(e,i,s)}t.createOnAllSeries?n.eachRawSeries(u):r?n.eachRawSeriesByType(r,u):l&&l(n,a).each(u);var d=e._pipelineMap;o.each((function(e,t){d.get(t)||(e.dispose(),o.removeKey(t))}))}function w(e,t,i,n,o){var r=i.overallTask=i.overallTask||c({reset:S});r.context={ecModel:n,api:o,overallReset:t.overallReset,scheduler:e};var l=r.agentStubMap=r.agentStubMap||s(),u=t.seriesType,d=t.getTargetSeries,h=!0,p=t.modifyOutputEnd;function f(t){var i=t.uid,n=l.get(i);n||(n=l.set(i,c({reset:M,onDirty:A})),r.dirty()),n.context={model:t,overallProgress:h,modifyOutputEnd:p},n.agent=r,n.__block=h,k(e,t,n)}u?n.eachRawSeriesByType(u,f):d?d(n,o).each(f):(h=!1,a(n.getSeries(),f));var g=e._pipelineMap;l.each((function(e,t){g.get(t)||(e.dispose(),r.dirty(),l.removeKey(t))}))}function S(e){e.overallReset(e.ecModel,e.api,e.payload)}function M(e,t){return e.overallProgress&&I}function I(){this.agent.dirty(),this.getDownstream().dirty()}function A(){this.agent&&this.agent.dirty()}function T(e){return e.plan&&e.plan(e.model,e.ecModel,e.api,e.payload)}function D(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=m(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?o(t,(function(e,t){return L(t)})):C}var C=L(0);function L(e){return function(t,i){var n=i.data,a=i.resetDefines[e];if(a&&a.dataEach)for(var o=t.start;o=0;l--)if(n[l]<=t)break;l=Math.min(l,a-2)}else{for(var l=o;lt)break;l=Math.min(l-1,a-2)}r.lerp(e.position,i[l],i[l+1],(t-n[l])/(n[l+1]-n[l]));var u=i[l+1][0]-i[l][0],c=i[l+1][1]-i[l][1];e.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=t,e.ignore=!1}},a.inherits(s,o);var u=s;e.exports=u},"6acf":function(e,t,i){var n=i("eda2"),a=i("dcb3"),o=i("2306"),r=i("ff2e"),s=i("1687"),l=i("fab2"),u=i("6679"),c=a.extend({makeElOption:function(e,t,i,a,o){var s=i.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l,u=s.polar,c=u.getOtherAxis(s),p=c.getExtent();l=s["dataTo"+n.capitalFirst(s.dim)](t);var f=a.get("type");if(f&&"none"!==f){var g=r.buildElStyle(a),m=h[f](s,u,l,p,g);m.style=g,e.graphicKey=m.type,e.pointer=m}var v=a.get("label.margin"),y=d(t,i,a,u,v);r.buildLabelElOption(e,i,a,o,y)}});function d(e,t,i,n,a){var r=t.axis,u=r.dataToCoord(e),c=n.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var d,h,p,f=n.getRadiusAxis().getExtent();if("radius"===r.dim){var g=s.create();s.rotate(g,g,c),s.translate(g,g,[n.cx,n.cy]),d=o.applyTransform([u,-a],g);var m=t.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(c,m*Math.PI/180,-1);h=v.textAlign,p=v.textVerticalAlign}else{var y=f[1];d=n.coordToPoint([y+a,u]);var x=n.cx,_=n.cy;h=Math.abs(d[0]-x)/y<.3?"center":d[0]>x?"left":"right",p=Math.abs(d[1]-_)/y<.3?"middle":d[1]>_?"top":"bottom"}return{position:d,align:h,verticalAlign:p}}var h={line:function(e,t,i,n,a){return"angle"===e.dim?{type:"Line",shape:r.makeLineShape(t.coordToPoint([n[0],i]),t.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:i}}},shadow:function(e,t,i,n,a){var o=Math.max(1,e.getBandWidth()),s=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:r.makeSectorShape(t.cx,t.cy,n[0],n[1],(-i-o/2)*s,(o/2-i)*s)}:{type:"Sector",shape:r.makeSectorShape(t.cx,t.cy,i-o/2,i+o/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var p=c;e.exports=p},"6bd4":function(e,t){var i={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function n(e,t){if("world"===e){var n=i[t.name];if(n){var a=t.center;a[0]=n[0],a[1]=n[1]}}}e.exports=n},"6c12":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),o=i("6d8b"),r=i("fab2"),s=i("2306"),l=["axisLine","axisTickLabel","axisName"],u=a.extendComponentView({type:"radar",render:function(e,t,i){var n=this.group;n.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,i=t.getIndicatorAxes(),n=o.map(i,(function(e){var i=new r(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i}));o.each(n,(function(e){o.each(l,e.add,e),this.group.add(e.getGroup())}),this)},_buildSplitLineAndArea:function(e){var t=e.coordinateSystem,i=t.getIndicatorAxes();if(i.length){var n=e.get("shape"),a=e.getModel("splitLine"),r=e.getModel("splitArea"),l=a.getModel("lineStyle"),u=r.getModel("areaStyle"),c=a.get("show"),d=r.get("show"),h=l.get("color"),p=u.get("color");h=o.isArray(h)?h:[h],p=o.isArray(p)?p:[p];var f=[],g=[];if("circle"===n)for(var m=i[0].getTicksCoords(),v=t.cx,y=t.cy,x=0;x=0;r--)o=n.merge(o,t[r],!0);e.defaultOption=o}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});function g(e){var t=[];return n.each(f.getClassesByMainType(e),(function(e){t=t.concat(e.prototype.dependencies||[])})),t=n.map(t,(function(e){return l(e).main})),"dataset"!==e&&n.indexOf(t,"dataset")<=0&&t.unshift("dataset"),t}s(f,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(f),o.enableTopologicalTravel(f,g),n.mixin(f,h);var m=f;e.exports=m},"6cc5":function(e,t,i){var n=i("6d8b"),a=i("401b"),o=i("1687"),r=i("9850"),s=i("0cde"),l=a.applyTransform;function u(){s.call(this)}function c(e){this.name=e,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function d(e,t,i,n){var a=i.seriesModel,o=a?a.coordinateSystem:null;return o===this?o[e](n):null}n.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,i,n){return this._rect=new r(e,t,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,i,n){this.transformTo(e,t,i,n),this._viewRect=new r(e,t,i,n)},transformTo:function(e,t,i,n){var a=this.getBoundingRect(),o=this._rawTransformable;o.transform=a.calculateTransform(new r(e,t,i,n)),o.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect(),t=e.x+e.width/2,i=e.y+e.height/2;return[t,i]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,i=this.getDefaultCenter(),n=this.getCenter(),o=this.getZoom();n=a.applyTransform([],n,e),i=a.applyTransform([],i,e),t.origin=n,t.position=[i[0]-n[0],i[1]-n[1]],t.scale=[o,o],this._updateTransform()},_updateTransform:function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),o.copy(this.transform||(this.transform=[]),t.transform||o.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],o.invert(this.invTransform,this.transform),this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e,t,i){var n=t?this._rawTransform:this.transform;return i=i||[],n?l(i,e,n):a.copy(i,e)},pointToData:function(e){var t=this.invTransform;return t?l([],e,t):[e[0],e[1]]},convertToPixel:n.curry(d,"dataToPoint"),convertFromPixel:n.curry(d,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},n.mixin(c,s);var h=c;e.exports=h},"6cd8":function(e,t,i){var n=i("6d8b"),a=i("2306"),o=i("1418"),r=i("22da"),s=r.radialCoordinate,l=i("3eba"),u=i("e263"),c=i("6cc5"),d=i("01ef"),h=i("4a01"),p=i("c526"),f=p.onIrrelevantElement,g=l.extendChartView({type:"tree",init:function(e,t){this._oldTree,this._mainGroup=new a.Group,this._controller=new h(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(e,t,i,n){var a=e.getData(),o=e.layoutInfo,r=this._mainGroup,s=e.get("layout");"radial"===s?r.attr("position",[o.x+o.width/2,o.y+o.height/2]):r.attr("position",[o.x,o.y]),this._updateViewCoordSys(e),this._updateController(e,t,i);var l=this._data,u={expandAndCollapse:e.get("expandAndCollapse"),layout:s,orient:e.getOrient(),curvature:e.get("lineStyle.curveness"),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};a.diff(l).add((function(t){m(a,t)&&y(a,t,null,r,e,u)})).update((function(t,i){var n=l.getItemGraphicEl(i);m(a,t)?y(a,t,n,r,e,u):n&&x(l,i,n,r,e,u)})).remove((function(t){var i=l.getItemGraphicEl(t);i&&x(l,t,i,r,e,u)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===u.expandAndCollapse&&a.eachItemGraphicEl((function(t,n){t.off("click").on("click",(function(){i.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:n})}))})),this._data=a},_updateViewCoordSys:function(e){var t=e.getData(),i=[];t.each((function(e){var n=t.getItemLayout(e);!n||isNaN(n.x)||isNaN(n.y)||i.push([+n.x,+n.y])}));var n=[],a=[];u.fromPoints(i,n,a),a[0]-n[0]===0&&(a[0]+=1,n[0]-=1),a[1]-n[1]===0&&(a[1]+=1,n[1]-=1);var o=e.coordinateSystem=new c;o.zoomLimit=e.get("scaleLimit"),o.setBoundingRect(n[0],n[1],a[0]-n[0],a[1]-n[1]),o.setCenter(e.get("center")),o.setZoom(e.get("zoom")),this.group.attr({position:o.position,scale:o.scale}),this._viewCoordSys=o},_updateController:function(e,t,i){var n=this._controller,a=this._controllerHost,o=this.group;n.setPointerChecker((function(t,n,a){var r=o.getBoundingRect();return r.applyTransform(o.transform),r.contain(n,a)&&!f(t,i,e)})),n.enable(e.get("roam")),a.zoomLimit=e.get("scaleLimit"),a.zoom=e.coordinateSystem.getZoom(),n.off("pan").off("zoom").on("pan",(function(t){d.updateViewOnPan(a,t.dx,t.dy),i.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})}),this).on("zoom",(function(t){d.updateViewOnZoom(a,t.scale,t.originX,t.originY),i.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(e)}),this)},_updateNodeAndLinkScale:function(e){var t=e.getData(),i=this._getNodeGlobalScale(e),n=[i,i];t.eachItemGraphicEl((function(e,t){e.attr("scale",n)}))},_getNodeGlobalScale:function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var i=this._nodeScaleRatio,n=t.scale,a=n&&n[0]||1,o=t.getZoom(),r=(o-1)*i+1;return r/a},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function m(e,t){var i=e.getItemLayout(t);return i&&!isNaN(i.x)&&!isNaN(i.y)&&"none"!==e.getItemVisual(t,"symbol")}function v(e,t,i){return i.itemModel=t,i.itemStyle=t.getModel("itemStyle").getItemStyle(),i.hoverItemStyle=t.getModel("emphasis.itemStyle").getItemStyle(),i.lineStyle=t.getModel("lineStyle").getLineStyle(),i.labelModel=t.getModel("label"),i.hoverLabelModel=t.getModel("emphasis.label"),!1===e.isExpand&&0!==e.children.length?i.symbolInnerColor=i.itemStyle.fill:i.symbolInnerColor="#fff",i}function y(e,t,i,r,s,l){var u=!i,c=e.tree.getNodeByDataIndex(t),d=c.getModel(),h=(l=v(c,d,l),e.tree.root),p=c.parentNode===h?c:c.parentNode||c,f=e.getItemGraphicEl(p.dataIndex),g=p.getLayout(),m=f?{x:f.position[0],y:f.position[1],rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:g,y=c.getLayout();u?(i=new o(e,t,l),i.attr("position",[m.x,m.y])):i.updateData(e,t,l),i.__radialOldRawX=i.__radialRawX,i.__radialOldRawY=i.__radialRawY,i.__radialRawX=y.rawX,i.__radialRawY=y.rawY,r.add(i),e.setItemGraphicEl(t,i),a.updateProps(i,{position:[y.x,y.y]},s);var x=i.getSymbolPath();if("radial"===l.layout){var b,w,S=h.children[0],M=S.getLayout(),I=S.children.length;if(y.x===M.x&&!0===c.isExpand){var A={};A.x=(S.children[0].getLayout().x+S.children[I-1].getLayout().x)/2,A.y=(S.children[0].getLayout().y+S.children[I-1].getLayout().y)/2,b=Math.atan2(A.y-M.y,A.x-M.x),b<0&&(b=2*Math.PI+b),w=A.xM.x,w||(b-=Math.PI));var T=w?"left":"right";x.setStyle({textPosition:T,textRotation:-b,textOrigin:"center",verticalAlign:"middle"})}if(c.parentNode&&c.parentNode!==h){var D=i.__edge;D||(D=i.__edge=new a.BezierCurve({shape:_(l,m,m),style:n.defaults({opacity:0,strokeNoScale:!0},l.lineStyle)})),a.updateProps(D,{shape:_(l,g,y),style:{opacity:1}},s),r.add(D)}}function x(e,t,i,n,o,r){var s,l=e.tree.getNodeByDataIndex(t),u=e.tree.root,c=l.getModel(),d=(r=v(l,c,r),l.parentNode===u?l:l.parentNode||l);while(s=d.getLayout(),null==s)d=d.parentNode===u?d:d.parentNode||d;a.updateProps(i,{position:[s.x+1,s.y+1]},o,(function(){n.remove(i),e.setItemGraphicEl(t,null)})),i.fadeOut(null,{keepLabel:!0});var h=i.__edge;h&&a.updateProps(h,{shape:_(r,s,s),style:{opacity:0}},o,(function(){n.remove(h)}))}function _(e,t,i){var n,a,o,r,l,u,c,d,h=e.orient;if("radial"===e.layout){l=t.rawX,c=t.rawY,u=i.rawX,d=i.rawY;var p=s(l,c),f=s(l,c+(d-c)*e.curvature),g=s(u,d+(c-d)*e.curvature),m=s(u,d);return{x1:p.x,y1:p.y,x2:m.x,y2:m.y,cpx1:f.x,cpy1:f.y,cpx2:g.x,cpy2:g.y}}return l=t.x,c=t.y,u=i.x,d=i.y,"LR"!==h&&"RL"!==h||(n=l+(u-l)*e.curvature,a=c,o=u+(l-u)*e.curvature,r=d),"TB"!==h&&"BT"!==h||(n=l,a=c+(d-c)*e.curvature,o=u,r=d+(c-d)*e.curvature),{x1:l,y1:c,x2:u,y2:d,cpx1:n,cpy1:a,cpx2:o,cpy2:r}}e.exports=g},"6d9a":function(e,t){function i(e,t,i){var n,a=[e],o=[];while(n=a.pop())if(o.push(n),n.isExpand){var r=n.children;if(r.length)for(var s=0;s=0;o--)n.push(a[o])}}t.eachAfter=i,t.eachBefore=n},"6fda":function(e,t,i){var n=i("6d8b"),a=n.each,o="\0_ec_hist_store";function r(e,t){var i=c(e);a(t,(function(t,n){for(var a=i.length-1;a>=0;a--){var o=i[a];if(o[n])break}if(a<0){var r=e.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(r){var s=r.getPercentRange();i[0][n]={dataZoomId:n,start:s[0],end:s[1]}}}})),i.push(t)}function s(e){var t=c(e),i=t[t.length-1];t.length>1&&t.pop();var n={};return a(i,(function(e,i){for(var a=t.length-1;a>=0;a--){e=t[a][i];if(e){n[i]=e;break}}})),n}function l(e){e[o]=null}function u(e){return c(e).length}function c(e){var t=e[o];return t||(t=e[o]=[{}]),t}t.push=r,t.pop=s,t.clear=l,t.count=u},7023:function(e,t,i){var n=i("6d8b"),a={updateSelectedMap:function(e){this._targetList=n.isArray(e)?e.slice():[],this._selectTargetMap=n.reduce(e||[],(function(e,t){return e.set(t.name,t),e}),n.createHashMap())},select:function(e,t){var i=null!=t?this._targetList[t]:this._selectTargetMap.get(e),n=this.get("selectedMode");"single"===n&&this._selectTargetMap.each((function(e){e.selected=!1})),i&&(i.selected=!0)},unSelect:function(e,t){var i=null!=t?this._targetList[t]:this._selectTargetMap.get(e);i&&(i.selected=!1)},toggleSelected:function(e,t){var i=null!=t?this._targetList[t]:this._selectTargetMap.get(e);if(null!=i)return this[i.selected?"unSelect":"select"](e,t),i.selected},isSelected:function(e,t){var i=null!=t?this._targetList[t]:this._selectTargetMap.get(e);return i&&i.selected}};e.exports=a},"71ad":function(e,t,i){var n=i("6d8b"),a={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},o={};o.categoryAxis=n.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},a),o.valueAxis=n.merge({boundaryGap:[0,0],splitNumber:5},a),o.timeAxis=n.defaults({scale:!0,min:"dataMin",max:"dataMax"},o.valueAxis),o.logAxis=n.defaults({scale:!0,logBase:10},o.valueAxis);var r=o;e.exports=r},"71b2":function(e,t,i){var n=i("6d8b"),a=n.createHashMap;function o(e){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),i=e.getRawData(),n=e.get("color"),o=a();t.each((function(e){o.set(t.getRawIndex(e),e)})),i.each((function(a){var r=i.getName(a),s=n[(e.nameMap.get(r)-1)%n.length];i.setItemVisual(a,"color",s);var l=o.get(a);null!=l&&t.setItemVisual(l,"color",s)}))}))}e.exports=o},7293:function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("4f85")),o=i("6179"),r=i("6d8b"),s=r.concatArray,l=r.mergeAll,u=r.map,c=i("eda2"),d=c.encodeHTML,h=(i("2039"),"undefined"===typeof Uint32Array?Array:Uint32Array),p="undefined"===typeof Float64Array?Array:Float64Array;function f(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=u(t,(function(e){var t=[e[0].coord,e[1].coord],i={coords:t};return e[0].name&&(i.fromName=e[0].name),e[1].name&&(i.toName=e[1].name),l([i,e[0],e[1]])})))}var g=a.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(e){e.data=e.data||[],f(e);var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),g.superApply(this,"init",arguments)},mergeOption:function(e){if(e.data=e.data||[],f(e),e.data){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count))}g.superApply(this,"mergeOption",arguments)},appendData:function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=s(this._flatCoords,t.flatCoords),this._flatCoordsOffset=s(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},_getCoordsFromItemModel:function(e){var t=this.getData().getItemModel(e),i=t.option instanceof Array?t.option:t.getShallow("coords");return i},getLineCoordsCount:function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},getLineCoords:function(e,t){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[2*e],n=this._flatCoordsOffset[2*e+1],a=0;a "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},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,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),m=g;e.exports=m},"72b6":function(e,t,i){var n=i("3eba"),a=i("6d8b"),o=i("2306"),r=i("eda2"),s=i("f934"),l=i("5f14"),u=n.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,i,n){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,i=r.normalizeCssArray(t.get("padding")||0),n=e.getBoundingRect();e.add(new o.Rect({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,i){i=i||{};var n=i.forceState,o=this.visualMapModel,r={};if("symbol"===t&&(r.symbol=o.get("itemSymbol")),"color"===t){var s=o.get("contentColor");r.color=s}function u(e){return r[e]}function c(e,t){r[e]=t}var d=o.controllerVisuals[n||o.getValueState(e)],h=l.prepareVisualTypes(d);return a.each(h,(function(n){var a=d[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",a=d.__alphaForOpacity),l.dependsOn(n,t)&&a&&a.applyVisual(e,u,c)})),r[t]},positionGroup:function(e){var t=this.visualMapModel,i=this.api;s.positionElement(e,t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:a.noop});e.exports=u},7368:function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),o=i("625e"),r=o.enableClassCheck;function s(e){return"_EC_"+e}var l=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},u=l.prototype;function c(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function d(e,t,i){this.node1=e,this.node2=t,this.dataIndex=null==i?-1:i}u.type="graph",u.isDirected=function(){return this._directed},u.addNode=function(e,t){e=e||""+t;var i=this._nodesMap;if(!i[s(e)]){var n=new c(e,t);return n.hostGraph=this,this.nodes.push(n),i[s(e)]=n,n}},u.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},u.getNodeById=function(e){return this._nodesMap[s(e)]},u.addEdge=function(e,t,i){var n=this._nodesMap,a=this._edgesMap;if("number"===typeof e&&(e=this.nodes[e]),"number"===typeof t&&(t=this.nodes[t]),c.isInstance(e)||(e=n[s(e)]),c.isInstance(t)||(t=n[s(t)]),e&&t){var o=e.id+"-"+t.id;if(!a[o]){var r=new d(e,t,i);return r.hostGraph=this,this._directed&&(e.outEdges.push(r),t.inEdges.push(r)),e.edges.push(r),e!==t&&t.edges.push(r),this.edges.push(r),a[o]=r,r}}},u.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},u.getEdge=function(e,t){c.isInstance(e)&&(e=e.id),c.isInstance(t)&&(t=t.id);var i=this._edgesMap;return this._directed?i[e+"-"+t]:i[e+"-"+t]||i[t+"-"+e]},u.eachNode=function(e,t){for(var i=this.nodes,n=i.length,a=0;a=0&&e.call(t,i[a],a)},u.eachEdge=function(e,t){for(var i=this.edges,n=i.length,a=0;a=0&&i[a].node1.dataIndex>=0&&i[a].node2.dataIndex>=0&&e.call(t,i[a],a)},u.breadthFirstTraverse=function(e,t,i,n){if(c.isInstance(t)||(t=this._nodesMap[s(t)]),t){for(var a="out"===i?"outEdges":"in"===i?"inEdges":"edges",o=0;o=0&&i.node2.dataIndex>=0}));for(a=0,o=n.length;a=0&&this[e][t].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[e][t].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};a.mixin(c,h("hostGraph","data")),a.mixin(d,h("hostGraph","edgeData")),l.Node=c,l.Edge=d,r(c),r(d);var p=l;e.exports=p},"73ca":function(e,t,i){var n=i("2306"),a=i("7e5b");function o(e){this._ctor=e||a,this.group=new n.Group}var r=o.prototype;function s(e,t,i,n){var a=t.getItemLayout(i);if(d(a)){var o=new e._ctor(t,i,n);t.setItemGraphicEl(i,o),e.group.add(o)}}function l(e,t,i,n,a,o){var r=t.getItemGraphicEl(n);d(i.getItemLayout(a))?(r?r.updateData(i,a,o):r=new e._ctor(i,a,o),i.setItemGraphicEl(a,r),e.group.add(r)):e.group.remove(r)}function u(e){var t=e.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function c(e){return isNaN(e[0])||isNaN(e[1])}function d(e){return!c(e[0])&&!c(e[1])}r.isPersistent=function(){return!0},r.updateData=function(e){var t=this,i=t.group,n=t._lineData;t._lineData=e,n||i.removeAll();var a=u(e);e.diff(n).add((function(i){s(t,e,i,a)})).update((function(i,o){l(t,n,e,o,i,a)})).remove((function(e){i.remove(n.getItemGraphicEl(e))})).execute()},r.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,i){t.updateLayout(e,i)}),this)},r.incrementalPrepareUpdate=function(e){this._seriesScope=u(e),this._lineData=null,this.group.removeAll()},r.incrementalUpdate=function(e,t){function i(e){e.isGroup||(e.incremental=e.useHoverLayer=!0)}for(var n=e.start;n=0)return!0}var v=new RegExp("["+c+"]+","g");function y(e){for(var t=e.split(/\n+/g),i=g(t.shift()).split(v),n=[],o=a.map(i,(function(e){return{name:e,data:[]}})),r=0;r1?"emphasis":"normal")}function x(e,t,i,n,a){var o=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(o="dataZoomSelect"===n.key&&n.dataZoomSelectActive),i._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var s=new r(v(e.option),t,{include:["grid"]});i._brushController.setPanels(s.makePanelOpts(a,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!o&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}g._onBrush=function(e,t){if(t.isEnd&&e.length){var i={},n=this.ecModel;this._brushController.updateCovers([]);var a=new r(v(this.model.option),n,{include:["grid"]});a.matchOutputRanges(e,n,(function(e,t,i){if("cartesian2d"===i.type){var n=e.brushType;"rect"===n?(o("x",i,t[0]),o("y",i,t[1])):o({lineX:"x",lineY:"y"}[n],i,t)}})),s.push(n,i),this._dispatchZoomAction(i)}function o(e,t,a){var o=t.getAxis(e),r=o.model,s=u(e,r,n),c=s.findRepresentativeAxisProxy(r).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(a=l(0,a.slice(),o.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),s&&(i[s.id]={dataZoomId:s.id,startValue:a[0],endValue:a[1]})}function u(e,t,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},(function(i){var a=i.getAxisModel(e,t.componentIndex);a&&(n=i)})),n}},g._dispatchZoomAction=function(e){var t=[];h(e,(function(e,i){t.push(a.clone(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},c.register("dataZoom",f),n.registerPreprocessor((function(e){if(e){var t=e.dataZoom||(e.dataZoom=[]);a.isArray(t)||(e.dataZoom=t=[t]);var i=e.toolbox;if(i&&(a.isArray(i)&&(i=i[0]),i&&i.feature)){var n=i.feature.dataZoom;o("xAxis",n),o("yAxis",n)}}function o(e,i){if(i){var n=e+"Index",o=i[n];null==o||"all"===o||a.isArray(o)||(o=!1===o||"none"===o?[]:[o]),r(e,(function(i,r){if(null==o||"all"===o||-1!==a.indexOf(o,r)){var s={type:"select",$fromToolbox:!0,id:p+e+r};s[n]=r,t.push(s)}}))}}function r(t,i){var n=e[t];a.isArray(n)||(n=n?[n]:[]),h(n,i)}}));var _=f;e.exports=_},"7dcf":function(e,t,i){var n=i("b12f"),a=n.extend({type:"dataZoom",render:function(e,t,i,n){this.dataZoomModel=e,this.ecModel=t,this.api=i},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,i={};function n(e,t,i,n){for(var a,o=0;o.8?"left":d[0]<-.8?"right":"center",g=d[1]>.8?"top":d[1]<-.8?"bottom":"middle";else if("middle"===n.__position){var v=l/2,y=(h=s.tangentAt(v),[h[1],-h[0]]),x=s.pointAt(v);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]),p=[x[0]+y[0]*m,x[1]+y[1]*m],f="center",g="bottom";var _=-Math.atan2(h[1],h[0]);c[0].8?"right":d[0]<-.8?"left":"center",g=d[1]>.8?"bottom":d[1]<-.8?"top":"middle";n.attr({style:{textVerticalAlign:n.__verticalAlign||g,textAlign:n.__textAlign||f},position:p,scale:[o,o]})}}}}function m(e,t,i){s.Group.call(this),this._createLine(e,t,i)}var v=m.prototype;v.beforeUpdate=g,v._createLine=function(e,t,i){var a=e.hostModel,o=e.getItemLayout(t),r=p(o);r.shape.percent=0,s.initProps(r,{shape:{percent:1}},a,t),this.add(r);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),n.each(c,(function(i){var n=h(i,e,t);this.add(n),this[d(i)]=e.getItemVisual(t,i)}),this),this._updateCommonStl(e,t,i)},v.updateData=function(e,t,i){var a=e.hostModel,o=this.childOfName("line"),r=e.getItemLayout(t),l={shape:{}};f(l.shape,r),s.updateProps(o,l,a,t),n.each(c,(function(i){var n=e.getItemVisual(t,i),a=d(i);if(this[a]!==n){this.remove(this.childOfName(i));var o=h(i,e,t);this.add(o)}this[a]=n}),this),this._updateCommonStl(e,t,i)},v._updateCommonStl=function(e,t,i){var a=e.hostModel,o=this.childOfName("line"),r=i&&i.lineStyle,l=i&&i.hoverLineStyle,d=i&&i.labelModel,h=i&&i.hoverLabelModel;if(!i||e.hasItemOption){var p=e.getItemModel(t);r=p.getModel("lineStyle").getLineStyle(),l=p.getModel("emphasis.lineStyle").getLineStyle(),d=p.getModel("label"),h=p.getModel("emphasis.label")}var f=e.getItemVisual(t,"color"),g=n.retrieve3(e.getItemVisual(t,"opacity"),r.opacity,1);o.useStyle(n.defaults({strokeNoScale:!0,fill:"none",stroke:f,opacity:g},r)),o.hoverStyle=l,n.each(c,(function(e){var t=this.childOfName(e);t&&(t.setColor(f),t.setStyle({opacity:g}))}),this);var m,v,y=d.getShallow("show"),x=h.getShallow("show"),_=this.childOfName("label");if((y||x)&&(m=f||"#000",v=a.getFormattedLabel(t,"normal",e.dataType),null==v)){var b=a.getRawValue(t);v=null==b?e.getName(t):isFinite(b)?u(b):b}var w=y?v:null,S=x?n.retrieve2(a.getFormattedLabel(t,"emphasis",e.dataType),v):null,M=_.style;null==w&&null==S||(s.setTextStyle(_.style,d,{text:w},{autoColor:m}),_.__textAlign=M.textAlign,_.__verticalAlign=M.textVerticalAlign,_.__position=d.get("position")||"middle"),_.hoverStyle=null!=S?{text:S,textFill:h.getTextColor(!0),fontStyle:h.getShallow("fontStyle"),fontWeight:h.getShallow("fontWeight"),fontSize:h.getShallow("fontSize"),fontFamily:h.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!x,s.setHoverStyle(this)},v.highlight=function(){this.trigger("emphasis")},v.downplay=function(){this.trigger("normal")},v.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},v.setLinePoints=function(e){var t=this.childOfName("line");f(t.shape,e),t.dirty()},n.inherits(m,s.Group);var y=m;e.exports=y},"7e63":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),o=a.each,r=a.filter,s=a.map,l=a.isArray,u=a.indexOf,c=a.isObject,d=a.isString,h=a.createHashMap,p=a.assert,f=a.clone,g=a.merge,m=a.extend,v=a.mixin,y=i("e0d3"),x=i("4319"),_=i("6cb7"),b=i("8971"),w=i("e47b"),S=i("0f99"),M=S.resetSourceDefaulter,I="\0_ec_inner",A=x.extend({init:function(e,t,i,n){i=i||{},this.option=null,this._theme=new x(i),this._optionManager=n},setOption:function(e,t){p(!(I in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,i=this._optionManager;if(!e||"recreate"===e){var n=i.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(n)):C.call(this,n),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var a=i.getTimelineOption(this);a&&(this.mergeOption(a),t=!0)}if(!e||"recreate"===e||"media"===e){var r=i.getMediaOption(this,this._api);r.length&&o(r,(function(e){this.mergeOption(e,t=!0)}),this)}return t},mergeOption:function(e){var t=this.option,i=this._componentsMap,n=[];function a(n,a){var r=y.normalizeToArray(e[n]),s=y.mappingToExists(i.get(n),r);y.makeIdAndName(s),o(s,(function(e,t){var i=e.option;c(i)&&(e.keyInfo.mainType=n,e.keyInfo.subType=P(n,i,e.exist))}));var l=L(i,a);t[n]=[],i.set(n,[]),o(s,(function(e,a){var o=e.exist,r=e.option;if(p(c(r)||o,"Empty component definition"),r){var s=_.getClass(n,e.keyInfo.subType,!0);if(o&&o instanceof s)o.name=e.keyInfo.name,o.mergeOption(r,this),o.optionUpdated(r,!1);else{var u=m({dependentModels:l,componentIndex:a},e.keyInfo);o=new s(r,this,this,u),m(o,u),o.init(r,this,this,u),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);i.get(n)[a]=o,t[n][a]=o.option}),this),"series"===n&&k(this,i.get("series"))}M(this),o(e,(function(e,i){null!=e&&(_.hasClass(i)?i&&n.push(i):t[i]=null==t[i]?f(e):g(t[i],e,!0))})),_.topologicalTravel(n,_.getAllClassMainTypes(),a,this),this._seriesIndicesMap=h(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var e=f(this.option);return o(e,(function(t,i){if(_.hasClass(i)){t=y.normalizeToArray(t);for(var n=t.length-1;n>=0;n--)y.isIdInner(t[n])&&t.splice(n,1);e[i]=t}})),delete e[I],e},getTheme:function(){return this._theme},getComponent:function(e,t){var i=this._componentsMap.get(e);if(i)return i[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var i,n=e.index,a=e.id,o=e.name,c=this._componentsMap.get(t);if(!c||!c.length)return[];if(null!=n)l(n)||(n=[n]),i=r(s(n,(function(e){return c[e]})),(function(e){return!!e}));else if(null!=a){var d=l(a);i=r(c,(function(e){return d&&u(a,e.id)>=0||!d&&e.id===a}))}else if(null!=o){var h=l(o);i=r(c,(function(e){return h&&u(o,e.name)>=0||!h&&e.name===o}))}else i=c.slice();return N(i,e)},findComponents:function(e){var t=e.query,i=e.mainType,n=o(t),a=n?this.queryComponents(n):this._componentsMap.get(i);return s(N(a,e));function o(e){var t=i+"Index",n=i+"Id",a=i+"Name";return!e||null==e[t]&&null==e[n]&&null==e[a]?null:{mainType:i,index:e[t],id:e[n],name:e[a]}}function s(t){return e.filter?r(t,e.filter):t}},eachComponent:function(e,t,i){var n=this._componentsMap;if("function"===typeof e)i=t,t=e,n.each((function(e,n){o(e,(function(e,a){t.call(i,n,e,a)}))}));else if(d(e))o(n.get(e),t,i);else if(c(e)){var a=this.findComponents(e);o(a,t,i)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return r(t,(function(t){return t.name===e}))},getSeriesByIndex:function(e){return this._componentsMap.get("series")[e]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return r(t,(function(t){return t.subType===e}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(e,t){O(this),o(this._seriesIndices,(function(i){var n=this._componentsMap.get("series")[i];e.call(t,n,i)}),this)},eachRawSeries:function(e,t){o(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,i){O(this),o(this._seriesIndices,(function(n){var a=this._componentsMap.get("series")[n];a.subType===e&&t.call(i,a,n)}),this)},eachRawSeriesByType:function(e,t,i){return o(this.getSeriesByType(e),t,i)},isSeriesFiltered:function(e){return O(this),null==this._seriesIndicesMap.get(e.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){O(this);var i=r(this._componentsMap.get("series"),e,t);k(this,i)},restoreData:function(e){var t=this._componentsMap;k(this,t.get("series"));var i=[];t.each((function(e,t){i.push(t)})),_.topologicalTravel(i,_.getAllClassMainTypes(),(function(i,n){o(t.get(i),(function(t){("series"!==i||!T(t,e))&&t.restoreData()}))}))}});function T(e,t){if(t){var i=t.seiresIndex,n=t.seriesId,a=t.seriesName;return null!=i&&e.componentIndex!==i||null!=n&&e.id!==n||null!=a&&e.name!==a}}function D(e,t){var i=e.color&&!e.colorLayer;o(t,(function(t,n){"colorLayer"===n&&i||_.hasClass(n)||("object"===typeof t?e[n]=e[n]?g(e[n],t,!1):f(t):null==e[n]&&(e[n]=t))}))}function C(e){e=e,this.option={},this.option[I]=1,this._componentsMap=h({series:[]}),this._seriesIndices,this._seriesIndicesMap,D(e,this._theme.option),g(e,b,!1),this.mergeOption(e)}function L(e,t){l(t)||(t=t?[t]:[]);var i={};return o(t,(function(t){i[t]=(e.get(t)||[]).slice()})),i}function P(e,t,i){var n=t.type?t.type:i?i.subType:_.determineSubType(e,t);return n}function k(e,t){e._seriesIndicesMap=h(e._seriesIndices=s(t,(function(e){return e.componentIndex}))||[])}function N(e,t){return t.hasOwnProperty("subType")?r(e,(function(e){return e.subType===t.subType})):e}function O(e){}v(A,w);var R=A;e.exports=R},"7f59":function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),o=i("6d8b"),r=i("e0d3"),s=i("2306"),l=i("f934");a.registerPreprocessor((function(e){var t=e.graphic;o.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}));var u=a.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,u.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var i=this.option,n=(t?i:e).elements,a=i.elements=t?[]:i.elements,s=[];this._flatten(n,s);var l=r.mappingToExists(a,s);r.makeIdAndName(l);var u=this._elOptionsToUpdate=[];o.each(l,(function(e,t){var i=e.option;i&&(u.push(i),f(e,i),g(a,t,i),m(a[t],i))}),this);for(var c=a.length-1;c>=0;c--)null==a[c]?a.splice(c,1):delete a[c].$action},_flatten:function(e,t,i){o.each(e,(function(e){if(e){i&&(e.parentOption=i),t.push(e);var n=e.children;"group"===e.type&&n&&this._flatten(n,t,e),delete e.children}}),this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});function c(e,t,i,n){var a=i.type,o=s[a.charAt(0).toUpperCase()+a.slice(1)],r=new o(i);t.add(r),n.set(e,r),r.__ecGraphicId=e}function d(e,t){var i=e&&e.parent;i&&("group"===e.type&&e.traverse((function(e){d(e,t)})),t.removeKey(e.__ecGraphicId),i.remove(e))}function h(e){return e=o.extend({},e),o.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),(function(t){delete e[t]})),e}function p(e,t){var i;return o.each(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(i=!0)})),i}function f(e,t){var i=e.exist;if(t.id=e.keyInfo.id,!t.type&&i&&(t.type=i.type),null==t.parentId){var n=t.parentOption;n?t.parentId=n.id:i&&(t.parentId=i.parentId)}t.parentOption=null}function g(e,t,i){var n=o.extend({},i),a=e[t],r=i.$action||"merge";"merge"===r?a?(o.merge(a,n,!0),l.mergeLayoutParam(a,n,{ignoreSize:!0}),l.copyLayoutParams(i,a)):e[t]=n:"replace"===r?e[t]=n:"remove"===r&&a&&(e[t]=null)}function m(e,t){e&&(e.hv=t.hv=[p(t,["left","right"]),p(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0)))}function v(e,t,i){var n=e.eventData;e.silent||e.ignore||n||(n=e.eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),n&&(n.info=e.info)}a.extendComponentView({type:"graphic",init:function(e,t){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(e,t,i){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,i)},_updateElements:function(e){var t=e.useElOptionsToUpdate();if(t){var i=this._elMap,n=this.group;o.each(t,(function(t){var a=t.$action,o=t.id,r=i.get(o),s=t.parentId,l=null!=s?i.get(s):n,u=t.style;"text"===t.type&&u&&(t.hv&&t.hv[1]&&(u.textVerticalAlign=u.textBaseline=null),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));var p=h(t);a&&"merge"!==a?"replace"===a?(d(r,i),c(o,l,p,i)):"remove"===a&&d(r,i):r?r.attr(p):c(o,l,p,i);var f=i.get(o);f&&(f.__ecGraphicWidth=t.width,f.__ecGraphicHeight=t.height,v(f,e,t))}))}},_relocate:function(e,t){for(var i=e.option.elements,n=this.group,a=this._elMap,o=i.length-1;o>=0;o--){var r=i[o],s=a.get(r.id);if(s){var u=s.parent,c=u===n?{width:t.getWidth(),height:t.getHeight()}:{width:u.__ecGraphicWidth||0,height:u.__ecGraphicHeight||0};l.positionElement(s,r,c,null,{hv:r.hv,boundingMode:r.bounding})}}},_clear:function(){var e=this._elMap;e.each((function(t){d(t,e)})),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},"7f91":function(e,t,i){var n=i("2306"),a=i("401b"),o=n.Line.prototype,r=n.BezierCurve.prototype;function s(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var l=n.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(e,t){(s(t)?o:r).buildPath(e,t)},pointAt:function(e){return s(this.shape)?o.pointAt.call(this,e):r.pointAt.call(this,e)},tangentAt:function(e){var t=this.shape,i=s(t)?[t.x2-t.x1,t.y2-t.y1]:r.tangentAt.call(this,e);return a.normalize(i,i)}});e.exports=l},"7f96":function(e,t){function i(e,t,i){return{seriesType:e,performRawSeries:!0,reset:function(e,n,a){var o=e.getData(),r=e.get("symbol")||t,s=e.get("symbolSize"),l=e.get("symbolKeepAspect");if(o.setVisual({legendSymbol:i||r,symbol:r,symbolSize:s,symbolKeepAspect:l}),!n.isSeriesFiltered(e)){var u="function"===typeof s;return{dataEach:o.hasItemOption||u?c:null}}function c(t,i){if("function"===typeof s){var n=e.getRawValue(i),a=e.getDataParams(i);t.setItemVisual(i,"symbolSize",s(n,a))}if(t.hasItemOption){var o=t.getItemModel(i),r=o.getShallow("symbol",!0),l=o.getShallow("symbolSize",!0),u=o.getShallow("symbolKeepAspect",!0);null!=r&&t.setItemVisual(i,"symbol",r),null!=l&&t.setItemVisual(i,"symbolSize",l),null!=u&&t.setItemVisual(i,"symbolKeepAspect",u)}}}}}e.exports=i},"817d":function(e,t,i){var n,a,o;(function(r,s){a=[t,i("313e")],n=s,o="function"===typeof n?n.apply(t,a):n,void 0===o||(e.exports=o)})(0,(function(e,t){var i=function(e){"undefined"!==typeof console&&console&&console.error&&console.error(e)};if(t){var n=["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],a={color:n,title:{textStyle:{fontWeight:"normal",color:"#008acd"}},visualMap:{itemWidth:15,color:["#5ab1ef","#e0ffff"]},toolbox:{iconStyle:{normal:{borderColor:n[0]}}},tooltip:{backgroundColor:"rgba(50,50,50,0.5)",axisPointer:{type:"line",lineStyle:{color:"#008acd"},crossStyle:{color:"#008acd"},shadowStyle:{color:"rgba(200,200,200,0.2)"}}},dataZoom:{dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd"},grid:{borderColor:"#eee"},categoryAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitLine:{lineStyle:{color:["#eee"]}}},valueAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.1)","rgba(200,200,200,0.1)"]}},splitLine:{lineStyle:{color:["#eee"]}}},timeline:{lineStyle:{color:"#008acd"},controlStyle:{normal:{color:"#008acd"},emphasis:{color:"#008acd"}},symbol:"emptyCircle",symbolSize:3},line:{smooth:!0,symbol:"emptyCircle",symbolSize:3},candlestick:{itemStyle:{normal:{color:"#d87a80",color0:"#2ec7c9",lineStyle:{color:"#d87a80",color0:"#2ec7c9"}}}},scatter:{symbol:"circle",symbolSize:4},map:{label:{normal:{textStyle:{color:"#d87a80"}}},itemStyle:{normal:{borderColor:"#eee",areaColor:"#ddd"},emphasis:{areaColor:"#fe994e"}}},graph:{color:n},gauge:{axisLine:{lineStyle:{color:[[.2,"#2ec7c9"],[.8,"#5ab1ef"],[1,"#d87a80"]],width:10}},axisTick:{splitNumber:10,length:15,lineStyle:{color:"auto"}},splitLine:{length:22,lineStyle:{color:"auto"}},pointer:{width:5}}};t.registerTheme("macarons",a)}else i("ECharts is not Loaded")}))},"81ac":function(e,t,i){var n=i("f934"),a=i("6d8b"),o=i("e0d3"),r=o.groupData,s=i("4e08");s.__DEV__;function l(e,t,i){e.eachSeriesByType("sankey",(function(e){var i=e.get("nodeWidth"),n=e.get("nodeGap"),o=u(e,t);e.layoutInfo=o;var r=o.width,s=o.height,l=e.getGraph(),h=l.nodes,p=l.edges;d(h);var f=a.filter(h,(function(e){return 0===e.getLayout().value})),g=0!==f.length?0:e.get("layoutIterations"),m=e.get("orient");c(h,p,i,n,r,s,g,m)}))}function u(e,t){return n.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e,t,i,n,a,o,r,s){h(e,t,i,a,o,s),g(e,t,o,a,n,r,s),A(e,s)}function d(e){a.each(e,(function(e){var t=M(e.outEdges,S),i=M(e.inEdges,S),n=Math.max(t,i);e.setLayout({value:n},!0)}))}function h(e,t,i,n,a,o){for(var r=[],s=[],l=[],u=[],c=0,d=0,h=0;h0;o--)l*=.99,x(s,l,r),y(s,a,i,n,r),I(s,l,r),y(s,a,i,n,r)}function m(e,t){var i=[],n="vertical"===t?"y":"x",o=r(e,(function(e){return e.getLayout()[n]}));return o.keys.sort((function(e,t){return e-t})),a.each(o.keys,(function(e){i.push(o.buckets.get(e))})),i}function v(e,t,i,n,o,r,s){var l=[];a.each(t,(function(e){var t=e.length,i=0,u=0;a.each(e,(function(e){i+=e.getLayout().value})),u="vertical"===s?(o-(t-1)*r)/i:(n-(t-1)*r)/i,l.push(u)})),l.sort((function(e,t){return e-t}));var u=l[0];a.each(t,(function(e){a.each(e,(function(e,t){var i=e.getLayout().value*u;"vertical"===s?(e.setLayout({x:t},!0),e.setLayout({dx:i},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:i},!0))}))})),a.each(i,(function(e){var t=+e.getValue()*u;e.setLayout({dy:t},!0)}))}function y(e,t,i,n,o){a.each(e,(function(e){var a,r,s,l=0,u=e.length;if("vertical"===o){var c;for(e.sort((function(e,t){return e.getLayout().x-t.getLayout().x})),s=0;s0&&(c=a.getLayout().x+r,a.setLayout({x:c},!0)),l=a.getLayout().x+a.getLayout().dx+t;if(r=l-t-n,r>0)for(c=a.getLayout().x-r,a.setLayout({x:c},!0),l=c,s=u-2;s>=0;--s)a=e[s],r=a.getLayout().x+a.getLayout().dx+t-l,r>0&&(c=a.getLayout().x-r,a.setLayout({x:c},!0)),l=a.getLayout().x}else{var d;for(e.sort((function(e,t){return e.getLayout().y-t.getLayout().y})),s=0;s0&&(d=a.getLayout().y+r,a.setLayout({y:d},!0)),l=a.getLayout().y+a.getLayout().dy+t;if(r=l-t-i,r>0)for(d=a.getLayout().y-r,a.setLayout({y:d},!0),l=d,s=u-2;s>=0;--s)a=e[s],r=a.getLayout().y+a.getLayout().dy+t-l,r>0&&(d=a.getLayout().y-r,a.setLayout({y:d},!0)),l=a.getLayout().y}}))}function x(e,t,i){a.each(e.slice().reverse(),(function(e){a.each(e,(function(e){if(e.outEdges.length){var n=M(e.outEdges,_,i)/M(e.outEdges,S,i);if("vertical"===i){var a=e.getLayout().x+(n-w(e,i))*t;e.setLayout({x:a},!0)}else{var o=e.getLayout().y+(n-w(e,i))*t;e.setLayout({y:o},!0)}}}))}))}function _(e,t){return w(e.node2,t)*e.getValue()}function b(e,t){return w(e.node1,t)*e.getValue()}function w(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function S(e){return e.getValue()}function M(e,t,i){var n=0,a=e.length,o=-1;while(++o=0){var u=o.indexOf(s),c=o.substr(l+r.length,u-l-r.length);c.indexOf("sub")>-1?n["marker"+c]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[c],textOffset:[3,0]}:n["marker"+c]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[c]},o=o.substr(u+1),l=o.indexOf("{marker")}this.el=new a({style:{rich:n,text:e,textLineHeight:20,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding")},z:i.get("z")}),this._zr.add(this.el);var d=this;this.el.on("mouseover",(function(){d._enterable&&(clearTimeout(d._hideTimeout),d._show=!0),d._inContent=!0})),this.el.on("mouseout",(function(){d._enterable&&d._show&&d.hideLater(d._hideDelay),d._inContent=!1}))},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el.getBoundingRect();return[e.width,e.height]},moveTo:function(e,t){this.el&&this.el.attr("position",[e,t])},hide:function(){this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){return this.getSize()}};var r=o;e.exports=r},8344:function(e,t,i){var n=i("6d8b"),a=i("f706"),o=i("3842"),r=i("6179"),s=i("923d"),l=i("88f0");function u(e,t,i){var n=t.coordinateSystem;e.each((function(a){var r,s=e.getItemModel(a),l=o.parsePercent(s.get("x"),i.getWidth()),u=o.parsePercent(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(t.getMarkerPosition)r=t.getMarkerPosition(e.getValues(e.dimensions,a));else if(n){var c=e.get(n.dimensions[0],a),d=e.get(n.dimensions[1],a);r=n.dataToPoint([c,d])}}else r=[l,u];isNaN(l)||(r[0]=l),isNaN(u)||(r[1]=u),e.setItemLayout(a,r)}))}var c=l.extend({type:"markPoint",updateTransform:function(e,t,i){t.eachSeries((function(e){var t=e.markPointModel;t&&(u(t.getData(),e,i),this.markerGroupMap.get(e.id).updateLayout(t))}),this)},renderSeries:function(e,t,i,n){var o=e.coordinateSystem,r=e.id,s=e.getData(),l=this.markerGroupMap,c=l.get(r)||l.set(r,new a),h=d(o,e,t);t.setData(h),u(t.getData(),e,n),h.each((function(e){var i=h.getItemModel(e),n=i.getShallow("symbolSize");"function"===typeof n&&(n=n(t.getRawValue(e),t.getDataParams(e))),h.setItemVisual(e,{symbolSize:n,color:i.get("itemStyle.color")||s.getVisual("color"),symbol:i.getShallow("symbol")})})),c.updateData(h),this.group.add(c.group),h.eachItemGraphicEl((function(e){e.traverse((function(e){e.dataModel=t}))})),c.__keep=!0,c.group.silent=t.get("silent")||e.get("silent")}});function d(e,t,i){var a;a=e?n.map(e&&e.dimensions,(function(e){var i=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return n.defaults({name:e},i)})):[{name:"value",type:"float"}];var o=new r(a,i),l=n.map(i.get("data"),n.curry(s.dataTransform,t));return e&&(l=n.filter(l,n.curry(s.dataFilter,e))),o.initData(l,null,e?s.dimValueGetter:function(e){return e.value}),o}e.exports=c},"83ba":function(e,t,i){var n=i("6d8b"),a=i("6cb7"),o=i("f934"),r=o.getLayoutParams,s=o.sizeCalculable,l=o.mergeLayoutParam,u=a.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(e,t,i,n){var a=r(e);u.superApply(this,"init",arguments),c(e,a)},mergeOption:function(e,t){u.superApply(this,"mergeOption",arguments),c(this.option,e)}});function c(e,t){var i=e.cellSize;n.isArray(i)?1===i.length&&(i[1]=i[0]):i=e.cellSize=[i,i];var a=n.map([0,1],(function(e){return s(t,e)&&(i[e]="auto"),null!=i[e]&&"auto"!==i[e]}));l(e,t,{type:"box",ignoreSize:a})}var d=u;e.exports=d},"843e":function(e,t,i){var n=i("6d8b"),a=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function o(e){n.each(a,(function(t){this[t]=n.bind(e[t],e)}),this)}var r=o;e.exports=r},8459:function(e,t,i){var n=i("3eba"),a={type:"axisAreaSelect",event:"axisAreaSelected"};n.registerAction(a,(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),n.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))},"849b":function(e,t,i){var n=i("d9d0"),a=i("2039");function o(e,t){var i=[];return e.eachComponent("parallel",(function(a,o){var r=new n(a,e,t);r.name="parallel_"+o,r.resize(a,t),a.coordinateSystem=r,r.model=a,i.push(r)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=i.coordinateSystem}})),i}a.register("parallel",{create:o})},"84d5":function(e,t,i){var n=i("3eba"),a=i("6d8b"),o=i("4319"),r=i("e0d3"),s=r.isNameSpecified,l=n.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{}},mergeOption:function(e){l.superCall(this,"mergeOption",e)},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,i=0;i=0},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}}),u=l;e.exports=u},"870e":function(e,t){function i(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),i=[],n=e.coordinateSystem;if(n){for(var a=n.getIndicatorAxes(),o=0;o ")),a.value&&(l+=" : "+c(a.value)),l}return h.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=o.map(this.option.categories||[],(function(e){return null!=e.value?e:o.extend({value:0},e)})),t=new a(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e,!0)}))},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return h.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,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle"},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),p=h;e.exports=p},"87c3":function(e,t,i){var n=i("6d8b"),a=n.map,o=i("cccd"),r=i("ee1a"),s=r.isDimensionStacked;function l(e){return{seriesType:e,plan:o(),reset:function(e){var t=e.getData(),i=e.coordinateSystem,n=e.pipelineContext,o=n.large;if(i){var r=a(i.dimensions,(function(e){return t.mapDimension(e)})).slice(0,2),l=r.length,u=t.getCalculationInfo("stackResultDimension");return s(t,r[0])&&(r[0]=u),s(t,r[1])&&(r[1]=u),l&&{progress:c}}function c(e,t){for(var n=e.end-e.start,a=o&&new Float32Array(n*l),s=e.start,u=0,c=[],d=[];s=0&&i.push(e)})),i}e.topologicalTravel=function(e,t,a,o){if(e.length){var r=i(t),s=r.graph,l=r.noEntryList,u={};n.each(e,(function(e){u[e]=!0}));while(l.length){var c=l.pop(),d=s[c],h=!!u[c];h&&(a.call(o,c,d.originalDeps.slice()),delete u[c]),n.each(d.successor,h?f:p)}n.each(u,(function(){throw new Error("Circle dependency may exists")}))}function p(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function f(e){u[e]=!0,p(e)}}}t.getUID=s,t.enableSubTypeDefaulter=l,t.enableTopologicalTravel=u},8971:function(e,t){var i="";"undefined"!==typeof navigator&&(i=navigator.platform||"");var n={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:i.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};e.exports=n},"8deb":function(e,t,i){var n=i("3eba");i("5522"),i("a016"),i("1466");var a=i("98e7"),o=i("7f96"),r=i("870e"),s=i("d3f4"),l=i("7891");n.registerVisual(a("radar")),n.registerVisual(o("radar","circle")),n.registerLayout(r),n.registerProcessor(s("radar")),n.registerPreprocessor(l)},"8e77":function(e,t,i){var n=i("6d8b"),a=i("41ef"),o=i("6179"),r=i("3842"),s=i("2306"),l=i("923d"),u=i("88f0"),c=function(e,t,i,a){var o=l.dataTransform(e,a[0]),r=l.dataTransform(e,a[1]),s=n.retrieve,u=o.coord,c=r.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var d=n.mergeAll([{},o,r]);return d.coord=[o.coord,r.coord],d.x0=o.x,d.y0=o.y,d.x1=r.x,d.y1=r.y,d};function d(e){return!isNaN(e)&&!isFinite(e)}function h(e,t,i,n){var a=1-e;return d(t[a])&&d(i[a])}function p(e,t){var i=t.coord[0],n=t.coord[1];return!("cartesian2d"!==e.type||!i||!n||!h(1,i,n,e)&&!h(0,i,n,e))||(l.dataFilter(e,{coord:i,x:t.x0,y:t.y0})||l.dataFilter(e,{coord:n,x:t.x1,y:t.y1}))}function f(e,t,i,n,a){var o,s=n.coordinateSystem,l=e.getItemModel(t),u=r.parsePercent(l.get(i[0]),a.getWidth()),c=r.parsePercent(l.get(i[1]),a.getHeight());if(isNaN(u)||isNaN(c)){if(n.getMarkerPosition)o=n.getMarkerPosition(e.getValues(i,t));else{var h=e.get(i[0],t),p=e.get(i[1],t),f=[h,p];s.clampData&&s.clampData(f,f),o=s.dataToPoint(f,!0)}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");h=e.get(i[0],t),p=e.get(i[1],t);d(h)?o[0]=g.toGlobalCoord(g.getExtent()["x0"===i[0]?0:1]):d(p)&&(o[1]=m.toGlobalCoord(m.getExtent()["y0"===i[1]?0:1]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];return o}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function m(e,t,i){var a,r,s=["x0","y0","x1","y1"];e?(a=n.map(e&&e.dimensions,(function(e){var i=t.getData(),a=i.getDimensionInfo(i.mapDimension(e))||{};return n.defaults({name:e},a)})),r=new o(n.map(s,(function(e,t){return{name:e,type:a[t%2].type}})),i)):(a=[{name:"value",type:"float"}],r=new o(a,i));var l=n.map(i.get("data"),n.curry(c,t,e,i));e&&(l=n.filter(l,n.curry(p,e)));var u=e?function(e,t,i,n){return e.coord[Math.floor(n/2)][n%2]}:function(e){return e.value};return r.initData(l,null,u),r.hasItemOption=!0,r}u.extend({type:"markArea",updateTransform:function(e,t,i){t.eachSeries((function(e){var t=e.markAreaModel;if(t){var a=t.getData();a.each((function(t){var o=n.map(g,(function(n){return f(a,t,n,e,i)}));a.setItemLayout(t,o);var r=a.getItemGraphicEl(t);r.setShape("points",o)}))}}),this)},renderSeries:function(e,t,i,o){var r=e.coordinateSystem,l=e.id,u=e.getData(),c=this.markerGroupMap,d=c.get(l)||c.set(l,{group:new s.Group});this.group.add(d.group),d.__keep=!0;var h=m(r,e,t);t.setData(h),h.each((function(t){h.setItemLayout(t,n.map(g,(function(i){return f(h,t,i,e,o)}))),h.setItemVisual(t,{color:u.getVisual("color")})})),h.diff(d.__data).add((function(e){var t=new s.Polygon({shape:{points:h.getItemLayout(e)}});h.setItemGraphicEl(e,t),d.group.add(t)})).update((function(e,i){var n=d.__data.getItemGraphicEl(i);s.updateProps(n,{shape:{points:h.getItemLayout(e)}},t,e),d.group.add(n),h.setItemGraphicEl(e,n)})).remove((function(e){var t=d.__data.getItemGraphicEl(e);d.group.remove(t)})).execute(),h.eachItemGraphicEl((function(e,i){var o=h.getItemModel(i),r=o.getModel("label"),l=o.getModel("emphasis.label"),u=h.getItemVisual(i,"color");e.useStyle(n.defaults(o.getModel("itemStyle").getItemStyle(),{fill:a.modifyAlpha(u,.4),stroke:u})),e.hoverStyle=o.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(e.style,e.hoverStyle,r,l,{labelFetcher:t,labelDataIndex:i,defaultText:h.getName(i)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(e,{}),e.dataModel=t})),d.__data=h,d.group.silent=t.get("silent")||e.get("silent")}})},"8ec5":function(e,t,i){var n=i("3eba"),a=i("6d8b"),o=i("2145"),r=n.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){r.superApply(this,"optionUpdated",arguments),a.each(this.option.feature,(function(e,t){var i=o.get(t);i&&a.merge(e,i.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"}}}}),s=r;e.exports=s},"8ed2":function(e,t,i){i("48c7");var n=i("6cb7"),a=n.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});e.exports=a},"8ee0":function(e,t,i){i("3f8e");var n=i("697e7"),a=n.registerPainter,o=i("dc20");a("svg",o)},"903c":function(e,t){function i(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var i=0;i=a.length||e===a[e.depth]){var o=m(l,x,e,t,S,r);u(e,o,i,n,a,r)}}))}else g=d(x,e),e.setVisual("color",g)}}function c(e,t,i,n){var a=o.extend({},t);return o.each(["color","colorAlpha","colorSaturation"],(function(o){var r=e.get(o,!0);null==r&&i&&(r=i[o]),null==r&&(r=t[o]),null==r&&(r=n.get(o)),null!=r&&(a[o]=r)})),a}function d(e){var t=p(e,"color");if(t){var i=p(e,"colorAlpha"),n=p(e,"colorSaturation");return n&&(t=a.modifyHSL(t,null,null,n)),i&&(t=a.modifyAlpha(t,i)),t}}function h(e,t){return null!=t?a.modifyHSL(t,null,null,e):null}function p(e,t){var i=e[t];if(null!=i&&"none"!==i)return i}function f(e,t,i,a,o,r){if(r&&r.length){var s=g(t,"color")||null!=o.color&&"none"!==o.color&&(g(t,"colorAlpha")||g(t,"colorSaturation"));if(s){var l=t.get("visualMin"),u=t.get("visualMax"),c=i.dataExtent.slice();null!=l&&lc[1]&&(c[1]=u);var d=t.get("colorMappingBy"),h={type:s.name,dataExtent:c,visual:s.range};"color"!==h.type||"index"!==d&&"id"!==d?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var p=new n(h);return p.__drColorMappingBy=d,p}}}function g(e,t){var i=e.get(t);return r(i)&&i.length?{name:t,range:i}:null}function m(e,t,i,n,a,r){var s=o.extend({},t);if(a){var l=a.type,u="color"===l&&a.__drColorMappingBy,c="index"===u?n:"id"===u?r.mapIdToIndex(i.getId()):i.getValue(e.get("visualDimension"));s[l]=a.mapValueToVisual(c)}return s}e.exports=l},"923d":function(e,t,i){var n=i("6d8b"),a=i("3842"),o=i("ee1a"),r=o.isDimensionStacked,s=n.indexOf;function l(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function u(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function c(e,t,i,n,o,s){var l=[],u=r(t,n),c=u?t.getCalculationInfo("stackResultDimension"):n,d=y(t,c,e),h=t.indicesOfNearest(c,d)[0];l[o]=t.get(i,h),l[s]=t.get(n,h);var p=a.getPrecision(t.get(n,h));return p=Math.min(p,20),p>=0&&(l[s]=+l[s].toFixed(p)),l}var d=n.curry,h={min:d(c,"min"),max:d(c,"max"),average:d(c,"average")};function p(e,t){var i=e.getData(),a=e.coordinateSystem;if(t&&!u(t)&&!n.isArray(t.coord)&&a){var o=a.dimensions,r=f(t,i,a,e);if(t=n.clone(t),t.type&&h[t.type]&&r.baseAxis&&r.valueAxis){var l=s(o,r.baseAxis.dim),c=s(o,r.valueAxis.dim);t.coord=h[t.type](i,r.baseDataDim,r.valueDataDim,l,c),t.value=t.coord[c]}else{for(var d=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],p=0;p<2;p++)h[d[p]]&&(d[p]=y(i,i.mapDimension(o[p]),d[p]));t.coord=d}}return t}function f(e,t,i,n){var a={};return null!=e.valueIndex||null!=e.valueDim?(a.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,a.valueAxis=i.getAxis(g(n,a.valueDataDim)),a.baseAxis=i.getOtherAxis(a.valueAxis),a.baseDataDim=t.mapDimension(a.baseAxis.dim)):(a.baseAxis=n.getBaseAxis(),a.valueAxis=i.getOtherAxis(a.baseAxis),a.baseDataDim=t.mapDimension(a.baseAxis.dim),a.valueDataDim=t.mapDimension(a.valueAxis.dim)),a}function g(e,t){var i=e.getData(),n=i.dimensions;t=i.getDimension(t);for(var a=0;a=0;l--){var u=a["asc"===n?r-l-1:l].getValue();u/i*ts[1]&&(s[1]=t)}))}else s=[NaN,NaN];return{sum:n,dataExtent:s}}function M(e,t,i){for(var n,a=0,o=1/0,r=0,s=e.length;ra&&(a=n));var l=e.area*e.area,u=t*t*i;return l?c(u*a/l,l/(u*o)):1/0}function I(e,t,i,n,a){var o=t===i.width?0:1,r=1-o,s=["x","y"],l=["width","height"],u=i[s[o]],h=t?e.area/t:0;(a||h>i[l[r]])&&(h=i[l[r]]);for(var p=0,f=e.length;ps&&(c=s),r=o}c0?i=n[0]:n[1]<0&&(i=n[1]),i}function u(e,t,i,n){var a=NaN;e.stacked&&(a=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(a)&&(a=e.valueStart);var o=e.baseDataOffset,r=[];return r[o]=i.get(e.baseDim,n),r[1-o]=a,t.dataToPoint(r)}t.prepareDataCoordInfo=s,t.getStackedOnPoint=u},"9fa3":function(e,t,i){var n=i("4ab1"),a=i("6d8b"),o=i("1687");function r(e,t){n.call(this,e,t,"clipPath","__clippath_in_use__")}a.inherits(r,n),r.prototype.update=function(e){var t=this.getSvgElement(e);t&&this.updateDom(t,e.__clipPaths,!1);var i=this.getTextSvgElement(e);i&&this.updateDom(i,e.__clipPaths,!0),this.markUsed(e)},r.prototype.updateDom=function(e,t,i){if(t&&t.length>0){var n,a,r=this.getDefs(!0),s=t[0],l=i?"_textDom":"_dom";s[l]?(a=s[l].getAttribute("id"),n=s[l],r.contains(n)||r.appendChild(n)):(a="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,n=this.createElement("clipPath"),n.setAttribute("id",a),r.appendChild(n),s[l]=n);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var c=Array.prototype.slice.call(s.transform);o.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var d=this.getSvgElement(s);n.innerHTML="",n.appendChild(d.cloneNode()),e.setAttribute("clip-path","url(#"+a+")"),t.length>1&&this.updateDom(n,t.slice(1),i)}else e&&e.setAttribute("clip-path","none")},r.prototype.markUsed=function(e){var t=this;e.__clipPaths&&e.__clipPaths.length>0&&a.each(e.__clipPaths,(function(e){e._dom&&n.prototype.markUsed.call(t,e._dom),e._textDom&&n.prototype.markUsed.call(t,e._textDom)}))};var s=r;e.exports=s},a016:function(e,t,i){var n=i("4f85"),a=i("e46b"),o=i("6d8b"),r=i("eda2"),s=r.encodeHTML,l=n.extend({type:"series.radar",dependencies:["radar"],init:function(e){l.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(e,t){return a(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(e){var t=this.getData(),i=this.coordinateSystem,n=i.getIndicatorAxes(),a=this.getData().getName(e);return s(""===a?this.name:a)+"
"+o.map(n,(function(i,n){var a=t.get(t.mapDimension(i.dim),e);return s(i.name+" : "+a)})).join("
")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),u=l;e.exports=u},a04e:function(e,t,i){var n=i("6cb7");n.registerSubTypeDefaulter("timeline",(function(){return"slider"}))},a18f:function(e,t,i){var n=i("3a56"),a=n.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});e.exports=a},a38d:function(e,t,i){var n=i("2306"),a=i("392f"),o=i("9680"),r=i("68ab"),s=n.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(e,t){var i=t.segs,n=t.curveness;if(t.polyline)for(var a=0;a0){e.moveTo(i[a++],i[a++]);for(var r=1;r0){var d=(s+u)/2-(l-c)*n,h=(l+c)/2-(u-s)*n;e.quadraticCurveTo(d,h,u,c)}else e.lineTo(u,c)}},findDataIndex:function(e,t){var i=this.shape,n=i.segs,a=i.curveness;if(i.polyline)for(var s=0,l=0;l0)for(var c=n[l++],d=n[l++],h=1;h0){var g=(c+p)/2-(d-f)*a,m=(d+f)/2-(p-c)*a;if(r.containStroke(c,d,g,m,p,f))return s}else if(o.containStroke(c,d,p,f))return s;s++}return-1}});function l(){this.group=new n.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(e){this.group.removeAll();var t=new s({rectHover:!0,cursor:"default"});t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},u.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>5e5?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(e,t){var i=new s;i.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(i,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(i,!0):(i.rectHover=!0,i.cursor="default",i.__startIndex=e.start,this.group.add(i))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(e,t,i){var n=t.hostModel;e.setShape({polyline:n.get("polyline"),curveness:n.get("lineStyle.curveness")}),e.useStyle(n.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var a=t.getVisual("color");a&&e.setStyle("stroke",a),e.setStyle("fill"),i||(e.seriesIndex=n.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var i=e.findDataIndex(t.offsetX,t.offsetY);i>0&&(e.dataIndex=i+e.__startIndex)})))},u._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var c=l;e.exports=c},a4b1:function(e,t,i){var n=i("3eba");i("00ba"),i("4d62");var a=i("98e7"),o=i("24b9"),r=i("d3f4");n.registerVisual(a("funnel")),n.registerLayout(o),n.registerProcessor(r("funnel"))},a4fe:function(e,t,i){var n=i("3eba"),a="\0_ec_interaction_mutex";function o(e,t,i){var n=l(e);n[t]=i}function r(e,t,i){var n=l(e),a=n[t];a===i&&(n[t]=null)}function s(e,t){return!!l(e)[t]}function l(e){return e[a]||(e[a]={})}n.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),t.take=o,t.release=r,t.isTaken=s},a666:function(e,t,i){var n=i("3eba"),a=i("6d8b"),o=i("2306"),r=i("0c41"),s="__seriesMapHighDown",l="__seriesMapCallKey",u=n.extendChartView({type:"map",render:function(e,t,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var a=this.group;if(a.removeAll(),!e.getHostGeoModel()){if(n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===e.id){o=this._mapDraw;o&&a.add(o.group)}else if(e.needsDrawMap){var o=this._mapDraw||new r(i,!0);a.add(o.group),o.draw(e,t,i,this,n),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,i)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(e,t,i){var n=e.originalData,r=this.group;n.each(n.mapDimension("value"),(function(t,i){if(!isNaN(t)){var u=n.getItemLayout(i);if(u&&u.point){var h=u.point,p=u.offset,f=new o.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:h[0]+9*p,cy:h[1],r:3},silent:!0,z2:8+(p?0:o.Z2_EMPHASIS_LIFT+1)});if(!p){var g=e.mainSeries.getData(),m=n.getName(i),v=g.indexOfName(m),y=n.getItemModel(i),x=y.getModel("label"),_=y.getModel("emphasis.label"),b=g.getItemGraphicEl(v),w=a.retrieve2(e.getFormattedLabel(v,"normal"),m),S=a.retrieve2(e.getFormattedLabel(v,"emphasis"),w),M=b[s],I=Math.random();if(!M){M=b[s]={};var A=a.curry(c,!0),T=a.curry(c,!1);b.on("mouseover",A).on("mouseout",T).on("emphasis",A).on("normal",T)}b[l]=I,a.extend(M,{recordVersion:I,circle:f,labelModel:x,hoverLabelModel:_,emphasisText:S,normalText:w}),d(M,!1)}r.add(f)}}}))}});function c(e){var t=this[s];t&&t.recordVersion===this[l]&&d(t,e)}function d(e,t){var i=e.circle,n=e.labelModel,a=e.hoverLabelModel,r=e.emphasisText,s=e.normalText;t?(i.style.extendFrom(o.setTextStyle({},a,{text:a.get("show")?r:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=o.Z2_EMPHASIS_LIFT):(o.setTextStyle(i.style,n,{text:n.get("show")?s:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),null!=i.__mapOriginalZ2&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}e.exports=u},a753:function(e,t,i){var n=i("1f0e"),a=i("2306"),o=i("e887"),r=i("3842"),s=r.parsePercent,l=r.round,u=r.linearMap;function c(e,t){var i=e.get("center"),n=t.getWidth(),a=t.getHeight(),o=Math.min(n,a),r=s(i[0],t.getWidth()),l=s(i[1],t.getHeight()),u=s(e.get("radius"),o/2);return{cx:r,cy:l,r:u}}function d(e,t){return t&&("string"===typeof t?e=t.replace("{value}",null!=e?e:""):"function"===typeof t&&(e=t(e))),e}var h=2*Math.PI,p=o.extend({type:"gauge",render:function(e,t,i){this.group.removeAll();var n=e.get("axisLine.lineStyle.color"),a=c(e,i);this._renderMain(e,t,i,n,a)},dispose:function(){},_renderMain:function(e,t,i,n,o){for(var r=this.group,s=e.getModel("axisLine"),l=s.getModel("lineStyle"),u=e.get("clockwise"),c=-e.get("startAngle")/180*Math.PI,d=-e.get("endAngle")/180*Math.PI,p=(d-c)%h,f=c,g=l.get("width"),m=0;m=e&&(0===t?0:n[t-1][0]).4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:E}),silent:!0}))}if(x.get("show")&&L!==b){for(var V=0;V<=w;V++){P=Math.cos(I),k=Math.sin(I);var z=new a.Line({shape:{x1:P*g+p,y1:k*g+f,x2:P*(g-M)+p,y2:k*(g-M)+f},silent:!0,style:C});"auto"===C.stroke&&z.setStyle({stroke:n((L+V/w)/b)}),h.add(z),I+=T}I-=T}else I+=A}},_renderPointer:function(e,t,i,o,r,l,c,d){var h=this.group,p=this._data;if(e.get("pointer.show")){var f=[+e.get("min"),+e.get("max")],g=[l,c],m=e.getData(),v=m.mapDimension("value");m.diff(p).add((function(t){var i=new n({shape:{angle:l}});a.initProps(i,{shape:{angle:u(m.get(v,t),f,g,!0)}},e),h.add(i),m.setItemGraphicEl(t,i)})).update((function(t,i){var n=p.getItemGraphicEl(i);a.updateProps(n,{shape:{angle:u(m.get(v,t),f,g,!0)}},e),h.add(n),m.setItemGraphicEl(t,n)})).remove((function(e){var t=p.getItemGraphicEl(e);h.remove(t)})).execute(),m.eachItemGraphicEl((function(e,t){var i=m.getItemModel(t),n=i.getModel("pointer");e.setShape({x:r.cx,y:r.cy,width:s(n.get("width"),r.r),r:s(n.get("length"),r.r)}),e.useStyle(i.getModel("itemStyle").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",o(u(m.get(v,t),f,[0,1],!0))),a.setHoverStyle(e,i.getModel("emphasis.itemStyle").getItemStyle())})),this._data=m}else p&&p.eachItemGraphicEl((function(e){h.remove(e)}))},_renderTitle:function(e,t,i,n,o){var r=e.getData(),l=r.mapDimension("value"),c=e.getModel("title");if(c.get("show")){var d=c.get("offsetCenter"),h=o.cx+s(d[0],o.r),p=o.cy+s(d[1],o.r),f=+e.get("min"),g=+e.get("max"),m=e.getData().get(l,0),v=n(u(m,[f,g],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},c,{x:h,y:p,text:r.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(e,t,i,n,o){var r=e.getModel("detail"),l=+e.get("min"),c=+e.get("max");if(r.get("show")){var h=r.get("offsetCenter"),p=o.cx+s(h[0],o.r),f=o.cy+s(h[1],o.r),g=s(r.get("width"),o.r),m=s(r.get("height"),o.r),v=e.getData(),y=v.get(v.mapDimension("value"),0),x=n(u(y,[l,c],[0,1],!0));this.group.add(new a.Text({silent:!0,style:a.setTextStyle({},r,{x:p,y:f,text:d(y,r.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}}),f=p;e.exports=f},a7e2:function(e,t,i){var n=i("3eba");i("7293"),i("ae46");var a=i("6582"),o=i("ee98");n.registerLayout(a),n.registerVisual(o)},a7f2:function(e,t){var i=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function n(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:i[0]})}e.exports=n},a87d:function(e,t,i){var n=i("22d1"),a=i("401b"),o=a.applyTransform,r=i("9850"),s=i("41ef"),l=i("e86a"),u=i("a73c"),c=i("9e2e"),d=i("19eb"),h=i("0da8"),p=i("76a5"),f=i("cbe5"),g=i("20c8"),m=i("42e5"),v=i("d3a4"),y=g.CMD,x=Math.round,_=Math.sqrt,b=Math.abs,w=Math.cos,S=Math.sin,M=Math.max;if(!n.canvasSupported){var I=",",A="progid:DXImageTransform.Microsoft",T=21600,D=T/2,C=1e5,L=1e3,P=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=T+","+T,e.coordorigin="0,0"},k=function(e){return String(e).replace(/&/g,"&").replace(/"/g,""")},N=function(e,t,i){return"rgb("+[e,t,i].join(",")+")"},O=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},R=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},E=function(e,t,i){return(parseFloat(e)||0)*C+(parseFloat(t)||0)*L+i},V=function(e,t){return"string"===typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e},z=function(e,t,i){var n=s.parse(t);i=+i,isNaN(i)&&(i=1),n&&(e.color=N(n[0],n[1],n[2]),e.opacity=i*n[3])},B=function(e){var t=s.parse(e);return[N(t[0],t[1],t[2]),t[3]]},G=function(e,t,i){var n=t.fill;if(null!=n)if(n instanceof m){var a,r=0,s=[0,0],l=0,u=1,c=i.getBoundingRect(),d=c.width,h=c.height;if("linear"===n.type){a="gradient";var p=i.transform,f=[n.x*d,n.y*h],g=[n.x2*d,n.y2*h];p&&(o(f,f,p),o(g,g,p));var v=g[0]-f[0],y=g[1]-f[1];r=180*Math.atan2(v,y)/Math.PI,r<0&&(r+=360),r<1e-6&&(r=0)}else{a="gradientradial";f=[n.x*d,n.y*h],p=i.transform;var x=i.scale,_=d,b=h;s=[(f[0]-c.x)/_,(f[1]-c.y)/b],p&&o(f,f,p),_/=x[0]*T,b/=x[1]*T;var w=M(_,b);l=0/w,u=2*n.r/w-l}var S=n.colorStops.slice();S.sort((function(e,t){return e.offset-t.offset}));for(var I=S.length,A=[],D=[],C=0;C=2){var k=A[0][0],N=A[1][0],O=A[0][1]*t.opacity,R=A[1][1]*t.opacity;e.type=a,e.method="none",e.focus="100%",e.angle=r,e.color=k,e.color2=N,e.colors=D.join(","),e.opacity=R,e.opacity2=O}"radial"===a&&(e.focusposition=s.join(","))}else z(e,n,t.opacity)},H=function(e,t){null!=t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof m||z(e,t.stroke,t.opacity)},F=function(e,t,i,n){var a="fill"===t,o=e.getElementsByTagName(t)[0];null!=i[t]&&"none"!==i[t]&&(a||!a&&i.lineWidth)?(e[a?"filled":"stroked"]="true",i[t]instanceof m&&R(e,o),o||(o=v.createNode(t)),a?G(o,i,n):H(o,i),O(e,o)):(e[a?"filled":"stroked"]="false",R(e,o))},W=[[],[],[]],Z=function(e,t){var i,n,a,r,s,l,u=y.M,c=y.C,d=y.L,h=y.A,p=y.Q,f=[],g=e.data,m=e.len();for(r=0;r.01?F&&(Z+=270/T):Math.abs(U-V)<1e-4?F&&ZE?A-=270/T:A+=270/T:F&&UV?M+=270/T:M-=270/T),f.push(j,x(((E-z)*N+P)*T-D),I,x(((V-B)*O+k)*T-D),I,x(((E+z)*N+P)*T-D),I,x(((V+B)*O+k)*T-D),I,x((Z*N+P)*T-D),I,x((U*O+k)*T-D),I,x((M*N+P)*T-D),I,x((A*O+k)*T-D)),s=M,l=A;break;case y.R:var X=W[0],Y=W[1];X[0]=g[r++],X[1]=g[r++],Y[0]=X[0]+g[r++],Y[1]=X[1]+g[r++],t&&(o(X,X,t),o(Y,Y,t)),X[0]=x(X[0]*T-D),Y[0]=x(Y[0]*T-D),X[1]=x(X[1]*T-D),Y[1]=x(Y[1]*T-D),f.push(" m ",X[0],I,X[1]," l ",Y[0],I,X[1]," l ",Y[0],I,Y[1]," l ",X[0],I,Y[1]);break;case y.Z:f.push(" x ")}if(i>0){f.push(n);for(var q=0;qK&&(q=0,Y={});var i,n=J.style;try{n.font=e,i=n.fontFamily.split(",")[0]}catch(a){}t={style:n.fontStyle||X,variant:n.fontVariant||X,weight:n.fontWeight||X,size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},Y[e]=t,q++}return t};l.$override("measureText",(function(e,t){var i=v.doc;j||(j=i.createElement("div"),j.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",v.doc.body.appendChild(j));try{j.style.font=t}catch(n){}return j.innerHTML="",j.appendChild(i.createTextNode(e)),{width:j.offsetWidth}}));for(var Q=new r,ee=function(e,t,i,n){var a=this.style;this.__dirty&&u.normalizeTextStyle(a,!0);var r=a.text;if(null!=r&&(r+=""),r){if(a.rich){var s=l.parseRichText(r,a);r=[];for(var c=0;c1)return!1;var h=d(i-e,a-e,n-t,o-t)/l;return!(h<0||h>1)}function c(e){return e<=1e-6&&e>=-1e-6}function d(e,t,i,n){return e*n-t*i}var h=o;e.exports=h},a8c6:function(e,t,i){var n=i("2449"),a=n.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});e.exports=a},a96b:function(e,t,i){var n=i("3eba"),a=n.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});e.exports=a},a991:function(e,t,i){var n=i("6d8b"),a=i("e86a"),o=i("84ce"),r=i("e0d3"),s=r.makeInner,l=s();function u(e,t){t=t||[0,360],o.call(this,"angle",e,t),this.type="category"}u.prototype={constructor:u,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToAngle:o.prototype.dataToCoord,angleToData:o.prototype.coordToData,calculateCategoryInterval:function(){var e=this,t=e.getLabelModel(),i=e.scale,n=i.getExtent(),o=i.count();if(n[1]-n[0]<1)return 0;var r=n[0],s=e.dataToCoord(r+1)-e.dataToCoord(r),u=Math.abs(s),c=a.getBoundingRect(r,t.getFont(),"center","top"),d=Math.max(c.height,7),h=d/u;isNaN(h)&&(h=1/0);var p=Math.max(0,Math.floor(h)),f=l(e.model),g=f.lastAutoInterval,m=f.lastTickCount;return null!=g&&null!=m&&Math.abs(g-p)<=1&&Math.abs(m-o)<=1&&g>p?p=g:(f.lastTickCount=o,f.lastAutoInterval=p),p}},n.inherits(u,o);var c=u;e.exports=c},aa01:function(e,t,i){var n=i("6d8b"),a=i("4f85"),o=i("06c7"),r=i("55ac"),s=r.wrapTreePathInfo,l=a.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,t){var i={name:e.name,children:e.data};u(i);var n=e.levels||[],a={};return a.levels=n,o.createTree(i,this,a).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(e){var t=a.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=s(i,this),t},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0,emphasis:{}},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1,emphasis:{},highlight:{opacity:1},downplay:{opacity:.9}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function u(e){var t=0;n.each(e.children,(function(e){u(e);var i=e.value;n.isArray(i)&&(i=i[0]),t+=i}));var i=e.value;n.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=t),i<0&&(i=0),n.isArray(e.value)?e.value[0]=i:e.value=i}e.exports=l},aa3e:function(e,t,i){var n=i("6d8b");function a(e,t){return t=t||[0,0],n.map(["x","y"],(function(i,n){var a=this.getAxis(i),o=t[n],r=e[n]/2;return"category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(o-r)-a.dataToCoord(o+r))}),this)}function o(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:n.bind(a,e)}}}e.exports=o},aadf:function(e,t,i){var n=i("3eba"),a=i("6d8b");i("5aa9"),i("d6d9"),i("3329");var o=i("9d57"),r=o.layout,s=i("7f96");i("01ed"),n.registerLayout(a.curry(r,"pictorialBar")),n.registerVisual(s("pictorialBar","roundRect"))},ab05:function(e,t,i){var n=i("3eba"),a=i("6d8b"),o=i("2b8c"),r=i("5f14"),s=n.PRIORITY.VISUAL.COMPONENT;function l(e,t,i,n){for(var a=t.targetVisuals[n],o=r.prepareVisualTypes(a),s={color:e.getData().getVisual("color")},l=0,u=o.length;l1e4||!this._symbolDraw.isPersistent())return{update:!0};var a=r().reset(e);a.progress&&a.progress({start:0,end:n.count()},n),this._symbolDraw.updateLayout(n)},_updateSymbolDraw:function(e,t){var i=this._symbolDraw,n=t.pipelineContext,r=n.large;return i&&r===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=r?new o:new a,this._isLargeDraw=r,this.group.removeAll()),this.group.add(i.group),i},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},adda:function(e,t,i){var n=i("94e4"),a=n.circularLayout;function o(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&a(e)}))}e.exports=o},adf4:function(e,t,i){var n=i("4f85"),a=i("b1d4"),o=i("2f45"),r=o.getDimensionTypeByAxis,s=i("6179"),l=i("6d8b"),u=i("e0d3"),c=u.groupData,d=i("eda2"),h=d.encodeHTML,p=2,f=n.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){f.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(e){var t=e.length,i=c(e,(function(e){return e[2]})),n=[];i.buckets.each((function(e,t){n.push({name:t,dataList:e})}));for(var a=n.length,o=-1,r=-1,s=0;so&&(o=l,r=s)}for(var u=0;uy||Math.abs(e.dy)>y)){var t=this.seriesModel.getData().tree.root;if(!t)return;var i=t.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+e.dx,y:i.y+e.dy,width:i.width,height:i.height}})}},_onZoom:function(e){var t=e.originX,i=e.originY;if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var a=n.getLayout();if(!a)return;var o=new c(a.x,a.y,a.width,a.height),r=this.seriesModel.layoutInfo;t-=r.x,i-=r.y;var s=d.create();d.translate(s,s,[-t,-i]),d.scale(s,s,[e.scale,e.scale]),d.translate(s,s,[t,i]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(e){e.on("click",(function(e){if("ready"===this._state){var t=this.seriesModel.get("nodeClick",!0);if(t){var i=this.findTarget(e.offsetX,e.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===t)this._zoomToNode(i);else if("link"===t){var a=n.hostTree.data.getItemModel(n.dataIndex),o=a.get("link",!0),r=a.get("target",!0)||"blank";o&&window.open(o,r)}}}}}),this)},_renderBreadcrumb:function(e,t,i){function n(t){"animating"!==this._state&&(s.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}i||(i=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),i||(i={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(e,t,i.node,f(n,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=C(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var i,n=this.seriesModel.getViewRoot();return n.eachNode({attr:"viewChildren",order:"preorder"},(function(n){var a=this._storage.background[n.getRawIndex()];if(a){var o=a.transformCoordToLocal(e,t),r=a.shape;if(!(r.x<=o[0]&&o[0]<=r.x+r.width&&r.y<=o[1]&&o[1]<=r.y+r.height))return!1;i={node:n,offsetX:o[0],offsetY:o[1]}}}),this),i}});function C(){return{nodeGroup:[],background:[],content:[]}}function L(e,t,i,n,r,s,l,u,c,d){if(l){var h=l.getLayout();if(h&&h.isInView){var p=h.width,f=h.height,v=h.borderWidth,y=h.invisible,S=l.getRawIndex(),D=u&&u.getRawIndex(),C=l.viewChildren,L=h.upperHeight,k=C&&C.length,N=l.getModel("itemStyle"),O=l.getModel("emphasis.itemStyle"),R=F("nodeGroup",g);if(R){if(c.add(R),R.attr("position",[h.x||0,h.y||0]),R.__tmNodeWidth=p,R.__tmNodeHeight=f,h.isAboveViewRoot)return R;var E=F("background",m,d,M);if(E&&z(R,E,k&&h.upperHeight),!k){var V=F("content",m,d,I);V&&B(R,V)}return R}}}function z(t,i,n){i.dataIndex=l.dataIndex,i.seriesIndex=e.seriesIndex,i.setShape({x:0,y:0,width:p,height:f});var a=l.getVisual("borderColor",!0),r=O.get("borderColor");G(i,(function(){var e=T(N);e.fill=a;var t=A(O);if(t.fill=r,n){var s=p-2*v;H(e,t,a,s,L,{x:v,y:0,width:s,height:L})}else e.text=t.text=null;i.setStyle(e),o.setHoverStyle(i,t)})),t.add(i)}function B(t,i){i.dataIndex=l.dataIndex,i.seriesIndex=e.seriesIndex;var n=Math.max(p-2*v,0),a=Math.max(f-2*v,0);i.culling=!0,i.setShape({x:v,y:v,width:n,height:a});var r=l.getVisual("color",!0);G(i,(function(){var e=T(N);e.fill=r;var t=A(O);H(e,t,r,n,a),i.setStyle(e),o.setHoverStyle(i,t)})),t.add(i)}function G(e,t){y?!e.invisible&&s.push(e):(t(),e.__tmWillVisible||(e.invisible=!1))}function H(t,i,n,r,s,u){var c=l.getModel(),d=a.retrieve(e.getFormattedLabel(l.dataIndex,"normal",null,null,u?"upperLabel":"label"),c.get("name"));if(!u&&h.isLeafRoot){var p=e.get("drillDownIcon",!0);d=p?p+" "+d:d}var f=c.getModel(u?b:x),g=c.getModel(u?w:_),m=f.getShallow("show");o.setLabelStyle(t,i,f,g,{defaultText:m?d:null,autoColor:n,isRectText:!0}),u&&(t.textRect=a.clone(u)),t.truncate=m&&f.get("ellipsis")?{outerWidth:r,outerHeight:s,minChar:2}:null}function F(e,n,a,o){var s=null!=D&&i[e][D],l=r[e];return s?(i[e][D]=null,W(l,s,e)):y||(s=new n({z:P(a,o)}),s.__tmDepth=a,s.__tmStorageName=e,Z(l,s,e)),t[e][S]=s}function W(e,t,i){var n=e[S]={};n.old="nodeGroup"===i?t.position.slice():a.extend({},t.shape)}function Z(e,t,i){var a=e[S]={},o=l.parentNode;if(o&&(!n||"drillDown"===n.direction)){var s=0,u=0,c=r.background[o.getRawIndex()];!n&&c&&c.old&&(s=c.old.width,u=c.old.height),a.old="nodeGroup"===i?[0,u]:{x:s,y:u,width:0,height:0}}a.fadein="nodeGroup"!==i}}function P(e,t){var i=e*S+t;return(i-1)/i}e.exports=D},b419:function(e,t,i){var n=i("6d8b"),a=i("2306"),o=i("4319"),r=i("6679"),s=["axisLine","axisLabel","axisTick","splitLine","splitArea"];function l(e,t,i){t[1]>t[0]&&(t=t.slice().reverse());var n=e.coordToPoint([t[0],i]),a=e.coordToPoint([t[1],i]);return{x1:n[0],y1:n[1],x2:a[0],y2:a[1]}}function u(e){var t=e.getRadiusAxis();return t.inverse?0:1}function c(e){var t=e[0],i=e[e.length-1];t&&i&&Math.abs(Math.abs(t.coord-i.coord)-360)<1e-4&&e.pop()}var d=r.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var i=e.axis,a=i.polar,o=a.getRadiusAxis().getExtent(),r=i.getTicksCoords(),l=n.map(i.getViewLabels(),(function(e){e=n.clone(e);return e.coord=i.dataToCoord(e.tickValue),e}));c(l),c(r),n.each(s,(function(t){!e.get(t+".show")||i.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,a,r,o,l)}),this)}},_axisLine:function(e,t,i,n){var o=e.getModel("axisLine.lineStyle"),r=new a.Circle({shape:{cx:t.cx,cy:t.cy,r:n[u(t)]},style:o.getLineStyle(),z2:1,silent:!0});r.style.fill=null,this.group.add(r)},_axisTick:function(e,t,i,o){var r=e.getModel("axisTick"),s=(r.get("inside")?-1:1)*r.get("length"),c=o[u(t)],d=n.map(i,(function(e){return new a.Line({shape:l(t,[c,c+s],e.coord)})}));this.group.add(a.mergePath(d,{style:n.defaults(r.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_axisLabel:function(e,t,i,r,s){var l=e.getCategories(!0),c=e.getModel("axisLabel"),d=c.get("margin");n.each(s,(function(i,n){var s=c,h=i.tickValue,p=r[u(t)],f=t.coordToPoint([p+d,i.coord]),g=t.cx,m=t.cy,v=Math.abs(f[0]-g)/p<.3?"center":f[0]>g?"left":"right",y=Math.abs(f[1]-m)/p<.3?"middle":f[1]>m?"top":"bottom";l&&l[h]&&l[h].textStyle&&(s=new o(l[h].textStyle,c,c.ecModel));var x=new a.Text({silent:!0});this.group.add(x),a.setTextStyle(x.style,s,{x:f[0],y:f[1],textFill:s.getTextColor()||e.get("axisLine.lineStyle.color"),text:i.formattedLabel,textAlign:v,textVerticalAlign:y})}),this)},_splitLine:function(e,t,i,o){var r=e.getModel("splitLine"),s=r.getModel("lineStyle"),u=s.get("color"),c=0;u=u instanceof Array?u:[u];for(var d=[],h=0;h1?"series.multiple.prefix":"series.single.prefix";s+=f(g(p),{seriesCount:o}),t.eachSeries((function(e,t){if(t1?"multiple":"single")+".";i=g(n?a+"withName":a+"withoutName"),i=f(i,{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:v(e.subType)});var s=e.getData();window.data=s,s.count()>l?i+=f(g("data.partialData"),{displayCnt:l}):i+=g("data.allData");for(var u=[],d=0;dt&&o+1e[o].y+e[o].height)return void l(o,n/2);l(i-1,n/2)}function l(t,i){for(var n=t;n>=0;n--)if(e[n].y-=i,n>0&&e[n].y>e[n-1].y+e[n-1].height)break}function u(e,t,i,n,a,o){for(var r=t?Number.MAX_VALUE:0,s=0,l=e.length;s=r&&(h=r-10),!t&&h<=r&&(h=r+10),e[s].x=i+h*o,r=h}}e.sort((function(e,t){return e.y-t.y}));for(var c,d=0,h=e.length,p=[],f=[],g=0;g=i?f.push(e[g]):p.push(e[g]);u(p,!1,t,i,n,a),u(f,!0,t,i,n,a)}function o(e,t,i,n,o,s){for(var l=[],u=[],c=0;c0?"left":"right"}var L=g.getFont(),P=g.get("rotate")?b<0?-_+Math.PI:-_:0,k=e.getFormattedLabel(i,"normal")||l.getName(i),N=n.getBoundingRect(k,L,h,"top");c=!!P,p.label={x:a,y:o,position:m,height:N.height,len:y,len2:x,linePoints:d,textAlign:h,verticalAlign:"middle",rotation:P,inside:S},S||u.push(p.label)})),!c&&e.get("avoidLabelOverlap")&&o(u,r,s,t,i,a)}e.exports=s},bc5f:function(e,t,i){var n=i("6cb7");n.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}))},bcaa:function(e,t,i){var n=i("4ab1"),a=i("6d8b");function o(e,t){n.call(this,e,t,["filter"],"__filter_in_use__","_shadowDom")}function r(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY||e.textShadowBlur||e.textShadowOffsetX||e.textShadowOffsetY)}a.inherits(o,n),o.prototype.addWithoutUpdate=function(e,t){if(t&&r(t.style)){var i,n=t.style;if(n._shadowDom){i=n._shadowDom;var a=this.getDefs(!0);a.contains(n._shadowDom)||this.addDom(i)}else i=this.add(t);this.markUsed(t);var o=i.getAttribute("id");e.style.filter="url(#"+o+")"}},o.prototype.add=function(e){var t=this.createElement("filter"),i=e.style;return i._shadowDomId=i._shadowDomId||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-shadow-"+i._shadowDomId),this.updateDom(e,t),this.addDom(t),t},o.prototype.update=function(e,t){var i=t.style;if(r(i)){var a=this;n.prototype.update.call(this,t,(function(e){a.updateDom(t,e._shadowDom)}))}else this.remove(e,i)},o.prototype.remove=function(e,t){null!=t._shadowDomId&&(this.removeDom(t),e.style.filter="")},o.prototype.updateDom=function(e,t){var i=t.getElementsByTagName("feDropShadow");i=0===i.length?this.createElement("feDropShadow"):i[0];var n,a,o,r,s=e.style,l=e.scale&&e.scale[0]||1,u=e.scale&&e.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)n=s.shadowOffsetX||0,a=s.shadowOffsetY||0,o=s.shadowBlur,r=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(t,s);n=s.textShadowOffsetX||0,a=s.textShadowOffsetY||0,o=s.textShadowBlur,r=s.textShadowColor}i.setAttribute("dx",n/l),i.setAttribute("dy",a/u),i.setAttribute("flood-color",r);var c=o/2/l,d=o/2/u,h=c+" "+d;i.setAttribute("stdDeviation",h),t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width",Math.ceil(o/2*200)+"%"),t.setAttribute("height",Math.ceil(o/2*200)+"%"),t.appendChild(i),s._shadowDom=t},o.prototype.markUsed=function(e){var t=e.style;t&&t._shadowDom&&n.prototype.markUsed.call(this,t._shadowDom)};var s=o;e.exports=s},bcbe:function(e,t,i){var n=i("6d8b"),a=i("fab2"),o=i("2306"),r=i("edb9"),s=i("6679"),l=["axisLine","axisTickLabel","axisName"],u="splitLine",c=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,i,o){var s=this.group;s.removeAll();var d=r.layout(e),h=new a(e,d);n.each(l,h.add,h),s.add(h.getGroup()),e.get(u+".show")&&this["_"+u](e),c.superCall(this,"render",e,t,i,o)},_splitLine:function(e){var t=e.axis;if(!t.scale.isBlank()){var i=e.getModel("splitLine"),n=i.getModel("lineStyle"),a=n.get("width"),r=n.get("color");r=r instanceof Array?r:[r];for(var s=e.coordinateSystem.getRect(),l=t.isHorizontal(),u=[],c=0,d=t.getTicksCoords({tickModel:i}),h=[],p=[],f=0;f=0)&&e(o,n,a)}))}var f=p.prototype;function g(e){return e[0]>e[1]&&e.reverse(),e}function m(e,t){return r.parseFinder(e,t,{includeMainTypes:h})}f.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,(function(e,t,i){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var n=_[e.brushType](0,i,t);e.__rangeOffset={offset:w[e.brushType](n.values,e.range,[1,1]),xyMinMax:n.xyMinMax}}}))},f.matchOutputRanges=function(e,t,i){l(e,(function(e){var n=this.findTargetInfo(e,t);n&&!0!==n&&a.each(n.coordSyses,(function(n){var a=_[e.brushType](1,n,e.range);i(e,a.values,n,t)}))}),this)},f.setInputRanges=function(e,t){l(e,(function(e){var i=this.findTargetInfo(e,t);if(e.range=e.range||[],i&&!0!==i){e.panelId=i.panelId;var n=_[e.brushType](0,i.coordSys,e.coordRange),a=e.__rangeOffset;e.range=a?w[e.brushType](n.values,a.offset,M(n.xyMinMax,a.xyMinMax)):n.values}}),this)},f.makePanelOpts=function(e,t){return a.map(this._targetInfoList,(function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:t&&t(i),clipPath:s.makeRectPanelClipPath(n),isTargetByCursor:s.makeRectIsTargetByCursor(n,e,i.coordSysModel),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(n)}}))},f.controlSeries=function(e,t,i){var n=this.findTargetInfo(e,i);return!0===n||n&&u(n.coordSyses,t.coordinateSystem)>=0},f.findTargetInfo=function(e,t){for(var i=this._targetInfoList,n=m(t,e),a=0;a=0||u(n,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:x.grid,xAxisDeclared:s[e.id],yAxisDeclared:c[e.id]})})))},geo:function(e,t){l(e.geoModels,(function(e){var i=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:i,coordSyses:[i],getPanelRect:x.geo})}))}},y=[function(e,t){var i=e.xAxisModel,n=e.yAxisModel,a=e.gridModel;return!a&&i&&(a=i.axis.grid.model),!a&&n&&(a=n.axis.grid.model),a&&a===t.gridModel},function(e,t){var i=e.geoModel;return i&&i===t.geoModel}],x={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(o.getTransform(e)),t}},_={lineX:c(b,0),lineY:c(b,1),rect:function(e,t,i){var n=t[d[e]]([i[0][0],i[1][0]]),a=t[d[e]]([i[0][1],i[1][1]]),o=[g([n[0],a[0]]),g([n[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,i){var n=[[1/0,-1/0],[1/0,-1/0]],o=a.map(i,(function(i){var a=t[d[e]](i);return n[0][0]=Math.min(n[0][0],a[0]),n[1][0]=Math.min(n[1][0],a[1]),n[0][1]=Math.max(n[0][1],a[0]),n[1][1]=Math.max(n[1][1],a[1]),a}));return{values:o,xyMinMax:n}}};function b(e,t,i,n){var o=i.getAxis(["x","y"][e]),r=g(a.map([0,1],(function(e){return t?o.coordToData(o.toLocalCoord(n[e])):o.toGlobalCoord(o.dataToCoord(n[e]))}))),s=[];return s[e]=r,s[1-e]=[NaN,NaN],{values:r,xyMinMax:s}}var w={lineX:c(S,0),lineY:c(S,1),rect:function(e,t,i){return[[e[0][0]-i[0]*t[0][0],e[0][1]-i[0]*t[0][1]],[e[1][0]-i[1]*t[1][0],e[1][1]-i[1]*t[1][1]]]},polygon:function(e,t,i){return a.map(e,(function(e,n){return[e[0]-i[0]*t[n][0],e[1]-i[1]*t[n][1]]}))}};function S(e,t,i,n){return[t[0]-n[e]*i[0],t[1]-n[e]*i[1]]}function M(e,t){var i=I(e),n=I(t),a=[i[0]/n[0],i[1]/n[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function I(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var A=p;e.exports=A},bdc0:function(e,t,i){var n=i("3eba");i("d2a5"),n.registerAction({type:"dragNode",event:"dragNode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))},bf9b:function(e,t,i){var n=i("3eba"),a=i("d81e"),o=a.updateCenterAndZoom;n.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var i=e.dataIndex,n=t.getData().tree,a=n.getNodeByDataIndex(i);a.isExpand=!a.isExpand}))})),n.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var i=t.coordinateSystem,n=o(i,e);t.setCenter&&t.setCenter(n.center),t.setZoom&&t.setZoom(n.zoom)}))}))},c037:function(e,t,i){var n=i("3eba"),a=i("6d8b");i("f7c6"),i("1ab3");var o=i("7782"),r=i("98e7"),s=i("292e"),l=i("d3f4");o("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),n.registerVisual(r("pie")),n.registerLayout(a.curry(s,"pie")),n.registerProcessor(l("pie"))},c2dd:function(e,t,i){var n=i("3eba"),a=i("6d8b"),o=i("fc82"),r=n.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new o(t.getZr())).on("brush",a.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,s.apply(this,arguments)},updateTransform:s,updateView:s,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:a.clone(e),$from:i})}});function s(e,t,i,n){(!n||n.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(i)).enableBrush(e.brushOption).updateCovers(e.areas.slice())}e.exports=r},c515:function(e,t,i){i("849b"),i("8459"),i("b006")},c526:function(e,t){var i={axisPointer:1,tooltip:1,brush:1};function n(e,t,n){var a=t.getComponentByElement(e.topTarget),o=a&&a.coordinateSystem;return a&&a!==n&&!i[a.mainType]&&o&&o.model!==n}t.onIrrelevantElement=n},c533:function(e,t){var i=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],n={color:i,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],i]};e.exports=n},c62c:function(e,t,i){var n=i("6d8b"),a=i("6cb7"),o=i("9e47"),r=i("2023"),s=a.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),l={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:2,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:2}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function u(e,t){return t.type||(t.data?"category":"value")}n.merge(s.prototype,r),o("single",s,u,l);var c=s;e.exports=c},c775:function(e,t,i){var n=i("2b17"),a=n.retrieveRawValue;function o(e,t){var i=e.mapDimension("defaultedLabel",!0),n=i.length;if(1===n)return a(e,t,i[0]);if(n){for(var o=[],r=0;r=0;s--){var l=2*s,u=n[l]-o/2,c=n[l+1]-r/2;if(e>=u&&t>=c&&e<=u+o&&t<=c+r)return s}return-1}});function u(){this.group=new n.Group}var c=u.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(e){this.group.removeAll();var t=new l({rectHover:!0,cursor:"default"});t.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},c.updateLayout=function(e){if(!this._incremental){var t=e.getLayout("symbolPoints");this.group.eachChild((function(e){if(null!=e.startIndex){var i=2*(e.endIndex-e.startIndex),n=4*e.startIndex*2;t=new Float32Array(t.buffer,n,i)}e.setShape("points",t)}))}},c.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new r({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(e,t){var i;this._incremental?(i=new l,this._incremental.addDisplayable(i,!0)):(i=new l({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end}),i.incremental=!0,this.group.add(i)),i.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(i,t,!!this._incremental)},c._setCommon=function(e,t,i){var n=t.hostModel,a=t.getVisual("symbolSize");e.setShape("size",a instanceof Array?a:[a,a]),e.symbolProxy=o(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var r=e.shape.size[0]=0&&(e.dataIndex=i+(e.startIndex||0))})))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var d=u;e.exports=d},ca29:function(e,t,i){var n=i("6d9a"),a=n.eachAfter,o=n.eachBefore,r=i("22da"),s=r.init,l=r.firstWalk,u=r.secondWalk,c=r.separation,d=r.radialCoordinate,h=r.getViewRect;function p(e,t){e.eachSeriesByType("tree",(function(e){f(e,t)}))}function f(e,t){var i=h(e,t);e.layoutInfo=i;var n=e.get("layout"),r=0,p=0,f=null;"radial"===n?(r=2*Math.PI,p=Math.min(i.height,i.width)/2,f=c((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(r=i.width,p=i.height,f=c());var g=e.getData().tree.root,m=g.children[0];if(m){s(g),a(m,l,f),g.hierNode.modifier=-m.hierNode.prelim,o(m,u);var v=m,y=m,x=m;o(m,(function(e){var t=e.getLayout().x;ty.getLayout().x&&(y=e),e.depth>x.depth&&(x=e)}));var _=v===y?1:f(v,y)/2,b=_-v.getLayout().x,w=0,S=0,M=0,I=0;if("radial"===n)w=r/(y.getLayout().x+_+b),S=p/(x.depth-1||1),o(m,(function(e){M=(e.getLayout().x+b)*w,I=(e.depth-1)*S;var t=d(M,I);e.setLayout({x:t.x,y:t.y,rawX:M,rawY:I},!0)}));else{var A=e.getOrient();"RL"===A||"LR"===A?(S=p/(y.getLayout().x+_+b),w=r/(x.depth-1||1),o(m,(function(e){I=(e.getLayout().x+b)*S,M="LR"===A?(e.depth-1)*w:r-(e.depth-1)*w,e.setLayout({x:M,y:I},!0)}))):"TB"!==A&&"BT"!==A||(w=r/(y.getLayout().x+_+b),S=p/(x.depth-1||1),o(m,(function(e){M=(e.getLayout().x+b)*w,I="TB"===A?(e.depth-1)*S:p-(e.depth-1)*S,e.setLayout({x:M,y:I},!0)})))}}}e.exports=p},ca98:function(e,t,i){var n=i("6d8b"),a=i("e0d3"),o=i("6cb7"),r=n.each,s=n.clone,l=n.map,u=n.merge,c=/^(min|max)?(.+)$/;function d(e){this._api=e,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function h(e,t,i){var a,o,s=[],l=[],u=e.timeline;if(e.baseOption&&(o=e.baseOption),(u||e.options)&&(o=o||{},s=(e.options||[]).slice()),e.media){o=o||{};var c=e.media;r(c,(function(e){e&&e.option&&(e.query?l.push(e):a||(a=e))}))}return o||(o=e),o.timeline||(o.timeline=u),r([o].concat(s).concat(n.map(l,(function(e){return e.option}))),(function(e){r(t,(function(t){t(e,i)}))})),{baseOption:o,timelineOptions:s,mediaDefault:a,mediaList:l}}function p(e,t,i){var a={width:t,height:i,aspectratio:t/i},o=!0;return n.each(e,(function(e,t){var i=t.match(c);if(i&&i[1]&&i[2]){var n=i[1],r=i[2].toLowerCase();f(a[r],e,n)||(o=!1)}})),o}function f(e,t,i){return"min"===i?e>=t:"max"===i?e<=t:e===t}function g(e,t){return e.join(",")===t.join(",")}function m(e,t){t=t||{},r(t,(function(t,i){if(null!=t){var n=e[i];if(o.hasClass(i)){t=a.normalizeToArray(t),n=a.normalizeToArray(n);var r=a.mappingToExists(n,t);e[i]=l(r,(function(e){return e.option&&e.exist?u(e.exist,e.option,!0):e.exist||e.option}))}else e[i]=u(n,t,!0)}}))}d.prototype={constructor:d,setOption:function(e,t){e&&n.each(a.normalizeToArray(e.series),(function(e){e&&e.data&&n.isTypedArray(e.data)&&n.setAsPrimitive(e.data)})),e=s(e,!0);var i=this._optionBackup,o=h.call(this,e,t,!i);this._newBaseOption=o.baseOption,i?(m(i.baseOption,o.baseOption),o.timelineOptions.length&&(i.timelineOptions=o.timelineOptions),o.mediaList.length&&(i.mediaList=o.mediaList),o.mediaDefault&&(i.mediaDefault=o.mediaDefault)):this._optionBackup=o},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=l(t.timelineOptions,s),this._mediaList=l(t.mediaList,s),this._mediaDefault=s(t.mediaDefault),this._currentMediaIndices=[],s(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,i=this._timelineOptions;if(i.length){var n=e.getComponent("timeline");n&&(t=s(i[n.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,a=this._mediaDefault,o=[],r=[];if(!n.length&&!a)return r;for(var u=0,c=n.length;u0,I=y.height-(M?-1:1),A=(f-p)/(I||1),T=e.get("clockwise"),D=e.get("stillShowZeroSum"),C=T?1:-1,L=function(e,t){if(e){var i=t;if(e!==v){var n=e.getValue(),r=0===w&&D?S:n*S;rn[1]&&(n[1]=t[1])}))})),n[1]0?0:NaN);var r=i.getMax(!0);return null!=r&&"dataMax"!==r&&"function"!==typeof r?t[1]=r:a&&(t[1]=o>0?o-1:NaN),i.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function d(e,t){var i=e.getAxisModel(),n=e._percentWindow,o=e._valueWindow;if(n){var r=a.getPixelPrecision(o,[0,500]);r=Math.min(r,20);var s=t||0===n[0]&&100===n[1];i.setRange(s?null:+o[0].toFixed(r),s?null:+o[1].toFixed(r))}}function h(e){var t=e._minMaxSpan={},i=e._dataZoomModel;r(["min","max"],(function(n){t[n+"Span"]=i.get(n+"Span");var o=i.get(n+"ValueSpan");if(null!=o&&(t[n+"ValueSpan"]=o,o=e.getAxisModel().axis.scale.parse(o),null!=o)){var r=e._dataExtent;t[n+"Span"]=a.linearMap(r[0]+o,r,[0,100],!0)}}))}l.prototype={constructor:l,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries((function(i){if(o.isCoordSupported(i.get("coordinateSystem"))){var n=this._dimName,a=t.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(a&&a.componentIndex)&&e.push(i)}}),this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,i,n=this._dimName,a=this.ecModel,o=this.getAxisModel(),r="x"===n||"y"===n;return r?(t="gridIndex",e="x"===n?"y":"x"):(t="polarIndex",e="angle"===n?"radius":"angle"),a.eachComponent(e+"Axis",(function(e){(e.get(t)||0)===(o.get(t)||0)&&(i=e)})),i},getMinMaxSpan:function(){return n.clone(this._minMaxSpan)},calculateDataWindow:function(e){var t=this._dataExtent,i=this.getAxisModel(),n=i.axis.scale,o=this._dataZoomModel.getRangePropMode(),l=[0,100],u=[e.start,e.end],c=[];return r(["startValue","endValue"],(function(t){c.push(null!=e[t]?n.parse(e[t]):null)})),r([0,1],(function(e){var i=c[e],r=u[e];"percent"===o[e]?(null==r&&(r=l[e]),i=n.parse(a.linearMap(r,l,t,!0))):r=a.linearMap(i,t,l,!0),c[e]=i,u[e]=r})),{valueWindow:s(c),percentWindow:s(u)}},reset:function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=u(this,this._dimName,t);var i=this.calculateDataWindow(e.option);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,h(this),d(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,d(this,!0))},filterData:function(e,t){if(e===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),a=e.get("filterMode"),o=this._valueWindow;"none"!==a&&r(n,(function(e){var t=e.getData(),n=t.mapDimension(i,!0);n.length&&("weakFilter"===a?t.filterSelf((function(e){for(var i,a,r,s=0;so[1];if(u&&!c&&!d)return!0;u&&(r=!0),c&&(i=!0),d&&(a=!0)}return r&&i&&a})):r(n,(function(i){if("empty"===a)e.setData(t.map(i,(function(e){return s(e)?e:NaN})));else{var n={};n[i]=o,t.selectRange(n)}})),r(n,(function(e){t.setApproximateExtent(o,e)})))}))}function s(e){return e>=o[0]&&e<=o[1]}}};var p=l;e.exports=p},cd12:function(e,t,i){i("01ed"),i("4a9d"),i("cb8f")},cd33:function(e,t,i){var n=i("6d8b"),a=i("4319"),o=n.each,r=n.curry;function s(e,t){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(i,e,t),i.seriesInvolved&&c(i,e),i}function l(e,t,i){var n=t.getComponent("tooltip"),a=t.getComponent("axisPointer"),s=a.get("link",!0)||[],l=[];o(i.getCoordinateSystems(),(function(i){if(i.axisPointerEnabled){var c=v(i.model),h=e.coordSysAxesInfo[c]={};e.coordSysMap[c]=i;var p=i.model,f=p.getModel("tooltip",n);if(o(i.getAxes(),r(_,!1,null)),i.getTooltipAxes&&n&&f.get("show")){var g="axis"===f.get("trigger"),y="cross"===f.get("axisPointer.type"),x=i.getTooltipAxes(f.get("axisPointer.axis"));(g||y)&&o(x.baseAxes,r(_,!y||"cross",g)),y&&o(x.otherAxes,r(_,"cross",!1))}}function _(n,o,r){var c=r.model.getModel("axisPointer",a),p=c.get("show");if(p&&("auto"!==p||n||m(c))){null==o&&(o=c.get("triggerTooltip")),c=n?u(r,f,a,t,n,o):c;var g=c.get("snap"),y=v(r.model),x=o||g||"category"===r.type,_=e.axesInfo[y]={key:y,axis:r,coordSys:i,axisPointerModel:c,triggerTooltip:o,involveSeries:x,snap:g,useHandle:m(c),seriesModels:[]};h[y]=_,e.seriesInvolved|=x;var b=d(s,r);if(null!=b){var w=l[b]||(l[b]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=s[b].mapper,_.linkGroup=w}}}}))}function u(e,t,i,r,s,l){var u=t.getModel("axisPointer"),c={};o(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){c[e]=n.clone(u.get(e))})),c.snap="category"!==e.type&&!!l,"cross"===u.get("type")&&(c.type="line");var d=c.label||(c.label={});if(null==d.show&&(d.show=!1),"cross"===s){var h=u.get("label.show");if(d.show=null==h||h,!l){var p=c.lineStyle=u.get("crossStyle");p&&n.defaults(d,p.textStyle)}}return e.model.getModel("axisPointer",new a(c,i,r))}function c(e,t){t.eachSeries((function(t){var i=t.coordinateSystem,n=t.get("tooltip.trigger",!0),a=t.get("tooltip.show",!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==a&&!1!==t.get("axisPointer.show",!0)&&o(e.coordSysAxesInfo[v(i.model)],(function(e){var n=e.axis;i.getAxis(n.dim)===n&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}),this)}function d(e,t){for(var i=t.model,n=t.dim,a=0;a=0||e===t}function p(e){var t=f(e);if(t){var i=t.axisPointerModel,n=t.axis.scale,a=i.option,o=i.get("status"),r=i.get("value");null!=r&&(r=n.parse(r));var s=m(i);null==o&&(a.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==r||r>l[1])&&(r=l[1]),r0){var D=r(x)?l:u;x>0&&(x=x*A+M),b[w++]=D[T],b[w++]=D[T+1],b[w++]=D[T+2],b[w++]=D[T+3]*x*256}else w+=4}return h.putImageData(_,0,0),d},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=n.createCanvas()),t=this.pointSize+this.blurSize,i=2*t;e.width=i,e.height=i;var a=e.getContext("2d");return a.clearRect(0,0,i,i),a.shadowOffsetX=i,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-t,t,this.pointSize,0,2*Math.PI,!0),a.closePath(),a.fill(),e},_getGradient:function(e,t,i){for(var n=this._gradientPixels,a=n[i]||(n[i]=new Uint8ClampedArray(1024)),o=[0,0,0,0],r=0,s=0;s<256;s++)t[i](s/255,!0,o),a[r++]=o[0],a[r++]=o[1],a[r++]=o[2],a[r++]=o[3];return a}};var r=o;e.exports=r},cee1:function(e,t,i){var n=i("6d8b");function a(e){var t={};e.eachSeriesByType("map",(function(i){var a=i.getMapType();if(!i.getHostGeoModel()&&!t[a]){var o={};n.each(i.seriesGroup,(function(t){var i=t.coordinateSystem,n=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&n.each(n.mapDimension("value"),(function(e,t){var a=n.getName(t),r=i.getRegion(a);if(r&&!isNaN(e)){var s=o[a]||0,l=i.dataToPoint(r.center);o[a]=s+1,n.setItemLayout(t,{point:l,offset:s})}}))}));var r=i.getData();r.each((function(e){var t=r.getName(e),i=r.getItemLayout(e)||{};i.showLabel=!o[t],r.setItemLayout(e,i)})),t[a]=!0}}))}e.exports=a},cf7e:function(e,t,i){var n=i("6d8b");function a(e){return this._axes[e]}var o=function(e){this._axes={},this._dimList=[],this.name=e||""};o.prototype={constructor:o,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return n.map(this._dimList,a,this)},getAxesByScale:function(e){return e=e.toLowerCase(),n.filter(this.getAxes(),(function(t){return t.scale.type===e}))},addAxis:function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(e,t){for(var i=this._dimList,n=e instanceof Array?[]:{},a=0;a=a.start.time&&i.timer.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t;e=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],e[0].time>e[1].time&&(t=!0,e.reverse());var i=Math.floor(e[1].time/s)-Math.floor(e[0].time/s)+1,n=new Date(e[0].time),a=n.getDate(),o=e[1].date.getDate();if(n.setDate(a+i-1),n.getDate()!==o){var r=n.getTime()-e[1].time>0?1:-1;while(n.getDate()!==o&&(n.getTime()-e[1].time)*r>0)i-=r,n.setDate(a+i-1)}var l=Math.floor((i+e[0].day+6)/7),u=t?1-l:l-1;return t&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:i,weeks:l,nthWeek:u,fweek:e[0].day,lweek:e[1].day}},_getDateByWeeksAndDay:function(e,t,i){var n=this._getRangeInfo(i);if(e>n.weeks||0===e&&tn.lweek)return!1;var a=7*(e-1)-n.fweek+t,o=new Date(n.start.time);return o.setDate(n.start.d+a),this.getDateInfo(o)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(e,t){var i=[];return e.eachComponent("calendar",(function(n){var a=new l(n,e,t);i.push(a),n.coordinateSystem=a})),e.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=i[e.get("calendarIndex")||0])})),i},r.register("calendar",l);var c=l;e.exports=c},d15d:function(e,t,i){var n=i("6d8b"),a=n.createHashMap,o=n.each;function r(e){var t=a();e.eachSeries((function(e){var i=e.get("stack");if(i){var n=t.get(i)||t.set(i,[]),a=e.getData(),o={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;n.length&&a.setCalculationInfo("stackedOnSeries",n[n.length-1].seriesModel),n.push(o)}})),t.each(s)}function s(e){o(e,(function(t,i){var n=[],a=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],r=t.data,s=t.isStackedByIndex,l=r.map(o,(function(o,l,u){var c,d,h=r.get(t.stackedDimension,u);if(isNaN(h))return a;s?d=r.getRawIndex(u):c=r.get(t.stackedByDimension,u);for(var p=NaN,f=i-1;f>=0;f--){var g=e[f];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,c)),d>=0){var m=g.data.getByRawIndex(g.stackResultDimension,d);if(h>=0&&m>0||h<=0&&m<0){h+=m,p=m;break}}}return n[0]=h,n[1]=p,n}));r.hostModel.setData(l),t.data=l}))}e.exports=r},d28f:function(e,t,i){var n=i("3eba");i("84d5"),i("4650"),i("5e97");var a=i("903c"),o=i("6cb7");n.registerProcessor(a),o.registerSubTypeDefaulter("legend",(function(){return"plain"}))},d2a5:function(e,t,i){var n=i("3eba");n.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),n.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},d357:function(e,t,i){var n=i("6d8b"),a=n.each,o=i("1c5f"),r=o.simpleLayout,s=o.simpleLayoutEdge;function l(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),i=e.coordinateSystem;if(i&&"view"!==i.type){var n=e.getData(),o=[];a(i.dimensions,(function(e){o=o.concat(n.mapDimension(e,!0))}));for(var l=0;l=0&&a.each(e,(function(e){n.setIconStatus(e,"normal")}))})),n.setIconStatus(i,"emphasis"),e.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},s),t.dispatchAction({type:"changeMagicType",currentType:i,newOption:r})}},n.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)})),r.register("magicType",l);var h=l;e.exports=h},d3a4:function(e,t,i){var n,a=i("22d1"),o="urn:schemas-microsoft-com:vml",r="undefined"===typeof window?null:window,s=!1,l=r&&r.document;function u(e){return n(e)}if(l&&!a.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",o),n=function(e){return l.createElement("')}}catch(d){n=function(e){return l.createElement("<"+e+' xmlns="'+o+'" class="zrvml">')}}function c(){if(!s&&l){s=!0;var e=l.styleSheets;e.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}}t.doc=l,t.createNode=u,t.initVML=c},d3f4:function(e,t){function i(e){return{seriesType:e,reset:function(e,t){var i=t.findComponents({mainType:"legend"});if(i&&i.length){var n=e.getData();n.filterSelf((function(e){for(var t=n.getName(e),a=0;a=0)&&i({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},remove:function(e,t){a.unregister(t.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(e,t){a.unregister("axisPointer",t),o.superApply(this._model,"dispose",arguments)}}),r=o;e.exports=r},d4d1:function(e,t,i){var n=i("cbe5"),a=i("401b"),o=i("897a"),r=a.min,s=a.max,l=a.scaleAndAdd,u=a.copy,c=[],d=[],h=[];function p(e){return isNaN(e[0])||isNaN(e[1])}function f(e,t,i,n,a,o,r,s,l,u,c){return"none"!==u&&u?g.apply(this,arguments):m.apply(this,arguments)}function g(e,t,i,n,a,o,r,s,l,c,f){for(var g=0,m=i,v=0;v=a||m<0)break;if(p(y)){if(f){m+=o;continue}break}if(m===i)e[o>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=t[g],_="y"===c?1:0,b=(y[_]-x[_])*l;u(d,x),d[_]=x[_]+b,u(h,y),h[_]=y[_]-b,e.bezierCurveTo(d[0],d[1],h[0],h[1],y[0],y[1])}else e.lineTo(y[0],y[1]);g=m,m+=o}return v}function m(e,t,i,n,o,f,g,m,v,y,x){for(var _=0,b=i,w=0;w=o||b<0)break;if(p(S)){if(x){b+=f;continue}break}if(b===i)e[f>0?"moveTo":"lineTo"](S[0],S[1]),u(d,S);else if(v>0){var M=b+f,I=t[M];if(x)while(I&&p(t[M]))M+=f,I=t[M];var A=.5,T=t[_];I=t[M];if(!I||p(I))u(h,S);else{var D,C;if(p(I)&&!x&&(I=S),a.sub(c,I,T),"x"===y||"y"===y){var L="x"===y?0:1;D=Math.abs(S[L]-T[L]),C=Math.abs(S[L]-I[L])}else D=a.dist(S,T),C=a.dist(S,I);A=C/(C+D),l(h,S,c,-v*(1-A))}r(d,d,m),s(d,d,g),r(h,h,m),s(h,h,g),e.bezierCurveTo(d[0],d[1],h[0],h[1],S[0],S[1]),l(d,S,c,v*A)}else e.lineTo(S[0],S[1]);_=b,b+=f}return w}function v(e,t){var i=[1/0,1/0],n=[-1/0,-1/0];if(t)for(var a=0;an[0]&&(n[0]=o[0]),o[1]>n[1]&&(n[1]=o[1])}return{min:t?i:n,max:t?n:i}}var y=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:o(n.prototype.brush),buildPath:function(e,t){var i=t.points,n=0,a=i.length,o=v(i,t.smoothConstraint);if(t.connectNulls){for(;a>0;a--)if(!p(i[a-1]))break;for(;n0;o--)if(!p(i[o-1]))break;for(;a=i&&o<=i+t.axisLength&&r>=n&&r<=n+t.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,t){t.eachSeries((function(i){if(e.contains(i,t)){var n=i.getData();d(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(n,n.mapDimension(e)),r.niceScaleExtent(t.scale,t.model)}),this)}}),this)},resize:function(e,t){this._rect=o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,i=this._rect,n=["x","y"],a=["width","height"],o=t.get("layout"),r="horizontal"===o?0:1,s=i[a[r]],l=[0,s],u=this.dimensions.length,c=x(t.get("axisExpandWidth"),l),d=x(t.get("axisExpandCount")||0,[0,u]),h=t.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,p=t.get("axisExpandWindow");if(p)e=x(p[1]-p[0],l),p[1]=p[0]+e;else{e=x(c*(d-1),l);var v=t.get("axisExpandCenter")||f(u/2);p=[c*v-e/2],p[1]=p[0]+e}var y=(s-e)/(u-d);y<3&&(y=0);var _=[f(m(p[0]/c,1))+1,g(m(p[1]/c,1))-1],b=y/c*p[0];return{layout:o,pixelDimIndex:r,layoutBase:i[n[r]],layoutLength:s,axisBase:i[n[1-r]],axisLength:i[a[1-r]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:y,axisExpandWindow:p,axisCount:u,winInnerIndices:_,axisExpandWindow0Pos:b}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),o=n.layout;t.each((function(e){var t=[0,n.axisLength],i=e.inverse?1:0;e.setExtent(t[i],t[1-i])})),d(i,(function(t,i){var r=(n.axisExpandable?b:_)(i,n),s={horizontal:{x:r.position,y:n.axisLength},vertical:{x:0,y:r.position}},l={horizontal:v/2,vertical:0},u=[s[o].x+e.x,s[o].y+e.y],c=l[o],d=a.create();a.rotate(d,d,c),a.translate(d,d,u),this._axesLayout[t]={position:u,rotation:c,transform:d,axisNameAvailableWidth:r.axisNameAvailableWidth,axisLabelShow:r.axisLabelShow,nameTruncateMaxWidth:r.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(e){return this._axesMap.get(e)},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},eachActiveState:function(e,t,i,a){null==i&&(i=0),null==a&&(a=e.count());var o=this._axesMap,r=this.dimensions,s=[],l=[];n.each(r,(function(t){s.push(e.mapDimension(t)),l.push(o.get(t).model)}));for(var u=this.hasAxisBrushed(),c=i;ca*(1-d[0])?(l="jump",r=s-a*(1-d[2])):(r=s-a*d[1])>=0&&(r=s-a*(1-d[1]))<=0&&(r=0),r*=t.axisExpandWidth/u,r?c(r,n,o,"all"):l="none";else{a=n[1]-n[0];var g=o[1]*s/a;n=[p(0,g-a/2)],n[1]=h(o[1],n[0]+a),n[0]=n[1]-a}return{axisExpandWindow:n,behavior:l}}};var w=y;e.exports=w},d9f1:function(e,t,i){var n=i("6d8b"),a=i("6cb7"),o=i("9e47"),r=i("2023"),s=a.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});n.merge(s.prototype,r);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function u(e,t){return t.type||(t.data?"category":"value")}o("angle",s,u,l.angle),o("radius",s,u,l.radius)},dae1:function(e,t,i){var n=i("3eba");i("928d"),i("b369"),i("4411");var a=i("90c2"),o=i("9ca8");n.registerVisual(a),n.registerLayout(o)},db0e:function(e,t,i){var n=i("3eba");i("a8c6"),i("8344"),n.registerPreprocessor((function(e){e.markPoint=e.markPoint||{}}))},db9e:function(e,t,i){var n=i("3eba"),a=i("6d8b"),o=i("e86a"),r=i("2145"),s=i("2306"),l=i("4319"),u=i("80f0"),c=i("7919"),d=n.extendComponentView({type:"toolbox",render:function(e,t,i,n){var d=this.group;if(d.removeAll(),e.get("show")){var p=+e.get("itemSize"),f=e.get("feature")||{},g=this._features||(this._features={}),m=[];a.each(f,(function(e,t){m.push(t)})),new u(this._featureNames||[],m).add(v).update(v).remove(a.curry(v,null)).execute(),this._featureNames=m,c.layout(d,e,i),d.add(c.makeBackground(d.getBoundingRect(),e)),d.eachChild((function(e){var t=e.__title,n=e.hoverStyle;if(n&&t){var a=o.getBoundingRect(t,o.makeFont(n)),r=e.position[0]+d.position[0],s=e.position[1]+d.position[1]+p,l=!1;s+a.height>i.getHeight()&&(n.textPosition="top",l=!0);var u=l?-5-a.height:p+8;r+a.width/2>i.getWidth()?(n.textPosition=["100%",u],n.textAlign="right"):r-a.width/2<0&&(n.textPosition=[0,u],n.textAlign="left")}}))}function v(a,o){var s,u=m[a],c=m[o],d=f[u],p=new l(d,e,e.ecModel);if(u&&!c){if(h(u))s={model:p,onclick:p.option.onclick,featureName:u};else{var v=r.get(u);if(!v)return;s=new v(p,t,i)}g[u]=s}else{if(s=g[c],!s)return;s.model=p,s.ecModel=t,s.api=i}u||!c?p.get("show")&&!s.unusable?(y(p,s,u),p.setIconStatus=function(e,t){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[e]=t,n[e]&&n[e].trigger(t)},s.render&&s.render(p,t,i,n)):s.remove&&s.remove(t,i):s.dispose&&s.dispose(t,i)}function y(n,o,r){var l=n.getModel("iconStyle"),u=n.getModel("emphasis.iconStyle"),c=o.getIcons?o.getIcons():n.get("icon"),h=n.get("title")||{};if("string"===typeof c){var f=c,g=h;c={},h={},c[r]=f,h[r]=g}var m=n.iconPaths={};a.each(c,(function(r,c){var f=s.createIcon(r,{},{x:-p/2,y:-p/2,width:p,height:p});f.setStyle(l.getItemStyle()),f.hoverStyle=u.getItemStyle(),s.setHoverStyle(f),e.get("showTitle")&&(f.__title=h[c],f.on("mouseover",(function(){var e=u.getItemStyle();f.setStyle({text:h[c],textPosition:e.textPosition||"bottom",textFill:e.fill||e.stroke||"#000",textAlign:e.textAlign||"center"})})).on("mouseout",(function(){f.setStyle({textFill:null})}))),f.trigger(n.get("iconStatus."+c)||"normal"),d.add(f),f.on("click",a.bind(o.onclick,o,t,i,c)),m[c]=f}))}},updateView:function(e,t,i,n){a.each(this._features,(function(e){e.updateView&&e.updateView(e.model,t,i,n)}))},remove:function(e,t){a.each(this._features,(function(i){i.remove&&i.remove(e,t)})),this.group.removeAll()},dispose:function(e,t){a.each(this._features,(function(i){i.dispose&&i.dispose(e,t)}))}});function h(e){return 0===e.indexOf("my")}e.exports=d},dc20:function(e,t,i){var n=i("8727"),a=n.createElement,o=i("6d8b"),r=i("4942"),s=i("cbe5"),l=i("0da8"),u=i("76a5"),c=i("0c12"),d=i("b16f"),h=i("9fa3"),p=i("bcaa"),f=i("3f8e"),g=f.path,m=f.image,v=f.text;function y(e){return parseInt(e,10)}function x(e){return e instanceof s?g:e instanceof l?m:e instanceof u?v:g}function _(e,t){return t&&e&&t.parentNode!==e}function b(e,t,i){if(_(e,t)&&i){var n=i.nextSibling;n?e.insertBefore(t,n):e.appendChild(t)}}function w(e,t){if(_(e,t)){var i=e.firstChild;i?e.insertBefore(t,i):e.appendChild(t)}}function S(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)}function M(e){return e.__textSvgEl}function I(e){return e.__svgEl}var A=function(e,t,i,n){this.root=e,this.storage=t,this._opts=i=o.extend({},i||{});var r=a("svg");r.setAttribute("xmlns","http://www.w3.org/2000/svg"),r.setAttribute("version","1.1"),r.setAttribute("baseProfile","full"),r.style.cssText="user-select:none;position:absolute;left:0;top:0;",this.gradientManager=new d(n,r),this.clipPathManager=new h(n,r),this.shadowManager=new p(n,r);var s=document.createElement("div");s.style.cssText="overflow:hidden;position:relative",this._svgRoot=r,this._viewport=s,e.appendChild(s),s.appendChild(r),this.resize(i.width,i.height),this._visibleList=[]};function T(e){return function(){r('In SVG mode painter not support method "'+e+'"')}}A.prototype={constructor:A,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0);this._paintList(e)},setBackgroundColor:function(e){this._viewport.style.background=e},_paintList:function(e){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var t,i=this._svgRoot,n=this._visibleList,a=e.length,o=[];for(t=0;t=0;--n)if(t[n]===e)return!0;return!1}),i}return null}return i[0]},resize:function(e,t){var i=this._viewport;i.style.display="none";var n=this._opts;if(null!=e&&(n.width=e),null!=t&&(n.height=t),e=this._getSize(0),t=this._getSize(1),i.style.display="",this._width!==e||this._height!==t){this._width=e,this._height=t;var a=i.style;a.width=e+"px",a.height=t+"px";var o=this._svgRoot;o.setAttribute("width",e),o.setAttribute("height",t)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,i=["width","height"][e],n=["clientWidth","clientHeight"][e],a=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(null!=t[i]&&"auto"!==t[i])return parseFloat(t[i]);var r=this.root,s=document.defaultView.getComputedStyle(r);return(r[n]||y(s[i])||y(r.style[i]))-(y(s[a])||0)-(y(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToDataUrl:function(){this.refresh();var e=this._svgRoot.outerHTML;return"data:image/svg+xml;charset=UTF-8,"+e}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],(function(e){A.prototype[e]=T(e)}));var D=A;e.exports=D},dcb3:function(e,t,i){var n=i("6d8b"),a=i("625e"),o=i("2306"),r=i("cd33"),s=i("607d"),l=i("88b3"),u=i("e0d3"),c=u.makeInner,d=c(),h=n.clone,p=n.bind;function f(){}function g(e,t,i,n){m(d(i).lastProp,n)||(d(i).lastProp=n,t?o.updateProps(i,n,e):(i.stopAnimation(),i.attr(n)))}function m(e,t){if(n.isObject(e)&&n.isObject(t)){var i=!0;return n.each(t,(function(t,n){i=i&&m(e[n],t)})),!!i}return e===t}function v(e,t){e[t.get("label.show")?"show":"hide"]()}function y(e){return{position:e.position.slice(),rotation:e.rotation||0}}function x(e,t,i){var n=t.get("z"),a=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=a&&(e.zlevel=a),e.silent=i)}))}f.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,i,a){var r=t.get("value"),s=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=i,a||this._lastValue!==r||this._lastStatus!==s){this._lastValue=r,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,r,e,t,i);var d=c.graphicKey;d!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=d;var h=this._moveAnimation=this.determineAnimation(e,t);if(l){var p=n.curry(g,t,h);this.updatePointerEl(l,c,p,t),this.updateLabelEl(l,c,p,t)}else l=this._group=new o.Group,this.createPointerEl(l,c,e,t),this.createLabelEl(l,c,e,t),i.getZr().add(l);x(l,t,!0),this._renderHandle(r)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var i=t.get("animation"),n=e.axis,a="category"===n.type,o=t.get("snap");if(!o&&!a)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(a&&n.getBandWidth()>s)return!0;if(o){var l=r.getAxisInfo(e).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===i},makeElOption:function(e,t,i,n,a){},createPointerEl:function(e,t,i,n){var a=t.pointer;if(a){var r=d(e).pointerEl=new o[a.type](h(t.pointer));e.add(r)}},createLabelEl:function(e,t,i,n){if(t.label){var a=d(e).labelEl=new o.Rect(h(t.label));e.add(a),v(a,n)}},updatePointerEl:function(e,t,i){var n=d(e).pointerEl;n&&(n.setStyle(t.pointer.style),i(n,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,i,n){var a=d(e).labelEl;a&&(a.setStyle(t.label.style),i(a,{shape:t.label.shape,position:t.label.position}),v(a,n))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t,i=this._axisPointerModel,a=this._api.getZr(),r=this._handle,u=i.getModel("handle"),c=i.get("status");if(!u.get("show")||!c||"hide"===c)return r&&a.remove(r),void(this._handle=null);this._handle||(t=!0,r=this._handle=o.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){s.stop(e.event)},onmousedown:p(this._onHandleDragMove,this,0,0),drift:p(this._onHandleDragMove,this),ondragend:p(this._onHandleDragEnd,this)}),a.add(r)),x(r,i,!1);var d=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];r.setStyle(u.getItemStyle(null,d));var h=u.get("size");n.isArray(h)||(h=[h,h]),r.attr("scale",[h[0]/2,h[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},_moveHandleToValue:function(e,t){g(this._axisPointerModel,!t&&this._moveAnimation,this._handle,y(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(y(i),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(y(n)),d(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var e=this._handle;if(e){var t=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},_onHandleDragEnd:function(e){this._dragging=!1;var t=this._handle;if(t){var i=this._axisPointerModel.get("value");this._moveHandleToValue(i),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),i=this._group,n=this._handle;t&&i&&(this._lastGraphicKey=null,i&&t.remove(i),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,i){return i=i||0,{x:e[i],y:e[1-i],width:t[i],height:t[1-i]}}},f.prototype.constructor=f,a.enableClassExtend(f);var _=f;e.exports=_},dcea:function(e,t,i){var n=i("6d8b"),a=i("e887"),o=i("2306"),r=i("cbe5"),s=["itemStyle"],l=["emphasis","itemStyle"],u=a.extend({type:"boxplot",render:function(e,t,i){var n=e.getData(),a=this.group,o=this._data;this._data||a.removeAll();var r="horizontal"===e.get("layout")?1:0;n.diff(o).add((function(e){if(n.hasValue(e)){var t=n.getItemLayout(e),i=d(t,n,e,r,!0);n.setItemGraphicEl(e,i),a.add(i)}})).update((function(e,t){var i=o.getItemGraphicEl(t);if(n.hasValue(e)){var s=n.getItemLayout(e);i?h(s,i,n,e):i=d(s,n,e,r),a.add(i),n.setItemGraphicEl(e,i)}else a.remove(i)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&a.remove(t)})).execute(),this._data=n},remove:function(e){var t=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl((function(e){e&&t.remove(e)}))},dispose:n.noop}),c=r.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var i=t.points,n=0;for(e.moveTo(i[n][0],i[n][1]),n++;n<4;n++)e.lineTo(i[n][0],i[n][1]);for(e.closePath();n=0;i--)s.asc(t[i])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(e))return"inactive";if(1===t.length){var i=t[0];if(i[0]<=e&&e<=i[1])return"active"}else for(var n=0,a=t.length;nt)return e[n];return e[i-1]}var l={clearColorPalette:function(){r(this).colorIdx=0,r(this).colorNameMap={}},getColorFromPalette:function(e,t,i){t=t||this;var n=r(t),a=n.colorIdx||0,l=n.colorNameMap=n.colorNameMap||{};if(l.hasOwnProperty(e))return l[e];var u=o(this.get("color",!0)),c=this.get("colorLayer",!0),d=null!=i&&c?s(c,i):u;if(d=d||u,d&&d.length){var h=d[a];return e&&(l[e]=h),n.colorIdx=(a+1)%d.length,h}}};e.exports=l},e6cd:function(e,t,i){var n=i("6d8b");function a(){var e,t=[],i={};return{add:function(e,a,o,r,s){return n.isString(r)&&(s=r,r=0),!i[e.id]&&(i[e.id]=1,t.push({el:e,target:a,time:o,delay:r,easing:s}),!0)},done:function(t){return e=t,this},start:function(){for(var n=t.length,a=0,o=t.length;a"],a.isArray(e)&&(e=e.slice(),n=!0),o=t?e:n?[c(e[0]),c(e[1])]:c(e),a.isString(u)?u.replace("{value}",n?o[0]:o).replace("{value2}",n?o[1]:o):a.isFunction(u)?n?u(e[0],e[1]):u(e):n?e[0]===l[0]?i[0]+" "+o[1]:e[1]===l[1]?i[1]+" "+o[0]:o[0]+" - "+o[1]:o;function c(e){return e===l[0]?"min":e===l[1]?"max":(+e).toFixed(Math.min(s,20))}},resetExtent:function(){var e=this.option,t=g([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension,i=e.dimensions;if(null!=t||i.length){if(null!=t)return e.getDimension(t);for(var n=e.dimensions,a=n.length-1;a>=0;a--){var o=n[a],r=e.getDimensionInfo(o);if(!r.isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,i={inRange:t.inRange,outOfRange:t.outOfRange},n=t.target||(t.target={}),o=t.controller||(t.controller={});a.merge(n,i),a.merge(o,i);var l=this.isCategory();function u(i){p(t.color)&&!i.inRange&&(i.inRange={color:t.color.slice().reverse()}),i.inRange=i.inRange||{color:e.get("gradientColor")},f(this.stateList,(function(e){var t=i[e];if(a.isString(t)){var n=r.get(t,"active",l);n?(i[e]={},i[e][t]=n):delete i[e]}}),this)}function c(e,t,i){var n=e[t],a=e[i];n&&!a&&(a=e[i]={},f(n,(function(e,t){if(s.isValidType(t)){var i=r.get(t,"inactive",l);null!=i&&(a[t]=i,"color"!==t||a.hasOwnProperty("opacity")||a.hasOwnProperty("colorAlpha")||(a.opacity=[0,0]))}})))}function g(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,i=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,n=this.get("inactiveColor");f(this.stateList,(function(o){var r=this.itemSize,s=e[o];s||(s=e[o]={color:l?n:[n]}),null==s.symbol&&(s.symbol=t&&a.clone(t)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=i&&a.clone(i)||(l?r[0]:[r[0],r[0]])),s.symbol=d(s.symbol,(function(e){return"none"===e||"square"===e?"roundRect":e}));var u=s.symbolSize;if(null!=u){var c=-1/0;h(u,(function(e){e>c&&(c=e)})),s.symbolSize=d(u,(function(e){return m(e,[0,c],[0,r[0]],!0)}))}}),this)}u.call(this,n),u.call(this,o),c.call(this,n,"inRange","outOfRange"),g.call(this,o)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v}),x=y;e.exports=x},eaeb:function(e,t,i){var n=i("6d8b");function a(e,t){return n.map(["Radius","Angle"],(function(i,n){var a=this["get"+i+"Axis"](),o=t[n],r=e[n]/2,s="dataTo"+i,l="category"===a.type?a.getBandWidth():Math.abs(a[s](o-r)-a[s](o+r));return"Angle"===i&&(l=l*Math.PI/180),l}),this)}function o(e){var t=e.getRadiusAxis(),i=e.getAngleAxis(),o=t.getExtent();return o[0]>o[1]&&o.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:o[1],r0:o[0]},api:{coord:n.bind((function(n){var a=t.dataToRadius(n[0]),o=i.dataToAngle(n[1]),r=e.coordToPoint([a,o]);return r.push(a,o*Math.PI/180),r})),size:n.bind(a,e)}}}e.exports=o},eb6b:function(e,t,i){var n=i("6d8b"),a=i("e0d3"),o=a.makeInner,r=i("cd33"),s=i("133d"),l=n.each,u=n.curry,c=o();function d(e,t,i){var a=e.currTrigger,o=[e.x,e.y],r=e,c=e.dispatchAction||n.bind(i.dispatchAction,i),d=t.getComponent("axisPointer").coordSysAxesInfo;if(d){b(o)&&(o=s({seriesIndex:r.seriesIndex,dataIndex:r.dataIndex},t).point);var p=b(o),w=r.axesInfo,S=d.axesInfo,M="leave"===a||b(o),I={},A={},T={list:[],map:{}},D={showPointer:u(f,A),showTooltip:u(g,T)};l(d.coordSysMap,(function(e,t){var i=p||e.containPoint(o);l(d.coordSysAxesInfo[t],(function(e,t){var n=e.axis,a=x(w,e);if(!M&&i&&(!w||a)){var r=a&&a.value;null!=r||p||(r=n.pointToData(o)),null!=r&&h(e,r,D,!1,I)}}))}));var C={};return l(S,(function(e,t){var i=e.linkGroup;i&&!A[t]&&l(i.axesInfo,(function(t,n){var a=A[n];if(t!==e&&a){var o=a.value;i.mapper&&(o=e.axis.scale.parse(i.mapper(o,_(t),_(e)))),C[e.key]=o}}))})),l(C,(function(e,t){h(S[t],e,D,!0,I)})),m(A,S,I),v(T,o,e,c),y(S,c,i),I}}function h(e,t,i,a,o){var r=e.axis;if(!r.scale.isBlank()&&r.containData(t))if(e.involveSeries){var s=p(t,e),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==o.seriesIndex&&n.extend(o,l[0]),!a&&e.snap&&r.containData(u)&&null!=u&&(t=u),i.showPointer(e,t,l,o),i.showTooltip(e,s,u)}else i.showPointer(e,t)}function p(e,t){var i=t.axis,n=i.dim,a=e,o=[],r=Number.MAX_VALUE,s=-1;return l(t.seriesModels,(function(t,u){var c,d,h=t.getData().mapDimension(n,!0);if(t.getAxisTooltipData){var p=t.getAxisTooltipData(h,e,i);d=p.dataIndices,c=p.nestestValue}else{if(d=t.getData().indicesOfNearest(h[0],e,"category"===i.type?.5:null),!d.length)return;c=t.getData().get(h[0],d[0])}if(null!=c&&isFinite(c)){var f=e-c,g=Math.abs(f);g<=r&&((g=0&&s<0)&&(r=g,s=f,a=c,o.length=0),l(d,(function(e){o.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:o,snapToValue:a}}function f(e,t,i,n){e[t.key]={value:i,payloadBatch:n}}function g(e,t,i,n){var a=i.payloadBatch,o=t.axis,s=o.model,l=t.axisPointerModel;if(t.triggerTooltip&&a.length){var u=t.coordSys.model,c=r.makeKey(u),d=e.map[c];d||(d=e.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},e.list.push(d)),d.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:a.slice()})}}function m(e,t,i){var n=i.axesInfo=[];l(t,(function(t,i){var a=t.axisPointerModel.option,o=e[i];o?(!t.useHandle&&(a.status="show"),a.value=o.value,a.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(a.status="hide"),"show"===a.status&&n.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:a.value})}))}function v(e,t,i,n){if(!b(t)&&e.list.length){var a=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:e.list})}else n({type:"hideTip"})}function y(e,t,i){var a=i.getZr(),o="axisPointerLastHighlights",r=c(a)[o]||{},s=c(a)[o]={};l(e,(function(e,t){var i=e.axisPointerModel.option;"show"===i.status&&l(i.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;s[t]=e}))}));var u=[],d=[];n.each(r,(function(e,t){!s[t]&&d.push(e)})),n.each(s,(function(e,t){!r[t]&&u.push(e)})),d.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:d}),u.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:u})}function x(e,t){for(var i=0;i<(e||[]).length;i++){var n=e[i];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function _(e){var t=e.axis.model,i={},n=i.axisDim=e.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=t.componentIndex,i.axisName=i[n+"AxisName"]=t.name,i.axisId=i[n+"AxisId"]=t.id,i}function b(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}e.exports=d},ebf9:function(e,t,i){var n=i("3eba");n.registerAction("legendScroll","legendscroll",(function(e,t){var i=e.scrollDataIndex;null!=i&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(i)}))}))},ec02:function(e,t,i){var n=i("6d8b"),a=i("84ce"),o=function(e,t,i,n,o){a.call(this,e,t,i),this.type=n||"value",this.position=o||"bottom"};o.prototype={constructor:o,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},n.inherits(o,a);var r=o;e.exports=r},ec1b:function(e,t,i){!function(t,i){e.exports=i()}(0,(function(){return function(e){function t(n){if(i[n])return i[n].exports;var a=i[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var i={};return t.m=e,t.c=i,t.i=function(e){return e},t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=2)}([function(e,t,i){var n=i(4)(i(1),i(5),null,null);e.exports=n.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(3);t.default={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(e){return e>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(e,t,i,n){return i*(1-Math.pow(2,-10*e/n))*1024/1023+t}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,n.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,n.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,n.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,n.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(e){this.startTime||(this.startTime=e),this.timestamp=e;var t=e-this.startTime;this.remaining=this.localDuration-t,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(t,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(t,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(t/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(t/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),t1?this.decimal+t[1]:"",a=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;a.test(i);)i=i.replace(a,"$1"+this.separator+"$2");return this.prefix+i+n+this.suffix}},destroyed:function(){(0,n.cancelAnimationFrame)(this.rAF)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),a=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=a.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",a.default)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=0,a="webkit moz ms o".split(" "),o=void 0,r=void 0;if("undefined"==typeof window)t.requestAnimationFrame=o=function(){},t.cancelAnimationFrame=r=function(){};else{t.requestAnimationFrame=o=window.requestAnimationFrame,t.cancelAnimationFrame=r=window.cancelAnimationFrame;for(var s=void 0,l=0;l=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],i=e.axisType,a=this._names=[];if("category"===i){var s=[];n.each(t,(function(e,t){var i,o=r.getDataItemValue(e);n.isObject(e)?(i=n.clone(e),i.value=t):i=t,s.push(i),n.isString(o)||null!=o&&!isNaN(o)||(o=""),a.push(o+"")})),t=s}var l={category:"ordinal",time:"time"}[i]||"number",u=this._data=new o([{name:"value",type:l}],this);u.initData(t,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;e.exports=l},edb9:function(e,t,i){var n=i("6d8b");function a(e,t){t=t||{};var i=e.coordinateSystem,a=e.axis,o={},r=a.position,s=a.orient,l=i.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};o.position=["vertical"===s?c.vertical[r]:u[0],"horizontal"===s?c.horizontal[r]:u[3]];var d={horizontal:0,vertical:1};o.rotation=Math.PI/2*d[s];var h={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=h[r],e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),n.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var p=t.rotate;return null==p&&(p=e.get("axisLabel.rotate")),o.labelRotation="top"===r?-p:p,o.z2=1,o}t.layout=a},ee66:function(e,t,i){var n=i("3eba"),a=i("6d8b"),o=i("2306"),r=i("eda2"),s=i("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:["日","一","二","三","四","五","六"]},c=n.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,i){var n=this.group;n.removeAll();var a=e.coordinateSystem,o=a.getRangeInfo(),r=a.getOrient();this._renderDayRect(e,o,n),this._renderLines(e,o,r,n),this._renderYearText(e,o,r,n),this._renderMonthText(e,r,n),this._renderWeekText(e,o,r,n)},_renderDayRect:function(e,t,i){for(var n=e.coordinateSystem,a=e.getModel("itemStyle").getItemStyle(),r=n.getCellWidth(),s=n.getCellHeight(),l=t.start.time;l<=t.end.time;l=n.getNextNDay(l,1).time){var u=n.dataToRect([l],!1).tl,c=new o.Rect({shape:{x:u[0],y:u[1],width:r,height:s},cursor:"default",style:a});i.add(c)}},_renderLines:function(e,t,i,n){var a=this,o=e.coordinateSystem,r=e.getModel("splitLine.lineStyle").getLineStyle(),s=e.get("splitLine.show"),l=r.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){h(u.formatedDate),0===c&&(u=o.getDateInfo(t.start.y+"-"+t.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=o.getDateInfo(d)}function h(t){a._firstDayOfMonth.push(o.getDateInfo(t)),a._firstDayPoints.push(o.dataToRect([t],!1).tl);var l=a._getLinePointsOfOneWeek(e,t,i);a._tlpoints.push(l[0]),a._blpoints.push(l[l.length-1]),s&&a._drawSplitline(l,r,n)}h(o.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(a._getEdgesPoints(a._tlpoints,l,i),r,n),s&&this._drawSplitline(a._getEdgesPoints(a._blpoints,l,i),r,n)},_getEdgesPoints:function(e,t,i){var n=[e[0].slice(),e[e.length-1].slice()],a="horizontal"===i?0:1;return n[0][a]=n[0][a]-t/2,n[1][a]=n[1][a]+t/2,n},_drawSplitline:function(e,t,i){var n=new o.Polyline({z2:20,shape:{points:e},style:t});i.add(n)},_getLinePointsOfOneWeek:function(e,t,i){var n=e.coordinateSystem;t=n.getDateInfo(t);for(var a=[],o=0;o<7;o++){var r=n.getNextNDay(t.time,o),s=n.dataToRect([r.time],!1);a[2*r.day]=s.tl,a[2*r.day+1]=s["horizontal"===i?"bl":"tr"]}return a},_formatterLabel:function(e,t){return"string"===typeof e&&e?r.formatTplSimple(e,t):"function"===typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,i,n,a){t=t.slice();var o=["center","bottom"];"bottom"===n?(t[1]+=a,o=["center","top"]):"left"===n?t[0]-=a:"right"===n?(t[0]+=a,o=["center","top"]):t[1]-=a;var r=0;return"left"!==n&&"right"!==n||(r=Math.PI/2),{rotation:r,position:t,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(e,t,i,n){var a=e.getModel("yearLabel");if(a.get("show")){var r=a.get("margin"),s=a.get("position");s||(s="horizontal"!==i?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,d="horizontal"===i?0:1,h={top:[u,l[d][1]],bottom:[u,l[1-d][1]],left:[l[1-d][0],c],right:[l[d][0],c]},p=t.start.y;+t.end.y>+t.start.y&&(p=p+"-"+t.end.y);var f=a.get("formatter"),g={start:t.start.y,end:t.end.y,nameMap:p},m=this._formatterLabel(f,g),v=new o.Text({z2:30});o.setTextStyle(v.style,a,{text:m}),v.attr(this._yearTextPositionControl(v,h[s],i,s,r)),n.add(v)}},_monthTextPositionControl:function(e,t,i,n,a){var o="left",r="top",s=e[0],l=e[1];return"horizontal"===i?(l+=a,t&&(o="center"),"start"===n&&(r="bottom")):(s+=a,t&&(r="middle"),"start"===n&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:r}},_renderMonthText:function(e,t,i){var n=e.getModel("monthLabel");if(n.get("show")){var r=n.get("nameMap"),s=n.get("margin"),u=n.get("position"),c=n.get("align"),d=[this._tlpoints,this._blpoints];a.isString(r)&&(r=l[r.toUpperCase()]||[]);var h="start"===u?0:1,p="horizontal"===t?0:1;s="start"===u?-s:s;for(var f="center"===c,g=0;g1?(g.width=c,g.height=c/p):(g.height=c,g.width=c*p),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else o=e.getBoxLayoutParams(),o.aspect=p,g=s.getLayoutRect(o,{width:d,height:h});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function h(e,t){o.each(t.get("geoCoord"),(function(t,i){e.addGeoCoord(i,t)}))}var p={dimensions:r.prototype.dimensions,create:function(e,t){var i=[];e.eachComponent("geo",(function(e,n){var a=e.get("map"),o=e.get("aspectScale"),s=!0,l=c.retrieveMap(a);l&&l[0]&&"svg"===l[0].type?(null==o&&(o=1),s=!1):null==o&&(o=.75);var u=new r(a+n,a,e.get("nameMap"),s);u.aspectScale=o,u.zoomLimit=e.get("scaleLimit"),i.push(u),h(u,e),e.coordinateSystem=u,u.model=e,u.resize=d,u.resize(e,t)})),e.eachSeries((function(e){var t=e.get("coordinateSystem");if("geo"===t){var n=e.get("geoIndex")||0;e.coordinateSystem=i[n]}}));var n={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();n[t]=n[t]||[],n[t].push(e)}})),o.each(n,(function(e,n){var a=o.map(e,(function(e){return e.get("nameMap")})),s=new r(n,n,o.mergeAll(a));s.zoomLimit=o.retrieve.apply(null,o.map(e,(function(e){return e.get("scaleLimit")}))),i.push(s),s.resize=d,s.aspectScale=e[0].get("aspectScale"),s.resize(e[0],t),o.each(e,(function(e){e.coordinateSystem=s,h(s,e)}))})),i},getFilledRegions:function(e,t,i){for(var n=(e||[]).slice(),a=o.createHashMap(),r=0;rs&&(t[1-o]=t[o]+h.sign*s),t}function n(e,t){var i=e[t]-e[1-t];return{span:Math.abs(i),sign:i>0?-1:i<0?1:t?-1:1}}function a(e,t){return Math.min(t[1],Math.max(t[0],e))}e.exports=i},ef97:function(e,t,i){var n=i("3eba");i("217b"),i("f17f");var a=i("7f96"),o=i("87c3"),r=i("fdde");i("01ed"),n.registerVisual(a("line","circle","line")),n.registerLayout(o("line")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,r("line"))},ef97a:function(e,t,i){var n=i("3eba");i("2163"),i("6cd8"),i("bf9b");var a=i("7f96"),o=i("ca29");n.registerVisual(a("tree","circle")),n.registerLayout(o)},f123:function(e,t,i){var n=i("9f82"),a=n.prepareDataCoordInfo,o=n.getStackedOnPoint;function r(e,t){var i=[];return t.diff(e).add((function(e){i.push({cmd:"+",idx:e})})).update((function(e,t){i.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){i.push({cmd:"-",idx:e})})).execute(),i}function s(e,t,i,n,s,l,u,c){for(var d=r(e,t),h=[],p=[],f=[],g=[],m=[],v=[],y=[],x=a(s,t,u),_=a(l,e,c),b=0;bt[0]?1:-1;t[0]+=n*i,t[1]-=n*i}return t}function w(e,t,i){if(!i.valueDim)return[];for(var n=[],a=0,o=t.count();ar[1]&&r.reverse();var s=a.getExtent(),u=Math.PI/180;i&&(r[0]-=.5,r[1]+=.5);var c=new l.Sector({shape:{cx:g(e.cx,1),cy:g(e.cy,1),r0:g(r[0],1),r:g(r[1],1),startAngle:-s[0]*u,endAngle:-s[1]*u,clockwise:a.inverse}});return t&&(c.shape.endAngle=-s[0]*u,l.initProps(c,{shape:{endAngle:-s[1]*u}},n)),c}function I(e,t,i,n){return"polar"===e.type?M(e,t,i,n):S(e,t,i,n)}function A(e,t,i){for(var n=t.getBaseAxis(),a="x"===n.dim||"radius"===n.dim?0:1,o=[],r=0;r=0;r--){var s=i[r].dimension,u=e.dimensions[s],c=e.getDimensionInfo(u);if(n=c&&c.coordDim,"x"===n||"y"===n){o=i[r];break}}if(o){var d=t.getAxis(n),h=a.map(o.stops,(function(e){return{coord:d.toGlobalCoord(d.dataToCoord(e.value)),color:e.color}})),p=h.length,f=o.outerColors.slice();p&&h[0].coord>h[p-1].coord&&(h.reverse(),f.reverse());var g=10,m=h[0].coord-g,v=h[p-1].coord+g,y=v-m;if(y<.001)return"transparent";a.each(h,(function(e){e.offset=(e.coord-m)/y})),h.push({offset:p?h[p-1].offset:.5,color:f[1]||"transparent"}),h.unshift({offset:p?h[0].offset:.5,color:f[0]||"transparent"});var x=new l.LinearGradient(0,0,0,0,h,!0);return x[n]=m,x[n+"2"]=v,x}}}function D(e,t,i){var n=e.get("showAllSymbol"),o="auto"===n;if(!n||o){var r=i.getAxesByScale("ordinal")[0];if(r&&(!o||!C(r,t))){var s=t.mapDimension(r.dim),l={};return a.each(r.getViewLabels(),(function(e){l[e.tickValue]=1})),function(e){return!l.hasOwnProperty(t.get(s,e))}}}}function C(e,t){var i=e.getExtent(),n=Math.abs(i[1]-i[0])/e.scale.count();isNaN(n)&&(n=0);for(var a=t.count(),o=Math.max(1,Math.round(a/5)),s=0;sn)return!1;return!0}var L=p.extend({type:"line",init:function(){var e=new l.Group,t=new o;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,i){var n=e.coordinateSystem,o=this.group,r=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),u=r.mapArray(r.getItemLayout),c="polar"===n.type,d=this._coordSys,h=this._symbolDraw,p=this._polyline,f=this._polygon,g=this._lineGroup,m=e.get("animation"),y=!l.isEmpty(),b=l.get("origin"),S=v(n,r,b),M=w(n,r,S),C=e.get("showSymbol"),L=C&&!c&&D(e,r,n),P=this._data;P&&P.eachItemGraphicEl((function(e,t){e.__temp&&(o.remove(e),P.setItemGraphicEl(t,null))})),C||h.remove(),o.add(g);var k=!c&&e.get("step");p&&d.type===n.type&&k===this._step?(y&&!f?f=this._newPolygon(u,M,n,m):f&&!y&&(g.remove(f),f=this._polygon=null),g.setClipPath(I(n,!1,!1,e)),C&&h.updateData(r,{isIgnore:L,clipShape:I(n,!1,!0,e)}),r.eachItemGraphicEl((function(e){e.stopAnimation(!0)})),x(this._stackedOnPoints,M)&&x(this._points,u)||(m?this._updateAnimation(r,M,n,i,k,b):(k&&(u=A(u,n,k),M=A(M,n,k)),p.setShape({points:u}),f&&f.setShape({points:u,stackedOnPoints:M})))):(C&&h.updateData(r,{isIgnore:L,clipShape:I(n,!1,!0,e)}),k&&(u=A(u,n,k),M=A(M,n,k)),p=this._newPolyline(u,n,m),y&&(f=this._newPolygon(u,M,n,m)),g.setClipPath(I(n,!0,!1,e)));var N=T(r,n)||r.getVisual("color");p.useStyle(a.defaults(s.getLineStyle(),{fill:"none",stroke:N,lineJoin:"bevel"}));var O=e.get("smooth");if(O=_(e.get("smooth")),p.setShape({smooth:O,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),f){var R=r.getCalculationInfo("stackedOnSeries"),E=0;f.useStyle(a.defaults(l.getAreaStyle(),{fill:N,opacity:.7,lineJoin:"bevel"})),R&&(E=_(R.get("smooth"))),f.setShape({smooth:O,stackedOnSmooth:E,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=r,this._coordSys=n,this._stackedOnPoints=M,this._points=u,this._step=k,this._valueOrigin=b},dispose:function(){},highlight:function(e,t,i,n){var a=e.getData(),o=u.queryDataIndex(a,n);if(!(o instanceof Array)&&null!=o&&o>=0){var s=a.getItemGraphicEl(o);if(!s){var l=a.getItemLayout(o);if(!l)return;s=new r(a,o),s.position=l,s.setZ(e.get("zlevel"),e.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,a.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else p.prototype.highlight.call(this,e,t,i,n)},downplay:function(e,t,i,n){var a=e.getData(),o=u.queryDataIndex(a,n);if(null!=o&&o>=0){var r=a.getItemGraphicEl(o);r&&(r.__temp?(a.setItemGraphicEl(o,null),this.group.remove(r)):r.downplay())}else p.prototype.downplay.call(this,e,t,i,n)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new d({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new h({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_updateAnimation:function(e,t,i,n,a,o){var r=this._polyline,u=this._polygon,c=e.hostModel,d=s(this._data,e,this._stackedOnPoints,t,this._coordSys,i,this._valueOrigin,o),h=d.current,p=d.stackedOnCurrent,f=d.next,g=d.stackedOnNext;a&&(h=A(d.current,i,a),p=A(d.stackedOnCurrent,i,a),f=A(d.next,i,a),g=A(d.stackedOnNext,i,a)),r.shape.__points=d.current,r.shape.points=h,l.updateProps(r,{shape:{points:f}},c),u&&(u.setShape({points:h,stackedOnPoints:p}),l.updateProps(u,{shape:{points:f,stackedOnPoints:g}},c));for(var m=[],v=d.status,y=0;ys)return;var a=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==a.behavior&&this._dispatchExpand({axisExpandWindow:a.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&u(this,"mousemove")){var t=this._model,i=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n&&null})}}};function u(e,t){var i=e._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===t}n.registerPreprocessor(r)},f31f:function(e,t,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),o=i("6d8b"),r=i("2b8c"),s=i("4319"),l=["#ddd"],u=a.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var i=this.option;!t&&r.replaceVisualOption(i,e,["inBrush","outOfBrush"]);var n=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:l},n.hasOwnProperty("liftZ")||(n.liftZ=5)},setAreas:function(e){e&&(this.areas=o.map(e,(function(e){return c(this.option,e)}),this))},setBrushOption:function(e){this.brushOption=c(this.option,e),this.brushType=this.brushOption.brushType}});function c(e,t){return o.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new s(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var d=u;e.exports=d},f47d:function(e,t,i){var n=i("6d8b"),a=(n.assert,n.isArray),o=i("4e08");o.__DEV__;function r(e){return new s(e)}function s(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0,this.context}var l=s.prototype;l.perform=function(e){var t,i=this._upstream,n=e&&e.skip;if(this._dirty&&i){var o=this.context;o.data=o.outputData=i.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!n&&(t=this._plan(this.context));var r,s=p(this._modBy),l=this._modDataCount||0,u=p(e&&e.modBy),h=e&&e.modDataCount||0;function p(e){return!(e>=1)&&(e=1),e}s===u&&l===h||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,r=d(this,n)),this._modBy=u,this._modDataCount=h;var f=e&&e.step;if(this._dueEnd=i?i._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,m=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!n&&(r||g1&&n>0?s:r}};return o;function r(){return t=e?null:o=0;v--){var y=m[v],x=y.node,_=y.width,b=y.text;g>f.width&&(g-=_-c,_=c,b=null);var w=new n.Polygon({shape:{points:h(l,0,_,d,v===m.length-1,0===v)},style:o.defaults(i.getItemStyle(),{lineJoin:"bevel",text:b,textFill:r.getTextColor(),textFont:r.getFont()}),z:10,onclick:o.curry(s,x)});this.group.add(w),p(w,e,x),l+=_+u}},remove:function(){this.group.removeAll()}};var f=d;e.exports=f},f6ed:function(e,t,i){var n=i("6d8b");function a(e,t){var i={};return n.each(e,(function(e){e.each(e.mapDimension("value"),(function(t,n){var a="ec-"+e.getName(n);i[a]=i[a]||[],isNaN(t)||i[a].push(t)}))})),e[0].map(e[0].mapDimension("value"),(function(n,a){for(var o,r="ec-"+e[0].getName(a),s=0,l=1/0,u=-1/0,c=i[r].length,d=0;dp[1]?-1:1,g=["start"===s?p[0]-f*h:"end"===s?p[1]+f*h:(p[0]+p[1])/2,P(s)?e.labelOffset+c*h:0],m=t.get("nameRotate");null!=m&&(m=m*b/180),P(s)?n=I(e.rotation,null!=m?m:e.rotation,c):(n=A(e,s,m||0,p),o=e.axisNameAvailableWidth,null!=o&&(o=Math.abs(o/Math.sin(n.rotation)),!isFinite(o)&&(o=null)));var v=d.getFont(),y=t.get("nameTruncate",!0)||{},x=y.ellipsis,_=a(e.nameTruncateMaxWidth,y.maxWidth,o),S=null!=x&&null!=_?l.truncateText(i,_,v,x,{minChar:2,placeholder:y.placeholder}):i,M=t.get("tooltip",!0),D=t.mainType,C={componentType:D,name:i,$vars:["name"]};C[D+"Index"]=t.componentIndex;var L=new u.Text({anid:"name",__fullText:i,__truncatedText:S,position:g,rotation:n.rotation,silent:T(t),z2:1,tooltip:M&&M.show?r({content:i,formatter:function(){return i},formatterParams:C},M):null});u.setTextStyle(L.style,d,{text:S,textFont:v,textFill:d.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:n.textAlign,textVerticalAlign:n.textVerticalAlign}),t.get("triggerEvent")&&(L.eventData=w(t),L.eventData.targetType="axisName",L.eventData.name=i),this._dumbGroup.add(L),L.updateTransform(),this.group.add(L),L.decomposeTransform()}}},I=S.innerTextLayout=function(e,t,i){var n,a,o=p(t-e);return h(o)?(a=i>0?"top":"bottom",n="center"):h(o-b)?(a=i>0?"bottom":"top",n="center"):(a="middle",n=o>0&&o0?"right":"left":i>0?"left":"right"),{rotation:o,textAlign:n,textVerticalAlign:a}};function A(e,t,i,n){var a,o,r=p(i-e.rotation),s=n[0]>n[1],l="start"===t&&!s||"start"!==t&&s;return h(r-b/2)?(o=l?"bottom":"top",a="center"):h(r-1.5*b)?(o=l?"top":"bottom",a="center"):(o="middle",a=r<1.5*b&&r>b/2?l?"left":"right":l?"right":"left"),{rotation:r,textAlign:a,textVerticalAlign:o}}function T(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)}function D(e,t,i){if(!_(e.axis)){var n=e.get("axisLabel.showMinLabel"),a=e.get("axisLabel.showMaxLabel");t=t||[],i=i||[];var o=t[0],r=t[1],s=t[t.length-1],l=t[t.length-2],u=i[0],c=i[1],d=i[i.length-1],h=i[i.length-2];!1===n?(C(o),C(u)):L(o,r)&&(n?(C(r),C(c)):(C(o),C(u))),!1===a?(C(s),C(d)):L(l,s)&&(a?(C(l),C(h)):(C(s),C(d)))}}function C(e){e&&(e.ignore=!0)}function L(e,t,i){var n=e&&e.getBoundingRect().clone(),a=t&&t.getBoundingRect().clone();if(n&&a){var o=m.identity([]);return m.rotate(o,o,-e.rotation),n.applyTransform(m.mul([],o,e.getLocalTransform())),a.applyTransform(m.mul([],o,t.getLocalTransform())),n.intersect(a)}}function P(e){return"middle"===e||"center"===e}function k(e,t,i){var n=t.axis;if(t.get("axisTick.show")&&!n.scale.isBlank()){for(var a=t.getModel("axisTick"),r=a.getModel("lineStyle"),s=a.get("length"),l=n.getTicksCoords(),c=[],d=[],h=e._transform,p=[],f=0;fm}function V(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function z(e,t,i,n){var a=new r.Group;return a.add(new r.Rect({name:"main",style:F(i),silent:!0,draggable:!0,cursor:"move",drift:u(e,t,a,"nswe"),ondragend:u(R,t,{isEnd:!0})})),c(n,(function(i){a.add(new r.Rect({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:u(e,t,a,i),ondragend:u(R,t,{isEnd:!0})}))})),a}function B(e,t,i,n){var a=n.brushStyle.lineWidth||0,o=p(a,v),r=i[0][0],s=i[1][0],l=r-a/2,u=s-a/2,c=i[0][1],d=i[1][1],h=c-o+a/2,f=d-o+a/2,g=c-r,m=d-s,y=g+a,x=m+a;H(e,t,"main",r,s,g,m),n.transformable&&(H(e,t,"w",l,u,o,x),H(e,t,"e",h,u,o,x),H(e,t,"n",l,u,y,o),H(e,t,"s",l,f,y,o),H(e,t,"nw",l,u,o,o),H(e,t,"ne",h,u,o,o),H(e,t,"sw",l,f,o,o),H(e,t,"se",h,f,o,o))}function G(e,t){var i=t.__brushOption,n=i.transformable,a=t.childAt(0);a.useStyle(F(i)),a.attr({silent:!n,cursor:n?"move":"default"}),c(["w","e","n","s","se","sw","ne","nw"],(function(i){var a=t.childOfName(i),o=U(e,i);a&&a.attr({silent:!n,invisible:!n,cursor:n?_[o]+"-resize":null})}))}function H(e,t,i,n,a,o,r){var s=t.childOfName(i);s&&s.setShape(K(q(e,t,[[n,a],[n+o,a+r]])))}function F(e){return a.defaults({strokeNoScale:!0},e.brushStyle)}function W(e,t,i,n){var a=[h(e,i),h(t,n)],o=[p(e,i),p(t,n)];return[[a[0],o[0]],[a[1],o[1]]]}function Z(e){return r.getTransform(e.group)}function U(e,t){if(t.length>1){t=t.split("");var i=[U(e,t[0]),U(e,t[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}var n={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"};i=r.transformDirection(n[t],Z(e));return a[i]}function j(e,t,i,n,a,o,r,s){var l=n.__brushOption,u=e(l.range),d=Y(i,o,r);c(a.split(""),(function(e){var t=x[e];u[t[0]][t[1]]+=d[t[0]]})),l.range=t(W(u[0][0],u[1][0],u[0][1],u[1][1])),L(i,n),R(i,{isEnd:!1})}function X(e,t,i,n,a){var o=t.__brushOption.range,r=Y(e,i,n);c(o,(function(e){e[0]+=r[0],e[1]+=r[1]})),L(e,t),R(e,{isEnd:!1})}function Y(e,t,i){var n=e.group,a=n.transformCoordToLocal(t,i),o=n.transformCoordToLocal(0,0);return[a[0]-o[0],a[1]-o[1]]}function q(e,t,i){var n=N(e,t);return n&&!0!==n?n.clipPath(i,e._transform):a.clone(i)}function K(e){var t=h(e[0][0],e[1][0]),i=h(e[0][1],e[1][1]),n=p(e[0][0],e[1][0]),a=p(e[0][1],e[1][1]);return{x:t,y:i,width:n-t,height:a-i}}function J(e,t,i){if(e._brushType){var n=e._zr,a=e._covers,o=k(e,t,i);if(!e._dragging)for(var r=0;rr)l+=360*u;return[s,l]},coordToPoint:function(e){var t=e[0],i=e[1]/180*Math.PI,n=Math.cos(i)*t+this.cx,a=-Math.sin(i)*t+this.cy;return[n,a]}};var r=o;e.exports=r},fd63:function(e,t,i){var n=i("42e5"),a={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var i=e.getData(),a=(e.visualColorAccessPath||"itemStyle.color").split("."),o=e.get(a)||e.getColorFromPalette(e.name,null,t.getSeriesCount());if(i.setVisual("color",o),!t.isSeriesFiltered(e)){"function"!==typeof o||o instanceof n||i.each((function(t){i.setItemVisual(t,"color",o(e.getDataParams(t)))}));var r=function(e,t){var i=e.getItemModel(t),n=i.get(a,!0);null!=n&&e.setItemVisual(t,"color",n)};return{dataEach:i.hasItemOption?r:null}}}};e.exports=a},fdde:function(e,t){var i={average:function(e){for(var t=0,i=0,n=0;nt&&(t=e[i]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,i=0;i1)"string"===typeof r?l=i[r]:"function"===typeof r&&(l=r),l&&e.setData(o.downSample(o.mapDimension(c.dim),1/p,l,n))}}}}e.exports=a},febc:function(e,t,i){var n=i("6d8b"),a=i("4f85"),o=i("e468"),r=o.seriesModelMixin,s=a.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});n.mixin(s,r,!0);var l=s;e.exports=l},fecb:function(e,t,i){var n=i("6d8b"),a=i("2145"),o=i("29a8"),r=o.toolbox.brush;function s(e,t,i){this.model=e,this.ecModel=t,this.api=i,this._brushType,this._brushMode}s.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:n.clone(r.title)};var l=s.prototype;l.render=l.updateView=function(e,t,i){var a,o,r;t.eachComponent({mainType:"brush"},(function(e){a=e.brushType,o=e.brushOption.brushMode||"single",r|=e.areas.length})),this._brushType=a,this._brushMode=o,n.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?r:t===a)?"emphasis":"normal")}))},l.getIcons=function(){var e=this.model,t=e.get("icon",!0),i={};return n.each(e.get("type",!0),(function(e){t[e]&&(i[e]=t[e])})),i},l.onclick=function(e,t,i){var n=this._brushType,a=this._brushMode;"clear"===i?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===a?"single":"multiple":a}})},a.register("brush",s);var u=s;e.exports=u},ff2e:function(e,t,i){var n=i("6d8b"),a=i("2306"),o=i("e86a"),r=i("eda2"),s=i("1687"),l=i("697e"),u=i("fab2");function c(e){var t,i=e.get("type"),n=e.getModel(i+"Style");return"line"===i?(t=n.getLineStyle(),t.fill=null):"shadow"===i&&(t=n.getAreaStyle(),t.stroke=null),t}function d(e,t,i,n,a){var s=i.get("value"),l=p(s,t.axis,t.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),u=i.getModel("label"),c=r.normalizeCssArray(u.get("padding")||0),d=u.getFont(),f=o.getBoundingRect(l,d),g=a.position,m=f.width+c[1]+c[3],v=f.height+c[0]+c[2],y=a.align;"right"===y&&(g[0]-=m),"center"===y&&(g[0]-=m/2);var x=a.verticalAlign;"bottom"===x&&(g[1]-=v),"middle"===x&&(g[1]-=v/2),h(g,m,v,n);var _=u.get("backgroundColor");_&&"auto"!==_||(_=t.get("axisLine.lineStyle.color")),e.label={shape:{x:0,y:0,width:m,height:v,r:u.get("borderRadius")},position:g.slice(),style:{text:l,textFont:d,textFill:u.getTextColor(),textPosition:"inside",fill:_,stroke:u.get("borderColor")||"transparent",lineWidth:u.get("borderWidth")||0,shadowBlur:u.get("shadowBlur"),shadowColor:u.get("shadowColor"),shadowOffsetX:u.get("shadowOffsetX"),shadowOffsetY:u.get("shadowOffsetY")},z2:10}}function h(e,t,i,n){var a=n.getWidth(),o=n.getHeight();e[0]=Math.min(e[0]+t,a)-t,e[1]=Math.min(e[1]+i,o)-i,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function p(e,t,i,a,o){e=t.scale.parse(e);var r=t.scale.getLabel(e,{precision:o.precision}),s=o.formatter;if(s){var u={value:l.getAxisRawValue(t,e),seriesData:[]};n.each(a,(function(e){var t=i.getSeriesByIndex(e.seriesIndex),n=e.dataIndexInside,a=t&&t.getDataParams(n);a&&u.seriesData.push(a)})),n.isString(s)?r=s.replace("{value}",r):n.isFunction(s)&&(r=s(u))}return r}function f(e,t,i){var n=s.create();return s.rotate(n,n,i.rotation),s.translate(n,n,i.position),a.applyTransform([e.dataToCoord(t),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function g(e,t,i,n,a,o){var r=u.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=a.get("label.margin"),d(t,n,a,o,{position:f(n.axis,e,i),align:r.textAlign,verticalAlign:r.textVerticalAlign})}function m(e,t,i){return i=i||0,{x1:e[i],y1:e[1-i],x2:t[i],y2:t[1-i]}}function v(e,t,i){return i=i||0,{x:e[i],y:e[1-i],width:t[i],height:t[1-i]}}function y(e,t,i,n,a,o){return{cx:e,cy:t,r0:i,r:n,startAngle:a,endAngle:o,clockwise:!0}}t.buildElStyle=c,t.buildLabelElOption=d,t.getValueLabel=p,t.getTransformedPosition=f,t.buildCartesianSingleLabelElOption=g,t.makeLineShape=m,t.makeRectShape=v,t.makeSectorShape=y}}]);