(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-baff258a"],{"007d":function(e,t,i){var n=i("3eba");i("cb8f"),i("a96b"),i("42f6"),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},"0156":function(e,t,i){var n=i("6d8b");function o(e,t,i){i=i||{};var o=e.coordinateSystem,a=t.axis,r={},s=a.getAxesOnZeroOf()[0],l=a.position,d=s?"onZero":l,h=a.dim,u=o.getRect(),c=[u.x,u.x+u.width,u.y,u.y+u.height],g={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,f="x"===h?[c[2]-p,c[3]+p]:[c[0]-p,c[1]+p];if(s){var x=s.toGlobalCoord(s.dataToCoord(0));f[g.onZero]=Math.max(Math.min(x,f[1]),f[0])}r.position=["y"===h?f[g[d]]:c[0],"x"===h?f[g[d]]:c[3]],r.rotation=Math.PI/2*("x"===h?0:1);var v={top:-1,bottom:1,left:-1,right:1};r.labelDirection=r.tickDirection=r.nameDirection=v[l],r.labelOffset=s?f[g[l]]-f[g.onZero]:0,t.get("axisTick.inside")&&(r.tickDirection=-r.tickDirection),n.retrieve(i.labelInside,t.get("axisLabel.inside"))&&(r.labelDirection=-r.labelDirection);var m=t.get("axisLabel.rotate");return r.labelRotate="top"===d?-m:m,r.z2=1,r}t.layout=o},"07d7":function(e,t,i){var n=i("6d8b"),o=i("41ef"),a=i("607d"),r=i("65ed"),s=i("22d1"),l=i("eda2"),d=n.each,h=l.toCamelCase,u=["","-webkit-","-moz-","-o-"],c="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function g(e){var t="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+e+"s "+t+",top "+e+"s "+t;return n.map(u,(function(e){return e+"transition:"+i})).join(";")}function p(e){var t=[],i=e.get("fontSize"),n=e.getTextColor();return n&&t.push("color:"+n),t.push("font:"+e.getFont()),i&&t.push("line-height:"+Math.round(3*i/2)+"px"),d(["decoration","align"],(function(i){var n=e.get(i);n&&t.push("text-"+i+":"+n)})),t.join(";")}function f(e){var t=[],i=e.get("transitionDuration"),n=e.get("backgroundColor"),a=e.getModel("textStyle"),r=e.get("padding");return i&&t.push(g(i)),n&&(s.canvasSupported?t.push("background-Color:"+n):(t.push("background-Color:#"+o.toHex(n)),t.push("filter:alpha(opacity=70)"))),d(["width","color","radius"],(function(i){var n="border-"+i,o=h(n),a=e.get(o);null!=a&&t.push(n+":"+a+("color"===i?"":"px"))})),t.push(p(a)),null!=r&&t.push("padding:"+l.normalizeCssArray(r).join("px ")+"px"),t.join(";")+";"}function x(e,t,i,n,o){var a=t&&t.painter;if(i){var s=a&&a.getViewportRoot();s&&r.transformLocalCoord(e,s,document.body,n,o)}else{e[0]=n,e[1]=o;var l=a&&a.getViewportRootOffset();l&&(e[0]+=l.offsetLeft,e[1]+=l.offsetTop)}}function v(e,t,i){if(s.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var o=this._zr=t.getZr(),r=this._appendToBody=i&&i.appendToBody;this._styleCoord=[0,0],x(this._styleCoord,o,r,t.getWidth()/2,t.getHeight()/2),r?document.body.appendChild(n):e.appendChild(n),this._container=e,this._show=!1,this._hideTimeout;var l=this;n.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!l._enterable){var t=o.handler,i=o.painter.getViewportRoot();a.normalizeEvent(i,e,!0),t.dispatch("mousemove",e)}},n.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}v.prototype={constructor:v,_enterable:!0,update:function(){var e=this._container,t=e.currentStyle||document.defaultView.getComputedStyle(e),i=e.style;"absolute"!==i.position&&"absolute"!==t.position&&(i.position="relative")},show:function(e){clearTimeout(this._hideTimeout);var t=this.el,i=this._styleCoord;t.style.cssText=c+f(e)+";left:"+i[0]+"px;top:"+i[1]+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",t.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(e){this.el.innerHTML=null==e?"":e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var i=this._styleCoord;x(i,this._zr,this._appendToBody,e,t);var n=this.el.style;n.left=i[0]+"px",n.top=i[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var e=this.el.clientWidth,t=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(this.el);i&&(e+=parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),t+=parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:e,height:t}}};var m=v;e.exports=m},"0a6d":function(e,t,i){i("e4d1"),i("7f72")},"133d":function(e,t,i){var n=i("6d8b"),o=i("e0d3");function a(e,t){var i,a=[],r=e.seriesIndex;if(null==r||!(i=t.getSeriesByIndex(r)))return{point:[]};var s=i.getData(),l=o.queryDataIndex(s,e);if(null==l||l<0||n.isArray(l))return{point:[]};var d=s.getItemGraphicEl(l),h=i.coordinateSystem;if(i.getTooltipPosition)a=i.getTooltipPosition(l)||[];else if(h&&h.dataToPoint)a=h.dataToPoint(s.getValues(n.map(h.dimensions,(function(e){return s.mapDimension(e)})),l,!0))||[];else if(d){var u=d.getBoundingRect().clone();u.applyTransform(d.transform),a=[u.x+u.width/2,u.y+u.height/2]}return{point:a,el:d}}e.exports=a},"17d6":function(e,t,i){var n=i("6d8b"),o=i("22d1"),a=i("e0d3"),r=a.makeInner,s=r(),l=n.each;function d(e,t,i){if(!o.node){var n=t.getZr();s(n).records||(s(n).records={}),h(n,t);var a=s(n).records[e]||(s(n).records[e]={});a.handler=i}}function h(e,t){function i(i,n){e.on(i,(function(i){var o=p(t);l(s(e).records,(function(e){e&&n(e,i,o.dispatchAction)})),u(o.pendings,t)}))}s(e).initialized||(s(e).initialized=!0,i("click",n.curry(g,"click")),i("mousemove",n.curry(g,"mousemove")),i("globalout",c))}function u(e,t){var i,n=e.showTip.length,o=e.hideTip.length;n?i=e.showTip[n-1]:o&&(i=e.hideTip[o-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function c(e,t,i){e.handler("leave",null,i)}function g(e,t,i,n){t.handler(e,i,n)}function p(e){var t={showTip:[],hideTip:[]},i=function(n){var o=t[n.type];o?o.push(n):(n.dispatchAction=i,e.dispatchAction(n))};return{dispatchAction:i,pendings:t}}function f(e,t){if(!o.node){var i=t.getZr(),n=(s(i).records||{})[e];n&&(s(i).records[e]=null)}}t.register=d,t.unregister=f},2243:function(e,t,i){"use strict";var n=i("3eba"),o=i.n(n),a="#15E3F3",r=function(){return{axisLine:{lineStyle:{color:a}},axisTick:{show:!1,lineStyle:{color:a}},axisLabel:{show:!0,textStyle:{color:a}},splitLine:{show:!1,lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:a}}}},s=["#15E3F3","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],l={color:s,backgroundColor:"",tooltip:{axisPointer:{lineStyle:{color:a},crossStyle:{color:a},label:{color:"#000"}}},legend:{textStyle:{color:a}},textStyle:{color:a},title:{textStyle:{color:a}},toolbox:{iconStyle:{normal:{borderColor:a}}},dataZoom:{textStyle:{color:a}},visualMap:{textStyle:{color:a}},timeline:{lineStyle:{color:a},itemStyle:{normal:{color:s[1]}},label:{normal:{textStyle:{color:a}}},controlStyle:{normal:{color:a,borderColor:a}}},timeAxis:r(),logAxis:r(),valueAxis:r(),categoryAxis:r(),line:{symbol:"circle"},graph:{color:s},gauge:{title:{textStyle:{color:a}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};o.a.registerTheme("transparent",l)},2325:function(e,t,i){var n=i("6d8b"),o=i("607d"),a=i("2306"),r=i("88b3"),s=i("7dcf"),l=i("3842"),d=i("f934"),h=i("ef6a"),u=a.Rect,c=l.linearMap,g=l.asc,p=n.bind,f=n.each,x=7,v=1,m=30,y="horizontal",_="vertical",b=5,w=["line","bar","candlestick","scatter"],S=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,i,n){S.superApply(this,"render",arguments),r.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){S.superApply(this,"remove",arguments),r.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),r.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new a.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,i=this._findCoordRect(),o={width:t.getWidth(),height:t.getHeight()},a=this._orient===y?{right:o.width-i.x-i.width,top:o.height-m-x,width:i.width,height:m}:{right:x,top:i.y,width:m,height:i.height},r=d.getLayoutParams(e.option);n.each(["right","top","width","height"],(function(e){"ph"===r[e]&&(r[e]=a[e])}));var s=d.getLayoutRect(r,o,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===_&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),o=n&&n.get("inverse"),a=this._displayables.barGroup,r=(this._dataShadowInfo||{}).otherAxisInverse;a.attr(i!==y||o?i===y&&o?{scale:r?[-1,1]:[-1,-1]}: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=e.getBoundingRect([a]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,i=this._displayables.barGroup;i.add(new u({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),i.add(new u({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,i=e.series,o=i.getRawData(),r=i.getShadowDim?i.getShadowDim():e.otherDim;if(null!=r){var s=o.getDataExtent(r),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var d,h=[0,t[1]],u=[0,t[0]],g=[[t[0],0],[0,0]],p=[],f=u[1]/(o.count()-1),x=0,v=Math.round(o.count()/t[0]);o.each([r],(function(e,t){if(v>0&&t%v)x+=f;else{var i=null==e||isNaN(e)||""===e,n=i?0:c(e,s,h,!0);i&&!d&&t?(g.push([g[g.length-1][0],0]),p.push([p[p.length-1][0],0])):!i&&d&&(g.push([x,0]),p.push([x,0])),g.push([x,n]),p.push([x,n]),x+=f,d=i}}));var m=this.dataZoomModel;this._displayables.barGroup.add(new a.Polygon({shape:{points:g},style:n.defaults({fill:m.get("dataBackgroundColor")},m.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new a.Polyline({shape:{points:p},style:m.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var i,o=this.ecModel;return e.eachTargetAxis((function(a,r){var s=e.getAxisProxy(a.name,r).getTargetSeriesModels();n.each(s,(function(e){if(!i&&!(!0!==t&&n.indexOf(w,e.get("type"))<0)){var s,l=o.getComponent(a.axis,r).axis,d=M(a.name),h=e.coordinateSystem;null!=d&&h.getOtherAxis&&(s=h.getOtherAxis(l).inverse),d=e.getData().mapDimension(d),i={thisAxis:l,series:e,thisDim:a.name,otherDim:d,otherAxisInverse:s}}}),this)}),this),i}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],i=e.handleLabels=[],n=this._displayables.barGroup,o=this._size,r=this.dataZoomModel;n.add(e.filler=new u({draggable:!0,cursor:A(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:r.get("fillerColor"),textPosition:"inside"}})),n.add(new u({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:r.get("dataBackgroundColor")||r.get("borderColor"),lineWidth:v,fill:"rgba(0,0,0,0)"}})),f([0,1],(function(e){var o=a.createIcon(r.get("handleIcon"),{cursor:A(this._orient),draggable:!0,drift:p(this._onDragMove,this,e),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=o.getBoundingRect();this._handleHeight=l.parsePercent(r.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,o.setStyle(r.getModel("handleStyle").getItemStyle());var d=r.get("handleColor");null!=d&&(o.style.fill=d),n.add(t[e]=o);var h=r.textStyleModel;this.group.add(i[e]=new a.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:h.getTextColor(),textFont:h.getFont()},z2:10}))}),this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[c(e[0],[0,100],t,!0),c(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var i=this.dataZoomModel,n=this._handleEnds,o=this._getViewExtent(),a=i.findRepresentativeAxisProxy().getMinMaxSpan(),r=[0,100];h(t,n,o,i.get("zoomLock")?"all":e,null!=a.minSpan?c(a.minSpan,r,o,!0):null,null!=a.maxSpan?c(a.maxSpan,r,o,!0):null);var s=this._range,l=this._range=g([c(n[0],o,r,!0),c(n[1],o,r,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(e){var t=this._displayables,i=this._handleEnds,n=g(i.slice()),o=this._size;f([0,1],(function(e){var n=t.handles[e],a=this._handleHeight;n.attr({scale:[a/2,a/2],position:[i[e],o[1]/2-a/2]})}),this),t.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:o[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,i=this._displayables,n=i.handleLabels,o=this._orient,r=["",""];if(t.get("showDetail")){var s=t.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,d=this._range,h=e?s.calculateDataWindow({start:d[0],end:d[1]}).valueWindow:s.getDataValueWindow();r=[this._formatLabel(h[0],l),this._formatLabel(h[1],l)]}}var u=g(this._handleEnds.slice());function c(e){var t=a.getTransform(i.handles[e].parent,this.group),s=a.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+b,d=a.applyTransform([u[e]+(0===e?-l:l),this._size[1]/2],t);n[e].setStyle({x:d[0],y:d[1],textVerticalAlign:o===y?"middle":s,textAlign:o===y?s:"center",text:r[e]})}c.call(this,0),c.call(this,1)},_formatLabel:function(e,t){var i=this.dataZoomModel,o=i.get("labelFormatter"),a=i.get("labelPrecision");null!=a&&"auto"!==a||(a=t.getPixelPrecision());var r=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(a,20));return n.isFunction(o)?o(e,r):n.isString(o)?o.replace("{value}",r):r},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,i,n){this._dragging=!0,o.stop(n.event);var r=this._displayables.barGroup.getLocalTransform(),s=a.applyTransform([t,i],r,!0),l=this._updateInterval(e,s[0]),d=this.dataZoomModel.get("realtime");this._updateView(!d),l&&d&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,i=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(i[0]<0||i[0]>t[0]||i[1]<0||i[1]>t[1])){var n=this._handleEnds,o=(n[0]+n[1])/2,a=this._updateInterval("all",i[0]-o);this._updateView(),a&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(f(this.getTargetCoordInfo(),(function(t){if(!e&&t.length){var i=t[0].model.coordinateSystem;e=i.getRect&&i.getRect()}})),!e){var t=this.api.getWidth(),i=this.api.getHeight();e={x:.2*t,y:.2*i,width:.6*t,height:.6*i}}return e}});function M(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function A(e){return"vertical"===e?"ns-resize":"ew-resize"}var I=S;e.exports=I},"25f0":function(e,t,i){"use strict";var n=i("6eeb"),o=i("825a"),a=i("d039"),r=i("ad6d"),s="toString",l=RegExp.prototype,d=l[s],h=a((function(){return"/a/b"!=d.call({source:"a",flags:"b"})})),u=d.name!=s;(h||u)&&n(RegExp.prototype,s,(function(){var e=o(this),t=String(e.source),i=e.flags,n=String(void 0===i&&e instanceof RegExp&&!("flags"in l)?r.call(e):i);return"/"+t+"/"+n}),{unsafe:!0})},"2c17":function(e,t,i){var n=i("3eba"),o=i("6d8b"),a=o.createHashMap,r=o.each;n.registerProcessor({getTargetSeries:function(e){var t=a();return e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,i,n){var o=n.getAxisProxy(e.name,i);r(o.getTargetSeriesModels(),(function(e){t.set(e.uid,e)}))}))})),t},modifyOutputEnd:!0,overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,i,n){n.getAxisProxy(e.name,i).reset(n,t)})),e.eachTargetAxis((function(e,i,n){n.getAxisProxy(e.name,i).filterData(n,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy(),i=t.getDataPercentWindow(),n=t.getDataValueWindow();e.setCalculatedRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]})}))}})},"32a1":function(e,t,i){var n=i("6d8b"),o=i("7dcf"),a=i("ef6a"),r=i("5576"),s=n.bind,l=o.extend({type:"dataZoom.inside",init:function(e,t){this._range},render:function(e,t,i,o){l.superApply(this,"render",arguments),this._range=e.getPercentRange(),n.each(this.getTargetCoordInfo(),(function(t,o){var a=n.map(t,(function(e){return r.generateCoordId(e.model)}));n.each(t,(function(t){var l=t.model,h={};n.each(["pan","zoom","scrollMove"],(function(e){h[e]=s(d[e],this,t,o)}),this),r.register(i,{coordId:r.generateCoordId(l),allCoordIds:a,containsPoint:function(e,t,i){return l.coordinateSystem.containPoint([t,i])},dataZoomId:e.id,dataZoomModel:e,getRange:h})}),this)}),this)},dispose:function(){r.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),d={zoom:function(e,t,i,n){var o=this._range,r=o.slice(),s=e.axisModels[0];if(s){var l=u[t](null,[n.originX,n.originY],s,i,e),d=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(r[1]-r[0])+r[0],h=Math.max(1/n.scale,0);r[0]=(r[0]-d)*h+d,r[1]=(r[1]-d)*h+d;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return a(0,r,[0,100],0,c.minSpan,c.maxSpan),this._range=r,o[0]!==r[0]||o[1]!==r[1]?r:void 0}},pan:h((function(e,t,i,n,o,a){var r=u[n]([a.oldX,a.oldY],[a.newX,a.newY],t,o,i);return r.signal*(e[1]-e[0])*r.pixel/r.pixelLength})),scrollMove:h((function(e,t,i,n,o,a){var r=u[n]([0,0],[a.scrollDelta,a.scrollDelta],t,o,i);return r.signal*(e[1]-e[0])*a.scrollDelta}))};function h(e){return function(t,i,n,o){var r=this._range,s=r.slice(),l=t.axisModels[0];if(l){var d=e(s,l,t,i,n,o);return a(d,s,[0,100],"all"),this._range=s,r[0]!==s[0]||r[1]!==s[1]?s:void 0}}}var u={grid:function(e,t,i,n,o){var a=i.axis,r={},s=o.model.coordinateSystem.getRect();return e=e||[0,0],"x"===a.dim?(r.pixel=t[0]-e[0],r.pixelLength=s.width,r.pixelStart=s.x,r.signal=a.inverse?1:-1):(r.pixel=t[1]-e[1],r.pixelLength=s.height,r.pixelStart=s.y,r.signal=a.inverse?-1:1),r},polar:function(e,t,i,n,o){var a=i.axis,r={},s=o.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),d=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===i.mainType?(r.pixel=t[0]-e[0],r.pixelLength=l[1]-l[0],r.pixelStart=l[0],r.signal=a.inverse?1:-1):(r.pixel=t[1]-e[1],r.pixelLength=d[1]-d[0],r.pixelStart=d[0],r.signal=a.inverse?-1:1),r},singleAxis:function(e,t,i,n,o){var a=i.axis,r=o.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===a.orient?(s.pixel=t[0]-e[0],s.pixelLength=r.width,s.pixelStart=r.x,s.signal=a.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=r.height,s.pixelStart=r.y,s.signal=a.inverse?-1:1),s}},c=l;e.exports=c},3790:function(e,t,i){var n=i("3a56"),o=n.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),a=o;e.exports=a},"3a56":function(e,t,i){var n=i("4e08"),o=(n.__DEV__,i("3eba")),a=i("6d8b"),r=i("22d1"),s=i("e0d3"),l=i("50e5"),d=i("cc39"),h=a.each,u=l.eachAxisDim,c=o.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,t,i){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var n=g(e);this.settledOption=n,this.mergeDefaultAndTheme(e,i),this.doInit(n)},mergeOption:function(e){var t=g(e);a.merge(this.option,e,!0),a.merge(this.settledOption,t,!0),this.doInit(t)},doInit:function(e){var t=this.option;r.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),p(this,e);var i=this.settledOption;h([["start","startValue"],["end","endValue"]],(function(e,n){"value"===this._rangePropMode[n]&&(t[e[0]]=i[e[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis((function(t,i,n,o){var a=this.dependentModels[t.axis][i],r=a.__dzAxisProxy||(a.__dzAxisProxy=new d(t.name,i,this,o));e[t.name+"_"+i]=r}),this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();u((function(t){var i=t.axisIndex;e[i]=s.normalizeToArray(e[i])}),this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;u((function(i){null!=e[i.axisIndex]&&(t=!0)}),this);var i=e.orient;return null==i&&t?"orient":t?void 0:(null==i&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),i=this.option,n=this.dependentModels;if(e){var o="vertical"===t?"y":"x";n[o+"Axis"].length?(i[o+"AxisIndex"]=[0],e=!1):h(n.singleAxis,(function(n){e&&n.get("orient",!0)===t&&(i.singleAxisIndex=[n.componentIndex],e=!1)}))}e&&u((function(t){if(e){var n=[],o=this.dependentModels[t.axis];if(o.length&&!n.length)for(var a=0,r=o.length;a<r;a++)"category"===o[a].get("type")&&n.push(a);i[t.axisIndex]=n,n.length&&(e=!1)}}),this),e&&this.ecModel.eachSeries((function(e){this._isSeriesHasAllAxesTypeOf(e,"value")&&u((function(t){var n=i[t.axisIndex],o=e.get(t.axisIndex),r=e.get(t.axisId),s=e.ecModel.queryComponents({mainType:t.axis,index:o,id:r})[0];o=s.componentIndex,a.indexOf(n,o)<0&&n.push(o)}))}),this)},_autoSetOrient:function(){var e;this.eachTargetAxis((function(t){!e&&(e=t.name)}),this),this.option.orient="y"===e?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,t){var i=!0;return u((function(n){var o=e.get(n.axisIndex),a=this.dependentModels[n.axis][o];a&&a.get("type")===t||(i=!1)}),this),i},_setDefaultThrottle:function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var e;return u((function(t){if(null==e){var i=this.get(t.axisIndex);i.length&&(e=this.dependentModels[t.axis][i[0]])}}),this),e},eachTargetAxis:function(e,t){var i=this.ecModel;u((function(n){h(this.get(n.axisIndex),(function(o){e.call(t,n,o,this,i)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var i=this.getAxisProxy(e,t);return i&&i.getAxisModel()},setRawRange:function(e){var t=this.option,i=this.settledOption;h([["start","startValue"],["end","endValue"]],(function(n){null==e[n[0]]&&null==e[n[1]]||(t[n[0]]=i[n[0]]=e[n[0]],t[n[1]]=i[n[1]]=e[n[1]])}),this),p(this,e)},setCalculatedRange:function(e){var t=this.option;h(["start","startValue","end","endValue"],(function(i){t[i]=e[i]}))},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var i in t)if(t.hasOwnProperty(i)&&t[i].hostedBy(this))return t[i];for(var i in t)if(t.hasOwnProperty(i)&&!t[i].hostedBy(this))return t[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});function g(e){var t={};return h(["start","end","startValue","endValue","throttle"],(function(i){e.hasOwnProperty(i)&&(t[i]=e[i])})),t}function p(e,t){var i=e._rangePropMode,n=e.get("rangeMode");h([["start","startValue"],["end","endValue"]],(function(e,o){var a=null!=t[e[0]],r=null!=t[e[1]];a&&!r?i[o]="percent":!a&&r?i[o]="value":n?i[o]=n[o]:a&&(i[o]="percent")}))}var f=c;e.exports=f},"42f6":function(e,t,i){var n=i("3eba"),o=i("6d8b"),a=i("22d1"),r=i("07d7"),s=i("82f9"),l=i("eda2"),d=i("3842"),h=i("2306"),u=i("133d"),c=i("f934"),g=i("4319"),p=i("17d6"),f=i("697e"),x=i("ff2e"),v=i("e0d3"),m=v.getTooltipRenderMode,y=o.bind,_=o.each,b=d.parsePercent,w=new h.Rect({shape:{x:-1,y:-1,width:2,height:2}}),S=n.extendComponentView({type:"tooltip",init:function(e,t){if(!a.node){var i,n=e.getComponent("tooltip"),o=n.get("renderMode");this._renderMode=m(o),"html"===this._renderMode?(i=new r(t.getDom(),t,{appendToBody:n.get("appendToBody",!0)}),this._newLine="<br/>"):(i=new s(t),this._newLine="\n"),this._tooltipContent=i}},render:function(e,t,i){if(!a.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=e.get("alwaysShowContent");var n=this._tooltipContent;n.update(),n.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel,t=e.get("triggerOn");p.register("itemTooltip",this._api,y((function(e,i,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(i,n):"leave"===e&&this._hide(n))}),this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!i.isDisposed()&&n.manuallyShowTip(e,t,i,{x:n._lastX,y:n._lastY})}))}},manuallyShowTip:function(e,t,i,n){if(n.from!==this.uid&&!a.node){var o=A(n,i);this._ticket="";var r=n.dataByCoordSys;if(n.tooltip&&null!=n.x&&null!=n.y){var s=w;s.position=[n.x,n.y],s.update(),s.tooltip=n.tooltip,this._tryShow({offsetX:n.x,offsetY:n.y,target:s},o)}else if(r)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},o);else if(null!=n.seriesIndex){if(this._manuallyAxisShowTip(e,t,i,n))return;var l=u(n,t),d=l.point[0],h=l.point[1];null!=d&&null!=h&&this._tryShow({offsetX:d,offsetY:h,position:n.position,target:l.el},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},o))}},manuallyHideTip:function(e,t,i,n){var o=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(A(n,i))},_manuallyAxisShowTip:function(e,t,i,n){var o=n.seriesIndex,a=n.dataIndex,r=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=o&&null!=a&&null!=r){var s=t.getSeriesByIndex(o);if(s){var l=s.getData();e=M([l.getItemModel(a),s,(s.coordinateSystem||{}).model,e]);if("axis"===e.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:a,position:n.position}),!0}}},_tryShow:function(e,t){var i=e.target,n=this._tooltipModel;if(n){this._lastX=e.offsetX,this._lastY=e.offsetY;var o=e.dataByCoordSys;o&&o.length?this._showAxisTooltip(o,e):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,i,t)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,i,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var i=e.get("showDelay");t=o.bind(t,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(t,i):t()},_showAxisTooltip:function(e,t){var i=this._ecModel,n=this._tooltipModel,a=[t.offsetX,t.offsetY],r=[],s=[],d=M([t.tooltipOption,n]),h=this._renderMode,u=this._newLine,c={};_(e,(function(e){_(e.dataByAxis,(function(e){var t=i.getComponent(e.axisDim+"Axis",e.axisIndex),n=e.value,a=[];if(t&&null!=n){var d=x.getValueLabel(n,t.axis,i,e.seriesDataIndices,e.valueLabelOpt);o.each(e.seriesDataIndices,(function(r){var l=i.getSeriesByIndex(r.seriesIndex),u=r.dataIndexInside,g=l&&l.getDataParams(u);if(g.axisDim=e.axisDim,g.axisIndex=e.axisIndex,g.axisType=e.axisType,g.axisId=e.axisId,g.axisValue=f.getAxisRawValue(t.axis,n),g.axisValueLabel=d,g){s.push(g);var p,x=l.formatTooltip(u,!0,null,h);if(o.isObject(x)){p=x.html;var v=x.markers;o.merge(c,v)}else p=x;a.push(p)}}));var g=d;"html"!==h?r.push(a.join(u)):r.push((g?l.encodeHTML(g)+u:"")+a.join(u))}}))}),this),r.reverse(),r=r.join(this._newLine+this._newLine);var g=t.position;this._showOrMove(d,(function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(d,g,a[0],a[1],this._tooltipContent,s):this._showTooltipContent(d,r,s,Math.random(),a[0],a[1],g,void 0,c)}))},_showSeriesItemTooltip:function(e,t,i){var n=this._ecModel,a=t.seriesIndex,r=n.getSeriesByIndex(a),s=t.dataModel||r,l=t.dataIndex,d=t.dataType,h=s.getData(d),u=M([h.getItemModel(l),s,r&&(r.coordinateSystem||{}).model,this._tooltipModel]),c=u.get("trigger");if(null==c||"item"===c){var g,p,f=s.getDataParams(l,d),x=s.formatTooltip(l,!1,d,this._renderMode);o.isObject(x)?(g=x.html,p=x.markers):(g=x,p=null);var v="item_"+s.name+"_"+l;this._showOrMove(u,(function(){this._showTooltipContent(u,g,f,v,e.offsetX,e.offsetY,e.position,e.target,p)})),i({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:a,from:this.uid})}},_showComponentItemTooltip:function(e,t,i){var n=t.tooltip;if("string"===typeof n){var o=n;n={content:o,formatter:o}}var a=new g(n,this._tooltipModel,this._ecModel),r=a.get("content"),s=Math.random();this._showOrMove(a,(function(){this._showTooltipContent(a,r,a.get("formatterParams")||{},s,e.offsetX,e.offsetY,e.position,t)})),i({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,i,n,o,a,r,s,d){if(this._ticket="",e.get("showContent")&&e.get("show")){var h=this._tooltipContent,u=e.get("formatter");r=r||e.get("position");var c=t;if(u&&"string"===typeof u)c=l.formatTpl(u,i,!0);else if("function"===typeof u){var g=y((function(t,n){t===this._ticket&&(h.setContent(n,d,e),this._updatePosition(e,r,o,a,h,i,s))}),this);this._ticket=n,c=u(i,n,g)}h.setContent(c,d,e),h.show(e),this._updatePosition(e,r,o,a,h,i,s)}},_updatePosition:function(e,t,i,n,a,r,s){var l=this._api.getWidth(),d=this._api.getHeight();t=t||e.get("position");var h=a.getSize(),u=e.get("align"),g=e.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof t&&(t=t([i,n],r,a.el,p,{viewSize:[l,d],contentSize:h.slice()})),o.isArray(t))i=b(t[0],l),n=b(t[1],d);else if(o.isObject(t)){t.width=h[0],t.height=h[1];var f=c.getLayoutRect(t,{width:l,height:d});i=f.x,n=f.y,u=null,g=null}else if("string"===typeof t&&s){var x=C(t,p,h);i=x[0],n=x[1]}else{x=I(i,n,a,l,d,u?null:20,g?null:20);i=x[0],n=x[1]}if(u&&(i-=P(u)?h[0]/2:"right"===u?h[0]:0),g&&(n-=P(g)?h[1]/2:"bottom"===g?h[1]:0),e.get("confine")){x=T(i,n,a,l,d);i=x[0],n=x[1]}a.moveTo(i,n)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,i=!!t&&t.length===e.length;return i&&_(t,(function(t,n){var o=t.dataByAxis||{},a=e[n]||{},r=a.dataByAxis||[];i&=o.length===r.length,i&&_(o,(function(e,t){var n=r[t]||{},o=e.seriesDataIndices||[],a=n.seriesDataIndices||[];i&=e.value===n.value&&e.axisType===n.axisType&&e.axisId===n.axisId&&o.length===a.length,i&&_(o,(function(e,t){var n=a[t];i&=e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex}))}))})),this._lastDataByCoordSys=e,!!i},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){a.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",t))}});function M(e){var t=e.pop();while(e.length){var i=e.pop();i&&(g.isInstance(i)&&(i=i.get("tooltip",!0)),"string"===typeof i&&(i={formatter:i}),t=new g(i,t,t.ecModel))}return t}function A(e,t){return e.dispatchAction||o.bind(t.dispatchAction,t)}function I(e,t,i,n,o,a,r){var s=i.getOuterSize(),l=s.width,d=s.height;return null!=a&&(e+l+a>n?e-=l+a:e+=a),null!=r&&(t+d+r>o?t-=d+r:t+=r),[e,t]}function T(e,t,i,n,o){var a=i.getOuterSize(),r=a.width,s=a.height;return e=Math.min(e+r,n)-r,t=Math.min(t+s,o)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function C(e,t,i){var n=i[0],o=i[1],a=5,r=0,s=0,l=t.width,d=t.height;switch(e){case"inside":r=t.x+l/2-n/2,s=t.y+d/2-o/2;break;case"top":r=t.x+l/2-n/2,s=t.y-o-a;break;case"bottom":r=t.x+l/2-n/2,s=t.y+d+a;break;case"left":r=t.x-n-a,s=t.y+d/2-o/2;break;case"right":r=t.x+l+a,s=t.y+d/2-o/2}return[r,s]}function P(e){return"center"===e||"middle"===e}e.exports=S},4650:function(e,t,i){var n=i("3eba"),o=i("6d8b");function a(e,t,i){var n,a={},r="toggleSelected"===e;return i.eachComponent("legend",(function(i){r&&null!=n?i[n?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?i[e]():(i[e](t.name),n=i.isSelected(t.name));var s=i.getData();o.each(s,(function(e){var t=e.get("name");if("\n"!==t&&""!==t){var n=i.isSelected(t);a.hasOwnProperty(t)?a[t]=a[t]&&n:a[t]=n}}))})),"allSelect"===e||"inverseSelect"===e?{selected:a}:{name:t.name,selected:a}}n.registerAction("legendToggleSelect","legendselectchanged",o.curry(a,"toggleSelected")),n.registerAction("legendAllSelect","legendselectall",o.curry(a,"allSelect")),n.registerAction("legendInverseSelect","legendinverseselect",o.curry(a,"inverseSelect")),n.registerAction("legendSelect","legendselected",o.curry(a,"select")),n.registerAction("legendUnSelect","legendunselected",o.curry(a,"unSelect"))},"48ac":function(e,t,i){var n=i("3eba"),o=n.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),a=o;e.exports=a},"4a01":function(e,t,i){var n=i("6d8b"),o=i("1fab"),a=i("607d"),r=i("a4fe");function s(e){this.pointerChecker,this._zr=e,this._opt={};var t=n.bind,i=t(l,this),a=t(d,this),r=t(h,this),s=t(u,this),g=t(c,this);o.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,o){this.disable(),this._opt=n.defaults(n.clone(o)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",a),e.on("mouseup",r)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",s),e.on("pinch",g))},this.disable=function(){e.off("mousedown",i),e.off("mousemove",a),e.off("mouseup",r),e.off("mousewheel",s),e.off("pinch",g)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(e){if(!(a.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)){var t=e.offsetX,i=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,i)&&(this._x=t,this._y=i,this._dragging=!0)}}function d(e){if(this._dragging&&f("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!r.isTaken(this._zr,"globalPan")){var t=e.offsetX,i=e.offsetY,n=this._x,o=this._y,s=t-n,l=i-o;this._x=t,this._y=i,this._opt.preventDefaultMouseMove&&a.stop(e.event),p(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:n,oldY:o,newX:t,newY:i})}}function h(e){a.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function u(e){var t=f("zoomOnMouseWheel",e,this._opt),i=f("moveOnMouseWheel",e,this._opt),n=e.wheelDelta,o=Math.abs(n),a=e.offsetX,r=e.offsetY;if(0!==n&&(t||i)){if(t){var s=o>3?1.4:o>1?1.2:1.1,l=n>0?s:1/s;g(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:a,originY:r})}if(i){var d=Math.abs(n),h=(n>0?1:-1)*(d>3?.4:d>1?.15:.05);g(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:h,originX:a,originY:r})}}}function c(e){if(!r.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;g(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY})}}function g(e,t,i,n,o){e.pointerChecker&&e.pointerChecker(n,o.originX,o.originY)&&(a.stop(n.event),p(e,t,i,n,o))}function p(e,t,i,o,a){a.isAvailableBehavior=n.bind(f,null,i,o),e.trigger(t,a)}function f(e,t,i){var o=i[e];return!e||o&&(!n.isString(o)||t.event[o+"Key"])}n.mixin(s,o);var x=s;e.exports=x},"4a9d":function(e,t,i){var n=i("dcb3"),o=i("ff2e"),a=i("0156"),r=i("6679"),s=n.extend({makeElOption:function(e,t,i,n,r){var s=i.axis,h=s.grid,u=n.get("type"),c=l(h,s).getOtherAxis(s).getGlobalExtent(),g=s.toGlobalCoord(s.dataToCoord(t,!0));if(u&&"none"!==u){var p=o.buildElStyle(n),f=d[u](s,g,c);f.style=p,e.graphicKey=f.type,e.pointer=f}var x=a.layout(h.model,i);o.buildCartesianSingleLabelElOption(t,e,x,i,n,r)},getHandleTransform:function(e,t,i){var n=a.layout(t.axis.grid.model,t,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:o.getTransformedPosition(t.axis,e,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,i,n){var o=i.axis,a=o.grid,r=o.getGlobalExtent(!0),s=l(a,o).getOtherAxis(o).getGlobalExtent(),d="x"===o.dim?0:1,h=e.position;h[d]+=t[d],h[d]=Math.min(r[1],h[d]),h[d]=Math.max(r[0],h[d]);var u=(s[1]+s[0])/2,c=[u,u];c[d]=h[d];var g=[{verticalAlign:"middle"},{align:"center"}];return{position:h,rotation:e.rotation,cursorPoint:c,tooltipOption:g[d]}}});function l(e,t){var i={};return i[t.dim+"AxisIndex"]=t.index,e.getCartesian(i)}var d={line:function(e,t,i){var n=o.makeLineShape([t,i[0]],[t,i[1]],h(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,t,i){var n=Math.max(1,e.getBandWidth()),a=i[1]-i[0];return{type:"Rect",shape:o.makeRectShape([t-n/2,i[0]],[n,a],h(e))}}};function h(e){return"x"===e.dim?0:1}r.registerAxisPointerClass("CartesianAxisPointer",s);var u=s;e.exports=u},"50e5":function(e,t,i){var n=i("6d8b"),o=i("eda2"),a=["x","y","z","radius","angle","single"],r=["cartesian2d","polar","singleAxis"];function s(e){return n.indexOf(r,e)>=0}function l(e,t){e=e.slice();var i=n.map(e,o.capitalFirst);t=(t||[]).slice();var a=n.map(t,o.capitalFirst);return function(o,r){n.each(e,(function(e,n){for(var s={name:e,capital:i[n]},l=0;l<t.length;l++)s[t[l]]=e+a[l];o.call(r,s)}))}}var d=l(a,["axisIndex","axis","index","id"]);function h(e,t,i){return function(i){var n,s={nodes:[],records:{}};if(t((function(e){s.records[e.name]={}})),!i)return s;r(i,s);do{n=!1,e(l)}while(n);function l(e){!o(e,s)&&a(e,s)&&(r(e,s),n=!0)}return s};function o(e,t){return n.indexOf(t.nodes,e)>=0}function a(e,o){var a=!1;return t((function(t){n.each(i(e,t)||[],(function(e){o.records[t.name][e]&&(a=!0)}))})),a}function r(e,o){o.nodes.push(e),t((function(t){n.each(i(e,t)||[],(function(e){o.records[t.name][e]=!0}))}))}}t.isCoordSupported=s,t.createNameEach=l,t.eachAxisDim=d,t.createLinkedNodesFinder=h},5576:function(e,t,i){var n=i("6d8b"),o=i("4a01"),a=i("88b3"),r="\0_ec_dataZoom_roams";function s(e,t){var i=h(e),o=t.dataZoomId,r=t.coordId;n.each(i,(function(e,i){var a=e.dataZoomInfos;a[o]&&n.indexOf(t.allCoordIds,r)<0&&(delete a[o],e.count--)})),c(i);var s=i[r];s||(s=i[r]={coordId:r,dataZoomInfos:{},count:0},s.controller=u(e,s),s.dispatchAction=n.curry(g,e)),!s.dataZoomInfos[o]&&s.count++,s.dataZoomInfos[o]=t;var l=p(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(t.containsPoint),a.createOrUpdate(s,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")}function l(e,t){var i=h(e);n.each(i,(function(e){e.controller.dispose();var i=e.dataZoomInfos;i[t]&&(delete i[t],e.count--)})),c(i)}function d(e){return e.type+"\0_"+e.id}function h(e){var t=e.getZr();return t[r]||(t[r]={})}function u(e,t){var i=new o(e.getZr());return n.each(["pan","zoom","scrollMove"],(function(e){i.on(e,(function(i){var o=[];n.each(t.dataZoomInfos,(function(n){if(i.isAvailableBehavior(n.dataZoomModel.option)){var a=(n.getRange||{})[e],r=a&&a(t.controller,i);!n.dataZoomModel.get("disabled",!0)&&r&&o.push({dataZoomId:n.dataZoomId,start:r[0],end:r[1]})}})),o.length&&t.dispatchAction(o)}))})),i}function c(e){n.each(e,(function(t,i){t.count||(t.controller.dispose(),delete e[i])}))}function g(e,t){e.dispatchAction({type:"dataZoom",batch:t})}function p(e){var t,i="type_",o={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0;return n.each(e,(function(e){var n=e.dataZoomModel,r=!n.get("disabled",!0)&&(!n.get("zoomLock",!0)||"move");o[i+r]>o[i+t]&&(t=r),a&=n.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a}}}t.register=s,t.unregister=l,t.generateCoordId=d},"5e97":function(e,t,i){var n=i("4e08"),o=(n.__DEV__,i("3eba")),a=i("6d8b"),r=i("a15a"),s=r.createSymbol,l=i("2306"),d=i("7919"),h=d.makeBackground,u=i("f934"),c=a.curry,g=a.each,p=l.Group,f=o.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new p),this._backgroundEl,this.group.add(this._selectorGroup=new p),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(e,t,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var o=e.get("align"),r=e.get("orient");o&&"auto"!==o||(o="right"===e.get("left")&&"vertical"===r?"right":"left");var s=e.get("selector",!0),l=e.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===r?"end":"start"),this.renderInner(o,e,t,i,s,r,l);var d=e.getBoxLayoutParams(),c={width:i.getWidth(),height:i.getHeight()},g=e.get("padding"),p=u.getLayoutRect(d,c,g),f=this.layoutInner(e,o,p,n,s,l),x=u.getLayoutRect(a.defaults({width:f.width,height:f.height},d),c,g);this.group.attr("position",[x.x-f.x,x.y-f.y]),this.group.add(this._backgroundEl=h(f,e))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(e,t,i,n,o,r,s){var l=this.getContentGroup(),d=a.createHashMap(),h=t.get("selectedMode"),u=[];i.eachRawSeries((function(e){!e.get("legendHoverLink")&&u.push(e.id)})),g(t.getData(),(function(o,a){var r=o.get("name");if(this.newlineDisabled||""!==r&&"\n"!==r){var s=i.getSeriesByName(r)[0];if(!d.get(r))if(s){var g=s.getData(),f=g.getVisual("color"),x=g.getVisual("borderColor");"function"===typeof f&&(f=f(s.getDataParams(0))),"function"===typeof x&&(x=x(s.getDataParams(0)));var _=g.getVisual("legendSymbol")||"roundRect",b=g.getVisual("symbol"),w=this._createItem(r,a,o,t,_,b,e,f,x,h);w.on("click",c(v,r,null,n,u)).on("mouseover",c(m,s.name,null,n,u)).on("mouseout",c(y,s.name,null,n,u)),d.set(r,!0)}else i.eachRawSeries((function(i){if(!d.get(r)&&i.legendVisualProvider){var s=i.legendVisualProvider;if(!s.containName(r))return;var l=s.indexOfName(r),g=s.getItemVisual(l,"color"),p=s.getItemVisual(l,"borderColor"),f="roundRect",x=this._createItem(r,a,o,t,f,null,e,g,p,h);x.on("click",c(v,null,r,n,u)).on("mouseover",c(m,null,r,n,u)).on("mouseout",c(y,null,r,n,u)),d.set(r,!0)}}),this)}else l.add(new p({newline:!0}))}),this),o&&this._createSelector(o,t,n,r,s)},_createSelector:function(e,t,i,n,o){var a=this.getSelectorGroup();function r(e){var n=e.type,o=new l.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:"all"===n?"legendAllSelect":"legendInverseSelect"})}});a.add(o);var r=t.getModel("selectorLabel"),s=t.getModel("emphasis.selectorLabel");l.setLabelStyle(o.style,o.hoverStyle={},r,s,{defaultText:e.title,isRectText:!1}),l.setHoverStyle(o)}g(e,(function(e){r(e)}))},_createItem:function(e,t,i,n,o,r,d,h,u,c){var g=n.get("itemWidth"),f=n.get("itemHeight"),v=n.get("inactiveColor"),m=n.get("inactiveBorderColor"),y=n.get("symbolKeepAspect"),_=n.getModel("itemStyle"),b=n.isSelected(e),w=new p,S=i.getModel("textStyle"),M=i.get("icon"),A=i.getModel("tooltip"),I=A.parentModel;o=M||o;var T=s(o,0,0,g,f,b?h:v,null==y||y);if(w.add(x(T,o,_,u,m,b)),!M&&r&&(r!==o||"none"===r)){var C=.8*f;"none"===r&&(r="circle");var P=s(r,(g-C)/2,(f-C)/2,C,C,b?h:v,null==y||y);w.add(x(P,r,_,u,m,b))}var D="left"===d?g+5:-5,k=d,O=n.get("formatter"),L=e;"string"===typeof O&&O?L=O.replace("{name}",null!=e?e:""):"function"===typeof O&&(L=O(e)),w.add(new l.Text({style:l.setTextStyle({},S,{text:L,x:D,y:f/2,textFill:b?S.getTextColor():v,textAlign:k,textVerticalAlign:"middle"})}));var z=new l.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:A.get("show")?a.extend({content:e,formatter:I.get("formatter",!0)||function(){return e},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:e,$vars:["name"]}},A.option):null});return w.add(z),w.eachChild((function(e){e.silent=!0})),z.silent=!c,this.getContentGroup().add(w),l.setHoverStyle(w),w.__legendDataIndex=t,w},layoutInner:function(e,t,i,n,o,a){var r=this.getContentGroup(),s=this.getSelectorGroup();u.box(e.get("orient"),r,e.get("itemGap"),i.width,i.height);var l=r.getBoundingRect(),d=[-l.x,-l.y];if(o){u.box("horizontal",s,e.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],g=e.get("selectorButtonGap",!0),p=e.getOrient().index,f=0===p?"width":"height",x=0===p?"height":"width",v=0===p?"y":"x";"end"===a?c[p]+=l[f]+g:d[p]+=h[f]+g,c[1-p]+=l[x]/2-h[x]/2,s.attr("position",c),r.attr("position",d);var m={x:0,y:0};return m[f]=l[f]+g+h[f],m[x]=Math.max(l[x],h[x]),m[v]=Math.min(0,h[v]+c[1-p]),m}return r.attr("position",d),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function x(e,t,i,n,o,a){var r;return"line"!==t&&t.indexOf("empty")<0?(r=i.getItemStyle(),e.style.stroke=n,a||(r.stroke=o)):r=i.getItemStyle(["borderWidth","borderColor"]),e.setStyle(r)}function v(e,t,i,n){y(e,t,i,n),i.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),m(e,t,i,n)}function m(e,t,i,n){var o=i.getZr().storage.getDisplayList()[0];o&&o.useHoverLayer||i.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:n})}function y(e,t,i,n){var o=i.getZr().storage.getDisplayList()[0];o&&o.useHoverLayer||i.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:n})}e.exports=f},"627c":function(e,t,i){var n=i("6d8b"),o=i("3eba"),a=i("2306"),r=i("f934"),s=r.getLayoutRect,l=i("eda2"),d=l.windowOpen;o.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),o.extendComponentView({type:"title",render:function(e,t,i){if(this.group.removeAll(),e.get("show")){var o=this.group,r=e.getModel("textStyle"),l=e.getModel("subtextStyle"),h=e.get("textAlign"),u=n.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),c=new a.Text({style:a.setTextStyle({},r,{text:e.get("text"),textFill:r.getTextColor()},{disableBox:!0}),z2:10}),g=c.getBoundingRect(),p=e.get("subtext"),f=new a.Text({style:a.setTextStyle({},l,{text:p,textFill:l.getTextColor(),y:g.height+e.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),x=e.get("link"),v=e.get("sublink"),m=e.get("triggerEvent",!0);c.silent=!x&&!m,f.silent=!v&&!m,x&&c.on("click",(function(){d(x,"_"+e.get("target"))})),v&&f.on("click",(function(){d(x,"_"+e.get("subtarget"))})),c.eventData=f.eventData=m?{componentType:"title",componentIndex:e.componentIndex}:null,o.add(c),p&&o.add(f);var y=o.getBoundingRect(),_=e.getBoxLayoutParams();_.width=y.width,_.height=y.height;var b=s(_,{width:i.getWidth(),height:i.getHeight()},e.get("padding"));h||(h=e.get("left")||e.get("right"),"middle"===h&&(h="center"),"right"===h?b.x+=b.width:"center"===h&&(b.x+=b.width/2)),u||(u=e.get("top")||e.get("bottom"),"center"===u&&(u="middle"),"bottom"===u?b.y+=b.height:"middle"===u&&(b.y+=b.height/2),u=u||"top"),o.attr("position",[b.x,b.y]);var w={textAlign:h,textVerticalAlign:u};c.setStyle(w),f.setStyle(w),y=o.getBoundingRect();var S=b.margin,M=e.getItemStyle(["color","opacity"]);M.fill=e.get("backgroundColor");var A=new a.Rect({shape:{x:y.x-S[3],y:y.y-S[0],width:y.width+S[1]+S[3],height:y.height+S[0]+S[2],r:e.get("borderRadius")},style:M,subPixelOptimize:!0,silent:!0});o.add(A)}}})},6679:function(e,t,i){var n=i("4e08"),o=(n.__DEV__,i("3eba")),a=i("cd33"),r=o.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,t,i,n){this.axisPointerClass&&a.fixValue(e),r.superApply(this,"render",arguments),s(this,e,t,i,n,!0)},updateAxisPointer:function(e,t,i,n,o){s(this,e,t,i,n,!1)},remove:function(e,t){var i=this._axisPointer;i&&i.remove(t),r.superApply(this,"remove",arguments)},dispose:function(e,t){l(this,t),r.superApply(this,"dispose",arguments)}});function s(e,t,i,n,o,s){var d=r.getAxisPointerClass(e.axisPointerClass);if(d){var h=a.getAxisPointerModel(t);h?(e._axisPointer||(e._axisPointer=new d)).render(t,h,n,s):l(e,n)}}function l(e,t,i){var n=e._axisPointer;n&&n.dispose(t,i),e._axisPointer=null}var d=[];r.registerAxisPointerClass=function(e,t){d[e]=t},r.getAxisPointerClass=function(e){return e&&d[e]};var h=r;e.exports=h},6932:function(e,t,i){var n=i("6cb7");n.registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))},7919:function(e,t,i){var n=i("f934"),o=n.getLayoutRect,a=n.box,r=n.positionElement,s=i("eda2"),l=i("2306");function d(e,t,i){var n=t.getBoxLayoutParams(),s=t.get("padding"),l={width:i.getWidth(),height:i.getHeight()},d=o(n,l,s);a(t.get("orient"),e,t.get("itemGap"),d.width,d.height),r(e,n,l,s)}function h(e,t){var i=s.normalizeCssArray(t.get("padding")),n=t.getItemStyle(["color","opacity"]);n.fill=t.get("backgroundColor");e=new l.Rect({shape:{x:e.x-i[3],y:e.y-i[0],width:e.width+i[1]+i[3],height:e.height+i[0]+i[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1});return e}t.layout=d,t.makeBackground=h},"7dcf":function(e,t,i){var n=i("b12f"),o=n.extend({type:"dataZoom",render:function(e,t,i,n){this.dataZoomModel=e,this.ecModel=t,this.api=i},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,i={};function n(e,t,i,n){for(var o,a=0;a<i.length;a++)if(i[a].model===e){o=i[a];break}o||i.push(o={model:e,axisModels:[],coordIndex:n}),o.axisModels.push(t)}return e.eachTargetAxis((function(e,o){var a=t.getComponent(e.axis,o);if(a){var r=a.getCoordSysModel();r&&n(r,a,i[r.mainType]||(i[r.mainType]=[]),r.componentIndex)}}),this),i}});e.exports=o},"7f72":function(e,t,i){i("6932"),i("3a56"),i("7dcf"),i("a18f"),i("32a1"),i("2c17"),i("9e87")},"82f9":function(e,t,i){var n=i("6d8b"),o=i("76a5");function a(e){this._zr=e.getZr(),this._show=!1,this._hideTimeout}a.prototype={constructor:a,_enterable:!0,update:function(){},show:function(e){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(e,t,i){this.el&&this._zr.remove(this.el);var n={},a=e,r="{marker",s="|}",l=a.indexOf(r);while(l>=0){var d=a.indexOf(s),h=a.substr(l+r.length,d-l-r.length);h.indexOf("sub")>-1?n["marker"+h]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[h],textOffset:[3,0]}:n["marker"+h]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[h]},a=a.substr(d+1),l=a.indexOf("{marker")}this.el=new o({style:{rich:n,text:e,textLineHeight:20,textBackgroundColor:i.get("backgroundColor"),textBorderRadius:i.get("borderRadius"),textFill:i.get("textStyle.color"),textPadding:i.get("padding")},z:i.get("z")}),this._zr.add(this.el);var u=this;this.el.on("mouseover",(function(){u._enterable&&(clearTimeout(u._hideTimeout),u._show=!0),u._inContent=!0})),this.el.on("mouseout",(function(){u._enterable&&u._show&&u.hideLater(u._hideDelay),u._inContent=!1}))},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el.getBoundingRect();return[e.width,e.height]},moveTo:function(e,t){this.el&&this.el.attr("position",[e,t])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var e=this.getSize();return{width:e[0],height:e[1]}}};var r=a;e.exports=r},"84d5":function(e,t,i){var n=i("3eba"),o=i("6d8b"),a=i("4319"),r=i("e0d3"),s=r.isNameSpecified,l=i("29a8"),d=l.legend.selector,h={all:{type:"all",title:o.clone(d.all)},inverse:{type:"inverse",title:o.clone(d.inverse)}},u=n.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{},this._updateSelector(e)},mergeOption:function(e){u.superCall(this,"mergeOption",e),this._updateSelector(e)},_updateSelector:function(e){var t=e.selector;!0===t&&(t=e.selector=["all","inverse"]),o.isArray(t)&&o.each(t,(function(e,i){o.isString(e)&&(e={type:e}),t[i]=o.merge(e,h[e.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,i=0;i<e.length;i++){var n=e[i].get("name");if(this.isSelected(n)){this.select(n),t=!0;break}}!t&&this.select(e[0].get("name"))}},_updateData:function(e){var t=[],i=[];e.eachRawSeries((function(n){var o,a=n.name;if(i.push(a),n.legendVisualProvider){var r=n.legendVisualProvider,l=r.getAllNames();e.isSeriesFiltered(n)||(i=i.concat(l)),l.length?t=t.concat(l):o=!0}else o=!0;o&&s(n)&&t.push(n.name)})),this._availableNames=i;var n=this.get("data")||t,r=o.map(n,(function(e){return"string"!==typeof e&&"number"!==typeof e||(e={name:e}),new a(e,this,this.ecModel)}),this);this._data=r},getData:function(){return this._data},select:function(e){var t=this.option.selected,i=this.get("selectedMode");if("single"===i){var n=this._data;o.each(n,(function(e){t[e.get("name")]=!1}))}t[e]=!0},unSelect:function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},toggleSelected:function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},allSelect:function(){var e=this._data,t=this.option.selected;o.each(e,(function(e){t[e.get("name",!0)]=!0}))},inverseSelect:function(){var e=this._data,t=this.option.selected;o.each(e,(function(e){var i=e.get("name",!0);t.hasOwnProperty(i)||(t[i]=!0),t[i]=!t[i]}))},isSelected:function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&o.indexOf(this._availableNames,e)>=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),c=u;e.exports=c},"8a9b":function(e,t,i){"use strict";var n=i("b545"),o=i.n(n);o.a},"903c":function(e,t){function i(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var i=0;i<t.length;i++)if(!t[i].isSelected(e.name))return!1;return!0}))}e.exports=i},"9e87":function(e,t,i){var n=i("3eba"),o=i("6d8b"),a=i("50e5");n.registerAction("dataZoom",(function(e,t){var i=a.createLinkedNodesFinder(o.bind(t.eachComponent,t,"dataZoom"),a.eachAxisDim,(function(e,t){return e.get(t.axisIndex)})),n=[];t.eachComponent({mainType:"dataZoom",query:e},(function(e,t){n.push.apply(n,i(e).nodes)})),o.each(n,(function(t,i){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))},a18f:function(e,t,i){var n=i("3a56"),o=n.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});e.exports=o},a4fe:function(e,t,i){var n=i("3eba"),o="\0_ec_interaction_mutex";function a(e,t,i){var n=l(e);n[t]=i}function r(e,t,i){var n=l(e),o=n[t];o===i&&(n[t]=null)}function s(e,t){return!!l(e)[t]}function l(e){return e[o]||(e[o]={})}n.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),t.take=a,t.release=r,t.isTaken=s},a96b:function(e,t,i){var n=i("3eba"),o=n.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});e.exports=o},b545:function(e,t,i){},c770:function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"content-box-container",class:{"content-box-hide":e.hide}},[e.toggle?i("div",{staticClass:"toggle-flag",on:{click:e.toggleChange}},[i("i",{staticClass:"el-icon-arrow-left"})]):e._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.hide,expression:"!hide"}],staticClass:"content-box",class:{"no-border":e.noborder}},[e.noHeader?e._e():i("div",{staticClass:"content-box-title",class:e.getTitlePos},[e._t("title",[e._v(e._s(e.title))])],2),i("div",{staticClass:"content-box-content"},[e._t("default")],2),i("div",{staticClass:"content-box-footer"},[e._t("footer")],2)]),i("div",{staticClass:"box-tools"},[e._t("box-tools")],2)])},o=[],a={name:"contentBox",props:{titleLeft:{type:Boolean,default:!1},title:{type:String,default:"头部信息"},noborder:{type:Boolean,default:!1},noHeader:{type:Boolean,default:!1},toggle:{type:Boolean,default:!1}},data:function(){return{hide:!1}},methods:{toggleChange:function(){var e=this;this.hide=!this.hide,this.$nextTick((function(){setTimeout((function(){e.$emit("toggleChange",e.hide)}),600)}))}},computed:{getTitlePos:function(){return this.titleLeft?"txt-left":""}},mounted:function(){}},r=a,s=(i("8a9b"),i("2877")),l=Object(s["a"])(r,n,o,!1,null,"429d333a",null);t["a"]=l.exports},cb8f:function(e,t,i){var n=i("3eba"),o=i("6d8b"),a=i("cd33"),r=i("eb6b");i("48ac"),i("d4b1"),i("4a9d"),n.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!o.isArray(t)&&(e.axisPointer.link=[t])}})),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=a.collect(e,t)})),n.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},r)},cc39:function(e,t,i){var n=i("6d8b"),o=i("3842"),a=i("50e5"),r=i("ef6a"),s=n.each,l=o.asc,d=function(e,t,i,n){this._dimName=e,this._axisIndex=t,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=n,this._dataZoomModel=i};function h(e,t,i){var n=[1/0,-1/0];return s(i,(function(e){var i=e.getData();i&&s(i.mapDimension(t,!0),(function(e){var t=i.getApproximateExtent(e);t[0]<n[0]&&(n[0]=t[0]),t[1]>n[1]&&(n[1]=t[1])}))})),n[1]<n[0]&&(n=[NaN,NaN]),u(e,n),n}function u(e,t){var i=e.getAxisModel(),n=i.getMin(!0),o="category"===i.get("type"),a=o&&i.getCategories().length;null!=n&&"dataMin"!==n&&"function"!==typeof n?t[0]=n:o&&(t[0]=a>0?0:NaN);var r=i.getMax(!0);return null!=r&&"dataMax"!==r&&"function"!==typeof r?t[1]=r:o&&(t[1]=a>0?a-1:NaN),i.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function c(e,t){var i=e.getAxisModel(),n=e._percentWindow,a=e._valueWindow;if(n){var r=o.getPixelPrecision(a,[0,500]);r=Math.min(r,20);var s=t||0===n[0]&&100===n[1];i.setRange(s?null:+a[0].toFixed(r),s?null:+a[1].toFixed(r))}}function g(e){var t=e._minMaxSpan={},i=e._dataZoomModel,n=e._dataExtent;s(["min","max"],(function(a){var r=i.get(a+"Span"),s=i.get(a+"ValueSpan");null!=s&&(s=e.getAxisModel().axis.scale.parse(s)),null!=s?r=o.linearMap(n[0]+s,n,[0,100],!0):null!=r&&(s=o.linearMap(r,[0,100],n,!0)-n[0]),t[a+"Span"]=r,t[a+"ValueSpan"]=s}))}d.prototype={constructor:d,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries((function(i){if(a.isCoordSupported(i.get("coordinateSystem"))){var n=this._dimName,o=t.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(o&&o.componentIndex)&&e.push(i)}}),this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,i,n=this._dimName,o=this.ecModel,a=this.getAxisModel(),r="x"===n||"y"===n;return r?(t="gridIndex",e="x"===n?"y":"x"):(t="polarIndex",e="angle"===n?"radius":"angle"),o.eachComponent(e+"Axis",(function(e){(e.get(t)||0)===(a.get(t)||0)&&(i=e)})),i},getMinMaxSpan:function(){return n.clone(this._minMaxSpan)},calculateDataWindow:function(e){var t,i=this._dataExtent,n=this.getAxisModel(),a=n.axis.scale,d=this._dataZoomModel.getRangePropMode(),h=[0,100],u=[],c=[];s(["start","end"],(function(n,r){var s=e[n],l=e[n+"Value"];"percent"===d[r]?(null==s&&(s=h[r]),l=a.parse(o.linearMap(s,h,i))):(t=!0,l=null==l?i[r]:a.parse(l),s=o.linearMap(l,i,h)),c[r]=l,u[r]=s})),l(c),l(u);var g=this._minMaxSpan;function p(e,t,i,n,s){var l=s?"Span":"ValueSpan";r(0,e,i,"all",g["min"+l],g["max"+l]);for(var d=0;d<2;d++)t[d]=o.linearMap(e[d],i,n,!0),s&&(t[d]=a.parse(t[d]))}return t?p(c,u,i,h,!1):p(u,c,h,i,!0),{valueWindow:c,percentWindow:u}},reset:function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=h(this,this._dimName,t),g(this);var i=this.calculateDataWindow(e.settledOption);this._valueWindow=i.valueWindow,this._percentWindow=i.percentWindow,c(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,c(this,!0))},filterData:function(e,t){if(e===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),o=e.get("filterMode"),a=this._valueWindow;"none"!==o&&s(n,(function(e){var t=e.getData(),n=t.mapDimension(i,!0);n.length&&("weakFilter"===o?t.filterSelf((function(e){for(var i,o,r,s=0;s<n.length;s++){var l=t.get(n[s],e),d=!isNaN(l),h=l<a[0],u=l>a[1];if(d&&!h&&!u)return!0;d&&(r=!0),h&&(i=!0),u&&(o=!0)}return r&&i&&o})):s(n,(function(i){if("empty"===o)e.setData(t=t.map(i,(function(e){return r(e)?e:NaN})));else{var n={};n[i]=a,t.selectRange(n)}})),s(n,(function(e){t.setApproximateExtent(a,e)})))}))}function r(e){return e>=a[0]&&e<=a[1]}}};var p=d;e.exports=p},cd33:function(e,t,i){var n=i("6d8b"),o=i("4319"),a=n.each,r=n.curry;function s(e,t){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(i,e,t),i.seriesInvolved&&h(i,e),i}function l(e,t,i){var n=t.getComponent("tooltip"),o=t.getComponent("axisPointer"),s=o.get("link",!0)||[],l=[];a(i.getCoordinateSystems(),(function(i){if(i.axisPointerEnabled){var h=v(i.model),c=e.coordSysAxesInfo[h]={};e.coordSysMap[h]=i;var g=i.model,p=g.getModel("tooltip",n);if(a(i.getAxes(),r(_,!1,null)),i.getTooltipAxes&&n&&p.get("show")){var f="axis"===p.get("trigger"),m="cross"===p.get("axisPointer.type"),y=i.getTooltipAxes(p.get("axisPointer.axis"));(f||m)&&a(y.baseAxes,r(_,!m||"cross",f)),m&&a(y.otherAxes,r(_,"cross",!1))}}function _(n,a,r){var h=r.model.getModel("axisPointer",o),g=h.get("show");if(g&&("auto"!==g||n||x(h))){null==a&&(a=h.get("triggerTooltip")),h=n?d(r,p,o,t,n,a):h;var f=h.get("snap"),m=v(r.model),y=a||f||"category"===r.type,_=e.axesInfo[m]={key:m,axis:r,coordSys:i,axisPointerModel:h,triggerTooltip:a,involveSeries:y,snap:f,useHandle:x(h),seriesModels:[]};c[m]=_,e.seriesInvolved|=y;var b=u(s,r);if(null!=b){var w=l[b]||(l[b]={axesInfo:{}});w.axesInfo[m]=_,w.mapper=s[b].mapper,_.linkGroup=w}}}}))}function d(e,t,i,r,s,l){var d=t.getModel("axisPointer"),h={};a(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){h[e]=n.clone(d.get(e))})),h.snap="category"!==e.type&&!!l,"cross"===d.get("type")&&(h.type="line");var u=h.label||(h.label={});if(null==u.show&&(u.show=!1),"cross"===s){var c=d.get("label.show");if(u.show=null==c||c,!l){var g=h.lineStyle=d.get("crossStyle");g&&n.defaults(u,g.textStyle)}}return e.model.getModel("axisPointer",new o(h,i,r))}function h(e,t){t.eachSeries((function(t){var i=t.coordinateSystem,n=t.get("tooltip.trigger",!0),o=t.get("tooltip.show",!0);i&&"none"!==n&&!1!==n&&"item"!==n&&!1!==o&&!1!==t.get("axisPointer.show",!0)&&a(e.coordSysAxesInfo[v(i.model)],(function(e){var n=e.axis;i.getAxis(n.dim)===n&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}),this)}function u(e,t){for(var i=t.model,n=t.dim,o=0;o<e.length;o++){var a=e[o]||{};if(c(a[n+"AxisId"],i.id)||c(a[n+"AxisIndex"],i.componentIndex)||c(a[n+"AxisName"],i.name))return o}}function c(e,t){return"all"===e||n.isArray(e)&&n.indexOf(e,t)>=0||e===t}function g(e){var t=p(e);if(t){var i=t.axisPointerModel,n=t.axis.scale,o=i.option,a=i.get("status"),r=i.get("value");null!=r&&(r=n.parse(r));var s=x(i);null==a&&(o.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==r||r>l[1])&&(r=l[1]),r<l[0]&&(r=l[0]),o.value=r,s&&(o.status=t.axis.scale.isBlank()?"hide":"show")}}function p(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[v(e)]}function f(e){var t=p(e);return t&&t.axisPointerModel}function x(e){return!!e.get("handle.show")}function v(e){return e.type+"||"+e.id}t.collect=s,t.fixValue=g,t.getAxisInfo=p,t.getAxisPointerModel=f,t.makeKey=v},d28f:function(e,t,i){var n=i("3eba");i("84d5"),i("4650"),i("5e97");var o=i("903c"),a=i("6cb7");n.registerProcessor(n.PRIORITY.PROCESSOR.SERIES_FILTER,o),a.registerSubTypeDefaulter("legend",(function(){return"plain"}))},d4b1:function(e,t,i){var n=i("3eba"),o=i("17d6"),a=n.extendComponentView({type:"axisPointer",render:function(e,t,i){var n=t.getComponent("tooltip"),a=e.get("triggerOn")||n&&n.get("triggerOn")||"mousemove|click";o.register("axisPointer",i,(function(e,t,i){"none"!==a&&("leave"===e||a.indexOf(e)>=0)&&i({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},remove:function(e,t){o.unregister(t.getZr(),"axisPointer"),a.superApply(this._model,"remove",arguments)},dispose:function(e,t){o.unregister("axisPointer",t),a.superApply(this._model,"dispose",arguments)}}),r=a;e.exports=r},dcb3:function(e,t,i){var n=i("6d8b"),o=i("625e"),a=i("2306"),r=i("cd33"),s=i("607d"),l=i("88b3"),d=i("e0d3"),h=d.makeInner,u=h(),c=n.clone,g=n.bind;function p(){}function f(e,t,i,n){x(u(i).lastProp,n)||(u(i).lastProp=n,t?a.updateProps(i,n,e):(i.stopAnimation(),i.attr(n)))}function x(e,t){if(n.isObject(e)&&n.isObject(t)){var i=!0;return n.each(t,(function(t,n){i=i&&x(e[n],t)})),!!i}return e===t}function v(e,t){e[t.get("label.show")?"show":"hide"]()}function m(e){return{position:e.position.slice(),rotation:e.rotation||0}}function y(e,t,i){var n=t.get("z"),o=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=o&&(e.zlevel=o),e.silent=i)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,i,o){var r=t.get("value"),s=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=i,o||this._lastValue!==r||this._lastStatus!==s){this._lastValue=r,this._lastStatus=s;var l=this._group,d=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(d&&d.hide());l&&l.show(),d&&d.show();var h={};this.makeElOption(h,r,e,t,i);var u=h.graphicKey;u!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(e,t);if(l){var g=n.curry(f,t,c);this.updatePointerEl(l,h,g,t),this.updateLabelEl(l,h,g,t)}else l=this._group=new a.Group,this.createPointerEl(l,h,e,t),this.createLabelEl(l,h,e,t),i.getZr().add(l);y(l,t,!0),this._renderHandle(r)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var i=t.get("animation"),n=e.axis,o="category"===n.type,a=t.get("snap");if(!a&&!o)return!1;if("auto"===i||null==i){var s=this.animationThreshold;if(o&&n.getBandWidth()>s)return!0;if(a){var l=r.getAxisInfo(e).seriesDataCount,d=n.getExtent();return Math.abs(d[0]-d[1])/l>s}return!1}return!0===i},makeElOption:function(e,t,i,n,o){},createPointerEl:function(e,t,i,n){var o=t.pointer;if(o){var r=u(e).pointerEl=new a[o.type](c(t.pointer));e.add(r)}},createLabelEl:function(e,t,i,n){if(t.label){var o=u(e).labelEl=new a.Rect(c(t.label));e.add(o),v(o,n)}},updatePointerEl:function(e,t,i){var n=u(e).pointerEl;n&&t.pointer&&(n.setStyle(t.pointer.style),i(n,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,i,n){var o=u(e).labelEl;o&&(o.setStyle(t.label.style),i(o,{shape:t.label.shape,position:t.label.position}),v(o,n))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t,i=this._axisPointerModel,o=this._api.getZr(),r=this._handle,d=i.getModel("handle"),h=i.get("status");if(!d.get("show")||!h||"hide"===h)return r&&o.remove(r),void(this._handle=null);this._handle||(t=!0,r=this._handle=a.createIcon(d.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){s.stop(e.event)},onmousedown:g(this._onHandleDragMove,this,0,0),drift:g(this._onHandleDragMove,this),ondragend:g(this._onHandleDragEnd,this)}),o.add(r)),y(r,i,!1);var u=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];r.setStyle(d.getItemStyle(null,u));var c=d.get("size");n.isArray(c)||(c=[c,c]),r.attr("scale",[c[0]/2,c[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",d.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},_moveHandleToValue:function(e,t){f(this._axisPointerModel,!t&&this._moveAnimation,this._handle,m(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(m(i),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(m(n)),u(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var e=this._handle;if(e){var t=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},_onHandleDragEnd:function(e){this._dragging=!1;var t=this._handle;if(t){var i=this._axisPointerModel.get("value");this._moveHandleToValue(i),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),i=this._group,n=this._handle;t&&i&&(this._lastGraphicKey=null,i&&t.remove(i),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,i){return i=i||0,{x:e[i],y:e[1-i],width:t[i],height:t[1-i]}}},p.prototype.constructor=p,o.enableClassExtend(p);var _=p;e.exports=_},e4d1:function(e,t,i){i("6932"),i("3a56"),i("7dcf"),i("3790"),i("2325"),i("2c17"),i("9e87")},eb6b:function(e,t,i){var n=i("6d8b"),o=i("e0d3"),a=o.makeInner,r=i("cd33"),s=i("133d"),l=n.each,d=n.curry,h=a();function u(e,t,i){var o=e.currTrigger,a=[e.x,e.y],r=e,h=e.dispatchAction||n.bind(i.dispatchAction,i),u=t.getComponent("axisPointer").coordSysAxesInfo;if(u){b(a)&&(a=s({seriesIndex:r.seriesIndex,dataIndex:r.dataIndex},t).point);var g=b(a),w=r.axesInfo,S=u.axesInfo,M="leave"===o||b(a),A={},I={},T={list:[],map:{}},C={showPointer:d(p,I),showTooltip:d(f,T)};l(u.coordSysMap,(function(e,t){var i=g||e.containPoint(a);l(u.coordSysAxesInfo[t],(function(e,t){var n=e.axis,o=y(w,e);if(!M&&i&&(!w||o)){var r=o&&o.value;null!=r||g||(r=n.pointToData(a)),null!=r&&c(e,r,C,!1,A)}}))}));var P={};return l(S,(function(e,t){var i=e.linkGroup;i&&!I[t]&&l(i.axesInfo,(function(t,n){var o=I[n];if(t!==e&&o){var a=o.value;i.mapper&&(a=e.axis.scale.parse(i.mapper(a,_(t),_(e)))),P[e.key]=a}}))})),l(P,(function(e,t){c(S[t],e,C,!0,A)})),x(I,S,A),v(T,a,e,h),m(S,h,i),A}}function c(e,t,i,o,a){var r=e.axis;if(!r.scale.isBlank()&&r.containData(t))if(e.involveSeries){var s=g(t,e),l=s.payloadBatch,d=s.snapToValue;l[0]&&null==a.seriesIndex&&n.extend(a,l[0]),!o&&e.snap&&r.containData(d)&&null!=d&&(t=d),i.showPointer(e,t,l,a),i.showTooltip(e,s,d)}else i.showPointer(e,t)}function g(e,t){var i=t.axis,n=i.dim,o=e,a=[],r=Number.MAX_VALUE,s=-1;return l(t.seriesModels,(function(t,d){var h,u,c=t.getData().mapDimension(n,!0);if(t.getAxisTooltipData){var g=t.getAxisTooltipData(c,e,i);u=g.dataIndices,h=g.nestestValue}else{if(u=t.getData().indicesOfNearest(c[0],e,"category"===i.type?.5:null),!u.length)return;h=t.getData().get(c[0],u[0])}if(null!=h&&isFinite(h)){var p=e-h,f=Math.abs(p);f<=r&&((f<r||p>=0&&s<0)&&(r=f,s=p,o=h,a.length=0),l(u,(function(e){a.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:a,snapToValue:o}}function p(e,t,i,n){e[t.key]={value:i,payloadBatch:n}}function f(e,t,i,n){var o=i.payloadBatch,a=t.axis,s=a.model,l=t.axisPointerModel;if(t.triggerTooltip&&o.length){var d=t.coordSys.model,h=r.makeKey(d),u=e.map[h];u||(u=e.map[h]={coordSysId:d.id,coordSysIndex:d.componentIndex,coordSysType:d.type,coordSysMainType:d.mainType,dataByAxis:[]},e.list.push(u)),u.dataByAxis.push({axisDim:a.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:n,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:o.slice()})}}function x(e,t,i){var n=i.axesInfo=[];l(t,(function(t,i){var o=t.axisPointerModel.option,a=e[i];a?(!t.useHandle&&(o.status="show"),o.value=a.value,o.seriesDataIndices=(a.payloadBatch||[]).slice()):!t.useHandle&&(o.status="hide"),"show"===o.status&&n.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:o.value})}))}function v(e,t,i,n){if(!b(t)&&e.list.length){var o=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:o.dataIndexInside,dataIndex:o.dataIndex,seriesIndex:o.seriesIndex,dataByCoordSys:e.list})}else n({type:"hideTip"})}function m(e,t,i){var o=i.getZr(),a="axisPointerLastHighlights",r=h(o)[a]||{},s=h(o)[a]={};l(e,(function(e,t){var i=e.axisPointerModel.option;"show"===i.status&&l(i.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;s[t]=e}))}));var d=[],u=[];n.each(r,(function(e,t){!s[t]&&u.push(e)})),n.each(s,(function(e,t){!r[t]&&d.push(e)})),u.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:u}),d.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:d})}function y(e,t){for(var i=0;i<(e||[]).length;i++){var n=e[i];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function _(e){var t=e.axis.model,i={},n=i.axisDim=e.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=t.componentIndex,i.axisName=i[n+"AxisName"]=t.name,i.axisId=i[n+"AxisId"]=t.id,i}function b(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}e.exports=u},ef6a:function(e,t){function i(e,t,i,a,r,s){e=e||0;var l=i[1]-i[0];if(null!=r&&(r=o(r,[0,l])),null!=s&&(s=Math.max(s,null!=r?r:0)),"all"===a){var d=Math.abs(t[1]-t[0]);d=o(d,[0,l]),r=s=o(d,[r,s]),a=0}t[0]=o(t[0],i),t[1]=o(t[1],i);var h=n(t,a);t[a]+=e;var u=r||0,c=i.slice();h.sign<0?c[0]+=u:c[1]-=u,t[a]=o(t[a],c);var g=n(t,a);null!=r&&(g.sign!==h.sign||g.span<r)&&(t[1-a]=t[a]+h.sign*r);g=n(t,a);return null!=s&&g.span>s&&(t[1-a]=t[a]+g.sign*s),t}function n(e,t){var i=e[t]-e[1-t];return{span:Math.abs(i),sign:i>0?-1:i<0?1:t?-1:1}}function o(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}e.exports=i},fab2:function(e,t,i){var n=i("6d8b"),o=n.retrieve,a=n.defaults,r=n.extend,s=n.each,l=i("eda2"),d=i("2306"),h=i("4319"),u=i("3842"),c=u.isRadianAroundZero,g=u.remRadian,p=i("a15a"),f=p.createSymbol,x=i("1687"),v=i("401b"),m=v.applyTransform,y=i("697e"),_=y.shouldShowAllLabels,b=Math.PI,w=function(e,t){this.opt=t,this.axisModel=e,a(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new d.Group;var i=new d.Group({position:t.position.slice(),rotation:t.rotation});i.updateTransform(),this._transform=i.transform,this._dumbGroup=i};w.prototype={constructor:w,hasBuilder:function(e){return!!S[e]},add:function(e){S[e].call(this)},getGroup:function(){return this.group}};var S={axisLine:function(){var e=this.opt,t=this.axisModel;if(t.get("axisLine.show")){var i=this.axisModel.axis.getExtent(),n=this._transform,o=[i[0],0],a=[i[1],0];n&&(m(o,o,n),m(a,a,n));var l=r({lineCap:"round"},t.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new d.Line({anid:"line",subPixelOptimize:!0,shape:{x1:o[0],y1:o[1],x2:a[0],y2:a[1]},style:l,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1}));var h=t.get("axisLine.symbol"),u=t.get("axisLine.symbolSize"),c=t.get("axisLine.symbolOffset")||0;if("number"===typeof c&&(c=[c,c]),null!=h){"string"===typeof h&&(h=[h,h]),"string"!==typeof u&&"number"!==typeof u||(u=[u,u]);var g=u[0],p=u[1];s([{rotate:e.rotation+Math.PI/2,offset:c[0],r:0},{rotate:e.rotation-Math.PI/2,offset:c[1],r:Math.sqrt((o[0]-a[0])*(o[0]-a[0])+(o[1]-a[1])*(o[1]-a[1]))}],(function(t,i){if("none"!==h[i]&&null!=h[i]){var n=f(h[i],-g/2,-p/2,g,p,l.stroke,!0),a=t.r+t.offset,r=[o[0]+a*Math.cos(e.rotation),o[1]-a*Math.sin(e.rotation)];n.attr({rotation:t.rotate,position:r,silent:!0,z2:11}),this.group.add(n)}}),this)}}},axisTickLabel:function(){var e=this.axisModel,t=this.opt,i=L(this,e,t),n=R(this,e,t);C(e,n,i),z(this,e,t)},axisName:function(){var e=this.opt,t=this.axisModel,i=o(e.axisName,t.get("name"));if(i){var n,a,s=t.get("nameLocation"),h=e.nameDirection,u=t.getModel("nameTextStyle"),c=t.get("nameGap")||0,g=this.axisModel.axis.getExtent(),p=g[0]>g[1]?-1:1,f=["start"===s?g[0]-p*c:"end"===s?g[1]+p*c:(g[0]+g[1])/2,k(s)?e.labelOffset+h*c:0],x=t.get("nameRotate");null!=x&&(x=x*b/180),k(s)?n=A(e.rotation,null!=x?x:e.rotation,h):(n=I(e,s,x||0,g),a=e.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(n.rotation)),!isFinite(a)&&(a=null)));var v=u.getFont(),m=t.get("nameTruncate",!0)||{},y=m.ellipsis,_=o(e.nameTruncateMaxWidth,m.maxWidth,a),w=null!=y&&null!=_?l.truncateText(i,_,v,y,{minChar:2,placeholder:m.placeholder}):i,S=t.get("tooltip",!0),C=t.mainType,P={componentType:C,name:i,$vars:["name"]};P[C+"Index"]=t.componentIndex;var D=new d.Text({anid:"name",__fullText:i,__truncatedText:w,position:f,rotation:n.rotation,silent:T(t),z2:1,tooltip:S&&S.show?r({content:i,formatter:function(){return i},formatterParams:P},S):null});d.setTextStyle(D.style,u,{text:w,textFont:v,textFill:u.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:u.get("align")||n.textAlign,textVerticalAlign:u.get("verticalAlign")||n.textVerticalAlign}),t.get("triggerEvent")&&(D.eventData=M(t),D.eventData.targetType="axisName",D.eventData.name=i),this._dumbGroup.add(D),D.updateTransform(),this.group.add(D),D.decomposeTransform()}}},M=w.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},A=w.innerTextLayout=function(e,t,i){var n,o,a=g(t-e);return c(a)?(o=i>0?"top":"bottom",n="center"):c(a-b)?(o=i>0?"bottom":"top",n="center"):(o="middle",n=a>0&&a<b?i>0?"right":"left":i>0?"left":"right"),{rotation:a,textAlign:n,textVerticalAlign:o}};function I(e,t,i,n){var o,a,r=g(i-e.rotation),s=n[0]>n[1],l="start"===t&&!s||"start"!==t&&s;return c(r-b/2)?(a=l?"bottom":"top",o="center"):c(r-1.5*b)?(a=l?"top":"bottom",o="center"):(a="middle",o=r<1.5*b&&r>b/2?l?"left":"right":l?"right":"left"),{rotation:r,textAlign:o,textVerticalAlign:a}}var T=w.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)};function C(e,t,i){if(!_(e.axis)){var n=e.get("axisLabel.showMinLabel"),o=e.get("axisLabel.showMaxLabel");t=t||[],i=i||[];var a=t[0],r=t[1],s=t[t.length-1],l=t[t.length-2],d=i[0],h=i[1],u=i[i.length-1],c=i[i.length-2];!1===n?(P(a),P(d)):D(a,r)&&(n?(P(r),P(h)):(P(a),P(d))),!1===o?(P(s),P(u)):D(l,s)&&(o?(P(l),P(c)):(P(s),P(u)))}}function P(e){e&&(e.ignore=!0)}function D(e,t,i){var n=e&&e.getBoundingRect().clone(),o=t&&t.getBoundingRect().clone();if(n&&o){var a=x.identity([]);return x.rotate(a,a,-e.rotation),n.applyTransform(x.mul([],a,e.getLocalTransform())),o.applyTransform(x.mul([],a,t.getLocalTransform())),n.intersect(o)}}function k(e){return"middle"===e||"center"===e}function O(e,t,i,n,o){for(var a=[],r=[],s=[],l=0;l<e.length;l++){var h=e[l].coord;r[0]=h,r[1]=0,s[0]=h,s[1]=i,t&&(m(r,r,t),m(s,s,t));var u=new d.Line({anid:o+"_"+e[l].tickValue,subPixelOptimize:!0,shape:{x1:r[0],y1:r[1],x2:s[0],y2:s[1]},style:n,z2:2,silent:!0});a.push(u)}return a}function L(e,t,i){var n=t.axis,o=t.getModel("axisTick");if(o.get("show")&&!n.scale.isBlank()){for(var r=o.getModel("lineStyle"),s=i.tickDirection*o.get("length"),l=n.getTicksCoords(),d=O(l,e._transform,s,a(r.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}),"ticks"),h=0;h<d.length;h++)e.group.add(d[h]);return d}}function z(e,t,i){var n=t.axis,o=t.getModel("minorTick");if(o.get("show")&&!n.scale.isBlank()){var r=n.getMinorTicksCoords();if(r.length)for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),d=a(s.getLineStyle(),a(t.getModel("axisTick").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})),h=0;h<r.length;h++)for(var u=O(r[h],e._transform,l,d,"minorticks_"+h),c=0;c<u.length;c++)e.group.add(u[c])}}function R(e,t,i){var n=t.axis,a=o(i.axisLabelShow,t.get("axisLabel.show"));if(a&&!n.scale.isBlank()){var r=t.getModel("axisLabel"),l=r.get("margin"),u=n.getViewLabels(),c=(o(i.labelRotate,r.get("rotate"))||0)*b/180,g=A(i.rotation,c,i.labelDirection),p=t.getCategories&&t.getCategories(!0),f=[],x=T(t),v=t.get("triggerEvent");return s(u,(function(o,a){var s=o.tickValue,u=o.formattedLabel,c=o.rawLabel,m=r;p&&p[s]&&p[s].textStyle&&(m=new h(p[s].textStyle,r,t.ecModel));var y=m.getTextColor()||t.get("axisLine.lineStyle.color"),_=n.dataToCoord(s),b=[_,i.labelOffset+i.labelDirection*l],w=new d.Text({anid:"label_"+s,position:b,rotation:g.rotation,silent:x,z2:10});d.setTextStyle(w.style,m,{text:u,textAlign:m.getShallow("align",!0)||g.textAlign,textVerticalAlign:m.getShallow("verticalAlign",!0)||m.getShallow("baseline",!0)||g.textVerticalAlign,textFill:"function"===typeof y?y("category"===n.type?c:"value"===n.type?s+"":s,a):y}),v&&(w.eventData=M(t),w.eventData.targetType="axisLabel",w.eventData.value=c),e._dumbGroup.add(w),w.updateTransform(),f.push(w),e.group.add(w),w.decomposeTransform()})),f}}var B=w;e.exports=B},ff2e:function(e,t,i){var n=i("6d8b"),o=i("2306"),a=i("e86a"),r=i("eda2"),s=i("1687"),l=i("697e"),d=i("fab2");function h(e){var t,i=e.get("type"),n=e.getModel(i+"Style");return"line"===i?(t=n.getLineStyle(),t.fill=null):"shadow"===i&&(t=n.getAreaStyle(),t.stroke=null),t}function u(e,t,i,n,o){var s=i.get("value"),l=g(s,t.axis,t.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),d=i.getModel("label"),h=r.normalizeCssArray(d.get("padding")||0),u=d.getFont(),p=a.getBoundingRect(l,u),f=o.position,x=p.width+h[1]+h[3],v=p.height+h[0]+h[2],m=o.align;"right"===m&&(f[0]-=x),"center"===m&&(f[0]-=x/2);var y=o.verticalAlign;"bottom"===y&&(f[1]-=v),"middle"===y&&(f[1]-=v/2),c(f,x,v,n);var _=d.get("backgroundColor");_&&"auto"!==_||(_=t.get("axisLine.lineStyle.color")),e.label={shape:{x:0,y:0,width:x,height:v,r:d.get("borderRadius")},position:f.slice(),style:{text:l,textFont:u,textFill:d.getTextColor(),textPosition:"inside",textPadding:h,fill:_,stroke:d.get("borderColor")||"transparent",lineWidth:d.get("borderWidth")||0,shadowBlur:d.get("shadowBlur"),shadowColor:d.get("shadowColor"),shadowOffsetX:d.get("shadowOffsetX"),shadowOffsetY:d.get("shadowOffsetY")},z2:10}}function c(e,t,i,n){var o=n.getWidth(),a=n.getHeight();e[0]=Math.min(e[0]+t,o)-t,e[1]=Math.min(e[1]+i,a)-i,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function g(e,t,i,o,a){e=t.scale.parse(e);var r=t.scale.getLabel(e,{precision:a.precision}),s=a.formatter;if(s){var d={value:l.getAxisRawValue(t,e),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};n.each(o,(function(e){var t=i.getSeriesByIndex(e.seriesIndex),n=e.dataIndexInside,o=t&&t.getDataParams(n);o&&d.seriesData.push(o)})),n.isString(s)?r=s.replace("{value}",r):n.isFunction(s)&&(r=s(d))}return r}function p(e,t,i){var n=s.create();return s.rotate(n,n,i.rotation),s.translate(n,n,i.position),o.applyTransform([e.dataToCoord(t),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)}function f(e,t,i,n,o,a){var r=d.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=o.get("label.margin"),u(t,n,o,a,{position:p(n.axis,e,i),align:r.textAlign,verticalAlign:r.textVerticalAlign})}function x(e,t,i){return i=i||0,{x1:e[i],y1:e[1-i],x2:t[i],y2:t[1-i]}}function v(e,t,i){return i=i||0,{x:e[i],y:e[1-i],width:t[i],height:t[1-i]}}function m(e,t,i,n,o,a){return{cx:e,cy:t,r0:i,r:n,startAngle:o,endAngle:a,clockwise:!0}}t.buildElStyle=h,t.buildLabelElOption=u,t.getValueLabel=g,t.getTransformedPosition=p,t.buildCartesianSingleLabelElOption=f,t.makeLineShape=x,t.makeRectShape=v,t.makeSectorShape=m}}]);
|