y)return{lines:[],width:0,height:0};N.textWidth=v(N.text,L);var P=T.textWidth,O=null==P||"auto"===P;if("string"==typeof P&&"%"===P.charAt(P.length-1))N.percentWidth=P,d.push(N),P=0;else{if(O){P=N.textWidth;var k=T.textBackgroundColor,R=k&&k.image;R&&(R=o.findExistImage(R),o.isImageReady(R)&&(P=Math.max(P,R.width*D/R.height)))}var B=C?C[1]+C[3]:0;P+=B;var E=null!=m?m-M:null;null!=E&&ES.x)||(_-=Math.PI);var T=b?"left":"right";x.setStyle({textPosition:T,textRotation:-_,textOrigin:"center",verticalAlign:"middle"})}if(c.parentNode&&c.parentNode!==p){var A=i.__edge;A||(A=i.__edge=new o.BezierCurve({shape:d(l,m,m),style:n.defaults({opacity:0},l.lineStyle)})),o.updateProps(A,{shape:d(l,v,y),style:{opacity:1}},s),r.add(A)}}function c(t,e,i,n,a,r){for(var s,l=t.tree.getNodeByDataIndex(e),h=t.tree.root,c=(r=u(l,l.getModel(),r),l.parentNode===h?l:l.parentNode||l);null==(s=c.getLayout());)c=c.parentNode===h?c:c.parentNode||c;o.updateProps(i,{position:[s.x+1,s.y+1]},a,function(){n.remove(i),t.setItemGraphicEl(e,null)}),i.fadeOut(null,{keepLabel:!0});var p=i.__edge;p&&o.updateProps(p,{shape:d(r,s,s),style:{opacity:0}},a,function(){n.remove(p)})}function d(t,e,i){var n,o,a,s,l=t.orient;if("radial"===t.layout){var u=e.rawX,h=e.rawY,c=i.rawX,d=i.rawY,p=r(u,h),f=r(u,h+(d-h)*t.curvature),g=r(c,d+(h-d)*t.curvature),v=r(c,d);return{x1:p.x,y1:p.y,x2:v.x,y2:v.y,cpx1:f.x,cpy1:f.y,cpx2:g.x,cpy2:g.y}}u=e.x,h=e.y,c=i.x,d=i.y;return"horizontal"===l&&(n=u+(c-u)*t.curvature,o=h,a=c+(u-c)*t.curvature,s=d),"vertical"===l&&(n=u,o=h+(d-h)*t.curvature,a=c,s=d+(h-d)*t.curvature),{x1:u,y1:h,x2:c,y2:d,cpx1:n,cpy1:o,cpx2:a,cpy2:s}}t.exports=s},"IGF+":function(t,e,i){var n=i("oBvO"),o=i("U9Yr"),a=i("AmKG"),r=i("9hGq"),s=i("qKeJ"),l=s.prototype,u=Math.ceil,h=Math.floor,c=s.extend({type:"time",getLabel:function(t){var e=this._stepLvl,i=new Date(t);return a.formatTime(e[0],i,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=864e5,e[1]+=864e5),e[1]===-1/0&&e[0]===1/0){var i=new Date;e[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),e[0]=e[1]-864e5}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var n=this._interval;t.fixMin||(e[0]=o.round(h(e[0]/n)*n)),t.fixMax||(e[1]=o.round(u(e[1]/n)*n))},niceTicks:function(t,e,i){t=t||10;var n=this._extent,a=n[1]-n[0],s=a/t;null!=e&&si&&(s=i);var l=d.length,c=function(t,e,i,n){for(;i>>1;t[o][1]r&&(r=t.depth)});var s=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:r;return a.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=s}),a.data},formatTooltip:function(t){for(var e=this.getData().tree,i=e.root.children[0],n=e.getNodeByDataIndex(t),o=n.getValue(),r=n.name;n&&n!==i;)r=n.parentNode.name+"."+r,n=n.parentNode;return a(r+(isNaN(o)||null==o?"":" : "+o))},defaultOption:{zlevel:0,z:2,left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",orient:"horizontal",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{normal:{color:"#ccc",width:1.5,curveness:.5}},itemStyle:{normal:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5}},label:{normal:{show:!0,color:"#555"}},leaves:{label:{normal:{show:!0}}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=r},If2U:function(t,e,i){i("Mguy").__DEV__;var n=i("oBvO"),o=i("p1Qj"),a=i("45P/"),r=i("lE8E"),s=n.each,l=n.indexOf,u=n.curry,h=["dataToPoint","pointToData"],c=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function d(t,e,i){var n=this._targetInfoList=[],o={},a=g(e,t);s(v,function(t,e){(!i||!i.include||l(i.include,e)>=0)&&t(a,n,o)})}var p=d.prototype;function f(t){return t[0]>t[1]&&t.reverse(),t}function g(t,e){return a.parseFinder(t,e,{includeMainTypes:c})}p.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,function(t,e,i){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=x[t.brushType](0,i,e);t.__rangeOffset={offset:b[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}})},p.matchOutputRanges=function(t,e,i){s(t,function(t){var o=this.findTargetInfo(t,e);o&&!0!==o&&n.each(o.coordSyses,function(n){var o=x[t.brushType](1,n,t.range);i(t,o.values,n,e)})},this)},p.setInputRanges=function(t,e){s(t,function(t){var i,n,o,a,r,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=x[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?b[t.brushType](l.values,u.offset,(i=l.xyMinMax,n=u.xyMinMax,o=S(i),a=S(n),r=[o[0]/a[0],o[1]/a[1]],isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r)):l.values}},this)},p.makePanelOpts=function(t,e){return n.map(this._targetInfoList,function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:e&&e(i),clipPath:r.makeRectPanelClipPath(n),isTargetByCursor:r.makeRectIsTargetByCursor(n,t,i.coordSysModel),getLinearBrushOtherExtent:r.makeLinearBrushOtherExtent(n)}})},p.controlSeries=function(t,e,i){var n=this.findTargetInfo(t,i);return!0===n||n&&l(n.coordSyses,e.coordinateSystem)>=0},p.findTargetInfo=function(t,e){for(var i=this._targetInfoList,n=g(e,t),o=0;o=0||l(o,t.getAxis("y").model)>=0)&&a.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:a[0],coordSyses:a,getPanelRect:y.grid,xAxisDeclared:u[t.id],yAxisDeclared:h[t.id]})}))},geo:function(t,e){s(t.geoModels,function(t){var i=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:i,coordSyses:[i],getPanelRect:y.geo})})}},m=[function(t,e){var i=t.xAxisModel,n=t.yAxisModel,o=t.gridModel;return!o&&i&&(o=i.axis.grid.model),!o&&n&&(o=n.axis.grid.model),o&&o===e.gridModel},function(t,e){var i=t.geoModel;return i&&i===e.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(o.getTransform(t)),e}},x={lineX:u(_,0),lineY:u(_,1),rect:function(t,e,i){var n=e[h[t]]([i[0][0],i[1][0]]),o=e[h[t]]([i[0][1],i[1][1]]),a=[f([n[0],o[0]]),f([n[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,i){var o=[[1/0,-1/0],[1/0,-1/0]];return{values:n.map(i,function(i){var n=e[h[t]](i);return o[0][0]=Math.min(o[0][0],n[0]),o[1][0]=Math.min(o[1][0],n[1]),o[0][1]=Math.max(o[0][1],n[0]),o[1][1]=Math.max(o[1][1],n[1]),n}),xyMinMax:o}}};function _(t,e,i,o){var a=i.getAxis(["x","y"][t]),r=f(n.map([0,1],function(t){return e?a.coordToData(a.toLocalCoord(o[t])):a.toGlobalCoord(a.dataToCoord(o[t]))})),s=[];return s[t]=r,s[1-t]=[NaN,NaN],{values:r,xyMinMax:s}}var b={lineX:u(w,0),lineY:u(w,1),rect:function(t,e,i){return[[t[0][0]-i[0]*e[0][0],t[0][1]-i[0]*e[0][1]],[t[1][0]-i[1]*e[1][0],t[1][1]-i[1]*e[1][1]]]},polygon:function(t,e,i){return n.map(t,function(t,n){return[t[0]-i[0]*e[n][0],t[1]-i[1]*e[n][1]]})}};function w(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[1]]}function S(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var M=d;t.exports=M},It60:function(t,e,i){i("Mguy").__DEV__;var n=i("+Ky8"),o=i("oBvO"),a=i("DGK2"),r=i("p1Qj"),s=["axisLine","axisTickLabel","axisName"],l=n.extendComponentView({type:"radar",render:function(t,e,i){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes(),n=o.map(i,function(t){return new a(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});o.each(n,function(t){o.each(s,t.add,t),this.group.add(t.getGroup())},this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes();if(i.length){var n=t.get("shape"),a=t.getModel("splitLine"),s=t.getModel("splitArea"),l=a.getModel("lineStyle"),u=s.getModel("areaStyle"),h=a.get("show"),c=s.get("show"),d=l.get("color"),p=u.get("color");d=o.isArray(d)?d:[d],p=o.isArray(p)?p:[p];var f=[],g=[];if("circle"===n)for(var v=i[0].getTicksCoords(),m=e.cx,y=e.cy,x=0;x0?100:20}},getFirstTargetAxisModel:function(){var t;return h(function(e){if(null==t){var i=this.get(e.axisIndex);i.length&&(t=this.dependentModels[e.axis][i[0]])}},this),t},eachTargetAxis:function(t,e){var i=this.ecModel;h(function(n){u(this.get(n.axisIndex),function(o){t.call(e,n,o,this,i)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var i=this.getAxisProxy(t,e);return i&&i.getAxisModel()},setRawRange:function(t,e){var i=this.option;u([["start","startValue"],["end","endValue"]],function(e){null==t[e[0]]&&null==t[e[1]]||(i[e[0]]=t[e[0]],i[e[1]]=t[e[1]])},this),!e&&d(this,t)},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var i in e)if(e.hasOwnProperty(i)&&e[i].hostedBy(this))return e[i];for(var i in e)if(e.hasOwnProperty(i)&&!e[i].hostedBy(this))return e[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});t.exports=p},"J67+":function(t,e,i){var n=i("bdiF"),o=i("Jw9/"),a=o.mergeLayoutParam,r=o.getLayoutParams,s=n.extend({type:"legend.scroll",setScrollDataIndex:function(t){this.option.scrollDataIndex=t},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(t,e,i,n){var o=r(t);s.superCall(this,"init",t,e,i,n),l(this,t,o)},mergeOption:function(t,e){s.superCall(this,"mergeOption",t,e),l(this,this.option,t)},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}}});function l(t,e,i){var n=[1,1];n[t.getOrient().index]=0,a(e,i,{type:"box",ignoreSize:n})}var u=s;t.exports=u},J6IX:function(t,e,i){var n=i("oBvO"),o=i("/kGE"),a=i("p1Qj"),r=i("zRtB").viewMixin,s=o.extend({type:"boxplot",getStyleUpdater:function(){return h},dispose:n.noop});n.mixin(s,r,!0);var l=["itemStyle","normal"],u=["itemStyle","emphasis"];function h(t,e,i){var n=e.getItemModel(i),o=n.getModel(l),r=e.getItemVisual(i,"color"),s=o.getItemStyle(["borderColor"]),h=t.childAt(t.whiskerIndex);h.style.set(s),h.style.stroke=r,h.dirty();var c=t.childAt(t.bodyIndex);c.style.set(s),c.style.stroke=r,c.dirty();var d=n.getModel(u).getItemStyle();a.setHoverStyle(t,d)}var c=s;t.exports=c},J9No:function(t,e,i){var n=i("+Ky8");i("lkfk"),i("qAfX"),n.registerPreprocessor(function(t){t.markArea=t.markArea||{}})},JoQu:function(t,e,i){var n=i("oBvO"),o=i("RK6p");function a(t,e){e=e||[0,360],o.call(this,"angle",t,e),this.type="category"}a.prototype={constructor:a,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:o.prototype.dataToCoord,angleToData:o.prototype.coordToData},n.inherits(a,o);var r=a;t.exports=r},JrB5:function(t,e,i){var n=i("BFHC"),o=i("KEOJ"),a=i("vEcs"),r=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"],s=Math.sqrt,l=Math.sin,u=Math.cos,h=Math.PI,c=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},d=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(c(t)*c(e))},p=function(t,e){return(t[0]*e[1]1&&(r*=s(_),c*=s(_));var b=(o===a?-1:1)*s((r*r*(c*c)-r*r*(x*x)-c*c*(y*y))/(r*r*(x*x)+c*c*(y*y)))||0,w=b*r*x/c,S=b*-c*y/r,M=(t+i)/2+u(m)*w-l(m)*S,I=(e+n)/2+l(m)*w+u(m)*S,T=p([1,0],[(y-w)/r,(x-S)/c]),A=[(y-w)/r,(x-S)/c],C=[(-1*y-w)/r,(-1*x-S)/c],L=p(A,C);d(A,C)<=-1&&(L=h),d(A,C)>=1&&(L=0),0===a&&L>0&&(L-=2*h),1===a&&L<0&&(L+=2*h),v.addData(g,M,I,r,c,T,L,m,a)}function g(t,e){var i=function(t){if(!t)return[];var e,i=t.replace(/-/g," -").replace(/ /g," ").replace(/ /g,",").replace(/,,/g,",");for(e=0;e0&&""===v[0]&&v.shift();for(var m=0;mn||l.newline?(a=0,h=v,r+=s+i,s=p.height):s=Math.max(s,p.height)}else{var m=p.height+(g?-g.y+p.y:0);(c=r+m)>o||l.newline?(a+=s+i,r=0,c=m,s=p.width):s=Math.max(s,p.width)}l.newline||(d[0]=a,d[1]=r,"horizontal"===t?a=h+i:r=c+i)})}var c=h,d=n.curry(h,"vertical"),p=n.curry(h,"horizontal");function f(t,e,i){i=r.normalizeCssArray(i||0);var n=e.width,s=e.height,l=a(t.left,n),u=a(t.top,s),h=a(t.right,n),c=a(t.bottom,s),d=a(t.width,n),p=a(t.height,s),f=i[2]+i[0],g=i[1]+i[3],v=t.aspect;switch(isNaN(d)&&(d=n-h-g-l),isNaN(p)&&(p=s-c-f-u),null!=v&&(isNaN(d)&&isNaN(p)&&(v>n/s?d=.8*n:p=.8*s),isNaN(d)&&(d=v*p),isNaN(p)&&(p=d/v)),isNaN(l)&&(l=n-h-d-g),isNaN(u)&&(u=s-c-p-f),t.left||t.right){case"center":l=n/2-d/2-i[3];break;case"right":l=n-d-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-p/2-i[0];break;case"bottom":u=s-p-f}l=l||0,u=u||0,isNaN(d)&&(d=n-g-l-(h||0)),isNaN(p)&&(p=s-f-u-(c||0));var m=new o(l+i[3],u+i[0],d,p);return m.margin=i,m}function g(t,e){return e&&t&&s(l,function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}e.LOCATION_PARAMS=l,e.HV_NAMES=u,e.box=c,e.vbox=d,e.hbox=p,e.getAvailableSize=function(t,e,i){var n=e.width,o=e.height,s=a(t.x,n),l=a(t.y,o),u=a(t.x2,n),h=a(t.y2,o);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(h)||isNaN(parseFloat(t.y2)))&&(h=o),i=r.normalizeCssArray(i||0),{width:Math.max(u-s-i[1]-i[3],0),height:Math.max(h-l-i[0]-i[2],0)}},e.getLayoutRect=f,e.positionElement=function(t,e,i,a,r){var s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if(s||l){var h;if("raw"===u)h="group"===t.type?new o(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(h=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(h=h.clone()).applyTransform(c)}e=f(n.defaults({width:h.width,height:h.height},e),i,a);var d=t.position,p=s?e.x-h.x:0,g=l?e.y-h.y:0;t.attr("position","raw"===u?[p,g]:[d[0]+p,d[1]+g])}},e.sizeCalculable=function(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]},e.mergeLayoutParam=function(t,e,i){!n.isObject(i)&&(i={});var o=i.ignoreSize;!n.isArray(o)&&(o=[o,o]);var a=l(u[0],0),r=l(u[1],1);function l(i,n){var a={},r=0,l={},u=0;if(s(i,function(e){l[e]=t[e]}),s(i,function(t){h(e,t)&&(a[t]=l[t]=e[t]),c(a,t)&&r++,c(l,t)&&u++}),o[n])return c(e,i[1])?l[i[2]]=null:c(e,i[2])&&(l[i[1]]=null),l;if(2!==u&&r){if(r>=2)return a;for(var d=0;dthis._ux||y(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,n,o,a){return this.addData(l.C,t,e,i,n,o,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,o,a):this._ctx.bezierCurveTo(t,e,i,n,o,a)),this._xi=o,this._yi=a,this},quadraticCurveTo:function(t,e,i,n){return this.addData(l.Q,t,e,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,n):this._ctx.quadraticCurveTo(t,e,i,n)),this._xi=i,this._yi=n,this},arc:function(t,e,i,n,o,a){return this.addData(l.A,t,e,i,i,n,o-n,0,a?0:1),this._ctx&&this._ctx.arc(t,e,i,n,o,a),this._xi=g(o)*i+t,this._yi=v(o)*i+t,this},arcTo:function(t,e,i,n,o){return this._ctx&&this._ctx.arcTo(t,e,i,n,o),this},rect:function(t,e,i,n){return this._ctx&&this._ctx.rect(t,e,i,n),this.addData(l.R,t,e,i,n),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;ie.length&&(this._expandData(),e=this.data);for(var i=0;i0&&g<=t||h<0&&g>=t||0==h&&(c>0&&v<=e||c<0&&v>=e);)g+=h*(i=r[n=this._dashIdx]),v+=c*i,this._dashIdx=(n+1)%y,h>0&&gl||c>0&&vu||s[n%2?"moveTo":"lineTo"](h>=0?p(g,t):f(g,t),c>=0?p(v,e):f(v,e));h=g-t,c=v-e,this._dashOffset=-m(h*h+c*c)},_dashedBezierTo:function(t,e,i,o,a,r){var s,l,u,h,c,d=this._dashSum,p=this._dashOffset,f=this._lineDash,g=this._ctx,v=this._xi,y=this._yi,x=n.cubicAt,_=0,b=this._dashIdx,w=f.length,S=0;for(p<0&&(p=d+p),p%=d,s=0;s<1;s+=.1)l=x(v,t,i,a,s+.1)-x(v,t,i,a,s),u=x(y,e,o,r,s+.1)-x(y,e,o,r,s),_+=m(l*l+u*u);for(;bp);b++);for(s=(S-p)/_;s<=1;)h=x(v,t,i,a,s),c=x(y,e,o,r,s),b%2?g.moveTo(h,c):g.lineTo(h,c),s+=f[b]/_,b=(b+1)%w;b%2!=0&&g.lineTo(a,r),l=a-h,u=r-c,this._dashOffset=-m(l*l+u*u)},_dashedQuadraticTo:function(t,e,i,n){var o=i,a=n;i=(i+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,n,o,a)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=c[0]=c[1]=Number.MAX_VALUE,h[0]=h[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,n=0,s=0,p=0;pu||y(r-o)>h||d===c-1)&&(t.lineTo(a,r),n=a,o=r);break;case l.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],o=s[d-1];break;case l.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],o=s[d-1];break;case l.A:var f=s[d++],m=s[d++],x=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],I=x>_?x:_,T=x>_?1:x/_,A=x>_?_/x:1,C=b+w;Math.abs(x-_)>.001?(t.translate(f,m),t.rotate(S),t.scale(T,A),t.arc(0,0,I,b,C,1-M),t.scale(1/T,1/A),t.rotate(-S),t.translate(-f,-m)):t.arc(f,m,I,b,C,1-M),1==d&&(e=g(b)*x+f,i=v(b)*_+m),n=g(C)*x+f,o=v(C)*_+m;break;case l.R:e=n=s[d],i=o=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:t.closePath(),n=e,o=i}}}},_.CMD=l;var b=_;t.exports=b},KO60:function(t,e,i){var n=i("5CTZ"),o=i("oBvO"),a=i("0UfQ");function r(t){n.call(this,t,"clipPath","__clippath_in_use__")}o.inherits(r,n),r.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var i=this.getTextSvgElement(t);i&&this.updateDom(i,t.__clipPaths,!0),this.markUsed(t)},r.prototype.updateDom=function(t,e,i){if(e&&e.length>0){var n,o,r=this.getDefs(!0),s=e[0],l=i?"_textDom":"_dom";s[l]?(o=s[l].getAttribute("id"),n=s[l],r.contains(n)||r.appendChild(n)):(o="zr-clip-"+this.nextId,++this.nextId,(n=this.createElement("clipPath")).setAttribute("id",o),r.appendChild(n),s[l]=n);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var h=Array.prototype.slice.call(s.transform);a.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=h}else u.brush(s);var c=this.getSvgElement(s);n.appendChild(c.cloneNode()),t.setAttribute("clip-path","url(#"+o+")"),e.length>1&&this.updateDom(n,e.slice(1),i)}else t&&t.setAttribute("clip-path","none")},r.prototype.markUsed=function(t){var e=this;t.__clipPaths&&t.__clipPaths.length>0&&o.each(t.__clipPaths,function(t){t._dom&&n.prototype.markUsed.call(e,t._dom),t._textDom&&n.prototype.markUsed.call(e,t._textDom)})};var s=r;t.exports=s},KYlP:function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("p1Qj"),r=i("YgfO"),s=i("XNsO"),l=i("PxpS"),u=i("10q8"),h=i("SKOb"),c=i("0UfQ"),d=i("mhHc"),p=i("pMij"),f=o.bind,g=a.Group,v=a.Rect,m=o.each,y=["label","normal"],x=["label","emphasis"],_=["upperLabel","normal"],b=["upperLabel","emphasis"],w=10,S=1,M=2,I=p([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),T=function(t){var e=I(t);return e.stroke=e.fill=e.lineWidth=null,e},A=n.extendChartView({type:"treemap",init:function(t,e){this._containerGroup,this._storage={nodeGroup:[],background:[],content:[]},this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(t,e,i,n){var a=e.findComponents({mainType:"series",subType:"treemap",query:n});if(!(o.indexOf(a,t)<0)){this.seriesModel=t,this.api=i,this.ecModel=e;var r=s.retrieveTargetInfo(n,t),l=n&&n.type,u=t.layoutInfo,h=!this._oldTree,c=this._storage,d="treemapRootToNode"===l&&r&&c?{rootNodeGroup:c.nodeGroup[r.node.getRawIndex()],direction:n.direction}:null,p=this._giveContainerGroup(u),f=this._doRender(p,t,d);h||l&&"treemapZoomToNode"!==l&&"treemapRootToNode"!==l?f.renderFinally():this._doAnimation(p,f,t,d),this._resetController(i),this._renderBreadcrumb(t,i,r)}},_giveContainerGroup:function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new g,this._initEvents(e),this.group.add(e)),e.attr("position",[t.x,t.y]),e},_doRender:function(t,e,i){var n=e.getData().tree,a=this._oldTree,s={nodeGroup:[],background:[],content:[]},l={nodeGroup:[],background:[],content:[]},u=this._storage,h=[],c=o.curry(C,e,l,u,i,s,h);!function t(e,i,n,a,s){a?(i=e,m(e,function(t,e){!t.isRemoved()&&u(e,e)})):new r(i,e,l,l).add(u).update(u).remove(o.curry(u,null)).execute();function l(t){return t.getId()}function u(o,r){var l=null!=o?e[o]:null,u=null!=r?i[r]:null,h=c(l,u,n,s);h&&t(l&&l.viewChildren||[],u&&u.viewChildren||[],h,a,s+1)}}(n.root?[n.root]:[],a&&a.root?[a.root]:[],t,n===a||!a,0);var d=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&m(t,function(t,i){var n=e[i];m(t,function(t){t&&(n.push(t),t.__tmWillDelete=1)})}),e}(u);return this._oldTree=n,this._storage=l,{lastsForAnimation:s,willDeleteEls:d,renderFinally:function(){m(d,function(t){m(t,function(t){t.parent&&t.parent.remove(t)})}),m(h,function(t){t.invisible=!0,t.dirty()})}}},_doAnimation:function(t,e,i,n){if(i.get("animation")){var a=i.get("animationDurationUpdate"),r=i.get("animationEasing"),s=d.createWrap();m(e.willDeleteEls,function(t,e){m(t,function(t,i){if(!t.invisible){var o,l=t.parent;if(n&&"drillDown"===n.direction)o=l===n.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,h=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,h=l.__tmNodeHeight/2),o="nodeGroup"===e?{position:[u,h],style:{opacity:0}}:{shape:{x:u,y:h,width:0,height:0},style:{opacity:0}}}o&&s.add(t,o,a,r)}})}),m(this._storage,function(t,i){m(t,function(t,n){var l=e.lastsForAnimation[i][n],u={};l&&("nodeGroup"===i?l.old&&(u.position=t.position.slice(),t.attr("position",l.old)):(l.old&&(u.shape=o.extend({},t.shape),t.setShape(l.old)),l.fadein?(t.setStyle("opacity",0),u.style={opacity:1}):1!==t.style.opacity&&(u.style={opacity:1})),s.add(t,u,a,r))})},this),this._state="animating",s.done(f(function(){this._state="ready",e.renderFinally()},this)).start()}},_resetController:function(t){var e=this._controller;e||((e=this._controller=new u(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",f(this._onPan,this)),e.on("zoom",f(this._onZoom,this)));var i=new h(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,n){return i.contain(e,n)})},_clearController:function(){var t=this._controller;t&&(t.dispose(),t=null)},_onPan:function(t,e){if("animating"!==this._state&&(Math.abs(t)>3||Math.abs(e)>3)){var i=this.seriesModel.getData().tree.root;if(!i)return;var n=i.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t,y:n.y+e,width:n.width,height:n.height}})}},_onZoom:function(t,e,i){if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var o=n.getLayout();if(!o)return;var a=new h(o.x,o.y,o.width,o.height),r=this.seriesModel.layoutInfo;e-=r.x,i-=r.y;var s=c.create();c.translate(s,s,[-e,-i]),c.scale(s,s,[t,t]),c.translate(s,s,[e,i]),a.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},_initEvents:function(t){t.on("click",function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var i=this.findTarget(t.offsetX,t.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===e)this._zoomToNode(i);else if("link"===e){var o=n.hostTree.data.getItemModel(n.dataIndex),a=o.get("link",!0),r=o.get("target",!0)||"blank";a&&window.open(a,r)}}}}},this)},_renderBreadcrumb:function(t,e,i){i||(i=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(i={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,i.node,f(function(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))},this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var i;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(n){var o=this._storage.background[n.getRawIndex()];if(o){var a=o.transformCoordToLocal(t,e),r=o.shape;if(!(r.x<=a[0]&&a[0]<=r.x+r.width&&r.y<=a[1]&&a[1]<=r.y+r.height))return!1;i={node:n,offsetX:a[0],offsetY:a[1]}}},this),i}});function C(t,e,i,n,r,s,l,u,h,c){if(l){var d=l.getLayout();if(d&&d.isInView){var p=d.width,f=d.height,m=d.borderWidth,A=d.invisible,C=l.getRawIndex(),L=u&&u.getRawIndex(),D=l.viewChildren,P=d.upperHeight,O=D&&D.length,k=l.getModel("itemStyle.normal"),R=l.getModel("itemStyle.emphasis"),B=G("nodeGroup",g);if(B){if(h.add(B),B.attr("position",[d.x||0,d.y||0]),B.__tmNodeWidth=p,B.__tmNodeHeight=f,d.isAboveViewRoot)return B;var E=G("background",v,c,S);if(E&&function(e,i,n){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:p,height:f});var o=l.getVisual("borderColor",!0),r=R.get("borderColor");z(i,function(){var t=T(k);t.fill=o;var e=I(R);if(e.fill=r,n){var s=p-2*m;V(t,e,o,s,P,{x:m,y:0,width:s,height:P})}else t.text=e.text=null;i.setStyle(t),a.setHoverStyle(i,e)}),e.add(i)}(B,E,O&&d.upperHeight),!O){var N=G("content",v,c,M);N&&function(e,i){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex;var n=Math.max(p-2*m,0),o=Math.max(f-2*m,0);i.culling=!0,i.setShape({x:m,y:m,width:n,height:o});var r=l.getVisual("color",!0);z(i,function(){var t=T(k);t.fill=r;var e=I(R);V(t,e,r,n,o),i.setStyle(t),a.setHoverStyle(i,e)}),e.add(i)}(B,N)}return B}}}function z(t,e){A?!t.invisible&&s.push(t):(e(),t.__tmWillVisible||(t.invisible=!1))}function V(e,i,n,r,s,u){var h=l.getModel(),c=o.retrieve(t.getFormattedLabel(l.dataIndex,"normal",null,null,u?"upperLabel":"label"),h.get("name"));if(!u&&d.isLeafRoot){var p=t.get("drillDownIcon",!0);c=p?p+" "+c:c}var f=h.getModel(u?_:y),g=h.getModel(u?b:x),v=f.getShallow("show");a.setLabelStyle(e,i,f,g,{defaultText:v?c:null,autoColor:n,isRectText:!0}),u&&(e.textRect=o.clone(u)),e.truncate=v&&f.get("ellipsis")?{outerWidth:r,outerHeight:s,minChar:2}:null}function G(t,a,s,u){var h=null!=L&&i[t][L],c=r[t];return h?(i[t][L]=null,function(t,e,i){(t[C]={}).old="nodeGroup"===i?e.position.slice():o.extend({},e.shape)}(c,h,t)):A||((h=new a({z:function(t,e){var i=t*w+e;return(i-1)/i}(s,u)})).__tmDepth=s,h.__tmStorageName=t,function(t,e,i){var o=t[C]={},a=l.parentNode;if(a&&(!n||"drillDown"===n.direction)){var s=0,u=0,h=r.background[a.getRawIndex()];!n&&h&&h.old&&(s=h.old.width,u=h.old.height),o.old="nodeGroup"===i?[0,u]:{x:s,y:u,width:0,height:0}}o.fadein="nodeGroup"!==i}(c,0,t)),e[t][C]=h}}t.exports=A},"Kb5+":function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("Y9ha"),r=n.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},mergeDefaultAndTheme:function(t){r.superApply(this,"mergeDefaultAndTheme",arguments),o.each(this.option.feature,function(t,e){var i=a.get(e);i&&o.merge(t,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:{normal:{borderColor:"#666",color:"none"},emphasis:{borderColor:"#3E98C5"}}}}),s=r;t.exports=s},KbHU:function(t,e,i){var n=i("oBvO");function o(t,e){var i=this.getAxis(),n=e instanceof Array?e[0]:e,o=(t instanceof Array?t[0]:t)/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(n-o)-i.dataToCoord(n+o))}t.exports=function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:n.bind(t.dataToPoint,t),size:n.bind(o,t)}}}},KcYG:function(t,e){t.exports=function(t){t.eachSeriesByType("map",function(t){var e=t.get("color"),i=t.getModel("itemStyle.normal"),n=i.get("areaColor"),o=i.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:n,color:o})})}},Kp05:function(t,e,i){var n=i("BFHC").extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(t,e){var i=Math.cos,n=Math.sin,o=e.r,a=e.width,r=e.angle,s=e.x-i(r)*a*(a>=o/3?1:2),l=e.y-n(r)*a*(a>=o/3?1:2);r=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+i(r)*a,e.y+n(r)*a),t.lineTo(e.x+i(e.angle)*o,e.y+n(e.angle)*o),t.lineTo(e.x-i(r)*a,e.y-n(r)*a),t.lineTo(s,l)}});t.exports=n},KyFK:function(t,e,i){i("Mguy").__DEV__;var n=i("oBvO");function o(t){return"_EC_"+t}var a=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},r=a.prototype;function s(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function l(t,e,i){this.node1=t,this.node2=e,this.dataIndex=null==i?-1:i}r.type="graph",r.isDirected=function(){return this._directed},r.addNode=function(t,e){t=t||""+e;var i=this._nodesMap;if(!i[o(t)]){var n=new s(t,e);return n.hostGraph=this,this.nodes.push(n),i[o(t)]=n,n}},r.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},r.getNodeById=function(t){return this._nodesMap[o(t)]},r.addEdge=function(t,e,i){var n=this._nodesMap,a=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),t instanceof s||(t=n[o(t)]),e instanceof s||(e=n[o(e)]),t&&e){var r=t.id+"-"+e.id;if(!a[r]){var u=new l(t,e,i);return u.hostGraph=this,this._directed&&(t.outEdges.push(u),e.inEdges.push(u)),t.edges.push(u),t!==e&&e.edges.push(u),this.edges.push(u),a[r]=u,u}}},r.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},r.getEdge=function(t,e){t instanceof s&&(t=t.id),e instanceof s&&(e=e.id);var i=this._edgesMap;return this._directed?i[t+"-"+e]:i[t+"-"+e]||i[e+"-"+t]},r.eachNode=function(t,e){for(var i=this.nodes,n=i.length,o=0;o=0&&t.call(e,i[o],o)},r.eachEdge=function(t,e){for(var i=this.edges,n=i.length,o=0;o=0&&i[o].node1.dataIndex>=0&&i[o].node2.dataIndex>=0&&t.call(e,i[o],o)},r.breadthFirstTraverse=function(t,e,i,n){if(e instanceof s||(e=this._nodesMap[o(e)]),e){for(var a="out"===i?"outEdges":"in"===i?"inEdges":"edges",r=0;r=0&&i.node2.dataIndex>=0});for(o=0,a=n.length;o=0&&this[t][e].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[t][e].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};n.mixin(s,u("hostGraph","data")),n.mixin(l,u("hostGraph","edgeData")),a.Node=s,a.Edge=l;var h=a;t.exports=h},L8a9:function(t,e,i){i("+Ky8").registerAction("legendScroll","legendscroll",function(t,e){var i=t.scrollDataIndex;null!=i&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(i)})})},LOk7:function(t,e,i){var n=i("oBvO"),o=i("4NL3"),a=i("kEfC"),r=i("Xp4g"),s=i("AmKG"),l=s.encodeHTML,u=s.addCommas,h=i("XNsO").wrapTreePathInfo,c=o.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],_viewRoot:null,defaultOption:{progressive:0,hoverLayerThreshold:1/0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{normal:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}}},label:{normal:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0}},upperLabel:{normal:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},emphasis:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},itemStyle:{normal:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(t,e){var i={name:t.name,children:t.data};!function t(e){var i=0;n.each(e.children,function(e){t(e);var o=e.value;n.isArray(o)&&(o=o[0]),i+=o});var o=e.value;n.isArray(o)&&(o=o[0]);(null==o||isNaN(o))&&(o=i);o<0&&(o=0);n.isArray(e.value)?e.value[0]=o:e.value=o}(i);var o=t.levels||[];o=t.levels=function(t,e){var i,o=e.get("color");if(!o)return;if(t=t||[],n.each(t,function(t){var e=new r(t),n=e.get("color");(e.get("itemStyle.normal.color")||n&&"none"!==n)&&(i=!0)}),!i){var a=t[0]||(t[0]={});a.color=o.slice()}return t}(o,e);var s={};return s.levels=o,a.createTree(i,this,s).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(t){var e=this.getData(),i=this.getRawValue(t),o=n.isArray(i)?u(i[0]):u(i),a=e.getName(t);return l(a+": "+o)},getDataParams:function(t){var e=o.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=h(i,this),e},setLayoutInfo:function(t){this.layoutInfo=this.layoutInfo||{},n.extend(this.layoutInfo,t)},mapIdToIndex:function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=n.createHashMap(),this._idIndexMapCount=0);var i=e.get(t);return null==i&&e.set(t,i=this._idIndexMapCount++),i},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});t.exports=c},LVYZ:function(t,e,i){var n=i("+Ky8");i("LOk7"),i("KYlP"),i("CZny");var o=i("2nvi"),a=i("sdlX");n.registerVisual(o),n.registerLayout(a)},"LWg+":function(t,e){var i="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=i},LXSA:function(t,e,i){var n=i("p1Qj"),o=i("EJqA"),a=i("iESn"),r=i("49VG"),s=i("1s0R"),l=o.extend({makeElOption:function(t,e,i,n,o){var s=i.axis,l=s.grid,c=n.get("type"),d=u(l,s).getOtherAxis(s).getGlobalExtent(),p=s.toGlobalCoord(s.dataToCoord(e,!0));if(c&&"none"!==c){var f=a.buildElStyle(n),g=h[c](s,p,d,f);g.style=f,t.graphicKey=g.type,t.pointer=g}var v=r.layout(l.model,i);a.buildCartesianSingleLabelElOption(e,t,v,i,n,o)},getHandleTransform:function(t,e,i){var n=r.layout(e.axis.grid.model,e,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:a.getTransformedPosition(e.axis,t,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,i,n){var o=i.axis,a=o.grid,r=o.getGlobalExtent(!0),s=u(a,o).getOtherAxis(o).getGlobalExtent(),l="x"===o.dim?0:1,h=t.position;h[l]+=e[l],h[l]=Math.min(r[1],h[l]),h[l]=Math.max(r[0],h[l]);var c=(s[1]+s[0])/2,d=[c,c];d[l]=h[l];return{position:h,rotation:t.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}}});function u(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}var h={line:function(t,e,i,o){var r=a.makeLineShape([e,i[0]],[e,i[1]],c(t));return n.subPixelOptimizeLine({shape:r,style:o}),{type:"Line",shape:r}},shadow:function(t,e,i,n){var o=t.getBandWidth(),r=i[1]-i[0];return{type:"Rect",shape:a.makeRectShape([e-o/2,i[0]],[o,r],c(t))}}};function c(t){return"x"===t.dim?0:1}s.registerAxisPointerClass("CartesianAxisPointer",l);var d=l;t.exports=d},Llap:function(t,e){var i=["itemStyle","normal","borderColor"],n=["itemStyle","normal","borderColor0"],o=["itemStyle","normal","color"],a=["itemStyle","normal","color0"];t.exports=function(t,e){t.eachRawSeriesByType("candlestick",function(e){var r=e.getData();r.setVisual({legendSymbol:"roundRect"}),t.isSeriesFiltered(e)||r.each(function(t){var e=r.getItemModel(t),s=r.getItemLayout(t).sign;r.setItemVisual(t,{color:e.get(s>0?o:a),borderColor:e.get(s>0?i:n)})})})}},M4KN:function(t,e,i){var n=i("+Ky8"),o=i("cKY8"),a=i("45P/").defaultEmphasis,r=i("I9m7"),s=n.extendSeriesModel({type:"series.funnel",init:function(t){s.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(t)},getInitialData:function(t,e){var i=r(["value"],t.data),n=new o(i,this);return n.initData(t.data),n},_defaultLabelLine:function(t){a(t.labelLine,["show"]);var e=t.labelLine.normal,i=t.labelLine.emphasis;e.show=e.show&&t.label.normal.show,i.show=i.show&&t.label.emphasis.show},getDataParams:function(t){var e=this.getData(),i=s.superCall(this,"getDataParams",t),n=e.getSum("value");return i.percent=n?+(e.get("value",t)/n*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:{normal:{show:!0,position:"outer"},emphasis:{show:!0}},labelLine:{normal:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},emphasis:{}},itemStyle:{normal:{borderColor:"#fff",borderWidth:1},emphasis:{}}}}),l=s;t.exports=l},M4cv:function(t,e,i){var n=i("+Ky8");i("dNIX"),i("QEI/"),i("GzdF");var o=i("4V36");n.registerVisual(o)},M62t:function(t,e){t.exports={toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}}}},MCio:function(t,e,i){var n=i("bCfq");i("0tn1").register("single",{create:function(t,e){var i=[];return t.eachComponent("singleAxis",function(o,a){var r=new n(o,t,e);r.name="single_"+a,r.resize(o,e),o.coordinateSystem=r,i.push(r)}),t.eachSeries(function(e){if("singleAxis"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"singleAxis",index:e.get("singleAxisIndex"),id:e.get("singleAxisId")})[0];e.coordinateSystem=i&&i.coordinateSystem}}),i},dimensions:n.prototype.dimensions})},MDtP:function(t,e,i){var n=i("oBvO"),o=i("SdGi"),a=i("Jw9/"),r=a.getLayoutParams,s=a.sizeCalculable,l=a.mergeLayoutParam,u=o.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{normal:{color:"#fff",borderWidth:1,borderColor:"#ccc"}},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,i,n){var o=r(t);u.superApply(this,"init",arguments),h(t,o)},mergeOption:function(t,e){u.superApply(this,"mergeOption",arguments),h(this.option,t)}});function h(t,e){var i=t.cellSize;n.isArray(i)?1===i.length&&(i[1]=i[0]):i=t.cellSize=[i,i];var o=n.map([0,1],function(t){return s(e,t)&&(i[t]="auto"),null!=i[t]&&"auto"!==i[t]});l(t,e,{type:"box",ignoreSize:o})}var c=u;t.exports=c},MI5A:function(t,e,i){var n=i("Eg1p"),o=i("tJS+"),a=i("oBvO"),r=a.isString,s=a.isFunction,l=a.isObject,u=a.isArrayLike,h=a.indexOf,c=function(){this.animators=[]};c.prototype={constructor:c,animate:function(t,e){var i,a=!1,r=this,s=this.__zr;if(t){var l=t.split("."),u=r;a="shape"===l[0];for(var c=0,d=l.length;c0&&this.animate(t,!1).when(null==n?500:n,a).delay(o||0),this}};var d=c;t.exports=d},Mguy:function(t,e,i){(function(t){var i;"undefined"!=typeof window?i=window.__DEV__:void 0!==t&&(i=t.__DEV__),void 0===i&&(i=!0);var n=i;e.__DEV__=n}).call(e,i("Gkk9"))},MkO5:function(t,e,i){i("Mguy").__DEV__;var n=i("oBvO"),o=i("45P/"),a=i("Xp4g"),r=i("SdGi"),s=i("8Dcd"),l=i("n9an"),u=n.each,h=n.filter,c=n.map,d=n.isArray,p=n.indexOf,f=n.isObject,g="\0_ec_inner",v=a.extend({constructor:v,init:function(t,e,i,n){i=i||{},this.option=null,this._theme=new a(i),this._optionManager=n},setOption:function(t,e){n.assert(!(g in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,i=this._optionManager;if(!t||"recreate"===t){var o=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(o)):function(t){t=t,this.option={},this.option[g]=1,this._componentsMap=n.createHashMap({series:[]}),this._seriesIndices=null,e=t,i=this._theme.option,n.each(i,function(t,i){r.hasClass(i)||("object"==typeof t?e[i]=e[i]?n.merge(e[i],t,!1):n.clone(t):null==e[i]&&(e[i]=t))}),n.merge(t,s,!1),this.mergeOption(t);var e,i}.call(this,o),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=i.getTimelineOption(this);a&&(this.mergeOption(a),e=!0)}if(!t||"recreate"===t||"media"===t){var l=i.getMediaOption(this,this._api);l.length&&u(l,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){var e=this.option,i=this._componentsMap,a=[];u(t,function(t,i){null!=t&&(r.hasClass(i)?a.push(i):e[i]=null==e[i]?n.clone(t):n.merge(e[i],t,!0))}),r.topologicalTravel(a,r.getAllClassMainTypes(),function(a,s){var l=o.normalizeToArray(t[a]),h=o.mappingToExists(i.get(a),l);o.makeIdAndName(h),u(h,function(t,e){var i=t.option;f(i)&&(t.keyInfo.mainType=a,t.keyInfo.subType=function(t,e,i){return e.type?e.type:i?i.subType:r.determineSubType(t,e)}(a,i,t.exist))});var c=function(t,e){n.isArray(e)||(e=e?[e]:[]);var i={};return u(e,function(e){i[e]=(t.get(e)||[]).slice()}),i}(i,s);e[a]=[],i.set(a,[]),u(h,function(t,o){var s=t.exist,l=t.option;if(n.assert(f(l)||s,"Empty component definition"),l){var u=r.getClass(a,t.keyInfo.subType,!0);if(s&&s instanceof u)s.name=t.keyInfo.name,s.mergeOption(l,this),s.optionUpdated(l,!1);else{var h=n.extend({dependentModels:c,componentIndex:o},t.keyInfo);s=new u(l,this,this,h),n.extend(s,h),s.init(l,this,this,h),s.optionUpdated(null,!0)}}else s.mergeOption({},this),s.optionUpdated({},!1);i.get(a)[o]=s,e[a][o]=s.option},this),"series"===a&&(this._seriesIndices=m(i.get("series")))},this),this._seriesIndices=this._seriesIndices||[]},getOption:function(){var t=n.clone(this.option);return u(t,function(e,i){if(r.hasClass(i)){for(var n=(e=o.normalizeToArray(e)).length-1;n>=0;n--)o.isIdInner(e[n])&&e.splice(n,1);t[i]=e}}),delete t[g],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap.get(t);if(i)return i[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i,n=t.index,o=t.id,a=t.name,r=this._componentsMap.get(e);if(!r||!r.length)return[];if(null!=n)d(n)||(n=[n]),i=h(c(n,function(t){return r[t]}),function(t){return!!t});else if(null!=o){var s=d(o);i=h(r,function(t){return s&&p(o,t.id)>=0||!s&&t.id===o})}else if(null!=a){var l=d(a);i=h(r,function(t){return l&&p(a,t.name)>=0||!l&&t.name===a})}else i=r.slice();return y(i,t)},findComponents:function(t){var e,i,n,o,a,r=t.query,s=t.mainType,l=(i=s+"Index",n=s+"Id",o=s+"Name",!(e=r)||null==e[i]&&null==e[n]&&null==e[o]?null:{mainType:s,index:e[i],id:e[n],name:e[o]}),u=l?this.queryComponents(l):this._componentsMap.get(s);return a=y(u,t),t.filter?h(a,t.filter):a},eachComponent:function(t,e,i){var o=this._componentsMap;if("function"==typeof t)i=e,e=t,o.each(function(t,n){u(t,function(t,o){e.call(i,n,t,o)})});else if(n.isString(t))u(o.get(t),e,i);else if(f(t)){var a=this.findComponents(t);u(a,e,i)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return h(e,function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return h(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap.get("series").slice()},eachSeries:function(t,e){u(this._seriesIndices,function(i){var n=this._componentsMap.get("series")[i];t.call(e,n,i)},this)},eachRawSeries:function(t,e){u(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,i){u(this._seriesIndices,function(n){var o=this._componentsMap.get("series")[n];o.subType===t&&e.call(i,o,n)},this)},eachRawSeriesByType:function(t,e,i){return u(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return n.indexOf(this._seriesIndices,t.componentIndex)<0},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){var i=h(this._componentsMap.get("series"),t,e);this._seriesIndices=m(i)},restoreData:function(){var t=this._componentsMap;this._seriesIndices=m(t.get("series"));var e=[];t.each(function(t,i){e.push(i)}),r.topologicalTravel(e,r.getAllClassMainTypes(),function(e,i){u(t.get(e),function(t){t.restoreData()})})}});function m(t){return c(t,function(t){return t.componentIndex})||[]}function y(t,e){return e.hasOwnProperty("subType")?h(t,function(t){return t.subType===e.subType}):t}n.mixin(v,l);var x=v;t.exports=x},MrgI:function(t,e,i){var n=i("wfRR");e.circularLayout=function(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=e.getBoundingRect(),o=t.getData(),a=o.graph,r=0,s=o.getSum("value"),l=2*Math.PI/(s||o.count()),u=i.width/2+i.x,h=i.height/2+i.y,c=Math.min(i.width,i.height)/2;a.eachNode(function(t){var e=t.getValue("value");r+=l*(s?e:1)/2,t.setLayout([c*Math.cos(r)+u,c*Math.sin(r)+h]),r+=l*(s?e:1)/2}),o.setLayout({cx:u,cy:h}),a.eachEdge(function(t){var e,i=t.getModel().get("lineStyle.normal.curveness")||0,o=n.clone(t.node1.getLayout()),a=n.clone(t.node2.getLayout()),r=(o[0]+a[0])/2,s=(o[1]+a[1])/2;+i&&(e=[u*(i*=3)+r*(1-i),h*i+s*(1-i)]),t.setLayout([o,a,e])})}}},MsFM:function(t,e,i){var n=i("4NL3"),o=i("cKY8"),a=i("I9m7"),r=i("oBvO"),s=i("AmKG").encodeHTML,l=n.extend({type:"series.radar",dependencies:["radar"],init:function(t){l.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(t,e){var i=t.data||[],n=a([],i,{extraPrefix:"indicator_",extraFromZero:!0}),r=new o(n,this);return r.initData(i),r},formatTooltip:function(t){var e=this.getRawValue(t),i=this.coordinateSystem.getIndicatorAxes(),n=this.getData().getName(t);return s(""===n?this.name:n)+"
"+r.map(i,function(t,i){return s(t.name+" : "+e[i])}).join("
")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{normal:{width:2,type:"solid"}},label:{normal:{position:"top"}},symbol:"emptyCircle",symbolSize:4}}),u=l;t.exports=u},"MtR+":function(t,e,i){var n=i("oBvO"),o=i("p1Qj"),a=i("Xp4g"),r=["axisLine","axisLabel","axisTick","splitLine","splitArea"];function s(t,e,i){e[1]>e[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),o=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:o[0],y2:o[1]}}function l(t){return t.getRadiusAxis().inverse?0:1}var u=i("1s0R").extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,o=i.polar,a=o.getRadiusAxis().getExtent(),s=i.getTicksCoords();"category"!==i.type&&s.pop(),n.each(r,function(e){!t.get(e+".show")||i.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,o,s,a)},this)}},_axisLine:function(t,e,i,n){var a=t.getModel("axisLine.lineStyle"),r=new o.Circle({shape:{cx:e.cx,cy:e.cy,r:n[l(e)]},style:a.getLineStyle(),z2:1,silent:!0});r.style.fill=null,this.group.add(r)},_axisTick:function(t,e,i,a){var r=t.getModel("axisTick"),u=(r.get("inside")?-1:1)*r.get("length"),h=a[l(e)],c=n.map(i,function(t){return new o.Line({shape:s(e,[h,h+u],t)})});this.group.add(o.mergePath(c,{style:n.defaults(r.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_axisLabel:function(t,e,i,n){for(var r=t.axis,s=t.get("data"),u=t.getModel("axisLabel"),h=t.getFormattedLabels(),c=u.get("margin"),d=r.getLabelsCoords(),p=0;pv?"left":"right",x=Math.abs(g[1]-m)/f<.3?"middle":g[1]>m?"top":"bottom";s&&s[p]&&s[p].textStyle&&(u=new a(s[p].textStyle,u,u.ecModel));var _=new o.Text({silent:!0});this.group.add(_),o.setTextStyle(_.style,u,{x:g[0],y:g[1],textFill:u.getTextColor()||t.get("axisLine.lineStyle.color"),text:h[p],textAlign:y,textVerticalAlign:x})}},_splitLine:function(t,e,i,a){var r=t.getModel("splitLine").getModel("lineStyle"),l=r.get("color"),u=0;l=l instanceof Array?l:[l];for(var h=[],c=0;c=0){var o="touchend"!=n?e.targetTouches[0]:e.changedTouches[0];o&&s(t,o,e,i)}else s(t,e,e,i),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var a=e.button;return null==e.which&&void 0!==a&&r.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e},e.addEventListener=function(t,e,i){a?t.addEventListener(e,i):t.attachEvent("on"+e,i)},e.removeEventListener=function(t,e,i){a?t.removeEventListener(e,i):t.detachEvent("on"+e,i)},e.stop=u,e.notLeftMouse=function(t){return t.which>1}},N0eB:function(t,e,i){var n=i("/DTD"),o=i("oBvO"),a=i("ls2D"),r=i("wfRR");function s(t,e,i){a.call(this,t,e,i),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(t,e,i){return new n(t,e,i)},l.updateAnimationPoints=function(t,e){this._points=e;for(var i=[0],n=0,o=1;o=0&&!(n[s]<=e);s--);s=Math.min(s,o-2)}else{for(var s=a;se);s++);s=Math.min(s-1,o-2)}r.lerp(t.position,i[s],i[s+1],(e-n[s])/(n[s+1]-n[s]));var l=i[s+1][0]-i[s][0],u=i[s+1][1]-i[s][1];t.rotation=-Math.atan2(u,l)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},o.inherits(s,a);var u=s;t.exports=u},N30K:function(t,e,i){var n=i("pMij")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),o={getItemStyle:function(t,e){var i=n(this,t,e),o=this.getBorderLineDash();return o&&(i.lineDash=o),i},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=o},NPph:function(t,e,i){var n=i("+Ky8"),o=i("oBvO");i("INQK"),i("IBRv"),i("h3b+");var a=i("O9HX"),r=i("seRb"),s=i("mcHC");n.registerVisual(o.curry(a,"tree","circle",null)),n.registerLayout(r),n.registerLayout(s)},NYdp:function(t,e,i){var n=i("joN+"),o=n.eachAfter,a=n.eachBefore,r=i("Fupa"),s=r.init,l=r.firstWalk,u=r.secondWalk,h=r.separation,c=r.radialCoordinate,d=r.getViewRect;t.exports=function(t,e){var i=d(t,e);t.layoutInfo=i;var n=t.get("layout"),r=0,p=0,f=null;"radial"===n?(r=2*Math.PI,p=Math.min(i.height,i.width)/2,f=h(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(r=i.width,p=i.height,f=h());var g=t.getData().tree.root,v=g.children[0];s(g),o(v,l,f),g.hierNode.modifier=-v.hierNode.prelim,a(v,u);var m=v,y=v,x=v;a(v,function(t){var e=t.getLayout().x;ey.getLayout().x&&(y=t),t.depth>x.depth&&(x=t)});var _=m===y?1:f(m,y)/2,b=_-m.getLayout().x,w=0,S=0,M=0,I=0;"radial"===n?(w=r/(y.getLayout().x+_+b),S=p/(x.depth-1||1),a(v,function(t){M=(t.getLayout().x+b)*w,I=(t.depth-1)*S;var e=c(M,I);t.setLayout({x:e.x,y:e.y,rawX:M,rawY:I},!0)})):"horizontal"===t.get("orient")?(S=p/(y.getLayout().x+_+b),w=r/(x.depth-1||1),a(v,function(t){I=(t.getLayout().x+b)*S,M=(t.depth-1)*w,t.setLayout({x:M,y:I},!0)})):(w=r/(y.getLayout().x+_+b),S=p/(x.depth-1||1),a(v,function(t){M=(t.getLayout().x+b)*w,I=(t.depth-1)*S,t.setLayout({x:M,y:I},!0)}))}},NykW:function(t,e,i){var n=i("qzTy"),o=i("4NL3").extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(t,e){return n(t.data,this,e)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});t.exports=o},O9HX:function(t,e){t.exports=function(t,e,i,n,o){n.eachRawSeriesByType(t,function(t){var o=t.getData(),a=t.get("symbol")||e,r=t.get("symbolSize");o.setVisual({legendSymbol:i||a,symbol:a,symbolSize:r}),n.isSeriesFiltered(t)||("function"==typeof r&&o.each(function(e){var i=t.getRawValue(e),n=t.getDataParams(e);o.setItemVisual(e,"symbolSize",r(i,n))}),o.each(function(t){var e=o.getItemModel(t),i=e.getShallow("symbol",!0),n=e.getShallow("symbolSize",!0);null!=i&&o.setItemVisual(t,"symbol",i),null!=n&&o.setItemVisual(t,"symbolSize",n)}))})}},"OB+c":function(t,e,i){var n=i("+Ky8"),o=i("oBvO");i("X264"),i("jQHV"),i("ETeu");var a=i("HJ7b"),r=i("4p8x"),s=i("VKRr");n.registerLayout(a),n.registerVisual(r),n.registerProcessor(o.curry(s,"themeRiver"))},OBvA:function(t,e,i){var n=i("+Ky8"),o=i("V4KR"),a=i("gLhT");n.extendChartView({type:"scatter",init:function(){this._normalSymbolDraw=new o,this._largeSymbolDraw=new a},render:function(t,e,i){var n=t.getData(),o=this._largeSymbolDraw,a=this._normalSymbolDraw,r=this.group,s=t.get("large")&&n.count()>t.get("largeThreshold")?o:a;this._symbolDraw=s,s.updateData(n),r.add(s.group),r.remove(s===o?a.group:o.group)},updateLayout:function(t){this._symbolDraw.updateLayout(t)},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e,!0)},dispose:function(){}})},OECI:function(t,e,i){var n=i("+Ky8");i("+8/0"),i("lv3T"),n.registerPreprocessor(function(t){t.markLine=t.markLine||{}})},OTrG:function(t,e,i){var n=i("MrgI").circularLayout;t.exports=function(t){t.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&n(t)})}},OX3s:function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("94CF"),r=i("qBDO");function s(t,e,i,n){for(var o=e.targetVisuals[n],a=r.prepareVisualTypes(o),s={color:t.getData().getVisual("color")},l=0,u=a.length;le&&(e=t[i]);return e},min:function(t){for(var e=1/0,i=0;i1&&("string"==typeof o?r=i[o]:"function"==typeof o&&(r=o),r&&(e=e.downSample(l.dim,1/c,r,n),t.setData(e)))}},this)}},"Oyf/":function(t,e,i){var n=i("N/Vq"),o=n.addEventListener,a=n.removeEventListener,r=n.normalizeEvent,s=i("oBvO"),l=i("CMbO"),u=i("svCk"),h=i("ZRqQ"),c=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=["touchstart","touchend","touchmove"],p={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},f=s.map(c,function(t){var e=t.replace("mouse","pointer");return p[e]?e:t});function g(t){return"mousewheel"===t&&u.browser.firefox?"DOMMouseScroll":t}function v(t,e,i){var n=t._gestureMgr;"start"===i&&n.clear();var o=n.recognize(e,t.handler.findHover(e.zrX,e.zrY,null).target,t.dom);if("end"===i&&n.clear(),o){var a=o.type;e.gestureEvent=a,t.handler.dispatchToElement({target:o.target},a,o.event)}}function m(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}var y={mousemove:function(t){t=r(this.dom,t),this.trigger("mousemove",t)},mouseout:function(t){var e=(t=r(this.dom,t)).toElement||t.relatedTarget;if(e!=this.dom)for(;e&&9!=e.nodeType;){if(e===this.dom)return;e=e.parentNode}this.trigger("mouseout",t)},touchstart:function(t){(t=r(this.dom,t)).zrByTouch=!0,this._lastTouchMoment=new Date,v(this,t,"start"),y.mousemove.call(this,t),y.mousedown.call(this,t),m(this)},touchmove:function(t){(t=r(this.dom,t)).zrByTouch=!0,v(this,t,"change"),y.mousemove.call(this,t),m(this)},touchend:function(t){(t=r(this.dom,t)).zrByTouch=!0,v(this,t,"end"),y.mouseup.call(this,t),+new Date-this._lastTouchMoment<300&&y.click.call(this,t),m(this)},pointerdown:function(t){y.mousedown.call(this,t)},pointermove:function(t){x(t)||y.mousemove.call(this,t)},pointerup:function(t){y.mouseup.call(this,t)},pointerout:function(t){x(t)||y.mouseout.call(this,t)}};function x(t){var e=t.pointerType;return"pen"===e||"touch"===e}function _(t){var e;function i(e,i){s.each(e,function(e){o(t,g(e),i._handlers[e])},i)}l.call(this),this.dom=t,this._touching=!1,this._touchTimer,this._gestureMgr=new h,this._handlers={},e=this,s.each(d,function(t){e._handlers[t]=s.bind(y[t],e)}),s.each(f,function(t){e._handlers[t]=s.bind(y[t],e)}),s.each(c,function(t){e._handlers[t]=function(t,e){return function(){if(!e._touching)return t.apply(e,arguments)}}(y[t],e)}),u.pointerEventsSupported?i(f,this):(u.touchEventsSupported&&i(d,this),i(c,this))}s.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){y[t]=function(e){e=r(this.dom,e),this.trigger(t,e)}});var b=_.prototype;b.dispose=function(){for(var t=c.concat(d),e=0;e=0?"p":"n",d=i.pointToCoord(A[o]),f=h[p][o][c];if("radius"===m.dim)a=f,r=d[0],l=(s=(-d[1]+g)*Math.PI/180)+v*Math.PI/180,Math.abs(r)0?C=T[1]:C===T[1]&&t<0&&(C=T[0]),h[p][o][c]=C}e.setItemLayout(o,{cx:x,cy:_,r0:a,r:r,startAngle:s,endAngle:l})}},!0)}},this)};t.exports=s},PDzI:function(t,e,i){var n=i("kmau").devicePixelRatio,o=i("oBvO"),a=i("tJS+"),r=i("SKOb"),s=i("gW+u"),l=i("A63j"),u=i("LWg+"),h=i("rvD2");function c(t){return parseInt(t,10)}function d(t){t.__unusedCount++}function p(t){1==t.__unusedCount&&t.clear()}var f=new r(0,0,0,0),g=new r(0,0,0,0);var v=function(t,e,i){this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=i=o.extend({},i||{}),this.dpr=i.devicePixelRatio||n,this._singleCanvas=a,this.root=t;var r=t.style;r&&(r["-webkit-tap-highlight-color"]="transparent",r["-webkit-user-select"]=r["user-select"]=r["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[],u=this._layers={};if(this._layerConfig={},a){null!=i.width&&(t.width=i.width),null!=i.height&&(t.height=i.height);var h=t.width,c=t.height;this._width=h,this._height=c;var d=new l(t,this,1);d.initContext(),u[0]=d,s.push(0),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var p=this._domRoot=function(t,e){var i=document.createElement("div");return i.style.cssText=["position:relative","overflow:hidden","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}(this._width,this._height);t.appendChild(p)}this._progressiveLayers=[],this._hoverlayer,this._hoverElements=[]};v.prototype={constructor:v,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),i=this._zlevelList;this._paintList(e,t);for(var n=0;n=0&&i.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,i=0;i=0){if(!l){if((l=this._progressiveLayers[Math.min(h++,4)]).ctx.save(),l.renderScope={},l&&l.__progress>l.__maxProgress){g=l.__nextIdxNotProg-1;continue}u=l.__progress,l.__dirty||(p=u),l.__progress=p+1}x===p&&this._doPaintEl(m,l,!0,l.renderScope)}else this._doPaintEl(m,i,e,s);m.__dirty=!1}}l&&f(l),r&&r.restore(),this._furtherProgressive=!1,o.each(this._progressiveLayers,function(t){t.__maxProgress>=t.__progress&&(this._furtherProgressive=!0)},this)},_doPaintEl:function(t,e,i,n){var o=e.ctx,a=t.transform;if((e.__dirty||i)&&!t.invisible&&0!==t.style.opacity&&(!a||a[0]||a[3])&&(!t.culling||!function(t,e,i){return f.copy(t.getBoundingRect()),t.transform&&f.applyTransform(t.transform),g.width=e,g.height=i,!f.intersect(g)}(t,this._width,this._height))){var r=t.__clipPaths;(n.prevClipLayer!==e||function(t,e){if(t==e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var i=0;i0&&t>n[0]){for(s=0;st);s++);r=i[n[s]]}if(n.splice(s+1,0,t),i[t]=e,!e.virtual)if(r){var u=r.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else a("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var i,n,o=this._zlevelList;for(n=0;n=0){s!==g&&(s=g,h++);var v=p.__frame=h-1;if(!r){var m=Math.min(u,4);(r=i[m])||(r=i[m]=new l("progressive",this,this.dpr)).initContext(),r.__maxProgress=0}r.__dirty=r.__dirty||p.__dirty,r.elCount++,r.__maxProgress=Math.max(r.__maxProgress,v),r.__maxProgress>=r.__progress&&(f.__dirty=!0)}else p.__frame=-1,r&&(r.__nextIdxNotProg=c,u++,r=null)}r&&(u++,r.__nextIdxNotProg=c),this.eachBuiltinLayer(function(t,e){n[e]!==t.elCount&&(t.__dirty=!0)}),i.length=Math.min(u,5),o.each(i,function(t,e){a[e]!==t.elCount&&(p.__dirty=!0),t.__dirty&&(t.__progress=0)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?o.merge(i[t],e,!0):i[t]=e;var n=this._layers[t];n&&o.merge(n,i[t],!0)}},delLayer:function(t){var e=this._layers,i=this._zlevelList,n=e[t];n&&(n.dom.parentNode.removeChild(n.dom),delete e[t],i.splice(o.indexOf(i,t),1))},resize:function(t,e){var i=this._domRoot;i.style.display="none";var n=this._opts;if(null!=t&&(n.width=t),null!=e&&(n.height=e),t=this._getSize(0),e=this._getSize(1),i.style.display="",this._width!=t||e!=this._height){for(var a in i.style.width=t+"px",i.style.height=e+"px",this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(t,e);o.each(this._progressiveLayers,function(i){i.resize(t,e)}),this.refresh(!0)}return this._width=t,this._height=e,this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas)return this._layers[0].dom;var e=new l("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clearColor=t.backgroundColor,e.clear();var i,n=this.storage.getDisplayList(!0),o={},a=this;function r(t,i){var n,o=a._zlevelList;null==t&&(t=-1/0);for(var r=0;rt&&s1?"emphasis":"normal")}(t,e)},g.onclick=function(t,e,i){v[i].call(this)},g.remove=function(t,e){this._brushController.unmount()},g.dispose=function(t,e){this._brushController.dispose()};var v={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function m(t){var e={};return o.each(["xAxisIndex","yAxisIndex"],function(i){e[i]=t[i],null==e[i]&&(e[i]="all"),(!1===e[i]||"none"===e[i])&&(e[i]=[])}),e}g._onBrush=function(t,e){if(e.isEnd&&t.length){var i={},n=this.ecModel;this._brushController.updateCovers([]),new r(m(this.model.option),n,{include:["grid"]}).matchOutputRanges(t,n,function(t,e,i){if("cartesian2d"===i.type){var n=t.brushType;"rect"===n?(o("x",i,e[0]),o("y",i,e[1])):o({lineX:"x",lineY:"y"}[n],i,e)}}),s.push(n,i),this._dispatchZoomAction(i)}function o(t,e,o){var a=e.getAxis(t),r=a.model,s=function(t,e,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},function(i){i.getAxisModel(t,e.componentIndex)&&(n=i)}),n}(t,r,n),u=s.findRepresentativeAxisProxy(r).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(o=l(0,o.slice(),a.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(i[s.id]={dataZoomId:s.id,startValue:o[0],endValue:o[1]})}},g._dispatchZoomAction=function(t){var e=[];d(t,function(t,i){e.push(o.clone(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},h.register("dataZoom",f),n.registerPreprocessor(function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);o.isArray(e)||(t.dataZoom=e=[e]);var i=t.toolbox;if(i&&(o.isArray(i)&&(i=i[0]),i&&i.feature)){var n=i.feature.dataZoom;a("xAxis",n),a("yAxis",n)}}function a(i,n){if(n){var a=i+"Index",r=n[a];null==r||"all"==r||o.isArray(r)||(r=!1===r||"none"===r?[]:[r]),function(e,i){var n=t[e];o.isArray(n)||(n=n?[n]:[]);d(n,i)}(i,function(t,n){if(null==r||"all"==r||-1!==o.indexOf(r,n)){var s={type:"select",$fromToolbox:!0,id:p+i+n};s[a]=n,e.push(s)}})}}});var y=f;t.exports=y},PaRG:function(t,e,i){var n=i("+Ky8");i("wiSQ"),i("J6IX");var o=i("Wpvz"),a=i("POro");n.registerVisual(o),n.registerLayout(a)},PrmI:function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("svCk"),r=i("+Q6E"),s=i("AmKG"),l=i("U9Yr"),u=i("p1Qj"),h=i("upEo"),c=i("Jw9/"),d=i("Xp4g"),p=i("caai"),f=i("5I3W"),g=i("iESn"),v=o.bind,m=o.each,y=l.parsePercent,x=new u.Rect({shape:{x:-1,y:-1,width:2,height:2}}),_=n.extendComponentView({type:"tooltip",init:function(t,e){if(!a.node){var i=new r(e.getDom(),e);this._tooltipContent=i}},render:function(t,e,i){if(!a.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var n=this._tooltipContent;n.update(),n.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel.get("triggerOn");p.register("itemTooltip",this._api,v(function(e,i,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(i,n):"leave"===e&&this._hide(n))},this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY})})}},manuallyShowTip:function(t,e,i,n){if(n.from!==this.uid&&!a.node){var o=w(n,i);this._ticket="";var r=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var s=x;s.position=[n.x,n.y],s.update(),s.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:s},o)}else if(r)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,event:{},dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},o);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,n))return;var l=h(n,e),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:{}},o)}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:{}},o))}},manuallyHideTip:function(t,e,i,n){var o=this._tooltipContent;this._alwaysShowContent||o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(w(n,i))},_manuallyAxisShowTip:function(t,e,i,n){var o=n.seriesIndex,a=n.dataIndex,r=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=o&&null!=a&&null!=r){var s=e.getSeriesByIndex(o);if(s)if("axis"===(t=b([s.getData().getItemModel(a),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:a,position:n.position}),!0}},_tryShow:function(t,e){var i=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var n=t.dataByCoordSys;n&&n.length?this._showAxisTooltip(n,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=o.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,n=this._tooltipModel,a=[e.offsetX,e.offsetY],r=[],l=[],u=b([e.tooltipOption,n]);m(t,function(t){m(t.dataByAxis,function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),n=t.value,a=[];if(e&&null!=n){var u=g.getValueLabel(n,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);o.each(t.seriesDataIndices,function(o){var r=i.getSeriesByIndex(o.seriesIndex),s=o.dataIndexInside,h=r&&r.getDataParams(s);h.axisDim=t.axisDim,h.axisIndex=t.axisIndex,h.axisType=t.axisType,h.axisId=t.axisId,h.axisValue=f.getAxisRawValue(e.axis,n),h.axisValueLabel=u,h&&(l.push(h),a.push(r.formatTooltip(s,!0)))});var h=u;r.push((h?s.encodeHTML(h)+"
":"")+a.join("
"))}})},this),r.reverse(),r=r.join("
");var h=e.position;this._showOrMove(u,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(u,h,a[0],a[1],this._tooltipContent,l):this._showTooltipContent(u,r,l,Math.random(),a[0],a[1],h)})},_showSeriesItemTooltip:function(t,e,i){var n=this._ecModel,o=e.seriesIndex,a=n.getSeriesByIndex(o),r=e.dataModel||a,s=e.dataIndex,l=e.dataType,u=r.getData(),h=b([u.getItemModel(s),r,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),c=h.get("trigger");if(null==c||"item"===c){var d=r.getDataParams(s,l),p=r.formatTooltip(s,!1,l),f="item_"+r.name+"_"+s;this._showOrMove(h,function(){this._showTooltipContent(h,p,d,f,t.offsetX,t.offsetY,t.position,t.target)}),i({type:"showTip",dataIndexInside:s,dataIndex:u.getRawIndex(s),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var n=e.tooltip;if("string"==typeof n){n={content:n,formatter:n}}var o=new d(n,this._tooltipModel,this._ecModel),a=o.get("content"),r=Math.random();this._showOrMove(o,function(){this._showTooltipContent(o,a,o.get("formatterParams")||{},r,t.offsetX,t.offsetY,t.position,e)}),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,n,o,a,r,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,h=t.get("formatter");r=r||t.get("position");var c=e;if(h&&"string"==typeof h)c=s.formatTpl(h,i,!0);else if("function"==typeof h){var d=v(function(e,n){e===this._ticket&&(u.setContent(n),this._updatePosition(t,r,o,a,u,i,l))},this);this._ticket=n,c=h(i,n,d)}u.setContent(c),u.show(t),this._updatePosition(t,r,o,a,u,i,l)}},_updatePosition:function(t,e,i,n,a,r,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=a.getSize(),d=t.get("align"),p=t.get("verticalAlign"),f=s&&s.getBoundingRect().clone();if(s&&f.applyTransform(s.transform),"function"==typeof e&&(e=e([i,n],r,a.el,f,{viewSize:[l,u],contentSize:h.slice()})),o.isArray(e))i=y(e[0],l),n=y(e[1],u);else if(o.isObject(e)){e.width=h[0],e.height=h[1];var g=c.getLayoutRect(e,{width:l,height:u});i=g.x,n=g.y,d=null,p=null}else if("string"==typeof e&&s){var v=function(t,e,i){var n=i[0],o=i[1],a=0,r=0,s=e.width,l=e.height;switch(t){case"inside":a=e.x+s/2-n/2,r=e.y+l/2-o/2;break;case"top":a=e.x+s/2-n/2,r=e.y-o-5;break;case"bottom":a=e.x+s/2-n/2,r=e.y+l+5;break;case"left":a=e.x-n-5,r=e.y+l/2-o/2;break;case"right":a=e.x+s+5,r=e.y+l/2-o/2}return[a,r]}(e,f,h);i=v[0],n=v[1]}else{v=function(t,e,i,n,o,a,r){var s=S(i),l=s.width,u=s.height;null!=a&&(t+l+a>n?t-=l+a:t+=a);null!=r&&(e+u+r>o?e-=u+r:e+=r);return[t,e]}(i,n,a.el,l,u,d?null:20,p?null:20);i=v[0],n=v[1]}if(d&&(i-=M(d)?h[0]/2:"right"===d?h[0]:0),p&&(n-=M(p)?h[1]/2:"bottom"===p?h[1]:0),t.get("confine")){v=function(t,e,i,n,o){var a=S(i),r=a.width,s=a.height;return t=Math.min(t+r,n)-r,e=Math.min(e+s,o)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(i,n,a.el,l,u);i=v[0],n=v[1]}a.moveTo(i,n)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&m(e,function(e,n){var o=e.dataByAxis||{},a=(t[n]||{}).dataByAxis||[];(i&=o.length===a.length)&&m(o,function(t,e){var n=a[e]||{},o=t.seriesDataIndices||[],r=n.seriesDataIndices||[];(i&=t.value===n.value&&t.axisType===n.axisType&&t.axisId===n.axisId&&o.length===r.length)&&m(o,function(t,e){var n=r[e];i&=t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})})}),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){a.node||(this._tooltipContent.hide(),p.unregister("itemTooltip",e))}});function b(t){for(var e=t.pop();t.length;){var i=t.pop();i&&(i instanceof d&&(i=i.get("tooltip",!0)),"string"==typeof i&&(i={formatter:i}),e=new d(i,e,e.ecModel))}return e}function w(t,e){return t.dispatchAction||o.bind(e.dispatchAction,e)}function S(t){var e=t.clientWidth,i=t.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(t);n&&(e+=parseInt(n.paddingLeft,10)+parseInt(n.paddingRight,10)+parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),i+=parseInt(n.paddingTop,10)+parseInt(n.paddingBottom,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:e,height:i}}function M(t){return"center"===t||"middle"===t}t.exports=_},PxpS:function(t,e,i){var n=i("p1Qj"),o=i("Jw9/"),a=i("oBvO"),r=i("XNsO").wrapTreePathInfo,s=5;function l(t){this.group=new n.Group,t.add(this.group)}function u(t,e,i,n,o,a){var r=[[o?t:t-s,e],[t+i,e],[t+i,e+n],[o?t:t-s,e+n]];return!a&&r.splice(2,0,[t+i+s,e+n/2]),!o&&r.push([t,e+n/2]),r}function h(t,e,i){t.eventData={componentType:"series",componentSubType:"treemap",seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:i&&i.dataIndex,name:i&&i.name},treePathInfo:i&&r(i,e)}}l.prototype={constructor:l,render:function(t,e,i,n){var a=t.getModel("breadcrumb"),r=this.group;if(r.removeAll(),a.get("show")&&i){var s=a.getModel("itemStyle.normal"),l=s.getModel("textStyle"),u={pos:{left:a.get("left"),right:a.get("right"),top:a.get("top"),bottom:a.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:a.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(i,u,l),this._renderContent(t,u,s,l,n),o.positionElement(r,u.pos,u.box)}},_prepare:function(t,e,i){for(var n=t;n;n=n.parentNode){var o=n.getModel().get("name"),a=i.getTextRect(o),r=Math.max(a.width+16,e.emptyItemWidth);e.totalWidth+=r+8,e.renderList.push({node:n,text:o,width:r})}},_renderContent:function(t,e,i,r,s){for(var l=0,c=e.emptyItemWidth,d=t.get("breadcrumb.height"),p=o.getAvailableSize(e.pos,e.box),f=e.totalWidth,g=e.renderList,v=g.length-1;v>=0;v--){var m=g[v],y=m.node,x=m.width,_=m.text;f>p.width&&(f-=x-c,x=c,_=null);var b=new n.Polygon({shape:{points:u(l,0,x,d,v===g.length-1,0===v)},style:a.defaults(i.getItemStyle(),{lineJoin:"bevel",text:_,textFill:r.getTextColor(),textFont:r.getFont()}),z:10,onclick:a.curry(s,y)});this.group.add(b),h(b,t,y),l+=x+8}},remove:function(){this.group.removeAll()}};var c=l;t.exports=c},"QEI/":function(t,e,i){var n=i("cKY8"),o=i("oBvO"),a=i("4NL3"),r=i("I9m7"),s=a.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.normal.color",getInitialData:function(t,e){var i=e.getComponent("parallel",this.get("parallelIndex")),a=i.parallelAxisIndex,s=t.data,u=i.dimensions,h=function(t,e){var i=0;o.each(t,function(t){var e=l(t);e>i&&(i=e)});var n=e[0];n&&n.length-1>i&&(i=n.length-1);for(var a=[],r=0;r<=i;r++)a.push("dim"+r);return a}(u,s),c=o.map(h,function(t,i){var n=o.indexOf(u,t),h=n>=0&&e.getComponent("parallelAxis",a[n]);return h&&"category"===h.get("type")?(function(t,e,i){var n=t.get("data"),a=l(e);n&&n.length&&o.each(i,function(t){if(t){var e=o.indexOf(n,t[a]);t[a]=e>=0?e:NaN}})}(h,t,s),{name:t,type:"ordinal"}):n<0&&r.guessOrdinal(s,i)?{name:t,type:"ordinal"}:t}),d=new n(c,this);return d.initData(s),this.option.progressive&&(this.option.animation=!1),d},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,i=this.getData(),n=[];return e.eachActiveState(i,function(e,o){t===e&&n.push(i.getRawIndex(o))}),n},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{normal:{show:!1},emphasis:{show:!1}},inactiveOpacity:.05,activeOpacity:1,lineStyle:{normal:{width:1,opacity:.45,type:"solid"}},progressive:!1,smooth:!1,animationEasing:"linear"}});function l(t){return+t.replace("dim","")}t.exports=s},QR1T:function(t,e,i){i("Mguy").__DEV__;var n=i("+Ky8"),o=i("oBvO"),a=i("p1Qj"),r=i("UJg6").findLabelValueDim,s=i("qzTy"),l=i("zbeF"),u=i("YgfO"),h=["itemStyle","normal"],c=["itemStyle","emphasis"],d=["label","normal"],p=["label","emphasis"],f="e\0\0",g={cartesian2d:i("Evsr"),geo:i("6X/O"),singleAxis:i("KbHU"),polar:i("5QPI"),calendar:i("6fmW")};function v(t,e,i,n,o){null==i[t]||o||(e[t]=i[t],i[t]=n[t])}function m(t,e,i,n,o,a){(t=y(t,e,i,n,o,a))&&a.setItemGraphicEl(e,t)}function y(t,e,i,n,r,s){var l=i.type;if(!t||l===t.__customGraphicType||"path"===l&&i.pathData===t.__customPathData||"image"===l&&i.style.image===t.__customImagePath||"text"===l&&i.style.text===t.__customText||(r.remove(t),t=null),null!=l){var h,c=!t;if(!t&&(t=function(t){var e,i=t.type;if("path"===i){var n=t.shape;(e=a.makePath(n.pathData,null,{x:n.x||0,y:n.y||0,width:n.width||0,height:n.height||0},"center")).__customPathData=t.pathData}else"image"===i?(e=new a.Image({})).__customImagePath=t.style.image:"text"===i?(e=new a.Text({})).__customText=t.style.text:e=new(0,a[i.charAt(0).toUpperCase()+i.slice(1)]);return e.__customGraphicType=i,e.name=t.name,e}(i)),function(t,e,i,n,r,s){var l={},u=i.style||{};if(i.shape&&(l.shape=o.clone(i.shape)),i.position&&(l.position=i.position.slice()),i.scale&&(l.scale=i.scale.slice()),i.origin&&(l.origin=i.origin.slice()),i.rotation&&(l.rotation=i.rotation),"image"===t.type&&i.style){var h=l.style={};o.each(["x","y","width","height"],function(e){v(e,h,u,t.style,s)})}"text"===t.type&&i.style&&(h=l.style={},o.each(["x","y"],function(e){v(e,h,u,t.style,s)}),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));if("group"!==t.type&&(t.useStyle(u),s)){t.style.opacity=0;var c=u.opacity;null==c&&(c=1),a.initProps(t,{style:{opacity:c}},n,e)}s?t.attr(l):a.updateProps(t,l,n,e),t.attr({z2:i.z2||0,silent:i.silent}),!1!==i.styleEmphasis&&a.setHoverStyle(t,i.styleEmphasis)}(t,e,i,n,0,c),"group"===l){var d=t.children()||[],p=i.children||[];if(i.diffChildrenByName)new u((h={oldChildren:d,newChildren:p,dataIndex:e,animatableModel:n,group:t,data:s}).oldChildren,h.newChildren,x,x,h).add(_).update(_).remove(b).execute();else{for(var f=0;f=i&&t<=n},containData:function(t){return this.contain(this.dataToCoord(t))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return o.getPixelPrecision(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,e){var i=this._extent,n=this.scale;return t=n.normalize(t),this.onBand&&"ordinal"===n.type&&s(i=i.slice(),n.count()),r(t,l,i,e)},coordToData:function(t,e){var i=this._extent,n=this.scale;this.onBand&&"ordinal"===n.type&&s(i=i.slice(),n.count());var o=r(t,i,l,e);return this.scale.scale(o)},pointToData:function(t,e){},getTicksCoords:function(t){if(this.onBand&&!t){for(var e=this.getBands(),i=[],o=0;on[1]&&(n[1]=e[1])})}),n[1]0?0:NaN);var r=i.getMax(!0);null!=r&&"dataMax"!==r&&"function"!=typeof r?e[1]=r:o&&(e[1]=a>0?a-1:NaN),i.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0))}(t,n),n}(this,this._dimName,this.getTargetSeriesModels());var e=this.calculateDataWindow(t.option);this._valueWindow=e.valueWindow,this._percentWindow=e.percentWindow,function(t){var e=t._minMaxSpan={},i=t._dataZoomModel;r(["min","max"],function(n){e[n+"Span"]=i.get(n+"Span");var a=i.get(n+"ValueSpan");if(null!=a&&(e[n+"ValueSpan"]=a,null!=(a=t.getAxisModel().axis.scale.parse(a)))){var r=t._dataExtent;e[n+"Span"]=o.linearMap(r[0]+a,r,[0,100],!0)}})}(this),u(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,u(this,!0))},filterData:function(t){if(t===this._dataZoomModel){var e=this._dimName,i=this.getTargetSeriesModels(),n=t.get("filterMode"),o=this._valueWindow;if("none"!==n){var a=this.getOtherAxisModel();t.get("$fromToolbox")&&a&&"category"===a.get("type")&&(n="empty"),r(i,function(t){var i=t.getData(),a=t.coordDimToDataDim(e);"weakFilter"===n?i&&i.filterSelf(function(t){for(var e,n,r,s=0;so[1];if(u&&!h&&!c)return!0;u&&(r=!0),h&&(e=!0),c&&(n=!0)}return r&&e&&n}):i&&r(a,function(e){"empty"===n?t.setData(i.map(e,function(t){return s(t)?t:NaN})):i.filterSelf(e,s)})})}}function s(t){return t>=o[0]&&t<=o[1]}}};var h=l;t.exports=h},S1nx:function(t,e,i){var n=i("+Ky8"),o=i("caai"),a=n.extendComponentView({type:"axisPointer",render:function(t,e,i){var n=e.getComponent("tooltip"),a=t.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";o.register("axisPointer",i,function(t,e,i){"none"!==a&&("leave"===t||a.indexOf(t)>=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){o.unregister(e.getZr(),"axisPointer"),a.superApply(this._model,"remove",arguments)},dispose:function(t,e){o.unregister("axisPointer",e),a.superApply(this._model,"dispose",arguments)}}),r=a;t.exports=r},S4nB:function(t,e,i){function n(t,e,i){i.getAxisProxy(t.name,e).reset(i)}function o(t,e,i){i.getAxisProxy(t.name,e).filterData(i)}i("+Ky8").registerProcessor(function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(n),t.eachTargetAxis(o)}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy(),i=e.getDataPercentWindow(),n=e.getDataValueWindow();t.setRawRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]},!0)})})},S7SL:function(t,e,i){var n=i("n6aB");function o(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}o.prototype.parse=function(t){return t},o.prototype.getSetting=function(t){return this._setting[t]},o.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},o.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},o.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},o.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},o.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getDataExtent(e,!0))},o.prototype.getExtent=function(){return this._extent.slice()},o.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},o.prototype.getTicksLabels=function(){for(var t=[],e=this.getTicks(),i=0;i0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})},SKOb:function(t,e,i){var n,o,a,r,s=i("wfRR"),l=i("0UfQ"),u=s.applyTransform,h=Math.min,c=Math.max;function d(t,e,i,n){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=i,this.height=n}d.prototype={constructor:d,union:function(t){var e=h(t.x,this.x),i=h(t.y,this.y);this.width=c(t.x+t.width,this.x+this.width)-e,this.height=c(t.y+t.height,this.y+this.height)-i,this.x=e,this.y=i},applyTransform:(n=[],o=[],a=[],r=[],function(t){if(t){n[0]=a[0]=this.x,n[1]=r[1]=this.y,o[0]=r[0]=this.x+this.width,o[1]=a[1]=this.y+this.height,u(n,n,t),u(o,o,t),u(a,a,t),u(r,r,t),this.x=h(n[0],o[0],a[0],r[0]),this.y=h(n[1],o[1],a[1],r[1]);var e=c(n[0],o[0],a[0],r[0]),i=c(n[1],o[1],a[1],r[1]);this.width=e-this.x,this.height=i-this.y}}),calculateTransform:function(t){var e=this,i=t.width/e.width,n=t.height/e.height,o=l.create();return l.translate(o,o,[-e.x,-e.y]),l.scale(o,o,[i,n]),l.translate(o,o,[t.x,t.y]),o},intersect:function(t){if(!t)return!1;t instanceof d||(t=d.create(t));var e=this,i=e.x,n=e.x+e.width,o=e.y,a=e.y+e.height,r=t.x,s=t.x+t.width,l=t.y,u=t.y+t.height;return!(n=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)};var p=d;t.exports=p},SMU3:function(t,e,i){var n=i("984V"),o=i("+Ky8").extendComponentView({type:"geo",init:function(t,e){var i=new n(e,!0);this._mapDraw=i,this.group.add(i.group)},render:function(t,e,i,n){if(!n||"geoToggleSelect"!==n.type||n.from!==this.uid){var o=this._mapDraw;t.get("show")?o.draw(t,e,i,this,n):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});t.exports=o},SOcc:function(t,e,i){var n=i("lZZw").forceLayout,o=i("J/ta").simpleLayout,a=i("MrgI").circularLayout,r=i("U9Yr").linearMap,s=i("wfRR"),l=i("oBvO");t.exports=function(t){t.eachSeriesByType("graph",function(t){if(!(m=t.coordinateSystem)||"view"===m.type)if("force"===t.get("layout")){var e=t.preservedPoints||{},i=t.getGraph(),u=i.data,h=i.edgeData,c=t.getModel("force"),d=c.get("initLayout");t.preservedPoints?u.each(function(t){var i=u.getId(t);u.setItemLayout(t,e[i]||[NaN,NaN])}):d&&"none"!==d?"circular"===d&&a(t):o(t);var p=u.getDataExtent("value"),f=h.getDataExtent("value"),g=c.get("repulsion"),v=c.get("edgeLength");l.isArray(g)||(g=[g,g]),l.isArray(v)||(v=[v,v]),v=[v[1],v[0]];var m,y=u.mapArray("value",function(t,e){var i=u.getItemLayout(e),n=r(t,p,g);return isNaN(n)&&(n=(g[0]+g[1])/2),{w:n,rep:n,fixed:u.getItemModel(e).get("fixed"),p:!i||isNaN(i[0])||isNaN(i[1])?null:i}}),x=h.mapArray("value",function(t,e){var n=i.getEdgeByIndex(e),o=r(t,f,v);return isNaN(o)&&(o=(v[0]+v[1])/2),{n1:y[n.node1.dataIndex],n2:y[n.node2.dataIndex],d:o,curveness:n.getModel().get("lineStyle.normal.curveness")||0}}),_=(m=t.coordinateSystem).getBoundingRect(),b=n(y,x,{rect:_,gravity:c.get("gravity")}),w=b.step;b.step=function(t){for(var n=0,o=y.length;n=e[0]&&t<=e[1]}}(_,i.option.range):function(t,e,i){var n=t[1]-t[0],o=(e=r.map(e,function(e){return{interval:[(e.interval[0]-t[0])/n,(e.interval[1]-t[0])/n]}})).length,a=0;return function(t){for(var n=a;n=0;n--){var r;if((r=e[n].interval)[0]<=t&&t<=r[1]){a=n;break}}return n>=0&&n=0;a--)o=n.merge(o,t[a],!0);r.set(this,"__defaultOption",o)}return r.get(this,"__defaultOption")},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});r.enableClassManagement(h,{registerWhenExtend:!0}),a.enableSubTypeDefaulter(h),a.enableTopologicalTravel(h,function(t){var e=[];return n.each(h.getClassesByMainType(t),function(t){u.apply(e,t.prototype.dependencies||[])}),n.map(e,function(t){return r.parseClassType(t).main})}),n.mixin(h,l);var c=h;t.exports=c},Sk8h:function(t,e,i){var n=i("oBvO"),o=i("N/Vq"),a=i("p1Qj"),r=i("ZbD3"),s=i("/QIB"),l=i("U9Yr"),u=i("Jw9/"),h=i("2y1L"),c=a.Rect,d=l.linearMap,p=l.asc,f=n.bind,g=n.each,v="horizontal",m=5,y=["line","bar","candlestick","scatter"],x=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,i,n){x.superApply(this,"render",arguments),r.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){x.superApply(this,"remove",arguments),r.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),r.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new a.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,i=this._findCoordRect(),o={width:e.getWidth(),height:e.getHeight()},a=this._orient===v?{right:o.width-i.x-i.width,top:o.height-30-7,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},r=u.getLayoutParams(t.option);n.each(["right","top","width","height"],function(t){"ph"===r[t]&&(r[t]=a[t])});var s=u.getLayoutRect(r,o,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),o=n&&n.get("inverse"),a=this._displayables.barGroup,r=(this._dataShadowInfo||{}).otherAxisInverse;a.attr(i!==v||o?i===v&&o?{scale:r?[-1,1]:[-1,-1]}:"vertical"!==i||o?{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=t.getBoundingRect([a]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,i=this._displayables.barGroup;i.add(new c({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),i.add(new c({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,i=t.series,o=i.getRawData(),r=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=r){var s=o.getDataExtent(r),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,h=[0,e[1]],c=[0,e[0]],p=[[e[0],0],[0,0]],f=[],g=c[1]/(o.count()-1),v=0,m=Math.round(o.count()/e[0]);o.each([r],function(t,e){if(m>0&&e%m)v+=g;else{var i=null==t||isNaN(t)||""===t,n=i?0:d(t,s,h,!0);i&&!u&&e?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!i&&u&&(p.push([v,0]),f.push([v,0])),p.push([v,n]),f.push([v,n]),v+=g,u=i}});var y=this.dataZoomModel;this._displayables.barGroup.add(new a.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 a.Polyline({shape:{points:f},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var i,o=this.ecModel;return t.eachTargetAxis(function(a,r){var s=t.getAxisProxy(a.name,r).getTargetSeriesModels();n.each(s,function(t){if(!(i||!0!==e&&n.indexOf(y,t.get("type"))<0)){var s,l=o.getComponent(a.axis,r).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[a.name],h=t.coordinateSystem;null!=u&&h.getOtherAxis&&(s=h.getOtherAxis(l).inverse),i={thisAxis:l,series:t,thisDim:a.name,otherDim:u,otherAxisInverse:s}}},this)},this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],n=this._displayables.barGroup,r=this._size,s=this.dataZoomModel;n.add(t.filler=new c({draggable:!0,cursor:_(this._orient),drift:f(this._onDragMove,this,"all"),onmousemove:function(t){o.stop(t.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 c(a.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}}))),g([0,1],function(t){var r=a.createIcon(s.get("handleIcon"),{cursor:_(this._orient),draggable:!0,drift:f(this._onDragMove,this,t),onmousemove:function(t){o.stop(t.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 h=s.get("handleColor");null!=h&&(r.style.fill=h),n.add(e[t]=r);var c=s.textStyleModel;this.group.add(i[t]=new a.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))},this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var i=this.dataZoomModel,n=this._handleEnds,o=this._getViewExtent(),a=i.findRepresentativeAxisProxy().getMinMaxSpan(),r=[0,100];h(e,n,o,i.get("zoomLock")?"all":t,null!=a.minSpan?d(a.minSpan,r,o,!0):null,null!=a.maxSpan?d(a.maxSpan,r,o,!0):null),this._range=p([d(n[0],o,r,!0),d(n[1],o,r,!0)])},_updateView:function(t){var e=this._displayables,i=this._handleEnds,n=p(i.slice()),o=this._size;g([0,1],function(t){var n=e.handles[t],a=this._handleHeight;n.attr({scale:[a/2,a/2],position:[i[t],o[1]/2-a/2]})},this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:o[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,i=this._displayables,n=i.handleLabels,o=this._orient,r=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,h=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();r=[this._formatLabel(h[0],l),this._formatLabel(h[1],l)]}}var c=p(this._handleEnds.slice());function d(t){var e=a.getTransform(i.handles[t].parent,this.group),s=a.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+m,u=a.applyTransform([c[t]+(0===t?-l:l),this._size[1]/2],e);n[t].setStyle({x:u[0],y:u[1],textVerticalAlign:o===v?"middle":s,textAlign:o===v?s:"center",text:r[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var i=this.dataZoomModel,o=i.get("labelFormatter"),a=i.get("labelPrecision");null!=a&&"auto"!==a||(a=e.getPixelPrecision());var r=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(a,20));return n.isFunction(o)?o(t,r):n.isString(o)?o.replace("{value}",r):r},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,i){this._dragging=!0;var n=this._displayables.barGroup.getLocalTransform(),o=a.applyTransform([e,i],n,!0);this._updateInterval(t,o[0]);var r=this.dataZoomModel.get("realtime");this._updateView(!r),r&&r&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,i=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(i[0]<0||i[0]>e[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,o=(n[0]+n[1])/2;this._updateInterval("all",i[0]-o),this._updateView(),this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),function(e){if(!t&&e.length){var i=e[0].model.coordinateSystem;t=i.getRect&&i.getRect()}}),!t){var e=this.api.getWidth(),i=this.api.getHeight();t={x:.2*e,y:.2*i,width:.6*e,height:.6*i}}return t}});function _(t){return"vertical"===t?"ns-resize":"ew-resize"}var b=x;t.exports=b},T70l:function(t,e,i){var n=i("xTFM"),o=i("Jw9/").getLayoutRect,a=i("6emD");t.exports=function(t,e){var i=[];return t.eachSeriesByType("graph",function(t){var r=t.get("coordinateSystem");if(!r||"view"===r){var s=t.getData(),l=s.mapArray(function(t){var e=s.getItemModel(t);return[+e.get("x"),+e.get("y")]}),u=[],h=[];a.fromPoints(l,u,h),h[0]-u[0]==0&&(h[0]+=1,u[0]-=1),h[1]-u[1]==0&&(h[1]+=1,u[1]-=1);var c=(h[0]-u[0])/(h[1]-u[1]),d=function(t,e,i){var n=t.getBoxLayoutParams();return n.aspect=i,o(n,{width:e.getWidth(),height:e.getHeight()})}(t,e,c);isNaN(c)&&(u=[d.x,d.y],h=[d.x+d.width,d.y+d.height]);var p=h[0]-u[0],f=h[1]-u[1],g=d.width,v=d.height,m=t.coordinateSystem=new n;m.zoomLimit=t.get("scaleLimit"),m.setBoundingRect(u[0],u[1],p,f),m.setViewRect(d.x,d.y,g,v),m.setCenter(t.get("center")),m.setZoom(t.get("zoom")),i.push(m)}}),i}},"TF/2":function(t,e,i){var n=i("oBvO"),o=i("U9Yr"),a=n.indexOf;function r(t,e,i,n,a,r){var s=[],l=h(e,n,t),u=e.indicesOfNearest(n,l,!0)[0];s[a]=e.get(i,u,!0),s[r]=e.get(n,u,!0);var c=function(t,e,i){var n=-1;do{n=Math.max(o.getPrecision(t.get(e,i)),n),t=t.stackedOn}while(t);return n}(e,n,u);return(c=Math.min(c,20))>=0&&(s[r]=+s[r].toFixed(c)),s}var s=n.curry,l={min:s(r,"min"),max:s(r,"max"),average:s(r,"average")};function u(t,e,i,n){var o={};return null!=t.valueIndex||null!=t.valueDim?(o.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,o.valueAxis=i.getAxis(n.dataDimToCoordDim(o.valueDataDim)),o.baseAxis=i.getOtherAxis(o.valueAxis),o.baseDataDim=n.coordDimToDataDim(o.baseAxis.dim)[0]):(o.baseAxis=n.getBaseAxis(),o.valueAxis=i.getOtherAxis(o.baseAxis),o.baseDataDim=n.coordDimToDataDim(o.baseAxis.dim)[0],o.valueDataDim=n.coordDimToDataDim(o.valueAxis.dim)[0]),o}function h(t,e,i){if("average"===i){var n=0,o=0;return t.each(e,function(t,e){isNaN(t)||(n+=t,o++)},!0),n/o}return t.getDataExtent(e,!0)["max"===i?1:0]}e.dataTransform=function(t,e){var i=t.getData(),o=t.coordinateSystem;if(e&&!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!n.isArray(e.coord)&&o){var r=o.dimensions,s=u(e,i,o,t);if((e=n.clone(e)).type&&l[e.type]&&s.baseAxis&&s.valueAxis){var c=a(r,s.baseAxis.dim),d=a(r,s.valueAxis.dim);e.coord=l[e.type](i,s.baseDataDim,s.valueDataDim,c,d),e.value=e.coord[d]}else{for(var p=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],f=0;f<2;f++)if(l[p[f]]){var g=t.coordDimToDataDim(r[f])[0];p[f]=h(i,g,p[f])}e.coord=p}}return e},e.getAxisInfo=u,e.dataFilter=function(t,e){return!(t&&t.containData&&e.coord&&!function(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}(e))||t.containData(e.coord)},e.dimValueGetter=function(t,e,i,n){return n<2?t.coord&&t.coord[n]:t.value},e.numCalculate=h},TGtj:function(t,e){var i=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};i.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var n=i;t.exports=n},TM07:function(t,e,i){var n=i("+Ky8"),o=i("p1Qj"),a=i("oBvO"),r=i("lpRi");var s=n.extendChartView({type:"radar",render:function(t,e,i){var n=t.coordinateSystem,s=this.group,l=t.getData(),u=this._data;function h(t,e){var i=t.getItemVisual(e,"symbol")||"circle",n=t.getItemVisual(e,"color");if("none"!==i){var o=function(t){return a.isArray(t)||(t=[+t,+t]),t}(t.getItemVisual(e,"symbolSize")),s=r.createSymbol(i,-1,-1,2,2,n);return s.attr({style:{strokeNoScale:!0},z2:100,scale:[o[0]/2,o[1]/2]}),s}}function c(e,i,n,a,r,s){n.removeAll();for(var l=0;l0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/o*a+i[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(i=t,i.replace(/^\s+/,"").replace(/\s+$/,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var i},e.round=function(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t},e.asc=function(t){return t.sort(function(t,e){return t-e}),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i},e.getPrecisionSafe=function(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slice(i+1);return n<0?-n:0}var o=e.indexOf(".");return o<0?0:e.length-1-o},e.getPixelPrecision=function(t,e){var i=Math.log,n=Math.LN10,o=Math.floor(i(t[1]-t[0])/n),a=Math.round(i(Math.abs(e[1]-e[0]))/n),r=Math.min(Math.max(-o+a,0),20);return isFinite(r)?r:20},e.getPercentWithPrecision=function(t,e,i){if(!t[e])return 0;var o=n.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===o)return 0;for(var a=Math.pow(10,i),r=n.map(t,function(t){return(isNaN(t)?0:t)/o*a*100}),s=100*a,l=n.map(r,function(t){return Math.floor(t)}),u=n.reduce(l,function(t,e){return t+e},0),h=n.map(r,function(t,e){return t-l[e]});uc&&(c=h[p],d=p);++l[d],h[d]=0,++u}return l[e]/a},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return t>-o&&t=-20?+t.toFixed(i<0?-i:0):t},e.reformIntervals=function(t){t.sort(function(t,e){return function t(e,i,n){return e.interval[n]=0}},UJg6:function(t,e,i){var n=i("45P/").otherDimToDataDim;e.findLabelValueDim=function(t){var e,i=n(t,"label");if(i.length)e=i[0];else for(var o,a=t.dimensions.slice();a.length&&(e=a.pop(),"ordinal"===(o=t.getDimensionInfo(e).type)||"time"===o););return e}},UTEf:function(t,e,i){var n=i("+Ky8").extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:8,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});t.exports=n},UTn1:function(t,e,i){var n=i("oBvO"),o=i("S7SL"),a=i("U9Yr"),r=i("qKeJ"),s=o.prototype,l=r.prototype,u=a.getPrecisionSafe,h=a.round,c=Math.floor,d=Math.ceil,p=Math.pow,f=Math.log,g=o.extend({type:"log",base:10,$constructor:function(){o.apply(this,arguments),this._originalScale=new r},getTicks:function(){var t=this._originalScale,e=this._extent,i=t.getExtent();return n.map(l.getTicks.call(this),function(n){var o=a.round(p(this.base,n));return o=n===e[0]&&t.__fixMin?v(o,i[0]):o,o=n===e[1]&&t.__fixMax?v(o,i[1]):o},this)},getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),p(this.base,t)},setExtent:function(t,e){var i=this.base;t=f(t)/f(i),e=f(e)/f(i),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=p(t,e[0]),e[1]=p(t,e[1]);var i=this._originalScale,n=i.getExtent();return i.__fixMin&&(e[0]=v(e[0],n[0])),i.__fixMax&&(e[1]=v(e[1],n[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=f(t[0])/f(e),t[1]=f(t[1])/f(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getDataExtent(e,!0,function(t){return t>0}))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var n=a.quantity(i);for(t/i*n<=.5&&(n*=10);!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0;)n*=10;var o=[a.round(d(e[0]/n)*n),a.round(c(e[1]/n)*n)];this._interval=n,this._niceExtent=o}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function v(t,e){return h(t,u(e))}n.each(["contain","normalize"],function(t){g.prototype[t]=function(e){return e=f(e)/f(this.base),s[t].call(this,e)}}),g.create=function(){return new g};var m=g;t.exports=m},Ue0O:function(t,e,i){var n=i("oBvO"),o=i("tb0+"),a=i("SKOb"),r=function(t){for(var e in t=t||{},o.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};r.prototype={constructor:r,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,i=0;i=0&&(i.splice(n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof r&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var e=this.__zr,i=this.__storage,o=this._children,a=n.indexOf(o,t);return a<0?this:(o.splice(a,1),t.parent=null,i&&(i.delFromStorage(t),t instanceof r&&t.delChildrenFromStorage(i)),e&&e.refresh(),this)},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e=11?function(){var e,i=this.__clipPaths,n=this.style;if(i)for(var a=0;a!['+(d&&d[0]||]('+s+')