webpackJsonp([1],{"+8/0":function(t,e,i){var n=i("a1O+").extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"end"},emphasis:{show:!0}},lineStyle:{normal:{type:"dashed"},emphasis:{width:3}},animationEasing:"linear"}});t.exports=n},"+CF3":function(t,e,i){var n=i("oBvO"),o=i("cKY8"),a=i("4NL3"),r=i("I9m7"),s=i("AmKG"),l=s.encodeHTML,u=s.addCommas,h=i("/Uyr"),c=i("7PvJ"),d=a.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],init:function(t){this._fillOption(t,this.getMapType()),d.superApply(this,"init",arguments),this.updateSelectedMap(t.data)},getInitialData:function(t){var e=r(["value"],t.data||[]),i=new o(e,this);return i.initData(t.data),i},mergeOption:function(t){this._fillOption(t,this.getMapType()),d.superApply(this,"mergeOption",arguments),this.updateSelectedMap(this.option.data)},getHostGeoModel:function(){var t=this.option.geoIndex;return null!=t?this.dependentModels.geo[t]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},_fillOption:function(t,e){t.data=c.getFilledRegions(t.data,e,t.nameMap)},getRawValue:function(t){return this.getData().get("value",t)},getRegionModel:function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},formatTooltip:function(t){for(var e=this.getData(),i=u(this.getRawValue(t)),n=e.getName(t),o=this.seriesGroup,a=[],r=0;r"+l(n+" : "+i)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),i=this.coordinateSystem,n=i.getRegion(e);return n&&i.dataToPoint(n.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,color:"#000"},emphasis:{show:!0,color:"rgb(100,0,0)"}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{areaColor:"rgba(255,215,0,0.8)"}}}});n.mixin(d,h);var p=d;t.exports=p},"+Jlq":function(t,e,i){var n=i("oBvO"),o=i("p1Qj"),a=Math.PI;t.exports=function(t,e){e=e||{},n.defaults(e,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var i=new o.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),r=new o.Arc({shape:{startAngle:-a/2,endAngle:-a/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),s=new o.Rect({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});r.animateShape(!0).when(1e3,{endAngle:3*a/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*a/2}).delay(300).start("circularInOut");var l=new o.Group;return l.add(r),l.add(s),l.add(i),l.resize=function(){var e=t.getWidth()/2,n=t.getHeight()/2;r.setShape({cx:e,cy:n});var o=r.shape.r;s.setShape({x:e-o,y:n-o,width:2*o,height:2*o}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},l.resize(),l}},"+Ky8":function(t,e,i){i("Mguy").__DEV__;var n=i("2qQX"),o=i("oBvO"),a=i("rg0M"),r=i("svCk"),s=i("gW+u"),l=i("CMbO"),u=i("MkO5"),h=i("kkmo"),c=i("0tn1"),d=i("W+me"),p=i("7TgC"),f=i("SdGi"),g=i("4NL3"),v=i("Ei0F"),m=i("/kGE"),y=i("p1Qj"),x=i("45P/"),_=i("ZbD3").throttle,b=i("lCTj"),w=i("+Jlq"),S=o.each,M=f.parseClassType,I=1e3,T=1e3,A=3e3,C={PROCESSOR:{FILTER:I,STATISTIC:5e3},VISUAL:{LAYOUT:T,GLOBAL:2e3,CHART:A,COMPONENT:4e3,BRUSH:5e3}},L="__flagInMainProcess",D="__optionUpdated",P=/^[a-zA-Z0-9_]+$/;function O(t){return function(e,i,n){e=e&&e.toLowerCase(),l.prototype[t].call(this,e,i,n)}}function k(){l.call(this)}function R(t,e,i){i=i||{},"string"==typeof e&&(e=et[e]),this.id,this.group,this._dom=t;var a,r,u=this._zr=n.init(t,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});function d(t,e){return t.prio-e.prio}this._throttledZrFlush=_(o.bind(u.flush,u),17),(e=o.clone(e))&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new c,this._api=(r=(a=this)._coordSysMgr,o.extend(new h(a),{getCoordinateSystems:o.bind(r.getCoordinateSystems,r),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return a._model.getComponent(e.mainType,e.index);t=t.parent}}})),l.call(this),this._messageCenter=new k,this._initEvents(),this.resize=o.bind(this.resize,this),this._pendingActions=[],s(tt,d),s(Q,d),u.animation.on("frame",this._onframe,this),o.setAsPrimitive(this)}k.prototype.on=O("on"),k.prototype.off=O("off"),k.prototype.one=O("one"),o.mixin(k,l);var B=R.prototype;function E(t,e,i){var n,o=this._model,a=this._coordSysMgr.getCoordinateSystems();e=x.parseFinder(o,e);for(var r=0;r=0&&o.each(t,function(t){var o=t.coordinateSystem;if(o&&o.containPoint)i|=!!o.containPoint(e);else if("seriesModels"===n){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(i|=a.containPoint(e,t))}},this)},this),!!i},B.getVisual=function(t,e){var i=this._model,n=(t=x.parseFinder(i,t,{defaultMainType:"series"})).seriesModel.getData(),o=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=o?n.getItemVisual(o,e):n.getVisual(e)},B.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},B.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var N={update:function(t){var e=this._model,i=this._api,n=this._coordSysMgr,o=this._zr;if(e){e.restoreData(),n.create(this._model,this._api),function(t,e){S(Q,function(i){i.func(t,e)})}.call(this,e,i),function(t){var e={};t.eachSeries(function(t){var i=t.get("stack"),n=t.getData();if(i&&"list"===n.type){var o=e[i];e.hasOwnProperty(i)&&o&&(n.stackedOn=o),e[i]=n}})}.call(this,e),n.update(e,i),U.call(this,e,t),function(t,e){var i=this._api;S(this._componentsViews,function(n){var o=n.__model;n.render(o,t,i,e),Y(o,n)},this),S(this._chartsViews,function(t){t.__alive=!1},this),t.eachSeries(function(n,o){var a=this._chartsMap[n.__viewId];a.__alive=!0,a.render(n,t,i,e),a.group.silent=!!n.get("silent"),Y(n,a),K(n,a)},this),j(this._zr,t),S(this._chartsViews,function(e){e.__alive||e.remove(t,i)},this)}.call(this,e,t);var s=e.get("backgroundColor")||"transparent",l=o.painter;if(l.isSingleCanvas&&l.isSingleCanvas())o.configLayer(0,{clearColor:s});else{if(!r.canvasSupported){var u=a.parse(s);s=a.stringify(u,"rgb"),0===u[3]&&(s="transparent")}s.colorStops||s.image?(o.configLayer(0,{clearColor:s}),this.__hasGradientOrPatternBg=!0,this._dom.style.background="transparent"):(this.__hasGradientOrPatternBg&&o.configLayer(0,{clearColor:null}),this.__hasGradientOrPatternBg=!1,this._dom.style.background=s)}S($,function(t){t(e,i)})}},updateView:function(t){var e=this._model;e&&(e.eachSeries(function(t){t.getData().clearAllVisual()}),U.call(this,e,t),H.call(this,"updateView",e,t))},updateVisual:function(t){var e=this._model;e&&(e.eachSeries(function(t){t.getData().clearAllVisual()}),U.call(this,e,t,!0),H.call(this,"updateVisual",e,t))},updateLayout:function(t){var e=this._model;e&&(function(t,e){var i=this._api;S(tt,function(n){n.isLayout&&n.func(t,i,e)})}.call(this,e,t),H.call(this,"updateLayout",e,t))},prepareAndUpdate:function(t){var e=this._model;F.call(this,"component",e),F.call(this,"chart",e),N.update.call(this,t)}};function z(t,e,i,n,o){var a=t._model;if(n){var r={};r[n+"Id"]=i[n+"Id"],r[n+"Index"]=i[n+"Index"],r[n+"Name"]=i[n+"Name"];var s={mainType:n,query:r};o&&(s.subType=o),a&&a.eachComponent(s,function(e,i){l(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else S(t._componentsViews.concat(t._chartsViews),l);function l(n){n&&n.__alive&&n[e]&&n[e](n.__model,a,t._api,i)}}function V(t,e){var i=t.type,n=t.escapeConnect,a=q[i],r=a.actionInfo,s=(r.update||"update").split(":"),l=s.pop();s=null!=s[0]&&M(s[0]),this[L]=!0;var u=[t],h=!1;t.batch&&(h=!0,u=o.map(t.batch,function(e){return(e=o.defaults(o.extend({},e),t)).batch=null,e}));var c,d=[],p="highlight"===i||"downplay"===i;S(u,function(t){(c=(c=a.action(t,this._model,this._api))||o.extend({},t)).type=r.event||c.type,d.push(c),p?z(this,l,t,"series"):s&&z(this,l,t,s.main,s.sub)},this),"none"===l||p||s||(this[D]?(N.prepareAndUpdate.call(this,t),this[D]=!1):N[l].call(this,t)),c=h?{type:r.event||i,escapeConnect:n,batch:d}:d[0],this[L]=!1,!e&&this._messageCenter.trigger(c.type,c)}function G(t){for(var e=this._pendingActions;e.length;){var i=e.shift();V.call(this,i,t)}}function W(t){!t&&this.trigger("updated")}function H(t,e,i){var n=this._api;S(this._componentsViews,function(o){var a=o.__model;o[t](a,e,n,i),Y(a,o)},this),e.eachSeries(function(o,a){var r=this._chartsMap[o.__viewId];r[t](o,e,n,i),Y(o,r),K(o,r)},this),j(this._zr,e),S($,function(t){t(e,n)})}function F(t,e){for(var i="component"===t,n=i?this._componentsViews:this._chartsViews,o=i?this._componentsMap:this._chartsMap,a=this._zr,r=0;re.get("hoverLayerThreshold")&&!r.node&&i.traverse(function(t){t.isGroup||(t.useHoverLayer=!0)})}function K(t,e){var i=0;e.group.traverse(function(t){"group"===t.type||t.ignore||i++});var n=+t.get("progressive"),o=i>t.get("progressiveThreshold")&&n&&!r.node;o&&e.group.traverse(function(t){t.isGroup||(t.progressive=o?Math.floor(i++/n):-1,o&&t.stopAnimation(!0))});var a=t.get("blendMode")||null;e.group.traverse(function(t){t.isGroup||t.setStyle("blend",a)})}function Y(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t.zlevel=n))})}B._initEvents=function(){S(Z,function(t){this._zr.on(t,function(e){var i,n=this.getModel(),a=e.target;if("globalout"===t)i={};else if(a&&null!=a.dataIndex){var r=a.dataModel||n.getSeriesByIndex(a.seriesIndex);i=r&&r.getDataParams(a.dataIndex,a.dataType)||{}}else a&&a.eventData&&(i=o.extend({},a.eventData));i&&(i.event=e,i.type=t,this.trigger(t,i))},this)},this),S(X,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},B.isDisposed=function(){return this._disposed},B.clear=function(){this.setOption({series:[]},!0)},B.dispose=function(){if(!this._disposed){this._disposed=!0;var t=this._api,e=this._model;S(this._componentsViews,function(i){i.dispose(e,t)}),S(this._chartsViews,function(i){i.dispose(e,t)}),this._zr.dispose(),delete nt[this.id]}},o.mixin(R,l);var q={},X={},Q=[],J=[],$=[],tt=[],et={},it={},nt={},ot={},at=new Date-0,rt=new Date-0,st="_echarts_instance_",lt={};function ut(t){ot[t]=!1}var ht=ut;function ct(t){var e;return e=t.getAttribute?t.getAttribute(st):t[st],nt[e]}function dt(t){J.push(t)}function pt(t,e,i){"function"==typeof e&&(i=e,e="");var n=o.isObject(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),e=t.event,o.assert(P.test(n)&&P.test(e)),q[n]||(q[n]={action:i,actionInfo:t}),X[e]=n}function ft(t,e){"function"==typeof t&&(e=t,t=A),tt.push({prio:t,func:e})}function gt(t,e){it[t]=e}ft(2e3,b),dt(p),gt("default",w),pt({type:"highlight",event:"highlight",update:"highlight"},o.noop),pt({type:"downplay",event:"downplay",update:"downplay"},o.noop);e.version="3.8.5",e.dependencies={zrender:"3.7.4"},e.PRIORITY=C,e.init=function(t,e,i){var n=ct(t);if(n)return n;var a=new R(t,e,i);return a.id="ec_"+at++,nt[a.id]=a,t.setAttribute?t.setAttribute(st,a.id):t[st]=a.id,function(t){var e="__connectUpdateStatus";function i(t,i){for(var n=0;n=0?n+=g:n-=g:_>=0?n-=g:n+=g}return n}t.exports=function(t,e){var i=[],a=n.quadraticSubdivide,r=[[],[],[]],s=[[],[]],l=[];function u(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),e}e/=2,t.eachEdge(function(t,n){var h=t.getLayout(),d=t.getVisual("fromSymbol"),p=t.getVisual("toSymbol");h.__original||(h.__original=[o.clone(h[0]),o.clone(h[1])],h[2]&&h.__original.push(o.clone(h[2])));var f=h.__original;if(null!=h[2]){if(o.copy(r[0],f[0]),o.copy(r[1],f[2]),o.copy(r[2],f[1]),d&&"none"!=d){var g=u(t.node1),v=c(r,f[0],g*e);a(r[0][0],r[1][0],r[2][0],v,i),r[0][0]=i[3],r[1][0]=i[4],a(r[0][1],r[1][1],r[2][1],v,i),r[0][1]=i[3],r[1][1]=i[4]}p&&"none"!=p&&(g=u(t.node2),v=c(r,f[1],g*e),a(r[0][0],r[1][0],r[2][0],v,i),r[1][0]=i[1],r[2][0]=i[2],a(r[0][1],r[1][1],r[2][1],v,i),r[1][1]=i[1],r[2][1]=i[2]),o.copy(h[0],r[0]),o.copy(h[1],r[2]),o.copy(h[2],r[1])}else o.copy(s[0],f[0]),o.copy(s[1],f[1]),o.sub(l,s[1],s[0]),o.normalize(l,l),d&&"none"!=d&&(g=u(t.node1),o.scaleAndAdd(s[0],s[0],l,g*e)),p&&"none"!=p&&(g=u(t.node2),o.scaleAndAdd(s[1],s[1],l,-g*e)),o.copy(h[0],s[0]),o.copy(h[1],s[1])})}},"/DTD":function(t,e,i){var n=i("p1Qj"),o=i("oBvO");function a(t,e,i){n.Group.call(this),this._createPolyline(t,e,i)}var r=a.prototype;r._createPolyline=function(t,e,i){var o=t.getItemLayout(e),a=new n.Polyline({shape:{points:o}});this.add(a),this._updateCommonStl(t,e,i)},r.updateData=function(t,e,i){var o=t.hostModel,a=this.childAt(0),r={shape:{points:t.getItemLayout(e)}};n.updateProps(a,r,o,e),this._updateCommonStl(t,e,i)},r._updateCommonStl=function(t,e,i){var a=this.childAt(0),r=t.getItemModel(e),s=t.getItemVisual(e,"color"),l=i&&i.lineStyle,u=i&&i.hoverLineStyle;i&&!t.hasItemOption||(l=r.getModel("lineStyle.normal").getLineStyle(),u=r.getModel("lineStyle.emphasis").getLineStyle()),a.useStyle(o.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),a.hoverStyle=u,n.setHoverStyle(this)},r.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},o.inherits(a,n.Group);var s=a;t.exports=s},"/OzZ":function(t,e,i){var n=i("oBvO"),o=i("cKY8"),a=i("KyFK"),r=i("uPge"),s=i("I9m7"),l=i("0tn1"),u=i("qzTy");t.exports=function(t,e,i,h,c){for(var d=new a(h),p=0;p "+x)),v++)}var _,b=i.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(t,i,i.ecModel);else{var w=l.get(b),S=s((w&&"view"!==w.type&&w.dimensions||[]).concat(["value"]),t);(_=new o(S,i)).initData(t)}var M=new o(["value"],i);return M.initData(g,f),c&&c(_,M),r({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:M},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},"/QIB":function(t,e,i){var n=i("Ei0F").extend({type:"dataZoom",render:function(t,e,i,n){this.dataZoomModel=t,this.ecModel=e,this.api=i},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,i={};return t.eachTargetAxis(function(t,n){var o=e.getComponent(t.axis,n);if(o){var a=o.getCoordSysModel();a&&function(t,e,i,n){for(var o,a=0;ae+d&&c>o+d&&c>r+d&&c>l+d||ct+d&&h>i+d&&h>a+d&&h>s+d||h=2){if(r&&"spline"!==r){var s=o(a,r,i,e.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var l=a.length,u=0;u<(i?l:l-1);u++){var h=s[2*u],c=s[2*u+1],d=a[(u+1)%l];t.bezierCurveTo(h[0],h[1],c[0],c[1],d[0],d[1])}}else{"spline"===r&&(a=n(a,i)),t.moveTo(a[0][0],a[0][1]),u=1;for(var p=a.length;u0?1.1:1/1.1;p.call(this,t,e,t.offsetX,t.offsetY)}}function d(t){if(!r.isTaken(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;p.call(this,t,e,t.pinchX,t.pinchY)}}function p(t,e,i,n){this.pointerChecker&&this.pointerChecker(t,i,n)&&(a.stop(t.event),this.trigger("zoom",e,i,n))}function f(t,e,i){var o=t._opt[e];return o&&(!n.isString(o)||i.event[o+"Key"])}n.mixin(s,o);var g=s;t.exports=g},"1RY8":function(t,e,i){var n=i("BFHC").extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var i=e.cx,n=e.cy,o=2*Math.PI;t.moveTo(i+e.r,n),t.arc(i,n,e.r,0,o,!1),t.moveTo(i+e.r0,n),t.arc(i,n,e.r0,0,o,!0)}});t.exports=n},"1faS":function(t,e,i){var n,o=i("svCk"),a="urn:schemas-microsoft-com:vml",r="undefined"==typeof window?null:window,s=!1,l=r&&r.document;if(l&&!o.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",a),n=function(t){return l.createElement("')}}catch(t){n=function(t){return l.createElement("<"+t+' xmlns="'+a+'" class="zrvml">')}}e.doc=l,e.createNode=function(t){return n(t)},e.initVML=function(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}},"1s0R":function(t,e,i){i("Mguy").__DEV__;var n=i("+Ky8"),o=i("kX0L"),a=n.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,i,n){this.axisPointerClass&&o.fixValue(t),a.superApply(this,"render",arguments),r(this,t,e,i,n,!0)},updateAxisPointer:function(t,e,i,n,o){r(this,t,e,i,n,!1)},remove:function(t,e){var i=this._axisPointer;i&&i.remove(e),a.superApply(this,"remove",arguments)},dispose:function(t,e){s(this,e),a.superApply(this,"dispose",arguments)}});function r(t,e,i,n,r,l){var u=a.getAxisPointerClass(t.axisPointerClass);if(u){var h=o.getAxisPointerModel(e);h?(t._axisPointer||(t._axisPointer=new u)).render(e,h,n,l):s(t,n)}}function s(t,e,i){var n=t._axisPointer;n&&n.dispose(e,i),t._axisPointer=null}var l=[];a.registerAxisPointerClass=function(t,e){l[t]=e},a.getAxisPointerClass=function(t){return t&&l[t]};var u=a;t.exports=u},"24Xl":function(t,e,i){var n=i("oBvO"),o=i("Jw9/").getLayoutRect;e.getItemAlign=function(t,e,i){var n=t.option,a=n.align;if(null!=a&&"auto"!==a)return a;for(var r={width:e.getWidth(),height:e.getHeight()},s="horizontal"===n.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],h=[0,null,10],c={},d=0;d<3;d++)c[l[1-s][d]]=h[d],c[u[d]]=2===d?i[0]:n[u[d]];var p=[["x","width",3],["y","height",0]][s],f=o(c,r,n.padding);return u[(f.margin[p[2]]||0)+f[p[0]]+.5*f[p[1]]<.5*r[p[1]]?0:1]},e.convertDataIndex=function(t){return n.each(t||[],function(e){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null)}),t}},"2b1x":function(t,e,i){var n=i("oBvO");t.exports=function(t){var e=[];n.each(t.series,function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,n.defaults(t,t.mapLocation))})}},"2nvi":function(t,e,i){var n=i("qBDO"),o=i("rg0M"),a=i("oBvO"),r=a.isArray,s="itemStyle.normal";function l(t){var e=u(t,"color");if(e){var i=u(t,"colorAlpha"),n=u(t,"colorSaturation");return n&&(e=o.modifyHSL(e,null,null,n)),i&&(e=o.modifyAlpha(e,i)),e}}function u(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}function h(t,e){var i=t.get(e);return r(i)&&i.length?{name:e,range:i}:null}t.exports=function(t,e,i){var r={mainType:"series",subType:"treemap",query:i};t.eachComponent(r,function(t){var e=t.getData().tree,i=e.root,r=t.getModel(s);i.isRemoved()||function t(e,i,r,u,c,d){var p=e.getModel(),f=e.getLayout();if(f&&!f.invisible&&f.isInView){var g,v=e.getModel(s),m=r[e.depth],y=function(t,e,i,n){var o=a.extend({},e);return a.each(["color","colorAlpha","colorSaturation"],function(a){var r=t.get(a,!0);null==r&&i&&(r=i[a]),null==r&&(r=e[a]),null==r&&(r=n.get(a)),null!=r&&(o[a]=r)}),o}(v,i,m,u),x=v.get("borderColor"),_=v.get("borderColorSaturation");null!=_&&(g=l(y),x=function(t,e){return null!=e?o.modifyHSL(e,null,null,t):null}(_,g)),e.setVisual("borderColor",x);var b=e.viewChildren;if(b&&b.length){var w=function(t,e,i,o,a,r){if(r&&r.length){var s=h(e,"color")||null!=a.color&&"none"!==a.color&&(h(e,"colorAlpha")||h(e,"colorSaturation"));if(s){var l=e.get("visualMin"),u=e.get("visualMax"),c=i.dataExtent.slice();null!=l&&lc[1]&&(c[1]=u);var d=e.get("colorMappingBy"),p={type:s.name,dataExtent:c,visual:s.range};"color"!==p.type||"index"!==d&&"id"!==d?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var f=new n(p);return f.__drColorMappingBy=d,f}}}(0,p,f,0,y,b);a.each(b,function(e,i){if(e.depth>=c.length||e===c[e.depth]){var n=function(t,e,i,n,o,r){var s=a.extend({},e);if(o){var l=o.type,u="color"===l&&o.__drColorMappingBy,h="index"===u?n:"id"===u?r.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));s[l]=o.mapValueToVisual(h)}return s}(p,y,e,i,w,d);t(e,n,r,u,c,d)}})}else g=l(y),e.setVisual("color",g)}}(i,{},a.map(e.levelModels,function(t){return t?t.get(s):null}),r,t.getViewRoot().getAncestors(),t)})}},"2pgI":function(t,e){var i=2311;t.exports=function(){return i++}},"2qQX":function(t,e,i){var n=i("2pgI"),o=i("svCk"),a=i("oBvO"),r=i("BM0z"),s=i("9q8l"),l=i("PDzI"),u=i("2tKn"),h=i("Oyf/"),c=!o.canvasSupported,d={canvas:l},p={};var f=function(t,e,i){i=i||{},this.dom=e,this.id=t;var n=this,l=new s,p=i.renderer;if(c){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");p="vml"}else p&&d[p]||(p="canvas");var f=new d[p](e,l,i);this.storage=l,this.painter=f;var g=o.node?null:new h(f.getViewportRoot());this.handler=new r(l,f,g,f.root),this.animation=new u({stage:{update:a.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var v=l.delFromStorage,m=l.addToStorage;l.delFromStorage=function(t){v.call(l,t),t&&t.removeSelfFromZr(n)},l.addToStorage=function(t){m.call(l,t),t.addSelfToZr(n)}};f.prototype={constructor:f,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer(t,e),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){this._needsRefresh&&this.refreshImmediately(),this._needsRefreshHover&&this.refreshHoverImmediately()},addHover:function(t,e){this.painter.addHover&&(this.painter.addHover(t,e),this.refreshHover())},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,i){this.handler.on(t,e,i)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete p[t]}},e.version="3.7.4",e.init=function(t,e){var i=new f(n(),t,e);return p[i.id]=i,i},e.dispose=function(t){if(t)t.dispose();else{for(var e in p)p.hasOwnProperty(e)&&p[e].dispose();p={}}return this},e.getInstance=function(t){return p[t]},e.registerPainter=function(t,e){d[t]=e}},"2tKn":function(t,e,i){var n=i("oBvO"),o=i("N/Vq").Dispatcher,a=i("LWg+"),r=i("Eg1p"),s=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,o.call(this)};s.prototype={constructor:s,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i0?-1:i<0?1:e?-1:1}}function n(t,e){return Math.min(e[1],Math.max(e[0],t))}t.exports=function(t,e,o,a,r,s){e[0]=n(e[0],o),e[1]=n(e[1],o),t=t||0;var l=o[1]-o[0];null!=r&&(r=n(r,[0,l])),null!=s&&(s=Math.max(s,null!=r?r:0)),"all"===a&&(r=s=Math.abs(e[1]-e[0]),a=0);var u=i(e,a);e[a]+=t;var h=r||0,c=o.slice();u.sign<0?c[0]+=h:c[1]-=h,e[a]=n(e[a],c);var d=i(e,a);return null!=r&&(d.sign!==u.sign||d.spans&&(e[1-a]=e[a]+d.sign*s),e}},"3QsV":function(t,e,i){i("WWns"),(0,i("2qQX").registerPainter)("svg",i("gnOQ"))},"44Li":function(t,e,i){var n=i("4NL3"),o=i("qzTy"),a=n.extend({type:"series.__base_bar__",getInitialData:function(t,e){return o(t.data,this,e)},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var i=e.dataToPoint(t,!0),n=this.getData(),o=n.getLayout("offset"),a=n.getLayout("size");return i[e.getBaseAxis().isHorizontal()?0:1]+=o+a/2,i}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,itemStyle:{}}});t.exports=a},"45Eu":function(t,e,i){i("i6dO"),i("J67+"),i("zUxA"),i("L8a9")},"45P/":function(t,e,i){var n=i("oBvO"),o=i("AmKG"),a=i("U9Yr"),r=i("Xp4g"),s=n.each,l=n.isObject;function u(t){return t instanceof Array?t:null==t?[]:[t]}var h={getDataParams:function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),a=i.getRawIndex(t),r=i.getName(t,!0),s=i.getRawDataItem(t),l=i.getItemVisual(t,"color");return{componentType:this.mainType,componentSubType:this.subType,seriesType:"series"===this.mainType?this.subType:null,seriesIndex:this.seriesIndex,seriesId:this.id,seriesName:this.name,name:r,dataIndex:a,data:s,dataType:e,value:n,color:l,marker:o.getTooltipMarker(l),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,i,n,a){e=e||"normal";var r=this.getData(i).getItemModel(t),s=this.getDataParams(t,i);null!=n&&s.value instanceof Array&&(s.value=s.value[n]);var l=r.get([a||"label",e,"formatter"]);return"function"==typeof l?(s.status=e,l(s)):"string"==typeof l?o.formatTpl(l,s):void 0},getRawValue:function(t,e){var i=this.getData(e).getRawDataItem(t);if(null!=i)return!l(i)||i instanceof Array?i:i.value},formatTooltip:n.noop};function c(t){return l(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var d,p=(d=0,function(){var t="\0__ec_prop_getter_"+d++;return function(e){return e[t]||(e[t]={})}});function f(t,e){return t&&t.hasOwnProperty(e)}e.normalizeToArray=u,e.defaultEmphasis=function(t,e){if(t)for(var i=t.emphasis=t.emphasis||{},n=t.normal=t.normal||{},o=0,a=e.length;o=i.length&&i.push({option:t})}}),i},e.makeIdAndName=function(t){var e=n.createHashMap();s(t,function(t,i){var n=t.exist;n&&e.set(n.id,t)}),s(t,function(t,i){var o=t.option;n.assert(!o||null==o.id||!e.get(o.id)||e.get(o.id)===t,"id duplicates: "+(o&&o.id)),o&&null!=o.id&&e.set(o.id,t),!t.keyInfo&&(t.keyInfo={})}),s(t,function(t,i){var n=t.exist,o=t.option,a=t.keyInfo;if(l(o)){if(a.name=null!=o.name?o.name+"":n?n.name:"\0-",n)a.id=n.id;else if(null!=o.id)a.id=o.id+"";else{var r=0;do{a.id="\0"+a.name+"\0"+r++}while(e.get(a.id))}e.set(a.id,t)}})},e.isIdInner=c,e.compressBatches=function(t,e){var i={},n={};return o(t||[],i),o(e||[],n,i),[a(i),a(n)];function o(t,e,i){for(var n=0,o=t.length;ni-2?i-1:p+1],c=t[p>i-3?i-1:p+2]);var v=f*f,m=f*v;a.push([o(u[0],g[0],h[0],c[0],f,v,m),o(u[1],g[1],h[1],c[1],f,v,m)])}return a}},"4NL3":function(t,e,i){i("Mguy").__DEV__;var n=i("oBvO"),o=i("svCk"),a=i("AmKG"),r=a.formatTime,s=a.encodeHTML,l=a.addCommas,u=a.getTooltipMarker,h=i("n6aB"),c=h.set,d=h.get,p=i("45P/"),f=i("SdGi"),g=i("n9an"),v=i("Jw9/"),m=v.getLayoutParams,y=v.mergeLayoutParam,x=f.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.normal.color",layoutMode:null,init:function(t,e,i,n){this.seriesIndex=this.componentIndex,this.mergeDefaultAndTheme(t,i);var o=this.getInitialData(t,i);c(this,"dataBeforeProcessed",o),this.restoreData()},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,o=i?m(t):{},a=this.subType;f.hasClass(a)&&(a+="Series"),n.merge(t,e.getTheme().get(this.subType)),n.merge(t,this.getDefaultOption()),p.defaultEmphasis(t.label,["show"]),this.fillDataTextStyle(t.data),i&&y(t,o,i)},mergeOption:function(t,e){t=n.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var i=this.layoutMode;i&&y(this.option,t,i);var o=this.getInitialData(t,e);o&&(c(this,"data",o),c(this,"dataBeforeProcessed",o.cloneShallow()))},fillDataTextStyle:function(t){if(t)for(var e=["show"],i=0;i":"")+u.join(a?"
":", ")}(a):s(l(a)),c=o.getName(t),f=o.getItemVisual(t,"color");n.isObject(f)&&f.colorStops&&(f=(f.colorStops[0]||{}).color);var g=u(f=f||"transparent"),v=this.name;return"\0-"===v&&(v=""),v=v?s(v)+(e?": ":"
"):"",e?g+v+h:v+g+(c?s(c)+": "+h:h)},isAnimationEnabled:function(){if(o.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){c(this,"data",d(this,"dataBeforeProcessed").cloneShallow())},getColorFromPalette:function(t,e){var i=this.ecModel,n=g.getColorFromPalette.call(this,t,e);return n||(n=i.getColorFromPalette(t,e)),n},getAxisTooltipData:null,getTooltipPosition:null});n.mixin(x,p.dataFormatMixin),n.mixin(x,g);var _=x;t.exports=_},"4R+l":function(t,e){var i="http://www.w3.org/2000/svg";e.createElement=function(t){return document.createElementNS(i,t)}},"4V36":function(t,e){var i=["lineStyle","normal","opacity"];t.exports=function(t){t.eachSeriesByType("parallel",function(e){var n=e.getModel("itemStyle.normal"),o=e.getModel("lineStyle.normal"),a=t.get("color"),r=o.get("color")||n.get("color")||a[e.seriesIndex%a.length],s=e.get("inactiveOpacity"),l=e.get("activeOpacity"),u=e.getModel("lineStyle.normal").getLineStyle(),h=e.coordinateSystem,c=e.getData(),d={normal:u.opacity,active:l,inactive:s};h.eachActiveState(c,function(t,e){var n=c.getItemModel(e),o=d[t];if("normal"===t){var a=n.get(i,!0);null!=a&&(o=a)}c.setItemVisual(e,"opacity",o)}),c.setVisual("color",r)})}},"4feF":function(t,e,i){for(var n=i("oBvO"),o=i("hYWE"),a=[126,25],r=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;se+s&&r>n+s||rt+s&&a>i+s||a=0;--n)if(e[n]===t)return!0;return!1}),i):null:i[0]},d.prototype.update=function(t,e){if(t){var i=this.getDefs(!1);if(t._dom&&i.contains(t._dom))"function"==typeof e&&e();else{var n=this.add(t);n&&(t._dom=n)}}},d.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},d.prototype.removeDom=function(t){this.getDefs(!1).removeChild(t._dom)},d.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return o.each(this._tagNames,function(i){var n=t.getElementsByTagName(i);e=e.concat([].slice.call(n))}),e},d.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;o.each(t,function(t){t[e._markLabel]="0"})},d.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},d.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),i=this;o.each(e,function(e){"1"!==e[i._markLabel]&&t.removeChild(e)})}},d.prototype.getSvgProxy=function(t){return t instanceof a?u:t instanceof r?h:t instanceof s?c:u},d.prototype.getTextSvgElement=function(t){return t.__textSvgEl},d.prototype.getSvgElement=function(t){return t.__svgEl};var p=d;t.exports=p},"5I3W":function(t,e,i){i("Mguy").__DEV__;var n=i("oBvO"),o=i("Hpxy"),a=i("8qka"),r=i("qKeJ"),s=i("S7SL"),l=i("U9Yr");function u(t,e){var i,o,a,r=t.type,s=e.getMin(),u=e.getMax(),h=null!=s,c=null!=u,d=t.getExtent();return"ordinal"===r?i=(e.get("data")||[]).length:(o=e.get("boundaryGap"),n.isArray(o)||(o=[o||0,o||0]),"boolean"==typeof o[0]&&(o=[0,0]),o[0]=l.parsePercent(o[0],1),o[1]=l.parsePercent(o[1],1),a=d[1]-d[0]||Math.abs(d[0])),null==s&&(s="ordinal"===r?i?0:NaN:d[0]-o[0]*a),null==u&&(u="ordinal"===r?i?i-1:NaN:d[1]+o[1]*a),"dataMin"===s?s=d[0]:"function"==typeof s&&(s=s({min:d[0],max:d[1]})),"dataMax"===u?u=d[1]:"function"==typeof u&&(u=u({min:d[0],max:d[1]})),(null==s||!isFinite(s))&&(s=NaN),(null==u||!isFinite(u))&&(u=NaN),t.setBlank(n.eqNaN(s)||n.eqNaN(u)),e.getNeedCrossZero()&&(s>0&&u>0&&!h&&(s=0),s<0&&u<0&&!c&&(u=0)),[s,u]}function h(t,e){return"category"===t.type?t.scale.getLabel(e):e}i("IGF+"),i("UTn1"),e.getScaleExtent=u,e.niceScaleExtent=function(t,e){var i=u(t,e),n=null!=e.getMin(),o=null!=e.getMax(),a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var r=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:a,fixMin:n,fixMax:o,minInterval:"interval"===r||"time"===r?e.get("minInterval"):null,maxInterval:"interval"===r||"time"===r?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new a(t.getCategories(),[1/0,-1/0]);case"value":return new r;default:return(s.getClass(e)||r).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),i=e[0],n=e[1];return!(i>0&&n>0||i<0&&n<0)},e.getAxisLabelInterval=function(t,e,i,n,a){var r,s=0,l=0,u=(n-a)/180*Math.PI,h=1;e.length>40&&(h=Math.floor(e.length/40));for(var c=0;c1?h:(s+1)*h-1},e.getFormattedLabels=function(t,e){var i,o=t.scale,a=o.getTicksLabels(),r=o.getTicks();return"string"==typeof e?(i=e,e=function(t){return i.replace("{value}",null!=t?t:"")},n.map(a,e)):"function"==typeof e?n.map(r,function(i,n){return e(h(t,i),n)},this):a},e.getAxisRawValue=h},"5QPI":function(t,e,i){var n=i("oBvO");function o(t,e){return n.map(["Radius","Angle"],function(i,n){var o=this["get"+i+"Axis"](),a=e[n],r=t[n]/2,s="dataTo"+i,l="category"===o.type?o.getBandWidth():Math.abs(o[s](a-r)-o[s](a+r));return"Angle"===i&&(l=l*Math.PI/180),l},this)}t.exports=function(t){var e=t.getRadiusAxis(),i=t.getAngleAxis(),a=e.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:a[1],r0:a[0]},api:{coord:n.bind(function(n){var o=e.dataToRadius(n[0]),a=i.dataToAngle(n[1]),r=t.coordToPoint([o,a]);return r.push(o,a*Math.PI/180),r}),size:n.bind(o,t)}}}},"5yk5":function(t,e,i){i("6W4Y"),i("nA4g")},"6CiL":function(t,e,i){i("+Ky8").registerAction({type:"selectDataRange",event:"dataRangeSelected",update:"update"},function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})})},"6HC2":function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("Hpxy"),r=i("Y9ha"),s=i("p1Qj"),l=i("Xp4g"),u=i("YgfO"),h=i("U+iT"),c=n.extendComponentView({type:"toolbox",render:function(t,e,i,n){var c=this.group;if(c.removeAll(),t.get("show")){var d=+t.get("itemSize"),p=t.get("feature")||{},f=this._features||(this._features={}),g=[];o.each(p,function(t,e){g.push(e)}),new u(this._featureNames||[],g).add(v).update(v).remove(o.curry(v,null)).execute(),this._featureNames=g,h.layout(c,t,i),c.add(h.makeBackground(c.getBoundingRect(),t)),c.eachChild(function(t){var e=t.__title,n=t.hoverStyle;if(n&&e){var o=a.getBoundingRect(e,a.makeFont(n)),r=t.position[0]+c.position[0],s=!1;t.position[1]+c.position[1]+d+o.height>i.getHeight()&&(n.textPosition="top",s=!0);var l=s?-5-o.height:d+8;r+o.width/2>i.getWidth()?(n.textPosition=["100%",l],n.textAlign="right"):r-o.width/2<0&&(n.textPosition=[0,l],n.textAlign="left")}})}function v(a,u){var h,v=g[a],m=g[u],y=p[v],x=new l(y,t,t.ecModel);if(v&&!m){if(function(t){return 0===t.indexOf("my")}(v))h={model:x,onclick:x.option.onclick,featureName:v};else{var _=r.get(v);if(!_)return;h=new _(x,e,i)}f[v]=h}else{if(!(h=f[m]))return;h.model=x,h.ecModel=e,h.api=i}v||!m?x.get("show")&&!h.unusable?(!function(n,a,r){var l=n.getModel("iconStyle"),u=a.getIcons?a.getIcons():n.get("icon"),h=n.get("title")||{};if("string"==typeof u){var p=u,f=h;h={},(u={})[r]=p,h[r]=f}var g=n.iconPaths={};o.each(u,function(r,u){var p=s.createIcon(r,{},{x:-d/2,y:-d/2,width:d,height:d});p.setStyle(l.getModel("normal").getItemStyle()),p.hoverStyle=l.getModel("emphasis").getItemStyle(),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=h[u],p.on("mouseover",function(){var t=l.getModel("emphasis").getItemStyle();p.setStyle({text:h[u],textPosition:t.textPosition||"bottom",textFill:t.fill||t.stroke||"#000",textAlign:t.textAlign||"center"})}).on("mouseout",function(){p.setStyle({textFill:null})})),p.trigger(n.get("iconStatus."+u)||"normal"),c.add(p),p.on("click",o.bind(a.onclick,a,e,i,u)),g[u]=p})}(x,h,v),x.setIconStatus=function(t,e){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&n[t].trigger(e)},h.render&&h.render(x,e,i,n)):h.remove&&h.remove(e,i):h.dispose&&h.dispose(e,i)}},updateView:function(t,e,i,n){o.each(this._features,function(t){t.updateView&&t.updateView(t.model,e,i,n)})},updateLayout:function(t,e,i,n){o.each(this._features,function(t){t.updateLayout&&t.updateLayout(t.model,e,i,n)})},remove:function(t,e){o.each(this._features,function(i){i.remove&&i.remove(t,e)}),this.group.removeAll()},dispose:function(t,e){o.each(this._features,function(i){i.dispose&&i.dispose(t,e)})}});t.exports=c},"6W4Y":function(t,e,i){i("Mguy").__DEV__,i("oBvO");var n=i("pOVV"),o=i("U9Yr").parsePercent,a=i("5I3W"),r=a.createScaleByModel,s=a.niceScaleExtent,l=i("0tn1");function u(t,e){var i=this,n=i.getAngleAxis(),o=i.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===i){var e=t.getData();o.scale.unionExtentFromData(e,"radius"),n.scale.unionExtentFromData(e,"angle")}}),s(n.scale,n.model),s(o.scale,o.model),"category"===n.type&&!n.onBand){var a=n.getExtent(),r=360/n.scale.count();n.inverse?a[1]+=r:a[1]-=r,n.setExtent(a[0],a[1])}}function h(t,e){if(t.type=e.get("type"),t.scale=r(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var i=e.get("startAngle");t.setExtent(i,i+(t.inverse?-360:360))}e.axis=t,t.model=e}i("frvW");var c={dimensions:n.prototype.dimensions,create:function(t,e){var i=[];return t.eachComponent("polar",function(t,a){var r=new n(a);r.update=u;var s=r.getRadiusAxis(),l=r.getAngleAxis(),c=t.findAxisModel("radiusAxis"),d=t.findAxisModel("angleAxis");h(s,c),h(l,d),function(t,e,i){var n=e.get("center"),a=i.getWidth(),r=i.getHeight();t.cx=o(n[0],a),t.cy=o(n[1],r);var s=t.getRadiusAxis(),l=Math.min(a,r)/2,u=o(e.get("radius"),l);s.inverse?s.setExtent(u,0):s.setExtent(0,u)}(r,t,e),i.push(r),t.coordinateSystem=r,r.model=t}),t.eachSeries(function(e){if("polar"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=i.coordinateSystem}}),i}};l.register("polar",c)},"6X/O":function(t,e,i){var n=i("oBvO");function o(t,e){return e=e||[0,0],n.map([0,1],function(i){var n=e[i],o=t[i]/2,a=[],r=[];return a[i]=n-o,r[i]=n+o,a[1-i]=r[1-i]=e[1-i],Math.abs(this.dataToPoint(a)[i]-this.dataToPoint(r)[i])},this)}t.exports=function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:n.bind(t.dataToPoint,t),size:n.bind(o,t)}}}},"6emD":function(t,e,i){var n=i("wfRR"),o=i("b53G"),a=Math.min,r=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,h=n.create(),c=n.create(),d=n.create();var p=[],f=[];e.fromPoints=function(t,e,i){if(0!==t.length){var n,o=t[0],s=o[0],l=o[0],u=o[1],h=o[1];for(n=1;n1e-4)return f[0]=t-i,f[1]=e-o,g[0]=t+i,void(g[1]=e+o);if(h[0]=l(a)*i+t,h[1]=s(a)*o+e,c[0]=l(r)*i+t,c[1]=s(r)*o+e,v(f,h,c),m(g,h,c),(a%=u)<0&&(a+=u),(r%=u)<0&&(r+=u),a>r&&!p?r+=u:aa&&(d[0]=l(_)*i+t,d[1]=s(_)*o+e,v(f,d,f),m(g,d,g))}},"6fmW":function(t,e,i){var n=i("oBvO");t.exports=function(t){var e=t.getRect(),i=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:n.bind(t.dataToPoint,t)}}}},"6xSR":function(t,e,i){var n=i("Kp05"),o=i("p1Qj"),a=i("/kGE"),r=i("U9Yr"),s=r.parsePercent,l=r.round,u=r.linearMap;function h(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}var c=2*Math.PI,d=a.extend({type:"gauge",render:function(t,e,i){this.group.removeAll();var n=t.get("axisLine.lineStyle.color"),o=function(t,e){var i=t.get("center"),n=e.getWidth(),o=e.getHeight(),a=Math.min(n,o);return{cx:s(i[0],e.getWidth()),cy:s(i[1],e.getHeight()),r:s(t.get("radius"),a/2)}}(t,i);this._renderMain(t,e,i,n,o)},dispose:function(){},_renderMain:function(t,e,i,n,a){for(var r=this.group,s=t.getModel("axisLine").getModel("lineStyle"),l=t.get("clockwise"),u=-t.get("startAngle")/180*Math.PI,h=((g=-t.get("endAngle")/180*Math.PI)-u)%c,d=u,p=s.get("width"),f=0;f=t&&(0===e?0:n[e-1][0]).4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:E}),silent:!0}))}if(x.get("show")&&D!==b){for(var N=0;N<=w;N++){P=Math.cos(I),O=Math.sin(I);var z=new o.Line({shape:{x1:P*g+p,y1:O*g+f,x2:P*(g-M)+p,y2:O*(g-M)+f},silent:!0,style:L});"auto"===L.stroke&&z.setStyle({stroke:n((D+N/w)/b)}),d.add(z),I+=A}I-=A}else I+=T}},_renderPointer:function(t,e,i,a,r,l,h,c){var d=this.group,p=this._data;if(t.get("pointer.show")){var f=[+t.get("min"),+t.get("max")],g=[l,h],v=t.getData();v.diff(p).add(function(e){var i=new n({shape:{angle:l}});o.initProps(i,{shape:{angle:u(v.get("value",e),f,g,!0)}},t),d.add(i),v.setItemGraphicEl(e,i)}).update(function(e,i){var n=p.getItemGraphicEl(i);o.updateProps(n,{shape:{angle:u(v.get("value",e),f,g,!0)}},t),d.add(n),v.setItemGraphicEl(e,n)}).remove(function(t){var e=p.getItemGraphicEl(t);d.remove(e)}).execute(),v.eachItemGraphicEl(function(t,e){var i=v.getItemModel(e),n=i.getModel("pointer");t.setShape({x:r.cx,y:r.cy,width:s(n.get("width"),r.r),r:s(n.get("length"),r.r)}),t.useStyle(i.getModel("itemStyle.normal").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",a(u(v.get("value",e),f,[0,1],!0))),o.setHoverStyle(t,i.getModel("itemStyle.emphasis").getItemStyle())}),this._data=v}else p&&p.eachItemGraphicEl(function(t){d.remove(t)})},_renderTitle:function(t,e,i,n,a){var r=t.getModel("title");if(r.get("show")){var l=r.get("offsetCenter"),h=a.cx+s(l[0],a.r),c=a.cy+s(l[1],a.r),d=+t.get("min"),p=+t.get("max"),f=t.getData().get("value",0),g=n(u(f,[d,p],[0,1],!0));this.group.add(new o.Text({silent:!0,style:o.setTextStyle({},r,{x:h,y:c,text:t.getData().getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:g,forceRich:!0})}))}},_renderDetail:function(t,e,i,n,a){var r=t.getModel("detail"),l=+t.get("min"),c=+t.get("max");if(r.get("show")){var d=r.get("offsetCenter"),p=a.cx+s(d[0],a.r),f=a.cy+s(d[1],a.r),g=s(r.get("width"),a.r),v=s(r.get("height"),a.r),m=t.getData().get("value",0),y=n(u(m,[l,c],[0,1],!0));this.group.add(new o.Text({silent:!0,style:o.setTextStyle({},r,{x:p,y:f,text:h(m,r.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(v)?null:v,textAlign:"center",textVerticalAlign:"middle"},{autoColor:y,forceRich:!0})}))}}});t.exports=d},"74aW":function(t,e,i){var n=i("8FeV").normalizeRadian,o=2*Math.PI;e.containStroke=function(t,e,i,a,r,s,l,u,h){if(0===l)return!1;var c=l;u-=t,h-=e;var d=Math.sqrt(u*u+h*h);if(d-c>i||d+cr&&(r+=o);var f=Math.atan2(h,u);return f<0&&(f+=o),f>=a&&f<=r||f+o>=a&&f+o<=r}},"7PvJ":function(t,e,i){i("Mguy").__DEV__;var n=i("+Ky8"),o=i("oBvO"),a=i("a1HG"),r=i("Jw9/"),s=i("U9Yr");function l(t,e){var i=t.get("boundingCoords");if(null!=i){var n=i[0],o=i[1];isNaN(n[0])||isNaN(n[1])||isNaN(o[0])||isNaN(o[1])||this.setBoundingRect(n[0],n[1],o[0]-n[0],o[1]-n[1])}var a,l=this.getBoundingRect(),u=t.get("layoutCenter"),h=t.get("layoutSize"),c=e.getWidth(),d=e.getHeight(),p=t.get("aspectScale")||.75,f=l.width/l.height*p,g=!1;if(u&&h&&(u=[s.parsePercent(u[0],c),s.parsePercent(u[1],d)],h=s.parsePercent(h,Math.min(c,d)),isNaN(u[0])||isNaN(u[1])||isNaN(h)||(g=!0)),g){var v={};f>1?(v.width=h,v.height=h/f):(v.height=h,v.width=h*f),v.y=u[1]-v.height/2,v.x=u[0]-v.width/2}else(a=t.getBoxLayoutParams()).aspect=f,v=r.getLayoutRect(a,{width:c,height:d});this.setViewRect(v.x,v.y,v.width,v.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function u(t,e){o.each(e.get("geoCoord"),function(e,i){t.addGeoCoord(i,e)})}var h={dimensions:a.prototype.dimensions,create:function(t,e){var i=[];t.eachComponent("geo",function(t,o){var r=t.get("map"),s=n.getMap(r),h=new a(r+o,r,s&&s.geoJson,s&&s.specialAreas,t.get("nameMap"));h.zoomLimit=t.get("scaleLimit"),i.push(h),u(h,t),t.coordinateSystem=h,h.model=t,h.resize=l,h.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=i[e]}});var r={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}}),o.each(r,function(t,r){var s=n.getMap(r),h=o.map(t,function(t){return t.get("nameMap")}),c=new a(r,r,s&&s.geoJson,s&&s.specialAreas,o.mergeAll(h));c.zoomLimit=o.retrieve.apply(null,o.map(t,function(t){return t.get("scaleLimit")})),i.push(c),c.resize=l,c.resize(t[0],e),o.each(t,function(t){t.coordinateSystem=c,u(c,t)})}),i},getFilledRegions:function(t,e,i){var a=(t||[]).slice();i=i||{};var r=n.getMap(e),s=r&&r.geoJson;if(!s)return t;for(var l=o.createHashMap(),u=s.features,h=0;h40&&(f=Math.ceil(g/40));for(var v=0;v1){i=i.split("");var n=[t(e,i[0]),t(e,i[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}var n=a.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[i],function(t){return a.getTransform(t.group)}(e));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}(t,i);o&&o.attr({silent:!n,invisible:!n,cursor:n?x[r]+"-resize":null})})}function N(t,e,i,n,o,a,r){var s,l,u,h,p,f=e.childOfName(i);f&&f.setShape((s=F(t,e,[[n,o],[n+a,o+r]]),l=c(s[0][0],s[1][0]),u=c(s[0][1],s[1][1]),h=d(s[0][0],s[1][0]),p=d(s[0][1],s[1][1]),{x:l,y:u,width:h-l,height:p-u}))}function z(t){return n.defaults({strokeNoScale:!0},t.brushStyle)}function V(t,e,i,n){var o=[c(t,i),c(e,n)],a=[d(t,i),d(e,n)];return[[o[0],a[0]],[o[1],a[1]]]}function G(t,e,i,n,o,a,r,s){var l=n.__brushOption,h=t(l.range),c=H(i,a,r);u(o.split(""),function(t){var e=y[t];h[e[0]][e[1]]+=c[e[0]]}),l.range=e(V(h[0][0],h[1][0],h[0][1],h[1][1])),A(i,n),O(i,{isEnd:!1})}function W(t,e,i,n,o){var a=e.__brushOption.range,r=H(t,i,n);u(a,function(t){t[0]+=r[0],t[1]+=r[1]}),A(t,e),O(t,{isEnd:!1})}function H(t,e,i){var n=t.group,o=n.transformCoordToLocal(e,i),a=n.transformCoordToLocal(0,0);return[o[0]-a[0],o[1]-a[1]]}function F(t,e,i){var o=D(t,e);return o&&!0!==o?o.clipPath(i,t._transform):n.clone(i)}function U(t){var e=t.event;e.preventDefault&&e.preventDefault()}function Z(t,e,i){return t.childOfName("main").contain(e,i)}function j(t,e,i,o){var a,r=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(i.slice()),function(t){var e=t._track;if(!e.length)return!1;var i=e[e.length-1],n=e[0],o=i[0]-n[0],a=i[1]-n[1];return p(o*o+a*a,.5)>g}(t)||r){if(s&&!r){"single"===l.brushMode&&P(t);var u=n.clone(l);u.brushType=K(u.brushType,s),u.panelId=!0===s?null:s.panelId,r=t._creatingCover=S(t,u),t._covers.push(r)}if(r){var h=X[K(t._brushType,s)];r.__brushOption.range=h.getCreatingRange(F(t,r,t._track)),o&&(M(t,r),h.updateCommon(t,r)),I(t,r),a={isEnd:o}}}else o&&"single"===l.brushMode&&l.removeOnClick&&L(t,e,i)&&P(t)&&(a={isEnd:o,removeOnClick:!0});return a}function K(t,e){return"auto"===t?e.defaultBrushType:t}w.prototype={constructor:w,enableBrush:function(t){var e,i;return this._brushType&&(i=(e=this)._zr,r.release(i,m,e._uid),u(e._handlers,function(t,e){i.off(e,t)}),e._brushType=e._brushOption=null),t.brushType&&function(t,e){var i=t._zr;t._enableGlobalPan||r.take(i,m,t._uid);u(t._handlers,function(t,e){i.on(e,t)}),t._brushType=e.brushType,t._brushOption=n.merge(n.clone(_),e,!0)}(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};n.each(t,function(t){e[t.panelId]=n.clone(t)})}else this._panels=null;return this},mount:function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){u(this._covers,t,e)},updateCovers:function(t){t=n.map(t,function(t){return n.merge(n.clone(_),t,!0)});var e="\0-brush-index-",i=this._covers,o=this._covers=[],a=this,r=this._creatingCover;return new s(i,t,function(t,e){return l(t.__brushOption,e)},l).add(u).update(u).remove(function(t){i[t]!==r&&a.group.remove(i[t])}).execute(),this;function l(t,i){return(null!=t.id?t.id:e+i)+"-"+t.brushType}function u(e,n){var s=t[e];if(null!=n&&i[n]===r)o[e]=i[n];else{var l=o[e]=null!=n?(i[n].__brushOption=s,i[n]):M(a,S(a,s));A(a,l)}}},unmount:function(){return this.enableBrush(!1),P(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},n.mixin(w,o);var Y={mousedown:function(t){if(this._dragging)q.call(this,t);else if(!t.target||!t.target.draggable){U(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=L(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);if(function(t,e,i){if(t._brushType){var n=t._zr,o=t._covers,a=L(t,e,i);if(!t._dragging)for(var r=0;rr||t<-r}var l=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)},u.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),o=this.transform;i||e?(o=o||n.create(),i?this.getLocalTransform(o):a(o),e&&(i?n.mul(o,t.transform,o):n.copy(o,t.transform)),this.transform=o,this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,o)):o&&a(o)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var h=[];u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n.mul(h,t.invTransform,e),e=h);var i=e[0]*e[0]+e[1]*e[1],o=e[2]*e[2]+e[3]*e[3],a=this.position,r=this.scale;s(i-1)&&(i=Math.sqrt(i)),s(o-1)&&(o=Math.sqrt(o)),e[0]<0&&(i=-i),e[3]<0&&(o=-o),a[0]=e[4],a[1]=e[5],r[0]=i,r[1]=o,this.rotation=Math.atan2(-e[1]/o,e[0]/i)}},u.getGlobalScale=function(){var t=this.transform;if(!t)return[1,1];var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]),i=Math.sqrt(t[2]*t[2]+t[3]*t[3]);return t[0]<0&&(e=-e),t[3]<0&&(i=-i),[e,i]},u.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&o.applyTransform(i,i,n),i},u.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&o.applyTransform(i,i,n),i},l.getLocalTransform=function(t,e){a(e=e||[]);var i=t.origin,o=t.scale||[1,1],r=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),n.scale(e,e,o),r&&n.rotate(e,e,r),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var c=l;t.exports=c},"8Dcd":function(t,e){var i="";"undefined"!=typeof navigator&&(i=navigator.platform||"");var n={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],textStyle:{fontFamily:i.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=n},"8FeV":function(t,e){var i=2*Math.PI;e.normalizeRadian=function(t){return(t%=i)<0&&(t+=i),t}},"8LLp":function(t,e,i){var n=i("oBvO"),o=i("SdGi");i("tazq");var a=o.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){o.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&n.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var i=t.get("parallelIndex");return null!=i&&e.getComponent("parallel",i)===this},setAxisExpand:function(t){n.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],i=n.filter(this.dependentModels.parallelAxis,function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this);n.each(i,function(i){t.push("dim"+i.get("dim")),e.push(i.componentIndex)})}});t.exports=a},"8dCM":function(t,e,i){var n=i("oBvO"),o=i("hKLu"),a=i("qKeJ"),r=i("U9Yr"),s=i("5I3W"),l=s.getScaleExtent,u=s.niceScaleExtent,h=i("0tn1");function c(t,e,i){this._model=t,this.dimensions=[],this._indicatorAxes=n.map(t.getIndicatorModels(),function(t,e){var i="indicator_"+e,n=new o(i,new a);return n.name=t.get("name"),n.model=t,t.axis=n,this.dimensions.push(i),n},this),this.resize(t,i),this.cx,this.cy,this.r,this.startAngle}c.prototype.getIndicatorAxes=function(){return this._indicatorAxes},c.prototype.dataToPoint=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i.dataToCoord(t),e)},c.prototype.coordToPoint=function(t,e){var i=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(i),this.cy-t*Math.sin(i)]},c.prototype.pointToData=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var o,a=Math.atan2(-i,e),r=1/0,s=-1,l=0;li[0]&&isFinite(f)&&isFinite(i[0]))}else{o.getTicks().length-1>a&&(d=s(d));var g=Math.round((i[0]+i[1])/2/d)*d,v=Math.round(a/2);o.setExtent(r.round(g-v*d),r.round(g+(a-v)*d)),o.setInterval(d)}})},c.dimensions=[],c.create=function(t,e){var i=[];return t.eachComponent("radar",function(n){var o=new c(n,t,e);i.push(o),n.coordinateSystem=o}),t.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])}),i},h.register("radar",c);var d=c;t.exports=d},"8qka":function(t,e,i){var n=i("oBvO"),o=i("S7SL"),a=o.prototype,r=o.extend({type:"ordinal",init:function(t,e){this._data=t,this._extent=e||[0,t.length-1]},parse:function(t){return"string"==typeof t?n.indexOf(this._data,t):Math.round(t)},contain:function(t){return t=this.parse(t),a.contain.call(this,t)&&null!=this._data[t]},normalize:function(t){return a.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(a.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,i=e[0];i<=e[1];)t.push(i),i++;return t},getLabel:function(t){return this._data[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getDataExtent(e,!1))},niceTicks:n.noop,niceExtent:n.noop});r.create=function(){return new r};var s=r;t.exports=s},"94CF":function(t,e,i){var n=i("oBvO"),o=i("qBDO"),a=n.each;function r(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}e.createVisualMappings=function(t,e,i){var r={};return a(e,function(e){var s,l=r[e]=((s=function(){}).prototype.__hidden=s.prototype,new s);a(t[e],function(t,a){if(o.isValidType(a)){var r={type:a,visual:t};i&&i(r,e),l[a]=new o(r),"opacity"===a&&((r=n.clone(r)).type="colorAlpha",l.__hidden.__alphaForOpacity=new o(r))}})}),r},e.replaceVisualOption=function(t,e,i){var o;n.each(i,function(t){e.hasOwnProperty(t)&&r(e[t])&&(o=!0)}),o&&n.each(i,function(i){e.hasOwnProperty(i)&&r(e[i])?t[i]=n.clone(e[i]):delete t[i]})},e.applyVisual=function(t,e,i,a,r,s){var l,u={};function h(t){return i.getItemVisual(l,t)}function c(t,e){i.setItemVisual(l,t,e)}function d(t,n){l=null==s?t:n;var o=i.getRawDataItem(l);if(!o||!1!==o.visualMap)for(var d=a.call(r,t),p=e[d],f=u[d],g=0,v=f.length;g=0)&&(C=t);var D=new s.Text({position:e.center.slice(),scale:[1/p[0],1/p[1]],z2:10,silent:!0});s.setLabelStyle(D.style,D.hoverStyle={},b,w,{labelFetcher:C,labelDataIndex:L,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),i.add(D)}if(h)h.setItemGraphicEl(a,i);else{var P=t.getRegionModel(e.name);o.eventData={componentType:"geo",geoIndex:t.componentIndex,name:e.name,region:P&&P.option||{}}}(i.__regions||(i.__regions=[])).push(e),s.setHoverStyle(i,_,{hoverSilentOnTouch:!!t.get("selectedMode")}),d.add(i)}),this._updateController(t,e,i),function(t,e,i,o,a){i.off("click"),i.off("mousedown"),e.get("selectedMode")&&(i.on("mousedown",function(){t._mouseDownFlag=!0}),i.on("click",function(r){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var s=r.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:n.map(s.__regions,function(t){return{name:t.name,from:a.uid}})};l[e.mainType+"Id"]=e.id,o.dispatchAction(l),u(e,i)}}}))}(this,t,d,i,o),u(t,d)},remove:function(){this.group.removeAll(),this._controller.dispose(),this._controllerHost={}},_updateController:function(t,e,i){var o=t.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=o.getZoom(),s.enable(t.get("roam")||!1);var u=t.mainType;function h(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}s.off("pan").on("pan",function(t,e){this._mouseDownFlag=!1,a.updateViewOnPan(l,t,e),i.dispatchAction(n.extend(h(),{dx:t,dy:e}))},this),s.off("zoom").on("zoom",function(t,e,o){if(this._mouseDownFlag=!1,a.updateViewOnZoom(l,t,e,o),i.dispatchAction(n.extend(h(),{zoom:t,originX:e,originY:o})),this._updateGroup){var r=this.group,s=r.scale;r.traverse(function(t){"text"===t.type&&t.attr("scale",[1/s[0],1/s[1]])})}},this),s.setPointerChecker(function(e,n,a){return o.getViewRectAfterRoam().contain(n,a)&&!r(e,i,t)})}};var c=h;t.exports=c},"9WUw":function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("M62t"),r=i("Y9ha"),s=a.toolbox.magicType;function l(t){this.model=t}l.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z",tiled:"M2.3,2.2h22.8V25H2.3V2.2z M35,2.2h22.8V25H35V2.2zM2.3,35h22.8v22.8H2.3V35z M35,35h22.8v22.8H35V35z"},title:o.clone(s.title),option:{},seriesIndex:{}};var u=l.prototype;u.getIcons=function(){var t=this.model,e=t.get("icon"),i={};return o.each(t.get("type"),function(t){e[t]&&(i[t]=e[t])}),i};var h={line:function(t,e,i,n){if("bar"===t)return o.merge({id:e,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.line")||{},!0)},bar:function(t,e,i,n){if("line"===t)return o.merge({id:e,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.bar")||{},!0)},stack:function(t,e,i,n){if("line"===t||"bar"===t)return o.merge({id:e,stack:"__ec_magicType_stack__"},n.get("option.stack")||{},!0)},tiled:function(t,e,i,n){if("line"===t||"bar"===t)return o.merge({id:e,stack:""},n.get("option.tiled")||{},!0)}},c=[["line","bar"],["stack","tiled"]];u.onclick=function(t,e,i){var n=this.model,a=n.get("seriesIndex."+i);if(h[i]){var r={series:[]};o.each(c,function(t){o.indexOf(t,i)>=0&&o.each(t,function(t){n.setIconStatus(t,"normal")})}),n.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==a?null:{seriesIndex:a}},function(e){var a=e.subType,s=e.id,l=h[i](a,s,e,n);l&&(o.defaults(l,e.option),r.series.push(l));var u=e.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===i||"bar"===i)){var c=u.getAxesByScale("ordinal")[0];if(c){var d=c.dim+"Axis",p=t.queryComponents({mainType:d,index:e.get(name+"Index"),id:e.get(name+"Id")})[0].componentIndex;r[d]=r[d]||[];for(var f=0;f<=p;f++)r[d][p]=r[d][p]||{};r[d][p].boundaryGap="bar"===i}}}),e.dispatchAction({type:"changeMagicType",currentType:i,newOption:r})}},n.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),r.register("magicType",l);var d=l;t.exports=d},"9erC":function(t,e,i){var n=i("oBvO");t.exports=function(){var t=[],e=[];return{key:function(e){return t.push(e),this},sortKeys:function(i){return e[t.length-1]=i,this},entries:function(i){return function i(o,a){if(a>=t.length)return o;var r=[],s=e[a++];return n.each(o,function(t,e){r.push({key:e,values:i(t,a)})}),s?r.sort(function(t,e){return s(t.key,e.key)}):r}(function e(i,o){if(o>=t.length)return i;for(var a=-1,r=i.length,s=t[o++],l={},u={};++at[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,i,r){var l={},u=t[1]-t[0],h=l.interval=n.nice(u/e,!0);null!=i&&hr&&(h=l.interval=r);var c=l.intervalPrecision=a(h);return s(l.niceTickExtent=[o(Math.ceil(t[0]/h)*h,c),o(Math.floor(t[1]/h)*h,c)],t),l},e.getIntervalPrecision=a,e.fixExtent=s,e.intervalScaleGetTicks=function(t,e,i,n){var a=[];if(!t)return a;e[0]1e4)return[];return e[1]>(a.length?a[a.length-1]:i[1])&&a.push(e[1]),a}},"9q44":function(t,e,i){var n=i("jpVL"),o=new(i("SKOb")),a=function(){};a.prototype={constructor:a,drawRectText:function(t,e){var i=this.style;e=i.textRect||e,this.__dirty&&n.normalizeTextStyle(i,!0);var a=i.text;if(null!=a&&(a+=""),n.needDrawText(a,i)){t.save();var r=this.transform;i.transformText?this.setTransform(t):r&&(o.copy(e),o.applyTransform(r),e=o),n.renderText(this,t,a,i,e),t.restore()}}};var r=a;t.exports=r},"9q8l":function(t,e,i){var n=i("oBvO"),o=i("svCk"),a=i("Ue0O"),r=i("gW+u");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(t,e){for(var i=0;i=0&&(this.delFromStorage(t),this._roots.splice(r,1),t instanceof a&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t.__storage=this,t.dirty(!1),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;t.exports=u},A63j:function(t,e,i){var n=i("oBvO"),o=i("kmau").devicePixelRatio,a=i("h3ZH"),r=i("TGtj");function s(){return!1}function l(t,e,i){var o=n.createCanvas(),a=e.getWidth(),r=e.getHeight(),s=o.style;return s.position="absolute",s.left=0,s.top=0,s.width=a+"px",s.height=r+"px",o.width=a*i,o.height=r*i,o.setAttribute("data-zr-dom-id",t),o}var u=function(t,e,i){var a;i=i||o,"string"==typeof t?a=l(t,e,i):n.isObject(t)&&(t=(a=t).id),this.id=t,this.dom=a;var r=a.style;r&&(a.onselectstart=s,r["-webkit-user-select"]="none",r["user-select"]="none",r["-webkit-touch-callout"]="none",r["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",r.padding=0,r.margin=0,r["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=i};u.prototype={constructor:u,elCount:0,__dirty:!0,initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.__currentValues={},this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=l("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),this.ctxBack.__currentValues={},1!=t&&this.ctxBack.scale(t,t)},resize:function(t,e){var i=this.dpr,n=this.dom,o=n.style,a=this.domBack;o.width=t+"px",o.height=e+"px",n.width=t*i,n.height=e*i,a&&(a.width=t*i,a.height=e*i,1!=i&&this.ctxBack.scale(i,i))},clear:function(t){var e,i=this.dom,n=this.ctx,o=i.width,s=i.height,l=this.clearColor,u=this.motionBlur&&!t,h=this.lastFrameAlpha,c=this.dpr;(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/c,s/c)),n.clearRect(0,0,o,s),l)&&(l.colorStops?(e=l.__canvasGradient||a.getGradient(n,l,{x:0,y:0,width:o,height:s}),l.__canvasGradient=e):l.image&&(e=r.prototype.getCanvasPattern.call(l,n)),n.save(),n.fillStyle=e||l,n.fillRect(0,0,o,s),n.restore());if(u){var d=this.domBack;n.save(),n.globalAlpha=h,n.drawImage(d,0,0,o,s),n.restore()}}};var h=u;t.exports=h},ARzn:function(t,e){var i={axisPointer:1,tooltip:1,brush:1};e.onIrrelevantElement=function(t,e,n){var o=e.getComponentByElement(t.topTarget),a=o&&o.coordinateSystem;return o&&o!==n&&!i[o.mainType]&&a&&a.model!==n}},AU7V:function(t,e,i){var n=i("oBvO"),o=i("/QIB"),a=i("2y1L"),r=i("vVwU"),s=n.bind,l=o.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(t,e,i,o){l.superApply(this,"render",arguments),r.shouldRecordRange(o,t.id)&&(this._range=t.getPercentRange()),n.each(this.getTargetCoordInfo(),function(e,o){var a=n.map(e,function(t){return r.generateCoordId(t.model)});n.each(e,function(e){var n=e.model,l=t.option;r.register(i,{coordId:r.generateCoordId(n),allCoordIds:a,containsPoint:function(t,e,i){return n.coordinateSystem.containPoint([e,i])},dataZoomId:t.id,throttleRate:t.get("throttle",!0),panGetRange:s(this._onPan,this,e,o),zoomGetRange:s(this._onZoom,this,e,o),zoomLock:l.zoomLock,disabled:l.disabled,roamControllerOpt:{zoomOnMouseWheel:l.zoomOnMouseWheel,moveOnMouseMove:l.moveOnMouseMove,preventDefaultMouseMove:l.preventDefaultMouseMove}})},this)},this)},dispose:function(){r.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null},_onPan:function(t,e,i,n,o,r,s,l,h){var c=this._range.slice(),d=t.axisModels[0];if(d){var p=u[e]([r,s],[l,h],d,i,t),f=p.signal*(c[1]-c[0])*p.pixel/p.pixelLength;return a(f,c,[0,100],"all"),this._range=c}},_onZoom:function(t,e,i,n,o,r){var s=this._range.slice(),l=t.axisModels[0];if(l){var h=u[e](null,[o,r],l,i,t),c=(h.signal>0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(s[1]-s[0])+s[0];n=Math.max(1/n,0),s[0]=(s[0]-c)*n+c,s[1]=(s[1]-c)*n+c;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return a(0,s,[0,100],0,d.minSpan,d.maxSpan),this._range=s}}}),u={grid:function(t,e,i,n,o){var a=i.axis,r={},s=o.model.coordinateSystem.getRect();return t=t||[0,0],"x"===a.dim?(r.pixel=e[0]-t[0],r.pixelLength=s.width,r.pixelStart=s.x,r.signal=a.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=s.height,r.pixelStart=s.y,r.signal=a.inverse?-1:1),r},polar:function(t,e,i,n,o){var a=i.axis,r={},s=o.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(r.pixel=e[0]-t[0],r.pixelLength=l[1]-l[0],r.pixelStart=l[0],r.signal=a.inverse?1:-1):(r.pixel=e[1]-t[1],r.pixelLength=u[1]-u[0],r.pixelStart=u[0],r.signal=a.inverse?-1:1),r},singleAxis:function(t,e,i,n,o){var a=i.axis,r=o.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===a.orient?(s.pixel=e[0]-t[0],s.pixelLength=r.width,s.pixelStart=r.x,s.signal=a.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=r.height,s.pixelStart=r.y,s.signal=a.inverse?-1:1),s}},h=l;t.exports=h},AU9v:function(t,e,i){i("u06U"),i("roT7"),i("czPH")},Aj7T:function(t,e,i){var n=i("oBvO"),o=i("V4KR"),a=i("U9Yr"),r=i("cKY8"),s=i("TF/2");function l(t,e,i){var n=e.coordinateSystem;t.each(function(o){var r,s=t.getItemModel(o),l=a.parsePercent(s.get("x"),i.getWidth()),u=a.parsePercent(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)r=e.getMarkerPosition(t.getValues(t.dimensions,o));else if(n){var h=t.get(n.dimensions[0],o),c=t.get(n.dimensions[1],o);r=n.dataToPoint([h,c])}}else r=[l,u];isNaN(l)||(r[0]=l),isNaN(u)||(r[1]=u),t.setItemLayout(o,r)})}var u=i("cumM").extend({type:"markPoint",updateLayout:function(t,e,i){e.eachSeries(function(t){var e=t.markPointModel;e&&(l(e.getData(),t,i),this.markerGroupMap.get(t.id).updateLayout(e))},this)},renderSeries:function(t,e,i,a){var u=t.coordinateSystem,h=t.id,c=t.getData(),d=this.markerGroupMap,p=d.get(h)||d.set(h,new o),f=function(t,e,i){var o;o=t?n.map(t&&t.dimensions,function(t){var i=e.getData().getDimensionInfo(e.coordDimToDataDim(t)[0])||{};return i.name=t,i}):[{name:"value",type:"float"}];var a=new r(o,i),l=n.map(i.get("data"),n.curry(s.dataTransform,e));t&&(l=n.filter(l,n.curry(s.dataFilter,t)));return a.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),a}(u,t,e);e.setData(f),l(e.getData(),t,a),f.each(function(t){var i=f.getItemModel(t),n=i.getShallow("symbolSize");"function"==typeof n&&(n=n(e.getRawValue(t),e.getDataParams(t))),f.setItemVisual(t,{symbolSize:n,color:i.get("itemStyle.normal.color")||c.getVisual("color"),symbol:i.getShallow("symbol")})}),p.updateData(f),this.group.add(p.group),f.eachItemGraphicEl(function(t){t.traverse(function(t){t.dataModel=e})}),p.__keep=!0,p.group.silent=e.get("silent")||t.get("silent")}});t.exports=u},AmKG:function(t,e,i){var n=i("oBvO"),o=i("Hpxy"),a=i("U9Yr");var r=n.normalizeCssArray;function s(t){return String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}var l=["a","b","c","d","e","f","g"],u=function(t,e){return"{"+t+(null==e?"":e)+"}"};var h=function(t){return t<10?"0"+t:t};var c=o.truncateText,d=o.getBoundingRect;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},e.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},e.normalizeCssArray=r,e.encodeHTML=s,e.formatTpl=function(t,e,i){n.isArray(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],r=0;r':""},e.formatTime=function(t,e,i){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var n=a.parseDate(e),o=i?"UTC":"",r=n["get"+o+"FullYear"](),s=n["get"+o+"Month"]()+1,l=n["get"+o+"Date"](),u=n["get"+o+"Hours"](),c=n["get"+o+"Minutes"](),d=n["get"+o+"Seconds"]();return t=t.replace("MM",h(s)).replace("M",s).replace("yyyy",r).replace("yy",r%100).replace("dd",h(l)).replace("d",l).replace("hh",h(u)).replace("h",u).replace("mm",h(c)).replace("m",c).replace("ss",h(d)).replace("s",d)},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=c,e.getTextRect=d},BFHC:function(t,e,i){var n=i("G7Tm"),o=i("oBvO"),a=i("KEOJ"),r=i("ZVES"),s=i("TGtj").prototype.getCanvasPattern,l=Math.abs,u=new a(!0);function h(t){n.call(this,t),this.path=null}h.prototype={constructor:h,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t,e){var i,n=this.style,o=this.path||u,a=n.hasStroke(),r=n.hasFill(),l=n.fill,h=n.stroke,c=r&&!!l.colorStops,d=a&&!!h.colorStops,p=r&&!!l.image,f=a&&!!h.image;(n.bind(t,this,e),this.setTransform(t),this.__dirty)&&(c&&(i=i||this.getBoundingRect(),this._fillGradient=n.getGradient(t,l,i)),d&&(i=i||this.getBoundingRect(),this._strokeGradient=n.getGradient(t,h,i)));c?t.fillStyle=this._fillGradient:p&&(t.fillStyle=s.call(l,t)),d?t.strokeStyle=this._strokeGradient:f&&(t.strokeStyle=s.call(h,t));var g=n.lineDash,v=n.lineDashOffset,m=!!t.setLineDash,y=this.getGlobalScale();o.setScale(y[0],y[1]),this.__dirtyPath||g&&!m&&a?(o.beginPath(t),g&&!m&&(o.setLineDash(g),o.setLineDashOffset(v)),this.buildPath(o,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),r&&o.fill(t),g&&m&&(t.setLineDash(g),t.lineDashOffset=v),a&&o.stroke(t),g&&m&&t.setLineDash([]),this.restoreTransform(t),null!=n.text&&this.drawRectText(t,this.getBoundingRect())},buildPath:function(t,e,i){},createPathProxy:function(){this.path=new a},getBoundingRect:function(){var t=this._rect,e=this.style,i=!t;if(i){var n=this.path;n||(n=this.path=new a),this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),t=n.getBoundingRect()}if(this._rect=t,e.hasStroke()){var o=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){o.copy(t);var r=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(r=Math.max(r,this.strokeContainThreshold||4)),s>1e-10&&(o.width+=r/s,o.height+=r/s,o.x-=r/s/2,o.y-=r/s/2)}return o}return t},contain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),o=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var a=this.path.data;if(o.hasStroke()){var s=o.lineWidth,l=o.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(o.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),r.containStroke(a,s/l,t,e)))return!0}if(o.hasFill())return r.contain(a,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):n.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(o.isObject(t))for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]);else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},h.extend=function(t){var e=function(e){h.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var i=t.shape;if(i){this.shape=this.shape||{};var n=this.shape;for(var o in i)!n.hasOwnProperty(o)&&i.hasOwnProperty(o)&&(n[o]=i[o])}t.init&&t.init.call(this,e)};for(var i in o.inherits(e,h),t)"style"!==i&&"shape"!==i&&(e.prototype[i]=t[i]);return e},o.inherits(h,n);var c=h;t.exports=c},BLkV:function(t,e,i){var n=i("p1Qj");function o(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=function(t,e,i,a,r,s,l){var u=i.getModel("label.normal"),h=i.getModel("label.emphasis");n.setLabelStyle(t,e,u,h,{labelFetcher:r,labelDataIndex:s,defaultText:r.getRawValue(s),isRectText:!0,autoColor:a}),o(t),o(e)}},BM0z:function(t,e,i){var n=i("oBvO"),o=i("wfRR"),a=i("pyJk"),r=i("CMbO"),s="silent";function l(){}l.prototype.dispose=function(){};var u=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],h=function(t,e,i,o){r.call(this),this.storage=t,this.painter=e,this.painterRoot=o,i=i||new l,this.proxy=i,i.handler=this,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,a.call(this),n.each(u,function(t){i.on&&i.on(t,this[t],this)},this)};function c(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){for(var n,o=t;o;){if(o.clipPath&&!o.clipPath.contain(e,i))return!1;o.silent&&(n=!0),o=o.parent}return!n||s}return!1}h.prototype={constructor:h,mousemove:function(t){var e=t.zrX,i=t.zrY,n=this._hovered,o=n.target;o&&!o.__zr&&(o=(n=this.findHover(n.x,n.y)).target);var a=this._hovered=this.findHover(e,i),r=a.target,s=this.proxy;s.setCursor&&s.setCursor(r?r.cursor:"default"),o&&r!==o&&this.dispatchToElement(n,"mouseout",t),this.dispatchToElement(a,"mousemove",t),r&&r!==o&&this.dispatchToElement(a,"mouseover",t)},mouseout:function(t){this.dispatchToElement(this._hovered,"mouseout",t);var e,i=t.toElement||t.relatedTarget;do{i=i&&i.parentNode}while(i&&9!=i.nodeType&&!(e=i===this.painterRoot));!e&&this.trigger("globalout",{event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var i=this[t];i&&i.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,i){var n=(t=t||{}).target;if(!n||!n.silent){for(var o="on"+e,a=function(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which}}(e,t,i);n&&(n[o]&&(a.cancelBubble=n[o].call(n,a)),n.trigger(e,a),n=n.parent,!a.cancelBubble););a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},findHover:function(t,e,i){for(var n=this.storage.getDisplayList(),o={x:t,y:e},a=n.length-1;a>=0;a--){var r;if(n[a]!==i&&!n[a].ignore&&(r=c(n[a],t,e))&&(!o.topTarget&&(o.topTarget=n[a]),r!==s)){o.target=n[a];break}}return o}},n.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){h.prototype[t]=function(e){var i=this.findHover(e.zrX,e.zrY),n=i.target;if("mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mosueup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||o.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}}),n.mixin(h,r),n.mixin(h,a);var d=h;t.exports=d},BNlM:function(t,e){t.exports=function(t,e){e.eachSeriesByType(t,function(t){var e=t.getData(),i=t.coordinateSystem;if(i){for(var n=[],o=i.dimensions,a=0;a"],o.isArray(t)&&(t=t.slice(),n=!0),a=e?t:n?[h(t[0]),h(t[1])]:h(t),o.isString(u)?u.replace("{value}",n?a[0]:a).replace("{value2}",n?a[1]:a):o.isFunction(u)?n?u(t[0],t[1]):u(t):n?t[0]===l[0]?i[0]+" "+a[1]:t[1]===l[1]?i[1]+" "+a[0]:a[0]+" - "+a[1]:a;function h(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension;return null!=e?e:t.dimensions.length-1},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.option,e={inRange:t.inRange,outOfRange:t.outOfRange},i=t.target||(t.target={}),n=t.controller||(t.controller={});o.merge(i,e),o.merge(n,e);var a=this.isCategory();function l(e){p(t.color)&&!e.inRange&&(e.inRange={color:t.color.slice().reverse()}),e.inRange=e.inRange||{color:y},f(this.stateList,function(t){var i=e[t];if(o.isString(i)){var n=r.get(i,"active",a);n?(e[t]={},e[t][i]=n):delete e[t]}},this)}l.call(this,i),l.call(this,n),function(t,e,i){var n=t[e],o=t[i];n&&!o&&(o=t[i]={},f(n,function(t,e){if(s.isValidType(e)){var i=r.get(e,"inactive",a);null!=i&&(o[e]=i,"color"!==e||o.hasOwnProperty("opacity")||o.hasOwnProperty("colorAlpha")||(o.opacity=[0,0]))}}))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,n=this.get("inactiveColor");f(this.stateList,function(r){var s=this.itemSize,l=t[r];l||(l=t[r]={color:a?n:[n]}),null==l.symbol&&(l.symbol=e&&o.clone(e)||(a?"roundRect":["roundRect"])),null==l.symbolSize&&(l.symbolSize=i&&o.clone(i)||(a?s[0]:[s[0],s[0]])),l.symbol=c(l.symbol,function(t){return"none"===t||"square"===t?"roundRect":t});var u=l.symbolSize;if(null!=u){var h=-1/0;d(u,function(t){t>h&&(h=t)}),l.symbolSize=c(u,function(t){return v(t,[0,h],[0,s[0]],!0)})}},this)}.call(this,n)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:m,getValueState:m,getVisualMeta:m});t.exports=x},Be0Z:function(t,e,i){var n=i("+Ky8"),o=i("oBvO");i("c7Jr"),i("/lQa"),i("D4hk");var a=i("TovU"),r=i("O9HX"),s=i("tm/1"),l=i("F52s"),u=i("0Plb"),h=i("OTrG"),c=i("SOcc"),d=i("T70l");n.registerProcessor(a),n.registerVisual(o.curry(r,"graph","circle",null)),n.registerVisual(s),n.registerVisual(l),n.registerLayout(u),n.registerLayout(h),n.registerLayout(c),n.registerCoordinateSystem("graphView",{create:d})},BfJo:function(t,e,i){var n=i("pMij")([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getLineStyle:function(t){var e=n(this,t),i=this.getLineDash(e.lineWidth);return i&&(e.lineDash=i),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),i=Math.max(t,2),n=4*t;return"solid"===e||null==e?null:"dashed"===e?[n,n]:[i,i]}};t.exports=o},BiPw:function(t,e,i){var n=i("oBvO"),o={get:function(t,e,i){var o=n.clone((a[t]||{})[e]);return i&&n.isArray(o)?o[o.length-1]:o}},a={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},r=o;t.exports=r},BkgY:function(t,e,i){var n=i("oBvO");t.exports=function(t){var e={};t.eachSeriesByType("map",function(i){var o=i.getMapType();if(!i.getHostGeoModel()&&!e[o]){var a={};n.each(i.seriesGroup,function(e){var i=e.coordinateSystem,n=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&n.each("value",function(t,e){var o=n.getName(e),r=i.getRegion(o);if(r&&!isNaN(t)){var s=a[o]||0,l=i.dataToPoint(r.center);a[o]=s+1,n.setItemLayout(e,{point:l,offset:s})}})});var r=i.getData();r.each(function(t){var e=r.getName(t),i=r.getItemLayout(t)||{};i.showLabel=!a[e],r.setItemLayout(t,i)}),e[o]=!0}})}},"C+UR":function(t,e,i){var n=i("tJS+"),o=i("1faS"),a=i("oBvO").each;function r(t){return parseInt(t,10)}function s(t,e){o.initVML(),this.root=t,this.storage=e;var i=document.createElement("div"),n=document.createElement("div");i.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",n.style.cssText="position:absolute;left:0;top:0;",t.appendChild(i),this._vmlRoot=n,this._vmlViewport=i,this.resize();var a=e.delFromStorage,r=e.addToStorage;e.delFromStorage=function(t){a.call(e,t),t&&t.onRemove&&t.onRemove(n)},e.addToStorage=function(t){t.onAdd&&t.onAdd(n),r.call(e,t)},this._firstPaint=!0}s.prototype={constructor:s,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,i=0;i=0;d--)null==r[d]?r.splice(d,1):delete r[d].$action},_flatten:function(t,e,i){o.each(t,function(t){if(t){i&&(t.parentOption=i),e.push(t);var n=t.children;"group"===t.type&&n&&this._flatten(n,e,t),delete t.children}},this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function u(t,e,i,n){var o=i.type,a=new(0,r[o.charAt(0).toUpperCase()+o.slice(1)])(i);e.add(a),n.set(t,a),a.__ecGraphicId=t}function h(t,e){var i=t&&t.parent;i&&("group"===t.type&&t.traverse(function(t){h(t,e)}),e.removeKey(t.__ecGraphicId),i.remove(t))}function c(t,e){var i;return o.each(e,function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)}),i}n.extendComponentView({type:"graphic",init:function(t,e){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(t,e,i){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t,i),this._relocate(t,i)},_updateElements:function(t,e){var i=t.useElOptionsToUpdate();if(i){var n=this._elMap,a=this.group;o.each(i,function(t){var e=t.$action,i=t.id,r=n.get(i),l=t.parentId,c=null!=l?n.get(l):a;if("text"===t.type){var d=t.style;t.hv&&t.hv[1]&&(d.textVerticalAlign=d.textBaseline=null),!d.hasOwnProperty("textFill")&&d.fill&&(d.textFill=d.fill),!d.hasOwnProperty("textStroke")&&d.stroke&&(d.textStroke=d.stroke)}var p=function(t){return t=o.extend({},t),o.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),function(e){delete t[e]}),t}(t);e&&"merge"!==e?"replace"===e?(h(r,n),u(i,c,p,n)):"remove"===e&&h(r,n):r?r.attr(p):u(i,c,p,n);var f=n.get(i);f&&(f.__ecGraphicWidth=t.width,f.__ecGraphicHeight=t.height)})}},_relocate:function(t,e){for(var i=t.option.elements,n=this.group,o=this._elMap,a=i.length-1;a>=0;a--){var r=i[a],l=o.get(r.id);if(l){var u=l.parent,h=u===n?{width:e.getWidth(),height:e.getHeight()}:{width:u.__ecGraphicWidth||0,height:u.__ecGraphicHeight||0};s.positionElement(l,r,h,null,{hv:r.hv,boundingMode:r.bounding})}}},_clear:function(){var t=this._elMap;t.each(function(e){h(e,t)}),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},CMbO:function(t,e){var i=Array.prototype.slice,n=function(){this._$handlers={}};n.prototype={constructor:n,one:function(t,e,i){var n=this._$handlers;if(!e||!t)return this;n[t]||(n[t]=[]);for(var o=0;o3&&(e=i.call(e,1));for(var o=this._$handlers[t],a=o.length,r=0;r4&&(e=i.call(e,1,e.length-1));for(var o=e[e.length-1],a=this._$handlers[t],r=a.length,s=0;s.8?"left":h[0]<-.8?"right":"center",f=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===i.__position){var v=s/2,m=[(c=r.tangentAt(v))[1],-c[0]],y=r.pointAt(v);m[1]>0&&(m[0]=-m[0],m[1]=-m[1]),d=[y[0]+m[0]*g,y[1]+m[1]*g],p="center",f="bottom";var x=-Math.atan2(c[1],c[0]);u[0].8?"right":h[0]<-.8?"left":"center",f=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";i.attr({style:{textVerticalAlign:i.__verticalAlign||f,textAlign:i.__textAlign||p},position:d,scale:[n,n]})}}}},f._createLine=function(t,e,i){var o=t.hostModel,a=function(t){var e=new r({name:"line"});return d(e.shape,t),e}(t.getItemLayout(e));a.shape.percent=0,s.initProps(a,{shape:{percent:1}},o,e),this.add(a);var l=new s.Text({name:"label"});this.add(l),n.each(u,function(i){var n=c(i,t,e);this.add(n),this[h(i)]=t.getItemVisual(e,i)},this),this._updateCommonStl(t,e,i)},f.updateData=function(t,e,i){var o=t.hostModel,a=this.childOfName("line"),r=t.getItemLayout(e),l={shape:{}};d(l.shape,r),s.updateProps(a,l,o,e),n.each(u,function(i){var n=t.getItemVisual(e,i),o=h(i);if(this[o]!==n){this.remove(this.childOfName(i));var a=c(i,t,e);this.add(a)}this[o]=n},this),this._updateCommonStl(t,e,i)},f._updateCommonStl=function(t,e,i){var o=t.hostModel,a=this.childOfName("line"),r=i&&i.lineStyle,h=i&&i.hoverLineStyle,c=i&&i.labelModel,d=i&&i.hoverLabelModel;if(!i||t.hasItemOption){var p=t.getItemModel(e);r=p.getModel("lineStyle.normal").getLineStyle(),h=p.getModel("lineStyle.emphasis").getLineStyle(),c=p.getModel("label.normal"),d=p.getModel("label.emphasis")}var f=t.getItemVisual(e,"color"),g=n.retrieve3(t.getItemVisual(e,"opacity"),r.opacity,1);a.useStyle(n.defaults({strokeNoScale:!0,fill:"none",stroke:f,opacity:g},r)),a.hoverStyle=h,n.each(u,function(t){var e=this.childOfName(t);e&&(e.setColor(f),e.setStyle({opacity:g}))},this);var v,m,y,x,_=c.getShallow("show"),b=d.getShallow("show"),w=this.childOfName("label");if(_||b){var S=o.getRawValue(e);m=null==S?m=t.getName(e):isFinite(S)?l(S):S,v=f||"#000",y=n.retrieve2(o.getFormattedLabel(e,"normal",t.dataType),m),x=n.retrieve2(o.getFormattedLabel(e,"emphasis",t.dataType),y)}if(_){var M=s.setTextStyle(w.style,c,{text:y},{autoColor:v});w.__textAlign=M.textAlign,w.__verticalAlign=M.textVerticalAlign,w.__position=c.get("position")||"middle"}else w.setStyle("text",null);w.hoverStyle=b?{text:x,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},w.ignore=!_&&!b,s.setHoverStyle(this)},f.highlight=function(){this.trigger("emphasis")},f.downplay=function(){this.trigger("normal")},f.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},f.setLinePoints=function(t){var e=this.childOfName("line");d(e.shape,t),e.dirty()},n.inherits(p,s.Group);var g=p;t.exports=g},CZny:function(t,e,i){for(var n=i("+Ky8"),o=i("XNsO"),a=function(){},r=["treemapZoomToNode","treemapRender","treemapMove"],s=0;sg[1]?-1:1,x=["start"===s?g[0]-v*f:"end"===s?g[1]+v*f:(g[0]+g[1])/2,I(s)?t.labelOffset+h*f:0],_=e.get("nameRotate");null!=_&&(_=_*m/180),I(s)?n=b(t.rotation,null!=_?_:t.rotation,h):(n=function(t,e,i,n){var o,a,r=p(i-t.rotation),s=n[0]>n[1],l="start"===e&&!s||"start"!==e&&s;d(r-m/2)?(a=l?"bottom":"top",o="center"):d(r-1.5*m)?(a=l?"top":"bottom",o="center"):(a="middle",o=r<1.5*m&&r>m/2?l?"left":"right":l?"right":"left");return{rotation:r,textAlign:o,textVerticalAlign:a}}(t,s,_||0,g),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(n.rotation)),!isFinite(a)&&(a=null)));var S=c.getFont(),M=e.get("nameTruncate",!0)||{},T=M.ellipsis,A=o(t.nameTruncateMaxWidth,M.maxWidth,a),C=null!=T&&null!=A?l.truncateText(i,A,S,T,{minChar:2,placeholder:M.placeholder}):i,L=e.get("tooltip",!0),D=e.mainType,P={componentType:D,name:i,$vars:["name"]};P[D+"Index"]=e.componentIndex;var O=new u.Text({anid:"name",__fullText:i,__truncatedText:C,position:x,rotation:n.rotation,silent:w(e),z2:1,tooltip:L&&L.show?r({content:i,formatter:function(){return i},formatterParams:P},L):null});u.setTextStyle(O.style,c,{text:C,textFont:S,textFill:c.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:n.textAlign,textVerticalAlign:n.textVerticalAlign}),e.get("triggerEvent")&&(O.eventData=y(e),O.eventData.targetType="axisName",O.eventData.name=i),this._dumbGroup.add(O),O.updateTransform(),this.group.add(O),O.decomposeTransform()}}},b=x.innerTextLayout=function(t,e,i){var n,o,a=p(e-t);return d(a)?(o=i>0?"top":"bottom",n="center"):d(a-m)?(o=i>0?"bottom":"top",n="center"):(o="middle",n=a>0&&a0?"right":"left":i>0?"left":"right"),{rotation:a,textAlign:n,textVerticalAlign:o}};function w(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)}function S(t){t&&(t.ignore=!0)}function M(t,e,i){var n=t&&t.getBoundingRect().clone(),o=e&&e.getBoundingRect().clone();if(n&&o){var a=g.identity([]);return g.rotate(a,a,-t.rotation),n.applyTransform(g.mul([],a,t.getLocalTransform())),o.applyTransform(g.mul([],a,e.getLocalTransform())),n.intersect(o)}}function I(t){return"middle"===t||"center"===t}var T=x.ifIgnoreOnTick=function(t,e,i,n,o,a){if(0===e&&o||e===n-1&&a)return!1;var r,s=t.scale;return"ordinal"===s.type&&("function"==typeof i?!i(r=s.getTicks()[e],s.getLabel(r)):e%(i+1))},A=x.getInterval=function(t,e){var i=t.get("interval");return null!=i&&"auto"!=i||(i=e),i};var C=x;t.exports=C},DGM6:function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("8+G7"),r=n.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new a(e.getZr())).on("brush",o.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,s.apply(this,arguments)},updateView:s,updateLayout:s,updateVisual:s,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:o.clone(t),$from:i})}});function s(t,e,i,n){(!n||n.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(i)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=r},DhlQ:function(t,e,i){var n=i("BFHC").extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,i){i&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=n},EJqA:function(t,e,i){var n=i("oBvO"),o=i("n6aB"),a=i("p1Qj"),r=i("kX0L"),s=i("N/Vq"),l=i("ZbD3"),u=i("45P/").makeGetter(),h=n.clone,c=n.bind;function d(){}function p(t,e,i,o){(function t(e,i){if(n.isObject(e)&&n.isObject(i)){var o=!0;return n.each(i,function(i,n){o=o&&t(e[n],i)}),!!o}return e===i})(u(i).lastProp,o)||(u(i).lastProp=o,e?a.updateProps(i,o,t):(i.stopAnimation(),i.attr(o)))}function f(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function v(t,e,i){var n=e.get("z"),o=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=o&&(t.zlevel=o),t.silent=i)})}d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,i,o){var r=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=i,o||this._lastValue!==r||this._lastStatus!==s){this._lastValue=r,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var h={};this.makeElOption(h,r,t,e,i);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=c;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var f=n.curry(p,e,d);this.updatePointerEl(l,h,f,e),this.updateLabelEl(l,h,f,e)}else l=this._group=new a.Group,this.createPointerEl(l,h,t,e),this.createLabelEl(l,h,t,e),i.getZr().add(l);v(l,e,!0),this._renderHandle(r)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var i=e.get("animation"),n=t.axis,o="category"===n.type,a=e.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(t).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===i},makeElOption:function(t,e,i,n,o){},createPointerEl:function(t,e,i,n){var o=e.pointer;if(o){var r=u(t).pointerEl=new a[o.type](h(e.pointer));t.add(r)}},createLabelEl:function(t,e,i,n){if(e.label){var o=u(t).labelEl=new a.Rect(h(e.label));t.add(o),f(o,n)}},updatePointerEl:function(t,e,i){var n=u(t).pointerEl;n&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,i,n){var o=u(t).labelEl;o&&(o.setStyle(e.label.style),i(o,{shape:e.label.shape,position:e.label.position}),f(o,n))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,i=this._axisPointerModel,o=this._api.getZr(),r=this._handle,u=i.getModel("handle"),h=i.get("status");if(!u.get("show")||!h||"hide"===h)return r&&o.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=a.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:c(this._onHandleDragMove,this,0,0),drift:c(this._onHandleDragMove,this),ondragend:c(this._onHandleDragEnd,this)}),o.add(r)),v(r,i,!1);r.setStyle(u.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=u.get("size");n.isArray(d)||(d=[d,d]),r.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){p(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(g(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(g(n)),u(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,i){return{x:t[i=i||0],y:t[1-i],width:e[i],height:e[1-i]}}},d.prototype.constructor=d,o.enableClassExtend(d);var m=d;t.exports=m},ETeu:function(t,e,i){var n=i("+Ky8"),o=i("FGwE").Polygon,a=i("p1Qj"),r=i("oBvO"),s=r.bind,l=r.extend,u=i("YgfO"),h=n.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(t,e,i){var n=t.getData(),r=this.group,h=t.getLayerSeries(),c=n.getLayout("layoutInfo"),d=c.rect,p=c.boundaryGap;function f(t){return t.name}r.attr("position",[0,d.y+p[0]]);var g={};function v(e,i,s){var u=this._layers;if("remove"!==e){for(var c,d,p,f=[],v=[],m=h[i].indices,y=0;ye&&a+1t[a].y+t[a].height)return void l(a,n/2);l(i-1,n/2)}function l(e,i){for(var n=e;n>=0&&(t[n].y-=i,!(n>0&&t[n].y>t[n-1].y+t[n-1].height));n--);}function u(t,e,i,n,o,a){for(var r=e?Number.MAX_VALUE:0,s=0,l=t.length;s=r&&(d=r-10),!e&&d<=r&&(d=r+10),t[s].x=i+d*a,r=d}}t.sort(function(t,e){return t.y-e.y});for(var h,c=0,d=t.length,p=[],f=[],g=0;g=i?f.push(t[g]):p.push(t[g]);u(p,!1,e,i,n,o),u(f,!0,e,i,n,o)}t.exports=function(t,e,i,a){var r,s,l=t.getData(),u=[],h=!1;l.each(function(i){var o,a,c,d,p=l.getItemLayout(i),f=l.getItemModel(i),g=f.getModel("label.normal"),v=g.get("position")||f.get("label.emphasis.position"),m=f.getModel("labelLine.normal"),y=m.get("length"),x=m.get("length2"),_=(p.startAngle+p.endAngle)/2,b=Math.cos(_),w=Math.sin(_);r=p.cx,s=p.cy;var S="inside"===v||"inner"===v;if("center"===v)o=p.cx,a=p.cy,d="center";else{var M=(S?(p.r+p.r0)/2*b:p.r*b)+r,I=(S?(p.r+p.r0)/2*w:p.r*w)+s;if(o=M+3*b,a=I+3*w,!S){var T=M+b*(y+e-p.r),A=I+w*(y+e-p.r),C=T+(b<0?-1:1)*x;o=C+(b<0?-5:5),a=A,c=[[M,I],[T,A],[C,A]]}d=S?"center":b>0?"left":"right"}var L=g.getFont(),D=g.get("rotate")?b<0?-_+Math.PI:-_:0,P=t.getFormattedLabel(i,"normal")||l.getName(i),O=n.getBoundingRect(P,L,d,"top");h=!!D,p.label={x:o,y:a,position:v,height:O.height,len:y,len2:x,linePoints:c,textAlign:d,verticalAlign:"middle",rotation:D,inside:S},S||u.push(p.label)}),!h&&t.get("avoidLabelOverlap")&&function(t,e,i,n,a,r){for(var s=[],l=[],u=0;u.5?e:t}function c(t,e,i,n,o){var a=t.length;if(1==o)for(var r=0;ro)t.length=o;else for(var a=n;a=0&&!(A[i]<=e);i--);i=Math.min(i,_-2)}else{for(i=G;i<_&&!(A[i]>e);i++);i=Math.min(i-1,_-2)}G=i,W=e;var n=A[i+1]-A[i];if(0!==n)if(B=(e-A[i])/n,x)if(N=C[i],E=C[0===i?i:i-1],z=C[i>_-2?_-1:i+1],V=C[i>_-3?_-1:i+2],S)f(E,N,z,V,B,B*B,B*B*B,v(t,s),T);else{if(M)o=f(E,N,z,V,B,B*B,B*B*B,H,1),o=m(H);else{if(I)return h(N,z,B);o=g(E,N,z,V,B,B*B,B*B*B)}y(t,s,o)}else if(S)c(C[i],C[i+1],B,v(t,s),T);else{var o;if(M)c(C[i],C[i+1],B,H,1),o=m(H);else{if(I)return h(C[i],C[i+1],B);o=u(C[i],C[i+1],B)}y(t,s,o)}},ondestroy:i});return e&&"spline"!==e&&(F.easing=e),F}}}var x=function(t,e,i,n){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||s,this._setter=n||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};x.prototype={when:function(t,e){var i=this._tracks;for(var n in e)if(e.hasOwnProperty(n)){if(!i[n]){i[n]=[];var o=this._getter(this._target,n);if(null==o)continue;0!==t&&i[n].push({time:0,value:v(o)})}i[n].push({time:t,value:e[n]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t=a||b<0)break;if(p(S)){if(x){b+=f;continue}break}if(b===i)t[f>0?"moveTo":"lineTo"](S[0],S[1]),u(c,S);else if(m>0){var M=b+f,I=e[M];if(x)for(;I&&p(e[M]);)I=e[M+=f];var T=.5,A=e[_];if(!(I=e[M])||p(I))u(d,S);else{var C,L;if(p(I)&&!x&&(I=S),o.sub(h,I,A),"x"===y||"y"===y){var D="x"===y?0:1;C=Math.abs(S[D]-A[D]),L=Math.abs(S[D]-I[D])}else C=o.dist(S,A),L=o.dist(S,I);l(d,S,h,-m*(1-(T=L/(L+C))))}r(c,c,v),s(c,c,g),r(d,d,v),s(d,d,g),t.bezierCurveTo(c[0],c[1],d[0],d[1],S[0],S[1]),l(c,S,h,m*T)}else t.lineTo(S[0],S[1]);_=b,b+=f}return w}function g(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var o=0;on[0]&&(n[0]=a[0]),a[1]>n[1]&&(n[1]=a[1])}return{min:e?i:n,max:e?n:i}}var v=n.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:a(n.prototype.brush),buildPath:function(t,e){var i=e.points,n=0,o=i.length,a=g(i,e.smoothConstraint);if(e.connectNulls){for(;o>0&&p(i[o-1]);o--);for(;n0&&p(i[a-1]);a--);for(;o2?t.quadraticCurveTo(a[2][0],a[2][1],a[1][0],a[1][1]):t.lineTo(a[1][0],a[1][1])}},findDataIndex:function(t,e){for(var i=this.shape,n=i.segs,r=i.polyline,s=Math.max(this.style.lineWidth,1),l=0;l2){if(a.containStroke(u[0][0],u[0][1],u[2][0],u[2][1],u[1][0],u[1][1],s,t,e))return l}else if(o.containStroke(u[0][0],u[0][1],u[1][0],u[1][1],s,t,e))return l}return-1}});function s(){this.group=new n.Group,this._lineEl=new r}var l=s.prototype;l.updateData=function(t){this.group.removeAll();var e=this._lineEl,i=t.hostModel;e.setShape({segs:t.mapArray(t.getItemLayout),polyline:i.get("polyline")}),e.useStyle(i.getModel("lineStyle.normal").getLineStyle());var n=t.getVisual("color");n&&e.setStyle("stroke",n),e.setStyle("fill"),e.seriesIndex=i.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;var i=e.findDataIndex(t.offsetX,t.offsetY);i>0&&(e.dataIndex=i)}),this.group.add(e)},l.updateLayout=function(t){var e=t.getData();this._lineEl.setShape({segs:e.mapArray(e.getItemLayout)})},l.remove=function(){this.group.removeAll()};var u=s;t.exports=u},Fupa:function(t,e,i){var n=i("Jw9/");function o(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function a(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function r(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:i}function s(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=i,e.hierNode.modifier+=i,e.hierNode.prelim+=i,t.hierNode.change+=n}function l(t,e){return t.parentNode===e.parentNode?1:2}e.init=function(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e,i,n=[t];e=n.pop();)if(i=e.children,e.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},n.push(a)}},e.firstWalk=function(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,l=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){!function(t){for(var e=t.children,i=e.length,n=0,o=0;--i>=0;){var a=e[i];a.hierNode.prelim+=n,a.hierNode.modifier+=n,o+=a.hierNode.change,n+=a.hierNode.shift+o}}(t);var u=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;l?(t.hierNode.prelim=l.hierNode.prelim+e(t,l),t.hierNode.modifier=t.hierNode.prelim-u):t.hierNode.prelim=u}else l&&(t.hierNode.prelim=l.hierNode.prelim+e(t,l));t.parentNode.hierNode.defaultAncestor=function(t,e,i,n){if(e){for(var l=t,u=t,h=u.parentNode.children[0],c=e,d=l.hierNode.modifier,p=u.hierNode.modifier,f=h.hierNode.modifier,g=c.hierNode.modifier;c=o(c),u=a(u),c&&u;){l=o(l),h=a(h),l.hierNode.ancestor=t;var v=c.hierNode.prelim+g-u.hierNode.prelim-p+n(c,u);v>0&&(s(r(c,t,i),t,v),p+=v,d+=v),g+=c.hierNode.modifier,p+=u.hierNode.modifier,d+=l.hierNode.modifier,f+=h.hierNode.modifier}c&&!o(l)&&(l.hierNode.thread=c,l.hierNode.modifier+=g-d),u&&!a(h)&&(h.hierNode.thread=u,h.hierNode.modifier+=p-f,i=t)}return i}(t,l,t.parentNode.hierNode.defaultAncestor||n[0],e)},e.secondWalk=function(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier},e.separation=function(t){return arguments.length?t:l},e.radialCoordinate=function(t,e){var i={};return t-=Math.PI/2,i.x=e*Math.cos(t),i.y=e*Math.sin(t),i},e.getViewRect=function(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}},Fva9:function(t,e,i){var n=i("oBvO"),o=i("p1Qj"),a=i("DGK2"),r=i("1s0R"),s=i("49VG"),l=a.ifIgnoreOnTick,u=a.getInterval,h=["axisLine","axisTickLabel","axisName"],c=["splitArea","splitLine"],d=r.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,i,r){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new o.Group,this.group.add(this._axisGroup),t.get("show")){var u=t.getCoordSysModel(),p=s.layout(u,t),f=new a(t,p);n.each(h,f.add,f),this._axisGroup.add(f.getGroup()),n.each(c,function(e){t.get(e+".show")&&this["_"+e](t,u,p.labelInterval)},this),o.groupTransition(l,this._axisGroup,t),d.superCall(this,"render",t,e,i,r)}},_splitLine:function(t,e,i){var a=t.axis;if(!a.scale.isBlank()){var r=t.getModel("splitLine"),s=r.getModel("lineStyle"),h=s.get("color"),c=u(r,i);h=n.isArray(h)?h:[h];for(var d=e.coordinateSystem.getRect(),p=a.isHorizontal(),f=0,g=a.getTicksCoords(),v=a.scale.getTicks(),m=t.get("axisLabel.showMinLabel"),y=t.get("axisLabel.showMaxLabel"),x=[],_=[],b=s.getLineStyle(),w=0;w0?1:r<0?-1:0}(i,r,a,n,m),function(t,e,i,n,a,r,s,u,h,c){var d=h.valueDim,p=h.categoryDim,f=Math.abs(i[p.wh]),g=t.getItemVisual(e,"symbolSize");o.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]);g[p.index]=l(g[p.index],f),g[d.index]=l(g[d.index],n?f:Math.abs(r)),c.symbolSize=g,(c.symbolScale=[g[0]/u,g[1]/u])[d.index]*=(h.isHorizontal?-1:1)*s}(t,e,a,r,0,m.boundingLength,m.pxSign,f,n,m),function(t,e,i,n,o){var a=t.get(c)||0;a&&(p.attr({scale:e.slice(),rotation:i}),p.updateTransform(),a/=p.getLineScale(),a*=e[n.valueDim.index]);o.valueLineWidth=a}(i,m.symbolScale,d,n,m);var y=m.symbolSize,x=i.get("symbolOffset");return o.isArray(x)&&(x=[l(x[0],y[0]),l(x[1],y[1])]),function(t,e,i,n,a,r,s,h,c,d,p,f){var g=p.categoryDim,v=p.valueDim,m=f.pxSign,y=Math.max(e[v.index]+h,0),x=y;if(n){var _=Math.abs(c),b=o.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=l(b,e[v.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,I=u(n),T=I?n:P((_+M)/S),A=_-T*y;S=y+2*(b=A/2/(w?T:T-1)),M=w?0:2*b,I||"fixed"===n||(T=d?P((Math.abs(d)+M)/S):0),x=T*S-M,f.repeatTimes=T,f.symbolMargin=b}var C=m*(x/2),L=f.pathPosition=[];L[g.index]=i[g.wh]/2,L[v.index]="start"===s?C:"end"===s?c-C:c/2,r&&(L[0]+=r[0],L[1]+=r[1]);var D=f.bundlePosition=[];D[g.index]=i[g.xy],D[v.index]=i[v.xy];var O=f.barRectShape=o.extend({},i);O[v.wh]=m*Math.max(Math.abs(i[v.wh]),Math.abs(L[v.index]+C)),O[g.wh]=i[g.wh];var k=f.clipShape={};k[g.xy]=-i[g.xy],k[g.wh]=p.ecSize[g.wh],k[v.xy]=0,k[v.wh]=i[v.wh]}(i,y,a,r,0,x,h,m.valueLineWidth,m.boundingLength,m.repeatCutLength,n,m),m}function g(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function v(t){var e=t.symbolPatternSize,i=r(t.symbolType,-e/2,-e/2,e,e,t.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function m(t,e,i,n){var o=t.__pictorialBundle,a=i.symbolSize,r=i.valueLineWidth,s=i.pathPosition,l=e.valueDim,u=i.repeatTimes||0,h=0,c=a[e.valueDim.index]+r+2*i.symbolMargin;for(C(t,function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:n<0)&&(o=u-1-t),e[l.index]=c*(o-u/2+.5)+s[l.index],{position:e,scale:i.symbolScale.slice(),rotation:i.rotation}}function g(){C(t,function(t){t.trigger("emphasis")})}function m(){C(t,function(t){t.trigger("normal")})}}function y(t,e,i,n){var o=t.__pictorialBundle,a=t.__pictorialMainPath;a?L(a,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(a=t.__pictorialMainPath=v(i),o.add(a),L(a,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),a.on("mouseover",function(){this.trigger("emphasis")}).on("mouseout",function(){this.trigger("normal")})),M(a,i)}function x(t,e,i){var n=o.extend({},e.barRectShape),r=t.__pictorialBarRect;r?L(r,null,{shape:n},e,i):(r=t.__pictorialBarRect=new a.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(r))}function _(t,e,i,n){if(i.symbolClip){var r=t.__pictorialClipPath,s=o.extend({},i.clipShape),l=e.valueDim,u=i.animationModel,h=i.dataIndex;if(r)a.updateProps(r,{shape:s},u,h);else{s[l.wh]=0,r=new a.Rect({shape:s}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var c={};c[l.wh]=i.clipShape[l.wh],a[n?"updateProps":"initProps"](r,{shape:c},u,h)}}}function b(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParams=w,i.isAnimationEnabled=S,i}function w(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function S(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(t,e){t.off("emphasis").off("normal");var i=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:i.slice()},400,"elasticOut")})}function I(t,e,i,n){var o=new a.Group,r=new a.Group;return o.add(r),o.__pictorialBundle=r,r.attr("position",i.bundlePosition.slice()),i.symbolRepeat?m(o,e,i):y(o,0,i),x(o,i,n),_(o,e,i,n),o.__pictorialShapeStr=A(t,i),o.__pictorialSymbolMeta=i,o}function T(t,e,i,n){var r=n.__pictorialBarRect;r&&(r.style.text=null);var s=[];C(n,function(t){s.push(t)}),n.__pictorialMainPath&&s.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),o.each(s,function(t){a.updateProps(t,{scale:[0,0]},i,e,function(){n.parent&&n.parent.remove(n)})}),t.setItemGraphicEl(e,null)}function A(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function C(t,e,i){o.each(t.__pictorialBundle.children(),function(n){n!==t.__pictorialBarRect&&e.call(i,n)})}function L(t,e,i,n,o,r){e&&t.attr(e),n.symbolClip&&!o?i&&t.attr(i):i&&a[o?"updateProps":"initProps"](t,i,n.animationModel,n.dataIndex,r)}function D(t,e,i){var n=i.color,r=i.dataIndex,s=i.itemModel,l=s.getModel("itemStyle.normal").getItemStyle(["color"]),u=s.getModel("itemStyle.emphasis").getItemStyle(),c=s.getShallow("cursor");C(t,function(t){t.setColor(n),t.setStyle(o.defaults({fill:n,opacity:i.opacity},l)),a.setHoverStyle(t,u),c&&(t.cursor=c),t.z2=i.z2});var d={},p=e.valueDim.posDesc[+(i.boundingLength>0)],f=t.__pictorialBarRect;h(f.style,d,s,n,e.seriesModel,r,p),a.setHoverStyle(f,d)}function P(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var O=n.extendChartView({type:"pictorialBar",render:function(t,e,i){var n=this.group,o=t.getData(),r=this._data,s=t.coordinateSystem,l=!!s.getBaseAxis().isHorizontal(),u=s.grid.getRect(),h={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:t,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:d[+l],categoryDim:d[1-l]};return o.diff(r).add(function(t){if(o.hasValue(t)){var e=b(o,t),i=f(o,t,e,h),a=I(o,h,i);o.setItemGraphicEl(t,a),n.add(a),D(a,h,i)}}).update(function(t,e){var i=r.getItemGraphicEl(e);if(o.hasValue(t)){var s=b(o,t),l=f(o,t,s,h),u=A(o,l);i&&u!==i.__pictorialShapeStr&&(n.remove(i),o.setItemGraphicEl(t,null),i=null),i?function(t,e,i){var n=i.animationModel,o=i.dataIndex,r=t.__pictorialBundle;a.updateProps(r,{position:i.bundlePosition.slice()},n,o),i.symbolRepeat?m(t,e,i,!0):y(t,e,i,!0);x(t,i,!0),_(t,e,i,!0)}(i,h,l):i=I(o,h,l,!0),o.setItemGraphicEl(t,i),i.__pictorialSymbolMeta=l,n.add(i),D(i,h,l)}else n.remove(i)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&T(r,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=o,this.group},dispose:o.noop,remove:function(t,e){var i=this.group,n=this._data;t.get("animation")?n&&n.eachItemGraphicEl(function(e){T(n,e.dataIndex,t,e)}):i.removeAll()}});t.exports=O},G7Tm:function(t,e,i){var n=i("oBvO"),o=i("h3ZH"),a=i("tb0+"),r=i("9q44");function s(t){for(var e in t=t||{},a.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new o(t.style,this),this._rect=null,this.__clipPaths=[]}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:-1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var i=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(i[0],i[1])},dirty:function(){this.__dirty=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?a.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new o(t,this),this.dirty(!1),this}},n.inherits(s,a),n.mixin(s,r);var l=s;t.exports=l},GJWa:function(t,e,i){var n=i("oBvO");t.exports=function(t){var e={};t.eachSeriesByType("map",function(t){var i=t.getHostGeoModel(),n=i?"o"+i.id:"i"+t.getMapType();(e[n]=e[n]||[]).push(t)}),n.each(e,function(t,e){for(var i,o,a,r,s=(i=n.map(t,function(t){return t.getData()}),o=t[0].get("mapValueCalculation"),a={},r=["value"],n.each(i,function(t){t.each(r,function(e,i){var n="ec-"+t.getName(i);a[n]=a[n]||[],isNaN(e)||a[n].push(e)})}),i[0].map(r,function(t,e){for(var n,r="ec-"+i[0].getName(e),s=0,l=1/0,u=-1/0,h=a[r].length,c=0;c=0||"+"===i?"left":"right"},c={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:v/2},p="vertical"===n?o.height:o.width,f=t.getModel("controlStyle"),g=(_=f.get("show"))?f.get("itemSize"):0,m=_?f.get("itemGap"):0,y=g+m,x=t.get("label.normal.rotate")||0;x=x*v/180;var _,b=f.get("position",!0),w=(_=f.get("show",!0))&&f.get("showPlayBtn",!0),S=_&&f.get("showPrevBtn",!0),M=_&&f.get("showNextBtn",!0),I=0,T=p;return"left"===b||"bottom"===b?(w&&(a=[0,0],I+=y),S&&(r=[I,0],I+=y),M&&(l=[T-g,0],T-=y)):(w&&(a=[T-g,0],T-=y),S&&(r=[0,0],I+=y),M&&(l=[T-g,0],T-=y)),u=[I,T],t.get("inverse")&&u.reverse(),{viewRect:o,mainLength:p,orient:n,rotation:d[n],labelRotation:x,labelPosOpt:i,labelAlign:t.get("label.normal.align")||h[n],labelBaseline:t.get("label.normal.verticalAlign")||t.get("label.normal.baseline")||c[n],playPosition:a,prevBtnPosition:r,nextBtnPosition:l,axisExtent:u,controlSize:g,controlGap:m}},_position:function(t,e){var i=this._mainGroup,n=this._labelGroup,o=t.viewRect;if("vertical"===t.orient){var r=a.create(),s=o.x,l=o.y+o.height;a.translate(r,r,[-s,-l]),a.rotate(r,r,-v/2),a.translate(r,r,[s,l]),(o=o.clone()).applyTransform(r)}var u=y(o),h=y(i.getBoundingRect()),c=y(n.getBoundingRect()),d=i.position,p=n.position;p[0]=d[0]=u[0][0];var f,g=t.labelPosOpt;isNaN(g)?(x(d,h,u,1,f="+"===g?0:1),x(p,c,u,1,1-f)):(x(d,h,u,1,f=g>=0?0:1),p[1]=d[1]+g);function m(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,i,n,o){t[n]+=i[n][o]-e[n][o]}i.attr("position",d),n.attr("position",p),i.rotation=n.rotation=t.rotation,m(i),m(n)},_createAxis:function(t,e){var i=e.getData(),n=e.get("axisType"),o=c.createScaleByModel(e,n),a=i.getDataExtent("value");o.setExtent(a[0],a[1]),this._customizeScale(o,i),o.niceTicks();var r=new u("value",o,t.axisExtent,n);return r.model=e,r},_customizeScale:function(t,e){t.getTicks=function(){return e.mapArray(["value"],function(t){return t})},t.getTicksLabels=function(){return n.map(this.getTicks(),t.getLabel,t)}},_createGroup:function(t){var e=this["_"+t]=new r.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,i,o){var a=i.getExtent();o.get("lineStyle.show")&&e.add(new r.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:n.extend({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,i,n){var o=n.getData(),a=i.scale.getTicks();g(a,function(t,a){var s=i.dataToCoord(t),l=o.getItemModel(a),u=l.getModel("itemStyle.normal"),h=l.getModel("itemStyle.emphasis"),c={position:[s,0],onclick:f(this._changeTimeline,this,a)},d=y(l,u,e,c);r.setHoverStyle(d,h.getItemStyle()),l.get("tooltip")?(d.dataIndex=a,d.dataModel=n):d.dataIndex=d.dataModel=null},this)},_renderAxisLabel:function(t,e,i,n){var o=n.getModel("label.normal");if(o.get("show")){var a=n.getData(),s=i.scale.getTicks(),l=c.getFormattedLabels(i,o.get("formatter")),u=i.getLabelInterval();g(s,function(n,o){if(!i.isLabelIgnored(o,u)){var s=a.getItemModel(o),h=s.getModel("label.normal"),c=s.getModel("label.emphasis"),d=i.dataToCoord(n),p=new r.Text({position:[d,0],rotation:t.labelRotation-t.rotation,onclick:f(this._changeTimeline,this,o),silent:!1});r.setTextStyle(p.style,h,{text:l[o],textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(p),r.setHoverStyle(p,r.setTextStyle({},c))}},this)}},_renderControl:function(t,e,i,a){var s=t.controlSize,l=t.rotation,u=a.getModel("controlStyle.normal").getItemStyle(),h=a.getModel("controlStyle.emphasis").getItemStyle(),c=[0,-s/2,s,s],d=a.getPlayState(),p=a.get("inverse",!0);function g(t,i,d,p){if(t){var f=function(t,e,i,a){return r.makePath(t.get(e).replace(/^path:\/\//,""),n.clone(a||{}),new o(i[0],i[1],i[2],i[3]),"center")}(a,i,c,{position:t,origin:[s/2,0],rotation:p?-l:0,rectHover:!0,style:u,onclick:d});e.add(f),r.setHoverStyle(f,h)}}g(t.nextBtnPosition,"controlStyle.nextIcon",f(this._changeTimeline,this,p?"-":"+")),g(t.prevBtnPosition,"controlStyle.prevIcon",f(this._changeTimeline,this,p?"+":"-")),g(t.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),f(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(t,e,i,n){var o=n.getData(),a=n.getCurrentIndex(),r=o.getItemModel(a).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=f(s._handlePointerDrag,s),t.ondragend=f(s._handlePointerDragend,s),x(t,a,i,n,!0)},onUpdate:function(t){x(t,a,i,n)}};this._currentPointer=y(r,r,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,o=d.asc(n.getExtent().slice());i>o[1]&&(i=o[1]),i=0&&!i[o][n];o--);if(o<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(a){var r=a.getPercentRange();i[0][n]={dataZoomId:n,start:r[0],end:r[1]}}}}),i.push(e)},e.pop=function(t){var e=a(t),i=e[e.length-1];e.length>1&&e.pop();var o={};return n(i,function(t,i){for(var n=e.length-1;n>=0;n--)if(t=e[n][i]){o[i]=t;break}}),o},e.clear=function(t){t[o]=null},e.count=function(t){return a(t).length}},"GxC+":function(t,e,i){var n=i("AmKG"),o=i("EJqA"),a=i("p1Qj"),r=i("iESn"),s=i("0UfQ"),l=i("DGK2"),u=i("1s0R"),h=o.extend({makeElOption:function(t,e,i,o,u){var h=i.axis;"angle"===h.dim&&(this.animationThreshold=Math.PI/18);var d,p=h.polar,f=p.getOtherAxis(h).getExtent();d=h["dataTo"+n.capitalFirst(h.dim)](e);var g=o.get("type");if(g&&"none"!==g){var v=r.buildElStyle(o),m=c[g](h,p,d,f,v);m.style=v,t.graphicKey=m.type,t.pointer=m}var y=function(t,e,i,n,o){var r=e.axis,u=r.dataToCoord(t),h=n.getAngleAxis().getExtent()[0];h=h/180*Math.PI;var c,d,p,f=n.getRadiusAxis().getExtent();if("radius"===r.dim){var g=s.create();s.rotate(g,g,h),s.translate(g,g,[n.cx,n.cy]),c=a.applyTransform([u,-o],g);var v=e.getModel("axisLabel").get("rotate")||0,m=l.innerTextLayout(h,v*Math.PI/180,-1);d=m.textAlign,p=m.textVerticalAlign}else{var y=f[1];c=n.coordToPoint([y+o,u]);var x=n.cx,_=n.cy;d=Math.abs(c[0]-x)/y<.3?"center":c[0]>x?"left":"right",p=Math.abs(c[1]-_)/y<.3?"middle":c[1]>_?"top":"bottom"}return{position:c,align:d,verticalAlign:p}}(e,i,0,p,o.get("label.margin"));r.buildLabelElOption(t,i,o,u,y)}});var c={line:function(t,e,i,n,o){return"angle"===t.dim?{type:"Line",shape:r.makeLineShape(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n,o){var a=t.getBandWidth(),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,n[0],n[1],(-i-a/2)*s,(a/2-i)*s)}:{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,i-a/2,i+a/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",h);var d=h;t.exports=d},GzdF:function(t,e,i){var n=i("p1Qj"),o=i("oBvO");function a(t,e,i,n){for(var o,a=[],r=0;r=0&&i.push(t)}),i}(s.originalDeps=e(r),t);s.entryCount=l.length,0===s.entryCount&&a.push(r),n.each(l,function(t){n.indexOf(s.predecessor,t)<0&&s.predecessor.push(t);var e=i(o,t);n.indexOf(e.successor,t)<0&&e.successor.push(r)})}),{graph:o,noEntryList:a}}(o),l=s.graph,u=s.noEntryList,h={};for(n.each(t,function(t){h[t]=!0});u.length;){var c=u.pop(),d=l[c],p=!!h[c];p&&(a.call(r,c,d.originalDeps.slice()),delete h[c]),n.each(d.successor,p?g:f)}n.each(h,function(){throw new Error("Circle dependency may exists")})}function f(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){h[t]=!0,f(t)}}}},HDRr:function(t,e,i){var n=i("oBvO"),o=i("RK6p"),a=i("5I3W"),r=function(t,e,i,n){o.call(this,t,e,i),this.type=n||"value",this._autoLabelInterval,this.model=null};r.prototype={constructor:r,getLabelInterval:function(){var t,e=this.model,i=e.getModel("label.normal");return null!=(t=i.get("interval"))&&"auto"!=t?t:((t=this._autoLabelInterval)||(t=this._autoLabelInterval=a.getAxisLabelInterval(n.map(this.scale.getTicks(),this.dataToCoord,this),a.getFormattedLabels(this,i.get("formatter")),i.getFont(),"horizontal"===e.get("orient")?0:90,i.get("rotate"))),t)},isLabelIgnored:function(t){if("category"===this.type){var e=this.getLabelInterval();return"function"==typeof e&&!e(t,this.scale.getLabel(t))||t%(e+1)}}},n.inherits(r,o);var s=r;t.exports=s},HJ7b:function(t,e,i){var n=i("oBvO"),o=i("U9Yr");function a(t,e,i){if(t.count())for(var o,a=e.coordinateSystem,r=e.getLayerSeries(),s=n.map(r,function(e){return n.map(e.indices,function(e){var i=a.dataToPoint(t.get("time",e));return i[1]=t.get("value",e),i})}),l=function(t){for(var e=t.length,i=t[0].length,n=[],o=[],a=0,r={},s=0;sa&&(a=u),n.push(u)}for(var h=0;ha&&(a=d)}return r.y0=o,r.max=a,r}(s),u=l.y0,h=i/l.max,c=r.length,d=r[0].indices.length,p=0;p0&&"scale"!==d){var g=a.getItemLayout(0),v=Math.max(i.getWidth(),i.getHeight())/2,m=n.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(g.cx,g.cy,v,g.startAngle,g.clockwise,m,t))}this._data=a}},dispose:function(){},_createClipPath:function(t,e,i,n,a,r,s){var l=new o.Sector({shape:{cx:t,cy:e,r0:0,r:i,startAngle:n,endAngle:n,clockwise:a}});return o.initProps(l,{shape:{endAngle:n+(a?1:-1)*Math.PI*2}},s,r),l},containPoint:function(t,e){var i=e.getData().getItemLayout(0);if(i){var n=t[0]-i.cx,o=t[1]-i.cy,a=Math.sqrt(n*n+o*o);return a<=i.r&&a>=i.r0}}});t.exports=h},HS5O:function(t,e,i){var n=i("oBvO");e.layout=function(t,e){e=e||{};var i=t.coordinateSystem,o=t.axis,a={},r=o.position,s=o.orient,l=i.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],h={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};a.position=["vertical"===s?h.vertical[r]:u[0],"horizontal"===s?h.horizontal[r]:u[3]],a.rotation=Math.PI/2*{horizontal:0,vertical:1}[s],a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],t.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),n.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var c=e.rotate;return null==c&&(c=t.get("axisLabel.rotate")),a.labelRotation="top"===r?-c:c,a.labelInterval=o.getLabelInterval(),a.z2=1,a}},Hpxy:function(t,e,i){var n=i("SKOb"),o=i("10+O"),a=i("oBvO"),r=a.getContext,s=a.extend,l=a.retrieve2,u=a.retrieve3,h={},c=0,d=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,f="12px sans-serif",g={};function v(t,e){var i=t+":"+(e=e||f);if(h[i])return h[i];for(var n=(t+"").split("\n"),o=0,a=0,r=n.length;ad&&(c=0,h={}),c++,h[i]=o,o}function m(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function y(t,e,i){return"middle"===i?t-=e/2:"bottom"===i&&(t-=e),t}function x(t,e,i,n,o){if(!e)return"";var a=(t+"").split("\n");o=_(e,i,n,o);for(var r=0,s=a.length;r=a;u++)r-=a;var h=v(i);return h>r&&(i="",h=0),r=t-h,n.ellipsis=i,n.ellipsisWidth=h,n.contentWidth=r,n.containerWidth=t,n}function b(t,e){var i=e.containerWidth,n=e.font,o=e.contentWidth;if(!i)return"";var a=v(t,n);if(a<=i)return t;for(var r=0;;r++){if(a<=o||r>=e.maxIterations){t+=e.ellipsis;break}var s=0===r?w(t,o,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*o/a):0;a=v(t=t.substr(0,s),n)}return""===t&&(t=e.placeholder),t}function w(t,e,i,n){for(var o=0,a=0,r=t.length;al)t="",a=[];else if(null!=u)for(var h=_(u-(i?i[1]+i[3]:0),e,n.ellipsis,{minChar:n.minChar,placeholder:n.placeholder}),c=0,d=a.length;ca&&A(i,t.substring(a,r)),A(i,n[2],n[1]),a=p.lastIndex}ay)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';window.open().document.write(p)}else{var f=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});a.dispatchEvent(f)}},a.register("saveAsImage",s);var l=s;t.exports=l},VvNV:function(t,e,i){var n=i("p1Qj"),o=i("+Ky8"),a=n.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0},buildPath:function(t,e){var i=e.extent/2;t.moveTo(e.x1,e.y1-i),t.bezierCurveTo(e.cpx1,e.cpy1-i,e.cpx2,e.cpy2-i,e.x2,e.y2-i),t.lineTo(e.x2,e.y2+i),t.bezierCurveTo(e.cpx2,e.cpy2+i,e.cpx1,e.cpy1+i,e.x1,e.y1+i),t.closePath()}}),r=o.extendChartView({type:"sankey",_model:null,render:function(t,e,i){var o=t.getGraph(),r=this.group,s=t.layoutInfo,l=t.getData(),u=t.getData("edge");this._model=t,r.removeAll(),r.attr("position",[s.x,s.y]),o.eachEdge(function(e){var i=new a;i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var o=e.getModel("lineStyle.normal"),s=o.get("curveness"),l=e.node1.getLayout(),h=e.node2.getLayout(),c=e.getLayout();i.shape.extent=Math.max(1,c.dy);var d=l.x+l.dx,p=l.y+c.sy+c.dy/2,f=h.x,g=h.y+c.ty+c.dy/2,v=d*(1-s)+f*s,m=p,y=d*s+f*(1-s),x=g;switch(i.setShape({x1:d,y1:p,x2:f,y2:g,cpx1:v,cpy1:m,cpx2:y,cpy2:x}),i.setStyle(o.getItemStyle()),i.style.fill){case"source":i.style.fill=e.node1.getVisual("color");break;case"target":i.style.fill=e.node2.getVisual("color")}n.setHoverStyle(i,e.getModel("lineStyle.emphasis").getItemStyle()),r.add(i),u.setItemGraphicEl(e.dataIndex,i)}),o.eachNode(function(e){var i=e.getLayout(),o=e.getModel(),a=o.getModel("label.normal"),s=o.getModel("label.emphasis"),u=new n.Rect({shape:{x:i.x,y:i.y,width:e.getLayout().dx,height:e.getLayout().dy},style:o.getModel("itemStyle.normal").getItemStyle()}),h=e.getModel("itemStyle.emphasis").getItemStyle();n.setLabelStyle(u.style,h,a,s,{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id,isRectText:!0}),u.setStyle("fill",e.getVisual("color")),n.setHoverStyle(u,h),r.add(u),l.setItemGraphicEl(e.dataIndex,u),u.dataType="node"}),!this._data&&t.get("animation")&&r.setClipPath(function(t,e,i){var o=new n.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return n.initProps(o,{shape:{width:t.width+20,height:t.height+20}},e,i),o}(r.getBoundingRect(),t,function(){r.removeClipPath()})),this._data=t.getData()},dispose:function(){}});t.exports=r},"W+me":function(t,e,i){var n=i("oBvO"),o=i("45P/"),a=i("SdGi"),r=n.each,s=n.clone,l=n.map,u=n.merge,h=/^(min|max)?(.+)$/;function c(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(t,e,i){var o={width:e,height:i,aspectratio:e/i},a=!0;return n.each(t,function(t,e){var i=e.match(h);if(i&&i[1]&&i[2]){var n=i[1],r=i[2].toLowerCase();(function(t,e,i){return"min"===i?t>=e:"max"===i?t<=e:t===e})(o[r],t,n)||(a=!1)}}),a}c.prototype={constructor:c,setOption:function(t,e){t=s(t,!0);var i,h,c=this._optionBackup,d=function(t,e,i){var o,a,s=[],l=[],u=t.timeline;t.baseOption&&(a=t.baseOption);(u||t.options)&&(a=a||{},s=(t.options||[]).slice());if(t.media){a=a||{};var h=t.media;r(h,function(t){t&&t.option&&(t.query?l.push(t):o||(o=t))})}a||(a=t);a.timeline||(a.timeline=u);return r([a].concat(s).concat(n.map(l,function(t){return t.option})),function(t){r(e,function(e){e(t,i)})}),{baseOption:a,timelineOptions:s,mediaDefault:o,mediaList:l}}.call(this,t,e,!c);this._newBaseOption=d.baseOption,c?(i=c.baseOption,h=d.baseOption,r(h=h||{},function(t,e){if(null!=t){var n=i[e];if(a.hasClass(e)){t=o.normalizeToArray(t),n=o.normalizeToArray(n);var r=o.mappingToExists(n,t);i[e]=l(r,function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option})}else i[e]=u(n,t,!0)}}),d.timelineOptions.length&&(c.timelineOptions=d.timelineOptions),d.mediaList.length&&(c.mediaList=d.mediaList),d.mediaDefault&&(c.mediaDefault=d.mediaDefault)):this._optionBackup=d},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i.length){var n=t.getComponent("timeline");n&&(e=s(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e,i,n=this._api.getWidth(),o=this._api.getHeight(),a=this._mediaList,r=this._mediaDefault,u=[],h=[];if(!a.length&&!r)return h;for(var c=0,p=a.length;c-y}function b(t,e){e&&w(t,"transform","matrix("+h.call(e,",")+")")}function w(t,e,i){(!i||"linear"!==i.type&&"radial"!==i.type)&&t.setAttribute(e,i)}function S(t,e,i){if(function(t,e){var i=e?t.textFill:t.fill;return null!=i&&i!==c}(e,i)){var n=i?e.textFill:e.fill;n="transparent"===n?c:n,"none"!==t.getAttribute("clip-path")&&n===c&&(n="rgba(0, 0, 0, 0.002)"),w(t,"fill",n),w(t,"fill-opacity",e.opacity)}else w(t,"fill",c);if(function(t,e){var i=e?t.textStroke:t.stroke;return null!=i&&i!==c}(e,i)){var o=i?e.textStroke:e.stroke;w(t,"stroke",o="transparent"===o?c:o),w(t,"stroke-width",(i?e.textStrokeWidth:e.lineWidth)/(e.strokeNoScale?e.host.getLineScale():1)),w(t,"paint-order","stroke"),w(t,"stroke-opacity",e.opacity),e.lineDash?(w(t,"stroke-dasharray",e.lineDash.join(",")),w(t,"stroke-dashoffset",d(e.lineDashOffset||0))):w(t,"stroke-dasharray",""),e.lineCap&&w(t,"stroke-linecap",e.lineCap),e.lineJoin&&w(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&w(t,"stroke-miterlimit",e.miterLimit)}else w(t,"stroke",c)}var M={};M.brush=function(t){var e=t.style,i=t.__svgEl;i||(i=n("path"),t.__svgEl=i),t.path||t.createPathProxy();var o=t.path;if(t.__dirtyPath){o.beginPath(),t.buildPath(o,t.shape),t.__dirtyPath=!1;var a=function(t){for(var e=[],i=t.data,n=t.len(),o=0;o=v||!_(M)&&(b>-g&&b<0||b>g)==!!S;var A=x(s+h*f(y)),C=x(l+c*p(y));I&&(b=S?v-1e-4:1e-4-v,T=!0,9===o&&e.push("M",A,C));var L=x(s+h*f(y+b)),D=x(l+c*p(y+b));e.push("A",x(h),x(c),d(w*m),+T,+S,L,D);break;case u.Z:a="Z";break;case u.R:L=x(i[o++]),D=x(i[o++]);var P=x(i[o++]),O=x(i[o++]);e.push("M",L,D,"L",L+P,D,"L",L+P,D+O,"L",L,D+O,"L",L,D)}a&&e.push(a);for(var k=0;k0?1:-1,r=n.height>0?1:-1;return{x:n.x+a*o/2,y:n.y+r*o/2,width:n.width-a*o,height:n.height-r*o}},polar:function(t,e,i){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle}}};function g(t,e,i,n,s,l,u,h){var c=e.getItemVisual(i,"color"),d=e.getItemVisual(i,"opacity"),p=n.getModel("itemStyle.normal"),f=n.getModel("itemStyle.emphasis").getBarItemStyle();h||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(o.defaults({fill:c,opacity:d},p.getBarItemStyle()));var g=n.getShallow("cursor");g&&t.attr("cursor",g);var v=u?s.height>0?"bottom":"top":s.width>0?"left":"right";h||r(t.style,f,n,c,l,i,v),a.setHoverStyle(t,f)}t.exports=h},XMZJ:function(t,e,i){var n=i("oBvO"),o=i("p1Qj"),a=i("BFHC").extend({type:"whiskerInBox",shape:{},buildPath:function(t,e){for(var i in e)if(e.hasOwnProperty(i)&&0===i.indexOf("ends")){var n=e[i];t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1])}}});function r(t,e,i,n){o.Group.call(this),this.bodyIndex,this.whiskerIndex,this.styleUpdater=i,this._createContent(t,e,n),this.updateData(t,e,n),this._seriesModel}var s=r.prototype;function l(t,e,i){return n.map(t,function(t){return(t=t.slice())[e]=i.initBaseline,t})}function u(t){var e={};return n.each(t,function(t,i){e["ends"+i]=t}),e}function h(t){this.group=new o.Group,this.styleUpdater=t}s._createContent=function(t,e,i){var r=t.getItemLayout(e),s="horizontal"===r.chartLayout?1:0,h=0;this.add(new o.Polygon({shape:{points:i?l(r.bodyEnds,s,r):r.bodyEnds},style:{strokeNoScale:!0},z2:100})),this.bodyIndex=h++;var c=n.map(r.whiskerEnds,function(t){return i?l(t,s,r):t});this.add(new a({shape:u(c),style:{strokeNoScale:!0},z2:100})),this.whiskerIndex=h++},s.updateData=function(t,e,i){var n=this._seriesModel=t.hostModel,a=t.getItemLayout(e),r=o[i?"initProps":"updateProps"];r(this.childAt(this.bodyIndex),{shape:{points:a.bodyEnds}},n,e),r(this.childAt(this.whiskerIndex),{shape:u(a.whiskerEnds)},n,e),this.styleUpdater.call(null,this,t,e)},n.inherits(r,o.Group);var c=h.prototype;c.updateData=function(t){var e=this.group,i=this._data,n=this.styleUpdater;t.diff(i).add(function(i){if(t.hasValue(i)){var o=new r(t,i,n,!0);t.setItemGraphicEl(i,o),e.add(o)}}).update(function(o,a){var s=i.getItemGraphicEl(a);t.hasValue(o)?(s?s.updateData(t,o):s=new r(t,o,n),e.add(s),t.setItemGraphicEl(o,s)):e.remove(s)}).remove(function(t){var n=i.getItemGraphicEl(t);n&&e.remove(n)}).execute(),this._data=t},c.remove=function(){var t=this.group,e=this._data;this._data=null,e&&e.eachItemGraphicEl(function(e){e&&t.remove(e)})};var d=h;t.exports=d},XNsO:function(t,e,i){var n=i("oBvO");function o(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}e.retrieveTargetInfo=function(t,e){if(t&&("treemapZoomToNode"===t.type||"treemapRootToNode"===t.type)){var i=e.getData().tree.root,n=t.targetNode;if(n&&i.contains(n))return{node:n};var o=t.targetNodeId;if(null!=o&&(n=i.getNodeById(o)))return{node:n}}},e.getPathToRoot=o,e.aboveViewRoot=function(t,e){var i=o(t);return n.indexOf(i,e)>=0},e.wrapTreePathInfo=function(t,e){for(var i=[];t;){var n=t.dataIndex;i.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return i.reverse(),i}},XRAo:function(t,e,i){var n=i("+Ky8");n.registerAction({type:"brush",event:"brush",update:"updateView"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),n.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){})},XWoN:function(t,e,i){var n=i("oBvO"),o=i("45P/"),a=n.each,r=n.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var i=0,o=s.length;i1&&o&&o.length>1){var s=a(o)/a(r);!isFinite(s)&&(s=1),e.pinchScale=s;var l=[((n=o)[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},s=o;t.exports=s},ZV8W:function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("p1Qj");i("7yHZ"),i("cpr9"),n.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new a.Rect({shape:t.coordinateSystem.getRect(),style:o.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),n.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})},ZVES:function(t,e,i){var n=i("KEOJ"),o=i("4on/"),a=i("/jpv"),r=i("px1l"),s=i("74aW"),l=i("8FeV").normalizeRadian,u=i("b53G"),h=i("xNcQ"),c=n.CMD,d=2*Math.PI,p=1e-4;var f=[-1,-1,-1],g=[-1,-1];function v(t,e,i,n,o,a,r,s,l,h){if(h>e&&h>n&&h>a&&h>s||h1&&(void 0,c=g[0],g[0]=g[1],g[1]=c),p=u.cubicAt(e,n,a,s,g[0]),y>1&&(v=u.cubicAt(e,n,a,s,g[1]))),2==y?_e&&s>n&&s>a||s=0&&h<=1){for(var c=0,d=u.quadraticAt(e,n,a,h),p=0;pi||s<-i)return 0;var u=Math.sqrt(i*i-s*s);f[0]=-u,f[1]=u;var h=Math.abs(n-o);if(h<1e-4)return 0;if(h%d<1e-4){n=0,o=d;var c=a?1:-1;return r>=f[0]+t&&r<=f[1]+t?c:0}if(a){u=n;n=l(o),o=l(u)}else n=l(n),o=l(o);n>o&&(o+=d);for(var p=0,g=0;g<2;g++){var v=f[g];if(v+t>r){var m=Math.atan2(s,v);c=a?1:-1;m<0&&(m=d+m),(m>=n&&m<=o||m+d>=n&&m+d<=o)&&(m>Math.PI/2&&m<1.5*Math.PI&&(c=-c),p+=c)}}return p}function x(t,e,i,n,l){for(var u,d,f=0,g=0,x=0,_=0,b=0,w=0;w1&&(i||(f+=h(g,x,_,b,n,l))),1==w&&(_=g=t[w],b=x=t[w+1]),S){case c.M:g=_=t[w++],x=b=t[w++];break;case c.L:if(i){if(o.containStroke(g,x,t[w],t[w+1],e,n,l))return!0}else f+=h(g,x,t[w],t[w+1],n,l)||0;g=t[w++],x=t[w++];break;case c.C:if(i){if(a.containStroke(g,x,t[w++],t[w++],t[w++],t[w++],t[w],t[w+1],e,n,l))return!0}else f+=v(g,x,t[w++],t[w++],t[w++],t[w++],t[w],t[w+1],n,l)||0;g=t[w++],x=t[w++];break;case c.Q:if(i){if(r.containStroke(g,x,t[w++],t[w++],t[w],t[w+1],e,n,l))return!0}else f+=m(g,x,t[w++],t[w++],t[w],t[w+1],n,l)||0;g=t[w++],x=t[w++];break;case c.A:var M=t[w++],I=t[w++],T=t[w++],A=t[w++],C=t[w++],L=t[w++],D=(t[w++],1-t[w++]),P=Math.cos(C)*T+M,O=Math.sin(C)*A+I;w>1?f+=h(g,x,P,O,n,l):(_=P,b=O);var k=(n-M)*A/T+M;if(i){if(s.containStroke(M,I,A,C,C+L,D,e,k,l))return!0}else f+=y(M,I,A,C,C+L,D,k,l);g=Math.cos(C+L)*T+M,x=Math.sin(C+L)*A+I;break;case c.R:_=g=t[w++],b=x=t[w++];P=_+t[w++],O=b+t[w++];if(i){if(o.containStroke(_,b,P,b,e,n,l)||o.containStroke(P,b,P,O,e,n,l)||o.containStroke(P,O,_,O,e,n,l)||o.containStroke(_,O,_,b,e,n,l))return!0}else f+=h(P,b,P,O,n,l),f+=h(_,O,_,b,n,l);break;case c.Z:if(i){if(o.containStroke(g,x,_,b,e,n,l))return!0}else f+=h(g,x,_,b,n,l);g=_,x=b}}return i||(u=x,d=b,Math.abs(u-d)=0?c():h=setTimeout(c,-o),l=n};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(t){s=t},d}e.throttle=a,e.createOrUpdate=function(t,e,r,s){var l=t[e];if(l){var u=l[i]||l,h=l[o];if(l[n]!==r||h!==s){if(null==r||!s)return t[e]=u;(l=t[e]=a(u,r,"debounce"===s))[i]=u,l[o]=s,l[n]=r}return l}},e.clear=function(t,e){var n=t[e];n&&n[i]&&(t[e]=n[i])}},ZbaY:function(t,e,i){i("Mguy").__DEV__;var n=i("+Ky8"),o=i("j8qt"),a=i("ls2D"),r=i("CNqB"),s=i("/DTD"),l=i("N0eB"),u=i("Fg7i"),h=n.extendChartView({type:"lines",init:function(){},render:function(t,e,i){var n=t.getData(),h=this._lineDraw,c=t.get("effect.show"),d=t.get("polyline"),p=t.get("large")&&n.count()>=t.get("largeThreshold");c===this._hasEffet&&d===this._isPolyline&&p===this._isLarge||(h&&h.remove(),h=this._lineDraw=p?new u:new o(d?c?l:s:c?a:r),this._hasEffet=c,this._isPolyline=d,this._isLarge=p);var f=t.get("zlevel"),g=t.get("effect.trailLength"),v=i.getZr(),m="svg"===v.painter.getType();m||v.painter.getLayer(f).clear(!0),null==this._lastZlevel||m||v.configLayer(this._lastZlevel,{motionBlur:!1}),c&&g&&(m||v.configLayer(f,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(g/10+.9,1),0)})),this.group.add(h.group),h.updateData(n),this._lastZlevel=f},updateLayout:function(t,e,i){this._lineDraw.updateLayout(t);var n=i.getZr();"svg"===n.painter.getType()||n.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(t,e){this._lineDraw&&this._lineDraw.remove(e,!0);var i=e.getZr();"svg"===i.painter.getType()||i.painter.getLayer(this._lastZlevel).clear(!0)},dispose:function(){}});t.exports=h},a1HG:function(t,e,i){var n=i("oBvO"),o=i("SKOb"),a=i("qDEq"),r=i("xTFM"),s=[i("4feF"),i("hcUU"),i("tnMA"),i("Edas")];function l(t,e,i,o,a){r.call(this,t),this.map=e,this._nameCoordMap=n.createHashMap(),this.loadGeoJson(i,o,a)}function u(t,e,i,n){var o=i.geoModel,a=i.seriesModel,r=o?o.coordinateSystem:a?a.coordinateSystem||(a.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return r===this?r[t](n):null}l.prototype={constructor:l,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,i=0;i"),a&&(r+=u(a),null!=i&&(r+=" : ")),null!=i&&(r+=u(n)),r},getData:function(){return this._data},setData:function(t){this._data=t}});o.mixin(c,r.dataFormatMixin);var d=c;t.exports=d},a9n6:function(t,e,i){var n=i("+Ky8");i("qfZd"),i("UTEf"),i("PrmI"),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},aZtj:function(t,e,i){var n=i("BFHC"),o=i("0O9W"),a=n.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){o.buildPath(t,e,!0)}});t.exports=a},ai5x:function(t,e){var i=function(t){this.colorStops=t||[]};i.prototype={constructor:i,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var n=i;t.exports=n},aoKQ:function(t,e,i){var n=i("p1Qj"),o=i("wfRR"),a=n.Line.prototype,r=n.BezierCurve.prototype;function s(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var l=n.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){(s(e)?a:r).buildPath(t,e)},pointAt:function(t){return s(this.shape)?a.pointAt.call(this,t):r.pointAt.call(this,t)},tangentAt:function(t){var e=this.shape,i=s(e)?[e.x2-e.x1,e.y2-e.y1]:r.tangentAt.call(this,t);return o.normalize(i,i)}});t.exports=l},b1vL:function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("P9tp");i("6W4Y"),i("eu9X"),i("5yk5"),i("qfZd"),i("GxC+"),n.registerLayout(o.curry(a,"bar")),n.extendComponentView({type:"polar"})},b53G:function(t,e,i){var n=i("wfRR"),o=n.create,a=n.distSquare,r=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,h=s(3),c=1/3,d=o(),p=o(),f=o();function g(t){return t>-l&&tl||t<-l}function m(t,e,i,n,o){var a=1-o;return a*a*(a*t+3*o*e)+o*o*(o*n+3*a*i)}function y(t,e,i,n){var o=1-n;return o*(o*t+2*n*e)+n*n*i}e.cubicAt=m,e.cubicDerivativeAt=function(t,e,i,n,o){var a=1-o;return 3*(((e-t)*a+2*(i-e)*o)*a+(n-i)*o*o)},e.cubicRootAt=function(t,e,i,n,o,a){var l=n+3*(e-i)-t,u=3*(i-2*e+t),d=3*(e-t),p=t-o,f=u*u-3*l*d,v=u*d-9*l*p,m=d*d-3*u*p,y=0;if(g(f)&&g(v))g(u)?a[0]=0:(L=-d/u)>=0&&L<=1&&(a[y++]=L);else{var x=v*v-4*f*m;if(g(x)){var _=v/f,b=-_/2;(L=-u/l+_)>=0&&L<=1&&(a[y++]=L),b>=0&&b<=1&&(a[y++]=b)}else if(x>0){var w=s(x),S=f*u+1.5*l*(-v+w),M=f*u+1.5*l*(-v-w);(L=(-u-((S=S<0?-r(-S,c):r(S,c))+(M=M<0?-r(-M,c):r(M,c))))/(3*l))>=0&&L<=1&&(a[y++]=L)}else{var I=(2*f*u-3*l*v)/(2*s(f*f*f)),T=Math.acos(I)/3,A=s(f),C=Math.cos(T),L=(-u-2*A*C)/(3*l),D=(b=(-u+A*(C+h*Math.sin(T)))/(3*l),(-u+A*(C-h*Math.sin(T)))/(3*l));L>=0&&L<=1&&(a[y++]=L),b>=0&&b<=1&&(a[y++]=b),D>=0&&D<=1&&(a[y++]=D)}}return y},e.cubicExtrema=function(t,e,i,n,o){var a=6*i-12*e+6*t,r=9*e+3*n-3*t-9*i,l=3*e-3*t,u=0;if(g(r))v(a)&&(c=-l/a)>=0&&c<=1&&(o[u++]=c);else{var h=a*a-4*r*l;if(g(h))o[0]=-a/(2*r);else if(h>0){var c,d=s(h),p=(-a-d)/(2*r);(c=(-a+d)/(2*r))>=0&&c<=1&&(o[u++]=c),p>=0&&p<=1&&(o[u++]=p)}}return u},e.cubicSubdivide=function(t,e,i,n,o,a){var r=(e-t)*o+t,s=(i-e)*o+e,l=(n-i)*o+i,u=(s-r)*o+r,h=(l-s)*o+s,c=(h-u)*o+u;a[0]=t,a[1]=r,a[2]=u,a[3]=c,a[4]=c,a[5]=h,a[6]=l,a[7]=n},e.cubicProjectPoint=function(t,e,i,n,o,r,l,h,c,g,v){var y,x,_,b,w,S=.005,M=1/0;d[0]=c,d[1]=g;for(var I=0;I<1;I+=.05)p[0]=m(t,i,o,l,I),p[1]=m(e,n,r,h,I),(b=a(d,p))=0&&b=0&&c<=1&&(o[u++]=c);else{var h=r*r-4*a*l;if(g(h))(c=-r/(2*a))>=0&&c<=1&&(o[u++]=c);else if(h>0){var c,d=s(h),p=(-r-d)/(2*a);(c=(-r+d)/(2*a))>=0&&c<=1&&(o[u++]=c),p>=0&&p<=1&&(o[u++]=p)}}return u},e.quadraticExtremum=function(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n},e.quadraticSubdivide=function(t,e,i,n,o){var a=(e-t)*n+t,r=(i-e)*n+e,s=(r-a)*n+a;o[0]=t,o[1]=a,o[2]=s,o[3]=s,o[4]=r,o[5]=i},e.quadraticProjectPoint=function(t,e,i,n,o,r,l,h,c){var g,v=.005,m=1/0;d[0]=l,d[1]=h;for(var x=0;x<1;x+=.05)p[0]=y(t,i,o,x),p[1]=y(e,n,r,x),(S=a(d,p))=0&&S=e.y&&t[1]<=e.y+e.height:i.contain(i.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),i=this.getRect(),n=[],o="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),n[o]=e.toGlobalCoord(e.dataToCoord(+t)),n[1-o]=0===o?i.y+i.height/2:i.x+i.width/2,n}};var s=r;t.exports=s},bE4K:function(t,e,i){var n=i("svCk"),o=i("wfRR").applyTransform,a=i("SKOb"),r=i("rg0M"),s=i("Hpxy"),l=i("jpVL"),u=i("9q44"),h=i("G7Tm"),c=i("rvD2"),d=i("tkvv"),p=i("BFHC"),f=i("KEOJ"),g=i("ai5x"),v=i("1faS"),m=f.CMD,y=Math.round,x=Math.sqrt,_=Math.abs,b=Math.cos,w=Math.sin,S=Math.max;if(!n.canvasSupported){var M=21600,I=M/2,T=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=M+","+M,t.coordorigin="0,0"},A=function(t,e,i){return"rgb("+[t,e,i].join(",")+")"},C=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},L=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},D=function(t,e,i){return 1e5*(parseFloat(t)||0)+1e3*(parseFloat(e)||0)+i},P=function(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t},O=function(t,e,i){var n=r.parse(e);i=+i,isNaN(i)&&(i=1),n&&(t.color=A(n[0],n[1],n[2]),t.opacity=i*n[3])},k=function(t,e,i,n){var a="fill"==e,s=t.getElementsByTagName(e)[0];null!=i[e]&&"none"!==i[e]&&(a||!a&&i.lineWidth)?(t[a?"filled":"stroked"]="true",i[e]instanceof g&&L(t,s),s||(s=v.createNode(e)),a?function(t,e,i){var n,a,s=e.fill;if(null!=s)if(s instanceof g){var l,u=0,h=[0,0],c=0,d=1,p=i.getBoundingRect(),f=p.width,v=p.height;if("linear"===s.type){l="gradient";var m=i.transform,y=[s.x*f,s.y*v],x=[s.x2*f,s.y2*v];m&&(o(y,y,m),o(x,x,m));var _=x[0]-y[0],b=x[1]-y[1];(u=180*Math.atan2(_,b)/Math.PI)<0&&(u+=360),u<1e-6&&(u=0)}else{l="gradientradial",y=[s.x*f,s.y*v],m=i.transform;var w=i.scale,I=f,T=v;h=[(y[0]-p.x)/I,(y[1]-p.y)/T],m&&o(y,y,m),I/=w[0]*M,T/=w[1]*M;var C=S(I,T);c=0/C,d=2*s.r/C-c}var L=s.colorStops.slice();L.sort(function(t,e){return t.offset-e.offset});for(var D=L.length,P=[],k=[],R=0;R=2){var N=P[0][0],z=P[1][0],V=P[0][1]*e.opacity,G=P[1][1]*e.opacity;t.type=l,t.method="none",t.focus="100%",t.angle=u,t.color=N,t.color2=z,t.colors=k.join(","),t.opacity=G,t.opacity2=V}"radial"===l&&(t.focusposition=h.join(","))}else O(t,s,e.opacity)}(s,i,n):function(t,e){null!=e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof g||O(t,e.stroke,e.opacity)}(s,i),C(t,s)):(t[a?"filled":"stroked"]="false",L(t,s))},R=[[],[],[]];p.prototype.brushVML=function(t){var e=this.style,i=this._vmlEl;i||(i=v.createNode("shape"),T(i),this._vmlEl=i),k(i,"fill",e,this),k(i,"stroke",e,this);var n=this.transform,a=null!=n,r=i.getElementsByTagName("stroke")[0];if(r){var s=e.lineWidth;if(a&&!e.strokeNoScale){var l=n[0]*n[3]-n[1]*n[2];s*=x(_(l))}r.weight=s+"px"}var u=this.path||(this.path=new f);this.__dirtyPath&&(u.beginPath(),this.buildPath(u,this.shape),u.toStatic(),this.__dirtyPath=!1),i.path=function(t,e){var i,n,a,r,s,l,u=m.M,h=m.C,c=m.L,d=m.A,p=m.Q,f=[],g=t.data,v=t.len();for(r=0;r.01?H&&(F+=.0125):Math.abs(U-N)<1e-4?H&&FE?A-=.0125:A+=.0125:H&&UN?T+=.0125:T-=.0125),f.push(Z,y(((E-z)*O+D)*M-I),",",y(((N-V)*k+P)*M-I),",",y(((E+z)*O+D)*M-I),",",y(((N+V)*k+P)*M-I),",",y((F*O+D)*M-I),",",y((U*k+P)*M-I),",",y((T*O+D)*M-I),",",y((A*k+P)*M-I)),s=T,l=A;break;case m.R:var j=R[0],K=R[1];j[0]=g[r++],j[1]=g[r++],K[0]=j[0]+g[r++],K[1]=j[1]+g[r++],e&&(o(j,j,e),o(K,K,e)),j[0]=y(j[0]*M-I),K[0]=y(K[0]*M-I),j[1]=y(j[1]*M-I),K[1]=y(K[1]*M-I),f.push(" m ",j[0],",",j[1]," l ",K[0],",",j[1]," l ",K[0],",",K[1]," l ",j[0],",",K[1]);break;case m.Z:f.push(" x ")}if(i>0){f.push(n);for(var Y=0;Y100&&(N=0,E={});var i,n=z.style;try{n.font=t,i=n.fontFamily.split(",")[0]}catch(t){}e={style:n.fontStyle||"normal",variant:n.fontVariant||"normal",weight:n.fontWeight||"normal",size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},E[t]=e,N++}return e}(a.font),b=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';i=i||s.getBoundingRect(r,b,m,x);var w=this.transform;if(w&&!n&&(V.copy(e),V.applyTransform(w),e=V),n)f=e.x,g=e.y;else{var S=a.textPosition,M=a.textDistance;if(S instanceof Array)f=e.x+P(S[0],e.width),g=e.y+P(S[1],e.height),m=m||"left";else{var I=s.adjustTextPositionOnRect(S,e,M);f=I.x,g=I.y,m=m||I.textAlign,x=x||I.textVerticalAlign}}f=s.adjustTextX(f,i.width,m),g=s.adjustTextY(g,i.height,x),g+=i.height/2;var A,L,O,R=v.createNode,B=this._textVmlEl;B?L=(A=(O=B.firstChild).nextSibling).nextSibling:(B=R("line"),A=R("path"),L=R("textpath"),O=R("skew"),L.style["v-text-align"]="left",T(B),A.textpathok=!0,L.on=!0,B.from="0 0",B.to="1000 0.05",C(B,O),C(B,A),C(B,L),this._textVmlEl=B);var G=[f,g],W=B.style;w&&n?(o(G,G,w),O.on=!0,O.matrix=w[0].toFixed(3)+","+w[2].toFixed(3)+","+w[1].toFixed(3)+","+w[3].toFixed(3)+",0,0",O.offset=(y(G[0])||0)+","+(y(G[1])||0),O.origin="0 0",W.left="0px",W.top="0px"):(O.on=!1,W.left=y(f)+"px",W.top=y(g)+"px"),L.string=String(r).replace(/&/g,"&").replace(/"/g,""");try{L.style.font=b}catch(t){}k(B,"fill",{fill:a.textFill,opacity:a.opacity},this),k(B,"stroke",{stroke:a.textStroke,opacity:a.opacity,lineDash:a.lineDash},this),B.style.zIndex=D(this.zlevel,this.z,this.z2),C(t,B)}},W=function(t){L(t,this._textVmlEl),this._textVmlEl=null},H=function(t){C(t,this._textVmlEl)},F=[u,h,c,p,d],U=0;U=0},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}}),s=r;t.exports=s},bfXS:function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("TiqB").updateCenterAndZoom;n.registerAction({type:"geoRoam",event:"geoRoam",update:"updateLayout"},function(t,e){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},function(e){var n=e.coordinateSystem;if("geo"===n.type){var r=a(n,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom),"series"===i&&o.each(e.seriesGroup,function(t){t.setCenter(r.center),t.setZoom(r.zoom)})}})})},bjId:function(t,e,i){i("i58C");var n=i("SdGi").extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=n},bmo2:function(t,e,i){var n=i("BFHC"),o=i("VAax"),a=n.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:o(n.prototype.brush),buildPath:function(t,e){var i=e.cx,n=e.cy,o=Math.max(e.r0||0,0),a=Math.max(e.r,0),r=e.startAngle,s=e.endAngle,l=e.clockwise,u=Math.cos(r),h=Math.sin(r);t.moveTo(u*o+i,h*o+n),t.lineTo(u*a+i,h*a+n),t.arc(i,n,a,r,s,!l),t.lineTo(Math.cos(s)*o+i,Math.sin(s)*o+n),0!==o&&t.arc(i,n,o,s,r,l),t.closePath()}});t.exports=a},btlm:function(t,e,i){var n=i("oBvO"),o=i("SCTg"),a=i("p1Qj"),r=i("lpRi").createSymbol,s=i("Jw9/"),l=i("24Xl"),u=o.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),o=e.textStyleModel,r=o.getFont(),l=o.getTextColor(),u=this._getItemAlign(),h=e.itemSize,c=this._getViewData(),d=c.endsText,p=n.retrieve(e.get("showLabel",!0),!d);d&&this._renderEndsText(t,d[0],h,p,u),n.each(c.viewPieceList,function(o){var s=o.piece,c=new a.Group;c.onclick=n.bind(this._onItemClick,this,s),this._enableHoverLink(c,o.indexInModelPieceList);var d=e.getRepresentValue(s);if(this._createItemSymbol(c,d,[0,0,h[0],h[1]]),p){var f=this.visualMapModel.getValueState(d);c.add(new a.Text({style:{x:"right"===u?-i:h[0]+i,y:h[1]/2,text:s.text,textVerticalAlign:"middle",textAlign:u,textFont:r,textFill:l,opacity:"outOfRange"===f?.5:1}}))}t.add(c)},this),d&&this._renderEndsText(t,d[1],h,p,u),s.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function i(t){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:t,batch:l.convertDataIndex(i.findTargetDataIndices(e))})}t.on("mouseover",n.bind(i,this,"highlight")).on("mouseout",n.bind(i,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return l.getItemAlign(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(t,e,i,n,o){if(e){var r=new a.Group,s=this.visualMapModel.textStyleModel;r.add(new a.Text({style:{x:n?"right"===o?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?o:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(r)}},_getViewData:function(){var t=this.visualMapModel,e=n.map(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),i=t.get("text"),o=t.get("orient"),a=t.get("inverse");return("horizontal"===o?a:!a)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},_createItemSymbol:function(t,e,i){t.add(r(this.getControllerVisual(e,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,i=e.option,o=n.clone(i.selected),a=e.getSelectedMapKey(t);"single"===i.selectedMode?(o[a]=!0,n.each(o,function(t,e){o[e]=e===a})):o[a]=!o[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}});t.exports=u},bwLl:function(t,e,i){var n=i("J4Uc").extend({type:"dataZoom.select"});t.exports=n},c7Jr:function(t,e,i){var n=i("+Ky8"),o=i("cKY8"),a=i("oBvO"),r=i("45P/").defaultEmphasis,s=i("Xp4g"),l=i("AmKG").encodeHTML,u=i("/OzZ"),h=n.extendSeriesModel({type:"series.graph",init:function(t){h.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){h.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){h.superApply(this,"mergeDefaultAndTheme",arguments),r(t.edgeLabel,["show"])},getInitialData:function(t,e){var i=t.edges||t.links||[],n=t.data||t.nodes||[],o=this;if(n&&i)return u(n,i,this,!0,function(t,i){t.wrapMethod("getItemModel",function(t){var e=o._categoriesModels,i=t.getShallow("category"),n=e[i];return n&&(n.parentModel=t.parentModel,t.parentModel=n),t});var n=o.getModel("edgeLabel"),a=new s({label:n.option},n.parentModel,e);function r(t){return(t=this.parsePath(t))&&"label"===t[0]?a:this.parentModel}i.wrapMethod("getItemModel",function(t){return t.customizeGetParent(r),t})}).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getData(),o=this.getDataParams(t,i),a=n.graph.getEdgeByIndex(t),r=n.getName(a.node1.dataIndex),s=n.getName(a.node2.dataIndex),u=[];return null!=r&&u.push(r),null!=s&&u.push(s),u=l(u.join(" > ")),o.value&&(u+=" : "+l(o.value)),u}return h.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=a.map(this.option.categories||[],function(t){return null!=t.value?t:a.extend({value:0},t)}),e=new o(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t,!0)})},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return h.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{normal:{position:"middle"},emphasis:{}},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{normal:{show:!1,formatter:"{b}"},emphasis:{show:!0}},itemStyle:{normal:{},emphasis:{}},lineStyle:{normal:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{}}}}),c=h;t.exports=c},cKY8:function(t,e,i){(function(e){i("Mguy").__DEV__;var n=i("oBvO"),o=i("Xp4g"),a=i("YgfO"),r=i("45P/"),s=n.isObject,l="undefined"==typeof window?e:window,u={float:void 0===l.Float64Array?Array:l.Float64Array,int:void 0===l.Int32Array?Array:l.Int32Array,ordinal:Array,number:Array,time:Array},h=["stackedOn","hasItemOption","_nameList","_idList","_rawData"];function c(t,e){n.each(h.concat(e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods}function d(t){this._array=t||[]}d.prototype.pure=!1,d.prototype.count=function(){return this._array.length},d.prototype.getItem=function(t){return this._array[t]};var p=function(t,e){t=t||["x","y"];for(var i={},n=[],o=0;o=0?a[l]=new u.constructor(r[l].length):a[l]=r[l]}return o}f.type="list",f.hasItemOption=!0,f.getDimension=function(t){return isNaN(t)||(t=this.dimensions[t]||t),t},f.getDimensionInfo=function(t){return n.clone(this._dimensionInfos[this.getDimension(t)])},f.initData=function(t,e,i){t=t||[],n.isArray(t)&&(t=new d(t)),this._rawData=t;var o,a=this._storage={},s=this.indices=[],l=this.dimensions,h=this._dimensionInfos,c=t.count(),p=[],f={};e=e||[];for(var g=0;g0&&(S+="__ec__"+f[w]),f[w]++),S&&(p[g]=S)}this._nameList=e,this._idList=p},f.count=function(){return this.indices.length},f.get=function(t,e,i){var n=this._storage,o=this.indices[e];if(null==o||!n[t])return NaN;var a=n[t][o];if(i){var r=this._dimensionInfos[t];if(r&&r.stackable)for(var s=this.stackedOn;s;){var l=s.get(t,e);(a>=0&&l>0||a<=0&&l<0)&&(a+=l),s=s.stackedOn}}return a},f.getValues=function(t,e,i){var o=[];n.isArray(t)||(i=e,e=t,t=this.dimensions);for(var a=0,r=t.length;al&&(l=a));return this._extent[t+!!e]=[s,l]}return[1/0,-1/0]},f.getSum=function(t,e){var i=0;if(this._storage[t])for(var n=0,o=this.count();nt))return a;o=a-1}}return-1},f.indicesOfNearest=function(t,e,i,n){var o=[];if(!this._storage[t])return o;null==n&&(n=1/0);for(var a=Number.MAX_VALUE,r=-1,s=0,l=this.count();s=0&&r<0)&&(a=h,r=u,o.length=0),o.push(s))}return o},f.getRawIndex=function(t){var e=this.indices[t];return null==e?-1:e},f.getRawDataItem=function(t){return this._rawData.getItem(this.getRawIndex(t))},f.getName=function(t){return this._nameList[this.indices[t]]||""},f.getId=function(t){return this._idList[this.indices[t]]||this.getRawIndex(t)+""},f.each=function(t,e,i,o){"function"==typeof t&&(o=i,i=e,e=t,t=[]);var a=[],r=(t=n.map(g(t),this.getDimension,this)).length,s=this.indices;o=o||this;for(var l=0;lp-f&&(c=p-f,u.length=c);for(var g=0;ge[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},isLabelIgnored:function(t){if("category"===this.type){var e=this.getLabelInterval();return"function"==typeof e&&!e(t,this.scale.getLabel(t))||t%(e+1)}},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},n.inherits(a,o);var r=a;t.exports=r},dNIX:function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("ZbD3"),r=i("/lnI");i("u06U"),i("8LLp"),i("AU9v");n.extendComponentView({type:"parallel",render:function(t,e,i){this._model=t,this._api=i,this._handlers||(this._handlers={},o.each(s,function(t,e){i.getZr().on(e,this._handlers[e]=o.bind(t,this))},this)),a.createOrUpdate(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,e){o.each(this._handlers,function(t,i){e.getZr().off(i,t)}),this._handlers=null},_throttledDispatchExpand:function(t){this._dispatchExpand(t)},_dispatchExpand:function(t){t&&this._api.dispatchAction(o.extend({type:"parallelAxisExpand"},t))}});var s={mousedown:function(t){l(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(l(this,"click")&&e){var i=[t.offsetX,t.offsetY];if(Math.pow(e[0]-i[0],2)+Math.pow(e[1]-i[1],2)>5)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==n.behavior&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&l(this,"mousemove")){var e=this._model,i=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),n=i.behavior;"jump"===n&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===n?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===n&&null})}}};function l(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===e}n.registerPreprocessor(r)},dbZF:function(t,e,i){i("Mguy").__DEV__;var n=i("4NL3"),o=i("cKY8"),a=i("oBvO"),r=i("AmKG").encodeHTML;i("0tn1");function s(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=a.map(e,function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),a.mergeAll([e,t[0],t[1]])}))}var l=n.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.normal.color",init:function(t){s(t),l.superApply(this,"init",arguments)},mergeOption:function(t){s(t),l.superApply(this,"mergeOption",arguments)},getInitialData:function(t,e){var i=new o(["value"],this);return i.hasItemOption=!1,i.initData(t.data,[],function(t,e,n,o){if(t instanceof Array)return NaN;i.hasItemOption=!0;var a=t.value;return null!=a?a instanceof Array?a[o]:a:void 0}),i},formatTooltip:function(t){var e=this.getData().getItemModel(t),i=e.get("name");if(i)return i;var n=e.get("fromName"),o=e.get("toName"),a=[];return null!=n&&a.push(n),null!=o&&a.push(o),r(a.join(" > "))},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{normal:{show:!1,position:"end"}},lineStyle:{normal:{opacity:.5}}}}),u=l;t.exports=u},dsSd:function(t,e,i){var n=i("Jw9/"),o=i("9erC"),a=i("oBvO");function r(t,e,i){a.each(t,function(t){var n,o,a,r=0,s=t.length;for(t.sort(g),a=0;a0){var l=n.getLayout().y+o;n.setLayout({y:l},!0)}r=n.getLayout().y+n.getLayout().dy+e}if((o=r-e-i)>0){l=n.getLayout().y-o;for(n.setLayout({y:l},!0),r=n.getLayout().y,a=s-2;a>=0;--a)(o=(n=t[a]).getLayout().y+n.getLayout().dy+e-r)>0&&(l=n.getLayout().y-o,n.setLayout({y:l},!0)),r=n.getLayout().y}})}function s(t,e){a.each(t.slice().reverse(),function(t){a.each(t,function(t){if(t.outEdges.length){var i=p(t.outEdges,l)/p(t.outEdges,m),n=t.getLayout().y+(i-f(t))*e;t.setLayout({y:n},!0)}})})}function l(t){return f(t.node2)*t.getValue()}function u(t,e){a.each(t,function(t){a.each(t,function(t){if(t.inEdges.length){var i=p(t.inEdges,h)/p(t.inEdges,m),n=t.getLayout().y+(i-f(t))*e;t.setLayout({y:n},!0)}})})}function h(t){return f(t.node1)*t.getValue()}function c(t,e){return t.node2.getLayout().y-e.node2.getLayout().y}function d(t,e){return t.node1.getLayout().y-e.node1.getLayout().y}function p(t,e){for(var i=0,n=t.length,o=-1;++oe?1:t===e?0:NaN}function m(t){return t.getValue()}t.exports=function(t,e,i){t.eachSeriesByType("sankey",function(t){var i=t.get("nodeWidth"),l=t.get("nodeGap"),h=function(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=h;var f=h.width,g=h.height,y=t.getGraph(),x=y.nodes,_=y.edges;!function(t){a.each(t,function(t){var e=p(t.outEdges,m),i=p(t.inEdges,m),n=Math.max(e,i);t.setLayout({value:n},!0)})}(x),function(t,e,i,n,l,h,p){(function(t,e,i){for(var n=t,o=null,r=0;n.length;){o=[];for(var s=0,l=n.length;s0;l--)s(h,c*=.99),r(h,n,i),u(h,c),r(h,n,i)}(t,e,h,n,p),function(t){a.each(t,function(t){t.outEdges.sort(c),t.inEdges.sort(d)}),a.each(t,function(t){var e=0,i=0;a.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),a.each(t.inEdges,function(t){t.setLayout({ty:i},!0),i+=t.getLayout().dy})})}(t)}(x,_,i,l,f,g,0!==a.filter(x,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"))})}},dwlc:function(t,e,i){var n=i("oBvO");function o(){var t=n.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}o.prototype={update:function(t,e,i,n,o,a){var r=this._getBrush(),s=this._getGradient(t,o,"inRange"),l=this._getGradient(t,o,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),d=t.length;h.width=e,h.height=i;for(var p=0;p0){var I=a(m)?s:l;m>0&&(m=m*S+w),x[_++]=I[M],x[_++]=I[M+1],x[_++]=I[M+2],x[_++]=I[M+3]*m*256}else _+=4}return c.putImageData(y,0,0),h},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=n.createCanvas()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t.height=i;var o=t.getContext("2d");return o.clearRect(0,0,i,i),o.shadowOffsetX=i,o.shadowBlur=this.blurSize,o.shadowColor="#000",o.beginPath(),o.arc(-e,e,this.pointSize,0,2*Math.PI,!0),o.closePath(),o.fill(),t},_getGradient:function(t,e,i){for(var n=this._gradientPixels,o=n[i]||(n[i]=new Uint8ClampedArray(1024)),a=[0,0,0,0],r=0,s=0;s<256;s++)e[i](s/255,!0,a),o[r++]=a[0],o[r++]=a[1],o[r++]=a[2],o[r++]=a[3];return o}};var a=o;t.exports=a},eAcj:function(t,e,i){var n=i("oBvO"),o=i("ai5x"),a=function(t,e,i,n,a){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==i?.5:i,this.type="radial",this.global=a||!1,o.call(this,n)};a.prototype={constructor:a},n.inherits(a,o);var r=a;t.exports=r},eBPL:function(t,e,i){var n=i("+Ky8"),o=i("oBvO");function a(t,e){e.update="updateView",n.registerAction(e,function(e,i){var n={};return i.eachComponent({mainType:"geo",query:e},function(i){i[t](e.name);var a=i.coordinateSystem;o.each(a.regions,function(t){n[t.name]=i.isSelected(t.name)||!1})}),{selected:n,name:e.name}})}i("tUAf"),i("7PvJ"),i("SMU3"),i("bfXS"),a("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),a("select",{type:"geoSelect",event:"geoselected"}),a("unSelect",{type:"geoUnSelect",event:"geounselected"})},eIOJ:function(t,e,i){var n=i("2qQX");e.zrender=n;var o=i("0UfQ");e.matrix=o;var a=i("wfRR");e.vector=a;var r=i("oBvO"),s=i("rg0M");e.color=s;var l=i("p1Qj");e.graphic=l;var u=i("U9Yr");e.number=u;var h=i("AmKG");e.format=h;var c=i("ZbD3");c.throttle;e.throttle=c.throttle;var d=i("I7T1");e.helper=d;var p=i("cKY8");e.List=p;var f=i("Xp4g");e.Model=f;var g=i("RK6p");e.Axis=g;var v=i("svCk");e.env=v;var m=i("qDEq");e.parseGeoJson=m;var y={};r.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(t){y[t]=r[t]}),e.util=y},eLG8:function(t,e,i){i("sSWk"),i("SQPA")},eetL:function(t,e,i){var n=i("4NL3"),o=i("/OzZ"),a=i("AmKG").encodeHTML,r=n.extend({type:"series.sankey",layoutInfo:null,getInitialData:function(t){var e=t.edges||t.links,i=t.data||t.nodes;if(i&&e)return o(i,e,this,!0).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,i){if("edge"===i){var n=this.getDataParams(t,i),o=n.data,s=o.source+" -- "+o.target;return n.value&&(s+=" : "+n.value),a(s)}return r.superCall(this,"formatTooltip",t,e)},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",nodeWidth:20,nodeGap:8,layoutIterations:32,label:{normal:{show:!0,position:"right",color:"#000",fontSize:12},emphasis:{show:!0}},itemStyle:{normal:{borderWidth:1,borderColor:"#333"}},lineStyle:{normal:{color:"#314656",opacity:.2,curveness:.5},emphasis:{opacity:.6}},animationEasing:"linear",animationDuration:1e3}}),s=r;t.exports=s},eu9X:function(t,e,i){i("6W4Y"),i("MtR+")},"f/RH":function(t,e,i){var n=i("oBvO"),o=i("YppR"),a=i("N/Vq"),r=i("SCTg"),s=i("p1Qj"),l=i("U9Yr"),u=i("2y1L"),h=i("24Xl"),c=i("45P/"),d=l.linearMap,p=n.each,f=Math.min,g=Math.max,v=12,m=6,y=r.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var i=t.get("text");this._renderEndsText(e,i,0),this._renderEndsText(e,i,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var o=this.visualMapModel,a=o.get("textGap"),r=o.itemSize,l=this._shapes.barGroup,u=this._applyTransform([r[0]/2,0===i?-a:r[1]+a],l),h=this._applyTransform(0===i?"bottom":"top",l),c=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===c?"middle":h,textAlign:"horizontal"===c?h:"center",text:n,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,i=this._shapes,o=e.itemSize,a=this._orient,r=this._useHandle,s=h.getItemAlign(e,this.api,o),l=i.barGroup=this._createBarGroup(s);l.add(i.outOfRange=x()),l.add(i.inRange=x(null,r?b(this._orient):null,n.bind(this._dragHandle,this,"all",!1),n.bind(this._dragHandle,this,"all",!0)));var u=e.textStyleModel.getTextRect("国"),c=g(u.width,u.height);r&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(l,0,o,c,a,s),this._createHandle(l,1,o,c,a,s)),this._createIndicator(l,o,c,a),t.add(l)},_createHandle:function(t,e,i,o,r){var l=n.bind(this._dragHandle,this,e,!1),u=n.bind(this._dragHandle,this,e,!0),h=x(function(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}(e,o),b(this._orient),l,u);h.position[0]=i[0],t.add(h);var c=this.visualMapModel.textStyleModel,d=new s.Text({draggable:!0,drift:l,onmousemove:function(t){a.stop(t.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:c.getFont(),textFill:c.getTextColor()}});this.group.add(d);var p=["horizontal"===r?o/2:1.5*o,"horizontal"===r?0===e?-1.5*o:1.5*o:0===e?-o/2:o/2],f=this._shapes;f.handleThumbs[e]=h,f.handleLabelPoints[e]=p,f.handleLabels[e]=d},_createIndicator:function(t,e,i,n){var o=x([[0,0]],"move");o.position[0]=e[0],o.attr({invisible:!0,silent:!0}),t.add(o);var a=this.visualMapModel.textStyleModel,r=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:a.getFont(),textFill:a.getTextColor()}});this.group.add(r);var l=["horizontal"===n?i/2:m+3,0],u=this._shapes;u.indicator=o,u.indicatorLabel=r,u.indicatorLabelPoint=l},_dragHandle:function(t,e,i,n){if(this._useHandle){if(this._dragging=!e,!e){var o=this._applyTransform([i,n],this._shapes.barGroup,!0);this._updateInterval(t,o[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():_(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t.getExtent(),n=[0,t.itemSize[1]];this._handleEnds=[d(e[0],i,n,!0),d(e[1],i,n,!0)]},_updateInterval:function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds,o=[0,i.itemSize[1]];u(e,n,o,t,0);var a=i.getExtent();this._dataInterval=[d(n[0],o,a,!0),d(n[1],o,a,!0)]},_updateView:function(t){var e=this.visualMapModel,i=e.getExtent(),n=this._shapes,o=[0,e.itemSize[1]],a=t?o:this._handleEnds,r=this._createBarVisual(this._dataInterval,i,a,"inRange"),s=this._createBarVisual(i,i,o,"outOfRange");n.inRange.setStyle({fill:r.barColor,opacity:r.opacity}).setShape("points",r.barPoints),n.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(a,r)},_createBarVisual:function(t,e,i,n){var a={forceState:n,convertOpacityToAlpha:!0},r=this._makeColorGradient(t,a),s=[this.getControllerVisual(t[0],"symbolSize",a),this.getControllerVisual(t[1],"symbolSize",a)],l=this._createBarPoints(i,s);return{barColor:new o(0,0,0,1,r),barPoints:l,handlesColor:[r[0].color,r[r.length-1].color]}},_makeColorGradient:function(t,e){var i=[],n=(t[1]-t[0])/100;i.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var o=1;o<100;o++){var a=t[0]+n*o;if(a>t[1])break;i.push({color:this.getControllerVisual(a,"color",e),offset:o/100})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},_createBarPoints:function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||i?"horizontal"===e&&i?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||i?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,o=i.handleThumbs,a=i.handleLabels;p([0,1],function(r){var l=o[r];l.setStyle("fill",e.handlesColor[r]),l.position[1]=t[r];var u=s.applyTransform(i.handleLabelPoints[r],s.getTransform(l,this.group));a[r].setStyle({x:u[0],y:u[1],text:n.formatValueText(this._dataInterval[r]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===r?"bottom":"top":"left",i.barGroup)})},this)}},_showIndicator:function(t,e,i,n){var o=this.visualMapModel,a=o.getExtent(),r=o.itemSize,l=[0,r[1]],u=d(t,a,l,!0),h=this._shapes,c=h.indicator;if(c){c.position[1]=u,c.attr("invisible",!1),c.setShape("points",function(t,e,i,n){return t?[[0,-f(e,g(i,0))],[m,0],[0,f(e,g(n-i,0))]]:[[0,0],[5,-5],[5,5]]}(!!i,n,u,r[1]));var p=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});c.setStyle("fill",p);var v=s.applyTransform(h.indicatorLabelPoint,s.getTransform(c,this.group)),y=h.indicatorLabel;y.attr("invisible",!1);var x=this._applyTransform("left",h.barGroup),_=this._orient;y.setStyle({text:(i||"")+o.formatValueText(e),textVerticalAlign:"horizontal"===_?x:"middle",textAlign:"horizontal"===_?"center":x,x:v[0],y:v[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,n=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);n[1]=f(g(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}}).on("mouseout",function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var o=[0,n[1]],a=i.getExtent();t=f(g(o[0],t),o[1]);var r=function(t,e,i){var n=v/2,o=t.get("hoverLinkDataSize");o&&(n=d(o,e,i,!0)/2);return n}(i,a,o),s=[t-r,t+r],l=d(t,o,a,!0),u=[d(s[0],o,a,!0),d(s[1],o,a,!0)];s[0]o[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",r):u[1]===1/0?this._showIndicator(l,u[0],"> ",r):this._showIndicator(l,l,"≈ ",r));var p=this._hoverLinkDataIndices,m=[];(e||_(i))&&(m=this._hoverLinkDataIndices=i.findTargetDataIndices(u));var y=c.compressBatches(p,m);this._dispatchHighDown("downplay",h.convertDataIndex(y[0])),this._dispatchHighDown("highlight",h.convertDataIndex(y[1]))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,i=this.visualMapModel;if(e&&null!=e.dataIndex){var n=this.ecModel.getSeriesByIndex(e.seriesIndex);if(i.isTargetSeries(n)){var o=n.getData(e.dataType),a=o.getDimension(i.getDataDimension(o)),r=o.get(a,e.dataIndex,!0);isNaN(r)||this._showIndicator(r,r)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",h.convertDataIndex(t)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,i,o){var a=s.getTransform(e,o?null:this.group);return s[n.isArray(t)?"applyTransform":"transformDirection"](t,a,i)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function x(t,e,i,n){return new s.Polygon({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){a.stop(t.event)},ondragend:n})}function _(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function b(t){return"vertical"===t?"ns-resize":"ew-resize"}var w=y;t.exports=w},f6Jd:function(t,e,i){i("gv1b"),i("J4Uc"),i("/QIB"),i("bwLl"),i("S9SU"),i("S4nB"),i("QTAp")},fKOy:function(t,e,i){i("Mguy").__DEV__;var n=i("+Ky8"),o=i("oBvO"),a=i("lpRi").createSymbol,r=i("p1Qj"),s=i("U+iT").makeBackground,l=i("Jw9/"),u=o.curry,h=o.each,c=r.Group,d=n.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new c),this._backgroundEl},getContentGroup:function(){return this._contentGroup},render:function(t,e,i){if(this.resetInner(),t.get("show",!0)){var n=t.get("align");n&&"auto"!==n||(n="right"===t.get("left")&&"vertical"===t.get("orient")?"right":"left"),this.renderInner(n,t,e,i);var a=t.getBoxLayoutParams(),r={width:i.getWidth(),height:i.getHeight()},u=t.get("padding"),h=l.getLayoutRect(a,r,u),c=this.layoutInner(t,n,h),d=l.getLayoutRect(o.defaults({width:c.width,height:c.height},a),r,u);this.group.attr("position",[d.x-c.x,d.y-c.y]),this.group.add(this._backgroundEl=s(c,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl)},renderInner:function(t,e,i,n){var a=this.getContentGroup(),r=o.createHashMap(),s=e.get("selectedMode");h(e.getData(),function(o,l){var h=o.get("name");if(this.newlineDisabled||""!==h&&"\n"!==h){var d=i.getSeriesByName(h)[0];if(!r.get(h))if(d){var v=d.getData(),m=v.getVisual("color");"function"==typeof m&&(m=m(d.getDataParams(0)));var y=v.getVisual("legendSymbol")||"roundRect",x=v.getVisual("symbol");this._createItem(h,l,o,e,y,x,t,m,s).on("click",u(p,h,n)).on("mouseover",u(f,d,null,n)).on("mouseout",u(g,d,null,n)),r.set(h,!0)}else i.eachRawSeries(function(i){if(!r.get(h)&&i.legendDataProvider){var a=i.legendDataProvider(),c=a.indexOfName(h);if(c<0)return;var d=a.getItemVisual(c,"color");this._createItem(h,l,o,e,"roundRect",null,t,d,s).on("click",u(p,h,n)).on("mouseover",u(f,i,h,n)).on("mouseout",u(g,i,h,n)),r.set(h,!0)}},this)}else a.add(new c({newline:!0}))},this)},_createItem:function(t,e,i,n,s,l,u,h,d){var p=n.get("itemWidth"),f=n.get("itemHeight"),g=n.get("inactiveColor"),v=n.isSelected(t),m=new c,y=i.getModel("textStyle"),x=i.get("icon"),_=i.getModel("tooltip"),b=_.parentModel;if(s=x||s,m.add(a(s,0,0,p,f,v?h:g,!0)),!x&&l&&(l!==s||"none"==l)){var w=.8*f;"none"===l&&(l="circle"),m.add(a(l,(p-w)/2,(f-w)/2,w,w,v?h:g))}var S="left"===u?p+5:-5,M=u,I=n.get("formatter"),T=t;"string"==typeof I&&I?T=I.replace("{name}",null!=t?t:""):"function"==typeof I&&(T=I(t)),m.add(new r.Text({style:r.setTextStyle({},y,{text:T,x:S,y:f/2,textFill:v?y.getTextColor():g,textAlign:M,textVerticalAlign:"middle"})}));var A=new r.Rect({shape:m.getBoundingRect(),invisible:!0,tooltip:_.get("show")?o.extend({content:t,formatter:b.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:n.componentIndex,name:t,$vars:["name"]}},_.option):null});return m.add(A),m.eachChild(function(t){t.silent=!0}),A.silent=!d,this.getContentGroup().add(m),r.setHoverStyle(m),m.__legendDataIndex=e,m},layoutInner:function(t,e,i){var n=this.getContentGroup();l.box(t.get("orient"),n,t.get("itemGap"),i.width,i.height);var o=n.getBoundingRect();return n.attr("position",[-o.x,-o.y]),this.group.getBoundingRect()}});function p(t,e){e.dispatchAction({type:"legendToggleSelect",name:t})}function f(t,e,i){var n=i.getZr().storage.getDisplayList()[0];n&&n.useHoverLayer||t.get("legendHoverLink")&&i.dispatchAction({type:"highlight",seriesName:t.name,name:e})}function g(t,e,i){var n=i.getZr().storage.getDisplayList()[0];n&&n.useHoverLayer||t.get("legendHoverLink")&&i.dispatchAction({type:"downplay",seriesName:t.name,name:e})}t.exports=d},"feM/":function(t,e,i){var n=i("+Ky8"),o=i("oBvO");i("0xs8"),i("qpWw");var a=i("O9HX"),r=i("BNlM"),s=i("Ou1s");i("ZV8W"),n.registerVisual(o.curry(a,"line","circle","line")),n.registerLayout(o.curry(r,"line")),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,o.curry(s,"line"))},frsH:function(t,e,i){var n=i("+Ky8"),o=i("oBvO");function a(t,e,i){var n,a={},r="toggleSelected"===t;return i.eachComponent("legend",function(i){r&&null!=n?i[n?"select":"unSelect"](e.name):(i[t](e.name),n=i.isSelected(e.name));var s=i.getData();o.each(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);a.hasOwnProperty(e)?a[e]=a[e]&&n:a[e]=n}})}),{name:e.name,selected:a}}n.registerAction("legendToggleSelect","legendselectchanged",o.curry(a,"toggleSelected")),n.registerAction("legendSelect","legendselected",o.curry(a,"select")),n.registerAction("legendUnSelect","legendunselected",o.curry(a,"unSelect"))},frvW:function(t,e,i){var n=i("+Ky8");i("RGKf");var o=n.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e;return this.ecModel.eachComponent(t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});t.exports=o},gLhT:function(t,e,i){var n=i("p1Qj"),o=i("lpRi").createSymbol,a=n.extendShape({shape:{points:null,sizes:null},symbolProxy:null,buildPath:function(t,e){for(var i=e.points,n=e.sizes,o=this.symbolProxy,a=o.shape,r=0;r=0;a--){var r=n[a],s=o[a],l=r[0]-s[0]/2,u=r[1]-s[1]/2;if(t>=l&&e>=u&&t<=l+s[0]&&e<=u+s[1])return a}return-1}});function r(){this.group=new n.Group,this._symbolEl=new a({})}var s=r.prototype;s.updateData=function(t){this.group.removeAll();var e=this._symbolEl,i=t.hostModel;e.setShape({points:t.mapArray(t.getItemLayout),sizes:t.mapArray(function(e){var i=t.getItemVisual(e,"symbolSize");return i instanceof Array||(i=[i,i]),i})}),e.symbolProxy=o(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor,e.useStyle(i.getModel("itemStyle.normal").getItemStyle(["color"]));var n=t.getVisual("color");n&&e.setColor(n),e.seriesIndex=i.seriesIndex,e.on("mousemove",function(t){e.dataIndex=null;var i=e.findDataIndex(t.offsetX,t.offsetY);i>=0&&(e.dataIndex=i)}),this.group.add(e)},s.updateLayout=function(t){var e=t.getData();this._symbolEl.setShape({points:e.mapArray(e.getItemLayout)})},s.remove=function(){this.group.removeAll()};var l=r;t.exports=l},gUWt:function(t,e,i){var n=i("oBvO"),o=i("5I3W");function a(t){return n.isObject(t)&&null!=t.value?t.value:t+""}var r={getFormattedLabels:function(){return o.getFormattedLabels(this.axis,this.get("axisLabel.formatter"))},getCategories:function(){return"category"===this.get("type")&&n.map(this.get("data"),a)},getMin:function(t){var e=this.option,i=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=i&&"dataMin"!==i&&"function"!=typeof i&&!n.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getMax:function(t){var e=this.option,i=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=i&&"dataMax"!==i&&"function"!=typeof i&&!n.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:n.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};t.exports=r},"gW+u":function(t,e){var i=32,n=7;function o(t,e,i,n){var o=e+1;if(o===i)return 1;if(n(t[o++],t[e])<0){for(;o=0;)o++;return o-e}function a(t,e,i,n,o){for(n===e&&n++;n>>1])<0?l=a:s=a+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=r}}function r(t,e,i,n,o,a){var r=0,s=0,l=1;if(a(t,e[i+o])>0){for(s=n-o;l0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),r+=o,l+=o}else{for(s=o+1;ls&&(l=s);var u=r;r=o-l,l=o-u}for(r++;r>>1);a(t,e[i+h])>0?r=h+1:l=h}return l}function s(t,e,i,n,o,a){var r=0,s=0,l=1;if(a(t,e[i+o])<0){for(s=o+1;ls&&(l=s);var u=r;r=o-l,l=o-u}else{for(s=n-o;l=0;)r=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),r+=o,l+=o}for(r++;r>>1);a(t,e[i+h])<0?l=h:r=h+1}return l}function l(t,e){var i,o,a,l=n,u=0;i=t.length;var h=[];function c(i){var c=o[i],d=a[i],p=o[i+1],f=a[i+1];a[i]=d+f,i===u-3&&(o[i+1]=o[i+2],a[i+1]=a[i+2]),u--;var g=s(t[p],t,c,d,0,e);c+=g,0!==(d-=g)&&0!==(f=r(t[c+d-1],t,p,f,f-1,e))&&(d<=f?function(i,o,a,u){var c=0;for(c=0;c=n||v>=n);if(m)break;y<0&&(y=0),y+=2}if((l=y)<1&&(l=1),1===o){for(c=0;c=0;c--)t[v+c]=t[g+c];return void(t[f]=h[p])}var m=l;for(;;){var y=0,x=0,_=!1;do{if(e(h[p],t[d])<0){if(t[f--]=t[d--],y++,x=0,0==--o){_=!0;break}}else if(t[f--]=h[p--],x++,y=0,1==--u){_=!0;break}}while((y|x)=0;c--)t[v+c]=t[g+c];if(0===o){_=!0;break}}if(t[f--]=h[p--],1==--u){_=!0;break}if(0!==(x=u-r(t[d],h,0,u,u-1,e))){for(u-=x,v=(f-=x)+1,g=(p-=x)+1,c=0;c=n||x>=n);if(_)break;m<0&&(m=0),m+=2}(l=m)<1&&(l=1);if(1===u){for(v=(f-=o)+1,g=(d-=o)+1,c=o-1;c>=0;c--)t[v+c]=t[g+c];t[f]=h[p]}else{if(0===u)throw new Error;for(g=f-(u-1),c=0;c1;){var t=u-2;if(t>=1&&a[t-1]<=a[t]+a[t+1]||t>=2&&a[t-2]<=a[t]+a[t-1])a[t-1]a[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;u>1;){var t=u-2;t>0&&a[t-1]=i;)e|=1&t,t>>=1;return t+e}(s);do{if((u=o(t,n,r,e))c&&(d=c),a(t,n,n+d,n+u,e),u=d}h.pushRun(n,u),h.mergeRuns(),s-=u,n+=u}while(0!==s);h.forceMergeRuns()}}}},gkUy:function(t,e,i){var n=i("+Ky8");i("VD21"),i("orpx");var o=i("zNa0"),a=i("Llap"),r=i("uQpj");n.registerPreprocessor(o),n.registerVisual(a),n.registerLayout(r)},gnOQ:function(t,e,i){var n=i("4R+l").createElement,o=i("oBvO"),a=o.each,r=i("tJS+"),s=i("BFHC"),l=i("rvD2"),u=i("tkvv"),h=i("jfx+"),c=i("IuDQ"),d=i("KO60"),p=i("WWns"),f=p.path,g=p.image,v=p.text;function m(t){return parseInt(t,10)}function y(t,e){return e&&t&&e.parentNode!==t}function x(t,e,i){if(y(t,e)&&i){var n=i.nextSibling;n?t.insertBefore(e,n):t.appendChild(e)}}function _(t,e){if(y(t,e)){var i=t.firstChild;i?t.insertBefore(e,i):t.appendChild(e)}}function b(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function w(t){return t.__textSvgEl}function S(t){return t.__svgEl}var M=function(t,e,i){this.root=t,this.storage=e,this._opts=i=o.extend({},i||{});var a=n("svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style["user-select"]="none",a.style.cssText="position:absolute;left:0;top:0;",this.gradientManager=new c(a),this.clipPathManager=new d(a);var r=document.createElement("div");r.style.cssText="overflow:hidden;position:relative",this._svgRoot=a,this._viewport=r,t.appendChild(r),r.appendChild(a),this.resize(i.width,i.height),this._visibleList=[]};M.prototype={constructor:M,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused();var e,i,n=this._svgRoot,o=this._visibleList,a=t.length,r=[];for(e=0;e=0;--n)if(i[n]===t)return!0;return!1}),e):null:e[0]},resize:function(t,e){var i=this._viewport;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&&this._height!==e){this._width=t,this._height=e;var o=i.style;o.width=t+"px",o.height=e+"px";var a=this._svgRoot;a.setAttribute("width",t),a.setAttribute("height",e)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,i=["width","height"][t],n=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=e[i]&&"auto"!==e[i])return parseFloat(e[i]);var r=this.root,s=document.defaultView.getComputedStyle(r);return(r[n]||m(s[i])||m(r.style[i]))-(m(s[o])||0)-(m(s[a])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToSvg:function(){this.refresh();var t=this._svgRoot.outerHTML;return"data:img/svg+xml;utf-8,"+unescape(t)}},a(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(t){var e;M.prototype[t]=(e=t,function(){r('In SVG mode painter not support method "'+e+'"')})});var I=M;t.exports=I},gv1b:function(t,e,i){i("SdGi").registerSubTypeDefaulter("dataZoom",function(){return"slider"})},gxIV:function(t,e,i){var n=i("+Ky8"),o=i("V4KR"),a=i("nUlF"),r=n.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new o(a)},render:function(t,e,i){var n=t.getData(),o=this._symbolDraw;o.updateData(n),this.group.add(o.group)},updateLayout:function(){this._symbolDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(e)},dispose:function(){}});t.exports=r},h3ZH:function(t,e){var i=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],n=function(t,e){this.extendFrom(t,!1),this.host=e};function o(t,e,i){var n=null==e.x?0:e.x,o=null==e.x2?1:e.x2,a=null==e.y?0:e.y,r=null==e.y2?0:e.y2;return e.global||(n=n*i.width+i.x,o=o*i.width+i.x,a=a*i.height+i.y,r=r*i.height+i.y),t.createLinearGradient(n,a,o,r)}function a(t,e,i){var n=i.width,o=i.height,a=Math.min(n,o),r=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(r=r*n+i.x,s=s*o+i.y,l*=a),t.createRadialGradient(r,s,0,r,s,l)}for(var r=n.prototype={constructor:n,host:null,fill:"#000",stroke:null,opacity:1,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,n){for(var o=n&&n.style,a=!o,r=0;r0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var n=("radial"===e.type?a:o)(t,e,i),r=e.colorStops,s=0;s=-1e-6)return!1;var c=u(o-t,o-r,a-e,a-s)/h;if(c<0||c>1)return!1;var d=u(i-t,o-t,n-e,a-e)/h;return!(d<0||d>1)}function u(t,e,i,n){return t*n-e*i}var h={lineX:a(0),lineY:a(1),rect:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])},rect:function(t,e,i){return t&&i.boundingRect.intersect(t)}},polygon:{point:function(t,e,i){return t&&i.boundingRect.contain(t[0],t[1])&&n.contain(i.range,t[0],t[1])},rect:function(t,e,i){var a=i.range;if(!t||a.length<=1)return!1;var r=t.x,l=t.y,u=t.width,h=t.height,c=a[0];return!!(n.contain(a,r,l)||n.contain(a,r+u,l)||n.contain(a,r,l+h)||n.contain(a,r+u,l+h)||o.create(t).contain(c[0],c[1])||s(r,l,r+u,l,a)||s(r,l,r,l+h,a)||s(r+u,l,r+u,l+h,a)||s(r,l+h,r+u,l+h,a))||void 0}}};t.exports=h},j8qt:function(t,e,i){var n=i("p1Qj"),o=i("CNqB");function a(t){return isNaN(t[0])||isNaN(t[1])}function r(t){return!a(t[0])&&!a(t[1])}function s(t){this._ctor=t||o,this.group=new n.Group}var l=s.prototype;l.updateData=function(t){var e=this._lineData,i=this.group,n=this._ctor,o=t.hostModel,a={lineStyle:o.getModel("lineStyle.normal").getLineStyle(),hoverLineStyle:o.getModel("lineStyle.emphasis").getLineStyle(),labelModel:o.getModel("label.normal"),hoverLabelModel:o.getModel("label.emphasis")};t.diff(e).add(function(e){if(r(t.getItemLayout(e))){var o=new n(t,e,a);t.setItemGraphicEl(e,o),i.add(o)}}).update(function(o,s){var l=e.getItemGraphicEl(s);r(t.getItemLayout(o))?(l?l.updateData(t,o,a):l=new n(t,o,a),t.setItemGraphicEl(o,l),i.add(l)):i.remove(l)}).remove(function(t){i.remove(e.getItemGraphicEl(t))}).execute(),this._lineData=t},l.updateLayout=function(){var t=this._lineData;t.eachItemGraphicEl(function(e,i){e.updateLayout(t,i)},this)},l.remove=function(){this.group.removeAll()};var u=s;t.exports=u},jD7x:function(t,e,i){var n=i("oBvO"),o=i("IA1Z");function a(t){o.call(this,t)}a.prototype={constructor:a,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e){var i=this.getAxis("x"),n=this.getAxis("y");return[i.toGlobalCoord(i.dataToCoord(t[0],e)),n.toGlobalCoord(n.dataToCoord(t[1],e))]},pointToData:function(t,e){var i=this.getAxis("x"),n=this.getAxis("y");return[i.coordToData(i.toLocalCoord(t[0]),e),n.coordToData(n.toLocalCoord(t[1]),e)]},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")}},n.inherits(a,o);var r=a;t.exports=r},jLla:function(t,e,i){var n=i("+Ky8"),o=i("cKY8"),a=i("oBvO"),r=i("45P/"),s=i("U9Yr").getPercentWithPrecision,l=i("I9m7"),u=i("/Uyr"),h=n.extendSeriesModel({type:"series.pie",init:function(t){h.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(t.data),this._defaultLabelLine(t)},mergeOption:function(t){h.superCall(this,"mergeOption",t),this.updateSelectedMap(this.option.data)},getInitialData:function(t,e){var i=l(["value"],t.data),n=new o(i,this);return n.initData(t.data),n},getDataParams:function(t){var e=this.getData(),i=h.superCall(this,"getDataParams",t),n=[];return e.each("value",function(t){n.push(t)}),i.percent=s(n,t,e.hostModel.get("percentPrecision")),i.$vars.push("percent"),i},_defaultLabelLine:function(t){r.defaultEmphasis(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},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,label:{normal:{rotate:!1,show:!0,position:"outer"},emphasis:{}},labelLine:{normal:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}}},itemStyle:{normal:{borderWidth:1},emphasis:{}},animationType:"expansion",animationEasing:"cubicOut",data:[]}});a.mixin(h,u);var c=h;t.exports=c},jLx3:function(t,e,i){var n=i("qzTy"),o=i("4NL3").extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return n(t.data,this,e)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{normal:{opacity:.8}}}});t.exports=o},jQHV:function(t,e,i){var n=i("I9m7"),o=i("4NL3"),a=i("cKY8"),r=i("oBvO"),s=i("AmKG").encodeHTML,l=i("9erC"),u=o.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){u.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(t){for(var e=t.length,i=l().key(function(t){return t[2]}).entries(t),n=r.map(i,function(t){return{name:t.key,dataList:t.values}}),o=n.length,a=-1,s=-1,u=0;ua&&(a=h,s=u)}for(var c=0;c=a&&h+1>=r){for(var c=[],d=0;d=a&&d+1>=r)return n(o,l.components,e,t);u[i]=l}else u[i]=void 0}var g;s++}for(;s<=l;){var f=p();if(f)return f}},pushComponent:function(t,e,i){var n=t[t.length-1];n&&n.added===e&&n.removed===i?t[t.length-1]={count:n.count+1,added:e,removed:i}:t.push({count:1,added:e,removed:i})},extractCommon:function(t,e,i,n){for(var o=e.length,a=i.length,r=t.newPos,s=r-n,l=0;r+1=0;a--)n.push(o[a])}}},jpVL:function(t,e,i){var n=i("oBvO"),o=n.retrieve2,a=n.retrieve3,r=n.each,s=n.normalizeCssArray,l=n.isString,u=n.isObject,h=i("Hpxy"),c=i("sgEs"),d=i("10+O"),p={left:1,right:1,center:1},f={top:1,bottom:1,middle:1};function g(t){if(t){t.font=h.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||p[e]?e:"left";var i=t.textVerticalAlign||t.textBaseline;"center"===i&&(i="middle"),t.textVerticalAlign=null==i||f[i]?i:"top",t.textPadding&&(t.textPadding=s(t.textPadding))}}function v(t,e,i,n,o){if(i&&e.textRotation){var a=e.textOrigin;"center"===a?(n=i.width/2+i.x,o=i.height/2+i.y):a&&(n=a[0]+i.x,o=a[1]+i.y),t.translate(n,o),t.rotate(-e.textRotation),t.translate(-n,-o)}}function m(t,e,i,n,r,s,l,u){var c=n.rich[i.styleName]||{},d=i.textVerticalAlign,p=s+r/2;"top"===d?p=s+i.height/2:"bottom"===d&&(p=s+r-i.height/2),!i.isLineHolder&&y(c)&&x(t,e,c,"right"===u?l-i.width:"center"===u?l-i.width/2:l,p-i.height/2,i.width,i.height);var f=i.textPadding;f&&(l=T(l,u,f),p-=i.height/2-f[2]-i.textHeight/2),w(e,"shadowBlur",a(c.textShadowBlur,n.textShadowBlur,0)),w(e,"shadowColor",c.textShadowColor||n.textShadowColor||"transparent"),w(e,"shadowOffsetX",a(c.textShadowOffsetX,n.textShadowOffsetX,0)),w(e,"shadowOffsetY",a(c.textShadowOffsetY,n.textShadowOffsetY,0)),w(e,"textAlign",u),w(e,"textBaseline","middle"),w(e,"font",i.font||h.DEFAULT_FONT);var g=S(c.textStroke||n.textStroke,m),v=M(c.textFill||n.textFill),m=o(c.textStrokeWidth,n.textStrokeWidth);g&&(w(e,"lineWidth",m),w(e,"strokeStyle",g),e.strokeText(i.text,l,p)),v&&(w(e,"fillStyle",v),e.fillText(i.text,l,p))}function y(t){return t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor}function x(t,e,i,n,o,a,r){var s=i.textBackgroundColor,h=i.textBorderWidth,p=i.textBorderColor,f=l(s);if(w(e,"shadowBlur",i.textBoxShadowBlur||0),w(e,"shadowColor",i.textBoxShadowColor||"transparent"),w(e,"shadowOffsetX",i.textBoxShadowOffsetX||0),w(e,"shadowOffsetY",i.textBoxShadowOffsetY||0),f||h&&p){e.beginPath();var g=i.textBorderRadius;g?c.buildPath(e,{x:n,y:o,width:a,height:r,r:g}):e.rect(n,o,a,r),e.closePath()}if(f)w(e,"fillStyle",s),e.fill();else if(u(s)){var v=s.image;(v=d.createOrUpdateImage(v,null,t,_,s))&&d.isImageReady(v)&&e.drawImage(v,n,o,a,r)}h&&p&&(w(e,"lineWidth",h),w(e,"strokeStyle",p),e.stroke())}function _(t,e){e.image=t}function b(t,e,i){var n=e.x||0,o=e.y||0,a=e.textAlign,r=e.textVerticalAlign;if(i){var s=e.textPosition;if(s instanceof Array)n=i.x+I(s[0],i.width),o=i.y+I(s[1],i.height);else{var l=h.adjustTextPositionOnRect(s,i,e.textDistance);n=l.x,o=l.y,a=a||l.textAlign,r=r||l.textVerticalAlign}var u=e.textOffset;u&&(n+=u[0],o+=u[1])}return{baseX:n,baseY:o,textAlign:a,textVerticalAlign:r}}function w(t,e,i){return t[e]=i,t[e]}function S(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function M(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function I(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function T(t,e,i){return"right"===e?t-i[1]:"center"===e?t+i[3]/2-i[1]/2:t+i[3]}e.normalizeTextStyle=function(t){return g(t),r(t.rich,g),t},e.renderText=function(t,e,i,n,o){n.rich?function(t,e,i,n,o){var a=t.__textCotentBlock;a&&!t.__dirty||(a=t.__textCotentBlock=h.parseRichText(i,n)),function(t,e,i,n,o){var a=i.width,r=i.outerWidth,s=i.outerHeight,l=n.textPadding,u=b(0,n,o),c=u.baseX,d=u.baseY,p=u.textAlign,f=u.textVerticalAlign;v(e,n,o,c,d);var g=h.adjustTextX(c,r,p),_=h.adjustTextY(d,s,f),w=g,S=_;l&&(w+=l[3],S+=l[0]);var M=w+a;y(n)&&x(t,e,n,g,_,r,s);for(var I=0;I=0&&"right"===(T=C[B]).textAlign;)m(t,e,T,n,D,S,R,"right"),P-=T.width,R-=T.width,B--;for(k+=(a-(k-w)-(M-R)-P)/2;O<=B;)T=C[O],m(t,e,T,n,D,S,k+T.width/2,"center"),k+=T.width,O++;S+=D}}(t,e,a,n,o)}(t,e,i,n,o):function(t,e,i,n,o){var a=w(e,"font",n.font||h.DEFAULT_FONT),r=n.textPadding,s=t.__textCotentBlock;s&&!t.__dirty||(s=t.__textCotentBlock=h.parsePlainText(i,a,r,n.truncate));var l=s.outerHeight,u=s.lines,c=s.lineHeight,d=b(0,n,o),p=d.baseX,f=d.baseY,g=d.textAlign,m=d.textVerticalAlign;v(e,n,o,p,f);var _=h.adjustTextY(f,l,m),I=p,A=_,C=y(n);if(C||r){var L=h.getWidth(i,a),D=L;r&&(D+=r[1]+r[3]);var P=h.adjustTextX(p,D,g);C&&x(t,e,n,P,_,D,l),r&&(I=T(p,g,r),A+=r[0])}w(e,"textAlign",g||"left"),w(e,"textBaseline","middle"),w(e,"shadowBlur",n.textShadowBlur||0),w(e,"shadowColor",n.textShadowColor||"transparent"),w(e,"shadowOffsetX",n.textShadowOffsetX||0),w(e,"shadowOffsetY",n.textShadowOffsetY||0),A+=c/2;var O=n.textStrokeWidth,k=S(n.textStroke,O),R=M(n.textFill);k&&(w(e,"lineWidth",O),w(e,"strokeStyle",k)),R&&w(e,"fillStyle",R);for(var B=0;B=0)return!0}(t)){var a=function(t){for(var e=t.split(/\n+/g),i=d(e.shift()).split(p),n=[],a=o.map(i,function(t){return{name:t,data:[]}}),r=0;r=0},e.createNameEach=r,e.eachAxisDim=s,e.createLinkedNodesFinder=function(t,e,i){return function(a){var r,s={nodes:[],records:{}};if(e(function(t){s.records[t.name]={}}),!a)return s;o(a,s);do{r=!1,t(l)}while(r);function l(t){!function(t,e){return n.indexOf(e.nodes,t)>=0}(t,s)&&function(t,o){var a=!1;return e(function(e){n.each(i(t,e)||[],function(t){o.records[e.name][t]&&(a=!0)})}),a}(t,s)&&(o(t,s),r=!0)}return s};function o(t,o){o.nodes.push(t),e(function(e){n.each(i(t,e)||[],function(t){o.records[e.name][t]=!0})})}}},kCVf:function(t,e,i){var n=i("+Ky8"),o=i("zmB0");i("SD8K"),i("OX3s"),i("qtlE"),i("f/RH"),i("6CiL"),n.registerPreprocessor(o)},kEfC:function(t,e,i){var n=i("oBvO"),o=i("Xp4g"),a=i("cKY8"),r=i("uPge"),s=i("I9m7"),l=function(t,e){this.name=t||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=e};function u(t,e,i){this.root,this.data,this._nodes=[],this.hostModel=t,this.levelModels=n.map(e||[],function(e){return new o(e,t,t.ecModel)}),this.leavesModel=new o(i||{},t,t.ecModel)}l.prototype={constructor:l,isRemoved:function(){return this.dataIndex<0},eachNode:function(t,e,i){"function"==typeof t&&(i=e,e=t,t=null),t=t||{},n.isString(t)&&(t={order:t});var o,a=t.order||"preorder",r=this[t.attr||"children"];"preorder"===a&&(o=e.call(i,this));for(var s=0;!o&&se&&(e=n.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e,i=this.hostTree,n=i.data.getItemModel(this.dataIndex),o=this.getLevelModel();return o||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),n.getModel(t,(o||e||i.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)}},u.prototype={constructor:u,type:"tree",eachNode:function(t,e,i){this.root.eachNode(t,e,i)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,i=0,n=e.length;i=0||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[h(t)]}function u(t){return!!t.get("handle.show")}function h(t){return t.type+"||"+t.id}e.collect=function(t,e){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,i){var l=e.getComponent("tooltip"),c=e.getComponent("axisPointer"),d=c.get("link",!0)||[],p=[];a(i.getCoordinateSystems(),function(i){if(i.axisPointerEnabled){var f=h(i.model),g=t.coordSysAxesInfo[f]={};t.coordSysMap[f]=i;var v=i.model,m=v.getModel("tooltip",l);if(a(i.getAxes(),r(b,!1,null)),i.getTooltipAxes&&l&&m.get("show")){var y="axis"===m.get("trigger"),x="cross"===m.get("axisPointer.type"),_=i.getTooltipAxes(m.get("axisPointer.axis"));(y||x)&&a(_.baseAxes,r(b,!x||"cross",y)),x&&a(_.otherAxes,r(b,"cross",!1))}}function b(r,l,f){var v=f.model.getModel("axisPointer",c),y=v.get("show");if(y&&("auto"!==y||r||u(v))){null==l&&(l=v.get("triggerTooltip"));var x=(v=r?function(t,e,i,r,s,l){var u=e.getModel("axisPointer"),h={};a(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){h[t]=n.clone(u.get(t))}),h.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(h.type="line");var c=h.label||(h.label={});if(null==c.show&&(c.show=!1),"cross"===s&&(c.show=!0,!l)){var d=h.lineStyle=u.get("crossStyle");d&&n.defaults(c,d.textStyle)}return t.model.getModel("axisPointer",new o(h,i,r))}(f,m,c,e,r,l):v).get("snap"),_=h(f.model),b=l||x||"category"===f.type,w=t.axesInfo[_]={key:_,axis:f,coordSys:i,axisPointerModel:v,triggerTooltip:l,involveSeries:b,snap:x,useHandle:u(v),seriesModels:[]};g[_]=w,t.seriesInvolved|=b;var S=function(t,e){for(var i=e.model,n=e.dim,o=0;oh[1]&&h.reverse(),(null==r||r>h[1])&&(r=h[1]),r0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=n.clone(t)},getValueState:function(t){var e=a.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],o=i.getData();o.each(this.getDataDimension(o),function(e,i){a.findPieceIndex(e,this._pieceList)===t&&n.push(i)},!0,this),e.push({seriesId:i.id,dataIndex:n})},this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],i=[],o=this,a=this._pieceList.slice();if(a.length){var r=a[0].interval[0];r!==-1/0&&a.unshift({interval:[-1/0,r]}),(r=a[a.length-1].interval[1])!==1/0&&a.push({interval:[r,1/0]})}else a.push({interval:[-1/0,1/0]});var s=-1/0;return n.each(a,function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])},this),{stops:e,outerColors:i}}function l(n,a){var r=o.getRepresentValue({interval:n});a||(a=o.getValueState(r));var s=t(r,a);n[0]===-1/0?i[0]=s:n[1]===1/0?i[1]=s:e.push({value:n[0],color:s},{value:n[1],color:s})}}}),u={splitNumber:function(){var t=this.option,e=this._pieceList,i=Math.min(t.precision,20),o=this.getExtent(),a=t.splitNumber;a=Math.max(parseInt(a,10),1),t.splitNumber=a;for(var r=(o[1]-o[0])/a;+r.toFixed(i)!==r&&i<5;)i++;t.precision=i,r=+r.toFixed(i);var l=0;t.minOpen&&e.push({index:l++,interval:[-1/0,o[0]],close:[0,0]});for(var u=o[0],h=l+a;l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)},this)}};function h(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}var c=l;t.exports=c},kkmo:function(t,e,i){var n=i("oBvO"),o=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];var a=function(t){n.each(o,function(e){this[e]=n.bind(t[e],t)},this)};t.exports=a},kmau:function(t,e){var i=1;"undefined"!=typeof window&&(i=Math.max(window.devicePixelRatio||1,1));var n=i;e.debugMode=0,e.devicePixelRatio=n},lCTj:function(t,e,i){var n=i("ai5x");t.exports=function(t){t.eachRawSeries(function(e){var i=(e.visualColorAccessPath||"itemStyle.normal.color").split("."),o=e.getData(),a=e.get(i)||e.getColorFromPalette(e.get("name"));o.setVisual("color",a),t.isSeriesFiltered(e)||("function"!=typeof a||a instanceof n||o.each(function(t){o.setItemVisual(t,"color",a(e.getDataParams(t)))}),o.each(function(t){var e=o.getItemModel(t).get(i,!0);null!=e&&o.setItemVisual(t,"color",e)}))})}},lE8E:function(t,e,i){var n=i("SKOb"),o=i("ARzn").onIrrelevantElement,a=i("p1Qj");function r(t){return n.create(t)}e.makeRectPanelClipPath=function(t){return t=r(t),function(e,i){return a.clipPointsByRect(e,t)}},e.makeLinearBrushOtherExtent=function(t,e){return t=r(t),function(i){var n=null!=e?e:i,o=n?t.width:t.height,a=n?t.x:t.y;return[a,a+(o||0)]}},e.makeRectIsTargetByCursor=function(t,e,i){return t=r(t),function(n,a,r){return t.contain(a[0],a[1])&&!o(n,e,i)}}},lVAe:function(t,e,i){var n=i("+Ky8"),o=i("zmB0");i("SD8K"),i("OX3s"),i("kgCG"),i("btlm"),i("6CiL"),n.registerPreprocessor(o)},lZZw:function(t,e,i){var n=i("wfRR"),o=n.scaleAndAdd;e.forceLayout=function(t,e,i){for(var a=i.rect,r=a.width,s=a.height,l=[a.x+r/2,a.y+s/2],u=null==i.gravity?.1:i.gravity,h=0;h0&&(s=this.getLineLength(n)/u*1e3),s!==this._period||l!==this._loop){n.stopAnimation();var d=h;c&&(d=h(i)),n.__t>0&&(d=-s*n.__t),n.__t=0;var p=n.animate("",l).when(s,{__t:1}).delay(d).during(function(){o.updateSymbolPosition(n)});l||p.done(function(){o.remove(n)}),p.start()}this._period=s,this._loop=l}},h.getLineLength=function(t){return s.dist(t.__p1,t.__cp1)+s.dist(t.__cp1,t.__p2)},h.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},h.updateData=function(t,e,i){this.childAt(0).updateData(t,e,i),this._updateEffectSymbol(t,e)},h.updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,o=t.__t,a=t.position,r=l.quadraticAt,s=l.quadraticDerivativeAt;a[0]=r(e[0],n[0],i[0],o),a[1]=r(e[1],n[1],i[1],o);var u=s(e[0],n[0],i[0],o),h=s(e[1],n[1],i[1],o);t.rotation=-Math.atan2(h,u)-Math.PI/2,t.ignore=!1},h.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var i=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,i,e)},a.inherits(u,n.Group);var c=u;t.exports=c},lv3T:function(t,e,i){var n=i("oBvO"),o=i("cKY8"),a=i("U9Yr"),r=i("TF/2"),s=i("j8qt"),l=function(t,e,i,o){var a=t.getData(),s=o.type;if(!n.isArray(o)&&("min"===s||"max"===s||"average"===s||null!=o.xAxis||null!=o.yAxis)){var l,u;if(null!=o.yAxis||null!=o.xAxis)l=null!=o.yAxis?"y":"x",e.getAxis(l),u=n.retrieve(o.yAxis,o.xAxis);else{var h=r.getAxisInfo(o,a,e,t);l=h.valueDataDim,h.valueAxis,u=r.numCalculate(a,l,s)}var c="x"===l?0:1,d=1-c,p=n.clone(o),f={};p.type=null,p.coord=[],f.coord=[],p.coord[d]=-1/0,f.coord[d]=1/0;var g=i.get("precision");g>=0&&"number"==typeof u&&(u=+u.toFixed(Math.min(g,20))),p.coord[c]=f.coord[c]=u,o=[p,f,{type:s,valueIndex:o.valueIndex,value:u}]}return(o=[r.dataTransform(t,o[0]),r.dataTransform(t,o[1]),n.extend({},o[2])])[2].type=o[2].type||"",n.merge(o[2],o[0]),n.merge(o[2],o[1]),o};function u(t){return!isNaN(t)&&!isFinite(t)}function h(t,e,i,n){var o=1-t,a=n.dimensions[t];return u(e[o])&&u(i[o])&&e[t]===i[t]&&n.getAxis(a).containData(e[t])}function c(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coord;if(i&&n&&(h(1,i,n,t)||h(0,i,n,t)))return!0}return r.dataFilter(t,e[0])&&r.dataFilter(t,e[1])}function d(t,e,i,n,o){var r,s=n.coordinateSystem,l=t.getItemModel(e),h=a.parsePercent(l.get("x"),o.getWidth()),c=a.parsePercent(l.get("y"),o.getHeight());if(isNaN(h)||isNaN(c)){if(n.getMarkerPosition)r=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,p=t.get(d[0],e),f=t.get(d[1],e);r=s.dataToPoint([p,f])}if("cartesian2d"===s.type){var g=s.getAxis("x"),v=s.getAxis("y");d=s.dimensions;u(t.get(d[0],e))?r[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):u(t.get(d[1],e))&&(r[1]=v.toGlobalCoord(v.getExtent()[i?0:1]))}isNaN(h)||(r[0]=h),isNaN(c)||(r[1]=c)}else r=[h,c];t.setItemLayout(e,r)}var p=i("cumM").extend({type:"markLine",updateLayout:function(t,e,i){e.eachSeries(function(t){var e=t.markLineModel;if(e){var n=e.getData(),o=e.__from,a=e.__to;o.each(function(e){d(o,e,!0,t,i),d(a,e,!1,t,i)}),n.each(function(t){n.setItemLayout(t,[o.getItemLayout(t),a.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},renderSeries:function(t,e,i,a){var u=t.coordinateSystem,h=t.id,p=t.getData(),f=this.markerGroupMap,g=f.get(h)||f.set(h,new s);this.group.add(g.group);var v=function(t,e,i){var a;a=t?n.map(t&&t.dimensions,function(t){var i=e.getData().getDimensionInfo(e.coordDimToDataDim(t)[0])||{};return i.name=t,i}):[{name:"value",type:"float"}];var s=new o(a,i),u=new o(a,i),h=new o([],i),d=n.map(i.get("data"),n.curry(l,e,t,i));t&&(d=n.filter(d,n.curry(c,t)));var p=t?r.dimValueGetter:function(t){return t.value};return s.initData(n.map(d,function(t){return t[0]}),null,p),u.initData(n.map(d,function(t){return t[1]}),null,p),h.initData(n.map(d,function(t){return t[2]})),h.hasItemOption=!0,{from:s,to:u,line:h}}(u,t,e),m=v.from,y=v.to,x=v.line;e.__from=m,e.__to=y,e.setData(x);var _=e.get("symbol"),b=e.get("symbolSize");function w(e,i,n){var o=e.getItemModel(i);d(e,i,n,t,a),e.setItemVisual(i,{symbolSize:o.get("symbolSize")||b[n?0:1],symbol:o.get("symbol",!0)||_[n?0:1],color:o.get("itemStyle.normal.color")||p.getVisual("color")})}n.isArray(_)||(_=[_,_]),"number"==typeof b&&(b=[b,b]),v.from.each(function(t){w(m,t,!0),w(y,t,!1)}),x.each(function(t){var e=x.getItemModel(t).get("lineStyle.normal.color");x.setItemVisual(t,{color:e||m.getItemVisual(t,"color")}),x.setItemLayout(t,[m.getItemLayout(t),y.getItemLayout(t)]),x.setItemVisual(t,{fromSymbolSize:m.getItemVisual(t,"symbolSize"),fromSymbol:m.getItemVisual(t,"symbol"),toSymbolSize:y.getItemVisual(t,"symbolSize"),toSymbol:y.getItemVisual(t,"symbol")})}),g.updateData(x),v.line.eachItemGraphicEl(function(t,i){t.traverse(function(t){t.dataModel=e})}),g.__keep=!0,g.group.silent=e.get("silent")||t.get("silent")}});t.exports=p},m1Jd:function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("zbeF");i("7yHZ"),i("i4oF"),i("X9Dx"),i("ZV8W"),n.registerLayout(o.curry(a,"bar")),n.registerVisual(function(t){t.eachSeriesByType("bar",function(t){t.getData().setVisual("legendSymbol","roundRect")})})},mUlx:function(t,e,i){var n=i("oBvO"),o=i("SdGi"),a=i("cKY8"),r=i("45P/"),s=o.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{normal:{},emphasis:{}},label:{normal:{color:"#000"},emphasis:{}},data:[]},init:function(t,e,i){this._data,this._names,this.mergeDefaultAndTheme(t,i),this._initData()},mergeOption:function(t){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],i=t.axisType,o=this._names=[];if("category"===i){var s=[];n.each(e,function(t,e){var i,a=r.getDataItemValue(t);n.isObject(t)?(i=n.clone(t)).value=e:i=e,s.push(i),n.isString(a)||null!=a&&!isNaN(a)||(a=""),o.push(a+"")}),e=s}var l={category:"ordinal",time:"time"}[i]||"number";(this._data=new a([{name:"value",type:l}],this)).initData(e,o)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;t.exports=l},mcHC:function(t,e,i){var n=i("NYdp");t.exports=function(t,e){t.eachSeriesByType("tree",function(t){n(t,e)})}},mhHc:function(t,e,i){var n=i("oBvO");e.createWrap=function(){var t,e=[],i={};return{add:function(t,o,a,r,s){return n.isString(r)&&(s=r,r=0),!i[t.id]&&(i[t.id]=1,e.push({el:t,target:o,time:a,delay:r,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var n=e.length,o=0,a=e.length;o0&&!f.min?f.min=0:null!=f.min&&f.min<0&&!f.max&&(f.max=0);var g=u;if(null!=f.color&&(g=o.defaults({color:f.color},u)),f=o.merge(o.clone(f),{boundaryGap:t,splitNumber:e,scale:i,axisLine:n,axisTick:a,axisLabel:l,name:f.text,nameLocation:"end",nameGap:d,nameTextStyle:g,triggerEvent:p},!1),h||(f.name=""),"string"==typeof c){var v=f.name;f.name=c.replace("{value}",null!=v?v:"")}else"function"==typeof c&&(f.name=c(f.name,f));var m=o.extend(new r(f,null,this.ecModel),s);return m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this.getIndicatorModels=function(){return f}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:o.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}});t.exports=h},n6aB:function(t,e,i){i("Mguy").__DEV__;var n=i("oBvO"),o=".",a="___EC__COMPONENT__CONTAINER___",r="\0ec_\0";function s(t){var e={main:"",sub:""};return t&&(t=t.split(o),e.main=t[0]||"",e.sub=t[1]||""),e}function l(t,e){var i=n.slice(arguments,2);return this.superClass.prototype[e].apply(t,i)}function u(t,e,i){return this.superClass.prototype[e].apply(t,i)}e.set=function(t,e,i){return t[r+e]=i},e.get=function(t,e){return t[r+e]},e.hasOwn=function(t,e){return t.hasOwnProperty(r+e)},e.parseClassType=s,e.enableClassExtend=function(t,e){t.$constructor=t,t.extend=function(t){var e=this,i=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return n.extend(i.prototype,t),i.extend=this.extend,i.superCall=l,i.superApply=u,n.inherits(i,this),i.superClass=e,i}},e.enableClassManagement=function(t,e){e=e||{};var i={};if(t.registerClass=function(t,e){return e&&(function(t){n.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}(e),(e=s(e)).sub?e.sub!==a&&((function(t){var e=i[t.main];return e&&e[a]||((e=i[t.main]={})[a]=!0),e}(e))[e.sub]=t):i[e.main]=t),t},t.getClass=function(t,e,n){var o=i[t];if(o&&o[a]&&(o=e?o[e]:null),n&&!o)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return o},t.getClassesByMainType=function(t){t=s(t);var e=[],o=i[t.main];return o&&o[a]?n.each(o,function(t,i){i!==a&&e.push(t)}):e.push(o),e},t.hasClass=function(t){return t=s(t),!!i[t.main]},t.getAllClassMainTypes=function(){var t=[];return n.each(i,function(e,i){t.push(i)}),t},t.hasSubTypes=function(t){t=s(t);var e=i[t.main];return e&&e[a]},t.parseClassType=s,e.registerWhenExtend){var o=t.extend;o&&(t.extend=function(e){var i=o.call(this,e);return t.registerClass(i,e.type)})}return t},e.setReadOnly=function(t,e){}},n9an:function(t,e,i){var n=i("n6aB"),o=n.set,a=n.get,r={clearColorPalette:function(){o(this,"colorIdx",0),o(this,"colorNameMap",{})},getColorFromPalette:function(t,e){var i=a(e=e||this,"colorIdx")||0,n=a(e,"colorNameMap")||o(e,"colorNameMap",{});if(n.hasOwnProperty(t))return n[t];var r=this.get("color",!0)||[];if(r.length){var s=r[i];return t&&(n[t]=s),o(e,"colorIdx",(i+1)%r.length),s}}};t.exports=r},nA4g:function(t,e,i){var n=i("oBvO"),o=i("p1Qj"),a=i("DGK2"),r=["axisLine","axisTickLabel","axisName"],s=["splitLine","splitArea"],l=i("1s0R").extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,o=i.polar,l=o.getAngleAxis(),u=i.getTicksCoords(),h=l.getExtent()[0],c=i.getExtent(),d=function(t,e,i){return{position:[t.cx,t.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(o,t,h),p=new a(t,d);n.each(r,p.add,p),this.group.add(p.getGroup()),n.each(s,function(e){t.get(e+".show")&&!i.scale.isBlank()&&this["_"+e](t,o,h,c,u)},this)}},_splitLine:function(t,e,i,a,r){var s=t.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var h=[],c=0;c=0?1:-1}function n(t,e,n){for(var o,a=t.getBaseAxis(),r=t.getOtherAxis(a),s=a.onZero?0:r.scale.getExtent()[0],l=r.dim,u="x"===l||"radius"===l?1:0,h=e.stackedOn,c=e.get(l,n);h&&i(h.get(l,n))===i(c);){o=h;break}var d=[];return d[u]=e.get(a.dim,n),d[1-u]=o?o.get(l,n,!0):s,t.dataToPoint(d)}t.exports=function(t,e,i,o,a,r){for(var s=function(t,e){var i=[];return e.diff(t).add(function(t){i.push({cmd:"+",idx:t})}).update(function(t,e){i.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){i.push({cmd:"-",idx:t})}).execute(),i}(t,e),l=[],u=[],h=[],c=[],d=[],p=[],f=[],g=r.dimensions,v=0;v=0)&&(n={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=i.autoColor,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),n}function J(t,e,i,n,o,a){if("function"==typeof o&&(a=o,o=null),n&&n.isAnimationEnabled()){var r=t?"Update":"",s=n.getShallow("animationDuration"+r),l=n.getShallow("animationEasing"+r),u=n.getShallow("animationDelay"+r);"function"==typeof u&&(u=u(o,n.getAnimationDelayParams?n.getAnimationDelayParams(e,o):null)),"function"==typeof s&&(s=s(o)),s>0?e.animateTo(i,s,u||0,l,a,!!a):(e.stopAnimation(),e.attr(i),a&&a())}else e.stopAnimation(),e.attr(i),a&&a()}function $(t,e,i,n,o){J(!0,t,e,i,n,o)}function tt(t,e,i){return e&&!n.isArrayLike(e)&&(e=u.getLocalTransform(e)),i&&(e=r.invert([],e)),s.applyTransform([],t,e)}e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return o.extendFromString(t,e)},e.makePath=D,e.makeImage=function(t,e,i){var n=new h({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var o={width:t.width,height:t.height};n.setStyle(P(e,o))}}});return n},e.mergePath=O,e.resizePath=k,e.subPixelOptimizeLine=function(t){var e=t.shape,i=t.style.lineWidth;return T(2*e.x1)===T(2*e.x2)&&(e.x1=e.x2=R(e.x1,i,!0)),T(2*e.y1)===T(2*e.y2)&&(e.y1=e.y2=R(e.y1,i,!0)),t},e.subPixelOptimizeRect=function(t){var e=t.shape,i=t.style.lineWidth,n=e.x,o=e.y,a=e.width,r=e.height;return e.x=R(e.x,i,!0),e.y=R(e.y,i,!0),e.width=Math.max(R(n+a,i,!1)-e.x,0===a?0:1),e.height=Math.max(R(o+r,i,!1)-e.y,0===r?0:1),t},e.subPixelOptimize=R,e.setHoverStyle=function(t,e,i){t.__hoverSilentOnTouch=i&&i.hoverSilentOnTouch,"group"===t.type?t.traverse(function(t){"group"!==t.type&&H(t,e)}):H(t,e),t.on("mouseover",F).on("mouseout",U),t.on("emphasis",Z).on("normal",j)},e.setLabelStyle=function(t,e,i,o,a,r,s){var l=(a=a||L).labelFetcher,u=a.labelDataIndex,h=a.labelDimIndex,c=i.getShallow("show"),d=o.getShallow("show"),p=c||d?n.retrieve2(l?l.getFormattedLabel(u,"normal",null,h):null,a.defaultText):null,f=c?p:null,g=d?n.retrieve2(l?l.getFormattedLabel(u,"emphasis",null,h):null,p):null;null==f&&null==g||(K(t,i,r,a),K(e,o,s,a,!0)),t.text=f,e.text=g},e.setTextStyle=K,e.setText=function(t,e,i){var n,o={isRectText:!0};!1===i?n=!0:o.autoColor=i,Y(t,e,o,n),t.host&&t.host.dirty&&t.host.dirty(!1)},e.getFont=function(t,e){var i=e||e.getModel("textStyle");return[t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" ")},e.updateProps=$,e.initProps=function(t,e,i,n,o){J(!1,t,e,i,n,o)},e.getTransform=function(t,e){for(var i=r.identity([]);t&&t!==e;)r.mul(i,t.getLocalTransform(),i),t=t.parent;return i},e.applyTransform=tt,e.transformDirection=function(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),o=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-n:"right"===t?n:0,"top"===t?-o:"bottom"===t?o:0];return a=tt(a,e,i),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"},e.groupTransition=function(t,e,i,o){if(t&&e){var a,r=(a={},t.traverse(function(t){!t.isGroup&&t.anid&&(a[t.anid]=t)}),a);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var n=l(t);t.attr(l(e)),$(t,n,i,t.dataIndex)}}})}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=n.extend({},t.shape)),e}},e.clipPointsByRect=function(t,e){return n.map(t,function(t){var i=t[0];i=A(i,e.x),i=C(i,e.x+e.width);var n=t[1];return n=A(n,e.y),[i,n=C(n,e.y+e.height)]})},e.clipRectByRect=function(t,e){var i=A(t.x,e.x),n=C(t.x+t.width,e.x+e.width),o=A(t.y,e.y),a=C(t.y+t.height,e.y+e.height);if(n>=i&&a>=o)return{x:i,y:o,width:n-i,height:a-o}},e.createIcon=function(t,e,i){var o=(e=n.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(o.image=t.slice(8),n.defaults(o,i),new h(e)):D(t.replace("path://",""),e,i,"center")}},pKq0:function(t,e,i){i("8dCM"),i("ml6G"),i("It60")},pMij:function(t,e,i){var n=i("oBvO");t.exports=function(t){for(var e=0;e=0||o&&n.indexOf(o,s)<0)){var l=e.getShallow(s);null!=l&&(a[t[r][0]]=l)}}return a}}},pOVV:function(t,e,i){var n=i("86rV"),o=i("JoQu"),a=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new n,this._angleAxis=new o,this._radiusAxis.polar=this._angleAxis.polar=this};a.prototype={type:"polar",axisPointerEnabled:!0,constructor:a,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===t&&e.push(i),n.scale.type===t&&e.push(n),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var i=this.pointToCoord(t);return[this._radiusAxis.radiusToData(i[0],e),this._angleAxis.angleToData(i[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=this.getAngleAxis(),o=n.getExtent(),a=Math.min(o[0],o[1]),r=Math.max(o[0],o[1]);n.inverse?a=r-360:r=a+360;var s=Math.sqrt(e*e+i*i);e/=s,i/=s;for(var l=Math.atan2(-i,e)/Math.PI*180,u=lr;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],i=t[1]/180*Math.PI;return[Math.cos(i)*e+this.cx,-Math.sin(i)*e+this.cy]}};var r=a;t.exports=r},"pn/J":function(t,e,i){var n="\0_ec_interaction_mutex";function o(t){return t[n]||(t[n]={})}i("+Ky8").registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),e.take=function(t,e,i){o(t)[e]=i},e.release=function(t,e,i){var n=o(t);n[e]===i&&(n[e]=null)},e.isTaken=function(t,e){return!!o(t)[e]}},px1l:function(t,e,i){var n=i("b53G").quadraticProjectPoint;e.containStroke=function(t,e,i,o,a,r,s,l,u){if(0===s)return!1;var h=s;return!(u>e+h&&u>o+h&&u>r+h||ut+h&&l>i+h&&l>a+h||l=0;s--)null==i[s]&&(delete o[e[s]],e.pop())}(o):c(o,!0):(n.assert("linear"!==e||o.dataExtent),c(o))};u.prototype={constructor:u,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return n.bind(this._normalizeData,this)}};var h=u.visualHandlers={color:{applyVisual:f("color"),getColorMapper:function(){var t=this.option;return n.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),g.call(this,t)}:function(e,i,n){var a=!!n;return!i&&(e=this._normalizeData(e)),n=o.fastLerp(e,t.parsedVisual,n),a?n:o.stringify(n,"rgba")},this)},_doMap:{linear:function(t){return o.stringify(o.fastLerp(t,this.option.parsedVisual),"rgba")},category:g,piecewise:function(t,e){var i=y.call(this,e);return null==i&&(i=o.stringify(o.fastLerp(t,this.option.parsedVisual),"rgba")),i},fixed:v}},colorHue:d(function(t,e){return o.modifyHSL(t,e)}),colorSaturation:d(function(t,e){return o.modifyHSL(t,null,e)}),colorLightness:d(function(t,e){return o.modifyHSL(t,null,null,e)}),colorAlpha:d(function(t,e){return o.modifyAlpha(t,e)}),opacity:{applyVisual:f("opacity"),_doMap:m([0,1])},symbol:{applyVisual:function(t,e,i){var o=this.mapValueToVisual(t);if(n.isString(o))i("symbol",o);else if(s(o))for(var a in o)o.hasOwnProperty(a)&&i(a,o[a])},_doMap:{linear:p,category:g,piecewise:function(t,e){var i=y.call(this,e);return null==i&&(i=p.call(this,t)),i},fixed:v}},symbolSize:{applyVisual:f("symbolSize"),_doMap:m([0,1])}};function c(t,e){var i=t.visual,o=[];n.isObject(i)?r(i,function(t){o.push(t)}):null!=i&&o.push(i);e||1!==o.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(o[1]=o[0]),x(t,o)}function d(t){return{applyVisual:function(e,i,n){e=this.mapValueToVisual(e),n("color",t(i("color"),e))},_doMap:m([0,1])}}function p(t){var e=this.option.visual;return e[Math.round(a(t,[0,1],[0,e.length-1],!0))]||{}}function f(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function g(t){var e=this.option.visual;return e[this.option.loop&&t!==l?t%e.length:t]}function v(){return this.option.visual[0]}function m(t){return{linear:function(e){return a(e,t,this.option.visual,!0)},category:g,piecewise:function(e,i){var n=y.call(this,i);return null==n&&(n=a(e,t,this.option.visual,!0)),n},fixed:v}}function y(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=i[u.findPieceIndex(t,i)];if(n&&n.visual)return n.visual[this.type]}}function x(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=n.map(e,function(t){return o.parse(t)})),e}var _={linear:function(t){return a(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,i=u.findPieceIndex(t,e,!0);if(null!=i)return a(i,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?l:e},fixed:n.noop};function b(t,e,i){return t?e<=i:e>1^-(1&s),l=l>>1^-(1&l),o=s+=o,a=l+=a,n.push([s/i,l/i])}return n}t.exports=function(t){return function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var i=t.features,n=0;n0}),function(t){var e=t.properties,i=t.geometry,a=i.coordinates,r=[];"Polygon"===i.type&&r.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===i.type&&n.each(a,function(t){t[0]&&r.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var s=new o(e.name,r,e.cp);return s.properties=e,s})}},qKeJ:function(t,e,i){var n=i("U9Yr"),o=i("AmKG"),a=i("S7SL"),r=i("9hGq"),s=n.round,l=a.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=r.getIntervalPrecision(t)},getTicks:function(){return r.intervalScaleGetTicks(this._interval,this._extent,this._niceExtent,this._intervalPrecision)},getTicksLabels:function(){for(var t=[],e=this.getTicks(),i=0;i=0&&l<0)&&(r=g,l=f,o=h,a.length=0),s(c,function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:a,snapToValue:o}}(e,t),u=l.payloadBatch,h=l.snapToValue;u[0]&&null==a.seriesIndex&&n.extend(a,u[0]),!o&&t.snap&&r.containData(h)&&null!=h&&(e=h),i.showPointer(t,e,u,a),i.showTooltip(t,l,h)}else i.showPointer(t,e)}function c(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function d(t,e,i,n){var o=i.payloadBatch,r=e.axis,s=r.model,l=e.axisPointerModel;if(e.triggerTooltip&&o.length){var u=e.coordSys.model,h=a.makeKey(u),c=t.map[h];c||(c=t.map[h]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:r.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 p(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function f(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,i){var o=t.currTrigger,a=[t.x,t.y],g=t,v=t.dispatchAction||n.bind(i.dispatchAction,i),m=e.getComponent("axisPointer").coordSysAxesInfo;if(m){f(a)&&(a=r({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},e).point);var y=f(a),x=g.axesInfo,_=m.axesInfo,b="leave"===o||f(a),w={},S={},M={list:[],map:{}},I={showPointer:l(c,S),showTooltip:l(d,M)};s(m.coordSysMap,function(t,e){var i=y||t.containPoint(a);s(m.coordSysAxesInfo[e],function(t,e){var n=t.axis,o=function(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}(x,t);if(!b&&i&&(!x||o)){var r=o&&o.value;null!=r||y||(r=n.pointToData(a)),null!=r&&h(t,r,I,!1,w)}})});var T={};return s(_,function(t,e){var i=t.linkGroup;i&&!S[e]&&s(i.axesInfo,function(e,n){var o=S[n];if(e!==t&&o){var a=o.value;i.mapper&&(a=t.axis.scale.parse(i.mapper(a,p(e),p(t)))),T[t.key]=a}})}),s(T,function(t,e){h(_[e],t,I,!0,w)}),function(t,e,i){var n=i.axesInfo=[];s(e,function(e,i){var o=e.axisPointerModel.option,a=t[i];a?(!e.useHandle&&(o.status="show"),o.value=a.value,o.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(o.status="hide"),"show"===o.status&&n.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:o.value})})}(S,_,w),function(t,e,i,n){if(!f(e)&&t.list.length){var o=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:o.dataIndexInside,dataIndex:o.dataIndex,seriesIndex:o.seriesIndex,dataByCoordSys:t.list})}else n({type:"hideTip"})}(M,a,t,v),function(t,e,i){var o=i.getZr(),a=u(o).axisPointerLastHighlights||{},r=u(o).axisPointerLastHighlights={};s(t,function(t,e){var i=t.axisPointerModel.option;"show"===i.status&&s(i.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;r[e]=t})});var l=[],h=[];n.each(a,function(t,e){!r[e]&&h.push(t)}),n.each(r,function(t,e){!a[e]&&l.push(t)}),h.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),l.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:l})}(_,0,i),w}}},qfZd:function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("kX0L"),r=i("qYdi");i("b5rp"),i("S1nx"),i("LXSA"),n.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!o.isArray(e)&&(t.axisPointer.link=[e])}}),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=a.collect(t,e)}),n.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},r)},qhLN:function(t,e,i){var n=i("oBvO"),o=i("DGK2"),a=i("p1Qj"),r=i("HS5O"),s=i("1s0R"),l=o.getInterval,u=o.ifIgnoreOnTick,h=["axisLine","axisTickLabel","axisName"],c=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,i,a){var s=this.group;s.removeAll();var l=r.layout(t),u=new o(t,l);n.each(h,u.add,u),s.add(u.getGroup()),t.get("splitLine.show")&&this._splitLine(t,l.labelInterval),c.superCall(this,"render",t,e,i,a)},_splitLine:function(t,e){var i=t.axis;if(!i.scale.isBlank()){var n=t.getModel("splitLine"),o=n.getModel("lineStyle"),r=o.get("width"),s=o.get("color"),h=l(n,e);s=s instanceof Array?s:[s];for(var c=t.coordinateSystem.getRect(),d=i.isHorizontal(),p=[],f=0,g=i.getTicksCoords(),v=[],m=[],y=t.get("axisLabel.showMinLabel"),x=t.get("axisLabel.showMaxLabel"),_=0;_e[0]?1:-1;e[0]+=n*i,e[1]-=n*i}return e}function v(t){return t>=0?1:-1}function m(t,e,i){return"polar"===t.type?function(t,e,i){var n=t.getAngleAxis(),o=t.getRadiusAxis().getExtent(),a=n.getExtent(),r=Math.PI/180,l=new s.Sector({shape:{cx:t.cx,cy:t.cy,r0:o[0],r:o[1],startAngle:-a[0]*r,endAngle:-a[1]*r,clockwise:n.inverse}});return e&&(l.shape.endAngle=-a[0]*r,s.initProps(l,{shape:{endAngle:-a[1]*r}},i)),l}(t,e,i):function(t,e,i){var n=g(t.getAxis("x")),o=g(t.getAxis("y")),a=t.getBaseAxis().isHorizontal(),r=Math.min(n[0],n[1]),l=Math.min(o[0],o[1]),u=Math.max(n[0],n[1])-r,h=Math.max(o[0],o[1])-l,c=i.get("lineStyle.normal.width")||2,d=i.get("clipOverflow")?c/2:Math.max(u,h);a?(l-=d,h+=2*d):(r-=d,u+=2*d);var p=new s.Rect({shape:{x:r,y:l,width:u,height:h}});return e&&(p.shape[a?"width":"height"]=0,s.initProps(p,{shape:{width:u,height:h}},i)),p}(t,e,i)}function y(t,e,i){for(var n=e.getBaseAxis(),o="x"===n.dim||"radius"===n.dim?0:1,a=[],r=0;r0?o=a[0]:a[1]<0&&(o=a[1])}var r=n.dim,s="x"===r||"radius"===r?1:0;return e.mapArray([r],function(n,a){for(var l,u=e.stackedOn;u&&v(u.get(r,a))===v(n);){l=u;break}var h=[];return h[s]=e.get(i.dim,a),h[1-s]=l?l.get(r,a,!0):o,t.dataToPoint(h)},!0)}(o,r),I=t.get("showSymbol"),T=I&&!c&&!t.get("showAllSymbol")&&this._getSymbolIgnoreFunc(r,o),A=this._data;A&&A.eachItemGraphicEl(function(t,e){t.__temp&&(a.remove(t),A.setItemGraphicEl(e,null))}),I||g.remove(),a.add(b);var C=!c&&t.get("step");x&&d.type===o.type&&C===this._step?(S&&!_?_=this._newPolygon(h,M,o,w):_&&!S&&(b.remove(_),_=this._polygon=null),b.setClipPath(m(o,!1,t)),I&&g.updateData(r,T),r.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),p(this._stackedOnPoints,M)&&p(this._points,h)||(w?this._updateAnimation(r,M,o,i,C):(C&&(h=y(h,o,C),M=y(M,o,C)),x.setShape({points:h}),_&&_.setShape({points:h,stackedOnPoints:M})))):(I&&g.updateData(r,T),C&&(h=y(h,o,C),M=y(M,o,C)),x=this._newPolyline(h,o,w),S&&(_=this._newPolygon(h,M,o,w)),b.setClipPath(m(o,!0,t)));var L=function(t,e){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()){for(var o,a=i.length-1;a>=0;a--)if(i[a].dimension<2){o=i[a];break}if(o&&"cartesian2d"===e.type){var r=o.dimension,l=t.dimensions[r],u=e.getAxis(l),h=n.map(o.stops,function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}}),c=h.length,d=o.outerColors.slice();c&&h[0].coord>h[c-1].coord&&(h.reverse(),d.reverse());var p=h[0].coord-10,f=h[c-1].coord+10,g=f-p;if(g<.001)return"transparent";n.each(h,function(t){t.offset=(t.coord-p)/g}),h.push({offset:c?h[c-1].offset:.5,color:d[1]||"transparent"}),h.unshift({offset:c?h[0].offset:.5,color:d[0]||"transparent"});var v=new s.LinearGradient(0,0,0,0,h,!0);return v[l]=p,v[l+"2"]=f,v}}}(r,o)||r.getVisual("color");x.useStyle(n.defaults(l.getLineStyle(),{fill:"none",stroke:L,lineJoin:"bevel"}));var D=t.get("smooth");if(D=f(t.get("smooth")),x.setShape({smooth:D,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),_){var P=r.stackedOn,O=0;if(_.useStyle(n.defaults(u.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel"})),P)O=f(P.hostModel.get("smooth"));_.setShape({smooth:D,stackedOnSmooth:O,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=r,this._coordSys=o,this._stackedOnPoints=M,this._points=h,this._step=C},dispose:function(){},highlight:function(t,e,i,n){var o=t.getData(),r=l.queryDataIndex(o,n);if(!(r instanceof Array)&&null!=r&&r>=0){var s=o.getItemGraphicEl(r);if(!s){var u=o.getItemLayout(r);if(!u)return;(s=new a(o,r)).position=u,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(u[0])||isNaN(u[1]),s.__temp=!0,o.setItemGraphicEl(r,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else d.prototype.highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var o=t.getData(),a=l.queryDataIndex(o,n);if(null!=a&&a>=0){var r=o.getItemGraphicEl(a);r&&(r.__temp?(o.setItemGraphicEl(a,null),this.group.remove(r)):r.downplay())}else d.prototype.downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new c({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_getSymbolIgnoreFunc:function(t,e){var i=e.getAxesByScale("ordinal")[0];if(i&&i.isLabelIgnored)return n.bind(i.isLabelIgnored,i)},_updateAnimation:function(t,e,i,n,o){var a=this._polyline,l=this._polygon,u=t.hostModel,h=r(this._data,t,this._stackedOnPoints,e,this._coordSys,i),c=h.current,d=h.stackedOnCurrent,p=h.next,f=h.stackedOnNext;o&&(c=y(h.current,i,o),d=y(h.stackedOnCurrent,i,o),p=y(h.next,i,o),f=y(h.stackedOnNext,i,o)),a.shape.__points=h.current,a.shape.points=c,s.updateProps(a,{shape:{points:p}},u),l&&(l.setShape({points:c,stackedOnPoints:d}),s.updateProps(l,{shape:{points:p,stackedOnPoints:f}},u));for(var g=[],v=h.status,m=0;me[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){o.prototype.completeVisualOption.apply(this,arguments),n.each(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)},this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=a.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=i[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],o=i.getData();o.each(this.getDataDimension(o),function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)},!0,this),e.push({seriesId:i.id,dataIndex:n})},this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),i=l(this,"inRange",this.option.range.slice()),n=[];function o(e,i){n.push({value:e,color:t(e,i)})}for(var a=0,r=0,s=i.length,u=e.length;r1){o=[];for(var l=0;l=0&&function(t){var e=function(t){for(var e=0;e255?255:t}function a(t){return t<0?0:t>1?1:t}function r(t){return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100*255):o(parseInt(t,10))}function s(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100):a(parseFloat(t))}function l(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function u(t,e,i){return t+(e-t)*i}function h(t,e,i,n,o){return t[0]=e,t[1]=i,t[2]=n,t[3]=o,t}function c(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new(i("u3Kg"))(20),p=null;function f(t,e){p&&c(p,e),p=d.put(t,p||e.slice())}function g(t,e){if(t){e=e||[];var i=d.get(t);if(i)return c(e,i);var o,a=(t+="").replace(/ /g,"").toLowerCase();if(a in n)return c(e,n[a]),f(t,e),e;if("#"===a.charAt(0))return 4===a.length?(o=parseInt(a.substr(1),16))>=0&&o<=4095?(h(e,(3840&o)>>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,1),f(t,e),e):void h(e,0,0,0,1):7===a.length?(o=parseInt(a.substr(1),16))>=0&&o<=16777215?(h(e,(16711680&o)>>16,(65280&o)>>8,255&o,1),f(t,e),e):void h(e,0,0,0,1):void 0;var l=a.indexOf("("),u=a.indexOf(")");if(-1!==l&&u+1===a.length){var p=a.substr(0,l),g=a.substr(l+1,u-(l+1)).split(","),m=1;switch(p){case"rgba":if(4!==g.length)return void h(e,0,0,0,1);m=s(g.pop());case"rgb":return 3!==g.length?void h(e,0,0,0,1):(h(e,r(g[0]),r(g[1]),r(g[2]),m),f(t,e),e);case"hsla":return 4!==g.length?void h(e,0,0,0,1):(g[3]=s(g[3]),v(g,e),f(t,e),e);case"hsl":return 3!==g.length?void h(e,0,0,0,1):(v(g,e),f(t,e),e);default:return}}h(e,0,0,0,1)}}function v(t,e){var i=(parseFloat(t[0])%360+360)%360/360,n=s(t[1]),a=s(t[2]),r=a<=.5?a*(n+1):a+n-a*n,u=2*a-r;return h(e=e||[],o(255*l(u,r,i+1/3)),o(255*l(u,r,i)),o(255*l(u,r,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var n=t*(e.length-1),r=Math.floor(n),s=Math.ceil(n),l=e[r],h=e[s],c=n-r;return i[0]=o(u(l[0],h[0],c)),i[1]=o(u(l[1],h[1],c)),i[2]=o(u(l[2],h[2],c)),i[3]=a(u(l[3],h[3],c)),i}}var y=m;function x(t,e,i){if(e&&e.length&&t>=0&&t<=1){var n=t*(e.length-1),r=Math.floor(n),s=Math.ceil(n),l=g(e[r]),h=g(e[s]),c=n-r,d=b([o(u(l[0],h[0],c)),o(u(l[1],h[1],c)),o(u(l[2],h[2],c)),a(u(l[3],h[3],c))],"rgba");return i?{color:d,leftIndex:r,rightIndex:s,value:n}:d}}var _=x;function b(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}e.parse=g,e.lift=function(t,e){var i=g(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0;return b(i,4===i.length?"rgba":"rgb")}},e.toHex=function(t){var e=g(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},e.fastLerp=m,e.fastMapToColor=y,e.lerp=x,e.mapToColor=_,e.modifyHSL=function(t,e,i,n){if(t=g(t))return t=function(t){if(t){var e,i,n=t[0]/255,o=t[1]/255,a=t[2]/255,r=Math.min(n,o,a),s=Math.max(n,o,a),l=s-r,u=(s+r)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+r):l/(2-s-r);var h=((s-n)/6+l/2)/l,c=((s-o)/6+l/2)/l,d=((s-a)/6+l/2)/l;n===s?e=d-c:o===s?e=1/3+h-d:a===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,i,u];return null!=t[3]&&p.push(t[3]),p}}(t),null!=e&&(t[0]=(o=e,(o=Math.round(o))<0?0:o>360?360:o)),null!=i&&(t[1]=s(i)),null!=n&&(t[2]=s(n)),b(v(t),"rgba");var o},e.modifyAlpha=function(t,e){if((t=g(t))&&null!=e)return t[3]=a(e),b(t,"rgba")},e.stringify=b},roT7:function(t,e,i){var n=i("+Ky8");n.registerAction({type:"axisAreaSelect",event:"axisAreaSelected",update:"updateVisual"},function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(e){e.axis.model.setActiveIntervals(t.intervals)})}),n.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(e){e.setAxisExpand(t)})})},rvD2:function(t,e,i){var n=i("G7Tm"),o=i("SKOb"),a=i("oBvO"),r=i("10+O");function s(t){n.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var i=this.style,n=i.image;i.bind(t,this,e);var o=this._image=r.createOrUpdateImage(n,this._image,this,this.onload);if(o&&r.isImageReady(o)){var a=i.x||0,s=i.y||0,l=i.width,u=i.height,h=o.width/o.height;if(null==l&&null!=u?l=u*h:null==u&&null!=l?u=l/h:null==l&&null==u&&(l=o.width,u=o.height),this.setTransform(t),i.sWidth&&i.sHeight){var c=i.sx||0,d=i.sy||0;t.drawImage(o,c,d,i.sWidth,i.sHeight,a,s,l,u)}else if(i.sx&&i.sy){var p=l-(c=i.sx),f=u-(d=i.sy);t.drawImage(o,c,d,p,f,a,s,l,u)}else t.drawImage(o,a,s,l,u);this.restoreTransform(t),null!=i.text&&this.drawRectText(t,this.getBoundingRect())}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new o(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},a.inherits(s,n);var l=s;t.exports=l},sBbI:function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("SKOb"),r=i("94CF"),s=i("ijUb"),l=i("ZbD3"),u=i("If2U"),h=["inBrush","outOfBrush"],c="__ecBrushSelect",d="__ecInBrushSelectEvent",p=n.PRIORITY.VISUAL.BRUSH;function f(t,e){if(!t.isDisposed()){var i=t.getZr();i[d]=!0,t.dispatchAction({type:"brushSelect",batch:e}),i[d]=!1}}function g(t,e,i,n){for(var o=0,a=e.length;oe[0][1]&&(e[0][1]=a[0]),a[1]e[1][1]&&(e[1][1]=a[1])}return e&&y(e)}};function y(t){return new a(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}},sSWk:function(t,e,i){var n=i("4NL3"),o=i("qzTy"),a=n.extend({type:"series.heatmap",getInitialData:function(t,e){return o(t.data,this,e)},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});t.exports=a},sX51:function(t,e,i){var n=i("oBvO"),o=i("Jw9/"),a=i("U9Yr"),r=i("0tn1");function s(t,e,i){this._model=t}function l(t,e,i,n){var o=i.calendarModel,a=i.seriesModel,r=o?o.coordinateSystem:a?a.coordinateSystem:null;return r===this?r[t](n):null}s.prototype={constructor:s,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"}]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){var e=(t=a.parseDate(t)).getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var n=t.getDate();n=n<10?"0"+n:n;var o=t.getDay();return{y:e,m:i,d:n,day:o=Math.abs((o+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+i+"-"+n,date:t}},getNextNDay:function(t,e){return 0===(e=e||0)?this.getDateInfo(t):((t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t))},update:function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle.normal").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var i=this._rangeInfo.weeks||1,a=["width","height"],r=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[i,7]:[7,i];n.each([0,1],function(t){c(r,t)&&(s[a[t]]=r[t]*l[t])});var u={width:e.getWidth(),height:e.getHeight()},h=this._rect=o.getLayoutRect(s,u);function c(t,e){return null!=t[e]&&"auto"!==t[e]}n.each([0,1],function(t){c(r,t)||(r[t]=h[a[t]]/l[t])}),this._sw=r[0],this._sh=r[1]},dataToPoint:function(t,e){n.isArray(t)&&(t=t[0]),null==e&&(e=!0);var i=this.getDateInfo(t),o=this._rangeInfo,a=i.formatedDate;if(e&&!(i.time>=o.start.time&&i.time<=o.end.time))return[NaN,NaN];var r=i.day,s=this._getRangeInfo([o.start.time,a]).nthWeek;return"vertical"===this._orient?[this._rect.x+r*this._sw+this._sw/2,this._rect.y+s*this._sh+this._sh/2]:[this._rect.x+s*this._sw+this._sw/2,this._rect.y+r*this._sh+this._sh/2]},pointToData:function(t){var e=this.pointToDate(t);return e&&e.time},dataToRect:function(t,e){var i=this.dataToPoint(t,e);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},pointToDate:function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,i=Math.floor((t[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(i,e-1,n):this._getDateByWeeksAndDay(e,i-1,n)},convertToPixel:n.curry(l,"dataToPoint"),convertFromPixel:n.curry(l,"pointToData"),_initRangeOption:function(){var t=this._model.get("range"),e=t;if(n.isArray(e)&&1===e.length&&(e=e[0]),/^\d{4}$/.test(e)&&(t=[e+"-01-01",e+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(e)){var i=this.getDateInfo(e),o=i.date;o.setMonth(o.getMonth()+1);var a=this.getNextNDay(o,-1);t=[i.formatedDate,a.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(e)&&(t=[e,e]);var r=this._getRangeInfo(t);return r.start.time>r.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var i=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,n=new Date(t[0].time),o=n.getDate(),a=t[1].date.getDate();if(n.setDate(o+i-1),n.getDate()!==a)for(var r=n.getTime()-t[1].time>0?1:-1;n.getDate()!==a&&(n.getTime()-t[1].time)*r>0;)i-=r,n.setDate(o+i-1);var s=Math.floor((i+t[0].day+6)/7),l=e?1-s:s-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:i,weeks:s,nthWeek:l,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,i){var n=this._getRangeInfo(i);if(t>n.weeks||0===t&&en.lweek)return!1;var o=7*(t-1)-n.fweek+e,a=new Date(n.start.time);return a.setDate(n.start.d+o),this.getDateInfo(a)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(t,e){var i=[];return t.eachComponent("calendar",function(n){var o=new s(n,t,e);i.push(o),n.coordinateSystem=o}),t.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])}),i},r.register("calendar",s);var u=s;t.exports=u},sdlX:function(t,e,i){var n=i("oBvO"),o=i("SKOb"),a=i("U9Yr"),r=a.parsePercent,s=a.MAX_SAFE_INTEGER,l=i("Jw9/"),u=i("XNsO"),h=Math.max,c=Math.min,d=n.retrieve,p=n.each,f=["itemStyle","normal","borderWidth"],g=["itemStyle","normal","gapWidth"],v=["upperLabel","normal","show"],m=["upperLabel","normal","height"];function y(t,e,i){for(var n,o=0,a=1/0,r=0,s=t.length;ro&&(o=n));var l=t.area*t.area,u=e*e*i;return l?h(u*o/l,l/(u*a)):1/0}function x(t,e,i,n,o){var a=e===i.width?0:1,r=1-a,s=["x","y"],l=["width","height"],u=i[s[a]],d=e?t.area/e:0;(o||d>i[l[r]])&&(d=i[l[r]]);for(var p=0,f=t.length;ps&&(h=s),r=a}hs[1]&&(s[1]=e)})}else s=[NaN,NaN];return{sum:n,dataExtent:s}}(e,s,l);if(0===h.sum)return t.viewChildren=[];if(h.sum=function(t,e,i,n,o){if(!n)return i;for(var a=t.get("visibleMin"),r=o.length,s=r,l=r-1;l>=0;l--){var u=o["asc"===n?r-l-1:l].getValue();u/i*eu&&(i*=u/(r=i+n),n*=u/r),o+a>u&&(o*=u/(r=o+a),a*=u/r),n+o>h&&(n*=h/(r=n+o),o*=h/r),i+a>h&&(i*=h/(r=i+a),a*=h/r),t.moveTo(s+i,l),t.lineTo(s+u-n,l),0!==n&&t.quadraticCurveTo(s+u,l,s+u,l+n),t.lineTo(s+u,l+h-o),0!==o&&t.quadraticCurveTo(s+u,l+h,s+u-o,l+h),t.lineTo(s+a,l+h),0!==a&&t.quadraticCurveTo(s,l+h,s,l+h-a),t.lineTo(s,l+i),0!==i&&t.quadraticCurveTo(s,l,s+i,l)}},slzO:function(t,e,i){var n=i("+Ky8"),o=i("oBvO"),a=i("p1Qj"),r=i("984V"),s=n.extendChartView({type:"map",render:function(t,e,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var o=this.group;if(o.removeAll(),!t.getHostGeoModel()){if(n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===t.id)(a=this._mapDraw)&&o.add(a.group);else if(t.needsDrawMap){var a=this._mapDraw||new r(i,!0);o.add(a.group),a.draw(t,e,i,this,n),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,i)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(t,e,i){var n=t.originalData,r=this.group;n.each("value",function(e,i){if(!isNaN(e)){var s=n.getItemLayout(i);if(s&&s.point){var l=s.point,u=s.offset,h=new a.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:l[0]+9*u,cy:l[1],r:3},silent:!0,z2:u?8:10});if(!u){var c=t.mainSeries.getData(),d=n.getName(i),p=c.indexOfName(d),f=n.getItemModel(i),g=f.getModel("label.normal"),v=f.getModel("label.emphasis"),m=c.getItemGraphicEl(p),y=o.retrieve2(t.getFormattedLabel(i,"normal"),d),x=o.retrieve2(t.getFormattedLabel(i,"emphasis"),y),_=function(){var t=a.setTextStyle({},v,{text:v.get("show")?x:null},{isRectText:!0,useInsideStyle:!1},!0);h.style.extendFrom(t),h.__mapOriginalZ2=h.z2,h.z2+=1},b=function(){a.setTextStyle(h.style,g,{text:g.get("show")?y:null,textPosition:g.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),null!=h.__mapOriginalZ2&&(h.z2=h.__mapOriginalZ2,h.__mapOriginalZ2=null)};m.on("mouseover",_).on("mouseout",b).on("emphasis",_).on("normal",b),b()}r.add(h)}}})}});t.exports=s},svCk:function(t,e){var i="undefined"==typeof navigator?{browser:{},os:{},node:!0,canvasSupported:!0,svgSupported:!0}:function(t){var e={},i=t.match(/Firefox\/([\d.]+)/),n=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(e.firefox=!0,e.version=i[1]);n&&(e.ie=!0,e.version=n[1]);o&&(e.edge=!0,e.version=o[1]);a&&(e.weChat=!0);return{browser:e,os:{},node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!e.ie&&!e.edge,pointerEventsSupported:"onpointerdown"in window&&(e.edge||e.ie&&e.version>=11)}}(navigator.userAgent);t.exports=i},t1Ab:function(t,e,i){i("SdGi").registerSubTypeDefaulter("timeline",function(){return"slider"})},t2IJ:function(t,e,i){var n=i("+Ky8"),o=i("oBvO");i("7yHZ"),i("F99S"),i("G1AW");var a=i("zbeF"),r=i("O9HX");i("ZV8W"),n.registerLayout(o.curry(a,"pictorialBar")),n.registerVisual(o.curry(r,"pictorialBar","roundRect",null))},tI6s:function(t,e,i){var n=i("p1Qj"),o=i("EJqA"),a=i("iESn"),r=i("HS5O"),s=i("1s0R"),l=["x","y"],u=["width","height"],h=o.extend({makeElOption:function(t,e,i,n,o){var s=i.axis,l=s.coordinateSystem,u=p(l,1-d(s)),h=l.dataToPoint(e)[0],f=n.get("type");if(f&&"none"!==f){var g=a.buildElStyle(n),v=c[f](s,h,u,g);v.style=g,t.graphicKey=v.type,t.pointer=v}var m=r.layout(i);a.buildCartesianSingleLabelElOption(e,t,m,i,n,o)},getHandleTransform:function(t,e,i){var n=r.layout(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.coordinateSystem,r=d(o),s=p(a,r),l=t.position;l[r]+=e[r],l[r]=Math.min(s[1],l[r]),l[r]=Math.max(s[0],l[r]);var u=p(a,1-r),h=(u[1]+u[0])/2,c=[h,h];return c[r]=l[r],{position:l,rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}}}),c={line:function(t,e,i,o){var r=a.makeLineShape([e,i[0]],[e,i[1]],d(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],d(t))}}};function d(t){return t.isHorizontal()?0:1}function p(t,e){var i=t.getRect();return[i[l[e]],i[l[e]]+i[u[e]]]}s.registerAxisPointerClass("SingleAxisPointer",h);var f=h;t.exports=f},"tJS+":function(t,e,i){var n=i("kmau").debugMode,o=function(){};1===n?o=function(){for(var t in arguments)throw new Error(arguments[t])}:n>1&&(o=function(){for(var t in arguments)console.log(arguments[t])});var a=o;t.exports=a},tSk9:function(t,e,i){var n=i("+Ky8"),o=i("oBvO");i("M4KN"),i("u5V6");var a=i("FO9v"),r=i("WiSY"),s=i("VKRr");n.registerVisual(o.curry(a,"funnel")),n.registerLayout(r),n.registerProcessor(o.curry(s,"funnel"))},tUAf:function(t,e,i){var n=i("oBvO"),o=i("45P/"),a=i("SdGi"),r=i("Xp4g"),s=i("/Uyr"),l=i("7PvJ"),u=a.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){a.prototype.init.apply(this,arguments),o.defaultEmphasis(t.label,["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=n.reduce(t.regions||[],function(t,i){return i.name&&t.set(i.name,new r(i,e)),t},n.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:.75,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,color:"#000"},emphasis:{show:!0,color:"rgb(100,0,0)"}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new r(null,this,this.ecModel)},getFormattedLabel:function(t,e){var i=this.getRegionModel(t).get("label."+e+".formatter"),n={name:t};return"function"==typeof i?(n.status=e,i(n)):"string"==typeof i?i.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});n.mixin(u,s);var h=u;t.exports=h},tazq:function(t,e,i){var n=i("oBvO"),o=i("SdGi"),a=i("pMij"),r=i("YEsR"),s=i("U9Yr"),l=i("gUWt"),u=o.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return a([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=n.clone(t);if(e)for(var i=e.length-1;i>=0;i--)s.asc(e[i])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t)return"inactive";for(var i=0,n=e.length;i=this._maxSize&&r>0){var l=i.head;i.remove(l),delete n[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new o(e),s.key=t,i.insertEntry(s),n[t]=s}return a},r.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},r.clear=function(){this._list.clear(),this._map={}};var s=a;t.exports=s},u5V6:function(t,e,i){var n=i("p1Qj"),o=i("oBvO"),a=i("/kGE");function r(t,e){n.Group.call(this);var i=new n.Polygon,o=new n.Polyline,a=new n.Text;function r(){o.ignore=o.hoverIgnore,a.ignore=a.hoverIgnore}function s(){o.ignore=o.normalIgnore,a.ignore=a.normalIgnore}this.add(i),this.add(o),this.add(a),this.updateData(t,e,!0),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}var s=r.prototype,l=["itemStyle","normal","opacity"];s.updateData=function(t,e,i){var a=this.childAt(0),r=t.hostModel,s=t.getItemModel(e),u=t.getItemLayout(e),h=t.getItemModel(e).get(l);h=null==h?1:h,a.useStyle({}),i?(a.setShape({points:u.points}),a.setStyle({opacity:0}),n.initProps(a,{style:{opacity:h}},r,e)):n.updateProps(a,{style:{opacity:h},shape:{points:u.points}},r,e);var c=s.getModel("itemStyle"),d=t.getItemVisual(e,"color");a.setStyle(o.defaults({lineJoin:"round",fill:d},c.getModel("normal").getItemStyle(["opacity"]))),a.hoverStyle=c.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),n.setHoverStyle(this)},s._updateLabel=function(t,e){var i=this.childAt(1),o=this.childAt(2),a=t.hostModel,r=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");n.updateProps(i,{shape:{points:s.linePoints||s.linePoints}},a,e),n.updateProps(o,{style:{x:s.x,y:s.y}},a,e),o.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=r.getModel("label.normal"),h=r.getModel("label.emphasis"),c=r.getModel("labelLine.normal"),d=r.getModel("labelLine.emphasis");l=t.getItemVisual(e,"color");n.setLabelStyle(o.style,o.hoverStyle={},u,h,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),o.ignore=o.normalIgnore=!u.get("show"),o.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!c.get("show"),i.hoverIgnore=!d.get("show"),i.setStyle({stroke:l}),i.setStyle(c.getModel("lineStyle").getLineStyle()),i.hoverStyle=d.getModel("lineStyle").getLineStyle()},o.inherits(r,n.Group);var u=a.extend({type:"funnel",render:function(t,e,i){var n=t.getData(),o=this._data,a=this.group;n.diff(o).add(function(t){var e=new r(n,t);n.setItemGraphicEl(t,e),a.add(e)}).update(function(t,e){var i=o.getItemGraphicEl(e);i.updateData(n,t),a.add(i),n.setItemGraphicEl(t,i)}).remove(function(t){var e=o.getItemGraphicEl(t);a.remove(e)}).execute(),this._data=n},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=u},uB0a:function(t,e,i){var n=i("wfRR"),o=n.min,a=n.max,r=n.scale,s=n.distance,l=n.add,u=n.clone,h=n.sub;t.exports=function(t,e,i,n){var c,d,p,f,g=[],v=[],m=[],y=[];if(n){p=[1/0,1/0],f=[-1/0,-1/0];for(var x=0,_=t.length;x<_;x++)o(p,p,t[x]),a(f,f,t[x]);o(p,p,n[0]),a(f,f,n[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(i)c=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){g.push(u(t[x]));continue}c=t[x-1],d=t[x+1]}h(v,d,c),r(v,v,e);var w=s(b,c),S=s(b,d),M=w+S;0!==M&&(w/=M,S/=M),r(m,v,-w),r(y,v,S);var I=l([],b,m),T=l([],b,y);n&&(a(I,I,p),o(I,I,f),a(T,T,p),o(T,T,f)),g.push(I),g.push(T)}return i&&g.push(g.shift()),g}},uB3x:function(t,e,i){i("Mguy").__DEV__;var n=i("+Ky8"),o=i("oBvO"),a=i("94CF"),r=i("Xp4g"),s=["#ddd"];function l(t,e){return o.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new r(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var u=n.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var i=this.option;!e&&a.replaceVisualOption(i,t,["inBrush","outOfBrush"]),i.inBrush=i.inBrush||{},i.outOfBrush=i.outOfBrush||{color:s}},setAreas:function(t){t&&(this.areas=o.map(t,function(t){return l(this.option,t)},this))},setBrushOption:function(t){this.brushOption=l(this.option,t),this.brushType=this.brushOption.brushType}});t.exports=u},uPge:function(t,e,i){var n=i("oBvO"),o=n.each,a="\0__link_datas",r="\0__link_mainData";function s(t,e){if((o=this)[r]===o){var i=n.extend({},this[a]);i[this.dataType]=e,c(e,i,t)}else d(e,this.dataType,this[r],t);var o;return e}function l(t,e){return t.struct&&t.struct.update(this),e}function u(t,e){return o(e[a],function(i,n){i!==e&&d(i.cloneShallow(),n,e,t)}),e}function h(t){var e=this[r];return null==t||null==e?e:e[a][t]}function c(t,e,i){t[a]={},o(e,function(e,n){d(e,n,t,i)})}function d(t,e,i,n){i[a][e]=t,t[r]=i,t.dataType=e,n.struct&&(t[n.structAttr]=n.struct,n.struct[n.datasAttr[e]]=t),t.getLinkedData=h}var p=function(t){var e=t.mainData,i=t.datas;i||(i={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,c(e,i,t),o(i,function(i){o(e.TRANSFERABLE_METHODS,function(e){i.wrapMethod(e,n.curry(s,t))})}),e.wrapMethod("cloneShallow",n.curry(u,t)),o(e.CHANGABLE_METHODS,function(i){e.wrapMethod(i,n.curry(l,t))}),n.assert(i[e.dataType]===e)};t.exports=p},uQpj:function(t,e,i){var n=i("oBvO"),o=i("U9Yr").parsePercent,a=i("p1Qj").subPixelOptimize,r=n.retrieve2;t.exports=function(t){t.eachSeriesByType("candlestick",function(t){var e,i=t.coordinateSystem,s=t.getData(),l=function(t,e){var i,n=t.getBaseAxis(),a="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/e.count()),s=o(r(t.get("barMaxWidth"),a),a),l=o(r(t.get("barMinWidth"),1),a),u=t.get("barWidth");return null!=u?o(u,a):Math.max(Math.min(a/2,s),l)}(t,s),u=t.get("layout"),h="horizontal"===u?0:1,c=1-h,d=["x","y"],p=[];if(n.each(s.dimensions,function(t){var i=s.getDimensionInfo(t).coordDim;i===d[c]?p.push(t):i===d[h]&&(e=t)}),!(null==e||p.length<4)){var f=0;s.each([e].concat(p),function(){var t,e,n,o=arguments,r=o[0],d=o[p.length+1],g=o[1],v=o[2],m=o[3],y=o[4],x=Math.min(g,v),_=Math.max(g,v),b=T(x),w=T(_),S=T(m),M=[[C(T(y)),C(w)],[C(S),C(b)]],I=[];function T(t){var e=[];return e[h]=r,e[c]=t,isNaN(r)||isNaN(t)?[NaN,NaN]:i.dataToPoint(e)}function A(t,e){var i=t.slice(),n=t.slice();i[h]=a(i[h]+l/2,1,!1),n[h]=a(n[h]-l/2,1,!0),e?I.push(i,n):I.push(n,i)}function C(t){return t[h]=a(t[h],1),t}A(w,0),A(b,1),t=g>v?-1:g0?s.getItemModel(f-1).get()[2]<=v?1:-1:1,s.setItemLayout(d,{chartLayout:u,sign:t,initBaseline:g>v?w[c]:b[c],bodyEnds:I,whiskerEnds:M,brushRect:(e=T(Math.min(g,v,m,y)),n=T(Math.max(g,v,m,y)),e[h]-=l/2,n[h]-=l/2,{x:e[0],y:e[1],width:c?l:n[0]-e[0],height:c?n[1]-e[1]:l})}),++f},!0)}})}},uZoH:function(t,e,i){var n=i("oBvO"),o=i("mUlx"),a=i("45P/"),r=o.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",normal:{show:!0,interval:"auto",rotate:0,color:"#304654"},emphasis:{show:!0,color:"#c23531"}},itemStyle:{normal:{color:"#304654",borderWidth:1},emphasis:{color:"#c23531"}},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",normal:{color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});n.mixin(r,a.dataFormatMixin);var s=r;t.exports=s},upEo:function(t,e,i){var n=i("oBvO"),o=i("45P/");t.exports=function(t,e){var i,a=[],r=t.seriesIndex;if(null==r||!(i=e.getSeriesByIndex(r)))return{point:[]};var s=i.getData(),l=o.queryDataIndex(s,t);if(null==l||n.isArray(l))return{point:[]};var u=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(t){return i.coordDimToDataDim(t)[0]}),l,!0))||[];else if(u){var c=u.getBoundingRect().clone();c.applyTransform(u.transform),a=[c.x+c.width/2,c.y+c.height/2]}return{point:a,el:u}}},vEWd:function(t,e,i){var n=i("BFHC"),o=i("wfRR"),a=i("b53G"),r=a.quadraticSubdivide,s=a.cubicSubdivide,l=a.quadraticAt,u=a.cubicAt,h=a.quadraticDerivativeAt,c=a.cubicDerivativeAt,d=[];function p(t,e,i){var n=t.cpx2,o=t.cpy2;return null===n||null===o?[(i?c:u)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?c:u)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?h:l)(t.x1,t.cpx1,t.x2,e),(i?h:l)(t.y1,t.cpy1,t.y2,e)]}var f=n.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var i=e.x1,n=e.y1,o=e.x2,a=e.y2,l=e.cpx1,u=e.cpy1,h=e.cpx2,c=e.cpy2,p=e.percent;0!==p&&(t.moveTo(i,n),null==h||null==c?(p<1&&(r(i,l,o,p,d),l=d[1],o=d[2],r(n,u,a,p,d),u=d[1],a=d[2]),t.quadraticCurveTo(l,u,o,a)):(p<1&&(s(i,l,h,o,p,d),l=d[1],h=d[2],o=d[3],s(n,u,c,a,p,d),u=d[1],c=d[2],a=d[3]),t.bezierCurveTo(l,u,h,c,o,a)))},pointAt:function(t){return p(this.shape,t,!1)},tangentAt:function(t){var e=p(this.shape,t,!0);return o.normalize(e,e)}});t.exports=f},vEcs:function(t,e,i){var n=i("KEOJ"),o=i("wfRR").applyTransform,a=n.CMD,r=[[],[],[]],s=Math.sqrt,l=Math.atan2;t.exports=function(t,e){var i,n,u,h,c,d=t.data,p=a.M,f=a.C,g=a.L,v=a.R,m=a.A,y=a.Q;for(u=0,h=0;uy[v]&&(v=e),n.extend(m,t.roamControllerOpt)}),{controlType:v,opt:m});f.controller.enable(x.controlType,x.opt),f.controller.setPointerChecker(e.containsPoint),a.createOrUpdate(f,"dispatchAction",e.throttleRate,"fixRate")},e.unregister=function(t,e){var i=l(t);n.each(i,function(t){t.controller.dispose();var i=t.dataZoomInfos;i[e]&&(delete i[e],t.count--)}),u(i)},e.shouldRecordRange=function(t,e){if(t&&"dataZoom"===t.type&&t.batch)for(var i=0,n=t.batch.length;i=i&&a<=i+e.axisLength&&r>=n&&r<=n+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries(function(i){if(t.contains(i,e)){var n=i.getData();c(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,t),r.niceScaleExtent(e.scale,e.model)},this)}},this)},resize:function(t,e){this._rect=a.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,i=this._rect,n=["x","y"],o=["width","height"],a=e.get("layout"),r="horizontal"===a?0:1,s=i[o[r]],l=[0,s],u=this.dimensions.length,h=x(e.get("axisExpandWidth"),l),c=x(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,p=e.get("axisExpandWindow");p?(t=x(p[1]-p[0],l),p[1]=p[0]+t):(t=x(h*(c-1),l),(p=[h*(e.get("axisExpandCenter")||f(u/2))-t/2])[1]=p[0]+t);var m=(s-t)/(u-c);m<3&&(m=0);var y=[f(v(p[0]/h,1))+1,g(v(p[1]/h,1))-1],_=m/h*p[0];return{layout:a,pixelDimIndex:r,layoutBase:i[n[r]],layoutLength:s,axisBase:i[n[1-r]],axisLength:i[o[1-r]],axisExpandable:d,axisExpandWidth:h,axisCollapseWidth:m,axisExpandWindow:p,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:_}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),a=n.layout;e.each(function(t){var e=[0,n.axisLength],i=t.inverse?1:0;t.setExtent(e[i],e[1-i])}),c(i,function(i,r){var s=(n.axisExpandable?function(t,e){var i,n,o=e.layoutLength,a=e.axisExpandWidth,r=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;to*(1-c[0])?(l="jump",r=s-o*(1-c[2])):(r=s-o*c[1])>=0&&(r=s-o*(1-c[1]))<=0&&(r=0),(r*=e.axisExpandWidth/u)?h(r,n,a,"all"):l="none";else{o=n[1]-n[0];(n=[p(0,a[1]*s/o-o/2)])[1]=d(a[1],n[0]+o),n[0]=n[1]-o}return{axisExpandWindow:n,behavior:l}}};var _=y;t.exports=_},wfRR:function(t,e){var i="undefined"==typeof Float32Array?Array:Float32Array;function n(t){return Math.sqrt(a(t))}var o=n;function a(t){return t[0]*t[0]+t[1]*t[1]}var r=a;function s(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var l=s;function u(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var h=u;e.create=function(t,e){var n=new i(2);return null==t&&(t=0),null==e&&(e=0),n[0]=t,n[1]=e,n},e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t},e.clone=function(t){var e=new i(2);return e[0]=t[0],e[1]=t[1],e},e.set=function(t,e,i){return t[0]=e,t[1]=i,t},e.add=function(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t},e.scaleAndAdd=function(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t},e.sub=function(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t},e.len=n,e.length=o,e.lenSquare=a,e.lengthSquare=r,e.mul=function(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t},e.div=function(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t},e.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]},e.scale=function(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t},e.normalize=function(t,e){var i=n(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t},e.distance=s,e.dist=l,e.distanceSquare=u,e.distSquare=h,e.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t},e.lerp=function(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t},e.applyTransform=function(t,e,i){var n=e[0],o=e[1];return t[0]=i[0]*n+i[2]*o+i[4],t[1]=i[1]*n+i[3]*o+i[5],t},e.min=function(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t},e.max=function(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}},wiSQ:function(t,e,i){var n=i("oBvO"),o=i("4NL3"),a=i("zRtB").seriesModelMixin,r=o.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:["min","Q1","median","Q3","max"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{normal:{color:"#fff",borderWidth:1},emphasis:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});n.mixin(r,a,!0);var s=r;t.exports=s},xFii:function(t,e,i){var n=i("Ei0F").extend({type:"timeline"});t.exports=n},xNcQ:function(t,e){t.exports=function(t,e,i,n,o,a){if(a>e&&a>n||ao?r:0}},xTFM:function(t,e,i){var n=i("oBvO"),o=i("wfRR"),a=i("0UfQ"),r=i("SKOb"),s=i("8ADx"),l=o.applyTransform;function u(){s.call(this)}function h(t){this.name=t,this.zoomLimit,s.call(this),this._roamTransform=new u,this._viewTransform=new u,this._center,this._zoom}function c(t,e,i,n){var o=i.seriesModel,a=o?o.coordinateSystem:null;return a===this?a[t](n):null}n.mixin(u,s),h.prototype={constructor:h,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,i,n){return this._rect=new r(t,e,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,i,n){this.transformTo(t,e,i,n),this._viewRect=new r(t,e,i,n)},transformTo:function(t,e,i,n){var o=this.getBoundingRect(),a=this._viewTransform;a.transform=o.calculateTransform(new r(t,e,i,n)),a.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransform},_updateCenterAndZoom:function(){var t=this._viewTransform.getLocalTransform(),e=this._roamTransform,i=this.getDefaultCenter(),n=this.getCenter(),a=this.getZoom();n=o.applyTransform([],n,t),i=o.applyTransform([],i,t),e.origin=n,e.position=[i[0]-n[0],i[1]-n[1]],e.scale=[a,a],this._updateTransform()},_updateTransform:function(){var t=this._roamTransform,e=this._viewTransform;e.parent=t,t.updateTransform(),e.updateTransform(),e.transform&&a.copy(this.transform||(this.transform=[]),e.transform),this.transform?(this.invTransform=this.invTransform||[],a.invert(this.invTransform,this.transform)):this.invTransform=null,this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t){var e=this.transform;return e?l([],t,e):[t[0],t[1]]},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:n.curry(c,"dataToPoint"),convertFromPixel:n.curry(c,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},n.mixin(h,s);var d=h;t.exports=d},xw5Q:function(t,e,i){var n=i("Hpxy"),o=i("p1Qj"),a=["textStyle","color"],r={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(a):null)},getFont:function(){return o.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return n.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=r},yCzS:function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var i=0;i+e.start.y&&(p=p+"-"+e.end.y);var f=o.get("formatter"),g={start:e.start.y,end:e.end.y,nameMap:p},v=this._formatterLabel(f,g),m=new a.Text({z2:30});a.setTextStyle(m.style,o,{text:v}),m.attr(this._yearTextPositionControl(m,d[s],i,s,r)),n.add(m)}},_monthTextPositionControl:function(t,e,i,n,o){var a="left",r="top",s=t[0],l=t[1];return"horizontal"===i?(l+=o,e&&(a="center"),"start"===n&&(r="bottom")):(s+=o,e&&(r="middle"),"start"===n&&(a="right")),{x:s,y:l,textAlign:a,textVerticalAlign:r}},_renderMonthText:function(t,e,i){var n=t.getModel("monthLabel");if(n.get("show")){var r=n.get("nameMap"),s=n.get("margin"),u=n.get("position"),h=n.get("align"),c=[this._tlpoints,this._blpoints];o.isString(r)&&(r=l[r.toUpperCase()]||[]);var d="start"===u?0:1,p="horizontal"===e?0:1;s="start"===u?-s:s;for(var f="center"===h,g=0;gi[d],y=[-g.x,-g.y];y[c]=r.position[c];var x=[0,0],_=[-v.x,-v.y],b=n.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));m&&("end"===t.get("pageButtonPosition",!0)?_[c]+=i[d]-v[d]:x[c]+=v[d]+b);_[1-c]+=g[p]/2-v[p]/2,r.attr("position",y),s.attr("position",x),h.attr("position",_);var w=this.group.getBoundingRect();if((w={x:0,y:0})[d]=m?i[d]:g[d],w[p]=Math.max(g[p],v[p]),w[f]=Math.min(0,v[f]+_[1-c]),s.__rectSize=i[d],m){var S={x:0,y:0};S[d]=Math.max(i[d]-v[d]-b,0),S[p]=w[p],s.setClipPath(new o.Rect({shape:S})),s.__rectSize=S[d]}else h.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var M=this._getPageInfo(t);return null!=M.pageIndex&&o.updateProps(r,{position:M.contentPosition},!!m&&t),this._updatePageInfoView(t,M),w},_pageGo:function(t,e,i){var n=this._getPageInfo(e)[t];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:e.id})},_updatePageInfoView:function(t,e){var i=this._controllerGroup;n.each(["pagePrev","pageNext"],function(n){var o=null!=e[n+"DataIndex"],a=i.childOfName(n);a&&(a.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")});var o=i.childOfName("pageText"),a=t.get("pageFormatter"),r=e.pageIndex,s=null!=r?r+1:0,l=e.pageCount;o&&a&&o.setStyle("text",n.isString(a)?a.replace("{current}",s).replace("{total}",l):a({current:s,total:l}))},_getPageInfo:function(t){var e,i,n,o,a=t.get("scrollDataIndex",!0),r=this.getContentGroup(),s=r.getBoundingRect(),h=this._containerGroup.__rectSize,c=t.getOrient().index,d=l[c],p=l[1-c],f=u[c],g=r.position.slice();this._showController?r.eachChild(function(t){t.__legendDataIndex===a&&(o=t)}):o=r.childAt(0);var v=h?Math.ceil(s[d]/h):0;if(o){var m=o.getBoundingRect(),y=o.position[c]+m[f];g[c]=-y-s[f],e=Math.floor(v*(y+m[f]+h/2)/s[d]),e=s[d]&&v?Math.max(0,Math.min(v-1,e)):-1;var x,_={x:0,y:0};_[d]=h,_[p]=s[p],_[f]=-g[c]-s[f];var b=r.children();if(r.eachChild(function(t,e){var i=S(t);i.intersect(_)&&(null==x&&(x=e),n=t.__legendDataIndex),e===b.length-1&&i[f]+i[d]<=_[f]+_[d]&&(n=null)}),null!=x){var w=S(b[x]);if(_[f]=w[f]+w[d]-_[d],x<=0&&w[f]>=_[f])i=null;else{for(;x>0&&S(b[x-1]).intersect(_);)x--;i=b[x].__legendDataIndex}}}return{contentPosition:g,pageIndex:e,pageCount:v,pagePrevDataIndex:i,pageNextDataIndex:n};function S(t){var e=t.getBoundingRect().clone();return e[f]+=t.position[c],e}}}),c=h;t.exports=c},zbeF:function(t,e,i){var n=i("oBvO"),o=i("U9Yr").parsePercent,a="__ec_stack_";function r(t){return t.get("stack")||a+t.seriesIndex}function s(t){return t.dim+t.index}function l(t,e){var i={};n.each(t,function(t,e){var n=t.axisKey,o=t.bandWidth,a=i[n]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},r=a.stacks;i[n]=a;var s=t.stackId;r[s]||a.autoWidthCount++,r[s]=r[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!r[s].width&&(r[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=t.barMaxWidth;u&&(r[s].maxWidth=u);var h=t.barGap;null!=h&&(a.gap=h);var c=t.barCategoryGap;null!=c&&(a.categoryGap=c)});var a={};return n.each(i,function(t,e){a[e]={};var i=t.stacks,r=t.bandWidth,s=o(t.categoryGap,r),l=o(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),n.each(i,function(t,e){var i=t.maxWidth;i&&i=0?"p":"n",v=m[i],y=h[o][i][u],x=c[o][i][u];p.isHorizontal()?(n=y,a=v[1]+l,r=v[0]-x,s=d,c[o][i][u]+=r,Math.abs(r)