chengkun
2025-05-20 f6f7bd25619ad0c0dfb5e609332e9fa1db419386
1
2
3
4
5
6
7
8
9
10
!function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&module.exports?module.exports=e():t.echarts=e()}(this,function(){var t,e;!function(){function i(t,e){if(!e)return t;if(0===t.indexOf(".")){var i=e.split("/"),n=t.split("/"),r=i.length-1,a=n.length,o=0,s=0;t:for(var l=0;a>l;l++)switch(n[l]){case"..":if(!(r>o))break t;o++,s++;break;case".":s++;break;default:break t}return i.length=r-o,n=n.slice(s),i.concat(n).join("/")}return t}function n(t){function e(e,o){if("string"==typeof e){var s=n[e];return s||(s=a(i(e,t)),n[e]=s),s}e instanceof Array&&(o=o||function(){},o.apply(this,r(e,o,t)))}var n={};return e}function r(e,n,r){for(var s=[],l=o[r],c=0,u=Math.min(e.length,n.length);u>c;c++){var h,d=i(e[c],r);switch(d){case"require":h=l&&l.require||t;break;case"exports":h=l.exports;break;case"module":h=l;break;default:h=a(d)}s.push(h)}return s}function a(t){var e=o[t];if(!e)throw new Error("No "+t);if(!e.defined){var i=e.factory,n=i.apply(this,r(e.deps||[],i,t));"undefined"!=typeof n&&(e.exports=n),e.defined=1}return e.exports}var o={};e=function(t,e,i){o[t]={id:t,deps:e,factory:i,defined:0,exports:{},require:n(t)}},t=n("")}();var i="moveTo",n="../core/util",r="ecModel",a="parent",o="stroke",s="lineWidth",l="applyTransform",c="zrender/core/BoundingRect",u="indexOfName",h="mapArray",d="radius",f="inside",p="getName",m="option",g="dataToPoint",v="emphasis",y="getItemVisual",x="getItemGraphicEl",_="getItemModel",b="normal",w="animation",M="../../util/graphic",S="dimensions",T="ordinal",C="getAxis",A="category",P="getComponent",L="concat",z="getContext",k="createElement",D="getExtent",I="contain",R="opacity",O="position",E="center",B="middle",V="getBoundingRect",N="getTextColor",G="getFont",F="textAlign",Z="textStyle",H="inherits",W="function",q="indexOf",X="isArray",j="replace",U="traverse",Y="zlevel",J="getDataParams",$="seriesIndex",Q="dataIndex",K="target",te="mouseout",ee="mouseover",ie="splice",ne="series",re="eachSeries",ae="trigger",oe="length",se="dispatchAction",le="extend",ce="remove",ue="isObject",he="update",de="create",fe="height",pe="bottom",me="ignore",ge="eachComponent",ve="canvasSupported",ye="getHeight",xe="getWidth",_e="getModel",be="resize",we="string",Me="prototype",Se="toLowerCase",Te="transform",Ce="zrender/core/vector",Ae="getItemStyle",Pe="backgroundColor",Le="defaults",ze="coordinateSystem",ke="removeAll",De="filter",Ie="getData",Re="zrender/core/util",Oe="require";e("echarts/chart/bar",[Oe,Re,"../coord/cartesian/Grid","./bar/BarSeries","./bar/BarView","../layout/barGrid","../echarts","../component/grid"],function(t){var e=t(Re);t("../coord/cartesian/Grid"),t("./bar/BarSeries"),t("./bar/BarView");var i=t("../layout/barGrid"),n=t("../echarts");n.registerLayout(e.curry(i,"bar")),n.registerVisualCoding("chart",function(t){t.eachSeriesByType("bar",function(t){var e=t[Ie]();e.setVisual("legendSymbol","roundRect")})}),t("../component/grid")}),e("echarts/chart/pie",[Oe,Re,"../echarts","./pie/PieSeries","./pie/PieView","../action/createDataSelectAction","../visual/dataColor","./pie/pieLayout","../processor/dataFilter"],function(t){var e=t(Re),i=t("../echarts");t("./pie/PieSeries"),t("./pie/PieView"),t("../action/createDataSelectAction")("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),i.registerVisualCoding("chart",e.curry(t("../visual/dataColor"),"pie")),i.registerLayout(e.curry(t("./pie/pieLayout"),"pie")),i.registerProcessor(De,e.curry(t("../processor/dataFilter"),"pie"))}),e("echarts/chart/line",[Oe,Re,"../echarts","./line/LineSeries","./line/LineView","../visual/symbol","../layout/points","../processor/dataSample","../component/grid"],function(t){var e=t(Re),i=t("../echarts");t("./line/LineSeries"),t("./line/LineView"),i.registerVisualCoding("chart",e.curry(t("../visual/symbol"),"line","circle","line")),i.registerLayout(e.curry(t("../layout/points"),"line")),i.registerProcessor("statistic",e.curry(t("../processor/dataSample"),"line")),t("../component/grid")}),e("echarts/component/grid",[Oe,"../util/graphic",Re,"../coord/cartesian/Grid","./axis","../echarts"],function(t){var e=t("../util/graphic"),i=t(Re);t("../coord/cartesian/Grid"),t("./axis"),t("../echarts").extendComponentView({type:"grid",render:function(t){this.group[ke](),t.get("show")&&this.group.add(new e.Rect({shape:t[ze].getRect(),style:i[Le]({fill:t.get(Pe)},t[Ae]()),silent:!0}))}})}),e("echarts/echarts",[Oe,"./model/Global","./ExtensionAPI","./CoordinateSystem","./model/OptionManager","./model/Component","./model/Series","./view/Component","./view/Chart","./util/graphic","zrender",Re,"zrender/tool/color","zrender/core/env","zrender/mixin/Eventful","./loading/default","./visual/seriesColor","./preprocessor/backwardCompat","./util/number","./util/format","zrender/core/matrix",Ce],function(t){function e(t){return function(e,i,n){e=e&&e[Se](),A[Me][t].call(this,e,i,n)}}function i(){A.call(this)}function n(t,e,n){n=n||{},typeof e===we&&(e=F[e]),e&&P(N,function(t){t(e)}),this.id,this.group,this._dom=t,this._zr=M.init(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio}),this._theme=S.clone(e),this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._api=new m(this),this._coordSysMgr=new g,A.call(this),this._messageCenter=new i,this._initEvents(),this[be]=S.bind(this[be],this)}function r(t,e){var i=this._model;i&&i[ge]({mainType:"series",query:e},function(n){var r=this._chartsMap[n.__viewId];r&&r.__alive&&r[t](n,i,this._api,e)},this)}function a(t,e,i){var n=this._api;P(this._componentsViews,function(r){var a=r.__model;r[t](a,e,n,i),d(a,r)},this),e[re](function(r){var a=this._chartsMap[r.__viewId];a[t](r,e,n,i),d(r,a)},this)}function o(t,e){for(var i="component"===t,n=i?this._componentsViews:this._chartsViews,r=i?this._componentsMap:this._chartsMap,a=this._zr,o=0;o<n[oe];o++)n[o].__alive=!1;e[i?ge:re](function(t,o){if(i){if(t===ne)return}else o=t;var s=o.id+"_"+o.type,l=r[s];if(!l){var c=y.parseClassType(o.type),u=i?_.getClass(c.main,c.sub):b.getClass(c.sub);if(!u)return;l=new u,l.init(e,this._api),r[s]=l,n.push(l),a.add(l.group)}o.__viewId=s,l.__alive=!0,l.__id=s,l.__model=o},this);for(var o=0;o<n[oe];){var s=n[o];s.__alive?o++:(a[ce](s.group),s.dispose(e,this._api),n[ie](o,1),delete r[s.__id])}}function s(t,e){P(z,function(i){P(V[i]||[],function(i){i(t,e)})})}function l(t){var e={};t[re](function(t){var i=t.get("stack"),n=t[Ie]();if(i&&"list"===n.type){var r=e[i];r&&(n.stackedOn=r),e[i]=n}})}function c(t,e){var i=this._api;P(B,function(n){n(t,i,e)})}function u(t,e){P(L,function(i){P(G[i]||[],function(i){i(t,e)})})}function h(t,e){var i=this._api;P(this._componentsViews,function(n){var r=n.__model;n.render(r,t,i,e),d(r,n)},this),P(this._chartsViews,function(t){t.__alive=!1},this),t[re](function(n){var r=this._chartsMap[n.__viewId];r.__alive=!0,r.render(n,t,i,e),r.group.silent=!!n.get("silent"),d(n,r)},this),P(this._chartsViews,function(e){e.__alive||e[ce](t,i)},this)}function d(t,e){var i=t.get("z"),n=t.get(Y);e.group[U](function(t){null!=i&&(t.z=i),null!=n&&(t[Y]=n)})}function f(t){function e(t,e){for(var i=0;i<t[oe];i++){var n=t[i];n[a]=e}}var i=0,n=1,r=2,a="__connectUpdateStatus";S.each(E,function(o,s){t._messageCenter.on(s,function(o){if(Ae[t.group]&&t[a]!==i){var s=t.makeActionFromEvent(o),l=[];for(var c in Z){var u=Z[c];u!==t&&u.group===t.group&&l.push(u)}e(l,i),P(l,function(t){t[a]!==n&&t[se](s)}),e(l,r)}})})}var p=t("./model/Global"),m=t("./ExtensionAPI"),g=t("./CoordinateSystem"),v=t("./model/OptionManager"),y=t("./model/Component"),x=t("./model/Series"),_=t("./view/Component"),b=t("./view/Chart"),w=t("./util/graphic"),M=t("zrender"),S=t(Re),T=t("zrender/tool/color"),C=t("zrender/core/env"),A=t("zrender/mixin/Eventful"),P=S.each,L=["echarts","chart","component"],z=[Te,De,"statistic"];i[Me].on=e("on"),i[Me].off=e("off"),i[Me].one=e("one"),S.mixin(i,A);var k=n[Me];k.getDom=function(){return this._dom},k.getZr=function(){return this._zr},k.setOption=function(t,e,i){(!this._model||e)&&(this._model=new p(null,null,this._theme,new v(this._api))),this._model.setOption(t,N),D.prepareAndUpdate.call(this),!i&&this._zr.refreshImmediately()},k.setTheme=function(){console.log("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},k[_e]=function(){return this._model},k.getOption=function(){return this._model.getOption()},k[xe]=function(){return this._zr[xe]()},k[ye]=function(){return this._zr[ye]()},k.getRenderedCanvas=function(t){if(C[ve]){t=t||{},t.pixelRatio=t.pixelRatio||1,t[Pe]=t[Pe]||this._model.get(Pe);var e=this._zr,i=e.storage.getDisplayList();return S.each(i,function(t){t.stopAnimation(!0)}),e.painter.getRenderedCanvas(t)}},k.getDataURL=function(t){t=t||{};var e=t.excludeComponents,i=this._model,n=[],r=this;P(e,function(t){i[ge]({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group[me]||(n.push(e),e.group[me]=!0)})});var a=this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return P(n,function(t){t.group[me]=!1}),a},k.getConnectedDataURL=function(t){if(C[ve]){var e=this.group,i=Math.min,n=Math.max,r=1/0;if(Ae[e]){var a=r,o=r,s=-r,l=-r,c=[],u=t&&t.pixelRatio||1;for(var h in Z){var d=Z[h];if(d.group===e){var f=d.getRenderedCanvas(S.clone(t)),p=d.getDom().getBoundingClientRect();a=i(p.left,a),o=i(p.top,o),s=n(p.right,s),l=n(p[pe],l),c.push({dom:f,left:p.left,top:p.top})}}a*=u,o*=u,s*=u,l*=u;var m=s-a,g=l-o,v=S.createCanvas();v.width=m,v[fe]=g;var y=M.init(v);return P(c,function(t){var e=new w.Image({style:{x:t.left*u-a,y:t.top*u-o,image:t.dom}});y.add(e)}),y.refreshImmediately(),v.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}};var D={update:function(t){var e=this._model,i=this._api,n=this._coordSysMgr;if(e){e.restoreData(),n[de](this._model,this._api),s.call(this,e,i),l.call(this,e),n[he](e,i),c.call(this,e,t),u.call(this,e,t),h.call(this,e,t);var r=e.get(Pe)||"transparent",a=this._zr.painter;if(a.isSingleCanvas&&a.isSingleCanvas())this._zr.configLayer(0,{clearColor:r});else{if(!C[ve]){var o=T.parse(r);r=T.stringify(o,"rgb"),0===o[3]&&(r="transparent")}r=r,this._dom.style[Pe]=r}}},updateView:function(t){var e=this._model;e&&(c.call(this,e,t),u.call(this,e,t),a.call(this,"updateView",e,t))},updateVisual:function(t){var e=this._model;e&&(u.call(this,e,t),a.call(this,"updateVisual",e,t))},updateLayout:function(t){var e=this._model;e&&(c.call(this,e,t),a.call(this,"updateLayout",e,t))},highlight:function(t){r.call(this,"highlight",t)},downplay:function(t){r.call(this,"downplay",t)},prepareAndUpdate:function(t){var e=this._model;o.call(this,"component",e),o.call(this,"chart",e),D[he].call(this,t)}};k[be]=function(){this._zr[be]();var t=this._model&&this._model.resetOption("media");D[t?"prepareAndUpdate":he].call(this),this._loadingFX&&this._loadingFX[be]()};var I=t("./loading/default");k.showLoading=function(t,e){S[ue](t)&&(e=t,t="default"),this.hideLoading();var i=I(this._api,e),n=this._zr;this._loadingFX=i,n.add(i)},k.hideLoading=function(){this._loadingFX&&this._zr[ce](this._loadingFX),this._loadingFX=null},k.makeActionFromEvent=function(t){var e=S[le]({},t);return e.type=E[t.type],e},k[se]=function(t,e){var i=O[t.type];if(i){var n=i.actionInfo,r=n[he]||he,a=[t],o=!1;t.batch&&(o=!0,a=S.map(t.batch,function(e){return e=S[Le](S[le]({},e),t),e.batch=null,e}));for(var s,l=[],c="highlight"===t.type||"downplay"===t.type,u=0;u<a[oe];u++){var h=a[u];s=i.action(h,this._model),s=s||S[le]({},h),s.type=n.event||s.type,l.push(s),c&&D[r].call(this,h)}"none"!==r&&!c&&D[r].call(this,t),e||(s=o?{type:n.event||t.type,batch:l}:l[0],this._messageCenter[ae](s.type,s))}},k.on=e("on"),k.off=e("off"),k.one=e("one");var R=["click","dblclick",ee,te,"mousedown","mouseup","globalout"];k._initEvents=function(){P(R,function(t){this._zr.on(t,function(e){var i=this[_e](),n=e[K];if(n&&null!=n[Q]){var r=n.dataModel||i.getSeriesByIndex(n[$]),a=r&&r[J](n[Q],n.dataType)||{};a.event=e,a.type=t,this[ae](t,a)}else n&&n.eventData&&this[ae](t,n.eventData)},this)},this),P(E,function(t,e){this._messageCenter.on(e,function(t){this[ae](e,t)},this)},this)},k.isDisposed=function(){return this._disposed},k.clear=function(){this.setOption({},!0)},k.dispose=function(){this._disposed=!0;var t=this._api,e=this._model;P(this._componentsViews,function(i){i.dispose(e,t)}),P(this._chartsViews,function(i){i.dispose(e,t)}),this._zr.dispose(),delete Z[this.id]},S.mixin(n,A);var O=[],E={},B=[],V={},N=[],G={},F={},Z={},Ae={},ze=new Date-0,ke=new Date-0,Oe="_echarts_instance_",Ee={version:"3.1.10",dependencies:{zrender:"3.1.0"}};return Ee.init=function(t,e,i){if(M.version[j](".","")-0<Ee.dependencies.zrender[j](".","")-0)throw new Error("ZRender "+M.version+" is too old for ECharts "+Ee.version+". Current version need ZRender "+Ee.dependencies.zrender+"+");if(!t)throw new Error("Initialize failed: invalid dom.");var r=new n(t,e,i);return r.id="ec_"+ze++,Z[r.id]=r,t.setAttribute&&t.setAttribute(Oe,r.id),f(r),r},Ee.connect=function(t){if(S[X](t)){var e=t;t=null,S.each(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+ke++,S.each(e,function(e){e.group=t})}return Ae[t]=!0,t},Ee.disConnect=function(t){Ae[t]=!1},Ee.dispose=function(t){S.isDom(t)?t=Ee.getInstanceByDom(t):typeof t===we&&(t=Z[t]),t instanceof n&&!t.isDisposed()&&t.dispose()},Ee.getInstanceByDom=function(t){var e=t.getAttribute(Oe);return Z[e]},Ee.getInstanceById=function(t){return Z[t]},Ee.registerTheme=function(t,e){F[t]=e},Ee.registerPreprocessor=function(t){N.push(t)},Ee.registerProcessor=function(t,e){if(S[q](z,t)<0)throw new Error("stage should be one of "+z);var i=V[t]||(V[t]=[]);i.push(e)},Ee.registerAction=function(t,e,i){typeof e===W&&(i=e,e="");var n=S[ue](t)?t.type:[t,t={event:e}][0];t.event=(t.event||n)[Se](),e=t.event,O[n]||(O[n]={action:i,actionInfo:t}),E[e]=n},Ee.registerCoordinateSystem=function(t,e){g.register(t,e)},Ee.registerLayout=function(t){S[q](B,t)<0&&B.push(t)},Ee.registerVisualCoding=function(t,e){if(S[q](L,t)<0)throw new Error("stage should be one of "+L);var i=G[t]||(G[t]=[]);i.push(e)},Ee.extendChartView=function(t){return b[le](t)},Ee.extendComponentModel=function(t){return y[le](t)},Ee.extendSeriesModel=function(t){return x[le](t)},Ee.extendComponentView=function(t){return _[le](t)},Ee.setCanvasCreator=function(t){S.createCanvas=t},Ee.registerVisualCoding("echarts",S.curry(t("./visual/seriesColor"),"","itemStyle")),Ee.registerPreprocessor(t("./preprocessor/backwardCompat")),Ee.registerAction({type:"highlight",event:"highlight",update:"highlight"},S.noop),Ee.registerAction({type:"downplay",event:"downplay",update:"downplay"},S.noop),Ee.graphic=t("./util/graphic"),Ee.number=t("./util/number"),Ee.format=t("./util/format"),Ee.matrix=t("zrender/core/matrix"),Ee.vector=t(Ce),Ee.util={},P(["map","each",De,q,H,"reduce",De,"bind","curry",X,"isString",ue,"isFunction",le],function(t){Ee.util[t]=S[t]}),Ee}),e("echarts/component/geo",[Oe,"../coord/geo/GeoModel","../coord/geo/geoCreator","./geo/GeoView","../action/geoRoam","../echarts",Re],function(t){function e(t,e){e[he]="updateView",i.registerAction(e,function(e,i){var r={};return i[ge]({mainType:"geo",query:e},function(i){i[t](e.name);var a=i[ze];n.each(a.regions,function(t){r[t.name]=i.isSelected(t.name)||!1})}),{selected:r,name:e.name}})}t("../coord/geo/GeoModel"),t("../coord/geo/geoCreator"),t("./geo/GeoView"),t("../action/geoRoam");var i=t("../echarts"),n=t(Re);e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"})}),e("echarts/component/legend",[Oe,"./legend/LegendModel","./legend/legendAction","./legend/LegendView","../echarts","./legend/legendFilter"],function(t){t("./legend/LegendModel"),t("./legend/legendAction"),t("./legend/LegendView");var e=t("../echarts");e.registerProcessor(De,t("./legend/legendFilter"))}),e("echarts/component/title",[Oe,"../echarts","../util/graphic","../util/layout"],function(t){var e=t("../echarts"),i=t("../util/graphic"),n=t("../util/layout");e.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),e.extendComponentView({type:"title",render:function(t,e,r){if(this.group[ke](),t.get("show")){var a=this.group,o=t[_e](Z),s=t[_e]("subtextStyle"),l=t.get(F),c=new i.Text({style:{text:t.get("text"),textFont:o[G](),fill:o[N](),textBaseline:"top"},z2:10}),u=c[V](),h=t.get("subtext"),d=new i.Text({style:{text:h,textFont:s[G](),fill:s[N](),y:u[fe]+t.get("itemGap"),textBaseline:"top"},z2:10}),f=t.get("link"),p=t.get("sublink");c.silent=!f,d.silent=!p,f&&c.on("click",function(){window.open(f,"_"+t.get(K))}),p&&d.on("click",function(){window.open(p,"_"+t.get("subtarget"))}),a.add(c),h&&a.add(d);var m=a[V](),g=t.getBoxLayoutParams();g.width=m.width,g[fe]=m[fe];var v=n.getLayoutRect(g,{width:r[xe](),height:r[ye]()},t.get("padding"));l||(l=t.get("left")||t.get("right"),l===B&&(l=E),"right"===l?v.x+=v.width:l===E&&(v.x+=v.width/2)),a[O]=[v.x,v.y],c.setStyle(F,l),d.setStyle(F,l),m=a[V]();var y=v.margin,x=t[Ae](["color",R]);x.fill=t.get(Pe);var _=new i.Rect({shape:{x:m.x-y[3],y:m.y-y[0],width:m.width+y[1]+y[3],height:m[fe]+y[0]+y[2]},style:x,silent:!0});i.subPixelOptimizeRect(_),a.add(_)}}})}),e("echarts/component/tooltip",[Oe,"./tooltip/TooltipModel","./tooltip/TooltipView","../echarts"],function(t){t("./tooltip/TooltipModel"),t("./tooltip/TooltipView"),t("../echarts").registerAction({type:"showTip",event:"showTip",update:"none"},function(){}),t("../echarts").registerAction({type:"hideTip",event:"hideTip",update:"none"},function(){})}),e("echarts/component/toolbox",[Oe,"./toolbox/ToolboxModel","./toolbox/ToolboxView","./toolbox/feature/SaveAsImage","./toolbox/feature/MagicType","./toolbox/feature/DataView","./toolbox/feature/DataZoom","./toolbox/feature/Restore"],function(t){t("./toolbox/ToolboxModel"),t("./toolbox/ToolboxView"),t("./toolbox/feature/SaveAsImage"),t("./toolbox/feature/MagicType"),t("./toolbox/feature/DataView"),t("./toolbox/feature/DataZoom"),t("./toolbox/feature/Restore")}),e("zrender/vml/vml",[Oe,"./graphic","../zrender","./Painter"],function(t){t("./graphic"),t("../zrender").registerPainter("vml",t("./Painter"))}),e("echarts/scale/Time",[Oe,Re,"../util/number","../util/format","./Interval"],function(t){var e=t(Re),i=t("../util/number"),n=t("../util/format"),r=t("./Interval"),a=r[Me],o=Math.ceil,s=Math.floor,l=1e3,c=60*l,u=60*c,h=24*u,d=function(t,e,i,n){for(;n>i;){var r=i+n>>>1;t[r][2]<e?i=r+1:n=r}return i},f=r[le]({type:"time",getLabel:function(t){var e=this._stepLvl,i=new Date(t);return n.formatTime(e[0],i)},niceExtent:function(t,e,n){var r=this._extent;if(r[0]===r[1]&&(r[0]-=h,r[1]+=h),r[1]===-1/0&&1/0===r[0]){var a=new Date;r[1]=new Date(a.getFullYear(),a.getMonth(),a.getDate()),r[0]=r[1]-h}this.niceTicks(t);var l=this._interval;e||(r[0]=i.round(s(r[0]/l)*l)),n||(r[1]=i.round(o(r[1]/l)*l))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0],r=n/t,a=p[oe],l=d(p,r,0,a),c=p[Math.min(l,a-1)],u=c[2];if("year"===c[0]){var h=n/u,f=i.nice(h/t,!0);u*=f}var m=[o(e[0]/u)*u,s(e[1]/u)*u];this._stepLvl=c,this._interval=u,this._niceExtent=m},parse:function(t){return+i.parseDate(t)}});e.each([I,"normalize"],function(t){f[Me][t]=function(e){return a[t].call(this,this.parse(e))}});var p=[["hh:mm:ss",1,l],["hh:mm:ss",5,5*l],["hh:mm:ss",10,10*l],["hh:mm:ss",15,15*l],["hh:mm:ss",30,30*l],["hh:mm\nMM-dd",1,c],["hh:mm\nMM-dd",5,5*c],["hh:mm\nMM-dd",10,10*c],["hh:mm\nMM-dd",15,15*c],["hh:mm\nMM-dd",30,30*c],["hh:mm\nMM-dd",1,u],["hh:mm\nMM-dd",2,2*u],["hh:mm\nMM-dd",6,6*u],["hh:mm\nMM-dd",12,12*u],["MM-dd\nyyyy",1,h],["week",7,7*h],["month",1,31*h],["quarter",3,380*h/4],["half-year",6,380*h/2],["year",1,380*h]];return f[de]=function(){return new f},f}),e("echarts/scale/Log",[Oe,Re,"./Scale","../util/number","./Interval"],function(t){var e=t(Re),i=t("./Scale"),n=t("../util/number"),r=t("./Interval"),a=i[Me],o=r[Me],s=Math.floor,l=Math.ceil,c=Math.pow,u=10,h=Math.log,d=i[le]({type:"log",getTicks:function(){return e.map(o.getTicks.call(this),function(t){return n.round(c(u,t))})},getLabel:o.getLabel,scale:function(t){return t=a.scale.call(this,t),c(u,t)},setExtent:function(t,e){t=h(t)/h(u),e=h(e)/h(u),o.setExtent.call(this,t,e)},getExtent:function(){var t=a[D].call(this);return t[0]=c(u,t[0]),t[1]=c(u,t[1]),t},unionExtent:function(t){t[0]=h(t[0])/h(u),t[1]=h(t[1])/h(u),a.unionExtent.call(this,t)},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(1/0===i||0>=i)){var r=c(10,s(h(i/t)/Math.LN10)),a=t/i*r;.5>=a&&(r*=10);var o=[n.round(l(e[0]/r)*r),n.round(s(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},niceExtent:o.niceExtent});return e.each([I,"normalize"],function(t){d[Me][t]=function(e){return e=h(e)/h(u),a[t].call(this,e)}}),d[de]=function(){return new d},d}),e(Re,[Oe,"../graphic/Gradient"],function(t){function e(t){if("object"==typeof t&&null!==t){var i=t;if(t instanceof Array){i=[];for(var n=0,r=t[oe];r>n;n++)i[n]=e(t[n])}else if(!M(t)&&!S(t)){i={};for(var a in t)t.hasOwnProperty(a)&&(i[a]=e(t[a]))}return i}return t}function i(t,n,r){if(!w(n)||!w(t))return r?e(n):t;for(var a in n)if(n.hasOwnProperty(a)){var o=t[a],s=n[a];!w(s)||!w(o)||x(s)||x(o)||S(s)||S(o)||M(s)||M(o)?!r&&a in t||(t[a]=e(n[a],!0)):i(o,s,r)}return t}function n(t,e){for(var n=t[0],r=1,a=t[oe];a>r;r++)n=i(n,t[r],e);return n}function r(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function a(t,e,i){for(var n in e)e.hasOwnProperty(n)&&(i?null!=e[n]:null==t[n])&&(t[n]=e[n]);return t}function o(){return document[k]("canvas")}function s(){return P||(P=F.createCanvas()[z]("2d")),P}function l(t,e){if(t){if(t[q])return t[q](e);for(var i=0,n=t[oe];n>i;i++)if(t[i]===e)return i}return-1}function c(t,e){function i(){}var n=t[Me];i[Me]=e[Me],t[Me]=new i;for(var r in n)t[Me][r]=n[r];t[Me].constructor=t,t.superClass=e}function u(t,e,i){t=Me in t?t[Me]:t,e=Me in e?e[Me]:e,a(t,e,i)}function h(t){return t?typeof t==we?!1:"number"==typeof t[oe]:void 0}function d(t,e,i){if(t&&e)if(t.forEach&&t.forEach===E)t.forEach(e,i);else if(t[oe]===+t[oe])for(var n=0,r=t[oe];r>n;n++)e.call(i,t[n],n,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(i,t[a],a,t)}function f(t,e,i){if(t&&e){if(t.map&&t.map===N)return t.map(e,i);for(var n=[],r=0,a=t[oe];a>r;r++)n.push(e.call(i,t[r],r,t));return n}}function p(t,e,i,n){if(t&&e){if(t.reduce&&t.reduce===G)return t.reduce(e,i,n);for(var r=0,a=t[oe];a>r;r++)i=e.call(n,i,t[r],r,t);return i}}function m(t,e,i){if(t&&e){if(t[De]&&t[De]===B)return t[De](e,i);for(var n=[],r=0,a=t[oe];a>r;r++)e.call(i,t[r],r,t)&&n.push(t[r]);return n}}function g(t,e,i){if(t&&e)for(var n=0,r=t[oe];r>n;n++)if(e.call(i,t[n],n,t))return t[n]}function v(t,e){var i=V.call(arguments,2);return function(){return t.apply(e,i[L](V.call(arguments)))}}function y(t){var e=V.call(arguments,1);return function(){return t.apply(this,e[L](V.call(arguments)))}}function x(t){return"[object Array]"===R.call(t)}function _(t){return typeof t===W}function b(t){return"[object String]"===R.call(t)}function w(t){var e=typeof t;return e===W||!!t&&"object"==e}function M(t){return!!I[R.call(t)]||t instanceof D}function S(t){return t&&1===t.nodeType&&typeof t.nodeName==we}function T(){for(var t=0,e=arguments[oe];e>t;t++)if(null!=arguments[t])return arguments[t]}function C(){return Function.call.apply(V,arguments)}function A(t,e){if(!t)throw new Error(e)}var P,D=t("../graphic/Gradient"),I={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1},R=Object[Me].toString,O=Array[Me],E=O.forEach,B=O[De],V=O.slice,N=O.map,G=O.reduce,F={inherits:c,mixin:u,clone:e,merge:i,mergeAll:n,extend:r,defaults:a,getContext:s,createCanvas:o,indexOf:l,slice:C,find:g,isArrayLike:h,each:d,map:f,reduce:p,filter:m,bind:v,curry:y,isArray:x,isString:b,isObject:w,isFunction:_,isBuildInObject:M,isDom:S,retrieve:T,assert:A,noop:function(){}};return F}),e("echarts/coord/cartesian/Grid",[Oe,"exports","../../util/layout","../../coord/axisHelper",Re,"./Cartesian2D","./Axis2D","./GridModel","../../CoordinateSystem"],function(t){function e(t,e,i){return i[P]("grid",t.get("gridIndex"))===e}function i(t){var e,i=t.model,n=i.getFormattedLabels(),r=1,a=n[oe];a>40&&(r=Math.ceil(a/40));for(var o=0;a>o;o+=r)if(!t.isLabelIgnored(o)){var s=i.getTextRect(n[o]);e?e.union(s):e=s}return e}function n(t,e,i){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,i),this._model=t}function r(t,e){var i=t[D](),n=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}}var a=t("../../util/layout"),o=t("../../coord/axisHelper"),s=t(Re),l=t("./Cartesian2D"),c=t("./Axis2D"),u=s.each,h=o.ifAxisCrossZero,d=o.niceScaleExtent;t("./GridModel");var f=n[Me];return f.type="grid",f.getRect=function(){return this._rect},f[he]=function(t,e){function i(t){var e=n[t];for(var i in e){var r=e[i];if(r&&(r.type===A||!h(r)))return!0}return!1}var n=this._axesMap;this._updateScale(t,this._model),u(n.x,function(t){d(t,t.model)}),u(n.y,function(t){d(t,t.model)}),u(n.x,function(t){i("y")&&(t.onZero=!1)}),u(n.y,function(t){i("x")&&(t.onZero=!1)}),this[be](this._model,e)},f[be]=function(t,e){function n(){u(s,function(t){var e=t.isHorizontal(),i=e?[0,o.width]:[0,o[fe]],n=t.inverse?1:0;t.setExtent(i[n],i[1-n]),r(t,e?o.x:o.y)})}var o=a.getLayoutRect(t.getBoxLayoutParams(),{width:e[xe](),height:e[ye]()});this._rect=o;var s=this._axesList;n(),t.get("containLabel")&&(u(s,function(t){if(!t.model.get("axisLabel.inside")){var e=i(t);if(e){var n=t.isHorizontal()?fe:"width",r=t.model.get("axisLabel.margin");o[n]-=e[n]+r,"top"===t[O]?o.y+=e[fe]+r:"left"===t[O]&&(o.x+=e.width+r)}}}),n())},f[C]=function(t,e){var i=this._axesMap[t];if(null!=i){if(null==e)for(var n in i)return i[n];return i[e]}},f.getCartesian=function(t,e){var i="x"+t+"y"+e;return this._coordsMap[i]},f._initCartesian=function(t,i){function n(n){return function(l,u){if(e(l,t,i)){var h=l.get(O);"x"===n?("top"!==h&&h!==pe&&(h=pe),r[h]&&(h="top"===h?pe:"top")):("left"!==h&&"right"!==h&&(h="left"),r[h]&&(h="left"===h?"right":"left")),r[h]=!0;var d=new c(n,o.createScaleByModel(l),[0,0],l.get("type"),h),f=d.type===A;d.onBand=f&&l.get("boundaryGap"),d.inverse=l.get("inverse"),d.onZero=l.get("axisLine.onZero"),l.axis=d,d.model=l,d.index=u,this._axesList.push(d),a[n][u]=d,s[n]++}}}var r={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};return i[ge]("xAxis",n("x"),this),i[ge]("yAxis",n("y"),this),s.x&&s.y?(this._axesMap=a,void u(a.x,function(t,e){u(a.y,function(i,n){var r="x"+e+"y"+n,a=new l(r);a.grid=this,this._coordsMap[r]=a,this._coordsList.push(a),a.addAxis(t),a.addAxis(i)},this)},this)):(this._axesMap={},void(this._axesList=[]))},f._updateScale=function(t,i){function n(t,e,i){u(i.coordDimToDataDim(e.dim),function(i){e.scale.unionExtent(t.getDataExtent(i,e.scale.type!==T))})}s.each(this._axesList,function(t){t.scale.setExtent(1/0,-1/0)}),t[re](function(r){if("cartesian2d"===r.get(ze)){var a=r.get("xAxisIndex"),o=r.get("yAxisIndex"),s=t[P]("xAxis",a),l=t[P]("yAxis",o);if(!e(s,i,t)||!e(l,i,t))return;var c=this.getCartesian(a,o),u=r[Ie](),h=c[C]("x"),d=c[C]("y");"list"===u.type&&(n(u,h,r),n(u,d,r))}},this)},n[de]=function(t,e){var i=[];return t[ge]("grid",function(r,a){var o=new n(r,t,e);o.name="grid_"+a,o[be](r,e),r[ze]=o,i.push(o)}),t[re](function(e){if("cartesian2d"===e.get(ze)){var n=e.get("xAxisIndex"),r=t[P]("xAxis",n),a=i[r.get("gridIndex")];e[ze]=a.getCartesian(n,e.get("yAxisIndex"))}}),i},n[S]=l[Me][S],t("../../CoordinateSystem").register("cartesian2d",n),n}),e("echarts/chart/bar/BarView",[Oe,Re,M,"../../model/Model","./barItemStyle","../../echarts"],function(t){function e(t,e){var i=t.width>0?1:-1,n=t[fe]>0?1:-1;e=Math.min(e,Math.abs(t.width),Math.abs(t[fe])),t.x+=i*e/2,t.y+=n*e/2,t.width-=i*e,t[fe]-=n*e}var i=t(Re),n=t(M);return i[le](t("../../model/Model")[Me],t("./barItemStyle")),t("../../echarts").extendChartView({type:"bar",render:function(t,e,i){var n=t.get(ze);return"cartesian2d"===n&&this._renderOnCartesian(t,e,i),this.group},_renderOnCartesian:function(t){function r(r,a){var s=o.getItemLayout(r),l=o[_](r).get(d)||0;e(s,l);var c=new n.Rect({shape:i[le]({},s)});if(h){var f=c.shape,p=u?fe:"width",m={};f[p]=0,m[p]=s[p],n[a?"updateProps":"initProps"](c,{shape:m},t,r)}return c}var a=this.group,o=t[Ie](),s=this._data,l=t[ze],c=l.getBaseAxis(),u=c.isHorizontal(),h=t.get(w),d=["itemStyle",b,"barBorderWidth"];o.diff(s).add(function(t){if(o.hasValue(t)){var e=r(t);o.setItemGraphicEl(t,e),a.add(e)}})[he](function(i,l){var c=s[x](l);if(!o.hasValue(i))return void a[ce](c);c||(c=r(i,!0));var u=o.getItemLayout(i),h=o[_](i).get(d)||0;e(u,h),n.updateProps(c,{shape:u},t,i),o.setItemGraphicEl(i,c),a.add(c)})[ce](function(e){var i=s[x](e);i&&(i.style.text="",n.updateProps(i,{shape:{width:0}},t,e,function(){a[ce](i)}))}).execute(),this._updateStyle(t,o,u),this._data=o},_updateStyle:function(t,e,r){function a(t,e,i,r,a){n.setText(t,e,i),t.text=r,"outside"===t.textPosition&&(t.textPosition=a)}e.eachItemGraphicEl(function(o,s){var l=e[_](s),c=e[y](s,"color"),u=e[y](s,R),h=e.getItemLayout(s),d=l[_e]("itemStyle.normal"),f=l[_e]("itemStyle.emphasis").getBarItemStyle();o.setShape("r",d.get("barBorderRadius")||0),o.useStyle(i[Le]({fill:c,opacity:u},d.getBarItemStyle()));var p=r?h[fe]>0?pe:"top":h.width>0?"left":"right",m=l[_e]("label.normal"),g=l[_e]("label.emphasis"),x=o.style;m.get("show")?a(x,m,c,i.retrieve(t.getFormattedLabel(s,b),t.getRawValue(s)),p):x.text="",g.get("show")?a(f,g,c,i.retrieve(t.getFormattedLabel(s,v),t.getRawValue(s)),p):f.text="",n.setHoverStyle(o,f)})},remove:function(t){var e=this.group;t.get(w)?this._data&&this._data.eachItemGraphicEl(function(i){i.style.text="",n.updateProps(i,{shape:{width:0}},t,i[Q],function(){e[ce](i)})}):e[ke]()}})}),e("echarts/chart/bar/BarSeries",[Oe,"../../model/Series","../helper/createListFromArray"],function(t){var e=t("../../model/Series"),i=t("../helper/createListFromArray");return e[le]({type:"series.bar",dependencies:["grid","polar"],getInitialData:function(t,e){return i(t.data,this,e)},getMarkerPosition:function(t){var e=this[ze];if(e){var i=e[g](t),n=this[Ie](),r=n.getLayout("offset"),a=n.getLayout("size"),o=e.getBaseAxis().isHorizontal()?0:1;return i[o]+=r+a/2,i}return[0/0,0/0]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,barMinHeight:0,itemStyle:{normal:{barBorderColor:"#fff",barBorderWidth:0},emphasis:{barBorderColor:"#fff",barBorderWidth:0}}}})}),e("echarts/layout/barGrid",[Oe,Re,"../util/number"],function(t){function e(t){return t.get("stack")||"__ec_stack_"+t[$]}function i(t){var i={};r.each(t,function(t){var n=t[ze],r=n.getBaseAxis(),a=i[r.index]||{remainedWidth:r.getBandWidth(),autoWidthCount:0,categoryGap:"20%",gap:"30%",axis:r,stacks:{}},o=a.stacks;i[r.index]=a;var s=e(t);o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.get("barWidth"),c=t.get("barMaxWidth"),u=t.get("barGap"),h=t.get("barCategoryGap");l&&!o[s].width&&(l=Math.min(a.remainedWidth,l),o[s].width=l,a.remainedWidth-=l),c&&(o[s].maxWidth=c),null!=u&&(a.gap=u),null!=h&&(a.categoryGap=h)});var n={};return r.each(i,function(t,e){n[e]={};var i=t.stacks,a=t.axis,s=a.getBandWidth(),l=o(t.categoryGap,s),c=o(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,d=(u-l)/(h+(h-1)*c);d=Math.max(d,0),r.each(i,function(t){var e=t.maxWidth;!t.width&&e&&d>e&&(e=Math.min(e,u),u-=e,t.width=e,h--)}),d=(u-l)/(h+(h-1)*c),d=Math.max(d,0);var f,p=0;r.each(i,function(t){t.width||(t.width=d),f=t,p+=t.width*(1+c)}),f&&(p-=f.width*c);var m=-p/2;r.each(i,function(t,i){n[e][i]=n[e][i]||{offset:m,width:t.width},m+=t.width*(1+c)
})}),n}function n(t,n){var a=i(r[De](n.getSeriesByType(t),function(t){return!n.isSeriesFiltered(t)&&t[ze]&&"cartesian2d"===t[ze].type})),o={};n.eachSeriesByType(t,function(t){var i=t[Ie](),n=t[ze],r=n.getBaseAxis(),s=e(t),l=a[r.index][s],c=l.offset,u=l.width,h=n.getOtherAxis(r),d=t.get("barMinHeight")||0,f=r.onZero?h.toGlobalCoord(h.dataToCoord(0)):h.getGlobalExtent()[0],p=n.dataToPoints(i,!0);o[s]=o[s]||[],i.setLayout({offset:c,size:u}),i.each(h.dim,function(t,e){if(!isNaN(t)){o[s][e]||(o[s][e]={p:f,n:f});var n,r,a,l,m=t>=0?"p":"n",g=p[e],v=o[s][e][m];h.isHorizontal()?(n=v,r=g[1]+c,a=g[0]-v,l=u,Math.abs(a)<d&&(a=(0>a?-1:1)*d),o[s][e][m]+=a):(n=g[0]+c,r=v,a=u,l=g[1]-v,Math.abs(l)<d&&(l=(0>=l?-1:1)*d),o[s][e][m]+=l),i.setItemLayout(e,{x:n,y:r,width:a,height:l})}},!0)},this)}var r=t(Re),a=t("../util/number"),o=a.parsePercent;return n}),e("echarts/chart/pie/PieSeries",[Oe,"../../data/List",Re,"../../util/model","../../data/helper/completeDimensions","../../component/helper/selectableMixin","../../echarts"],function(t){var e=t("../../data/List"),i=t(Re),n=t("../../util/model"),r=t("../../data/helper/completeDimensions"),a=t("../../component/helper/selectableMixin"),o=t("../../echarts").extendSeriesModel({type:"series.pie",init:function(t){o.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._dataBeforeProcessed},this.updateSelectedMap(t.data),this._defaultLabelLine(t)},mergeOption:function(t){o.superCall(this,"mergeOption",t),this.updateSelectedMap(this[m].data)},getInitialData:function(t){var i=r(["value"],t.data),n=new e(i,this);return n.initData(t.data),n},getDataParams:function(t){var e=this._data,i=o.superCall(this,J,t),n=e.getSum("value");return i.percent=n?+(e.get("value",t)/n*100).toFixed(2):0,i.$vars.push("percent"),i},_defaultLabelLine:function(t){n.defaultEmphasis(t.labelLine,["show"]);var e=t.labelLine[b],i=t.labelLine[v];e.show=e.show&&t.label[b].show,i.show=i.show&&t.label[v].show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,selectedOffset:10,avoidLabelOverlap:!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:{borderColor:"rgba(0,0,0,0)",borderWidth:1},emphasis:{borderColor:"rgba(0,0,0,0)",borderWidth:1}},animationEasing:"cubicOut",data:[]}});return i.mixin(o,a),o}),e("echarts/action/createDataSelectAction",[Oe,"../echarts",Re],function(t){var e=t("../echarts"),i=t(Re);return function(t,n){i.each(n,function(i){i[he]="updateView",e.registerAction(i,function(e,n){var r={};return n[ge]({mainType:"series",subType:t,query:e},function(t){t[i.method]&&t[i.method](e.name);var n=t[Ie]();n.each(function(e){var i=n[p](e);r[i]=t.isSelected(i)||!1})}),{name:e.name,selected:r}})})}}),e("echarts/chart/pie/PieView",[Oe,M,Re,"../../view/Chart"],function(t){function e(t,e,n,r){var a=e[Ie](),o=this[Q],s=a[p](o),l=e.get("selectedOffset");r[se]({type:"pieToggleSelect",from:t,name:s,seriesId:e.id}),a.each(function(t){i(a[x](t),a.getItemLayout(t),e.isSelected(a[p](t)),l,n)})}function i(t,e,i,n,r){var a=(e.startAngle+e.endAngle)/2,o=Math.cos(a),s=Math.sin(a),l=i?n:0,c=[o*l,s*l];r?t.animate().when(200,{position:c}).start("bounceOut"):t.attr(O,c)}function n(t,e){function i(){o[me]=o.hoverIgnore,s[me]=s.hoverIgnore}function n(){o[me]=o.normalIgnore,s[me]=s.normalIgnore}a.Group.call(this);var r=new a.Sector({z2:2}),o=new a.Polyline,s=new a.Text;this.add(r),this.add(o),this.add(s),this.updateData(t,e,!0),this.on(v,i).on(b,n).on(ee,i).on(te,n)}function r(t,e,i,n,r){var a=n[_e](Z),s=r===f||"inner"===r;return{fill:a[N]()||(s?"#fff":t[y](e,"color")),opacity:t[y](e,R),textFont:a[G](),text:o.retrieve(t.hostModel.getFormattedLabel(e,i),t[p](e))}}var a=t(M),o=t(Re),s=n[Me];s.updateData=function(t,e,n){function r(){l.stopAnimation(!0),l.animateTo({shape:{r:h.r+10}},300,"elasticOut")}function s(){l.stopAnimation(!0),l.animateTo({shape:{r:h.r}},300,"elasticOut")}var l=this.childAt(0),c=t.hostModel,u=t[_](e),h=t.getItemLayout(e),d=o[le]({},h);d.label=null,n?(l.setShape(d),l.shape.endAngle=h.startAngle,a.updateProps(l,{shape:{endAngle:h.endAngle}},c,e)):a.updateProps(l,{shape:d},c,e);var f=u[_e]("itemStyle"),p=t[y](e,"color");l.useStyle(o[Le]({fill:p},f[_e](b)[Ae]())),l.hoverStyle=f[_e](v)[Ae](),i(this,t.getItemLayout(e),u.get("selected"),c.get("selectedOffset"),c.get(w)),l.off(ee).off(te).off(v).off(b),u.get("hoverAnimation")&&l.on(ee,r).on(te,s).on(v,r).on(b,s),this._updateLabel(t,e),a.setHoverStyle(this)},s._updateLabel=function(t,e){var i=this.childAt(1),n=this.childAt(2),o=t.hostModel,s=t[_](e),l=t.getItemLayout(e),c=l.label,u=t[y](e,"color");a.updateProps(i,{shape:{points:c.linePoints||[[c.x,c.y],[c.x,c.y],[c.x,c.y]]}},o,e),a.updateProps(n,{style:{x:c.x,y:c.y}},o,e),n.attr({style:{textVerticalAlign:c.verticalAlign,textAlign:c[F],textFont:c.font},rotation:c.rotation,origin:[c.x,c.y],z2:10});var h=s[_e]("label.normal"),d=s[_e]("label.emphasis"),f=s[_e]("labelLine.normal"),p=s[_e]("labelLine.emphasis"),m=h.get(O)||d.get(O);n.setStyle(r(t,e,b,h,m)),n[me]=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),i[me]=i.normalIgnore=!f.get("show"),i.hoverIgnore=!p.get("show"),i.setStyle({stroke:u,opacity:t[y](e,R)}),i.setStyle(f[_e]("lineStyle").getLineStyle()),n.hoverStyle=r(t,e,v,d,m),i.hoverStyle=p[_e]("lineStyle").getLineStyle();var g=f.get("smooth");g&&g===!0&&(g=.4),i.setShape({smooth:g})},o[H](n,a.Group);var l=t("../../view/Chart")[le]({type:"pie",init:function(){var t=new a.Group;this._sectorGroup=t},render:function(t,i,r,a){if(!a||a.from!==this.uid){var s=t[Ie](),l=this._data,c=this.group,u=i.get(w),h=!l,d=o.curry(e,this.uid,t,u,r),f=t.get("selectedMode");if(s.diff(l).add(function(t){var e=new n(s,t);h&&e.eachChild(function(t){t.stopAnimation(!0)}),f&&e.on("click",d),s.setItemGraphicEl(t,e),c.add(e)})[he](function(t,e){var i=l[x](e);i.updateData(s,t),i.off("click"),f&&i.on("click",d),c.add(i),s.setItemGraphicEl(t,i)})[ce](function(t){var e=l[x](t);c[ce](e)}).execute(),u&&h&&s.count()>0){var p=s.getItemLayout(0),m=Math.max(r[xe](),r[ye]())/2,g=o.bind(c.removeClipPath,c);c.setClipPath(this._createClipPath(p.cx,p.cy,m,p.startAngle,p.clockwise,g,t))}this._data=s}},_createClipPath:function(t,e,i,n,r,o,s){var l=new a.Sector({shape:{cx:t,cy:e,r0:0,r:i,startAngle:n,endAngle:n,clockwise:r}});return a.initProps(l,{shape:{endAngle:n+(r?1:-1)*Math.PI*2}},s,o),l}});return l}),e("echarts/chart/pie/pieLayout",[Oe,"../../util/number","./labelLayout",Re],function(t){var e=t("../../util/number"),i=e.parsePercent,n=t("./labelLayout"),r=t(Re),a=2*Math.PI,o=Math.PI/180;return function(t,s,l){s.eachSeriesByType(t,function(t){var s=t.get(E),c=t.get(d);r[X](c)||(c=[0,c]),r[X](s)||(s=[s,s]);var u=l[xe](),h=l[ye](),f=Math.min(u,h),p=i(s[0],u),m=i(s[1],h),g=i(c[0],f/2),v=i(c[1],f/2),y=t[Ie](),x=-t.get("startAngle")*o,_=t.get("minAngle")*o,b=y.getSum("value"),w=Math.PI/(b||y.count())*2,M=t.get("clockwise"),S=t.get("roseType"),T=y.getDataExtent("value");T[0]=0;var C=a,A=0,P=x,L=M?1:-1;if(y.each("value",function(t,i){var n;n="area"!==S?0===b?w:t*w:a/(y.count()||1),_>n?(n=_,C-=_):A+=t;var r=P+L*n;y.setItemLayout(i,{angle:n,startAngle:P,endAngle:r,clockwise:M,cx:p,cy:m,r0:g,r:S?e.linearMap(t,T,[g,v]):v}),P=r},!0),a>C)if(.001>=C){var z=a/y.count();y.each(function(t){var e=y.getItemLayout(t);e.startAngle=x+L*t*z,e.endAngle=x+L*(t+1)*z})}else w=C/A,P=x,y.each("value",function(t,e){var i=y.getItemLayout(e),n=i.angle===_?_:t*w;i.startAngle=P,i.endAngle=P+L*n,P+=n});n(t,v,u,h)})}}),e("echarts/visual/dataColor",[Oe],function(){return function(t,e){var i=e.get("color"),n=0;e.eachRawSeriesByType(t,function(t){var r=t.get("color",!0),a=t.getRawData();if(!e.isSeriesFiltered(t)){var o=t[Ie]();o.each(function(t){var e=o[_](t),s=o.getRawIndex(t),l=o[y](t,"color",!0);if(l)a.setItemVisual(s,"color",l);else{var c=r?r[s%r[oe]]:i[(s+n)%i[oe]],u=e.get("itemStyle.normal.color")||c;a.setItemVisual(s,"color",u),o.setItemVisual(t,"color",u)}})}n+=a.count()})}}),e("echarts/processor/dataFilter",[],function(){return function(t,e){var i=e.findComponents({mainType:"legend"});i&&i[oe]&&e.eachSeriesByType(t,function(t){var e=t[Ie]();e.filterSelf(function(t){for(var n=e[p](t),r=0;r<i[oe];r++)if(!i[r].isSelected(n))return!1;return!0},this)},this)}}),e("echarts/chart/line/LineView",[Oe,Re,"../helper/SymbolDraw","../helper/Symbol","./lineAnimationDiff",M,"./poly","../../view/Chart"],function(t){function e(t,e){if(t[oe]===e[oe]){for(var i=0;i<t[oe];i++){var n=t[i],r=e[i];if(n[0]!==r[0]||n[1]!==r[1])return}return!0}}function i(t){return"number"==typeof t?t:t?.3:0}function n(t){var e=t.getGlobalExtent();if(t.onBand){var i=t.getBandWidth()/2-1,n=e[1]>e[0]?1:-1;e[0]+=n*i,e[1]-=n*i}return e}function r(t){return t>=0?1:-1}function a(t,e){var i=t.getBaseAxis(),n=t.getOtherAxis(i),a=i.onZero?0:n.scale[D]()[0],o=n.dim,s="x"===o||o===d?1:0;return e[h]([o],function(n,l){for(var c,u=e.stackedOn;u&&r(u.get(o,l))===r(n);){c=u;break}var h=[];return h[s]=e.get(i.dim,l),h[1-s]=c?c.get(o,l,!0):a,t[g](h)},!0)}function o(t,e){return null!=e[Q]?e[Q]:null!=e.name?t[u](e.name):void 0}function s(t,e,i){var r=n(t[C]("x")),a=n(t[C]("y")),o=t.getBaseAxis().isHorizontal(),s=Math.min(r[0],r[1]),l=Math.min(a[0],a[1]),c=Math.max(r[0],r[1])-s,u=Math.max(a[0],a[1])-l,h=i.get("lineStyle.normal.width")||2,d=i.get("clipOverflow")?h/2:Math.max(c,u);o?(l-=d,u+=2*d):(s-=d,c+=2*d);var f=new y.Rect({shape:{x:s,y:l,width:c,height:u}});return e&&(f.shape[o?"width":fe]=0,y.initProps(f,{shape:{width:c,height:u}},i)),f}function l(t,e,i){var n=t.getAngleAxis(),r=t.getRadiusAxis(),a=r[D](),o=n[D](),s=Math.PI/180,l=new y.Sector({shape:{cx:t.cx,cy:t.cy,r0:a[0],r:a[1],startAngle:-o[0]*s,endAngle:-o[1]*s,clockwise:n.inverse}});return e&&(l.shape.endAngle=-o[0]*s,y.initProps(l,{shape:{endAngle:-o[1]*s}},i)),l}function c(t,e,i){return"polar"===t.type?l(t,e,i):s(t,e,i)}var f=t(Re),p=t("../helper/SymbolDraw"),m=t("../helper/Symbol"),v=t("./lineAnimationDiff"),y=t(M),_=t("./poly"),b=t("../../view/Chart");return b[le]({type:"line",init:function(){var t=new y.Group,e=new p;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,n,r){var o=t[ze],s=this.group,l=t[Ie](),u=t[_e]("lineStyle.normal"),d=t[_e]("areaStyle.normal"),p=l[h](l.getItemLayout,!0),m="polar"===o.type,g=this._coordSys,v=this._symbolDraw,y=this._polyline,x=this._polygon,_=this._lineGroup,b=t.get(w),M=!d.isEmpty(),S=a(o,l),T=t.get("showSymbol"),C=T&&!m&&!t.get("showAllSymbol")&&this._getSymbolIgnoreFunc(l,o),A=this._data;A&&A.eachItemGraphicEl(function(t,e){t.__temp&&(s[ce](t),A.setItemGraphicEl(e,null))}),T||v[ce](),s.add(_),y&&g.type===o.type?(M&&!x?x=this._newPolygon(p,S,o,b):x&&!M&&(_[ce](x),x=this._polygon=null),_.setClipPath(c(o,!1,t)),T&&v.updateData(l,C),l.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),e(this._stackedOnPoints,S)&&e(this._points,p)||(b?this._updateAnimation(l,S,o,r):(y.setShape({points:p}),x&&x.setShape({points:p,stackedOnPoints:S})))):(T&&v.updateData(l,C),y=this._newPolyline(p,o,b),M&&(x=this._newPolygon(p,S,o,b)),_.setClipPath(c(o,!0,t))),y.useStyle(f[Le](u.getLineStyle(),{fill:"none",stroke:l.getVisual("color"),lineJoin:"bevel"}));var P=t.get("smooth");if(P=i(t.get("smooth")),y.setShape({smooth:P,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),x){var L=l.stackedOn,z=0;if(x.useStyle(f[Le](d.getAreaStyle(),{fill:l.getVisual("color"),opacity:.7,lineJoin:"bevel"})),L){var k=L.hostModel;z=i(k.get("smooth"))}x.setShape({smooth:P,stackedOnSmooth:z,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=l,this._coordSys=o,this._stackedOnPoints=S,this._points=p},highlight:function(t,e,i,n){var r=t[Ie](),a=o(r,n);if(null!=a&&a>=0){var s=r[x](a);if(!s){var l=r.getItemLayout(a);s=new m(r,a,i),s[O]=l,s.setZ(t.get(Y),t.get("z")),s[me]=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,r.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else b[Me].highlight.call(this,t,e,i,n)},downplay:function(t,e,i,n){var r=t[Ie](),a=o(r,n);if(null!=a&&a>=0){var s=r[x](a);s&&(s.__temp?(r.setItemGraphicEl(a,null),this.group[ce](s)):s.downplay())}else b[Me].downplay.call(this,t,e,i,n)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup[ce](e),e=new _.Polyline({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[ce](i),i=new _.Polygon({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_getSymbolIgnoreFunc:function(t,e){var i=e.getAxesByScale(T)[0];return i&&i.isLabelIgnored?f.bind(i.isLabelIgnored,i):void 0},_updateAnimation:function(t,e,i){var n=this._polyline,r=this._polygon,a=t.hostModel,o=v(this._data,t,this._stackedOnPoints,e,this._coordSys,i);n.shape.points=o.current,y.updateProps(n,{shape:{points:o.next}},a),r&&(r.setShape({points:o.current,stackedOnPoints:o.stackedOnCurrent}),y.updateProps(r,{shape:{points:o.next,stackedOnPoints:o.stackedOnNext}},a));for(var s=[],l=o.status,c=0;c<l[oe];c++){var u=l[c].cmd;if("="===u){var h=t[x](l[c].idx1);h&&s.push({el:h,ptIdx:c})}}n.animators&&n.animators[oe]&&n.animators[0].during(function(){for(var t=0;t<s[oe];t++){var e=s[t].el;e.attr(O,n.shape.points[s[t].ptIdx])}})},remove:function(){var t=this.group,e=this._data;this._lineGroup[ke](),this._symbolDraw[ce](!0),e&&e.eachItemGraphicEl(function(i,n){i.__temp&&(t[ce](i),e.setItemGraphicEl(n,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}})}),e("echarts/chart/line/LineSeries",[Oe,"../helper/createListFromArray","../../model/Series"],function(t){var e=t("../helper/createListFromArray"),i=t("../../model/Series");return i[le]({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,i){return e(t.data,this,i)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,polarIndex:0,clipOverflow:!0,label:{normal:{position:"top"}},lineStyle:{normal:{width:2,type:"solid"}},smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:!1,connectNulls:!1,sampling:"none",animationEasing:"linear"}})}),e("echarts/visual/symbol",[Oe],function(){return function(t,e,i,n){n.eachRawSeriesByType(t,function(t){var r=t[Ie](),a=t.get("symbol")||e,o=t.get("symbolSize");r.setVisual({legendSymbol:i||a,symbol:a,symbolSize:o}),n.isSeriesFiltered(t)||(typeof o===W&&r.each(function(e){var i=t.getRawValue(e),n=t[J](e);r.setItemVisual(e,"symbolSize",o(i,n))}),r.each(function(t){var e=r[_](t),i=e.get("symbol",!0),n=e.get("symbolSize",!0);null!=i&&r.setItemVisual(t,"symbol",i),null!=n&&r.setItemVisual(t,"symbolSize",n)}))})}}),e("echarts/layout/points",[Oe],function(){return function(t,e){e.eachSeriesByType(t,function(t){var e=t[Ie](),i=t[ze];if(i){var n=i[S];e.each(n,function(t,n,r){var a;a=isNaN(t)||isNaN(n)?[0/0,0/0]:i[g]([t,n]),e.setItemLayout(r,a)},!0)}})}}),e("echarts/processor/dataSample",[],function(){var t={average:function(t){for(var e=0,i=0,n=0;n<t[oe];n++)isNaN(t[n])||(e+=t[n],i++);return 0===i?0/0:e/i},sum:function(t){for(var e=0,i=0;i<t[oe];i++)e+=t[i]||0;return e},max:function(t){for(var e=-1/0,i=0;i<t[oe];i++)t[i]>e&&(e=t[i]);return e},min:function(t){for(var e=1/0,i=0;i<t[oe];i++)t[i]<e&&(e=t[i]);return e},nearest:function(t){return t[0]}},e=function(t){return Math.round(t[oe]/2)};return function(i,n){n.eachSeriesByType(i,function(i){var n=i[Ie](),r=i.get("sampling"),a=i[ze];if("cartesian2d"===a.type&&r){var o=a.getBaseAxis(),s=a.getOtherAxis(o),l=o[D](),c=l[1]-l[0],u=Math.round(n.count()/c);if(u>1){var h;typeof r===we?h=t[r]:typeof r===W&&(h=r),h&&(n=n.downSample(s.dim,1/u,h,e),i.setData(n))}}},this)}}),e("echarts/util/graphic",[Oe,Re,"zrender/tool/path","zrender/graphic/Path","zrender/tool/color","zrender/core/matrix",Ce,"zrender/graphic/Gradient","zrender/container/Group","zrender/graphic/Image","zrender/graphic/Text","zrender/graphic/shape/Circle","zrender/graphic/shape/Sector","zrender/graphic/shape/Ring","zrender/graphic/shape/Polygon","zrender/graphic/shape/Polyline","zrender/graphic/shape/Rect","zrender/graphic/shape/Line","zrender/graphic/shape/BezierCurve","zrender/graphic/shape/Arc","zrender/graphic/CompoundPath","zrender/graphic/LinearGradient","zrender/graphic/RadialGradient",c],function(t){function e(t){return null!=t&&"none"!=t}function i(t){return t instanceof z?t:A.lift(t,-.1)}function n(t){if(t.__hoverStlDirty){var n=t.style[o],r=t.style.fill,a=t.__hoverStl;a.fill=a.fill||(e(r)?i(r):null),a[o]=a[o]||(e(n)?i(n):null);var s={};for(var l in a)a.hasOwnProperty(l)&&(s[l]=t.style[l]);t.__normalStl=s,t.__hoverStlDirty=!1}}function r(t){t.__isHover||(n(t),t.setStyle(t.__hoverStl),t.z2+=1,t.__isHover=!0)}function u(t){if(t.__isHover){var e=t.__normalStl;e&&t.setStyle(e),t.z2-=1,t.__isHover=!1}}function h(t){"group"===t.type?t[U](function(t){"group"!==t.type&&r(t)}):r(t)}function d(t){"group"===t.type?t[U](function(t){"group"!==t.type&&u(t)}):u(t)}function p(t,e){t.__hoverStl=t.hoverStyle||e||{},t.__hoverStlDirty=!0,t.__isHover&&n(t)}function m(){!this.__isEmphasis&&h(this)}function g(){!this.__isEmphasis&&d(this)}function y(){this.__isEmphasis=!0,h(this)}function x(){this.__isEmphasis=!1,d(this)}function _(t,e,i,n,r,a){typeof r===W&&(a=r,r=null);var o=t?"Update":"",s=n&&n.getShallow("animationDuration"+o),l=n&&n.getShallow("animationEasing"+o),c=n&&n.getShallow("animationDelay"+o);typeof c===W&&(c=c(r)),n&&n.getShallow(w)?e.animateTo(i,s,c||0,l,a):(e.attr(i),a&&a())}var M=t(Re),S=t("zrender/tool/path"),T=Math.round,C=t("zrender/graphic/Path"),A=t("zrender/tool/color"),P=t("zrender/core/matrix"),L=t(Ce),z=t("zrender/graphic/Gradient"),k={};return k.Group=t("zrender/container/Group"),k.Image=t("zrender/graphic/Image"),k.Text=t("zrender/graphic/Text"),k.Circle=t("zrender/graphic/shape/Circle"),k.Sector=t("zrender/graphic/shape/Sector"),k.Ring=t("zrender/graphic/shape/Ring"),k.Polygon=t("zrender/graphic/shape/Polygon"),k.Polyline=t("zrender/graphic/shape/Polyline"),k.Rect=t("zrender/graphic/shape/Rect"),k.Line=t("zrender/graphic/shape/Line"),k.BezierCurve=t("zrender/graphic/shape/BezierCurve"),k.Arc=t("zrender/graphic/shape/Arc"),k.CompoundPath=t("zrender/graphic/CompoundPath"),k.LinearGradient=t("zrender/graphic/LinearGradient"),k.RadialGradient=t("zrender/graphic/RadialGradient"),k.BoundingRect=t(c),k.extendShape=function(t){return C[le](t)},k.extendPath=function(t,e){return S.extendFromString(t,e)},k.makePath=function(t,e,i,n){var r=S.createFromString(t,e),a=r[V]();if(i){var o=a.width/a[fe];if(n===E){var s,l=i[fe]*o;l<=i.width?s=i[fe]:(l=i.width,s=l/o);var c=i.x+i.width/2,u=i.y+i[fe]/2;i.x=c-l/2,i.y=u-s/2,i.width=l,i[fe]=s}this.resizePath(r,i)}return r},k.mergePath=S.mergePath,k.resizePath=function(t,e){if(t[l]){var i=t[V](),n=i.calculateTransform(e);t[l](n)}},k.subPixelOptimizeLine=function(t){var e=k.subPixelOptimize,i=t.shape,n=t.style[s];return T(2*i.x1)===T(2*i.x2)&&(i.x1=i.x2=e(i.x1,n,!0)),T(2*i.y1)===T(2*i.y2)&&(i.y1=i.y2=e(i.y1,n,!0)),t},k.subPixelOptimizeRect=function(t){var e=k.subPixelOptimize,i=t.shape,n=t.style[s],r=i.x,a=i.y,o=i.width,l=i[fe];return i.x=e(i.x,n,!0),i.y=e(i.y,n,!0),i.width=Math.max(e(r+o,n,!1)-i.x,0===o?0:1),i[fe]=Math.max(e(a+l,n,!1)-i.y,0===l?0:1),t},k.subPixelOptimize=function(t,e,i){var n=T(2*t);return(n+T(e))%2===0?n/2:(n+(i?1:-1))/2},k.setHoverStyle=function(t,e){"group"===t.type?t[U](function(t){"group"!==t.type&&p(t,e)}):p(t,e),t.on(ee,m).on(te,g),t.on(v,y).on(b,x)},k.setText=function(t,e,i){var n=e.getShallow(O)||f,r=n[q](f)>=0?"white":i,a=e[_e](Z);M[le](t,{textDistance:e.getShallow("distance")||5,textFont:a[G](),textPosition:n,textFill:a[N]()||r})},k.updateProps=M.curry(_,!0),k.initProps=M.curry(_,!1),k.getTransform=function(t,e){for(var i=P.identity([]);t&&t!==e;)P.mul(i,t.getLocalTransform(),i),t=t[a];return i},k[l]=function(t,e,i){return i&&(e=P.invert([],e)),L[l]([],t,e)},k.transformDirection=function(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=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?-r:t===pe?r:0];return a=k[l](a,e,i),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?pe:"top"},k}),e("echarts/component/axis",[Oe,"../coord/cartesian/AxisModel","./axis/AxisView"],function(t){t("../coord/cartesian/AxisModel"),t("./axis/AxisView")}),e("echarts/ExtensionAPI",[Oe,Re],function(t){function e(t){i.each(n,function(e){this[e]=i.bind(t[e],t)},this)}var i=t(Re),n=["getDom","getZr",xe,ye,se,"on","off","getDataURL","getConnectedDataURL",_e,"getOption"];return e}),e("echarts/model/Global",[Oe,Re,"../util/model","./Model","./Component","./globalDefault"],function(t){function e(t,e){for(var i in e)x.hasClass(i)||("object"==typeof e[i]?t[i]=t[i]?c.merge(t[i],e[i],!1):c.clone(e[i]):null==t[i]&&(t[i]=e[i]))}function i(t){t=t,this[m]={},this[m][b]=1,this._componentsMap={},this._seriesIndices=null,e(t,this._theme[m]),c.merge(t,_,!1),this.mergeOption(t)}function n(t,e){c[X](e)||(e=e?[e]:[]);var i={};return d(e,function(e){i[e]=(t[e]||[]).slice()}),i}function r(t,e){var i={};d(e,function(t){var e=t.exist;e&&(i[e.id]=t)}),d(e,function(e){var n=e[m];if(c.assert(!n||null==n.id||!i[n.id]||i[n.id]===e,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&(i[n.id]=e),y(n)){var r=a(t,n,e.exist);e.keyInfo={mainType:t,subType:r}}}),d(e,function(t){var e=t.exist,n=t[m],r=t.keyInfo;if(y(n)){if(r.name=null!=n.name?n.name+"":e?e.name:"\x00-",e)r.id=e.id;else if(null!=n.id)r.id=n.id+"";else{var a=0;do r.id="\x00"+r.name+"\x00"+a++;while(i[r.id])}i[r.id]=t}})}function a(t,e,i){var n=e.type?e.type:i?i.subType:x.determineSubType(t,e);return n}function o(t){return p(t,function(t){return t.componentIndex})||[]}function s(t,e){return e.hasOwnProperty("subType")?f(t,function(t){return t.subType===e.subType}):t}function l(t){if(!t._seriesIndices)throw new Error("Series has not been initialized yet.")}var c=t(Re),u=t("../util/model"),h=t("./Model"),d=c.each,f=c[De],p=c.map,g=c[X],v=c[q],y=c[ue],x=t("./Component"),_=t("./globalDefault"),b="\x00_ec_inner",w=h[le]({constructor:w,init:function(t,e,i,n){i=i||{},this[m]=null,this._theme=new h(i),this._optionManager=n},setOption:function(t,e){c.assert(!(b in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption()},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var r=n.mountOption("recreate"===t);this[m]&&"recreate"!==t?(this.restoreData(),this.mergeOption(r)):i.call(this,r),e=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=n.getTimelineOption(this);a&&(this.mergeOption(a),e=!0)}if(!t||"recreate"===t||"media"===t){var o=n.getMediaOption(this,this._api);o[oe]&&d(o,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){function e(e,s){var l=u.normalizeToArray(t[e]),h=u.mappingToExists(a[e],l);r(e,h);var f=n(a,s);i[e]=[],a[e]=[],d(h,function(t,n){var r=t.exist,o=t[m];if(c.assert(y(o)||r,"Empty component definition"),o){var s=x.getClass(e,t.keyInfo.subType,!0);r&&r instanceof s?(r.mergeOption(o,this),r.optionUpdated(this)):(r=new s(o,this,this,c[le]({dependentModels:f,componentIndex:n},t.keyInfo)),r.optionUpdated(this))}else r.mergeOption({},this),r.optionUpdated(this);a[e][n]=r,i[e][n]=r[m]},this),e===ne&&(this._seriesIndices=o(a[ne]))}var i=this[m],a=this._componentsMap,s=[];d(t,function(t,e){null!=t&&(x.hasClass(e)?s.push(e):i[e]=null==i[e]?c.clone(t):c.merge(i[e],t,!0))}),x.topologicalTravel(s,x.getAllClassMainTypes(),e,this)},getOption:function(){var t=c.clone(this[m]);return d(t,function(e,i){if(x.hasClass(i)){for(var e=u.normalizeToArray(e),n=e[oe]-1;n>=0;n--)u.isIdInner(e[n])&&e[ie](n,1);t[i]=e}}),delete t[b],t},getTheme:function(){return this._theme},getComponent:function(t,e){var i=this._componentsMap[t];return i?i[e||0]:void 0},queryComponents:function(t){var e=t.mainType;if(!e)return[];var i=t.index,n=t.id,r=t.name,a=this._componentsMap[e];if(!a||!a[oe])return[];var o;if(null!=i)g(i)||(i=[i]),o=f(p(i,function(t){return a[t]}),function(t){return!!t});else if(null!=n){var l=g(n);o=f(a,function(t){return l&&v(n,t.id)>=0||!l&&t.id===n})}else if(null!=r){var c=g(r);o=f(a,function(t){return c&&v(r,t.name)>=0||!c&&t.name===r})}return s(o,t)},findComponents:function(t){function e(t){var e=r+"Index",i=r+"Id",n=r+"Name";return t&&(t.hasOwnProperty(e)||t.hasOwnProperty(i)||t.hasOwnProperty(n))?{mainType:r,index:t[e],id:t[i],name:t[n]}:null}function i(e){return t[De]?f(e,t[De]):e}var n=t.query,r=t.mainType,a=e(n),o=a?this.queryComponents(a):this._componentsMap[r];return i(s(o,t))},eachComponent:function(t,e,i){var n=this._componentsMap;if(typeof t===W)i=e,e=t,d(n,function(t,n){d(t,function(t,r){e.call(i,n,t,r)})});else if(c.isString(t))d(n[t],e,i);else if(y(t)){var r=this.findComponents(t);d(r,e,i)}},getSeriesByName:function(t){var e=this._componentsMap[ne];return f(e,function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap[ne][t]},getSeriesByType:function(t){var e=this._componentsMap[ne];return f(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap[ne].slice()},eachSeries:function(t,e){l(this),d(this._seriesIndices,function(i){var n=this._componentsMap[ne][i];t.call(e,n,i)},this)},eachRawSeries:function(t,e){d(this._componentsMap[ne],t,e)},eachSeriesByType:function(t,e,i){l(this),d(this._seriesIndices,function(n){var r=this._componentsMap[ne][n];r.subType===t&&e.call(i,r,n)},this)},eachRawSeriesByType:function(t,e,i){return d(this.getSeriesByType(t),e,i)},isSeriesFiltered:function(t){return l(this),c[q](this._seriesIndices,t.componentIndex)<0},filterSeries:function(t,e){l(this);var i=f(this._componentsMap[ne],t,e);this._seriesIndices=o(i)},restoreData:function(){var t=this._componentsMap;this._seriesIndices=o(t[ne]);var e=[];d(t,function(t,i){e.push(i)}),x.topologicalTravel(e,x.getAllClassMainTypes(),function(e){d(t[e],function(t){t.restoreData()})})}});return w}),e("echarts/CoordinateSystem",[Oe],function(){function t(){this._coordinateSystems=[]}var e={};return t[Me]={constructor:t,create:function(t,i){var n=[];for(var r in e){var a=e[r][de](t,i);a&&(n=n[L](a))}this._coordinateSystems=n},update:function(t,e){for(var i=this._coordinateSystems,n=0;n<i[oe];n++)i[n][he]&&i[n][he](t,e)}},t.register=function(t,i){e[t]=i},t.get=function(t){return e[t]},t}),e("echarts/model/OptionManager",[Oe,Re,"../util/model","./Component"],function(t){function e(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function i(t,e){var i,n,r=[],a=[],o=t.timeline;if(t.baseOption&&(n=t.baseOption),(o||t.options)&&(n=n||{},r=(t.options||[]).slice()),t.media){n=n||{};var l=t.media;u(l,function(t){t&&t[m]&&(t.query?a.push(t):i||(i=t))})}return n||(n=t),n.timeline||(n.timeline=o),u([n][L](r)[L](s.map(a,function(t){return t[m]})),function(t){u(e,function(e){e(t)})}),{baseOption:n,timelineOptions:r,mediaDefault:i,mediaList:a}}function n(t,e,i){var n={width:e,height:i,aspectratio:e/i},a=!0;return s.each(t,function(t,e){var i=e.match(p);if(i&&i[1]&&i[2]){var o=i[1],s=i[2][Se]();r(n[s],t,o)||(a=!1)}}),a}function r(t,e,i){return"min"===i?t>=e:"max"===i?e>=t:t===e}function a(t,e){return t.join(",")===e.join(",")}function o(t,e){e=e||{},u(e,function(e,i){if(null!=e){var n=t[i];if(c.hasClass(i)){e=l.normalizeToArray(e),n=l.normalizeToArray(n);var r=l.mappingToExists(n,e);t[i]=d(r,function(t){return t[m]&&t.exist?f(t.exist,t[m],!0):t.exist||t[m]})}else t[i]=f(n,e,!0)}})}var s=t(Re),l=t("../util/model"),c=t("./Component"),u=s.each,h=s.clone,d=s.map,f=s.merge,p=/^(min|max)?(.+)$/;return e[Me]={constructor:e,setOption:function(t,e){t=h(t,!0);var n=this._optionBackup,r=i.call(this,t,e);this._newBaseOption=r.baseOption,n?(o(n.baseOption,r.baseOption),r.timelineOptions[oe]&&(n.timelineOptions=r.timelineOptions),r.mediaList[oe]&&(n.mediaList=r.mediaList),r.mediaDefault&&(n.mediaDefault=r.mediaDefault)):this._optionBackup=r},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=d(e.timelineOptions,h),this._mediaList=d(e.mediaList,h),this._mediaDefault=h(e.mediaDefault),this._currentMediaIndices=[],h(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,i=this._timelineOptions;if(i[oe]){var n=t[P]("timeline");n&&(e=h(i[n.getCurrentIndex()],!0))}return e},getMediaOption:function(){var t=this._api[xe](),e=this._api[ye](),i=this._mediaList,r=this._mediaDefault,o=[],s=[];if(!i[oe]&&!r)return s;for(var l=0,c=i[oe];c>l;l++)n(i[l].query,t,e)&&o.push(l);return!o[oe]&&r&&(o=[-1]),o[oe]&&!a(o,this._currentMediaIndices)&&(s=d(o,function(t){return h(-1===t?r[m]:i[t][m])})),this._currentMediaIndices=o,s}},e}),e("echarts/model/Series",[Oe,Re,"../util/format","../util/model","./Component"],function(t){var e=t(Re),i=t("../util/format"),n=t("../util/model"),r=t("./Component"),a=i.encodeHTML,o=i.addCommas,s=r[le]({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,init:function(t,e,i){this[$]=this.componentIndex,this.mergeDefaultAndTheme(t,i),this._dataBeforeProcessed=this.getInitialData(t,i),this._data=this._dataBeforeProcessed.cloneShallow()},mergeDefaultAndTheme:function(t,i){e.merge(t,i.getTheme().get(this.subType)),e.merge(t,this.getDefaultOption()),n.defaultEmphasis(t.label,n.LABEL_OPTIONS),this.fillDataTextStyle(t.data)},mergeOption:function(t,i){t=e.merge(this[m],t,!0),this.fillDataTextStyle(t.data);var n=this.getInitialData(t,i);n&&(this._data=n,this._dataBeforeProcessed=n.cloneShallow())},fillDataTextStyle:function(t){if(t)for(var e=0;e<t[oe];e++)t[e]&&t[e].label&&n.defaultEmphasis(t[e].label,n.LABEL_OPTIONS)},getInitialData:function(){},getData:function(t){return null==t?this._data:this._data.getLinkedData(t)},setData:function(t){this._data=t},getRawData:function(){return this._dataBeforeProcessed},coordDimToDataDim:function(t){return[t]},dataDimToCoordDim:function(t){return t},getBaseAxis:function(){var t=this[ze];return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,i){var n=this._data,r=this.getRawValue(t),s=e[X](r)?e.map(r,o).join(", "):o(r),l=n[p](t),c=n[y](t,"color"),u='<span style="display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:'+c+'"></span>',h=this.name;return"\x00-"===h&&(h=""),i?u+a(this.name)+" : "+s:(h&&a(h)+"<br />")+u+(l?a(l)+" : "+s:s)},restoreData:function(){this._data=this._dataBeforeProcessed.cloneShallow()},getAxisTooltipDataIndex:null});return e.mixin(s,n.dataFormatMixin),s}),e("echarts/model/Component",[Oe,"./Model",Re,"../util/component","../util/clazz","../util/layout","./mixin/boxLayout"],function(t){function e(t){var e=[];return n.each(c.getClassesByMainType(t),function(t){a.apply(e,t[Me].dependencies||[])}),n.map(e,function(t){return s.parseClassType(t).main})}var i=t("./Model"),n=t(Re),a=Array[Me].push,o=t("../util/component"),s=t("../util/clazz"),l=t("../util/layout"),c=i[le]({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,init:function(){this.mergeDefaultAndTheme(this[m],this[r])},mergeDefaultAndTheme:function(t,e){var i=this.layoutMode,r=i?l.getLayoutParams(t):{},a=e.getTheme();n.merge(t,a.get(this.mainType)),n.merge(t,this.getDefaultOption()),i&&l.mergeLayoutParam(t,r,i)},mergeOption:function(t){n.merge(this[m],t,!0);var e=this.layoutMode;e&&l.mergeLayoutParam(this[m],t,e)},optionUpdated:function(){},getDefaultOption:function(){if(!this.hasOwnProperty("__defaultOption")){for(var t=[],e=this.constructor;e;){var i=e[Me].defaultOption;i&&t.push(i),e=e.superClass}for(var r={},a=t[oe]-1;a>=0;a--)r=n.merge(r,t[a],!0);this.__defaultOption=r}return this.__defaultOption
}});return s.enableClassExtend(c,function(t,e,i,r){n[le](this,r),this.uid=o.getUID("componentModel")}),s.enableClassManagement(c,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(c),o.enableTopologicalTravel(c,e),n.mixin(c,t("./mixin/boxLayout")),c}),e("echarts/view/Chart",[Oe,"zrender/container/Group","../util/component","../util/clazz"],function(t){function e(){this.group=new r,this.uid=a.getUID("viewChart")}function i(t,e){if(t&&(t[ae](e),"group"===t.type))for(var n=0;n<t.childCount();n++)i(t.childAt(n),e)}function n(t,e,n){if(null!=e[Q]){var r=t[x](e[Q]);i(r,n)}else if(e.name){var a=t[u](e.name),r=t[x](a);i(r,n)}else t.eachItemGraphicEl(function(t){i(t,n)})}var r=t("zrender/container/Group"),a=t("../util/component"),o=t("../util/clazz");e[Me]={type:"chart",init:function(){},render:function(){},highlight:function(t,e,i,r){n(t[Ie](),r,v)},downplay:function(t,e,i,r){n(t[Ie](),r,b)},remove:function(){this.group[ke]()},dispose:function(){}};var s=e[Me];return s.updateView=s.updateLayout=s.updateVisual=function(t,e,i,n){this.render(t,e,i,n)},o.enableClassExtend(e),o.enableClassManagement(e,{registerWhenExtend:!0}),e}),e("zrender/zrender",[Oe,"./core/guid","./core/env","./Handler","./Storage","./animation/Animation","./Painter"],function(t){function e(t){delete c[t]}var i=t("./core/guid"),n=t("./core/env"),r=t("./Handler"),a=t("./Storage"),o=t("./animation/Animation"),s=!n[ve],l={canvas:t("./Painter")},c={},u={};u.version="3.1.0",u.init=function(t,e){var n=new h(i(),t,e);return c[n.id]=n,n},u.dispose=function(t){if(t)t.dispose();else{for(var e in c)c[e].dispose();c={}}return u},u.getInstance=function(t){return c[t]},u.registerPainter=function(t,e){l[t]=e};var h=function(t,e,i){i=i||{},this.dom=e,this.id=t;var c=this,u=new a,h=i.renderer;if(s){if(!l.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");h="vml"}else h&&l[h]||(h="canvas");var d=new l[h](e,u,i);this.storage=u,this.painter=d,n.node||(this.handler=new r(d.getViewportRoot(),u,d)),this[w]=new o({stage:{update:function(){c._needsRefresh&&c.refreshImmediately()}}}),this[w].start(),this._needsRefresh;var f=u.delFromMap,p=u.addToMap;u.delFromMap=function(t){var e=u.get(t);f.call(u,t),e&&e.removeSelfFromZr(c)},u.addToMap=function(t){p.call(u,t),t.addSelfToZr(c)}};return h[Me]={constructor:h,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},resize:function(){this.painter[be](),this.handler&&this.handler[be]()},clearAnimation:function(){this[w].clear()},getWidth:function(){return this.painter[xe]()},getHeight:function(){return this.painter[ye]()},pathToImage:function(t,e,n){var r=i();return this.painter.pathToImage(r,t,e,n)},setDefaultCursorStyle:function(t){this.handler.setDefaultCursorStyle(t)},on:function(t,e,i){this.handler&&this.handler.on(t,e,i)},off:function(t,e){this.handler&&this.handler.off(t,e)},trigger:function(t,e){this.handler&&this.handler[ae](t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this[w].stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler&&this.handler.dispose(),this[w]=this.storage=this.painter=this.handler=null,e(this.id)}},u}),e("echarts/view/Component",[Oe,"zrender/container/Group","../util/component","../util/clazz"],function(t){var e=t("zrender/container/Group"),i=t("../util/component"),n=t("../util/clazz"),r=function(){this.group=new e,this.uid=i.getUID("viewComponent")};r[Me]={constructor:r,init:function(){},render:function(){},dispose:function(){}};var a=r[Me];return a.updateView=a.updateLayout=a.updateVisual=function(){},n.enableClassExtend(r),n.enableClassManagement(r,{registerWhenExtend:!0}),r}),e("zrender/tool/color",[Oe],function(){function t(t){return t=Math.round(t),0>t?0:t>255?255:t}function e(t){return t=Math.round(t),0>t?0:t>360?360:t}function i(t){return 0>t?0:t>1?1:t}function n(e){return t(e[oe]&&"%"===e.charAt(e[oe]-1)?parseFloat(e)/100*255:parseInt(e,10))}function r(t){return i(t[oe]&&"%"===t.charAt(t[oe]-1)?parseFloat(t)/100:parseFloat(t))}function a(t,e,i){return 0>i?i+=1:i>1&&(i-=1),1>6*i?t+(e-t)*i*6:1>2*i?e:2>3*i?t+(e-t)*(2/3-i)*6:t}function o(t,e,i){return t+(e-t)*i}function s(t){if(t){t+="";var e=t[j](/ /g,"")[Se]();if(e in v)return v[e].slice();if("#"!==e.charAt(0)){var i=e[q]("("),a=e[q](")");if(-1!==i&&a+1===e[oe]){var o=e.substr(0,i),s=e.substr(i+1,a-(i+1)).split(","),c=1;switch(o){case"rgba":if(4!==s[oe])return;c=r(s.pop());case"rgb":if(3!==s[oe])return;return[n(s[0]),n(s[1]),n(s[2]),c];case"hsla":if(4!==s[oe])return;return s[3]=r(s[3]),l(s);case"hsl":if(3!==s[oe])return;return l(s);default:return}}}else{if(4===e[oe]){var u=parseInt(e.substr(1),16);if(!(u>=0&&4095>=u))return;return[(3840&u)>>4|(3840&u)>>8,240&u|(240&u)>>4,15&u|(15&u)<<4,1]}if(7===e[oe]){var u=parseInt(e.substr(1),16);if(!(u>=0&&16777215>=u))return;return[(16711680&u)>>16,(65280&u)>>8,255&u,1]}}}}function l(e){var i=(parseFloat(e[0])%360+360)%360/360,n=r(e[1]),o=r(e[2]),s=.5>=o?o*(n+1):o+n-o*n,l=2*o-s,c=[t(255*a(l,s,i+1/3)),t(255*a(l,s,i)),t(255*a(l,s,i-1/3))];return 4===e[oe]&&(c[3]=e[3]),c}function c(t){if(t){var e,i,n=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(n,r,a),s=Math.max(n,r,a),l=s-o,c=(s+o)/2;if(0===l)e=0,i=0;else{i=.5>c?l/(s+o):l/(2-s-o);var u=((s-n)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-a)/6+l/2)/l;n===s?e=d-h:r===s?e=1/3+u-d:a===s&&(e=2/3+h-u),0>e&&(e+=1),e>1&&(e-=1)}var f=[360*e,i,c];return null!=t[3]&&f.push(t[3]),f}}function u(t,e){var i=s(t);if(i){for(var n=0;3>n;n++)i[n]=0>e?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0;return g(i,4===i[oe]?"rgba":"rgb")}}function h(t){var e=s(t);return e?((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1):void 0}function d(e,i,n){if(i&&i[oe]&&e>=0&&1>=e){n=n||[0,0,0,0];var r=e*(i[oe]-1),a=Math.floor(r),s=Math.ceil(r),l=i[a],c=i[s],u=r-a;return n[0]=t(o(l[0],c[0],u)),n[1]=t(o(l[1],c[1],u)),n[2]=t(o(l[2],c[2],u)),n[3]=t(o(l[3],c[3],u)),n}}function f(e,n,r){if(n&&n[oe]&&e>=0&&1>=e){var a=e*(n[oe]-1),l=Math.floor(a),c=Math.ceil(a),u=s(n[l]),h=s(n[c]),d=a-l,f=g([t(o(u[0],h[0],d)),t(o(u[1],h[1],d)),t(o(u[2],h[2],d)),i(o(u[3],h[3],d))],"rgba");return r?{color:f,leftIndex:l,rightIndex:c,value:a}:f}}function p(t,i,n,a){return t=s(t),t?(t=c(t),null!=i&&(t[0]=e(i)),null!=n&&(t[1]=r(n)),null!=a&&(t[2]=r(a)),g(l(t),"rgba")):void 0}function m(t,e){return t=s(t),t&&null!=e?(t[3]=i(e),g(t,"rgba")):void 0}function g(t,e){return("rgb"===e||"hsv"===e||"hsl"===e)&&(t=t.slice(0,3)),e+"("+t.join(",")+")"}var v={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};return{parse:s,lift:u,toHex:h,fastMapToColor:d,mapToColor:f,modifyHSL:p,modifyAlpha:m,stringify:g}}),e("zrender/core/env",[],function(){function t(t){var e={},i={},n=t.match(/Web[kK]it[\/]{0,1}([\d.]+)/),r=t.match(/(Android);?[\s\/]+([\d.]+)?/),a=t.match(/(iPad).*OS\s([\d_]+)/),o=t.match(/(iPod)(.*OS\s([\d_]+))?/),s=!a&&t.match(/(iPhone\sOS)\s([\d_]+)/),l=t.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),c=l&&t.match(/TouchPad/),u=t.match(/Kindle\/([\d.]+)/),h=t.match(/Silk\/([\d._]+)/),d=t.match(/(BlackBerry).*Version\/([\d.]+)/),f=t.match(/(BB10).*Version\/([\d.]+)/),p=t.match(/(RIM\sTablet\sOS)\s([\d.]+)/),m=t.match(/PlayBook/),g=t.match(/Chrome\/([\d.]+)/)||t.match(/CriOS\/([\d.]+)/),v=t.match(/Firefox\/([\d.]+)/),y=n&&t.match(/Mobile\//)&&!g,x=t.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/)&&!g,_=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),b=t.match(/Edge\/([\d.]+)/);return(i.webkit=!!n)&&(i.version=n[1]),r&&(e.android=!0,e.version=r[2]),s&&!o&&(e.ios=e.iphone=!0,e.version=s[2][j](/_/g,".")),a&&(e.ios=e.ipad=!0,e.version=a[2][j](/_/g,".")),o&&(e.ios=e.ipod=!0,e.version=o[3]?o[3][j](/_/g,"."):null),l&&(e.webos=!0,e.version=l[2]),c&&(e.touchpad=!0),d&&(e.blackberry=!0,e.version=d[2]),f&&(e.bb10=!0,e.version=f[2]),p&&(e.rimtabletos=!0,e.version=p[2]),m&&(i.playbook=!0),u&&(e.kindle=!0,e.version=u[1]),h&&(i.silk=!0,i.version=h[1]),!h&&e.android&&t.match(/Kindle Fire/)&&(i.silk=!0),g&&(i.chrome=!0,i.version=g[1]),v&&(i.firefox=!0,i.version=v[1]),_&&(i.ie=!0,i.version=_[1]),y&&(t.match(/Safari/)||e.ios)&&(i.safari=!0),x&&(i.webview=!0),_&&(i.ie=!0,i.version=_[1]),b&&(i.edge=!0,i.version=b[1]),e.tablet=!!(a||m||r&&!t.match(/Mobile/)||v&&t.match(/Tablet/)||_&&!t.match(/Phone/)&&t.match(/Touch/)),e.phone=!(e.tablet||e.ipod||!(r||s||l||d||f||g&&t.match(/Android/)||g&&t.match(/CriOS\/([\d.]+)/)||v&&t.match(/Mobile/)||_&&t.match(/Touch/))),{browser:i,os:e,node:!1,canvasSupported:document[k]("canvas")[z]?!0:!1,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=10)}}var e={};return e="undefined"==typeof navigator?{browser:{},os:{},node:!0,canvasSupported:!0}:t(navigator.userAgent)}),e("zrender/mixin/Eventful",[Oe,n],function(t){var e=Array[Me].slice,i=t(n),r=i[q],a=function(){this._$handlers={}};return a[Me]={constructor:a,one:function(t,e,i){var n=this._$handlers;return e&&t?(n[t]||(n[t]=[]),r(n[t],t)>=0?this:(n[t].push({h:e,one:!0,ctx:i||this}),this)):this},on:function(t,e,i){var n=this._$handlers;return e&&t?(n[t]||(n[t]=[]),n[t].push({h:e,one:!1,ctx:i||this}),this):this},isSilent:function(t){var e=this._$handlers;return e[t]&&e[t][oe]},off:function(t,e){var i=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(i[t]){for(var n=[],r=0,a=i[t][oe];a>r;r++)i[t][r].h!=e&&n.push(i[t][r]);i[t]=n}i[t]&&0===i[t][oe]&&delete i[t]}else delete i[t];return this},trigger:function(t){if(this._$handlers[t]){var i=arguments,n=i[oe];n>3&&(i=e.call(i,1));for(var r=this._$handlers[t],a=r[oe],o=0;a>o;){switch(n){case 1:r[o].h.call(r[o].ctx);break;case 2:r[o].h.call(r[o].ctx,i[1]);break;case 3:r[o].h.call(r[o].ctx,i[1],i[2]);break;default:r[o].h.apply(r[o].ctx,i)}r[o].one?(r[ie](o,1),a--):o++}}return this},triggerWithContext:function(t){if(this._$handlers[t]){var i=arguments,n=i[oe];n>4&&(i=e.call(i,1,i[oe]-1));for(var r=i[i[oe]-1],a=this._$handlers[t],o=a[oe],s=0;o>s;){switch(n){case 1:a[s].h.call(r);break;case 2:a[s].h.call(r,i[1]);break;case 3:a[s].h.call(r,i[1],i[2]);break;default:a[s].h.apply(r,i)}a[s].one?(a[ie](s,1),o--):s++}}return this}},a}),e("echarts/loading/default",[Oe,"../util/graphic",Re],function(t){var e=t("../util/graphic"),i=t(Re),n=Math.PI;return function(t,r){r=r||{},i[Le](r,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var a=new e.Rect({style:{fill:r.maskColor},zlevel:r[Y],z:1e4}),o=new e.Arc({shape:{startAngle:-n/2,endAngle:-n/2+.1,r:10},style:{stroke:r.color,lineCap:"round",lineWidth:5},zlevel:r[Y],z:10001}),s=new e.Rect({style:{fill:"none",text:r.text,textPosition:"right",textDistance:10,textFill:r.textColor},zlevel:r[Y],z:10001});o.animateShape(!0).when(1e3,{endAngle:3*n/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*n/2}).delay(300).start("circularInOut");var l=new e.Group;return l.add(o),l.add(s),l.add(a),l[be]=function(){var e=t[xe]()/2,i=t[ye]()/2;o.setShape({cx:e,cy:i});var n=o.shape.r;s.setShape({x:e-n,y:i-n,width:2*n,height:2*n}),a.setShape({x:0,y:0,width:t[xe](),height:t[ye]()})},l[be](),l}}),e("echarts/visual/seriesColor",[Oe,"zrender/graphic/Gradient"],function(t){var e=t("zrender/graphic/Gradient");return function(t,i,n){function r(t){var r=[i,b,"color"],a=n.get("color"),o=t[Ie](),s=t.get(r)||a[t[$]%a[oe]];o.setVisual("color",s),n.isSeriesFiltered(t)||(typeof s!==W||s instanceof e||o.each(function(e){o.setItemVisual(e,"color",s(t[J](e)))}),o.each(function(t){var e=o[_](t),i=e.get(r,!0);null!=i&&o.setItemVisual(t,"color",i)}))}t?n.eachSeriesByType(t,r):n[re](r)}}),e("echarts/preprocessor/backwardCompat",[Oe,Re,"./helper/compatStyle"],function(t){function e(t,e){e=e.split(",");for(var i=t,n=0;n<e[oe]&&(i=i&&i[e[n]],null!=i);n++);return i}function i(t,e,i,n){e=e.split(",");for(var r,a=t,o=0;o<e[oe]-1;o++)r=e[o],null==a[r]&&(a[r]={}),a=a[r];(n||null==a[e[o]])&&(a[e[o]]=i)}function n(t){c(o,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var r=t(Re),a=t("./helper/compatStyle"),o=[["x","left"],["y","top"],["x2","right"],["y2",pe]],s=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],l=["bar","boxplot","candlestick","chord","effectScatter","funnel","gauge","lines","graph","heatmap","line","map","parallel","pie","radar","sankey","scatter","treemap"],c=r.each;return function(t){c(t[ne],function(t){if(r[ue](t)){var o=t.type;if(a(t),("pie"===o||"gauge"===o)&&null!=t.clockWise&&(t.clockwise=t.clockWise),"gauge"===o){var s=e(t,"pointer.color");null!=s&&i(t,"itemStyle.normal.color",s)}for(var c=0;c<l[oe];c++)if(l[c]===t.type){n(t);break}}}),t.dataRange&&(t.visualMap=t.dataRange),c(s,function(e){var i=t[e];i&&(r[X](i)||(i=[i]),c(i,function(t){n(t)}))})}}),e("echarts/util/number",[Oe],function(){function t(t){return t[j](/^\s+/,"")[j](/\s+$/,"")}var e={},i=1e-4;return e.linearMap=function(t,e,i,n){var r=e[1]-e[0],a=i[1]-i[0];if(0===r)return 0===a?i[0]:(i[0]+i[1])/2;if(n)if(r>0){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])/r*a+i[0]},e.parsePercent=function(e,i){switch(e){case E:case B:e="50%";break;case"left":case"top":e="0%";break;case"right":case pe:e="100%"}return typeof e===we?t(e).match(/%$/)?parseFloat(e)/100*i:parseFloat(e):null==e?0/0:+e},e.round=function(t){return+(+t).toFixed(10)},e.asc=function(t){return t.sort(function(t,e){return t-e}),t},e.getPrecision=function(t){if(isNaN(t))return 0;for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i},e.getPixelPrecision=function(t,e){var i=Math.log,n=Math.LN10,r=Math.floor(i(t[1]-t[0])/n),a=Math.round(i(Math.abs(e[1]-e[0]))/n);return Math.max(-r+a,0)},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>-i&&i>t},e.parseDate=function(t){return t instanceof Date?t:new Date(typeof t===we?t[j](/-/g,"/"):Math.round(t))},e.quantity=function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},e.nice=function(t,i){var n,r=e.quantity(t),a=t/r;return n=i?1.5>a?1:2.5>a?2:4>a?3:7>a?5:10:1>a?1:2>a?2:3>a?3:5>a?5:10,n*r},e}),e("zrender/core/matrix",[],function(){var t="undefined"==typeof Float32Array?Array:Float32Array,e={create:function(){var i=new t(6);return e.identity(i),i},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t},mul:function(t,e,i){var n=e[0]*i[0]+e[2]*i[1],r=e[1]*i[0]+e[3]*i[1],a=e[0]*i[2]+e[2]*i[3],o=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],l=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=n,t[1]=r,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t},translate:function(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t},rotate:function(t,e,i){var n=e[0],r=e[2],a=e[4],o=e[1],s=e[3],l=e[5],c=Math.sin(i),u=Math.cos(i);return t[0]=n*u+o*c,t[1]=-n*c+o*u,t[2]=r*u+s*c,t[3]=-r*c+u*s,t[4]=u*a+c*l,t[5]=u*l-c*a,t},scale:function(t,e,i){var n=i[0],r=i[1];return t[0]=e[0]*n,t[1]=e[1]*r,t[2]=e[2]*n,t[3]=e[3]*r,t[4]=e[4]*n,t[5]=e[5]*r,t},invert:function(t,e){var i=e[0],n=e[2],r=e[4],a=e[1],o=e[3],s=e[5],l=i*o-a*n;return l?(l=1/l,t[0]=o*l,t[1]=-a*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*s-o*r)*l,t[5]=(a*r-i*s)*l,t):null}};return e}),e("echarts/util/format",[Oe,Re,"./number"],function(t){function e(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0][j](/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t[oe]>1?"."+t[1]:""))}function i(t){return t[Se]()[j](/-(.)/g,function(t,e){return e.toUpperCase()})}function n(t){var e=t[oe];return"number"==typeof t?[t,t,t,t]:2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function r(t){return String(t)[j](/&/g,"&amp;")[j](/</g,"&lt;")[j](/>/g,"&gt;")[j](/"/g,"&quot;")[j](/'/g,"&#39;")}function a(t,e){return"{"+t+(null==e?"":e)+"}"}function o(t,e){c[X](e)||(e=[e]);var i=e[oe];if(!i)return"";for(var n=e[0].$vars,r=0;r<n[oe];r++){var o=h[r];t=t[j](a(o),a(o,0))}for(var s=0;i>s;s++)for(var l=0;l<n[oe];l++)t=t[j](a(h[l],s),e[s][n[l]]);return t}function s(t,e){("week"===t||"month"===t||"quarter"===t||"half-year"===t||"year"===t)&&(t="MM-dd\nyyyy");var i=u.parseDate(e),n=i.getFullYear(),r=i.getMonth()+1,a=i.getDate(),o=i.getHours(),s=i.getMinutes(),c=i.getSeconds();return t=t[j]("MM",l(r))[Se]()[j]("yyyy",n)[j]("yy",n%100)[j]("dd",l(a))[j]("d",a)[j]("hh",l(o))[j]("h",o)[j]("mm",l(s))[j]("m",s)[j]("ss",l(c))[j]("s",c)}function l(t){return 10>t?"0"+t:t}var c=t(Re),u=t("./number"),h=["a","b","c","d","e","f","g"];return{normalizeCssArray:n,addCommas:e,toCamelCase:i,encodeHTML:r,formatTpl:o,formatTime:s}}),e("echarts/coord/geo/GeoModel",[Oe,"../../util/model","../../model/Component","../../model/Model",Re,"../../component/helper/selectableMixin","./geoCreator"],function(t){var e=t("../../util/model"),i=t("../../model/Component"),n=t("../../model/Model"),r=t(Re),a=t("../../component/helper/selectableMixin"),o=t("./geoCreator"),s=i[le]({type:"geo",coordinateSystem:null,init:function(t){i[Me].init.apply(this,arguments),e.defaultEmphasis(t.label,[O,"show",Z,"distance","formatter"])},optionUpdated:function(){var t=this[m],e=this;t.regions=o.getFilledRegions(t.regions,t.map),this._optionModelMap=r.reduce(t.regions||[],function(t,i){return i.name&&(t[i.name]=new n(i,e)),t},{}),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",map:"",center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,textStyle:{color:"#000"}},emphasis:{show:!0,textStyle:{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[t]},getFormattedLabel:function(t,e){var i=this.get("label."+e+".formatter"),n={name:t};return typeof i===W?(n.status=e,i(n)):typeof i===we?i[j]("{a}",n.seriesName):void 0},setZoom:function(t){this[m].zoom=t},setCenter:function(t){this[m][E]=t}});return r.mixin(s,a),s}),e(Ce,[],function(){var t="undefined"==typeof Float32Array?Array:Float32Array,e={create:function(e,i){var n=new t(2);return n[0]=e||0,n[1]=i||0,n},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},clone:function(e){var i=new t(2);return i[0]=e[0],i[1]=e[1],i},set:function(t,e,i){return t[0]=e,t[1]=i,t},add:function(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t},scaleAndAdd:function(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t},sub:function(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t},len:function(t){return Math.sqrt(this.lenSquare(t))},lenSquare:function(t){return t[0]*t[0]+t[1]*t[1]},mul:function(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t},div:function(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},scale:function(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t},normalize:function(t,i){var n=e.len(i);return 0===n?(t[0]=0,t[1]=0):(t[0]=i[0]/n,t[1]=i[1]/n),t},distance:function(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))},distanceSquare:function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},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},applyTransform:function(t,e,i){var n=e[0],r=e[1];return t[0]=i[0]*n+i[2]*r+i[4],t[1]=i[1]*n+i[3]*r+i[5],t},min:function(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t},max:function(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}};return e[oe]=e.len,e.lengthSquare=e.lenSquare,e.dist=e.distance,e.distSquare=e.distanceSquare,e}),e("echarts/coord/geo/geoCreator",[Oe,"./Geo","../../util/layout",Re,"../../echarts"],function(t){function e(t,e){var i=this[V](),n=t.getBoxLayoutParams();n.aspect=i.width/i[fe]*.75;var r=a.getLayoutRect(n,{width:e[xe](),height:e[ye]()});this.setViewRect(r.x,r.y,r.width,r[fe]),this.setCenter(t.get(E)),this.setZoom(t.get("zoom"))}function i(t,e){o.each(e.get("geoCoord"),function(e,i){t.addGeoCoord(i,e)})}function n(t){console.error("Map "+t+" not exists")}var r=t("./Geo"),a=t("../../util/layout"),o=t(Re),s={},l={dimensions:r[Me][S],create:function(t,a){var l=[];t[ge]("geo",function(t,o){var c=t.get("map"),u=s[c];u||n(c);var h=new r(c+o,c,u&&u.geoJson,u&&u.specialAreas,t.get("nameMap"));h.zoomLimit=t.get("scaleLimit"),l.push(h),i(h,t),t[ze]=h,h.model=t,h[be]=e,h[be](t,a)}),t[re](function(t){var e=t.get(ze);if("geo"===e){var i=t.get("geoIndex")||0;t[ze]=l[i]}});var c={};return t.eachSeriesByType("map",function(t){var e=t.get("map");c[e]=c[e]||[],c[e].push(t)}),o.each(c,function(t,c){var u=s[c];u||n(name);var h=o.map(t,function(t){return t.get("nameMap")}),d=new r(c,c,u&&u.geoJson,u&&u.specialAreas,o.mergeAll(h));d.zoomLimit=o.retrieve.apply(null,o.map(t,function(t){return t.get("scaleLimit")})),l.push(d),d[be]=e,d[be](t[0],a),o.each(t,function(t){t[ze]=d,i(d,t)})}),l},registerMap:function(t,e,i){e.geoJson&&!e.features&&(i=e.specialAreas,e=e.geoJson),typeof e===we&&(e="undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")()),s[t]={geoJson:e,specialAreas:i}},getMap:function(t){return s[t]},getFilledRegions:function(t,e){for(var i=(t||[]).slice(),n=l.getMap(e),r=n&&n.geoJson,a={},o=r.features,s=0;s<i[oe];s++)a[i[s].name]=i[s];for(var s=0;s<o[oe];s++){var c=o[s].properties.name;a[c]||i.push({name:c})}return i}},c=t("../../echarts");return c.registerMap=l.registerMap,c.getMap=l.getMap,c.loadMap=function(){},c.registerCoordinateSystem("geo",l),l}),e("echarts/component/geo/GeoView",[Oe,"../helper/MapDraw","../../echarts"],function(t){var e=t("../helper/MapDraw");return t("../../echarts").extendComponentView({type:"geo",init:function(t,i){var n=new e(i,!0);this._mapDraw=n,this.group.add(n.group)},render:function(t,e,i,n){if(!n||"geoToggleSelect"!==n.type||n.from!==this.uid){var r=this._mapDraw;t.get("show")?r.draw(t,e,i,this,n):this._mapDraw.group[ke]()}}})}),e("echarts/action/geoRoam",[Oe,Re,"./roamHelper","../echarts"],function(t){var e=t(Re),i=t("./roamHelper"),n=t("../echarts");n.registerAction({type:"geoRoam",event:"geoRoam",update:"updateLayout"},function(t,n){var r=t.componentType||ne;n[ge]({mainType:r,query:t},function(n){var a=n[ze];if("geo"===a.type){var o=i.updateCenterAndZoom(a,t,n.get("scaleLimit"));n.setCenter&&n.setCenter(o[E]),n.setZoom&&n.setZoom(o.zoom),r===ne&&e.each(n.seriesGroup,function(t){t.setCenter(o[E]),t.setZoom(o.zoom)})}})})}),e("echarts/component/legend/LegendModel",[Oe,Re,"../../model/Model","../../echarts"],function(t){var e=t(Re),i=t("../../model/Model"),n=t("../../echarts").extendComponentModel({type:"legend",dependencies:[ne],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,i){this.mergeDefaultAndTheme(t,i),t.selected=t.selected||{},this._updateData(i);var n=this._data,r=this[m].selected;if(n[0]&&"single"===this.get("selectedMode")){var a=!1;for(var o in r)r[o]&&(this.select(o),a=!0);!a&&this.select(n[0].get("name"))}},mergeOption:function(t){n.superCall(this,"mergeOption",t),this._updateData(this[r])},_updateData:function(t){var n=e.map(this.get("data")||[],function(t){return typeof t===we&&(t={name:t}),new i(t,this,this[r])},this);this._data=n;var a=e.map(t.getSeries(),function(t){return t.name});t[re](function(t){if(t.legendDataProvider){var e=t.legendDataProvider();a=a[L](e[h](e[p]))}}),this._availableNames=a},getData:function(){return this._data},select:function(t){var i=this[m].selected,n=this.get("selectedMode");if("single"===n){var r=this._data;e.each(r,function(t){i[t.get("name")]=!1})}i[t]=!0},unSelect:function(t){"single"!==this.get("selectedMode")&&(this[m].selected[t]=!1)},toggleSelected:function(t){var e=this[m].selected;t in e||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},isSelected:function(t){var i=this[m].selected;return!(t in i&&!i[t])&&e[q](this._availableNames,t)>=0},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:"top",align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,textStyle:{color:"#333"},selectedMode:!0}});return n}),e("echarts/component/legend/legendAction",[Oe,"../../echarts",Re],function(t){function e(t,e,i){var r,a={},o="toggleSelected"===t;return i[ge]("legend",function(i){o&&null!=r?i[r?"select":"unSelect"](e.name):(i[t](e.name),r=i.isSelected(e.name));var s=i[Ie]();n.each(s,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);a[e]=e in a?a[e]&&n:n}})}),{name:e.name,selected:a}}var i=t("../../echarts"),n=t(Re);i.registerAction("legendToggleSelect","legendselectchanged",n.curry(e,"toggleSelected")),i.registerAction("legendSelect","legendselected",n.curry(e,"select")),i.registerAction("legendUnSelect","legendunselected",n.curry(e,"unSelect"))}),e("echarts/component/legend/LegendView",[Oe,Re,"../../util/symbol",M,"../helper/listComponent","../../echarts"],function(t){function e(t,e){e[se]({type:"legendToggleSelect",name:t})}function i(t,e,i){t.get("legendHoverLink")&&i[se]({type:"highlight",seriesName:t.name,name:e})}function n(t,e,i){t.get("legendHoverLink")&&i[se]({type:"downplay",seriesName:t.name,name:e})}var r=t(Re),a=t("../../util/symbol"),o=t(M),s=t("../helper/listComponent"),l=r.curry,c="#ccc";return t("../../echarts").extendComponentView({type:"legend",init:function(){this._symbolTypeStore={}},render:function(t,a,c){var h=this.group;if(h[ke](),t.get("show")){var d=t.get("selectedMode"),f=t.get("align");"auto"===f&&(f="right"===t.get("left")&&"vertical"===t.get("orient")?"right":"left");var p={};r.each(t[Ie](),function(r){var s=r.get("name");if(""===s||"\n"===s)return void h.add(new o.Group({newline:!0}));var m=a.getSeriesByName(s)[0];if(!p[s])if(m){var g=m[Ie](),v=g.getVisual("color");typeof v===W&&(v=v(m[J](0)));var x=g.getVisual("legendSymbol")||"roundRect",_=g.getVisual("symbol"),b=this._createItem(s,r,t,x,_,f,v,d);b.on("click",l(e,s,c)).on(ee,l(i,m,"",c)).on(te,l(n,m,"",c)),p[s]=!0}else a.eachRawSeries(function(a){if(!p[s]&&a.legendDataProvider){var o=a.legendDataProvider(),h=o[u](s);if(0>h)return;var m=o[y](h,"color"),g="roundRect",v=this._createItem(s,r,t,g,null,f,m,d);v.on("click",l(e,s,c)).on(ee,l(i,a,s,c)).on(te,l(n,a,s,c)),p[s]=!0}},this)},this),s.layout(h,t,c),s.addBackground(h,t)}},_createItem:function(t,e,i,n,r,s,l,u){var h=i.get("itemWidth"),d=i.get("itemHeight"),f=i.isSelected(t),p=new o.Group,m=e[_e](Z),g=e.get("icon");if(n=g||n,p.add(a.createSymbol(n,0,0,h,d,f?l:c)),!g&&r&&(r!==n||"none"==r)){var v=.8*d;"none"===r&&(r="circle"),p.add(a.createSymbol(r,(h-v)/2,(d-v)/2,v,v,f?l:c))}var y="left"===s?h+5:-5,x=s,_=i.get("formatter");typeof _===we&&_?t=_[j]("{name}",t):typeof _===W&&(t=_(t));var b=new o.Text({style:{text:t,x:y,y:d/2,fill:f?m[N]():c,textFont:m[G](),textAlign:x,textVerticalAlign:"middle"}});return p.add(b),p.add(new o.Rect({shape:p[V](),invisible:!0})),p.eachChild(function(t){t.silent=!u}),this.group.add(p),o.setHoverStyle(p),p}})}),e("echarts/component/legend/legendFilter",[],function(){return function(t){var e=t.findComponents({mainType:"legend"});e&&e[oe]&&t.filterSeries(function(t){for(var i=0;i<e[oe];i++)if(!e[i].isSelected(t.name))return!1;return!0})}}),e("echarts/util/layout",[Oe,Re,c,"./number","./format"],function(t){function e(t,e,i,n,r){var a=0,o=0;null==n&&(n=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,c){var u,h,d=l[O],f=l[V](),p=e.childAt(c+1),m=p&&p[V]();if("horizontal"===t){var g=f.width+(m?-m.x+f.x:0);u=a+g,u>n||l.newline?(a=0,u=g,o+=s+i,s=f[fe]):s=Math.max(s,f[fe])}else{var v=f[fe]+(m?-m.y+f.y:0);h=o+v,h>r||l.newline?(a+=s+i,o=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=a,d[1]=o,"horizontal"===t?a=u+i:o=h+i)})}var i=t(Re),n=t(c),r=t("./number"),a=t("./format"),o=r.parsePercent,s=i.each,l={},u=["left","right","top",pe,"width",fe];return l.box=e,l.vbox=i.curry(e,"vertical"),l.hbox=i.curry(e,"horizontal"),l.getAvailableSize=function(t,e,i){var n=e.width,r=e[fe],s=o(t.x,n),l=o(t.y,r),c=o(t.x2,n),u=o(t.y2,r);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(c)||isNaN(parseFloat(t.x2)))&&(c=n),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(u)||isNaN(parseFloat(t.y2)))&&(u=r),i=a.normalizeCssArray(i||0),{width:Math.max(c-s-i[1]-i[3],0),height:Math.max(u-l-i[0]-i[2],0)}
},l.getLayoutRect=function(t,e,i){i=a.normalizeCssArray(i||0);var r=e.width,s=e[fe],l=o(t.left,r),c=o(t.top,s),u=o(t.right,r),h=o(t[pe],s),d=o(t.width,r),f=o(t[fe],s),p=i[2]+i[0],m=i[1]+i[3],g=t.aspect;switch(isNaN(d)&&(d=r-u-m-l),isNaN(f)&&(f=s-h-p-c),isNaN(d)&&isNaN(f)&&(g>r/s?d=.8*r:f=.8*s),null!=g&&(isNaN(d)&&(d=g*f),isNaN(f)&&(f=d/g)),isNaN(l)&&(l=r-u-d-m),isNaN(c)&&(c=s-h-f-p),t.left||t.right){case E:l=r/2-d/2-i[3];break;case"right":l=r-d-m}switch(t.top||t[pe]){case B:case E:c=s/2-f/2-i[0];break;case pe:c=s-f-p}l=l||0,c=c||0,isNaN(d)&&(d=r-l-(u||0)),isNaN(f)&&(f=s-c-(h||0));var v=new n(l+i[3],c+i[0],d,f);return v.margin=i,v},l.positionGroup=function(t,e,n,r){var a=t[V]();e=i[le](i.clone(e),{width:a.width,height:a[fe]}),e=l.getLayoutRect(e,n,r),t[O]=[e.x-a.x,e.y-a.y]},l.mergeLayoutParam=function(t,e,n){function r(i){var r={},l=0,c={},u=0,h=n.ignoreSize?1:2;if(s(i,function(e){c[e]=t[e]}),s(i,function(t){a(e,t)&&(r[t]=c[t]=e[t]),o(r,t)&&l++,o(c,t)&&u++}),u!==h&&l){if(l>=h)return r;for(var d=0;d<i[oe];d++){var f=i[d];if(!a(r,f)&&a(t,f)){r[f]=t[f];break}}return r}return c}function a(t,e){return t.hasOwnProperty(e)}function o(t,e){return null!=t[e]&&"auto"!==t[e]}function l(t,e,i){s(t,function(t){e[t]=i[t]})}!i[ue](n)&&(n={});var c=["width","left","right"],u=[fe,"top",pe],h=r(c),d=r(u);l(c,t,h),l(u,t,d)},l.getLayoutParams=function(t){return l.copyLayoutParams({},t)},l.copyLayoutParams=function(t,e){return e&&t&&s(u,function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t},l}),e("echarts/component/tooltip/TooltipModel",[Oe,"../../echarts"],function(t){t("../../echarts").extendComponentModel({type:"tooltip",defaultOption:{zlevel:0,z:8,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove",alwaysShowContent:!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:!0,animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",lineStyle:{color:"#555",width:1,type:"solid"},crossStyle:{color:"#555",width:1,type:"dashed",textStyle:{}},shadowStyle:{color:"rgba(150,150,150,0.3)"}},textStyle:{color:"#fff",fontSize:14}}})}),e("echarts/component/toolbox/ToolboxModel",[Oe,"./featureManager",Re,"../../echarts"],function(t){var e=t("./featureManager"),i=t(Re),n=t("../../echarts").extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},mergeDefaultAndTheme:function(){n.superApply(this,"mergeDefaultAndTheme",arguments),i.each(this[m].feature,function(t,n){var r=e.get(n);r&&i.merge(t,r.defaultOption)})},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{normal:{borderColor:"#666",color:"none"},emphasis:{borderColor:"#3E98C5"}}}});return n}),e("echarts/component/toolbox/ToolboxView",[Oe,"./featureManager",Re,M,"../../model/Model","../../data/DataDiffer","../helper/listComponent","zrender/contain/text","../../echarts"],function(t){function e(t){return 0===t[q]("my")}var i=t("./featureManager"),n=t(Re),a=t(M),s=t("../../model/Model"),l=t("../../data/DataDiffer"),c=t("../helper/listComponent"),u=t("zrender/contain/text");return t("../../echarts").extendComponentView({type:"toolbox",render:function(t,h,d){function f(n,a){var o,l=w[n],c=w[a],u=x[l],f=new s(u,t,t[r]);if(l&&!c){if(e(l))o={model:f,onclick:f[m].onclick,featureName:l};else{var g=i.get(l);if(!g)return;o=new g(f)}_[l]=o}else{if(o=_[c],!o)return;o.model=f}return!l&&c?void(o.dispose&&o.dispose(h,d)):!f.get("show")||o.unusable?void(o[ce]&&o[ce](h,d)):(p(f,o,l),f.setIconStatus=function(t,e){var i=this[m],n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&n[t][ae](e)},void(o.render&&o.render(f,h,d)))}function p(e,i,r){var s=e[_e]("iconStyle"),l=i.getIcons?i.getIcons():e.get("icon"),c=e.get("title")||{};if(typeof l===we){var u=l,f=c;l={},c={},l[r]=u,c[r]=f}var p=e.iconPaths={};n.each(l,function(r,l){var u=s[_e](b)[Ae](),f=s[_e](v)[Ae](),m={x:-y/2,y:-y/2,width:y,height:y},x=0===r[q]("image://")?(m.image=r.slice(8),new a.Image({style:m})):a.makePath(r[j]("path://",""),{style:u,hoverStyle:f,rectHover:!0},m,E);a.setHoverStyle(x),t.get("showTitle")&&(x.__title=c[l],x.on(ee,function(){x.setStyle({text:c[l],textPosition:f.textPosition||pe,textFill:f.fill||f[o]||"#000",textAlign:f[F]||E})}).on(te,function(){x.setStyle({textFill:null})})),x[ae](e.get("iconStatus."+l)||b),g.add(x),x.on("click",n.bind(i.onclick,i,h,d,l)),p[l]=x})}var g=this.group;if(g[ke](),t.get("show")){var y=+t.get("itemSize"),x=t.get("feature")||{},_=this._features||(this._features={}),w=[];n.each(x,function(t,e){w.push(e)}),new l(this._featureNames||[],w).add(f)[he](f)[ce](n.curry(f,null)).execute(),this._featureNames=w,c.layout(g,t,d),c.addBackground(g,t),g.eachChild(function(t){var e=t.__title,i=t.hoverStyle;if(i&&e){var n=u[V](e,i.font),r=t[O][0]+g[O][0],a=t[O][1]+g[O][1]+y,o=!1;a+n[fe]>d[ye]()&&(i.textPosition="top",o=!0);var s=o?-5-n[fe]:y+8;r+n.width/2>d[xe]()?(i.textPosition=["100%",s],i[F]="right"):r-n.width/2<0&&(i.textPosition=[0,s],i[F]="left")}})}},remove:function(t,e){n.each(this._features,function(i){i[ce]&&i[ce](t,e)}),this.group[ke]()},dispose:function(t,e){n.each(this._features,function(i){i.dispose&&i.dispose(t,e)})}})}),e("echarts/component/toolbox/feature/SaveAsImage",[Oe,"zrender/core/env","../featureManager"],function(t){function e(t){this.model=t}var i=t("zrender/core/env");e.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:"保存为图片",type:"png",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:["右键另存为图片"]},e[Me].unusable=!i[ve];var n=e[Me];return n.onclick=function(t,e){var i=this.model,n=i.get("name")||t.get("title.0.text")||"echarts",r=document[k]("a"),a=i.get("type",!0)||"png";r.download=n+"."+a,r[K]="_blank";var o=e.getConnectedDataURL({type:a,backgroundColor:i.get(Pe,!0)||t.get(Pe)||"#fff",excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if(r.href=o,typeof MouseEvent===W){var s=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});r.dispatchEvent(s)}else{var l=i.get("lang"),c='<body style="margin:0;"><img src="'+o+'" style="max-width:100%;" title="'+(l&&l[0]||"")+'" /></body>',u=window.open();u.document.write(c)}},t("../featureManager").register("saveAsImage",e),e}),e("echarts/component/tooltip/TooltipView",[Oe,"./TooltipContent",M,Re,"../../util/format","../../util/number","zrender/core/env","../../echarts"],function(t){function e(t,e){if(!t||!e)return!1;var i=T.round;return i(t[0])===i(e[0])&&i(t[1])===i(e[1])}function n(t,e,i,n){return{x1:t,y1:e,x2:i,y2:n}}function r(t,e,i,n){return{x:t,y:e,width:i,height:n}}function a(t,e,i,n,r,a){return{cx:t,cy:e,r0:i,r:n,startAngle:r,endAngle:a,clockwise:!0}}function s(t,e,i,n,r){var a=i.clientWidth,o=i.clientHeight,s=20;return t+a+s>n?t-=a+s:t+=s,e+o+s>r?e-=o+s:e+=s,[t,e]}function c(t,e,i){var n=i.clientWidth,r=i.clientHeight,a=5,o=0,s=0,l=e.width,c=e[fe];switch(t){case f:o=e.x+l/2-n/2,s=e.y+c/2-r/2;break;case"top":o=e.x+l/2-n/2,s=e.y-r-a;break;case pe:o=e.x+l/2-n/2,s=e.y+c+a;break;case"left":o=e.x-n-a,s=e.y+c/2-r/2;break;case"right":o=e.x+l+a,s=e.y+c/2-r/2}return[o,s]}function h(t,e,n,r,a,o,u){var h=u[xe](),d=u[ye](),f=o&&o[V]().clone();if(o&&f[l](o[Te]),typeof t===W&&(t=t([e,n],a,r.el,f)),b[X](t))e=P(t[0],h),n=P(t[1],d);else if(typeof t===we&&o){var p=c(t,f,r.el);e=p[0],n=p[1]}else{var p=s(e,n,r.el,h,d);e=p[0],n=p[1]}r[i](e,n)}function m(t){var e=t[ze],i=t.get("tooltip.trigger",!0);return!(!e||"cartesian2d"!==e.type&&"polar"!==e.type&&"single"!==e.type||"item"===i)}var v=t("./TooltipContent"),y=t(M),b=t(Re),w=t("../../util/format"),T=t("../../util/number"),P=T.parsePercent,L=t("zrender/core/env");t("../../echarts").extendComponentView({type:"tooltip",_axisPointers:{},init:function(t,e){if(!L.node){var i=new v(e.getDom(),e);this._tooltipContent=i,e.on("showTip",this._manuallyShowTip,this),e.on("hideTip",this._manuallyHideTip,this)}},render:function(t,e,i){if(!L.node){this.group[ke](),this._axisPointers={},this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastHover={};var n=this._tooltipContent;n[he](),n.enterable=t.get("enterable"),this._alwaysShowContent=t.get("alwaysShowContent"),this._seriesGroupByAxis=this._prepareAxisTriggerData(t,e);var r=this._crossText;if(r&&this.group.add(r),null!=this._lastX&&null!=this._lastY){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){a._manuallyShowTip({x:a._lastX,y:a._lastY})})}var o=this._api.getZr();o.off("click",this._tryShow),o.off("mousemove",this._mousemove),o.off(te,this._hide),o.off("globalout",this._hide),"click"===t.get("triggerOn")?o.on("click",this._tryShow,this):(o.on("mousemove",this._mousemove,this),o.on(te,this._hide,this),o.on("globalout",this._hide,this))}},_mousemove:function(t){var e=this._tooltipModel.get("showDelay"),i=this;clearTimeout(this._showTimeout),e>0?this._showTimeout=setTimeout(function(){i._tryShow(t)},e):this._tryShow(t)},_manuallyShowTip:function(t){if(t.from!==this.uid){var e=this._ecModel,i=t[$],n=t[Q],r=e.getSeriesByIndex(i),a=this._api;if(null==t.x||null==t.y){if(r||e[re](function(t){m(t)&&!r&&(r=t)}),r){var o=r[Ie]();null==n&&(n=o[u](t.name));var s,c,h=o[x](n),d=r[ze];if(d&&d[g]){var f=d[g](o.getValues(b.map(d[S],function(t){return r.coordDimToDataDim(t)[0]}),n,!0));s=f&&f[0],c=f&&f[1]}else if(h){var p=h[V]().clone();p[l](h[Te]),s=p.x+p.width/2,c=p.y+p[fe]/2}null!=s&&null!=c&&this._tryShow({offsetX:s,offsetY:c,target:h,event:{}})}}else{var h=a.getZr().handler.findHover(t.x,t.y);this._tryShow({offsetX:t.x,offsetY:t.y,target:h,event:{}})}}},_manuallyHideTip:function(t){t.from!==this.uid&&this._hide()},_prepareAxisTriggerData:function(t,e){var i={};return e[re](function(t){if(m(t)){var e,n,r=t[ze];"cartesian2d"===r.type?(e=r.getBaseAxis(),n=e.dim+e.index):"single"===r.type?(e=r[C](),n=e.dim+e.type):(e=r.getBaseAxis(),n=e.dim+r.name),i[n]=i[n]||{coordSys:[],series:[]},i[n].coordSys.push(r),i[n][ne].push(t)}},this),i},_tryShow:function(t){var e=t[K],i=this._tooltipModel,n=i.get(ae),r=this._ecModel,a=this._api;if(i)if(this._lastX=t.offsetX,this._lastY=t.offsetY,e&&null!=e[Q]){var o=e.dataModel||r.getSeriesByIndex(e[$]),s=e[Q],l=o[Ie]()[_](s);"axis"===(l.get("tooltip.trigger")||n)?this._showAxisTooltip(i,r,t):(this._ticket="",this._hideAxisPointer(),this._resetLastHover(),this._showItemTooltipContent(o,s,e.dataType,t)),a[se]({type:"showTip",from:this.uid,dataIndex:e[Q],seriesIndex:e[$]})}else"item"===n?this._hide():this._showAxisTooltip(i,r,t),"cross"===i.get("axisPointer.type")&&a[se]({type:"showTip",from:this.uid,x:t.offsetX,y:t.offsetY})},_showAxisTooltip:function(t,i,n){var r=t[_e]("axisPointer"),a=r.get("type");if("cross"===a){var o=n[K];if(o&&null!=o[Q]){var s=i.getSeriesByIndex(o[$]),l=o[Q];this._showItemTooltipContent(s,l,o.dataType,n)}}this._showAxisPointer();var c=!0;b.each(this._seriesGroupByAxis,function(t){var i=t.coordSys,o=i[0],s=[n.offsetX,n.offsetY];if(!o.containPoint(s))return void this._hideAxisPointer(o.name);c=!1;var l=o[S],u=o.pointToData(s,!0);s=o[g](u);var h=o.getBaseAxis(),d=r.get("axis");"auto"===d&&(d=h.dim);var f=!1,p=this._lastHover;if("cross"===a)e(p.data,u)&&(f=!0),p.data=u;else{var m=b[q](l,d);p.data===u[m]&&(f=!0),p.data=u[m]}"cartesian2d"!==o.type||f?"polar"!==o.type||f?"single"!==o.type||f||this._showSinglePointer(r,o,d,s):this._showPolarPointer(r,o,d,s):this._showCartesianPointer(r,o,d,s),"cross"!==a&&this._dispatchAndShowSeriesTooltipContent(o,t[ne],s,u,f)},this),this._tooltipModel.get("show")||this._hideAxisPointer(),c&&this._hide()},_showCartesianPointer:function(t,e,i,a){function o(i,r,a){var o="x"===i?n(r[0],a[0],r[0],a[1]):n(a[0],r[1],a[1],r[1]),s=l._getPointerElement(e,t,i,o);u?y.updateProps(s,{shape:o},t):s.attr({shape:o})}function s(i,n,a){var o=e[C](i),s=o.getBandWidth(),c=a[1]-a[0],h="x"===i?r(n[0]-s/2,a[0],s,c):r(a[0],n[1]-s/2,c,s),d=l._getPointerElement(e,t,i,h);u?y.updateProps(d,{shape:h},t):d.attr({shape:h})}var l=this,c=t.get("type"),u="cross"!==c;if("cross"===c)o("x",a,e[C]("y").getGlobalExtent()),o("y",a,e[C]("x").getGlobalExtent()),this._updateCrossText(e,a,t);else{var h=e[C]("x"===i?"y":"x"),d=h.getGlobalExtent();"cartesian2d"===e.type&&("line"===c?o:s)(i,a,d)}},_showSinglePointer:function(t,e,i,r){function a(i,r,a){var s=e[C](),c=s.orient,u="horizontal"===c?n(r[0],a[0],r[0],a[1]):n(a[0],r[1],a[1],r[1]),h=o._getPointerElement(e,t,i,u);l?y.updateProps(h,{shape:u},t):h.attr({shape:u})}var o=this,s=t.get("type"),l="cross"!==s,c=e.getRect(),u=[c.y,c.y+c[fe]];a(i,r,u)},_showPolarPointer:function(t,e,i,r){function o(i,r,a){var o,s=e.pointToCoord(r);if("angle"===i){var c=e.coordToPoint([a[0],s[1]]),u=e.coordToPoint([a[1],s[1]]);o=n(c[0],c[1],u[0],u[1])}else o={cx:e.cx,cy:e.cy,r:s[0]};var h=l._getPointerElement(e,t,i,o);f?y.updateProps(h,{shape:o},t):h.attr({shape:o})}function s(i,n,r){var o,s=e[C](i),c=s.getBandWidth(),u=e.pointToCoord(n),h=Math.PI/180;o="angle"===i?a(e.cx,e.cy,r[0],r[1],(-u[1]-c/2)*h,(-u[1]+c/2)*h):a(e.cx,e.cy,u[0]-c/2,u[0]+c/2,0,2*Math.PI);var d=l._getPointerElement(e,t,i,o);f?y.updateProps(d,{shape:o},t):d.attr({shape:o})}var l=this,c=t.get("type"),u=e.getAngleAxis(),h=e.getRadiusAxis(),f="cross"!==c;if("cross"===c)o("angle",r,h[D]()),o(d,r,u[D]()),this._updateCrossText(e,r,t);else{var p=e[C](i===d?"angle":d),m=p[D]();("line"===c?o:s)(i,r,m)}},_updateCrossText:function(t,e,i){var n=i[_e]("crossStyle"),r=n[_e](Z),a=this._tooltipModel,o=this._crossText;o||(o=this._crossText=new y.Text({style:{textAlign:"left",textVerticalAlign:"bottom"}}),this.group.add(o));var s=t.pointToData(e),l=t[S];s=b.map(s,function(e,i){var n=t[C](l[i]);return e=n.type===A||"time"===n.type?n.scale.getLabel(e):w.addCommas(e.toFixed(n.getPixelPrecision()))}),o.setStyle({fill:r[N]()||n.get("color"),textFont:r[G](),text:s.join(", "),x:e[0]+5,y:e[1]-5}),o.z=a.get("z"),o[Y]=a.get(Y)},_getPointerElement:function(t,e,i,n){var r=this._tooltipModel,a=r.get("z"),s=r.get(Y),l=this._axisPointers,c=t.name;if(l[c]=l[c]||{},l[c][i])return l[c][i];var u=e.get("type"),h=e[_e](u+"Style"),f="shadow"===u,p=h[f?"getAreaStyle":"getLineStyle"](),m="polar"===t.type?f?"Sector":i===d?"Circle":"Line":f?"Rect":"Line";f?p[o]=null:p.fill=null;var g=l[c][i]=new y[m]({style:p,z:a,zlevel:s,silent:!0,shape:n});return this.group.add(g),g},_dispatchAndShowSeriesTooltipContent:function(t,e,i,n,r){var a=this._tooltipModel,o=this._tooltipContent,s=t.getBaseAxis(),l=b.map(e,function(t){return{seriesIndex:t[$],dataIndex:t.getAxisTooltipDataIndex?t.getAxisTooltipDataIndex(t.coordDimToDataDim(s.dim),n,s):t[Ie]().indexOfNearest(t.coordDimToDataDim(s.dim)[0],n["x"===s.dim||s.dim===d?0:1])}}),c=this._lastHover,u=this._api;if(c.payloadBatch&&!r&&u[se]({type:"downplay",batch:c.payloadBatch}),r||(u[se]({type:"highlight",batch:l}),c.payloadBatch=l),u[se]({type:"showTip",dataIndex:l[0][Q],seriesIndex:l[0][$],from:this.uid}),s&&a.get("showContent")&&a.get("show")){var f,m=a.get("formatter"),g=a.get(O),v=b.map(e,function(t,e){return t[J](l[e][Q])});o.show(a);var y=l[0][Q];if(!r){if(this._ticket="",m){if(typeof m===we)f=w.formatTpl(m,v);else if(typeof m===W){var x=this,_="axis_"+t.name+"_"+y,M=function(t,e){t===x._ticket&&(o.setContent(e),h(g,i[0],i[1],o,v,null,u))};x._ticket=_,f=m(v,_,M)}}else{var S=e[0][Ie]()[p](y);f=(S?S+"<br />":"")+b.map(e,function(t,e){return t.formatTooltip(l[e][Q],!0)}).join("<br />")}o.setContent(f)}h(g,i[0],i[1],o,v,null,u)}},_showItemTooltipContent:function(t,e,i,n){var r=this._api,a=t[Ie](i),o=a[_](e),s=this._tooltipModel,l=this._tooltipContent,c=o[_e]("tooltip");if(c.parentModel?c.parentModel.parentModel=s:c.parentModel=this._tooltipModel,c.get("showContent")&&c.get("show")){var u,d=c.get("formatter"),f=c.get(O),p=t[J](e,i);if(d){if(typeof d===we)u=w.formatTpl(d,p);else if(typeof d===W){var m=this,g="item_"+t.name+"_"+e,v=function(t,e){t===m._ticket&&(l.setContent(e),h(f,n.offsetX,n.offsetY,l,p,n[K],r))};m._ticket=g,u=d(p,g,v)}}else u=t.formatTooltip(e,!1,i);l.show(c),l.setContent(u),h(f,n.offsetX,n.offsetY,l,p,n[K],r)}},_showAxisPointer:function(t){if(t){var e=this._axisPointers[t];e&&b.each(e,function(t){t.show()})}else this.group.eachChild(function(t){t.show()}),this.group.show()},_resetLastHover:function(){var t=this._lastHover;t.payloadBatch&&this._api[se]({type:"downplay",batch:t.payloadBatch}),this._lastHover={}},_hideAxisPointer:function(t){if(t){var e=this._axisPointers[t];e&&b.each(e,function(t){t.hide()})}else this.group.hide()},_hide:function(){clearTimeout(this._showTimeout),this._hideAxisPointer(),this._resetLastHover(),this._alwaysShowContent||this._tooltipContent.hideLater(this._tooltipModel.get("hideDelay")),this._api[se]({type:"hideTip",from:this.uid}),this._lastX=this._lastY=null},dispose:function(t,e){if(!L.node){var i=e.getZr();this._tooltipContent.hide(),i.off("click",this._tryShow),i.off("mousemove",this._mousemove),i.off(te,this._hide),i.off("globalout",this._hide),e.off("showTip",this._manuallyShowTip),e.off("hideTip",this._manuallyHideTip)}}})}),e("echarts/component/toolbox/feature/MagicType",[Oe,Re,"../../../echarts","../featureManager"],function(t){function e(t){this.model=t}var i=t(Re);e.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:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"},option:{},seriesIndex:{}};var n=e[Me];n.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return i.each(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n};var r={line:function(t,e,n,r){return"bar"===t?i.merge({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get("option.line")||{},!0):void 0},bar:function(t,e,n,r){return"line"===t?i.merge({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get("option.bar")||{},!0):void 0},stack:function(t,e,n,r){return"line"===t||"bar"===t?i.merge({id:e,stack:"__ec_magicType_stack__"},r.get("option.stack")||{},!0):void 0},tiled:function(t,e,n,r){return"line"===t||"bar"===t?i.merge({id:e,stack:""},r.get("option.tiled")||{},!0):void 0}},a=[["line","bar"],["stack","tiled"]];n.onclick=function(t,e,n){var o=this.model,s=o.get("seriesIndex."+n);if(r[n]){var l={series:[]},c=function(t){var e=t.subType,a=t.id,s=r[n](e,a,t,o);s&&(i[Le](s,t[m]),l[ne].push(s));var c=t[ze];if(c&&"cartesian2d"===c.type&&("line"===n||"bar"===n)){var u=c.getAxesByScale(T)[0];if(u){var h=u.dim,d=t.get(h+"AxisIndex"),f=h+"Axis";l[f]=l[f]||[];for(var p=0;d>=p;p++)l[f][d]=l[f][d]||{};l[f][d].boundaryGap="bar"===n?!0:!1}}};i.each(a,function(t){i[q](t,n)>=0&&i.each(t,function(t){o.setIconStatus(t,b)})}),o.setIconStatus(n,v),t[ge]({mainType:"series",query:null==s?null:{seriesIndex:s}},c),e[se]({type:"changeMagicType",currentType:n,newOption:l})}};var o=t("../../../echarts");return o.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),t("../featureManager").register("magicType",e),e}),e("echarts/component/toolbox/feature/DataView",[Oe,Re,"zrender/core/event","../featureManager","../../../echarts"],function(t){function e(t){var e={},i=[],n=[];return t.eachRawSeries(function(t){var r=t[ze];if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)i.push(t);else{var a=r.getBaseAxis();if(a.type===A){var o=a.dim+"_"+a.index;e[o]||(e[o]={categoryAxis:a,valueAxis:r.getOtherAxis(a),series:[]},n.push({axisDim:a.dim,axisIndex:a.index})),e[o][ne].push(t)}else i.push(t)}}),{seriesGroupByCategoryAxis:e,other:i,meta:n}}function i(t){var e=[];return f.each(t,function(t){var i=t.categoryAxis,n=t.valueAxis,r=n.dim,a=[" "][L](f.map(t[ne],function(t){return t.name})),o=[i.model.getCategories()];f.each(t[ne],function(t){o.push(t.getRawData()[h](r,function(t){return t}))});for(var s=[a.join(v)],l=0;l<o[0][oe];l++){for(var c=[],u=0;u<o[oe];u++)c.push(o[u][l]);s.push(c.join(v))}e.push(s.join("\n"))}),e.join("\n\n"+g+"\n\n")}function n(t){return f.map(t,function(t){var e=t.getRawData(),i=[t.name],n=[];return e.each(e[S],function(){for(var t=arguments[oe],r=arguments[t-1],a=e[p](r),o=0;t-1>o;o++)n[o]=arguments[o];i.push((a?a+v:"")+n.join(v))}),i.join("\n")}).join("\n\n"+g+"\n\n")}function r(t){var r=e(t);return{value:f[De]([i(r.seriesGroupByCategoryAxis),n(r.other)],function(t){return t[j](/[\n\t\s]/g,"")}).join("\n\n"+g+"\n\n"),meta:r.meta}}function a(t){return t[j](/^\s\s*/,"")[j](/\s\s*$/,"")}function o(t){var e=t.slice(0,t[q]("\n"));return e[q](v)>=0?!0:void 0}function s(t){for(var e=t.split(/\n+/g),i=a(e.shift()).split(y),n=[],r=f.map(i,function(t){return{name:t,data:[]}}),o=0;o<e[oe];o++){var s=a(e[o]).split(y);n.push(s.shift());for(var l=0;l<s[oe];l++)r[l]&&(r[l].data[o]=s[l])}return{series:r,categories:n}}function l(t){for(var e=t.split(/\n+/g),i=a(e.shift()),n=[],r=0;r<e[oe];r++){var o,s=a(e[r]).split(y),l="",c=!1;isNaN(s[0])?(c=!0,l=s[0],s=s.slice(1),n[r]={name:l,value:[]},o=n[r].value):o=n[r]=[];for(var u=0;u<s[oe];u++)o.push(+s[u]);1===o[oe]&&(c?n[r].value=o[0]:n[r]=o[0])}return{name:i,data:n}}function c(t,e){var i=t.split(new RegExp("\n*"+g+"\n*","g")),n={series:[]};return f.each(i,function(t,i){if(o(t)){var r=s(t),a=e[i],c=a.axisDim+"Axis";a&&(n[c]=n[c]||[],n[c][a.axisIndex]={data:r.categories},n[ne]=n[ne][L](r[ne]))}else{var r=l(t);n[ne].push(r)}}),n}function u(t){this._dom=null,this.model=t}function d(t,e){return f.map(t,function(t,i){var n=e&&e[i];return f[ue](n)&&!f[X](n)?(f[ue](t)&&!f[X](t)&&(t=t.value),f[Le]({value:t},n)):t})}var f=t(Re),m=t("zrender/core/event"),g=new Array(60).join("-"),v="    ",y=new RegExp("["+v+"]+","g");return u.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:"数据视图",lang:["数据视图","关闭","刷新"],backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},u[Me].onclick=function(t,e){function i(){n.removeChild(o),S._dom=null}var n=e.getDom(),a=this.model;this._dom&&n.removeChild(this._dom);var o=document[k]("div");o.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",o.style[Pe]=a.get(Pe)||"#fff";var s=document[k]("h4"),l=a.get("lang")||[];s.innerHTML=l[0]||a.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=a.get("textColor");var u=document[k]("div"),h=document[k]("textarea");u.style.cssText="display:block;width:100%;overflow:hidden;";var d=a.get("optionToContent"),p=a.get("contentToOption"),g=r(t);if(typeof d===W){var y=d(e.getOption());typeof y===we?u.innerHTML=y:f.isDom(y)&&u.appendChild(y)}else u.appendChild(h),h.readOnly=a.get("readOnly"),h.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",h.style.color=a.get("textColor"),h.style.borderColor=a.get("textareaBorderColor"),h.style[Pe]=a.get("textareaColor"),h.value=g.value;var x=g.meta,_=document[k]("div");_.style.cssText="position:absolute;bottom:0;left:0;right:0;";var b="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",w=document[k]("div"),M=document[k]("div");b+=";background-color:"+a.get("buttonColor"),b+=";color:"+a.get("buttonTextColor");var S=this;m.addEventListener(w,"click",i),m.addEventListener(M,"click",function(){var t;try{t=typeof p===W?p(u,e.getOption()):c(h.value,x)}catch(n){throw i(),new Error("Data view format error "+n)}t&&e[se]({type:"changeDataView",newOption:t}),i()}),w.innerHTML=l[1],M.innerHTML=l[2],M.style.cssText=b,w.style.cssText=b,!a.get("readOnly")&&_.appendChild(M),_.appendChild(w),m.addEventListener(h,"keydown",function(t){if(9===(t.keyCode||t.which)){var e=this.value,i=this.selectionStart,n=this.selectionEnd;this.value=e.substring(0,i)+v+e.substring(n),this.selectionStart=this.selectionEnd=i+1,m.stop(t)}}),o.appendChild(s),o.appendChild(u),o.appendChild(_),u.style[fe]=n.clientHeight-80+"px",n.appendChild(o),this._dom=o},u[Me][ce]=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},u[Me].dispose=function(t,e){this[ce](t,e)},t("../featureManager").register("dataView",u),t("../../../echarts").registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var i=[];f.each(t.newOption[ne],function(t){var n=e.getSeriesByName(t.name)[0];if(n){var r=n.get("data");i.push({name:t.name,data:d(t.data,r)})}else i.push(f[le]({type:"scatter"},t))}),e.mergeOption(f[Le]({series:i},t.newOption))}),u}),e("echarts/component/toolbox/feature/DataZoom",[Oe,Re,"../../../util/number","../../helper/SelectController",c,"zrender/container/Group","../../dataZoom/history","../../helper/interactionMutex","../../dataZoomSelect","../featureManager","../../../echarts"],function(t){function e(t){this.model=t,this._controllerGroup,this._controller,this._isZoomActive}function i(t,e){var i=[{axisModel:t[C]("x").model,axisIndex:0},{axisModel:t[C]("y").model,axisIndex:0}];return i.grid=t,e[ge]({mainType:"dataZoom",subType:"select"},function(t){n("xAxis",i[0].axisModel,t,e)&&(i[0].dataZoomModel=t),n("yAxis",i[1].axisModel,t,e)&&(i[1].dataZoomModel=t)}),i}function n(t,e,i,n){var r=i.get(t+"Index");return null!=r&&n[P](t,r)===e}function r(t,e){var i=e.grid,n=new h(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0]);if(n.intersect(i.getRect())){var r=i.getCartesian(e[0].axisIndex,e[1].axisIndex),a=r.pointToData([t[0][0],t[1][0]],!0),o=r.pointToData([t[0][1],t[1][1]],!0);return[g([a[0],o[0]]),g([a[1],o[1]])]}}function a(t,e,i){var n=e[i],r=n.dataZoomModel;return r?{dataZoomId:r.id,startValue:t[i][0],endValue:t[i][1]}:void 0}function o(t,e){t.setIconStatus("back",f.count(e)>1?v:b)}var s=t(Re),l=t("../../../util/number"),u=t("../../helper/SelectController"),h=t(c),d=t("zrender/container/Group"),f=t("../../dataZoom/history"),p=t("../../helper/interactionMutex"),m=s.each,g=l.asc;t("../../dataZoomSelect");var y="\x00_ec_\x00toolbox-dataZoom_";e.defaultOption={show:!0,icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:{zoom:"区域缩放",back:"区域缩放还原"}};var x=e[Me];x.render=function(t,e){o(t,e)},x.onclick=function(t,e,i){var n=this._controllerGroup;this._controllerGroup||(n=this._controllerGroup=new d,e.getZr().add(n)),_[i].call(this,n,this.model,t,e)},x[ce]=function(t,e){this._disposeController(),p.release("globalPan",e.getZr())},x.dispose=function(t,e){var i=e.getZr();p.release("globalPan",i),this._disposeController(),this._controllerGroup&&i[ce](this._controllerGroup)};var _={zoom:function(t,e,i,n){var r=this._isZoomActive=!this._isZoomActive,a=n.getZr();p[r?"take":"release"]("globalPan",a),e.setIconStatus("zoom",r?v:b),r?(a.setDefaultCursorStyle("crosshair"),this._createController(t,e,i,n)):(a.setDefaultCursorStyle("default"),this._disposeController())},back:function(t,e,i,n){this._dispatchAction(f.pop(i),n)}};return x._createController=function(t,e,i,n){var r=this._controller=new u("rect",n.getZr(),{lineWidth:3,stroke:"#333",fill:"rgba(0,0,0,0.2)"});r.on("selectEnd",s.bind(this._onSelected,this,r,e,i,n)),r.enable(t,!1)},x._disposeController=function(){var t=this._controller;t&&(t.off("selected"),t.dispose())},x._onSelected=function(t,e,n,o,s){if(s[oe]){var l=s[0];t[he]();var c={};n[ge]("grid",function(t){var e=t[ze],o=i(e,n),s=r(l,o);if(s){var u=a(s,o,0,"x"),h=a(s,o,1,"y");u&&(c[u.dataZoomId]=u),h&&(c[h.dataZoomId]=h)}},this),f.push(n,c),this._dispatchAction(c,o)}},x._dispatchAction=function(t,e){var i=[];m(t,function(t){i.push(t)}),i[oe]&&e[se]({type:"dataZoom",from:this.uid,batch:s.clone(i,!0)})},t("../featureManager").register("dataZoom",e),t("../../../echarts").registerPreprocessor(function(t){function e(t,e){if(e){var r=t+"Index",a=e[r];null==a||s[X](a)||(a=a===!1?[]:[a]),i(t,function(e,i){if(null==a||-1!==s[q](a,i)){var o={type:"select",$fromToolbox:!0,id:y+t+i};o[r]=i,n.push(o)}})}}function i(e,i){var n=t[e];s[X](n)||(n=n?[n]:[]),m(n,i)}if(t){var n=t.dataZoom||(t.dataZoom=[]);s[X](n)||(t.dataZoom=n=[n]);var r=t.toolbox;if(r&&(s[X](r)&&(r=r[0]),r&&r.feature)){var a=r.feature.dataZoom;e("xAxis",a),e("yAxis",a)}}}),e}),e("echarts/component/toolbox/feature/Restore",[Oe,"../../dataZoom/history","../featureManager","../../../echarts"],function(t){function e(t){this.model=t}var i=t("../../dataZoom/history");e.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:"还原"};var n=e[Me];return n.onclick=function(t,e){i.clear(t),e[se]({type:"restore",from:this.uid})},t("../featureManager").register("restore",e),t("../../../echarts").registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")}),e}),e("zrender/vml/graphic",[Oe,"../core/env","../core/vector","../core/BoundingRect","../core/PathProxy","../tool/color","../contain/text","../graphic/mixin/RectText","../graphic/Displayable","../graphic/Image","../graphic/Text","../graphic/Path","../graphic/Gradient","./core"],function(t){if(!t("../core/env")[ve]){var e=t("../core/vector"),i=t("../core/BoundingRect"),n=t("../core/PathProxy").CMD,r=t("../tool/color"),a=t("../contain/text"),c=t("../graphic/mixin/RectText"),u=t("../graphic/Displayable"),h=t("../graphic/Image"),d=t("../graphic/Text"),f=t("../graphic/Path"),p=t("../graphic/Gradient"),m=t("./core"),g=Math.round,v=Math.sqrt,y=Math.abs,x=Math.cos,_=Math.sin,w=Math.max,M=e[l],S=",",T="progid:DXImageTransform.Microsoft",C=21600,A=C/2,P=1e5,L=1e3,z=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=C+","+C,t.coordorigin="0,0"},D=function(t){return String(t)[j](/&/g,"&amp;")[j](/"/g,"&quot;")},I=function(t,e,i){return"rgb("+[t,e,i].join(",")+")"},O=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},N=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},G=function(t,e,i){return(parseFloat(t)||0)*P+(parseFloat(e)||0)*L+i},Z=function(t,e){return typeof t===we?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t},H=function(t,e,i){var n=r.parse(e);i=+i,isNaN(i)&&(i=1),n&&(t.color=I(n[0],n[1],n[2]),t[R]=i*n[3])},W=function(t){var e=r.parse(t);return[I(e[0],e[1],e[2]),e[3]]},q=function(t,e,i){var n=e.fill;if(null!=n)if(n instanceof p){var r,a=0,o=[0,0],s=0,l=1,c=i[V](),u=c.width,h=c[fe];if("linear"===n.type){r="gradient";var d=i[Te],f=[n.x*u,n.y*h],m=[n.x2*u,n.y2*h];d&&(M(f,f,d),M(m,m,d));var g=m[0]-f[0],v=m[1]-f[1];a=180*Math.atan2(g,v)/Math.PI,0>a&&(a+=360),1e-6>a&&(a=0)}else{r="gradientradial";var f=[n.x*u,n.y*h],d=i[Te],y=i.scale,x=u,_=h;o=[(f[0]-c.x)/x,(f[1]-c.y)/_],d&&M(f,f,d),x/=y[0]*C,_/=y[1]*C;var b=w(x,_);s=0/b,l=2*n.r/b-s}var S=n.colorStops.slice();S.sort(function(t,e){return t.offset-e.offset});for(var T=S[oe],A=[],P=[],L=0;T>L;L++){var z=S[L],k=W(z.color);P.push(z.offset*l+s+" "+k[0]),(0===L||L===T-1)&&A.push(k)}if(T>=2){var D=A[0][0],I=A[1][0],O=A[0][1]*e[R],E=A[1][1]*e[R];t.type=r,t.method="none",t.focus="100%",t.angle=a,t.color=D,t.color2=I,t.colors=P.join(","),t[R]=E,t.opacity2=O}"radial"===r&&(t.focusposition=o.join(","))}else H(t,n,e[R])},X=function(t,e){null!=e.lineJoin&&(t.joinstyle=e.lineJoin),null!=e.miterLimit&&(t.miterlimit=e.miterLimit*C),null!=e.lineCap&&(t.endcap=e.lineCap),null!=e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e[o]||e[o]instanceof p||H(t,e[o],e[R])
},U=function(t,e,i,n){var r="fill"==e,a=t.getElementsByTagName(e)[0];null!=i[e]&&"none"!==i[e]&&(r||!r&&i[s])?(t[r?"filled":"stroked"]="true",i[e]instanceof p&&N(t,a),a||(a=m.createNode(e)),r?q(a,i,n):X(a,i),O(t,a)):(t[r?"filled":"stroked"]="false",N(t,a))},J=[[],[],[]],$=function(t,e){var i,r,a,o,s,l,c=n.M,u=n.C,h=n.L,d=n.A,f=n.Q,p=[];for(o=0;o<t[oe];){switch(a=t[o++],r="",i=0,a){case c:r=" m ",i=1,s=t[o++],l=t[o++],J[0][0]=s,J[0][1]=l;break;case h:r=" l ",i=1,s=t[o++],l=t[o++],J[0][0]=s,J[0][1]=l;break;case f:case u:r=" c ",i=3;var m,y,b=t[o++],w=t[o++],T=t[o++],P=t[o++];a===f?(m=T,y=P,T=(T+2*b)/3,P=(P+2*w)/3,b=(s+2*b)/3,w=(l+2*w)/3):(m=t[o++],y=t[o++]),J[0][0]=b,J[0][1]=w,J[1][0]=T,J[1][1]=P,J[2][0]=m,J[2][1]=y,s=m,l=y;break;case d:var L=0,z=0,k=1,D=1,I=0;e&&(L=e[4],z=e[5],k=v(e[0]*e[0]+e[1]*e[1]),D=v(e[2]*e[2]+e[3]*e[3]),I=Math.atan2(-e[1]/D,e[0]/k));var R=t[o++],O=t[o++],E=t[o++],B=t[o++],V=t[o++]+I,N=t[o++]+V+I;o++;var G=t[o++],F=R+x(V)*E,Z=O+_(V)*B,b=R+x(N)*E,w=O+_(N)*B,H=G?" wa ":" at ";Math.abs(F-b)<1e-10&&(Math.abs(N-V)>.01?G&&(F+=270/C):Math.abs(Z-O)<1e-10?G&&R>F||!G&&F>R?w-=270/C:w+=270/C:G&&O>Z||!G&&Z>O?b+=270/C:b-=270/C),p.push(H,g(((R-E)*k+L)*C-A),S,g(((O-B)*D+z)*C-A),S,g(((R+E)*k+L)*C-A),S,g(((O+B)*D+z)*C-A),S,g((F*k+L)*C-A),S,g((Z*D+z)*C-A),S,g((b*k+L)*C-A),S,g((w*D+z)*C-A)),s=b,l=w;break;case n.R:var W=J[0],q=J[1];W[0]=t[o++],W[1]=t[o++],q[0]=W[0]+t[o++],q[1]=W[1]+t[o++],e&&(M(W,W,e),M(q,q,e)),W[0]=g(W[0]*C-A),q[0]=g(q[0]*C-A),W[1]=g(W[1]*C-A),q[1]=g(q[1]*C-A),p.push(" m ",W[0],S,W[1]," l ",q[0],S,W[1]," l ",q[0],S,q[1]," l ",W[0],S,q[1]);break;case n.Z:p.push(" x ")}if(i>0){p.push(r);for(var X=0;i>X;X++){var j=J[X];e&&M(j,j,e),p.push(g(j[0]*C-A),S,g(j[1]*C-A),i-1>X?S:"")}}}return p.join("")};f[Me].brushVML=function(t){var e=this.style,i=this._vmlEl;i||(i=m.createNode("shape"),z(i),this._vmlEl=i),U(i,"fill",e,this),U(i,o,e,this);var n=this[Te],r=null!=n,a=i.getElementsByTagName(o)[0];if(a){var l=e[s];if(r&&!e.strokeNoScale){var c=n[0]*n[3]-n[1]*n[2];l*=v(y(c))}a.weight=l+"px"}var u=this.path;this.__dirtyPath&&(u.beginPath(),this.buildPath(u,this.shape),u.toStatic(),this.__dirtyPath=!1),i.path=$(u.data,this[Te]),i.style.zIndex=G(this[Y],this.z,this.z2),O(t,i),e.text?this.drawRectText(t,this[V]()):this.removeRectText(t)},f[Me].onRemove=function(t){N(t,this._vmlEl),this.removeRectText(t)},f[Me].onAdd=function(t){O(t,this._vmlEl),this.appendRectText(t)};var Q=function(t){return"object"==typeof t&&t.tagName&&"IMG"===t.tagName.toUpperCase()};h[Me].brushVML=function(t){var e,i,n=this.style,r=n.image;if(Q(r)){var a=r.src;if(a===this._imageSrc)e=this._imageWidth,i=this._imageHeight;else{var o=r.runtimeStyle,s=o.width,l=o[fe];o.width="auto",o[fe]="auto",e=r.width,i=r[fe],o.width=s,o[fe]=l,this._imageSrc=a,this._imageWidth=e,this._imageHeight=i}r=a}else r===this._imageSrc&&(e=this._imageWidth,i=this._imageHeight);if(r){var c=n.x||0,u=n.y||0,h=n.width,d=n[fe],f=n.sWidth,p=n.sHeight,y=n.sx||0,x=n.sy||0,_=f&&p,b=this._vmlEl;b||(b=m.doc[k]("div"),z(b),this._vmlEl=b);var C,A=b.style,P=!1,L=1,D=1;if(this[Te]&&(C=this[Te],L=v(C[0]*C[0]+C[1]*C[1]),D=v(C[2]*C[2]+C[3]*C[3]),P=C[1]||C[2]),P){var I=[c,u],E=[c+h,u],B=[c,u+d],N=[c+h,u+d];M(I,I,C),M(E,E,C),M(B,B,C),M(N,N,C);var F=w(I[0],E[0],B[0],N[0]),Z=w(I[1],E[1],B[1],N[1]),H=[];H.push("M11=",C[0]/L,S,"M12=",C[2]/D,S,"M21=",C[1]/L,S,"M22=",C[3]/D,S,"Dx=",g(c*L+C[4]),S,"Dy=",g(u*D+C[5])),A.padding="0 "+g(F)+"px "+g(Z)+"px 0",A[De]=T+".Matrix("+H.join("")+", SizingMethod=clip)"}else C&&(c=c*L+C[4],u=u*D+C[5]),A[De]="",A.left=g(c)+"px",A.top=g(u)+"px";var W=this._imageEl,q=this._cropEl;W||(W=m.doc[k]("div"),this._imageEl=W);var X=W.style;if(_){if(e&&i)X.width=g(L*e*h/f)+"px",X[fe]=g(D*i*d/p)+"px";else{var j=new Image,U=this;j.onload=function(){j.onload=null,e=j.width,i=j[fe],X.width=g(L*e*h/f)+"px",X[fe]=g(D*i*d/p)+"px",U._imageWidth=e,U._imageHeight=i,U._imageSrc=r},j.src=r}q||(q=m.doc[k]("div"),q.style.overflow="hidden",this._cropEl=q);var J=q.style;J.width=g((h+y*h/f)*L),J[fe]=g((d+x*d/p)*D),J[De]=T+".Matrix(Dx="+-y*h/f*L+",Dy="+-x*d/p*D+")",q.parentNode||b.appendChild(q),W.parentNode!=q&&q.appendChild(W)}else X.width=g(L*h)+"px",X[fe]=g(D*d)+"px",b.appendChild(W),q&&q.parentNode&&(b.removeChild(q),this._cropEl=null);var $="",K=n[R];1>K&&($+=".Alpha(opacity="+g(100*K)+") "),$+=T+".AlphaImageLoader(src="+r+", SizingMethod=scale)",X[De]=$,b.style.zIndex=G(this[Y],this.z,this.z2),O(t,b),n.text&&this.drawRectText(t,this[V]())}},h[Me].onRemove=function(t){N(t,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(t)},h[Me].onAdd=function(t){O(t,this._vmlEl),this.appendRectText(t)};var K,te=b,ee={},ie=0,ne=100,re=document[k]("div"),ae=function(t){var e=ee[t];if(!e){ie>ne&&(ie=0,ee={});var i,n=re.style;try{n.font=t,i=n.fontFamily.split(",")[0]}catch(r){}e={style:n.fontStyle||te,variant:n.fontVariant||te,weight:n.fontWeight||te,size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},ee[t]=e,ie++}return e};a.measureText=function(t,e){var i=m.doc;K||(K=i[k]("div"),K.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",m.doc.body.appendChild(K));try{K.style.font=e}catch(n){}return K.innerHTML="",K.appendChild(i.createTextNode(t)),{width:K.offsetWidth}};for(var se=new i,le=function(t,e,i,n){var r=this.style,s=r.text;if(s){var c,u,h=r[F],d=ae(r.textFont),f=d.style+" "+d.variant+" "+d.weight+" "+d.size+'px "'+d.family+'"',p=r.textBaseline,v=r.textVerticalAlign;i=i||a[V](s,f,h,p);var y=this[Te];if(y&&!n&&(se.copy(e),se[l](y),e=se),n)c=e.x,u=e.y;else{var x=r.textPosition,_=r.textDistance;if(x instanceof Array)c=e.x+Z(x[0],e.width),u=e.y+Z(x[1],e[fe]),h=h||"left",p=p||"top";else{var b=a.adjustTextPositionOnRect(x,e,i,_);c=b.x,u=b.y,h=h||b[F],p=p||b.textBaseline}}if(v){switch(v){case B:u-=i[fe]/2;break;case pe:u-=i[fe]}p="top"}var w=d.size;switch(p){case"hanging":case"top":u+=w/1.75;break;case B:break;default:u-=w/2.25}switch(h){case"left":break;case E:c-=i.width/2;break;case"right":c-=i.width}var T,C,A,P=m.createNode,L=this._textVmlEl;L?(A=L.firstChild,T=A.nextSibling,C=T.nextSibling):(L=P("line"),T=P("path"),C=P("textpath"),A=P("skew"),C.style["v-text-align"]="left",z(L),T.textpathok=!0,C.on=!0,L.from="0 0",L.to="1000 0.05",O(L,A),O(L,T),O(L,C),this._textVmlEl=L);var k=[c,u],I=L.style;y&&n?(M(k,k,y),A.on=!0,A.matrix=y[0].toFixed(3)+S+y[2].toFixed(3)+S+y[1].toFixed(3)+S+y[3].toFixed(3)+",0,0",A.offset=(g(k[0])||0)+","+(g(k[1])||0),A.origin="0 0",I.left="0px",I.top="0px"):(A.on=!1,I.left=g(c)+"px",I.top=g(u)+"px"),C[we]=D(s);try{C.style.font=f}catch(N){}U(L,"fill",{fill:n?r.fill:r.textFill,opacity:r[R]},this),U(L,o,{stroke:n?r[o]:r.textStroke,opacity:r[R],lineDash:r.lineDash},this),L.style.zIndex=G(this[Y],this.z,this.z2),O(t,L)}},ce=function(t){N(t,this._textVmlEl),this._textVmlEl=null},ue=function(t){O(t,this._textVmlEl)},he=[c,u,h,f,d],de=0;de<he[oe];de++){var me=he[de][Me];me.drawRectText=le,me.removeRectText=ce,me.appendRectText=ue}d[Me].brushVML=function(t){var e=this.style;e.text?this.drawRectText(t,{x:e.x||0,y:e.y||0,width:0,height:0},this[V](),!0):this.removeRectText(t)},d[Me].onRemove=function(t){this.removeRectText(t)},d[Me].onAdd=function(t){this.appendRectText(t)}}}),e("zrender/vml/Painter",[Oe,"../core/log","./core"],function(t){function e(t){return parseInt(t,10)}function i(t,e){a.initVML(),this.root=t,this.storage=e;var i=document[k]("div"),n=document[k]("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[be]();var r=e.delFromMap,o=e.addToMap;e.delFromMap=function(t){var i=e.get(t);r.call(e,t),i&&i.onRemove&&i.onRemove(n)},e.addToMap=function(t){t.onAdd&&t.onAdd(n),o.call(e,t)},this._firstPaint=!0}function n(t){return function(){r('In IE8.0 VML mode painter not support method "'+t+'"')}}var r=t("../core/log"),a=t("./core");i[Me]={constructor:i,getViewportRoot:function(){return this._vmlViewport},refresh:function(){var t=this.storage.getDisplayList(!0,!0);this._paintList(t)},_paintList:function(t){for(var e=this._vmlRoot,i=0;i<t[oe];i++){var n=t[i];n.invisible||n[me]?(n.__alreadyNotVisible||n.onRemove(e),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(e),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,e),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(e),this._firstPaint=!1)},resize:function(){var t=this._getWidth(),e=this._getHeight();if(this._width!=t&&this._height!=e){this._width=t,this._height=e;var i=this._vmlViewport.style;i.width=t+"px",i[fe]=e+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},_getWidth:function(){var t=this.root,i=t.currentStyle;return(t.clientWidth||e(i.width))-e(i.paddingLeft)-e(i.paddingRight)|0},_getHeight:function(){var t=this.root,i=t.currentStyle;return(t.clientHeight||e(i[fe]))-e(i.paddingTop)-e(i.paddingBottom)|0}};for(var o=["getLayer","insertLayer","eachLayer","eachBuildinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],s=0;s<o[oe];s++){var l=o[s];i[Me][l]=n(l)}return i}),e("echarts/scale/Interval",[Oe,"../util/number","../util/format","./Scale"],function(t){var e=t("../util/number"),i=t("../util/format"),n=t("./Scale"),r=Math.floor,a=Math.ceil,o=n[le]({type:"interval",_interval:0,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[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),o[Me].setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval||this.niceTicks(),this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice()},getTicks:function(){this._interval||this.niceTicks();var t=this._interval,i=this._extent,n=[],r=1e4;if(t){var a=this._niceExtent;i[0]<a[0]&&n.push(i[0]);for(var o=a[0];o<=a[1];)if(n.push(o),o=e.round(o+t),n[oe]>r)return[];i[1]>a[1]&&n.push(i[1])}return n},getTicksLabels:function(){for(var t=[],e=this.getTicks(),i=0;i<e[oe];i++)t.push(this.getLabel(e[i]));return t},getLabel:function(t){return i.addCommas(t)},niceTicks:function(t){t=t||5;var i=this._extent,n=i[1]-i[0];if(isFinite(n)){0>n&&(n=-n,i.reverse());var o=e.nice(n/t,!0),s=[e.round(a(i[0]/o)*o),e.round(r(i[1]/o)*o)];this._interval=o,this._niceExtent=s}},niceExtent:function(t,i,n){var o=this._extent;if(o[0]===o[1])if(0!==o[0]){var s=o[0]/2;o[0]-=s,o[1]+=s}else o[1]=1;var l=o[1]-o[0];isFinite(l)||(o[0]=0,o[1]=1),this.niceTicks(t);var c=this._interval;i||(o[0]=e.round(r(o[0]/c)*c)),n||(o[1]=e.round(a(o[1]/c)*c))}});return o[de]=function(){return new o},o}),e("echarts/scale/Scale",[Oe,"../util/clazz"],function(t){function e(){this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}var i=t("../util/clazz"),n=e[Me];return n.parse=function(t){return t},n[I]=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},n.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},n.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},n.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},n[D]=function(){return this._extent.slice()},n.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},n.getTicksLabels=function(){for(var t=[],e=this.getTicks(),i=0;i<e[oe];i++)t.push(this.getLabel(e[i]));return t},i.enableClassExtend(e),i.enableClassManagement(e,{registerWhenExtend:!0}),e}),e("zrender/graphic/Gradient",[Oe],function(){var t=function(t){this.colorStops=t||[]};return t[Me]={constructor:t,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}},t}),e("zrender/tool/path",[Oe,"../graphic/Path","../core/PathProxy","./transformPath","../core/matrix"],function(t){function e(t,e,i,n,r,a,o,s,l,c,p){var v=l*(f/180),y=d(v)*(t-i)/2+h(v)*(e-n)/2,x=-1*h(v)*(t-i)/2+d(v)*(e-n)/2,_=y*y/(o*o)+x*x/(s*s);_>1&&(o*=u(_),s*=u(_));var b=(r===a?-1:1)*u((o*o*s*s-o*o*x*x-s*s*y*y)/(o*o*x*x+s*s*y*y))||0,w=b*o*x/s,M=b*-s*y/o,S=(t+i)/2+d(v)*w-h(v)*M,T=(e+n)/2+h(v)*w+d(v)*M,C=g([1,0],[(y-w)/o,(x-M)/s]),A=[(y-w)/o,(x-M)/s],P=[(-1*y-w)/o,(-1*x-M)/s],L=g(A,P);m(A,P)<=-1&&(L=f),m(A,P)>=1&&(L=0),0===a&&L>0&&(L-=2*f),1===a&&0>L&&(L+=2*f),p.addData(c,S,T,o,s,C,L,v,a)}function i(t){if(!t)return[];var i,n=t[j](/-/g," -")[j](/  /g," ")[j](/ /g,",")[j](/,,/g,",");for(i=0;i<c[oe];i++)n=n[j](new RegExp(c[i],"g"),"|"+c[i]);var r,o=n.split("|"),s=0,l=0,u=new a,h=a.CMD;for(i=1;i<o[oe];i++){var d,f=o[i],p=f.charAt(0),m=0,g=f.slice(1)[j](/e,-/g,"e-").split(",");g[oe]>0&&""===g[0]&&g.shift();for(var v=0;v<g[oe];v++)g[v]=parseFloat(g[v]);for(;m<g[oe]&&!isNaN(g[m])&&!isNaN(g[0]);){var y,x,_,b,w,M,S,T=s,C=l;switch(p){case"l":s+=g[m++],l+=g[m++],d=h.L,u.addData(d,s,l);break;case"L":s=g[m++],l=g[m++],d=h.L,u.addData(d,s,l);break;case"m":s+=g[m++],l+=g[m++],d=h.M,u.addData(d,s,l),p="l";break;case"M":s=g[m++],l=g[m++],d=h.M,u.addData(d,s,l),p="L";break;case"h":s+=g[m++],d=h.L,u.addData(d,s,l);break;case"H":s=g[m++],d=h.L,u.addData(d,s,l);break;case"v":l+=g[m++],d=h.L,u.addData(d,s,l);break;case"V":l=g[m++],d=h.L,u.addData(d,s,l);break;case"C":d=h.C,u.addData(d,g[m++],g[m++],g[m++],g[m++],g[m++],g[m++]),s=g[m-2],l=g[m-1];break;case"c":d=h.C,u.addData(d,g[m++]+s,g[m++]+l,g[m++]+s,g[m++]+l,g[m++]+s,g[m++]+l),s+=g[m-2],l+=g[m-1];break;case"S":y=s,x=l;var A=u.len(),P=u.data;r===h.C&&(y+=s-P[A-4],x+=l-P[A-3]),d=h.C,T=g[m++],C=g[m++],s=g[m++],l=g[m++],u.addData(d,y,x,T,C,s,l);break;case"s":y=s,x=l;var A=u.len(),P=u.data;r===h.C&&(y+=s-P[A-4],x+=l-P[A-3]),d=h.C,T=s+g[m++],C=l+g[m++],s+=g[m++],l+=g[m++],u.addData(d,y,x,T,C,s,l);break;case"Q":T=g[m++],C=g[m++],s=g[m++],l=g[m++],d=h.Q,u.addData(d,T,C,s,l);break;case"q":T=g[m++]+s,C=g[m++]+l,s+=g[m++],l+=g[m++],d=h.Q,u.addData(d,T,C,s,l);break;case"T":y=s,x=l;var A=u.len(),P=u.data;r===h.Q&&(y+=s-P[A-4],x+=l-P[A-3]),s=g[m++],l=g[m++],d=h.Q,u.addData(d,y,x,s,l);break;case"t":y=s,x=l;var A=u.len(),P=u.data;r===h.Q&&(y+=s-P[A-4],x+=l-P[A-3]),s+=g[m++],l+=g[m++],d=h.Q,u.addData(d,y,x,s,l);break;case"A":_=g[m++],b=g[m++],w=g[m++],M=g[m++],S=g[m++],T=s,C=l,s=g[m++],l=g[m++],d=h.A,e(T,C,s,l,M,S,_,b,w,d,u);break;case"a":_=g[m++],b=g[m++],w=g[m++],M=g[m++],S=g[m++],T=s,C=l,s+=g[m++],l+=g[m++],d=h.A,e(T,C,s,l,M,S,_,b,w,d,u)}}("z"===p||"Z"===p)&&(d=h.Z,u.addData(d)),r=d}return u.toStatic(),u}function n(t,e){var n,r=i(t);return e=e||{},e.buildPath=function(t){t.setData(r.data),n&&o(t,n);var e=t[z]();e&&t.rebuildPath(e)},e[l]=function(t){n||(n=s[de]()),s.mul(n,t,n)},e}var r=t("../graphic/Path"),a=t("../core/PathProxy"),o=t("./transformPath"),s=t("../core/matrix"),c=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"],u=Math.sqrt,h=Math.sin,d=Math.cos,f=Math.PI,p=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},m=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(p(t)*p(e))},g=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(m(t,e))};return{createFromString:function(t,e){return new r(n(t,e))},extendFromString:function(t,e){return r[le](n(t,e))},mergePath:function(t,e){var i,n,a=[],o=t[oe];for(n=0;o>n;n++)i=t[n],i.__dirty&&i.buildPath(i.path,i.shape),a.push(i.path);var s=new r(e);return s.buildPath=function(t){t.appendPath(a);var e=t[z]();e&&t.rebuildPath(e)},s}}}),e("zrender/container/Group",[Oe,n,"../Element","../core/BoundingRect"],function(t){var e=t(n),i=t("../Element"),r=t("../core/BoundingRect"),o=function(t){t=t||{},i.call(this,t);for(var e in t)this[e]=t[e];this._children=[],this.__storage=null,this.__dirty=!0};return o[Me]={constructor:o,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<e[oe];i++)if(e[i].name===t)return e[i]},childCount:function(){return this._children[oe]},add:function(t){return t&&t!==this&&t[a]!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t[a]!==this&&e&&e[a]===this){var i=this._children,n=i[q](e);n>=0&&(i[ie](n,0,t),this._doAdd(t))}return this},_doAdd:function(t){t[a]&&t[a][ce](t),t[a]=this;var e=this.__storage,i=this.__zr;e&&e!==t.__storage&&(e.addToMap(t),t instanceof o&&t.addChildrenToStorage(e)),i&&i.refresh()},remove:function(t){var i=this.__zr,n=this.__storage,r=this._children,s=e[q](r,t);return 0>s?this:(r[ie](s,1),t[a]=null,n&&(n.delFromMap(t.id),t instanceof o&&t.delChildrenFromStorage(n)),i&&i.refresh(),this)},removeAll:function(){var t,e,i=this._children,n=this.__storage;for(e=0;e<i[oe];e++)t=i[e],n&&(n.delFromMap(t.id),t instanceof o&&t.delChildrenFromStorage(n)),t[a]=null;return i[oe]=0,this},eachChild:function(t,e){for(var i=this._children,n=0;n<i[oe];n++){var r=i[n];t.call(e,r,n)}return this},traverse:function(t,e){for(var i=0;i<this._children[oe];i++){var n=this._children[i];t.call(e,n),"group"===n.type&&n[U](t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children[oe];e++){var i=this._children[e];t.addToMap(i),i instanceof o&&i.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children[oe];e++){var i=this._children[e];t.delFromMap(i.id),i instanceof o&&i.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,i=new r(0,0,0,0),n=t||this._children,a=[],o=0;o<n[oe];o++){var s=n[o];if(!s[me]&&!s.invisible){var c=s[V](),u=s.getLocalTransform(a);u?(i.copy(c),i[l](u),e=e||i.clone(),e.union(i)):(e=e||c.clone(),e.union(c))}}return e||i}},e[H](o,i),o}),e("zrender/graphic/Image",[Oe,"./Displayable","../core/BoundingRect",n,"./helper/roundRect","../core/LRU"],function(t){function e(t){i.call(this,t)}var i=t("./Displayable"),r=t("../core/BoundingRect"),a=t(n),o=t("./helper/roundRect"),s=t("../core/LRU"),l=new s(50);return e[Me]={constructor:e,type:"image",brush:function(t){var e,i=this.style,n=i.image;if(e=typeof n===we?this._image:n,!e&&n){var r=l.get(n);if(!r)return e=new Image,e.onload=function(){e.onload=null;for(var t=0;t<r.pending[oe];t++)r.pending[t].dirty()},r={image:e,pending:[this]},e.src=n,l.put(n,r),void(this._image=e);if(e=r.image,this._image=e,!e.width||!e[fe])return void r.pending.push(this)}if(e){var a=i.width||e.width,s=i[fe]||e[fe],c=i.x||0,u=i.y||0;if(!e.width||!e[fe])return;if(t.save(),i.bind(t),this.setTransform(t),i.r&&(t.beginPath(),o.buildPath(t,i),t.clip()),i.sWidth&&i.sHeight){var h=i.sx||0,d=i.sy||0;t.drawImage(e,h,d,i.sWidth,i.sHeight,c,u,a,s)}else if(i.sx&&i.sy){var h=i.sx,d=i.sy,f=a-h,p=s-d;t.drawImage(e,h,d,f,p,c,u,a,s)}else t.drawImage(e,c,u,a,s);null==i.width&&(i.width=a),null==i[fe]&&(i[fe]=s),null!=i.text&&this.drawRectText(t,this[V]()),t.restore()}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new r(t.x||0,t.y||0,t.width||0,t[fe]||0)),this._rect}},a[H](e,i),e}),e("zrender/graphic/Path",[Oe,"./Displayable",n,"../core/PathProxy","../contain/path","./Gradient"],function(t){function e(t){var e=t.fill;return null!=e&&"none"!==e}function i(t){var e=t[o];return null!=e&&"none"!==e&&t[s]>0}function r(t){a.call(this,t),this.path=new c}var a=t("./Displayable"),l=t(n),c=t("../core/PathProxy"),u=t("../contain/path"),h=(t("./Gradient"),Math.abs);return r[Me]={constructor:r,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(t){t.save();var n=this.style,r=this.path,a=i(n),s=e(n),l=s&&!!n.fill.colorStops,c=a&&!!n[o].colorStops;if(n.bind(t,this),this.setTransform(t),this.__dirtyPath){var u=this[V]();l&&(this._fillGradient=n.getGradient(t,n.fill,u)),c&&(this._strokeGradient=n.getGradient(t,n[o],u))}l&&(t.fillStyle=this._fillGradient),c&&(t.strokeStyle=this._strokeGradient);var h=n.lineDash,d=n.lineDashOffset,f=!!t.setLineDash,p=this.getGlobalScale();r.setScale(p[0],p[1]),this.__dirtyPath||h&&!f&&a?(r=this.path.beginPath(t),h&&!f&&(r.setLineDash(h),r.setLineDashOffset(d)),this.buildPath(r,this.shape),this.__dirtyPath=!1):(t.beginPath(),this.path.rebuildPath(t)),s&&r.fill(t),h&&f&&(t.setLineDash(h),t.lineDashOffset=d),a&&r[o](t),null!=n.text&&this.drawRectText(t,this[V]()),t.restore()},buildPath:function(){},getBoundingRect:function(){var t=this._rect,n=this.style,r=!t;if(r){var a=this.path;this.__dirtyPath&&(a.beginPath(),this.buildPath(a,this.shape)),t=a[V]()}if(this._rect=t,i(n)){var o=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||r){o.copy(t);var l=n[s],c=n.strokeNoScale?this.getLineScale():1;e(n)||(l=Math.max(l,this.strokeContainThreshold)),c>1e-10&&(o.width+=l/c,o[fe]+=l/c,o.x-=l/c/2,o.y-=l/c/2)}return o}return t},contain:function(t,n){var r=this.transformCoordToLocal(t,n),a=this[V](),o=this.style;if(t=r[0],n=r[1],a[I](t,n)){var l=this.path.data;if(i(o)){var c=o[s],h=o.strokeNoScale?this.getLineScale():1;if(h>1e-10&&(e(o)||(c=Math.max(c,this.strokeContainThreshold)),u.containStroke(l,c/h,t,n)))return!0}if(e(o))return u[I](l,t,n)}return!1},dirty:function(t){0===arguments[oe]&&(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):a[Me].attrKV.call(this,t,e)},setShape:function(t,e){var i=this.shape;if(i){if(l[ue](t))for(var n in t)i[n]=t[n];else i[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this[Te];return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1}},r[le]=function(t){var e=function(e){r.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 a in i)!n.hasOwnProperty(a)&&i.hasOwnProperty(a)&&(n[a]=i[a])}t.init&&t.init.call(this,e)};l[H](e,r);for(var i in t)"style"!==i&&"shape"!==i&&(e[Me][i]=t[i]);return e},l[H](r,a),r}),e("zrender/graphic/Text",[Oe,"./Displayable",n,"../contain/text"],function(t){var e=t("./Displayable"),i=t(n),r=t("../contain/text"),a=function(t){e.call(this,t)};return a[Me]={constructor:a,type:"text",brush:function(t){var e=this.style,i=e.x||0,n=e.y||0,a=e.text,s=e.fill,l=e[o];if(null!=a&&(a+=""),a){if(t.save(),this.style.bind(t),this.setTransform(t),s&&(t.fillStyle=s),l&&(t.strokeStyle=l),t.font=e.textFont||e.font,t[F]=e[F],e.textVerticalAlign){var c=r[V](a,t.font,e[F],"top");switch(t.textBaseline=B,e.textVerticalAlign){case B:n-=c[fe]/2-c.lineHeight/2;break;case pe:n-=c[fe]-c.lineHeight/2;break;default:n+=c.lineHeight/2}}else t.textBaseline=e.textBaseline;for(var u=r.measureText("国",t.font).width,h=a.split("\n"),d=0;d<h[oe];d++)s&&t.fillText(h[d],i,n),l&&t.strokeText(h[d],i,n),n+=u;t.restore()}},getBoundingRect:function(){if(!this._rect){var t=this.style,e=t.textVerticalAlign,i=r[V](t.text+"",t.textFont||t.font,t[F],e?"top":t.textBaseline);switch(e){case B:i.y-=i[fe]/2;break;case pe:i.y-=i[fe]}i.x+=t.x||0,i.y+=t.y||0,this._rect=i}return this._rect}},i[H](a,e),a}),e("zrender/graphic/shape/Circle",[Oe,"../Path"],function(t){return t("../Path")[le]({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e){t[i](e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}})}),e("zrender/graphic/shape/Sector",[Oe,"../Path"],function(t){return t("../Path")[le]({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var n=e.cx,r=e.cy,a=Math.max(e.r0||0,0),o=Math.max(e.r,0),s=e.startAngle,l=e.endAngle,c=e.clockwise,u=Math.cos(s),h=Math.sin(s);t[i](u*a+n,h*a+r),t.lineTo(u*o+n,h*o+r),t.arc(n,r,o,s,l,!c),t.lineTo(Math.cos(l)*a+n,Math.sin(l)*a+r),0!==a&&t.arc(n,r,a,l,s,c),t.closePath()}})}),e("zrender/graphic/shape/Ring",[Oe,"../Path"],function(t){return t("../Path")[le]({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var n=e.cx,r=e.cy,a=2*Math.PI;t[i](n+e.r,r),t.arc(n,r,e.r,0,a,!1),t[i](n+e.r0,r),t.arc(n,r,e.r0,0,a,!0)}})}),e("zrender/graphic/shape/Polygon",[Oe,"../helper/poly","../Path"],function(t){var e=t("../helper/poly");return t("../Path")[le]({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,i){e.buildPath(t,i,!0)}})}),e("zrender/graphic/shape/Polyline",[Oe,"../helper/poly","../Path"],function(t){var e=t("../helper/poly");return t("../Path")[le]({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,i){e.buildPath(t,i,!1)}})}),e("zrender/graphic/shape/Rect",[Oe,"../helper/roundRect","../Path"],function(t){var e=t("../helper/roundRect");return t("../Path")[le]({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,i){var n=i.x,r=i.y,a=i.width,o=i[fe];i.r?e.buildPath(t,i):t.rect(n,r,a,o),t.closePath()}})}),e("zrender/graphic/shape/Line",[Oe,"../Path"],function(t){return t("../Path")[le]({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,r=e.y1,a=e.x2,o=e.y2,s=e.percent;0!==s&&(t[i](n,r),1>s&&(a=n*(1-s)+a*s,o=r*(1-s)+o*s),t.lineTo(a,o))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}})}),e("zrender/graphic/shape/Arc",[Oe,"../Path"],function(t){return t("../Path")[le]({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.cx,r=e.cy,a=Math.max(e.r,0),o=e.startAngle,s=e.endAngle,l=e.clockwise,c=Math.cos(o),u=Math.sin(o);t[i](c*a+n,u*a+r),t.arc(n,r,a,o,s,!l)}})}),e("zrender/graphic/shape/BezierCurve",[Oe,"../../core/curve","../../core/vector","../Path"],function(t){function e(t,e,i){var n=t.cpx2,r=t.cpy2;return null===n||null===r?[(i?u:l)(t.x1,t.cpx1,t.cpx2,t.x2,e),(i?u:l)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(i?c:s)(t.x1,t.cpx1,t.x2,e),(i?c:s)(t.y1,t.cpy1,t.y2,e)]}var n=t("../../core/curve"),r=t("../../core/vector"),a=n.quadraticSubdivide,o=n.cubicSubdivide,s=n.quadraticAt,l=n.cubicAt,c=n.quadraticDerivativeAt,u=n.cubicDerivativeAt,h=[];return t("../Path")[le]({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 n=e.x1,r=e.y1,s=e.x2,l=e.y2,c=e.cpx1,u=e.cpy1,d=e.cpx2,f=e.cpy2,p=e.percent;0!==p&&(t[i](n,r),null==d||null==f?(1>p&&(a(n,c,s,p,h),c=h[1],s=h[2],a(r,u,l,p,h),u=h[1],l=h[2]),t.quadraticCurveTo(c,u,s,l)):(1>p&&(o(n,c,d,s,p,h),c=h[1],d=h[2],s=h[3],o(r,u,f,l,p,h),u=h[1],f=h[2],l=h[3]),t.bezierCurveTo(c,u,d,f,s,l)))},pointAt:function(t){return e(this.shape,t,!1)},tangentAt:function(t){var i=e(this.shape,t,!0);return r.normalize(i,i)}})}),e("zrender/graphic/CompoundPath",[Oe,"./Path"],function(t){var e=t("./Path");return e[le]({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,i=0;i<e[oe];i++)t=t||e[i].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),i=0;i<t[oe];i++)t[i].path.setScale(e[0],e[1])},buildPath:function(t,e){for(var i=e.paths||[],n=0;n<i[oe];n++)i[n].buildPath(t,i[n].shape)},afterBrush:function(){for(var t=this.shape.paths,e=0;e<t[oe];e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),e[Me][V].call(this)}})}),e("zrender/graphic/LinearGradient",[Oe,n,"./Gradient"],function(t){var e=t(n),i=t("./Gradient"),r=function(t,e,n,r,a){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==r?0:r,i.call(this,a)};return r[Me]={constructor:r,type:"linear"},e[H](r,i),r}),e("zrender/graphic/RadialGradient",[Oe,n,"./Gradient"],function(t){var e=t(n),i=t("./Gradient"),r=function(t,e,n,r){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,i.call(this,r)};return r[Me]={constructor:r,type:"radial"},e[H](r,i),r}),e(c,[Oe,"./vector","./matrix"],function(t){function e(t,e,i,n){this.x=t,this.y=e,this.width=i,this[fe]=n}var i=t("./vector"),n=t("./matrix"),r=i[l],a=Math.min,o=Math.abs,s=Math.max;return e[Me]={constructor:e,union:function(t){var e=a(t.x,this.x),i=a(t.y,this.y);this.width=s(t.x+t.width,this.x+this.width)-e,this[fe]=s(t.y+t[fe],this.y+this[fe])-i,this.x=e,this.y=i},applyTransform:function(){var t=[],e=[];return function(i){i&&(t[0]=this.x,t[1]=this.y,e[0]=this.x+this.width,e[1]=this.y+this[fe],r(t,t,i),r(e,e,i),this.x=a(t[0],e[0]),this.y=a(t[1],e[1]),this.width=o(e[0]-t[0]),this[fe]=o(e[1]-t[1]))}}(),calculateTransform:function(t){var e=this,i=t.width/e.width,r=t[fe]/e[fe],a=n[de]();return n.translate(a,a,[-e.x,-e.y]),n.scale(a,a,[i,r]),n.translate(a,a,[t.x,t.y]),a},intersect:function(t){var e=this,i=e.x,n=e.x+e.width,r=e.y,a=e.y+e[fe],o=t.x,s=t.x+t.width,l=t.y,c=t.y+t[fe];return!(o>n||i>s||l>a||r>c)},contain:function(t,e){var i=this;return t>=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i[fe]},clone:function(){return new e(this.x,this.y,this.width,this[fe])},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this[fe]=t[fe]}},e}),e("echarts/model/Model",[Oe,Re,"../util/clazz","./mixin/lineStyle","./mixin/areaStyle","./mixin/textStyle","./mixin/itemStyle"],function(t){function e(t,e,i,n){this.parentModel=e,this[r]=i,this[m]=t,this.init&&(arguments[oe]<=4?this.init(t,e,i,n):this.init.apply(this,arguments))}var i=t(Re),n=t("../util/clazz");e[Me]={constructor:e,init:null,mergeOption:function(t){i.merge(this[m],t,!0)},get:function(t,e){if(!t)return this[m];typeof t===we&&(t=t.split("."));for(var i=this[m],n=this.parentModel,r=0;r<t[oe]&&(!t[r]||(i=i&&"object"==typeof i?i[t[r]]:null,null!=i));r++);return null==i&&n&&!e&&(i=n.get(t)),i},getShallow:function(t,e){var i=this[m],n=i&&i[t],r=this.parentModel;return null==n&&r&&!e&&(n=r.getShallow(t)),n},getModel:function(t,i){var n=this.get(t,!0),a=this.parentModel,o=new e(n,i||a&&a[_e](t),this[r]);return o},isEmpty:function(){return null==this[m]},restoreData:function(){},clone:function(){var t=this.constructor;return new t(i.clone(this[m]))},setReadOnly:function(t){n.setReadOnly(this,t)}},n.enableClassExtend(e);var a=i.mixin;return a(e,t("./mixin/lineStyle")),a(e,t("./mixin/areaStyle")),a(e,t("./mixin/textStyle")),a(e,t("./mixin/itemStyle")),e}),e("echarts/util/model",[Oe,"./format","./number",Re],function(t){var e=t("./format"),i=t("./number"),n=t(Re),r=["x","y","z",d,"angle"],a={};return a.createNameEach=function(t,e){t=t.slice();var i=n.map(t,a.capitalFirst);e=(e||[]).slice();var r=n.map(e,a.capitalFirst);return function(a,o){n.each(t,function(t,n){for(var s={name:t,capital:i[n]},l=0;l<e[oe];l++)s[e[l]]=t+r[l];a.call(o,s)})}},a.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},a.eachAxisDim=a.createNameEach(r,["axisIndex","axis","index"]),a.normalizeToArray=function(t){return n[X](t)?t:null==t?[]:[t]},a.createLinkedNodesFinder=function(t,e,i){function r(t,e){return n[q](e.nodes,t)>=0}function a(t,r){var a=!1;return e(function(e){n.each(i(t,e)||[],function(t){r.records[e.name][t]&&(a=!0)})}),a}function o(t,r){r.nodes.push(t),e(function(e){n.each(i(t,e)||[],function(t){r.records[e.name][t]=!0})})}return function(i){function n(t){!r(t,s)&&a(t,s)&&(o(t,s),l=!0)}var s={nodes:[],records:{}};if(e(function(t){s.records[t.name]={}}),!i)return s;o(i,s);var l;do l=!1,t(n);while(l);return s}},a.defaultEmphasis=function(t,e){if(t){var i=t[v]=t[v]||{},r=t[b]=t[b]||{};n.each(e,function(t){var e=n.retrieve(i[t],r[t]);null!=e&&(i[t]=e)})}},a.LABEL_OPTIONS=[O,"show",Z,"distance","formatter"],a.getDataItemValue=function(t){return t&&(null==t.value?t:t.value)},a.converDataValue=function(t,e){var n=e&&e.type;return n===T?t:("time"!==n||isFinite(t)||null==t||"-"===t||(t=+i.parseDate(t)),null==t||""===t?0/0:+t)},a.dataFormatMixin={getDataParams:function(t,e){var i=this[Ie](e),n=this[$],r=this.name,a=this.getRawValue(t,e),o=i.getRawIndex(t),s=i[p](t,!0),l=i.getRawDataItem(t);return{componentType:this.mainType,componentSubType:this.subType,seriesType:this.mainType===ne?this.subType:null,seriesIndex:n,seriesName:r,name:s,dataIndex:o,data:l,dataType:e,value:a,color:i[y](t,"color"),$vars:["seriesName","name","value"]}
},getFormattedLabel:function(t,i,r,a){i=i||b;var o=this[Ie](r),s=o[_](t),l=this[J](t,r);null!=a&&n[X](l.value)&&(l.value=l.value[a]);var c=s.get(["label",i,"formatter"]);return typeof c===W?(l.status=i,c(l)):typeof c===we?e.formatTpl(c,l):void 0},getRawValue:function(t,e){var i=this[Ie](e),r=i.getRawDataItem(t);return null!=r?n[ue](r)&&!n[X](r)?r.value:r:void 0},formatTooltip:n.noop},a.mappingToExists=function(t,e){e=(e||[]).slice();var i=n.map(t||[],function(t){return{exist:t}});return n.each(e,function(t,r){if(n[ue](t))for(var o=0;o<i[oe];o++){var s=i[o].exist;if(!i[o][m]&&(null!=t.id&&s.id===t.id+""||null!=t.name&&!a.isIdInner(t)&&!a.isIdInner(s)&&s.name===t.name+"")){i[o][m]=t,e[r]=null;break}}}),n.each(e,function(t){if(n[ue](t)){for(var e=0;e<i[oe];e++){var r=i[e].exist;if(!i[e][m]&&!a.isIdInner(r)&&null==t.id){i[e][m]=t;break}}e>=i[oe]&&i.push({option:t})}}),i},a.isIdInner=function(t){return n[ue](t)&&t.id&&0===(t.id+"")[q]("\x00_ec_\x00")},a}),e("echarts/model/globalDefault",[],function(){var t="";return"undefined"!=typeof navigator&&(t=navigator.platform||""),{color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],grid:{},textStyle:{fontFamily:t.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},animation:!0,animationThreshold:2e3,animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut"}}),e("echarts/component/toolbox/featureManager",[Oe],function(){var t={};return{register:function(e,i){t[e]=i},get:function(e){return t[e]}}}),e("echarts/component/helper/selectableMixin",[Oe,Re],function(t){var e=t(Re);return{updateSelectedMap:function(t){this._selectTargetMap=e.reduce(t||[],function(t,e){return t[e.name]=e,t},{})},select:function(t){var i=this._selectTargetMap,n=i[t],r=this.get("selectedMode");"single"===r&&e.each(i,function(t){t.selected=!1}),n&&(n.selected=!0)},unSelect:function(t){var e=this._selectTargetMap[t];e&&(e.selected=!1)},toggleSelected:function(t){var e=this._selectTargetMap[t];return null!=e?(this[e.selected?"unSelect":"select"](t),e.selected):void 0},isSelected:function(t){var e=this._selectTargetMap[t];return e&&e.selected}}}),e("zrender/core/PathProxy",[Oe,"./curve","./vector","./bbox","./BoundingRect","../config"],function(t){var e=t("./curve"),n=t("./vector"),r=t("./bbox"),a=t("./BoundingRect"),s=t("../config").devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],u=[],h=[],d=[],f=Math.min,p=Math.max,m=Math.cos,g=Math.sin,v=Math.sqrt,y=Math.abs,x="undefined"!=typeof Float32Array,_=function(){this.data=[],this._len=0,this._ctx=null,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._ux=0,this._uy=0};return _[Me]={constructor:_,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e){this._ux=y(1/s/t)||0,this._uy=y(1/s/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),this._len=0,this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(l.M,t,e),this._ctx&&this._ctx[i](t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var i=y(t-this._xi)>this._ux||y(e-this._yi)>this._uy||0===this._len;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,r,a){return this.addData(l.C,t,e,i,n,r,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,r,a):this._ctx.bezierCurveTo(t,e,i,n,r,a)),this._xi=r,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,r,a){return this.addData(l.A,t,e,i,i,n,r-n,0,a?0:1),this._ctx&&this._ctx.arc(t,e,i,n,r,a),this._xi=m(r)*i+t,this._xi=g(r)*i+t,this},arcTo:function(t,e,i,n,r){return this._ctx&&this._ctx.arcTo(t,e,i,n,r),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[o](),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;i<t[oe];i++)e+=t[i];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t[oe];this.data&&this.data[oe]==e||!x||(this.data=new Float32Array(e));for(var i=0;e>i;i++)this.data[i]=t[i];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t[oe],i=0,n=this._len,r=0;e>r;r++)i+=t[r].len();x&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+i));for(var r=0;e>r;r++)for(var a=t[r].data,o=0;o<a[oe];o++)this.data[n++]=a[o];this._len=n},addData:function(t){var e=this.data;this._len+arguments[oe]>e[oe]&&(this._expandData(),e=this.data);for(var i=0;i<arguments[oe];i++)e[this._len++]=arguments[i];this._prevCmd=t},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var n,r,a=this._dashSum,o=this._dashOffset,s=this._lineDash,l=this._ctx,c=this._xi,u=this._yi,h=t-c,d=e-u,m=v(h*h+d*d),g=c,y=u,x=s[oe];for(h/=m,d/=m,0>o&&(o=a+o),o%=a,g-=o*h,y-=o*d;h>=0&&t>=g||0>h&&g>t;)r=this._dashIdx,n=s[r],g+=h*n,y+=d*n,this._dashIdx=(r+1)%x,h>0&&c>g||0>h&&g>c||l[r%2?i:"lineTo"](h>=0?f(g,t):p(g,t),d>=0?f(y,e):p(y,e));h=g-t,d=y-e,this._dashOffset=-v(h*h+d*d)},_dashedBezierTo:function(t,n,r,a,o,s){var l,c,u,h,d,f=this._dashSum,p=this._dashOffset,m=this._lineDash,g=this._ctx,y=this._xi,x=this._yi,_=e.cubicAt,b=0,w=this._dashIdx,M=m[oe],S=0;for(0>p&&(p=f+p),p%=f,l=0;1>l;l+=.1)c=_(y,t,r,o,l+.1)-_(y,t,r,o,l),u=_(x,n,a,s,l+.1)-_(x,n,a,s,l),b+=v(c*c+u*u);for(;M>w&&(S+=m[w],!(S>p));w++);for(l=(S-p)/b;1>=l;)h=_(y,t,r,o,l),d=_(x,n,a,s,l),w%2?g[i](h,d):g.lineTo(h,d),l+=m[w]/b,w=(w+1)%M;w%2!==0&&g.lineTo(o,s),c=o-h,u=s-d,this._dashOffset=-v(c*c+u*u)},_dashedQuadraticTo:function(t,e,i,n){var r=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,r,a)},toStatic:function(){var t=this.data;t instanceof Array&&(t[oe]=this._len,x&&(this.data=new Float32Array(t)))},getBoundingRect:function(){c[0]=c[1]=h[0]=h[1]=Number.MAX_VALUE,u[0]=u[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,o=0,s=0,f=0;f<t[oe];){var p=t[f++];switch(1==f&&(e=t[f],i=t[f+1],o=e,s=i),p){case l.M:o=t[f++],s=t[f++],e=o,i=s,h[0]=o,h[1]=s,d[0]=o,d[1]=s;break;case l.L:r.fromLine(e,i,t[f],t[f+1],h,d),e=t[f++],i=t[f++];break;case l.C:r.fromCubic(e,i,t[f++],t[f++],t[f++],t[f++],t[f],t[f+1],h,d),e=t[f++],i=t[f++];break;case l.Q:r.fromQuadratic(e,i,t[f++],t[f++],t[f],t[f+1],h,d),e=t[f++],i=t[f++];break;case l.A:var v=t[f++],y=t[f++],x=t[f++],_=t[f++],b=t[f++],w=t[f++]+b,M=(t[f++],1-t[f++]);1==f&&(o=m(b)*x+v,s=g(b)*_+y),r.fromArc(v,y,x,_,b,w,M,h,d),e=m(w)*x+v,i=g(w)*_+y;break;case l.R:o=e=t[f++],s=i=t[f++];var S=t[f++],T=t[f++];r.fromLine(o,s,o+S,s+T,h,d);break;case l.Z:e=o,i=s}n.min(c,c,h),n.max(u,u,d)}return 0===f&&(c[0]=c[1]=u[0]=u[1]=0),new a(c[0],c[1],u[0]-c[0],u[1]-c[1])},rebuildPath:function(t){for(var e,n,r,a,o,s,c=this.data,u=this._ux,h=this._uy,d=this._len,f=0;d>f;){var p=c[f++];switch(1==f&&(r=c[f],a=c[f+1],e=r,n=a),p){case l.M:e=r=c[f++],n=a=c[f++],t[i](r,a);break;case l.L:o=c[f++],s=c[f++],(y(o-r)>u||y(s-a)>h||f===d-1)&&(t.lineTo(o,s),r=o,a=s);break;case l.C:t.bezierCurveTo(c[f++],c[f++],c[f++],c[f++],c[f++],c[f++]),r=c[f-2],a=c[f-1];break;case l.Q:t.quadraticCurveTo(c[f++],c[f++],c[f++],c[f++]),r=c[f-2],a=c[f-1];break;case l.A:var v=c[f++],x=c[f++],_=c[f++],b=c[f++],w=c[f++],M=c[f++],S=c[f++],T=c[f++],C=_>b?_:b,A=_>b?1:_/b,P=_>b?b/_:1,L=Math.abs(_-b)>.001,z=w+M;L?(t.translate(v,x),t.rotate(S),t.scale(A,P),t.arc(0,0,C,w,z,1-T),t.scale(1/A,1/P),t.rotate(-S),t.translate(-v,-x)):t.arc(v,x,C,w,z,1-T),1==f&&(e=m(w)*_+v,n=g(w)*b+x),r=m(z)*_+v,a=g(z)*b+x;break;case l.R:e=r=c[f],n=a=c[f+1],t.rect(c[f++],c[f++],c[f++],c[f++]);break;case l.Z:t.closePath(),r=e,a=n}}}},_.CMD=l,_}),e("zrender/contain/text",[Oe,n,"../core/BoundingRect"],function(t){function e(t,e){var i=t+":"+e;if(l[i])return l[i];for(var n=(t+"").split("\n"),r=0,a=0,o=n[oe];o>a;a++)r=Math.max(p.measureText(n[a],e).width,r);return c>u&&(c=0,l={}),c++,l[i]=r,r}function i(t,i,n,r){var a=((t||"")+"").split("\n")[oe],o=e(t,i),s=e("国",i),l=a*s,c=new d(0,0,o,l);switch(c.lineHeight=s,r){case pe:case"alphabetic":c.y-=s;break;case B:c.y-=s/2}switch(n){case"end":case"right":c.x-=c.width;break;case E:c.x-=c.width/2}return c}function r(t,e,i,n){var r=e.x,a=e.y,o=e[fe],s=e.width,l=i[fe],c=o/2-l/2,u="left";switch(t){case"left":r-=n,a+=c,u="right";break;case"right":r+=n+s,a+=c,u="left";break;case"top":r+=s/2,a-=n+l,u=E;break;case pe:r+=s/2,a+=o+n,u=E;break;case f:r+=s/2,a+=c,u=E;break;case"insideLeft":r+=n,a+=c,u="left";break;case"insideRight":r+=s-n,a+=c,u="right";break;case"insideTop":r+=s/2,a+=n,u=E;break;case"insideBottom":r+=s/2,a+=o-l-n,u=E;break;case"insideTopLeft":r+=n,a+=n,u="left";break;case"insideTopRight":r+=s-n,a+=n,u="right";break;case"insideBottomLeft":r+=n,a+=o-l-n;break;case"insideBottomRight":r+=s-n,a+=o-l-n,u="right"}return{x:r,y:a,textAlign:u,textBaseline:"top"}}function a(t,i,n,r){if(!n)return"";r=h[Le]({ellipsis:"...",minCharacters:3,maxIterations:3,cnCharWidth:e("国",i),ascCharWidth:e("a",i)},r,!0),n-=e(r.ellipsis);for(var a=(t+"").split("\n"),s=0,l=a[oe];l>s;s++)a[s]=o(a[s],i,n,r);return a.join("\n")}function o(t,i,n,r){for(var a=0;;a++){var o=e(t,i);if(n>o||a>=r.maxIterations){t+=r.ellipsis;break}var l=0===a?s(t,n,r):Math.floor(t[oe]*n/o);if(l<r.minCharacters){t="";break}t=t.substr(0,l)}return t}function s(t,e,i){for(var n=0,r=0,a=t[oe];a>r&&e>n;r++){var o=t.charCodeAt(r);n+=o>=0&&127>=o?i.ascCharWidth:i.cnCharWidth}return r}var l={},c=0,u=5e3,h=t(n),d=t("../core/BoundingRect"),p={getWidth:e,getBoundingRect:i,adjustTextPositionOnRect:r,ellipsis:a,measureText:function(t,e){var i=h[z]();return i.font=e,i.measureText(t)}};return p}),e("zrender/graphic/Displayable",[Oe,n,"./Style","../Element","./mixin/RectText"],function(t){function e(t){t=t||{},a.call(this,t);for(var e in t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new r(t.style),this._rect=null,this.__clipPaths=[]}var i=t(n),r=t("./Style"),a=t("../Element"),o=t("./mixin/RectText");return e[Me]={constructor:e,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,beforeBrush:function(){},afterBrush:function(){},brush:function(){},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),n=this[V]();return n[I](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[Me].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 r(t),this.dirty(!1),this}},i[H](e,a),i.mixin(e,o),e}),e("zrender/graphic/mixin/RectText",[Oe,"../../contain/text","../../core/BoundingRect"],function(t){function e(t,e){return typeof t===we?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function i(t,e){t[Te](e[0],e[1],e[2],e[3],e[4],e[5])}var n=t("../../contain/text"),r=t("../../core/BoundingRect"),a=new r,o=function(){};return o[Me]={constructor:o,drawRectText:function(t,r,o){var s=this.style,c=s.text;if(null!=c&&(c+=""),c){var u,h,d=s.textPosition,f=s.textDistance,p=s[F],m=s.textFont||s.font,g=s.textBaseline,v=s.textVerticalAlign;o=o||n[V](c,m,p,g);var y=this[Te],x=this.invTransform;if(y&&(a.copy(r),a[l](y),r=a,i(t,x)),d instanceof Array){if(u=r.x+e(d[0],r.width),h=r.y+e(d[1],r[fe]),p=p||"left",g=g||"top",v){switch(v){case B:h-=o[fe]/2-o.lineHeight/2;break;case pe:h-=o[fe]-o.lineHeight/2;break;default:h+=o.lineHeight/2}g=B}}else{var _=n.adjustTextPositionOnRect(d,r,o,f);u=_.x,h=_.y,p=p||_[F],g=g||_.textBaseline}t[F]=p,t.textBaseline=g;var b=s.textFill,w=s.textStroke;b&&(t.fillStyle=b),w&&(t.strokeStyle=w),t.font=m,t.shadowColor=s.textShadowColor,t.shadowBlur=s.textShadowBlur,t.shadowOffsetX=s.textShadowOffsetX,t.shadowOffsetY=s.textShadowOffsetY;for(var M=c.split("\n"),S=0;S<M[oe];S++)b&&t.fillText(M[S],u,h),w&&t.strokeText(M[S],u,h),h+=o.lineHeight;y&&i(t,y)}}},o}),e("zrender/vml/core",[Oe,"exports","module","../core/env"],function(t,e,i){if(!t("../core/env")[ve]){var n,r="urn:schemas-microsoft-com:vml",a=window,o=a.document,s=!1;try{!o.namespaces.zrvml&&o.namespaces.add("zrvml",r),n=function(t){return o[k]("<zrvml:"+t+' class="zrvml">')}}catch(l){n=function(t){return o[k]("<"+t+' xmlns="'+r+'" class="zrvml">')}}var c=function(){if(!s){s=!0;var t=o.styleSheets;t[oe]<31?o.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}};i.exports={doc:o,initVML:c,createNode:n}}}),e("echarts/coord/axisHelper",[Oe,"../scale/Ordinal","../scale/Interval","../scale/Time","../scale/Log","../scale/Scale","../util/number",Re,"zrender/contain/text"],function(t){var e=t("../scale/Ordinal"),i=t("../scale/Interval");t("../scale/Time"),t("../scale/Log");var n=t("../scale/Scale"),r=t("../util/number"),a=t(Re),o=t("zrender/contain/text"),s={};return s.getScaleExtent=function(t,e){var i=t.scale,n=i[D](),o=n[1]-n[0];if(i.type===T)return isFinite(o)?n:[0,0];var s=e.getMin?e.getMin():e.get("min"),l=e.getMax?e.getMax():e.get("max"),c=e.getNeedCrossZero?e.getNeedCrossZero():!e.get("scale"),u=e.get("boundaryGap");a[X](u)||(u=[u||0,u||0]),u[0]=r.parsePercent(u[0],1),u[1]=r.parsePercent(u[1],1);var h=!0,d=!0;return null==s&&(s=n[0]-u[0]*o,h=!1),null==l&&(l=n[1]+u[1]*o,d=!1),"dataMin"===s&&(s=n[0]),"dataMax"===l&&(l=n[1]),c&&(s>0&&l>0&&!h&&(s=0),0>s&&0>l&&!d&&(l=0)),[s,l]},s.niceScaleExtent=function(t,e){var i=t.scale,n=s.getScaleExtent(t,e),r=null!=(e.getMin?e.getMin():e.get("min")),a=null!=(e.getMax?e.getMax():e.get("max")),o=e.get("splitNumber");i.setExtent(n[0],n[1]),i.niceExtent(o,r,a);var l=e.get("minInterval");if(isFinite(l)&&!r&&!a&&"interval"===i.type){var c=i.getInterval(),u=Math.max(Math.abs(c),l)/c;n=i[D](),i.setExtent(u*n[0],n[1]*u),i.niceExtent(o)}var c=e.get("interval");null!=c&&i.setInterval&&i.setInterval(c)},s.createScaleByModel=function(t,r){if(r=r||t.get("type"))switch(r){case A:return new e(t.getCategories(),[1/0,-1/0]);case"value":return new i;default:return(n.getClass(r)||i)[de](t)}},s.ifAxisCrossZero=function(t){var e=t.scale[D](),i=e[0],n=e[1];return!(i>0&&n>0||0>i&&0>n)},s.getAxisLabelInterval=function(t,e,i,n){var r,a=0,s=0,l=1;e[oe]>40&&(l=Math.round(e[oe]/40));for(var c=0;c<t[oe];c+=l){var u=t[c],h=o[V](e[c],i,E,"top");h[n?"x":"y"]+=u,h[n?"width":fe]*=1.5,r?r.intersect(h)?(s++,a=Math.max(a,s)):(r.union(h),s=0):r=h.clone()}return 0===a&&l>1?l:a*l},s.getFormattedLabels=function(t,e){var i=t.scale,n=i.getTicksLabels(),r=i.getTicks();return typeof e===we?(e=function(t){return function(e){return t[j]("{value}",e)}}(e),a.map(n,e)):typeof e===W?a.map(r,function(n,r){return e(t.type===A?i.getLabel(n):n,r)},this):n},s}),e("echarts/coord/cartesian/Cartesian2D",[Oe,Re,"./Cartesian"],function(t){function e(t){n.call(this,t)}var i=t(Re),n=t("./Cartesian");return e[Me]={constructor:e,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale(T)[0]||this.getAxesByScale("time")[0]||this[C]("x")},containPoint:function(t){var e=this[C]("x"),i=this[C]("y");return e[I](e.toLocalCoord(t[0]))&&i[I](i.toLocalCoord(t[1]))},containData:function(t){return this[C]("x").containData(t[0])&&this[C]("y").containData(t[1])},dataToPoints:function(t,e){return t[h](["x","y"],function(t,e){return this[g]([t,e])},e,this)},dataToPoint:function(t,e){var i=this[C]("x"),n=this[C]("y");return[i.toGlobalCoord(i.dataToCoord(t[0],e)),n.toGlobalCoord(n.dataToCoord(t[1],e))]},pointToData:function(t,e){var i=this[C]("x"),n=this[C]("y");return[i.coordToData(i.toLocalCoord(t[0]),e),n.coordToData(n.toLocalCoord(t[1]),e)]},getOtherAxis:function(t){return this[C]("x"===t.dim?"y":"x")}},i[H](e,n),e}),e("echarts/coord/cartesian/Axis2D",[Oe,Re,"../Axis","./axisLabelInterval"],function(t){var e=t(Re),i=t("../Axis"),n=t("./axisLabelInterval"),r=function(t,e,n,r,a){i.call(this,t,e,n),this.type=r||"value",this[O]=a||pe};return r[Me]={constructor:r,index:0,onZero:!1,model:null,isHorizontal:function(){var t=this[O];return"top"===t||t===pe},getGlobalExtent:function(){var t=this[D]();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),t},getLabelInterval:function(){var t=this._labelInterval;return t||(t=this._labelInterval=n(this)),t},isLabelIgnored:function(t){if(this.type===A){var e=this.getLabelInterval();return typeof e===W&&!e(t,this.scale.getLabel(t))||t%(e+1)}},toLocalCoord:null,toGlobalCoord:null},e[H](r,i),r}),e("echarts/coord/cartesian/GridModel",[Oe,"./AxisModel","../../model/Component"],function(t){t("./AxisModel");var e=t("../../model/Component");return e[le]({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}})}),e("zrender/tool/transformPath",[Oe,"../core/PathProxy","../core/vector"],function(t){function e(t,e){var n,l,c,u,h,d,f=t.data,p=i.M,m=i.C,g=i.L,v=i.R,y=i.A,x=i.Q;for(c=0,u=0;c<f[oe];){switch(n=f[c++],u=c,l=0,n){case p:l=1;break;case g:l=1;break;case m:l=3;break;case x:l=2;break;case y:var _=e[4],b=e[5],w=o(e[0]*e[0]+e[1]*e[1]),M=o(e[2]*e[2]+e[3]*e[3]),S=s(-e[1]/M,e[0]/w);f[c++]+=_,f[c++]+=b,f[c++]*=w,f[c++]*=M,f[c++]+=S,f[c++]+=S,c+=2,u=c;break;case v:d[0]=f[c++],d[1]=f[c++],r(d,d,e),f[u++]=d[0],f[u++]=d[1],d[0]+=f[c++],d[1]+=f[c++],r(d,d,e),f[u++]=d[0],f[u++]=d[1]}for(h=0;l>h;h++){var d=a[h];d[0]=f[c++],d[1]=f[c++],r(d,d,e),f[u++]=d[0],f[u++]=d[1]}}}var i=t("../core/PathProxy").CMD,n=t("../core/vector"),r=n[l],a=[[],[],[]],o=Math.sqrt,s=Math.atan2;return e}),e("echarts/util/clazz",[Oe,Re],function(t){function e(t,e){var i=n.slice(arguments,2);return this.superClass[Me][e].apply(t,i)}function i(t,e,i){return this.superClass[Me][e].apply(t,i)}var n=t(Re),r={},a=".",o="___EC__COMPONENT__CONTAINER___",s=r.parseClassType=function(t){var e={main:"",sub:""};return t&&(t=t.split(a),e.main=t[0]||"",e.sub=t[1]||""),e};return r.enableClassExtend=function(t,r){t[le]=function(a){var o=function(){r&&r.apply(this,arguments),t.apply(this,arguments)};return n[le](o[Me],a),o[le]=this[le],o.superCall=e,o.superApply=i,n[H](o,this),o.superClass=this,o}},r.enableClassManagement=function(t,e){function i(t){var e=r[t.main];return e&&e[o]||(e=r[t.main]={},e[o]=!0),e}e=e||{};var r={};if(t.registerClass=function(t,e){if(e)if(e=s(e),e.sub){if(e.sub!==o){var n=i(e);n[e.sub]=t}}else{if(r[e.main])throw new Error(e.main+"exists.");r[e.main]=t}return t},t.getClass=function(t,e,i){var n=r[t];if(n&&n[o]&&(n=e?n[e]:null),i&&!n)throw new Error("Component "+t+"."+(e||"")+" not exists. Load it first.");return n},t.getClassesByMainType=function(t){t=s(t);var e=[],i=r[t.main];return i&&i[o]?n.each(i,function(t,i){i!==o&&e.push(t)}):e.push(i),e},t.hasClass=function(t){return t=s(t),!!r[t.main]},t.getAllClassMainTypes=function(){var t=[];return n.each(r,function(e,i){t.push(i)}),t},t.hasSubTypes=function(t){t=s(t);var e=r[t.main];return e&&e[o]},t.parseClassType=s,e.registerWhenExtend){var a=t[le];a&&(t[le]=function(e){var i=a.call(this,e);return t.registerClass(i,e.type)})}return t},r.setReadOnly=function(){},r}),e("zrender/contain/path",[Oe,"../core/PathProxy","./line","./cubic","./quadratic","./arc","./util","../core/curve","./windingLine"],function(t){function e(t,e){return Math.abs(t-e)<v}function i(){var t=x[0];x[0]=x[1],x[1]=t}function n(t,e,n,r,a,o,s,l,c,u){if(u>e&&u>r&&u>o&&u>l||e>u&&r>u&&o>u&&l>u)return 0;var h=f.cubicRootAt(e,r,o,l,u,y);if(0===h)return 0;for(var d,p,m=0,g=-1,v=0;h>v;v++){var _=y[v],b=f.cubicAt(t,n,a,s,_);c>b||(0>g&&(g=f.cubicExtrema(e,r,o,l,x),x[1]<x[0]&&g>1&&i(),d=f.cubicAt(e,r,o,l,x[0]),g>1&&(p=f.cubicAt(e,r,o,l,x[1]))),m+=2==g?_<x[0]?e>d?1:-1:_<x[1]?d>p?1:-1:p>l?1:-1:_<x[0]?e>d?1:-1:d>l?1:-1)}return m}function r(t,e,i,n,r,a,o,s){if(s>e&&s>n&&s>a||e>s&&n>s&&a>s)return 0;var l=f.quadraticRootAt(e,n,a,s,y);if(0===l)return 0;var c=f.quadraticExtremum(e,n,a);if(c>=0&&1>=c){for(var u=0,h=f.quadraticAt(e,n,a,c),d=0;l>d;d++){var p=f.quadraticAt(t,i,r,y[d]);o>p||(u+=y[d]<c?e>h?1:-1:h>a?1:-1)}return u}var p=f.quadraticAt(t,i,r,y[0]);return o>p?0:e>a?1:-1}function a(t,e,i,n,r,a,o,s){if(s-=e,s>i||-i>s)return 0;var l=Math.sqrt(i*i-s*s);y[0]=-l,y[1]=l;var c=Math.abs(n-r);if(1e-4>c)return 0;if(1e-4>c%g){n=0,r=g;var u=a?1:-1;return o>=y[0]+t&&o<=y[1]+t?u:0}if(a){var l=n;n=d(r),r=d(l)}else n=d(n),r=d(r);n>r&&(r+=g);for(var h=0,f=0;2>f;f++){var p=y[f];if(p+t>o){var m=Math.atan2(s,p),u=a?1:-1;0>m&&(m=g+m),(m>=n&&r>=m||m+g>=n&&r>=m+g)&&(m>Math.PI/2&&m<1.5*Math.PI&&(u=-u),h+=u)}}return h}function o(t,i,o,l,d){for(var f=0,g=0,v=0,y=0,x=0,_=0;_<t[oe];){var b=t[_++];if(b===s.M&&_>1&&(o||(f+=p(g,v,y,x,l,d)),0!==f))return!0;switch(1==_&&(g=t[_],v=t[_+1],y=g,x=v),b){case s.M:y=t[_++],x=t[_++],g=y,v=x;break;case s.L:if(o){if(m(g,v,t[_],t[_+1],i,l,d))return!0}else f+=p(g,v,t[_],t[_+1],l,d)||0;g=t[_++],v=t[_++];break;case s.C:if(o){if(c.containStroke(g,v,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],i,l,d))return!0}else f+=n(g,v,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],l,d)||0;g=t[_++],v=t[_++];break;case s.Q:if(o){if(u.containStroke(g,v,t[_++],t[_++],t[_],t[_+1],i,l,d))return!0}else f+=r(g,v,t[_++],t[_++],t[_],t[_+1],l,d)||0;g=t[_++],v=t[_++];break;case s.A:var w=t[_++],M=t[_++],S=t[_++],T=t[_++],C=t[_++],A=t[_++],P=(t[_++],1-t[_++]),L=Math.cos(C)*S+w,z=Math.sin(C)*T+M;_>1?f+=p(g,v,L,z,l,d):(y=L,x=z);var k=(l-w)*T/S+w;if(o){if(h.containStroke(w,M,T,C,C+A,P,i,k,d))return!0}else f+=a(w,M,T,C,C+A,P,k,d);g=Math.cos(C+A)*S+w,v=Math.sin(C+A)*T+M;break;case s.R:y=g=t[_++],x=v=t[_++];var D=t[_++],I=t[_++],L=y+D,z=x+I;if(o){if(m(y,x,L,x,i,l,d)||m(L,x,L,z,i,l,d)||m(L,z,y,z,i,l,d)||m(y,z,L,z,i,l,d))return!0}else f+=p(L,x,L,z,l,d),f+=p(y,z,y,x,l,d);break;case s.Z:if(o){if(m(g,v,y,x,i,l,d))return!0}else if(f+=p(g,v,y,x,l,d),0!==f)return!0;g=y,v=x}}return o||e(v,x)||(f+=p(g,v,y,x,l,d)||0),0!==f}var s=t("../core/PathProxy").CMD,l=t("./line"),c=t("./cubic"),u=t("./quadratic"),h=t("./arc"),d=t("./util").normalizeRadian,f=t("../core/curve"),p=t("./windingLine"),m=l.containStroke,g=2*Math.PI,v=1e-4,y=[-1,-1,-1],x=[-1,-1];return{contain:function(t,e,i){return o(t,0,!1,e,i)},containStroke:function(t,e,i,n){return o(t,e,!0,i,n)}}}),e("echarts/model/mixin/lineStyle",[Oe,"./makeStyleMapper"],function(t){var e=t("./makeStyleMapper")([[s,"width"],[o,"color"],[R],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);return{getLineStyle:function(t){var i=e.call(this,t),n=this.getLineDash();return n&&(i.lineDash=n),i},getLineDash:function(){var t=this.get("type");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}}}),e("echarts/model/mixin/areaStyle",[Oe,"./makeStyleMapper"],function(t){return{getAreaStyle:t("./makeStyleMapper")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],[R],["shadowColor"]])}}),e("echarts/model/mixin/itemStyle",[Oe,"./makeStyleMapper"],function(t){return{getItemStyle:t("./makeStyleMapper")([["fill","color"],[o,"borderColor"],[s,"borderWidth"],[R],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]])}}),e("echarts/util/component",[Oe,Re,"./clazz"],function(t){var e=t(Re),i=t("./clazz"),n=i.parseClassType,r=0,a={},o="_";return a.getUID=function(t){return[t||"",r++,Math.random()].join(o)},a.enableSubTypeDefaulter=function(t){var e={};return t.registerSubTypeDefaulter=function(t,i){t=n(t),e[t.main]=i},t.determineSubType=function(i,r){var a=r.type;if(!a){var o=n(i).main;t.hasSubTypes(i)&&e[o]&&(a=e[o](r))}return a},t},a.enableTopologicalTravel=function(t,i){function n(t){var n={},o=[];return e.each(t,function(s){var l=r(n,s),c=l.originalDeps=i(s),u=a(c,t);l.entryCount=u[oe],0===l.entryCount&&o.push(s),e.each(u,function(t){e[q](l.predecessor,t)<0&&l.predecessor.push(t);var i=r(n,t);e[q](i.successor,t)<0&&i.successor.push(s)})}),{graph:n,noEntryList:o}}function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function a(t,i){var n=[];return e.each(t,function(t){e[q](i,t)>=0&&n.push(t)}),n}t.topologicalTravel=function(t,i,r,a){function o(t){c[t].entryCount--,0===c[t].entryCount&&u.push(t)}function s(t){h[t]=!0,o(t)}if(t[oe]){var l=n(i),c=l.graph,u=l.noEntryList,h={};for(e.each(t,function(t){h[t]=!0});u[oe];){var d=u.pop(),f=c[d],p=!!h[d];p&&(r.call(a,d,f.originalDeps.slice()),delete h[d]),e.each(f.successor,p?s:o)}e.each(h,function(){throw new Error("Circle dependency may exists")})}}},a}),e("echarts/model/mixin/textStyle",[Oe,"zrender/contain/text"],function(t){function e(t,e){return t&&t.getShallow(e)}var i=t("zrender/contain/text");return{getTextColor:function(){var t=this[r];return this.getShallow("color")||t&&t.get("textStyle.color")},getFont:function(){var t=this[r],i=t&&t[_e](Z);return[this.getShallow("fontStyle")||e(i,"fontStyle"),this.getShallow("fontWeight")||e(i,"fontWeight"),(this.getShallow("fontSize")||e(i,"fontSize")||12)+"px",this.getShallow("fontFamily")||e(i,"fontFamily")||"sans-serif"].join(" ")},getTextRect:function(t){var e=this.get(Z)||{};return i[V](t,this[G](),e.align,e.baseline)},ellipsis:function(t,e,n){return i.ellipsis(t,this[G](),e,n)}}}),e("echarts/model/mixin/boxLayout",[Oe],function(){return{getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get(pe),width:this.get("width"),height:this.get(fe)}}}}),e("zrender/core/curve",[Oe,"./vector"],function(t){function e(t){return t>-_&&_>t}function i(t){return t>_||-_>t}function n(t,e,i,n,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*n+3*a*i)}function r(t,e,i,n,r){var a=1-r;return 3*(((e-t)*a+2*(i-e)*r)*a+(n-i)*r*r)}function a(t,i,n,r,a,o){var s=r+3*(i-n)-t,l=3*(n-2*i+t),c=3*(i-t),u=t-a,h=l*l-3*s*c,d=l*c-9*s*u,f=c*c-3*l*u,p=0;if(e(h)&&e(d))if(e(l))o[0]=0;else{var m=-c/l;m>=0&&1>=m&&(o[p++]=m)}else{var g=d*d-4*h*f;if(e(g)){var v=d/h,m=-l/s+v,_=-v/2;m>=0&&1>=m&&(o[p++]=m),_>=0&&1>=_&&(o[p++]=_)}else if(g>0){var b=x(g),S=h*l+1.5*s*(-d+b),T=h*l+1.5*s*(-d-b);S=0>S?-y(-S,M):y(S,M),T=0>T?-y(-T,M):y(T,M);var m=(-l-(S+T))/(3*s);m>=0&&1>=m&&(o[p++]=m)}else{var C=(2*h*l-3*s*d)/(2*x(h*h*h)),A=Math.acos(C)/3,P=x(h),L=Math.cos(A),m=(-l-2*P*L)/(3*s),_=(-l+P*(L+w*Math.sin(A)))/(3*s),z=(-l+P*(L-w*Math.sin(A)))/(3*s);m>=0&&1>=m&&(o[p++]=m),_>=0&&1>=_&&(o[p++]=_),z>=0&&1>=z&&(o[p++]=z)}}return p}function o(t,n,r,a,o){var s=6*r-12*n+6*t,l=9*n+3*a-3*t-9*r,c=3*n-3*t,u=0;if(e(l)){if(i(s)){var h=-c/s;h>=0&&1>=h&&(o[u++]=h)}}else{var d=s*s-4*l*c;if(e(d))o[0]=-s/(2*l);else if(d>0){var f=x(d),h=(-s+f)/(2*l),p=(-s-f)/(2*l);h>=0&&1>=h&&(o[u++]=h),p>=0&&1>=p&&(o[u++]=p)}}return u}function s(t,e,i,n,r,a){var o=(e-t)*r+t,s=(i-e)*r+e,l=(n-i)*r+i,c=(s-o)*r+o,u=(l-s)*r+s,h=(u-c)*r+c;a[0]=t,a[1]=o,a[2]=c,a[3]=h,a[4]=h,a[5]=u,a[6]=l,a[7]=n}function l(t,e,i,r,a,o,s,l,c,u,h){var d,f,p,m,g,y=.005,_=1/0;S[0]=c,S[1]=u;for(var w=0;1>w;w+=.05)T[0]=n(t,i,a,s,w),T[1]=n(e,r,o,l,w),m=v(S,T),_>m&&(d=w,_=m);_=1/0;for(var M=0;32>M&&!(b>y);M++)f=d-y,p=d+y,T[0]=n(t,i,a,s,f),T[1]=n(e,r,o,l,f),m=v(T,S),f>=0&&_>m?(d=f,_=m):(C[0]=n(t,i,a,s,p),C[1]=n(e,r,o,l,p),g=v(C,S),1>=p&&_>g?(d=p,_=g):y*=.5);return h&&(h[0]=n(t,i,a,s,d),h[1]=n(e,r,o,l,d)),x(_)}function c(t,e,i,n){var r=1-n;return r*(r*t+2*n*e)+n*n*i}function u(t,e,i,n){return 2*((1-n)*(e-t)+n*(i-e))}function h(t,n,r,a,o){var s=t-2*n+r,l=2*(n-t),c=t-a,u=0;if(e(s)){if(i(l)){var h=-c/l;h>=0&&1>=h&&(o[u++]=h)}}else{var d=l*l-4*s*c;if(e(d)){var h=-l/(2*s);h>=0&&1>=h&&(o[u++]=h)}else if(d>0){var f=x(d),h=(-l+f)/(2*s),p=(-l-f)/(2*s);h>=0&&1>=h&&(o[u++]=h),p>=0&&1>=p&&(o[u++]=p)}}return u}function d(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function f(t,e,i,n,r){var a=(e-t)*n+t,o=(i-e)*n+e,s=(o-a)*n+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=i}function p(t,e,i,n,r,a,o,s,l){var u,h=.005,d=1/0;S[0]=o,S[1]=s;for(var f=0;1>f;f+=.05){T[0]=c(t,i,r,f),T[1]=c(e,n,a,f);var p=v(S,T);d>p&&(u=f,d=p)}d=1/0;for(var m=0;32>m&&!(b>h);m++){var g=u-h,y=u+h;T[0]=c(t,i,r,g),T[1]=c(e,n,a,g);var p=v(T,S);if(g>=0&&d>p)u=g,d=p;else{C[0]=c(t,i,r,y),C[1]=c(e,n,a,y);var _=v(C,S);1>=y&&d>_?(u=y,d=_):h*=.5}}return l&&(l[0]=c(t,i,r,u),l[1]=c(e,n,a,u)),x(d)}var m=t("./vector"),g=m[de],v=m.distSquare,y=Math.pow,x=Math.sqrt,_=1e-8,b=1e-4,w=x(3),M=1/3,S=g(),T=g(),C=g();return{cubicAt:n,cubicDerivativeAt:r,cubicRootAt:a,cubicExtrema:o,cubicSubdivide:s,cubicProjectPoint:l,quadraticAt:c,quadraticDerivativeAt:u,quadraticRootAt:h,quadraticExtremum:d,quadraticSubdivide:f,quadraticProjectPoint:p}}),e("zrender/core/bbox",[Oe,"./vector","./curve"],function(t){var e=t("./vector"),i=t("./curve"),n={},r=Math.min,a=Math.max,o=Math.sin,s=Math.cos,l=e[de](),c=e[de](),u=e[de](),h=2*Math.PI;n.fromPoints=function(t,e,i){if(0!==t[oe]){var n,o=t[0],s=o[0],l=o[0],c=o[1],u=o[1];for(n=1;n<t[oe];n++)o=t[n],s=r(s,o[0]),l=a(l,o[0]),c=r(c,o[1]),u=a(u,o[1]);e[0]=s,e[1]=c,i[0]=l,i[1]=u}},n.fromLine=function(t,e,i,n,o,s){o[0]=r(t,i),o[1]=r(e,n),s[0]=a(t,i),s[1]=a(e,n)};var d=[],f=[];return n.fromCubic=function(t,e,n,o,s,l,c,u,h,p){var m,g=i.cubicExtrema,v=i.cubicAt,y=g(t,n,s,c,d);for(h[0]=1/0,h[1]=1/0,p[0]=-1/0,p[1]=-1/0,m=0;y>m;m++){var x=v(t,n,s,c,d[m]);h[0]=r(x,h[0]),p[0]=a(x,p[0])}for(y=g(e,o,l,u,f),m=0;y>m;m++){var _=v(e,o,l,u,f[m]);h[1]=r(_,h[1]),p[1]=a(_,p[1])}h[0]=r(t,h[0]),p[0]=a(t,p[0]),h[0]=r(c,h[0]),p[0]=a(c,p[0]),h[1]=r(e,h[1]),p[1]=a(e,p[1]),h[1]=r(u,h[1]),p[1]=a(u,p[1])},n.fromQuadratic=function(t,e,n,o,s,l,c,u){var h=i.quadraticExtremum,d=i.quadraticAt,f=a(r(h(t,n,s),1),0),p=a(r(h(e,o,l),1),0),m=d(t,n,s,f),g=d(e,o,l,p);c[0]=r(t,s,m),c[1]=r(e,l,g),u[0]=a(t,s,m),u[1]=a(e,l,g)},n.fromArc=function(t,i,n,r,a,d,f,p,m){var g=e.min,v=e.max,y=Math.abs(a-d);if(1e-4>y%h&&y>1e-4)return p[0]=t-n,p[1]=i-r,m[0]=t+n,void(m[1]=i+r);if(l[0]=s(a)*n+t,l[1]=o(a)*r+i,c[0]=s(d)*n+t,c[1]=o(d)*r+i,g(p,l,c),v(m,l,c),a%=h,0>a&&(a+=h),d%=h,0>d&&(d+=h),a>d&&!f?d+=h:d>a&&f&&(a+=h),f){var x=d;d=a,a=x}for(var _=0;d>_;_+=Math.PI/2)_>a&&(u[0]=s(_)*n+t,u[1]=o(_)*r+i,g(p,u,p),v(m,u,m))},n}),e("zrender/graphic/Style",[Oe],function(){var t=["lineCap","lineJoin","miterLimit","shadowBlur","shadowOffsetX","shadowOffsetY","shadowColor"],e=function(t){this.extendFrom(t)};e[Me]={constructor:e,fill:"#000000",stroke:null,opacity:1,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,textFill:"#000",textStroke:null,textPosition:"inside",textBaseline:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,bind:function(e,i){for(var n=this.fill,r=this[o],a=0;a<t[oe];a++){var l=t[a];null!=this[l]&&(e[l]=this[l])}if(null!=r){var c=this[s];e[s]=c/(this.strokeNoScale&&i&&i.getLineScale?i.getLineScale():1)}null==n||"none"===n||n.colorStops||(e.fillStyle=n),null==r||"none"===r||r.colorStops||(e.strokeStyle=r),null!=this[R]&&(e.globalAlpha=this[R])},extendFrom:function(t,e){if(t){var i=this;for(var n in t)!t.hasOwnProperty(n)||!e&&i.hasOwnProperty(n)||(i[n]=t[n])}},set:function(t,e){typeof t===we?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},createLinearGradient:function(t,e,i){var n=e.x*i.width+i.x,r=e.x2*i.width+i.x,a=e.y*i[fe]+i.y,o=e.y2*i[fe]+i.y,s=t.createLinearGradient(n,a,r,o);return s},createRadialGradient:function(t,e,i){var n=i.width,r=i[fe],a=Math.min(n,r),o=e.x*n+i.x,s=e.y*r+i.y,l=e.r*a,c=t.createRadialGradient(o,s,0,o,s,l);
return c},getGradient:function(t,e,i){for(var n="radial"===e.type?"createRadialGradient":"createLinearGradient",r=this[n](t,e,i),a=e.colorStops,o=0;o<a[oe];o++)r.addColorStop(a[o].offset,a[o].color);return r}};var i,n,r=e[Me];for(n=0;n<t[oe];n++)i=t[n],i in r||(r[i]=null);return e}),e("zrender/Element",[Oe,"./core/guid","./mixin/Eventful","./mixin/Transformable","./mixin/Animatable","./core/util"],function(t){var e=t("./core/guid"),i=t("./mixin/Eventful"),n=t("./mixin/Transformable"),r=t("./mixin/Animatable"),a=t("./core/util"),o=function(t){n.call(this,t),i.call(this,t),r.call(this,t),this.id=t.id||e()};return o[Me]={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this[Te];i||(i=this[Te]=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.dirty()},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(){},attrKV:function(t,e){if(t===O||"scale"===t||"origin"===t){if(e){var i=this[t];i||(i=this[t]=[]),i[0]=e[0],i[1]=e[1]}}else this[t]=e},hide:function(){this[me]=!0,this.__zr&&this.__zr.refresh()},show:function(){this[me]=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if(typeof t===we)this.attrKV(t,e);else if(a[ue](t))for(var i in t)t.hasOwnProperty(i)&&this.attrKV(i,t[i]);return this.dirty(),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty()},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty())},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var i=0;i<e[oe];i++)t[w].addAnimator(e[i]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var i=0;i<e[oe];i++)t[w].removeAnimator(e[i]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},a.mixin(o,r),a.mixin(o,n),a.mixin(o,i),o}),e("zrender/config",[],function(){var t=1;"undefined"!=typeof window&&(t=Math.max(window.devicePixelRatio||1,1));var e={debugMode:0,devicePixelRatio:t};return e}),e("echarts/model/mixin/makeStyleMapper",[Oe,Re],function(t){var e=t(Re);return function(t){for(var i=0;i<t[oe];i++)t[i][1]||(t[i][1]=t[i][0]);return function(i){for(var n={},r=0;r<t[oe];r++){var a=t[r][1];if(!(i&&e[q](i,a)>=0)){var o=this.getShallow(a);null!=o&&(n[t[r][0]]=o)}}return n}}}),e("echarts/scale/Ordinal",[Oe,Re,"./Scale"],function(t){var e=t(Re),i=t("./Scale"),n=i[Me],r=i[le]({type:"ordinal",init:function(t,e){this._data=t,this._extent=e||[0,t[oe]-1]},parse:function(t){return typeof t===we?e[q](this._data,t):Math.round(t)},contain:function(t){return t=this.parse(t),n[I].call(this,t)&&null!=this._data[t]},normalize:function(t){return n.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(n.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},niceTicks:e.noop,niceExtent:e.noop});return r[de]=function(){return new r},r}),e("zrender/mixin/Transformable",[Oe,"../core/matrix","../core/vector"],function(t){function e(t){return t>o||-o>t}var i=t("../core/matrix"),n=t("../core/vector"),r=i.identity,o=5e-5,s=function(t){t=t||{},t[O]||(this[O]=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=s[Me];c[Te]=null,c.needLocalTransform=function(){return e(this.rotation)||e(this[O][0])||e(this[O][1])||e(this.scale[0]-1)||e(this.scale[1]-1)},c.updateTransform=function(){var t=this[a],e=t&&t[Te],n=this.needLocalTransform(),o=this[Te];return n||e?(o=o||i[de](),n?this.getLocalTransform(o):r(o),e&&(n?i.mul(o,t[Te],o):i.copy(o,t[Te])),this[Te]=o,this.invTransform=this.invTransform||i[de](),void i.invert(this.invTransform,o)):void(o&&r(o))},c.getLocalTransform=function(t){t=t||[],r(t);var e=this.origin,n=this.scale,a=this.rotation,o=this[O];return e&&(t[4]-=e[0],t[5]-=e[1]),i.scale(t,t,n),a&&i.rotate(t,t,a),e&&(t[4]+=e[0],t[5]+=e[1]),t[4]+=o[0],t[5]+=o[1],t},c.setTransform=function(t){var e=this[Te];e&&t[Te](e[0],e[1],e[2],e[3],e[4],e[5])};var u=[];return c.decomposeTransform=function(){if(this[Te]){var t=this[a],n=this[Te];t&&t[Te]&&(i.mul(u,t.invTransform,n),n=u);var r=n[0]*n[0]+n[1]*n[1],o=n[2]*n[2]+n[3]*n[3],s=this[O],l=this.scale;e(r-1)&&(r=Math.sqrt(r)),e(o-1)&&(o=Math.sqrt(o)),n[0]<0&&(r=-r),n[3]<0&&(o=-o),s[0]=n[4],s[1]=n[5],l[0]=r,l[1]=o,this.rotation=Math.atan2(-n[1]/o,n[0]/r)}},c.getGlobalScale=function(){var t=this[Te];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]},c.transformCoordToLocal=function(t,e){var i=[t,e],r=this.invTransform;return r&&n[l](i,i,r),i},c.transformCoordToGlobal=function(t,e){var i=[t,e],r=this[Te];return r&&n[l](i,i,r),i},s}),e("zrender/core/guid",[],function(){var t=2311;return function(){return"zr_"+t++}}),e("zrender/mixin/Animatable",[Oe,"../animation/Animator",n,"../core/log"],function(t){var e=t("../animation/Animator"),i=t(n),r=i.isString,a=i.isFunction,o=i[ue],s=t("../core/log"),l=function(){this.animators=[]};return l[Me]={constructor:l,animate:function(t,n){var r,a=!1,o=this,l=this.__zr;if(t){var c=t.split("."),u=o;a="shape"===c[0];for(var h=0,d=c[oe];d>h;h++)u&&(u=u[c[h]]);u&&(r=u)}else r=o;if(!r)return void s('Property "'+t+'" is not existed in element '+o.id);var f=o.animators,p=new e(r,n);return p.during(function(){o.dirty(a)}).done(function(){f[ie](i[q](f,p),1)}),f.push(p),l&&l[w].addAnimator(p),p},stopAnimation:function(t){for(var e=this.animators,i=e[oe],n=0;i>n;n++)e[n].stop(t);return e[oe]=0,this},animateTo:function(t,e,i,n,o){function s(){c--,c||o&&o()}r(i)?(o=n,n=i,i=0):a(n)?(o=n,n="linear",i=0):a(i)?(o=i,i=0):a(e)?(o=e,e=500):e||(e=500),this.stopAnimation(),this._animateToShallow("",this,t,e,i,n,o);var l=this.animators.slice(),c=l[oe];c||o&&o();for(var u=0;u<l[oe];u++)l[u].done(s).start(n)},_animateToShallow:function(t,e,n,r,a){var s={},l=0;for(var c in n)if(null!=e[c])o(n[c])&&!i.isArrayLike(n[c])?this._animateToShallow(t?t+"."+c:c,e[c],n[c],r,a):(s[c]=n[c],l++);else if(null!=n[c])if(t){var u={};u[t]={},u[t][c]=n[c],this.attr(u)}else this.attr(c,n[c]);return l>0&&this.animate(t,!1).when(null==r?500:r,s).delay(a||0),this}},l}),e("echarts/coord/geo/Geo",[Oe,"./parseGeoJson",Re,c,"../View","./fix/nanhai","./fix/textCoord","./fix/geoCoord"],function(t){function e(t,e,i,n,r){a.call(this,t),this.map=e,this._nameCoordMap={},this.loadGeoJson(i,n,r)}var i=t("./parseGeoJson"),n=t(Re),r=t(c),a=t("../View"),o=[t("./fix/nanhai"),t("./fix/textCoord"),t("./fix/geoCoord")];return e[Me]={constructor:e,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,i=0;i<e[oe];i++)if(e[i][I](t))return!0;return!1},loadGeoJson:function(t,e,r){try{this.regions=t?i(t):[]}catch(a){throw"Invalid geoJson format\n"+a}e=e||{},r=r||{};for(var s=this.regions,l={},c=0;c<s[oe];c++){var u=s[c].name;u=r[u]||u,s[c].name=u,l[u]=s[c],this.addGeoCoord(u,s[c][E]);var h=e[u];h&&s[c].transformTo(h.left,h.top,h.width,h[fe])}this._regionsMap=l,this._rect=null,n.each(o,function(t){t(this)},this)},transformTo:function(t,e,i,n){var a=this[V]();a=a.clone(),a.y=-a.y-a[fe];var o=this._viewTransform;o[Te]=a.calculateTransform(new r(t,e,i,n)),o.decomposeTransform();var s=o.scale;s[1]=-s[1],o.updateTransform(),this._updateTransform()},getRegion:function(t){return this._regionsMap[t]},getRegionByCoord:function(t){for(var e=this.regions,i=0;i<e[oe];i++)if(e[i][I](t))return e[i]},addGeoCoord:function(t,e){this._nameCoordMap[t]=e},getGeoCoord:function(t){return this._nameCoordMap[t]},getBoundingRect:function(){if(this._rect)return this._rect;for(var t,e=this.regions,i=0;i<e[oe];i++){var n=e[i][V]();t=t||n.clone(),t.union(n)}return this._rect=t||new r(0,0,0,0)},dataToPoints:function(t){var e=[];return t[h](["lng","lat"],function(t,i){return e[0]=t,e[1]=i,this[g](e)},this)},dataToPoint:function(t){return typeof t===we&&(t=this.getGeoCoord(t)),t?a[Me][g].call(this,t):void 0}},n.mixin(e,a),e}),e("echarts/coord/cartesian/Cartesian",[Oe,Re],function(t){function e(t){return this._axes[t]}var i=t(Re),n=function(t){this._axes={},this._dimList=[],this.name=t||""};return n[Me]={constructor:n,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return i.map(this._dimList,e,this)},getAxesByScale:function(t){return t=t[Se](),i[De](this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var i=this._dimList,n=t instanceof Array?[]:{},r=0;r<i[oe];r++){var a=i[r],o=this._axes[a];n[a]=o[e](t[a])}return n}},n}),e("zrender/core/log",[Oe,"../config"],function(t){var e=t("../config");return function(){if(0!==e.debugMode)if(1==e.debugMode)for(var t in arguments)throw new Error(arguments[t]);else if(e.debugMode>1)for(var t in arguments)console.log(arguments[t])}}),e("zrender/animation/Animator",[Oe,"./Clip","../tool/color",n],function(t){function e(t,e){return t[e]}function i(t,e,i){t[e]=i}function r(t,e,i){return(e-t)*i+t}function a(t,e,i){return i>.5?e:t}function o(t,e,i,n,a){var o=t[oe];if(1==a)for(var s=0;o>s;s++)n[s]=r(t[s],e[s],i);else for(var l=t[0][oe],s=0;o>s;s++)for(var c=0;l>c;c++)n[s][c]=r(t[s][c],e[s][c],i)}function s(t,e,i){var n=t[oe],r=e[oe];if(n!==r){var a=n>r;if(a)t[oe]=r;else for(var o=n;r>o;o++)t.push(1===i?e[o]:y.call(e[o]))}for(var s=t[0]&&t[0][oe],o=0;o<t[oe];o++)if(1===i)isNaN(t[o])&&(t[o]=e[o]);else for(var l=0;s>l;l++)isNaN(t[o][l])&&(t[o][l]=e[o][l])}function l(t,e,i){if(t===e)return!0;var n=t[oe];if(n!==e[oe])return!1;if(1===i){for(var r=0;n>r;r++)if(t[r]!==e[r])return!1}else for(var a=t[0][oe],r=0;n>r;r++)for(var o=0;a>o;o++)if(t[r][o]!==e[r][o])return!1;return!0}function c(t,e,i,n,r,a,o,s,l){var c=t[oe];if(1==l)for(var h=0;c>h;h++)s[h]=u(t[h],e[h],i[h],n[h],r,a,o);else for(var d=t[0][oe],h=0;c>h;h++)for(var f=0;d>f;f++)s[h][f]=u(t[h][f],e[h][f],i[h][f],n[h][f],r,a,o)}function u(t,e,i,n,r,a,o){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*o+(-3*(e-i)-2*s-l)*a+s*r+e}function h(t){if(v(t)){var e=t[oe];if(v(t[0])){for(var i=[],n=0;e>n;n++)i.push(y.call(t[n]));return i}return y.call(t)}return t}function d(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function f(t,e,i,n,h){var f=t._getter,g=t._setter,y="spline"===e,x=n[oe];if(x){var _,b=n[0].value,w=v(b),M=!1,S=!1,T=w&&v(b[0])?2:1;n.sort(function(t,e){return t.time-e.time}),_=n[x-1].time;for(var C=[],A=[],P=n[0].value,L=!0,z=0;x>z;z++){C.push(n[z].time/_);var k=n[z].value;if(w&&l(k,P,T)||!w&&k===P||(L=!1),P=k,typeof k==we){var D=m.parse(k);D?(k=D,M=!0):S=!0}A.push(k)}if(!L){for(var I=A[x-1],z=0;x-1>z;z++)w?s(A[z],I,T):!isNaN(A[z])||isNaN(I)||S||M||(A[z]=I);w&&s(f(t._target,h),I,T);var R,O,E,B,V,N,G=0,F=0;if(M)var Z=[0,0,0,0];var H=function(t,e){var i;if(F>e){for(R=Math.min(G+1,x-1),i=R;i>=0&&!(C[i]<=e);i--);i=Math.min(i,x-2)}else{for(i=G;x>i&&!(C[i]>e);i++);i=Math.min(i-1,x-2)}G=i,F=e;var n=C[i+1]-C[i];if(0!==n)if(O=(e-C[i])/n,y)if(B=A[i],E=A[0===i?i:i-1],V=A[i>x-2?x-1:i+1],N=A[i>x-3?x-1:i+2],w)c(E,B,V,N,O,O*O,O*O*O,f(t,h),T);else{var s;if(M)s=c(E,B,V,N,O,O*O,O*O*O,Z,1),s=d(Z);else{if(S)return a(B,V,O);s=u(E,B,V,N,O,O*O,O*O*O)}g(t,h,s)}else if(w)o(A[i],A[i+1],O,f(t,h),T);else{var s;if(M)o(A[i],A[i+1],O,Z,1),s=d(Z);else{if(S)return a(A[i],A[i+1],O);s=r(A[i],A[i+1],O)}g(t,h,s)}},W=new p({target:t._target,life:_,loop:t._loop,delay:t._delay,onframe:H,ondestroy:i});return e&&"spline"!==e&&(W.easing=e),W}}}var p=t("./Clip"),m=t("../tool/color"),g=t(n),v=g.isArrayLike,y=Array[Me].slice,x=function(t,n,r,a){this._tracks={},this._target=t,this._loop=n||!1,this._getter=r||e,this._setter=a||i,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};return x[Me]={when:function(t,e){var i=this._tracks;for(var n in e){if(!i[n]){i[n]=[];var r=this._getter(this._target,n);if(null==r)continue;0!==t&&i[n].push({time:0,value:h(r)})}i[n].push({time:t,value:e[n]})}return this},during:function(t){return this._onframeList.push(t),this},_doneCallback:function(){this._tracks={},this._clipList[oe]=0;for(var t=this._doneList,e=t[oe],i=0;e>i;i++)t[i].call(this)},start:function(t){var e,i=this,n=0,r=function(){n--,n||i._doneCallback()};for(var a in this._tracks){var o=f(this,t,r,this._tracks[a],a);o&&(this._clipList.push(o),n++,this[w]&&this[w].addClip(o),e=o)}if(e){var s=e.onframe;e.onframe=function(t,e){s(t,e);for(var n=0;n<i._onframeList[oe];n++)i._onframeList[n](t,e)}}return n||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,i=this[w],n=0;n<e[oe];n++){var r=e[n];t&&r.onframe(this._target,1),i&&i.removeClip(r)}e[oe]=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}},x}),e("echarts/coord/geo/parseGeoJson",[Oe,Re,"./Region"],function(t){function e(t){if(!t.UTF8Encoding)return t;for(var e=t.features,n=0;n<e[oe];n++)for(var r=e[n],a=r.geometry,o=a.coordinates,s=a.encodeOffsets,l=0;l<o[oe];l++){var c=o[l];if("Polygon"===a.type)o[l]=i(c,s[l]);else if("MultiPolygon"===a.type)for(var u=0;u<c[oe];u++){var h=c[u];c[u]=i(h,s[l][u])}}return t.UTF8Encoding=!1,t}function i(t,e){for(var i=[],n=e[0],r=e[1],a=0;a<t[oe];a+=2){var o=t.charCodeAt(a)-64,s=t.charCodeAt(a+1)-64;o=o>>1^-(1&o),s=s>>1^-(1&s),o+=n,s+=r,n=o,r=s,i.push([o/1024,s/1024])}return i}function n(t){for(var e=[],i=0;i<t[oe];i++)for(var n=0;n<t[i][oe];n++)e.push(t[i][n]);return e}var r=t(Re),a=t("./Region");return function(t){return e(t),r.map(r[De](t.features,function(t){return t.geometry&&t.properties}),function(t){var e=t.properties,i=t.geometry,r=i.coordinates;return"MultiPolygon"===i.type&&(r=n(r)),new a(e.name,r,e.cp)})}}),e("echarts/coord/geo/fix/textCoord",[Oe,Re],function(t){var e=t(Re),i={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};return function(t){e.each(t.regions,function(t){var e=i[t.name];if(e){var n=t[E];n[0]+=e[0]/10.5,n[1]+=-e[1]/14}})}}),e("echarts/coord/geo/fix/nanhai",[Oe,"../Region"],function(t){for(var e=t("../Region"),i=[126,25],n=[[[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]]],r=0;r<n[oe];r++)for(var a=0;a<n[r][oe];a++)n[r][a][0]/=10.5,n[r][a][1]/=-14,n[r][a][0]+=i[0],n[r][a][1]+=i[1];return function(t){"china"===t.map&&t.regions.push(new e("南海诸岛",n,i))}}),e("echarts/coord/View",[Oe,Ce,"zrender/core/matrix","zrender/mixin/Transformable",Re,c],function(t){function e(){o.call(this)}function i(t){this.name=t,this.zoomLimit,o.call(this),this._roamTransform=new e,this._viewTransform=new e,this._center,this._zoom}var n=t(Ce),r=t("zrender/core/matrix"),o=t("zrender/mixin/Transformable"),s=t(Re),u=t(c),h=n[l];return s.mixin(e,o),i[Me]={constructor:i,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,i,n){return this._rect=new u(t,e,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,i,n){i=i,n=n,this.transformTo(t,e,i,n),this._viewRect=new u(t,e,i,n)},transformTo:function(t,e,i,n){var r=this[V](),a=this._viewTransform;a[Te]=r.calculateTransform(new u(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[V](),e=t.x+t.width/2,i=t.y+t[fe]/2;return[e,i]},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(),r=this.getCenter(),a=this.getZoom();r=n[l]([],r,t),i=n[l]([],i,t),e.origin=r,e[O]=[i[0]-r[0],i[1]-r[1]],e.scale=[a,a],this._updateTransform()},_updateTransform:function(){var t=this._roamTransform,e=this._viewTransform;e[a]=t,t.updateTransform(),e.updateTransform(),e[Te]&&r.copy(this[Te]||(this[Te]=[]),e[Te]),this[Te]?(this.invTransform=this.invTransform||[],r.invert(this.invTransform,this[Te])):this.invTransform=null,this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this[V]().clone();return t[l](this[Te]),t},dataToPoint:function(t){var e=this[Te];return e?h([],t,e):[t[0],t[1]]},pointToData:function(t){var e=this.invTransform;return e?h([],t,e):[t[0],t[1]]}},s.mixin(i,o),i}),e("echarts/coord/geo/fix/geoCoord",[Oe,Re],function(t){var e=t(Re),i={Russia:[100,60],"United States of America":[-99,38]};return function(t){e.each(t.regions,function(t){var e=i[t.name];if(e){var n=t[E];n[0]=e[0],n[1]=e[1]}})}}),e("echarts/coord/cartesian/axisLabelInterval",[Oe,Re,"../axisHelper"],function(t){var e=t(Re),i=t("../axisHelper");return function(t){var n=t.model,r=n[_e]("axisLabel"),a=r.get("interval");return t.type!==A||"auto"!==a?"auto"===a?0:a:i.getAxisLabelInterval(e.map(t.scale.getTicks(),t.dataToCoord,t),n.getFormattedLabels(),r[_e](Z)[G](),t.isHorizontal())}}),e("echarts/coord/Axis",[Oe,"../util/number",Re],function(t){function e(t,e){var i=t[1]-t[0],n=e,r=i/n/2;t[0]+=r,t[1]-=r}var i=t("../util/number"),n=i.linearMap,r=t(Re),a=[0,1],o=function(t,e,i){this.dim=t,this.scale=e,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};return o[Me]={constructor:o,contain:function(t){var e=this._extent,i=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=i&&n>=t},containData:function(t){return this[I](this.dataToCoord(t))},getExtent:function(){var t=this._extent.slice();return t},getPixelPrecision:function(t){return i.getPixelPrecision(t||this.scale[D](),this._extent)},setExtent:function(t,e){var i=this._extent;i[0]=t,i[1]=e},dataToCoord:function(t,i){var r=this._extent,o=this.scale;return t=o.normalize(t),this.onBand&&o.type===T&&(r=r.slice(),e(r,o.count())),n(t,a,r,i)},coordToData:function(t,i){var r=this._extent,o=this.scale;this.onBand&&o.type===T&&(r=r.slice(),e(r,o.count()));var s=n(t,r,a,i);return this.scale.scale(s)},getTicksCoords:function(){if(this.onBand){for(var t=this.getBands(),e=[],i=0;i<t[oe];i++)e.push(t[i][0]);return t[i-1]&&e.push(t[i-1][1]),e}return r.map(this.scale.getTicks(),this.dataToCoord,this)},getLabelsCoords:function(){if(this.onBand){for(var t,e=this.getBands(),i=[],n=0;n<e[oe];n++)t=e[n],i.push((t[0]+t[1])/2);return i}return r.map(this.scale.getTicks(),this.dataToCoord,this)},getBands:function(){for(var t=this[D](),e=[],i=this.scale.count(),n=t[0],r=t[1],a=r-n,o=0;i>o;o++)e.push([a*o/i+n,a*(o+1)/i+n]);return e},getBandWidth:function(){var t=this._extent,e=this.scale[D](),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i}},o}),e("zrender/animation/Clip",[Oe,"./easing"],function(t){function e(t){this._target=t[K],this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null==t.loop?!1:t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart}var i=t("./easing");return e[Me]={constructor:e,step:function(t){this._initialized||(this._startTime=(new Date).getTime()+this._delay,this._initialized=!0);var e=(t-this._startTime)/this._life;if(!(0>e)){e=Math.min(e,1);var n=this.easing,r=typeof n==we?i[n]:n,a=typeof r===W?r(e):e;return this.fire("frame",a),1==e?this.loop?(this.restart(),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(){var t=(new Date).getTime(),e=(t-this._startTime)%this._life;this._startTime=(new Date).getTime()-e+this.gap,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)}},e}),e("echarts/coord/geo/Region",[Oe,"zrender/contain/polygon",c,"zrender/core/bbox",Ce],function(t){function e(t,e,i){if(this.name=t,this.contours=e,i)i=[i[0],i[1]];else{var n=this[V]();i=[n.x+n.width/2,n.y+n[fe]/2]}this[E]=i}var i=t("zrender/contain/polygon"),n=t(c),r=t("zrender/core/bbox"),a=t(Ce);return e[Me]={constructor:e,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,i=[e,e],o=[-e,-e],s=[],l=[],c=this.contours,u=0;u<c[oe];u++)r.fromPoints(c[u],s,l),a.min(i,i,s),a.max(o,o,l);return 0===u&&(i[0]=i[1]=o[0]=o[1]=0),this._rect=new n(i[0],i[1],o[0]-i[0],o[1]-i[1])},contain:function(t){var e=this[V](),n=this.contours;if(e[I](t[0],t[1]))for(var r=0,a=n[oe];a>r;r++)if(i[I](n[r],t[0],t[1]))return!0;return!1},transformTo:function(t,e,i,r){var o=this[V](),s=o.width/o[fe];i?r||(r=i/s):i=s*r;for(var c=new n(t,e,i,r),u=o.calculateTransform(c),h=this.contours,d=0;d<h[oe];d++)for(var f=0;f<h[d][oe];f++)a[l](h[d][f],h[d][f],u);o=this._rect,o.copy(c),this[E]=[o.x+o.width/2,o.y+o[fe]/2]}},e}),e("echarts/coord/cartesian/AxisModel",[Oe,"../../model/Component",Re,"../axisModelCreator","../axisModelCommonMixin"],function(t){function e(t,e){return e.type||(e.data?A:"value")}var i=t("../../model/Component"),n=t(Re),r=t("../axisModelCreator"),a=i[le]({type:"cartesian2dAxis",axis:null,init:function(){a.superApply(this,"init",arguments),this._resetRange()},mergeOption:function(){a.superApply(this,"mergeOption",arguments),this._resetRange()},restoreData:function(){a.superApply(this,"restoreData",arguments),this._resetRange()},setRange:function(t,e){this[m].rangeStart=t,this[m].rangeEnd=e},getMin:function(){var t=this[m];return null!=t.rangeStart?t.rangeStart:t.min},getMax:function(){var t=this[m];return null!=t.rangeEnd?t.rangeEnd:t.max},getNeedCrossZero:function(){var t=this[m];return null!=t.rangeStart||null!=t.rangeEnd?!1:!t.scale},_resetRange:function(){this[m].rangeStart=this[m].rangeEnd=null}});n.merge(a[Me],t("../axisModelCommonMixin"));var o={gridIndex:0};return r("x",a,e,o),r("y",a,e,o),a}),e("zrender/contain/polygon",[Oe,"./windingLine"],function(t){function e(t,e){return Math.abs(t-e)<r}function i(t,i,r){var a=0,o=t[0];if(!o)return!1;for(var s=1;s<t[oe];s++){var l=t[s];a+=n(o[0],o[1],l[0],l[1],i,r),o=l}var c=t[0];return e(o[0],c[0])&&e(o[1],c[1])||(a+=n(o[0],o[1],c[0],c[1],i,r)),0!==a}var n=t("./windingLine"),r=1e-8;return{contain:i}}),e("zrender/animation/easing",[],function(){var t={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||1>i?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),-(i*Math.pow(2,10*(t-=1))*Math.sin(2*(t-e)*Math.PI/n)))},elasticOut:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||1>i?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin(2*(t-e)*Math.PI/n)+1)},elasticInOut:function(t){var e,i=.1,n=.4;return 0===t?0:1===t?1:(!i||1>i?(i=1,e=n/4):e=n*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?-.5*i*Math.pow(2,10*(t-=1))*Math.sin(2*(t-e)*Math.PI/n):i*Math.pow(2,-10*(t-=1))*Math.sin(2*(t-e)*Math.PI/n)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?.5*t*t*((e+1)*t-e):.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(e){return 1-t.bounceOut(1-e)},bounceOut:function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(e){return.5>e?.5*t.bounceIn(2*e):.5*t.bounceOut(2*e-1)+.5}};return t}),e("echarts/coord/axisModelCommonMixin",[Oe,Re,"./axisHelper"],function(t){function e(t){return r[ue](t)&&null!=t.value?t.value:t}function i(){return this.get("type")===A&&r.map(this.get("data"),e)}function n(){return a.getFormattedLabels(this.axis,this.get("axisLabel.formatter"))}var r=t(Re),a=t("./axisHelper");return{getFormattedLabels:n,getCategories:i}}),e("echarts/coord/axisModelCreator",[Oe,"./axisDefault",Re,"../model/Component","../util/layout"],function(t){var e=t("./axisDefault"),i=t(Re),n=t("../model/Component"),r=t("../util/layout"),a=["value",A,"time","log"];return function(t,o,s,l){i.each(a,function(n){o[le]({type:t+"Axis."+n,mergeDefaultAndTheme:function(e,a){var o=this.layoutMode,l=o?r.getLayoutParams(e):{},c=a.getTheme();i.merge(e,c.get(n+"Axis")),i.merge(e,this.getDefaultOption()),e.type=s(t,e),o&&r.mergeLayoutParam(e,l,o)},defaultOption:i.mergeAll([{},e[n+"Axis"],l],!0)})}),n.registerSubTypeDefaulter(t+"Axis",i.curry(s,t))}}),e("zrender/contain/windingLine",[],function(){return function(t,e,i,n,r,a){if(a>e&&a>n||e>a&&n>a)return 0;if(n===e)return 0;var o=e>n?1:-1,s=(a-e)/(n-e),l=s*(i-t)+t;return l>r?o:0}}),e("zrender/contain/cubic",[Oe,"../core/curve"],function(t){var e=t("../core/curve");return{containStroke:function(t,i,n,r,a,o,s,l,c,u,h){if(0===c)return!1;var d=c;if(h>i+d&&h>r+d&&h>o+d&&h>l+d||i-d>h&&r-d>h&&o-d>h&&l-d>h||u>t+d&&u>n+d&&u>a+d&&u>s+d||t-d>u&&n-d>u&&a-d>u&&s-d>u)return!1;var f=e.cubicProjectPoint(t,i,n,r,a,o,s,l,u,h,null);return d/2>=f}}}),e("zrender/contain/quadratic",[Oe,"../core/curve"],function(t){var e=t("../core/curve");return{containStroke:function(t,i,n,r,a,o,s,l,c){if(0===s)return!1;var u=s;if(c>i+u&&c>r+u&&c>o+u||i-u>c&&r-u>c&&o-u>c||l>t+u&&l>n+u&&l>a+u||t-u>l&&n-u>l&&a-u>l)return!1;var h=e.quadraticProjectPoint(t,i,n,r,a,o,l,c,null);return u/2>=h}}}),e("zrender/contain/line",[],function(){return{containStroke:function(t,e,i,n,r,a,o){if(0===r)return!1;var s=r,l=0,c=t;if(o>e+s&&o>n+s||e-s>o&&n-s>o||a>t+s&&a>i+s||t-s>a&&i-s>a)return!1;if(t===i)return Math.abs(a-t)<=s/2;l=(e-n)/(t-i),c=(t*n-i*e)/(t-i);var u=l*a-o+c,h=u*u/(l*l+1);return s/2*s/2>=h}}}),e("zrender/graphic/helper/roundRect",[Oe],function(){return{buildPath:function(t,e){var n,r,a,o,s=e.x,l=e.y,c=e.width,u=e[fe],h=e.r;0>c&&(s+=c,c=-c),0>u&&(l+=u,u=-u),"number"==typeof h?n=r=a=o=h:h instanceof Array?1===h[oe]?n=r=a=o=h[0]:2===h[oe]?(n=a=h[0],r=o=h[1]):3===h[oe]?(n=h[0],r=o=h[1],a=h[2]):(n=h[0],r=h[1],a=h[2],o=h[3]):n=r=a=o=0;var d;n+r>c&&(d=n+r,n*=c/d,r*=c/d),a+o>c&&(d=a+o,a*=c/d,o*=c/d),r+a>u&&(d=r+a,r*=u/d,a*=u/d),n+o>u&&(d=n+o,n*=u/d,o*=u/d),t[i](s+n,l),t.lineTo(s+c-r,l),0!==r&&t.quadraticCurveTo(s+c,l,s+c,l+r),t.lineTo(s+c,l+u-a),0!==a&&t.quadraticCurveTo(s+c,l+u,s+c-a,l+u),t.lineTo(s+o,l+u),0!==o&&t.quadraticCurveTo(s,l+u,s,l+u-o),t.lineTo(s,l+n),0!==n&&t.quadraticCurveTo(s,l,s+n,l)}}}),e("zrender/contain/util",[Oe],function(){var t=2*Math.PI;return{normalizeRadian:function(e){return e%=t,0>e&&(e+=t),e}}}),e("zrender/core/LRU",[Oe],function(){var t=function(){this.head=null,this.tail=null,this._len=0},e=t[Me];e.insert=function(t){var e=new i(t);return this.insertEntry(e),e},e.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,this.tail=t):this.head=this.tail=t,this._len++},e[ce]=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},e.len=function(){return this._len};var i=function(t){this.value=t,this.next,this.prev},n=function(e){this._list=new t,this._map={},this._maxSize=e||10},r=n[Me];return r.put=function(t,e){var i=this._list,n=this._map;if(null==n[t]){var r=i.len();if(r>=this._maxSize&&r>0){var a=i.head;i[ce](a),delete n[a.key]}var o=i.insert(e);o.key=t,n[t]=o}},r.get=function(t){var e=this._map[t],i=this._list;return null!=e?(e!==i.tail&&(i[ce](e),i.insertEntry(e)),e.value):void 0},r.clear=function(){this._list.clear(),this._map={}},n}),e("zrender/contain/arc",[Oe,"./util"],function(t){var e=t("./util").normalizeRadian,i=2*Math.PI;return{containStroke:function(t,n,r,a,o,s,l,c,u){if(0===l)return!1;var h=l;c-=t,u-=n;var d=Math.sqrt(c*c+u*u);if(d-h>r||r>d+h)return!1;if(Math.abs(a-o)%i<1e-4)return!0;if(s){var f=a;a=e(o),o=e(f)}else a=e(a),o=e(o);a>o&&(o+=i);var p=Math.atan2(u,c);return 0>p&&(p+=i),p>=a&&o>=p||p+i>=a&&o>=p+i}}}),e("echarts/coord/axisDefault",[Oe,Re],function(t){var e=t(Re),i={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameTextStyle:{},nameGap:15,silent:!0,axisLine:{show:!0,onZero:!0,lineStyle:{color:"#333",width:1,type:"solid"}},axisTick:{show:!0,inside:!1,length:5,lineStyle:{color:"#333",width:1}},axisLabel:{show:!0,inside:!1,rotate:0,margin:8,textStyle:{color:"#333",fontSize:12}},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},n=e.merge({boundaryGap:!0,axisTick:{interval:"auto"},axisLabel:{interval:"auto"}},i),r=e[Le]({boundaryGap:[0,0],splitNumber:5},i),a=e[Le]({scale:!0,min:"dataMin",max:"dataMax"},r),o=e[Le]({},r);return o.scale=!0,{categoryAxis:n,valueAxis:r,timeAxis:a,logAxis:o}}),e("zrender/graphic/helper/poly",[Oe,"./smoothSpline","./smoothBezier"],function(t){var e=t("./smoothSpline"),n=t("./smoothBezier");return{buildPath:function(t,r,a){var o=r.points,s=r.smooth;if(o&&o[oe]>=2){if(s&&"spline"!==s){var l=n(o,s,a,r.smoothConstraint);t[i](o[0][0],o[0][1]);for(var c=o[oe],u=0;(a?c:c-1)>u;u++){var h=l[2*u],d=l[2*u+1],f=o[(u+1)%c];t.bezierCurveTo(h[0],h[1],d[0],d[1],f[0],f[1])}}else{"spline"===s&&(o=e(o,a)),t[i](o[0][0],o[0][1]);for(var u=1,p=o[oe];p>u;u++)t.lineTo(o[u][0],o[u][1])}a&&t.closePath()}}}}),e("zrender/Handler",[Oe,"./core/env","./core/event","./core/util","./mixin/Draggable","./core/GestureMgr","./mixin/Eventful"],function(t){function e(t,e,i){return{type:t,event:i,target:e,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta}}function i(t,e,i){var n=t._gestureMgr;"start"===i&&n.clear();var r=n.recognize(e,t.findHover(e.zrX,e.zrY,null));if("end"===i&&n.clear(),r){var a=r.type;e.gestureEvent=a,t._dispatchProxy(r[K],a,r.event)}}function n(t){function e(t,e){return function(){return e._touching?void 0:t.apply(e,arguments)}}for(var i=v[L](y),n=0;n<i[oe];n++){var r=i[n];t._handlers[r]=d.bind(M[r],t)}for(var n=0;n<g[oe];n++){var r=g[n];t._handlers[r]=e(M[r],t)}}function r(t,e,i){if(t[t.rectHover?"rectContain":I](e,i)){for(var n=t;n;){if(n.silent||n.clipPath&&!n.clipPath[I](e,i))return!1;
n=n[a]}return!0}return!1}function o(t){t._touching=!0,clearTimeout(t._touchTimer),t._touchTimer=setTimeout(function(){t._touching=!1},700)}function s(){return!1}function l(){return u.touchEventsSupported}function c(t){return"mousewheel"===t&&u.browser.firefox?"DOMMouseScroll":t}var u=t("./core/env"),h=t("./core/event"),d=t("./core/util"),f=t("./mixin/Draggable"),p=t("./core/GestureMgr"),m=t("./mixin/Eventful"),g=["click","dblclick","mousewheel",te];!s()&&g.push("mouseup","mousedown","mousemove");var v=["touchstart","touchend","touchmove"],y=["pointerdown","pointerup","pointermove"],x=300,_=h.addEventListener,b=h.removeEventListener,w=h.normalizeEvent,M={mousemove:function(t){t=w(this.root,t);var e=t.zrX,i=t.zrY,n=this.findHover(e,i,null),r=this._hovered;this._hovered=n,this.root.style.cursor=n?n.cursor:this._defaultCursorStyle,r&&n!==r&&r.__zr&&this._dispatchProxy(r,te,t),this._dispatchProxy(n,"mousemove",t),n&&n!==r&&this._dispatchProxy(n,ee,t)},mouseout:function(t){t=w(this.root,t);var e=t.toElement||t.relatedTarget;if(e!=this.root)for(;e&&9!=e.nodeType;){if(e===this.root)return;e=e.parentNode}this._dispatchProxy(this._hovered,te,t),this[ae]("globalout",{event:t})},touchstart:function(t){t=w(this.root,t),this._lastTouchMoment=new Date,i(this,t,"start"),M.mousemove.call(this,t),M.mousedown.call(this,t),o(this)},touchmove:function(t){t=w(this.root,t),i(this,t,"change"),M.mousemove.call(this,t),o(this)},touchend:function(t){t=w(this.root,t),i(this,t,"end"),M.mouseup.call(this,t),+new Date-this._lastTouchMoment<x&&M.click.call(this,t),o(this)}};d.each(["click","mousedown","mouseup","mousewheel","dblclick"],function(t){M[t]=function(e){e=w(this.root,e);var i=this.findHover(e.zrX,e.zrY,null);if("mousedown"===t)this._downel=i,this._upel=i;else if("mosueup"===t)this._upel=i;else if("click"===t&&this._downel!==this._upel)return;this._dispatchProxy(i,t,e)}});var S=function(t,e,i){function r(e,i){d.each(e,function(e){_(t,c(e),i._handlers[e])},i)}m.call(this),this.root=t,this.storage=e,this.painter=i,this._hovered,this._lastTouchMoment,this._lastX,this._lastY,this._defaultCursorStyle="default",this._gestureMgr=new p,this._handlers=[],this._touching=!1,this._touchTimer,n(this),s()?r(y,this):l()&&r(v,this),r(g,this),f.call(this)};return S[Me]={constructor:S,resize:function(){this._hovered=null},dispatch:function(t,e){var i=this._handlers[t];i&&i.call(this,e)},dispose:function(){for(var t=this.root,e=g[L](v),i=0;i<e[oe];i++){var n=e[i];b(t,c(n),this._handlers[n])}this.root=this.storage=this.painter=null},setDefaultCursorStyle:function(t){this._defaultCursorStyle=t},_dispatchProxy:function(t,i,n){for(var r="on"+i,o=e(i,t,n),s=t;s&&(s[r]&&(o.cancelBubble=s[r].call(s,o)),s[ae](i,o),s=s[a],!o.cancelBubble););o.cancelBubble||(this[ae](i,o),this.painter&&this.painter.eachOtherLayer(function(t){typeof t[r]==W&&t[r].call(t,o),t[ae]&&t[ae](i,o)}))},findHover:function(t,e,i){for(var n=this.storage.getDisplayList(),a=n[oe]-1;a>=0;a--)if(!n[a].silent&&n[a]!==i&&!n[a][me]&&r(n[a],t,e))return n[a]}},d.mixin(S,m),d.mixin(S,f),S}),e("zrender/Storage",[Oe,"./core/util","./container/Group"],function(t){function e(t,e){return t[Y]===e[Y]?t.z===e.z?t.z2===e.z2?t.__renderidx-e.__renderidx:t.z2-e.z2:t.z-e.z:t[Y]-e[Y]}var i=t("./core/util"),n=t("./container/Group"),r=function(){this._elements={},this._roots=[],this._displayList=[],this._displayListLen=0};return r[Me]={constructor:r,getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var i=this._roots,n=this._displayList,r=0,a=i[oe];a>r;r++)this._updateAndAddDisplayable(i[r],null,t);n[oe]=this._displayListLen;for(var r=0,a=n[oe];a>r;r++)n[r].__renderidx=r;n.sort(e)},_updateAndAddDisplayable:function(t,e,i){if(!t[me]||i){t.beforeUpdate(),t[he](),t.afterUpdate();var n=t.clipPath;if(n&&(n[a]=t,n.updateTransform(),e?(e=e.slice(),e.push(n)):e=[n]),"group"==t.type){for(var r=t._children,o=0;o<r[oe];o++){var s=r[o];s.__dirty=t.__dirty||s.__dirty,this._updateAndAddDisplayable(s,e,i)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){this._elements[t.id]||(t instanceof n&&t.addChildrenToStorage(this),this.addToMap(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var e=0;e<this._roots[oe];e++){var r=this._roots[e];r instanceof n&&r.delChildrenFromStorage(this)}return this._elements={},this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array)for(var e=0,a=t[oe];a>e;e++)this.delRoot(t[e]);else{var o;o=typeof t==we?this._elements[t]:t;var s=i[q](this._roots,o);s>=0&&(this.delFromMap(o.id),this._roots[ie](s,1),o instanceof n&&o.delChildrenFromStorage(this))}},addToMap:function(t){return t instanceof n&&(t.__storage=this),t.dirty(),this._elements[t.id]=t,this},get:function(t){return this._elements[t]},delFromMap:function(t){var e=this._elements,i=e[t];return i&&(delete e[t],i instanceof n&&(i.__storage=null)),this},dispose:function(){this._elements=this._renderList=this._roots=null}},r}),e("zrender/Painter",[Oe,"./config","./core/util","./core/log","./core/BoundingRect","./Layer","./graphic/Image"],function(t){function e(t){return parseInt(t,10)}function i(t){return t?t.isBuildin?!0:typeof t[be]!==W||typeof t.refresh!==W?!1:!0:!1}function n(t){t.__unusedCount++}function r(t){t.__dirty=!1,1==t.__unusedCount&&t.clear()}function a(t,e,i){return p.copy(t[V]()),t[Te]&&p[l](t[Te]),m.width=e,m[fe]=i,!p.intersect(m)}function o(t,e){if(!t||!e||t[oe]!==e[oe])return!0;for(var i=0;i<t[oe];i++)if(t[i]!==e[i])return!0}function s(t,e){for(var i=0;i<t[oe];i++){var n,r=t[i];r[Te]&&(n=r[Te],e[Te](n[0],n[1],n[2],n[3],n[4],n[5]));var a=r.path;a.beginPath(e),r.buildPath(a,r.shape),e.clip(),r[Te]&&(n=r.invTransform,e[Te](n[0],n[1],n[2],n[3],n[4],n[5]))}}var c=t("./config"),u=t("./core/util"),h=t("./core/log"),d=t("./core/BoundingRect"),f=t("./Layer"),p=new d(0,0,0,0),m=new d(0,0,0,0),g=function(t,e,i){var n=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();i=i||{},this.dpr=i.devicePixelRatio||c.devicePixelRatio,this._singleCanvas=n,this.root=t;var r=t.style;if(r&&(r["-webkit-tap-highlight-color"]="transparent",r["-webkit-user-select"]="none",r["user-select"]="none",r["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e,n){var a=t.width,o=t[fe];this._width=a,this._height=o;var s=new f(t,this,1);s.initContext(),this._layers={0:s},this._zlevelList=[0]}else{var a=this._getWidth(),o=this._getHeight();this._width=a,this._height=o;var l=document[k]("div");this._domRoot=l;var u=l.style;u[O]="relative",u.overflow="hidden",u.width=this._width+"px",u[fe]=this._height+"px",t.appendChild(l),this._layers={},this._zlevelList=[]}this._layerConfig={},this.pathToImage=this._createPathToImage()};return g[Me]={constructor:g,isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._singleCanvas?this._layers[0].dom:this._domRoot},refresh:function(t){var e=this.storage.getDisplayList(!0),i=this._zlevelList;this._paintList(e,t);for(var n=0;n<i[oe];n++){var r=i[n],a=this._layers[r];!a.isBuildin&&a.refresh&&a.refresh()}return this},_paintList:function(t,e){null==e&&(e=!1),this._updateLayerStatus(t);var i,l,c,u=this._width,d=this._height;this.eachBuildinLayer(n);for(var f=null,p=0,m=t[oe];m>p;p++){var g=t[p],v=this._singleCanvas?0:g[Y];if(l!==v&&(l=v,i=this.getLayer(l),i.isBuildin||h("ZLevel "+l+" has been used by unkown layer "+i.id),c=i.ctx,i.__unusedCount=0,(i.__dirty||e)&&i.clear()),(i.__dirty||e)&&!g.invisible&&0!==g.style[R]&&g.scale[0]&&g.scale[1]&&(!g.culling||!a(g,u,d))){var y=g.__clipPaths;o(y,f)&&(f&&c.restore(),y&&(c.save(),s(y,c)),f=y),g.beforeBrush&&g.beforeBrush(c),g.brush(c,!1),g.afterBrush&&g.afterBrush(c)}g.__dirty=!1}f&&c.restore(),this.eachBuildinLayer(r)},getLayer:function(t){if(this._singleCanvas)return this._layers[0];var e=this._layers[t];return e||(e=new f("zr_"+t,this,this.dpr),e.isBuildin=!0,this._layerConfig[t]&&u.merge(e,this._layerConfig[t],!0),this.insertLayer(t,e),e.initContext()),e},insertLayer:function(t,e){var n=this._layers,r=this._zlevelList,a=r[oe],o=null,s=-1,l=this._domRoot;if(n[t])return void h("ZLevel "+t+" has been used already");if(!i(e))return void h("Layer of zlevel "+t+" is not valid");if(a>0&&t>r[0]){for(s=0;a-1>s&&!(r[s]<t&&r[s+1]>t);s++);o=n[r[s]]}if(r[ie](s+1,0,t),o){var c=o.dom;c.nextSibling?l.insertBefore(e.dom,c.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom);n[t]=e},eachLayer:function(t,e){var i,n,r=this._zlevelList;for(n=0;n<r[oe];n++)i=r[n],t.call(e,this._layers[i],i)},eachBuildinLayer:function(t,e){var i,n,r,a=this._zlevelList;for(r=0;r<a[oe];r++)n=a[r],i=this._layers[n],i.isBuildin&&t.call(e,i,n)},eachOtherLayer:function(t,e){var i,n,r,a=this._zlevelList;for(r=0;r<a[oe];r++)n=a[r],i=this._layers[n],i.isBuildin||t.call(e,i,n)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){var e=this._layers,i={};this.eachBuildinLayer(function(t,e){i[e]=t.elCount,t.elCount=0});for(var n=0,r=t[oe];r>n;n++){var a=t[n],o=this._singleCanvas?0:a[Y],s=e[o];if(s){if(s.elCount++,s.__dirty)continue;s.__dirty=a.__dirty}}this.eachBuildinLayer(function(t,e){i[e]!==t.elCount&&(t.__dirty=!0)})},clear:function(){return this.eachBuildinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},configLayer:function(t,e){if(e){var i=this._layerConfig;i[t]?u.merge(i[t],e,!0):i[t]=e;var n=this._layers[t];n&&u.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[ie](u[q](i,t),1))},resize:function(t,e){var i=this._domRoot;if(i.style.display="none",t=t||this._getWidth(),e=e||this._getHeight(),i.style.display="",this._width!=t||e!=this._height){i.style.width=t+"px",i.style[fe]=e+"px";for(var n in this._layers)this._layers[n][be](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 f("image",this,t.pixelRatio||this.dpr);e.initContext();var i=e.ctx;e.clearColor=t[Pe],e.clear();for(var n=this.storage.getDisplayList(!0),r=0;r<n[oe];r++){var a=n[r];a.invisible||(a.beforeBrush&&a.beforeBrush(i),a.brush(i,!1),a.afterBrush&&a.afterBrush(i))}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getWidth:function(){var t=this.root,i=document.defaultView.getComputedStyle(t);return(t.clientWidth||e(i.width)||e(t.style.width))-(e(i.paddingLeft)||0)-(e(i.paddingRight)||0)|0},_getHeight:function(){var t=this.root,i=document.defaultView.getComputedStyle(t);return(t.clientHeight||e(i[fe])||e(t.style[fe]))-(e(i.paddingTop)||0)-(e(i.paddingBottom)||0)|0},_pathToImage:function(e,i,n,r,a){var o=document[k]("canvas"),s=o[z]("2d");o.width=n*a,o[fe]=r*a,s.clearRect(0,0,n*a,r*a);var l={position:i[O],rotation:i.rotation,scale:i.scale};i[O]=[0,0,0],i.rotation=0,i.scale=[1,1],i&&i.brush(s);var c=t("./graphic/Image"),u=new c({id:e,style:{x:0,y:0,image:o}});return null!=l[O]&&(u[O]=i[O]=l[O]),null!=l.rotation&&(u.rotation=i.rotation=l.rotation),null!=l.scale&&(u.scale=i.scale=l.scale),u},_createPathToImage:function(){var t=this;return function(e,i,n,r){return t._pathToImage(e,i,n,r,t.dpr)}}},g}),e("echarts/chart/helper/createListFromArray",[Oe,"../../data/List","../../data/helper/completeDimensions",Re,"../../util/model","../../CoordinateSystem"],function(t){function e(t){for(var e=0;e<t[oe]&&null==t[e];)e++;return t[e]}function i(t){var i=e(t);return null!=i&&!c[X](f(i))}function n(t,e,n){if(t=t||[],!c[X](t))throw new Error("Invalid data.");var r=e.get(ze),a=m[r],u=h.get(r),d=a&&a(t,e,n),g=d&&d[S];g||(g=u&&u[S]||["x","y"],g=l(g,t,g[L](["value"])));var v,y=d&&d.categoryAxisModel,x=g[0].type===T?0:g[1].type===T?1:-1,_=new s(g,e),b=o(d,t),w=y&&i(t)?function(t,e,i,n){return n===x?i:p(f(t),g[n])}:function(t,e,i,n){var r=f(t),a=p(r&&r[n],g[n]);return x===n&&typeof a===we&&(v=v||y.getCategories(),a=c[q](v,a),0>a&&!isNaN(a)&&(a=+a)),a};return _.initData(t,b,w),_}function r(t){return t!==A&&"time"!==t}function a(t){return t===A?T:"time"===t?"time":"float"}function o(t,e){var i=[];if(t&&t.categoryAxisModel){var n=t.categoryAxisModel.getCategories();if(n){var r=e[oe];if(c[X](e[0])&&e[0][oe]>1){i=[];for(var a=0;r>a;a++)i[a]=n[e[a][t.categoryIndex||0]]}else i=n.slice(0)}}return i}var s=t("../../data/List"),l=t("../../data/helper/completeDimensions"),c=t(Re),u=t("../../util/model"),h=t("../../CoordinateSystem"),f=u.getDataItemValue,p=u.converDataValue,m={cartesian2d:function(t,e,i){var n=i[P]("xAxis",e.get("xAxisIndex")),o=i[P]("yAxis",e.get("yAxisIndex"));if(!n||!o)throw new Error("Axis option not found");var s=n.get("type"),c=o.get("type"),u=[{name:"x",type:a(s),stackable:r(s)},{name:"y",type:a(c),stackable:r(c)}],h=s===A;return l(u,t,["x","y","z"]),{dimensions:u,categoryIndex:h?0:1,categoryAxisModel:h?n:c===A?o:null}},polar:function(t,e,i){var n=e.get("polarIndex")||0,o=function(t){return t.get("polarIndex")===n},s=i.findComponents({mainType:"angleAxis",filter:o})[0],c=i.findComponents({mainType:"radiusAxis",filter:o})[0];if(!s||!c)throw new Error("Axis option not found");var u=c.get("type"),h=s.get("type"),f=[{name:"radius",type:a(u),stackable:r(u)},{name:"angle",type:a(h),stackable:r(h)}],p=h===A;return l(f,t,[d,"angle","value"]),{dimensions:f,categoryIndex:p?1:0,categoryAxisModel:p?s:u===A?c:null}},geo:function(t){return{dimensions:l([{name:"lng"},{name:"lat"}],t,["lng","lat","value"])}}};return n}),e("zrender/animation/Animation",[Oe,n,"../core/event","./Animator"],function(t){var e=t(n),i=t("../core/event").Dispatcher,r="undefined"!=typeof window&&(window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)},a=t("./Animator"),o=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time=0,i.call(this)};return o[Me]={constructor:o,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t[w]=this;for(var e=t.getClips(),i=0;i<e[oe];i++)this.addClip(e[i])},removeClip:function(t){var i=e[q](this._clips,t);i>=0&&this._clips[ie](i,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i<e[oe];i++)this.removeClip(e[i]);t[w]=null},_update:function(){for(var t=(new Date).getTime(),e=t-this._time,i=this._clips,n=i[oe],r=[],a=[],o=0;n>o;o++){var s=i[o],l=s.step(t);l&&(r.push(l),a.push(s))}for(var o=0;n>o;)i[o]._needsRemove?(i[o]=i[n-1],i.pop(),n--):o++;n=r[oe];for(var o=0;n>o;o++)a[o].fire(r[o]);this._time=t,this.onframe(e),this[ae]("frame",e),this.stage[he]&&this.stage[he]()},start:function(){function t(){e._running&&(r(t),e._update())}var e=this;this._running=!0,this._time=(new Date).getTime(),r(t)},stop:function(){this._running=!1},clear:function(){this._clips=[]},animate:function(t,e){e=e||{};var i=new a(t,e.loop,e.getter,e.setter);return i}},e.mixin(o,i),o}),e("zrender/graphic/helper/smoothSpline",[Oe,"../../core/vector"],function(t){function e(t,e,i,n,r,a,o){var s=.5*(i-t),l=.5*(n-e);return(2*(e-i)+s+l)*o+(-3*(e-i)-2*s-l)*a+s*r+e}var i=t("../../core/vector");return function(t,n){for(var r=t[oe],a=[],o=0,s=1;r>s;s++)o+=i.distance(t[s-1],t[s]);var l=o/2;l=r>l?r:l;for(var s=0;l>s;s++){var c,u,h,d=s/(l-1)*(n?r:r-1),f=Math.floor(d),p=d-f,m=t[f%r];n?(c=t[(f-1+r)%r],u=t[(f+1)%r],h=t[(f+2)%r]):(c=t[0===f?f:f-1],u=t[f>r-2?r-1:f+1],h=t[f>r-3?r-1:f+2]);var g=p*p,v=p*g;a.push([e(c[0],m[0],u[0],h[0],p,g,v),e(c[1],m[1],u[1],h[1],p,g,v)])}return a}}),e("zrender/graphic/helper/smoothBezier",[Oe,"../../core/vector"],function(t){var e=t("../../core/vector"),i=e.min,n=e.max,r=e.scale,a=e.distance,o=e.add;return function(t,s,l,c){var u,h,d,f,p=[],m=[],g=[],v=[];if(c){d=[1/0,1/0],f=[-1/0,-1/0];for(var y=0,x=t[oe];x>y;y++)i(d,d,t[y]),n(f,f,t[y]);i(d,d,c[0]),n(f,f,c[1])}for(var y=0,x=t[oe];x>y;y++){var _=t[y];if(l)u=t[y?y-1:x-1],h=t[(y+1)%x];else{if(0===y||y===x-1){p.push(e.clone(t[y]));continue}u=t[y-1],h=t[y+1]}e.sub(m,h,u),r(m,m,s);var b=a(_,u),w=a(_,h),M=b+w;0!==M&&(b/=M,w/=M),r(g,m,-b),r(v,m,w);var S=o([],_,g),T=o([],_,v);c&&(n(S,S,d),i(S,S,f),n(T,T,d),i(T,T,f)),p.push(S),p.push(T)}return l&&p.push(p.shift()),p}}),e("zrender/mixin/Draggable",[Oe],function(){function t(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}return t[Me]={constructor:t,_dragStart:function(t){var e=t[K];e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this._dispatchProxy(e,"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var i=t.offsetX,n=t.offsetY,r=i-this._x,a=n-this._y;this._x=i,this._y=n,e.drift(r,a,t),this._dispatchProxy(e,"drag",t.event);var o=this.findHover(i,n,e),s=this._dropTarget;this._dropTarget=o,e!==o&&(s&&o!==s&&this._dispatchProxy(s,"dragleave",t.event),o&&o!==s&&this._dispatchProxy(o,"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this._dispatchProxy(e,"dragend",t.event),this._dropTarget&&this._dispatchProxy(this._dropTarget,"drop",t.event),this._draggingTarget=null,this._dropTarget=null}},t}),e("zrender/core/event",[Oe,"../mixin/Eventful"],function(t){function e(t){return t.getBoundingClientRect?t.getBoundingClientRect():{left:0,top:0}}function i(t,i){if(i=i||window.event,null!=i.zrX)return i;var n=i.type,r=n&&n[q]("touch")>=0;if(r){var a="touchend"!=n?i.targetTouches[0]:i.changedTouches[0];if(a){var o=e(t);i.zrX=a.clientX-o.left,i.zrY=a.clientY-o.top}}else{var s=e(t);i.zrX=i.clientX-s.left,i.zrY=i.clientY-s.top,i.zrDelta=i.wheelDelta?i.wheelDelta/120:-(i.detail||0)/3}return i}function n(t,e,i){o?t.addEventListener(e,i):t.attachEvent("on"+e,i)}function r(t,e,i){o?t.removeEventListener(e,i):t.detachEvent("on"+e,i)}var a=t("../mixin/Eventful"),o="undefined"!=typeof window&&!!window.addEventListener,s=o?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};return{normalizeEvent:i,addEventListener:n,removeEventListener:r,stop:s,Dispatcher:a}}),e("zrender/core/GestureMgr",[Oe],function(){function t(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}function e(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var i=function(){this._track=[]};i[Me]={constructor:i,recognize:function(t,e){return this._doTrack(t,e),this._recognize(t)},clear:function(){return this._track[oe]=0,this},_doTrack:function(t,e){var i=t.touches;if(i){for(var n={points:[],touches:[],target:e,event:t},r=0,a=i[oe];a>r;r++){var o=i[r];n.points.push([o.clientX,o.clientY]),n.touches.push(o)}this._track.push(n)}},_recognize:function(t){for(var e in n)if(n.hasOwnProperty(e)){var i=n[e](this._track,t);if(i)return i}}};var n={pinch:function(i,n){var r=i[oe];if(r){var a=(i[r-1]||{}).points,o=(i[r-2]||{}).points||a;if(o&&o[oe]>1&&a&&a[oe]>1){var s=t(a)/t(o);!isFinite(s)&&(s=1),n.pinchScale=s;var l=e(a);return n.pinchX=l[0],n.pinchY=l[1],{type:"pinch",target:i[0][K],event:n}}}}};return i}),e("echarts/data/List",[Oe,"../model/Model","./DataDiffer",Re,"../util/model"],function(t){function e(t){return f[X](t)||(t=[t]),t}function i(t,e){var i=t[S],n=new w(f.map(i,t.getDimensionInfo,t),t.hostModel);b(n,t);for(var r=n._storage={},a=t._storage,o=0;o<i[oe];o++){var s=i[o],l=a[s];r[s]=f[q](e,s)>=0?new l.constructor(a[s][oe]):a[s]}return n}var n="undefined",a="undefined"==typeof window?global:window,o=typeof a.Float64Array===n?Array:a.Float64Array,s=typeof a.Int32Array===n?Array:a.Int32Array,l={"float":o,"int":s,ordinal:Array,number:Array,time:Array},c=t("../model/Model"),d=t("./DataDiffer"),f=t(Re),m=t("../util/model"),g=f[ue],v=["stackedOn","_nameList","_idList","_rawData"],b=function(t,e){f.each(v[L](e.__wrappedMethods||[]),function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t.__wrappedMethods=e.__wrappedMethods},w=function(t,e){t=t||["x","y"];for(var i={},n=[],r=0;r<t[oe];r++){var a,o={};typeof t[r]===we?(a=t[r],o={name:a,stackable:!1,type:"number"}):(o=t[r],a=o.name,o.type=o.type||"number"),n.push(a),i[a]=o}this[S]=n,this._dimensionInfos=i,this.hostModel=e,this.dataType,this.indices=[],this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this.stackedOn=null,this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._rawData,this._extent},M=w[Me];M.type="list",M.getDimension=function(t){return isNaN(t)||(t=this[S][t]||t),t},M.getDimensionInfo=function(t){return f.clone(this._dimensionInfos[this.getDimension(t)])},M.initData=function(t,e,i){if(t=t||[],!f[X](t))throw new Error("Invalid data.");this._rawData=t;var n=this._storage={},r=this.indices=[],a=this[S],o=t[oe],s=this._dimensionInfos,c=[],u={};e=e||[];for(var h=0;h<a[oe];h++){var d=s[a[h]],p=l[d.type];n[a[h]]=new p(o)}i=i||function(t,e,i,n){var r=m.getDataItemValue(t);return m.converDataValue(f[X](r)?r[n]:r,s[e])};for(var g=0;g<t[oe];g++){for(var v=t[g],y=0;y<a[oe];y++){var x=a[y],_=n[x];_[g]=i(v,x,g,y)}r.push(g)}for(var h=0;h<t[oe];h++){var b="";e[h]||(e[h]=t[h].name,b=t[h].id);var w=e[h]||"";!b&&w&&(u[w]=u[w]||0,b=w,u[w]>0&&(b+="__ec__"+u[w]),u[w]++),b&&(c[h]=b)}this._nameList=e,this._idList=c},M.count=function(){return this.indices[oe]},M.get=function(t,e,i){var n=this._storage,r=this.indices[e];if(null==r)return 0/0;var a=n[t]&&n[t][r];if(i){var o=this._dimensionInfos[t];if(o&&o.stackable)for(var s=this.stackedOn;s;){var l=s.get(t,e);(a>=0&&l>0||0>=a&&0>l)&&(a+=l),s=s.stackedOn}}return a},M.getValues=function(t,e,i){var n=[];f[X](t)||(i=e,e=t,t=this[S]);for(var r=0,a=t[oe];a>r;r++)n.push(this.get(t[r],e,i));return n},M.hasValue=function(t){for(var e=this[S],i=this._dimensionInfos,n=0,r=e[oe];r>n;n++)if(i[e[n]].type!==T&&isNaN(this.get(e[n],t)))return!1;return!0},M.getDataExtent=function(t,e){var i=this._storage[t],n=this.getDimensionInfo(t);e=n&&n.stackable&&e;var r,a=(this._extent||(this._extent={}))[t+!!e];if(a)return a;if(i){for(var o=1/0,s=-1/0,l=0,c=this.count();c>l;l++)r=this.get(t,l,e),o>r&&(o=r),r>s&&(s=r);return this._extent[t+e]=[o,s]}return[1/0,-1/0]},M.getSum=function(t,e){var i=this._storage[t],n=0;if(i)for(var r=0,a=this.count();a>r;r++){var o=this.get(t,r,e);isNaN(o)||(n+=o)}return n},M[q]=function(t,e){var i=this._storage,n=i[t],r=this.indices;if(n)for(var a=0,o=r[oe];o>a;a++){var s=r[a];if(n[s]===e)return a}return-1},M[u]=function(t){for(var e=this.indices,i=this._nameList,n=0,r=e[oe];r>n;n++){var a=e[n];if(i[a]===t)return n}return-1},M.indexOfNearest=function(t,e,i){var n=this._storage,r=n[t];if(r){for(var a=Number.MAX_VALUE,o=-1,s=0,l=this.count();l>s;s++){var c=e-this.get(t,s,i),u=Math.abs(c);(a>u||u===a&&c>0)&&(a=u,o=s)}return o}return-1},M.getRawIndex=function(t){var e=this.indices[t];return null==e?-1:e},M.getRawDataItem=function(t){return this._rawData[this.getRawIndex(t)]},M[p]=function(t){return this._nameList[this.indices[t]]||""},M.getId=function(t){return this._idList[this.indices[t]]||this.getRawIndex(t)+""},M.each=function(t,i,n,r){typeof t===W&&(r=n,n=i,i=t,t=[]),t=f.map(e(t),this.getDimension,this);var a=[],o=t[oe],s=this.indices;r=r||this;for(var l=0;l<s[oe];l++)if(0===o)i.call(r,l);else if(1===o)i.call(r,this.get(t[0],l,n),l);else{for(var c=0;o>c;c++)a[c]=this.get(t[c],l,n);a[c]=l,i.apply(r,a)}},M.filterSelf=function(t,i,n,r){typeof t===W&&(r=n,n=i,i=t,t=[]),t=f.map(e(t),this.getDimension,this);var a=[],o=[],s=t[oe],l=this.indices;r=r||this;for(var c=0;c<l[oe];c++){var u;if(1===s)u=i.call(r,this.get(t[0],c,n),c);else{for(var h=0;s>h;h++)o[h]=this.get(t[h],c,n);o[h]=c,u=i.apply(r,o)}u&&a.push(l[c])}return this.indices=a,this._extent={},this},M[h]=function(t,e,i,n){typeof t===W&&(n=i,i=e,e=t,t=[]);var r=[];return this.each(t,function(){r.push(e&&e.apply(this,arguments))},i,n),r},M.map=function(t,n,r,a){t=f.map(e(t),this.getDimension,this);var o=i(this,t),s=o.indices=this.indices,l=o._storage,c=[];return this.each(t,function(){var e=arguments[arguments[oe]-1],i=n&&n.apply(this,arguments);if(null!=i){"number"==typeof i&&(c[0]=i,i=c);for(var r=0;r<i[oe];r++){var a=t[r],o=l[a],u=s[e];o&&(o[u]=i[r])}}},r,a),o},M.downSample=function(t,e,n,r){for(var a=i(this,[t]),o=this._storage,s=a._storage,l=this.indices,c=a.indices=[],u=[],h=[],d=Math.floor(1/e),f=s[t],p=this.count(),m=0;m<o[t][oe];m++)s[t][m]=o[t][m];for(var m=0;p>m;m+=d){d>p-m&&(d=p-m,u[oe]=d);for(var g=0;d>g;g++){var v=l[m+g];u[g]=f[v],h[g]=v}var y=n(u),v=h[r(u,y)||0];f[v]=y,c.push(v)}return a},M[_]=function(t){var e=this.hostModel;return t=this.indices[t],new c(this._rawData[t],e,e&&e[r])},M.diff=function(t){var e=this._idList,i=t&&t._idList;return new d(t?t.indices:[],this.indices,function(t){return i[t]||t+""},function(t){return e[t]||t+""})},M.getVisual=function(t){var e=this._visual;return e&&e[t]},M.setVisual=function(t,e){if(g(t))for(var i in t)t.hasOwnProperty(i)&&this.setVisual(i,t[i]);else this._visual=this._visual||{},this._visual[t]=e},M.setLayout=function(t,e){if(g(t))for(var i in t)t.hasOwnProperty(i)&&this.setLayout(i,t[i]);else this._layout[t]=e},M.getLayout=function(t){return this._layout[t]},M.getItemLayout=function(t){return this._itemLayouts[t]},M.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?f[le](this._itemLayouts[t]||{},e):e},M.clearItemLayouts=function(){this._itemLayouts[oe]=0},M[y]=function(t,e,i){var n=this._itemVisuals[t],r=n&&n[e];return null!=r||i?r:this.getVisual(e)},M.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{};if(this._itemVisuals[t]=n,g(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);else n[e]=i};var C=function(t){t[$]=this[$],t[Q]=this[Q],t.dataType=this.dataType};return M.setItemGraphicEl=function(t,e){var i=this.hostModel;e&&(e[Q]=t,e.dataType=this.dataType,e[$]=i&&i[$],"group"===e.type&&e[U](C,e)),this._graphicEls[t]=e},M[x]=function(t){return this._graphicEls[t]},M.eachItemGraphicEl=function(t,e){f.each(this._graphicEls,function(i,n){i&&t&&t.call(e,i,n)})},M.cloneShallow=function(){var t=f.map(this[S],this.getDimensionInfo,this),e=new w(t,this.hostModel);return e._storage=this._storage,b(e,this),e.indices=this.indices.slice(),e},M.wrapMethod=function(t,e){var i=this[t];typeof i===W&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t][L](f.slice(arguments)))})},M.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],M.CHANGABLE_METHODS=["filterSelf"],w}),e("echarts/data/helper/completeDimensions",[Oe,Re],function(t){function e(t,e,a,o){if(!e)return t;var s=n(e[0]),l=r[X](s)&&s[oe]||1;a=a||[],o=o||"extra";for(var c=0;l>c;c++)if(!t[c]){var u=a[c]||o+(c-a[oe]);t[c]=i(e,c)?{type:"ordinal",name:u}:u}return t}function i(t,e){for(var i=0,a=t[oe];a>i;i++){var o=n(t[i]);if(!r[X](o))return!1;var o=o[e];if(null!=o&&isFinite(o))return!1;if(r.isString(o)&&"-"!==o)return!0}return!1}function n(t){return r[X](t)?t:r[ue](t)?t.value:t}var r=t(Re);return e}),e("echarts/component/axis/AxisView",[Oe,Re,M,"./AxisBuilder","../../echarts"],function(t){function e(t,e){function i(t){var e=n[C](t);return e.toGlobalCoord(e.dataToCoord(0))}var n=t[ze],r=e.axis,a={},o=r[O],s=r.onZero?"onZero":o,l=r.dim,c=n.getRect(),u=[c.x,c.x+c.width,c.y,c.y+c[fe]],h={x:{top:u[2],bottom:u[3]},y:{left:u[0],right:u[1]}};h.x.onZero=Math.max(Math.min(i("y"),h.x[pe]),h.x.top),h.y.onZero=Math.max(Math.min(i("x"),h.y.right),h.y.left),a[O]=["y"===l?h.y[s]:u[0],"x"===l?h.x[s]:u[3]];var d={x:0,y:1};a.rotation=Math.PI/2*d[l];var p={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=p[o],r.onZero&&(a.labelOffset=h[l][o]-h[l].onZero),e[_e]("axisTick").get(f)&&(a.tickDirection=-a.tickDirection),e[_e]("axisLabel").get(f)&&(a.labelDirection=-a.labelDirection);var m=e[_e]("axisLabel").get("rotate");return a.labelRotation="top"===s?-m:m,a.labelInterval=r.getLabelInterval(),a.z2=1,a}var i=t(Re),n=t(M),r=t("./AxisBuilder"),a=r.ifIgnoreOnTick,o=r.getInterval,s=["axisLine","axisLabel","axisTick","axisName"],l=["splitLine","splitArea"],c=t("../../echarts").extendComponentView({type:"axis",render:function(t,n){if(this.group[ke](),t.get("show")){var a=n[P]("grid",t.get("gridIndex")),o=e(a,t),c=new r(t,o);i.each(s,c.add,c),this.group.add(c.getGroup()),i.each(l,function(e){t.get(e+".show")&&this["_"+e](t,a,o.labelInterval)},this)}},_splitLine:function(t,e,r){var s=t.axis,l=t[_e]("splitLine"),c=l[_e]("lineStyle"),u=c.get("width"),h=c.get("color"),d=o(l,r);h=i[X](h)?h:[h];for(var f=e[ze].getRect(),p=s.isHorizontal(),m=[],g=0,v=s.getTicksCoords(),y=[],x=[],_=0;_<v[oe];_++)if(!a(s,_,d)){var b=s.toGlobalCoord(v[_]);p?(y[0]=b,y[1]=f.y,x[0]=b,x[1]=f.y+f[fe]):(y[0]=f.x,y[1]=b,x[0]=f.x+f.width,x[1]=b);var w=g++%h[oe];m[w]=m[w]||[],m[w].push(new n.Line(n.subPixelOptimizeLine({shape:{x1:y[0],y1:y[1],x2:x[0],y2:x[1]},style:{lineWidth:u},silent:!0})))}for(var M=c.getLineStyle(),_=0;_<m[oe];_++)this.group.add(n.mergePath(m[_],{style:i[Le]({stroke:h[_%h[oe]]},M),silent:!0}))},_splitArea:function(t,e,r){var s=t.axis,l=t[_e]("splitArea"),c=l[_e]("areaStyle"),u=c.get("color"),h=e[ze].getRect(),d=s.getTicksCoords(),f=s.toGlobalCoord(d[0]),p=s.toGlobalCoord(d[0]),m=[],g=0,v=o(l,r);u=i[X](u)?u:[u];for(var y=1;y<d[oe];y++)if(!a(s,y,v)){var x,_,b,w,M=s.toGlobalCoord(d[y]);s.isHorizontal()?(x=f,_=h.y,b=M-x,w=h[fe]):(x=h.x,_=p,b=h.width,w=M-_);var S=g++%u[oe];m[S]=m[S]||[],m[S].push(new n.Rect({shape:{x:x,y:_,width:b,height:w},silent:!0})),f=x+b,p=_+w}for(var T=c.getAreaStyle(),y=0;y<m[oe];y++)this.group.add(n.mergePath(m[y],{style:i[Le]({fill:u[y%u[oe]]},T),silent:!0}))}});c[le]({type:"xAxis"}),c[le]({type:"yAxis"})}),e("zrender/Layer",[Oe,"./core/util","./config"],function(t){function e(){return!1}function i(t,e,i,n){var r=document[k](e),a=i[xe](),o=i[ye](),s=r.style;return s[O]="absolute",s.left=0,s.top=0,s.width=a+"px",s[fe]=o+"px",r.width=a*n,r[fe]=o*n,r.setAttribute("data-zr-dom-id",t),r}var n=t("./core/util"),r=t("./config"),a=function(t,a,o){var s;o=o||r.devicePixelRatio,typeof t===we?s=i(t,"canvas",a,o):n[ue](t)&&(s=t,t=s.id),this.id=t,this.dom=s;var l=s.style;l&&(s.onselectstart=e,l["-webkit-user-select"]="none",l["user-select"]="none",l["-webkit-touch-callout"]="none",l["-webkit-tap-highlight-color"]="rgba(0,0,0,0)"),this.domBack=null,this.ctxBack=null,this.painter=a,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=o};return a[Me]={constructor:a,elCount:0,__dirty:!0,initContext:function(){this.ctx=this.dom[z]("2d");var t=this.dpr;1!=t&&this.ctx.scale(t,t)},createBackBuffer:function(){var t=this.dpr;this.domBack=i("back-"+this.id,"canvas",this.painter,t),this.ctxBack=this.domBack[z]("2d"),1!=t&&this.ctxBack.scale(t,t)},resize:function(t,e){var i=this.dpr,n=this.dom,r=n.style,a=this.domBack;r.width=t+"px",r[fe]=e+"px",n.width=t*i,n[fe]=e*i,1!=i&&this.ctx.scale(i,i),a&&(a.width=t*i,a[fe]=e*i,1!=i&&this.ctxBack.scale(i,i))},clear:function(t){var e=this.dom,i=this.ctx,n=e.width,r=e[fe],a=this.clearColor,o=this.motionBlur&&!t,s=this.lastFrameAlpha,l=this.dpr;if(o&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(e,0,0,n/l,r/l)),i.clearRect(0,0,n/l,r/l),a&&(i.save(),i.fillStyle=this.clearColor,i.fillRect(0,0,n/l,r/l),i.restore()),o){var c=this.domBack;i.save(),i.globalAlpha=s,i.drawImage(c,0,0,n/l,r/l),i.restore()}}},a}),e("echarts/data/DataDiffer",[Oe],function(){function t(t){return t}function e(e,i,n,r){this._old=e,this._new=i,this._oldKeyGetter=n||t,this._newKeyGetter=r||t}function i(t,e,i){for(var n=0;n<t[oe];n++){var r=i(t[n]),a=e[r];null==a?e[r]=n:(a[oe]||(e[r]=a=[a]),a.push(n))}}return e[Me]={constructor:e,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t,e=this._old,n=this._new,r=this._oldKeyGetter,a=this._newKeyGetter,o={},s={};
for(i(e,o,r),i(n,s,a),t=0;t<e[oe];t++){var l=r(e[t]),c=s[l];if(null!=c){var u=c[oe];u?(1===u&&(s[l]=null),c=c.unshift()):s[l]=null,this._update&&this._update(c,t)}else this._remove&&this._remove(t)}for(var l in s)if(s.hasOwnProperty(l)){var c=s[l];if(null==c)continue;if(c[oe])for(var t=0,u=c[oe];u>t;t++)this._add&&this._add(c[t]);else this._add&&this._add(c)}}},e}),e("echarts/component/axis/AxisBuilder",[Oe,Re,M,"../../model/Model","../../util/number"],function(t){function e(t){var e={componentType:t.mainType};return e[t.mainType+"Index"]=t.componentIndex,e}function i(t,e,i){var n,r,a=u(e-t.rotation);return h(a)?(r=i>0?"top":pe,n=E):h(a-d)?(r=i>0?pe:"top",n=E):(r=B,n=a>0&&d>a?i>0?"right":"left":i>0?"left":"right"),{rotation:a,textAlign:n,verticalAlign:r}}function n(t,e,i){var n,r,a=u(-t.rotation),o=i[0]>i[1],s="start"===e&&!o||"start"!==e&&o;return h(a-d/2)?(r=s?pe:"top",n=E):h(a-1.5*d)?(r=s?"top":pe,n=E):(r=B,n=1.5*d>a&&a>d/2?s?"left":"right":s?"right":"left"),{rotation:a,textAlign:n,verticalAlign:r}}var a=t(Re),o=t(M),s=t("../../model/Model"),c=t("../../util/number"),u=c.remRadian,h=c.isRadianAroundZero,d=Math.PI,f=function(t,e){this.opt=e,this.axisModel=t,a[Le](e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new o.Group({position:e[O].slice(),rotation:e.rotation})};f[Me]={constructor:f,hasBuilder:function(t){return!!p[t]},add:function(t){p[t].call(this)},getGroup:function(){return this.group}};var p={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var i=this.axisModel.axis[D]();this.group.add(new o.Line({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:a[le]({lineCap:"round"},e[_e]("axisLine.lineStyle").getLineStyle()),strokeContainThreshold:t.strokeContainThreshold,silent:!!t.axisLineSilent,z2:1}))}},axisTick:function(){var t=this.axisModel;if(t.get("axisTick.show")){for(var e=t.axis,i=t[_e]("axisTick"),n=this.opt,r=i[_e]("lineStyle"),a=i.get(oe),s=g(i,n.labelInterval),l=e.getTicksCoords(),c=[],u=0;u<l[oe];u++)if(!m(e,u,s)){var h=l[u];c.push(new o.Line(o.subPixelOptimizeLine({shape:{x1:h,y1:0,x2:h,y2:n.tickDirection*a},style:{lineWidth:r.get("width")},silent:!0})))}this.group.add(o.mergePath(c,{style:r.getLineStyle(),z2:2,silent:!0}))}},axisLabel:function(){function t(t,e){var i=t&&t[V]().clone(),n=e&&e[V]().clone();return i&&n?(i[l](t.getLocalTransform()),n[l](e.getLocalTransform()),i.intersect(n)):void 0}var n=this.axisModel;if(n.get("axisLabel.show")){var a=this.opt,c=n.axis,u=n[_e]("axisLabel"),h=u[_e](Z),f=u.get("margin"),p=c.scale.getTicks(),g=n.getFormattedLabels(),v=a.labelRotation;null==v&&(v=u.get("rotate")||0),v=v*d/180;for(var y=i(a,v,a.labelDirection),x=n.get("data"),_=[],b=n.get("silent"),w=0;w<p[oe];w++)if(!m(c,w,a.labelInterval)){var M=h;x&&x[w]&&x[w][Z]&&(M=new s(x[w][Z],h,n[r]));var S=M[N](),T=c.dataToCoord(p[w]),C=[T,a.labelOffset+a.labelDirection*f],P=c.scale.getLabel(p[w]),L=new o.Text({style:{text:g[w],textAlign:M.get("align",!0)||y[F],textVerticalAlign:M.get("baseline",!0)||y.verticalAlign,textFont:M[G](),fill:typeof S===W?S(P):S},position:C,rotation:y.rotation,silent:b,z2:10});L.eventData=e(n),L.eventData.targetType="axisLabel",L.eventData.value=P,_.push(L),this.group.add(L)}if(c.type!==A){if(n.getMin?n.getMin():n.get("min")){var z=_[0],k=_[1];t(z,k)&&(z[me]=!0)}if(n.getMax?n.getMax():n.get("max")){var D=_[_[oe]-1],I=_[_[oe]-2];t(I,D)&&(D[me]=!0)}}}},axisName:function(){var t=this.opt,r=this.axisModel,a=this.opt.axisName;if(null==a&&(a=r.get("name")),a){var s,l=r.get("nameLocation"),c=t.nameDirection,u=r[_e]("nameTextStyle"),h=r.get("nameGap")||0,d=this.axisModel.axis[D](),f=d[0]>d[1]?-1:1,p=["start"===l?d[0]-f*h:"end"===l?d[1]+f*h:(d[0]+d[1])/2,l===B?t.labelOffset+c*h:0];s=l===B?i(t,t.rotation,c):n(t,l,d);var m=new o.Text({style:{text:a,textFont:u[G](),fill:u[N]()||r.get("axisLine.lineStyle.color"),textAlign:s[F],textVerticalAlign:s.verticalAlign},position:p,rotation:s.rotation,silent:r.get("silent"),z2:1});m.eventData=e(r),m.eventData.targetType="axisName",m.eventData.name=a,this.group.add(m)}}},m=f.ifIgnoreOnTick=function(t,e,i){var n,r=t.scale;return r.type===T&&(typeof i===W?(n=r.getTicks()[e],!i(n,r.getLabel(n))):e%(i+1))},g=f.getInterval=function(t,e){var i=t.get("interval");return(null==i||"auto"==i)&&(i=e),i};return f}),e("echarts/preprocessor/helper/compatStyle",[Oe,Re],function(t){function e(t){var e=t&&t.itemStyle;e&&i.each(n,function(n){var r=e[b],a=e[v];r&&r[n]&&(t[n]=t[n]||{},t[n][b]?i.merge(t[n][b],r[n]):t[n][b]=r[n],r[n]=null),a&&a[n]&&(t[n]=t[n]||{},t[n][v]?i.merge(t[n][v],a[n]):t[n][v]=a[n],a[n]=null)})}var i=t(Re),n=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];return function(t){if(t){e(t),e(t.markPoint),e(t.markLine);var n=t.data;if(n){for(var r=0;r<n[oe];r++)e(n[r]);var a=t.markPoint;if(a&&a.data)for(var o=a.data,r=0;r<o[oe];r++)e(o[r]);var s=t.markLine;if(s&&s.data)for(var l=s.data,r=0;r<l[oe];r++)i[X](l[r])?(e(l[r][0]),e(l[r][1])):e(l[r])}}}}),e("echarts/chart/bar/barItemStyle",[Oe,"../../model/mixin/makeStyleMapper"],function(t){return{getBarItemStyle:t("../../model/mixin/makeStyleMapper")([["fill","color"],[o,"borderColor"],[s,"borderWidth"],[o,"barBorderColor"],[s,"barBorderWidth"],[R],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]])}}),e("echarts/chart/helper/SymbolDraw",[Oe,M,"./Symbol"],function(t){function e(t){this.group=new n.Group,this._symbolCtor=t||r}function i(t,e,i){var n=t.getItemLayout(e);return!(!n||isNaN(n[0])||isNaN(n[1])||i&&i(e)||"none"===t[y](e,"symbol"))}var n=t(M),r=t("./Symbol"),a=e[Me];return a.updateData=function(t,e){var r=this.group,a=t.hostModel,o=this._data,s=this._symbolCtor;t.diff(o).add(function(n){var a=t.getItemLayout(n);if(i(t,n,e)){var o=new s(t,n);o.attr(O,a),t.setItemGraphicEl(n,o),r.add(o)}})[he](function(l,c){var u=o[x](c),h=t.getItemLayout(l);return i(t,l,e)?(u?(u.updateData(t,l),n.updateProps(u,{position:h},a)):(u=new s(t,l),u.attr(O,h)),r.add(u),void t.setItemGraphicEl(l,u)):void r[ce](u)})[ce](function(t){var e=o[x](t);e&&e.fadeOut(function(){r[ce](e)})}).execute(),this._data=t},a.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl(function(e,i){e.attr(O,t.getItemLayout(i))})},a[ce]=function(t){var e=this.group,i=this._data;i&&(t?i.eachItemGraphicEl(function(t){t.fadeOut(function(){e[ce](t)})}):e[ke]())},e}),e("echarts/chart/line/lineAnimationDiff",[Oe],function(){function t(t){return t>=0?1:-1}function e(e,i,n){for(var r,a=e.getBaseAxis(),o=e.getOtherAxis(a),s=a.onZero?0:o.scale[D]()[0],l=o.dim,c="x"===l||l===d?1:0,u=i.stackedOn,h=i.get(l,n);u&&t(u.get(l,n))===t(h);){r=u;break}var f=[];return f[c]=i.get(a.dim,n),f[1-c]=r?r.get(l,n,!0):s,e[g](f)}function i(t,e){var i=[];return e.diff(t).add(function(t){i.push({cmd:"+",idx:t})})[he](function(t,e){i.push({cmd:"=",idx:e,idx1:t})})[ce](function(t){i.push({cmd:"-",idx:t})}).execute(),i}return function(t,n,r,a,o,s){for(var l=i(t,n),c=[],u=[],h=[],d=[],f=[],p=[],m=[],v=s[S],y=0;y<l[oe];y++){var x=l[y],_=!0;switch(x.cmd){case"=":var b=t.getItemLayout(x.idx),w=n.getItemLayout(x.idx1);(isNaN(b[0])||isNaN(b[1]))&&(b=w.slice()),c.push(b),u.push(w),h.push(r[x.idx]),d.push(a[x.idx1]),m.push(n.getRawIndex(x.idx1));break;case"+":var M=x.idx;c.push(o[g]([n.get(v[0],M,!0),n.get(v[1],M,!0)])),u.push(n.getItemLayout(M).slice()),h.push(e(o,n,M)),d.push(a[M]),m.push(n.getRawIndex(M));break;case"-":var M=x.idx,T=t.getRawIndex(M);T!==M?(c.push(t.getItemLayout(M)),u.push(s[g]([t.get(v[0],M,!0),t.get(v[1],M,!0)])),h.push(r[M]),d.push(e(s,t,M)),m.push(T)):_=!1}_&&(f.push(x),p.push(p[oe]))}p.sort(function(t,e){return m[t]-m[e]});for(var C=[],A=[],P=[],L=[],z=[],y=0;y<p[oe];y++){var M=p[y];C[y]=c[M],A[y]=u[M],P[y]=h[M],L[y]=d[M],z[y]=f[M]}return{current:C,next:A,stackedOnCurrent:P,stackedOnNext:L,status:z}}}),e("echarts/chart/line/poly",[Oe,"zrender/graphic/Path",Ce],function(t){function e(t){return isNaN(t[0])||isNaN(t[1])}function n(t,n,r,a,p,m,g,v,y,x,_){for(var b=0,w=r,M=0;a>M;M++){var S=n[w];if(w>=p||0>w)break;if(e(S)){if(_){w+=m;continue}break}if(w===r)t[m>0?i:"lineTo"](S[0],S[1]),u(d,S);else if(y>0){var T=w+m,C=n[T];if(_)for(;C&&e(n[T]);)T+=m,C=n[T];var A=.5,P=n[b],C=n[T];if(!C||e(C))u(f,S);else{e(C)&&!_&&(C=S),o.sub(h,C,P);var L,z;if("x"===x||"y"===x){var k="x"===x?0:1;L=Math.abs(S[k]-P[k]),z=Math.abs(S[k]-C[k])}else L=o.dist(S,P),z=o.dist(S,C);A=z/(z+L),c(f,S,h,-y*(1-A))}s(d,d,v),l(d,d,g),s(f,f,v),l(f,f,g),t.bezierCurveTo(d[0],d[1],f[0],f[1],S[0],S[1]),c(d,S,h,y*A)}else t.lineTo(S[0],S[1]);b=w,w+=m}return M}function r(t,e){var i=[1/0,1/0],n=[-1/0,-1/0];if(e)for(var r=0;r<t[oe];r++){var a=t[r];a[0]<i[0]&&(i[0]=a[0]),a[1]<i[1]&&(i[1]=a[1]),a[0]>n[0]&&(n[0]=a[0]),a[1]>n[1]&&(n[1]=a[1])}return{min:e?i:n,max:e?n:i}}var a=t("zrender/graphic/Path"),o=t(Ce),s=o.min,l=o.max,c=o.scaleAndAdd,u=o.copy,h=[],d=[],f=[];return{Polyline:a[le]({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},buildPath:function(t,i){var a=i.points,o=0,s=a[oe],l=r(a,i.smoothConstraint);if(i.connectNulls){for(;s>0&&e(a[s-1]);s--);for(;s>o&&e(a[o]);o++);}for(;s>o;)o+=n(t,a,o,s,s,1,l.min,l.max,i.smooth,i.smoothMonotone,i.connectNulls)+1}}),Polygon:a[le]({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},buildPath:function(t,i){var a=i.points,o=i.stackedOnPoints,s=0,l=a[oe],c=i.smoothMonotone,u=r(a,i.smoothConstraint),h=r(o,i.smoothConstraint);if(i.connectNulls){for(;l>0&&e(a[l-1]);l--);for(;l>s&&e(a[s]);s++);}for(;l>s;){var d=n(t,a,s,l,l,1,u.min,u.max,i.smooth,c,i.connectNulls);n(t,o,s+d-1,d,l,-1,h.min,h.max,i.stackedOnSmooth,c,i.connectNulls),s+=d+1,t.closePath()}}})}}),e("echarts/chart/helper/Symbol",[Oe,Re,"../../util/symbol",M,"../../util/number"],function(t){function e(t){return r[X](t)||(t=[+t,+t]),t}function i(t,e){s.Group.call(this),this.updateData(t,e)}function n(t,e){this[a].drift(t,e)}var r=t(Re),o=t("../../util/symbol"),s=t(M),l=t("../../util/number"),c=i[Me];c._createSymbol=function(t,i,r){this[ke]();var a=i.hostModel,l=i[y](r,"color"),c=o.createSymbol(t,-.5,-.5,1,1,l);c.attr({z2:100,culling:!0,scale:[0,0]}),c.drift=n;var u=e(i[y](r,"symbolSize"));s.initProps(c,{scale:u},a,r),this._symbolType=t,this.add(c)},c.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},c.getScale=function(){return this.childAt(0).scale},c.highlight=function(){this.childAt(0)[ae](v)},c.downplay=function(){this.childAt(0)[ae](b)},c.setZ=function(t,e){var i=this.childAt(0);i[Y]=t,i.z=e},c.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":"pointer"},c.updateData=function(t,i){var n=t[y](i,"symbol")||"circle",r=t.hostModel,a=e(t[y](i,"symbolSize"));if(n!==this._symbolType)this._createSymbol(n,t,i);else{var o=this.childAt(0);s.updateProps(o,{scale:a},r,i)}this._updateCommon(t,i,a),this._seriesModel=r};var u=["itemStyle",b],h=["itemStyle",v],d=["label",b],f=["label",v];return c._updateCommon=function(t,i,n){var a=this.childAt(0),o=t.hostModel,c=t[_](i),p=c[_e](u),m=t[y](i,"color");"image"!==a.type&&a.useStyle({strokeNoScale:!0});var g=a.style,x=c[_e](h)[Ae]();a.rotation=(c.getShallow("symbolRotate")||0)*Math.PI/180||0;var w=c.getShallow("symbolOffset");if(w){var M=a[O];M[0]=l.parsePercent(w[0],n[0]),M[1]=l.parsePercent(w[1],n[1])}a.setColor(m),r[le](g,p[Ae](["color"]));var C=t[y](i,R);null!=C&&(g[R]=C);for(var A,P,L=c[_e](d),z=c[_e](f),k=t[S].slice();k[oe]&&(A=k.pop(),P=t.getDimensionInfo(A).type,P===T||"time"===P););null!=A&&L.get("show")?(s.setText(g,L,m),g.text=r.retrieve(o.getFormattedLabel(i,b),t.get(A,i))):g.text="",null!=A&&z.getShallow("show")?(s.setText(x,z,m),x.text=r.retrieve(o.getFormattedLabel(i,v),t.get(A,i))):x.text="";var D=e(t[y](i,"symbolSize"));if(a.off(ee).off(te).off(v).off(b),s.setHoverStyle(a,x),c.getShallow("hoverAnimation")){var I=function(){var t=D[1]/D[0];this.animateTo({scale:[Math.max(1.1*D[0],D[0]+3),Math.max(1.1*D[1],D[1]+3*t)]},400,"elasticOut")},E=function(){this.animateTo({scale:D},400,"elasticOut")};a.on(ee,I).on(te,E).on(v,I).on(b,E)}},c.fadeOut=function(t){var e=this.childAt(0);e.off(ee).off(te).off(v).off(b),e.style.text="",s.updateProps(e,{scale:[0,0]},this._seriesModel,this[Q],t)},r[H](i,s.Group),i}),e("echarts/chart/pie/labelLayout",[Oe,"zrender/contain/text"],function(t){function e(t,e,i,n,r,a,o){function s(e,i,n){for(var r=e;i>r;r++)if(t[r].y+=n,r>e&&i>r+1&&t[r+1].y>t[r].y+t[r][fe])return void l(r,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][fe]));n--);}function c(t,e,i,n,r,a){for(var o=a>0?e?Number.MAX_VALUE:0:e?Number.MAX_VALUE:0,s=0,l=t[oe];l>s;s++)if(t[s][O]!==E){var c=Math.abs(t[s].y-n),u=t[s].len,h=t[s].len2,d=r+u>c?Math.sqrt((r+u+h)*(r+u+h)-c*c):Math.abs(t[s].x-i);e&&d>=o&&(d=o-10),!e&&o>=d&&(d=o+10),t[s].x=i+d*a,o=d}}t.sort(function(t,e){return t.y-e.y});for(var u,h=0,d=t[oe],f=[],p=[],m=0;d>m;m++)u=t[m].y-h,0>u&&s(m,d,-u,r),h=t[m].y+t[m][fe];0>o-h&&l(d-1,h-o);for(var m=0;d>m;m++)t[m].y>=i?p.push(t[m]):f.push(t[m]);c(f,!1,e,i,n,r),c(p,!0,e,i,n,r)}function i(t,i,n,r,a,o){for(var s=[],l=[],c=0;c<t[oe];c++)t[c].x<i?s.push(t[c]):l.push(t[c]);e(l,i,n,r,1,a,o),e(s,i,n,r,-1,a,o);for(var c=0;c<t[oe];c++){var u=t[c].linePoints;if(u){var h=u[1][0]-u[2][0];u[2][0]=t[c].x<i?t[c].x+3:t[c].x-3,u[1][1]=u[2][1]=t[c].y,u[1][0]=u[2][0]+h}}}var n=t("zrender/contain/text");return function(t,e,r,a){var o,s,l=t[Ie](),c=[],u=!1;l.each(function(i){var r,a,h,d,m=l.getItemLayout(i),g=l[_](i),v=g[_e]("label.normal"),y=v.get(O)||g.get("label.emphasis.position"),x=g[_e]("labelLine.normal"),w=x.get(oe),M=x.get("length2"),S=(m.startAngle+m.endAngle)/2,T=Math.cos(S),C=Math.sin(S);o=m.cx,s=m.cy;var A=y===f||"inner"===y;if(y===E)r=m.cx,a=m.cy,d=E;else{var P=(A?(m.r+m.r0)/2*T:m.r*T)+o,L=(A?(m.r+m.r0)/2*C:m.r*C)+s;if(r=P+3*T,a=L+3*C,!A){var z=P+T*(w+e-m.r),k=L+C*(w+e-m.r),D=z+(0>T?-1:1)*M,I=k;r=D+(0>T?-5:5),a=I,h=[[P,L],[z,k],[D,I]]}d=A?E:T>0?"left":"right"}var R=v[_e](Z)[G](),B=v.get("rotate")?0>T?-S+Math.PI:-S:0,N=t.getFormattedLabel(i,b)||l[p](i),F=n[V](N,R,d,"top");u=!!B,m.label={x:r,y:a,position:y,height:F[fe],len:w,len2:M,linePoints:h,textAlign:d,verticalAlign:"middle",font:R,rotation:B},A||c.push(m.label)}),!u&&t.get("avoidLabelOverlap")&&i(c,o,s,e,r,a)}}),e("echarts/component/helper/MapDraw",[Oe,"./RoamController",M,Re],function(t){function e(t){var e=t[Ae](),i=t.get("areaColor");return i&&(e.fill=i),e}function i(t,e,i,r){e.off("click"),t.get("selectedMode")&&e.on("click",function(o){for(var s=o[K];!s.__region;)s=s[a];if(s){var l=s.__region,c={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",name:l.name,from:r.uid};c[t.mainType+"Id"]=t.id,i[se](c),n(t,e)}})}function n(t,e){e.eachChild(function(e){e.__region&&e[ae](t.isSelected(e.__region.name)?v:b)})}function r(t,e){var i=new s.Group;this._controller=new o(t.getZr(),e?i:null,null),this.group=i,this._updateGroup=e}var o=t("./RoamController"),s=t(M),l=t(Re);return r[Me]={constructor:r,draw:function(t,r,a,o,c){var h=t[Ie]&&t[Ie](),d=t[ze],f=this.group,p=d.scale,g={position:d[O],scale:p};!f.childAt(0)||c?f.attr(g):s.updateProps(f,g,t),f[ke]();var x=["itemStyle",b],_=["itemStyle",v],w=["label",b],M=["label",v];l.each(d.regions,function(i){var n=new s.Group,r=new s.CompoundPath({shape:{paths:[]}});n.add(r);var a,o=t.getRegionModel(i.name)||t,c=o[_e](x),d=o[_e](_),g=e(c,p),S=e(d,p),T=o[_e](w),C=o[_e](M);if(h){a=h[u](i.name);var A=h[y](a,"color",!0);A&&(g.fill=A)}var P=T[_e](Z),L=C[_e](Z);l.each(i.contours,function(t){var e=new s.Polygon({shape:{points:t}});r.shape.paths.push(e)}),r.setStyle(g),r.style.strokeNoScale=!0,r.culling=!0;var z=T.get("show"),k=C.get("show"),D=h&&isNaN(h.get("value",a)),I=h&&h.getItemLayout(a);if(!h||D&&(z||k)||I&&I.showLabel){var R=h?a:i.name,O=t.getFormattedLabel(R,b),B=t.getFormattedLabel(R,v),V=new s.Text({style:{text:z?O||i.name:"",fill:P[N](),textFont:P[G](),textAlign:"center",textVerticalAlign:"middle"},hoverStyle:{text:k?B||i.name:"",fill:L[N](),textFont:L[G]()},position:i[E].slice(),scale:[1/p[0],1/p[1]],z2:10,silent:!0});n.add(V)}if(h)h.setItemGraphicEl(a,n);else{var o=t.getRegionModel(i.name);r.eventData={componentType:"geo",geoIndex:t.componentIndex,name:i.name,region:o&&o[m]||{}}}n.__region=i,s.setHoverStyle(n,S),f.add(n)}),this._updateController(t,r,a),i(t,f,a,o),n(t,f)},remove:function(){this.group[ke](),this._controller.dispose()},_updateController:function(t,e,i){function n(){var e={type:"geoRoam",componentType:o};return e[o+"Id"]=t.id,e}var r=t[ze],a=this._controller;a.zoomLimit=t.get("scaleLimit"),a.zoom=r.getZoom(),a.enable(t.get("roam")||!1);var o=t.mainType;a.off("pan").on("pan",function(t,e){i[se](l[le](n(),{dx:t,dy:e}))}),a.off("zoom").on("zoom",function(t,e,r){if(i[se](l[le](n(),{zoom:t,originX:e,originY:r})),this._updateGroup){var a=this.group,o=a.scale;a[U](function(t){"text"===t.type&&t.attr("scale",[1/o[0],1/o[1]])})}},this),a.rectProvider=function(){return r.getViewRectAfterRoam()}}},r}),e("echarts/util/symbol",[Oe,"./graphic",c],function(t){var e=t("./graphic"),n=t(c),r=e.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,a=e.width/2,o=e[fe]/2;t[i](n,r-o),t.lineTo(n+a,r+o),t.lineTo(n-a,r+o),t.closePath()}}),a=e.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,a=e.width/2,o=e[fe]/2;t[i](n,r-o),t.lineTo(n+a,r),t.lineTo(n,r+o),t.lineTo(n-a,r),t.closePath()}}),s=e.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var i=e.x,n=e.y,r=e.width/5*3,a=Math.max(r,e[fe]),o=r/2,s=o*o/(a-o),l=n-a+o+s,c=Math.asin(s/o),u=Math.cos(c)*o,h=Math.sin(c),d=Math.cos(c);t.arc(i,l,o,Math.PI-c,2*Math.PI+c);var f=.6*o,p=.7*o;t.bezierCurveTo(i+u-h*f,l+s+d*f,i,n-p,i,n),t.bezierCurveTo(i,n-p,i-u+h*f,l+s+d*f,i-u,l+s),t.closePath()}}),l=e.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e[fe],r=e.width,a=e.x,o=e.y,s=r/3*2;t[i](a,o),t.lineTo(a+s,o+n),t.lineTo(a,o+n/4*3),t.lineTo(a-s,o+n),t.lineTo(a,o),t.closePath()}}),u={line:e.Line,rect:e.Rect,roundRect:e.Rect,square:e.Rect,circle:e.Circle,diamond:a,pin:s,arrow:l,triangle:r},h={line:function(t,e,i,n,r){r.x1=t,r.y1=e+n/2,r.x2=t+i,r.y2=e+n/2},rect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r[fe]=n},roundRect:function(t,e,i,n,r){r.x=t,r.y=e,r.width=i,r[fe]=n,r.r=Math.min(i,n)/4},square:function(t,e,i,n,r){var a=Math.min(i,n);r.x=t,r.y=e,r.width=a,r[fe]=a},circle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.r=Math.min(i,n)/2},diamond:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r[fe]=n},pin:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r[fe]=n},arrow:function(t,e,i,n,r){r.x=t+i/2,r.y=e+n/2,r.width=i,r[fe]=n},triangle:function(t,e,i,n,r){r.cx=t+i/2,r.cy=e+n/2,r.width=i,r[fe]=n}},d={};for(var p in u)d[p]=new u[p];var m=e.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var t=this.style,e=this.shape;"pin"===e.symbolType&&t.textPosition===f&&(t.textPosition=["50%","40%"],t[F]=E,t.textVerticalAlign=B)},buildPath:function(t,e){var i=e.symbolType,n=d[i];"none"!==e.symbolType&&(n||(i="rect",n=d[i]),h[i](e.x,e.y,e.width,e[fe],n.shape),n.buildPath(t,n.shape))}}),g=function(t){if("image"!==this.type){var e=this.style,i=this.shape;i&&"line"===i.symbolType?e[o]=t:this.__isEmptyBrush?(e[o]=t,e.fill="#fff"):(e.fill&&(e.fill=t),e[o]&&(e[o]=t)),this.dirty()}},v={createSymbol:function(t,i,r,a,o,s){var l=0===t[q]("empty");l&&(t=t.substr(5,1)[Se]()+t.substr(6));var c;return c=0===t[q]("image://")?new e.Image({style:{image:t.slice(8),x:i,y:r,width:a,height:o}}):0===t[q]("path://")?e.makePath(t.slice(7),{},new n(i,r,a,o)):new m({shape:{symbolType:t,x:i,y:r,width:a,height:o}}),c.__isEmptyBrush=l,c.setColor=g,c.setColor(s),c}};return v}),e("echarts/component/helper/listComponent",[Oe,"../../util/layout","../../util/format",M],function(t){function e(t,e,n){i.positionGroup(t,e.getBoxLayoutParams(),{width:n[xe](),height:n[ye]()},e.get("padding"))}var i=t("../../util/layout"),n=t("../../util/format"),r=t(M);return{layout:function(t,n,r){var a=i.getLayoutRect(n.getBoxLayoutParams(),{width:r[xe](),height:r[ye]()},n.get("padding"));i.box(n.get("orient"),t,n.get("itemGap"),a.width,a[fe]),e(t,n,r)},addBackground:function(t,e){var i=n.normalizeCssArray(e.get("padding")),a=t[V](),o=e[Ae](["color",R]);o.fill=e.get(Pe);var s=new r.Rect({shape:{x:a.x-i[3],y:a.y-i[0],width:a.width+i[1]+i[3],height:a[fe]+i[0]+i[2]},style:o,silent:!0,z2:-1});r.subPixelOptimizeRect(s),t.add(s)}}}),e("echarts/component/tooltip/TooltipContent",[Oe,Re,"zrender/tool/color","zrender/core/event","../../util/format","zrender/core/env"],function(t){function e(t){var e="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+t+"s "+e+",top "+t+"s "+e;return o.map(p,function(t){return t+"transition:"+i}).join(";")}function i(t){var e=[],i=t.get("fontSize"),n=t[N]();return n&&e.push("color:"+n),e.push("font:"+t[G]()),i&&e.push("line-height:"+Math.round(3*i/2)+"px"),u(["decoration","align"],function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)}),e.join(";")}function n(t){t=t;var n=[],r=t.get("transitionDuration"),a=t.get(Pe),o=t[_e](Z),l=t.get("padding");return r&&n.push(e(r)),a&&(f[ve]?n.push("background-Color:"+a):(n.push("background-Color:#"+s.toHex(a)),n.push("filter:alpha(opacity=70)"))),u(["width","color",d],function(e){var i="border-"+e,r=h(i),a=t.get(r);null!=a&&n.push(i+":"+a+("color"===e?"":"px"))}),n.push(i(o)),null!=l&&n.push("padding:"+c.normalizeCssArray(l).join("px ")+"px"),n.join(";")+";"}function r(t,e){var i=document[k]("div"),n=e.getZr();this.el=i,this._x=e[xe]()/2,this._y=e[ye]()/2,t.appendChild(i),this._container=t,this._show=!1,this._hideTimeout;var r=this;i.onmouseenter=function(){r.enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0},i.onmousemove=function(e){if(!r.enterable){var i=n.handler;l.normalizeEvent(t,e),i.dispatch("mousemove",e)}},i.onmouseleave=function(){r.enterable&&r._show&&r.hideLater(r._hideDelay),r._inContent=!1},a(i,t)}function a(t,e){function i(t){n(t[K])&&t.preventDefault()}function n(i){for(;i&&i!==e;){if(i===t)return!0;i=i.parentNode}}l.addEventListener(e,"touchstart",i),l.addEventListener(e,"touchmove",i),l.addEventListener(e,"touchend",i)}var o=t(Re),s=t("zrender/tool/color"),l=t("zrender/core/event"),c=t("../../util/format"),u=o.each,h=c.toCamelCase,f=t("zrender/core/env"),p=["","-webkit-","-moz-","-o-"],m="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";return r[Me]={constructor:r,enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),i=t.style;"absolute"!==i[O]&&"absolute"!==e[O]&&(i[O]="relative")},show:function(t){clearTimeout(this._hideTimeout),this.el.style.cssText=m+n(t)+";left:"+this._x+"px;top:"+this._y+"px;"+(t.get("extraCssText")||""),this._show=!0},setContent:function(t){var e=this.el;e.innerHTML=t,e.style.display=t?"block":"none"},moveTo:function(t,e){var i=this.el.style;i.left=t+"px",i.top=e+"px",this._x=t,this._y=e},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this.enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(o.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show}},r}),e("echarts/component/helper/RoamController",[Oe,"zrender/mixin/Eventful",Re,"zrender/core/event","./interactionMutex"],function(t){function e(t){if(!t[K]||!t[K].draggable){var e=t.offsetX,i=t.offsetY,n=this.rectProvider&&this.rectProvider();n&&n[I](e,i)&&(this._x=e,this._y=i,this._dragging=!0)}}function i(t){if(this._dragging&&(u.stop(t.event),"pinch"!==t.gestureEvent)){if(h.isTaken("globalPan",this._zr))return;var e=t.offsetX,i=t.offsetY,n=e-this._x,r=i-this._y;this._x=e,this._y=i;var a=this[K];if(a){var o=a[O];o[0]+=n,o[1]+=r,a.dirty()}u.stop(t.event),this[ae]("pan",n,r)}}function n(){this._dragging=!1}function r(t){var e=t.wheelDelta>0?1.1:1/1.1;o.call(this,t,e,t.offsetX,t.offsetY)}function a(t){if(!h.isTaken("globalPan",this._zr)){var e=t.pinchScale>1?1.1:1/1.1;o.call(this,t,e,t.pinchX,t.pinchY)}}function o(t,e,i,n){var r=this.rectProvider&&this.rectProvider();if(r&&r[I](i,n)){u.stop(t.event);var a=this[K],o=this.zoomLimit;if(a){var s=a[O],l=a.scale,c=this.zoom=this.zoom||1;if(c*=e,o){var h=o.min||0,d=o.max||1/0;c=Math.max(Math.min(d,c),h)}var f=c/this.zoom;this.zoom=c,s[0]-=(i-s[0])*(f-1),s[1]-=(n-s[1])*(f-1),l[0]*=f,l[1]*=f,a.dirty()}this[ae]("zoom",e,i,n)}}function s(t,o,s){this[K]=o,this.rectProvider=s,this.zoomLimit,this.zoom,this._zr=t;var u=c.bind,h=u(e,this),d=u(i,this),f=u(n,this),p=u(r,this),m=u(a,this);l.call(this),this.enable=function(e){this.disable(),null==e&&(e=!0),(e===!0||"move"===e||"pan"===e)&&(t.on("mousedown",h),t.on("mousemove",d),t.on("mouseup",f)),(e===!0||"scale"===e||"zoom"===e)&&(t.on("mousewheel",p),t.on("pinch",m))},this.disable=function(){t.off("mousedown",h),t.off("mousemove",d),t.off("mouseup",f),t.off("mousewheel",p),t.off("pinch",m)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}var l=t("zrender/mixin/Eventful"),c=t(Re),u=t("zrender/core/event"),h=t("./interactionMutex");return c.mixin(s,l),s}),e("echarts/component/dataZoom/history",[Oe,Re],function(t){function e(t){var e=t[r];return e||(e=t[r]=[{}]),e}var i=t(Re),n=i.each,r="\x00_ec_hist_store",a={push:function(t,i){var r=e(t);n(i,function(e,i){for(var n=r[oe]-1;n>=0;n--){var a=r[n];if(a[i])break}if(0>n){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var s=o.getPercentRange();r[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}}),r.push(i)},pop:function(t){var i=e(t),r=i[i[oe]-1];i[oe]>1&&i.pop();var a={};return n(r,function(t,e){for(var n=i[oe]-1;n>=0;n--){var t=i[n][e];if(t){a[e]=t;break}}}),a},clear:function(t){t[r]=null},count:function(t){return e(t)[oe]}};return a}),e("echarts/component/helper/SelectController",[Oe,"zrender/mixin/Eventful",Re,M],function(t){function e(t,e,i){y.call(this),this.type=t,this.zr=e,this.opt=x.clone(i),this.group=new _.Group,this._containerRect=null,this._track=[],this._dragging,this._cover,this._disabled=!0,this._handlers={mousedown:b(l,this),mousemove:b(c,this),mouseup:b(u,this)},w(L,function(t){this.zr.on(t,this._handlers[t])},this)}function i(t){t[U](function(t){t.z=A})}function n(t,e){var i=this.group.transformCoordToLocal(t,e);return!this._containerRect||this._containerRect[I](i[0],i[1])}function r(t){var e=t.event;e.preventDefault&&e.preventDefault()}function l(t){if(!(this._disabled||t[K]&&t[K].draggable)){r(t);var e=t.offsetX,i=t.offsetY;n.call(this,e,i)&&(this._dragging=!0,this._track=[[e,i]])}}function c(t){this._dragging&&!this._disabled&&(r(t),h.call(this,t))}function u(t){this._dragging&&!this._disabled&&(r(t),h.call(this,t,!0),this._dragging=!1,this._track=[])}function h(t,e){var i=t.offsetX,r=t.offsetY;if(n.call(this,i,r)){this._track.push([i,r]);var a=d.call(this)?z[this.type].getRanges.call(this):[];f.call(this,a),this[ae]("selected",x.clone(a)),e&&this[ae]("selectEnd",x.clone(a))}}function d(){var t=this._track;if(!t[oe])return!1;var e=t[t[oe]-1],i=t[0],n=e[0]-i[0],r=e[1]-i[1],a=C(n*n+r*r,.5);return a>P}function f(t){var e=z[this.type];t&&t[oe]?(this._cover||(this._cover=e[de].call(this),this.group.add(this._cover)),e[he].call(this,t)):(this.group[ce](this._cover),this._cover=null),i(this.group)}function p(){var t=this.group,e=t[a];e&&e[ce](t)}function m(){var t=this.opt;return new _.Rect({style:{stroke:t[o],fill:t.fill,lineWidth:t[s],opacity:t[R]}})}function g(){return x.map(this._track,function(t){return this.group.transformCoordToLocal(t[0],t[1])},this)}function v(){var t=g.call(this),e=t[oe]-1;return 0>e&&(e=0),[t[0],t[e]]}var y=t("zrender/mixin/Eventful"),x=t(Re),_=t(M),b=x.bind,w=x.each,S=Math.min,T=Math.max,C=Math.pow,A=1e4,P=2,L=["mousedown","mousemove","mouseup"];e[Me]={constructor:e,enable:function(t,e){this._disabled=!1,p.call(this),this._containerRect=e!==!1?e||t[V]():null,t.add(this.group)},update:function(t){f.call(this,t&&x.clone(t))},disable:function(){this._disabled=!0,p.call(this)},dispose:function(){this.disable(),w(L,function(t){this.zr.off(t,this._handlers[t])},this)}},x.mixin(e,y);var z={line:{create:m,getRanges:function(){var t=v.call(this),e=S(t[0][0],t[1][0]),i=T(t[0][0],t[1][0]);return[[e,i]]},update:function(t){var e=t[0],i=this.opt.width;this._cover.setShape({x:e[0],y:-i/2,width:e[1]-e[0],height:i})}},rect:{create:m,getRanges:function(){var t=v.call(this),e=[S(t[1][0],t[0][0]),S(t[1][1],t[0][1])],i=[T(t[1][0],t[0][0]),T(t[1][1],t[0][1])];return[[[e[0],i[0]],[e[1],i[1]]]]},update:function(t){var e=t[0];this._cover.setShape({x:e[0][0],y:e[1][0],width:e[0][1]-e[0][0],height:e[1][1]-e[1][0]})}}};return e}),e("echarts/component/dataZoomSelect",[Oe,"./dataZoom/typeDefaulter","./dataZoom/DataZoomModel","./dataZoom/DataZoomView","./dataZoom/SelectZoomModel","./dataZoom/SelectZoomView","./dataZoom/dataZoomProcessor","./dataZoom/dataZoomAction"],function(t){t("./dataZoom/typeDefaulter"),t("./dataZoom/DataZoomModel"),t("./dataZoom/DataZoomView"),t("./dataZoom/SelectZoomModel"),t("./dataZoom/SelectZoomView"),t("./dataZoom/dataZoomProcessor"),t("./dataZoom/dataZoomAction")}),e("echarts/component/helper/interactionMutex",[Oe],function(){function t(t){return t[e]||(t[e]={})}var e="\x00_ec_interaction_mutex",i={take:function(e,i){t(i)[e]=!0},release:function(e,i){t(i)[e]=!1},isTaken:function(e,i){return!!t(i)[e]}};return i}),e("echarts/action/roamHelper",[Oe],function(){var t={};return t.updateCenterAndZoom=function(t,e,i){var n=t.getZoom(),r=t.getCenter(),a=e.zoom,o=t[g](r);if(null!=e.dx&&null!=e.dy){o[0]-=e.dx,o[1]-=e.dy;var r=t.pointToData(o);t.setCenter(r)}if(null!=a){if(i){var s=i.min||0,l=i.max||1/0;a=Math.max(Math.min(n*a,l),s)/n}t.scale[0]*=a,t.scale[1]*=a;var c=t[O],u=(e.originX-c[0])*(a-1),h=(e.originY-c[1])*(a-1);c[0]-=u,c[1]-=h,t.updateTransform();var r=t.pointToData(o);t.setCenter(r),t.setZoom(a*n)}return{center:t.getCenter(),zoom:t.getZoom()}},t}),e("echarts/component/dataZoom/typeDefaulter",[Oe,"../../model/Component"],function(t){t("../../model/Component").registerSubTypeDefaulter("dataZoom",function(){return"slider"})}),e("echarts/component/dataZoom/DataZoomModel",[Oe,Re,"zrender/core/env","../../echarts","../../util/model","./AxisProxy"],function(t){function e(t){var e={};return c(["start","end","startValue","endValue"],function(i){e[i]=t[i]}),e}function i(t,e,i,n){null!=i[e]&&null==i[t]&&(n[t]=null)}var n=t(Re),a=t("zrender/core/env"),o=t("../../echarts"),s=t("../../util/model"),l=t("./AxisProxy"),c=n.each,u=s.eachAxisDim,h=o.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis",ne],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,angleAxisIndex:null,radiusAxisIndex:null,filterMode:"filter",throttle:100,start:0,end:100,startValue:null,endValue:null},init:function(t,i,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel;var r=e(t);this.mergeDefaultAndTheme(t,n),this.doInit(r)},mergeOption:function(t){var i=e(t);n.merge(this[m],t,!0),this.doInit(i)},doInit:function(t){var e=this[m];a[ve]||(e.realtime=!1),i("start","startValue",t,e),i("end","endValue",t,e),this.textStyleModel=this[_e](Z),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis(function(e,i,n,r){var a=this.dependentModels[e.axis][i],o=a.__dzAxisProxy||(a.__dzAxisProxy=new l(e.name,i,this,r));t[e.name+"_"+i]=o},this)},_resetTarget:function(){var t=this[m],e=this._judgeAutoMode();u(function(e){var i=e.axisIndex;t[i]=s.normalizeToArray(t[i])},this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this[m],e=!1;u(function(i){null!=t[i.axisIndex]&&(e=!0)},this);var i=t.orient;return null==i&&e?"orient":e?void 0:(null==i&&(t.orient="horizontal"),"axisIndex")
},_autoSetAxisIndex:function(){var t=!0,e=this.get("orient",!0),i=this[m];if(t){var a="vertical"===e?{dim:"y",axisIndex:"yAxisIndex",axis:"yAxis"}:{dim:"x",axisIndex:"xAxisIndex",axis:"xAxis"};this.dependentModels[a.axis][oe]&&(i[a.axisIndex]=[0],t=!1)}t&&u(function(e){if(t){var n=[],r=this.dependentModels[e.axis];if(r[oe]&&!n[oe])for(var a=0,o=r[oe];o>a;a++)r[a].get("type")===A&&n.push(a);i[e.axisIndex]=n,n[oe]&&(t=!1)}},this),t&&this[r][re](function(t){this._isSeriesHasAllAxesTypeOf(t,"value")&&u(function(e){var r=i[e.axisIndex],a=t.get(e.axisIndex);n[q](r,a)<0&&r.push(a)})},this)},_autoSetOrient:function(){var t;this.eachTargetAxis(function(e){!t&&(t=e.name)},this),this[m].orient="y"===t?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(t,e){var i=!0;return u(function(n){var r=t.get(n.axisIndex),a=this.dependentModels[n.axis][r];a&&a.get("type")===e||(i=!1)},this),i},getFirstTargetAxisModel:function(){var t;return u(function(e){if(null==t){var i=this.get(e.axisIndex);i[oe]&&(t=this.dependentModels[e.axis][i[0]])}},this),t},eachTargetAxis:function(t,e){var i=this[r];u(function(n){c(this.get(n.axisIndex),function(r){t.call(e,n,r,this,i)},this)},this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},setRawRange:function(t){c(["start","end","startValue","endValue"],function(e){this[m][e]=t[e]},this)},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();return t?t.getDataPercentWindow():void 0},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(){var t=this._axisProxies;for(var e in t)if(t.hasOwnProperty(e)&&t[e].hostedBy(this))return t[e];for(var e in t)if(t.hasOwnProperty(e)&&!t[e].hostedBy(this))return t[e]}});return h}),e("echarts/component/dataZoom/SelectZoomModel",[Oe,"./DataZoomModel"],function(t){var e=t("./DataZoomModel");return e[le]({type:"dataZoom.select"})}),e("echarts/component/dataZoom/DataZoomView",[Oe,"../../view/Component"],function(t){var e=t("../../view/Component");return e[le]({type:"dataZoom",render:function(t,e,i){this.dataZoomModel=t,this[r]=e,this.api=i},getTargetInfo:function(){function t(t,e,i,n){for(var r,a=0;a<i[oe];a++)if(i[a].model===t){r=i[a];break}r||i.push(r={model:t,axisModels:[],coordIndex:n}),r.axisModels.push(e)}var e=this.dataZoomModel,i=this[r],n=[],a=[],o=[];return e.eachTargetAxis(function(e,r){var s=i[P](e.axis,r);if(s){o.push(s);var l=s.get("gridIndex"),c=s.get("polarIndex");if(null!=l){var u=i[P]("grid",l);t(u,s,n,l)}else if(null!=c){var u=i[P]("polar",c);t(u,s,a,c)}}},this),{cartesians:n,polars:a,axisModels:o}}})}),e("echarts/component/dataZoom/SelectZoomView",[Oe,"./DataZoomView"],function(t){return t("./DataZoomView")[le]({type:"dataZoom.select"})}),e("echarts/component/dataZoom/dataZoomAction",[Oe,Re,"../../util/model","../../echarts"],function(t){var e=t(Re),i=t("../../util/model"),n=t("../../echarts");n.registerAction("dataZoom",function(t,n){var r=i.createLinkedNodesFinder(e.bind(n[ge],n,"dataZoom"),i.eachAxisDim,function(t,e){return t.get(e.axisIndex)}),a=[];n[ge]({mainType:"dataZoom",query:t},function(t){a.push.apply(a,r(t).nodes)}),e.each(a,function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}),e("echarts/component/dataZoom/dataZoomProcessor",[Oe,"../../echarts"],function(t){function e(t,e,i){i.getAxisProxy(t.name,e).reset(i)}function i(t,e,i){i.getAxisProxy(t.name,e).filterData(i)}var n=t("../../echarts");n.registerProcessor(De,function(t){t[ge]("dataZoom",function(t){t.eachTargetAxis(e),t.eachTargetAxis(i)}),t[ge]("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]})})})}),e("echarts/component/dataZoom/AxisProxy",[Oe,Re,"../../util/number"],function(t){function e(t,e){var i=[1/0,-1/0];return l(e,function(e){var n=e[Ie]();n&&l(e.coordDimToDataDim(t),function(t){var e=n.getDataExtent(t);e[0]<i[0]&&(i[0]=e[0]),e[1]>i[1]&&(i[1]=e[1])})},this),i}function i(t,e,i){var r=i.getAxisModel(),a=r.axis.scale,o=[0,100],u=[t.start,t.end],h=[];return e=e.slice(),n(e,r,a),l(["startValue","endValue"],function(e){h.push(null!=t[e]?a.parse(t[e]):null)}),l([0,1],function(t){var i=h[t],n=u[t];null!=n||null==i?(null==n&&(n=o[t]),i=a.parse(s.linearMap(n,o,e,!0))):n=s.linearMap(i,e,o,!0),h[t]=i,u[t]=n}),{valueWindow:c(h),percentWindow:c(u)}}function n(t,e,i){return l(["min","max"],function(n,r){var a=e.get(n,!0);null!=a&&(a+"")[Se]()!=="data"+n&&(t[r]=i.parse(a))}),e.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function a(t,e){var i=t.getAxisModel(),n=t._percentWindow,r=t._valueWindow;if(n){var a=e||0===n[0]&&100===n[1],o=!e&&s.getPixelPrecision(r,[0,500]),l=!(e||20>o&&o>=0),c=e||a||l;i.setRange&&i.setRange(c?null:+r[0].toFixed(o),c?null:+r[1].toFixed(o))}}var o=t(Re),s=t("../../util/number"),l=o.each,c=s.asc,u=function(t,e,i,n){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this[r]=n,this._dataZoomModel=i};return u[Me]={constructor:u,hostedBy:function(t){return this._dataZoomModel===t},getDataExtent:function(){return this._dataExtent.slice()},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[];return this[r][re](function(e){this._axisIndex===e.get(this._dimName+"AxisIndex")&&t.push(e)},this),t},getAxisModel:function(){return this[r][P](this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,i=this._dimName,n=this[r],a=this.getAxisModel(),o="x"===i||"y"===i;o?(e="gridIndex",t="x"===i?"y":"x"):(e="polarIndex",t="angle"===i?d:"angle");var s;return n[ge](t+"Axis",function(t){(t.get(e)||0)===(a.get(e)||0)&&(s=t)}),s},reset:function(t){if(t===this._dataZoomModel){var n=this._dataExtent=e(this._dimName,this.getTargetSeriesModels()),r=i(t[m],n,this);this._valueWindow=r.valueWindow,this._percentWindow=r.percentWindow,a(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,a(this,!0))},filterData:function(t){function e(t){return t>=a[0]&&t<=a[1]}if(t===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),r=t.get("filterMode"),a=this._valueWindow,o=this.getOtherAxisModel();t.get("$fromToolbox")&&o&&o.get("type")===A&&(r="empty"),l(n,function(t){var n=t[Ie]();n&&l(t.coordDimToDataDim(i),function(i){"empty"===r?t.setData(n.map(i,function(t){return e(t)?t:0/0})):n.filterSelf(i,e)})})}}},u}),e("zrender",["zrender/zrender"],function(t){return t}),e("echarts",["echarts/echarts"],function(t){return t});var Ee=t("echarts");return Ee.graphic=t("echarts/util/graphic"),Ee.number=t("echarts/util/number"),Ee.format=t("echarts/util/format"),t("echarts/chart/bar"),t("echarts/chart/line"),t("echarts/chart/pie"),t("echarts/component/grid"),t("echarts/component/geo"),t("echarts/component/title"),t("echarts/component/legend"),t("echarts/component/tooltip"),t("echarts/component/toolbox"),t("zrender/vml/vml"),Ee});