frp/assets/static/index.js
2017-03-27 02:21:37 +08:00

25 lines
831 KiB
JavaScript

webpackJsonp([0],[function(e,t){function i(e){if(null==e||"object"!=typeof e)return e;var t=e,n=O.call(e);if("[object Array]"===n){t=[];for(var o=0,r=e.length;o<r;o++)t[o]=i(e[o])}else if(E[n])t=e.constructor.from(e);else if(!z[n]&&!D(e)&&!M(e)){t={};for(var a in e)e.hasOwnProperty(a)&&(t[a]=i(e[a]))}return t}function n(e,t,o){if(!S(t)||!S(e))return o?i(t):e;for(var r in t)if(t.hasOwnProperty(r)){var a=e[r],s=t[r];!S(s)||!S(a)||b(s)||b(a)||M(s)||M(a)||A(s)||A(a)||D(s)||D(a)?!o&&r in e||(e[r]=i(t[r],!0)):n(a,s,o)}return e}function o(e,t){for(var i=e[0],o=1,r=e.length;o<r;o++)i=n(i,e[o],t);return i}function r(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function a(e,t,i){for(var n in t)t.hasOwnProperty(n)&&(i?null!=t[n]:null==e[n])&&(e[n]=t[n]);return e}function s(){return document.createElement("canvas")}function l(){return P||(P=W.createCanvas().getContext("2d")),P}function c(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i}return-1}function u(e,t){function i(){}var n=e.prototype;i.prototype=t.prototype,e.prototype=new i;for(var o in n)e.prototype[o]=n[o];e.prototype.constructor=e,e.superClass=t}function h(e,t,i){e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,a(e,t,i)}function d(e){if(e)return"string"!=typeof e&&"number"==typeof e.length}function p(e,t,i){if(e&&t)if(e.forEach&&e.forEach===N)e.forEach(t,i);else if(e.length===+e.length)for(var n=0,o=e.length;n<o;n++)t.call(i,e[n],n,e);else for(var r in e)e.hasOwnProperty(r)&&t.call(i,e[r],r,e)}function f(e,t,i){if(e&&t){if(e.map&&e.map===G)return e.map(t,i);for(var n=[],o=0,r=e.length;o<r;o++)n.push(t.call(i,e[o],o,e));return n}}function g(e,t,i,n){if(e&&t){if(e.reduce&&e.reduce===F)return e.reduce(t,i,n);for(var o=0,r=e.length;o<r;o++)i=t.call(n,i,e[o],o,e);return i}}function m(e,t,i){if(e&&t){if(e.filter&&e.filter===V)return e.filter(t,i);for(var n=[],o=0,r=e.length;o<r;o++)t.call(i,e[o],o,e)&&n.push(e[o]);return n}}function v(e,t,i){if(e&&t)for(var n=0,o=e.length;n<o;n++)if(t.call(i,e[n],n,e))return e[n]}function y(e,t){var i=B.call(arguments,2);return function(){return e.apply(t,i.concat(B.call(arguments)))}}function x(e){var t=B.call(arguments,1);return function(){return e.apply(this,t.concat(B.call(arguments)))}}function b(e){return"[object Array]"===O.call(e)}function _(e){return"function"==typeof e}function w(e){return"[object String]"===O.call(e)}function S(e){var t=typeof e;return"function"===t||!!e&&"object"==t}function A(e){return!!z[O.call(e)]}function M(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}function k(e){return e!==e}function T(e){for(var t=0,i=arguments.length;t<i;t++)if(null!=arguments[t])return arguments[t]}function I(){return Function.call.apply(B,arguments)}function C(e,t){if(!e)throw new Error(t)}function L(e){e[H]=!0}function D(e){return e[H]}var P,z={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},E={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},O=Object.prototype.toString,R=Array.prototype,N=R.forEach,V=R.filter,B=R.slice,G=R.map,F=R.reduce,H="__ec_primitive__",W={inherits:u,mixin:h,clone:i,merge:n,mergeAll:o,extend:r,defaults:a,getContext:l,createCanvas:s,indexOf:c,slice:I,find:v,isArrayLike:d,each:p,map:f,reduce:g,filter:m,bind:y,curry:x,isArray:b,isString:w,isObject:S,isFunction:_,isBuiltInObject:A,isDom:M,eqNaN:k,retrieve:T,assert:C,setAsPrimitive:L,noop:function(){}};e.exports=W},function(e,t,i){(function(t){function n(e){return function(t,i,n){t=t&&t.toLowerCase(),N.prototype[e].call(this,t,i,n)}}function o(){N.call(this)}function r(e,t,i){function n(e,t){return e.prio-t.prio}i=i||{},"string"==typeof t&&(t=$[t]),this.id,this.group,this._dom=e;var r=this._zr=E.init(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=z.throttle(O.bind(r.flush,r),17),this._theme=O.clone(t),this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new M,this._api=new A(this,this._coordSysMgr),N.call(this),this._messageCenter=new o,this._initEvents(),this.resize=O.bind(this.resize,this),this._pendingActions=[],V(K,n),V(X,n),r.animation.on("frame",this._onframe,this),O.setAsPrimitive(this)}function a(e,t,i){var n,o=this._model,r=this._coordSysMgr.getCoordinateSystems();t=P.parseFinder(o,t);for(var a=0;a<r.length;a++){var s=r[a];if(s[e]&&null!=(n=s[e](o,t,i)))return n}__DEV__&&console.warn("No coordinate system that supports "+e+" found by the given finder.")}function s(e,t,i,n,o){function r(n){n&&n.__alive&&n[t]&&n[t](n.__model,a,e._api,i)}var a=e._model;if(!n)return void B(e._componentsViews.concat(e._chartsViews),r);var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};o&&(l.subType=o),a&&a.eachComponent(l,function(t,i){r(e["series"===n?"_chartsMap":"_componentsMap"][t.__viewId])},e)}function l(e,t){var i=e.type,n=e.escapeConnect,o=Y[i],r=o.actionInfo,a=(r.update||"update").split(":"),l=a.pop();a=null!=a[0]&&G(a[0]),this[F]=!0;var c=[e],u=!1;e.batch&&(u=!0,c=O.map(e.batch,function(t){return t=O.defaults(O.extend({},t),e),t.batch=null,t}));var h,d=[],p="highlight"===i||"downplay"===i;B(c,function(e){h=o.action(e,this._model,this._api),h=h||O.extend({},e),h.type=r.event||h.type,d.push(h),p?s(this,l,e,"series"):a&&s(this,l,e,a.main,a.sub)},this),"none"===l||p||a||(this[H]?(j.prepareAndUpdate.call(this,e),this[H]=!1):j[l].call(this,e)),h=u?{type:r.event||i,escapeConnect:n,batch:d}:d[0],this[F]=!1,!t&&this._messageCenter.trigger(h.type,h)}function c(e){for(var t=this._pendingActions;t.length;){var i=t.shift();l.call(this,i,e)}}function u(e){!e&&this.trigger("updated")}function h(e,t,i){var n=this._api;B(this._componentsViews,function(o){var r=o.__model;o[e](r,t,n,i),b(r,o)},this),t.eachSeries(function(o,r){var a=this._chartsMap[o.__viewId];a[e](o,t,n,i),b(o,a),x(o,a)},this),y(this._zr,t),B(Q,function(e){e(t,n)})}function d(e,t){for(var i="component"===e,n=i?this._componentsViews:this._chartsViews,o=i?this._componentsMap:this._chartsMap,r=this._zr,a=0;a<n.length;a++)n[a].__alive=!1;t[i?"eachComponent":"eachSeries"](function(e,a){if(i){if("series"===e)return}else a=e;var s=a.id+"_"+a.type,l=o[s];if(!l){var c=G(a.type),u=i?C.getClass(c.main,c.sub):L.getClass(c.sub);if(!u)return;l=new u,l.init(t,this._api),o[s]=l,n.push(l),r.add(l.group)}a.__viewId=s,l.__alive=!0,l.__id=s,l.__model=a},this);for(var a=0;a<n.length;){var s=n[a];s.__alive?a++:(r.remove(s.group),s.dispose(t,this._api),n.splice(a,1),delete o[s.__id])}}function p(e,t){B(X,function(i){i.func(e,t)})}function f(e){var t={};e.eachSeries(function(e){var i=e.get("stack"),n=e.getData();if(i&&"list"===n.type){var o=t[i];o&&(n.stackedOn=o),t[i]=n}})}function g(e,t){var i=this._api;B(K,function(n){n.isLayout&&n.func(e,i,t)})}function m(e,t,i){var n=this._api;e.clearColorPalette(),e.eachSeries(function(e){e.clearColorPalette()}),B(K,function(o){(!i||!o.isLayout)&&o.func(e,n,t)})}function v(e,t){var i=this._api;B(this._componentsViews,function(n){var o=n.__model;n.render(o,e,i,t),b(o,n)},this),B(this._chartsViews,function(e){e.__alive=!1},this),e.eachSeries(function(n,o){var r=this._chartsMap[n.__viewId];r.__alive=!0,r.render(n,e,i,t),r.group.silent=!!n.get("silent"),b(n,r),x(n,r)},this),y(this._zr,e),B(this._chartsViews,function(t){t.__alive||t.remove(e,i)},this)}function y(e,t){var i=e.storage,n=0;i.traverse(function(e){e.isGroup||n++}),n>t.get("hoverLayerThreshold")&&!w.node&&i.traverse(function(e){e.isGroup||(e.useHoverLayer=!0)})}function x(e,t){var i=0;t.group.traverse(function(e){"group"===e.type||e.ignore||i++});var n=+e.get("progressive"),o=i>e.get("progressiveThreshold")&&n&&!w.node;o&&t.group.traverse(function(e){e.isGroup||(e.progressive=o?Math.floor(i++/n):-1,o&&e.stopAnimation(!0))});var r=e.get("blendMode")||null;__DEV__&&!w.canvasSupported&&r&&"source-over"!==r&&console.warn("Only canvas support blendMode"),t.group.traverse(function(e){e.isGroup||e.setStyle("blend",r)})}function b(e,t){var i=e.get("z"),n=e.get("zlevel");t.group.traverse(function(e){"group"!==e.type&&(null!=i&&(e.z=i),null!=n&&(e.zlevel=n))})}function _(e){function t(e,t){for(var n=0;n<e.length;n++){e[n][i]=t}}var i="__connectUpdateStatus";O.each(q,function(n,o){e._messageCenter.on(o,function(n){if(ie[e.group]&&0!==e[i]){if(n&&n.escapeConnect)return;var o=e.makeActionFromEvent(n),r=[];O.each(te,function(t){t!==e&&t.group===e.group&&r.push(t)}),t(r,0),B(r,function(e){1!==e[i]&&e.dispatchAction(o)}),t(r,2)}})})}"undefined"==typeof __DEV__&&("undefined"!=typeof window?window.__DEV__=!0:void 0!==t&&(t.__DEV__=!0));/*!
* ECharts, a javascript interactive chart library.
*
* Copyright (c) 2015, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/echarts/blob/master/LICENSE.txt
*/
var w=i(13),S=i(446),A=i(229),M=i(22),k=i(447),T=i(12),I=i(14),C=i(90),L=i(30),D=i(2),P=i(5),z=i(51),E=i(180),O=i(0),R=i(27),N=i(39),V=i(100),B=O.each,G=T.parseClassType,F="__flagInMainProcess",H="__optionUpdated",W=/^[a-zA-Z0-9_]+$/;o.prototype.on=n("on"),o.prototype.off=n("off"),o.prototype.one=n("one"),O.mixin(o,N);var U=r.prototype;U._onframe=function(){if(this[H]){var e=this[H].silent;this[F]=!0,j.prepareAndUpdate.call(this),this[F]=!1,this[H]=!1,c.call(this,e),u.call(this,e)}},U.getDom=function(){return this._dom},U.getZr=function(){return this._zr},U.setOption=function(e,t,i){__DEV__&&O.assert(!this[F],"`setOption` should not be called during main process.");var n;if(O.isObject(t)&&(i=t.lazyUpdate,n=t.silent,t=t.notMerge),this[F]=!0,!this._model||t){var o=new k(this._api),r=this._theme;(this._model=new S(null,null,r,o)).init(null,null,r,o)}this.__lastOnlyGraphic=!(!e||!e.graphic),O.each(e,function(e,t){"graphic"!==t&&(this.__lastOnlyGraphic=!1)},this),this._model.setOption(e,J,this.__lastOnlyGraphic),i?(this[H]={silent:n},this[F]=!1):(j.prepareAndUpdate.call(this),this._zr.flush(),this[H]=!1,this[F]=!1,c.call(this,n),u.call(this,n))},U.setTheme=function(){console.log("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},U.getModel=function(){return this._model},U.getOption=function(){return this._model&&this._model.getOption()},U.getWidth=function(){return this._zr.getWidth()},U.getHeight=function(){return this._zr.getHeight()},U.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},U.getRenderedCanvas=function(e){if(w.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr,i=t.storage.getDisplayList();return O.each(i,function(e){e.stopAnimation(!0)}),t.painter.getRenderedCanvas(e)}},U.getDataURL=function(e){e=e||{};var t=e.excludeComponents,i=this._model,n=[],o=this;B(t,function(e){i.eachComponent({mainType:e},function(e){var t=o._componentsMap[e.__viewId];t.group.ignore||(n.push(t),t.group.ignore=!0)})});var r=this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return B(n,function(e){e.group.ignore=!1}),r},U.getConnectedDataURL=function(e){if(w.canvasSupported){var t=this.group,i=Math.min,n=Math.max,o=1/0;if(ie[t]){var r=o,a=o,s=-o,l=-o,c=[],u=e&&e.pixelRatio||1;O.each(te,function(o,u){if(o.group===t){var h=o.getRenderedCanvas(O.clone(e)),d=o.getDom().getBoundingClientRect();r=i(d.left,r),a=i(d.top,a),s=n(d.right,s),l=n(d.bottom,l),c.push({dom:h,left:d.left,top:d.top})}}),r*=u,a*=u,s*=u,l*=u;var h=s-r,d=l-a,p=O.createCanvas();p.width=h,p.height=d;var f=E.init(p);return B(c,function(e){var t=new D.Image({style:{x:e.left*u-r,y:e.top*u-a,image:e.dom}});f.add(t)}),f.refreshImmediately(),p.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},U.convertToPixel=O.curry(a,"convertToPixel"),U.convertFromPixel=O.curry(a,"convertFromPixel"),U.containPixel=function(e,t){var i,n=this._model;return e=P.parseFinder(n,e),O.each(e,function(e,n){n.indexOf("Models")>=0&&O.each(e,function(e){var o=e.coordinateSystem;if(o&&o.containPoint)i|=!!o.containPoint(t);else if("seriesModels"===n){var r=this._chartsMap[e.__viewId];r&&r.containPoint?i|=r.containPoint(t,e):__DEV__&&console.warn(n+": "+(r?"The found component do not support containPoint.":"No view mapping to the found component."))}else __DEV__&&console.warn(n+": containPoint is not supported")},this)},this),!!i},U.getVisual=function(e,t){var i=this._model;e=P.parseFinder(i,e,{defaultMainType:"series"});var n=e.seriesModel;__DEV__&&(n||console.warn("There is no specified seires model"));var o=n.getData(),r=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?o.indexOfRawIndex(e.dataIndex):null;return null!=r?o.getItemVisual(r,t):o.getVisual(t)},U.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},U.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var j={update:function(e){var t=this._model,i=this._api,n=this._coordSysMgr,o=this._zr;if(t){t.restoreData(),n.create(this._model,this._api),p.call(this,t,i),f.call(this,t),n.update(t,i),m.call(this,t,e),v.call(this,t,e);var r=t.get("backgroundColor")||"transparent",a=o.painter;if(a.isSingleCanvas&&a.isSingleCanvas())o.configLayer(0,{clearColor:r});else{if(!w.canvasSupported){var s=R.parse(r);r=R.stringify(s,"rgb"),0===s[3]&&(r="transparent")}r.colorStops||r.image?(o.configLayer(0,{clearColor:r}),this.__hasGradientOrPatternBg=!0,this._dom.style.background="transparent"):(this.__hasGradientOrPatternBg&&o.configLayer(0,{clearColor:null}),this.__hasGradientOrPatternBg=!1,this._dom.style.background=r)}B(Q,function(e){e(t,i)})}},updateView:function(e){var t=this._model;t&&(t.eachSeries(function(e){e.getData().clearAllVisual()}),m.call(this,t,e),h.call(this,"updateView",t,e))},updateVisual:function(e){var t=this._model;t&&(t.eachSeries(function(e){e.getData().clearAllVisual()}),m.call(this,t,e,!0),h.call(this,"updateVisual",t,e))},updateLayout:function(e){var t=this._model;t&&(g.call(this,t,e),h.call(this,"updateLayout",t,e))},prepareAndUpdate:function(e){var t=this._model;d.call(this,"component",t),d.call(this,"chart",t),this.__lastOnlyGraphic?(B(this._componentsViews,function(i){var n=i.__model;n&&"graphic"===n.mainType&&(i.render(n,t,this._api,e),b(n,i))},this),this.__lastOnlyGraphic=!1):j.update.call(this,e)}};U.resize=function(e){__DEV__&&O.assert(!this[F],"`resize` should not be called during main process."),this[F]=!0,this._zr.resize(e);var t=this._model&&this._model.resetOption("media");j[t?"prepareAndUpdate":"update"].call(this),this._loadingFX&&this._loadingFX.resize(),this[F]=!1;var i=e&&e.silent;c.call(this,i),u.call(this,i)},U.showLoading=function(e,t){if(O.isObject(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),!ee[e])return void(__DEV__&&console.warn("Loading effects "+e+" not exists."));var i=ee[e](this._api,t),n=this._zr;this._loadingFX=i,n.add(i)},U.hideLoading=function(){this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},U.makeActionFromEvent=function(e){var t=O.extend({},e);return t.type=q[e.type],t},U.dispatchAction=function(e,t){if(O.isObject(t)||(t={silent:!!t}),Y[e.type]){if(this[F])return void this._pendingActions.push(e);l.call(this,e,t.silent),t.flush?this._zr.flush(!0):t.flush!==!1&&w.browser.weChat&&this._throttledZrFlush(),c.call(this,t.silent),u.call(this,t.silent)}},U.on=n("on"),U.off=n("off"),U.one=n("one");var Z=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];U._initEvents=function(){B(Z,function(e){this._zr.on(e,function(t){var i,n=this.getModel(),o=t.target;if("globalout"===e)i={};else if(o&&null!=o.dataIndex){var r=o.dataModel||n.getSeriesByIndex(o.seriesIndex);i=r&&r.getDataParams(o.dataIndex,o.dataType)||{}}else o&&o.eventData&&(i=O.extend({},o.eventData));i&&(i.event=t,i.type=e,this.trigger(e,i))},this)},this),B(q,function(e,t){this._messageCenter.on(t,function(e){this.trigger(t,e)},this)},this)},U.isDisposed=function(){return this._disposed},U.clear=function(){this.setOption({series:[]},!0)},U.dispose=function(){if(this._disposed)return void(__DEV__&&console.warn("Instance "+this.id+" has been disposed"));this._disposed=!0;var e=this._api,t=this._model;B(this._componentsViews,function(i){i.dispose(t,e)}),B(this._chartsViews,function(i){i.dispose(t,e)}),this._zr.dispose(),delete te[this.id]},O.mixin(r,N);var Y={},q={},X=[],J=[],Q=[],K=[],$={},ee={},te={},ie={},ne=new Date-0,oe=new Date-0,re={version:"3.5.0",dependencies:{zrender:"3.4.0"}};re.init=function(e,t,i){if(__DEV__){if(E.version.replace(".","")-0<re.dependencies.zrender.replace(".","")-0)throw new Error("ZRender "+E.version+" is too old for ECharts "+re.version+". Current version need ZRender "+re.dependencies.zrender+"+");if(!e)throw new Error("Initialize failed: invalid dom.");!O.isDom(e)||"CANVAS"===e.nodeName.toUpperCase()||(e.clientWidth||i&&null!=i.width)&&(e.clientHeight||i&&null!=i.height)||console.warn("Can't get dom width or height")}var n=new r(e,t,i);return n.id="ec_"+ne++,te[n.id]=n,e.setAttribute&&e.setAttribute("_echarts_instance_",n.id),_(n),n},re.connect=function(e){if(O.isArray(e)){var t=e;e=null,O.each(t,function(t){null!=t.group&&(e=t.group)}),e=e||"g_"+oe++,O.each(t,function(t){t.group=e})}return ie[e]=!0,e},re.disConnect=function(e){ie[e]=!1},re.disconnect=re.disConnect,re.dispose=function(e){O.isDom(e)?e=re.getInstanceByDom(e):"string"==typeof e&&(e=te[e]),e instanceof r&&!e.isDisposed()&&e.dispose()},re.getInstanceByDom=function(e){var t=e.getAttribute("_echarts_instance_");return te[t]},re.getInstanceById=function(e){return te[e]},re.registerTheme=function(e,t){$[e]=t},re.registerPreprocessor=function(e){J.push(e)},re.registerProcessor=function(e,t){if("function"==typeof e&&(t=e,e=1e3),__DEV__&&isNaN(e))throw new Error("Unkown processor priority");X.push({prio:e,func:t})},re.registerPostUpdate=function(e){Q.push(e)},re.registerAction=function(e,t,i){"function"==typeof t&&(i=t,t="");var n=O.isObject(e)?e.type:[e,e={event:t}][0];e.event=(e.event||n).toLowerCase(),t=e.event,O.assert(W.test(n)&&W.test(t)),Y[n]||(Y[n]={action:i,actionInfo:e}),q[t]=n},re.registerCoordinateSystem=function(e,t){M.register(e,t)},re.registerLayout=function(e,t){if("function"==typeof e&&(t=e,e=1e3),__DEV__&&isNaN(e))throw new Error("Unkown layout priority");K.push({prio:e,func:t,isLayout:!0})},re.registerVisual=function(e,t){if("function"==typeof e&&(t=e,e=3e3),__DEV__&&isNaN(e))throw new Error("Unkown visual priority");K.push({prio:e,func:t})},re.registerLoading=function(e,t){ee[e]=t},re.extendComponentModel=function(e){return T.extend(e)},re.extendComponentView=function(e){return C.extend(e)},re.extendSeriesModel=function(e){return I.extend(e)},re.extendChartView=function(e){return L.extend(e)},re.setCanvasCreator=function(e){O.createCanvas=e},re.registerVisual(2e3,i(461)),re.registerPreprocessor(i(454)),re.registerLoading("default",i(445)),re.registerAction({type:"highlight",event:"highlight",update:"highlight"},O.noop),re.registerAction({type:"downplay",event:"downplay",update:"downplay"},O.noop),re.zrender=E,re.List=i(11),re.Model=i(9),re.Axis=i(29),re.graphic=i(2),re.number=i(3),re.format=i(4),re.throttle=z.throttle,re.matrix=i(21),re.vector=i(6),re.color=i(27),re.util={},B(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(e){re.util[e]=O[e]}),re.helper=i(444),re.PRIORITY={PROCESSOR:{FILTER:1e3,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,GLOBAL:2e3,CHART:3e3,COMPONENT:4e3,BRUSH:5e3}},e.exports=re}).call(t,i(68))},function(e,t,i){"use strict";function n(e){return null!=e&&"none"!=e}function o(e){return"string"==typeof e?b.lift(e,-.1):e}function r(e){if(e.__hoverStlDirty){var t=e.style.stroke,i=e.style.fill,r=e.__hoverStl;r.fill=r.fill||(n(i)?o(i):null),r.stroke=r.stroke||(n(t)?o(t):null);var a={};for(var s in r)r.hasOwnProperty(s)&&(a[s]=e.style[s]);e.__normalStl=a,e.__hoverStlDirty=!1}}function a(e){e.__isHover||(r(e),e.useHoverLayer?e.__zr&&e.__zr.addHover(e,e.__hoverStl):(e.setStyle(e.__hoverStl),e.z2+=1),e.__isHover=!0)}function s(e){if(e.__isHover){var t=e.__normalStl;e.useHoverLayer?e.__zr&&e.__zr.removeHover(e):(t&&e.setStyle(t),e.z2-=1),e.__isHover=!1}}function l(e){"group"===e.type?e.traverse(function(e){"group"!==e.type&&a(e)}):a(e)}function c(e){"group"===e.type?e.traverse(function(e){"group"!==e.type&&s(e)}):s(e)}function u(e,t){e.__hoverStl=e.hoverStyle||t||{},e.__hoverStlDirty=!0,e.__isHover&&r(e)}function h(e){this.__hoverSilentOnTouch&&e.zrByTouch||!this.__isEmphasis&&l(this)}function d(e){this.__hoverSilentOnTouch&&e.zrByTouch||!this.__isEmphasis&&c(this)}function p(){this.__isEmphasis=!0,l(this)}function f(){this.__isEmphasis=!1,c(this)}function g(e,t,i,n,o,r){if("function"==typeof o&&(r=o,o=null),n&&n.isAnimationEnabled()){var a=e?"Update":"",s=n.getShallow("animationDuration"+a),l=n.getShallow("animationEasing"+a),c=n.getShallow("animationDelay"+a);"function"==typeof c&&(c=c(o,n.getAnimationDelayParams?n.getAnimationDelayParams(t,o):null)),"function"==typeof s&&(s=s(o)),s>0?t.animateTo(i,s,c||0,l,r):(t.attr(i),r&&r())}else t.attr(i),r&&r()}var m=i(0),v=i(532),y=Math.round,x=i(15),b=i(27),_=i(21),w=i(6),S={};S.Group=i(70),S.Image=i(101),S.Text=i(175),S.Circle=i(523),S.Sector=i(529),S.Ring=i(528),S.Polygon=i(525),S.Polyline=i(526),S.Rect=i(527),S.Line=i(524),S.BezierCurve=i(522),S.Arc=i(521),S.CompoundPath=i(516),S.LinearGradient=i(172),S.RadialGradient=i(517),S.BoundingRect=i(10),S.extendShape=function(e){return x.extend(e)},S.extendPath=function(e,t){return v.extendFromString(e,t)},S.makePath=function(e,t,i,n){var o=v.createFromString(e,t),r=o.getBoundingRect();if(i){var a=r.width/r.height;if("center"===n){var s,l=i.height*a;l<=i.width?s=i.height:(l=i.width,s=l/a);var c=i.x+i.width/2,u=i.y+i.height/2;i.x=c-l/2,i.y=u-s/2,i.width=l,i.height=s}S.resizePath(o,i)}return o},S.mergePath=v.mergePath,S.resizePath=function(e,t){if(e.applyTransform){var i=e.getBoundingRect(),n=i.calculateTransform(t);e.applyTransform(n)}},S.subPixelOptimizeLine=function(e){var t=S.subPixelOptimize,i=e.shape,n=e.style.lineWidth;return y(2*i.x1)===y(2*i.x2)&&(i.x1=i.x2=t(i.x1,n,!0)),y(2*i.y1)===y(2*i.y2)&&(i.y1=i.y2=t(i.y1,n,!0)),e},S.subPixelOptimizeRect=function(e){var t=S.subPixelOptimize,i=e.shape,n=e.style.lineWidth,o=i.x,r=i.y,a=i.width,s=i.height;return i.x=t(i.x,n,!0),i.y=t(i.y,n,!0),i.width=Math.max(t(o+a,n,!1)-i.x,0===a?0:1),i.height=Math.max(t(r+s,n,!1)-i.y,0===s?0:1),e},S.subPixelOptimize=function(e,t,i){var n=y(2*e);return(n+y(t))%2==0?n/2:(n+(i?1:-1))/2},S.setHoverStyle=function(e,t,i){e.__hoverSilentOnTouch=i&&i.hoverSilentOnTouch,"group"===e.type?e.traverse(function(e){"group"!==e.type&&u(e,t)}):u(e,t),e.on("mouseover",h).on("mouseout",d),e.on("emphasis",p).on("normal",f)},S.setText=function(e,t,i){var n=t.getShallow("position")||"inside",o=t.getShallow("offset"),r=n.indexOf("inside")>=0?"white":i,a=t.getModel("textStyle");m.extend(e,{textDistance:t.getShallow("distance")||5,textFont:a.getFont(),textPosition:n,textOffset:o,textFill:a.getTextColor()||r})},S.updateProps=function(e,t,i,n,o){g(!0,e,t,i,n,o)},S.initProps=function(e,t,i,n,o){g(!1,e,t,i,n,o)},S.getTransform=function(e,t){for(var i=_.identity([]);e&&e!==t;)_.mul(i,e.getLocalTransform(),i),e=e.parent;return i},S.applyTransform=function(e,t,i){return i&&(t=_.invert([],t)),w.applyTransform([],e,t)},S.transformDirection=function(e,t,i){var n=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),o=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),r=["left"===e?-n:"right"===e?n:0,"top"===e?-o:"bottom"===e?o:0];return r=S.applyTransform(r,t,i),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"},S.groupTransition=function(e,t,i,n){function o(e){var t={position:w.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=m.extend({},e.shape)),t}if(e&&t){var r=function(e){var t={};return e.traverse(function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)}),t}(e);t.traverse(function(e){if(!e.isGroup&&e.anid){var t=r[e.anid];if(t){var n=o(e);e.attr(o(t)),S.updateProps(e,n,i,e.dataIndex)}}})}},e.exports=S},function(e,t){function i(e){return e.replace(/^\s+/,"").replace(/\s+$/,"")}var n={};n.linearMap=function(e,t,i,n){var o=t[1]-t[0],r=i[1]-i[0];if(0===o)return 0===r?i[0]:(i[0]+i[1])/2;if(n)if(o>0){if(e<=t[0])return i[0];if(e>=t[1])return i[1]}else{if(e>=t[0])return i[0];if(e<=t[1])return i[1]}else{if(e===t[0])return i[0];if(e===t[1])return i[1]}return(e-t[0])/o*r+i[0]},n.parsePercent=function(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return"string"==typeof e?i(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e},n.round=function(e,t,i){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),i?e:+e},n.asc=function(e){return e.sort(function(e,t){return e-t}),e},n.getPrecision=function(e){if(e=+e,isNaN(e))return 0;for(var t=1,i=0;Math.round(e*t)/t!==e;)t*=10,i++;return i},n.getPrecisionSafe=function(e){var t=e.toString(),i=t.indexOf(".");return i<0?0:t.length-1-i},n.getPixelPrecision=function(e,t){var i=Math.log,n=Math.LN10,o=Math.floor(i(e[1]-e[0])/n),r=Math.round(i(Math.abs(t[1]-t[0]))/n),a=Math.min(Math.max(-o+r,0),20);return isFinite(a)?a:20},n.MAX_SAFE_INTEGER=9007199254740991,n.remRadian=function(e){var t=2*Math.PI;return(e%t+t)%t},n.isRadianAroundZero=function(e){return e>-1e-4&&e<1e-4};var o=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(?:Z|([\+\-]\d\d):?\d\d)?)?)?)?)?$/,r=(new Date).getTimezoneOffset();n.parseDate=function(e){if(e instanceof Date)return e;if("string"==typeof e){var t=o.exec(e);return t?new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0)-60*(t[8]||0)-r,+t[6]||0,+t[7]||0):new Date(NaN)}return null==e?new Date(NaN):new Date(Math.round(e))},n.quantity=function(e){return Math.pow(10,Math.floor(Math.log(e)/Math.LN10))},n.nice=function(e,t){var i=n.quantity(e),o=e/i;return(t?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10)*i},n.reformIntervals=function(e){function t(e,i,n){return e.interval[n]<i.interval[n]||e.interval[n]===i.interval[n]&&(e.close[n]-i.close[n]==(n?-1:1)||!n&&t(e,i,1))}e.sort(function(e,i){return t(e,i,0)?-1:1});for(var i=-(1/0),n=1,o=0;o<e.length;){for(var r=e[o].interval,a=e[o].close,s=0;s<2;s++)r[s]<=i&&(r[s]=i,a[s]=s?1:1-n),i=r[s],n=a[s];r[0]===r[1]&&a[0]*a[1]!=1?e.splice(o,1):o++}return e},n.isNumeric=function(e){return e-parseFloat(e)>=0},e.exports=n},function(e,t,i){var n=i(0),o=i(3),r=i(25),a={};a.addCommas=function(e){return isNaN(e)?"-":(e=(e+"").split("."),e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:""))},a.toCamelCase=function(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e},a.normalizeCssArray=function(e){var t=e.length;return"number"==typeof e?[e,e,e,e]:2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e};var s=a.encodeHTML=function(e){return String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")},l=["a","b","c","d","e","f","g"],c=function(e,t){return"{"+e+(null==t?"":t)+"}"};a.formatTpl=function(e,t,i){n.isArray(t)||(t=[t]);var o=t.length;if(!o)return"";for(var r=t[0].$vars||[],a=0;a<r.length;a++){var u=l[a],h=c(u,0);e=e.replace(c(u),i?s(h):h)}for(var d=0;d<o;d++)for(var p=0;p<r.length;p++){var h=t[d][r[p]];e=e.replace(c(l[p],d),i?s(h):h)}return e},a.formatTplSimple=function(e,t,i){return n.each(t,function(t,n){e=e.replace("{"+n+"}",i?s(t):t)}),e};var u=function(e){return e<10?"0"+e:e};a.formatTime=function(e,t,i){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var n=o.parseDate(t),r=i?"":"UTC",a=n["get"+r+"FullYear"](),s=n["get"+r+"Month"]()+1,l=n["get"+r+"Date"](),c=n["get"+r+"Hours"](),h=n["get"+r+"Minutes"](),d=n["get"+r+"Seconds"]();return e=e.replace("MM",u(s)).toLowerCase().replace("yyyy",a).replace("yy",a%100).replace("dd",u(l)).replace("d",l).replace("hh",u(c)).replace("h",c).replace("mm",u(h)).replace("m",h).replace("ss",u(d)).replace("s",d)},a.capitalFirst=function(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e},a.truncateText=r.truncateText,e.exports=a},function(e,t,i){function n(e,t){return e&&e.hasOwnProperty(t)}var o=i(4),r=i(3),a=i(9),s=i(0),l=s.each,c=s.isObject,u={};u.normalizeToArray=function(e){return e instanceof Array?e:null==e?[]:[e]},u.defaultEmphasis=function(e,t){if(e){var i=e.emphasis=e.emphasis||{},n=e.normal=e.normal||{};l(t,function(e){var t=s.retrieve(i[e],n[e]);null!=t&&(i[e]=t)})}},u.LABEL_OPTIONS=["position","offset","show","textStyle","distance","formatter"],u.getDataItemValue=function(e){return e&&(null==e.value?e:e.value)},u.isDataItemOption=function(e){return c(e)&&!(e instanceof Array)},u.converDataValue=function(e,t){var i=t&&t.type;return"ordinal"===i?e:("time"===i&&"number"!=typeof e&&null!=e&&"-"!==e&&(e=+r.parseDate(e)),null==e||""===e?NaN:+e)},u.createDataFormatModel=function(e,t){var i=new a;return s.mixin(i,u.dataFormatMixin),i.seriesIndex=t.seriesIndex,i.name=t.name||"",i.mainType=t.mainType,i.subType=t.subType,i.getData=function(){return e},i},u.dataFormatMixin={getDataParams:function(e,t){var i=this.getData(t),n=this.getRawValue(e,t),o=i.getRawIndex(e),r=i.getName(e,!0),a=i.getRawDataItem(e);return{componentType:this.mainType,componentSubType:this.subType,seriesType:"series"===this.mainType?this.subType:null,seriesIndex:this.seriesIndex,seriesId:this.id,seriesName:this.name,name:r,dataIndex:o,data:a,dataType:t,value:n,color:i.getItemVisual(e,"color"),$vars:["seriesName","name","value"]}},getFormattedLabel:function(e,t,i,n){t=t||"normal";var r=this.getData(i),a=r.getItemModel(e),s=this.getDataParams(e,i);null!=n&&s.value instanceof Array&&(s.value=s.value[n]);var l=a.get(["label",t,"formatter"]);return"function"==typeof l?(s.status=t,l(s)):"string"==typeof l?o.formatTpl(l,s):void 0},getRawValue:function(e,t){var i=this.getData(t),n=i.getRawDataItem(e);if(null!=n)return!c(n)||n instanceof Array?n:n.value},formatTooltip:s.noop},u.mappingToExists=function(e,t){t=(t||[]).slice();var i=s.map(e||[],function(e,t){return{exist:e}});return l(t,function(e,n){if(c(e)){for(var o=0;o<i.length;o++)if(!i[o].option&&null!=e.id&&i[o].exist.id===e.id+"")return i[o].option=e,void(t[n]=null);for(var o=0;o<i.length;o++){var r=i[o].exist;if(!(i[o].option||null!=r.id&&null!=e.id||null==e.name||u.isIdInner(e)||u.isIdInner(r)||r.name!==e.name+""))return i[o].option=e,void(t[n]=null)}}}),l(t,function(e,t){if(c(e)){for(var n=0;n<i.length;n++){var o=i[n].exist;if(!i[n].option&&!u.isIdInner(o)&&null==e.id){i[n].option=e;break}}n>=i.length&&i.push({option:e})}}),i},u.makeIdAndName=function(e){var t={};l(e,function(e,i){var n=e.exist;n&&(t[n.id]=e)}),l(e,function(e,i){var n=e.option;s.assert(!n||null==n.id||!t[n.id]||t[n.id]===e,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&(t[n.id]=e),!e.keyInfo&&(e.keyInfo={})}),l(e,function(e,i){var n=e.exist,o=e.option,r=e.keyInfo;if(c(o)){if(r.name=null!=o.name?o.name+"":n?n.name:"\0-",n)r.id=n.id;else if(null!=o.id)r.id=o.id+"";else{var a=0;do{r.id="\0"+r.name+"\0"+a++}while(t[r.id])}t[r.id]=e}})},u.isIdInner=function(e){return c(e)&&e.id&&0===(e.id+"").indexOf("\0_ec_\0")},u.compressBatches=function(e,t){function i(e,t,i){for(var n=0,o=e.length;n<o;n++)for(var r=e[n].seriesId,a=u.normalizeToArray(e[n].dataIndex),s=i&&i[r],l=0,c=a.length;l<c;l++){var h=a[l];s&&s[h]?s[h]=null:(t[r]||(t[r]={}))[h]=1}}function n(e,t){var i=[];for(var o in e)if(e.hasOwnProperty(o)&&null!=e[o])if(t)i.push(+o);else{var r=n(e[o],!0);r.length&&i.push({seriesId:o,dataIndex:r})}return i}var o={},r={};return i(e||[],o),i(t||[],r,o),[n(o),n(r)]},u.queryDataIndex=function(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?s.isArray(t.dataIndex)?s.map(t.dataIndex,function(t){return e.indexOfRawIndex(t)}):e.indexOfRawIndex(t.dataIndex):null!=t.name?s.isArray(t.name)?s.map(t.name,function(t){return e.indexOfName(t)}):e.indexOfName(t.name):void 0},u.makeGetter=function(){var e=0;return function(){var t="\0__ec_prop_getter_"+e++;return function(e){return e[t]||(e[t]={})}}}(),u.parseFinder=function(e,t,i){if(s.isString(t)){var o={};o[t+"Index"]=0,t=o}var r=i&&i.defaultMainType;!r||n(t,r+"Index")||n(t,r+"Id")||n(t,r+"Name")||(t[r+"Index"]=0);var a={};return l(t,function(n,o){var n=t[o];if("dataIndex"===o||"dataIndexInside"===o)return void(a[o]=n);var r=o.match(/^(\w+)(Index|Id|Name)$/)||[],l=r[1],c=(r[2]||"").toLowerCase();if(!(!l||!c||null==n||"index"===c&&"none"===n||i&&i.includeMainTypes&&s.indexOf(i.includeMainTypes,l)<0)){var u={mainType:l};"index"===c&&"all"===n||(u[c]=n);var h=e.queryComponents(u);a[l+"Models"]=h,a[l+"Model"]=h[0]}}),a},e.exports=u},function(e,t){var i="undefined"==typeof Float32Array?Array:Float32Array,n={create:function(e,t){var n=new i(2);return null==e&&(e=0),null==t&&(t=0),n[0]=e,n[1]=t,n},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},clone:function(e){var t=new i(2);return t[0]=e[0],t[1]=e[1],t},set:function(e,t,i){return e[0]=t,e[1]=i,e},add:function(e,t,i){return e[0]=t[0]+i[0],e[1]=t[1]+i[1],e},scaleAndAdd:function(e,t,i,n){return e[0]=t[0]+i[0]*n,e[1]=t[1]+i[1]*n,e},sub:function(e,t,i){return e[0]=t[0]-i[0],e[1]=t[1]-i[1],e},len:function(e){return Math.sqrt(this.lenSquare(e))},lenSquare:function(e){return e[0]*e[0]+e[1]*e[1]},mul:function(e,t,i){return e[0]=t[0]*i[0],e[1]=t[1]*i[1],e},div:function(e,t,i){return e[0]=t[0]/i[0],e[1]=t[1]/i[1],e},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]},scale:function(e,t,i){return e[0]=t[0]*i,e[1]=t[1]*i,e},normalize:function(e,t){var i=n.len(t);return 0===i?(e[0]=0,e[1]=0):(e[0]=t[0]/i,e[1]=t[1]/i),e},distance:function(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))},distanceSquare:function(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])},negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e},lerp:function(e,t,i,n){return e[0]=t[0]+n*(i[0]-t[0]),e[1]=t[1]+n*(i[1]-t[1]),e},applyTransform:function(e,t,i){var n=t[0],o=t[1];return e[0]=i[0]*n+i[2]*o+i[4],e[1]=i[1]*n+i[3]*o+i[5],e},min:function(e,t,i){return e[0]=Math.min(t[0],i[0]),e[1]=Math.min(t[1],i[1]),e},max:function(e,t,i){return e[0]=Math.max(t[0],i[0]),e[1]=Math.max(t[1],i[1]),e}};n.length=n.len,n.lengthSquare=n.lenSquare,n.dist=n.distance,n.distSquare=n.distanceSquare,e.exports=n},function(e,t,i){"use strict";function n(e,t,i,n,o){var r=0,a=0;null==n&&(n=1/0),null==o&&(o=1/0);var s=0;t.eachChild(function(l,c){var u,h,d=l.position,p=l.getBoundingRect(),f=t.childAt(c+1),g=f&&f.getBoundingRect();if("horizontal"===e){var m=p.width+(g?-g.x+p.x:0);u=r+m,u>n||l.newline?(r=0,u=m,a+=s+i,s=p.height):s=Math.max(s,p.height)}else{var v=p.height+(g?-g.y+p.y:0);h=a+v,h>o||l.newline?(r+=s+i,a=0,h=v,s=p.width):s=Math.max(s,p.width)}l.newline||(d[0]=r,d[1]=a,"horizontal"===e?r=u+i:a=h+i)})}var o=i(0),r=i(10),a=i(3),s=i(4),l=a.parsePercent,c=o.each,u={},h=u.LOCATION_PARAMS=["left","right","top","bottom","width","height"],d=u.HV_NAMES=[["width","left","right"],["height","top","bottom"]];u.box=n,u.vbox=o.curry(n,"vertical"),u.hbox=o.curry(n,"horizontal"),u.getAvailableSize=function(e,t,i){var n=t.width,o=t.height,r=l(e.x,n),a=l(e.y,o),c=l(e.x2,n),u=l(e.y2,o);return(isNaN(r)||isNaN(parseFloat(e.x)))&&(r=0),(isNaN(c)||isNaN(parseFloat(e.x2)))&&(c=n),(isNaN(a)||isNaN(parseFloat(e.y)))&&(a=0),(isNaN(u)||isNaN(parseFloat(e.y2)))&&(u=o),i=s.normalizeCssArray(i||0),{width:Math.max(c-r-i[1]-i[3],0),height:Math.max(u-a-i[0]-i[2],0)}},u.getLayoutRect=function(e,t,i){i=s.normalizeCssArray(i||0);var n=t.width,o=t.height,a=l(e.left,n),c=l(e.top,o),u=l(e.right,n),h=l(e.bottom,o),d=l(e.width,n),p=l(e.height,o),f=i[2]+i[0],g=i[1]+i[3],m=e.aspect;switch(isNaN(d)&&(d=n-u-g-a),isNaN(p)&&(p=o-h-f-c),isNaN(d)&&isNaN(p)&&(m>n/o?d=.8*n:p=.8*o),null!=m&&(isNaN(d)&&(d=m*p),isNaN(p)&&(p=d/m)),isNaN(a)&&(a=n-u-d-g),isNaN(c)&&(c=o-h-p-f),e.left||e.right){case"center":a=n/2-d/2-i[3];break;case"right":a=n-d-g}switch(e.top||e.bottom){case"middle":case"center":c=o/2-p/2-i[0];break;case"bottom":c=o-p-f}a=a||0,c=c||0,isNaN(d)&&(d=n-a-(u||0)),isNaN(p)&&(p=o-c-(h||0));var v=new r(a+i[3],c+i[0],d,p);return v.margin=i,v},u.positionElement=function(e,t,i,n,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],c=a&&a.boundingMode||"all";if(s||l){var h;if("raw"===c)h="group"===e.type?new r(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(h=e.getBoundingRect(),e.needLocalTransform()){var d=e.getLocalTransform();h=h.clone(),h.applyTransform(d)}t=u.getLayoutRect(o.defaults({width:h.width,height:h.height},t),i,n);var p=e.position,f=s?t.x-h.x:0,g=l?t.y-h.y:0;e.attr("position","raw"===c?[f,g]:[p[0]+f,p[1]+g])}},u.sizeCalculable=function(e,t){return null!=e[d[t][0]]||null!=e[d[t][1]]&&null!=e[d[t][2]]},u.mergeLayoutParam=function(e,t,i){function n(i,n){var o={},s=0,u={},h=0;if(c(i,function(t){u[t]=e[t]}),c(i,function(e){r(t,e)&&(o[e]=u[e]=t[e]),a(o,e)&&s++,a(u,e)&&h++}),l[n])return a(t,i[2])&&(u[i[1]]=null),a(t,i[1])&&(u[i[2]]=null),u;if(2!==h&&s){if(s>=2)return o;for(var d=0;d<i.length;d++){var p=i[d];if(!r(o,p)&&r(e,p)){o[p]=e[p];break}}return o}return u}function r(e,t){return e.hasOwnProperty(t)}function a(e,t){return null!=e[t]&&"auto"!==e[t]}function s(e,t,i){c(e,function(e){t[e]=i[e]})}!o.isObject(i)&&(i={});var l=i.ignoreSize;!o.isArray(l)&&(l=[l,l]);var u=n(d[0],0),h=n(d[1],1);s(d[0],e,u),s(d[1],e,h)},u.getLayoutParams=function(e){return u.copyLayoutParams({},e)},u.copyLayoutParams=function(e,t){return t&&e&&c(h,function(i){t.hasOwnProperty(i)&&(e[i]=t[i])}),e},e.exports=u},,function(e,t,i){function n(e,t,i){this.parentModel=t,this.ecModel=i,this.option=e}function o(e,t,i){for(var n=0;n<t.length&&(!t[n]||null!=(e=e&&"object"==typeof e?e[t[n]]:null));n++);return null==e&&i&&(e=i.get(t)),e}function r(e,t){var i=s.get(e,"getParent");return i?i.call(e,t):e.parentModel}var a=i(0),s=i(24),l=i(13);n.prototype={constructor:n,init:null,mergeOption:function(e){a.merge(this.option,e,!0)},get:function(e,t){return null==e?this.option:o(this.option,this.parsePath(e),!t&&r(this,e))},getShallow:function(e,t){var i=this.option,n=null==i?i:i[e],o=!t&&r(this,e);return null==n&&o&&(n=o.getShallow(e)),n},getModel:function(e,t){var i,a=null==e?this.option:o(this.option,e=this.parsePath(e));return t=t||(i=r(this,e))&&i.getModel(e),new n(a,t,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){return new(0,this.constructor)(a.clone(this.option))},setReadOnly:function(e){s.setReadOnly(this,e)},parsePath:function(e){return"string"==typeof e&&(e=e.split(".")),e},customizeGetParent:function(e){s.set(this,"getParent",e)},isAnimationEnabled:function(){if(!l.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},s.enableClassExtend(n);var c=a.mixin;c(n,i(452)),c(n,i(449)),c(n,i(453)),c(n,i(451)),e.exports=n},function(e,t,i){"use strict";function n(e,t,i,n){i<0&&(e+=i,i=-i),n<0&&(t+=n,n=-n),this.x=e,this.y=t,this.width=i,this.height=n}var o=i(6),r=i(21),a=o.applyTransform,s=Math.min,l=Math.max;n.prototype={constructor:n,union:function(e){var t=s(e.x,this.x),i=s(e.y,this.y);this.width=l(e.x+e.width,this.x+this.width)-t,this.height=l(e.y+e.height,this.y+this.height)-i,this.x=t,this.y=i},applyTransform:function(){var e=[],t=[],i=[],n=[];return function(o){if(o){e[0]=i[0]=this.x,e[1]=n[1]=this.y,t[0]=n[0]=this.x+this.width,t[1]=i[1]=this.y+this.height,a(e,e,o),a(t,t,o),a(i,i,o),a(n,n,o),this.x=s(e[0],t[0],i[0],n[0]),this.y=s(e[1],t[1],i[1],n[1]);var r=l(e[0],t[0],i[0],n[0]),c=l(e[1],t[1],i[1],n[1]);this.width=r-this.x,this.height=c-this.y}}}(),calculateTransform:function(e){var t=this,i=e.width/t.width,n=e.height/t.height,o=r.create();return r.translate(o,o,[-t.x,-t.y]),r.scale(o,o,[i,n]),r.translate(o,o,[e.x,e.y]),o},intersect:function(e){if(!e)return!1;e instanceof n||(e=n.create(e));var t=this,i=t.x,o=t.x+t.width,r=t.y,a=t.y+t.height,s=e.x,l=e.x+e.width,c=e.y,u=e.y+e.height;return!(o<s||l<i||a<c||u<r)},contain:function(e,t){var i=this;return e>=i.x&&e<=i.x+i.width&&t>=i.y&&t<=i.y+i.height},clone:function(){return new n(this.x,this.y,this.width,this.height)},copy:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},n.create=function(e){return new n(e.x,e.y,e.width,e.height)},e.exports=n},function(e,t,i){(function(t){function n(e){return h.isArray(e)||(e=[e]),e}function o(e,t){var i=e.dimensions,n=new m(h.map(i,e.getDimensionInfo,e),e.hostModel);g(n,e);for(var o=n._storage={},r=e._storage,a=0;a<i.length;a++){var s=i[a],l=r[s];h.indexOf(t,s)>=0?o[s]=new l.constructor(r[s].length):o[s]=r[s]}return n}var r="undefined"==typeof window?t:window,a=void 0===r.Float64Array?Array:r.Float64Array,s=void 0===r.Int32Array?Array:r.Int32Array,l={float:a,int:s,ordinal:Array,number:Array,time:Array},c=i(9),u=i(49),h=i(0),d=i(5),p=h.isObject,f=["stackedOn","hasItemOption","_nameList","_idList","_rawData"],g=function(e,t){h.each(f.concat(t.__wrappedMethods||[]),function(i){t.hasOwnProperty(i)&&(e[i]=t[i])}),e.__wrappedMethods=t.__wrappedMethods},m=function(e,t){e=e||["x","y"];for(var i={},n=[],o=0;o<e.length;o++){var r,a={};"string"==typeof e[o]?(r=e[o],a={name:r,stackable:!1,type:"number"}):(a=e[o],r=a.name,a.type=a.type||"number"),n.push(r),i[r]=a}this.dimensions=n,this._dimensionInfos=i,this.hostModel=t,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},v=m.prototype;v.type="list",v.hasItemOption=!0,v.getDimension=function(e){return isNaN(e)||(e=this.dimensions[e]||e),e},v.getDimensionInfo=function(e){return h.clone(this._dimensionInfos[this.getDimension(e)])},v.initData=function(e,t,i){if(e=e||[],__DEV__&&!h.isArray(e))throw new Error("Invalid data.");this._rawData=e;var n=this._storage={},o=this.indices=[],r=this.dimensions,a=e.length,s=this._dimensionInfos,c=[],u={};t=t||[];for(var p=0;p<r.length;p++){var f=s[r[p]],g=l[f.type];n[r[p]]=new g(a)}var m=this;i||(m.hasItemOption=!1),i=i||function(e,t,i,n){var o=d.getDataItemValue(e);return d.isDataItemOption(e)&&(m.hasItemOption=!0),d.converDataValue(o instanceof Array?o[n]:o,s[t])};for(var v=0;v<e.length;v++){for(var y=e[v],x=0;x<r.length;x++){var b=r[x];n[b][v]=i(y,b,v,x)}o.push(v)}for(var p=0;p<e.length;p++){t[p]||e[p]&&null!=e[p].name&&(t[p]=e[p].name);var _=t[p]||"",w=e[p]&&e[p].id;!w&&_&&(u[_]=u[_]||0,w=_,u[_]>0&&(w+="__ec__"+u[_]),u[_]++),w&&(c[p]=w)}this._nameList=t,this._idList=c},v.count=function(){return this.indices.length},v.get=function(e,t,i){var n=this._storage,o=this.indices[t];if(null==o)return NaN;var r=n[e]&&n[e][o];if(i){var a=this._dimensionInfos[e];if(a&&a.stackable)for(var s=this.stackedOn;s;){var l=s.get(e,t);(r>=0&&l>0||r<=0&&l<0)&&(r+=l),s=s.stackedOn}}return r},v.getValues=function(e,t,i){var n=[];h.isArray(e)||(i=t,t=e,e=this.dimensions);for(var o=0,r=e.length;o<r;o++)n.push(this.get(e[o],t,i));return n},v.hasValue=function(e){for(var t=this.dimensions,i=this._dimensionInfos,n=0,o=t.length;n<o;n++)if("ordinal"!==i[t[n]].type&&isNaN(this.get(t[n],e)))return!1;return!0},v.getDataExtent=function(e,t,i){e=this.getDimension(e);var n=this._storage[e],o=this.getDimensionInfo(e);t=o&&o.stackable&&t;var r,a=(this._extent||(this._extent={}))[e+!!t];if(a)return a;if(n){for(var s=1/0,l=-(1/0),c=0,u=this.count();c<u;c++)r=this.get(e,c,t),i&&!i(r,e,c)||(r<s&&(s=r),r>l&&(l=r));return this._extent[e+!!t]=[s,l]}return[1/0,-(1/0)]},v.getSum=function(e,t){var i=this._storage[e],n=0;if(i)for(var o=0,r=this.count();o<r;o++){var a=this.get(e,o,t);isNaN(a)||(n+=a)}return n},v.indexOf=function(e,t){var i=this._storage,n=i[e],o=this.indices;if(n)for(var r=0,a=o.length;r<a;r++){var s=o[r];if(n[s]===t)return r}return-1},v.indexOfName=function(e){for(var t=this.indices,i=this._nameList,n=0,o=t.length;n<o;n++){if(i[t[n]]===e)return n}return-1},v.indexOfRawIndex=function(e){var t=this.indices,i=t[e];if(null!=i&&i===e)return e;for(var n=0,o=t.length-1;n<=o;){var r=(n+o)/2|0;if(t[r]<e)n=r+1;else{if(!(t[r]>e))return r;o=r-1}}return-1},v.indexOfNearest=function(e,t,i,n){var o=this._storage,r=o[e],a=[];if(!r)return a;null==n&&(n=1/0);for(var s=Number.MAX_VALUE,l=-1,c=0,u=this.count();c<u;c++){var h=t-this.get(e,c,i),d=Math.abs(h);h<=n&&d<=s&&((d<s||h>=0&&l<0)&&(s=d,l=h,a.length=0),a.push(c))}return a},v.getRawIndex=function(e){var t=this.indices[e];return null==t?-1:t},v.getRawDataItem=function(e){return this._rawData[this.getRawIndex(e)]},v.getName=function(e){return this._nameList[this.indices[e]]||""},v.getId=function(e){return this._idList[this.indices[e]]||this.getRawIndex(e)+""},v.each=function(e,t,i,o){"function"==typeof e&&(o=i,i=t,t=e,e=[]),e=h.map(n(e),this.getDimension,this);var r=[],a=e.length,s=this.indices;o=o||this;for(var l=0;l<s.length;l++)switch(a){case 0:t.call(o,l);break;case 1:t.call(o,this.get(e[0],l,i),l);break;case 2:t.call(o,this.get(e[0],l,i),this.get(e[1],l,i),l);break;default:for(var c=0;c<a;c++)r[c]=this.get(e[c],l,i);r[c]=l,t.apply(o,r)}},v.filterSelf=function(e,t,i,o){"function"==typeof e&&(o=i,i=t,t=e,e=[]),e=h.map(n(e),this.getDimension,this);var r=[],a=[],s=e.length,l=this.indices;o=o||this;for(var c=0;c<l.length;c++){var u;if(1===s)u=t.call(o,this.get(e[0],c,i),c);else{for(var d=0;d<s;d++)a[d]=this.get(e[d],c,i);a[d]=c,u=t.apply(o,a)}u&&r.push(l[c])}return this.indices=r,this._extent={},this},v.mapArray=function(e,t,i,n){"function"==typeof e&&(n=i,i=t,t=e,e=[]);var o=[];return this.each(e,function(){o.push(t&&t.apply(this,arguments))},i,n),o},v.map=function(e,t,i,r){e=h.map(n(e),this.getDimension,this);var a=o(this,e),s=a.indices=this.indices,l=a._storage,c=[];return this.each(e,function(){var i=arguments[arguments.length-1],n=t&&t.apply(this,arguments);if(null!=n){"number"==typeof n&&(c[0]=n,n=c);for(var o=0;o<n.length;o++){var r=e[o],a=l[r],u=s[i];a&&(a[u]=n[o])}}},i,r),a},v.downSample=function(e,t,i,n){for(var r=o(this,[e]),a=this._storage,s=r._storage,l=this.indices,c=r.indices=[],u=[],h=[],d=Math.floor(1/t),p=s[e],f=this.count(),g=0;g<a[e].length;g++)s[e][g]=a[e][g];for(var g=0;g<f;g+=d){d>f-g&&(d=f-g,u.length=d);for(var m=0;m<d;m++){var v=l[g+m];u[m]=p[v],h[m]=v}var y=i(u),v=h[n(u,y)||0];p[v]=y,c.push(v)}return r},v.getItemModel=function(e){var t=this.hostModel;return e=this.indices[e],new c(this._rawData[e],t,t&&t.ecModel)},v.diff=function(e){var t,i=this._idList,n=e&&e._idList;return new u(e?e.indices:[],this.indices,function(e){return null!=(t=n[e])?t:"e\0\0"+e},function(e){return null!=(t=i[e])?t:"e\0\0"+e})},v.getVisual=function(e){var t=this._visual;return t&&t[e]},v.setVisual=function(e,t){if(p(e))for(var i in e)e.hasOwnProperty(i)&&this.setVisual(i,e[i]);else this._visual=this._visual||{},this._visual[e]=t},v.setLayout=function(e,t){if(p(e))for(var i in e)e.hasOwnProperty(i)&&this.setLayout(i,e[i]);else this._layout[e]=t},v.getLayout=function(e){return this._layout[e]},v.getItemLayout=function(e){return this._itemLayouts[e]},v.setItemLayout=function(e,t,i){this._itemLayouts[e]=i?h.extend(this._itemLayouts[e]||{},t):t},v.clearItemLayouts=function(){this._itemLayouts.length=0},v.getItemVisual=function(e,t,i){var n=this._itemVisuals[e],o=n&&n[t];return null!=o||i?o:this.getVisual(t)},v.setItemVisual=function(e,t,i){var n=this._itemVisuals[e]||{};if(this._itemVisuals[e]=n,p(t))for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o]);else n[t]=i},v.clearAllVisual=function(){this._visual={},this._itemVisuals=[]};var y=function(e){e.seriesIndex=this.seriesIndex,e.dataIndex=this.dataIndex,e.dataType=this.dataType};v.setItemGraphicEl=function(e,t){var i=this.hostModel;t&&(t.dataIndex=e,t.dataType=this.dataType,t.seriesIndex=i&&i.seriesIndex,"group"===t.type&&t.traverse(y,t)),this._graphicEls[e]=t},v.getItemGraphicEl=function(e){return this._graphicEls[e]},v.eachItemGraphicEl=function(e,t){h.each(this._graphicEls,function(i,n){i&&e&&e.call(t,i,n)})},v.cloneShallow=function(){var e=h.map(this.dimensions,this.getDimensionInfo,this),t=new m(e,this.hostModel);return t._storage=this._storage,g(t,this),t.indices=this.indices.slice(),this._extent&&(t._extent=h.extend({},this._extent)),t},v.wrapMethod=function(e,t){var i=this[e];"function"==typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=i.apply(this,arguments);return t.apply(this,[e].concat(h.slice(arguments)))})},v.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],v.CHANGABLE_METHODS=["filterSelf"],e.exports=m}).call(t,i(68))},function(e,t,i){function n(e){var t=[];return r.each(u.getClassesByMainType(e),function(e){a.apply(t,e.prototype.dependencies||[])}),r.map(t,function(e){return l.parseClassType(e).main})}var o=i(9),r=i(0),a=Array.prototype.push,s=i(89),l=i(24),c=i(7),u=o.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,t,i,n){o.call(this,e,t,i,n),this.uid=s.getUID("componentModel")},init:function(e,t,i,n){this.mergeDefaultAndTheme(e,i)},mergeDefaultAndTheme:function(e,t){var i=this.layoutMode,n=i?c.getLayoutParams(e):{},o=t.getTheme();r.merge(e,o.get(this.mainType)),r.merge(e,this.getDefaultOption()),i&&c.mergeLayoutParam(e,n,i)},mergeOption:function(e,t){r.merge(this.option,e,!0);var i=this.layoutMode;i&&c.mergeLayoutParam(this.option,e,i)},optionUpdated:function(e,t){},getDefaultOption:function(){if(!l.hasOwn(this,"__defaultOption")){for(var e=[],t=this.constructor;t;){var i=t.prototype.defaultOption;i&&e.push(i),t=t.superClass}for(var n={},o=e.length-1;o>=0;o--)n=r.merge(n,e[o],!0);l.set(this,"__defaultOption",n)}return l.get(this,"__defaultOption")},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});l.enableClassManagement(u,{registerWhenExtend:!0}),s.enableSubTypeDefaulter(u),s.enableTopologicalTravel(u,n),r.mixin(u,i(450)),e.exports=u},function(e,t){var i={};i="undefined"==typeof navigator?{browser:{},os:{},node:!0,canvasSupported:!0}:function(e){var t={},i={},n=e.match(/Firefox\/([\d.]+)/),o=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),r=e.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(e);return n&&(i.firefox=!0,i.version=n[1]),o&&(i.ie=!0,i.version=o[1]),r&&(i.edge=!0,i.version=r[1]),a&&(i.weChat=!0),{browser:i,os:t,node:!1,canvasSupported:!!document.createElement("canvas").getContext,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11)}}(navigator.userAgent),e.exports=i},function(e,t,i){"use strict";var n=i(0),o=i(4),r=i(24),a=i(5),s=i(12),l=i(150),c=i(13),u=i(7),h=r.set,d=r.get,p=o.encodeHTML,f=o.addCommas,g=s.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendDataProvider:null,visualColorAccessPath:"itemStyle.normal.color",layoutMode:null,init:function(e,t,i,o){this.seriesIndex=this.componentIndex,this.mergeDefaultAndTheme(e,i);var r=this.getInitialData(e,i);__DEV__&&n.assert(r,"getInitialData returned invalid data."),h(this,"dataBeforeProcessed",r),this.restoreData()},mergeDefaultAndTheme:function(e,t){var i=this.layoutMode,o=i?u.getLayoutParams(e):{};n.merge(e,t.getTheme().get(this.subType)),n.merge(e,this.getDefaultOption()),a.defaultEmphasis(e.label,a.LABEL_OPTIONS),this.fillDataTextStyle(e.data),i&&u.mergeLayoutParam(e,o,i)},mergeOption:function(e,t){e=n.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var i=this.layoutMode;i&&u.mergeLayoutParam(this.option,e,i);var o=this.getInitialData(e,t);o&&(h(this,"data",o),h(this,"dataBeforeProcessed",o.cloneShallow()))},fillDataTextStyle:function(e){if(e)for(var t=0;t<e.length;t++)e[t]&&e[t].label&&a.defaultEmphasis(e[t].label,a.LABEL_OPTIONS)},getInitialData:function(){},getData:function(e){var t=d(this,"data");return null==e?t:t.getLinkedData(e)},setData:function(e){h(this,"data",e)},getRawData:function(){return d(this,"dataBeforeProcessed")},coordDimToDataDim:function(e){return[e]},dataDimToCoordDim:function(e){return e},getBaseAxis:function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},formatTooltip:function(e,t,i){var r=d(this,"data"),a=this.getRawValue(e),s=p(n.isArray(a)?function(e){var i=[];return n.each(e,function(e,n){var a,s=r.getDimensionInfo(n),l=s&&s.type;(a="ordinal"===l?e+"":"time"===l?t?"":o.formatTime("yyyy/MM/dd hh:mm:ss",e):f(e))&&i.push(a)}),i.join(", ")}(a):f(a)),l=r.getName(e),c=r.getItemVisual(e,"color");n.isObject(c)&&c.colorStops&&(c=(c.colorStops[0]||{}).color),c=c||"transparent";var u='<span style="display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:'+p(c)+'"></span>',h=this.name;return"\0-"===h&&(h=""),t?u+p(this.name)+" : "+s:(h&&p(h)+"<br />")+u+(l?p(l)+" : "+s:s)},isAnimationEnabled:function(){if(c.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){h(this,"data",d(this,"dataBeforeProcessed").cloneShallow())},getColorFromPalette:function(e,t){var i=this.ecModel,n=l.getColorFromPalette.call(this,e,t);return n||(n=i.getColorFromPalette(e,t)),n},getAxisTooltipData:null,getTooltipPosition:null});n.mixin(g,a.dataFormatMixin),n.mixin(g,l),e.exports=g},function(e,t,i){function n(e){o.call(this,e),this.path=new a}var o=i(71),r=i(0),a=i(53),s=i(513),l=i(173),c=l.prototype.getCanvasPattern,u=Math.abs;n.prototype={constructor:n,type:"path",__dirtyPath:!0,strokeContainThreshold:5,brush:function(e,t){var i=this.style,n=this.path,o=i.hasStroke(),r=i.hasFill(),a=i.fill,s=i.stroke,l=r&&!!a.colorStops,u=o&&!!s.colorStops,h=r&&!!a.image,d=o&&!!s.image;if(i.bind(e,this,t),this.setTransform(e),this.__dirty){var p=this.getBoundingRect();l&&(this._fillGradient=i.getGradient(e,a,p)),u&&(this._strokeGradient=i.getGradient(e,s,p))}l?e.fillStyle=this._fillGradient:h&&(e.fillStyle=c.call(a,e)),u?e.strokeStyle=this._strokeGradient:d&&(e.strokeStyle=c.call(s,e));var f=i.lineDash,g=i.lineDashOffset,m=!!e.setLineDash,v=this.getGlobalScale();n.setScale(v[0],v[1]),this.__dirtyPath||f&&!m&&o?(n=this.path.beginPath(e),f&&!m&&(n.setLineDash(f),n.setLineDashOffset(g)),this.buildPath(n,this.shape,!1),this.__dirtyPath=!1):(e.beginPath(),this.path.rebuildPath(e)),r&&n.fill(e),f&&m&&(e.setLineDash(f),e.lineDashOffset=g),o&&n.stroke(e),f&&m&&e.setLineDash([]),this.restoreTransform(e),null!=i.text&&this.drawRectText(e,this.getBoundingRect())},buildPath:function(e,t,i){},getBoundingRect:function(){var e=this._rect,t=this.style,i=!e;if(i){var n=this.path;this.__dirtyPath&&(n.beginPath(),this.buildPath(n,this.shape,!1)),e=n.getBoundingRect()}if(this._rect=e,t.hasStroke()){var o=this._rectWithStroke||(this._rectWithStroke=e.clone());if(this.__dirty||i){o.copy(e);var r=t.lineWidth,a=t.strokeNoScale?this.getLineScale():1;t.hasFill()||(r=Math.max(r,this.strokeContainThreshold||4)),a>1e-10&&(o.width+=r/a,o.height+=r/a,o.x-=r/a/2,o.y-=r/a/2)}return o}return e},contain:function(e,t){var i=this.transformCoordToLocal(e,t),n=this.getBoundingRect(),o=this.style;if(e=i[0],t=i[1],n.contain(e,t)){var r=this.path.data;if(o.hasStroke()){var a=o.lineWidth,l=o.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(o.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),s.containStroke(r,a/l,e,t)))return!0}if(o.hasFill())return s.contain(r,e,t)}return!1},dirty:function(e){null==e&&(e=!0),e&&(this.__dirtyPath=e,this._rect=null),this.__dirty=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(e){return this.animate("shape",e)},attrKV:function(e,t){"shape"===e?(this.setShape(t),this.__dirtyPath=!0,this._rect=null):o.prototype.attrKV.call(this,e,t)},setShape:function(e,t){var i=this.shape;if(i){if(r.isObject(e))for(var n in e)e.hasOwnProperty(n)&&(i[n]=e[n]);else i[e]=t;this.dirty(!0)}return this},getLineScale:function(){var e=this.transform;return e&&u(e[0]-1)>1e-10&&u(e[3]-1)>1e-10?Math.sqrt(u(e[0]*e[3]-e[2]*e[1])):1}},n.extend=function(e){var t=function(t){n.call(this,t),e.style&&this.style.extendFrom(e.style,!1);var i=e.shape;if(i){this.shape=this.shape||{};var o=this.shape;for(var r in i)!o.hasOwnProperty(r)&&i.hasOwnProperty(r)&&(o[r]=i[r])}e.init&&e.init.call(this,t)};r.inherits(t,n);for(var i in e)"style"!==i&&"shape"!==i&&(t.prototype[i]=e[i]);return t},r.inherits(n,o),e.exports=n},,,function(e,t,i){var n=i(458),o=i(62);i(459),i(457);var r=i(63),a=i(3),s=i(0),l=i(25),c={};c.getScaleExtent=function(e,t){var i,n,o,r=e.type,l=t.getMin(),c=t.getMax(),u=null!=l,h=null!=c,d=e.getExtent();return"ordinal"===r?i=(t.get("data")||[]).length:(n=t.get("boundaryGap"),s.isArray(n)||(n=[n||0,n||0]),n[0]=a.parsePercent(n[0],1),n[1]=a.parsePercent(n[1],1),o=d[1]-d[0]),null==l&&(l="ordinal"===r?i?0:NaN:d[0]-n[0]*o),null==c&&(c="ordinal"===r?i?i-1:NaN:d[1]+n[1]*o),"dataMin"===l&&(l=d[0]),"dataMax"===c&&(c=d[1]),(null==l||!isFinite(l))&&(l=NaN),(null==c||!isFinite(c))&&(c=NaN),e.setBlank(s.eqNaN(l)||s.eqNaN(c)),t.getNeedCrossZero()&&(l>0&&c>0&&!u&&(l=0),l<0&&c<0&&!h&&(c=0)),[l,c]},c.niceScaleExtent=function(e,t){var i=c.getScaleExtent(e,t),n=null!=t.getMin(),o=null!=t.getMax(),r=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase")),e.setExtent(i[0],i[1]),e.niceExtent(r,n,o);var a=t.get("minInterval");if(isFinite(a)&&!n&&!o&&"interval"===e.type){var s=e.getInterval(),l=Math.max(Math.abs(s),a)/s;i=e.getExtent();var u=(i[1]+i[0])/2;e.setExtent(l*(i[0]-u)+u,l*(i[1]-u)+u),e.niceExtent(r)}var s=t.get("interval");null!=s&&e.setInterval&&e.setInterval(s)},c.createScaleByModel=function(e,t){if(t=t||e.get("type"))switch(t){case"category":return new n(e.getCategories(),[1/0,-(1/0)]);case"value":return new o;default:return(r.getClass(t)||o).create(e)}},c.ifAxisCrossZero=function(e){var t=e.scale.getExtent(),i=t[0],n=t[1];return!(i>0&&n>0||i<0&&n<0)},c.getAxisLabelInterval=function(e,t,i,n){var o,r=0,a=0,s=1;t.length>40&&(s=Math.floor(t.length/40));for(var c=0;c<e.length;c+=s){var u=e[c],h=l.getBoundingRect(t[c],i,"center","top");h[n?"x":"y"]+=u,h[n?"width":"height"]*=1.3,o?o.intersect(h)?(a++,r=Math.max(r,a)):(o.union(h),a=0):o=h.clone()}return 0===r&&s>1?s:(r+1)*s-1},c.getFormattedLabels=function(e,t){var i=e.scale,n=i.getTicksLabels(),o=i.getTicks();return"string"==typeof t?(t=function(e){return function(t){return e.replace("{value}",null!=t?t:"")}}(t),s.map(n,t)):"function"==typeof t?s.map(o,function(i,n){return t(c.getAxisRawValue(e,i),n)},this):n},c.getAxisRawValue=function(e,t){return"category"===e.type?e.scale.getLabel(t):t},e.exports=c},function(e,t,i){function n(e,t,i){if(!t)return e;i=i||{};var n=i.dimCount;if(null==n){var s=o(t[0]);n=r.isArray(s)&&s.length||1}for(var l=i.defaultNames||[],c=i.extraPrefix||"extra",u=0;u<n;u++)if(!e[u]){var h=l[u]||c+(u-l.length);e[u]=a(t,u)?{type:"ordinal",name:h}:h}return e}function o(e){return r.isArray(e)?e:r.isObject(e)?e.value:e}var r=i(0),a=n.guessOrdinal=function(e,t){for(var i=0,n=e.length;i<n;i++){var a=o(e[i]);if(!r.isArray(a))return!1;var a=a[t];if(null!=a&&isFinite(a))return!1;if(r.isString(a)&&"-"!==a)return!0}return!1};e.exports=n},function(e,t,i){"use strict";var n=i(2),o=i(10),r=n.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var i=t.cx,n=t.cy,o=t.width/2,r=t.height/2;e.moveTo(i,n-r),e.lineTo(i+o,n+r),e.lineTo(i-o,n+r),e.closePath()}}),a=n.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var i=t.cx,n=t.cy,o=t.width/2,r=t.height/2;e.moveTo(i,n-r),e.lineTo(i+o,n),e.lineTo(i,n+r),e.lineTo(i-o,n),e.closePath()}}),s=n.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var i=t.x,n=t.y,o=t.width/5*3,r=Math.max(o,t.height),a=o/2,s=a*a/(r-a),l=n-r+a+s,c=Math.asin(s/a),u=Math.cos(c)*a,h=Math.sin(c),d=Math.cos(c);e.arc(i,l,a,Math.PI-c,2*Math.PI+c);var p=.6*a,f=.7*a;e.bezierCurveTo(i+u-h*p,l+s+d*p,i,n-f,i,n),e.bezierCurveTo(i,n-f,i-u+h*p,l+s+d*p,i-u,l+s),e.closePath()}}),l=n.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var i=t.height,n=t.width,o=t.x,r=t.y,a=n/3*2;e.moveTo(o,r),e.lineTo(o+a,r+i),e.lineTo(o,r+i/4*3),e.lineTo(o-a,r+i),e.lineTo(o,r),e.closePath()}}),c={line:n.Line,rect:n.Rect,roundRect:n.Rect,square:n.Rect,circle:n.Circle,diamond:a,pin:s,arrow:l,triangle:r},u={line:function(e,t,i,n,o){o.x1=e,o.y1=t+n/2,o.x2=e+i,o.y2=t+n/2},rect:function(e,t,i,n,o){o.x=e,o.y=t,o.width=i,o.height=n},roundRect:function(e,t,i,n,o){o.x=e,o.y=t,o.width=i,o.height=n,o.r=Math.min(i,n)/4},square:function(e,t,i,n,o){var r=Math.min(i,n);o.x=e,o.y=t,o.width=r,o.height=r},circle:function(e,t,i,n,o){o.cx=e+i/2,o.cy=t+n/2,o.r=Math.min(i,n)/2},diamond:function(e,t,i,n,o){o.cx=e+i/2,o.cy=t+n/2,o.width=i,o.height=n},pin:function(e,t,i,n,o){o.x=e+i/2,o.y=t+n/2,o.width=i,o.height=n},arrow:function(e,t,i,n,o){o.x=e+i/2,o.y=t+n/2,o.width=i,o.height=n},triangle:function(e,t,i,n,o){o.cx=e+i/2,o.cy=t+n/2,o.width=i,o.height=n}},h={};for(var d in c)c.hasOwnProperty(d)&&(h[d]=new c[d]);var p=n.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},beforeBrush:function(){var e=this.style;"pin"===this.shape.symbolType&&"inside"===e.textPosition&&(e.textPosition=["50%","40%"],e.textAlign="center",e.textVerticalAlign="middle")},buildPath:function(e,t,i){var n=t.symbolType,o=h[n];"none"!==t.symbolType&&(o||(n="rect",o=h[n]),u[n](t.x,t.y,t.width,t.height,o.shape),o.buildPath(e,o.shape,i))}}),f=function(e){if("image"!==this.type){var t=this.style,i=this.shape;i&&"line"===i.symbolType?t.stroke=e:this.__isEmptyBrush?(t.stroke=e,t.fill="#fff"):(t.fill&&(t.fill=e),t.stroke&&(t.stroke=e)),this.dirty(!1)}},g={createSymbol:function(e,t,i,r,a,s){var l=0===e.indexOf("empty");l&&(e=e.substr(5,1).toLowerCase()+e.substr(6));var c;return c=0===e.indexOf("image://")?new n.Image({style:{image:e.slice(8),x:t,y:i,width:r,height:a}}):0===e.indexOf("path://")?n.makePath(e.slice(7),{},new o(t,i,r,a)):new p({shape:{symbolType:e,x:t,y:i,width:r,height:a}}),c.__isEmptyBrush=l,c.setColor=f,c.setColor(s),c}};e.exports=g},function(e,t){var i="undefined"==typeof Float32Array?Array:Float32Array,n={create:function(){var e=new i(6);return n.identity(e),e},identity:function(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e},mul:function(e,t,i){var n=t[0]*i[0]+t[2]*i[1],o=t[1]*i[0]+t[3]*i[1],r=t[0]*i[2]+t[2]*i[3],a=t[1]*i[2]+t[3]*i[3],s=t[0]*i[4]+t[2]*i[5]+t[4],l=t[1]*i[4]+t[3]*i[5]+t[5];return e[0]=n,e[1]=o,e[2]=r,e[3]=a,e[4]=s,e[5]=l,e},translate:function(e,t,i){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+i[0],e[5]=t[5]+i[1],e},rotate:function(e,t,i){var n=t[0],o=t[2],r=t[4],a=t[1],s=t[3],l=t[5],c=Math.sin(i),u=Math.cos(i);return e[0]=n*u+a*c,e[1]=-n*c+a*u,e[2]=o*u+s*c,e[3]=-o*c+u*s,e[4]=u*r+c*l,e[5]=u*l-c*r,e},scale:function(e,t,i){var n=i[0],o=i[1];return e[0]=t[0]*n,e[1]=t[1]*o,e[2]=t[2]*n,e[3]=t[3]*o,e[4]=t[4]*n,e[5]=t[5]*o,e},invert:function(e,t){var i=t[0],n=t[2],o=t[4],r=t[1],a=t[3],s=t[5],l=i*a-r*n;return l?(l=1/l,e[0]=a*l,e[1]=-r*l,e[2]=-n*l,e[3]=i*l,e[4]=(n*s-a*o)*l,e[5]=(r*o-i*s)*l,e):null}};e.exports=n},function(e,t,i){"use strict";function n(){this._coordinateSystems=[]}var o=i(0),r={};n.prototype={constructor:n,create:function(e,t){var i=[];o.each(r,function(n,o){var r=n.create(e,t);i=i.concat(r||[])}),this._coordinateSystems=i},update:function(e,t){o.each(this._coordinateSystems,function(i){i.update&&i.update(e,t)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},n.register=function(e,t){r[e]=t},n.get=function(e){return r[e]},e.exports=n},function(e,t,i){(function(t){function i(e,t){var i=e[1]||"",o=e[3];if(!o)return i;if(t){var r=n(o),a=o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"});return[i].concat(a).concat([r]).join("\n")}return[i].join("\n")}function n(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+new t(JSON.stringify(e)).toString("base64")+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=i(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},o=0;o<this.length;o++){var r=this[o][0];"number"==typeof r&&(n[r]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&n[a[0]]||(i&&!a[2]?a[2]=i:i&&(a[2]="("+a[2]+") and ("+i+")"),t.push(a))}},t}}).call(t,i(217).Buffer)},function(e,t,i){function n(e){a.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function o(e,t){var i=a.slice(arguments,2);return this.superClass.prototype[t].apply(e,i)}function r(e,t,i){return this.superClass.prototype[t].apply(e,i)}var a=i(0),s={},l="___EC__COMPONENT__CONTAINER___";s.set=function(e,t,i){return e["\0ec_\0"+t]=i},s.get=function(e,t){return e["\0ec_\0"+t]},s.hasOwn=function(e,t){return e.hasOwnProperty("\0ec_\0"+t)};var c=s.parseClassType=function(e){var t={main:"",sub:""};return e&&(e=e.split("."),t.main=e[0]||"",t.sub=e[1]||""),t};s.enableClassExtend=function(e,t){e.$constructor=e,e.extend=function(e){__DEV__&&a.each(t,function(t){e[t]||console.warn("Method `"+t+"` should be implemented"+(e.type?" in "+e.type:"")+".")});var i=this,n=function(){e.$constructor?e.$constructor.apply(this,arguments):i.apply(this,arguments)};return a.extend(n.prototype,e),n.extend=this.extend,n.superCall=o,n.superApply=r,a.inherits(n,this),n.superClass=i,n}},s.enableClassManagement=function(e,t){function i(e){var t=o[e.main];return t&&t[l]||(t=o[e.main]={},t[l]=!0),t}t=t||{};var o={};if(e.registerClass=function(e,t){if(t)if(n(t),t=c(t),t.sub){if(t.sub!==l){var r=i(t);r[t.sub]=e}}else __DEV__&&o[t.main]&&console.warn(t.main+" exists."),o[t.main]=e;return e},e.getClass=function(e,t,i){var n=o[e];if(n&&n[l]&&(n=t?n[t]:null),i&&!n)throw new Error(t?"Component "+e+"."+(t||"")+" not exists. Load it first.":e+".type should be specified.");return n},e.getClassesByMainType=function(e){e=c(e);var t=[],i=o[e.main];return i&&i[l]?a.each(i,function(e,i){i!==l&&t.push(e)}):t.push(i),t},e.hasClass=function(e){return e=c(e),!!o[e.main]},e.getAllClassMainTypes=function(){var e=[];return a.each(o,function(t,i){e.push(i)}),e},e.hasSubTypes=function(e){e=c(e);var t=o[e.main];return t&&t[l]},e.parseClassType=c,t.registerWhenExtend){var r=e.extend;r&&(e.extend=function(t){var i=r.call(this,t);return e.registerClass(i,t.type)})}return e},s.setReadOnly=function(e,t){},e.exports=s},function(e,t,i){function n(e,t){var i=e+":"+t;if(l[i])return l[i];for(var n=(e+"").split("\n"),o=0,r=0,a=n.length;r<a;r++)o=Math.max(f.measureText(n[r],t).width,o);return c>u&&(c=0,l={}),c++,l[i]=o,o}function o(e,t,i,o){var r=((e||"")+"").split("\n").length,a=n(e,t),s=n("国",t),l=r*s,c=new d(0,0,a,l);switch(c.lineHeight=s,o){case"bottom":case"alphabetic":c.y-=s;break;case"middle":c.y-=s/2}switch(i){case"end":case"right":c.x-=c.width;break;case"center":c.x-=c.width/2}return c}function r(e,t,i,n){var o=t.x,r=t.y,a=t.height,s=t.width,l=i.height,c=a/2-l/2,u="left";switch(e){case"left":o-=n,r+=c,u="right";break;case"right":o+=n+s,r+=c,u="left";break;case"top":o+=s/2,r-=n+l,u="center";break;case"bottom":o+=s/2,r+=a+n,u="center";break;case"inside":o+=s/2,r+=c,u="center";break;case"insideLeft":o+=n,r+=c,u="left";break;case"insideRight":o+=s-n,r+=c,u="right";break;case"insideTop":o+=s/2,r+=n,u="center";break;case"insideBottom":o+=s/2,r+=a-l-n,u="center";break;case"insideTopLeft":o+=n,r+=n,u="left";break;case"insideTopRight":o+=s-n,r+=n,u="right";break;case"insideBottomLeft":o+=n,r+=a-l-n;break;case"insideBottomRight":o+=s-n,r+=a-l-n,u="right"}return{x:o,y:r,textAlign:u,textBaseline:"top"}}function a(e,t,i,o,r){if(!t)return"";r=r||{},o=p(o,"...");for(var a=p(r.maxIterations,2),l=p(r.minChar,0),c=n("国",i),u=n("a",i),h=p(r.placeholder,""),d=t=Math.max(0,t-1),f=0;f<l&&d>=u;f++)d-=u;var g=n(o);g>d&&(o="",g=0),d=t-g;for(var m=(e+"").split("\n"),f=0,v=m.length;f<v;f++){var y=m[f],x=n(y,i);if(!(x<=t)){for(var b=0;;b++){if(x<=d||b>=a){y+=o;break}var _=0===b?s(y,d,u,c):x>0?Math.floor(y.length*d/x):0;y=y.substr(0,_),x=n(y,i)}""===y&&(y=h),m[f]=y}}return m.join("\n")}function s(e,t,i,n){for(var o=0,r=0,a=e.length;r<a&&o<t;r++){var s=e.charCodeAt(r);o+=0<=s&&s<=127?i:n}return r}var l={},c=0,u=5e3,h=i(0),d=i(10),p=h.retrieve,f={getWidth:n,getBoundingRect:o,adjustTextPositionOnRect:r,truncateText:a,measureText:function(e,t){var i=h.getContext();return i.font=t||"12px sans-serif",i.measureText(e)}};e.exports=f},function(e,t,i){"use strict";function n(e){return e.getBoundingClientRect?e.getBoundingClientRect():{left:0,top:0}}function o(e,t,i,n){return i=i||{},n||!u.canvasSupported?r(e,t,i):u.browser.firefox&&null!=t.layerX&&t.layerX!==t.offsetX?(i.zrX=t.layerX,i.zrY=t.layerY):null!=t.offsetX?(i.zrX=t.offsetX,i.zrY=t.offsetY):r(e,t,i),i}function r(e,t,i){var o=n(e);i.zrX=t.clientX-o.left,i.zrY=t.clientY-o.top}function a(e,t,i){if(t=t||window.event,null!=t.zrX)return t;var n=t.type;if(n&&n.indexOf("touch")>=0){var r="touchend"!=n?t.targetTouches[0]:t.changedTouches[0];r&&o(e,r,t,i)}else o(e,t,t,i),t.zrDelta=t.wheelDelta?t.wheelDelta/120:-(t.detail||0)/3;return t}function s(e,t,i){h?e.addEventListener(t,i):e.attachEvent("on"+t,i)}function l(e,t,i){h?e.removeEventListener(t,i):e.detachEvent("on"+t,i)}var c=i(39),u=i(13),h="undefined"!=typeof window&&!!window.addEventListener,d=h?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};e.exports={clientToLocal:o,normalizeEvent:a,addEventListener:s,removeEventListener:l,stop:d,Dispatcher:c}},function(e,t,i){function n(e){return e=Math.round(e),e<0?0:e>255?255:e}function o(e){return e=Math.round(e),e<0?0:e>360?360:e}function r(e){return e<0?0:e>1?1:e}function a(e){return n(e.length&&"%"===e.charAt(e.length-1)?parseFloat(e)/100*255:parseInt(e,10))}function s(e){return r(e.length&&"%"===e.charAt(e.length-1)?parseFloat(e)/100:parseFloat(e))}function l(e,t,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?e+(t-e)*i*6:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}function c(e,t,i){return e+(t-e)*i}function u(e,t,i,n,o){return e[0]=t,e[1]=i,e[2]=n,e[3]=o,e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}function d(e,t){k&&h(k,t),k=M.put(e,k||t.slice())}function p(e,t){if(e){t=t||[];var i=M.get(e);if(i)return h(t,i);e+="";var n=e.replace(/ /g,"").toLowerCase();if(n in A)return h(t,A[n]),d(e,t),t;if("#"!==n.charAt(0)){var o=n.indexOf("("),r=n.indexOf(")");if(o!==-1&&r+1===n.length){var l=n.substr(0,o),c=n.substr(o+1,r-(o+1)).split(","),p=1;switch(l){case"rgba":if(4!==c.length)return void u(t,0,0,0,1);p=s(c.pop());case"rgb":return 3!==c.length?void u(t,0,0,0,1):(u(t,a(c[0]),a(c[1]),a(c[2]),p),d(e,t),t);case"hsla":return 4!==c.length?void u(t,0,0,0,1):(c[3]=s(c[3]),f(c,t),d(e,t),t);case"hsl":return 3!==c.length?void u(t,0,0,0,1):(f(c,t),d(e,t),t);default:return}}u(t,0,0,0,1)}else{if(4===n.length){var g=parseInt(n.substr(1),16);return g>=0&&g<=4095?(u(t,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),d(e,t),t):void u(t,0,0,0,1)}if(7===n.length){var g=parseInt(n.substr(1),16);return g>=0&&g<=16777215?(u(t,(16711680&g)>>16,(65280&g)>>8,255&g,1),d(e,t),t):void u(t,0,0,0,1)}}}}function f(e,t){var i=(parseFloat(e[0])%360+360)%360/360,o=s(e[1]),r=s(e[2]),a=r<=.5?r*(o+1):r+o-r*o,c=2*r-a;return t=t||[],u(t,n(255*l(c,a,i+1/3)),n(255*l(c,a,i)),n(255*l(c,a,i-1/3)),1),4===e.length&&(t[3]=e[3]),t}function g(e){if(e){var t,i,n=e[0]/255,o=e[1]/255,r=e[2]/255,a=Math.min(n,o,r),s=Math.max(n,o,r),l=s-a,c=(s+a)/2;if(0===l)t=0,i=0;else{i=c<.5?l/(s+a):l/(2-s-a);var u=((s-n)/6+l/2)/l,h=((s-o)/6+l/2)/l,d=((s-r)/6+l/2)/l;n===s?t=d-h:o===s?t=1/3+u-d:r===s&&(t=2/3+h-u),t<0&&(t+=1),t>1&&(t-=1)}var p=[360*t,i,c];return null!=e[3]&&p.push(e[3]),p}}function m(e,t){var i=p(e);if(i){for(var n=0;n<3;n++)i[n]=t<0?i[n]*(1-t)|0:(255-i[n])*t+i[n]|0;return w(i,4===i.length?"rgba":"rgb")}}function v(e,t){var i=p(e);if(i)return((1<<24)+(i[0]<<16)+(i[1]<<8)+ +i[2]).toString(16).slice(1)}function y(e,t,i){if(i=i||[0,0,0,0],!t||!t.length||!(e>=0&&e<=1))return i;var o=e*(t.length-1),a=Math.floor(o),s=Math.ceil(o),l=t[a],u=t[s],h=o-a;return i[0]=n(c(l[0],u[0],h)),i[1]=n(c(l[1],u[1],h)),i[2]=n(c(l[2],u[2],h)),i[3]=r(c(l[3],u[3],h)),i}function x(e,t,i){if(t&&t.length&&e>=0&&e<=1){var o=e*(t.length-1),a=Math.floor(o),s=Math.ceil(o),l=p(t[a]),u=p(t[s]),h=o-a,d=w([n(c(l[0],u[0],h)),n(c(l[1],u[1],h)),n(c(l[2],u[2],h)),r(c(l[3],u[3],h))],"rgba");return i?{color:d,leftIndex:a,rightIndex:s,value:o}:d}}function b(e,t,i,n){if(e=p(e))return e=g(e),null!=t&&(e[0]=o(t)),null!=i&&(e[1]=s(i)),null!=n&&(e[2]=s(n)),w(f(e),"rgba")}function _(e,t){if((e=p(e))&&null!=t)return e[3]=r(t),w(e,"rgba")}function w(e,t){if(e){var i=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(i+=","+e[3]),t+"("+i+")"}}var S=i(170),A={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]},M=new S(20),k=null;e.exports={parse:p,lift:m,toHex:v,fastMapToColor:y,mapToColor:x,modifyHSL:b,modifyAlpha:_,stringify:w}},function(e,t,i){"use strict";var n={};e.exports={register:function(e,t){n[e]=t},get:function(e){return n[e]}}},function(e,t,i){function n(e,t){var i=e[1]-e[0],n=t,o=i/n/2;e[0]+=o,e[1]-=o}var o=i(3),r=o.linearMap,a=i(0),s=[0,1],l=function(e,t,i){this.dim=e,this.scale=t,this._extent=i||[0,0],this.inverse=!1,this.onBand=!1};l.prototype={constructor:l,contain:function(e){var t=this._extent,i=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]);return e>=i&&e<=n},containData:function(e){return this.contain(this.dataToCoord(e))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(e){return o.getPixelPrecision(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var i=this._extent;i[0]=e,i[1]=t},dataToCoord:function(e,t){var i=this._extent,o=this.scale;return e=o.normalize(e),this.onBand&&"ordinal"===o.type&&(i=i.slice(),n(i,o.count())),r(e,s,i,t)},coordToData:function(e,t){var i=this._extent,o=this.scale;this.onBand&&"ordinal"===o.type&&(i=i.slice(),n(i,o.count()));var a=r(e,i,s,t);return this.scale.scale(a)},pointToData:function(e,t){},getTicksCoords:function(e){if(this.onBand&&!e){for(var t=this.getBands(),i=[],n=0;n<t.length;n++)i.push(t[n][0]);return t[n-1]&&i.push(t[n-1][1]),i}return a.map(this.scale.getTicks(),this.dataToCoord,this)},getLabelsCoords:function(){return a.map(this.scale.getTicks(),this.dataToCoord,this)},getBands:function(){for(var e=this.getExtent(),t=[],i=this.scale.count(),n=e[0],o=e[1],r=o-n,a=0;a<i;a++)t.push([r*a/i+n,r*(a+1)/i+n]);return t},getBandWidth:function(){var e=this._extent,t=this.scale.getExtent(),i=t[1]-t[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(e[1]-e[0]);return Math.abs(n)/i}},e.exports=l},function(e,t,i){function n(){this.group=new a,this.uid=s.getUID("viewChart")}function o(e,t){if(e&&(e.trigger(t),"group"===e.type))for(var i=0;i<e.childCount();i++)o(e.childAt(i),t)}function r(e,t,i){var n=c.queryDataIndex(e,t);null!=n?u.each(c.normalizeToArray(n),function(t){o(e.getItemGraphicEl(t),i)}):e.eachItemGraphicEl(function(e){o(e,i)})}var a=i(70),s=i(89),l=i(24),c=i(5),u=i(0);n.prototype={type:"chart",init:function(e,t){},render:function(e,t,i,n){},highlight:function(e,t,i,n){r(e.getData(),n,"emphasis")},downplay:function(e,t,i,n){r(e.getData(),n,"normal")},remove:function(e,t){this.group.removeAll()},dispose:function(){}};var h=n.prototype;h.updateView=h.updateLayout=h.updateVisual=function(e,t,i,n){this.render(e,t,i,n)},l.enableClassExtend(n,["dispose"]),l.enableClassManagement(n,{registerWhenExtend:!0}),e.exports=n},function(e,t,i){"use strict";function n(e){return e>-w&&e<w}function o(e){return e>w||e<-w}function r(e,t,i,n,o){var r=1-o;return r*r*(r*e+3*o*t)+o*o*(o*n+3*r*i)}function a(e,t,i,n,o){var r=1-o;return 3*(((t-e)*r+2*(i-t)*o)*r+(n-i)*o*o)}function s(e,t,i,o,r,a){var s=o+3*(t-i)-e,l=3*(i-2*t+e),c=3*(t-e),u=e-r,h=l*l-3*s*c,d=l*c-9*s*u,p=c*c-3*l*u,f=0;if(n(h)&&n(d))if(n(l))a[0]=0;else{var g=-c/l;g>=0&&g<=1&&(a[f++]=g)}else{var m=d*d-4*h*p;if(n(m)){var v=d/h,g=-l/s+v,y=-v/2;g>=0&&g<=1&&(a[f++]=g),y>=0&&y<=1&&(a[f++]=y)}else if(m>0){var x=_(m),w=h*l+1.5*s*(-d+x),S=h*l+1.5*s*(-d-x);w=w<0?-b(-w,M):b(w,M),S=S<0?-b(-S,M):b(S,M);var g=(-l-(w+S))/(3*s);g>=0&&g<=1&&(a[f++]=g)}else{var k=(2*h*l-3*s*d)/(2*_(h*h*h)),T=Math.acos(k)/3,I=_(h),C=Math.cos(T),g=(-l-2*I*C)/(3*s),y=(-l+I*(C+A*Math.sin(T)))/(3*s),L=(-l+I*(C-A*Math.sin(T)))/(3*s);g>=0&&g<=1&&(a[f++]=g),y>=0&&y<=1&&(a[f++]=y),L>=0&&L<=1&&(a[f++]=L)}}return f}function l(e,t,i,r,a){var s=6*i-12*t+6*e,l=9*t+3*r-3*e-9*i,c=3*t-3*e,u=0;if(n(l)){if(o(s)){var h=-c/s;h>=0&&h<=1&&(a[u++]=h)}}else{var d=s*s-4*l*c;if(n(d))a[0]=-s/(2*l);else if(d>0){var p=_(d),h=(-s+p)/(2*l),f=(-s-p)/(2*l);h>=0&&h<=1&&(a[u++]=h),f>=0&&f<=1&&(a[u++]=f)}}return u}function c(e,t,i,n,o,r){var a=(t-e)*o+e,s=(i-t)*o+t,l=(n-i)*o+i,c=(s-a)*o+a,u=(l-s)*o+s,h=(u-c)*o+c;r[0]=e,r[1]=a,r[2]=c,r[3]=h,r[4]=h,r[5]=u,r[6]=l,r[7]=n}function u(e,t,i,n,o,a,s,l,c,u,h){var d,p,f,g,m,v=.005,y=1/0;k[0]=c,k[1]=u;for(var b=0;b<1;b+=.05)T[0]=r(e,i,o,s,b),T[1]=r(t,n,a,l,b),(g=x(k,T))<y&&(d=b,y=g);y=1/0;for(var w=0;w<32&&!(v<S);w++)p=d-v,f=d+v,T[0]=r(e,i,o,s,p),T[1]=r(t,n,a,l,p),g=x(T,k),p>=0&&g<y?(d=p,y=g):(I[0]=r(e,i,o,s,f),I[1]=r(t,n,a,l,f),m=x(I,k),f<=1&&m<y?(d=f,y=m):v*=.5);return h&&(h[0]=r(e,i,o,s,d),h[1]=r(t,n,a,l,d)),_(y)}function h(e,t,i,n){var o=1-n;return o*(o*e+2*n*t)+n*n*i}function d(e,t,i,n){return 2*((1-n)*(t-e)+n*(i-t))}function p(e,t,i,r,a){var s=e-2*t+i,l=2*(t-e),c=e-r,u=0;if(n(s)){if(o(l)){var h=-c/l;h>=0&&h<=1&&(a[u++]=h)}}else{var d=l*l-4*s*c;if(n(d)){var h=-l/(2*s);h>=0&&h<=1&&(a[u++]=h)}else if(d>0){var p=_(d),h=(-l+p)/(2*s),f=(-l-p)/(2*s);h>=0&&h<=1&&(a[u++]=h),f>=0&&f<=1&&(a[u++]=f)}}return u}function f(e,t,i){var n=e+i-2*t;return 0===n?.5:(e-t)/n}function g(e,t,i,n,o){var r=(t-e)*n+e,a=(i-t)*n+t,s=(a-r)*n+r;o[0]=e,o[1]=r,o[2]=s,o[3]=s,o[4]=a,o[5]=i}function m(e,t,i,n,o,r,a,s,l){var c,u=.005,d=1/0;k[0]=a,k[1]=s;for(var p=0;p<1;p+=.05){T[0]=h(e,i,o,p),T[1]=h(t,n,r,p);var f=x(k,T);f<d&&(c=p,d=f)}d=1/0;for(var g=0;g<32&&!(u<S);g++){var m=c-u,v=c+u;T[0]=h(e,i,o,m),T[1]=h(t,n,r,m);var f=x(T,k);if(m>=0&&f<d)c=m,d=f;else{I[0]=h(e,i,o,v),I[1]=h(t,n,r,v);var y=x(I,k);v<=1&&y<d?(c=v,d=y):u*=.5}}return l&&(l[0]=h(e,i,o,c),l[1]=h(t,n,r,c)),_(d)}var v=i(6),y=v.create,x=v.distSquare,b=Math.pow,_=Math.sqrt,w=1e-8,S=1e-4,A=_(3),M=1/3,k=y(),T=y(),I=y();e.exports={cubicAt:r,cubicDerivativeAt:a,cubicRootAt:s,cubicExtrema:l,cubicSubdivide:c,cubicProjectPoint:u,quadraticAt:h,quadraticDerivativeAt:d,quadraticRootAt:p,quadraticExtremum:f,quadraticSubdivide:g,quadraticProjectPoint:m}},function(e,t,i){"use strict";function n(e){for(var t=0;t<e.length&&null==e[t];)t++;return e[t]}function o(e){var t=n(e);return null!=t&&!h.isArray(f(t))}function r(e,t,i){if(e=e||[],__DEV__&&!h.isArray(e))throw new Error("Invalid data.");var n=t.get("coordinateSystem"),r=m[n],a=p.get(n),s=r&&r(e,t,i),v=s&&s.dimensions;v||(v=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"],v=u(v,e,{defaultNames:v.concat(["value"])}));var y=s?s.categoryIndex:-1,x=new c(v,t),b=l(s,e),_={},w=y>=0&&o(e)?function(e,t,i,n){return d.isDataItemOption(e)&&(x.hasItemOption=!0),n===y?i:g(f(e),v[n])}:function(e,t,i,n){var o=f(e),r=g(o&&o[n],v[n]);d.isDataItemOption(e)&&(x.hasItemOption=!0);var a=s&&s.categoryAxesModels;return a&&a[t]&&"string"==typeof r&&(_[t]=_[t]||a[t].getCategories(),(r=h.indexOf(_[t],r))<0&&!isNaN(r)&&(r=+r)),r};return x.hasItemOption=!1,x.initData(e,b,w),x}function a(e){return"category"!==e&&"time"!==e}function s(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function l(e,t){var i,n=[],o=e&&e.dimensions[e.categoryIndex];if(o&&(i=e.categoryAxesModels[o.name]),i){var r=i.getCategories();if(r){var a=t.length;if(h.isArray(t[0])&&t[0].length>1){n=[];for(var s=0;s<a;s++)n[s]=r[t[s][e.categoryIndex||0]]}else n=r.slice(0)}}return n}var c=i(11),u=i(19),h=i(0),d=i(5),p=i(22),f=d.getDataItemValue,g=d.converDataValue,m={cartesian2d:function(e,t,i){var n=h.map(["xAxis","yAxis"],function(e){return i.queryComponents({mainType:e,index:t.get(e+"Index"),id:t.get(e+"Id")})[0]}),o=n[0],r=n[1];if(__DEV__){if(!o)throw new Error('xAxis "'+h.retrieve(t.get("xAxisIndex"),t.get("xAxisId"),0)+'" not found');if(!r)throw new Error('yAxis "'+h.retrieve(t.get("xAxisIndex"),t.get("yAxisId"),0)+'" not found')}var l=o.get("type"),c=r.get("type"),d=[{name:"x",type:s(l),stackable:a(l)},{name:"y",type:s(c),stackable:a(c)}],p="category"===l,f="category"===c;u(d,e,{defaultNames:["x","y","z"]});var g={};return p&&(g.x=o),f&&(g.y=r),{dimensions:d,categoryIndex:p?0:f?1:-1,categoryAxesModels:g}},singleAxis:function(e,t,i){var n=i.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];if(__DEV__&&!n)throw new Error("singleAxis should be specified.");var o=n.get("type"),r="category"===o,l=[{name:"single",type:s(o),stackable:a(o)}];u(l,e);var c={};return r&&(c.single=n),{dimensions:l,categoryIndex:r?0:-1,categoryAxesModels:c}},polar:function(e,t,i){var n=i.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0],o=n.findAxisModel("angleAxis"),r=n.findAxisModel("radiusAxis");if(__DEV__){if(!o)throw new Error("angleAxis option not found");if(!r)throw new Error("radiusAxis option not found")}var l=r.get("type"),c=o.get("type"),h=[{name:"radius",type:s(l),stackable:a(l)},{name:"angle",type:s(c),stackable:a(c)}],d="category"===c,p="category"===l;u(h,e,{defaultNames:["radius","angle","value"]});var f={};return p&&(f.radius=r),d&&(f.angle=o),{dimensions:h,categoryIndex:d?1:p?0:-1,categoryAxesModels:f}},geo:function(e,t,i){return{dimensions:u([{name:"lng"},{name:"lat"}],e,{defaultNames:["lng","lat","value"]})}}};e.exports=r},function(e,t,i){function n(e){var t={componentType:e.mainType};return t[e.mainType+"Index"]=e.componentIndex,t}function o(e,t,i,n){var o,r,a=h(i-e.rotation),s=n[0]>n[1],l="start"===t&&!s||"start"!==t&&s;return d(a-m/2)?(r=l?"bottom":"top",o="center"):d(a-1.5*m)?(r=l?"top":"bottom",o="center"):(r="middle",o=a<1.5*m&&a>m/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:o,textVerticalAlign:r}}function r(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)}var a=i(0),s=i(4),l=i(2),c=i(9),u=i(3),h=u.remRadian,d=u.isRadianAroundZero,p=i(6),f=p.applyTransform,g=a.retrieve,m=Math.PI,v=function(e,t){this.opt=t,this.axisModel=e,a.defaults(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new l.Group;var i=new l.Group({position:t.position.slice(),rotation:t.rotation});i.updateTransform(),this._transform=i.transform,this._dumbGroup=i};v.prototype={constructor:v,hasBuilder:function(e){return!!y[e]},add:function(e){y[e].call(this)},getGroup:function(){return this.group}};var y={axisLine:function(){var e=this.opt,t=this.axisModel;if(t.get("axisLine.show")){var i=this.axisModel.axis.getExtent(),n=this._transform,o=[i[0],0],r=[i[1],0];n&&(f(o,o,n),f(r,r,n)),this.group.add(new l.Line(l.subPixelOptimizeLine({anid:"line",shape:{x1:o[0],y1:o[1],x2:r[0],y2:r[1]},style:a.extend({lineCap:"round"},t.getModel("axisLine.lineStyle").getLineStyle()),strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1})))}},axisTick:function(){var e=this.axisModel,t=e.axis;if(e.get("axisTick.show")&&!t.scale.isBlank())for(var i=e.getModel("axisTick"),n=this.opt,o=i.getModel("lineStyle"),r=i.get("length"),s=_(i,n.labelInterval),c=t.getTicksCoords(i.get("alignWithLabel")),u=t.scale.getTicks(),h=[],d=[],p=this._transform,g=0;g<c.length;g++)if(!b(t,g,s)){var m=c[g];h[0]=m,h[1]=0,d[0]=m,d[1]=n.tickDirection*r,p&&(f(h,h,p),f(d,d,p)),this.group.add(new l.Line(l.subPixelOptimizeLine({anid:"tick_"+u[g],shape:{x1:h[0],y1:h[1],x2:d[0],y2:d[1]},style:a.defaults(o.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),z2:2,silent:!0})))}},axisLabel:function(){function e(e,t){var i=e&&e.getBoundingRect().clone(),n=t&&t.getBoundingRect().clone();if(i&&n)return i.applyTransform(e.getLocalTransform()),n.applyTransform(t.getLocalTransform()),i.intersect(n)}var t=this.opt,i=this.axisModel,o=i.axis;if(g(t.axisLabelShow,i.get("axisLabel.show"))&&!o.scale.isBlank()){var s=i.getModel("axisLabel"),u=s.getModel("textStyle"),h=s.get("margin"),d=o.scale.getTicks(),p=i.getFormattedLabels(),f=(g(t.labelRotate,s.get("rotate"))||0)*m/180,v=x(t.rotation,f,t.labelDirection),y=i.get("data"),_=[],w=r(i),S=i.get("triggerEvent");if(a.each(d,function(e,r){if(!b(o,r,t.labelInterval)){var a=u;y&&y[e]&&y[e].textStyle&&(a=new c(y[e].textStyle,u,i.ecModel));var s=a.getTextColor()||i.get("axisLine.lineStyle.color"),d=o.dataToCoord(e),f=[d,t.labelOffset+t.labelDirection*h],g=o.scale.getLabel(e),m=new l.Text({anid:"label_"+e,style:{text:p[r],textAlign:a.get("align",!0)||v.textAlign,textVerticalAlign:a.get("baseline",!0)||v.textVerticalAlign,textFont:a.getFont(),fill:"function"==typeof s?s("category"===o.type?g:"value"===o.type?e+"":e,r):s},position:f,rotation:v.rotation,silent:w,z2:10});S&&(m.eventData=n(i),m.eventData.targetType="axisLabel",m.eventData.value=g),this._dumbGroup.add(m),m.updateTransform(),_.push(m),this.group.add(m),m.decomposeTransform()}},this),null!=i.getMin()){var A=_[0];e(A,_[1])&&(A.ignore=!0)}if(null!=i.getMax()){var M=_[_.length-1];e(_[_.length-2],M)&&(M.ignore=!0)}}},axisName:function(){var e=this.opt,t=this.axisModel,i=g(e.axisName,t.get("name"));if(i){var c,u=t.get("nameLocation"),h=e.nameDirection,d=t.getModel("nameTextStyle"),p=t.get("nameGap")||0,f=this.axisModel.axis.getExtent(),v=f[0]>f[1]?-1:1,y=["start"===u?f[0]-v*p:"end"===u?f[1]+v*p:(f[0]+f[1])/2,"middle"===u?e.labelOffset+h*p:0],b=t.get("nameRotate");null!=b&&(b=b*m/180);var _;"middle"===u?c=x(e.rotation,null!=b?b:e.rotation,h):(c=o(e,u,b||0,f),null!=(_=e.axisNameAvailableWidth)&&(_=Math.abs(_/Math.sin(c.rotation)),!isFinite(_)&&(_=null)));var w=d.getFont(),S=t.get("nameTruncate",!0)||{},A=S.ellipsis,M=g(S.maxWidth,_),k=null!=A&&null!=M?s.truncateText(i,M,w,A,{minChar:2,placeholder:S.placeholder}):i,T=t.get("tooltip",!0),I=t.mainType,C={componentType:I,name:i,$vars:["name"]};C[I+"Index"]=t.componentIndex;var L=new l.Text({anid:"name",__fullText:i,__truncatedText:k,style:{text:k,textFont:w,fill:d.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:c.textAlign,textVerticalAlign:c.textVerticalAlign},position:y,rotation:c.rotation,silent:r(t),z2:1,tooltip:T&&T.show?a.extend({content:i,formatter:function(){return i},formatterParams:C},T):null});t.get("triggerEvent")&&(L.eventData=n(t),L.eventData.targetType="axisName",L.eventData.name=i),this._dumbGroup.add(L),L.updateTransform(),this.group.add(L),L.decomposeTransform()}}},x=v.innerTextLayout=function(e,t,i){var n,o,r=h(t-e);return d(r)?(o=i>0?"top":"bottom",n="center"):d(r-m)?(o=i>0?"bottom":"top",n="center"):(o="middle",n=r>0&&r<m?i>0?"right":"left":i>0?"left":"right"),{rotation:r,textAlign:n,textVerticalAlign:o}},b=v.ifIgnoreOnTick=function(e,t,i){var n,o=e.scale;return"ordinal"===o.type&&("function"==typeof i?(n=o.getTicks()[t],!i(n,o.getLabel(n))):t%(i+1))},_=v.getInterval=function(e,t){var i=e.get("interval");return null!=i&&"auto"!=i||(i=t),i};e.exports=v},function(e,t,i){function n(e,t,i,n,s,l){var c=a.getAxisPointerClass(e.axisPointerClass);if(c){var u=r.getAxisPointerModel(t);u?(e._axisPointer||(e._axisPointer=new c)).render(t,u,n,l):o(e,n)}}function o(e,t,i){var n=e._axisPointer;n&&n.dispose(t,i),e._axisPointer=null}var r=i(56),a=i(1).extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,t,i,o){this.axisPointerClass&&r.fixValue(e),a.superApply(this,"render",arguments),n(this,e,t,i,o,!0)},updateAxisPointer:function(e,t,i,o,r){n(this,e,t,i,o,!1)},remove:function(e,t){var i=this._axisPointer;i&&i.remove(t),a.superApply(this,"remove",arguments)},dispose:function(e,t){o(this,t),a.superApply(this,"dispose",arguments)}}),s=[];a.registerAxisPointerClass=function(e,t){if(__DEV__&&s[e])throw new Error("axisPointer "+e+" exists");s[e]=t},a.getAxisPointerClass=function(e){return e&&s[e]},e.exports=a},function(e,t,i){function n(e){var t=e.pieceList;e.hasSpecialVisual=!1,g.each(t,function(t,i){t.originIndex=i,null!=t.visual&&(e.hasSpecialVisual=!0)})}function o(e){var t=e.categories,i=e.visual,n=e.categoryMap={};if(y(t,function(e,t){n[e]=t}),!g.isArray(i)){var o=[];g.isObject(i)?y(i,function(e,t){var i=n[t];o[null!=i?i:b]=e}):o[b]=i,i=p(e,o)}for(var r=t.length-1;r>=0;r--)null==i[r]&&(delete n[t[r]],t.pop())}function r(e,t){var i=e.visual,n=[];g.isObject(i)?y(i,function(e){n.push(e)}):null!=i&&n.push(i);var o={color:1,symbol:1};t||1!==n.length||o.hasOwnProperty(e.type)||(n[1]=n[0]),p(e,n)}function a(e){return{applyVisual:function(t,i,n){t=this.mapValueToVisual(t),n("color",e(i("color"),t))},_doMap:h([0,1])}}function s(e){var t=this.option.visual;return t[Math.round(v(e,[0,1],[0,t.length-1],!0))]||{}}function l(e){return function(t,i,n){n(e,this.mapValueToVisual(t))}}function c(e){var t=this.option.visual;return t[this.option.loop&&e!==b?e%t.length:e]}function u(){return this.option.visual[0]}function h(e){return{linear:function(t){return v(t,e,this.option.visual,!0)},category:c,piecewise:function(t,i){var n=d.call(this,i);return null==n&&(n=v(t,e,this.option.visual,!0)),n},fixed:u}}function d(e){var t=this.option,i=t.pieceList;if(t.hasSpecialVisual){var n=_.findPieceIndex(e,i),o=i[n];if(o&&o.visual)return o.visual[this.type]}}function p(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=g.map(t,function(e){return m.parse(e)})),t}function f(e,t,i){return e?t<=i:t<i}var g=i(0),m=i(27),v=i(3).linearMap,y=g.each,x=g.isObject,b=-1,_=function(e){var t=e.mappingMethod,i=e.type,a=this.option=g.clone(e);this.type=i,this.mappingMethod=t,this._normalizeData=S[t];var s=w[i];this.applyVisual=s.applyVisual,this.getColorMapper=s.getColorMapper,this._doMap=s._doMap[t],"piecewise"===t?(r(a),n(a)):"category"===t?a.categories?o(a):r(a,!0):(g.assert("linear"!==t||a.dataExtent),r(a))};_.prototype={constructor:_,mapValueToVisual:function(e){var t=this._normalizeData(e);return this._doMap(t,e)},getNormalizer:function(){return g.bind(this._normalizeData,this)}};var w=_.visualHandlers={color:{applyVisual:l("color"),getColorMapper:function(){var e=this.option;return g.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),c.call(this,e)}:function(t,i,n){var o=!!n;return!i&&(t=this._normalizeData(t)),n=m.fastMapToColor(t,e.parsedVisual,n),o?n:m.stringify(n,"rgba")},this)},_doMap:{linear:function(e){return m.stringify(m.fastMapToColor(e,this.option.parsedVisual),"rgba")},category:c,piecewise:function(e,t){var i=d.call(this,t);return null==i&&(i=m.stringify(m.fastMapToColor(e,this.option.parsedVisual),"rgba")),i},fixed:u}},colorHue:a(function(e,t){return m.modifyHSL(e,t)}),colorSaturation:a(function(e,t){return m.modifyHSL(e,null,t)}),colorLightness:a(function(e,t){return m.modifyHSL(e,null,null,t)}),colorAlpha:a(function(e,t){return m.modifyAlpha(e,t)}),opacity:{applyVisual:l("opacity"),_doMap:h([0,1])},symbol:{applyVisual:function(e,t,i){var n=this.mapValueToVisual(e);if(g.isString(n))i("symbol",n);else if(x(n))for(var o in n)n.hasOwnProperty(o)&&i(o,n[o])},_doMap:{linear:s,category:c,piecewise:function(e,t){var i=d.call(this,t);return null==i&&(i=s.call(this,e)),i},fixed:u}},symbolSize:{applyVisual:l("symbolSize"),_doMap:h([0,1])}},S={linear:function(e){return v(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,i=_.findPieceIndex(e,t,!0);if(null!=i)return v(i,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?b:t},fixed:g.noop};_.listVisualTypes=function(){var e=[];return g.each(w,function(t,i){e.push(i)}),e},_.addVisualHandler=function(e,t){w[e]=t},_.isValidType=function(e){return w.hasOwnProperty(e)},_.eachVisual=function(e,t,i){g.isObject(e)?g.each(e,t,i):t.call(i,e)},_.mapVisual=function(e,t,i){var n,o=g.isArray(e)?[]:g.isObject(e)?{}:(n=!0,null);return _.eachVisual(e,function(e,r){var a=t.call(i,e,r);n?o=a:o[r]=a}),o},_.retrieveVisuals=function(e){var t,i={};return e&&y(w,function(n,o){e.hasOwnProperty(o)&&(i[o]=e[o],t=!0)}),t?i:null},_.prepareVisualTypes=function(e){if(x(e)){var t=[];y(e,function(e,i){t.push(i)}),e=t}else{if(!g.isArray(e))return[];e=e.slice()}return e.sort(function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1}),e},_.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},_.findPieceIndex=function(e,t,i){function n(t,i){var n=Math.abs(t-e);n<r&&(r=n,o=i)}for(var o,r=1/0,a=0,s=t.length;a<s;a++){var l=t[a].value;if(null!=l){if(l===e||"string"==typeof l&&l===e+"")return a;i&&n(l,a)}}for(var a=0,s=t.length;a<s;a++){var c=t[a],u=c.interval,h=c.close;if(u){if(u[0]===-(1/0)){if(f(h[1],e,u[1]))return a}else if(u[1]===1/0){if(f(h[0],u[0],e))return a}else if(f(h[0],u[0],e)&&f(h[1],e,u[1]))return a;i&&n(u[0],a),i&&n(u[1],a)}}if(i)return e===1/0?t.length-1:e===-(1/0)?0:o},e.exports=_},,function(e,t){e.exports=function(e,t,i,n){var o,r=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(o=e,r=e.default);var s="function"==typeof r?r.options:r;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),i&&(s._scopeId=i),n){var l=Object.create(s.computed||null);Object.keys(n).forEach(function(e){var t=n[e];l[e]=function(){return t}}),s.computed=l}return{esModule:o,exports:r,options:s}}},function(e,t,i){function n(e){for(var t=0;t<e.length;t++){var i=e[t],n=u[i.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](i.parts[o]);for(;o<i.parts.length;o++)n.parts.push(r(i.parts[o]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{for(var a=[],o=0;o<i.parts.length;o++)a.push(r(i.parts[o]));u[i.id]={id:i.id,refs:1,parts:a}}}}function o(){var e=document.createElement("style");return e.type="text/css",h.appendChild(e),e}function r(e){var t,i,n=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(n){if(f)return g;n.parentNode.removeChild(n)}if(m){var r=p++;n=d||(d=o()),t=a.bind(null,n,r,!1),i=a.bind(null,n,r,!0)}else n=o(),t=s.bind(null,n),i=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else i()}}function a(e,t,i,n){var o=i?"":n.css;if(e.styleSheet)e.styleSheet.cssText=v(t,o);else{var r=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}function s(e,t){var i=t.css,n=t.media,o=t.sourceMap;if(n&&e.setAttribute("media",n),o&&(i+="\n/*# sourceURL="+o.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=i(503),u={},h=l&&(document.head||document.getElementsByTagName("head")[0]),d=null,p=0,f=!1,g=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,i){f=i;var o=c(e,t);return n(o),function(t){for(var i=[],r=0;r<o.length;r++){var a=o[r],s=u[a.id];s.refs--,i.push(s)}t?(o=c(e,t),n(o)):o=[];for(var r=0;r<i.length;r++){var s=i[r];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete u[s.id]}}}};var v=function(){var e=[];return function(t,i){return e[t]=i,e.filter(Boolean).join("\n")}}()},function(e,t){var i=Array.prototype.slice,n=function(){this._$handlers={}};n.prototype={constructor:n,one:function(e,t,i){var n=this._$handlers;if(!t||!e)return this;n[e]||(n[e]=[]);for(var o=0;o<n[e].length;o++)if(n[e][o].h===t)return this;return n[e].push({h:t,one:!0,ctx:i||this}),this},on:function(e,t,i){var n=this._$handlers;if(!t||!e)return this;n[e]||(n[e]=[]);for(var o=0;o<n[e].length;o++)if(n[e][o].h===t)return this;return n[e].push({h:t,one:!1,ctx:i||this}),this},isSilent:function(e){var t=this._$handlers;return t[e]&&t[e].length},off:function(e,t){var i=this._$handlers;if(!e)return this._$handlers={},this;if(t){if(i[e]){for(var n=[],o=0,r=i[e].length;o<r;o++)i[e][o].h!=t&&n.push(i[e][o]);i[e]=n}i[e]&&0===i[e].length&&delete i[e]}else delete i[e];return this},trigger:function(e){if(this._$handlers[e]){var t=arguments,n=t.length;n>3&&(t=i.call(t,1));for(var o=this._$handlers[e],r=o.length,a=0;a<r;){switch(n){case 1:o[a].h.call(o[a].ctx);break;case 2:o[a].h.call(o[a].ctx,t[1]);break;case 3:o[a].h.call(o[a].ctx,t[1],t[2]);break;default:o[a].h.apply(o[a].ctx,t)}o[a].one?(o.splice(a,1),r--):a++}}return this},triggerWithContext:function(e){if(this._$handlers[e]){var t=arguments,n=t.length;n>4&&(t=i.call(t,1,t.length-1));for(var o=t[t.length-1],r=this._$handlers[e],a=r.length,s=0;s<a;){switch(n){case 1:r[s].h.call(o);break;case 2:r[s].h.call(o,t[1]);break;case 3:r[s].h.call(o,t[1],t[2]);break;default:r[s].h.apply(o,t)}r[s].one?(r.splice(s,1),a--):s++}}return this}},e.exports=n},function(e,t,i){var n=i(0),o={retrieveTargetInfo:function(e,t){if(e&&("treemapZoomToNode"===e.type||"treemapRootToNode"===e.type)){var i=t.getData().tree.root,n=e.targetNode;if(n&&i.contains(n))return{node:n};var o=e.targetNodeId;if(null!=o&&(n=i.getNodeById(o)))return{node:n}}},getPathToRoot:function(e){for(var t=[];e;)(e=e.parentNode)&&t.push(e);return t.reverse()},aboveViewRoot:function(e,t){var i=o.getPathToRoot(e);return n.indexOf(i,t)>=0},wrapTreePathInfo:function(e,t){for(var i=[];e;){var n=e.dataIndex;i.push({name:e.name,dataIndex:n,value:t.getRawValue(n)}),e=e.parentNode}return i.reverse(),i}};e.exports=o},function(e,t,i){function n(e){return o.isObject(e)&&null!=e.value?e.value:e}var o=i(0),r=i(18);e.exports={getFormattedLabels:function(){return r.getFormattedLabels(this.axis,this.get("axisLabel.formatter"))},getCategories:function(){return"category"===this.get("type")&&o.map(this.get("data"),n)},getMin:function(e){var t=this.option,i=e||null==t.rangeStart?t.min:t.rangeStart;return this.axis&&null!=i&&"dataMin"!==i&&!o.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getMax:function(e){var t=this.option,i=e||null==t.rangeEnd?t.max:t.rangeEnd;return this.axis&&null!=i&&"dataMax"!==i&&!o.eqNaN(i)&&(i=this.axis.scale.parse(i)),i},getNeedCrossZero:function(){var e=this.option;return null==e.rangeStart&&null==e.rangeEnd&&!e.scale},getCoordSysModel:o.noop,setRange:function(e,t){this.option.rangeStart=e,this.option.rangeEnd=t},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}}},function(e,t){e.exports=function(e,t,i,n,o){n.eachRawSeriesByType(e,function(e){var o=e.getData(),r=e.get("symbol")||t,a=e.get("symbolSize");o.setVisual({legendSymbol:i||r,symbol:r,symbolSize:a}),n.isSeriesFiltered(e)||("function"==typeof a&&o.each(function(t){var i=e.getRawValue(t),n=e.getDataParams(t);o.setItemVisual(t,"symbolSize",a(i,n))}),o.each(function(e){var t=o.getItemModel(e),i=t.getShallow("symbol",!0),n=t.getShallow("symbolSize",!0);null!=i&&o.setItemVisual(e,"symbol",i),null!=n&&o.setItemVisual(e,"symbolSize",n)}))})}},,function(e,t,i){function n(e){this.group=new r.Group,this._symbolCtor=e||a}function o(e,t,i){var n=e.getItemLayout(t);return n&&!isNaN(n[0])&&!isNaN(n[1])&&!(i&&i(t))&&"none"!==e.getItemVisual(t,"symbol")}var r=i(2),a=i(77),s=n.prototype;s.updateData=function(e,t){var i=this.group,n=e.hostModel,a=this._data,s=this._symbolCtor,l={itemStyle:n.getModel("itemStyle.normal").getItemStyle(["color"]),hoverItemStyle:n.getModel("itemStyle.emphasis").getItemStyle(),symbolRotate:n.get("symbolRotate"),symbolOffset:n.get("symbolOffset"),hoverAnimation:n.get("hoverAnimation"),labelModel:n.getModel("label.normal"),hoverLabelModel:n.getModel("label.emphasis")};e.diff(a).add(function(n){var r=e.getItemLayout(n);if(o(e,n,t)){var a=new s(e,n,l);a.attr("position",r),e.setItemGraphicEl(n,a),i.add(a)}}).update(function(c,u){var h=a.getItemGraphicEl(u),d=e.getItemLayout(c);if(!o(e,c,t))return void i.remove(h);h?(h.updateData(e,c,l),r.updateProps(h,{position:d},n)):(h=new s(e,c),h.attr("position",d)),i.add(h),e.setItemGraphicEl(c,h)}).remove(function(e){var t=a.getItemGraphicEl(e);t&&t.fadeOut(function(){i.remove(t)})}).execute(),this._data=e},s.updateLayout=function(){var e=this._data;e&&e.eachItemGraphicEl(function(t,i){var n=e.getItemLayout(i);t.attr("position",n)})},s.remove=function(e){var t=this.group,i=this._data;i&&(e?i.eachItemGraphicEl(function(e){e.fadeOut(function(){t.remove(e)})}):t.removeAll())},e.exports=n},function(e,t,i){var n=i(1),o=i(56),r=i(342),a=i(0);i(338),i(339),i(120),n.registerPreprocessor(function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!a.isArray(t)&&(e.axisPointer.link=[t])}}),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=o.collect(e,t)}),n.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},function(e,t,i){return r(t.getComponent("axisPointer").coordSysAxesInfo,e.currTrigger,e,e.dispatchAction||a.bind(i.dispatchAction,i),t,i,e.tooltipOption,e.highDownKey)})},function(e,t,i){function n(e){var t={};return h(["start","end","startValue","endValue","throttle"],function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}function o(e,t){h([["start","startValue"],["end","endValue"]],function(i,n){var o=e._rangePropMode;null!=t[i[0]]?o[n]="percent":null!=t[i[1]]&&(o[n]="value")})}var r=i(0),a=i(13),s=i(1),l=i(5),c=i(79),u=i(353),h=r.each,d=c.eachAxisDim,p=s.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null},init:function(e,t,i){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var o=n(e);this.mergeDefaultAndTheme(e,i),this.doInit(o)},mergeOption:function(e){var t=n(e);r.merge(this.option,e,!0),this.doInit(t)},doInit:function(e){var t=this.option;a.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),o(this,e),h([["start","startValue"],["end","endValue"]],function(e,i){"value"===this._rangePropMode[i]&&(t[e[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis(function(t,i,n,o){var r=this.dependentModels[t.axis][i],a=r.__dzAxisProxy||(r.__dzAxisProxy=new u(t.name,i,this,o));e[t.name+"_"+i]=a},this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();d(function(t){var i=t.axisIndex;e[i]=l.normalizeToArray(e[i])},this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;d(function(i){null!=e[i.axisIndex]&&(t=!0)},this);var i=e.orient;return null==i&&t?"orient":t?void 0:(null==i&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),i=this.option,n=this.dependentModels;if(e){var o="vertical"===t?"y":"x";n[o+"Axis"].length?(i[o+"AxisIndex"]=[0],e=!1):h(n.singleAxis,function(n){e&&n.get("orient",!0)===t&&(i.singleAxisIndex=[n.componentIndex],e=!1)})}e&&d(function(t){if(e){var n=[],o=this.dependentModels[t.axis];if(o.length&&!n.length)for(var r=0,a=o.length;r<a;r++)"category"===o[r].get("type")&&n.push(r);i[t.axisIndex]=n,n.length&&(e=!1)}},this),e&&this.ecModel.eachSeries(function(e){this._isSeriesHasAllAxesTypeOf(e,"value")&&d(function(t){var n=i[t.axisIndex],o=e.get(t.axisIndex),a=e.get(t.axisId),s=e.ecModel.queryComponents({mainType:t.axis,index:o,id:a})[0];if(__DEV__&&!s)throw new Error(t.axis+' "'+r.retrieve(o,a,0)+'" not found');o=s.componentIndex,r.indexOf(n,o)<0&&n.push(o)})},this)},_autoSetOrient:function(){var e;this.eachTargetAxis(function(t){!e&&(e=t.name)},this),this.option.orient="y"===e?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,t){var i=!0;return d(function(n){var o=e.get(n.axisIndex),r=this.dependentModels[n.axis][o];r&&r.get("type")===t||(i=!1)},this),i},_setDefaultThrottle:function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var e;return d(function(t){if(null==e){var i=this.get(t.axisIndex);i.length&&(e=this.dependentModels[t.axis][i[0]])}},this),e},eachTargetAxis:function(e,t){var i=this.ecModel;d(function(n){h(this.get(n.axisIndex),function(o){e.call(t,n,o,this,i)},this)},this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var i=this.getAxisProxy(e,t);return i&&i.getAxisModel()},setRawRange:function(e,t){h(["start","end","startValue","endValue"],function(t){this.option[t]=e[t]},this),!t&&o(this,e)},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(){var e=this._axisProxies;for(var t in e)if(e.hasOwnProperty(t)&&e[t].hostedBy(this))return e[t];for(var t in e)if(e.hasOwnProperty(t)&&!e[t].hostedBy(this))return e[t]},getRangePropMode:function(){return this._rangePropMode.slice()}});e.exports=p},function(e,t,i){var n=i(90);e.exports=n.extend({type:"dataZoom",render:function(e,t,i,n){this.dataZoomModel=e,this.ecModel=t,this.api=i},getTargetCoordInfo:function(){function e(e,t,i,n){for(var o,r=0;r<i.length;r++)if(i[r].model===e){o=i[r];break}o||i.push(o={model:e,axisModels:[],coordIndex:n}),o.axisModels.push(t)}var t=this.dataZoomModel,i=this.ecModel,n={};return t.eachTargetAxis(function(t,o){var r=i.getComponent(t.axis,o);if(r){var a=r.getCoordSysModel();a&&e(a,r,n[a.mainType]||(n[a.mainType]=[]),a.componentIndex)}},this),n}})},function(e,t,i){"use strict";var n=i(2),o=i(0),r=i(1);i(86),i(331),r.extendComponentView({type:"grid",render:function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new n.Rect({shape:e.coordinateSystem.getRect(),style:o.defaults({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))}}),r.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})},function(e,t,i){"use strict";function n(e){return e}function o(e,t,i,o){this._old=e,this._new=t,this._oldKeyGetter=i||n,this._newKeyGetter=o||n}function r(e,t,i,n){for(var o=0;o<e.length;o++){var r=n(e[o],o),a=t[r];null==a?(i.push(r),t[r]=o):(a.length||(t[r]=a=[a]),a.push(o))}}o.prototype={constructor:o,add:function(e){return this._add=e,this},update:function(e){return this._update=e,this},remove:function(e){return this._remove=e,this},execute:function(){var e,t=this._old,i=this._new,n=this._oldKeyGetter,o=this._newKeyGetter,a={},s={},l=[],c=[];for(r(t,a,l,n),r(i,s,c,o),e=0;e<t.length;e++){var u=l[e],h=s[u];if(null!=h){var d=h.length;d?(1===d&&(s[u]=null),h=h.unshift()):s[u]=null,this._update&&this._update(h,e)}else this._remove&&this._remove(e)}for(var e=0;e<c.length;e++){var u=c[e];if(s.hasOwnProperty(u)){var h=s[u];if(null==h)continue;if(h.length)for(var p=0,d=h.length;p<d;p++)this._add&&this._add(h[p]);else this._add&&this._add(h)}}}},e.exports=o},function(e,t,i){var n=i(0);e.exports=function(e){for(var t=0;t<e.length;t++)e[t][1]||(e[t][1]=e[t][0]);return function(t,i){for(var o={},r=0;r<e.length;r++){var a=e[r][1];if(!(t&&n.indexOf(t,a)>=0||i&&n.indexOf(i,a)<0)){var s=this.getShallow(a);null!=s&&(o[e[r][0]]=s)}}return o}}},function(e,t){var i={},n="\0__throttleOriginMethod",o="\0__throttleRate";i.throttle=function(e,t,i){function n(){c=(new Date).getTime(),u=null,e.apply(a,s||[])}var o,r,a,s,l=0,c=0,u=null;t=t||0;var h=function(){o=(new Date).getTime(),a=this,s=arguments,r=o-(i?l:c)-t,clearTimeout(u),i?u=setTimeout(n,t):r>=0?n():u=setTimeout(n,-r),l=o};return h.clear=function(){u&&(clearTimeout(u),u=null)},h},i.createOrUpdate=function(e,t,r,a){var s=e[t];if(s){var l=s[n]||s,c=s["\0__throttleType"];if(s[o]!==r||c!==a){if(null==r||!a)return e[t]=l;s=e[t]=i.throttle(l,r,"debounce"===a),s[n]=l,s["\0__throttleType"]=a,s[o]=r}return s}},i.clear=function(e,t){var i=e[t];i&&i[n]&&(e[t]=i[n])},e.exports=i},function(e,t,i){"use strict";var n,o,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};!function(i,a){"object"===r(t)?e.exports=a():(n=[],void 0!==(o=function(){return i.Humanize=a()}.apply(t,n))&&(e.exports=o))}(this,function(){var e=[{name:"second",value:1e3},{name:"minute",value:6e4},{name:"hour",value:36e5},{name:"day",value:864e5},{name:"week",value:6048e5}],t={P:Math.pow(2,50),T:Math.pow(2,40),G:Math.pow(2,30),M:Math.pow(2,20)},i=function(e){return void 0!==e&&null!==e},n=function(e){return e!==e},o=function(e){return isFinite(e)&&!n(parseFloat(e))},a=function(e){return"[object Array]"===Object.prototype.toString.call(e)},s={intword:function(e,t){var i=arguments.length<=2||void 0===arguments[2]?2:arguments[2];return s.compactInteger(e,i)},compactInteger:function(e){var t=arguments.length<=1||void 0===arguments[1]?0:arguments[1];t=Math.max(t,0);var i=parseInt(e,10),n=i<0?"-":"",o=Math.abs(i),r=String(o),a=r.length,s=[13,10,7,4],l=["T","B","M","k"];if(o<1e3)return""+n+r;if(a>s[0]+3)return i.toExponential(t).replace("e+","x10^");for(var c=void 0,u=0;u<s.length;u++){var h=s[u];if(a>=h){c=h;break}}var d=a-c+1,p=r.split(""),f=p.slice(0,d),g=p.slice(d,d+t+1),m=f.join(""),v=g.join("");v.length<t&&(v+=""+Array(t-v.length+1).join("0"));var y=void 0;if(0===t)y=""+n+m+l[s.indexOf(c)];else{y=""+n+Number(m+"."+v).toFixed(t)+l[s.indexOf(c)]}return y},intComma:function(e){var t=arguments.length<=1||void 0===arguments[1]?0:arguments[1];return s.formatNumber(e,t)},intcomma:function(){return s.intComma.apply(s,arguments)},fileSize:function(e){var i=arguments.length<=1||void 0===arguments[1]?2:arguments[1];for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];if(e>=o)return s.formatNumber(e/o,i,"")+" "+n+"B"}return e>=1024?s.formatNumber(e/1024,0)+" KB":s.formatNumber(e,0)+s.pluralize(e," byte")},filesize:function(){return s.fileSize.apply(s,arguments)},formatNumber:function(e){var t=arguments.length<=1||void 0===arguments[1]?0:arguments[1],i=arguments.length<=2||void 0===arguments[2]?",":arguments[2],n=arguments.length<=3||void 0===arguments[3]?".":arguments[3],o=s.normalizePrecision(t),r=e<0&&"-"||"",a=String(parseInt(s.toFixed(Math.abs(e||0),o),10)),l=a.length>3?a.length%3:0;return r+function(e,t,i){return i?e.substr(0,i)+t:""}(a,i,l)+function(e,t,i){return e.substr(i).replace(/(\d{3})(?=\d)/g,"$1"+t)}(a,i,l)+function(e,t,i){return i?t+s.toFixed(Math.abs(e),i).split(".")[1]:""}(e,n,o)},toFixed:function(e,t){t=i(t)?t:s.normalizePrecision(t,0);var n=Math.pow(10,t);return(Math.round(e*n)/n).toFixed(t)},normalizePrecision:function(e,t){return e=Math.round(Math.abs(e)),n(e)?t:e},ordinal:function(e){var t=parseInt(e,10);if(0===t)return e;var i=t%100;if([11,12,13].indexOf(i)>=0)return t+"th";var n=t%10,o=void 0;switch(n){case 1:o="st";break;case 2:o="nd";break;case 3:o="rd";break;default:o="th"}return""+t+o},times:function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(o(e)&&e>=0){var n=parseFloat(e),r=["never","once","twice"];if(i(t[n]))return String(t[n]);return i(r[n])&&r[n].toString()||n.toString()+" times"}return null},pluralize:function(e,t,n){return i(e)&&i(t)?(n=i(n)?n:t+"s",1===parseInt(e,10)?t:n):null},truncate:function(e){var t=arguments.length<=1||void 0===arguments[1]?100:arguments[1],i=arguments.length<=2||void 0===arguments[2]?"...":arguments[2];return e.length>t?e.substring(0,t-i.length)+i:e},truncateWords:function(e,t){for(var n=e.split(" "),o="",r=0;r<t;)i(n[r])&&(o+=n[r]+" "),r++;return n.length>t?o+"...":null},truncatewords:function(){return s.truncateWords.apply(s,arguments)},boundedNumber:function(e){var t=arguments.length<=1||void 0===arguments[1]?100:arguments[1],i=arguments.length<=2||void 0===arguments[2]?"+":arguments[2],n=void 0;return o(e)&&o(t)&&e>t&&(n=t+i),(n||e).toString()},truncatenumber:function(){return s.boundedNumber.apply(s,arguments)},oxford:function(e,t,n){var o=e.length,r=void 0;if(o<2)return String(e);if(2===o)return e.join(" and ");if(i(t)&&o>t){var a=o-t;r=t,n=i(n)?n:", and "+a+" "+s.pluralize(a,"other")}else r=-1,n=", and "+e[o-1];return e.slice(0,r).join(", ")+n},dictionary:function(e){var t=arguments.length<=1||void 0===arguments[1]?" is ":arguments[1],n=arguments.length<=2||void 0===arguments[2]?", ":arguments[2];if(i(e)&&"object"===(void 0===e?"undefined":r(e))&&!a(e)){var o=[];for(var s in e)if(e.hasOwnProperty(s)){var l=e[s];o.push(""+s+t+l)}return o.join(n)}return""},frequency:function(e,t){if(!a(e))return null;var i=e.length,n=s.times(i);return 0===i?n+" "+t:t+" "+n},pace:function(t,i){var n=arguments.length<=2||void 0===arguments[2]?"time":arguments[2];if(0===t||0===i)return"No "+s.pluralize(0,n);for(var o="Approximately",r=void 0,a=void 0,l=t/i,c=0;c<e.length;++c){var u=e[c];if((a=l*u.value)>1){r=u.name;break}}r||(o="Less than",a=1,r=e[e.length-1].name);var h=Math.round(a);return n=s.pluralize(h,n),o+" "+h+" "+n+" per "+r},nl2br:function(e){var t=arguments.length<=1||void 0===arguments[1]?"<br/>":arguments[1];return e.replace(/\n/g,t)},br2nl:function(e){var t=arguments.length<=1||void 0===arguments[1]?"\r\n":arguments[1];return e.replace(/\<br\s*\/?\>/g,t)},capitalize:function(e){var t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];return""+e.charAt(0).toUpperCase()+(t?e.slice(1).toLowerCase():e.slice(1))},capitalizeAll:function(e){return e.replace(/(?:^|\s)\S/g,function(e){return e.toUpperCase()})},titleCase:function(e){var t=/\b(a|an|and|at|but|by|de|en|for|if|in|of|on|or|the|to|via|vs?\.?)\b/i,i=/\S+[A-Z]+\S*/,n=void 0;return(n=function(e){for(var o=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],r=arguments.length<=2||void 0===arguments[2]||arguments[2],a=[],l=e.split(o?/-/:/\s+/),c=0;c<l.length;++c){var u=l[c];u.indexOf("-")===-1?!r||0!==c&&c!==l.length-1?i.test(u)?a.push(u):t.test(u)?a.push(u.toLowerCase()):a.push(s.capitalize(u)):a.push(i.test(u)?u:s.capitalize(u)):a.push(n(u,!0,0===c||c===l.length-1))}return a.join(o?"-":" ")})(e)},titlecase:function(){return s.titleCase.apply(s,arguments)}};return s})},function(e,t,i){"use strict";var n=i(31),o=i(6),r=i(98),a=i(10),s=i(69).devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],u=[],h=[],d=[],p=Math.min,f=Math.max,g=Math.cos,m=Math.sin,v=Math.sqrt,y=Math.abs,x="undefined"!=typeof Float32Array,b=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};b.prototype={constructor:b,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(e,t){this._ux=y(1/s/e)||0,this._uy=y(1/s/t)||0},getContext:function(){return this._ctx},beginPath:function(e){return this._ctx=e,e&&e.beginPath(),e&&(this.dpr=e.dpr),this._len=0,this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(e,t){return this.addData(l.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},lineTo:function(e,t){var i=y(e-this._xi)>this._ux||y(t-this._yi)>this._uy||this._len<5;return this.addData(l.L,e,t),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(e,t):this._ctx.lineTo(e,t)),i&&(this._xi=e,this._yi=t),this},bezierCurveTo:function(e,t,i,n,o,r){return this.addData(l.C,e,t,i,n,o,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(e,t,i,n,o,r):this._ctx.bezierCurveTo(e,t,i,n,o,r)),this._xi=o,this._yi=r,this},quadraticCurveTo:function(e,t,i,n){return this.addData(l.Q,e,t,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(e,t,i,n):this._ctx.quadraticCurveTo(e,t,i,n)),this._xi=i,this._yi=n,this},arc:function(e,t,i,n,o,r){return this.addData(l.A,e,t,i,i,n,o-n,0,r?0:1),this._ctx&&this._ctx.arc(e,t,i,n,o,r),this._xi=g(o)*i+e,this._yi=m(o)*i+e,this},arcTo:function(e,t,i,n,o){return this._ctx&&this._ctx.arcTo(e,t,i,n,o),this},rect:function(e,t,i,n){return this._ctx&&this._ctx.rect(e,t,i,n),this.addData(l.R,e,t,i,n),this},closePath:function(){this.addData(l.Z);var e=this._ctx,t=this._x0,i=this._y0;return e&&(this._needsDash()&&this._dashedLineTo(t,i),e.closePath()),this._xi=t,this._yi=i,this},fill:function(e){e&&e.fill(),this.toStatic()},stroke:function(e){e&&e.stroke(),this.toStatic()},setLineDash:function(e){if(e instanceof Array){this._lineDash=e,this._dashIdx=0;for(var t=0,i=0;i<e.length;i++)t+=e[i];this._dashSum=t}return this},setLineDashOffset:function(e){return this._dashOffset=e,this},len:function(){return this._len},setData:function(e){var t=e.length;this.data&&this.data.length==t||!x||(this.data=new Float32Array(t));for(var i=0;i<t;i++)this.data[i]=e[i];this._len=t},appendPath:function(e){e instanceof Array||(e=[e]);for(var t=e.length,i=0,n=this._len,o=0;o<t;o++)i+=e[o].len();x&&this.data instanceof Float32Array&&(this.data=new Float32Array(n+i));for(var o=0;o<t;o++)for(var r=e[o].data,a=0;a<r.length;a++)this.data[n++]=r[a];this._len=n},addData:function(e){var t=this.data;this._len+arguments.length>t.length&&(this._expandData(),t=this.data);for(var i=0;i<arguments.length;i++)t[this._len++]=arguments[i];this._prevCmd=e},_expandData:function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(e,t){var i,n,o=this._dashSum,r=this._dashOffset,a=this._lineDash,s=this._ctx,l=this._xi,c=this._yi,u=e-l,h=t-c,d=v(u*u+h*h),g=l,m=c,y=a.length;for(u/=d,h/=d,r<0&&(r=o+r),r%=o,g-=r*u,m-=r*h;u>0&&g<=e||u<0&&g>=e||0==u&&(h>0&&m<=t||h<0&&m>=t);)n=this._dashIdx,i=a[n],g+=u*i,m+=h*i,this._dashIdx=(n+1)%y,u>0&&g<l||u<0&&g>l||h>0&&m<c||h<0&&m>c||s[n%2?"moveTo":"lineTo"](u>=0?p(g,e):f(g,e),h>=0?p(m,t):f(m,t));u=g-e,h=m-t,this._dashOffset=-v(u*u+h*h)},_dashedBezierTo:function(e,t,i,o,r,a){var s,l,c,u,h,d=this._dashSum,p=this._dashOffset,f=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,x=n.cubicAt,b=0,_=this._dashIdx,w=f.length,S=0;for(p<0&&(p=d+p),p%=d,s=0;s<1;s+=.1)l=x(m,e,i,r,s+.1)-x(m,e,i,r,s),c=x(y,t,o,a,s+.1)-x(y,t,o,a,s),b+=v(l*l+c*c);for(;_<w&&!((S+=f[_])>p);_++);for(s=(S-p)/b;s<=1;)u=x(m,e,i,r,s),h=x(y,t,o,a,s),_%2?g.moveTo(u,h):g.lineTo(u,h),s+=f[_]/b,_=(_+1)%w;_%2!=0&&g.lineTo(r,a),l=r-u,c=a-h,this._dashOffset=-v(l*l+c*c)},_dashedQuadraticTo:function(e,t,i,n){var o=i,r=n;i=(i+2*e)/3,n=(n+2*t)/3,e=(this._xi+2*e)/3,t=(this._yi+2*t)/3,this._dashedBezierTo(e,t,i,n,o,r)},toStatic:function(){var e=this.data;e instanceof Array&&(e.length=this._len,x&&(this.data=new Float32Array(e)))},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 e=this.data,t=0,i=0,n=0,s=0,p=0;p<e.length;){var f=e[p++];switch(1==p&&(t=e[p],i=e[p+1],n=t,s=i),f){case l.M:n=e[p++],s=e[p++],t=n,i=s,h[0]=n,h[1]=s,d[0]=n,d[1]=s;break;case l.L:r.fromLine(t,i,e[p],e[p+1],h,d),t=e[p++],i=e[p++];break;case l.C:r.fromCubic(t,i,e[p++],e[p++],e[p++],e[p++],e[p],e[p+1],h,d),t=e[p++],i=e[p++];break;case l.Q:r.fromQuadratic(t,i,e[p++],e[p++],e[p],e[p+1],h,d),t=e[p++],i=e[p++];break;case l.A:var v=e[p++],y=e[p++],x=e[p++],b=e[p++],_=e[p++],w=e[p++]+_,S=(e[p++],1-e[p++]);1==p&&(n=g(_)*x+v,s=m(_)*b+y),r.fromArc(v,y,x,b,_,w,S,h,d),t=g(w)*x+v,i=m(w)*b+y;break;case l.R:n=t=e[p++],s=i=e[p++];var A=e[p++],M=e[p++];r.fromLine(n,s,n+A,s+M,h,d);break;case l.Z:t=n,i=s}o.min(c,c,h),o.max(u,u,d)}return 0===p&&(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(e){for(var t,i,n,o,r,a,s=this.data,c=this._ux,u=this._uy,h=this._len,d=0;d<h;){var p=s[d++];switch(1==d&&(n=s[d],o=s[d+1],t=n,i=o),p){case l.M:t=n=s[d++],i=o=s[d++],e.moveTo(n,o);break;case l.L:r=s[d++],a=s[d++],(y(r-n)>c||y(a-o)>u||d===h-1)&&(e.lineTo(r,a),n=r,o=a);break;case l.C:e.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],o=s[d-1];break;case l.Q:e.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],o=s[d-1];break;case l.A:var f=s[d++],v=s[d++],x=s[d++],b=s[d++],_=s[d++],w=s[d++],S=s[d++],A=s[d++],M=x>b?x:b,k=x>b?1:x/b,T=x>b?b/x:1,I=Math.abs(x-b)>.001,C=_+w;I?(e.translate(f,v),e.rotate(S),e.scale(k,T),e.arc(0,0,M,_,C,1-A),e.scale(1/k,1/T),e.rotate(-S),e.translate(-f,-v)):e.arc(f,v,M,_,C,1-A),1==d&&(t=g(_)*x+f,i=m(_)*b+v),n=g(C)*x+f,o=m(C)*b+v;break;case l.R:t=n=s[d],i=o=s[d+1],e.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:e.closePath(),n=t,o=i}}}},b.CMD=l,e.exports=b},function(e,t,i){"use strict";function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}i.d(t,"d",function(){return s}),i.d(t,"c",function(){return l}),i.d(t,"b",function(){return c}),i.d(t,"a",function(){return u});var a=function e(t){r(this,e),this.name=t.name,null!=t.conf?(this.encryption=t.conf.use_encryption,this.compression=t.conf.use_compression):(this.encryption="",this.compression=""),this.conns=t.cur_conns,this.traffic_in=t.today_traffic_in,this.traffic_out=t.today_traffic_out,this.status=t.status},s=function(e){function t(e){r(this,t);var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.type="tcp",null!=e.conf?(i.addr=e.conf.bind_addr+":"+e.conf.remote_port,i.port=e.conf.remote_port):(i.addr="",i.port=""),i}return o(t,e),t}(a),l=function(e){function t(e){r(this,t);var i=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.type="udp",null!=e.conf?(i.addr=e.conf.bind_addr+":"+e.conf.remote_port,i.port=e.conf.remote_port):(i.addr="",i.port=""),i}return o(t,e),t}(a),c=function(e){function t(e,i,o){r(this,t);var a=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.type="http",a.port=i,null!=e.conf?(a.custom_domains=e.conf.custom_domains,a.host_header_rewrite=e.conf.host_header_rewrite,a.locations=e.conf.locations,""!=e.conf.sub_domain?a.subdomain=e.conf.sub_domain+"."+o:a.subdomain=""):(a.custom_domains="",a.host_header_rewrite="",a.subdomain="",a.locations=""),a}return o(t,e),t}(a),u=function(e){function t(e,i,o){r(this,t);var a=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.type="https",a.port=i,null!=e.conf?(a.custom_domains=e.conf.custom_domains,""!=e.conf.sub_domain?a.subdomain=e.conf.sub_domain+"."+o:a.subdomain=""):(a.custom_domains="",a.subdomain=""),a}return o(t,e),t}(a)},function(e,t,i){"use strict";function n(e){return null==e.value?e:e.value}var o=i(11),r=i(19),a=i(279),s=i(0),l={_baseAxisDim:null,getInitialData:function(e,t){var i,a,s=t.getComponent("xAxis",this.get("xAxisIndex")),l=t.getComponent("yAxis",this.get("yAxisIndex")),c=s.get("type"),u=l.get("type");"category"===c?(e.layout="horizontal",i=s.getCategories(),a=!0):"category"===u?(e.layout="vertical",i=l.getCategories(),a=!0):e.layout=e.layout||"horizontal",this._baseAxisDim="horizontal"===e.layout?"x":"y";var h=e.data,d=this.dimensions=["base"].concat(this.valueDimensions);r(d,h);var p=new o(d,this);return p.initData(h,i?i.slice():null,function(e,t,i,o){var r=n(e);return a?"base"===t?i:r[o-1]:r[o]}),p},coordDimToDataDim:function(e){var t=this.valueDimensions.slice(),i=["base"];return{horizontal:{x:i,y:t},vertical:{x:t,y:i}}[this.get("layout")][e]},dataDimToCoordDim:function(e){var t;return s.each(["x","y"],function(i,n){var o=this.coordDimToDataDim(i);s.indexOf(o,e)>=0&&(t=i)},this),t},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}},c={init:function(){var e=this._whiskerBoxDraw=new a(this.getStyleUpdater());this.group.add(e.group)},render:function(e,t,i){this._whiskerBoxDraw.updateData(e.getData())},remove:function(e){this._whiskerBoxDraw.remove()}};e.exports={seriesModelMixin:l,viewMixin:c}},function(e,t,i){function n(e,t,i){var n=t.getComponent("tooltip"),r=t.getComponent("axisPointer"),s=r.get("link",!0)||[],c=[];h(i.getCoordinateSystems(),function(i){function u(n,u,h){var d=h.model.getModel("axisPointer",r),p=d.get("show");if(p&&("auto"!==p||n||l(d))){null==u&&(u=d.get("triggerTooltip")),d=n?o(h,v,r,t,n,u):d;var m=d.get("snap"),y=f(h.model),x=u||m||"category"===h.type,b=e.axesInfo[y]={key:y,axis:h,coordSys:i,axisPointerModel:d,triggerTooltip:u,involveSeries:x,snap:m,useHandle:l(d),seriesModels:[]};g[y]=b,e.seriesInvolved|=x;var _=a(s,h);if(null!=_){var w=c[_]||(c[_]={axesInfo:{}});w.axesInfo[y]=b,w.mapper=s[_].mapper,b.linkGroup=w}}}if(i.axisPointerEnabled){var p=f(i.model),g=e.coordSysAxesInfo[p]={};e.coordSysMap[p]=i;var m=i.model,v=m.getModel("tooltip",n);if(h(i.getAxes(),d(u,!1,null)),i.getTooltipAxes&&n&&v.get("show")){var y="axis"===v.get("trigger"),x="cross"===v.get("axisPointer.type"),b=i.getTooltipAxes(v.get("axisPointer.axis"));(y||x)&&h(b.baseAxes,d(u,!x||"cross",y)),x&&h(b.otherAxes,d(u,"cross",!1))}}})}function o(e,t,i,n,o,r){var a=t.getModel("axisPointer"),s={};h(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(e){s[e]=c.clone(a.get(e))}),s.snap="category"!==e.type&&!!r,"cross"===a.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===o&&(l.show=!0,!r)){var d=s.lineStyle=a.get("crossStyle");d&&c.defaults(l.textStyle||(l.textStyle={}),d.textStyle)}return e.model.getModel("axisPointer",new u(s,i,n))}function r(e,t){t.eachSeries(function(t){var i=t.coordinateSystem,n=t.get("tooltip.trigger",!0);i&&"none"!==n&&n!==!1&&"item"!==n&&t.get("axisPointer.show",!0)!==!1&&h(e.coordSysAxesInfo[f(i.model)],function(e){var n=e.axis;i.getAxis(n.dim)===n&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())})},this)}function a(e,t){for(var i=t.model,n=t.dim,o=0;o<e.length;o++){var r=e[o]||{};if(s(r[n+"AxisId"],i.id)||s(r[n+"AxisIndex"],i.componentIndex)||s(r[n+"AxisName"],i.name))return o}}function s(e,t){return"all"===e||c.isArray(e)&&c.indexOf(e,t)>=0||e===t}function l(e){return!!e.get("handle.show")}var c=i(0),u=i(9),h=c.each,d=c.curry,p={};p.collect=function(e,t){var i={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n(i,e,t),i.seriesInvolved&&r(i,e),i},p.fixValue=function(e){var t=p.getAxisInfo(e);if(t){var i=t.axisPointerModel,n=t.axis.scale,o=i.option,r=i.get("status"),a=i.get("value");null!=a&&(a=n.parse(a));var s=l(i);null==r&&(o.status=s?"show":"hide");var c=n.getExtent().slice();c[0]>c[1]&&c.reverse(),(null==a||a>c[1])&&(a=c[1]),a<c[0]&&(a=c[0]),o.value=a,s&&(o.status=t.axis.scale.isBlank()?"hide":"show")}},p.getAxisInfo=function(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[f(e)]},p.getAxisPointerModel=function(e){var t=p.getAxisInfo(e);return t&&t.axisPointerModel};var f=p.makeKey=function(e){return e.type+"||"+e.id};e.exports=p},function(e,t,i){"use strict";function n(e,t,i,n){var o=n.getWidth(),r=n.getHeight();e[0]=Math.min(e[0]+t,o)-t,e[1]=Math.min(e[1]+i,r)-i,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}var o=i(0),r=i(2),a=i(25),s=i(4),l=i(21),c=i(18),u=i(33),h={};h.buildElStyle=function(e){var t,i=e.get("type"),n=e.getModel(i+"Style");return"line"===i?(t=n.getLineStyle(),t.fill=null):"shadow"===i&&(t=n.getAreaStyle(),t.stroke=null),t},h.buildLabelElOption=function(e,t,i,o,r){var l=i.get("value"),c=h.getValueLabel(l,t.axis,t.ecModel,i.get("seriesDataIndices"),{precision:i.get("label.precision"),formatter:i.get("label.formatter")}),u=i.getModel("label"),d=u.getModel("textStyle"),p=s.normalizeCssArray(u.get("padding")||0),f=d.getFont(),g=a.getBoundingRect(c,f,r.textAlign,r.textBaseline),m=r.position,v=g.width+p[1]+p[3],y=g.height+p[0]+p[2],x=r.align;"right"===x&&(m[0]-=v),"center"===x&&(m[0]-=v/2);var b=r.verticalAlign;"bottom"===b&&(m[1]-=y),"middle"===b&&(m[1]-=y/2),n(m,v,y,o);var _=u.get("backgroundColor");_&&"auto"!==_||(_=t.get("axisLine.lineStyle.color")),e.label={shape:{x:0,y:0,width:v,height:y,r:u.get("borderRadius")},position:m.slice(),style:{text:c,textFont:f,textFill:d.getTextColor(),textPosition:"inside",fill:_,stroke:u.get("borderColor")||"transparent",lineWidth:u.get("borderWidth")||0,shadowBlur:u.get("shadowBlur"),shadowColor:u.get("shadowColor"),shadowOffsetX:u.get("shadowOffsetX"),shadowOffsetY:u.get("shadowOffsetY")}}},h.getValueLabel=function(e,t,i,n,r){var a=t.scale.getLabel(e,{precision:r.precision,pad:!0}),s=r.formatter;if(s){var l={value:c.getAxisRawValue(t,e),seriesData:[]};o.each(n,function(e){var t=i.getSeriesByIndex(e.seriesIndex),n=e.dataIndexInside,o=t&&t.getDataParams(n);o&&l.seriesData.push(o)}),o.isString(s)?a=s.replace("{value}",a):o.isFunction(s)&&(a=s(l))}return a},h.getTransformedPosition=function(e,t,i){var n=l.create();return l.rotate(n,n,i.rotation),l.translate(n,n,i.position),r.applyTransform([e.dataToCoord(t),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],n)},h.buildCartesianSingleLabelElOption=function(e,t,i,n,o,r){var a=u.innerTextLayout(i.rotation,0,i.labelDirection);i.labelMargin=o.get("label.margin"),h.buildLabelElOption(t,n,o,r,{position:h.getTransformedPosition(n.axis,e,i),align:a.textAlign,verticalAlign:a.textVerticalAlign})},h.makeLineShape=function(e,t,i){return i=i||0,{x1:e[i],y1:e[1-i],x2:t[i],y2:t[1-i]}},h.makeRectShape=function(e,t,i){return i=i||0,{x:e[i],y:e[1-i],width:t[i],height:t[1-i]}},h.makeSectorShape=function(e,t,i,n,o,r){return{cx:e,cy:t,r0:i,r:n,startAngle:o,endAngle:r,clockwise:!0}},e.exports=h},function(e,t,i){function n(e){if(!e.target||!e.target.draggable){var t=e.offsetX,i=e.offsetY;this.containsPoint&&this.containsPoint(t,i)&&(this._x=t,this._y=i,this._dragging=!0)}}function o(e){if(this._dragging&&(d.stop(e.event),"pinch"!==e.gestureEvent)){if(p.isTaken(this._zr,"globalPan"))return;var t=e.offsetX,i=e.offsetY,n=this._x,o=this._y,r=t-n,a=i-o;this._x=t,this._y=i;var s=this.target;if(s){var l=s.position;l[0]+=r,l[1]+=a,s.dirty()}d.stop(e.event),this.trigger("pan",r,a,n,o,t,i)}}function r(e){this._dragging=!1}function a(e){if(0!==e.wheelDelta){var t=e.wheelDelta>0?1.1:1/1.1;l.call(this,e,t,e.offsetX,e.offsetY)}}function s(e){if(!p.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;l.call(this,e,t,e.pinchX,e.pinchY)}}function l(e,t,i,n){if(this.containsPoint&&this.containsPoint(i,n)){d.stop(e.event);var o=this.target,r=this.zoomLimit;if(o){var a=o.position,s=o.scale,l=this.zoom=this.zoom||1;if(l*=t,r){var c=r.min||0,u=r.max||1/0;l=Math.max(Math.min(u,l),c)}var h=l/this.zoom;this.zoom=l,a[0]-=(i-a[0])*(h-1),a[1]-=(n-a[1])*(h-1),s[0]*=h,s[1]*=h,o.dirty()}this.trigger("zoom",t,i,n)}}function c(e,t){this.target=t,this.containsPoint,this.zoomLimit,this.zoom,this._zr=e;var i=h.bind,l=i(n,this),c=i(o,this),d=i(r,this),p=i(a,this),f=i(s,this);u.call(this),this.setContainsPoint=function(e){this.containsPoint=e},this.enable=function(t){this.disable(),null==t&&(t=!0),t!==!0&&"move"!==t&&"pan"!==t||(e.on("mousedown",l),e.on("mousemove",c),e.on("mouseup",d)),t!==!0&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",p),e.on("pinch",f))},this.disable=function(){e.off("mousedown",l),e.off("mousemove",c),e.off("mouseup",d),e.off("mousewheel",p),e.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}var u=i(39),h=i(0),d=i(26),p=i(129);h.mixin(c,u),e.exports=c},function(e,t,i){var n=i(143),o=i(0),r=i(12),a=i(7),s=["value","category","time","log"];e.exports=function(e,t,i,l){o.each(s,function(r){t.extend({type:e+"Axis."+r,mergeDefaultAndTheme:function(t,n){var s=this.layoutMode,l=s?a.getLayoutParams(t):{},c=n.getTheme();o.merge(t,c.get(r+"Axis")),o.merge(t,this.getDefaultOption()),t.type=i(e,t),s&&a.mergeLayoutParam(t,l,s)},defaultOption:o.mergeAll([{},n[r+"Axis"],l],!0)})}),r.registerSubTypeDefaulter(e+"Axis",o.curry(i,e))}},function(e,t,i){function n(e,t){var i=e.get("boundingCoords");if(null!=i){var n=i[0],o=i[1];isNaN(n[0])||isNaN(n[1])||isNaN(o[0])||isNaN(o[1])?__DEV__&&console.error("Invalid boundingCoords"):this.setBoundingRect(n[0],n[1],o[0]-n[0],o[1]-n[1])}var r,s=this.getBoundingRect(),c=e.get("layoutCenter"),u=e.get("layoutSize"),h=t.getWidth(),d=t.getHeight(),p=e.get("aspectScale")||.75,f=s.width/s.height*p,g=!1;c&&u&&(c=[l.parsePercent(c[0],h),l.parsePercent(c[1],d)],u=l.parsePercent(u,Math.min(h,d)),isNaN(c[0])||isNaN(c[1])||isNaN(u)?__DEV__&&console.warn("Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead."):g=!0);var m;if(g){var m={};f>1?(m.width=u,m.height=u/f):(m.height=u,m.width=u*f),m.y=c[1]-m.height/2,m.x=c[0]-m.width/2}else r=e.getBoxLayoutParams(),r.aspect=f,m=a.getLayoutRect(r,{width:h,height:d});this.setViewRect(m.x,m.y,m.width,m.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function o(e,t){s.each(t.get("geoCoord"),function(t,i){e.addGeoCoord(i,t)})}var r=i(420),a=i(7),s=i(0),l=i(3),c={};if(__DEV__)var u=function(e){console.error("Map "+e+" not exists. You can download map file on http://echarts.baidu.com/download-map.html")};var h={dimensions:r.prototype.dimensions,create:function(e,t){var i=[];e.eachComponent("geo",function(e,a){var s=e.get("map"),l=c[s];__DEV__&&(l||u(s));var h=new r(s+a,s,l&&l.geoJson,l&&l.specialAreas,e.get("nameMap"));h.zoomLimit=e.get("scaleLimit"),i.push(h),o(h,e),e.coordinateSystem=h,h.model=e,h.resize=n,h.resize(e,t)}),e.eachSeries(function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=i[t]}});var a={};return e.eachSeriesByType("map",function(e){if(!e.getHostGeoModel()){var t=e.getMapType();a[t]=a[t]||[],a[t].push(e)}}),s.each(a,function(e,a){var l=c[a];__DEV__&&(l||u(e[0].get("map")));var h=s.map(e,function(e){return e.get("nameMap")}),d=new r(a,a,l&&l.geoJson,l&&l.specialAreas,s.mergeAll(h));d.zoomLimit=s.retrieve.apply(null,s.map(e,function(e){return e.get("scaleLimit")})),i.push(d),d.resize=n,d.resize(e[0],t),s.each(e,function(e){e.coordinateSystem=d,o(d,e)})}),i},registerMap:function(e,t,i){t.geoJson&&!t.features&&(i=t.specialAreas,t=t.geoJson),"string"==typeof t&&(t="undefined"!=typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")()),c[e]={geoJson:t,specialAreas:i}},getMap:function(e){return c[e]},getFilledRegions:function(e,t){var i=(e||[]).slice(),n=h.getMap(t),o=n&&n.geoJson;if(!o)return __DEV__&&u(t),e;for(var r={},a=o.features,s=0;s<i.length;s++)r[i[s].name]=i[s];for(var s=0;s<a.length;s++){var l=a[s].properties.name;r[l]||i.push({name:l})}return i}},d=i(1);d.registerMap=h.registerMap,d.getMap=h.getMap,d.parseGeoJSON=i(146),d.loadMap=function(){},d.registerCoordinateSystem("geo",h),e.exports=h},function(e,t){e.exports=function(e,t){var i=t.findComponents({mainType:"legend"});i&&i.length&&t.eachSeriesByType(e,function(e){var t=e.getData();t.filterSelf(function(e){for(var n=t.getName(e),o=0;o<i.length;o++)if(!i[o].isSelected(n))return!1;return!0},this)},this)}},function(e,t,i){var n=i(3),o=i(4),r=i(63),a=Math.floor,s=Math.ceil,l=n.getPrecisionSafe,c=n.round,u=r.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(e,t){var i=this._extent;isNaN(e)||(i[0]=parseFloat(e)),isNaN(t)||(i[1]=parseFloat(t))},unionExtent:function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),u.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval||this.niceTicks(),this._interval},setInterval:function(e){this._interval=e,this._niceExtent=this._extent.slice()},getTicks:function(){this._interval||this.niceTicks();var e=this._interval,t=this._extent,i=[];if(e){var n=this._niceExtent,o=this._intervalPrecision=l(e);o+=2,t[0]<n[0]&&i.push(t[0]);for(var r=n[0];r<=n[1];)if(i.push(r),r=c(r+e,o),i.length>1e4)return[];t[1]>(i.length?i[i.length-1]:n[1])&&i.push(t[1])}return i},getTicksLabels:function(){for(var e=[],t=this.getTicks(),i=0;i<t.length;i++)e.push(this.getLabel(t[i]));return e},getLabel:function(e,t){var i=t&&t.precision;return null!=e&&null!=i&&("auto"===i&&(i=this._intervalPrecision+2),e=c(e,i,t&&t.pad)),o.addCommas(e)},niceTicks:function(e){e=e||5;var t=this._extent,i=t[1]-t[0];if(isFinite(i)){i<0&&(i=-i,t.reverse());var o=c(n.nice(i/e,!0),Math.max(l(t[0]),l(t[1]))+2),r=l(o)+2,u=[c(s(t[0]/o)*o,r),c(a(t[1]/o)*o,r)];this._interval=o,this._niceExtent=u}},niceExtent:function(e,t,i){var n=this._extent;if(n[0]===n[1])if(0!==n[0]){var o=n[0];i?n[0]-=o/2:(n[1]+=o/2,n[0]-=o/2)}else n[1]=1;var r=n[1]-n[0];isFinite(r)||(n[0]=0,n[1]=1),this.niceTicks(e);var l=this._interval;t||(n[0]=c(a(n[0]/l)*l)),i||(n[1]=c(s(n[1]/l)*l))}});u.create=function(){return new u},e.exports=u},function(e,t,i){function n(){this._extent=[1/0,-(1/0)],this._interval=0,this.init&&this.init.apply(this,arguments)}var o=i(24),r=n.prototype;r.parse=function(e){return e},r.contain=function(e){var t=this._extent;return e>=t[0]&&e<=t[1]},r.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},r.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},r.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},r.unionExtentFromData=function(e,t){this.unionExtent(e.getDataExtent(t,!0))},r.getExtent=function(){return this._extent.slice()},r.setExtent=function(e,t){var i=this._extent;isNaN(e)||(i[0]=e),isNaN(t)||(i[1]=t)},r.getTicksLabels=function(){for(var e=[],t=this.getTicks(),i=0;i<t.length;i++)e.push(this.getLabel(t[i]));return e},r.isBlank=function(){return this._isBlank},r.setBlank=function(e){this._isBlank=e},o.enableClassExtend(n),o.enableClassManagement(n,{registerWhenExtend:!0}),e.exports=n},function(e,t,i){function n(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}var o=i(0),r=i(35),a=o.each,s={createVisualMappings:function(e,t,i){function n(){var e=function(){};return e.prototype.__hidden=e.prototype,new e}var s={};return a(t,function(t){var l=s[t]=n();a(e[t],function(e,n){if(r.isValidType(n)){var a={type:n,visual:e};i&&i(a,t),l[n]=new r(a),"opacity"===n&&(a=o.clone(a),a.type="colorAlpha",l.__hidden.__alphaForOpacity=new r(a))}})}),s},replaceVisualOption:function(e,t,i){var r;o.each(i,function(e){t.hasOwnProperty(e)&&n(t[e])&&(r=!0)}),r&&o.each(i,function(i){t.hasOwnProperty(i)&&n(t[i])?e[i]=o.clone(t[i]):delete e[i]})},applyVisual:function(e,t,i,n,a,s){function l(e){return i.getItemVisual(d,e)}function c(e,t){i.setItemVisual(d,e,t)}function u(e,o){d=null==s?e:o;var r=i.getRawDataItem(d);if(!r||r.visualMap!==!1)for(var u=n.call(a,e),p=t[u],f=h[u],g=0,m=f.length;g<m;g++){var v=f[g];p[v]&&p[v].applyVisual(e,l,c)}}var h={};o.each(e,function(e){var i=r.prepareVisualTypes(t[e]);h[e]=i});var d;null==s?i.each(u,!0):i.each([s],u,!0)}};e.exports=s},,,function(e,t,i){i(498);var n=i(37)(i(213),i(490),null,null);e.exports=n.exports},,function(e,t){var i=1;"undefined"!=typeof window&&(i=Math.max(window.devicePixelRatio||1,1));var n={debugMode:0,devicePixelRatio:i};e.exports=n},function(e,t,i){var n=i(0),o=i(162),r=i(10),a=function(e){e=e||{},o.call(this,e);for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);this._children=[],this.__storage=null,this.__dirty=!0};a.prototype={constructor:a,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(e){return this._children[e]},childOfName:function(e){for(var t=this._children,i=0;i<t.length;i++)if(t[i].name===e)return t[i]},childCount:function(){return this._children.length},add:function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},addBefore:function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var i=this._children,n=i.indexOf(t);n>=0&&(i.splice(n,0,e),this._doAdd(e))}return this},_doAdd:function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__storage,i=this.__zr;t&&t!==e.__storage&&(t.addToMap(e),e instanceof a&&e.addChildrenToStorage(t)),i&&i.refresh()},remove:function(e){var t=this.__zr,i=this.__storage,o=this._children,r=n.indexOf(o,e);return r<0?this:(o.splice(r,1),e.parent=null,i&&(i.delFromMap(e.id),e instanceof a&&e.delChildrenFromStorage(i)),t&&t.refresh(),this)},removeAll:function(){var e,t,i=this._children,n=this.__storage;for(t=0;t<i.length;t++)e=i[t],n&&(n.delFromMap(e.id),e instanceof a&&e.delChildrenFromStorage(n)),e.parent=null;return i.length=0,this},eachChild:function(e,t){for(var i=this._children,n=0;n<i.length;n++){var o=i[n];e.call(t,o,n)}return this},traverse:function(e,t){for(var i=0;i<this._children.length;i++){var n=this._children[i];e.call(t,n),"group"===n.type&&n.traverse(e,t)}return this},addChildrenToStorage:function(e){for(var t=0;t<this._children.length;t++){var i=this._children[t];e.addToMap(i),i instanceof a&&i.addChildrenToStorage(e)}},delChildrenFromStorage:function(e){for(var t=0;t<this._children.length;t++){var i=this._children[t];e.delFromMap(i.id),i instanceof a&&i.delChildrenFromStorage(e)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(e){for(var t=null,i=new r(0,0,0,0),n=e||this._children,o=[],a=0;a<n.length;a++){var s=n[a];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),c=s.getLocalTransform(o);c?(i.copy(l),i.applyTransform(c),t=t||i.clone(),t.union(i)):(t=t||l.clone(),t.union(l))}}return t||i}},n.inherits(a,o),e.exports=a},function(e,t,i){function n(e){e=e||{},a.call(this,e);for(var t in e)e.hasOwnProperty(t)&&"style"!==t&&(this[t]=e[t]);this.style=new r(e.style),this._rect=null,this.__clipPaths=[]}var o=i(0),r=i(174),a=i(162),s=i(177);n.prototype={constructor:n,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:-1,beforeBrush:function(e){},afterBrush:function(e){},brush:function(e,t){},getBoundingRect:function(){},contain:function(e,t){return this.rectContain(e,t)},traverse:function(e,t){e.call(t,this)},rectContain:function(e,t){var i=this.transformCoordToLocal(e,t);return this.getBoundingRect().contain(i[0],i[1])},dirty:function(){this.__dirty=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(e){return this.animate("style",e)},attrKV:function(e,t){"style"!==e?a.prototype.attrKV.call(this,e,t):this.style.set(t)},setStyle:function(e,t){return this.style.set(e,t),this.dirty(!1),this},useStyle:function(e){return this.style=new r(e),this.dirty(!1),this}},o.inherits(n,a),o.mixin(n,s),e.exports=n},function(e,t){var i=function(e){this.colorStops=e||[]};i.prototype={constructor:i,addColorStop:function(e,t){this.colorStops.push({offset:e,color:t})}},e.exports=i},,,function(e,t,i){function n(e){return"_"+e+"Type"}function o(e,t,i){var n=t.getItemVisual(i,"color"),o=t.getItemVisual(i,e),r=t.getItemVisual(i,e+"Size");if(o&&"none"!==o){p.isArray(r)||(r=[r,r]);var a=c.createSymbol(o,-r[0]/2,-r[1]/2,r[0],r[1],n);return a.name=e,a}}function r(e){var t=new h({name:"line"});return a(t.shape,e),t}function a(e,t){var i=t[0],n=t[1],o=t[2];e.x1=i[0],e.y1=i[1],e.x2=n[0],e.y2=n[1],e.percent=1,o?(e.cpx1=o[0],e.cpy1=o[1]):(e.cpx1=NaN,e.cpy1=NaN)}function s(){var e=this,t=e.childOfName("fromSymbol"),i=e.childOfName("toSymbol"),n=e.childOfName("label");if(t||i||!n.ignore){for(var o=1,r=this.parent;r;)r.scale&&(o/=r.scale[0]),r=r.parent;var a=e.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),c=a.pointAt(s),h=u.sub([],c,l);if(u.normalize(h,h),t){t.attr("position",l);var d=a.tangentAt(0);t.attr("rotation",Math.PI/2-Math.atan2(d[1],d[0])),t.attr("scale",[o*s,o*s])}if(i){i.attr("position",c);var d=a.tangentAt(1);i.attr("rotation",-Math.PI/2-Math.atan2(d[1],d[0])),i.attr("scale",[o*s,o*s])}if(!n.ignore){n.attr("position",c);var p,f,g,m=5*o;if("end"===n.__position)p=[h[0]*m+c[0],h[1]*m+c[1]],f=h[0]>.8?"left":h[0]<-.8?"right":"center",g=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";else if("middle"===n.__position){var v=s/2,d=a.tangentAt(v),y=[d[1],-d[0]],x=a.pointAt(v);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]),p=[x[0]+y[0]*m,x[1]+y[1]*m],f="center",g="bottom";var b=-Math.atan2(d[1],d[0]);c[0]<l[0]&&(b=Math.PI+b),n.attr("rotation",b)}else p=[-h[0]*m+l[0],-h[1]*m+l[1]],f=h[0]>.8?"right":h[0]<-.8?"left":"center",g=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";n.attr({style:{textVerticalAlign:n.__verticalAlign||g,textAlign:n.__textAlign||f},position:p,scale:[o,o]})}}}}function l(e,t,i){d.Group.call(this),this._createLine(e,t,i)}var c=i(20),u=i(6),h=i(278),d=i(2),p=i(0),f=i(3),g=["fromSymbol","toSymbol"],m=l.prototype;m.beforeUpdate=s,m._createLine=function(e,t,i){var a=e.hostModel,s=e.getItemLayout(t),l=r(s);l.shape.percent=0,d.initProps(l,{shape:{percent:1}},a,t),this.add(l);var c=new d.Text({name:"label"});this.add(c),p.each(g,function(i){var r=o(i,e,t);this.add(r),this[n(i)]=e.getItemVisual(t,i)},this),this._updateCommonStl(e,t,i)},m.updateData=function(e,t,i){var r=e.hostModel,s=this.childOfName("line"),l=e.getItemLayout(t),c={shape:{}};a(c.shape,l),d.updateProps(s,c,r,t),p.each(g,function(i){var r=e.getItemVisual(t,i),a=n(i);if(this[a]!==r){this.remove(this.childOfName(i));var s=o(i,e,t);this.add(s)}this[a]=r},this),this._updateCommonStl(e,t,i)},m._updateCommonStl=function(e,t,i){var n=e.hostModel,o=this.childOfName("line"),r=i&&i.lineStyle,a=i&&i.hoverLineStyle,s=i&&i.labelModel,l=i&&i.hoverLabelModel;if(!i||e.hasItemOption){var c=e.getItemModel(t);r=c.getModel("lineStyle.normal").getLineStyle(),a=c.getModel("lineStyle.emphasis").getLineStyle(),s=c.getModel("label.normal"),l=c.getModel("label.emphasis")}var u=e.getItemVisual(t,"color"),h=p.retrieve(e.getItemVisual(t,"opacity"),r.opacity,1);o.useStyle(p.defaults({strokeNoScale:!0,fill:"none",stroke:u,opacity:h},r)),o.hoverStyle=a,p.each(g,function(e){var t=this.childOfName(e);t&&(t.setColor(u),t.setStyle({opacity:h}))},this);var m,v,y=s.getShallow("show"),x=l.getShallow("show"),b=this.childOfName("label");if(y||x){var _=n.getRawValue(t);v=null==_?v=e.getName(t):isFinite(_)?f.round(_):_,m=u||"#000"}if(y){var w=s.getModel("textStyle");b.setStyle({text:p.retrieve(n.getFormattedLabel(t,"normal",e.dataType),v),textFont:w.getFont(),fill:w.getTextColor()||m}),b.__textAlign=w.get("align"),b.__verticalAlign=w.get("baseline"),b.__position=s.get("position")}else b.setStyle("text","");if(x){var S=l.getModel("textStyle");b.hoverStyle={text:p.retrieve(n.getFormattedLabel(t,"emphasis",e.dataType),v),textFont:S.getFont(),fill:S.getTextColor()||m}}else b.hoverStyle={text:""};b.ignore=!y&&!x,d.setHoverStyle(this)},m.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},m.setLinePoints=function(e){var t=this.childOfName("line");a(t.shape,e),t.dirty()},p.inherits(l,d.Group),e.exports=l},function(e,t,i){function n(e){return isNaN(e[0])||isNaN(e[1])}function o(e){return!n(e[0])&&!n(e[1])}function r(e){this._ctor=e||s,this.group=new a.Group}var a=i(2),s=i(75),l=r.prototype;l.updateData=function(e){var t=this._lineData,i=this.group,n=this._ctor,r=e.hostModel,a={lineStyle:r.getModel("lineStyle.normal").getLineStyle(),hoverLineStyle:r.getModel("lineStyle.emphasis").getLineStyle(),labelModel:r.getModel("label.normal"),hoverLabelModel:r.getModel("label.emphasis")};e.diff(t).add(function(t){if(o(e.getItemLayout(t))){var r=new n(e,t,a);e.setItemGraphicEl(t,r),i.add(r)}}).update(function(r,s){var l=t.getItemGraphicEl(s);if(!o(e.getItemLayout(r)))return void i.remove(l);l?l.updateData(e,r,a):l=new n(e,r,a),e.setItemGraphicEl(r,l),i.add(l)}).remove(function(e){i.remove(t.getItemGraphicEl(e))}).execute(),this._lineData=e},l.updateLayout=function(){var e=this._lineData;e.eachItemGraphicEl(function(t,i){t.updateLayout(e,i)},this)},l.remove=function(){this.group.removeAll()},e.exports=r},function(e,t,i){function n(e,t){var i=e.getItemVisual(t,"symbolSize");return i instanceof Array?i.slice():[+i,+i]}function o(e){return[e[0]/2,e[1]/2]}function r(e,t,i){c.Group.call(this),this.updateData(e,t,i)}function a(e,t){this.parent.drift(e,t)}var s=i(0),l=i(20),c=i(2),u=i(3),h=r.prototype;h._createSymbol=function(e,t,i,n){this.removeAll();var r=t.hostModel,s=t.getItemVisual(i,"color"),u=l.createSymbol(e,-1,-1,2,2,s);u.attr({z2:100,culling:!0,scale:[0,0]}),u.drift=a,c.initProps(u,{scale:o(n)},r,i),this._symbolType=e,this.add(u)},h.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(e)},h.getSymbolPath=function(){return this.childAt(0)},h.getScale=function(){return this.childAt(0).scale},h.highlight=function(){this.childAt(0).trigger("emphasis")},h.downplay=function(){this.childAt(0).trigger("normal")},h.setZ=function(e,t){var i=this.childAt(0);i.zlevel=e,i.z=t},h.setDraggable=function(e){var t=this.childAt(0);t.draggable=e,t.cursor=e?"move":"pointer"},h.updateData=function(e,t,i){this.silent=!1;var r=e.getItemVisual(t,"symbol")||"circle",a=e.hostModel,s=n(e,t);if(r!==this._symbolType)this._createSymbol(r,e,t,s);else{var l=this.childAt(0);l.silent=!1,c.updateProps(l,{scale:o(s)},a,t)}this._updateCommon(e,t,s,i),this._seriesModel=a};var d=["itemStyle","normal"],p=["itemStyle","emphasis"],f=["label","normal"],g=["label","emphasis"];h._updateCommon=function(e,t,i,n){var r=this.childAt(0),a=e.hostModel,l=e.getItemVisual(t,"color");"image"!==r.type&&r.useStyle({strokeNoScale:!0}),n=n||null;var h=n&&n.itemStyle,m=n&&n.hoverItemStyle,v=n&&n.symbolRotate,y=n&&n.symbolOffset,x=n&&n.labelModel,b=n&&n.hoverLabelModel,_=n&&n.hoverAnimation;if(!n||e.hasItemOption){var w=e.getItemModel(t);h=w.getModel(d).getItemStyle(["color"]),m=w.getModel(p).getItemStyle(),v=w.getShallow("symbolRotate"),y=w.getShallow("symbolOffset"),x=w.getModel(f),b=w.getModel(g),_=w.getShallow("hoverAnimation")}else m=s.extend({},m);var S=r.style;r.attr("rotation",(v||0)*Math.PI/180||0),y&&r.attr("position",[u.parsePercent(y[0],i[0]),u.parsePercent(y[1],i[1])]),r.setColor(l),r.setStyle(h);var A=e.getItemVisual(t,"opacity");null!=A&&(S.opacity=A);for(var M,k,T=e.dimensions.slice();T.length&&(M=T.pop(),"ordinal"===(k=e.getDimensionInfo(M).type)||"time"===k););null!=M&&x.getShallow("show")?(c.setText(S,x,l),S.text=s.retrieve(a.getFormattedLabel(t,"normal"),e.get(M,t))):S.text="",null!=M&&b.getShallow("show")?(c.setText(m,b,l),m.text=s.retrieve(a.getFormattedLabel(t,"emphasis"),e.get(M,t))):m.text="",r.off("mouseover").off("mouseout").off("emphasis").off("normal"),r.hoverStyle=m,c.setHoverStyle(r);var I=o(i);if(_&&a.isAnimationEnabled()){var C=function(){var e=I[1]/I[0];this.animateTo({scale:[Math.max(1.1*I[0],I[0]+3),Math.max(1.1*I[1],I[1]+3*e)]},400,"elasticOut")},L=function(){this.animateTo({scale:I},400,"elasticOut")};r.on("mouseover",C).on("mouseout",L).on("emphasis",C).on("normal",L)}},h.fadeOut=function(e){var t=this.childAt(0);this.silent=t.silent=!0,t.style.text="",c.updateProps(t,{scale:[0,0]},this._seriesModel,this.dataIndex,e)},s.inherits(r,c.Group),e.exports=r},function(e,t,i){"use strict";function n(){}function o(e,t,i,n){r(p(i).lastProp,n)||(p(i).lastProp=n,t?d.updateProps(i,n,e):(i.stopAnimation(),i.attr(n)))}function r(e,t){if(u.isObject(e)&&u.isObject(t)){var i=!0;return u.each(t,function(t,n){i&=r(e[n],t)}),!!i}return e===t}function a(e,t){e[t.get("label.show")?"show":"hide"]()}function s(e){return{position:e.position.slice(),rotation:e.rotation||0}}function l(e,t){var i=e.get("icon"),n={x:-1,y:-1,width:2,height:2},o=u.extend({style:{strokeNoScale:!0},rectHover:!0,cursor:"move",draggable:!0},t);return 0===i.indexOf("image://")?(n.image=i.slice(8),o.style=n,new d.Image(o)):d.makePath(i.replace("path://",""),o,n,"center")}function c(e,t,i){var n=t.get("z"),o=t.get("zlevel");e&&e.traverse(function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=o&&(e.zlevel=o),e.silent=i)})}var u=i(0),h=i(24),d=i(2),p=i(5).makeGetter(),f=i(56),g=i(26),m=i(51),v=u.clone,y=u.bind;n.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,i,n){var r=t.get("value"),a=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=i,n||this._lastValue!==r||this._lastStatus!==a){this._lastValue=r,this._lastStatus=a;var s=this._group,l=this._handle;if(!a||"hide"===a)return s&&s.hide(),void(l&&l.hide());s&&s.show(),l&&l.show();var h={};this.makeElOption(h,r,e,t,i);var p=h.graphicKey;p!==this._lastGraphicKey&&this.clear(i),this._lastGraphicKey=p;var f=this._moveAnimation=this.determineAnimation(e,t);if(s){var g=u.curry(o,t,f);this.updatePointerEl(s,h,g,t),this.updateLabelEl(s,h,g,t)}else s=this._group=new d.Group,this.createPointerEl(s,h,e,t),this.createLabelEl(s,h,e,t),i.getZr().add(s);c(s,t,!0),this._renderHandle(r)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var i=t.get("animation"),n=e.axis,o="category"===n.type,r=t.get("snap");if(!r&&!o)return!1;if("auto"===i||null==i){var a=this.animationThreshold;if(o&&n.getBandWidth()>a)return!0;if(r){var s=f.getAxisInfo(e).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return i===!0},makeElOption:function(e,t,i,n,o){},createPointerEl:function(e,t,i,n){var o=t.pointer,r=p(e).pointerEl=new d[o.type](v(t.pointer));e.add(r)},createLabelEl:function(e,t,i,n){var o=p(e).labelEl=new d.Rect(v(t.label));e.add(o),a(o,n)},updatePointerEl:function(e,t,i){var n=p(e).pointerEl;n&&(n.setStyle(t.pointer.style),i(n,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,i,n){var o=p(e).labelEl;o&&(o.setStyle(t.label.style),i(o,{shape:t.label.shape,position:t.label.position}),a(o,n))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t=this._axisPointerModel,i=this._api.getZr(),n=this._handle,o=t.getModel("handle"),r=t.get("status");if(!o.get("show")||!r||"hide"===r)return n&&i.remove(n),void(this._handle=null);var a;this._handle||(a=!0,n=this._handle=l(o,{onmousemove:function(e){g.stop(e.event)},onmousedown:y(this._onHandleDragMove,this,0,0),drift:y(this._onHandleDragMove,this),ondragend:y(this._onHandleDragEnd,this)}),i.add(n)),c(n,t,!1);var s=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];n.setStyle(o.getItemStyle(null,s));var h=o.get("size");u.isArray(h)||(h=[h,h]),n.attr("scale",[h[0]/2,h[1]/2]),m.createOrUpdate(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,a)}},_moveHandleToValue:function(e,t){o(this._axisPointerModel,!t&&this._moveAnimation,this._handle,s(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(s(i),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(s(n)),p(i).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var e=this._payloadInfo,t={type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,highDownKey:"axisPointerHandle"};t[this._axisModel.axis.dim+"AxisId"]=this._axisModel.id,this._api.dispatchAction(t)}},_onHandleDragEnd:function(e){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),i=this._group,n=this._handle;t&&i&&(this._lastGraphicKey=null,i&&t.remove(i),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,i){return i=i||0,{x:e[i],y:e[1-i],width:t[i],height:t[1-i]}}},n.prototype.constructor=n,h.enableClassExtend(n),e.exports=n},function(e,t,i){var n=i(4),o=i(0),r={},a=["x","y","z","radius","angle","single"],s=["cartesian2d","polar","singleAxis"];r.isCoordSupported=function(e){return o.indexOf(s,e)>=0},r.createNameEach=function(e,t){e=e.slice();var i=o.map(e,n.capitalFirst);t=(t||[]).slice();var r=o.map(t,n.capitalFirst);return function(n,a){o.each(e,function(e,o){for(var s={name:e,capital:i[o]},l=0;l<t.length;l++)s[t[l]]=e+r[l];n.call(a,s)})}},r.eachAxisDim=r.createNameEach(a,["axisIndex","axis","index","id"]),r.createLinkedNodesFinder=function(e,t,i){function n(e,t){return o.indexOf(t.nodes,e)>=0}function r(e,n){var r=!1;return t(function(t){o.each(i(e,t)||[],function(e){n.records[t.name][e]&&(r=!0)})}),r}function a(e,n){n.nodes.push(e),t(function(t){o.each(i(e,t)||[],function(e){n.records[t.name][e]=!0})})}return function(i){function o(e){!n(e,s)&&r(e,s)&&(a(e,s),l=!0)}var s={nodes:[],records:{}};if(t(function(e){s.records[e.name]={}}),!i)return s;a(i,s);var l;do{l=!1,e(o)}while(l);return s}},e.exports=r},function(e,t,i){function n(e){__DEV__&&B.assert(e),V.call(this),this._zr=e,this.group=new F.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,__DEV__&&this._mounted,this._uid="brushController_"+ne++,this._handlers={},j(oe,function(e,t){this._handlers[t]=B.bind(e,this)},this)}function o(e,t){var i=e._zr;e._enableGlobalPan||H.take(i,$,e._uid),j(e._handlers,function(e,t){i.on(t,e)}),e._brushType=t.brushType,e._brushOption=B.merge(B.clone(ie),t,!0)}function r(e){var t=e._zr;H.release(t,$,e._uid),j(e._handlers,function(e,i){t.off(i,e)}),e._brushType=e._brushOption=null}function a(e,t){var i=re[t.brushType].createCover(e,t);return c(i),i.__brushOption=t,e.group.add(i),i}function s(e,t){var i=h(t);return i.endCreating&&(i.endCreating(e,t),c(t)),t}function l(e,t){var i=t.__brushOption;h(t).updateCoverShape(e,t,i.range,i)}function c(e){e.traverse(function(e){e.z=J,e.z2=J})}function u(e,t){h(t).updateCommon(e,t),l(e,t)}function h(e){return re[e.__brushOption.brushType]}function d(e,t,i){var n=e._panels;if(!n)return!0;var o;return j(n,function(e){e.contain(t,i)&&(o=e)}),o}function p(e,t){var i=e._panels;if(!i)return!0;var n=t.__brushOption.panelId;return null==n||i[n]}function f(e){var t=e._covers,i=t.length;return j(t,function(t){e.group.remove(t)},e),t.length=0,!!i}function g(e,t){var i=Z(e._covers,function(e){var t=e.__brushOption,i=B.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:i}});e.trigger("brush",i,{isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function m(e){var t=e._track;if(!t.length)return!1;var i=t[t.length-1],n=t[0],o=i[0]-n[0],r=i[1]-n[1];return X(o*o+r*r,.5)>Q}function v(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function y(e,t,i,n){var o=new F.Group;return o.add(new F.Rect({name:"main",style:w(i),silent:!0,draggable:!0,cursor:"move",drift:U(e,t,o,"nswe"),ondragend:U(g,t,{isEnd:!0})})),j(n,function(i){o.add(new F.Rect({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:U(e,t,o,i),ondragend:U(g,t,{isEnd:!0})}))}),o}function x(e,t,i,n){var o=n.brushStyle.lineWidth||0,r=q(o,K),a=i[0][0],s=i[1][0],l=a-o/2,c=s-o/2,u=i[0][1],h=i[1][1],d=u-r+o/2,p=h-r+o/2,f=u-a,g=h-s,m=f+o,v=g+o;_(e,t,"main",a,s,f,g),n.transformable&&(_(e,t,"w",l,c,r,v),_(e,t,"e",d,c,r,v),_(e,t,"n",l,c,m,r),_(e,t,"s",l,p,m,r),_(e,t,"nw",l,c,r,r),_(e,t,"ne",d,c,r,r),_(e,t,"sw",l,p,r,r),_(e,t,"se",d,p,r,r))}function b(e,t){var i=t.__brushOption,n=i.transformable,o=t.childAt(0);o.useStyle(w(i)),o.attr({silent:!n,cursor:n?"move":"default"}),j(["w","e","n","s","se","sw","ne","nw"],function(i){var o=t.childOfName(i),r=M(e,i);o&&o.attr({silent:!n,invisible:!n,cursor:n?te[r]+"-resize":null})})}function _(e,t,i,n,o,r,a){var s=t.childOfName(i);s&&s.setShape(L(C(e,t,[[n,o],[n+r,o+a]])))}function w(e){return B.defaults({strokeNoScale:!0},e.brushStyle)}function S(e,t,i,n){var o=[Y(e,i),Y(t,n)],r=[q(e,i),q(t,n)];return[[o[0],r[0]],[o[1],r[1]]]}function A(e){return F.getTransform(e.group)}function M(e,t){if(t.length>1){t=t.split("");var i=[M(e,t[0]),M(e,t[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}var n={w:"left",e:"right",n:"top",s:"bottom"},o={left:"w",right:"e",top:"n",bottom:"s"},i=F.transformDirection(n[t],A(e));return o[i]}function k(e,t,i,n,o,r,a,s){var l=n.__brushOption,c=e(l.range),h=I(i,r,a);j(o.split(""),function(e){var t=ee[e];c[t[0]][t[1]]+=h[t[0]]}),l.range=t(S(c[0][0],c[1][0],c[0][1],c[1][1])),u(i,n),g(i,{isEnd:!1})}function T(e,t,i,n,o){var r=t.__brushOption.range,a=I(e,i,n);j(r,function(e){e[0]+=a[0],e[1]+=a[1]}),u(e,t),g(e,{isEnd:!1})}function I(e,t,i){var n=e.group,o=n.transformCoordToLocal(t,i),r=n.transformCoordToLocal(0,0);return[o[0]-r[0],o[1]-r[1]]}function C(e,t,i){var n=p(e,t);if(n===!0)return B.clone(i);var o=n.getBoundingRect();return B.map(i,function(e){var t=e[0];t=q(t,o.x),t=Y(t,o.x+o.width);var i=e[1];return i=q(i,o.y),i=Y(i,o.y+o.height),[t,i]})}function L(e){var t=Y(e[0][0],e[1][0]),i=Y(e[0][1],e[1][1]);return{x:t,y:i,width:q(e[0][0],e[1][0])-t,height:q(e[0][1],e[1][1])-i}}function D(e,t){var i=t.offsetX,n=t.offsetY,o=e._zr;if(e._brushType){for(var r,a=e._panels,s=e._covers,l=0;l<s.length;l++)if(re[s[l].__brushOption.brushType].contain(s[l],i,n)){r=!0;break}r||(a?j(a,function(e){e.contain(i,n)&&o.setCursorStyle("crosshair")}):o.setCursorStyle("crosshair"))}}function P(e){var t=e.event;t.preventDefault&&t.preventDefault()}function z(e,t,i){return e.childOfName("main").contain(t,i)}function E(e,t,i){var n,o=t.offsetX,r=t.offsetY,c=e._creatingCover,u=e._creatingPanel,h=e._brushOption;if(e._track.push(e.group.transformCoordToLocal(o,r)),m(e)||c){if(u&&!c){"single"===h.brushMode&&f(e);var p=B.clone(h);p.brushType=O(p.brushType,u),p.panelId=u===!0?null:u.__brushPanelId,c=e._creatingCover=a(e,p),e._covers.push(c)}if(c){var g=re[O(e._brushType,u)];c.__brushOption.range=g.getCreatingRange(C(e,c,e._track)),i&&(s(e,c),g.updateCommon(e,c)),l(e,c),n={isEnd:i}}}else i&&"single"===h.brushMode&&h.removeOnClick&&d(e,o,r)&&f(e)&&(n={isEnd:i,removeOnClick:!0});return n}function O(e,t){return"auto"===e?(__DEV__&&B.assert(t&&t.__defaultBrushType,'MUST have defaultBrushType when brushType is "atuo"'),t.__defaultBrushType):e}function R(e){if(this._dragging){P(e);var t=E(this,e,!0);this._dragging=!1,this._track=[],this._creatingCover=null,t&&g(this,t)}}function N(e){return{createCover:function(t,i){return y(U(k,function(t){var i=[t,[0,100]];return e&&i.reverse(),i},function(t){return t[e]}),t,i,[["w","e"],["n","s"]][e])},getCreatingRange:function(t){var i=v(t);return[Y(i[0][e],i[1][e]),q(i[0][e],i[1][e])]},updateCoverShape:function(t,i,n,o){var r,a=o.brushStyle.width;if(null==a){var s=p(t,i),l=0;if(s!==!0){var c=s.getBoundingRect();a=e?c.width:c.height,l=e?c.x:c.y}r=[l,l+(a||0)]}else r=[-a/2,a/2];var u=[n,r];e&&u.reverse(),x(t,i,u,o)},updateCommon:b,contain:z}}var V=i(39),B=i(0),G=i(10),F=i(2),H=i(129),W=i(49),U=B.curry,j=B.each,Z=B.map,Y=Math.min,q=Math.max,X=Math.pow,J=1e4,Q=6,K=6,$="globalPan",ee={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},te={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},ie={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},ne=0;n.prototype={constructor:n,enableBrush:function(e){return __DEV__&&B.assert(this._mounted),this._brushType&&r(this),e.brushType&&o(this,e),this},setPanels:function(e){var t=this._panels||{},i=this._panels=e&&e.length&&{},n=this.group;return i&&j(e,function(e){var o=e.panelId,r=t[o];r||(r=new F.Rect({silent:!0,invisible:!0}),n.add(r));var a=e.rect;a instanceof G||(a=G.create(a)),r.attr("shape",a.plain()),r.__brushPanelId=o,r.__defaultBrushType=e.defaultBrushType,i[o]=r,t[o]=null}),j(t,function(e){e&&n.remove(e)}),this},mount:function(e){e=e||{},__DEV__&&(this._mounted=!0),this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({position:e.position||[0,0],rotation:e.rotation||0,scale:e.scale||[1,1]}),this},eachCover:function(e,t){j(this._covers,e,t)},updateCovers:function(e){function t(e,t){return(null!=e.id?e.id:r+t)+"-"+e.brushType}function i(e,i){return t(e.__brushOption,i)}function n(t,i){var n=e[t];if(null!=i&&l[i]===d)c[t]=l[i];else{var o=c[t]=null!=i?(l[i].__brushOption=n,l[i]):s(h,a(h,n));u(h,o)}}function o(e){l[e]!==d&&h.group.remove(l[e])}__DEV__&&B.assert(this._mounted),e=B.map(e,function(e){return B.merge(B.clone(ie),e,!0)});var r="\0-brush-index-",l=this._covers,c=this._covers=[],h=this,d=this._creatingCover;return new W(l,e,i,t).add(n).update(n).remove(o).execute(),this},unmount:function(){if(!__DEV__||this._mounted)return this.enableBrush(!1),f(this),this._zr.remove(this.group),__DEV__&&(this._mounted=!1),this},dispose:function(){this.unmount(),this.off()}},B.mixin(n,V);var oe={mousedown:function(e){if(this._dragging)R.call(this,e);else if(!e.target||!e.target.draggable){P(e);var t=e.offsetX,i=e.offsetY;this._creatingCover=null;var n=this._creatingPanel=d(this,t,i);n&&(this._dragging=!0,this._track=[this.group.transformCoordToLocal(t,i)])}},mousemove:function(e){if(D(this,e),this._dragging){P(e);var t=E(this,e,!1);t&&g(this,t)}},mouseup:R},re={lineX:N(0),lineY:N(1),rect:{createCover:function(e,t){return y(U(k,function(e){return e},function(e){return e}),e,t,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(e){var t=v(e);return S(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,i,n){x(e,t,i,n)},updateCommon:b,contain:z},polygon:{createCover:function(e,t){var i=new F.Group;return i.add(new F.Polyline({name:"main",style:w(t),silent:!0})),i},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new F.Polygon({name:"main",draggable:!0,drift:U(T,e,t),ondragend:U(g,e,{isEnd:!0})}))},updateCoverShape:function(e,t,i,n){t.childAt(0).setShape({points:C(e,t,i)})},updateCommon:b,contain:z}};e.exports=n},function(e,t,i){var n=i(0);e.exports={updateSelectedMap:function(e){this._selectTargetMap=n.reduce(e||[],function(e,t){return e[t.name]=t,e},{})},select:function(e){var t=this._selectTargetMap,i=t[e];"single"===this.get("selectedMode")&&n.each(t,function(e){e.selected=!1}),i&&(i.selected=!0)},unSelect:function(e){var t=this._selectTargetMap[e];t&&(t.selected=!1)},toggleSelected:function(e){var t=this._selectTargetMap[e];if(null!=t)return this[t.selected?"unSelect":"select"](e),t.selected},isSelected:function(e){var t=this._selectTargetMap[e];return t&&t.selected}}},function(e,t){e.exports=function(e,t,i,n,o){function r(e,t,i){var n=t.length?t.slice():[t,t];return t[0]>t[1]&&n.reverse(),e<0&&n[0]+e<i[0]&&(e=i[0]-n[0]),e>0&&n[1]+e>i[1]&&(e=i[1]-n[1]),e}return e?("rigid"===n?(e=r(e,t,i),t[0]+=e,t[1]+=e):(e=r(e,t[o],i),t[o]+=e,"push"===n&&t[0]>t[1]&&(t[1-o]=t[o])),t):t}},function(e,t,i){function n(e){o.defaultEmphasis(e.label,o.LABEL_OPTIONS)}var o=i(5),r=i(0),a=i(13),s=i(4),l=s.addCommas,c=s.encodeHTML,u=i(1).extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,i,n){if(__DEV__&&"marker"===this.type)throw new Error("Marker component is abstract component. Use markLine, markPoint, markArea instead.");this.mergeDefaultAndTheme(e,i),this.mergeOption(e,i,n.createdBySelf,!0)},isAnimationEnabled:function(){if(a.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t,i,o){var a=this.constructor,s=this.mainType+"Model";i||t.eachSeries(function(e){var i=e.get(this.mainType),l=e[s];if(!i||!i.data)return void(e[s]=null);l?l.mergeOption(i,t,!0):(o&&n(i),r.each(i.data,function(e){e instanceof Array?(n(e[0]),n(e[1])):n(e)}),l=new a(i,this,t),r.extend(l,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),l.__hostSeries=e),e[s]=l},this)},formatTooltip:function(e){var t=this.getData(),i=this.getRawValue(e),n=r.isArray(i)?r.map(i,l).join(", "):l(i),o=t.getName(e),a=c(this.name);return(null!=i||o)&&(a+="<br />"),o&&(a+=c(o),null!=i&&(a+=" : ")),null!=i&&(a+=c(n)),a},getData:function(){return this._data},setData:function(e){this._data=e}});r.mixin(u,o.dataFormatMixin),e.exports=u},function(e,t,i){e.exports=i(1).extendComponentView({type:"marker",init:function(){this.markerGroupMap={}},render:function(e,t,i){var n=this.markerGroupMap;for(var o in n)n.hasOwnProperty(o)&&(n[o].__keep=!1);var r=this.type+"Model";t.eachSeries(function(e){var n=e[r];n&&this.renderSeries(e,n,t,i)},this);for(var o in n)n.hasOwnProperty(o)&&!n[o].__keep&&this.group.remove(n[o].group)},renderSeries:function(){}})},function(e,t,i){function n(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function o(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function r(e,t,i){var n=-1;do{n=Math.max(l.getPrecision(e.get(t,i)),n),e=e.stackedOn}while(e);return n}function a(e,t,i,n,o,a){var s=[],l=m(t,n,e),c=t.indexOfNearest(n,l,!0)[0];s[o]=t.get(i,c,!0),s[a]=t.get(n,c,!0);var u=r(t,n,c);return u>=0&&(s[a]=+s[a].toFixed(u)),s}var s=i(0),l=i(3),c=s.indexOf,u=s.curry,h={min:u(a,"min"),max:u(a,"max"),average:u(a,"average")},d=function(e,t){var i=e.getData(),n=e.coordinateSystem;if(t&&!o(t)&&!s.isArray(t.coord)&&n){var r=n.dimensions,a=p(t,i,n,e);if(t=s.clone(t),t.type&&h[t.type]&&a.baseAxis&&a.valueAxis){var l=c(r,a.baseAxis.dim),u=c(r,a.valueAxis.dim);t.coord=h[t.type](i,a.baseDataDim,a.valueDataDim,l,u),t.value=t.coord[u]}else{for(var d=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],f=0;f<2;f++)if(h[d[f]]){var g=e.coordDimToDataDim(r[f])[0];d[f]=m(i,g,d[f])}t.coord=d}}return t},p=function(e,t,i,n){var o={};return null!=e.valueIndex||null!=e.valueDim?(o.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,o.valueAxis=i.getAxis(n.dataDimToCoordDim(o.valueDataDim)),o.baseAxis=i.getOtherAxis(o.valueAxis),o.baseDataDim=n.coordDimToDataDim(o.baseAxis.dim)[0]):(o.baseAxis=n.getBaseAxis(),o.valueAxis=i.getOtherAxis(o.baseAxis),o.baseDataDim=n.coordDimToDataDim(o.baseAxis.dim)[0],o.valueDataDim=n.coordDimToDataDim(o.valueAxis.dim)[0]),o},f=function(e,t){return!(e&&e.containData&&t.coord&&!n(t))||e.containData(t.coord)},g=function(e,t,i,n){return n<2?e.coord&&e.coord[n]:e.value},m=function(e,t,i){if("average"===i){var n=0,o=0;return e.each(t,function(e,t){isNaN(e)||(n+=e,o++)},!0),n/o}return e.getDataExtent(t,!0)["max"===i?1:0]};e.exports={dataTransform:d,dataFilter:f,dimValueGetter:g,getAxisInfo:p,numCalculate:m}},function(e,t,i){function n(e,t,i){return e.getCoordSysModel()===t}function o(e){var t,i=e.model,n=i.getFormattedLabels(),o=i.getModel("axisLabel.textStyle"),r=1,a=n.length;a>40&&(r=Math.ceil(a/40));for(var s=0;s<a;s+=r)if(!e.isLabelIgnored(s)){var l=o.getTextRect(n[s]);t?t.union(l):t=l}return t}function r(e,t,i){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(e,t,i),this.model=e}function a(e,t){var i=e.getExtent(),n=i[0]+i[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return n-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return n-e+t}}function s(e,t){return h.map(y,function(t){var i=e.getReferringComponents(t)[0];if(__DEV__&&!i)throw new Error(t+' "'+h.retrieve(e.get(t+"Index"),e.get(t+"Id"),0)+'" not found');return i})}function l(e){return"cartesian2d"===e.get("coordinateSystem")}var c=i(7),u=i(18),h=i(0),d=i(417),p=i(415),f=h.each,g=u.ifAxisCrossZero,m=u.niceScaleExtent;i(418);var v=r.prototype;v.type="grid",v.axisPointerEnabled=!0,v.getRect=function(){return this._rect},v.update=function(e,t){function i(e){var t=n[e];for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];if(o&&("category"===o.type||!g(o)))return!0}return!1}var n=this._axesMap;this._updateScale(e,this.model),f(n.x,function(e){m(e.scale,e.model)}),f(n.y,function(e){m(e.scale,e.model)}),f(n.x,function(e){i("y")&&(e.onZero=!1)}),f(n.y,function(e){i("x")&&(e.onZero=!1)}),this.resize(this.model,t)},v.resize=function(e,t){function i(){f(r,function(e){var t=e.isHorizontal(),i=t?[0,n.width]:[0,n.height],o=e.inverse?1:0;e.setExtent(i[o],i[1-o]),a(e,t?n.x:n.y)})}var n=c.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()});this._rect=n;var r=this._axesList;i(),e.get("containLabel")&&(f(r,function(e){if(!e.model.get("axisLabel.inside")){var t=o(e);if(t){var i=e.isHorizontal()?"height":"width",r=e.model.get("axisLabel.margin");n[i]-=t[i]+r,"top"===e.position?n.y+=t.height+r:"left"===e.position&&(n.x+=t.width+r)}}}),i())},v.getAxis=function(e,t){var i=this._axesMap[e];if(null!=i){if(null==t)for(var n in i)if(i.hasOwnProperty(n))return i[n];return i[t]}},v.getAxes=function(){return this._axesList.slice()},v.getCartesian=function(e,t){if(null!=e&&null!=t){var i="x"+e+"y"+t;return this._coordsMap[i]}h.isObject(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var n=0,o=this._coordsList;n<o.length;n++)if(o[n].getAxis("x").index===e||o[n].getAxis("y").index===t)return o[n]},v.getCartesians=function(){return this._coordsList.slice()},v.convertToPixel=function(e,t,i){var n=this._findConvertTarget(e,t);return n.cartesian?n.cartesian.dataToPoint(i):n.axis?n.axis.toGlobalCoord(n.axis.dataToCoord(i)):null},v.convertFromPixel=function(e,t,i){var n=this._findConvertTarget(e,t);return n.cartesian?n.cartesian.pointToData(i):n.axis?n.axis.coordToData(n.axis.toLocalCoord(i)):null},v._findConvertTarget=function(e,t){var i,n,o=t.seriesModel,r=t.xAxisModel||o&&o.getReferringComponents("xAxis")[0],a=t.yAxisModel||o&&o.getReferringComponents("yAxis")[0],s=t.gridModel,l=this._coordsList;if(o)i=o.coordinateSystem,h.indexOf(l,i)<0&&(i=null);else if(r&&a)i=this.getCartesian(r.componentIndex,a.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(a)n=this.getAxis("y",a.componentIndex);else if(s){var c=s.coordinateSystem;c===this&&(i=this._coordsList[0])}return{cartesian:i,axis:n}},v.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},v._initCartesian=function(e,t,i){function o(i){return function(o,l){if(n(o,e,t)){var c=o.get("position");"x"===i?"top"!==c&&"bottom"!==c&&(c="bottom",r[c]&&(c="top"===c?"bottom":"top")):"left"!==c&&"right"!==c&&(c="left",r[c]&&(c="left"===c?"right":"left")),r[c]=!0;var h=new p(i,u.createScaleByModel(o),[0,0],o.get("type"),c),d="category"===h.type;h.onBand=d&&o.get("boundaryGap"),h.inverse=o.get("inverse"),h.onZero=o.get("axisLine.onZero"),o.axis=h,h.model=o,h.grid=this,h.index=l,this._axesList.push(h),a[i][l]=h,s[i]++}}}var r={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(t.eachComponent("xAxis",o("x"),this),t.eachComponent("yAxis",o("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);this._axesMap=a,f(a.x,function(t,i){f(a.y,function(n,o){var r="x"+i+"y"+o,a=new d(r);a.grid=this,a.model=e,this._coordsMap[r]=a,this._coordsList.push(a),a.addAxis(t),a.addAxis(n)},this)},this)},v._updateScale=function(e,t){function i(e,t,i){f(i.coordDimToDataDim(t.dim),function(i){t.scale.unionExtentFromData(e,i)})}h.each(this._axesList,function(e){e.scale.setExtent(1/0,-(1/0))}),e.eachSeries(function(o){if(l(o)){var r=s(o,e),a=r[0],c=r[1];if(!n(a,t,e)||!n(c,t,e))return;var u=this.getCartesian(a.componentIndex,c.componentIndex),h=o.getData(),d=u.getAxis("x"),p=u.getAxis("y");"list"===h.type&&(i(h,d,o),i(h,p,o))}},this)},v.getTooltipAxes=function(e){var t=[],i=[];return f(this.getCartesians(),function(n){var o=null!=e&&"auto"!==e?n.getAxis(e):n.getBaseAxis(),r=n.getOtherAxis(o);h.indexOf(t,o)<0&&t.push(o),h.indexOf(i,r)<0&&i.push(r)}),{baseAxes:t,otherAxes:i}};var y=["xAxis","yAxis"];r.create=function(e,t){var i=[];return e.eachComponent("grid",function(n,o){var a=new r(n,e,t);a.name="grid_"+o,a.resize(n,t),n.coordinateSystem=a,i.push(a)}),e.eachSeries(function(t){if(l(t)){var i=s(t,e),n=i[0],o=i[1],r=n.getCoordSysModel();if(__DEV__){if(!r)throw new Error('Grid "'+h.retrieve(n.get("gridIndex"),n.get("gridId"),0)+'" not found');if(n.getCoordSysModel()!==o.getCoordSysModel())throw new Error("xAxis and yAxis must use the same grid")}var a=r.coordinateSystem;t.coordinateSystem=a.getCartesian(n.componentIndex,o.componentIndex)}}),i},r.dimensions=r.prototype.dimensions=d.prototype.dimensions,i(22).register("cartesian2d",r),e.exports=r},function(e,t,i){function n(e,t){var i=e.get("center"),n=e.get("radius"),o=t.getWidth(),r=t.getHeight(),a=s.parsePercent;this.cx=a(i[0],o),this.cy=a(i[1],r);var l=this.getRadiusAxis(),c=Math.min(o,r)/2;l.setExtent(0,a(n,c))}function o(e,t){var i=this,n=i.getAngleAxis(),o=i.getRadiusAxis();if(n.scale.setExtent(1/0,-(1/0)),o.scale.setExtent(1/0,-(1/0)),e.eachSeries(function(e){if(e.coordinateSystem===i){var t=e.getData();o.scale.unionExtentFromData(t,"radius"),n.scale.unionExtentFromData(t,"angle")}}),u(n.scale,n.model),u(o.scale,o.model),"category"===n.type&&!n.onBand){var r=n.getExtent(),a=360/n.scale.count();n.inverse?r[1]+=a:r[1]-=a,n.setExtent(r[0],r[1])}}function r(e,t){if(e.type=t.get("type"),e.scale=c.createScaleByModel(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,"angleAxis"===t.mainType){var i=t.get("startAngle");e.inverse=t.get("inverse")^t.get("clockwise"),e.setExtent(i,i+(e.inverse?-360:360))}t.axis=e,e.model=t}var a=i(432),s=i(3),l=i(0),c=i(18),u=c.niceScaleExtent;i(433);var h={dimensions:a.prototype.dimensions,create:function(e,t){var i=[];return e.eachComponent("polar",function(e,s){var l=new a(s);l.resize=n,l.update=o;var c=l.getRadiusAxis(),u=l.getAngleAxis(),h=e.findAxisModel("radiusAxis"),d=e.findAxisModel("angleAxis");r(c,h),r(u,d),l.resize(e,t),i.push(l),e.coordinateSystem=l,l.model=e}),e.eachSeries(function(t){if("polar"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];if(__DEV__&&!i)throw new Error('Polar "'+l.retrieve(t.get("polarIndex"),t.get("polarId"),0)+'" not found');t.coordinateSystem=i.coordinateSystem}}),i}};i(22).register("polar",h)},function(e,t){e.exports=function(e,t){t.eachSeriesByType(e,function(e){var t=e.getData(),i=e.coordinateSystem;if(i){var n=i.dimensions;1===n.length?t.each(n[0],function(e,n){t.setItemLayout(n,isNaN(e)?[NaN,NaN]:i.dataToPoint(e))}):2===n.length&&t.each(n,function(e,n,o){t.setItemLayout(o,isNaN(e)||isNaN(n)?[NaN,NaN]:i.dataToPoint([e,n]))},!0)}})}},function(e,t,i){var n=i(0),o=i(24),r=o.parseClassType,a=0,s={};s.getUID=function(e){return[e||"",a++,Math.random()].join("_")},s.enableSubTypeDefaulter=function(e){var t={};return e.registerSubTypeDefaulter=function(e,i){e=r(e),t[e.main]=i},e.determineSubType=function(i,n){var o=n.type;if(!o){var a=r(i).main;e.hasSubTypes(i)&&t[a]&&(o=t[a](n))}return o},e},s.enableTopologicalTravel=function(e,t){function i(e){var i={},a=[];return n.each(e,function(s){var l=o(i,s),c=l.originalDeps=t(s),u=r(c,e);l.entryCount=u.length,0===l.entryCount&&a.push(s),n.each(u,function(e){n.indexOf(l.predecessor,e)<0&&l.predecessor.push(e);var t=o(i,e);n.indexOf(t.successor,e)<0&&t.successor.push(s)})}),{graph:i,noEntryList:a}}function o(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function r(e,t){var i=[];return n.each(e,function(e){n.indexOf(t,e)>=0&&i.push(e)}),i}e.topologicalTravel=function(e,t,o,r){function a(e){0===--c[e].entryCount&&u.push(e)}function s(e){h[e]=!0,a(e)}if(e.length){var l=i(t),c=l.graph,u=l.noEntryList,h={};for(n.each(e,function(e){h[e]=!0});u.length;){var d=u.pop(),p=c[d],f=!!h[d];f&&(o.call(r,d,p.originalDeps.slice()),delete h[d]),n.each(p.successor,f?s:a)}n.each(h,function(){throw new Error("Circle dependency may exists")})}}},e.exports=s},function(e,t,i){var n=i(70),o=i(89),r=i(24),a=function(){this.group=new n,this.uid=o.getUID("viewComponent")};a.prototype={constructor:a,init:function(e,t){},render:function(e,t,i,n){},dispose:function(){}};var s=a.prototype;s.updateView=s.updateLayout=s.updateVisual=function(e,t,i,n){},r.enableClassExtend(a),r.enableClassManagement(a,{registerWhenExtend:!0}),e.exports=a},function(e,t){e.exports=function(e,t){var i={};t.eachRawSeriesByType(e,function(e){var n=e.getRawData(),o={};if(!t.isSeriesFiltered(e)){var r=e.getData();r.each(function(e){var t=r.getRawIndex(e);o[t]=e}),n.each(function(t){var a=o[t],s=null!=a&&r.getItemVisual(a,"color",!0);if(s)n.setItemVisual(t,"color",s);else{var l=n.getItemModel(t),c=l.get("itemStyle.normal.color")||e.getColorFromPalette(n.getName(t),i);n.setItemVisual(t,"color",c),null!=a&&r.setItemVisual(a,"color",c)}})}})}},,,,,,,function(e,t,i){var n=i(6),o=i(31),r={},a=Math.min,s=Math.max,l=Math.sin,c=Math.cos,u=n.create(),h=n.create(),d=n.create(),p=2*Math.PI;r.fromPoints=function(e,t,i){if(0!==e.length){var n,o=e[0],r=o[0],l=o[0],c=o[1],u=o[1];for(n=1;n<e.length;n++)o=e[n],r=a(r,o[0]),l=s(l,o[0]),c=a(c,o[1]),u=s(u,o[1]);t[0]=r,t[1]=c,i[0]=l,i[1]=u}},r.fromLine=function(e,t,i,n,o,r){o[0]=a(e,i),o[1]=a(t,n),r[0]=s(e,i),r[1]=s(t,n)};var f=[],g=[];r.fromCubic=function(e,t,i,n,r,l,c,u,h,d){var p,m=o.cubicExtrema,v=o.cubicAt,y=m(e,i,r,c,f);for(h[0]=1/0,h[1]=1/0,d[0]=-(1/0),d[1]=-(1/0),p=0;p<y;p++){var x=v(e,i,r,c,f[p]);h[0]=a(x,h[0]),d[0]=s(x,d[0])}for(y=m(t,n,l,u,g),p=0;p<y;p++){var b=v(t,n,l,u,g[p]);h[1]=a(b,h[1]),d[1]=s(b,d[1])}h[0]=a(e,h[0]),d[0]=s(e,d[0]),h[0]=a(c,h[0]),d[0]=s(c,d[0]),h[1]=a(t,h[1]),d[1]=s(t,d[1]),h[1]=a(u,h[1]),d[1]=s(u,d[1])},r.fromQuadratic=function(e,t,i,n,r,l,c,u){var h=o.quadraticExtremum,d=o.quadraticAt,p=s(a(h(e,i,r),1),0),f=s(a(h(t,n,l),1),0),g=d(e,i,r,p),m=d(t,n,l,f);c[0]=a(e,r,g),c[1]=a(t,l,m),u[0]=s(e,r,g),u[1]=s(t,l,m)},r.fromArc=function(e,t,i,o,r,a,s,f,g){var m=n.min,v=n.max,y=Math.abs(r-a);if(y%p<1e-4&&y>1e-4)return f[0]=e-i,f[1]=t-o,g[0]=e+i,void(g[1]=t+o);if(u[0]=c(r)*i+e,u[1]=l(r)*o+t,h[0]=c(a)*i+e,h[1]=l(a)*o+t,m(f,u,h),v(g,u,h),r%=p,r<0&&(r+=p),a%=p,a<0&&(a+=p),r>a&&!s?a+=p:r<a&&s&&(r+=p),s){var x=a;a=r,r=x}for(var b=0;b<a;b+=Math.PI/2)b>r&&(d[0]=c(b)*i+e,d[1]=l(b)*o+t,m(f,d,f),v(g,d,g))},e.exports=r},function(e,t,i){var n=i(69);e.exports=function(){if(0!==n.debugMode)if(1==n.debugMode)for(var e in arguments)throw new Error(arguments[e]);else if(n.debugMode>1)for(var e in arguments)console.log(arguments[e])}},function(e,t){function i(e){for(var t=0;e>=u;)t|=1&e,e>>=1;return e+t}function n(e,t,i,n){var r=t+1;if(r===i)return 1;if(n(e[r++],e[t])<0){for(;r<i&&n(e[r],e[r-1])<0;)r++;o(e,t,r)}else for(;r<i&&n(e[r],e[r-1])>=0;)r++;return r-t}function o(e,t,i){for(i--;t<i;){var n=e[t];e[t++]=e[i],e[i--]=n}}function r(e,t,i,n,o){for(n===t&&n++;n<i;n++){for(var r,a=e[n],s=t,l=n;s<l;)r=s+l>>>1,o(a,e[r])<0?l=r:s=r+1;var c=n-s;switch(c){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;c>0;)e[s+c]=e[s+c-1],c--}e[s]=a}}function a(e,t,i,n,o,r){var a=0,s=0,l=1;if(r(e,t[i+o])>0){for(s=n-o;l<s&&r(e,t[i+o+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=o,l+=o}else{for(s=o+1;l<s&&r(e,t[i+o-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var c=a;a=o-l,l=o-c}for(a++;a<l;){var u=a+(l-a>>>1);r(e,t[i+u])>0?a=u+1:l=u}return l}function s(e,t,i,n,o,r){var a=0,s=0,l=1;if(r(e,t[i+o])<0){for(s=o+1;l<s&&r(e,t[i+o-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var c=a;a=o-l,l=o-c}else{for(s=n-o;l<s&&r(e,t[i+o+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=o,l+=o}for(a++;a<l;){var u=a+(l-a>>>1);r(e,t[i+u])<0?l=u:a=u+1}return l}function l(e,t){function i(e,t){u[g]=e,d[g]=t,g+=1}function n(){for(;g>1;){var e=g-2;if(e>=1&&d[e-1]<=d[e]+d[e+1]||e>=2&&d[e-2]<=d[e]+d[e-1])d[e-1]<d[e+1]&&e--;else if(d[e]>d[e+1])break;r(e)}}function o(){for(;g>1;){var e=g-2;e>0&&d[e-1]<d[e+1]&&e--,r(e)}}function r(i){var n=u[i],o=d[i],r=u[i+1],h=d[i+1];d[i]=o+h,i===g-3&&(u[i+1]=u[i+2],d[i+1]=d[i+2]),g--;var p=s(e[r],e,n,o,0,t);n+=p,0!==(o-=p)&&0!==(h=a(e[n+o-1],e,r,h,h-1,t))&&(o<=h?l(n,o,r,h):c(n,o,r,h))}function l(i,n,o,r){var l=0;for(l=0;l<n;l++)m[l]=e[i+l];var c=0,u=o,d=i;if(e[d++]=e[u++],0!=--r){if(1===n){for(l=0;l<r;l++)e[d+l]=e[u+l];return void(e[d+r]=m[c])}for(var f,g,v,y=p;;){f=0,g=0,v=!1;do{if(t(e[u],m[c])<0){if(e[d++]=e[u++],g++,f=0,0==--r){v=!0;break}}else if(e[d++]=m[c++],f++,g=0,1==--n){v=!0;break}}while((f|g)<y);if(v)break;do{if(0!==(f=s(e[u],m,c,n,0,t))){for(l=0;l<f;l++)e[d+l]=m[c+l];if(d+=f,c+=f,(n-=f)<=1){v=!0;break}}if(e[d++]=e[u++],0==--r){v=!0;break}if(0!==(g=a(m[c],e,u,r,0,t))){for(l=0;l<g;l++)e[d+l]=e[u+l];if(d+=g,u+=g,0===(r-=g)){v=!0;break}}if(e[d++]=m[c++],1==--n){v=!0;break}y--}while(f>=h||g>=h);if(v)break;y<0&&(y=0),y+=2}if(p=y,p<1&&(p=1),1===n){for(l=0;l<r;l++)e[d+l]=e[u+l];e[d+r]=m[c]}else{if(0===n)throw new Error;for(l=0;l<n;l++)e[d+l]=m[c+l]}}else for(l=0;l<n;l++)e[d+l]=m[c+l]}function c(i,n,o,r){var l=0;for(l=0;l<r;l++)m[l]=e[o+l];var c=i+n-1,u=r-1,d=o+r-1,f=0,g=0;if(e[d--]=e[c--],0!=--n){if(1===r){for(d-=n,c-=n,g=d+1,f=c+1,l=n-1;l>=0;l--)e[g+l]=e[f+l];return void(e[d]=m[u])}for(var v=p;;){var y=0,x=0,b=!1;do{if(t(m[u],e[c])<0){if(e[d--]=e[c--],y++,x=0,0==--n){b=!0;break}}else if(e[d--]=m[u--],x++,y=0,1==--r){b=!0;break}}while((y|x)<v);if(b)break;do{if(0!==(y=n-s(m[u],e,i,n,n-1,t))){for(d-=y,c-=y,n-=y,g=d+1,f=c+1,l=y-1;l>=0;l--)e[g+l]=e[f+l];if(0===n){b=!0;break}}if(e[d--]=m[u--],1==--r){b=!0;break}if(0!==(x=r-a(e[c],m,0,r,r-1,t))){for(d-=x,u-=x,r-=x,g=d+1,f=u+1,l=0;l<x;l++)e[g+l]=m[f+l];if(r<=1){b=!0;break}}if(e[d--]=e[c--],0==--n){b=!0;break}v--}while(y>=h||x>=h);if(b)break;v<0&&(v=0),v+=2}if(p=v,p<1&&(p=1),1===r){for(d-=n,c-=n,g=d+1,f=c+1,l=n-1;l>=0;l--)e[g+l]=e[f+l];e[d]=m[u]}else{if(0===r)throw new Error;for(f=d-(r-1),l=0;l<r;l++)e[f+l]=m[l]}}else for(f=d-(r-1),l=0;l<r;l++)e[f+l]=m[l]}var u,d,p=h,f=0,g=0;f=e.length;var m=[];u=[],d=[],this.mergeRuns=n,this.forceMergeRuns=o,this.pushRun=i}function c(e,t,o,a){o||(o=0),a||(a=e.length);var s=a-o;if(!(s<2)){var c=0;if(s<u)return c=n(e,o,a,t),void r(e,o,a,o+c,t);var h=new l(e,t),d=i(s);do{if((c=n(e,o,a,t))<d){var p=s;p>d&&(p=d),r(e,o,o+p,o+c,t),c=p}h.pushRun(o,c),h.mergeRuns(),s-=c,o+=c}while(0!==s);h.forceMergeRuns()}}var u=32,h=7;e.exports=c},function(e,t,i){function n(e){o.call(this,e)}var o=i(71),r=i(10),a=i(0),s=i(170),l=new s(50);n.prototype={constructor:n,type:"image",brush:function(e,t){var i,n=this.style,o=n.image;if(n.bind(e,this,t),!(i="string"==typeof o?this._image:o)&&o){var r=l.get(o);if(!r)return i=new Image,i.onload=function(){i.onload=null;for(var e=0;e<r.pending.length;e++)r.pending[e].dirty()},r={image:i,pending:[this]},i.src=o,l.put(o,r),void(this._image=i);if(i=r.image,this._image=i,!i.width||!i.height)return void r.pending.push(this)}if(i){var a=n.x||0,s=n.y||0;if(!i.width||!i.height)return;var c=n.width,u=n.height,h=i.width/i.height;if(null==c&&null!=u?c=u*h:null==u&&null!=c?u=c/h:null==c&&null==u&&(c=i.width,u=i.height),this.setTransform(e),n.sWidth&&n.sHeight){var d=n.sx||0,p=n.sy||0;e.drawImage(i,d,p,n.sWidth,n.sHeight,a,s,c,u)}else if(n.sx&&n.sy){var d=n.sx,p=n.sy,f=c-d,g=u-p;e.drawImage(i,d,p,f,g,a,s,c,u)}else e.drawImage(i,a,s,c,u);this.restoreTransform(e),null!=n.text&&this.drawRectText(e,this.getBoundingRect())}},getBoundingRect:function(){var e=this.style;return this._rect||(this._rect=new r(e.x||0,e.y||0,e.width||0,e.height||0)),this._rect}},a.inherits(n,o),e.exports=n},,function(e,t,i){"use strict";function n(e,t,i){var n=c.a.init(document.getElementById(e),"macarons");n.showLoading();var o={title:{text:"Network Traffic",subtext:"today",x:"center"},tooltip:{trigger:"item",formatter:function(e){return s.a.fileSize(e.data.value)+" ("+e.percent+"%)"}},series:[{type:"pie",radius:"55%",center:["50%","60%"],data:[{value:t,name:"Traffic In"},{value:i,name:"Traffic Out"}],itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]};n.setOption(o),n.hideLoading()}function o(e,t){null==t.proxy_type_count.tcp&&(t.proxy_type_count.tcp=0),null==t.proxy_type_count.udp&&(t.proxy_type_count.udp=0),null==t.proxy_type_count.http&&(t.proxy_type_count.http=0),null==t.proxy_type_count.https&&(t.proxy_type_count.https=0);var i=c.a.init(document.getElementById(e),"macarons");i.showLoading();var n={title:{text:"Proxies",subtext:"now",x:"center"},tooltip:{trigger:"item",formatter:function(e){return e.data.value}},series:[{type:"pie",radius:"55%",center:["50%","60%"],data:[{value:t.proxy_type_count.tcp,name:"TCP"},{value:t.proxy_type_count.udp,name:"UDP"},{value:t.proxy_type_count.http,name:"HTTP"},{value:t.proxy_type_count.https,name:"HTTPS"}],itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]};i.setOption(n),i.hideLoading()}function r(e,t,i){var n={width:"600px",height:"400px"},o=c.a.init(document.getElementById(e),"macarons",n);o.showLoading(),t=t.reverse(),i=i.reverse();var r=new Date;r=new Date(r.getFullYear(),r.getMonth(),r.getDate()-6);for(var a=new Array,l=0;l<7;l++)a.push(r.getFullYear()+"-"+(r.getMonth()+1)+"-"+r.getDate()),r=new Date(r.getFullYear(),r.getMonth(),r.getDate()+1);var u={tooltip:{trigger:"axis",axisPointer:{type:"shadow"},formatter:function(e){var t="";e.length>0&&(t+=e[0].name+"<br/>");var i=!0,n=!1,o=void 0;try{for(var r,a=e[Symbol.iterator]();!(i=(r=a.next()).done);i=!0){var l=r.value;t+='<span style="display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:'+l.color+'"></span>'+l.seriesName+": "+s.a.fileSize(l.value)+"<br/>"}}catch(e){n=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(n)throw o}}return t}},legend:{data:["Traffic In","Traffic Out"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:a}],yAxis:[{type:"value",axisLabel:{formatter:function(e){return s.a.fileSize(e)}}}],series:[{name:"Traffic In",type:"bar",data:t},{name:"Traffic Out",type:"bar",data:i}]};o.setOption(u),o.hideLoading()}var a=i(52),s=i.n(a),l=i(1),c=i.n(l),u=i(462),h=(i.n(u),i(107)),d=(i.n(h),i(117)),p=(i.n(d),i(134)),f=(i.n(p),i(133));i.n(f);i.d(t,"b",function(){return n}),i.d(t,"c",function(){return o}),i.d(t,"a",function(){return r})},function(e,t,i){var n=i(1),o=i(0);e.exports=function(e,t){o.each(t,function(t){t.update="updateView",n.registerAction(t,function(i,n){var o={};return n.eachComponent({mainType:"series",subType:e,query:i},function(e){e[t.method]&&e[t.method](i.name);var n=e.getData();n.each(function(t){var i=n.getName(t);o[i]=e.isSelected(i)||!1})}),{name:i.name,selected:o}})})}},function(e,t,i){var n=i(0),o=i(106);i(1).registerAction({type:"geoRoam",event:"geoRoam",update:"updateLayout"},function(e,t){var i=e.componentType||"series";t.eachComponent({mainType:i,query:e},function(t){var r=t.coordinateSystem;if("geo"===r.type){var a=o.updateCenterAndZoom(r,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(a.center),t.setZoom&&t.setZoom(a.zoom),"series"===i&&n.each(t.seriesGroup,function(e){e.setCenter(a.center),e.setZoom(a.zoom)})}})})},function(e,t){var i={};i.updateCenterAndZoom=function(e,t,i){var n=e.getZoom(),o=e.getCenter(),r=t.zoom,a=e.dataToPoint(o);if(null!=t.dx&&null!=t.dy){a[0]-=t.dx,a[1]-=t.dy;var o=e.pointToData(a);e.setCenter(o)}if(null!=r){if(i){var s=i.min||0,l=i.max||1/0;r=Math.max(Math.min(n*r,l),s)/n}e.scale[0]*=r,e.scale[1]*=r;var c=e.position,u=(t.originX-c[0])*(r-1),h=(t.originY-c[1])*(r-1);c[0]-=u,c[1]-=h,e.updateTransform();var o=e.pointToData(a);e.setCenter(o),e.setZoom(r*n)}return{center:e.getCenter(),zoom:e.getZoom()}},e.exports=i},function(e,t,i){var n=i(0);i(86),i(230),i(231);var o=i(149),r=i(1);r.registerLayout(n.curry(o,"bar")),r.registerVisual(function(e){e.eachSeriesByType("bar",function(e){e.getData().setVisual("legendSymbol","roundRect")})}),i(48)},function(e,t,i){"use strict";var n=i(14),o=i(32);e.exports=n.extend({type:"series.__base_bar__",getInitialData:function(e,t){if(__DEV__){if("cartesian2d"!==e.coordinateSystem)throw new Error("Bar only support cartesian2d coordinateSystem")}return o(e.data,this,t)},getMarkerPosition:function(e){var t=this.coordinateSystem;if(t){var i=t.dataToPoint(e,!0),n=this.getData(),o=n.getLayout("offset"),r=n.getLayout("size");return i[t.getBaseAxis().isHorizontal()?0:1]+=o+r/2,i}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,itemStyle:{normal:{},emphasis:{}}}})},function(e,t,i){function n(e,t,i,n,o){r.setText(e,t,i),e.text=n,"outside"===e.textPosition&&(e.textPosition=o)}var o=i(0),r=i(2),a={};a.setLabel=function(e,t,i,r,a,s,l){var c=i.getModel("label.normal"),u=i.getModel("label.emphasis");c.get("show")?n(e,c,r,o.retrieve(a.getFormattedLabel(s,"normal"),a.getRawValue(s)),l):e.text="",u.get("show")?n(t,u,r,o.retrieve(a.getFormattedLabel(s,"emphasis"),a.getRawValue(s)),l):t.text=""},e.exports=a},function(e,t,i){var n=i(6);e.exports=function(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var i=t.getBoundingRect(),o=e.getData(),r=o.graph,a=0,s=o.getSum("value"),l=2*Math.PI/(s||o.count()),c=i.width/2+i.x,u=i.height/2+i.y,h=Math.min(i.width,i.height)/2;r.eachNode(function(e){var t=e.getValue("value");a+=l*(s?t:1)/2,e.setLayout([h*Math.cos(a)+c,h*Math.sin(a)+u]),a+=l*(s?t:1)/2}),o.setLayout({cx:c,cy:u}),r.eachEdge(function(e){var t,i=e.getModel().get("lineStyle.normal.curveness")||0,o=n.clone(e.node1.getLayout()),r=n.clone(e.node2.getLayout()),a=(o[0]+r[0])/2,s=(o[1]+r[1])/2;+i&&(i*=3,t=[c*i+a*(1-i),u*i+s*(1-i)]),e.setLayout([o,r,t])})}}},function(e,t,i){var n=i(6);e.exports=function(e){e.eachEdge(function(e){var t=e.getModel().get("lineStyle.normal.curveness")||0,i=n.clone(e.node1.getLayout()),o=n.clone(e.node2.getLayout()),r=[i,o];+t&&r.push([(i[0]+o[0])/2-(i[1]-o[1])*t,(i[1]+o[1])/2-(o[0]-i[0])*t]),e.setLayout(r)})}},function(e,t,i){var n=i(111);e.exports=function(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var i=e.getGraph();i.eachNode(function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])}),n(i)}}},function(e,t,i){function n(e,t,i){o.Group.call(this),this.add(this.createLine(e,t,i)),this._updateEffectSymbol(e,t)}var o=i(2),r=i(75),a=i(0),s=i(20),l=i(6),c=i(31),u=n.prototype;u.createLine=function(e,t,i){return new r(e,t,i)},u._updateEffectSymbol=function(e,t){var i=e.getItemModel(t),n=i.getModel("effect"),o=n.get("symbolSize"),r=n.get("symbol");a.isArray(o)||(o=[o,o]);var l=n.get("color")||e.getItemVisual(t,"color"),c=this.childAt(1);this._symbolType!==r&&(this.remove(c),c=s.createSymbol(r,-.5,-.5,1,1,l),c.z2=100,c.culling=!0,this.add(c)),c&&(c.setStyle("shadowColor",l),c.setStyle(n.getItemStyle(["color"])),c.attr("scale",o),c.setColor(l),c.attr("scale",o),this._symbolType=r,this._updateEffectAnimation(e,n,t))},u._updateEffectAnimation=function(e,t,i){var n=this.childAt(1);if(n){var o=this,r=e.getItemLayout(i),s=1e3*t.get("period"),l=t.get("loop"),c=t.get("constantSpeed"),u=a.retrieve(t.get("delay"),function(t){return t/e.count()*s/3}),h="function"==typeof u;if(n.ignore=!0,this.updateAnimationPoints(n,r),c>0&&(s=this.getLineLength(n)/c*1e3),s!==this._period||l!==this._loop){n.stopAnimation();var d=u;h&&(d=u(i)),n.__t>0&&(d=-s*n.__t),n.__t=0;var p=n.animate("",l).when(s,{__t:1}).delay(d).during(function(){o.updateSymbolPosition(n)});l||p.done(function(){o.remove(n)}),p.start()}this._period=s,this._loop=l}},u.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},u.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},u.updateData=function(e,t,i){this.childAt(0).updateData(e,t,i),this._updateEffectSymbol(e,t)},u.updateSymbolPosition=function(e){var t=e.__p1,i=e.__p2,n=e.__cp1,o=e.__t,r=e.position,a=c.quadraticAt,s=c.quadraticDerivativeAt;r[0]=a(t[0],n[0],i[0],o),r[1]=a(t[1],n[1],i[1],o);var l=s(t[0],n[0],i[0],o),u=s(t[1],n[1],i[1],o);e.rotation=-Math.atan2(u,l)-Math.PI/2,e.ignore=!1},u.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var i=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,i,t)},a.inherits(n,o.Group),e.exports=n},function(e,t,i){function n(e,t,i){o.Group.call(this),this._createPolyline(e,t,i)}var o=i(2),r=i(0),a=n.prototype;a._createPolyline=function(e,t,i){var n=e.getItemLayout(t),r=new o.Polyline({shape:{points:n}});this.add(r),this._updateCommonStl(e,t,i)},a.updateData=function(e,t,i){var n=e.hostModel,r=this.childAt(0),a={shape:{points:e.getItemLayout(t)}};o.updateProps(r,a,n,t),this._updateCommonStl(e,t,i)},a._updateCommonStl=function(e,t,i){var n=this.childAt(0),a=e.getItemModel(t),s=e.getItemVisual(t,"color"),l=i&&i.lineStyle,c=i&&i.hoverLineStyle;i&&!e.hasItemOption||(l=a.getModel("lineStyle.normal").getLineStyle(),c=a.getModel("lineStyle.emphasis").getLineStyle()),n.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),n.hoverStyle=c,o.setHoverStyle(this)},a.updateLayout=function(e,t){this.childAt(0).setShape("points",e.getItemLayout(t))},r.inherits(n,o.Group),e.exports=n},function(e,t,i){var n=i(11),o=i(442),r=i(148),a=i(19),s=i(22),l=i(0),c=i(32);e.exports=function(e,t,i,u,h){for(var d=new o(u),p=0;p<e.length;p++)d.addNode(l.retrieve(e[p].id,e[p].name,p),p);for(var f=[],g=[],m=0,p=0;p<t.length;p++){var v=t[p],y=v.source,x=v.target;d.addEdge(y,x,m)&&(g.push(v),f.push(l.retrieve(v.id,y+" > "+x)),m++)}var b,_=i.get("coordinateSystem");if("cartesian2d"===_||"polar"===_)b=c(e,i,i.ecModel);else{var w=s.get(_),S=a((w&&"view"!==w.type?w.dimensions||[]:[]).concat(["value"]),e);b=new n(S,i),b.initData(e)}var A=new n(["value"],i);return A.initData(g,f),h&&h(b,A),r({mainData:b,struct:d,structAttr:"graph",datas:{node:b,edge:A},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},function(e,t,i){function n(e){return isNaN(e[0])||isNaN(e[1])}function o(e,t,i,o,r,a,g,m,v,y,x){for(var b=0,_=i,w=0;w<o;w++){var S=t[_];if(_>=r||_<0)break;if(n(S)){if(x){_+=a;continue}break}if(_===i)e[a>0?"moveTo":"lineTo"](S[0],S[1]),h(p,S);else if(v>0){var A=_+a,M=t[A];if(x)for(;M&&n(t[A]);)A+=a,M=t[A];var k=.5,T=t[b],M=t[A];if(!M||n(M))h(f,S);else{n(M)&&!x&&(M=S),s.sub(d,M,T);var I,C;if("x"===y||"y"===y){var L="x"===y?0:1;I=Math.abs(S[L]-T[L]),C=Math.abs(S[L]-M[L])}else I=s.dist(S,T),C=s.dist(S,M);k=C/(C+I),u(f,S,d,-v*(1-k))}l(p,p,m),c(p,p,g),l(f,f,m),c(f,f,g),e.bezierCurveTo(p[0],p[1],f[0],f[1],S[0],S[1]),u(p,S,d,v*k)}else e.lineTo(S[0],S[1]);b=_,_+=a}return w}function r(e,t){var i=[1/0,1/0],n=[-(1/0),-(1/0)];if(t)for(var o=0;o<e.length;o++){var r=e[o];r[0]<i[0]&&(i[0]=r[0]),r[1]<i[1]&&(i[1]=r[1]),r[0]>n[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1])}return{min:t?i:n,max:t?n:i}}var a=i(15),s=i(6),l=s.min,c=s.max,u=s.scaleAndAdd,h=s.copy,d=[],p=[],f=[];e.exports={Polyline:a.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},buildPath:function(e,t){var i=t.points,a=0,s=i.length,l=r(i,t.smoothConstraint);if(t.connectNulls){for(;s>0&&n(i[s-1]);s--);for(;a<s&&n(i[a]);a++);}for(;a<s;)a+=o(e,i,a,s,s,1,l.min,l.max,t.smooth,t.smoothMonotone,t.connectNulls)+1}}),Polygon:a.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},buildPath:function(e,t){var i=t.points,a=t.stackedOnPoints,s=0,l=i.length,c=t.smoothMonotone,u=r(i,t.smoothConstraint),h=r(a,t.smoothConstraint);if(t.connectNulls){for(;l>0&&n(i[l-1]);l--);for(;s<l&&n(i[s]);s++);}for(;s<l;){var d=o(e,i,s,l,l,1,u.min,u.max,t.smooth,c,t.connectNulls);o(e,a,s+d-1,d,l,-1,h.min,h.max,t.stackedOnSmooth,c,t.connectNulls),s+=d+1,e.closePath()}}})}},function(e,t,i){var n=i(0),o=i(1);i(301),i(302),i(104)("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),o.registerVisual(n.curry(i(91),"pie")),o.registerLayout(n.curry(i(304),"pie")),o.registerProcessor(n.curry(i(61),"pie"))},function(e,t,i){var n=i(0),o={};o.layout=function(e,t,i){function o(e,t){var i=r.getAxis(e);return i.toGlobalCoord(i.dataToCoord(0))}i=i||{};var r=e.coordinateSystem,a=t.axis,s={},l=a.position,c=a.onZero?"onZero":l,u=a.dim,h=r.getRect(),d=[h.x,h.x+h.width,h.y,h.y+h.height],p=t.get("offset")||0,f={x:{top:d[2]-p,bottom:d[3]+p},y:{left:d[0]-p,right:d[1]+p}};f.x.onZero=Math.max(Math.min(o("y"),f.x.bottom),f.x.top),f.y.onZero=Math.max(Math.min(o("x"),f.y.right),f.y.left),s.position=["y"===u?f.y[c]:d[0],"x"===u?f.x[c]:d[3]],s.rotation=Math.PI/2*("x"===u?0:1);var g={top:-1,bottom:1,left:-1,right:1};s.labelDirection=s.tickDirection=s.nameDirection=g[l],s.labelOffset=a.onZero?f[u][l]-f[u].onZero:0,t.get("axisTick.inside")&&(s.tickDirection=-s.tickDirection),n.retrieve(i.labelInside,t.get("axisLabel.inside"))&&(s.labelDirection=-s.labelDirection);var m=t.get("axisLabel.rotate");return s.labelRotate="top"===c?-m:m,s.labelInterval=a.getLabelInterval(),s.z2=1,s},e.exports=o},function(e,t,i){var n=i(0),o={};o.layout=function(e,t){t=t||{};var i=e.coordinateSystem,o=e.axis,r={},a=o.position,s=o.orient,l=i.getRect(),c=[l.x,l.x+l.width,l.y,l.y+l.height],u={horizontal:{top:c[2],bottom:c[3]},vertical:{left:c[0],right:c[1]}};r.position=["vertical"===s?u.vertical[a]:c[0],"horizontal"===s?u.horizontal[a]:c[3]];var h={horizontal:0,vertical:1};r.rotation=Math.PI/2*h[s];var d={top:-1,bottom:1,right:1,left:-1};r.labelDirection=r.tickDirection=r.nameDirection=d[a],e.get("axisTick.inside")&&(r.tickDirection=-r.tickDirection),n.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(r.labelDirection=-r.labelDirection);var p=t.rotate;return null==p&&(p=e.get("axisLabel.rotate")),r.labelRotation="top"===a?-p:p,r.labelInterval=o.getLabelInterval(),r.z2=1,r},e.exports=o},function(e,t,i){"use strict";function n(e,t){var i={};return i[t.dim+"AxisIndex"]=t.index,e.getCartesian(i)}function o(e){return"x"===e.dim?0:1}var r=i(2),a=i(78),s=i(57),l=i(118),c=i(34),u=a.extend({makeElOption:function(e,t,i,o,r){var a=i.axis,c=a.grid,u=o.get("type"),d=n(c,a).getOtherAxis(a).getGlobalExtent(),p=a.toGlobalCoord(a.dataToCoord(t,!0)),f=s.buildElStyle(o),g=h[u](a,p,d,f);g.style=f,e.graphicKey=g.type,e.pointer=g;var m=l.layout(c.model,i);s.buildCartesianSingleLabelElOption(t,e,m,i,o,r)},getHandleTransform:function(e,t,i){var n=l.layout(t.axis.grid.model,t,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:s.getTransformedPosition(t.axis,e,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,i,o){var r=i.axis,a=r.grid,s=r.getGlobalExtent(!0),l=n(a,r).getOtherAxis(r).getGlobalExtent(),c="x"===r.dim?0:1,u=e.position;u[c]+=t[c],u[c]=Math.min(s[1],u[c]),u[c]=Math.max(s[0],u[c]);var h=(l[1]+l[0])/2,d=[h,h];d[c]=u[c];var p=[{verticalAlign:"middle"},{align:"center"}];return{position:u,rotation:e.rotation,cursorPoint:d,tooltipOption:p[c]}}}),h={line:function(e,t,i,n){var a=s.makeLineShape([t,i[0]],[t,i[1]],o(e));return r.subPixelOptimizeLine({shape:a,style:n}),{type:"Line",shape:a}},shadow:function(e,t,i,n){var r=e.getBandWidth(),a=i[1]-i[0];return{type:"Rect",shape:s.makeRectShape([t-r/2,i[0]],[r,a],o(e))}}};c.registerAxisPointerClass("CartesianAxisPointer",u),e.exports=u},function(e,t,i){var n=i(0),o=i(5);e.exports=function(e,t){var i,r=[],a=e.seriesIndex;if(null==a||!(i=t.getSeriesByIndex(a)))return{point:[]};var s=i.getData(),l=o.queryDataIndex(s,e);if(null==l||n.isArray(l))return{point:[]};var c=s.getItemGraphicEl(l),u=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(l)||[];else if(u&&u.dataToPoint)r=u.dataToPoint(s.getValues(n.map(u.dimensions,function(e){return i.coordDimToDataDim(e)[0]}),l,!0))||[];else if(c){var h=c.getBoundingRect().clone();h.applyTransform(c.transform),r=[h.x+h.width/2,h.y+h.height/2]}return{point:r,el:c}}},function(e,t,i){function n(e,t){function i(i,n){e.on(i,function(i){var r=s(t);h(u(e).records,function(e){e&&n(e,i,r.dispatchAction)}),o(r.pendings,t)})}u(e).initialized||(u(e).initialized=!0,i("click",c.curry(a,"click")),i("mousemove",c.curry(a,"mousemove")),i("globalout",r))}function o(e,t){var i,n=e.showTip.length,o=e.hideTip.length;n?i=e.showTip[n-1]:o&&(i=e.hideTip[o-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function r(e,t,i){e.handler("leave",null,i)}function a(e,t,i,n){t.handler(e,i,n)}function s(e){var t={showTip:[],hideTip:[]},i=function(n){var o=t[n.type];o?o.push(n):(n.dispatchAction=i,e.dispatchAction(n))};return{dispatchAction:i,pendings:t}}var l=i(13),c=i(0),u=i(5).makeGetter(),h=c.each,d={};d.register=function(e,t,i){if(!l.node){var o=t.getZr();u(o).records||(u(o).records={}),n(o,t);(u(o).records[e]||(u(o).records[e]={})).handler=i}},d.unregister=function(e,t){if(!l.node){var i=t.getZr();(u(i).records||{})[e]&&(u(i).records[e]=null)}},e.exports=d},function(e,t,i){var n=i(0),o=i(79);i(1).registerAction("dataZoom",function(e,t){var i=o.createLinkedNodesFinder(n.bind(t.eachComponent,t,"dataZoom"),o.eachAxisDim,function(e,t){return e.get(t.axisIndex)}),r=[];t.eachComponent({mainType:"dataZoom",query:e},function(e,t){r.push.apply(r,i(e).nodes)}),n.each(r,function(t,i){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})},function(e,t,i){function n(e,t,i){i.getAxisProxy(e.name,t).reset(i)}function o(e,t,i){i.getAxisProxy(e.name,t).filterData(i)}i(1).registerProcessor(function(e,t){e.eachComponent("dataZoom",function(e){e.eachTargetAxis(n),e.eachTargetAxis(o)}),e.eachComponent("dataZoom",function(e){var t=e.findRepresentativeAxisProxy(),i=t.getDataPercentWindow(),n=t.getDataValueWindow();e.setRawRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]},!0)})})},function(e,t,i){function n(e){var t=e[a];return t||(t=e[a]=[{}]),t}var o=i(0),r=o.each,a="\0_ec_hist_store",s={push:function(e,t){var i=n(e);r(t,function(t,n){for(var o=i.length-1;o>=0;o--){if(i[o][n])break}if(o<0){var r=e.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(r){var a=r.getPercentRange();i[0][n]={dataZoomId:n,start:a[0],end:a[1]}}}}),i.push(t)},pop:function(e){var t=n(e),i=t[t.length-1];t.length>1&&t.pop();var o={};return r(i,function(e,i){for(var n=t.length-1;n>=0;n--){var e=t[n][i];if(e){o[i]=e;break}}}),o},clear:function(e){e[a]=null},count:function(e){return n(e).length}};e.exports=s},function(e,t,i){i(12).registerSubTypeDefaulter("dataZoom",function(e){return"slider"})},function(e,t,i){function n(e,t,i){var n=this._targetInfoList=[],o={},a=r(t,e);p(x,function(e,t){(!i||!i.include||f(i.include,t)>=0)&&e(a,n,o)})}function o(e){return e[0]>e[1]&&e.reverse(),e}function r(e,t){return d.parseFinder(e,t,{includeMainTypes:v})}function a(e,t,i,n){__DEV__&&u.assert("cartesian2d"===i.type,"lineX/lineY brush is available only in cartesian2d.");var r=i.getAxis(["x","y"][e]),a=o(u.map([0,1],function(e){return t?r.coordToData(r.toLocalCoord(n[e])):r.toGlobalCoord(r.dataToCoord(n[e]))})),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}function s(e,t,i,n){return[t[0]-n[e]*i[0],t[1]-n[e]*i[1]]}function l(e,t){var i=c(e),n=c(t),o=[i[0]/n[0],i[1]/n[1]];return isNaN(o[0])&&(o[0]=1),isNaN(o[1])&&(o[1]=1),o}function c(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var u=i(0),h=i(2),d=i(5),p=u.each,f=u.indexOf,g=u.curry,m=["dataToPoint","pointToData"],v=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],y=n.prototype;y.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,function(e,t,i){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var n=w[e.brushType](0,i,t);e.__rangeOffset={offset:S[e.brushType](n.values,e.range,[1,1]),xyMinMax:n.xyMinMax}}})},y.matchOutputRanges=function(e,t,i){p(e,function(e){var n=this.findTargetInfo(e,t);n&&n!==!0&&u.each(n.coordSyses,function(n){var o=w[e.brushType](1,n,e.range);i(e,o.values,n,t)})},this)},y.setInputRanges=function(e,t){p(e,function(e){var i=this.findTargetInfo(e,t);if(__DEV__&&(u.assert(!i||i===!0||e.coordRange,"coordRange must be specified when coord index specified."),u.assert(!i||i!==!0||e.range,"range must be specified in global brush.")),e.range=e.range||[],i&&i!==!0){e.panelId=i.panelId;var n=w[e.brushType](0,i.coordSys,e.coordRange),o=e.__rangeOffset;e.range=o?S[e.brushType](n.values,o.offset,l(n.xyMinMax,o.xyMinMax)):n.values}},this)},y.makePanelOpts=function(e){return u.map(this._targetInfoList,function(t){return{panelId:t.panelId,rect:t.getPanelRect(),defaultBrushType:e&&e(t)}})},y.controlSeries=function(e,t,i){var n=this.findTargetInfo(e,i);return n===!0||n&&f(n.coordSyses,t.coordinateSystem)>=0},y.findTargetInfo=function(e,t){for(var i=this._targetInfoList,n=r(t,e),o=0;o<i.length;o++){var a=i[o],s=e.panelId;if(s){if(a.panelId===s)return a}else for(var o=0;o<b.length;o++)if(b[o](n,a))return a}return!0};var x={grid:function(e,t){var i=e.xAxisModels,n=e.yAxisModels,o=e.gridModels,r={},a={},s={};(i||n||o)&&(p(i,function(e){var t=e.axis.grid.model;r[t.id]=t,a[t.id]=!0}),p(n,function(e){var t=e.axis.grid.model;r[t.id]=t,s[t.id]=!0}),p(o,function(e){r[e.id]=e,a[e.id]=!0,s[e.id]=!0}),p(r,function(e){var o=e.coordinateSystem,r=[];p(o.getCartesians(),function(e,t){(f(i,e.getAxis("x").model)>=0||f(n,e.getAxis("y").model)>=0)&&r.push(e)}),t.push({panelId:"grid--"+e.id,gridModel:e,coordSys:r[0],coordSyses:r,getPanelRect:_.grid,xAxisDeclared:a[e.id],yAxisDeclared:s[e.id]})}))},geo:function(e,t){p(e.geoModels,function(e){var i=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSys:i,coordSyses:[i],getPanelRect:_.geo})})}},b=[function(e,t){var i=e.xAxisModel,n=e.yAxisModel,o=e.gridModel;return!o&&i&&(o=i.axis.grid.model),!o&&n&&(o=n.axis.grid.model),o&&o===t.gridModel},function(e,t){var i=e.geoModel;return i&&i===t.geoModel}],_={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(h.getTransform(e)),t}},w={lineX:g(a,0),lineY:g(a,1),rect:function(e,t,i){var n=t[m[e]]([i[0][0],i[1][0]]),r=t[m[e]]([i[0][1],i[1][1]]),a=[o([n[0],r[0]]),o([n[1],r[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,i){var n=[[1/0,-(1/0)],[1/0,-(1/0)]];return{values:u.map(i,function(i){var o=t[m[e]](i);return n[0][0]=Math.min(n[0][0],o[0]),n[1][0]=Math.min(n[1][0],o[1]),n[0][1]=Math.max(n[0][1],o[0]),n[1][1]=Math.max(n[1][1],o[1]),o}),xyMinMax:n}}},S={lineX:g(s,0),lineY:g(s,1),rect:function(e,t,i){return[[e[0][0]-i[0]*t[0][0],e[0][1]-i[0]*t[0][1]],[e[1][0]-i[1]*t[1][0],e[1][1]-i[1]*t[1][1]]]},polygon:function(e,t,i){return u.map(e,function(e,n){return[e[0]-i[0]*t[n][0],e[1]-i[1]*t[n][1]]})}};e.exports=n},function(e,t,i){function n(e,t){var i=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(i.fill=n),i}function o(e,t,i,n,o){i.off("click"),i.off("mousedown"),t.get("selectedMode")&&(i.on("mousedown",function(){e._mouseDownFlag=!0}),i.on("click",function(a){if(e._mouseDownFlag){e._mouseDownFlag=!1;for(var s=a.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",batch:c.map(s.__regions,function(e){return{name:e.name,from:o.uid}})};l[t.mainType+"Id"]=t.id,n.dispatchAction(l),r(t,i)}}}))}function r(e,t){t.eachChild(function(t){c.each(t.__regions,function(i){t.trigger(e.isSelected(i.name)?"emphasis":"normal")})})}function a(e,t){var i=new l.Group;this._controller=new s(e.getZr(),t?i:null,null),this.group=i,this._updateGroup=t,this._mouseDownFlag}var s=i(58),l=i(2),c=i(0);a.prototype={constructor:a,draw:function(e,t,i,a,s){var u="geo"===e.mainType,h=e.getData&&e.getData();u&&t.eachComponent({mainType:"series",subType:"map"},function(t){h||t.getHostGeoModel()!==e||(h=t.getData())});var d=e.coordinateSystem,p=this.group,f=d.scale,g={position:d.position,scale:f};!p.childAt(0)||s?p.attr(g):l.updateProps(p,g,e),p.removeAll();var m=["itemStyle","normal"],v=["itemStyle","emphasis"],y=["label","normal"],x=["label","emphasis"],b={};c.each(d.regions,function(t){var i=b[t.name]||(b[t.name]=new l.Group),o=new l.CompoundPath({shape:{paths:[]}});i.add(o);var r,a=e.getRegionModel(t.name)||e,s=a.getModel(m),d=a.getModel(v),g=n(s,f),_=n(d,f),w=a.getModel(y),S=a.getModel(x);if(h){r=h.indexOfName(t.name);var A=h.getItemVisual(r,"color",!0);A&&(g.fill=A)}var M=w.getModel("textStyle"),k=S.getModel("textStyle");c.each(t.geometries,function(e){if("polygon"===e.type){o.shape.paths.push(new l.Polygon({shape:{points:e.exterior}}));for(var t=0;t<(e.interiors?e.interiors.length:0);t++)o.shape.paths.push(new l.Polygon({shape:{points:e.interiors[t]}}))}}),o.setStyle(g),o.style.strokeNoScale=!0,o.culling=!0;var T=w.get("show"),I=S.get("show"),C=h&&isNaN(h.get("value",r)),L=h&&h.getItemLayout(r);if(u||C&&(T||I)||L&&L.showLabel){var D=h?r:t.name,P=e.getFormattedLabel(D,"normal"),z=e.getFormattedLabel(D,"emphasis"),E=new l.Text({style:{text:T?P||t.name:"",fill:M.getTextColor(),textFont:M.getFont(),textAlign:"center",textVerticalAlign:"middle"},hoverStyle:{text:I?z||t.name:"",fill:k.getTextColor(),textFont:k.getFont()},position:t.center.slice(),scale:[1/f[0],1/f[1]],z2:10,silent:!0});i.add(E)}if(h)h.setItemGraphicEl(r,i);else{var a=e.getRegionModel(t.name);o.eventData={componentType:"geo",geoIndex:e.componentIndex,name:t.name,region:a&&a.option||{}}}(i.__regions||(i.__regions=[])).push(t),l.setHoverStyle(i,_,{hoverSilentOnTouch:!!e.get("selectedMode")}),p.add(i)}),this._updateController(e,t,i),o(this,e,p,i,a),r(e,p)},remove:function(){this.group.removeAll(),this._controller.dispose()},_updateController:function(e,t,i){function n(){var t={type:"geoRoam",componentType:a};return t[a+"Id"]=e.id,t}var o=e.coordinateSystem,r=this._controller;r.zoomLimit=e.get("scaleLimit"),r.zoom=o.getZoom(),r.enable(e.get("roam")||!1);var a=e.mainType;r.off("pan").on("pan",function(e,t){this._mouseDownFlag=!1,i.dispatchAction(c.extend(n(),{dx:e,dy:t}))},this),r.off("zoom").on("zoom",function(e,t,o){if(this._mouseDownFlag=!1,i.dispatchAction(c.extend(n(),{zoom:e,originX:t,originY:o})),this._updateGroup){var r=this.group,a=r.scale;r.traverse(function(e){"text"===e.type&&e.attr("scale",[1/a[0],1/a[1]])})}},this),r.setContainsPoint(function(e,t){return o.getViewRectAfterRoam().contain(e,t)})}},e.exports=a},function(e,t,i){function n(e){return e[o]||(e[o]={})}var o="\0_ec_interaction_mutex",r={take:function(e,t,i){n(e)[t]=i},release:function(e,t,i){var o=n(e);o[t]===i&&(o[t]=null)},isTaken:function(e,t){return!!n(e)[t]}};i(1).registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),e.exports=r},function(e,t,i){function n(e,t,i){o.positionElement(e,t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()},t.get("padding"))}var o=i(7),r=i(4),a=i(2);e.exports={layout:function(e,t,i){var r=o.getLayoutRect(t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()},t.get("padding"));o.box(t.get("orient"),e,t.get("itemGap"),r.width,r.height),n(e,t,i)},addBackground:function(e,t){var i=r.normalizeCssArray(t.get("padding")),n=e.getBoundingRect(),o=t.getItemStyle(["color","opacity"]);o.fill=t.get("backgroundColor");var s=new a.Rect({shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[1]+i[3],height:n.height+i[0]+i[2]},style:o,silent:!0,z2:-1});a.subPixelOptimizeRect(s),e.add(s)}}},function(e,t,i){i(147),i(428),i(380);var n=i(1),o=i(0);n.extendComponentView({type:"parallel",render:function(e,t,i){var n=i.getZr();if(!this.__onMouseDown){var r;n.on("mousedown",this.__onMouseDown=function(e){r=[e.offsetX,e.offsetY]}),n.on("mouseup",this.__onMouseUp=function(t){var n=[t.offsetX,t.offsetY],a=Math.pow(r[0]-n[0],2)+Math.pow(r[1]-n[1],2);if(e.get("axisExpandable")&&!(a>5)){var s=e.coordinateSystem,l=s.findClosestAxisDim(n);if(l){var c=o.indexOf(s.dimensions,l);i.dispatchAction({type:"parallelAxisExpand",axisExpandCenter:c})}}})}},dispose:function(e,t){t.getZr().off(this.__onMouseDown),t.getZr().off(this.__onMouseUp)}}),n.registerPreprocessor(i(429))},function(e,t,i){i(441),i(336),i(438),i(45),i(341),i(1).extendComponentView({type:"single"})},function(e,t,i){"use strict";var n=i(1),o=i(2),r=i(7);n.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"}}}),n.extendComponentView({type:"title",render:function(e,t,i){if(this.group.removeAll(),e.get("show")){var n=this.group,a=e.getModel("textStyle"),s=e.getModel("subtextStyle"),l=e.get("textAlign"),c=e.get("textBaseline"),u=new o.Text({style:{text:e.get("text"),textFont:a.getFont(),fill:a.getTextColor()},z2:10}),h=u.getBoundingRect(),d=e.get("subtext"),p=new o.Text({style:{text:d,textFont:s.getFont(),fill:s.getTextColor(),y:h.height+e.get("itemGap"),textBaseline:"top"},z2:10}),f=e.get("link"),g=e.get("sublink");u.silent=!f,p.silent=!g,f&&u.on("click",function(){window.open(f,"_"+e.get("target"))}),g&&p.on("click",function(){window.open(g,"_"+e.get("subtarget"))}),n.add(u),d&&n.add(p);var m=n.getBoundingRect(),v=e.getBoxLayoutParams();v.width=m.width,v.height=m.height;var y=r.getLayoutRect(v,{width:i.getWidth(),height:i.getHeight()},e.get("padding"));l||(l=e.get("left")||e.get("right"),"middle"===l&&(l="center"),"right"===l?y.x+=y.width:"center"===l&&(y.x+=y.width/2)),c||(c=e.get("top")||e.get("bottom"),"center"===c&&(c="middle"),"bottom"===c?y.y+=y.height:"middle"===c&&(y.y+=y.height/2),c=c||"top"),n.attr("position",[y.x,y.y]);var x={textAlign:l,textVerticalAlign:c};u.setStyle(x),p.setStyle(x),m=n.getBoundingRect();var b=y.margin,_=e.getItemStyle(["color","opacity"]);_.fill=e.get("backgroundColor");var w=new o.Rect({shape:{x:m.x-b[3],y:m.y-b[0],width:m.width+b[1]+b[3],height:m.height+b[0]+b[2]},style:_,silent:!0});o.subPixelOptimizeRect(w),n.add(w)}}})},function(e,t,i){i(45),i(404),i(405),i(1).registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),i(1).registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},function(e,t,i){var n=i(1),o=i(0),r=i(13),a=i(152),s=i(35),l=i(64),c=s.mapVisual,u=i(5),h=s.eachVisual,d=i(3),p=o.isArray,f=o.each,g=d.asc,m=d.linearMap,v=o.noop,y=["#f6efa6","#d88273","#bf444c"],x=n.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-(1/0),1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:null,min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(e,t,i){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(e,i)},optionUpdated:function(e,t){var i=this.option;r.canvasSupported||(i.realtime=!1),!t&&l.replaceVisualOption(i,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(e){var t=this.stateList;e=o.bind(e,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,t,e),this.targetVisuals=l.createVisualMappings(this.option.target,t,e)},resetTargetSeries:function(){var e=this.option,t=null==e.seriesIndex;e.seriesIndex=t?[]:u.normalizeToArray(e.seriesIndex),t&&this.ecModel.eachSeries(function(t,i){e.seriesIndex.push(i)})},eachTargetSeries:function(e,t){o.each(this.option.seriesIndex,function(i){e.call(t,this.ecModel.getSeriesByIndex(i))},this)},isTargetSeries:function(e){var t=!1;return this.eachTargetSeries(function(i){i===e&&(t=!0)}),t},formatValueText:function(e,t,i){function n(e){return e===c[0]?"min":e===c[1]?"max":(+e).toFixed(l)}var r,a,s=this.option,l=s.precision,c=this.dataBound,u=s.formatter;return i=i||["<",">"],o.isArray(e)&&(e=e.slice(),r=!0),a=t?e:r?[n(e[0]),n(e[1])]:n(e),o.isString(u)?u.replace("{value}",r?a[0]:a).replace("{value2}",r?a[1]:a):o.isFunction(u)?r?u(e[0],e[1]):u(e):r?e[0]===c[0]?i[0]+" "+a[1]:e[1]===c[1]?i[1]+" "+a[0]:a[0]+" - "+a[1]:a},resetExtent:function(){var e=this.option,t=g([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension;return null!=t?t:e.dimensions.length-1},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){function e(e){p(n.color)&&!e.inRange&&(e.inRange={color:n.color.slice().reverse()}),e.inRange=e.inRange||{color:y},f(this.stateList,function(t){var i=e[t];if(o.isString(i)){var n=a.get(i,"active",d);n?(e[t]={},e[t][i]=n):delete e[t]}},this)}function t(e,t,i){var n=e[t],o=e[i];n&&!o&&(o=e[i]={},f(n,function(e,t){if(s.isValidType(t)){var i=a.get(t,"inactive",d);null!=i&&(o[t]=i,"color"!==t||o.hasOwnProperty("opacity")||o.hasOwnProperty("colorAlpha")||(o.opacity=[0,0]))}}))}function i(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,i=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,n=this.get("inactiveColor");f(this.stateList,function(r){var a=this.itemSize,s=e[r];s||(s=e[r]={color:d?n:[n]}),null==s.symbol&&(s.symbol=t&&o.clone(t)||(d?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=i&&o.clone(i)||(d?a[0]:[a[0],a[0]])),s.symbol=c(s.symbol,function(e){return"none"===e||"square"===e?"roundRect":e});var l=s.symbolSize;if(null!=l){var u=-(1/0);h(l,function(e){e>u&&(u=e)}),s.symbolSize=c(l,function(e){return m(e,[0,u],[0,a[0]],!0)})}},this)}var n=this.option,r={inRange:n.inRange,outOfRange:n.outOfRange},l=n.target||(n.target={}),u=n.controller||(n.controller={});o.merge(l,r),o.merge(u,r);var d=this.isCategory();e.call(this,l),e.call(this,u),t.call(this,l,"inRange","outOfRange"),i.call(this,u)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});e.exports=x},function(e,t,i){var n=i(0),o=i(2),r=i(4),a=i(7),s=i(1),l=i(35);e.exports=s.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,i,n){if(this.visualMapModel=e,e.get("show")===!1)return void this.group.removeAll();this.doRender.apply(this,arguments)},renderBackground:function(e){var t=this.visualMapModel,i=r.normalizeCssArray(t.get("padding")||0),n=e.getBoundingRect();e.add(new o.Rect({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,i){function o(e){return c[e]}function r(e,t){c[e]=t}i=i||{};var a=i.forceState,s=this.visualMapModel,c={};if("symbol"===t&&(c.symbol=s.get("itemSymbol")),"color"===t){var u=s.get("contentColor");c.color=u}var h=s.controllerVisuals[a||s.getValueState(e)],d=l.prepareVisualTypes(h);return n.each(d,function(n){var a=h[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",a=h.__alphaForOpacity),l.dependsOn(n,t)&&a&&a.applyVisual(e,o,r)}),c[t]},positionGroup:function(e){var t=this.visualMapModel,i=this.api;a.positionElement(e,t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},doRender:n.noop})},function(e,t,i){var n=i(0),o=i(7),r={getItemAlign:function(e,t,i){var n=e.option,r=n.align;if(null!=r&&"auto"!==r)return r;for(var a={width:t.getWidth(),height:t.getHeight()},s="horizontal"===n.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],c=l[s],u=[0,null,10],h={},d=0;d<3;d++)h[l[1-s][d]]=u[d],h[c[d]]=2===d?i[0]:n[c[d]];var p=[["x","width",3],["y","height",0]][s],f=o.getLayoutRect(h,a,n.padding);return c[(f.margin[p[2]]||0)+f[p[0]]+.5*f[p[1]]<.5*a[p[1]]?0:1]},convertDataIndex:function(e){return n.each(e||[],function(t){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null)}),e}};e.exports=r},function(e,t,i){function n(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var o=i(0),r=o.each;e.exports=function(e){var t=e&&e.visualMap;o.isArray(t)||(t=t?[t]:[]),r(t,function(e){if(e){n(e,"splitList")&&!n(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&o.isArray(t)&&r(t,function(e){o.isObject(e)&&(n(e,"start")&&!n(e,"min")&&(e.min=e.start),n(e,"end")&&!n(e,"max")&&(e.max=e.end))})}})}},function(e,t,i){i(12).registerSubTypeDefaulter("visualMap",function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"})},function(e,t,i){function n(e,t){e.eachTargetSeries(function(t){var i=t.getData();s.applyVisual(e.stateList,e.targetVisuals,i,e.getValueState,e,e.getDataDimension(i))})}function o(e){e.eachSeries(function(t){var i=t.getData(),n=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var o=e.getVisualMeta(c.bind(r,null,t,e))||{stops:[],outerColors:[]};o.dimension=e.getDataDimension(i),n.push(o)}}),t.getData().setVisual("visualMeta",n)})}function r(e,t,i,n){function o(e){return c[e]}function r(e,t){c[e]=t}for(var a=t.targetVisuals[n],s=l.prepareVisualTypes(a),c={color:e.getData().getVisual("color")},u=0,h=s.length;u<h;u++){var d=s[u],p=a["opacity"===d?"__alphaForOpacity":d];p&&p.applyVisual(i,o,r)}return c.color}var a=i(1),s=i(64),l=i(35),c=i(0);a.registerVisual(a.PRIORITY.VISUAL.COMPONENT,function(e){e.eachComponent("visualMap",function(t){n(t,e)}),o(e)})},function(e,t,i){var n=i(1),o={type:"selectDataRange",event:"dataRangeSelected",update:"update"};n.registerAction(o,function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(t){t.setSelected(e.selected)})})},function(e,t,i){function n(){l.call(this)}function o(e){this.name=e,this.zoomLimit,l.call(this),this._roamTransform=new n,this._viewTransform=new n,this._center,this._zoom}function r(e,t,i,n){var o=i.seriesModel,r=o?o.coordinateSystem:null;return r===this?r[e](n):null}var a=i(6),s=i(21),l=i(178),c=i(0),u=i(10),h=a.applyTransform;c.mixin(n,l),o.prototype={constructor:o,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,i,n){return this._rect=new u(e,t,i,n),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,i,n){this.transformTo(e,t,i,n),this._viewRect=new u(e,t,i,n)},transformTo:function(e,t,i,n){var o=this.getBoundingRect(),r=this._viewTransform;r.transform=o.calculateTransform(new u(e,t,i,n)),r.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect();return[e.x+e.width/2,e.y+e.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransform},_updateCenterAndZoom:function(){var e=this._viewTransform.getLocalTransform(),t=this._roamTransform,i=this.getDefaultCenter(),n=this.getCenter(),o=this.getZoom();n=a.applyTransform([],n,e),i=a.applyTransform([],i,e),t.origin=n,t.position=[i[0]-n[0],i[1]-n[1]],t.scale=[o,o],this._updateTransform()},_updateTransform:function(){var e=this._roamTransform,t=this._viewTransform;t.parent=e,e.updateTransform(),t.updateTransform(),t.transform&&s.copy(this.transform||(this.transform=[]),t.transform),this.transform?(this.invTransform=this.invTransform||[],s.invert(this.invTransform,this.transform)):this.invTransform=null,this.decomposeTransform()},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e){var t=this.transform;return t?h([],e,t):[e[0],e[1]]},pointToData:function(e){var t=this.invTransform;return t?h([],e,t):[e[0],e[1]]},convertToPixel:c.curry(r,"dataToPoint"),convertFromPixel:c.curry(r,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},c.mixin(o,l),e.exports=o},function(e,t,i){var n=i(0),o={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,lineStyle:{color:"#333",width:1,type:"solid"}},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,margin:8,textStyle:{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)"]}}},r=n.merge({boundaryGap:!0,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},o),a=n.merge({boundaryGap:[0,0],splitNumber:5},o),s=n.defaults({scale:!0,min:"dataMin",max:"dataMax"},a),l=n.defaults({logBase:10},a);l.scale=!0,e.exports={categoryAxis:r,valueAxis:a,timeAxis:s,logAxis:l}},function(e,t,i){"use strict";function n(e,t){return t.type||(t.data?"category":"value")}var o=i(12),r=i(0),a=i(59),s=o.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});r.merge(s.prototype,i(41));var l={offset:0};a("x",s,n,l),a("y",s,n,l),e.exports=s},function(e,t,i){function n(e,t,i){if(this.name=e,this.geometries=t,i)i=[i[0],i[1]];else{var n=this.getBoundingRect();i=[n.x+n.width/2,n.y+n.height/2]}this.center=i}var o=i(166),r=i(10),a=i(98),s=i(6);n.prototype={constructor:n,properties:null,getBoundingRect:function(){var e=this._rect;if(e)return e;for(var t=Number.MAX_VALUE,i=[t,t],n=[-t,-t],o=[],l=[],c=this.geometries,u=0;u<c.length;u++)if("polygon"===c[u].type){var h=c[u].exterior;a.fromPoints(h,o,l),s.min(i,i,o),s.max(n,n,l)}return 0===u&&(i[0]=i[1]=n[0]=n[1]=0),this._rect=new r(i[0],i[1],n[0]-i[0],n[1]-i[1])},contain:function(e){var t=this.getBoundingRect(),i=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var n=0,r=i.length;n<r;n++)if("polygon"===i[n].type){var a=i[n].exterior,s=i[n].interiors;if(o.contain(a,e[0],e[1])){for(var l=0;l<(s?s.length:0);l++)if(o.contain(s[l]))continue e;return!0}}return!1},transformTo:function(e,t,i,n){var o=this.getBoundingRect(),a=o.width/o.height;i?n||(n=i/a):i=a*n;for(var l=new r(e,t,i,n),c=o.calculateTransform(l),u=this.geometries,h=0;h<u.length;h++)if("polygon"===u[h].type){for(var d=u[h].exterior,p=u[h].interiors,f=0;f<d.length;f++)s.applyTransform(d[f],d[f],c);for(var g=0;g<(p?p.length:0);g++)for(var f=0;f<p[g].length;f++)s.applyTransform(p[g][f],p[g][f],c)}o=this._rect,o.copy(l),this.center=[o.x+o.width/2,o.y+o.height/2]}},e.exports=n},function(e,t,i){function n(e){if(!e.UTF8Encoding)return e;for(var t=e.features,i=0;i<t.length;i++)for(var n=t[i],r=n.geometry,a=r.coordinates,s=r.encodeOffsets,l=0;l<a.length;l++){var c=a[l];if("Polygon"===r.type)a[l]=o(c,s[l]);else if("MultiPolygon"===r.type)for(var u=0;u<c.length;u++){var h=c[u];c[u]=o(h,s[l][u])}}return e.UTF8Encoding=!1,e}function o(e,t){for(var i=[],n=t[0],o=t[1],r=0;r<e.length;r+=2){var a=e.charCodeAt(r)-64,s=e.charCodeAt(r+1)-64;a=a>>1^-(1&a),s=s>>1^-(1&s),a+=n,s+=o,n=a,o=s,i.push([a/1024,s/1024])}return i}var r=i(0),a=i(145);e.exports=function(e){return n(e),r.map(r.filter(e.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var t=e.properties,i=e.geometry,n=i.coordinates,o=[];"Polygon"===i.type&&o.push({type:"polygon",exterior:n[0],interiors:n.slice(1)}),"MultiPolygon"===i.type&&r.each(n,function(e){e[0]&&o.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})});var s=new a(t.name,o,t.cp);return s.properties=t,s})}},function(e,t,i){function n(e,t){var i=[];return e.eachComponent("parallel",function(n,r){var a=new o(n,e,t);a.name="parallel_"+r,a.resize(n,t),n.coordinateSystem=a,a.model=n,i.push(a)}),e.eachSeries(function(t){if("parallel"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=i.coordinateSystem}}),i}var o=i(426);i(22).register("parallel",{create:n})},function(e,t,i){function n(e){var t=e.mainData,i=e.datas;i||(i={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,c(t,i,e),d(i,function(i){d(t.TRANSFERABLE_METHODS,function(t){i.wrapMethod(t,h.curry(o,e))})}),t.wrapMethod("cloneShallow",h.curry(a,e)),d(t.CHANGABLE_METHODS,function(i){t.wrapMethod(i,h.curry(r,e))}),h.assert(i[t.dataType]===t)}function o(e,t){if(l(this)){var i=h.extend({},this[p]);i[this.dataType]=t,c(t,i,e)}else u(t,this.dataType,this[f],e);return t}function r(e,t){return e.struct&&e.struct.update(this),t}function a(e,t){return d(t[p],function(i,n){i!==t&&u(i.cloneShallow(),n,t,e)}),t}function s(e){var t=this[f];return null==e||null==t?t:t[p][e]}function l(e){return e[f]===e}function c(e,t,i){e[p]={},d(t,function(t,n){u(t,n,e,i)})}function u(e,t,i,n){i[p][t]=e,e[f]=i,e.dataType=t,n.struct&&(e[n.structAttr]=n.struct,n.struct[n.datasAttr[t]]=e),e.getLinkedData=s}var h=i(0),d=h.each,p="\0__link_datas",f="\0__link_mainData";e.exports=n},function(e,t,i){"use strict";function n(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function o(e){return e.dim+e.index}function r(e,t){var i={};s.each(e,function(e,t){var r=e.getData(),a=e.coordinateSystem,s=a.getBaseAxis(),l=s.getExtent(),u="category"===s.type?s.getBandWidth():Math.abs(l[1]-l[0])/r.count(),h=i[o(s)]||{bandWidth:u,remainedWidth:u,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},d=h.stacks;i[o(s)]=h;var p=n(e);d[p]||h.autoWidthCount++,d[p]=d[p]||{width:0,maxWidth:0};var f=c(e.get("barWidth"),u),g=c(e.get("barMaxWidth"),u),m=e.get("barGap"),v=e.get("barCategoryGap");f&&!d[p].width&&(f=Math.min(h.remainedWidth,f),d[p].width=f,h.remainedWidth-=f),g&&(d[p].maxWidth=g),null!=m&&(h.gap=m),null!=v&&(h.categoryGap=v)});var r={};return s.each(i,function(e,t){r[t]={};var i=e.stacks,n=e.bandWidth,o=c(e.categoryGap,n),a=c(e.gap,1),l=e.remainedWidth,u=e.autoWidthCount,h=(l-o)/(u+(u-1)*a);h=Math.max(h,0),s.each(i,function(e,t){var i=e.maxWidth;!e.width&&i&&i<h&&(i=Math.min(i,l),l-=i,e.width=i,u--)}),h=(l-o)/(u+(u-1)*a),h=Math.max(h,0);var d,p=0;s.each(i,function(e,t){e.width||(e.width=h),d=e,p+=e.width*(1+a)}),d&&(p-=d.width*a);var f=-p/2;s.each(i,function(e,i){r[t][i]=r[t][i]||{offset:f,width:e.width},f+=e.width*(1+a)})}),r}function a(e,t,i){var a=r(s.filter(t.getSeriesByType(e),function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type})),l={},c={};t.eachSeriesByType(e,function(e){var t=e.getData(),i=e.coordinateSystem,r=i.getBaseAxis(),s=n(e),u=a[o(r)][s],h=u.offset,d=u.width,p=i.getOtherAxis(r),f=e.get("barMinHeight")||0,g=r.onZero?p.toGlobalCoord(p.dataToCoord(0)):p.getGlobalExtent()[0],m=i.dataToPoints(t,!0);l[s]=l[s]||[],c[s]=c[s]||[],t.setLayout({offset:h,size:d}),t.each(p.dim,function(e,i){if(!isNaN(e)){l[s][i]||(l[s][i]={p:g,n:g},c[s][i]={p:g,n:g});var n,o,r,a,u=e>=0?"p":"n",v=m[i],y=l[s][i][u],x=c[s][i][u];p.isHorizontal()?(n=y,o=v[1]+h,r=v[0]-x,a=d,c[s][i][u]+=r,Math.abs(r)<f&&(r=(r<0?-1:1)*f),l[s][i][u]+=r):(n=v[0]+h,o=y,r=d,a=v[1]-x,c[s][i][u]+=a,Math.abs(a)<f&&(a=(a<=0?-1:1)*f),l[s][i][u]+=a),t.setItemLayout(i,{x:n,y:o,width:r,height:a})}},!0)},this)}var s=i(0),l=i(3),c=l.parsePercent;e.exports=a},function(e,t,i){var n=i(24),o=n.set,r=n.get;e.exports={clearColorPalette:function(){o(this,"colorIdx",0),o(this,"colorNameMap",{})},getColorFromPalette:function(e,t){t=t||this;var i=r(t,"colorIdx")||0,n=r(t,"colorNameMap")||o(t,"colorNameMap",{});if(n[e])return n[e];var a=this.get("color",!0)||[];if(a.length){var s=a[i];return e&&(n[e]=s),o(t,"colorIdx",(i+1)%a.length),s}}}},function(e,t,i){function n(){function e(t,n){if(n>=i.length)return t;for(var r=-1,a=t.length,s=i[n++],l={},c={};++r<a;){var u=s(t[r]),h=c[u];h?h.push(t[r]):c[u]=[t[r]]}return o.each(c,function(t,i){l[i]=e(t,n)}),l}function t(e,r){if(r>=i.length)return e;var a=[],s=n[r++];return o.each(e,function(e,i){a.push({key:i,values:t(e,r)})}),s?a.sort(function(e,t){return s(e.key,t.key)}):a}var i=[],n=[];return{key:function(e){return i.push(e),this},sortKeys:function(e){return n[i.length-1]=e,this},entries:function(i){return t(e(i,0),0)}}}var o=i(0);e.exports=n},function(e,t,i){var n=i(0),o={get:function(e,t,i){var o=n.clone((r[e]||{})[t]);return i&&n.isArray(o)?o[o.length-1]:o}},r={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};e.exports=o},,,,,,,function(e,t){function i(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function o(e){if(u===setTimeout)return setTimeout(e,0);if((u===i||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function r(e){if(h===clearTimeout)return clearTimeout(e);if((h===n||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(e);try{return h(e)}catch(t){try{return h.call(null,e)}catch(t){return h.call(this,e)}}}function a(){g&&p&&(g=!1,p.length?f=p.concat(f):m=-1,f.length&&s())}function s(){if(!g){var e=o(a);g=!0;for(var t=f.length;t;){for(p=f,f=[];++m<t;)p&&p[m].run();m=-1,t=f.length}p=null,g=!1,r(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var u,h,d=e.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:i}catch(e){u=i}try{h="function"==typeof clearTimeout?clearTimeout:n}catch(e){h=n}}();var p,f=[],g=!1,m=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];f.push(new l(e,t)),1!==f.length||g||o(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=c,d.addListener=c,d.once=c,d.off=c,d.removeListener=c,d.removeAllListeners=c,d.emit=c,d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t){function i(e,t){for(var i=0;i<e.length;i++){var n=e[i],o=d[n.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](n.parts[r]);for(;r<n.parts.length;r++)o.parts.push(l(n.parts[r],t))}else{for(var a=[],r=0;r<n.parts.length;r++)a.push(l(n.parts[r],t));d[n.id]={id:n.id,refs:1,parts:a}}}}function n(e){for(var t=[],i={},n=0;n<e.length;n++){var o=e[n],r=o[0],a=o[1],s=o[2],l=o[3],c={css:a,media:s,sourceMap:l};i[r]?i[r].parts.push(c):t.push(i[r]={id:r,parts:[c]})}return t}function o(e,t){var i=g(),n=y[y.length-1];if("top"===e.insertAt)n?n.nextSibling?i.insertBefore(t,n.nextSibling):i.appendChild(t):i.insertBefore(t,i.firstChild),y.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");i.appendChild(t)}}function r(e){e.parentNode.removeChild(e);var t=y.indexOf(e);t>=0&&y.splice(t,1)}function a(e){var t=document.createElement("style");return t.type="text/css",o(e,t),t}function s(e){var t=document.createElement("link");return t.rel="stylesheet",o(e,t),t}function l(e,t){var i,n,o;if(t.singleton){var l=v++;i=m||(m=a(t)),n=c.bind(null,i,l,!1),o=c.bind(null,i,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=s(t),n=h.bind(null,i),o=function(){r(i),i.href&&URL.revokeObjectURL(i.href)}):(i=a(t),n=u.bind(null,i),o=function(){r(i)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}function c(e,t,i,n){var o=i?"":n.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var r=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}function u(e,t){var i=t.css,n=t.media;if(n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}function h(e,t){var i=t.css,n=t.sourceMap;n&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var o=new Blob([i],{type:"text/css"}),r=e.href;e.href=URL.createObjectURL(o),r&&URL.revokeObjectURL(r)}var d={},p=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},f=p(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),g=p(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,v=0,y=[];e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},void 0===t.singleton&&(t.singleton=f()),void 0===t.insertAt&&(t.insertAt="bottom");var o=n(e);return i(o,t),function(e){for(var r=[],a=0;a<o.length;a++){var s=o[a],l=d[s.id];l.refs--,r.push(l)}if(e){i(n(e),t)}for(var a=0;a<r.length;a++){var l=r[a];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete d[l.id]}}}};var x=function(){var e=[];return function(t,i){return e[t]=i,e.filter(Boolean).join("\n")}}()},,function(e,t,i){"use strict";var n=i(171),o=i(39),r=i(178),a=i(530),s=i(0),l=function(e){r.call(this,e),o.call(this,e),a.call(this,e),this.id=e.id||n()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,drift:function(e,t){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=e,i[5]+=t,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(e,t){},attrKV:function(e,t){if("position"===e||"scale"===e||"origin"===e){if(t){var i=this[e];i||(i=this[e]=[]),i[0]=t[0],i[1]=t[1]}}else this[e]=t},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(e,t){if("string"==typeof e)this.attrKV(e,t);else if(s.isObject(e))for(var i in e)e.hasOwnProperty(i)&&this.attrKV(i,e[i]);return this.dirty(!1),this},setClipPath:function(e){var t=this.__zr;t&&e.addSelfToZr(t),this.clipPath&&this.clipPath!==e&&this.removeClipPath(),this.clipPath=e,e.__zr=t,e.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var e=this.clipPath;e&&(e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(e){this.__zr=e;var t=this.animators;if(t)for(var i=0;i<t.length;i++)e.animation.addAnimator(t[i]);this.clipPath&&this.clipPath.addSelfToZr(e)},removeSelfFromZr:function(e){this.__zr=null;var t=this.animators;if(t)for(var i=0;i<t.length;i++)e.animation.removeAnimator(t[i]);this.clipPath&&this.clipPath.removeSelfFromZr(e)}},s.mixin(l,a),s.mixin(l,r),s.mixin(l,o),e.exports=l},function(e,t,i){function n(e,t){return e[t]}function o(e,t,i){e[t]=i}function r(e,t,i){return(t-e)*i+e}function a(e,t,i){return i>.5?t:e}function s(e,t,i,n,o){var a=e.length;if(1==o)for(var s=0;s<a;s++)n[s]=r(e[s],t[s],i);else for(var l=e[0].length,s=0;s<a;s++)for(var c=0;c<l;c++)n[s][c]=r(e[s][c],t[s][c],i)}function l(e,t,i){var n=e.length,o=t.length;if(n!==o){if(n>o)e.length=o;else for(var r=n;r<o;r++)e.push(1===i?t[r]:x.call(t[r]))}for(var a=e[0]&&e[0].length,r=0;r<e.length;r++)if(1===i)isNaN(e[r])&&(e[r]=t[r]);else for(var s=0;s<a;s++)isNaN(e[r][s])&&(e[r][s]=t[r][s])}function c(e,t,i){if(e===t)return!0;var n=e.length;if(n!==t.length)return!1;if(1===i){for(var o=0;o<n;o++)if(e[o]!==t[o])return!1}else for(var r=e[0].length,o=0;o<n;o++)for(var a=0;a<r;a++)if(e[o][a]!==t[o][a])return!1;return!0}function u(e,t,i,n,o,r,a,s,l){var c=e.length;if(1==l)for(var u=0;u<c;u++)s[u]=h(e[u],t[u],i[u],n[u],o,r,a);else for(var d=e[0].length,u=0;u<c;u++)for(var p=0;p<d;p++)s[u][p]=h(e[u][p],t[u][p],i[u][p],n[u][p],o,r,a)}function h(e,t,i,n,o,r,a){var s=.5*(i-e),l=.5*(n-t);return(2*(t-i)+s+l)*a+(-3*(t-i)-2*s-l)*r+s*o+t}function d(e){if(y(e)){var t=e.length;if(y(e[0])){for(var i=[],n=0;n<t;n++)i.push(x.call(e[n]));return i}return x.call(e)}return e}function p(e){return e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.floor(e[2]),"rgba("+e.join(",")+")"}function f(e,t,i,n,o){var d=e._getter,f=e._setter,v="spline"===t,x=n.length;if(x){var b,_=n[0].value,w=y(_),S=!1,A=!1,M=w&&y(_[0])?2:1;n.sort(function(e,t){return e.time-t.time}),b=n[x-1].time;for(var k=[],T=[],I=n[0].value,C=!0,L=0;L<x;L++){k.push(n[L].time/b);var D=n[L].value;if(w&&c(D,I,M)||!w&&D===I||(C=!1),I=D,"string"==typeof D){var P=m.parse(D);P?(D=P,S=!0):A=!0}T.push(D)}if(!C){for(var z=T[x-1],L=0;L<x-1;L++)w?l(T[L],z,M):!isNaN(T[L])||isNaN(z)||A||S||(T[L]=z);w&&l(d(e._target,o),z,M);var E,O,R,N,V,B,G=0,F=0;if(S)var H=[0,0,0,0];var W=function(e,t){var i;if(t<0)i=0;else if(t<F){for(E=Math.min(G+1,x-1),i=E;i>=0&&!(k[i]<=t);i--);i=Math.min(i,x-2)}else{for(i=G;i<x&&!(k[i]>t);i++);i=Math.min(i-1,x-2)}G=i,F=t;var n=k[i+1]-k[i];if(0!==n)if(O=(t-k[i])/n,v)if(N=T[i],R=T[0===i?i:i-1],V=T[i>x-2?x-1:i+1],B=T[i>x-3?x-1:i+2],w)u(R,N,V,B,O,O*O,O*O*O,d(e,o),M);else{var l;if(S)l=u(R,N,V,B,O,O*O,O*O*O,H,1),l=p(H);else{if(A)return a(N,V,O);l=h(R,N,V,B,O,O*O,O*O*O)}f(e,o,l)}else if(w)s(T[i],T[i+1],O,d(e,o),M);else{var l;if(S)s(T[i],T[i+1],O,H,1),l=p(H);else{if(A)return a(T[i],T[i+1],O);l=r(T[i],T[i+1],O)}f(e,o,l)}},U=new g({target:e._target,life:b,loop:e._loop,delay:e._delay,onframe:W,ondestroy:i});return t&&"spline"!==t&&(U.easing=t),U}}}var g=i(509),m=i(27),v=i(0),y=v.isArrayLike,x=Array.prototype.slice,b=function(e,t,i,r){this._tracks={},this._target=e,this._loop=t||!1,this._getter=i||n,this._setter=r||o,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(e,t){var i=this._tracks;for(var n in t)if(t.hasOwnProperty(n)){if(!i[n]){i[n]=[];var o=this._getter(this._target,n);if(null==o)continue;0!==e&&i[n].push({time:0,value:d(o)})}i[n].push({time:e,value:t[n]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;e<this._clipList.length;e++)this._clipList[e].pause();this._paused=!0},resume:function(){for(var e=0;e<this._clipList.length;e++)this._clipList[e].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var e=this._doneList,t=e.length,i=0;i<t;i++)e[i].call(this)},start:function(e){var t,i=this,n=0,o=function(){--n||i._doneCallback()};for(var r in this._tracks)if(this._tracks.hasOwnProperty(r)){var a=f(this,e,o,this._tracks[r],r);a&&(this._clipList.push(a),n++,this.animation&&this.animation.addClip(a),t=a)}if(t){var s=t.onframe;t.onframe=function(e,t){s(e,t);for(var n=0;n<i._onframeList.length;n++)i._onframeList[n](e,t)}}return n||this._doneCallback(),this},stop:function(e){for(var t=this._clipList,i=this.animation,n=0;n<t.length;n++){var o=t[n];e&&o.onframe(this._target,1),i&&i.removeClip(o)}t.length=0},delay:function(e){return this._delay=e,this},done:function(e){return e&&this._doneList.push(e),this},getClips:function(){return this._clipList}},e.exports=b},function(e,t){e.exports="undefined"!=typeof window&&(window.requestAnimationFrame||window.msRequestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){setTimeout(e,16)}},function(e,t){e.exports={containStroke:function(e,t,i,n,o,r,a){if(0===o)return!1;var s=o,l=0,c=e;if(a>t+s&&a>n+s||a<t-s&&a<n-s||r>e+s&&r>i+s||r<e-s&&r<i-s)return!1;if(e===i)return Math.abs(r-e)<=s/2;l=(t-n)/(e-i),c=(e*n-i*t)/(e-i);var u=l*r-a+c;return u*u/(l*l+1)<=s/2*s/2}}},function(e,t,i){function n(e,t){return Math.abs(e-t)<a}function o(e,t,i){var o=0,a=e[0];if(!a)return!1;for(var s=1;s<e.length;s++){var l=e[s];o+=r(a[0],a[1],l[0],l[1],t,i),a=l}var c=e[0];return n(a[0],c[0])&&n(a[1],c[1])||(o+=r(a[0],a[1],c[0],c[1],t,i)),0!==o}var r=i(169),a=1e-8;e.exports={contain:o}},function(e,t,i){var n=i(31);e.exports={containStroke:function(e,t,i,o,r,a,s,l,c){if(0===s)return!1;var u=s;return!(c>t+u&&c>o+u&&c>a+u||c<t-u&&c<o-u&&c<a-u||l>e+u&&l>i+u&&l>r+u||l<e-u&&l<i-u&&l<r-u)&&n.quadraticProjectPoint(e,t,i,o,r,a,l,c,null)<=u/2}}},function(e,t){var i=2*Math.PI;e.exports={normalizeRadian:function(e){return e%=i,e<0&&(e+=i),e}}},function(e,t){e.exports=function(e,t,i,n,o,r){if(r>t&&r>n||r<t&&r<n)return 0;if(n===t)return 0;var a=n<t?1:-1,s=(r-t)/(n-t);return 1!==s&&0!==s||(a=n<t?.5:-.5),s*(i-e)+e>o?a:0}},function(e,t){var i=function(){this.head=null,this.tail=null,this._len=0},n=i.prototype;n.insert=function(e){var t=new o(e);return this.insertEntry(t),t},n.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},n.remove=function(e){var t=e.prev,i=e.next;t?t.next=i:this.head=i,i?i.prev=t:this.tail=t,e.next=e.prev=null,this._len--},n.len=function(){return this._len},n.clear=function(){this.head=this.tail=null,this._len=0};var o=function(e){this.value=e,this.next,this.prev},r=function(e){this._list=new i,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},a=r.prototype;a.put=function(e,t){var i=this._list,n=this._map,r=null;if(null==n[e]){var a=i.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=i.head;i.remove(l),delete n[l.key],r=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new o(t),s.key=e,i.insertEntry(s),n[e]=s}return r},a.get=function(e){var t=this._map[e],i=this._list;if(null!=t)return t!==i.tail&&(i.remove(t),i.insertEntry(t)),t.value},a.clear=function(){this._list.clear(),this._map={}},e.exports=r},function(e,t){var i=2311;e.exports=function(){return i++}},function(e,t,i){"use strict";var n=i(0),o=i(72),r=function(e,t,i,n,r,a){this.x=null==e?0:e,this.y=null==t?0:t,this.x2=null==i?1:i,this.y2=null==n?0:n,this.type="linear",this.global=a||!1,o.call(this,r)};r.prototype={constructor:r},n.inherits(r,o),e.exports=r},function(e,t){var i=function(e,t){this.image=e,this.repeat=t,this.type="pattern"};i.prototype.getCanvasPattern=function(e){return this._canvasPattern||(this._canvasPattern=e.createPattern(this.image,this.repeat))},e.exports=i},function(e,t){function i(e,t,i){var n=t.x,o=t.x2,r=t.y,a=t.y2;return t.global||(n=n*i.width+i.x,o=o*i.width+i.x,r=r*i.height+i.y,a=a*i.height+i.y),e.createLinearGradient(n,r,o,a)}function n(e,t,i){var n=i.width,o=i.height,r=Math.min(n,o),a=t.x,s=t.y,l=t.r;return t.global||(a=a*n+i.x,s=s*o+i.y,l*=r),e.createRadialGradient(a,s,0,a,s,l)}var o=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],r=function(e){this.extendFrom(e)};r.prototype={constructor:r,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",textOffset:null,textBaseline:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textTransform:!1,textRotation:0,blend:null,bind:function(e,t,i){for(var n=this,r=i&&i.style,a=!r,s=0;s<o.length;s++){var l=o[s],c=l[0];(a||n[c]!==r[c])&&(e[c]=n[c]||l[1])}if((a||n.fill!==r.fill)&&(e.fillStyle=n.fill),(a||n.stroke!==r.stroke)&&(e.strokeStyle=n.stroke),(a||n.opacity!==r.opacity)&&(e.globalAlpha=null==n.opacity?1:n.opacity),(a||n.blend!==r.blend)&&(e.globalCompositeOperation=n.blend||"source-over"),this.hasStroke()){var u=n.lineWidth;e.lineWidth=u/(this.strokeNoScale&&t&&t.getLineScale?t.getLineScale():1)}},hasFill:function(){var e=this.fill;return null!=e&&"none"!==e},hasStroke:function(){var e=this.stroke;return null!=e&&"none"!==e&&this.lineWidth>0},extendFrom:function(e,t){if(e){var i=this;for(var n in e)!e.hasOwnProperty(n)||!t&&i.hasOwnProperty(n)||(i[n]=e[n])}},set:function(e,t){"string"==typeof e?this[e]=t:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,t,o){for(var r="radial"===t.type?n:i,a=r(e,t,o),s=t.colorStops,l=0;l<s.length;l++)a.addColorStop(s[l].offset,s[l].color);return a}};for(var a=r.prototype,s=0;s<o.length;s++){var l=o[s];l[0]in a||(a[l[0]]=l[1])}r.getGradient=a.getGradient,e.exports=r},function(e,t,i){var n=i(71),o=i(0),r=i(25),a=function(e){n.call(this,e)};a.prototype={constructor:a,type:"text",brush:function(e,t){var i=this.style,n=i.x||0,o=i.y||0,a=i.text;if(null!=a&&(a+=""),i.bind(e,this,t),a){this.setTransform(e);var s,l=i.textAlign,c=i.textFont||i.font;if(i.textVerticalAlign){var u=r.getBoundingRect(a,c,i.textAlign,"top");switch(s="middle",i.textVerticalAlign){case"middle":o-=u.height/2-u.lineHeight/2;break;case"bottom":o-=u.height-u.lineHeight/2;break;default:o+=u.lineHeight/2}}else s=i.textBaseline;e.font=c||"12px sans-serif",e.textAlign=l||"left",e.textAlign!==l&&(e.textAlign="left"),e.textBaseline=s||"alphabetic",e.textBaseline!==s&&(e.textBaseline="alphabetic");for(var h=r.measureText("国",e.font).width,d=a.split("\n"),p=0;p<d.length;p++)i.hasStroke()&&e.strokeText(d[p],n,o),i.hasFill()&&e.fillText(d[p],n,o),o+=h;this.restoreTransform(e)}},getBoundingRect:function(){var e=this.style;if(!this._rect){var t=e.textVerticalAlign,i=r.getBoundingRect(e.text+"",e.textFont||e.font,e.textAlign,t?"top":e.textBaseline);switch(t){case"middle":i.y-=i.height/2;break;case"bottom":i.y-=i.height}if(i.x+=e.x||0,i.y+=e.y||0,e.hasStroke()){var n=e.lineWidth;i.x-=n/2,i.y-=n/2,i.width+=n,i.height+=n}this._rect=i}return this._rect}},o.inherits(a,n),e.exports=a},function(e,t,i){var n=i(520),o=i(519);e.exports={buildPath:function(e,t,i){var r=t.points,a=t.smooth;if(r&&r.length>=2){if(a&&"spline"!==a){var s=o(r,a,i,t.smoothConstraint);e.moveTo(r[0][0],r[0][1]);for(var l=r.length,c=0;c<(i?l:l-1);c++){var u=s[2*c],h=s[2*c+1],d=r[(c+1)%l];e.bezierCurveTo(u[0],u[1],h[0],h[1],d[0],d[1])}}else{"spline"===a&&(r=n(r,i)),e.moveTo(r[0][0],r[0][1]);for(var c=1,p=r.length;c<p;c++)e.lineTo(r[c][0],r[c][1])}i&&e.closePath()}}}},function(e,t,i){function n(e,t){return"string"==typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}var o=i(25),r=i(10),a=new r,s=function(){};s.prototype={constructor:s,drawRectText:function(e,t,i){var r=this.style,s=r.text;if(null!=s&&(s+=""),s){e.save();var l,c,u=r.textPosition,h=r.textOffset,d=r.textDistance,p=r.textAlign,f=r.textFont||r.font,g=r.textBaseline,m=r.textVerticalAlign;i=i||o.getBoundingRect(s,f,p,g);var v=this.transform;if(r.textTransform?this.setTransform(e):v&&(a.copy(t),a.applyTransform(v),t=a),u instanceof Array){if(l=t.x+n(u[0],t.width),c=t.y+n(u[1],t.height),p=p||"left",g=g||"top",m){switch(m){case"middle":c-=i.height/2-i.lineHeight/2;break;case"bottom":c-=i.height-i.lineHeight/2;break;default:c+=i.lineHeight/2}g="middle"}}else{var y=o.adjustTextPositionOnRect(u,t,i,d);l=y.x,c=y.y,p=p||y.textAlign,g=g||y.textBaseline}h&&(l+=h[0],c+=h[1]),e.textAlign=p||"left",e.textBaseline=g||"alphabetic";var x=r.textFill,b=r.textStroke;x&&(e.fillStyle=x),b&&(e.strokeStyle=b),e.font=f||"12px sans-serif",e.shadowBlur=r.textShadowBlur,e.shadowColor=r.textShadowColor||"transparent",e.shadowOffsetX=r.textShadowOffsetX,e.shadowOffsetY=r.textShadowOffsetY;var _=s.split("\n");r.textRotation&&(v&&e.translate(v[4],v[5]),e.rotate(r.textRotation),v&&e.translate(-v[4],-v[5]));for(var w=0;w<_.length;w++)b&&e.strokeText(_[w],l,c),x&&e.fillText(_[w],l,c),c+=i.lineHeight;e.restore()}}},e.exports=s},function(e,t,i){"use strict";function n(e){return e>s||e<-s}var o=i(21),r=i(6),a=o.identity,s=5e-5,l=function(e){e=e||{},e.position||(this.position=[0,0]),null==e.rotation&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=l.prototype;c.transform=null,c.needLocalTransform=function(){return n(this.rotation)||n(this.position[0])||n(this.position[1])||n(this.scale[0]-1)||n(this.scale[1]-1)},c.updateTransform=function(){var e=this.parent,t=e&&e.transform,i=this.needLocalTransform(),n=this.transform;if(!i&&!t)return void(n&&a(n));n=n||o.create(),i?this.getLocalTransform(n):a(n),t&&(i?o.mul(n,e.transform,n):o.copy(n,e.transform)),this.transform=n,this.invTransform=this.invTransform||o.create(),o.invert(this.invTransform,n)},c.getLocalTransform=function(e){e=e||[],a(e);var t=this.origin,i=this.scale,n=this.rotation,r=this.position;return t&&(e[4]-=t[0],e[5]-=t[1]),o.scale(e,e,i),n&&o.rotate(e,e,n),t&&(e[4]+=t[0],e[5]+=t[1]),e[4]+=r[0],e[5]+=r[1],e},c.setTransform=function(e){var t=this.transform,i=e.dpr||1;t?e.setTransform(i*t[0],i*t[1],i*t[2],i*t[3],i*t[4],i*t[5]):e.setTransform(i,0,0,i,0,0)},c.restoreTransform=function(e){var t=(this.transform,e.dpr||1);e.setTransform(t,0,0,t,0,0)};var u=[];c.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(o.mul(u,e.invTransform,t),t=u);var i=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],a=this.position,s=this.scale;n(i-1)&&(i=Math.sqrt(i)),n(r-1)&&(r=Math.sqrt(r)),t[0]<0&&(i=-i),t[3]<0&&(r=-r),a[0]=t[4],a[1]=t[5],s[0]=i,s[1]=r,this.rotation=Math.atan2(-t[1]/r,t[0]/i)}},c.getGlobalScale=function(){var e=this.transform;if(!e)return[1,1];var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]),i=Math.sqrt(e[2]*e[2]+e[3]*e[3]);return e[0]<0&&(t=-t),e[3]<0&&(i=-i),[t,i]},c.transformCoordToLocal=function(e,t){var i=[e,t],n=this.invTransform;return n&&r.applyTransform(i,i,n),i},c.transformCoordToGlobal=function(e,t){var i=[e,t],n=this.transform;return n&&r.applyTransform(i,i,n),i},e.exports=l},function(e,t,i){if(!i(13).canvasSupported){var n,o="urn:schemas-microsoft-com:vml",r=window,a=r.document,s=!1;try{!a.namespaces.zrvml&&a.namespaces.add("zrvml",o),n=function(e){return a.createElement("<zrvml:"+e+' class="zrvml">')}}catch(e){n=function(e){return a.createElement("<"+e+' xmlns="'+o+'" class="zrvml">')}}var l=function(){if(!s){s=!0;var e=a.styleSheets;e.length<31?a.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}};e.exports={doc:a,initVML:l,createNode:n}}},function(e,t,i){function n(e){delete p[e]}/*!
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/
var o=i(171),r=i(13),a=i(0),s=i(504),l=i(507),c=i(508),u=i(515),h=!r.canvasSupported,d={canvas:i(506)},p={},f={};f.version="3.4.0",f.init=function(e,t){var i=new g(o(),e,t);return p[i.id]=i,i},f.dispose=function(e){if(e)e.dispose();else{for(var t in p)p.hasOwnProperty(t)&&p[t].dispose();p={}}return f},f.getInstance=function(e){return p[e]},f.registerPainter=function(e,t){d[e]=t};var g=function(e,t,i){i=i||{},this.dom=t,this.id=e;var n=this,o=new l,p=i.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");p="vml"}else p&&d[p]||(p="canvas");var f=new d[p](t,o,i);this.storage=o,this.painter=f;var g=r.node?null:new u(f.getViewportRoot());this.handler=new s(o,f,g,f.root),this.animation=new c({stage:{update:a.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=o.delFromMap,v=o.addToMap;o.delFromMap=function(e){var t=o.get(e);m.call(o,e),t&&t.removeSelfFromZr(n)},o.addToMap=function(e){v.call(o,e),e.addSelfToZr(n)}};g.prototype={constructor:g,getId:function(){return this.id},add:function(e){this.storage.addRoot(e),this._needsRefresh=!0},remove:function(e){this.storage.delRoot(e),this._needsRefresh=!0},configLayer:function(e,t){this.painter.configLayer(e,t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},refresh:function(){this._needsRefresh=!0},flush:function(){this._needsRefresh&&this.refreshImmediately(),this._needsRefreshHover&&this.refreshHoverImmediately()},addHover:function(e,t){this.painter.addHover&&(this.painter.addHover(e,t),this.refreshHover())},removeHover:function(e){this.painter.removeHover&&(this.painter.removeHover(e),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(e,t){return this.painter.pathToImage(e,t)},setCursorStyle:function(e){this.handler.setCursorStyle(e)},on:function(e,t,i){this.handler.on(e,t,i)},off:function(e,t){this.handler.off(e,t)},trigger:function(e,t){this.handler.trigger(e,t)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,n(this.id)}},e.exports=f},function(e,t,i){"use strict";var n=i(17),o=i(495),r=i(483),a=i.n(r),s=i(486),l=i.n(s),c=i(487),u=i.n(c),h=i(484),d=i.n(h),p=i(485),f=i.n(p);n.default.use(o.a),t.a=new o.a({routes:[{path:"/",name:"Overview",component:a.a},{path:"/proxies/tcp",name:"ProxiesTcp",component:l.a},{path:"/proxies/udp",name:"ProxiesUdp",component:u.a},{path:"/proxies/http",name:"ProxiesHttp",component:d.a},{path:"/proxies/https",name:"ProxiesHttps",component:f.a}]})},function(e,t,i){var n=i(218);"string"==typeof n&&(n=[[e.i,n,""]]);i(160)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){var n=i(219);"string"==typeof n&&(n=[[e.i,n,""]]);i(160)(n,{});n.locals&&(e.exports=n.locals)},function(e,t,i){i(497);var n=i(37)(i(207),i(489),null,null);e.exports=n.exports},,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{handleSelect:function(e,t){""==e&&window.open("http://github.com/fatedier/frp")}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(103);t.default={data:function(){return{vhost_http_port:"",vhost_https_port:"",auth_timeout:"",subdomain_host:"",max_pool_count:"",heart_beat_timeout:"",client_counts:"",cur_conns:"",proxy_counts:""}},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{fetchData:function(){var e=this;fetch("/api/serverinfo").then(function(e){return e.json()}).then(function(t){e.vhost_http_port=t.vhost_http_port,0==e.vhost_http_port&&(e.vhost_http_port="disable"),e.vhost_https_port=t.vhost_https_port,0==e.vhost_https_port&&(e.vhost_https_port="disable"),e.auth_timeout=t.auth_timeout,e.subdomain_host=t.subdomain_host,e.max_pool_count=t.max_pool_count,e.heart_beat_timeout=t.heart_beat_timeout,e.client_counts=t.client_counts,e.cur_conns=t.cur_conns,e.proxy_counts=0,null!=t.proxy_type_count&&(null!=t.proxy_type_count.tcp&&(e.proxy_counts+=t.proxy_type_count.tcp),null!=t.proxy_type_count.udp&&(e.proxy_counts+=t.proxy_type_count.udp),null!=t.proxy_type_count.http&&(e.proxy_counts+=t.proxy_type_count.http),null!=t.proxy_type_count.https&&(e.proxy_counts+=t.proxy_type_count.https)),i.i(n.b)("traffic",t.total_traffic_in,t.total_traffic_out),i.i(n.c)("proxies",t)}).catch(function(t){e.$message({showClose:!0,message:"Get server info from frps failed!",type:"warning"})})}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(52),o=i.n(n),r=i(67),a=i.n(r),s=i(54);t.default={data:function(){return{proxies:null,vhost_http_port:"",subdomain_host:""}},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{formatTrafficIn:function(e,t){return o.a.fileSize(e.traffic_in)},formatTrafficOut:function(e,t){return o.a.fileSize(e.traffic_out)},fetchData:function(){var e=this;fetch("/api/serverinfo").then(function(e){return e.json()}).then(function(t){e.vhost_http_port=t.vhost_http_port,e.subdomain_host=t.subdomain_host,null!=e.vhost_http_port&&0!=e.vhost_http_port&&fetch("/api/proxy/http").then(function(e){return e.json()}).then(function(t){e.proxies=new Array;var i=!0,n=!1,o=void 0;try{for(var r,a=t.proxies[Symbol.iterator]();!(i=(r=a.next()).done);i=!0){var l=r.value;e.proxies.push(new s.b(l,e.vhost_http_port,e.subdomain_host))}}catch(e){n=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(n)throw o}}})})}},components:{"my-traffic-chart":a.a}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(52),o=i.n(n),r=i(67),a=i.n(r),s=i(54);t.default={data:function(){return{proxies:null,vhost_https_port:"",subdomain_host:""}},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{formatTrafficIn:function(e,t){return o.a.fileSize(e.traffic_in)},formatTrafficOut:function(e,t){return o.a.fileSize(e.traffic_out)},fetchData:function(){var e=this;fetch("/api/serverinfo").then(function(e){return e.json()}).then(function(t){e.vhost_https_port=t.vhost_https_port,e.subdomain_host=t.subdomain_host,null!=e.vhost_https_port&&0!=e.vhost_https_port&&fetch("/api/proxy/https").then(function(e){return e.json()}).then(function(t){e.proxies=new Array;var i=!0,n=!1,o=void 0;try{for(var r,a=t.proxies[Symbol.iterator]();!(i=(r=a.next()).done);i=!0){var l=r.value;e.proxies.push(new s.a(l,e.vhost_https_port,e.subdomain_host))}}catch(e){n=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(n)throw o}}})})}},components:{"my-traffic-chart":a.a}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(52),o=i.n(n),r=i(67),a=i.n(r),s=i(54);t.default={data:function(){return{proxies:null}},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{formatTrafficIn:function(e,t){return o.a.fileSize(e.traffic_in)},formatTrafficOut:function(e,t){return o.a.fileSize(e.traffic_out)},fetchData:function(){var e=this;fetch("/api/proxy/tcp").then(function(e){return e.json()}).then(function(t){e.proxies=new Array;var i=!0,n=!1,o=void 0;try{for(var r,a=t.proxies[Symbol.iterator]();!(i=(r=a.next()).done);i=!0){var l=r.value;e.proxies.push(new s.d(l))}}catch(e){n=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(n)throw o}}})}},components:{"my-traffic-chart":a.a}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(52),o=i.n(n),r=i(67),a=i.n(r),s=i(54);t.default={data:function(){return{proxies:null}},created:function(){this.fetchData()},watch:{$route:"fetchData"},methods:{formatTrafficIn:function(e,t){return o.a.fileSize(e.traffic_in)},formatTrafficOut:function(e,t){return o.a.fileSize(e.traffic_out)},fetchData:function(){var e=this;fetch("/api/proxy/udp").then(function(e){return e.json()}).then(function(t){e.proxies=new Array;var i=!0,n=!1,o=void 0;try{for(var r,a=t.proxies[Symbol.iterator]();!(i=(r=a.next()).done);i=!0){var l=r.value;e.proxies.push(new s.c(l))}}catch(e){n=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(n)throw o}}})}},components:{"my-traffic-chart":a.a}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(103);t.default={props:["proxy_name"],created:function(){this.fetchData()},methods:{fetchData:function(){var e=this,t="/api/proxy/traffic/"+this.proxy_name;fetch(t).then(function(e){return e.json()}).then(function(t){i.i(n.a)(e.proxy_name,t.traffic_in,t.traffic_out)}).catch(function(t){e.$message({showClose:!0,message:"Get server info from frps failed!"+t,type:"warning"})})}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(17),o=i(73),r=i.n(o),a=i(182),s=(i.n(a),i(183)),l=(i.n(s),i(184)),c=i.n(l),u=i(181);n.default.use(r.a),n.default.config.productionTip=!1,new n.default({el:"#app",router:u.a,template:"<App/>",components:{App:c.a}})},,function(e,t,i){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function o(e){return 3*e.length/4-n(e)}function r(e){var t,i,o,r,a,s,l=e.length;a=n(e),s=new h(3*l/4-a),o=a>0?l-4:l;var c=0;for(t=0,i=0;t<o;t+=4,i+=3)r=u[e.charCodeAt(t)]<<18|u[e.charCodeAt(t+1)]<<12|u[e.charCodeAt(t+2)]<<6|u[e.charCodeAt(t+3)],s[c++]=r>>16&255,s[c++]=r>>8&255,s[c++]=255&r;return 2===a?(r=u[e.charCodeAt(t)]<<2|u[e.charCodeAt(t+1)]>>4,s[c++]=255&r):1===a&&(r=u[e.charCodeAt(t)]<<10|u[e.charCodeAt(t+1)]<<4|u[e.charCodeAt(t+2)]>>2,s[c++]=r>>8&255,s[c++]=255&r),s}function a(e){return c[e>>18&63]+c[e>>12&63]+c[e>>6&63]+c[63&e]}function s(e,t,i){for(var n,o=[],r=t;r<i;r+=3)n=(e[r]<<16)+(e[r+1]<<8)+e[r+2],o.push(a(n));return o.join("")}function l(e){for(var t,i=e.length,n=i%3,o="",r=[],a=0,l=i-n;a<l;a+=16383)r.push(s(e,a,a+16383>l?l:a+16383));return 1===n?(t=e[i-1],o+=c[t>>2],o+=c[t<<4&63],o+="=="):2===n&&(t=(e[i-2]<<8)+e[i-1],o+=c[t>>10],o+=c[t>>4&63],o+=c[t<<2&63],o+="="),r.push(o),r.join("")}t.byteLength=o,t.toByteArray=r,t.fromByteArray=l;for(var c=[],u=[],h="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,f=d.length;p<f;++p)c[p]=d[p],u[d.charCodeAt(p)]=p;u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},function(e,t,i){"use strict";(function(e){function n(){return r.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(n()<t)throw new RangeError("Invalid typed array length");return r.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=r.prototype):(null===e&&(e=new r(t)),e.length=t),e}function r(e,t,i){if(!(r.TYPED_ARRAY_SUPPORT||this instanceof r))return new r(e,t,i);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return c(this,e)}return a(this,e,t,i)}function a(e,t,i,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?d(e,t,i,n):"string"==typeof t?u(e,t,i):p(e,t)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function l(e,t,i,n){return s(t),t<=0?o(e,t):void 0!==i?"string"==typeof n?o(e,t).fill(i,n):o(e,t).fill(i):o(e,t)}function c(e,t){if(s(t),e=o(e,t<0?0:0|f(t)),!r.TYPED_ARRAY_SUPPORT)for(var i=0;i<t;++i)e[i]=0;return e}function u(e,t,i){if("string"==typeof i&&""!==i||(i="utf8"),!r.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var n=0|m(t,i);e=o(e,n);var a=e.write(t,i);return a!==n&&(e=e.slice(0,a)),e}function h(e,t){var i=t.length<0?0:0|f(t.length);e=o(e,i);for(var n=0;n<i;n+=1)e[n]=255&t[n];return e}function d(e,t,i,n){if(t.byteLength,i<0||t.byteLength<i)throw new RangeError("'offset' is out of bounds");if(t.byteLength<i+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===i&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,i):new Uint8Array(t,i,n),r.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=r.prototype):e=h(e,t),e}function p(e,t){if(r.isBuffer(t)){var i=0|f(t.length);return e=o(e,i),0===e.length?e:(t.copy(e,0,0,i),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||X(t.length)?o(e,0):h(e,t);if("Buffer"===t.type&&K(t.data))return h(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function f(e){if(e>=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function g(e){return+e!=e&&(e=0),r.alloc(+e)}function m(e,t){if(r.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var i=e.length;if(0===i)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return Y(e).length;default:if(n)return U(e).length;t=(""+t).toLowerCase(),n=!0}}function v(e,t,i){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if(i>>>=0,t>>>=0,i<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,i);case"utf8":case"utf-8":return I(this,t,i);case"ascii":return L(this,t,i);case"latin1":case"binary":return D(this,t,i);case"base64":return T(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,t,i);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,i){var n=e[t];e[t]=e[i],e[i]=n}function x(e,t,i,n,o){if(0===e.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=o?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(o)return-1;i=e.length-1}else if(i<0){if(!o)return-1;i=0}if("string"==typeof t&&(t=r.from(t,n)),r.isBuffer(t))return 0===t.length?-1:b(e,t,i,n,o);if("number"==typeof t)return t&=255,r.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):b(e,[t],i,n,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,i,n,o){function r(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,i/=2}var c;if(o){var u=-1;for(c=i;c<s;c++)if(r(e,c)===r(t,u===-1?0:c-u)){if(u===-1&&(u=c),c-u+1===l)return u*a}else u!==-1&&(c-=c-u),u=-1}else for(i+l>s&&(i=s-l),c=i;c>=0;c--){for(var h=!0,d=0;d<l;d++)if(r(e,c+d)!==r(t,d)){h=!1;break}if(h)return c}return-1}function _(e,t,i,n){i=Number(i)||0;var o=e.length-i;n?(n=Number(n))>o&&(n=o):n=o;var r=t.length;if(r%2!=0)throw new TypeError("Invalid hex string");n>r/2&&(n=r/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[i+a]=s}return a}function w(e,t,i,n){return q(U(t,e.length-i),e,i,n)}function S(e,t,i,n){return q(j(t),e,i,n)}function A(e,t,i,n){return S(e,t,i,n)}function M(e,t,i,n){return q(Y(t),e,i,n)}function k(e,t,i,n){return q(Z(t,e.length-i),e,i,n)}function T(e,t,i){return 0===t&&i===e.length?J.fromByteArray(e):J.fromByteArray(e.slice(t,i))}function I(e,t,i){i=Math.min(e.length,i);for(var n=[],o=t;o<i;){var r=e[o],a=null,s=r>239?4:r>223?3:r>191?2:1;if(o+s<=i){var l,c,u,h;switch(s){case 1:r<128&&(a=r);break;case 2:l=e[o+1],128==(192&l)&&(h=(31&r)<<6|63&l)>127&&(a=h);break;case 3:l=e[o+1],c=e[o+2],128==(192&l)&&128==(192&c)&&(h=(15&r)<<12|(63&l)<<6|63&c)>2047&&(h<55296||h>57343)&&(a=h);break;case 4:l=e[o+1],c=e[o+2],u=e[o+3],128==(192&l)&&128==(192&c)&&128==(192&u)&&(h=(15&r)<<18|(63&l)<<12|(63&c)<<6|63&u)>65535&&h<1114112&&(a=h)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),o+=s}return C(n)}function C(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var i="",n=0;n<t;)i+=String.fromCharCode.apply(String,e.slice(n,n+=$));return i}function L(e,t,i){var n="";i=Math.min(e.length,i);for(var o=t;o<i;++o)n+=String.fromCharCode(127&e[o]);return n}function D(e,t,i){var n="";i=Math.min(e.length,i);for(var o=t;o<i;++o)n+=String.fromCharCode(e[o]);return n}function P(e,t,i){var n=e.length;(!t||t<0)&&(t=0),(!i||i<0||i>n)&&(i=n);for(var o="",r=t;r<i;++r)o+=W(e[r]);return o}function z(e,t,i){for(var n=e.slice(t,i),o="",r=0;r<n.length;r+=2)o+=String.fromCharCode(n[r]+256*n[r+1]);return o}function E(e,t,i){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>i)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,i,n,o,a){if(!r.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(i+n>e.length)throw new RangeError("Index out of range")}function R(e,t,i,n){t<0&&(t=65535+t+1);for(var o=0,r=Math.min(e.length-i,2);o<r;++o)e[i+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function N(e,t,i,n){t<0&&(t=4294967295+t+1);for(var o=0,r=Math.min(e.length-i,4);o<r;++o)e[i+o]=t>>>8*(n?o:3-o)&255}function V(e,t,i,n,o,r){if(i+n>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function B(e,t,i,n,o){return o||V(e,t,i,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(e,t,i,n,23,4),i+4}function G(e,t,i,n,o){return o||V(e,t,i,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(e,t,i,n,52,8),i+8}function F(e){if(e=H(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function H(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function W(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(e,t){t=t||1/0;for(var i,n=e.length,o=null,r=[],a=0;a<n;++a){if((i=e.charCodeAt(a))>55295&&i<57344){if(!o){if(i>56319){(t-=3)>-1&&r.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&r.push(239,191,189);continue}o=i;continue}if(i<56320){(t-=3)>-1&&r.push(239,191,189),o=i;continue}i=65536+(o-55296<<10|i-56320)}else o&&(t-=3)>-1&&r.push(239,191,189);if(o=null,i<128){if((t-=1)<0)break;r.push(i)}else if(i<2048){if((t-=2)<0)break;r.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;r.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;r.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return r}function j(e){for(var t=[],i=0;i<e.length;++i)t.push(255&e.charCodeAt(i));return t}function Z(e,t){for(var i,n,o,r=[],a=0;a<e.length&&!((t-=2)<0);++a)i=e.charCodeAt(a),n=i>>8,o=i%256,r.push(o),r.push(n);return r}function Y(e){return J.toByteArray(F(e))}function q(e,t,i,n){for(var o=0;o<n&&!(o+i>=t.length||o>=e.length);++o)t[o+i]=e[o];return o}function X(e){return e!==e}/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
var J=i(216),Q=i(479),K=i(480);t.Buffer=r,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,r.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=n(),r.poolSize=8192,r._augment=function(e){return e.__proto__=r.prototype,e},r.from=function(e,t,i){return a(null,e,t,i)},r.TYPED_ARRAY_SUPPORT&&(r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0})),r.alloc=function(e,t,i){return l(null,e,t,i)},r.allocUnsafe=function(e){return c(null,e)},r.allocUnsafeSlow=function(e){return c(null,e)},r.isBuffer=function(e){return!(null==e||!e._isBuffer)},r.compare=function(e,t){if(!r.isBuffer(e)||!r.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,o=0,a=Math.min(i,n);o<a;++o)if(e[o]!==t[o]){i=e[o],n=t[o];break}return i<n?-1:n<i?1:0},r.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},r.concat=function(e,t){if(!K(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return r.alloc(0);var i;if(void 0===t)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var n=r.allocUnsafe(t),o=0;for(i=0;i<e.length;++i){var a=e[i];if(!r.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},r.byteLength=m,r.prototype._isBuffer=!0,r.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},r.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},r.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},r.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?I(this,0,e):v.apply(this,arguments)},r.prototype.equals=function(e){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===r.compare(this,e)},r.prototype.inspect=function(){var e="",i=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(e+=" ... ")),"<Buffer "+e+">"},r.prototype.compare=function(e,t,i,n,o){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||i>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var a=o-n,s=i-t,l=Math.min(a,s),c=this.slice(n,o),u=e.slice(t,i),h=0;h<l;++h)if(c[h]!==u[h]){a=c[h],s=u[h];break}return a<s?-1:s<a?1:0},r.prototype.includes=function(e,t,i){return this.indexOf(e,t,i)!==-1},r.prototype.indexOf=function(e,t,i){return x(this,e,t,i,!0)},r.prototype.lastIndexOf=function(e,t,i){return x(this,e,t,i,!1)},r.prototype.write=function(e,t,i,n){if(void 0===t)n="utf8",i=this.length,t=0;else if(void 0===i&&"string"==typeof t)n=t,i=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(i)?(i|=0,void 0===n&&(n="utf8")):(n=i,i=void 0)}var o=this.length-t;if((void 0===i||i>o)&&(i=o),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var r=!1;;)switch(n){case"hex":return _(this,e,t,i);case"utf8":case"utf-8":return w(this,e,t,i);case"ascii":return S(this,e,t,i);case"latin1":case"binary":return A(this,e,t,i);case"base64":return M(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,i);default:if(r)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),r=!0}},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;r.prototype.slice=function(e,t){var i=this.length;e=~~e,t=void 0===t?i:~~t,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),t<0?(t+=i)<0&&(t=0):t>i&&(t=i),t<e&&(t=e);var n;if(r.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=r.prototype;else{var o=t-e;n=new r(o,void 0);for(var a=0;a<o;++a)n[a]=this[a+e]}return n},r.prototype.readUIntLE=function(e,t,i){e|=0,t|=0,i||E(e,t,this.length);for(var n=this[e],o=1,r=0;++r<t&&(o*=256);)n+=this[e+r]*o;return n},r.prototype.readUIntBE=function(e,t,i){e|=0,t|=0,i||E(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},r.prototype.readUInt8=function(e,t){return t||E(e,1,this.length),this[e]},r.prototype.readUInt16LE=function(e,t){return t||E(e,2,this.length),this[e]|this[e+1]<<8},r.prototype.readUInt16BE=function(e,t){return t||E(e,2,this.length),this[e]<<8|this[e+1]},r.prototype.readUInt32LE=function(e,t){return t||E(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},r.prototype.readUInt32BE=function(e,t){return t||E(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},r.prototype.readIntLE=function(e,t,i){e|=0,t|=0,i||E(e,t,this.length);for(var n=this[e],o=1,r=0;++r<t&&(o*=256);)n+=this[e+r]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n},r.prototype.readIntBE=function(e,t,i){e|=0,t|=0,i||E(e,t,this.length);for(var n=t,o=1,r=this[e+--n];n>0&&(o*=256);)r+=this[e+--n]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},r.prototype.readInt8=function(e,t){return t||E(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},r.prototype.readInt16LE=function(e,t){t||E(e,2,this.length);var i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},r.prototype.readInt16BE=function(e,t){t||E(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},r.prototype.readInt32LE=function(e,t){return t||E(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},r.prototype.readInt32BE=function(e,t){return t||E(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},r.prototype.readFloatLE=function(e,t){return t||E(e,4,this.length),Q.read(this,e,!0,23,4)},r.prototype.readFloatBE=function(e,t){return t||E(e,4,this.length),Q.read(this,e,!1,23,4)},r.prototype.readDoubleLE=function(e,t){return t||E(e,8,this.length),Q.read(this,e,!0,52,8)},r.prototype.readDoubleBE=function(e,t){return t||E(e,8,this.length),Q.read(this,e,!1,52,8)},r.prototype.writeUIntLE=function(e,t,i,n){if(e=+e,t|=0,i|=0,!n){O(this,e,t,i,Math.pow(2,8*i)-1,0)}var o=1,r=0;for(this[t]=255&e;++r<i&&(o*=256);)this[t+r]=e/o&255;return t+i},r.prototype.writeUIntBE=function(e,t,i,n){if(e=+e,t|=0,i|=0,!n){O(this,e,t,i,Math.pow(2,8*i)-1,0)}var o=i-1,r=1;for(this[t+o]=255&e;--o>=0&&(r*=256);)this[t+o]=e/r&255;return t+i},r.prototype.writeUInt8=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,1,255,0),r.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},r.prototype.writeUInt16LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,65535,0),r.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},r.prototype.writeUInt16BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,65535,0),r.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},r.prototype.writeUInt32LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,4294967295,0),r.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},r.prototype.writeUInt32BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,4294967295,0),r.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},r.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*i-1);O(this,e,t,i,o-1,-o)}var r=0,a=1,s=0;for(this[t]=255&e;++r<i&&(a*=256);)e<0&&0===s&&0!==this[t+r-1]&&(s=1),this[t+r]=(e/a>>0)-s&255;return t+i},r.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*i-1);O(this,e,t,i,o-1,-o)}var r=i-1,a=1,s=0;for(this[t+r]=255&e;--r>=0&&(a*=256);)e<0&&0===s&&0!==this[t+r+1]&&(s=1),this[t+r]=(e/a>>0)-s&255;return t+i},r.prototype.writeInt8=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,1,127,-128),r.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},r.prototype.writeInt16LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,32767,-32768),r.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},r.prototype.writeInt16BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,2,32767,-32768),r.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},r.prototype.writeInt32LE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,2147483647,-2147483648),r.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},r.prototype.writeInt32BE=function(e,t,i){return e=+e,t|=0,i||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),r.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},r.prototype.writeFloatLE=function(e,t,i){return B(this,e,t,!0,i)},r.prototype.writeFloatBE=function(e,t,i){return B(this,e,t,!1,i)},r.prototype.writeDoubleLE=function(e,t,i){return G(this,e,t,!0,i)},r.prototype.writeDoubleBE=function(e,t,i){return G(this,e,t,!1,i)},r.prototype.copy=function(e,t,i,n){if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<i&&(n=i),n===i)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-i&&(n=e.length-t+i);var o,a=n-i;if(this===e&&i<t&&t<n)for(o=a-1;o>=0;--o)e[o+t]=this[o+i];else if(a<1e3||!r.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+t]=this[o+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+a),t);return a},r.prototype.fill=function(e,t,i,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,i=this.length):"string"==typeof i&&(n=i,i=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!r.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t>>>=0,i=void 0===i?this.length:i>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a<i;++a)this[a]=e;else{var s=r.isBuffer(e)?e:U(new r(e,n).toString()),l=s.length;for(a=0;a<i-t;++a)this[a+t]=s[a%l]}return this};var ee=/[^+\/0-9A-Za-z-_]/g}).call(t,i(68))},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,'.el-breadcrumb:after,.el-breadcrumb:before,.el-button-group:after,.el-button-group:before,.el-form-item:after,.el-form-item:before,.el-form-item__content:after,.el-form-item__content:before{display:table;content:""}.el-dialog__headerbtn,.el-pagination__rightwrapper{float:right}.el-checkbox__original,.el-pagination--small .arrow.disabled,.el-table td.is-hidden>*,.el-table th.is-hidden>*{visibility:hidden}.el-breadcrumb:after,.el-button-group:after,.el-form-item:after,.el-form-item__content:after{clear:both}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}@font-face{font-family:element-icons;src:url('+i(482)+') format("woff"),url('+i(481)+') format("truetype");font-weight:400;font-style:normal}[class*=" el-icon-"],[class^=el-icon-]{font-family:element-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-icon-arrow-down:before{content:"\\E600"}.el-icon-arrow-left:before{content:"\\E601"}.el-icon-arrow-right:before{content:"\\E602"}.el-icon-arrow-up:before{content:"\\E603"}.el-icon-caret-bottom:before{content:"\\E604"}.el-icon-caret-left:before{content:"\\E605"}.el-icon-caret-right:before{content:"\\E606"}.el-icon-caret-top:before{content:"\\E607"}.el-icon-check:before{content:"\\E608"}.el-icon-circle-check:before{content:"\\E609"}.el-icon-circle-close:before{content:"\\E60A"}.el-icon-circle-cross:before{content:"\\E60B"}.el-icon-close:before{content:"\\E60C"}.el-icon-upload:before{content:"\\E60D"}.el-icon-d-arrow-left:before{content:"\\E60E"}.el-icon-d-arrow-right:before{content:"\\E60F"}.el-icon-d-caret:before{content:"\\E610"}.el-icon-date:before{content:"\\E611"}.el-icon-delete:before{content:"\\E612"}.el-icon-document:before{content:"\\E613"}.el-icon-edit:before{content:"\\E614"}.el-icon-information:before{content:"\\E615"}.el-icon-loading:before{content:"\\E616"}.el-icon-menu:before{content:"\\E617"}.el-icon-message:before{content:"\\E618"}.el-icon-minus:before{content:"\\E619"}.el-icon-more:before{content:"\\E61A"}.el-icon-picture:before{content:"\\E61B"}.el-icon-plus:before{content:"\\E61C"}.el-icon-search:before{content:"\\E61D"}.el-icon-setting:before{content:"\\E61E"}.el-icon-share:before{content:"\\E61F"}.el-icon-star-off:before{content:"\\E620"}.el-icon-star-on:before{content:"\\E621"}.el-icon-time:before{content:"\\E622"}.el-icon-warning:before{content:"\\E623"}.el-icon-delete2:before{content:"\\E624"}.el-icon-upload2:before{content:"\\E627"}.el-icon-view:before{content:"\\E626"}.el-icon-loading{-webkit-animation:rotating 1s linear infinite;animation:rotating 1s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotating{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.el-pagination{white-space:nowrap;padding:2px 5px;color:#48576a}.el-pagination:after,.el-pagination:before{display:table;content:""}.el-pagination:after{clear:both}.el-pagination button,.el-pagination span{display:inline-block;font-size:13px;min-width:28px;height:28px;line-height:28px;vertical-align:top;box-sizing:border-box}.el-pagination .el-select .el-input{width:110px}.el-pagination .el-select .el-input input{padding-right:25px;border-radius:2px;height:28px}.el-pagination button{border:none;padding:0 6px;background:0 0}.el-pagination button:focus{outline:0}.el-pagination button:hover{color:#20a0ff}.el-pagination button.disabled{color:#e4e4e4;background-color:#fff;cursor:not-allowed}.el-pager li,.el-pager li.btn-quicknext:hover,.el-pager li.btn-quickprev:hover{cursor:pointer}.el-pagination .btn-next,.el-pagination .btn-prev{background:50% no-repeat #fff;background-size:16px;border:1px solid #d1dbe5;cursor:pointer;margin:0;color:#97a8be}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px}.el-pagination .btn-prev{border-radius:2px 0 0 2px;border-right:0}.el-pagination .btn-next{border-radius:0 2px 2px 0;border-left:0}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li,.el-pagination--small .el-pager li:last-child{border-color:transparent;font-size:12px;line-height:22px;height:22px;min-width:22px}.el-pagination--small .el-pager li{border-radius:2px}.el-pagination__sizes{margin:0 10px 0 0}.el-pagination__sizes .el-input .el-input__inner{font-size:13px;border-color:#d1dbe5}.el-pagination__sizes .el-input .el-input__inner:hover{border-color:#20a0ff}.el-pagination__jump{margin-left:10px}.el-pagination__total{margin:0 10px}.el-pagination__editor{border:1px solid #d1dbe5;border-radius:2px;line-height:18px;padding:4px 2px;width:30px;text-align:center;margin:0 6px;box-sizing:border-box;-webkit-transition:border .3s;transition:border .3s}.el-pager,.el-pager li{vertical-align:top;display:inline-block;margin:0}.el-pagination__editor::-webkit-inner-spin-button,.el-pagination__editor::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__editor:focus{outline:0;border-color:#20a0ff}.el-autocomplete-suggestion__wrap,.el-pager li{border:1px solid #d1dbe5;box-sizing:border-box}.el-pager{user-select:none;list-style:none;font-size:0;padding:0}.el-pager,.el-radio,.el-radio-button__inner,.el-switch__label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.el-pager li{padding:0 4px;border-right:0;background:#fff;font-size:13px;min-width:28px;height:28px;line-height:28px;text-align:center}.el-pager li:last-child{border-right:1px solid #d1dbe5}.el-pager li.btn-quicknext,.el-pager li.btn-quickprev{line-height:28px;color:#97a8be}.el-pager li.active+li{border-left:0;padding-left:5px}.el-pager li:hover{color:#20a0ff}.el-pager li.active{border-color:#20a0ff;background-color:#20a0ff;color:#fff;cursor:default}.el-dialog{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);background:#fff;border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.3);box-sizing:border-box;margin-bottom:50px}.el-dialog--tiny{width:30%}.el-dialog--small{width:50%}.el-dialog--large{width:90%}.el-dialog--full{width:100%;top:0;margin-bottom:0;height:100%;overflow:auto}.el-dialog__wrapper{top:0;right:0;bottom:0;left:0;position:fixed;overflow:auto;margin:0}.el-autocomplete,.el-dropdown{display:inline-block;position:relative}.el-dialog__header{padding:20px 20px 0}.el-dialog__close{cursor:pointer;color:#bfcbd9}.el-dialog__close:hover{color:#20a0ff}.el-dialog__title{line-height:1;font-size:16px;font-weight:700;color:#1f2d3d}.el-dialog__body{padding:30px 20px;color:#48576a;font-size:14px}.el-dialog__footer{padding:10px 20px 15px;text-align:right;box-sizing:border-box}.dialog-fade-enter-active{-webkit-animation:dialog-fade-in .3s;animation:dialog-fade-in .3s}.dialog-fade-leave-active{-webkit-animation:dialog-fade-out .3s;animation:dialog-fade-out .3s}@-webkit-keyframes dialog-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes dialog-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@-webkit-keyframes dialog-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}@keyframes dialog-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}.el-autocomplete-suggestion{margin:5px 0;box-shadow:0 0 6px 0 rgba(0,0,0,.04),0 2px 4px 0 rgba(0,0,0,.12)}.el-autocomplete-suggestion li{list-style:none;line-height:36px;padding:0 10px;margin:0;cursor:pointer;color:#48576a;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li:hover{background-color:#e4e8f1}.el-autocomplete-suggestion li.highlighted{background-color:#20a0ff;color:#fff}.el-autocomplete-suggestion li:active{background-color:#0082e6}.el-autocomplete-suggestion.is-loading li:hover,.el-dropdown-menu{background-color:#fff}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid #d1dbe5}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:#999}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-autocomplete-suggestion__wrap{max-height:280px;overflow:auto;background-color:#fff;padding:6px 0;border-radius:2px}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-dropdown{color:#48576a;font-size:14px}.el-dropdown .el-button-group{display:block}.el-dropdown .el-dropdown__caret-button{padding-right:5px;padding-left:5px}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{padding-left:0}.el-dropdown__icon{font-size:12px;margin:0 3px}.el-dropdown-menu{margin:5px 0;border:1px solid #d1dbe5;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.12);padding:6px 0;z-index:10;position:absolute;top:0;left:0;min-width:100px}.el-dropdown-menu__item{list-style:none;line-height:36px;padding:0 10px;margin:0;cursor:pointer}.el-dropdown-menu__item:not(.is-disabled):hover{background-color:#e4e8f1;color:#48576a}.el-dropdown-menu__item.is-disabled{cursor:default;color:#bfcbd9;pointer-events:none}.el-dropdown-menu__item--divided{position:relative;margin-top:6px;border-top:1px solid #d1dbe5}.el-dropdown-menu__item--divided:before{content:"";height:6px;display:block;margin:0 -10px;background-color:#fff}.el-menu-item,.el-submenu__title{height:56px;line-height:56px;font-size:14px;color:#48576a;padding:0 20px;cursor:pointer;position:relative;-webkit-transition:border-color .3s,background-color .3s,color .3s;transition:border-color .3s,background-color .3s,color .3s;box-sizing:border-box;white-space:nowrap}.el-menu{border-radius:2px;list-style:none;position:relative;margin:0;padding-left:0;background-color:#eef1f6}.el-menu:after,.el-menu:before{display:table;content:""}.el-menu:after{clear:both}.el-menu li{list-style:none}.el-menu--dark{background-color:#324157}.el-menu--dark .el-menu-item,.el-menu--dark .el-submenu__title{color:#bfcbd9}.el-menu--dark .el-menu-item:hover,.el-menu--dark .el-submenu__title:hover{background-color:#48576a}.el-menu--dark .el-submenu .el-menu{background-color:#1f2d3d}.el-menu--dark .el-submenu .el-menu .el-menu-item:hover{background-color:#48576a}.el-menu--horizontal .el-menu-item{float:left;height:60px;line-height:60px;margin:0;cursor:pointer;position:relative;box-sizing:border-box;border-bottom:5px solid transparent}.el-menu--horizontal .el-menu-item a,.el-menu--horizontal .el-menu-item a:hover{color:inherit}.el-menu--horizontal .el-submenu{float:left;position:relative}.el-menu--horizontal .el-submenu>.el-menu{position:absolute;top:65px;left:0;border:1px solid #d1dbe5;padding:5px 0;background-color:#fff;z-index:100;min-width:100%;box-shadow:0 2px 4px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.el-menu--horizontal .el-submenu .el-submenu__title{height:60px;line-height:60px;border-bottom:5px solid transparent}.el-menu--horizontal .el-submenu .el-menu-item{background-color:#fff;float:none;height:36px;line-height:36px;padding:0 10px}.el-menu--horizontal .el-submenu .el-submenu__icon-arrow{position:static;vertical-align:middle;margin-left:5px;color:#97a8be;margin-top:-3px}.el-menu--horizontal .el-menu-item:hover,.el-menu--horizontal .el-submenu__title:hover{background-color:#eef1f6}.el-menu--horizontal>.el-menu-item:hover,.el-menu--horizontal>.el-submenu.is-active .el-submenu__title,.el-menu--horizontal>.el-submenu:hover .el-submenu__title{border-bottom:5px solid #20a0ff}.el-menu--horizontal.el-menu--dark .el-menu-item:hover,.el-menu--horizontal.el-menu--dark .el-submenu__title:hover{background-color:#324157}.el-menu--horizontal.el-menu--dark .el-submenu .el-menu-item:hover,.el-menu--horizontal.el-menu--dark .el-submenu .el-submenu-title:hover,.el-menu-item:hover{background-color:#d1dbe5}.el-menu--horizontal.el-menu--dark .el-submenu .el-menu-item,.el-menu--horizontal.el-menu--dark .el-submenu .el-submenu-title{color:#48576a}.el-menu--horizontal.el-menu--dark .el-submenu .el-menu-item.is-active,.el-menu-item.is-active{color:#20a0ff}.el-menu-item [class^=el-icon-]{vertical-align:baseline;margin-right:10px}.el-menu-item:first-child{margin-left:0}.el-menu-item:last-child{margin-right:0}.el-submenu [class^=el-icon-]{vertical-align:baseline;margin-right:10px}.el-submenu .el-menu{background-color:#e4e8f1}.el-submenu .el-menu-item:hover,.el-submenu__title:hover{background-color:#d1dbe5}.el-submenu .el-menu-item{height:50px;line-height:50px;padding:0 45px}.el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.el-submenu.is-active .el-submenu__title{border-bottom-color:#20a0ff}.el-submenu__title{position:relative}.el-submenu__icon-arrow{position:absolute;top:50%;right:20px;margin-top:-7px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;font-size:12px}.el-radio,.el-radio__inner,.el-radio__input{position:relative;display:inline-block}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding-top:15px;line-height:normal;font-size:14px;padding-left:20px;color:#97a8be}.el-radio{color:#1f2d3d;cursor:pointer;white-space:nowrap}.el-radio+.el-radio{margin-left:15px}.el-radio__input{white-space:nowrap;cursor:pointer;outline:0;line-height:1;vertical-align:middle}.el-radio__input.is-focus .el-radio__inner{border-color:#20a0ff}.el-radio__input.is-checked .el-radio__inner{border-color:#20a0ff;background:#20a0ff}.el-radio__input.is-checked .el-radio__inner:after{-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-disabled .el-radio__inner{background-color:#eef1f6;border-color:#d1dbe5;cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:#eef1f6}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:#d1dbe5;border-color:#d1dbe5}.el-radio__inner,.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:#fff}.el-radio__input.is-disabled+.el-radio__label{color:#bbb;cursor:not-allowed}.el-radio__inner{border:1px solid #bfcbd9;width:18px;height:18px;border-radius:50%;cursor:pointer;box-sizing:border-box}.el-radio__inner:hover{border-color:#20a0ff}.el-radio__inner:after{width:6px;height:6px;border-radius:50%;background-color:#fff;content:"";position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0);-webkit-transition:-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6);transition:-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6);transition:transform .15s cubic-bezier(.71,-.46,.88,.6);transition:transform .15s cubic-bezier(.71,-.46,.88,.6),-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6)}.el-switch__core,.el-switch__label{width:46px;height:22px;cursor:pointer}.el-radio__original{opacity:0;outline:0;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio-button,.el-radio-button__inner{position:relative;display:inline-block}.el-radio__label{font-size:14px;padding-left:5px}.el-radio-group{display:inline-block;font-size:0;line-height:1}.el-radio-group .el-radio{font-size:14px}.el-radio-button:first-child .el-radio-button__inner{border-left:1px solid #bfcbd9;border-radius:4px 0 0 4px;box-shadow:none!important}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 4px 4px 0}.el-radio-button__inner{line-height:1;white-space:nowrap;vertical-align:middle;background:#fff;border:1px solid #bfcbd9;border-left:0;color:#1f2d3d;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;cursor:pointer;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);padding:10px 15px;font-size:14px;border-radius:0}.el-radio-button__inner:hover{color:#20a0ff}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button__orig-radio{opacity:0;outline:0;position:absolute;z-index:-1;left:-999px}.el-radio-button__orig-radio:checked+.el-radio-button__inner{color:#fff;background-color:#20a0ff;border-color:#20a0ff;box-shadow:-1px 0 0 0 #20a0ff}.el-radio-button__orig-radio:disabled+.el-radio-button__inner{color:#bfcbd9;cursor:not-allowed;background-image:none;background-color:#eef1f6;border-color:#d1dbe5;box-shadow:none}.el-radio-button--large .el-radio-button__inner{padding:11px 19px;font-size:16px;border-radius:0}.el-radio-button--small .el-radio-button__inner{padding:7px 9px;font-size:12px;border-radius:0}.el-radio-button--mini .el-radio-button__inner{padding:4px;font-size:12px;border-radius:0}.el-switch{display:inline-block;position:relative;font-size:14px;line-height:22px;height:22px;vertical-align:middle}.el-switch__label,.el-switch__label *{position:absolute;font-size:14px;display:inline-block}.el-switch .label-fade-enter,.el-switch .label-fade-leave-active{opacity:0}.el-switch.is-disabled .el-switch__core{border-color:#e4e8f1!important;background:#e4e8f1!important}.el-switch.is-disabled .el-switch__core span{background-color:#fbfdff!important}.el-switch.is-disabled .el-switch__core~.el-switch__label *{color:#fbfdff!important}.el-switch.is-disabled .el-switch__input:checked+.el-switch__core{border-color:#e4e8f1;background-color:#e4e8f1}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{-webkit-transition:.2s;transition:.2s;z-index:10;left:0;top:0;-moz-user-select:none;user-select:none}.el-checkbox,.el-date-table,.el-switch__label,.el-time-panel{-webkit-user-select:none;-ms-user-select:none}.el-switch__label *{line-height:1;top:4px;color:#fff}.el-switch__label--left i{left:6px}.el-switch__label--right i{right:6px}.el-switch__input{display:none}.el-switch__input:checked+.el-switch__core{border-color:#20a0ff;background-color:#20a0ff}.el-switch__core{margin:0;display:inline-block;position:relative;border:1px solid #bfcbd9;outline:0;border-radius:12px;box-sizing:border-box;background:#bfcbd9;-webkit-transition:border-color .3s,background-color .3s;transition:border-color .3s,background-color .3s}.el-switch__core .el-switch__button{top:0;left:0;position:absolute;border-radius:100%;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;width:16px;height:16px;z-index:20;background-color:#fff}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-select-dropdown{position:absolute;z-index:1001;border:1px solid #d1dbe5;border-radius:2px;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);box-sizing:border-box;margin:5px 0}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:#20a0ff;background-color:#fff}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover,.el-select-dropdown__item.hover{background-color:#e4e8f1}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected:after{position:absolute;right:10px;font-family:element-icons;content:"\\E608";font-size:11px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:#999;font-size:14px}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.el-select-dropdown__item{font-size:14px;padding:8px 10px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#48576a;height:36px;line-height:1.5;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.selected{color:#fff;background-color:#20a0ff}.el-select-dropdown__item.selected.hover{background-color:#1c8de0}.el-select-dropdown__item span{line-height:1.5!important}.el-select-dropdown__item.is-disabled{color:#bfcbd9;cursor:not-allowed}.el-select-dropdown__item.is-disabled:hover{background-color:#fff}.el-select-group{margin:0;padding:0}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select-group__wrap{list-style:none;margin:0;padding:0}.el-select-group__title{padding-left:10px;font-size:12px;color:#999;height:30px;line-height:30px}.el-select{display:inline-block;position:relative}.el-select:hover .el-input__inner{border-color:#8391a5}.el-select .el-input__inner{cursor:pointer}.el-select .el-input__inner:focus{border-color:#20a0ff}.el-select .el-input .el-input__icon{font-size:12px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;line-height:16px;top:50%;cursor:pointer}.el-select .el-input .el-input__icon,.el-select .el-input .el-input__icon.is-show-close{color:#bfcbd9;-webkit-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.el-select .el-input .el-input__icon.is-show-close{-webkit-transition:0s;transition:0s;width:16px;height:16px;font-size:14px;right:8px;text-align:center;border-radius:100%}.el-select .el-input .el-input__icon.is-show-close:hover{color:#97a8be}.el-select .el-input .el-input__icon.is-reverse{-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-select .el-input.is-disabled .el-input__inner{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__inner:hover{border-color:#d1dbe5}.el-select>.el-input{display:block}.el-select .el-tag__close{margin-top:-2px}.el-select .el-tag{height:24px;line-height:24px;box-sizing:border-box;margin:3px 0 3px 6px}.el-select__input{border:none;outline:0;padding:0;margin-left:10px;color:#666;font-size:14px;vertical-align:baseline;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;background-color:transparent}.el-select__input.is-mini{height:14px}.el-select__close{cursor:pointer;position:absolute;top:8px;z-index:1000;right:25px;color:#bfcbd9;line-height:18px;font-size:12px}.el-select__close:hover{color:#97a8be}.el-select__tags{position:absolute;line-height:normal;white-space:normal;z-index:1000;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-table,.el-table td,.el-table th{box-sizing:border-box;position:relative}.el-table .el-tooltip.cell,.el-table th,.el-table th>div{white-space:nowrap}.el-select__tag{display:inline-block;height:24px;line-height:24px;font-size:14px;border-radius:4px;color:#fff;background-color:#20a0ff}.el-select__tag .el-icon-close{font-size:12px}.el-table{overflow:hidden;width:100%;max-width:100%;background-color:#fff;border:1px solid #dfe6ec;font-size:14px;color:#1f2d3d}.el-table td,.el-table th{height:40px;min-width:0;text-overflow:ellipsis;vertical-align:middle}.el-table:after,.el-table:before{content:"";position:absolute;background-color:#dfe6ec;z-index:1}.el-table td.is-right,.el-table th.is-right{text-align:right}.el-table td.is-left,.el-table th.is-left{text-align:left}.el-table td.is-center,.el-table th.is-center{text-align:center}.el-table td,.el-table th.is-leaf{border-bottom:1px solid #dfe6ec}.el-table td.gutter,.el-table th.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table .cell,.el-table th>div{padding-left:18px;padding-right:18px;box-sizing:border-box;text-overflow:ellipsis}.el-table:before{left:0;bottom:0;width:100%;height:1px}.el-table:after{top:0;right:0;width:1px;height:100%}.el-table .caret-wrapper,.el-table th>.cell{position:relative;display:inline-block;vertical-align:middle}.el-table th{overflow:hidden;background-color:#eef1f6;text-align:left}.el-table th>div{display:inline-block;line-height:40px;overflow:hidden}.el-table td>div{box-sizing:border-box}.el-table th.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table th>.cell{word-wrap:normal;text-overflow:ellipsis;line-height:20px;width:100%;box-sizing:border-box}.el-table th>.cell.highlight{color:#20a0ff}.el-table .caret-wrapper{cursor:pointer;margin-left:5px;margin-top:-2px;width:16px;height:34px;overflow:visible;overflow:initial}.el-table .cell,.el-table__header-wrapper{overflow:hidden}.el-table .sort-caret{display:inline-block;width:0;height:0;border:0;content:"";position:absolute;left:3px;z-index:2}.el-table .sort-caret.ascending,.el-table .sort-caret.descending{border-right:5px solid transparent;border-left:5px solid transparent}.el-table .sort-caret.ascending{top:11px;border-top:none;border-bottom:5px solid #97a8be}.el-table .sort-caret.descending{bottom:11px;border-top:5px solid #97a8be;border-bottom:none}.el-table .ascending .sort-caret.ascending{border-bottom-color:#48576a}.el-table .descending .sort-caret.descending{border-top-color:#48576a}.el-table td.gutter{width:0}.el-table .cell{white-space:normal;word-break:break-all;line-height:24px}.el-table tr input[type=checkbox]{margin:0}.el-table tr{background-color:#fff}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-table__empty-text{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#5e7382}.el-table__expand-column .cell{padding:0;text-align:center}.el-table__expand-icon{position:relative;cursor:pointer;color:#666;font-size:12px;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;height:40px}.el-table__fixed-header-wrapper thead div,.el-table__header-wrapper thead div{color:#1f2d3d;background-color:#eef1f6}.el-table__expand-icon>.el-icon{position:absolute;left:50%;top:50%;margin-left:-5px;margin-top:-5px}.el-table__expand-icon--expanded{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-table__expanded-cell{padding:20px 50px;background-color:#fbfdff;box-shadow:inset 0 2px 0 #f4f4f4}.el-table__expanded-cell:hover{background-color:#fbfdff!important}.el-table--fit{border-right:0;border-bottom:0}.el-table--border th,.el-table__fixed-right-patch{border-bottom:1px solid #dfe6ec}.el-table--fit td.gutter,.el-table--fit th.gutter{border-right-width:1px}.el-table--border td,.el-table--border th{border-right:1px solid #dfe6ec}.el-table__fixed,.el-table__fixed-right{position:absolute;top:0;left:0;box-shadow:1px 0 8px #d3d4d6;overflow-x:hidden}.el-table__fixed-right:before,.el-table__fixed:before{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background-color:#dfe6ec;z-index:4}.el-table__fixed-right-patch{position:absolute;top:-1px;right:0;background-color:#eef1f6}.el-table__fixed-right{top:0;left:auto;right:0;box-shadow:-1px 0 8px #d3d4d6}.el-table__fixed-right .el-table__fixed-body-wrapper,.el-table__fixed-right .el-table__fixed-header-wrapper{left:auto;right:0}.el-table__fixed-header-wrapper{position:absolute;left:0;top:0;z-index:3}.el-table__fixed-body-wrapper{position:absolute;left:0;top:37px;overflow:hidden;z-index:3}.el-table__body-wrapper,.el-table__header-wrapper{width:100%}.el-table__body,.el-table__header{table-layout:fixed}.el-table__body-wrapper{overflow:auto;position:relative}.el-table--striped .el-table__body tr:nth-child(2n) td{background:#fafafa}.el-table--striped .el-table__body tr:nth-child(2n).current-row td{background:#edf7ff}.el-table__body tr.hover-row>td{background-color:#eef1f6}.el-table__body tr.current-row>td{background:#edf7ff}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:1px solid #dfe6ec;z-index:10}.el-checkbox,.el-checkbox__input{cursor:pointer;display:inline-block;position:relative;white-space:nowrap}.el-table__column-filter-trigger{display:inline-block;line-height:34px;margin-left:5px;cursor:pointer}.el-table__column-filter-trigger i{color:#97a8be}.el-table--enable-row-transition .el-table__body td{-webkit-transition:background-color .25s ease;transition:background-color .25s ease}.el-table--enable-row-hover tr:hover>td{background-color:#eef1f6}.el-table--fluid-height .el-table__fixed,.el-table--fluid-height .el-table__fixed-right{bottom:0;overflow:hidden}.el-checkbox{color:#1f2d3d;-moz-user-select:none}.el-checkbox+.el-checkbox{margin-left:15px}.el-checkbox__input{outline:0;line-height:1;vertical-align:middle}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:#20a0ff;border-color:#0190fe}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;border:1px solid #fff;margin-top:-1px;left:3px;right:3px;top:50%}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__input.is-focus .el-checkbox__inner{border-color:#20a0ff}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:#20a0ff;border-color:#0190fe}.el-checkbox__input.is-checked .el-checkbox__inner:after{-webkit-transform:rotate(45deg) scaleY(1);transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:#eef1f6;border-color:#d1dbe5;cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:#eef1f6}.el-checkbox__input.is-disabled .el-checkbox__inner+.el-checkbox__label{cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#d1dbe5;border-color:#d1dbe5}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:#fff}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:#d1dbe5;border-color:#d1dbe5}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{border-color:#fff}.el-checkbox__input.is-disabled+.el-checkbox__label{color:#bbb;cursor:not-allowed}.el-checkbox__inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:4px;box-sizing:border-box;width:18px;height:18px;background-color:#fff;z-index:1;-webkit-transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:#20a0ff}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:5px;position:absolute;top:1px;-webkit-transform:rotate(45deg) scaleY(0);transform:rotate(45deg) scaleY(0);width:4px;-webkit-transition:-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transition:-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s,-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;-webkit-transform-origin:center;transform-origin:center}.el-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;left:-999px}.el-checkbox__label{font-size:14px;padding-left:5px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:1px solid #d1dbe5;border-radius:2px;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.12);box-sizing:border-box;margin:2px 0}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:14px}.el-table-filter__list-item:hover{background-color:#e4e8f1;color:#48576a}.el-table-filter__list-item.is-active{background-color:#20a0ff;color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid #d1dbe5;padding:8px}.el-table-filter__bottom button{background:0 0;border:none;color:#8391a5;cursor:pointer;font-size:14px;padding:0 3px}.el-table-filter__bottom button:hover{color:#20a0ff}.el-table-filter__bottom button:focus{outline:0}.el-table-filter__bottom button.is-disabled{color:#bfcbd9;cursor:not-allowed}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group .el-checkbox{display:block;margin-bottom:8px;margin-left:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-date-table{font-size:12px;min-width:224px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.el-date-table td{width:32px;height:32px;box-sizing:border-box;text-align:center;cursor:pointer}.el-date-table td.next-month,.el-date-table td.prev-month{color:#ddd}.el-date-table td.today{color:#20a0ff;position:relative}.el-date-table td.today:before{content:" ";position:absolute;top:0;right:0;width:0;height:0;border-top:.5em solid #20a0ff;border-left:.5em solid transparent}.el-month-table td .cell,.el-year-table td .cell{width:48px;height:32px;display:block;line-height:32px}.el-date-table td.available:hover{background-color:#e4e8f1}.el-date-table td.in-range{background-color:#d2ecff}.el-date-table td.in-range:hover{background-color:#afddff}.el-date-table td.current:not(.disabled),.el-date-table td.end-date,.el-date-table td.start-date{background-color:#20a0ff!important;color:#fff}.el-date-table td.disabled{background-color:#f4f4f4;opacity:1;cursor:not-allowed;color:#ccc}.el-fade-in-enter,.el-fade-in-leave-active,.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.el-date-table td.week{font-size:80%;color:#8391a5}.el-month-table,.el-year-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-date-table th{padding:5px;color:#8391a5;font-weight:400}.el-date-table.is-week-mode .el-date-table__row:hover{background-color:#e4e8f1}.el-date-table.is-week-mode .el-date-table__row.current{background-color:#d2ecff}.el-month-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-month-table td .cell{color:#48576a}.el-month-table td .cell:hover{background-color:#e4e8f1}.el-month-table td.disabled .cell{background-color:#f4f4f4;cursor:not-allowed;color:#ccc}.el-month-table td.current:not(.disabled) .cell{background-color:#20a0ff!important;color:#fff}.el-year-table .el-icon{color:#97a8be}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td .cell{color:#48576a}.el-year-table td .cell:hover{background-color:#e4e8f1}.el-year-table td.disabled .cell{background-color:#f4f4f4;cursor:not-allowed;color:#ccc}.el-year-table td.current:not(.disabled) .cell{background-color:#20a0ff!important;color:#fff}.el-date-range-picker{min-width:520px}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker.has-sidebar.has-time{min-width:766px}.el-date-range-picker.has-sidebar{min-width:620px}.el-date-range-picker.has-time{min-width:660px}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header button{float:left}.el-date-range-picker__header div{font-size:14px;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-right .el-date-range-picker__header button{float:right}.el-date-range-picker__content.is-right .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__content.is-left{border-right:1px solid #e4e4e4}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid #e4e4e4;font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:#97a8be}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-time-range-picker{min-width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-picker-panel,.el-time-range-picker__body{border-radius:2px;border:1px solid #d1dbe5}.el-picker-panel{color:#48576a;box-shadow:0 2px 6px #ccc;background:#fff;line-height:20px;margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid #e4e4e4;padding:4px;text-align:right;background-color:#fff;position:relative}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:#48576a;padding-left:12px;text-align:left;outline:0;cursor:pointer}.el-picker-panel__shortcut:hover{background-color:#e4e8f1}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:#20a0ff}.el-picker-panel__btn{border:1px solid #dcdcdc;color:#333;line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-picker-panel__btn[disabled]{color:#ccc;cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:#97a8be;border:0;background:0 0;cursor:pointer;outline:0;margin-top:3px}.el-date-picker__header-label.active,.el-date-picker__header-label:hover,.el-picker-panel__icon-btn:hover{color:#20a0ff}.el-picker-panel__link-btn{cursor:pointer;color:#20a0ff;text-decoration:none;padding:15px;font-size:12px}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid #e4e4e4;box-sizing:border-box;padding-top:6px;background-color:#fbfdff}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{min-width:254px}.el-date-picker .el-picker-panel__content{min-width:224px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker.has-sidebar.has-time{min-width:434px}.el-date-picker.has-sidebar{min-width:370px}.el-date-picker.has-time{min-width:324px}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid #e4e4e4;font-size:12px;padding:8px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header-label{font-size:14px;padding:0 5px;line-height:22px;text-align:center;cursor:pointer}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{max-height:200px;margin:0}.time-select-item{padding:8px 10px;font-size:14px}.time-select-item.selected:not(.disabled){background-color:#20a0ff;color:#fff}.time-select-item.selected:not(.disabled):hover{background-color:#20a0ff}.time-select-item.disabled{color:#d1dbe5;cursor:not-allowed}.time-select-item:hover{background-color:#e4e8f1;cursor:pointer}.fade-in-linear-enter-active,.fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.el-fade-in-enter-active,.el-fade-in-leave-active,.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter,.el-zoom-in-center-leave-active{opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;transition:opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;transition:transform .3s cubic-bezier(.23,1,.32,1) .1s,opacity .3s cubic-bezier(.23,1,.32,1) .1s;transition:transform .3s cubic-bezier(.23,1,.32,1) .1s,opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;-webkit-transform-origin:center top;transform-origin:center top}.el-zoom-in-top-enter,.el-zoom-in-top-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;transition:opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;transition:transform .3s cubic-bezier(.23,1,.32,1) .1s,opacity .3s cubic-bezier(.23,1,.32,1) .1s;transition:transform .3s cubic-bezier(.23,1,.32,1) .1s,opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;-webkit-transform-origin:center bottom;transform-origin:center bottom}.el-zoom-in-bottom-enter,.el-zoom-in-bottom-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.collapse-transition{-webkit-transition:height .3s ease-in-out,padding-top .3s ease-in-out,padding-bottom .3s ease-in-out;transition:height .3s ease-in-out,padding-top .3s ease-in-out,padding-bottom .3s ease-in-out}.list-enter-active,.list-leave-active{-webkit-transition:all 1s;transition:all 1s}.list-enter,.list-leave-active{opacity:0;-webkit-transform:translateY(-30px);transform:translateY(-30px)}.el-date-editor{position:relative;display:inline-block}.el-date-editor .el-picker-panel{position:absolute;min-width:180px;box-sizing:border-box;box-shadow:0 2px 6px #ccc;background:#fff;z-index:10;top:41px}.el-date-editor.el-input{width:193px}.el-date-editor--daterange.el-input{width:220px}.el-date-editor--datetimerange.el-input{width:350px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33%}.el-time-spinner.has-seconds .el-time-spinner__wrapper .el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner.has-seconds .el-time-spinner__wrapper:nth-child(2){margin-left:1%}.el-time-spinner__wrapper{max-height:190px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__list{padding:0;margin:0;list-style:none;text-align:center}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px}.el-time-spinner__item:hover:not(.disabled):not(.active){background:#e4e8f1;cursor:pointer}.el-time-spinner__item.active:not(.disabled){color:#fff}.el-time-spinner__item.disabled{color:#d1dbe5;cursor:not-allowed}.el-time-panel{margin:5px 0;border:1px solid #d1dbe5;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);border-radius:2px;position:absolute;width:180px;left:0;z-index:1000;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.el-popover,.el-tabs--border-card{box-shadow:0 2px 4px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.el-button,.el-slider__button-wrapper{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:":";top:50%;color:#fff;position:absolute;font-size:14px;margin-top:-15px;line-height:16px;background-color:#20a0ff;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left}.el-time-panel__content:after{left:50%;margin-left:-2px}.el-time-panel__content:before{padding-left:50%;margin-right:-2px}.el-time-panel__content.has-seconds:after{left:66.66667%}.el-time-panel__content.has-seconds:before{padding-left:33.33333%}.el-time-panel__footer{border-top:1px solid #e4e4e4;padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:0;font-size:12px;color:#8391a5}.el-time-panel__btn.confirm{font-weight:800;color:#20a0ff}.el-popover{position:absolute;background:#fff;min-width:150px;border-radius:2px;border:1px solid #d1dbe5;padding:10px;z-index:2000;font-size:12px}.el-popover .popper__arrow,.el-popover .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-popover .popper__arrow{border-width:6px}.el-popover .popper__arrow:after{content:" ";border-width:6px}.el-popover[x-placement^=top]{margin-bottom:12px}.el-popover[x-placement^=top] .popper__arrow{bottom:-6px;left:50%;margin-right:3px;border-top-color:#d1dbe5;border-bottom-width:0}.el-popover[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.el-popover[x-placement^=bottom]{margin-top:12px}.el-popover[x-placement^=bottom] .popper__arrow{top:-6px;left:50%;margin-right:3px;border-top-width:0;border-bottom-color:#d1dbe5}.el-popover[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.el-popover[x-placement^=right]{margin-left:12px}.el-popover[x-placement^=right] .popper__arrow{top:50%;left:-6px;margin-bottom:3px;border-right-color:#d1dbe5;border-left-width:0}.el-popover[x-placement^=right] .popper__arrow:after{bottom:-6px;left:1px;border-right-color:#fff;border-left-width:0}.el-popover[x-placement^=left]{margin-right:12px}.el-popover[x-placement^=left] .popper__arrow{top:50%;right:-6px;margin-bottom:3px;border-right-width:0;border-left-color:#d1dbe5}.el-popover[x-placement^=left] .popper__arrow:after{right:1px;bottom:-6px;margin-left:-6px;border-right-width:0;border-left-color:#fff}.el-popover__title{color:#1f2d3d;font-size:13px;line-height:1;margin-bottom:9px}.v-modal-enter{-webkit-animation:v-modal-in .2s ease;animation:v-modal-in .2s ease}.v-modal-leave{-webkit-animation:v-modal-out .2s ease forwards;animation:v-modal-out .2s ease forwards}@-webkit-keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-in{0%{opacity:0}}@-webkit-keyframes v-modal-out{to{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:.5;background:#000}.el-button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #bfcbd9;color:#1f2d3d;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;padding:10px 15px;font-size:14px;border-radius:4px}.el-button+.el-button{margin-left:10px}.el-button:focus,.el-button:hover{color:#20a0ff;border-color:#20a0ff}.el-button:active{color:#1d90e6;border-color:#1d90e6;outline:0}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon-]+span{margin-left:5px}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:hsla(0,0%,100%,.35)}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:#bfcbd9;cursor:not-allowed;background-image:none;background-color:#eef1f6;border-color:#d1dbe5}.el-button.is-disabled.el-button--text{background-color:transparent}.el-button.is-disabled.is-plain,.el-button.is-disabled.is-plain:focus,.el-button.is-disabled.is-plain:hover{background-color:#fff;border-color:#d1dbe5;color:#bfcbd9}.el-button.is-active{color:#1d90e6;border-color:#1d90e6}.el-button.is-plain:focus,.el-button.is-plain:hover{background:#fff;border-color:#20a0ff;color:#20a0ff}.el-button.is-plain:active{background:#fff;border-color:#1d90e6;color:#1d90e6;outline:0}.el-button--primary{color:#fff;background-color:#20a0ff;border-color:#20a0ff}.el-button--primary:focus,.el-button--primary:hover{background:#4db3ff;border-color:#4db3ff;color:#fff}.el-button--primary.is-active,.el-button--primary:active{background:#1d90e6;border-color:#1d90e6;color:#fff}.el-button--primary:active{outline:0}.el-button--primary.is-plain{background:#fff;border:1px solid #bfcbd9;color:#1f2d3d}.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover{background:#fff;border-color:#20a0ff;color:#20a0ff}.el-button--primary.is-plain:active{background:#fff;border-color:#1d90e6;color:#1d90e6;outline:0}.el-button--success{color:#fff;background-color:#13ce66;border-color:#13ce66}.el-button--success:focus,.el-button--success:hover{background:#42d885;border-color:#42d885;color:#fff}.el-button--success.is-active,.el-button--success:active{background:#11b95c;border-color:#11b95c;color:#fff}.el-button--success:active{outline:0}.el-button--success.is-plain{background:#fff;border:1px solid #bfcbd9;color:#1f2d3d}.el-button--success.is-plain:focus,.el-button--success.is-plain:hover{background:#fff;border-color:#13ce66;color:#13ce66}.el-button--success.is-plain:active{background:#fff;border-color:#11b95c;color:#11b95c;outline:0}.el-button--warning{color:#fff;background-color:#f7ba2a;border-color:#f7ba2a}.el-button--warning:focus,.el-button--warning:hover{background:#f9c855;border-color:#f9c855;color:#fff}.el-button--warning.is-active,.el-button--warning:active{background:#dea726;border-color:#dea726;color:#fff}.el-button--warning:active{outline:0}.el-button--warning.is-plain{background:#fff;border:1px solid #bfcbd9;color:#1f2d3d}.el-button--warning.is-plain:focus,.el-button--warning.is-plain:hover{background:#fff;border-color:#f7ba2a;color:#f7ba2a}.el-button--warning.is-plain:active{background:#fff;border-color:#dea726;color:#dea726;outline:0}.el-button--danger{color:#fff;background-color:#ff4949;border-color:#ff4949}.el-button--danger:focus,.el-button--danger:hover{background:#ff6d6d;border-color:#ff6d6d;color:#fff}.el-button--danger.is-active,.el-button--danger:active{background:#e64242;border-color:#e64242;color:#fff}.el-button--danger:active{outline:0}.el-button--danger.is-plain{background:#fff;border:1px solid #bfcbd9;color:#1f2d3d}.el-button--danger.is-plain:focus,.el-button--danger.is-plain:hover{background:#fff;border-color:#ff4949;color:#ff4949}.el-button--danger.is-plain:active{background:#fff;border-color:#e64242;color:#e64242;outline:0}.el-button--info{color:#fff;background-color:#50bfff;border-color:#50bfff}.el-button--info:focus,.el-button--info:hover{background:#73ccff;border-color:#73ccff;color:#fff}.el-button--info.is-active,.el-button--info:active{background:#48ace6;border-color:#48ace6;color:#fff}.el-button--info:active{outline:0}.el-button--info.is-plain{background:#fff;border:1px solid #bfcbd9;color:#1f2d3d}.el-button--info.is-plain:focus,.el-button--info.is-plain:hover{background:#fff;border-color:#50bfff;color:#50bfff}.el-button--info.is-plain:active{background:#fff;border-color:#48ace6;color:#48ace6;outline:0}.el-button--large{padding:11px 19px;font-size:16px;border-radius:4px}.el-button--small{padding:7px 9px;font-size:12px;border-radius:4px}.el-button--mini{padding:4px;font-size:12px;border-radius:4px}.el-button--text{border:none;color:#20a0ff;background:0 0;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{color:#4db3ff}.el-button--text:active{color:#1d90e6}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group .el-button--primary:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button{float:left;position:relative}.el-button-group .el-button+.el-button{margin-left:0}.el-button-group .el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group .el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group .el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group .el-button:not(:last-child){margin-right:-1px}.el-button-group .el-button.is-active,.el-button-group .el-button:active,.el-button-group .el-button:focus,.el-button-group .el-button:hover{z-index:1}.el-message-box{text-align:left;display:inline-block;vertical-align:middle;background-color:#fff;width:420px;border-radius:3px;font-size:16px;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}.el-message-box__wrapper{position:fixed;top:0;bottom:0;left:0;right:0;text-align:center}.el-message-box__wrapper:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.el-message-box__header{position:relative;padding:20px 20px 0}.el-message-box__content{padding:30px 20px;color:#48576a;font-size:14px;position:relative}.el-message-box__close{display:inline-block;position:absolute;top:19px;right:20px;color:#999;cursor:pointer;line-height:20px;text-align:center}.el-message-box__close:hover{color:#20a0ff}.el-message-box__input{padding-top:15px}.el-message-box__input input.invalid,.el-message-box__input input.invalid:focus{border-color:#ff4949}.el-message-box__errormsg{color:#ff4949;font-size:12px;min-height:18px;margin-top:2px}.el-message-box__title{padding-left:0;margin-bottom:0;font-size:16px;font-weight:700;height:18px;color:#333}.el-message-box__message{margin:0}.el-message-box__message p{margin:0;line-height:1.4}.el-message-box__btns{padding:10px 20px 15px;text-align:right}.el-message-box__btns button:nth-child(2){margin-left:10px}.el-message-box__btns-reverse{-ms-flex-direction:row-reverse;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse}.el-message-box__status{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:36px!important}.el-message-box__status.el-icon-circle-check{color:#13ce66}.el-message-box__status.el-icon-information{color:#50bfff}.el-message-box__status.el-icon-warning{color:#f7ba2a}.el-message-box__status.el-icon-circle-cross{color:#ff4949}.msgbox-fade-enter-active{-webkit-animation:msgbox-fade-in .3s;animation:msgbox-fade-in .3s}.msgbox-fade-leave-active{-webkit-animation:msgbox-fade-out .3s;animation:msgbox-fade-out .3s}@-webkit-keyframes msgbox-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes msgbox-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@-webkit-keyframes msgbox-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}@keyframes msgbox-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}.el-breadcrumb{font-size:13px;line-height:1}.el-breadcrumb__separator{margin:0 8px;color:#bfcbd9}.el-breadcrumb__item{float:left}.el-breadcrumb__item:last-child .el-breadcrumb__item__inner,.el-breadcrumb__item:last-child .el-breadcrumb__item__inner:hover,.el-breadcrumb__item:last-child .el-breadcrumb__item__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__item__inner a:hover{color:#97a8be;cursor:text}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-breadcrumb__item__inner,.el-breadcrumb__item__inner a{-webkit-transition:color .15s linear;transition:color .15s linear;color:#48576a}.el-breadcrumb__item__inner:hover,.el-breadcrumb__item__inner a:hover{color:#20a0ff;cursor:pointer}.el-form--label-left .el-form-item__label{text-align:left}.el-form--label-top .el-form-item__label{float:none;display:inline-block;text-align:left;padding:0 0 10px}.el-form--inline .el-form-item{display:inline-block;margin-right:10px;vertical-align:top}.el-form--inline .el-form-item__label{float:none;display:inline-block}.el-form--inline .el-form-item__content{display:inline-block;vertical-align:top}.el-form--inline.el-form--label-top .el-form-item__content{display:block}.el-form-item{margin-bottom:22px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-form-item .el-form-item__content{margin-left:0!important}.el-form-item.is-error .el-input-group__append .el-input__inner,.el-form-item.is-error .el-input-group__prepend .el-input__inner,.el-form-item.is-error .el-input__inner{border-color:transparent}.el-form-item.is-error .el-input__inner,.el-form-item.is-error .el-textarea__inner{border-color:#ff4949}.el-form-item.is-required .el-form-item__label:before{content:"*";color:#ff4949;margin-right:4px}.el-form-item__label{text-align:right;vertical-align:middle;float:left;font-size:14px;color:#48576a;line-height:1;padding:11px 12px 11px 0;box-sizing:border-box}.el-form-item__content{line-height:36px;position:relative;font-size:14px}.el-form-item__error{color:#ff4949;font-size:12px;line-height:1;padding-top:4px;position:absolute;top:100%;left:0}.el-tabs__header{border-bottom:1px solid #d1dbe5;padding:0;position:relative;margin:0 0 15px}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:3px;background-color:#20a0ff;z-index:1;-webkit-transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);list-style:none}.el-tabs__new-tab{float:right;border:1px solid #d3dce6;height:18px;width:18px;line-height:18px;margin:12px 0 9px 10px;border-radius:3px;text-align:center;font-size:12px;color:#d3dce6;cursor:pointer;-webkit-transition:all .15s;transition:all .15s}.el-tabs__new-tab .el-icon-plus{-webkit-transform:scale(.8);transform:scale(.8)}.el-tabs__new-tab:hover{color:#20a0ff}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative}.el-tabs__nav-wrap.is-scrollable{padding:0 15px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:#8391a5}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{white-space:nowrap;position:relative;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;float:left}.el-tabs__item{padding:0 16px;height:42px;box-sizing:border-box;line-height:42px;display:inline-block;list-style:none;font-size:14px;color:#8391a5;position:relative}.el-tabs__item .el-icon-close{border-radius:50%;text-align:center;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);margin-left:5px}.el-tabs__item .el-icon-close:before{-webkit-transform:scale(.7);transform:scale(.7);display:inline-block}.el-tabs__item .el-icon-close:hover{background-color:#97a8be;color:#fff}.el-tabs__item:hover{color:#1f2d3d;cursor:pointer}.el-tabs__item.is-disabled{color:#bbb;cursor:default}.el-tabs__item.is-active{color:#20a0ff}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tag,.slideInLeft-transition,.slideInRight-transition{display:inline-block}.el-tabs--card>.el-tabs__header .el-tabs__item .el-icon-close{position:relative;font-size:12px;width:0;height:14px;vertical-align:middle;line-height:15px;overflow:hidden;top:-1px;right:-2px;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .el-icon-close,.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .el-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item{border:1px solid transparent;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-right:9px;padding-left:9px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border:1px solid #d1dbe5;border-bottom-color:#fff;border-radius:4px 4px 0 0}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-right:16px;padding-left:16px}.el-tabs--border-card{background:#fff;border:1px solid #d1dbe5}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:#eef1f6;margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__item{-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);border:1px solid transparent;border-top:0;margin-right:-1px;margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{background-color:#fff;border-right-color:#d1dbe5;border-left-color:#d1dbe5}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active:first-child{border-left-color:#d1dbe5}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active:last-child{border-right-color:#d1dbe5}.slideInRight-enter{-webkit-animation:slideInRight-enter .3s;animation:slideInRight-enter .3s}.slideInRight-leave{position:absolute;left:0;right:0;-webkit-animation:slideInRight-leave .3s;animation:slideInRight-leave .3s}.slideInLeft-enter{-webkit-animation:slideInLeft-enter .3s;animation:slideInLeft-enter .3s}.slideInLeft-leave{position:absolute;left:0;right:0;-webkit-animation:slideInLeft-leave .3s;animation:slideInLeft-leave .3s}@-webkit-keyframes slideInRight-enter{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slideInRight-enter{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slideInRight-leave{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@keyframes slideInRight-leave{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@-webkit-keyframes slideInLeft-enter{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slideInLeft-enter{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slideInLeft-leave{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}@keyframes slideInLeft-leave{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}.el-tag{background-color:#8391a5;padding:0 5px;height:24px;line-height:22px;font-size:12px;color:#fff;border-radius:4px;box-sizing:border-box;border:1px solid transparent;white-space:nowrap}.el-tag .el-icon-close{border-radius:50%;text-align:center;position:relative;cursor:pointer;font-size:12px;-webkit-transform:scale(.75);transform:scale(.75);height:18px;width:18px;line-height:18px;vertical-align:middle;top:-1px;right:-2px}.el-tag .el-icon-close:hover{background-color:#fff;color:#8391a5}.el-tag--gray{background-color:#e4e8f1;border-color:#e4e8f1;color:#48576a}.el-tag--gray .el-tag__close:hover{background-color:#48576a;color:#fff}.el-tag--gray.is-hit{border-color:#48576a}.el-tag--primary{background-color:rgba(32,160,255,.1);border-color:rgba(32,160,255,.2);color:#20a0ff}.el-tag--primary .el-tag__close:hover{background-color:#20a0ff;color:#fff}.el-tag--primary.is-hit{border-color:#20a0ff}.el-tag--success{background-color:rgba(18,206,102,.1);border-color:rgba(18,206,102,.2);color:#13ce66}.el-tag--success .el-tag__close:hover{background-color:#13ce66;color:#fff}.el-tag--success.is-hit{border-color:#13ce66}.el-tag--warning{background-color:rgba(247,186,41,.1);border-color:rgba(247,186,41,.2);color:#f7ba2a}.el-tag--warning .el-tag__close:hover{background-color:#f7ba2a;color:#fff}.el-tag--warning.is-hit{border-color:#f7ba2a}.el-tag--danger{background-color:rgba(255,73,73,.1);border-color:rgba(255,73,73,.2);color:#ff4949}.el-tag--danger .el-tag__close:hover{background-color:#ff4949;color:#fff}.el-tag--danger.is-hit{border-color:#ff4949}.el-tree{cursor:default;background:#fff;border:1px solid #d1dbe5}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#5e7382}.el-tree-node{white-space:nowrap}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree-node__expand-icon,.el-tree-node__label,.el-tree-node__loading-icon{display:inline-block;vertical-align:middle}.el-tree-node__content{line-height:36px;height:36px;cursor:pointer}.el-tree-node__content>.el-checkbox,.el-tree-node__content>.el-tree-node__expand-icon{margin-right:8px}.el-tree-node__content>.el-checkbox{vertical-align:middle}.el-tree-node__content:hover{background:#e4e8f1}.el-tree-node__expand-icon{cursor:pointer;width:0;height:0;margin-left:10px;border:6px solid transparent;border-right-width:0;border-left-color:#97a8be;border-left-width:7px;-webkit-transform:rotate(0);transform:rotate(0);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.el-tree-node__expand-icon:hover{border-left-color:#999}.el-tree-node__expand-icon.expanded{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{border-color:transparent;cursor:default}.el-tree-node__label{font-size:14px}.el-tree-node__loading-icon{margin-right:4px;font-size:14px;color:#97a8be}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:#edf7ff}.el-alert{width:100%;padding:8px 16px;margin:0;box-sizing:border-box;border-radius:4px;position:relative;background-color:#fff;overflow:hidden;color:#fff;opacity:1;display:table;-webkit-transition:opacity .2s;transition:opacity .2s}.el-alert .el-alert__description{color:#fff;font-size:12px;margin:5px 0 0}.el-alert--success{background-color:#13ce66}.el-alert--info{background-color:#50bfff}.el-alert--warning{background-color:#f7ba2a}.el-alert--error{background-color:#ff4949}.el-alert__content{display:table-cell;padding:0 8px}.el-alert__icon{font-size:16px;width:16px;display:table-cell;color:#fff;vertical-align:middle}.el-alert__icon.is-big{font-size:28px;width:28px}.el-alert__title{font-size:13px;line-height:18px}.el-alert__title.is-bold{font-weight:700}.el-alert__closebtn{font-size:12px;color:#fff;opacity:1;top:12px;right:15px;position:absolute;cursor:pointer}.el-alert-fade-enter,.el-alert-fade-leave-active,.el-loading-fade-enter,.el-loading-fade-leave-active,.el-notification-fade-leave-active{opacity:0}.el-alert__closebtn.is-customed{font-style:normal;font-size:13px;top:9px}.el-notification{width:330px;padding:20px;box-sizing:border-box;border-radius:2px;position:fixed;right:16px;background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);-webkit-transition:opacity .3s,right .3s,top .4s,-webkit-transform .3s;transition:opacity .3s,right .3s,top .4s,-webkit-transform .3s;transition:opacity .3s,transform .3s,right .3s,top .4s;transition:opacity .3s,transform .3s,right .3s,top .4s,-webkit-transform .3s;overflow:hidden}.el-notification .el-icon-circle-check{color:#13ce66}.el-notification .el-icon-circle-cross{color:#ff4949}.el-notification .el-icon-information{color:#50bfff}.el-notification .el-icon-warning{color:#f7ba2a}.el-notification__group{margin-left:0}.el-notification__group.is-with-icon{margin-left:55px}.el-notification__title{font-weight:400;font-size:16px;color:#1f2d3d;margin:0}.el-notification__content{font-size:14px;line-height:21px;margin:10px 0 0;color:#8391a5;text-align:justify}.el-notification__icon{width:40px;height:40px;font-size:40px;float:left;position:relative;top:3px}.el-notification__closeBtn{top:20px;right:20px;position:absolute;cursor:pointer;color:#bfcbd9;font-size:14px}.el-notification__closeBtn:hover{color:#97a8be}.el-notification-fade-enter{-webkit-transform:translateX(100%);transform:translateX(100%);right:0}.el-input-number{display:inline-block;overflow:hidden;width:180px;position:relative}.el-input-number .el-input{display:block}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:82px}.el-input-number.is-without-controls .el-input__inner{padding-right:10px}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:#d1dbe5;color:#d1dbe5}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:#d1dbe5;cursor:not-allowed}.el-input-number__decrease,.el-input-number__increase{height:auto;border-left:1px solid #bfcbd9;width:36px;line-height:34px;top:1px;text-align:center;color:#97a8be;cursor:pointer;position:absolute;z-index:1}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:#20a0ff}.el-input-number__decrease:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled),.el-input-number__increase:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled){border-color:#20a0ff}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:#d1dbe5;cursor:not-allowed}.el-input-number__increase{right:0}.el-input-number__decrease{right:37px}.el-input-number--large{width:200px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{line-height:42px;width:42px;font-size:16px}.el-input-number--large .el-input-number__decrease{right:43px}.el-input-number--large .el-input__inner{padding-right:94px}.el-input-number--small{width:130px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{line-height:30px;width:30px;font-size:13px}.el-input-number--small .el-input-number__decrease{right:31px}.el-input-number--small .el-input__inner{padding-right:70px}.el-tooltip__popper{position:absolute;border-radius:4px;padding:10px;z-index:2000;font-size:12px;line-height:1.2}.el-tooltip__popper .popper__arrow,.el-tooltip__popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-tooltip__popper .popper__arrow{border-width:6px}.el-tooltip__popper .popper__arrow:after{content:" ";border-width:5px}.el-progress-bar__inner:after,.el-row:after,.el-row:before,.el-slider:after,.el-slider:before,.el-slider__button-wrapper:after,.el-upload-cover:after{content:""}.el-tooltip__popper[x-placement^=top]{margin-bottom:12px}.el-tooltip__popper[x-placement^=top] .popper__arrow{bottom:-6px;border-top-color:#1f2d3d;border-bottom-width:0}.el-tooltip__popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-5px;border-top-color:#1f2d3d;border-bottom-width:0}.el-tooltip__popper[x-placement^=bottom]{margin-top:12px}.el-tooltip__popper[x-placement^=bottom] .popper__arrow{top:-6px;border-top-width:0;border-bottom-color:#1f2d3d}.el-tooltip__popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-5px;border-top-width:0;border-bottom-color:#1f2d3d}.el-tooltip__popper[x-placement^=right]{margin-left:12px}.el-tooltip__popper[x-placement^=right] .popper__arrow{left:-6px;border-right-color:#1f2d3d;border-left-width:0}.el-tooltip__popper[x-placement^=right] .popper__arrow:after{bottom:-5px;left:1px;border-right-color:#1f2d3d;border-left-width:0}.el-tooltip__popper[x-placement^=left]{margin-right:12px}.el-tooltip__popper[x-placement^=left] .popper__arrow{right:-6px;border-right-width:0;border-left-color:#1f2d3d}.el-tooltip__popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-5px;margin-left:-5px;border-right-width:0;border-left-color:#1f2d3d}.el-tooltip__popper.is-light{background:#fff;border:1px solid #1f2d3d}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow{border-top-color:#1f2d3d}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow:after{border-top-color:#fff}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow{border-bottom-color:#1f2d3d}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#fff}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow{border-left-color:#1f2d3d}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow:after{border-left-color:#fff}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow{border-right-color:#1f2d3d}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow:after{border-right-color:#fff}.el-tooltip__popper.is-dark{background:#1f2d3d;color:#fff}.el-slider:after,.el-slider:before{display:table}.el-slider__button-wrapper .el-tooltip,.el-slider__button-wrapper:after{display:inline-block;vertical-align:middle}.el-slider:after{clear:both}.el-slider__runway{width:100%;height:4px;margin:16px 0;background-color:#e4e8f1;border-radius:3px;position:relative;cursor:pointer;vertical-align:middle}.el-slider__runway.show-input{margin-right:160px;width:auto}.el-slider__runway.disabled{cursor:default}.el-slider__runway.disabled .el-slider__bar,.el-slider__runway.disabled .el-slider__button{background-color:#bfcbd9}.el-slider__runway.disabled .el-slider__button-wrapper.dragging,.el-slider__runway.disabled .el-slider__button-wrapper.hover,.el-slider__runway.disabled .el-slider__button-wrapper:hover{cursor:not-allowed}.el-slider__runway.disabled .el-slider__button.dragging,.el-slider__runway.disabled .el-slider__button.hover,.el-slider__runway.disabled .el-slider__button:hover{-webkit-transform:scale(1);transform:scale(1);cursor:not-allowed}.el-slider__input{float:right;margin-top:3px}.el-slider__bar{height:4px;background-color:#20a0ff;border-top-left-radius:3px;border-bottom-left-radius:3px;position:absolute}.el-slider__button-wrapper{width:36px;height:36px;position:absolute;z-index:1001;top:-16px;-webkit-transform:translateX(-50%);transform:translateX(-50%);background-color:transparent;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-slider__button-wrapper:after{height:100%}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button-wrapper.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__button{width:12px;height:12px;background-color:#20a0ff;border-radius:50%;-webkit-transition:.2s;transition:.2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{-webkit-transform:scale(1.5);transform:scale(1.5);background-color:#1c8de0}.el-slider__button.hover,.el-slider__button:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__stop{position:absolute;width:4px;height:4px;border-radius:100%;background-color:#bfcbd9;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.el-loading-mask{position:absolute;z-index:10000;background-color:hsla(0,0%,100%,.9);margin:0;top:0;right:0;bottom:0;left:0;-webkit-transition:opacity .3s;transition:opacity .3s}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:-25px}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{width:50px;height:50px}.el-loading-spinner{top:50%;margin-top:-21px;width:100%;text-align:center;position:absolute}.el-col-pull-1,.el-col-pull-2,.el-col-pull-3,.el-col-pull-4,.el-col-pull-5,.el-col-pull-6,.el-col-pull-7,.el-col-pull-8,.el-col-pull-9,.el-col-pull-10,.el-col-pull-11,.el-col-pull-12,.el-col-pull-13,.el-col-pull-14,.el-col-pull-15,.el-col-pull-16,.el-col-pull-17,.el-col-pull-18,.el-col-pull-19,.el-col-pull-20,.el-col-pull-21,.el-col-pull-22,.el-col-pull-23,.el-col-pull-24,.el-col-push-1,.el-col-push-2,.el-col-push-3,.el-col-push-4,.el-col-push-5,.el-col-push-6,.el-col-push-7,.el-col-push-8,.el-col-push-9,.el-col-push-10,.el-col-push-11,.el-col-push-13,.el-col-push-14,.el-col-push-15,.el-col-push-16,.el-col-push-17,.el-col-push-18,.el-col-push-19,.el-col-push-20,.el-col-push-21,.el-col-push-22,.el-col-push-23,.el-col-push-24,.el-row{position:relative}.el-loading-spinner .el-loading-text{color:#20a0ff;margin:3px 0;font-size:14px}.el-loading-spinner .circular{width:42px;height:42px;-webkit-animation:loading-rotate 2s linear infinite;animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{-webkit-animation:loading-dash 1.5s ease-in-out infinite;animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:#20a0ff;stroke-linecap:round}@-webkit-keyframes loading-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loading-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-row{box-sizing:border-box}.el-row:after,.el-row:before{display:table}.el-row:after{clear:both}.el-row--flex{display:-ms-flexbox;display:-webkit-box;display:flex}.el-col-0,.el-row--flex:after,.el-row--flex:before{display:none}.el-row--flex.is-align-bottom{-ms-flex-align:end;-webkit-box-align:end;align-items:flex-end}.el-row--flex.is-align-middle{-ms-flex-align:center;-webkit-box-align:center;align-items:center}.el-row--flex.is-justify-space-around{-ms-flex-pack:distribute;justify-content:space-around}.el-row--flex.is-justify-space-between{-ms-flex-pack:justify;-webkit-box-pack:justify;justify-content:space-between}.el-row--flex.is-justify-end{-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end}.el-row--flex.is-justify-center{-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.el-col-1,.el-col-2,.el-col-3,.el-col-4,.el-col-5,.el-col-6,.el-col-7,.el-col-8,.el-col-9,.el-col-10,.el-col-11,.el-col-12,.el-col-13,.el-col-14,.el-col-15,.el-col-16,.el-col-17,.el-col-18,.el-col-19,.el-col-20,.el-col-21,.el-col-22,.el-col-23,.el-col-24{float:left;box-sizing:border-box}.el-col-1{width:4.16667%}.el-col-offset-1{margin-left:4.16667%}.el-col-pull-1{right:4.16667%}.el-col-push-1{left:4.16667%}.el-col-2{width:8.33333%}.el-col-offset-2{margin-left:8.33333%}.el-col-pull-2{right:8.33333%}.el-col-push-2{left:8.33333%}.el-col-3{width:12.5%}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{right:12.5%}.el-col-push-3{left:12.5%}.el-col-4{width:16.66667%}.el-col-offset-4{margin-left:16.66667%}.el-col-pull-4{right:16.66667%}.el-col-push-4{left:16.66667%}.el-col-5{width:20.83333%}.el-col-offset-5{margin-left:20.83333%}.el-col-pull-5{right:20.83333%}.el-col-push-5{left:20.83333%}.el-col-6{width:25%}.el-col-offset-6{margin-left:25%}.el-col-pull-6{right:25%}.el-col-push-6{left:25%}.el-col-7{width:29.16667%}.el-col-offset-7{margin-left:29.16667%}.el-col-pull-7{right:29.16667%}.el-col-push-7{left:29.16667%}.el-col-8{width:33.33333%}.el-col-offset-8{margin-left:33.33333%}.el-col-pull-8{right:33.33333%}.el-col-push-8{left:33.33333%}.el-col-9{width:37.5%}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{right:37.5%}.el-col-push-9{left:37.5%}.el-col-10{width:41.66667%}.el-col-offset-10{margin-left:41.66667%}.el-col-pull-10{right:41.66667%}.el-col-push-10{left:41.66667%}.el-col-11{width:45.83333%}.el-col-offset-11{margin-left:45.83333%}.el-col-pull-11{right:45.83333%}.el-col-push-11{left:45.83333%}.el-col-12{width:50%}.el-col-offset-12{margin-left:50%}.el-col-pull-12{right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{width:54.16667%}.el-col-offset-13{margin-left:54.16667%}.el-col-pull-13{right:54.16667%}.el-col-push-13{left:54.16667%}.el-col-14{width:58.33333%}.el-col-offset-14{margin-left:58.33333%}.el-col-pull-14{right:58.33333%}.el-col-push-14{left:58.33333%}.el-col-15{width:62.5%}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{right:62.5%}.el-col-push-15{left:62.5%}.el-col-16{width:66.66667%}.el-col-offset-16{margin-left:66.66667%}.el-col-pull-16{right:66.66667%}.el-col-push-16{left:66.66667%}.el-col-17{width:70.83333%}.el-col-offset-17{margin-left:70.83333%}.el-col-pull-17{right:70.83333%}.el-col-push-17{left:70.83333%}.el-col-18{width:75%}.el-col-offset-18{margin-left:75%}.el-col-pull-18{right:75%}.el-col-push-18{left:75%}.el-col-19{width:79.16667%}.el-col-offset-19{margin-left:79.16667%}.el-col-pull-19{right:79.16667%}.el-col-push-19{left:79.16667%}.el-col-20{width:83.33333%}.el-col-offset-20{margin-left:83.33333%}.el-col-pull-20{right:83.33333%}.el-col-push-20{left:83.33333%}.el-col-21{width:87.5%}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{right:87.5%}.el-col-push-21{left:87.5%}.el-col-22{width:91.66667%}.el-col-offset-22{margin-left:91.66667%}.el-col-pull-22{right:91.66667%}.el-col-push-22{left:91.66667%}.el-col-23{width:95.83333%}.el-col-offset-23{margin-left:95.83333%}.el-col-pull-23{right:95.83333%}.el-col-push-23{left:95.83333%}.el-col-24{width:100%}.el-col-offset-24{margin-left:100%}.el-col-pull-24{right:100%}.el-col-push-24{left:100%}@media (max-width:768px){.el-col-xs-0{display:none}.el-col-xs-1{width:4.16667%}.el-col-xs-offset-1{margin-left:4.16667%}.el-col-xs-pull-1{position:relative;right:4.16667%}.el-col-xs-push-1{position:relative;left:4.16667%}.el-col-xs-2{width:8.33333%}.el-col-xs-offset-2{margin-left:8.33333%}.el-col-xs-pull-2{position:relative;right:8.33333%}.el-col-xs-push-2{position:relative;left:8.33333%}.el-col-xs-3{width:12.5%}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{width:16.66667%}.el-col-xs-offset-4{margin-left:16.66667%}.el-col-xs-pull-4{position:relative;right:16.66667%}.el-col-xs-push-4{position:relative;left:16.66667%}.el-col-xs-5{width:20.83333%}.el-col-xs-offset-5{margin-left:20.83333%}.el-col-xs-pull-5{position:relative;right:20.83333%}.el-col-xs-push-5{position:relative;left:20.83333%}.el-col-xs-6{width:25%}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{width:29.16667%}.el-col-xs-offset-7{margin-left:29.16667%}.el-col-xs-pull-7{position:relative;right:29.16667%}.el-col-xs-push-7{position:relative;left:29.16667%}.el-col-xs-8{width:33.33333%}.el-col-xs-offset-8{margin-left:33.33333%}.el-col-xs-pull-8{position:relative;right:33.33333%}.el-col-xs-push-8{position:relative;left:33.33333%}.el-col-xs-9{width:37.5%}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{width:41.66667%}.el-col-xs-offset-10{margin-left:41.66667%}.el-col-xs-pull-10{position:relative;right:41.66667%}.el-col-xs-push-10{position:relative;left:41.66667%}.el-col-xs-11{width:45.83333%}.el-col-xs-offset-11{margin-left:45.83333%}.el-col-xs-pull-11{position:relative;right:45.83333%}.el-col-xs-push-11{position:relative;left:45.83333%}.el-col-xs-12{width:50%}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{width:54.16667%}.el-col-xs-offset-13{margin-left:54.16667%}.el-col-xs-pull-13{position:relative;right:54.16667%}.el-col-xs-push-13{position:relative;left:54.16667%}.el-col-xs-14{width:58.33333%}.el-col-xs-offset-14{margin-left:58.33333%}.el-col-xs-pull-14{position:relative;right:58.33333%}.el-col-xs-push-14{position:relative;left:58.33333%}.el-col-xs-15{width:62.5%}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{width:66.66667%}.el-col-xs-offset-16{margin-left:66.66667%}.el-col-xs-pull-16{position:relative;right:66.66667%}.el-col-xs-push-16{position:relative;left:66.66667%}.el-col-xs-17{width:70.83333%}.el-col-xs-offset-17{margin-left:70.83333%}.el-col-xs-pull-17{position:relative;right:70.83333%}.el-col-xs-push-17{position:relative;left:70.83333%}.el-col-xs-18{width:75%}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{width:79.16667%}.el-col-xs-offset-19{margin-left:79.16667%}.el-col-xs-pull-19{position:relative;right:79.16667%}.el-col-xs-push-19{position:relative;left:79.16667%}.el-col-xs-20{width:83.33333%}.el-col-xs-offset-20{margin-left:83.33333%}.el-col-xs-pull-20{position:relative;right:83.33333%}.el-col-xs-push-20{position:relative;left:83.33333%}.el-col-xs-21{width:87.5%}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{width:91.66667%}.el-col-xs-offset-22{margin-left:91.66667%}.el-col-xs-pull-22{position:relative;right:91.66667%}.el-col-xs-push-22{position:relative;left:91.66667%}.el-col-xs-23{width:95.83333%}.el-col-xs-offset-23{margin-left:95.83333%}.el-col-xs-pull-23{position:relative;right:95.83333%}.el-col-xs-push-23{position:relative;left:95.83333%}.el-col-xs-24{width:100%}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media (min-width:768px){.el-col-sm-0{display:none}.el-col-sm-1{width:4.16667%}.el-col-sm-offset-1{margin-left:4.16667%}.el-col-sm-pull-1{position:relative;right:4.16667%}.el-col-sm-push-1{position:relative;left:4.16667%}.el-col-sm-2{width:8.33333%}.el-col-sm-offset-2{margin-left:8.33333%}.el-col-sm-pull-2{position:relative;right:8.33333%}.el-col-sm-push-2{position:relative;left:8.33333%}.el-col-sm-3{width:12.5%}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{width:16.66667%}.el-col-sm-offset-4{margin-left:16.66667%}.el-col-sm-pull-4{position:relative;right:16.66667%}.el-col-sm-push-4{position:relative;left:16.66667%}.el-col-sm-5{width:20.83333%}.el-col-sm-offset-5{margin-left:20.83333%}.el-col-sm-pull-5{position:relative;right:20.83333%}.el-col-sm-push-5{position:relative;left:20.83333%}.el-col-sm-6{width:25%}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{width:29.16667%}.el-col-sm-offset-7{margin-left:29.16667%}.el-col-sm-pull-7{position:relative;right:29.16667%}.el-col-sm-push-7{position:relative;left:29.16667%}.el-col-sm-8{width:33.33333%}.el-col-sm-offset-8{margin-left:33.33333%}.el-col-sm-pull-8{position:relative;right:33.33333%}.el-col-sm-push-8{position:relative;left:33.33333%}.el-col-sm-9{width:37.5%}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{width:41.66667%}.el-col-sm-offset-10{margin-left:41.66667%}.el-col-sm-pull-10{position:relative;right:41.66667%}.el-col-sm-push-10{position:relative;left:41.66667%}.el-col-sm-11{width:45.83333%}.el-col-sm-offset-11{margin-left:45.83333%}.el-col-sm-pull-11{position:relative;right:45.83333%}.el-col-sm-push-11{position:relative;left:45.83333%}.el-col-sm-12{width:50%}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{width:54.16667%}.el-col-sm-offset-13{margin-left:54.16667%}.el-col-sm-pull-13{position:relative;right:54.16667%}.el-col-sm-push-13{position:relative;left:54.16667%}.el-col-sm-14{width:58.33333%}.el-col-sm-offset-14{margin-left:58.33333%}.el-col-sm-pull-14{position:relative;right:58.33333%}.el-col-sm-push-14{position:relative;left:58.33333%}.el-col-sm-15{width:62.5%}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{width:66.66667%}.el-col-sm-offset-16{margin-left:66.66667%}.el-col-sm-pull-16{position:relative;right:66.66667%}.el-col-sm-push-16{position:relative;left:66.66667%}.el-col-sm-17{width:70.83333%}.el-col-sm-offset-17{margin-left:70.83333%}.el-col-sm-pull-17{position:relative;right:70.83333%}.el-col-sm-push-17{position:relative;left:70.83333%}.el-col-sm-18{width:75%}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{width:79.16667%}.el-col-sm-offset-19{margin-left:79.16667%}.el-col-sm-pull-19{position:relative;right:79.16667%}.el-col-sm-push-19{position:relative;left:79.16667%}.el-col-sm-20{width:83.33333%}.el-col-sm-offset-20{margin-left:83.33333%}.el-col-sm-pull-20{position:relative;right:83.33333%}.el-col-sm-push-20{position:relative;left:83.33333%}.el-col-sm-21{width:87.5%}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{width:91.66667%}.el-col-sm-offset-22{margin-left:91.66667%}.el-col-sm-pull-22{position:relative;right:91.66667%}.el-col-sm-push-22{position:relative;left:91.66667%}.el-col-sm-23{width:95.83333%}.el-col-sm-offset-23{margin-left:95.83333%}.el-col-sm-pull-23{position:relative;right:95.83333%}.el-col-sm-push-23{position:relative;left:95.83333%}.el-col-sm-24{width:100%}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media (min-width:992px){.el-col-md-0{display:none}.el-col-md-1{width:4.16667%}.el-col-md-offset-1{margin-left:4.16667%}.el-col-md-pull-1{position:relative;right:4.16667%}.el-col-md-push-1{position:relative;left:4.16667%}.el-col-md-2{width:8.33333%}.el-col-md-offset-2{margin-left:8.33333%}.el-col-md-pull-2{position:relative;right:8.33333%}.el-col-md-push-2{position:relative;left:8.33333%}.el-col-md-3{width:12.5%}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{width:16.66667%}.el-col-md-offset-4{margin-left:16.66667%}.el-col-md-pull-4{position:relative;right:16.66667%}.el-col-md-push-4{position:relative;left:16.66667%}.el-col-md-5{width:20.83333%}.el-col-md-offset-5{margin-left:20.83333%}.el-col-md-pull-5{position:relative;right:20.83333%}.el-col-md-push-5{position:relative;left:20.83333%}.el-col-md-6{width:25%}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{width:29.16667%}.el-col-md-offset-7{margin-left:29.16667%}.el-col-md-pull-7{position:relative;right:29.16667%}.el-col-md-push-7{position:relative;left:29.16667%}.el-col-md-8{width:33.33333%}.el-col-md-offset-8{margin-left:33.33333%}.el-col-md-pull-8{position:relative;right:33.33333%}.el-col-md-push-8{position:relative;left:33.33333%}.el-col-md-9{width:37.5%}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{width:41.66667%}.el-col-md-offset-10{margin-left:41.66667%}.el-col-md-pull-10{position:relative;right:41.66667%}.el-col-md-push-10{position:relative;left:41.66667%}.el-col-md-11{width:45.83333%}.el-col-md-offset-11{margin-left:45.83333%}.el-col-md-pull-11{position:relative;right:45.83333%}.el-col-md-push-11{position:relative;left:45.83333%}.el-col-md-12{width:50%}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{width:54.16667%}.el-col-md-offset-13{margin-left:54.16667%}.el-col-md-pull-13{position:relative;right:54.16667%}.el-col-md-push-13{position:relative;left:54.16667%}.el-col-md-14{width:58.33333%}.el-col-md-offset-14{margin-left:58.33333%}.el-col-md-pull-14{position:relative;right:58.33333%}.el-col-md-push-14{position:relative;left:58.33333%}.el-col-md-15{width:62.5%}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{width:66.66667%}.el-col-md-offset-16{margin-left:66.66667%}.el-col-md-pull-16{position:relative;right:66.66667%}.el-col-md-push-16{position:relative;left:66.66667%}.el-col-md-17{width:70.83333%}.el-col-md-offset-17{margin-left:70.83333%}.el-col-md-pull-17{position:relative;right:70.83333%}.el-col-md-push-17{position:relative;left:70.83333%}.el-col-md-18{width:75%}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{width:79.16667%}.el-col-md-offset-19{margin-left:79.16667%}.el-col-md-pull-19{position:relative;right:79.16667%}.el-col-md-push-19{position:relative;left:79.16667%}.el-col-md-20{width:83.33333%}.el-col-md-offset-20{margin-left:83.33333%}.el-col-md-pull-20{position:relative;right:83.33333%}.el-col-md-push-20{position:relative;left:83.33333%}.el-col-md-21{width:87.5%}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{width:91.66667%}.el-col-md-offset-22{margin-left:91.66667%}.el-col-md-pull-22{position:relative;right:91.66667%}.el-col-md-push-22{position:relative;left:91.66667%}.el-col-md-23{width:95.83333%}.el-col-md-offset-23{margin-left:95.83333%}.el-col-md-pull-23{position:relative;right:95.83333%}.el-col-md-push-23{position:relative;left:95.83333%}.el-col-md-24{width:100%}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media (min-width:1200px){.el-col-lg-0{display:none}.el-col-lg-1{width:4.16667%}.el-col-lg-offset-1{margin-left:4.16667%}.el-col-lg-pull-1{position:relative;right:4.16667%}.el-col-lg-push-1{position:relative;left:4.16667%}.el-col-lg-2{width:8.33333%}.el-col-lg-offset-2{margin-left:8.33333%}.el-col-lg-pull-2{position:relative;right:8.33333%}.el-col-lg-push-2{position:relative;left:8.33333%}.el-col-lg-3{width:12.5%}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{width:16.66667%}.el-col-lg-offset-4{margin-left:16.66667%}.el-col-lg-pull-4{position:relative;right:16.66667%}.el-col-lg-push-4{position:relative;left:16.66667%}.el-col-lg-5{width:20.83333%}.el-col-lg-offset-5{margin-left:20.83333%}.el-col-lg-pull-5{position:relative;right:20.83333%}.el-col-lg-push-5{position:relative;left:20.83333%}.el-col-lg-6{width:25%}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{width:29.16667%}.el-col-lg-offset-7{margin-left:29.16667%}.el-col-lg-pull-7{position:relative;right:29.16667%}.el-col-lg-push-7{position:relative;left:29.16667%}.el-col-lg-8{width:33.33333%}.el-col-lg-offset-8{margin-left:33.33333%}.el-col-lg-pull-8{position:relative;right:33.33333%}.el-col-lg-push-8{position:relative;left:33.33333%}.el-col-lg-9{width:37.5%}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{width:41.66667%}.el-col-lg-offset-10{margin-left:41.66667%}.el-col-lg-pull-10{position:relative;right:41.66667%}.el-col-lg-push-10{position:relative;left:41.66667%}.el-col-lg-11{width:45.83333%}.el-col-lg-offset-11{margin-left:45.83333%}.el-col-lg-pull-11{position:relative;right:45.83333%}.el-col-lg-push-11{position:relative;left:45.83333%}.el-col-lg-12{width:50%}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{width:54.16667%}.el-col-lg-offset-13{margin-left:54.16667%}.el-col-lg-pull-13{position:relative;right:54.16667%}.el-col-lg-push-13{position:relative;left:54.16667%}.el-col-lg-14{width:58.33333%}.el-col-lg-offset-14{margin-left:58.33333%}.el-col-lg-pull-14{position:relative;right:58.33333%}.el-col-lg-push-14{position:relative;left:58.33333%}.el-col-lg-15{width:62.5%}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{width:66.66667%}.el-col-lg-offset-16{margin-left:66.66667%}.el-col-lg-pull-16{position:relative;right:66.66667%}.el-col-lg-push-16{position:relative;left:66.66667%}.el-col-lg-17{width:70.83333%}.el-col-lg-offset-17{margin-left:70.83333%}.el-col-lg-pull-17{position:relative;right:70.83333%}.el-col-lg-push-17{position:relative;left:70.83333%}.el-col-lg-18{width:75%}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{width:79.16667%}.el-col-lg-offset-19{margin-left:79.16667%}.el-col-lg-pull-19{position:relative;right:79.16667%}.el-col-lg-push-19{position:relative;left:79.16667%}.el-col-lg-20{width:83.33333%}.el-col-lg-offset-20{margin-left:83.33333%}.el-col-lg-pull-20{position:relative;right:83.33333%}.el-col-lg-push-20{position:relative;left:83.33333%}.el-col-lg-21{width:87.5%}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{width:91.66667%}.el-col-lg-offset-22{margin-left:91.66667%}.el-col-lg-pull-22{position:relative;right:91.66667%}.el-col-lg-push-22{position:relative;left:91.66667%}.el-col-lg-23{width:95.83333%}.el-col-lg-offset-23{margin-left:95.83333%}.el-col-lg-pull-23{position:relative;right:95.83333%}.el-col-lg-push-23{position:relative;left:95.83333%}.el-col-lg-24{width:100%}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}.el-progress-bar__inner:after{display:inline-block;height:100%;vertical-align:middle}.el-upload{display:inline-block;text-align:center;cursor:pointer}.el-upload-list__item.is-success .el-icon-close,.el-upload__input{display:none}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0;filter:alpha(opacity=0)}.el-upload__tip{font-size:12px;color:#8391a5;margin-top:7px}.el-upload--picture-card{background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;box-sizing:border-box;width:148px;height:148px;cursor:pointer;line-height:146px;vertical-align:top}.el-upload--picture-card i{font-size:28px;color:#8c939d}.el-upload--picture-card:hover{border-color:#20a0ff;color:#20a0ff}.el-upload-dragger{background-color:#fff;border:1px dashed #d9d9d9;border-radius:6px;box-sizing:border-box;width:360px;height:180px;text-align:center;cursor:pointer;position:relative;overflow:hidden}.el-upload-dragger .el-upload__text{color:#97a8be;font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:#20a0ff;font-style:normal}.el-upload-dragger .el-icon-upload{font-size:67px;color:#97a8be;margin:40px 0 16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:1px solid rgba(191,203,217,.2);margin-top:7px;padding-top:5px}.el-upload-dragger:hover{border-color:#20a0ff}.el-upload-dragger.is-dragover{background-color:rgba(32,159,255,.06);border:2px dashed #20a0ff}.el-upload-list{margin:0;padding:0;list-style:none}.el-upload-list__item{-webkit-transition:all .5s cubic-bezier(.55,0,.1,1);transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:#48576a;line-height:1.8;margin-top:5px;box-sizing:border-box;border-radius:4px;width:100%;position:relative}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-progress{position:absolute;bottom:-3px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;top:-10px;right:0}.el-upload-list__item:first-child{margin-top:10px}.el-upload-list__item:hover{background-color:#eef1f6}.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:#20a0ff;cursor:pointer}.el-upload-list__item.is-success:hover .el-icon-close{display:inline-block;cursor:pointer;opacity:.75;-webkit-transform:scale(.7);transform:scale(.7);color:#48576a}.el-upload-list__item.is-success:hover .el-icon-close:hover{opacity:1}.el-upload-list__item.is-success:hover .el-icon-check,.el-upload-list__item.is-success:hover .el-icon-circle-check{display:none}.el-upload-list__item-name{color:#48576a;display:block;margin-right:40px;overflow:hidden;padding-left:4px;text-overflow:ellipsis;-webkit-transition:color .3s;transition:color .3s;white-space:nowrap}.el-upload-list__item-name [class^=el-icon]{color:#97a8be;margin-right:7px;height:100%;line-height:inherit}.el-upload-list__item-status-label{position:absolute;right:10px;top:0;line-height:inherit;color:#13ce66}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:#48576a;display:none}.el-upload-list__item-delete:hover{color:#20a0ff}.el-upload-list--picture-card{margin:0;display:inline;vertical-align:top}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;width:148px;height:148px;margin:0 8px 8px 0;display:inline-block}.el-upload-list--picture-card .el-upload-list__item-name,.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);color:#fff}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;text-align:center;color:#fff;opacity:0;font-size:20px;background-color:rgba(0,0,0,.5);-webkit-transition:opacity .3s;transition:opacity .3s}.el-upload-list--picture-card .el-upload-list__item-actions:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:15px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-block}.el-upload-list--picture-card .el-progress{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;margin-top:10px;padding:10px 10px 10px 90px;height:92px}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{background:0 0;box-shadow:none;top:-2px;right:-12px}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label .el-icon-close{-webkit-transform:rotate(45deg) scale(.7);transform:rotate(45deg) scale(.7)}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name{line-height:70px;margin-top:0}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item-thumbnail{vertical-align:middle;display:inline-block;width:70px;height:70px;float:left;margin-left:-80px}.el-upload-list--picture .el-upload-list__item-name{display:block;margin-top:20px}.el-upload-list--picture .el-upload-list__item-name i{font-size:70px;line-height:1;position:absolute;left:9px;top:10px}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:#13ce66;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);box-shadow:0 1px 1px #ccc}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);color:#fff}.el-upload-list--picture .el-progress{position:static}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-upload-cover__label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.el-upload-cover__label i{font-size:12px;margin-top:11px;-webkit-transform:rotate(-45deg) scale(.8);transform:rotate(-45deg) scale(.8);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.72);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;transition:opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;transition:transform .3s cubic-bezier(.23,1,.32,1) .1s,opacity .3s cubic-bezier(.23,1,.32,1) .1s;transition:transform .3s cubic-bezier(.23,1,.32,1) .1s,opacity .3s cubic-bezier(.23,1,.32,1) .1s,-webkit-transform .3s cubic-bezier(.23,1,.32,1) .1s;margin-top:60px}.el-upload-cover__interact .btn span{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{-webkit-transform:translateY(-13px);transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:#48576a}.el-progress{position:relative;line-height:1}.el-progress.is-exception .el-progress-bar__inner{background-color:#ff4949}.el-progress.is-exception .el-progress__text{color:#ff4949}.el-progress.is-success .el-progress-bar__inner{background-color:#13ce66}.el-progress.is-success .el-progress__text{color:#13ce66}.el-progress__text{font-size:14px;color:#48576a;display:inline-block;vertical-align:middle;margin-left:10px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle{display:inline-block}.el-progress--circle .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-progress--circle .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-badge,.el-badge__content,.el-progress-bar,.el-spinner{display:inline-block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress-bar{padding-right:50px;vertical-align:middle;width:100%;margin-right:-55px;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:#e4e8f1;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:#20a0ff;text-align:right;border-radius:100px;line-height:1}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@-webkit-keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}.el-time-spinner{width:100%;white-space:nowrap}.el-spinner{vertical-align:middle}.el-spinner-inner{-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite;width:50px;height:50px}.el-spinner-inner .path{stroke:#ececec;stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite}@-webkit-keyframes rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-message{box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);min-width:300px;padding:10px 12px;box-sizing:border-box;border-radius:2px;position:fixed;left:50%;top:20px;-webkit-transform:translateX(-50%);transform:translateX(-50%);background-color:#fff;-webkit-transition:opacity .3s,-webkit-transform .4s;transition:opacity .3s,-webkit-transform .4s;transition:opacity .3s,transform .4s;transition:opacity .3s,transform .4s,-webkit-transform .4s;overflow:hidden}.el-message .el-icon-circle-check{color:#13ce66}.el-message .el-icon-circle-cross{color:#ff4949}.el-message .el-icon-information{color:#50bfff}.el-message .el-icon-warning{color:#f7ba2a}.el-message__group{margin-left:38px;position:relative;height:20px;line-height:20px}.el-message__group p{font-size:14px;margin:0 34px 0 0;white-space:nowrap;color:#8391a5;text-align:justify}.el-step__head,.el-steps.is-horizontal.is-center{text-align:center}.el-message__group.is-with-icon{margin-left:0}.el-message__img{width:40px;height:40px;position:absolute;left:0;top:0}.el-message__icon{vertical-align:middle;margin-right:8px}.el-message__closeBtn{top:3px;right:0;position:absolute;cursor:pointer;color:#bfcbd9;font-size:14px}.el-message__closeBtn:hover{color:#97a8be}.el-message-fade-enter,.el-message-fade-leave-active{opacity:0;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.el-badge{position:relative;vertical-align:middle}.el-badge__content{background-color:#ff4949;border-radius:10px;color:#fff;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff}.el-badge__content.is-dot{width:8px;height:8px;padding:0;right:0;border-radius:50%}.el-badge__content.is-fixed{top:0;right:10px;position:absolute;-webkit-transform:translateY(-50%) translateX(100%);transform:translateY(-50%) translateX(100%)}.el-rate__icon,.el-rate__item{position:relative;display:inline-block}.el-badge__content.is-fixed.is-dot{right:5px}.el-card{border:1px solid #d1dbe5;border-radius:4px;background-color:#fff;overflow:hidden;box-shadow:0 2px 4px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.el-card__header{padding:18px 20px;border-bottom:1px solid #d1dbe5;box-sizing:border-box}.el-card__body{padding:20px}.el-rate{height:20px;line-height:1}.el-rate__item{font-size:0;vertical-align:middle}.el-rate__icon{font-size:18px;margin-right:6px;color:#bfcbd9;-webkit-transition:.3s;transition:.3s}.el-rate__decimal,.el-rate__icon .path2{position:absolute;top:0;left:0}.el-rate__icon.hover{-webkit-transform:scale(1.15);transform:scale(1.15)}.el-rate__decimal{display:inline-block;overflow:hidden}.el-rate__text{font-size:14px;vertical-align:middle}.el-steps{font-size:0}.el-steps>:last-child .el-step__line{display:none}.el-step.is-horizontal,.el-step.is-vertical .el-step__head,.el-step.is-vertical .el-step__main,.el-step__line{display:inline-block}.el-steps.is-horizontal{white-space:nowrap}.el-step{position:relative;vertical-align:top}.el-step.is-vertical .el-step__main{padding-left:10px}.el-step__line{position:absolute;border-color:inherit;background-color:#bfcbd9}.el-step__line.is-vertical{width:2px;box-sizing:border-box;top:32px;bottom:0;left:15px}.el-step__line.is-horizontal{top:15px;height:2px;left:32px;right:0}.el-step__line.is-icon.is-horizontal{right:4px}.el-step__line-inner{display:block;border-width:1px;border-style:solid;border-color:inherit;-webkit-transition:all .15s;transition:all .15s;width:0;height:0}.el-step__icon{display:block;line-height:28px}.el-step__icon>*{line-height:inherit;vertical-align:middle}.el-step__head{width:28px;height:28px;border-radius:50%;background-color:transparent;line-height:28px;font-size:28px;vertical-align:top;-webkit-transition:all .15s;transition:all .15s}.el-carousel__arrow,.el-carousel__button{margin:0;-webkit-transition:.3s;transition:.3s;cursor:pointer;outline:0}.el-step__head.is-finish{color:#20a0ff;border-color:#20a0ff}.el-step__head.is-error{color:#ff4949;border-color:#ff4949}.el-step__head.is-success{color:#13ce66;border-color:#13ce66}.el-step__head.is-process,.el-step__head.is-wait{color:#bfcbd9;border-color:#bfcbd9}.el-step__head.is-text{font-size:14px;border-width:2px;border-style:solid}.el-step__head.is-text.is-finish{color:#fff;background-color:#20a0ff;border-color:#20a0ff}.el-step__head.is-text.is-error{color:#fff;background-color:#ff4949;border-color:#ff4949}.el-step__head.is-text.is-success{color:#fff;background-color:#13ce66;border-color:#13ce66}.el-step__head.is-text.is-wait{color:#bfcbd9;background-color:#fff;border-color:#bfcbd9}.el-step__head.is-text.is-process{color:#fff;background-color:#bfcbd9;border-color:#bfcbd9}.el-step__main{white-space:normal;padding-right:10px;text-align:left}.el-step__title{font-size:14px;line-height:32px;display:inline-block}.el-step__title.is-finish{font-weight:700;color:#20a0ff}.el-step__title.is-error{font-weight:700;color:#ff4949}.el-step__title.is-success{font-weight:700;color:#13ce66}.el-step__title.is-wait{font-weight:400;color:#97a8be}.el-step__title.is-process{font-weight:700;color:#48576a}.el-step__description{font-size:12px;font-weight:400;line-height:14px}.el-step__description.is-finish{color:#20a0ff}.el-step__description.is-error{color:#ff4949}.el-step__description.is-success{color:#13ce66}.el-step__description.is-wait{color:#bfcbd9}.el-step__description.is-process{color:#8391a5}.el-carousel{overflow-x:hidden;position:relative}.el-carousel__container{position:relative;height:300px}.el-carousel__arrow{border:none;padding:0;width:36px;height:36px;border-radius:50%;background-color:rgba(31,45,61,.11);color:#fff;position:absolute;top:50%;z-index:10;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-align:center;font-size:12px}.el-carousel__arrow:hover{background-color:rgba(31,45,61,.23)}.el-carousel__arrow i{cursor:pointer}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__indicators{position:absolute;list-style:none;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);margin:0;padding:0;z-index:2}.el-carousel__indicators--outside{bottom:26px;text-align:center;position:static;-webkit-transform:none;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:#8391a5;opacity:.24}.el-carousel__indicator{display:inline-block;background-color:transparent;padding:12px 4px;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{display:block;opacity:.48;width:30px;height:2px;background-color:#fff;border:none;padding:0}.carousel-arrow-left-enter,.carousel-arrow-left-leave-active{-webkit-transform:translateY(-50%) translateX(-10px);transform:translateY(-50%) translateX(-10px);opacity:0}.carousel-arrow-right-enter,.carousel-arrow-right-leave-active{-webkit-transform:translateY(-50%) translateX(10px);transform:translateY(-50%) translateX(10px);opacity:0}.el-scrollbar{overflow:hidden;position:relative}.el-scrollbar:active .el-scrollbar__bar,.el-scrollbar:focus .el-scrollbar__bar,.el-scrollbar:hover .el-scrollbar__bar{opacity:1;-webkit-transition:opacity .34s ease-out;transition:opacity .34s ease-out}.el-scrollbar__wrap{overflow:scroll}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{width:0;height:0}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:rgba(151,168,190,.3);-webkit-transition:background-color .3s;transition:background-color .3s}.el-scrollbar__thumb:hover{background-color:rgba(151,168,190,.5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px;opacity:0;-webkit-transition:opacity .12s ease-out;transition:opacity .12s ease-out}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-carousel__item{position:absolute;top:0;left:0;width:100%;height:100%;display:inline-block;-webkit-transition:.4s ease-in-out;transition:.4s ease-in-out;overflow:hidden;z-index:0}.el-carousel__item.is-active{z-index:2}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:1}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:2}.el-carousel__mask{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fff;opacity:.24;-webkit-transition:.2s;transition:.2s}.el-collapse{border:1px solid #dfe6ec;border-radius:0}.el-collapse-item:last-child{margin-bottom:-1px}.el-collapse-item.is-active>.el-collapse-item__header .el-collapse-item__header__arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-collapse-item__header{height:43px;line-height:43px;padding-left:15px;background-color:#fff;color:#48576a;cursor:pointer;border-bottom:1px solid #dfe6ec;font-size:13px}.el-collapse-item__header__arrow{margin-right:8px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.el-collapse-item__wrap{will-change:height;background-color:#fbfdff;overflow:hidden;box-sizing:border-box;border-bottom:1px solid #dfe6ec}.el-collapse-item__content{padding:10px 15px;font-size:13px;color:#1f2d3d;line-height:1.769230769230769}.el-input{position:relative;font-size:14px;display:inline-block;width:100%}.el-input.is-disabled .el-input__inner{background-color:#eef1f6;border-color:#d1dbe5;color:#bbb;cursor:not-allowed}.el-input.is-disabled .el-input__inner::-webkit-input-placeholder{color:#bfcbd9}.el-input.is-disabled .el-input__inner:-ms-input-placeholder{color:#bfcbd9}.el-input.is-disabled .el-input__inner::placeholder{color:#bfcbd9}.el-input.is-active .el-input__inner{outline:0;border-color:#20a0ff}.el-input__inner{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-image:none;border-radius:4px;border:1px solid #bfcbd9;box-sizing:border-box;color:#1f2d3d;display:block;font-size:inherit;height:36px;line-height:1;outline:0;padding:3px 10px;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1);transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}.el-input__inner::-webkit-input-placeholder{color:#97a8be}.el-input__inner:-ms-input-placeholder{color:#97a8be}.el-input__inner::placeholder{color:#97a8be}.el-input__inner:hover{border-color:#8391a5}.el-input__inner:focus{outline:0;border-color:#20a0ff}.el-input__icon{position:absolute;width:35px;height:100%;right:0;top:0;text-align:center;color:#bfcbd9;-webkit-transition:all .3s;transition:all .3s}.el-input__icon:after{content:"";height:100%;width:0;display:inline-block;vertical-align:middle}.el-input__icon+.el-input__inner{padding-right:35px}.el-input__icon.is-clickable:hover{cursor:pointer;color:#8391a5}.el-input__icon.is-clickable:hover+.el-input__inner{border-color:#8391a5}.el-input--large{font-size:16px}.el-input--large .el-input__inner{height:42px}.el-input--small{font-size:13px}.el-input--small .el-input__inner{height:30px}.el-input--mini{font-size:12px}.el-input--mini .el-input__inner{height:22px}.el-input-group{line-height:normal;display:inline-table;width:100%;border-collapse:separate}.el-input-group>.el-input__inner{vertical-align:middle;display:table-cell}.el-input-group__append,.el-input-group__prepend{background-color:#fbfdff;color:#97a8be;vertical-align:middle;display:table-cell;position:relative;border:1px solid #bfcbd9;border-radius:4px;padding:0 10px;width:1%;white-space:nowrap}.el-input-group--prepend .el-input__inner,.el-input-group__append{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--append .el-input__inner,.el-input-group__prepend{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:block;margin:-10px}.el-input-group__append .el-button,.el-input-group__append .el-select .el-input__inner,.el-input-group__append .el-select:hover .el-input__inner,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select .el-input__inner,.el-input-group__prepend .el-select:hover .el-input__inner{border-color:transparent;background-color:transparent;color:inherit;border-top:0;border-bottom:0}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-cascader__label,.el-textarea__inner{width:100%;font-size:14px;box-sizing:border-box}.el-input-group__prepend{border-right:0}.el-input-group__append{border-left:0}.el-textarea{display:inline-block;width:100%;vertical-align:bottom}.el-textarea.is-disabled .el-textarea__inner{background-color:#eef1f6;border-color:#d1dbe5;color:#bbb;cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder{color:#bfcbd9}.el-textarea.is-disabled .el-textarea__inner:-ms-input-placeholder{color:#bfcbd9}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:#bfcbd9}.el-textarea__inner{display:block;resize:vertical;padding:5px 7px;line-height:1.5;color:#1f2d3d;background-color:#fff;background-image:none;border:1px solid #bfcbd9;border-radius:4px;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1);transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-textarea__inner::-webkit-input-placeholder{color:#97a8be}.el-textarea__inner:-ms-input-placeholder{color:#97a8be}.el-textarea__inner::placeholder{color:#97a8be}.el-textarea__inner:hover{border-color:#8391a5}.el-textarea__inner:focus{outline:0;border-color:#20a0ff}.el-cascader{display:inline-block;position:relative;background-color:#fff}.el-cascader .el-input,.el-cascader .el-input__inner{cursor:pointer;background-color:transparent;z-index:1}.el-cascader .el-input__icon{-webkit-transition:none;transition:none}.el-cascader .el-icon-caret-bottom{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.el-cascader .el-icon-caret-bottom.is-reverse{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.el-cascader.is-disabled .el-cascader__label{z-index:2;color:#bbb}.el-cascader__label{position:absolute;left:0;top:0;height:100%;line-height:34px;padding:0 25px 0 10px;color:#1f2d3d;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer;text-align:left}.el-cascader__label span{color:#97a8be}.el-cascader--large{font-size:16px}.el-cascader--large .el-cascader__label{line-height:40px}.el-cascader--small{font-size:13px}.el-cascader--small .el-cascader__label{line-height:28px}.el-cascader-menus{white-space:nowrap;background:#fff;position:absolute;margin:5px 0;z-index:2;border:1px solid #d1dbe5;border-radius:2px;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04)}.el-cascader-menu{display:inline-block;vertical-align:top;height:204px;overflow:auto;border-right:1px solid #d1dbe5;background-color:#fff;box-sizing:border-box;margin:0;padding:6px 0;min-width:160px}.el-cascader-menu:last-child{border-right:0}.el-cascader-menu__item{font-size:14px;padding:8px 30px 8px 10px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#48576a;height:36px;line-height:1.5;box-sizing:border-box;cursor:pointer}.el-cascader-menu__item:hover{background-color:#e4e8f1}.el-cascader-menu__item.selected{color:#fff;background-color:#20a0ff}.el-cascader-menu__item.selected.hover{background-color:#1c8de0}.el-cascader-menu__item.is-active{color:#fff;background-color:#20a0ff}.el-cascader-menu__item.is-active:hover{background-color:#1c8de0}.el-cascader-menu__item.is-disabled{color:#bfcbd9;background-color:#fff;cursor:not-allowed}.el-cascader-menu__item.is-disabled:hover{background-color:#fff}.el-cascader-menu__item__keyword{font-weight:700}.el-cascader-menu__item--extensible:after{font-family:element-icons;content:"\\E606";font-size:12px;-webkit-transform:scale(.8);transform:scale(.8);color:#bfcbd9;position:absolute;right:10px;margin-top:1px}.el-cascader-menu--flexible{height:auto;max-height:180px;overflow:auto}.el-cascader-menu--flexible .el-cascader-menu__item{overflow:visible}.el-color-hue-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background-color:red;padding:0 2px}.el-color-hue-slider.is-vertical{width:12px;height:180px;padding:2px 0}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:-webkit-linear-gradient(top,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-hue-slider__bar{position:relative;background:-webkit-linear-gradient(left,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);height:100%}.el-color-hue-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-svpanel{position:relative;width:280px;height:180px}.el-color-svpanel__black,.el-color-svpanel__white{position:absolute;top:0;left:0;right:0;bottom:0}.el-color-svpanel__white{background:-webkit-linear-gradient(left,#fff,hsla(0,0%,100%,0));background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.el-color-svpanel__black{background:-webkit-linear-gradient(bottom,#000,transparent);background:linear-gradient(0deg,#000,transparent)}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{cursor:head;width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;-webkit-transform:translate(-2px,-2px);transform:translate(-2px,-2px)}.el-color-alpha-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-alpha-slider.is-vertical{width:20px;height:180px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:-webkit-linear-gradient(top,hsla(0,0%,100%,0),#fff);background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-alpha-slider__bar{position:relative;background:-webkit-linear-gradient(left,hsla(0,0%,100%,0),#fff);background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,#fff);height:100%}.el-color-alpha-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{content:"";display:table;clear:both}.el-color-dropdown__btns{margin-top:6px;text-align:right}.el-color-dropdown__value{float:left;line-height:26px;font-size:12px;color:#1f2d3d}.el-color-dropdown__btn{border:1px solid #dcdcdc;color:#333;line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-color-dropdown__btn[disabled]{color:#ccc;cursor:not-allowed}.el-color-dropdown__btn:hover{color:#20a0ff;border-color:#20a0ff}.el-color-dropdown__link-btn{cursor:pointer;color:#20a0ff;text-decoration:none;padding:15px;font-size:12px}.el-color-dropdown__link-btn:hover{color:#4db3ff}.el-color-picker{display:inline-block;position:relative}.el-color-picker__trigger{display:inline-block;box-sizing:border-box;height:36px;padding:6px;border:1px solid #bfcbd9;border-radius:4px;font-size:0}.el-color-picker__color{position:relative;display:inline-block;box-sizing:border-box;vertical-align:middle;border:1px solid #666;width:22px;height:22px;text-align:center}.el-color-picker__color.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-picker__color-inner{position:absolute;left:0;top:0;right:0;bottom:0}.el-color-picker__empty{font-size:12px;vertical-align:middle;margin-top:4px;color:#666}.el-color-picker__icon{display:inline-block;position:relative;vertical-align:middle;margin-left:8px;width:12px;color:#888;font-size:12px}.el-color-picker__panel{position:absolute;z-index:10;padding:6px;background-color:#fff;border:1px solid #d1dbe5;box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.12)}',""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,".el-form-item span{margin-left:15px}.demo-table-expand{font-size:0}.demo-table-expand label{width:90px;color:#99a9bf}.demo-table-expand .el-form-item{margin-right:0;margin-bottom:0;width:50%}",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,"",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,"body{background-color:#fafafa;margin:0}header{width:100%;height:60px}.header-color{background:#58b7ff}#content{margin-top:20px;padding-right:40px}.brand{color:#fff;background-color:transparent;margin-left:20px;float:left;line-height:25px;font-size:25px;padding:15px;height:30px;text-decoration:none}",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,"",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,".source{border:1px solid #eaeefb;border-radius:4px;-webkit-transition:.2s;transition:.2s;padding:24px}.server_info{margin-left:40px;font-size:0}.server_info label{width:150px;color:#99a9bf}.server_info .el-form-item{margin-right:0;margin-bottom:0;width:100%}",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,"",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,"",""])},function(e,t,i){t=e.exports=i(23)(void 0),t.push([e.i,"",""])},,function(e,t,i){e.exports=i(1),i(280),i(107),i(117),i(315),i(305),i(289),i(323),i(257),i(253),i(249),i(296),i(310),i(235),i(240),i(246),i(284),i(270),i(300),i(318),i(364),i(365),i(366),i(134),i(45),i(381),i(362),i(131),i(132),i(343),i(350),i(133),i(352),i(406),i(373),i(372),i(371),i(385),i(394),i(536)},function(e,t,i){"use strict";function n(e,t){o.each(r,function(t){this[t]=o.bind(e[t],e)},this),this.getCoordinateSystems=o.bind(t.getCoordinateSystems,t)}var o=i(0),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];e.exports=n},function(e,t,i){e.exports=i(108).extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect"})},function(e,t,i){"use strict";function n(e,t,i,n,o,r,a){var s=new c.Rect({shape:l.extend({},n)});if(r){var u=s.shape,h=o?"height":"width",d={};u[h]=0,d[h]=n[h],c[a?"updateProps":"initProps"](s,{shape:d},r,t)}return s}function o(e,t,i){i.style.text="",c.updateProps(i,{shape:{width:0}},t,e,function(){i.parent&&i.parent.remove(i)})}function r(e,t,i){var n=e.getItemLayout(t),o=s(i,n),r=n.width>0?1:-1,a=n.height>0?1:-1;return{x:n.x+r*o/2,y:n.y+a*o/2,width:n.width-r*o,height:n.height-a*o}}function a(e,t,i,n,o,r,a){var s=t.getItemVisual(i,"color"),h=t.getItemVisual(i,"opacity"),d=n.getModel("itemStyle.normal"),p=n.getModel("itemStyle.emphasis").getBarItemStyle();e.setShape("r",d.get("barBorderRadius")||0),e.useStyle(l.defaults({fill:s,opacity:h},d.getBarItemStyle()));var f=a?o.height>0?"bottom":"top":o.width>0?"left":"right";u.setLabel(e.style,p,n,s,r,i,f),c.setHoverStyle(e,p)}function s(e,t){var i=e.get(h)||0;return Math.min(i,Math.abs(t.width),Math.abs(t.height))}var l=i(0),c=i(2),u=i(109),h=["itemStyle","normal","barBorderWidth"];l.extend(i(9).prototype,i(234));var d=i(1).extendChartView({type:"bar",render:function(e,t,i){return"cartesian2d"===e.get("coordinateSystem")&&this._renderOnCartesian(e,t,i),this.group},dispose:l.noop,_renderOnCartesian:function(e,t,i){var s=this.group,l=e.getData(),u=this._data,h=e.coordinateSystem,d=h.getBaseAxis(),p=d.isHorizontal(),f=e.isAnimationEnabled()?e:null;l.diff(u).add(function(t){if(l.hasValue(t)){var i=l.getItemModel(t),o=r(l,t,i),c=n(l,t,i,o,p,f);l.setItemGraphicEl(t,c),s.add(c),a(c,l,t,i,o,e,p)}}).update(function(t,i){var o=u.getItemGraphicEl(i);if(!l.hasValue(t))return void s.remove(o);var h=l.getItemModel(t),d=r(l,t,h);o?c.updateProps(o,{shape:d},f,t):o=n(l,t,h,d,p,f,!0),l.setItemGraphicEl(t,o),s.add(o),a(o,l,t,h,d,e,p)}).remove(function(e){var t=u.getItemGraphicEl(e);t&&o(e,f,t)}).execute(),this._data=l},remove:function(e,t){var i=this.group,n=this._data;e.get("animation")?n&&n.eachItemGraphicEl(function(t){o(t.dataIndex,e,t)}):i.removeAll()}});e.exports=d},function(e,t,i){var n=i(108).extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(e){return e.stack=null,n.superApply(this,"getInitialData",arguments)}});e.exports=n},function(e,t,i){function n(e,t,i,n){var l=e.getItemLayout(t),c=i.get("symbolRepeat"),u=i.get("symbolClip"),h=i.get("symbolPosition")||"start",d=i.get("symbolRotate"),p=(d||0)*Math.PI/180||0,f=i.get("symbolPatternSize")||2,g=i.isAnimationEnabled(),m={dataIndex:t,layout:l,itemModel:i,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:u,symbolRepeat:c,symbolRepeatDirection:i.get("symbolRepeatDirection"),symbolPatternSize:f,rotation:p,animationModel:g?i:null,hoverAnimation:g&&i.get("hoverAnimation"),z2:i.getShallow("z",!0)||0};o(i,c,l,n,m),r(e,t,l,c,u,m.boundingLength,m.pxSign,f,n,m),a(i,m.symbolScale,p,n,m);var v=m.symbolSize,y=i.get("symbolOffset");return M.isArray(y)&&(y=[L(y[0],v[0]),L(y[1],v[1])]),s(i,v,l,c,u,y,h,m.valueLineWidth,m.boundingLength,m.repeatCutLength,n,m),m}function o(e,t,i,n,o){var r=n.valueDim,a=e.get("symbolBoundingData"),s=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),c=o.boundingLength=null!=a?s.toGlobalCoord(s.dataToCoord(s.scale.parse(a)))-l:t?n.coordSysExtent[r.index][1-+(i[r.wh]<=0)]-l:i[r.wh];t&&(o.repeatCutLength=i[r.wh]),o.pxSign=c>0?1:c<0?-1:0}function r(e,t,i,n,o,r,a,s,l,c){var u=l.valueDim,h=l.categoryDim,d=Math.abs(i[h.wh]),p=e.getItemVisual(t,"symbolSize");M.isArray(p)?p=p.slice():(null==p&&(p="100%"),p=[p,p]),p[h.index]=L(p[h.index],d),p[u.index]=L(p[u.index],n?d:Math.abs(r)),c.symbolSize=p,(c.symbolScale=[p[0]/s,p[1]/s])[u.index]*=(l.isHorizontal?-1:1)*a}function a(e,t,i,n,o){var r=e.get(D)||0;r&&(z.attr({scale:t.slice(),rotation:i}),z.updateTransform(),r/=z.getLineScale(),r*=t[n.valueDim.index]),o.valueLineWidth=r}function s(e,t,i,n,o,r,a,s,l,c,u,h){var d=u.categoryDim,p=u.valueDim,f=h.pxSign,g=Math.max(t[p.index]+s,0),m=g;if(n){var v=Math.abs(l),y=M.retrieve(e.get("symbolMargin"),"15%")+"",x=!1;y.lastIndexOf("!")===y.length-1&&(x=!0,y=y.slice(0,y.length-1)),y=L(y,t[p.index]);var b=Math.max(g+2*y,0),_=x?0:2*y,w=I.isNumeric(n),S=w?n:A((v+_)/b);y=(v-S*g)/2/(x?S:S-1),b=g+2*y,_=x?0:2*y,w||"fixed"===n||(S=c?A((Math.abs(c)+_)/b):0),m=S*b-_,h.repeatTimes=S,h.symbolMargin=y}var k=f*(m/2),T=h.pathPosition=[];T[d.index]=i[d.wh]/2,T[p.index]="start"===a?k:"end"===a?l-k:l/2,r&&(T[0]+=r[0],T[1]+=r[1]);var C=h.bundlePosition=[];C[d.index]=i[d.xy],C[p.index]=i[p.xy];var D=h.barRectShape=M.extend({},i);D[p.wh]=f*Math.max(Math.abs(i[p.wh]),Math.abs(T[p.index]+k)),D[d.wh]=i[d.wh];var P=h.clipShape={};P[d.xy]=-i[d.xy],P[d.wh]=u.ecSize[d.wh],P[p.xy]=0,P[p.wh]=i[p.wh]}function l(e){var t=e.symbolPatternSize,i=T.createSymbol(e.symbolType,-t/2,-t/2,t,t,e.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function c(e,t,i,n){function o(e){var t=h.slice(),n=i.pxSign,o=e;return("start"===i.symbolRepeatDirection?n>0:n<0)&&(o=p-1-e),t[d.index]=g*(o-p/2+.5)+h[d.index],{position:t,scale:i.symbolScale.slice(),rotation:i.rotation}}function r(){_(e,function(e){e.trigger("emphasis")})}function a(){_(e,function(e){e.trigger("normal")})}var s=e.__pictorialBundle,c=i.symbolSize,u=i.valueLineWidth,h=i.pathPosition,d=t.valueDim,p=i.repeatTimes||0,f=0,g=c[t.valueDim.index]+u+2*i.symbolMargin;for(_(e,function(e){e.__pictorialAnimationIndex=f,e.__pictorialRepeatTimes=p,f<p?w(e,null,o(f),i,n):w(e,null,{scale:[0,0]},i,n,function(){s.remove(e)}),m(e,i),f++});f<p;f++){var v=l(i);v.__pictorialAnimationIndex=f,v.__pictorialRepeatTimes=p,s.add(v);var y=o(f);w(v,{position:y.position,scale:[0,0]},{scale:y.scale,rotation:y.rotation},i,n),v.on("mouseover",r).on("mouseout",a),m(v,i)}}function u(e,t,i,n){function o(){this.trigger("emphasis")}function r(){this.trigger("normal")}var a=e.__pictorialBundle,s=e.__pictorialMainPath;s?w(s,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(s=e.__pictorialMainPath=l(i),a.add(s),w(s,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),s.on("mouseover",o).on("mouseout",r)),m(s,i)}function h(e,t,i){var n=M.extend({},t.barRectShape),o=e.__pictorialBarRect;o?w(o,null,{shape:n},t,i):(o=e.__pictorialBarRect=new k.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(o))}function d(e,t,i,n){if(i.symbolClip){var o=e.__pictorialClipPath,r=M.extend({},i.clipShape),a=t.valueDim,s=i.animationModel,l=i.dataIndex;if(o)k.updateProps(o,{shape:r},s,l);else{r[a.wh]=0,o=new k.Rect({shape:r}),e.__pictorialBundle.setClipPath(o),e.__pictorialClipPath=o;var c={};c[a.wh]=i.clipShape[a.wh],k[n?"updateProps":"initProps"](o,{shape:c},s,l)}}}function p(e,t){var i=e.getItemModel(t);return i.getAnimationDelayParams=f,i.isAnimationEnabled=g,i}function f(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function g(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function m(e,t){e.off("emphasis").off("normal");var i=t.symbolScale.slice();t.hoverAnimation&&e.on("emphasis",function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")}).on("normal",function(){this.animateTo({scale:i.slice()},400,"elasticOut")})}function v(e,t,i,n){var o=new k.Group,r=new k.Group;return o.add(r),o.__pictorialBundle=r,r.attr("position",i.bundlePosition.slice()),i.symbolRepeat?c(o,t,i):u(o,t,i),h(o,i,n),d(o,t,i,n),o.__pictorialShapeStr=b(e,i),o.__pictorialSymbolMeta=i,o}function y(e,t,i){var n=i.animationModel,o=i.dataIndex,r=e.__pictorialBundle;k.updateProps(r,{position:i.bundlePosition.slice()},n,o),i.symbolRepeat?c(e,t,i,!0):u(e,t,i,!0),h(e,i,!0),d(e,t,i,!0)}function x(e,t,i,n){var o=n.__pictorialBarRect;o&&(o.style.text="");var r=[];_(n,function(e){r.push(e)}),n.__pictorialMainPath&&r.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),M.each(r,function(e){k.updateProps(e,{scale:[0,0]},i,t,function(){n.parent&&n.parent.remove(n)})}),e.setItemGraphicEl(t,null)}function b(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function _(e,t,i){M.each(e.__pictorialBundle.children(),function(n){n!==e.__pictorialBarRect&&t.call(i,n)})}function w(e,t,i,n,o,r){t&&e.attr(t),n.symbolClip&&!o?i&&e.attr(i):i&&k[o?"updateProps":"initProps"](e,i,n.animationModel,n.dataIndex,r)}function S(e,t,i){var n=i.color,o=i.dataIndex,r=i.itemModel,a=r.getModel("itemStyle.normal").getItemStyle(["color"]),s=r.getModel("itemStyle.emphasis").getItemStyle();_(e,function(e){e.setColor(n),e.setStyle(M.defaults({fill:n,opacity:i.opacity},a)),k.setHoverStyle(e,s),e.z2=i.z2});var l={},c=t.valueDim.posDesc[+(i.boundingLength>0)],u=e.__pictorialBarRect;C.setLabel(u.style,l,r,n,t.seriesModel,o,c),k.setHoverStyle(u,l)}function A(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var M=i(0),k=i(2),T=i(20),I=i(3),C=i(109),L=I.parsePercent,D=["itemStyle","normal","borderWidth"],P=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],z=new k.Circle,E=i(1).extendChartView({type:"pictorialBar",render:function(e,t,i){var o=this.group,r=e.getData(),a=this._data,s=e.coordinateSystem,l=s.getBaseAxis(),c=!!l.isHorizontal(),u=s.grid.getRect(),h={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:e,coordSys:s,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:c,valueDim:P[+c],categoryDim:P[1-c]};return r.diff(a).add(function(e){if(r.hasValue(e)){var t=p(r,e),i=n(r,e,t,h),a=v(r,h,i);r.setItemGraphicEl(e,a),o.add(a),S(a,h,i)}}).update(function(e,t){var i=a.getItemGraphicEl(t);if(!r.hasValue(e))return void o.remove(i);var s=p(r,e),l=n(r,e,s,h),c=b(r,l);i&&c!==i.__pictorialShapeStr&&(o.remove(i),r.setItemGraphicEl(e,null),i=null),i?y(i,h,l):i=v(r,h,l,!0),r.setItemGraphicEl(e,i),i.__pictorialSymbolMeta=l,o.add(i),S(i,h,l)}).remove(function(e){var t=a.getItemGraphicEl(e);t&&x(a,e,t.__pictorialSymbolMeta.animationModel,t)}).execute(),this._data=r,this.group},dispose:M.noop,remove:function(e,t){var i=this.group,n=this._data;e.get("animation")?n&&n.eachItemGraphicEl(function(t){x(n,t.dataIndex,e,t)}):i.removeAll()}});e.exports=E},function(e,t,i){var n=i(50)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);e.exports={getBarItemStyle:function(e){var t=n.call(this,e);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(t.lineDash=i)}return t}}},function(e,t,i){var n=i(1);i(236),i(237),n.registerVisual(i(239)),n.registerLayout(i(238))},function(e,t,i){"use strict";var n=i(0),o=i(14),r=i(55),a=o.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],valueDimensions:["min","Q1","median","Q3","max"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{normal:{color:"#fff",borderWidth:1},emphasis:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});n.mixin(a,r.seriesModelMixin,!0),e.exports=a},function(e,t,i){"use strict";function n(e,t,i){var n=t.getItemModel(i),o=n.getModel(c),r=t.getItemVisual(i,"color"),s=o.getItemStyle(["borderColor"]),l=e.childAt(e.whiskerIndex);l.style.set(s),l.style.stroke=r,l.dirty();var h=e.childAt(e.bodyIndex);h.style.set(s),h.style.stroke=r,h.dirty();var d=n.getModel(u).getItemStyle();a.setHoverStyle(e,d)}var o=i(0),r=i(30),a=i(2),s=i(55),l=r.extend({type:"boxplot",getStyleUpdater:function(){return n},dispose:o.noop});o.mixin(l,s.viewMixin,!0);var c=["itemStyle","normal"],u=["itemStyle","emphasis"];e.exports=l},function(e,t,i){function n(e){var t=[],i=[];return e.eachSeriesByType("boxplot",function(e){var n=e.getBaseAxis(),o=a.indexOf(i,n);o<0&&(o=i.length,i[o]=n,t[o]={axis:n,seriesModels:[]}),t[o].seriesModels.push(e)}),t}function o(e){var t,i,n=e.axis,o=e.seriesModels,r=o.length,s=e.boxWidthList=[],u=e.boxOffsetList=[],h=[];if("category"===n.type)i=n.getBandWidth();else{var d=0;c(o,function(e){d=Math.max(d,e.getData().count())}),t=n.getExtent(),Math.abs(t[1]-t[0])}c(o,function(e){var t=e.get("boxWidth");a.isArray(t)||(t=[t,t]),h.push([l(t[0],i)||0,l(t[1],i)||0])});var p=.8*i-2,f=p/r*.3,g=(p-f*(r-1))/r,m=g/2-p/2;c(o,function(e,t){u.push(m),m+=f+g,s.push(Math.min(Math.max(g,h[t][0]),h[t][1]))})}function r(e,t,i){var n=e.coordinateSystem,o=e.getData(),r=e.dimensions,a=e.get("layout"),s=i/2;o.each(r,function(){function e(e){var i=[];i[p]=h,i[f]=e;var o;return isNaN(h)||isNaN(e)?o=[NaN,NaN]:(o=n.dataToPoint(i),o[p]+=t),o}function i(e,t){var i=e.slice(),n=e.slice();i[p]+=s,n[p]-=s,t?x.push(i,n):x.push(n,i)}function l(e){var t=[e.slice(),e.slice()];t[0][p]-=s,t[1][p]+=s,y.push(t)}var c=arguments,u=r.length,h=c[0],d=c[u],p="horizontal"===a?0:1,f=1-p,g=e(c[3]),m=e(c[1]),v=e(c[5]),y=[[m,e(c[2])],[v,e(c[4])]];l(m),l(v),l(g);var x=[];i(y[0][1],0),i(y[1][1],1),o.setItemLayout(d,{chartLayout:a,initBaseline:g[f],median:g,bodyEnds:x,whiskerEnds:y})})}var a=i(0),s=i(3),l=s.parsePercent,c=a.each;e.exports=function(e){var t=n(e);c(t,function(e){var t=e.seriesModels;t.length&&(o(e),c(t,function(t,i){r(t,e.boxOffsetList[i],e.boxWidthList[i])}))})}},function(e,t){var i=["itemStyle","normal","borderColor"];e.exports=function(e,t){var n=e.get("color");e.eachRawSeriesByType("boxplot",function(t){var o=n[t.seriesIndex%n.length],r=t.getData();r.setVisual({legendSymbol:"roundRect",color:t.get(i)||o}),e.isSeriesFiltered(t)||r.each(function(e){var t=r.getItemModel(e);r.setItemVisual(e,{color:t.get(i,!0)})})})}},function(e,t,i){var n=i(1);i(241),i(242),n.registerPreprocessor(i(245)),n.registerVisual(i(244)),n.registerLayout(i(243))},function(e,t,i){"use strict";var n=i(0),o=i(14),r=i(55),a=i(4),s=a.encodeHTML,l=a.addCommas,c=o.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],valueDimensions:["open","close","lowest","highest"],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,itemStyle:{normal:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},formatTooltip:function(e,t){var i=n.map(this.valueDimensions,function(t){return s(t+": "+l(this.getData().get(t,e)))},this).join("<br />"),o=[];return null!=this.name&&o.push(s(this.name)),null!=i&&o.push(i),o.join("<br />")},brushSelector:function(e,t){return t.rect(e.brushRect)}});n.mixin(c,r.seriesModelMixin,!0),e.exports=c},function(e,t,i){"use strict";function n(e,t,i){var n=t.getItemModel(i),o=n.getModel(c),r=t.getItemVisual(i,"color"),s=t.getItemVisual(i,"borderColor")||r,l=o.getItemStyle(["color","color0","borderColor","borderColor0"]),h=e.childAt(e.whiskerIndex);h.useStyle(l),h.style.stroke=s;var d=e.childAt(e.bodyIndex);d.useStyle(l),d.style.fill=r,d.style.stroke=s;var p=n.getModel(u).getItemStyle();a.setHoverStyle(e,p)}var o=i(0),r=i(30),a=i(2),s=i(55),l=r.extend({type:"candlestick",getStyleUpdater:function(){return n},dispose:o.noop});o.mixin(l,s.viewMixin,!0);var c=["itemStyle","normal"],u=["itemStyle","emphasis"];e.exports=l},function(e,t,i){function n(e,t){var i,n=e.getBaseAxis(),a="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/t.count()),s=r(o(e.get("barMaxWidth"),a),a),l=r(o(e.get("barMinWidth"),1),a),c=e.get("barWidth");return null!=c?r(c,a):Math.max(Math.min(a/2,s),l)}var o=i(0).retrieve,r=i(3).parsePercent;e.exports=function(e){e.eachSeriesByType("candlestick",function(e){var t=e.coordinateSystem,i=e.getData(),o=e.dimensions,r=e.get("layout"),a=n(e,i);i.each(o,function(){function e(e){var i=[];return i[h]=c,i[d]=e,isNaN(c)||isNaN(e)?[NaN,NaN]:t.dataToPoint(i)}function n(e,t){var i=e.slice(),n=e.slice();i[h]+=a/2,n[h]-=a/2,t?A.push(i,n):A.push(n,i)}var s=arguments,l=o.length,c=s[0],u=s[l],h="horizontal"===r?0:1,d=1-h,p=s[1],f=s[2],g=s[3],m=s[4],v=Math.min(p,f),y=Math.max(p,f),x=e(v),b=e(y),_=e(g),w=e(m),S=[[w,b],[_,x]],A=[];n(b,0),n(x,1),i.setItemLayout(u,{chartLayout:r,sign:p>f?-1:p<f?1:0,initBaseline:p>f?b[d]:x[d],bodyEnds:A,whiskerEnds:S,brushRect:function(){var t=e(Math.min(p,f,g,m)),i=e(Math.max(p,f,g,m));return t[h]-=a/2,i[h]-=a/2,{x:t[0],y:t[1],width:d?a:i[0]-t[0],height:d?i[1]-t[1]:a}}()})},!0)})}},function(e,t){var i=["itemStyle","normal","borderColor"],n=["itemStyle","normal","borderColor0"],o=["itemStyle","normal","color"],r=["itemStyle","normal","color0"];e.exports=function(e,t){e.eachRawSeriesByType("candlestick",function(t){var a=t.getData();a.setVisual({legendSymbol:"roundRect"}),e.isSeriesFiltered(t)||a.each(function(e){var t=a.getItemModel(e),s=a.getItemLayout(e).sign;a.setItemVisual(e,{color:t.get(s>0?o:r),borderColor:t.get(s>0?i:n)})})})}},function(e,t,i){var n=i(0);e.exports=function(e){e&&n.isArray(e.series)&&n.each(e.series,function(e){n.isObject(e)&&"k"===e.type&&(e.type="candlestick")})}},function(e,t,i){var n=i(0),o=i(1);i(247),i(248),o.registerVisual(n.curry(i(42),"effectScatter","circle",null)),o.registerLayout(n.curry(i(88),"effectScatter"))},function(e,t,i){"use strict";var n=i(32),o=i(14);e.exports=o.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,t){return n(e.data,this,t)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}})},function(e,t,i){var n=i(44),o=i(275);i(1).extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new n(o)},render:function(e,t,i){var n=e.getData(),o=this._symbolDraw;o.updateData(n),this.group.add(o.group)},updateLayout:function(){this._symbolDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t)},dispose:function(){}})},function(e,t,i){var n=i(0),o=i(1);i(250),i(251),o.registerVisual(n.curry(i(91),"funnel")),o.registerLayout(i(252)),o.registerProcessor(n.curry(i(61),"funnel"))},function(e,t,i){"use strict";var n=i(11),o=i(5),r=i(19),a=i(1).extendSeriesModel({type:"series.funnel",init:function(e){a.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(e)},getInitialData:function(e,t){var i=r(["value"],e.data),o=new n(i,this);return o.initData(e.data),o},_defaultLabelLine:function(e){o.defaultEmphasis(e.labelLine,["show"]);var t=e.labelLine.normal,i=e.labelLine.emphasis;t.show=t.show&&e.label.normal.show,i.show=i.show&&e.label.emphasis.show},getDataParams:function(e){var t=this.getData(),i=a.superCall(this,"getDataParams",e),n=t.getSum("value");return i.percent=n?+(t.get("value",e)/n*100).toFixed(2):0,i.$vars.push("percent"),i},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{normal:{show:!0,position:"outer"},emphasis:{show:!0}},labelLine:{normal:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},emphasis:{}},itemStyle:{normal:{borderColor:"#fff",borderWidth:1},emphasis:{}}}});e.exports=a},function(e,t,i){function n(e,t){function i(){a.ignore=a.hoverIgnore,s.ignore=s.hoverIgnore}function n(){a.ignore=a.normalIgnore,s.ignore=s.normalIgnore}r.Group.call(this);var o=new r.Polygon,a=new r.Polyline,s=new r.Text;this.add(o),this.add(a),this.add(s),this.updateData(e,t,!0),this.on("emphasis",i).on("normal",n).on("mouseover",i).on("mouseout",n)}function o(e,t,i,n){var o=n.getModel("textStyle"),r=n.get("position"),s="inside"===r||"inner"===r||"center"===r;return{fill:o.getTextColor()||(s?"#fff":e.getItemVisual(t,"color")),textFont:o.getFont(),text:a.retrieve(e.hostModel.getFormattedLabel(t,i),e.getName(t))}}var r=i(2),a=i(0),s=n.prototype,l=["itemStyle","normal","opacity"];s.updateData=function(e,t,i){var n=this.childAt(0),o=e.hostModel,s=e.getItemModel(t),c=e.getItemLayout(t),u=e.getItemModel(t).get(l);u=null==u?1:u,n.useStyle({}),i?(n.setShape({points:c.points}),n.setStyle({opacity:0}),r.initProps(n,{style:{opacity:u}},o,t)):r.updateProps(n,{style:{opacity:u},shape:{points:c.points}},o,t);var h=s.getModel("itemStyle"),d=e.getItemVisual(t,"color");n.setStyle(a.defaults({lineJoin:"round",fill:d},h.getModel("normal").getItemStyle(["opacity"]))),n.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),r.setHoverStyle(this)},s._updateLabel=function(e,t){var i=this.childAt(1),n=this.childAt(2),a=e.hostModel,s=e.getItemModel(t),l=e.getItemLayout(t),c=l.label,u=e.getItemVisual(t,"color");r.updateProps(i,{shape:{points:c.linePoints||c.linePoints}},a,t),r.updateProps(n,{style:{x:c.x,y:c.y}},a,t),n.attr({style:{textAlign:c.textAlign,textVerticalAlign:c.verticalAlign,textFont:c.font},rotation:c.rotation,origin:[c.x,c.y],z2:10});var h=s.getModel("label.normal"),d=s.getModel("label.emphasis"),p=s.getModel("labelLine.normal"),f=s.getModel("labelLine.emphasis");n.setStyle(o(e,t,"normal",h)),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),i.ignore=i.normalIgnore=!p.get("show"),i.hoverIgnore=!f.get("show"),i.setStyle({stroke:u}),i.setStyle(p.getModel("lineStyle").getLineStyle()),n.hoverStyle=o(e,t,"emphasis",d),i.hoverStyle=f.getModel("lineStyle").getLineStyle()},a.inherits(n,r.Group);var c=i(30).extend({type:"funnel",render:function(e,t,i){var o=e.getData(),r=this._data,a=this.group;o.diff(r).add(function(e){var t=new n(o,e);o.setItemGraphicEl(e,t),a.add(t)}).update(function(e,t){var i=r.getItemGraphicEl(t);i.updateData(o,e),a.add(i),o.setItemGraphicEl(e,i)}).remove(function(e){var t=r.getItemGraphicEl(e);a.remove(t)}).execute(),this._data=o},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});e.exports=c},function(e,t,i){function n(e,t){return a.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function o(e,t){for(var i=e.mapArray("value",function(e){return e}),n=[],o="ascending"===t,r=0,a=e.count();r<a;r++)n[r]=r;return n.sort(function(e,t){return o?i[e]-i[t]:i[t]-i[e]}),n}function r(e){e.each(function(t){var i,n,o,r,a=e.getItemModel(t),s=a.getModel("label.normal"),l=s.get("position"),c=a.getModel("labelLine.normal"),u=e.getItemLayout(t),h=u.points,d="inner"===l||"inside"===l||"center"===l;if(d)n=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,o=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,i="center",r=[[n,o],[n,o]];else{var p,f,g,m=c.get("length");"left"===l?(p=(h[3][0]+h[0][0])/2,f=(h[3][1]+h[0][1])/2,g=p-m,n=g-5,i="right"):(p=(h[1][0]+h[2][0])/2,f=(h[1][1]+h[2][1])/2,g=p+m,n=g+5,i="left");var v=f;r=[[p,f],[g,v]],o=v}u.label={linePoints:r,x:n,y:o,verticalAlign:"middle",textAlign:i,inside:d}})}var a=i(7),s=i(3),l=s.parsePercent;e.exports=function(e,t,i){e.eachSeriesByType("funnel",function(e){var i=e.getData(),a=e.get("sort"),c=n(e,t),u=o(i,a),h=[l(e.get("minSize"),c.width),l(e.get("maxSize"),c.width)],d=i.getDataExtent("value"),p=e.get("min"),f=e.get("max");null==p&&(p=Math.min(d[0],0)),null==f&&(f=d[1]);var g=e.get("funnelAlign"),m=e.get("gap"),v=(c.height-m*(i.count()-1))/i.count(),y=c.y,x=function(e,t){var n,o=i.get("value",e)||0,r=s.linearMap(o,[p,f],h,!0);switch(g){case"left":n=c.x;break;case"center":n=c.x+(c.width-r)/2;break;case"right":n=c.x+c.width-r}return[[n,t],[n+r,t]]};"ascending"===a&&(v=-v,m=-m,y+=c.height,u=u.reverse());for(var b=0;b<u.length;b++){var _=u[b],w=u[b+1],S=x(_,y),A=x(w,y+v);y+=v+m,i.setItemLayout(_,{points:S.concat(A.slice().reverse())})}r(i)})}},function(e,t,i){i(254),i(255)},function(e,t,i){var n=i(11),o=i(14),r=i(0),a=o.extend({type:"series.gauge",getInitialData:function(e,t){var i=new n(["value"],this),o=e.data||[];return r.isArray(o)||(o=[o]),i.initData(o),i},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,textStyle:{color:"auto"}},pointer:{show:!0,length:"80%",width:8},itemStyle:{normal:{color:"auto"}},title:{show:!0,offsetCenter:[0,"-40%"],textStyle:{color:"#333",fontSize:15}},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:40,offsetCenter:[0,"40%"],textStyle:{color:"auto",fontSize:30}}}});e.exports=a},function(e,t,i){function n(e,t){var i=e.get("center"),n=t.getWidth(),o=t.getHeight(),r=Math.min(n,o);return{cx:l(i[0],t.getWidth()),cy:l(i[1],t.getHeight()),r:l(e.get("radius"),r/2)}}function o(e,t){return t&&("string"==typeof t?e=t.replace("{value}",null!=e?e:""):"function"==typeof t&&(e=t(e))),e}var r=i(256),a=i(2),s=i(3),l=s.parsePercent,c=2*Math.PI,u=i(30).extend({type:"gauge",render:function(e,t,i){this.group.removeAll();var o=e.get("axisLine.lineStyle.color"),r=n(e,i);this._renderMain(e,t,i,o,r)},dispose:function(){},_renderMain:function(e,t,i,n,o){for(var r=this.group,s=e.getModel("axisLine"),l=s.getModel("lineStyle"),u=e.get("clockwise"),h=-e.get("startAngle")/180*Math.PI,d=-e.get("endAngle")/180*Math.PI,p=(d-h)%c,f=h,g=l.get("width"),m=0;m<n.length;m++){var v=Math.min(Math.max(n[m][0],0),1),d=h+p*v,y=new a.Sector({shape:{startAngle:f,endAngle:d,cx:o.cx,cy:o.cy,clockwise:u,r0:o.r-g,r:o.r},silent:!0});y.setStyle({fill:n[m][1]}),y.setStyle(l.getLineStyle(["color","borderWidth","borderColor"])),r.add(y),f=d}var x=function(e){if(e<=0)return n[0][1];for(var t=0;t<n.length;t++)if(n[t][0]>=e&&(0===t?0:n[t-1][0])<e)return n[t][1];return n[t-1][1]};if(!u){var b=h;h=d,d=b}this._renderTicks(e,t,i,x,o,h,d,u),this._renderPointer(e,t,i,x,o,h,d,u),this._renderTitle(e,t,i,x,o),this._renderDetail(e,t,i,x,o)},_renderTicks:function(e,t,i,n,r,c,u,h){for(var d=this.group,p=r.cx,f=r.cy,g=r.r,m=+e.get("min"),v=+e.get("max"),y=e.getModel("splitLine"),x=e.getModel("axisTick"),b=e.getModel("axisLabel"),_=e.get("splitNumber"),w=x.get("splitNumber"),S=l(y.get("length"),g),A=l(x.get("length"),g),M=c,k=(u-c)/_,T=k/w,I=y.getModel("lineStyle").getLineStyle(),C=x.getModel("lineStyle").getLineStyle(),L=b.getModel("textStyle"),D=0;D<=_;D++){var P=Math.cos(M),z=Math.sin(M);if(y.get("show")){var E=new a.Line({shape:{x1:P*g+p,y1:z*g+f,x2:P*(g-S)+p,y2:z*(g-S)+f},style:I,silent:!0});"auto"===I.stroke&&E.setStyle({stroke:n(D/_)}),d.add(E)}if(b.get("show")){var O=o(s.round(D/_*(v-m)+m),b.get("formatter")),R=b.get("distance"),N=new a.Text({style:{text:O,x:P*(g-S-R)+p,y:z*(g-S-R)+f,fill:L.getTextColor(),textFont:L.getFont(),textVerticalAlign:z<-.4?"top":z>.4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},silent:!0});"auto"===N.style.fill&&N.setStyle({fill:n(D/_)}),d.add(N)}if(x.get("show")&&D!==_){for(var V=0;V<=w;V++){var P=Math.cos(M),z=Math.sin(M),B=new a.Line({shape:{x1:P*g+p,y1:z*g+f,x2:P*(g-A)+p,y2:z*(g-A)+f},silent:!0,style:C});"auto"===C.stroke&&B.setStyle({stroke:n((D+V/w)/_)}),d.add(B),M+=T}M-=T}else M+=k}},_renderPointer:function(e,t,i,n,o,c,u,h){var d=this.group,p=this._data;if(!e.get("pointer.show"))return void(p&&p.eachItemGraphicEl(function(e){d.remove(e)}));var f=[+e.get("min"),+e.get("max")],g=[c,u],m=e.getData();m.diff(p).add(function(t){var i=new r({shape:{angle:c}});a.updateProps(i,{shape:{angle:s.linearMap(m.get("value",t),f,g,!0)}},e),d.add(i),m.setItemGraphicEl(t,i)}).update(function(t,i){var n=p.getItemGraphicEl(i);a.updateProps(n,{shape:{angle:s.linearMap(m.get("value",t),f,g,!0)}},e),d.add(n),m.setItemGraphicEl(t,n)}).remove(function(e){var t=p.getItemGraphicEl(e);d.remove(t)}).execute(),m.eachItemGraphicEl(function(e,t){var i=m.getItemModel(t),r=i.getModel("pointer");e.setShape({x:o.cx,y:o.cy,width:l(r.get("width"),o.r),r:l(r.get("length"),o.r)}),e.useStyle(i.getModel("itemStyle.normal").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",n(s.linearMap(m.get("value",t),f,[0,1],!0))),a.setHoverStyle(e,i.getModel("itemStyle.emphasis").getItemStyle())}),this._data=m},_renderTitle:function(e,t,i,n,o){var r=e.getModel("title");if(r.get("show")){var c=r.getModel("textStyle"),u=r.get("offsetCenter"),h=o.cx+l(u[0],o.r),d=o.cy+l(u[1],o.r),p=new a.Text({style:{x:h,y:d,text:e.getData().getName(0),fill:c.getTextColor(),textFont:c.getFont(),textAlign:"center",textVerticalAlign:"middle"}});if("auto"===p.style.fill){var f=+e.get("min"),g=+e.get("max"),m=e.getData().get("value",0);p.setStyle("fill",n(s.linearMap(m,[f,g],[0,1],!0)))}this.group.add(p)}},_renderDetail:function(e,t,i,n,r){var c=e.getModel("detail"),u=+e.get("min"),h=+e.get("max");if(c.get("show")){var d=c.getModel("textStyle"),p=c.get("offsetCenter"),f=r.cx+l(p[0],r.r),g=r.cy+l(p[1],r.r),m=l(c.get("width"),r.r),v=l(c.get("height"),r.r),y=e.getData().get("value",0),x=new a.Rect({shape:{x:f-m/2,y:g-v/2,width:m,height:v},style:{text:o(y,c.get("formatter")),fill:c.get("backgroundColor"),textFill:d.getTextColor(),textFont:d.getFont()}});"auto"===x.style.textFill&&x.setStyle("textFill",n(s.linearMap(y,[u,h],[0,1],!0))),x.setStyle(c.getItemStyle(["color"])),this.group.add(x)}}});e.exports=u},function(e,t,i){e.exports=i(15).extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(e,t){var i=Math.cos,n=Math.sin,o=t.r,r=t.width,a=t.angle,s=t.x-i(a)*r*(r>=o/3?1:2),l=t.y-n(a)*r*(r>=o/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+i(a)*r,t.y+n(a)*r),e.lineTo(t.x+i(t.angle)*o,t.y+n(t.angle)*o),e.lineTo(t.x-i(a)*r,t.y-n(a)*r),e.lineTo(s,l)}})},function(e,t,i){var n=i(1),o=i(0);i(258),i(259),i(268),n.registerProcessor(i(261)),n.registerVisual(o.curry(i(42),"graph","circle",null)),n.registerVisual(i(262)),n.registerVisual(i(265)),n.registerLayout(i(269)),n.registerLayout(i(263)),n.registerLayout(i(267)),n.registerCoordinateSystem("graphView",{create:i(264)})},function(e,t,i){"use strict";var n=i(11),o=i(0),r=i(5),a=i(9),s=i(4),l=i(115),c=i(1).extendSeriesModel({type:"series.graph",init:function(e){c.superApply(this,"init",arguments),this.legendDataProvider=function(){return this._categoriesData},this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){c.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){c.superApply(this,"mergeDefaultAndTheme",arguments),r.defaultEmphasis(e.edgeLabel,r.LABEL_OPTIONS)},getInitialData:function(e,t){function i(e,i){function n(e){return e=this.parsePath(e),e&&"label"===e[0]?s:this.parentModel}e.wrapMethod("getItemModel",function(e){var t=r._categoriesModels,i=e.getShallow("category"),n=t[i];return n&&(n.parentModel=e.parentModel,e.parentModel=n),e});var o=r.getModel("edgeLabel"),s=new a({label:o.option},o.parentModel,t);i.wrapMethod("getItemModel",function(e){return e.customizeGetParent(n),e})}var n=e.edges||e.links||[],o=e.data||e.nodes||[],r=this;if(o&&n)return l(o,n,this,!0,i).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,i){if("edge"===i){var n=this.getData(),o=this.getDataParams(e,i),r=n.graph.getEdgeByIndex(e),a=n.getName(r.node1.dataIndex),l=n.getName(r.node2.dataIndex),u=[];return null!=a&&u.push(a),null!=l&&u.push(l),u=s.encodeHTML(u.join(" > ")),o.value&&(u+=" : "+s.encodeHTML(o.value)),u}return c.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=o.map(this.option.categories||[],function(e){return null!=e.value?e:o.extend({value:0},e)}),t=new n(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray(function(e){return t.getItemModel(e,!0)})},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return c.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{normal:{position:"middle"},emphasis:{}},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{normal:{show:!1,formatter:"{b}"},emphasis:{show:!0}},itemStyle:{normal:{},emphasis:{}},lineStyle:{normal:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{}}}});e.exports=c},function(e,t,i){function n(e,t){return e.getVisual("opacity")||e.getModel().get(t)}var o=i(44),r=i(76),a=i(58),s=i(2),l=i(260),c=i(0),u=["itemStyle","normal","opacity"],h=["lineStyle","normal","opacity"];i(1).extendChartView({type:"graph",init:function(e,t){var i=new o,n=new r,s=this.group,l=new a(t.getZr(),s);s.add(i.group),s.add(n.group),this._symbolDraw=i,this._lineDraw=n,this._controller=l,this._firstRender=!0},render:function(e,t,i){var n=e.coordinateSystem;this._model=e,this._nodeScaleRatio=e.get("nodeScaleRatio");var o=this._symbolDraw,r=this._lineDraw,a=this.group;if("view"===n.type){var c={position:n.position,scale:n.scale};this._firstRender?a.attr(c):s.updateProps(a,c,e)}l(e.getGraph(),this._getNodeGlobalScale(e));var u=e.getData();o.updateData(u);var h=e.getEdgeData();r.updateData(h),this._updateNodeAndLinkScale(),this._updateController(e,i),clearTimeout(this._layoutTimeout);var d=e.forceLayout,p=e.get("force.layoutAnimation");d&&this._startForceLayoutIteration(d,p),u.eachItemGraphicEl(function(t,n){var o=u.getItemModel(n);t.off("drag").off("dragend");var r=u.getItemModel(n).get("draggable");r&&t.on("drag",function(){d&&(d.warmUp(),!this._layouting&&this._startForceLayoutIteration(d,p),d.setFixed(n),u.setItemLayout(n,t.position))},this).on("dragend",function(){d&&d.setUnfixed(n)},this),t.setDraggable(r&&d),t.off("mouseover",t.__focusNodeAdjacency),t.off("mouseout",t.__unfocusNodeAdjacency),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.__focusNodeAdjacency=function(){i.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t.__unfocusNodeAdjacency=function(){i.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e.id})}))},this);var f="circular"===e.get("layout")&&e.get("circular.rotateLabel"),g=u.getLayout("cx"),m=u.getLayout("cy");u.eachItemGraphicEl(function(e,t){var i=e.getSymbolPath();if(f){var n=u.getItemLayout(t),o=Math.atan2(n[1]-m,n[0]-g);o<0&&(o=2*Math.PI+o);var r=n[0]<g;r&&(o-=Math.PI);var a=r?"left":"right";i.setStyle({textRotation:o,textPosition:a}),i.hoverStyle&&(i.hoverStyle.textPosition=a)}else i.setStyle({textRotation:0})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose()},focusNodeAdjacency:function(e,t,i,o){function r(e,t){var i=n(e,t),o=e.getGraphicEl();null==i&&(i=1),o.traverse(function(e){e.trigger("normal"),"group"!==e.type&&e.setStyle("opacity",.1*i)})}function a(e,t){var i=n(e,t);e.getGraphicEl().traverse(function(e){e.trigger("emphasis"),"group"!==e.type&&e.setStyle("opacity",i)})}var s=this._model.getData(),l=o.dataIndex,d=s.getItemGraphicEl(l);if(d){var p=s.graph,f=d.dataType;if(null!==l&&"edge"!==f){p.eachNode(function(e){r(e,u)}),p.eachEdge(function(e){r(e,h)});var g=p.getNodeByIndex(l);a(g,u),c.each(g.edges,function(e){e.dataIndex<0||(a(e,h),a(e.node1,u),a(e.node2,u))})}}},unfocusNodeAdjacency:function(e,t,i,o){var r=this._model.getData().graph;r.eachNode(function(e){var t=n(e,u);e.getGraphicEl().traverse(function(e){e.trigger("normal"),"group"!==e.type&&e.setStyle("opacity",t)})}),r.eachEdge(function(e){var t=n(e,h);e.getGraphicEl().traverse(function(e){e.trigger("normal"),"group"!==e.type&&e.setStyle("opacity",t)})})},_startForceLayoutIteration:function(e,t){var i=this;!function n(){e.step(function(e){i.updateLayout(i._model),(i._layouting=!e)&&(t?i._layoutTimeout=setTimeout(n,16):n())})}()},_updateController:function(e,t){var i=this._controller,n=this.group;if(i.setContainsPoint(function(e,t){var i=n.getBoundingRect();return i.applyTransform(n.transform),i.contain(e,t)}),"view"!==e.coordinateSystem.type)return void i.disable();i.enable(e.get("roam")),i.zoomLimit=e.get("scaleLimit"),i.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",function(i,n){t.dispatchAction({seriesId:e.id,type:"graphRoam",dx:i,dy:n})}).on("zoom",function(i,n,o){t.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:i,originX:n,originY:o}),this._updateNodeAndLinkScale(),l(e.getGraph(),this._getNodeGlobalScale(e)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var e=this._model,t=e.getData(),i=this._getNodeGlobalScale(e),n=[i,i];t.eachItemGraphicEl(function(e,t){e.attr("scale",n)})},_getNodeGlobalScale:function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var i=this._nodeScaleRatio,n=t.scale,o=n&&n[0]||1;return((t.getZoom()-1)*i+1)/o},updateLayout:function(e){l(e.getGraph(),this._getNodeGlobalScale(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}})},function(e,t,i){function n(e,t,i){for(var n,o=e[0],r=e[1],d=e[2],p=1/0,f=i*i,g=.1,m=.1;m<=.9;m+=.1){a[0]=c(o[0],r[0],d[0],m),a[1]=c(o[1],r[1],d[1],m);var v=h(u(a,t)-f);v<p&&(p=v,n=m)}for(var y=0;y<32;y++){var x=n+g;s[0]=c(o[0],r[0],d[0],n),s[1]=c(o[1],r[1],d[1],n),l[0]=c(o[0],r[0],d[0],x),l[1]=c(o[1],r[1],d[1],x);var v=u(s,t)-f;if(h(v)<.01)break;var b=u(l,t)-f;g/=2,v<0?b>=0?n+=g:n-=g:b>=0?n-=g:n+=g}return n}var o=i(31),r=i(6),a=[],s=[],l=[],c=o.quadraticAt,u=r.distSquare,h=Math.abs;e.exports=function(e,t){function i(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),t}var a=[],s=o.quadraticSubdivide,l=[[],[],[]],c=[[],[]],u=[];t/=2,e.eachEdge(function(e,o){var h=e.getLayout(),d=e.getVisual("fromSymbol"),p=e.getVisual("toSymbol");h.__original||(h.__original=[r.clone(h[0]),r.clone(h[1])],h[2]&&h.__original.push(r.clone(h[2])));var f=h.__original;if(null!=h[2]){if(r.copy(l[0],f[0]),r.copy(l[1],f[2]),r.copy(l[2],f[1]),d&&"none"!=d){var g=i(e.node1),m=n(l,f[0],g*t);s(l[0][0],l[1][0],l[2][0],m,a),l[0][0]=a[3],l[1][0]=a[4],s(l[0][1],l[1][1],l[2][1],m,a),l[0][1]=a[3],l[1][1]=a[4]}if(p&&"none"!=p){var g=i(e.node2),m=n(l,f[1],g*t);s(l[0][0],l[1][0],l[2][0],m,a),l[1][0]=a[1],l[2][0]=a[2],s(l[0][1],l[1][1],l[2][1],m,a),l[1][1]=a[1],l[2][1]=a[2]}r.copy(h[0],l[0]),r.copy(h[1],l[2]),r.copy(h[2],l[1])}else{if(r.copy(c[0],f[0]),r.copy(c[1],f[1]),r.sub(u,c[1],c[0]),r.normalize(u,u),d&&"none"!=d){var g=i(e.node1);r.scaleAndAdd(c[0],c[0],u,g*t)}if(p&&"none"!=p){var g=i(e.node2);r.scaleAndAdd(c[1],c[1],u,-g*t)}r.copy(h[0],c[0]),r.copy(h[1],c[1])}})}},function(e,t){e.exports=function(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",function(e){var i=e.getCategoriesData(),n=e.getGraph(),o=n.data,r=i.mapArray(i.getName);o.filterSelf(function(e){var i=o.getItemModel(e),n=i.getShallow("category");if(null!=n){"number"==typeof n&&(n=r[n]);for(var a=0;a<t.length;a++)if(!t[a].isSelected(n))return!1}return!0})},this)}},function(e,t){e.exports=function(e){var t={};e.eachSeriesByType("graph",function(e){var i=e.getCategoriesData(),n=e.getData(),o={};i.each(function(n){var r=i.getName(n);o[r]=n;var a=i.getItemModel(n),s=a.get("itemStyle.normal.color")||e.getColorFromPalette(r,t);i.setItemVisual(n,"color",s)}),i.count()&&n.each(function(e){var t=n.getItemModel(e),r=t.getShallow("category");null!=r&&("string"==typeof r&&(r=o[r]),n.getItemVisual(e,"color",!0)||n.setItemVisual(e,"color",i.getItemVisual(r,"color")))})})}},function(e,t,i){var n=i(110);e.exports=function(e){e.eachSeriesByType("graph",function(e){"circular"===e.get("layout")&&n(e)})}},function(e,t,i){function n(e,t,i){var n=e.getBoxLayoutParams();return n.aspect=i,r.getLayoutRect(n,{width:t.getWidth(),height:t.getHeight()})}var o=i(142),r=i(7),a=i(98);e.exports=function(e,t){var i=[];return e.eachSeriesByType("graph",function(e){var r=e.get("coordinateSystem");if(!r||"view"===r){var s=e.getData(),l=s.mapArray(function(e){var t=s.getItemModel(e);return[+t.get("x"),+t.get("y")]}),c=[],u=[];a.fromPoints(l,c,u),u[0]-c[0]==0&&(u[0]+=1,c[0]-=1),u[1]-c[1]==0&&(u[1]+=1,c[1]-=1);var h=(u[0]-c[0])/(u[1]-c[1]),d=n(e,t,h);isNaN(h)&&(c=[d.x,d.y],u=[d.x+d.width,d.y+d.height]);var p=u[0]-c[0],f=u[1]-c[1],g=d.width,m=d.height,v=e.coordinateSystem=new o;v.zoomLimit=e.get("scaleLimit"),v.setBoundingRect(c[0],c[1],p,f),v.setViewRect(d.x,d.y,g,m),v.setCenter(e.get("center")),v.setZoom(e.get("zoom")),i.push(v)}}),i}},function(e,t){function i(e){return e instanceof Array||(e=[e,e]),e}e.exports=function(e){e.eachSeriesByType("graph",function(e){var t=e.getGraph(),n=e.getEdgeData(),o=i(e.get("edgeSymbol")),r=i(e.get("edgeSymbolSize")),a="lineStyle.normal.color".split("."),s="lineStyle.normal.opacity".split(".");n.setVisual("fromSymbol",o&&o[0]),n.setVisual("toSymbol",o&&o[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("color",e.get(a)),n.setVisual("opacity",e.get(s)),n.each(function(e){var o=n.getItemModel(e),r=t.getEdgeByIndex(e),l=i(o.getShallow("symbol",!0)),c=i(o.getShallow("symbolSize",!0)),u=o.get(a),h=o.get(s);switch(u){case"source":u=r.node1.getVisual("color");break;case"target":u=r.node2.getVisual("color")}l[0]&&r.setVisual("fromSymbol",l[0]),l[1]&&r.setVisual("toSymbol",l[1]),c[0]&&r.setVisual("fromSymbolSize",c[0]),c[1]&&r.setVisual("toSymbolSize",c[1]),r.setVisual("color",u),r.setVisual("opacity",h)})})}},function(e,t,i){var n=i(6),o=n.scaleAndAdd;e.exports=function(e,t,i){for(var r=i.rect,a=r.width,s=r.height,l=[r.x+a/2,r.y+s/2],c=null==i.gravity?.1:i.gravity,u=0;u<e.length;u++){var h=e[u];h.p||(h.p=n.create(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=n.clone(h.p),h.edges=null}var d=.6;return{warmUp:function(){d=.5},setFixed:function(t){e[t].fixed=!0},setUnfixed:function(t){e[t].fixed=!1},step:function(i){for(var r=[],a=e.length,s=0;s<t.length;s++){var u=t[s],h=u.n1,p=u.n2;n.sub(r,p.p,h.p);var f=n.len(r)-u.d,g=p.w/(h.w+p.w);n.normalize(r,r),!h.fixed&&o(h.p,h.p,r,g*f*d),!p.fixed&&o(p.p,p.p,r,-(1-g)*f*d)}for(var s=0;s<a;s++){var m=e[s];m.fixed||(n.sub(r,l,m.p),n.scaleAndAdd(m.p,m.p,r,c*d))}for(var s=0;s<a;s++)for(var h=e[s],v=s+1;v<a;v++){var p=e[v];n.sub(r,p.p,h.p);var f=n.len(r);0===f&&(n.set(r,Math.random()-.5,Math.random()-.5),f=1);var y=(h.rep+p.rep)/f/f;!h.fixed&&o(h.pp,h.pp,r,y),!p.fixed&&o(p.pp,p.pp,r,-y)}for(var x=[],s=0;s<a;s++){var m=e[s];m.fixed||(n.sub(x,m.p,m.pp),n.scaleAndAdd(m.p,m.p,x,d),n.copy(m.pp,m.p))}d*=.992,i&&i(e,t,d<.01)}}}},function(e,t,i){var n=i(266),o=i(3),r=i(112),a=i(110),s=i(6),l=i(0);e.exports=function(e){e.eachSeriesByType("graph",function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var i=e.preservedPoints||{},c=e.getGraph(),u=c.data,h=c.edgeData,d=e.getModel("force"),p=d.get("initLayout");e.preservedPoints?u.each(function(e){var t=u.getId(e);u.setItemLayout(e,i[t]||[NaN,NaN])}):p&&"none"!==p?"circular"===p&&a(e):r(e);var f=u.getDataExtent("value"),g=h.getDataExtent("value"),m=d.get("repulsion"),v=d.get("edgeLength");l.isArray(m)||(m=[m,m]),l.isArray(v)||(v=[v,v]),v=[v[1],v[0]];var y=u.mapArray("value",function(e,t){var i=u.getItemLayout(t),n=o.linearMap(e,f,m);return isNaN(n)&&(n=(m[0]+m[1])/2),{w:n,rep:n,p:!i||isNaN(i[0])||isNaN(i[1])?null:i}}),x=h.mapArray("value",function(e,t){var i=c.getEdgeByIndex(t),n=o.linearMap(e,g,v);return isNaN(n)&&(n=(v[0]+v[1])/2),{n1:y[i.node1.dataIndex],n2:y[i.node2.dataIndex],d:n,curveness:i.getModel().get("lineStyle.normal.curveness")||0}}),t=e.coordinateSystem,b=t.getBoundingRect(),_=n(y,x,{rect:b,gravity:d.get("gravity")}),w=_.step;_.step=function(e){for(var t=0,n=y.length;t<n;t++)y[t].fixed&&s.copy(y[t].p,c.getNodeByIndex(t).getLayout());w(function(t,n,o){for(var r=0,a=t.length;r<a;r++)t[r].fixed||c.getNodeByIndex(r).setLayout(t[r].p),i[u.getId(r)]=t[r].p;for(var r=0,a=n.length;r<a;r++){var l=n[r],h=c.getEdgeByIndex(r),d=l.n1.p,p=l.n2.p,f=h.getLayout();f=f?f.slice():[],f[0]=f[0]||[],f[1]=f[1]||[],s.copy(f[0],d),s.copy(f[1],p),+l.curveness&&(f[2]=[(d[0]+p[0])/2-(d[1]-p[1])*l.curveness,(d[1]+p[1])/2-(p[0]-d[0])*l.curveness]),h.setLayout(f)}e&&e(o)})},e.forceLayout=_,e.preservedPoints=i,_.step()}else e.forceLayout=null})}},function(e,t,i){var n=i(1),o=i(106),r={type:"graphRoam",event:"graphRoam",update:"none"};n.registerAction(r,function(e,t){t.eachComponent({mainType:"series",query:e},function(t){var i=t.coordinateSystem,n=o.updateCenterAndZoom(i,e);t.setCenter&&t.setCenter(n.center),t.setZoom&&t.setZoom(n.zoom)})}),n.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series.graph:focusNodeAdjacency"},function(){}),n.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series.graph:unfocusNodeAdjacency"},function(){})},function(e,t,i){var n=i(112),o=i(111);e.exports=function(e,t){e.eachSeriesByType("graph",function(e){var t=e.get("layout"),i=e.coordinateSystem;if(i&&"view"!==i.type){var r=e.getData(),a=i.dimensions;r.each(a,function(){for(var e,t=arguments,n=[],o=0;o<a.length;o++)isNaN(t[o])||(e=!0),n.push(t[o]);var s=t[t.length-1];e?r.setItemLayout(s,i.dataToPoint(n)):r.setItemLayout(s,[NaN,NaN])}),o(r.graph)}else t&&"none"!==t||n(e)})}},function(e,t,i){i(272),i(273)},function(e,t,i){function n(){var e=o.createCanvas();this.canvas=e,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}var o=i(0);n.prototype={update:function(e,t,i,n,o,r){var a=this._getBrush(),s=this._getGradient(e,o,"inRange"),l=this._getGradient(e,o,"outOfRange"),c=this.pointSize+this.blurSize,u=this.canvas,h=u.getContext("2d"),d=e.length;u.width=t,u.height=i;for(var p=0;p<d;++p){var f=e[p],g=f[0],m=f[1],v=f[2],y=n(v);h.globalAlpha=y,h.drawImage(a,g-c,m-c)}for(var x=h.getImageData(0,0,u.width,u.height),b=x.data,_=0,w=b.length,S=this.minOpacity,A=this.maxOpacity,M=A-S;_<w;){var y=b[_+3]/256,k=4*Math.floor(255*y);if(y>0){var T=r(y)?s:l;y>0&&(y=y*M+S),b[_++]=T[k],b[_++]=T[k+1],b[_++]=T[k+2],b[_++]=T[k+3]*y*256}else _+=4}return h.putImageData(x,0,0),u},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=o.createCanvas()),t=this.pointSize+this.blurSize,i=2*t;e.width=i,e.height=i;var n=e.getContext("2d");return n.clearRect(0,0,i,i),n.shadowOffsetX=i,n.shadowBlur=this.blurSize,n.shadowColor="#000",n.beginPath(),n.arc(-t,t,this.pointSize,0,2*Math.PI,!0),n.closePath(),n.fill(),e},_getGradient:function(e,t,i){for(var n=this._gradientPixels,o=n[i]||(n[i]=new Uint8ClampedArray(1024)),r=[],a=0,s=0;s<256;s++)t[i](s/255,!0,r),o[a++]=r[0],o[a++]=r[1],o[a++]=r[2],o[a++]=r[3];return o}},e.exports=n},function(e,t,i){var n=i(14),o=i(32);e.exports=n.extend({type:"series.heatmap",getInitialData:function(e,t){return o(e.data,this,t)},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}})},function(e,t,i){function n(e,t,i){var n=e[1]-e[0];t=l.map(t,function(t){return{interval:[(t.interval[0]-e[0])/n,(t.interval[1]-e[0])/n]}});var o=t.length,r=0;return function(e){for(var n=r;n<o;n++){var a=t[n].interval;if(a[0]<=e&&e<=a[1]){r=n;break}}if(n===o)for(var n=r-1;n>=0;n--){var a=t[n].interval;if(a[0]<=e&&e<=a[1]){r=n;break}}return n>=0&&n<o&&i[n]}}function o(e,t){var i=e[1]-e[0];return t=[(t[0]-e[0])/i,(t[1]-e[0])/i],function(e){return e>=t[0]&&e<=t[1]}}function r(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var a=i(2),s=i(271),l=i(0);e.exports=i(1).extendChartView({type:"heatmap",render:function(e,t,i){var n;if(t.eachComponent("visualMap",function(t){t.eachTargetSeries(function(i){i===e&&(n=t)})}),__DEV__&&!n)throw new Error("Heatmap must use with visualMap");this.group.removeAll();var o=e.coordinateSystem;"cartesian2d"===o.type||"calendar"===o.type?this._renderOnCartesianAndCalendar(o,e,i):r(o)&&this._renderOnGeo(o,e,n,i)},dispose:function(){},_renderOnCartesianAndCalendar:function(e,t,i){if("cartesian2d"===e.type){var n=e.getAxis("x"),o=e.getAxis("y");if(__DEV__){if("category"!==n.type||"category"!==o.type)throw new Error("Heatmap on cartesian must have two category axes");if(!n.onBand||!o.onBand)throw new Error("Heatmap on cartesian must have two axes with boundaryGap true")}var r=n.getBandWidth(),s=o.getBandWidth()}var c=this.group,u=t.getData(),h=t.getModel("itemStyle.normal").getItemStyle(["color"]),d=t.getModel("itemStyle.emphasis").getItemStyle(),p=t.getModel("label.normal"),f=t.getModel("label.emphasis");u.each("cartesian2d"===e.type?["x","y","z"]:["time","value"],function(i,n,o,g){var m;if("cartesian2d"===e.type){if(isNaN(o))return;var v=e.dataToPoint([i,n]);m=new a.Rect({shape:{x:v[0]-r/2,y:v[1]-s/2,width:r,height:s},style:{fill:u.getItemVisual(g,"color"),opacity:u.getItemVisual(g,"opacity")}})}else{if(isNaN(n))return;g=o,m=new a.Rect({z2:1,shape:e.dataToRect([i,n]).contentShape,style:{fill:u.getItemVisual(g,"color"),opacity:u.getItemVisual(g,"opacity")}})}var y=u.getItemModel(g);u.hasItemOption&&(h=y.getModel("itemStyle.normal").getItemStyle(["color"]),d=y.getModel("itemStyle.emphasis").getItemStyle(),p=y.getModel("label.normal"),f=y.getModel("label.emphasis"));var x=t.getRawValue(g),b="-";x&&null!=x[2]&&(b=x[2]),p.getShallow("show")&&(a.setText(h,p),h.text=t.getFormattedLabel(g,"normal")||b),f.getShallow("show")&&(a.setText(d,f),d.text=t.getFormattedLabel(g,"emphasis")||b),m.setStyle(h),a.setHoverStyle(m,u.hasItemOption?d:l.extend({},d)),c.add(m),u.setItemGraphicEl(g,m)})},_renderOnGeo:function(e,t,i,r){var l=i.targetVisuals.inRange,c=i.targetVisuals.outOfRange,u=t.getData(),h=this._hmLayer||this._hmLayer||new s;h.blurSize=t.get("blurSize"),h.pointSize=t.get("pointSize"),h.minOpacity=t.get("minOpacity"),h.maxOpacity=t.get("maxOpacity");var d=e.getViewRect().clone(),p=e.getRoamTransform().transform;d.applyTransform(p);var f=Math.max(d.x,0),g=Math.max(d.y,0),m=Math.min(d.width+d.x,r.getWidth()),v=Math.min(d.height+d.y,r.getHeight()),y=m-f,x=v-g,b=u.mapArray(["lng","lat","value"],function(t,i,n){var o=e.dataToPoint([t,i]);return o[0]-=f,o[1]-=g,o.push(n),o}),_=i.getExtent(),w="visualMap.continuous"===i.type?o(_,i.option.range):n(_,i.getPieceList(),i.option.selected);h.update(b,y,x,l.color.getNormalizer(),{inRange:l.color.getColorMapper(),outOfRange:c.color.getColorMapper()},w);var S=new a.Image({style:{width:y,height:x,x:f,y:g,image:h.canvas},silent:!0});this.group.add(S)}})},function(e,t,i){function n(e,t,i){a.call(this,e,t,i),this._lastFrame=0,this._lastFramePercent=0}var o=i(114),r=i(0),a=i(113),s=i(6),l=n.prototype;l.createLine=function(e,t,i){return new o(e,t,i)},l.updateAnimationPoints=function(e,t){this._points=t;for(var i=[0],n=0,o=1;o<t.length;o++){var r=t[o-1],a=t[o];n+=s.dist(r,a),i.push(n)}if(0!==n){for(var o=0;o<i.length;o++)i[o]/=n;this._offsets=i,this._length=n}},l.getLineLength=function(e){return this._length},l.updateSymbolPosition=function(e){var t=e.__t,i=this._points,n=this._offsets,o=i.length;if(n){var r,a=this._lastFrame;if(t<this._lastFramePercent){var l=Math.min(a+1,o-1);for(r=l;r>=0&&!(n[r]<=t);r--);r=Math.min(r,o-2)}else{for(var r=a;r<o&&!(n[r]>t);r++);r=Math.min(r-1,o-2)}s.lerp(e.position,i[r],i[r+1],(t-n[r])/(n[r+1]-n[r]));var c=i[r+1][0]-i[r][0],u=i[r+1][1]-i[r][1];e.rotation=-Math.atan2(u,c)-Math.PI/2,this._lastFrame=r,this._lastFramePercent=t,e.ignore=!1}},r.inherits(n,a),e.exports=n},function(e,t,i){function n(e){return a.isArray(e)||(e=[+e,+e]),e}function o(e,t){e.eachChild(function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?t.color:null,fill:"fill"===t.brushType?t.color:null}})})}function r(e,t){h.call(this);var i=new u(e,t),n=new h;this.add(i),this.add(n),n.beforeUpdate=function(){this.attr(i.getScale())},this.updateData(e,t)}var a=i(0),s=i(20),l=i(2),c=i(3),u=i(77),h=l.Group,d=r.prototype;d.stopEffectAnimation=function(){this.childAt(1).removeAll()},d.startEffectAnimation=function(e){for(var t=e.symbolType,i=e.color,n=this.childAt(1),r=0;r<3;r++){var a=s.createSymbol(t,-1,-1,2,2,i);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var l=-r/3*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(l).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(l).start(),n.add(a)}o(n,e)},d.updateEffectAnimation=function(e){for(var t=this._effectCfg,i=this.childAt(1),n=["symbolType","period","rippleScale"],r=0;r<n;r++){var a=n[r];if(t[a]!==e[a])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}o(i,e)},d.highlight=function(){this.trigger("emphasis")},d.downplay=function(){this.trigger("normal")},d.updateData=function(e,t){var i=e.hostModel;this.childAt(0).updateData(e,t);var o=this.childAt(1),r=e.getItemModel(t),a=e.getItemVisual(t,"symbol"),s=n(e.getItemVisual(t,"symbolSize")),l=e.getItemVisual(t,"color");o.attr("scale",s),o.traverse(function(e){e.attr({fill:l})});var u=r.getShallow("symbolOffset");if(u){var h=o.position;h[0]=c.parsePercent(u[0],s[0]),h[1]=c.parsePercent(u[1],s[1])}o.rotation=(r.getShallow("symbolRotate")||0)*Math.PI/180||0;var d={};if(d.showEffectOn=i.get("showEffectOn"),d.rippleScale=r.get("rippleEffect.scale"),d.brushType=r.get("rippleEffect.brushType"),d.period=1e3*r.get("rippleEffect.period"),d.effectOffset=t/e.count(),d.z=r.getShallow("z")||0,d.zlevel=r.getShallow("zlevel")||0,d.symbolType=a,d.color=l,this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===d.showEffectOn)this._effectCfg?this.updateEffectAnimation(d):this.startEffectAnimation(d),this._effectCfg=d;else{this._effectCfg=null,this.stopEffectAnimation();var p=this.childAt(0),f=function(){p.trigger("emphasis"),"render"!==d.showEffectOn&&this.startEffectAnimation(d)},g=function(){p.trigger("normal"),"render"!==d.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",f,this).on("mouseout",g,this).on("emphasis",f,this).on("normal",g,this)}this._effectCfg=d},d.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},a.inherits(r,h),e.exports=r},function(e,t,i){function n(){this.group=new o.Group,this._lineEl=new s}var o=i(2),r=i(167),a=i(165),s=o.extendShape({shape:{polyline:!1,segs:[]},buildPath:function(e,t){for(var i=t.segs,n=t.polyline,o=0;o<i.length;o++){var r=i[o];if(n){e.moveTo(r[0][0],r[0][1]);for(var a=1;a<r.length;a++)e.lineTo(r[a][0],r[a][1])}else e.moveTo(r[0][0],r[0][1]),r.length>2?e.quadraticCurveTo(r[2][0],r[2][1],r[1][0],r[1][1]):e.lineTo(r[1][0],r[1][1])}},findDataIndex:function(e,t){for(var i=this.shape,n=i.segs,o=i.polyline,s=Math.max(this.style.lineWidth,1),l=0;l<n.length;l++){var c=n[l];if(o){for(var u=1;u<c.length;u++)if(a.containStroke(c[u-1][0],c[u-1][1],c[u][0],c[u][1],s,e,t))return l}else if(c.length>2){if(r.containStroke(c[0][0],c[0][1],c[2][0],c[2][1],c[1][0],c[1][1],s,e,t))return l}else if(a.containStroke(c[0][0],c[0][1],c[1][0],c[1][1],s,e,t))return l}return-1}}),l=n.prototype;l.updateData=function(e){this.group.removeAll();var t=this._lineEl,i=e.hostModel;t.setShape({segs:e.mapArray(e.getItemLayout),polyline:i.get("polyline")}),t.useStyle(i.getModel("lineStyle.normal").getLineStyle());var n=e.getVisual("color");n&&t.setStyle("stroke",n),t.setStyle("fill"),t.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>0&&(t.dataIndex=i)}),this.group.add(t)},l.updateLayout=function(e){var t=e.getData();this._lineEl.setShape({segs:t.mapArray(t.getItemLayout)})},l.remove=function(){this.group.removeAll()},e.exports=n},function(e,t,i){function n(){this.group=new o.Group,this._symbolEl=new a({})}var o=i(2),r=i(20),a=o.extendShape({shape:{points:null,sizes:null},symbolProxy:null,buildPath:function(e,t){for(var i=t.points,n=t.sizes,o=this.symbolProxy,r=o.shape,a=0;a<i.length;a++){var s=i[a],l=n[a];l[0]<4?e.rect(s[0]-l[0]/2,s[1]-l[1]/2,l[0],l[1]):(r.x=s[0]-l[0]/2,r.y=s[1]-l[1]/2,r.width=l[0],r.height=l[1],o.buildPath(e,r,!0))}},findDataIndex:function(e,t){for(var i=this.shape,n=i.points,o=i.sizes,r=n.length-1;r>=0;r--){var a=n[r],s=o[r],l=a[0]-s[0]/2,c=a[1]-s[1]/2;if(e>=l&&t>=c&&e<=l+s[0]&&t<=c+s[1])return r}return-1}}),s=n.prototype;s.updateData=function(e){this.group.removeAll();var t=this._symbolEl,i=e.hostModel;t.setShape({points:e.mapArray(e.getItemLayout),sizes:e.mapArray(function(t){var i=e.getItemVisual(t,"symbolSize");return i instanceof Array||(i=[i,i]),i})}),t.symbolProxy=r.createSymbol(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor,t.useStyle(i.getModel("itemStyle.normal").getItemStyle(["color"]));var n=e.getVisual("color");n&&t.setColor(n),t.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){t.dataIndex=null;var i=t.findDataIndex(e.offsetX,e.offsetY);i>0&&(t.dataIndex=i)}),this.group.add(t)},s.updateLayout=function(e){var t=e.getData();this._symbolEl.setShape({points:t.mapArray(t.getItemLayout)})},s.remove=function(){this.group.removeAll()},e.exports=n},function(e,t,i){function n(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var o=i(2),r=i(6),a=o.Line.prototype,s=o.BezierCurve.prototype;e.exports=o.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(e,t){(n(t)?a:s).buildPath(e,t)},pointAt:function(e){return n(this.shape)?a.pointAt.call(this,e):s.pointAt.call(this,e)},tangentAt:function(e){var t=this.shape,i=n(t)?[t.x2-t.x1,t.y2-t.y1]:s.tangentAt.call(this,e);return r.normalize(i,i)}})},function(e,t,i){function n(e,t,i,n){l.Group.call(this),this.bodyIndex,this.whiskerIndex,this.styleUpdater=i,this._createContent(e,t,n),this.updateData(e,t,n),this._seriesModel}function o(e,t,i){return s.map(e,function(e){return e=e.slice(),e[t]=i.initBaseline,e})}function r(e){var t={};return s.each(e,function(e,i){t["ends"+i]=e}),t}function a(e){this.group=new l.Group,this.styleUpdater=e}var s=i(0),l=i(2),c=i(15),u=c.extend({type:"whiskerInBox",shape:{},buildPath:function(e,t){for(var i in t)if(t.hasOwnProperty(i)&&0===i.indexOf("ends")){var n=t[i];e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1])}}}),h=n.prototype;h._createContent=function(e,t,i){var n=e.getItemLayout(t),a="horizontal"===n.chartLayout?1:0,c=0;this.add(new l.Polygon({shape:{points:i?o(n.bodyEnds,a,n):n.bodyEnds},style:{strokeNoScale:!0},z2:100})),this.bodyIndex=c++;var h=s.map(n.whiskerEnds,function(e){return i?o(e,a,n):e});this.add(new u({shape:r(h),style:{strokeNoScale:!0},z2:100})),this.whiskerIndex=c++},h.updateData=function(e,t,i){var n=this._seriesModel=e.hostModel,o=e.getItemLayout(t),a=l[i?"initProps":"updateProps"];a(this.childAt(this.bodyIndex),{shape:{points:o.bodyEnds}},n,t),a(this.childAt(this.whiskerIndex),{shape:r(o.whiskerEnds)},n,t),this.styleUpdater.call(null,this,e,t)},s.inherits(n,l.Group);var d=a.prototype;d.updateData=function(e){var t=this.group,i=this._data,o=this.styleUpdater;e.diff(i).add(function(i){if(e.hasValue(i)){var r=new n(e,i,o,!0);e.setItemGraphicEl(i,r),t.add(r)}}).update(function(r,a){var s=i.getItemGraphicEl(a);if(!e.hasValue(r))return void t.remove(s);s?s.updateData(e,r):s=new n(e,r,o),t.add(s),e.setItemGraphicEl(r,s)}).remove(function(e){var n=i.getItemGraphicEl(e);n&&t.remove(n)}).execute(),this._data=e},d.remove=function(){var e=this.group,t=this._data;this._data=null,t&&t.eachItemGraphicEl(function(t){t&&e.remove(t)})},e.exports=a},function(e,t,i){var n=i(0),o=i(1),r=o.PRIORITY;i(281),i(282),o.registerVisual(n.curry(i(42),"line","circle","line")),o.registerLayout(n.curry(i(88),"line")),o.registerProcessor(r.PROCESSOR.STATISTIC,n.curry(i(456),"line")),i(48)},function(e,t,i){"use strict";var n=i(32),o=i(14);e.exports=o.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){if(__DEV__){var i=e.coordinateSystem;if("polar"!==i&&"cartesian2d"!==i)throw new Error("Line not support coordinateSystem besides cartesian and polar")}return n(e.data,this,t)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{normal:{position:"top"}},lineStyle:{normal:{width:2,type:"solid"}},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:!1,connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}})},function(e,t,i){"use strict";function n(e,t){if(e.length===t.length){for(var i=0;i<e.length;i++){var n=e[i],o=t[i];if(n[0]!==o[0]||n[1]!==o[1])return}return!0}}function o(e){return"number"==typeof e?e:e?.3:0}function r(e){var t=e.getGlobalExtent();if(e.onBand){var i=e.getBandWidth()/2-1,n=t[1]>t[0]?1:-1;t[0]+=n*i,t[1]-=n*i}return t}function a(e){return e>=0?1:-1}function s(e,t){var i=e.getBaseAxis(),n=e.getOtherAxis(i),o=i.onZero?0:n.scale.getExtent()[0],r=n.dim,s="x"===r||"radius"===r?1:0;return t.mapArray([r],function(n,l){for(var c,u=t.stackedOn;u&&a(u.get(r,l))===a(n);){c=u;break}var h=[];return h[s]=t.get(i.dim,l),h[1-s]=c?c.get(r,l,!0):o,e.dataToPoint(h)},!0)}function l(e,t,i){var n=r(e.getAxis("x")),o=r(e.getAxis("y")),a=e.getBaseAxis().isHorizontal(),s=Math.min(n[0],n[1]),l=Math.min(o[0],o[1]),c=Math.max(n[0],n[1])-s,u=Math.max(o[0],o[1])-l,h=i.get("lineStyle.normal.width")||2,d=i.get("clipOverflow")?h/2:Math.max(c,u);a?(l-=d,u+=2*d):(s-=d,c+=2*d);var p=new v.Rect({shape:{x:s,y:l,width:c,height:u}});return t&&(p.shape[a?"width":"height"]=0,v.initProps(p,{shape:{width:c,height:u}},i)),p}function c(e,t,i){var n=e.getAngleAxis(),o=e.getRadiusAxis(),r=o.getExtent(),a=n.getExtent(),s=Math.PI/180,l=new v.Sector({shape:{cx:e.cx,cy:e.cy,r0:r[0],r:r[1],startAngle:-a[0]*s,endAngle:-a[1]*s,clockwise:n.inverse}});return t&&(l.shape.endAngle=-a[0]*s,v.initProps(l,{shape:{endAngle:-a[1]*s}},i)),l}function u(e,t,i){return"polar"===e.type?c(e,t,i):l(e,t,i)}function h(e,t,i){for(var n=t.getBaseAxis(),o="x"===n.dim||"radius"===n.dim?0:1,r=[],a=0;a<e.length-1;a++){var s=e[a+1],l=e[a];r.push(l);var c=[];switch(i){case"end":c[o]=s[o],c[1-o]=l[1-o],r.push(c);break;case"middle":var u=(l[o]+s[o])/2,h=[];c[o]=h[o]=u,c[1-o]=l[1-o],h[1-o]=s[1-o],r.push(c),r.push(h);break;default:c[o]=l[o],c[1-o]=s[1-o],r.push(c)}}return e[a]&&r.push(e[a]),r}function d(e,t){var i=e.getVisual("visualMeta");if(i&&i.length&&e.count()){for(var n,o=i.length-1;o>=0;o--)if(i[o].dimension<2){n=i[o];break}if(!n||"cartesian2d"!==t.type)return void(__DEV__&&console.warn("Visual map on line style only support x or y dimension."));var r=n.dimension,a=e.dimensions[r],s=t.getAxis(a),l=p.map(n.stops,function(e){return{coord:s.toGlobalCoord(s.dataToCoord(e.value)),color:e.color}}),c=l.length,u=n.outerColors.slice();c&&l[0].coord>l[c-1].coord&&(l.reverse(),u.reverse());var h=l[0].coord-10,d=l[c-1].coord+10,f=d-h;if(f<.001)return"transparent";p.each(l,function(e){e.offset=(e.coord-h)/f}),l.push({offset:c?l[c-1].offset:.5,color:u[1]||"transparent"}),l.unshift({offset:c?l[0].offset:.5,color:u[0]||"transparent"});var g=new v.LinearGradient(0,0,0,0,l,!0);return g[a]=h,g[a+"2"]=d,g}}var p=i(0),f=i(44),g=i(77),m=i(283),v=i(2),y=i(5),x=i(116),b=i(30);e.exports=b.extend({type:"line",init:function(){var e=new v.Group,t=new f;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,i){var r=e.coordinateSystem,a=this.group,l=e.getData(),c=e.getModel("lineStyle.normal"),f=e.getModel("areaStyle.normal"),g=l.mapArray(l.getItemLayout,!0),m="polar"===r.type,v=this._coordSys,y=this._symbolDraw,x=this._polyline,b=this._polygon,_=this._lineGroup,w=e.get("animation"),S=!f.isEmpty(),A=s(r,l),M=e.get("showSymbol"),k=M&&!m&&!e.get("showAllSymbol")&&this._getSymbolIgnoreFunc(l,r),T=this._data;T&&T.eachItemGraphicEl(function(e,t){e.__temp&&(a.remove(e),T.setItemGraphicEl(t,null))}),M||y.remove(),a.add(_);var I=!m&&e.get("step");x&&v.type===r.type&&I===this._step?(S&&!b?b=this._newPolygon(g,A,r,w):b&&!S&&(_.remove(b),b=this._polygon=null),_.setClipPath(u(r,!1,e)),M&&y.updateData(l,k),l.eachItemGraphicEl(function(e){e.stopAnimation(!0)}),n(this._stackedOnPoints,A)&&n(this._points,g)||(w?this._updateAnimation(l,A,r,i,I):(I&&(g=h(g,r,I),A=h(A,r,I)),x.setShape({points:g}),b&&b.setShape({points:g,stackedOnPoints:A})))):(M&&y.updateData(l,k),I&&(g=h(g,r,I),A=h(A,r,I)),x=this._newPolyline(g,r,w),S&&(b=this._newPolygon(g,A,r,w)),_.setClipPath(u(r,!0,e)));var C=d(l,r)||l.getVisual("color");x.useStyle(p.defaults(c.getLineStyle(),{fill:"none",stroke:C,lineJoin:"bevel"}));var L=e.get("smooth");if(L=o(e.get("smooth")),x.setShape({smooth:L,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),b){var D=l.stackedOn,P=0;if(b.useStyle(p.defaults(f.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel"})),D){P=o(D.hostModel.get("smooth"))}b.setShape({smooth:L,stackedOnSmooth:P,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=l,this._coordSys=r,this._stackedOnPoints=A,this._points=g,this._step=I},dispose:function(){},highlight:function(e,t,i,n){var o=e.getData(),r=y.queryDataIndex(o,n);if(!(r instanceof Array)&&null!=r&&r>=0){var a=o.getItemGraphicEl(r);if(!a){var s=o.getItemLayout(r);if(!s)return;a=new g(o,r),a.position=s,a.setZ(e.get("zlevel"),e.get("z")),a.ignore=isNaN(s[0])||isNaN(s[1]),a.__temp=!0,o.setItemGraphicEl(r,a),a.stopSymbolAnimation(!0),this.group.add(a)}a.highlight()}else b.prototype.highlight.call(this,e,t,i,n)},downplay:function(e,t,i,n){var o=e.getData(),r=y.queryDataIndex(o,n);if(null!=r&&r>=0){var a=o.getItemGraphicEl(r);a&&(a.__temp?(o.setItemGraphicEl(r,null),this.group.remove(a)):a.downplay())}else b.prototype.downplay.call(this,e,t,i,n)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new x.Polyline({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new x.Polygon({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(i),this._polygon=i,i},_getSymbolIgnoreFunc:function(e,t){var i=t.getAxesByScale("ordinal")[0];if(i&&i.isLabelIgnored)return p.bind(i.isLabelIgnored,i)},_updateAnimation:function(e,t,i,n,o){var r=this._polyline,a=this._polygon,s=e.hostModel,l=m(this._data,e,this._stackedOnPoints,t,this._coordSys,i),c=l.current,u=l.stackedOnCurrent,d=l.next,p=l.stackedOnNext;o&&(c=h(l.current,i,o),u=h(l.stackedOnCurrent,i,o),d=h(l.next,i,o),p=h(l.stackedOnNext,i,o)),r.shape.__points=l.current,r.shape.points=c,v.updateProps(r,{shape:{points:d}},s),a&&(a.setShape({points:c,stackedOnPoints:u}),v.updateProps(a,{shape:{points:d,stackedOnPoints:p}},s));for(var f=[],g=l.status,y=0;y<g.length;y++){if("="===g[y].cmd){var x=e.getItemGraphicEl(g[y].idx1);x&&f.push({el:x,ptIdx:y})}}r.animators&&r.animators.length&&r.animators[0].during(function(){for(var e=0;e<f.length;e++){f[e].el.attr("position",r.shape.__points[f[e].ptIdx])}})},remove:function(e){var t=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(e,n){e.__temp&&(t.remove(e),i.setItemGraphicEl(n,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}})},function(e,t){function i(e){return e>=0?1:-1}function n(e,t,n){for(var o,r=e.getBaseAxis(),a=e.getOtherAxis(r),s=r.onZero?0:a.scale.getExtent()[0],l=a.dim,c="x"===l||"radius"===l?1:0,u=t.stackedOn,h=t.get(l,n);u&&i(u.get(l,n))===i(h);){o=u;break}var d=[];return d[c]=t.get(r.dim,n),d[1-c]=o?o.get(l,n,!0):s,e.dataToPoint(d)}function o(e,t){var i=[];return t.diff(e).add(function(e){i.push({cmd:"+",idx:e})}).update(function(e,t){i.push({cmd:"=",idx:t,idx1:e})}).remove(function(e){i.push({cmd:"-",idx:e})}).execute(),i}e.exports=function(e,t,i,r,a,s){for(var l=o(e,t),c=[],u=[],h=[],d=[],p=[],f=[],g=[],m=s.dimensions,v=0;v<l.length;v++){var y=l[v],x=!0;switch(y.cmd){case"=":var b=e.getItemLayout(y.idx),_=t.getItemLayout(y.idx1);(isNaN(b[0])||isNaN(b[1]))&&(b=_.slice()),c.push(b),u.push(_),h.push(i[y.idx]),d.push(r[y.idx1]),g.push(t.getRawIndex(y.idx1));break;case"+":var w=y.idx;c.push(a.dataToPoint([t.get(m[0],w,!0),t.get(m[1],w,!0)])),u.push(t.getItemLayout(w).slice()),h.push(n(a,t,w)),d.push(r[w]),g.push(t.getRawIndex(w));break;case"-":var w=y.idx,S=e.getRawIndex(w);S!==w?(c.push(e.getItemLayout(w)),u.push(s.dataToPoint([e.get(m[0],w,!0),e.get(m[1],w,!0)])),h.push(i[w]),d.push(n(s,e,w)),g.push(S)):x=!1}x&&(p.push(y),f.push(f.length))}f.sort(function(e,t){return g[e]-g[t]});for(var A=[],M=[],k=[],T=[],I=[],v=0;v<f.length;v++){var w=f[v];A[v]=c[w],M[v]=u[w],k[v]=h[w],T[v]=d[w],I[v]=p[w]}return{current:A,next:M,stackedOnCurrent:k,stackedOnNext:T,status:I}}},function(e,t,i){i(285),i(286);var n=i(1);n.registerLayout(i(287)),n.registerVisual(i(288))},function(e,t,i){"use strict";function n(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(__DEV__&&console.warn("Lines data configuration has been changed to { coords:[[1,2],[2,3]] }"),e.data=a.map(t,function(e){var t=[e[0].coord,e[1].coord],i={coords:t};return e[0].name&&(i.fromName=e[0].name),e[1].name&&(i.toName=e[1].name),a.mergeAll([i,e[0],e[1]])}))}var o=i(14),r=i(11),a=i(0),s=i(4),l=i(22),c=o.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.normal.color",init:function(e){n(e),c.superApply(this,"init",arguments)},mergeOption:function(e){n(e),c.superApply(this,"mergeOption",arguments)},getInitialData:function(e,t){if(__DEV__){if(!l.get(e.coordinateSystem))throw new Error("Unkown coordinate system "+e.coordinateSystem)}var i=new r(["value"],this);return i.hasItemOption=!1,i.initData(e.data,[],function(e,t,n,o){if(e instanceof Array)return NaN;i.hasItemOption=!0;var r=e.value;return null!=r?r instanceof Array?r[o]:r:void 0}),i},formatTooltip:function(e){var t=this.getData(),i=t.getItemModel(e),n=i.get("name");if(n)return n;var o=i.get("fromName"),r=i.get("toName"),a=[];return null!=o&&a.push(o),null!=r&&a.push(r),s.encodeHTML(a.join(" > "))},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,label:{normal:{show:!1,position:"end"}},lineStyle:{normal:{opacity:.5}}}})},function(e,t,i){var n=i(76),o=i(113),r=i(75),a=i(114),s=i(274),l=i(276);i(1).extendChartView({type:"lines",init:function(){},render:function(e,t,i){var c=e.getData(),u=this._lineDraw,h=e.get("effect.show"),d=e.get("polyline"),p=e.get("large")&&c.count()>=e.get("largeThreshold");__DEV__&&h&&p&&console.warn("Large lines not support effect"),h===this._hasEffet&&d===this._isPolyline&&p===this._isLarge||(u&&u.remove(),u=this._lineDraw=p?new l:new n(d?h?s:a:h?o:r),this._hasEffet=h,this._isPolyline=d,this._isLarge=p);var f=e.get("zlevel"),g=e.get("effect.trailLength"),m=i.getZr();if(m.painter.getLayer(f).clear(!0),null!=this._lastZlevel&&m.configLayer(this._lastZlevel,{motionBlur:!1}),h&&g){if(__DEV__){var v=!1;t.eachSeries(function(t){t!==e&&t.get("zlevel")===f&&(v=!0)}),v&&console.warn("Lines with trail effect should have an individual zlevel")}m.configLayer(f,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(g/10+.9,1),0)})}this.group.add(u.group),u.updateData(c),this._lastZlevel=f},updateLayout:function(e,t,i){this._lineDraw.updateLayout(e),i.getZr().painter.getLayer(this._lastZlevel).clear(!0)},remove:function(e,t){this._lineDraw&&this._lineDraw.remove(t,!0)},dispose:function(){}})},function(e,t){e.exports=function(e){e.eachSeriesByType("lines",function(e){var t=e.coordinateSystem,i=e.getData();i.each(function(n){var o=i.getItemModel(n),r=o.option instanceof Array?o.option:o.get("coords");if(__DEV__&&!(r instanceof Array&&r.length>0&&r[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(r)+". Lines must have 2d coords array in data item.");var a=[];if(e.get("polyline"))for(var s=0;s<r.length;s++)a.push(t.dataToPoint(r[s]));else{a[0]=t.dataToPoint(r[0]),a[1]=t.dataToPoint(r[1]);var l=o.get("lineStyle.normal.curveness");+l&&(a[2]=[(a[0][0]+a[1][0])/2-(a[0][1]-a[1][1])*l,(a[0][1]+a[1][1])/2-(a[1][0]-a[0][0])*l])}i.setItemLayout(n,a)})})}},function(e,t){function i(e){return e instanceof Array||(e=[e,e]),e}e.exports=function(e){e.eachSeriesByType("lines",function(e){var t=e.getData(),n=i(e.get("symbol")),o=i(e.get("symbolSize")),r="lineStyle.normal.opacity".split(".");t.setVisual("fromSymbol",n&&n[0]),t.setVisual("toSymbol",n&&n[1]),t.setVisual("fromSymbolSize",o&&o[0]),t.setVisual("toSymbolSize",o&&o[1]),t.setVisual("opacity",e.get(r)),t.each(function(e){var n=t.getItemModel(e),o=i(n.getShallow("symbol",!0)),a=i(n.getShallow("symbolSize",!0)),s=n.get(r);o[0]&&t.setItemVisual(e,"fromSymbol",o[0]),o[1]&&t.setItemVisual(e,"toSymbol",o[1]),a[0]&&t.setItemVisual(e,"fromSymbolSize",a[0]),a[1]&&t.setItemVisual(e,"toSymbolSize",a[1]),t.setItemVisual(e,"opacity",s)})})}},function(e,t,i){var n=i(1),o=n.PRIORITY;i(290),i(291),i(105),i(60),n.registerLayout(i(294)),n.registerVisual(i(295)),n.registerProcessor(o.PROCESSOR.STATISTIC,i(293)),n.registerPreprocessor(i(292)),i(104)("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},function(e,t,i){var n=i(11),o=i(14),r=i(0),a=i(19),s=i(4),l=s.encodeHTML,c=s.addCommas,u=i(81),h=i(60),d=o.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],init:function(e){e=this._fillOption(e,this.getMapType()),this.option=e,d.superApply(this,"init",arguments),this.updateSelectedMap(e.data)},getInitialData:function(e){var t=a(["value"],e.data||[]),i=new n(t,this);return i.initData(e.data),i},mergeOption:function(e){e.data&&(e=this._fillOption(e,this.getMapType())),d.superCall(this,"mergeOption",e),this.updateSelectedMap(this.option.data)},getHostGeoModel:function(){var e=this.option.geoIndex;return null!=e?this.dependentModels.geo[e]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},_fillOption:function(e,t){return e=r.extend({},e),e.data=h.getFilledRegions(e.data,t),e},getRawValue:function(e){return this.getData().get("value",e)},getRegionModel:function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},formatTooltip:function(e){for(var t=this.getData(),i=c(this.getRawValue(e)),n=t.getName(e),o=this.seriesGroup,r=[],a=0;a<o.length;a++){var s=o[a].originalData.indexOfName(n);isNaN(o[a].originalData.get("value",s))||r.push(l(o[a].name))}return r.join(", ")+"<br />"+l(n+" : "+i)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),i=this.coordinateSystem,n=i.getRegion(t);return n&&i.dataToPoint(n.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,textStyle:{color:"#000"}},emphasis:{show:!0,textStyle:{color:"rgb(100,0,0)"}}},itemStyle:{normal:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{areaColor:"rgba(255,215,0,0.8)"}}}});r.mixin(d,u),e.exports=d},function(e,t,i){var n=i(2),o=i(128);i(1).extendChartView({type:"map",render:function(e,t,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var r=this.group;if(r.removeAll(),!e.getHostGeoModel()){if(n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===e.id){var a=this._mapDraw;a&&r.add(a.group)}else if(e.needsDrawMap){var a=this._mapDraw||new o(i,!0);r.add(a.group),a.draw(e,t,i,this,n),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,i)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(e,t,i){var o=e.originalData,r=this.group;o.each("value",function(t,i){if(!isNaN(t)){var a=o.getItemLayout(i);if(a&&a.point){var s=a.point,l=a.offset,c=new n.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:s[0]+9*l,cy:s[1],r:3},silent:!0,z2:10});if(!l){var u=e.mainSeries.getData(),h=o.getName(i),d=h,p=u.indexOfName(h),f=o.getItemModel(i),g=f.getModel("label.normal"),m=f.getModel("label.emphasis"),v=g.getModel("textStyle"),y=m.getModel("textStyle"),x=u.getItemGraphicEl(p);c.setStyle({textPosition:"bottom"});var b=function(){c.setStyle({text:m.get("show")?d:"",textFill:y.getTextColor(),textFont:y.getFont()})},_=function(){c.setStyle({text:g.get("show")?d:"",textFill:v.getTextColor(),textFont:v.getFont()})};x.on("mouseover",b).on("mouseout",_).on("emphasis",b).on("normal",_),_()}r.add(c)}}})}})},function(e,t,i){var n=i(0);e.exports=function(e){var t=[];n.each(e.series,function(e){"map"===e.type&&t.push(e)}),n.each(t,function(e){e.map=e.map||e.mapType,n.defaults(e,e.mapLocation)})}},function(e,t,i){function n(e,t){var i={},n=["value"];return o.each(e,function(e){e.each(n,function(t,n){var o=e.getName(n);i[o]=i[o]||[],isNaN(t)||i[o].push(t)})}),e[0].map(n,function(n,o){for(var r=e[0].getName(o),a=0,s=1/0,l=-(1/0),c=i[r].length,u=0;u<c;u++)s=Math.min(s,i[r][u]),l=Math.max(l,i[r][u]),a+=i[r][u];var h;return h="min"===t?s:"max"===t?l:"average"===t?a/c:a,0===c?NaN:h})}var o=i(0);e.exports=function(e){var t={};e.eachSeriesByType("map",function(e){var i=e.getHostGeoModel(),n=i?"o"+i.id:"i"+e.getMapType();(t[n]=t[n]||[]).push(e)}),o.each(t,function(e,t){for(var i=n(o.map(e,function(e){return e.getData()}),e[0].get("mapValueCalculation")),r=0;r<e.length;r++)e[r].originalData=e[r].getData();for(var r=0;r<e.length;r++)e[r].seriesGroup=e,e[r].needsDrawMap=0===r&&!e[r].getHostGeoModel(),e[r].setData(i.cloneShallow()),e[r].mainSeries=e[0]})}},function(e,t,i){var n=i(0);e.exports=function(e){var t={};e.eachSeriesByType("map",function(i){var o=i.getMapType();if(!i.getHostGeoModel()&&!t[o]){var r={};n.each(i.seriesGroup,function(t){var i=t.coordinateSystem,n=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&n.each("value",function(e,t){var o=n.getName(t),a=i.getRegion(o);if(a&&!isNaN(e)){var s=r[o]||0,l=i.dataToPoint(a.center);r[o]=s+1,n.setItemLayout(t,{point:l,offset:s})}})});var a=i.getData();a.each(function(e){var t=a.getName(e),i=a.getItemLayout(e)||{};i.showLabel=!r[t],a.setItemLayout(e,i)}),t[o]=!0}})}},function(e,t){e.exports=function(e){e.eachSeriesByType("map",function(e){var t=e.get("color"),i=e.getModel("itemStyle.normal"),n=i.get("areaColor"),o=i.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:n,color:o})})}},function(e,t,i){var n=i(1);i(131),i(297),i(298),n.registerVisual(i(299))},function(e,t,i){function n(e,t,i){var n=e.get("data"),r=o(t);n&&n.length&&s.each(i,function(e){if(e){var t=s.indexOf(n,e[r]);e[r]=t>=0?t:NaN}})}function o(e){return+e.replace("dim","")}function r(e,t){var i=0;s.each(e,function(e){var t=o(e);t>i&&(i=t)});var n=t[0];n&&n.length-1>i&&(i=n.length-1);for(var r=[],a=0;a<=i;a++)r.push("dim"+a);return r}var a=i(11),s=i(0),l=i(14),c=i(19);e.exports=l.extend({type:"series.parallel",dependencies:["parallel"],getInitialData:function(e,t){var i=t.getComponent("parallel",this.get("parallelIndex")),o=i.parallelAxisIndex,l=e.data,u=i.dimensions,h=r(u,l),d=s.map(h,function(e,i){var r=s.indexOf(u,e),a=r>=0&&t.getComponent("parallelAxis",o[r]);return a&&"category"===a.get("type")?(n(a,e,l),{name:e,type:"ordinal"}):r<0&&c.guessOrdinal(l,i)?{name:e,type:"ordinal"}:e}),p=new a(d,this);return p.initData(l),this.option.progressive&&(this.option.animation=!1),p},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,i=this.getData(),n=[];return t.eachActiveState(i,function(t,o){e===t&&n.push(i.getRawIndex(o))}),n},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{normal:{show:!1},emphasis:{show:!1}},inactiveOpacity:.05,activeOpacity:1,lineStyle:{normal:{width:1,opacity:.45,type:"solid"}},progressive:!1,smooth:!1,animationEasing:"linear"}})},function(e,t,i){function n(e,t,i){var n=e.model,o=e.getRect(),r=new l.Rect({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),a="horizontal"===n.get("layout")?"width":"height";return r.setShape(a,0),l.initProps(r,{shape:{width:o.width,height:o.height}},t,i),r}function o(e,t,i,n){for(var o=[],r=0;r<i.length;r++){var a=i[r],l=e.get(a,t);s(l,n.getAxis(a).type)||o.push(n.dataToPoint(l,a))}return o}function r(e,t,i,n,r){var a=o(e,i,n,r),s=new l.Polyline({shape:{points:a},silent:!0,z2:10});t.add(s),e.setItemGraphicEl(i,s)}function a(e,t){var i=e.hostModel.getModel("lineStyle.normal"),n=i.getLineStyle();e.eachItemGraphicEl(function(o,r){if(e.hasItemOption){var a=e.getItemModel(r),s=a.getModel("lineStyle.normal",i);n=s.getLineStyle()}o.useStyle(c.extend(n,{fill:null,stroke:e.getItemVisual(r,"color"),opacity:e.getItemVisual(r,"opacity")})),o.shape.smooth=t})}function s(e,t){return"category"===t?null==e:null==e||isNaN(e)}var l=i(2),c=i(0),u=i(30).extend({type:"parallel",init:function(){this._dataGroup=new l.Group,this.group.add(this._dataGroup),this._data},render:function(e,t,i,n){this._renderForNormal(e)},dispose:function(){},_renderForNormal:function(e){function t(e){r(u,c,e,p,d)}function i(t,i){var n=h.getItemGraphicEl(i),r=o(u,t,p,d);u.setItemGraphicEl(t,n),l.updateProps(n,{shape:{points:r}},e,t)}function s(e){var t=h.getItemGraphicEl(e);c.remove(t)}var c=this._dataGroup,u=e.getData(),h=this._data,d=e.coordinateSystem,p=d.dimensions,f=e.option,g=f.smooth?.3:null;if(u.diff(h).add(t).update(i).remove(s).execute(),a(u,g),!this._data){var m=n(d,e,function(){setTimeout(function(){c.removeClipPath()})});c.setClipPath(m)}this._data=u},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});e.exports=u},function(e,t){e.exports=function(e){e.eachSeriesByType("parallel",function(t){var i=t.getModel("itemStyle.normal"),n=t.getModel("lineStyle.normal"),o=e.get("color"),r=n.get("color")||i.get("color")||o[t.seriesIndex%o.length],a=t.get("inactiveOpacity"),s=t.get("activeOpacity"),l=t.getModel("lineStyle.normal").getLineStyle(),c=t.coordinateSystem,u=t.getData(),h={normal:l.opacity,active:s,inactive:a};c.eachActiveState(u,function(e,t){u.setItemVisual(t,"opacity",h[e])}),u.setVisual("color",r)})}},function(e,t,i){var n=i(0);i(86),i(232),i(233);var o=i(149),r=i(1);r.registerLayout(n.curry(o,"pictorialBar")),r.registerVisual(n.curry(i(42),"pictorialBar","roundRect",null)),i(48)},function(e,t,i){"use strict";var n=i(11),o=i(0),r=i(5),a=i(19),s=i(81),l=i(1).extendSeriesModel({type:"series.pie",init:function(e){l.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this.updateSelectedMap(e.data),this._defaultLabelLine(e)},mergeOption:function(e){l.superCall(this,"mergeOption",e),this.updateSelectedMap(this.option.data)},getInitialData:function(e,t){var i=a(["value"],e.data),o=new n(i,this);return o.initData(e.data),o},getDataParams:function(e){var t=this.getData(),i=l.superCall(this,"getDataParams",e),n=t.getSum("value");return i.percent=n?+(t.get("value",e)/n*100).toFixed(2):0,i.$vars.push("percent"),i},_defaultLabelLine:function(e){r.defaultEmphasis(e.labelLine,["show"]);var t=e.labelLine.normal,i=e.labelLine.emphasis;t.show=t.show&&e.label.normal.show,i.show=i.show&&e.label.emphasis.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,selectedOffset:10,avoidLabelOverlap:!0,stillShowZeroSum:!0,label:{normal:{rotate:!1,show:!0,position:"outer"},emphasis:{}},labelLine:{normal:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}}},itemStyle:{normal:{borderWidth:1},emphasis:{}},animationType:"expansion",animationEasing:"cubicOut",data:[]}});o.mixin(l,s),e.exports=l},function(e,t,i){function n(e,t,i,n){var r=t.getData(),a=this.dataIndex,s=r.getName(a),l=t.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:e,name:s,seriesId:t.id}),r.each(function(e){o(r.getItemGraphicEl(e),r.getItemLayout(e),t.isSelected(r.getName(e)),l,i)})}function o(e,t,i,n,o){var r=(t.startAngle+t.endAngle)/2,a=Math.cos(r),s=Math.sin(r),l=i?n:0,c=[a*l,s*l];o?e.animate().when(200,{position:c}).start("bounceOut"):e.attr("position",c)}function r(e,t){function i(){r.ignore=r.hoverIgnore,a.ignore=a.hoverIgnore}function n(){r.ignore=r.normalIgnore,a.ignore=a.normalIgnore}s.Group.call(this);var o=new s.Sector({z2:2}),r=new s.Polyline,a=new s.Text;this.add(o),this.add(r),this.add(a),this.updateData(e,t,!0),this.on("emphasis",i).on("normal",n).on("mouseover",i).on("mouseout",n)}function a(e,t,i,n,o){var r=n.getModel("textStyle"),a="inside"===o||"inner"===o;return{fill:r.getTextColor()||(a?"#fff":e.getItemVisual(t,"color")),opacity:e.getItemVisual(t,"opacity"),textFont:r.getFont(),text:l.retrieve(e.hostModel.getFormattedLabel(t,i),e.getName(t))}}var s=i(2),l=i(0),c=r.prototype;c.updateData=function(e,t,i){function n(){a.stopAnimation(!0),a.animateTo({shape:{r:h.r+10}},300,"elasticOut")}function r(){a.stopAnimation(!0),a.animateTo({shape:{r:h.r}},300,"elasticOut")}var a=this.childAt(0),c=e.hostModel,u=e.getItemModel(t),h=e.getItemLayout(t),d=l.extend({},h);if(d.label=null,i){a.setShape(d);"scale"===c.getShallow("animationType")?(a.shape.r=h.r0,s.initProps(a,{shape:{r:h.r}},c,t)):(a.shape.endAngle=h.startAngle,s.updateProps(a,{shape:{endAngle:h.endAngle}},c,t))}else s.updateProps(a,{shape:d},c,t);var p=u.getModel("itemStyle"),f=e.getItemVisual(t,"color");a.useStyle(l.defaults({lineJoin:"bevel",fill:f},p.getModel("normal").getItemStyle())),a.hoverStyle=p.getModel("emphasis").getItemStyle(),o(this,e.getItemLayout(t),u.get("selected"),c.get("selectedOffset"),c.get("animation")),a.off("mouseover").off("mouseout").off("emphasis").off("normal"),u.get("hoverAnimation")&&c.isAnimationEnabled()&&a.on("mouseover",n).on("mouseout",r).on("emphasis",n).on("normal",r),this._updateLabel(e,t),s.setHoverStyle(this)},c._updateLabel=function(e,t){var i=this.childAt(1),n=this.childAt(2),o=e.hostModel,r=e.getItemModel(t),l=e.getItemLayout(t),c=l.label,u=e.getItemVisual(t,"color");s.updateProps(i,{shape:{points:c.linePoints||[[c.x,c.y],[c.x,c.y],[c.x,c.y]]}},o,t),s.updateProps(n,{style:{x:c.x,y:c.y}},o,t),n.attr({style:{textVerticalAlign:c.verticalAlign,textAlign:c.textAlign,textFont:c.font},rotation:c.rotation,origin:[c.x,c.y],z2:10});var h=r.getModel("label.normal"),d=r.getModel("label.emphasis"),p=r.getModel("labelLine.normal"),f=r.getModel("labelLine.emphasis"),g=h.get("position")||d.get("position");n.setStyle(a(e,t,"normal",h,g)),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),i.ignore=i.normalIgnore=!p.get("show"),i.hoverIgnore=!f.get("show"),i.setStyle({stroke:u,opacity:e.getItemVisual(t,"opacity")}),i.setStyle(p.getModel("lineStyle").getLineStyle()),n.hoverStyle=a(e,t,"emphasis",d,g),i.hoverStyle=f.getModel("lineStyle").getLineStyle();var m=p.get("smooth");m&&m===!0&&(m=.4),i.setShape({smooth:m})},l.inherits(r,s.Group);var u=i(30).extend({type:"pie",init:function(){var e=new s.Group;this._sectorGroup=e},render:function(e,t,i,o){if(!o||o.from!==this.uid){var a=e.getData(),s=this._data,c=this.group,u=t.get("animation"),h=!s,d=e.get("animationType"),p=l.curry(n,this.uid,e,u,i),f=e.get("selectedMode");if(a.diff(s).add(function(e){var t=new r(a,e);h&&"scale"!==d&&t.eachChild(function(e){e.stopAnimation(!0)}),f&&t.on("click",p),a.setItemGraphicEl(e,t),c.add(t)}).update(function(e,t){var i=s.getItemGraphicEl(t);i.updateData(a,e),i.off("click"),f&&i.on("click",p),c.add(i),a.setItemGraphicEl(e,i)}).remove(function(e){var t=s.getItemGraphicEl(e);c.remove(t)}).execute(),u&&h&&a.count()>0&&"scale"!==d){var g=a.getItemLayout(0),m=Math.max(i.getWidth(),i.getHeight())/2,v=l.bind(c.removeClipPath,c);c.setClipPath(this._createClipPath(g.cx,g.cy,m,g.startAngle,g.clockwise,v,e))}this._data=a}},dispose:function(){},_createClipPath:function(e,t,i,n,o,r,a){var l=new s.Sector({shape:{cx:e,cy:t,r0:0,r:i,startAngle:n,endAngle:n,clockwise:o}});return s.initProps(l,{shape:{endAngle:n+(o?1:-1)*Math.PI*2}},a,r),l},containPoint:function(e,t){var i=t.getData(),n=i.getItemLayout(0);if(n){var o=e[0]-n.cx,r=e[1]-n.cy,a=Math.sqrt(o*o+r*r);return a<=n.r&&a>=n.r0}}});e.exports=u},function(e,t,i){"use strict";function n(e,t,i,n,o,r,a){function s(t,i){for(var n=t;n>=0&&(e[n].y-=i,!(n>0&&e[n].y>e[n-1].y+e[n-1].height));n--);}function l(e,t,i,n,o,r){for(var a=t?Number.MAX_VALUE:0,s=0,l=e.length;s<l;s++)if("center"!==e[s].position){var c=Math.abs(e[s].y-n),u=e[s].len,h=e[s].len2,d=c<o+u?Math.sqrt((o+u+h)*(o+u+h)-c*c):Math.abs(e[s].x-i);t&&d>=a&&(d=a-10),!t&&d<=a&&(d=a+10),e[s].x=i+d*r,a=d}}e.sort(function(e,t){return e.y-t.y});for(var c,u=0,h=e.length,d=[],p=[],f=0;f<h;f++)c=e[f].y-u,c<0&&function(t,i,n,o){for(var r=t;r<i;r++)if(e[r].y+=n,r>t&&r+1<i&&e[r+1].y>e[r].y+e[r].height)return void s(r,n/2);s(i-1,n/2)}(f,h,-c),u=e[f].y+e[f].height;a-u<0&&s(h-1,u-a);for(var f=0;f<h;f++)e[f].y>=i?p.push(e[f]):d.push(e[f]);l(d,!1,t,i,n,o),l(p,!0,t,i,n,o)}function o(e,t,i,o,r,a){for(var s=[],l=[],c=0;c<e.length;c++)e[c].x<t?s.push(e[c]):l.push(e[c]);n(l,t,i,o,1,r,a),n(s,t,i,o,-1,r,a);for(var c=0;c<e.length;c++){var u=e[c].linePoints;if(u){var h=u[1][0]-u[2][0];e[c].x<t?u[2][0]=e[c].x+3:u[2][0]=e[c].x-3,u[1][1]=u[2][1]=e[c].y,u[1][0]=u[2][0]+h}}}var r=i(25);e.exports=function(e,t,i,n){var a,s,l=e.getData(),c=[],u=!1;l.each(function(i){var n,o,h,d,p=l.getItemLayout(i),f=l.getItemModel(i),g=f.getModel("label.normal"),m=g.get("position")||f.get("label.emphasis.position"),v=f.getModel("labelLine.normal"),y=v.get("length"),x=v.get("length2"),b=(p.startAngle+p.endAngle)/2,_=Math.cos(b),w=Math.sin(b);a=p.cx,s=p.cy;var S="inside"===m||"inner"===m;if("center"===m)n=p.cx,o=p.cy,d="center";else{var A=(S?(p.r+p.r0)/2*_:p.r*_)+a,M=(S?(p.r+p.r0)/2*w:p.r*w)+s;if(n=A+3*_,o=M+3*w,!S){var k=A+_*(y+t-p.r),T=M+w*(y+t-p.r),I=k+(_<0?-1:1)*x,C=T;n=I+(_<0?-5:5),o=C,h=[[A,M],[k,T],[I,C]]}d=S?"center":_>0?"left":"right"}var L=g.getModel("textStyle").getFont(),D=g.get("rotate")?_<0?-b+Math.PI:-b:0,P=e.getFormattedLabel(i,"normal")||l.getName(i),z=r.getBoundingRect(P,L,d,"top");u=!!D,p.label={x:n,y:o,position:m,height:z.height,len:y,len2:x,linePoints:h,textAlign:d,verticalAlign:"middle",font:L,rotation:D},S||c.push(p.label)}),!u&&e.get("avoidLabelOverlap")&&o(c,a,s,t,i,n)}},function(e,t,i){var n=i(3),o=n.parsePercent,r=i(303),a=i(0),s=2*Math.PI,l=Math.PI/180;e.exports=function(e,t,i,c){t.eachSeriesByType(e,function(e){var t=e.get("center"),c=e.get("radius");a.isArray(c)||(c=[0,c]),a.isArray(t)||(t=[t,t]);var u=i.getWidth(),h=i.getHeight(),d=Math.min(u,h),p=o(t[0],u),f=o(t[1],h),g=o(c[0],d/2),m=o(c[1],d/2),v=e.getData(),y=-e.get("startAngle")*l,x=e.get("minAngle")*l,b=v.getSum("value"),_=Math.PI/(b||v.count())*2,w=e.get("clockwise"),S=e.get("roseType"),A=e.get("stillShowZeroSum"),M=v.getDataExtent("value");M[0]=0;var k=s,T=0,I=y,C=w?1:-1;if(v.each("value",function(e,t){var i;if(isNaN(e))return void v.setItemLayout(t,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:w,cx:p,cy:f,r0:g,r:S?NaN:m});i="area"!==S?0===b&&A?_:e*_:s/(v.count()||1),i<x?(i=x,k-=x):T+=e;var o=I+C*i;v.setItemLayout(t,{angle:i,startAngle:I,endAngle:o,clockwise:w,cx:p,cy:f,r0:g,r:S?n.linearMap(e,M,[g,m]):m}),I=o},!0),k<s)if(k<=.001){var L=s/v.count();v.each(function(e){var t=v.getItemLayout(e);t.startAngle=y+C*e*L,t.endAngle=y+C*(e+1)*L})}else _=k/T,I=y,v.each("value",function(e,t){var i=v.getItemLayout(t),n=i.angle===x?x:e*_;i.startAngle=I,i.endAngle=I+C*n,I+=C*n});r(e,m,u,h)})}},function(e,t,i){var n=i(0),o=i(1);i(382),i(306),i(307),o.registerVisual(n.curry(i(91),"radar")),o.registerVisual(n.curry(i(42),"radar","circle",null)),o.registerLayout(i(309)),o.registerProcessor(n.curry(i(61),"radar")),o.registerPreprocessor(i(308))},function(e,t,i){"use strict";var n=i(14),o=i(11),r=i(19),a=i(0),s=i(4).encodeHTML,l=n.extend({type:"series.radar",dependencies:["radar"],init:function(e){l.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},getInitialData:function(e,t){var i=e.data||[],n=r([],i,{extraPrefix:"indicator_"}),a=new o(n,this);return a.initData(i),a},formatTooltip:function(e){var t=this.getRawValue(e),i=this.coordinateSystem,n=i.getIndicatorAxes(),o=this.getData().getName(e);return s(""===o?this.name:o)+"<br/>"+a.map(n,function(e,i){return s(e.name+" : "+t[i])}).join("<br />")},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{normal:{width:2,type:"solid"}},label:{normal:{position:"top"}},symbol:"emptyCircle",symbolSize:4}});e.exports=l},function(e,t,i){function n(e){return r.isArray(e)||(e=[+e,+e]),e}var o=i(2),r=i(0),a=i(20);e.exports=i(1).extendChartView({type:"radar",render:function(e,t,i){function s(e,t){var i=e.getItemVisual(t,"symbol")||"circle",o=e.getItemVisual(t,"color");if("none"!==i){var r=a.createSymbol(i,-.5,-.5,1,1,o);return r.attr({style:{strokeNoScale:!0},z2:100,scale:n(e.getItemVisual(t,"symbolSize"))}),r}}function l(t,i,n,r,a,l){n.removeAll();for(var c=0;c<i.length-1;c++){var u=s(r,a);u&&(u.__dimIdx=c,t[c]?(u.attr("position",t[c]),o[l?"initProps":"updateProps"](u,{position:i[c]},e,a)):u.attr("position",i[c]),n.add(u))}}function c(e){return r.map(e,function(e){return[u.cx,u.cy]})}var u=e.coordinateSystem,h=this.group,d=e.getData(),p=this._data;d.diff(p).add(function(t){var i=d.getItemLayout(t);if(i){var n=new o.Polygon,r=new o.Polyline,a={shape:{points:i}};n.shape.points=c(i),r.shape.points=c(i),o.initProps(n,a,e,t),o.initProps(r,a,e,t);var s=new o.Group,u=new o.Group;s.add(r),s.add(n),s.add(u),l(r.shape.points,i,u,d,t,!0),d.setItemGraphicEl(t,s)}}).update(function(t,i){var n=p.getItemGraphicEl(i),r=n.childAt(0),a=n.childAt(1),s=n.childAt(2),c={shape:{points:d.getItemLayout(t)}};c.shape.points&&(l(r.shape.points,c.shape.points,s,d,t,!1),o.updateProps(r,c,e),o.updateProps(a,c,e),d.setItemGraphicEl(t,n))}).remove(function(e){h.remove(p.getItemGraphicEl(e))}).execute(),d.eachItemGraphicEl(function(t,i){function n(){c.attr("ignore",v)}function a(){c.attr("ignore",m)}var s=d.getItemModel(i),l=t.childAt(0),c=t.childAt(1),u=t.childAt(2),p=d.getItemVisual(i,"color");h.add(t),l.useStyle(r.defaults(s.getModel("lineStyle.normal").getLineStyle(),{fill:"none",stroke:p})),l.hoverStyle=s.getModel("lineStyle.emphasis").getLineStyle();var f=s.getModel("areaStyle.normal"),g=s.getModel("areaStyle.emphasis"),m=f.isEmpty()&&f.parentModel.isEmpty(),v=g.isEmpty()&&g.parentModel.isEmpty();v=v&&m,c.ignore=m,c.useStyle(r.defaults(f.getAreaStyle(),{fill:p,opacity:.7})),c.hoverStyle=g.getAreaStyle();var y=s.getModel("itemStyle.normal").getItemStyle(["color"]),x=s.getModel("itemStyle.emphasis").getItemStyle(),b=s.getModel("label.normal"),_=s.getModel("label.emphasis");u.eachChild(function(t){t.setStyle(y),t.hoverStyle=r.clone(x);var n=d.get(d.dimensions[t.__dimIdx],i);o.setText(t.style,b,p),t.setStyle({text:b.get("show")?r.retrieve(e.getFormattedLabel(i,"normal",null,t.__dimIdx),n):""}),o.setText(t.hoverStyle,_,p),t.hoverStyle.text=_.get("show")?r.retrieve(e.getFormattedLabel(i,"emphasis",null,t.__dimIdx),n):""}),t.off("mouseover").off("mouseout").off("normal").off("emphasis"),t.on("emphasis",n).on("mouseover",n).on("normal",a).on("mouseout",a),o.setHoverStyle(t)}),this._data=d},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}})},function(e,t,i){var n=i(0);e.exports=function(e){var t=e.polar;if(t){n.isArray(t)||(t=[t]);var i=[];n.each(t,function(t,o){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],n.isArray(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):i.push(t)}),e.polar=i}n.each(e.series,function(e){"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)})}},function(e,t){e.exports=function(e){e.eachSeriesByType("radar",function(e){function t(e,t){n[t]=n[t]||[],n[t][r]=o.dataToPoint(e,r)}var i=e.getData(),n=[],o=e.coordinateSystem;if(o){for(var r=0;r<o.getIndicatorAxes().length;r++){var a=i.dimensions[r];i.each(a,t)}i.each(function(e){n[e][0]&&n[e].push(n[e][0].slice()),i.setItemLayout(e,n[e])})}})}},function(e,t,i){var n=i(1);i(311),i(312),n.registerLayout(i(313)),n.registerVisual(i(314))},function(e,t,i){var n=i(14),o=i(115),r=i(4).encodeHTML,a=n.extend({type:"series.sankey",layoutInfo:null,getInitialData:function(e){var t=e.edges||e.links,i=e.data||e.nodes;if(i&&t){return o(i,t,this,!0).data}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,t,i){if("edge"===i){var n=this.getDataParams(e,i),o=n.data,s=o.source+" -- "+o.target;return n.value&&(s+=" : "+n.value),r(s)}return a.superCall(this,"formatTooltip",e,t)},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",nodeWidth:20,nodeGap:8,layoutIterations:32,label:{normal:{show:!0,position:"right",textStyle:{color:"#000",fontSize:12}},emphasis:{show:!0}},itemStyle:{normal:{borderWidth:1,borderColor:"#333"}},lineStyle:{normal:{color:"#314656",opacity:.2,curveness:.5},emphasis:{opacity:.6}},animationEasing:"linear",animationDuration:1e3}});e.exports=a},function(e,t,i){function n(e,t,i){var n=new o.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return o.initProps(n,{shape:{width:e.width+20,height:e.height+20}},t,i),n}var o=i(2),r=i(0),a=o.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0},buildPath:function(e,t){var i=t.extent/2;e.moveTo(t.x1,t.y1-i),e.bezierCurveTo(t.cpx1,t.cpy1-i,t.cpx2,t.cpy2-i,t.x2,t.y2-i),e.lineTo(t.x2,t.y2+i),e.bezierCurveTo(t.cpx2,t.cpy2+i,t.cpx1,t.cpy1+i,t.x1,t.y1+i),e.closePath()}});e.exports=i(1).extendChartView({type:"sankey",_model:null,render:function(e,t,i){var s=e.getGraph(),l=this.group,c=e.layoutInfo,u=e.getData(),h=e.getData("edge");this._model=e,l.removeAll(),l.position=[c.x,c.y],s.eachEdge(function(t){var i=new a;i.dataIndex=t.dataIndex,i.seriesIndex=e.seriesIndex,i.dataType="edge";var n=t.getModel("lineStyle.normal"),r=n.get("curveness"),s=t.node1.getLayout(),c=t.node2.getLayout(),u=t.getLayout();i.shape.extent=Math.max(1,u.dy);var d=s.x+s.dx,p=s.y+u.sy+u.dy/2,f=c.x,g=c.y+u.ty+u.dy/2,m=d*(1-r)+f*r,v=p,y=d*r+f*(1-r),x=g;switch(i.setShape({x1:d,y1:p,x2:f,y2:g,cpx1:m,cpy1:v,cpx2:y,cpy2:x}),i.setStyle(n.getItemStyle()),i.style.fill){case"source":i.style.fill=t.node1.getVisual("color");break;case"target":i.style.fill=t.node2.getVisual("color")}o.setHoverStyle(i,t.getModel("lineStyle.emphasis").getItemStyle()),l.add(i),h.setItemGraphicEl(t.dataIndex,i)}),s.eachNode(function(t){var i=t.getLayout(),n=t.getModel(),a=n.getModel("label.normal"),s=a.getModel("textStyle"),c=n.getModel("label.emphasis"),h=c.getModel("textStyle"),d=new o.Rect({shape:{x:i.x,y:i.y,width:t.getLayout().dx,height:t.getLayout().dy},style:{text:a.get("show")?e.getFormattedLabel(t.dataIndex,"normal")||t.id:"",textFont:s.getFont(),textFill:s.getTextColor(),textPosition:a.get("position")}});d.setStyle(r.defaults({fill:t.getVisual("color")},n.getModel("itemStyle.normal").getItemStyle())),o.setHoverStyle(d,r.extend(t.getModel("itemStyle.emphasis"),{text:c.get("show")?e.getFormattedLabel(t.dataIndex,"emphasis")||t.id:"",textFont:h.getFont(),textFill:h.getTextColor(),textPosition:c.get("position")})),l.add(d),u.setItemGraphicEl(t.dataIndex,d),d.dataType="node"}),!this._data&&e.get("animation")&&l.setClipPath(n(l.getBoundingRect(),e,function(){l.removeClipPath()})),this._data=e.getData()},dispose:function(){}})},function(e,t,i){function n(e,t){return A.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function o(e,t,i,n,o,r,s){a(e,i,o),c(e,t,r,n,s),m(e)}function r(e){k.each(e,function(e){var t=x(e.outEdges,S),i=x(e.inEdges,S),n=Math.max(t,i);e.setLayout({value:n},!0)})}function a(e,t,i){for(var n=e,o=null,r=0,a=0;n.length;){o=[];for(var c=0,u=n.length;c<u;c++){var h=n[c];h.setLayout({x:r},!0),h.setLayout({dx:t},!0);for(var d=0,p=h.outEdges.length;d<p;d++)o.push(h.outEdges[d].node2)}n=o,++r}s(e,r),a=(i-t)/(r-1),l(e,a)}function s(e,t){k.each(e,function(e){e.outEdges.length||e.setLayout({x:t-1},!0)})}function l(e,t){k.each(e,function(e){var i=e.getLayout().x*t;e.setLayout({x:i},!0)})}function c(e,t,i,n,o){var r=M().key(function(e){return e.getLayout().x}).sortKeys(w).entries(e).map(function(e){return e.values});u(e,r,t,i,n),h(r,n,i);for(var a=1;o>0;o--)a*=.99,d(r,a),h(r,n,i),f(r,a),h(r,n,i)}function u(e,t,i,n,o){var r=[];k.each(t,function(e){var t=e.length,i=0;k.each(e,function(e){i+=e.getLayout().value});var a=(n-(t-1)*o)/i;r.push(a)}),r.sort(function(e,t){return e-t});var a=r[0];k.each(t,function(e){k.each(e,function(e,t){e.setLayout({y:t},!0);var i=e.getLayout().value*a;e.setLayout({dy:i},!0)})}),k.each(i,function(e){var t=+e.getValue()*a;e.setLayout({dy:t},!0)})}function h(e,t,i){k.each(e,function(e){var n,o,r,a=0,s=e.length;for(e.sort(_),r=0;r<s;r++){if(n=e[r],(o=a-n.getLayout().y)>0){var l=n.getLayout().y+o;n.setLayout({y:l},!0)}a=n.getLayout().y+n.getLayout().dy+t}if((o=a-t-i)>0){var l=n.getLayout().y-o;for(n.setLayout({y:l},!0),a=n.getLayout().y,r=s-2;r>=0;--r)n=e[r],o=n.getLayout().y+n.getLayout().dy+t-a,o>0&&(l=n.getLayout().y-o,n.setLayout({y:l},!0)),a=n.getLayout().y}})}function d(e,t){k.each(e.slice().reverse(),function(e){k.each(e,function(e){if(e.outEdges.length){var i=x(e.outEdges,p)/x(e.outEdges,S),n=e.getLayout().y+(i-b(e))*t;e.setLayout({y:n},!0)}})})}function p(e){return b(e.node2)*e.getValue()}function f(e,t){k.each(e,function(e){k.each(e,function(e){if(e.inEdges.length){var i=x(e.inEdges,g)/x(e.inEdges,S),n=e.getLayout().y+(i-b(e))*t;e.setLayout({y:n},!0)}})})}function g(e){return b(e.node1)*e.getValue()}function m(e){k.each(e,function(e){e.outEdges.sort(v),e.inEdges.sort(y)}),k.each(e,function(e){var t=0,i=0;k.each(e.outEdges,function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy}),k.each(e.inEdges,function(e){e.setLayout({ty:i},!0),i+=e.getLayout().dy})})}function v(e,t){return e.node2.getLayout().y-t.node2.getLayout().y}function y(e,t){return e.node1.getLayout().y-t.node1.getLayout().y}function x(e,t){for(var i=0,n=e.length,o=-1;++o<n;){var r=+t.call(e,e[o],o);isNaN(r)||(i+=r)}return i}function b(e){return e.getLayout().y+e.getLayout().dy/2}function _(e,t){return e.getLayout().y-t.getLayout().y}function w(e,t){return e<t?-1:e>t?1:e===t?0:NaN}function S(e){return e.getValue()}var A=i(7),M=i(151),k=i(0);e.exports=function(e,t,i){e.eachSeriesByType("sankey",function(e){var i=e.get("nodeWidth"),a=e.get("nodeGap"),s=n(e,t);e.layoutInfo=s;var l=s.width,c=s.height,u=e.getGraph(),h=u.nodes,d=u.edges;r(h),o(h,d,i,a,l,c,0!==h.filter(function(e){return 0===e.getLayout().value}).length?0:e.get("layoutIterations"))})}},function(e,t,i){var n=i(35),o=i(0);e.exports=function(e,t){e.eachSeriesByType("sankey",function(e){var t=e.getGraph(),i=t.nodes;i.sort(function(e,t){return e.getLayout().value-t.getLayout().value});var r=i[0].getLayout().value,a=i[i.length-1].getLayout().value;o.each(i,function(t){var i=new n({type:"color",mappingMethod:"linear",dataExtent:[r,a],visual:e.get("color")}),o=i.mapValueToVisual(t.getLayout().value);t.setVisual("color",o);var s=t.getModel(),l=s.get("itemStyle.normal.color");null!=l&&t.setVisual("color",l)})})}},function(e,t,i){var n=i(0),o=i(1);i(316),i(317),o.registerVisual(n.curry(i(42),"scatter","circle",null)),o.registerLayout(n.curry(i(88),"scatter")),i(48)},function(e,t,i){"use strict";var n=i(32),o=i(14);e.exports=o.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis"],getInitialData:function(e,t){return n(e.data,this,t)},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{normal:{opacity:.8}}}})},function(e,t,i){var n=i(44),o=i(277);i(1).extendChartView({type:"scatter",init:function(){this._normalSymbolDraw=new n,this._largeSymbolDraw=new o},render:function(e,t,i){var n=e.getData(),o=this._largeSymbolDraw,r=this._normalSymbolDraw,a=this.group,s=e.get("large")&&n.count()>e.get("largeThreshold")?o:r;this._symbolDraw=s,s.updateData(n),a.add(s.group),a.remove(s===o?r.group:o.group)},updateLayout:function(e){this._symbolDraw.updateLayout(e)},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t,!0)},dispose:function(){}})},function(e,t,i){var n=i(1),o=i(0);i(132),i(319),i(320),n.registerLayout(i(321)),n.registerVisual(i(322)),n.registerProcessor(o.curry(i(61),"themeRiver"))},function(e,t,i){"use strict";var n=i(19),o=i(14),r=i(11),a=i(0),s=i(4),l=s.encodeHTML,c=i(151),u=o.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){u.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()}},fixData:function(e){for(var t=e.length,i=c().key(function(e){return e[2]}).entries(e),n=a.map(i,function(e){return{name:e.key,dataList:e.values}}),o=n.length,r=-1,s=-1,l=0;l<o;++l){var u=n[l].dataList.length;u>r&&(r=u,s=l)}for(var h=0;h<o;++h)if(h!==s)for(var d=n[h].name,p=0;p<r;++p){for(var f=n[s].dataList[p][0],g=n[h].dataList.length,m=-1,v=0;v<g;++v){var y=n[h].dataList[v][0];if(y===f){m=v;break}}m===-1&&(e[t]=[],e[t][0]=f,e[t][1]=0,e[t][2]=d,t++)}return e},getInitialData:function(e,t){var i=[],o=t.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],s=o.get("type");i=[{name:"time",type:"category"===s?"ordinal":"time"===s?"time":"float"},{name:"value",type:"float"},{name:"name",type:"ordinal"}];for(var l=a.filter(e.data,function(e){return void 0!==e[2]}),c=this.fixData(l||[]),u=[],h=this.nameMap={},d=0,p=0;p<c.length;++p)u.push(c[p][2]),h[c[p][2]]||(h[c[p][2]]=d++);n(i,c);var f=new r(i,this);return f.initData(c,u),f},coordDimToDataDim:function(e){return["time"]},getLayerSeries:function(){function e(e,i){return t.get("time",e)-t.get("time",i)}for(var t=this.getData(),i=t.count(),n=[],o=0;o<i;++o)n[o]=o;for(var r=c().key(function(e){return t.get("name",e)}).entries(n),s=a.map(r,function(e){return{name:e.key,indices:e.values}}),l=0;l<s.length;++l)s[l].indices.sort(e);return s},getAxisTooltipData:function(e,t,i){a.isArray(e)||(e=e?[e]:[]);for(var n,o=this.getData(),r=this.getLayerSeries(),s=[],l=r.length,c=0;c<l;++c){for(var u=Number.MAX_VALUE,h=-1,d=r[c].indices.length,p=0;p<d;++p){var f=o.get(e[0],r[c].indices[p]),g=Math.abs(f-t);g<=u&&(n=f,u=g,h=r[c].indices[p])}s.push(h)}return{dataIndices:s,nestestValue:n}},formatTooltip:function(e){var t=this.getData(),i=t.get("name",e),n=t.get("value",e);return(isNaN(n)||null==n)&&(n="-"),l(i+" : "+n)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{normal:{margin:4,textAlign:"right",show:!0,position:"left",textStyle:{color:"#000",fontSize:11}},emphasis:{show:!0}}}});e.exports=u},function(e,t,i){(function(t){function n(e,t,i){var n=new r.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return r.initProps(n,{shape:{width:e.width+20,height:e.height+20}},t,i),n}var o=i(116),r=i(2),a=i(0),s=i(49);e.exports=i(1).extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(e,t,i){function l(e){return e.name}function c(t,i,s){var l=this._layers;if("remove"===t)return void d.remove(l[i]);for(var c,f=[],g=[],m=p[i].indices,v=0;v<m.length;v++){var x=u.getItemLayout(m[v]),b=x.x,_=x.y0,w=x.y;f.push([b,_]),g.push([b,_+w]),c=h.getItemVisual(m[v],"color")}var S,A,M=u.getItemLayout(m[0]),k=u.getItemModel(m[v-1]),T=k.getModel("label.normal"),I=T.get("margin");if("add"===t){var C=y[i]=new r.Group;S=new o.Polygon({shape:{points:f,stackedOnPoints:g,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),A=new r.Text({style:{x:M.x-I,y:M.y0+M.y/2}}),C.add(S),C.add(A),d.add(C),S.setClipPath(n(S.getBoundingRect(),e,function(){S.removeClipPath()}))}else{var C=l[s];S=C.childAt(0),A=C.childAt(1),d.add(C),y[i]=C,r.updateProps(S,{shape:{points:f,stackedOnPoints:g}},e),r.updateProps(A,{style:{x:M.x-I,y:M.y0+M.y/2}},e)}var L=k.getModel("itemStyle.emphasis"),D=k.getModel("itemStyle.normal"),P=T.getModel("textStyle");A.setStyle({text:T.get("show")?e.getFormattedLabel(m[v-1],"normal")||u.getName(m[v-1]):"",textFont:P.getFont(),textAlign:T.get("textAlign"),textVerticalAlign:"middle"}),S.setStyle(a.extend({fill:c},D.getItemStyle(["color"]))),r.setHoverStyle(S,L.getItemStyle())}var u=e.getData(),h=e.getRawData();if(u.count()){var d=this.group,p=e.getLayerSeries(),f=u.getLayout("layoutInfo"),g=f.rect,m=f.boundaryGap;d.attr("position",[0,g.y+m[0]]);var v=new s(this._layersSeries||[],p,l,l),y={};v.add(a.bind(a.curry(c,"add"),this)).update(a.bind(a.curry(c,"update"),this)).remove(a.bind(a.curry(c,"remove"),this)).execute(),this._layersSeries=p,this._layers=y}},dispose:function(){}})}).call(t,i(159))},function(e,t,i){function n(e,t,i){if(e.count())for(var n,a=t.coordinateSystem,s=t.getLayerSeries(),l=r.map(s,function(t){return r.map(t.indices,function(t){var i=a.dataToPoint(e.get("time",t));return i[1]=e.get("value",t),i})}),c=o(l),u=c.y0,h=i/c.max,d=s.length,p=s[0].indices.length,f=0;f<p;++f){n=u[f]*h,e.setItemLayout(s[0].indices[f],{layerIndex:0,x:l[0][f][0],y0:n,y:l[0][f][1]*h});for(var g=1;g<d;++g)n+=l[g-1][f][1]*h,e.setItemLayout(s[g].indices[f],{layerIndex:g,x:l[g][f][0],y0:n,y:l[g][f][1]*h})}}function o(e){for(var t,i=e.length,n=e[0].length,o=[],r=[],a=0,s={},l=0;l<n;++l){for(var c=0,t=0;c<i;++c)t+=e[c][l][1];t>a&&(a=t),o.push(t)}for(var u=0;u<n;++u)r[u]=(a-o[u])/2;a=0;for(var h=0;h<n;++h){var d=o[h]+r[h];d>a&&(a=d)}return s.y0=r,s.max=a,s}var r=i(0),a=i(3);e.exports=function(e,t){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),i=e.coordinateSystem,o={},r=i.getRect();o.rect=r;var s=e.get("boundaryGap"),l=i.getAxis();if(o.boundaryGap=s,"horizontal"===l.orient){s[0]=a.parsePercent(s[0],r.height),s[1]=a.parsePercent(s[1],r.height);n(t,e,r.height-s[0]-s[1])}else{s[0]=a.parsePercent(s[0],r.width),s[1]=a.parsePercent(s[1],r.width);n(t,e,r.width-s[0]-s[1])}t.setLayout("layoutInfo",o)})}},function(e,t){e.exports=function(e){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),i=e.getRawData(),n=e.get("color");t.each(function(o){var r=t.getName(o),a=n[(e.nameMap[r]-1)%n.length];i.setItemVisual(o,"color",a)})})}},function(e,t,i){var n=i(1);i(325),i(326),i(327),n.registerVisual(i(329)),n.registerLayout(i(328))},function(e,t,i){function n(e){this.group=new a.Group,e.add(this.group)}function o(e,t,i,n,o,r){var a=[[o?e:e-u,t],[e+i,t],[e+i,t+n],[o?e:e-u,t+n]];return!r&&a.splice(2,0,[e+i+u,t+n/2]),!o&&a.push([e,t+n/2]),a}function r(e,t,i){e.eventData={componentType:"series",componentSubType:"treemap",seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:i&&i.dataIndex,name:i&&i.name},treePathInfo:i&&c.wrapTreePathInfo(i,t)}}var a=i(2),s=i(7),l=i(0),c=i(40),u=5;n.prototype={constructor:n,render:function(e,t,i,n){var o=e.getModel("breadcrumb"),r=this.group;if(r.removeAll(),o.get("show")&&i){var a=o.getModel("itemStyle.normal"),l=a.getModel("textStyle"),c={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(i,c,l),this._renderContent(e,c,a,l,n),s.positionElement(r,c.pos,c.box)}},_prepare:function(e,t,i){for(var n=e;n;n=n.parentNode){var o=n.getModel().get("name"),r=i.getTextRect(o),a=Math.max(r.width+16,t.emptyItemWidth);t.totalWidth+=a+8,t.renderList.push({node:n,text:o,width:a})}},_renderContent:function(e,t,i,n,c){for(var u=0,h=t.emptyItemWidth,d=e.get("breadcrumb.height"),p=s.getAvailableSize(t.pos,t.box),f=t.totalWidth,g=t.renderList,m=g.length-1;m>=0;m--){var v=g[m],y=v.node,x=v.width,b=v.text;f>p.width&&(f-=x-h,x=h,b="");var _=new a.Polygon({shape:{points:o(u,0,x,d,m===g.length-1,0===m)},style:l.defaults(i.getItemStyle(),{lineJoin:"bevel",text:b,textFill:n.getTextColor(),textFont:n.getFont()}),z:10,onclick:l.curry(c,y)});this.group.add(_),r(_,e,y),u+=x+8}},remove:function(){this.group.removeAll()}},e.exports=n},function(e,t,i){function n(e){var t=0;s.each(e.children,function(e){n(e);var i=e.value;s.isArray(i)&&(i=i[0]),t+=i});var i=e.value;s.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=t),i<0&&(i=0),s.isArray(e.value)?e.value[0]=i:e.value=i}function o(e,t){var i=t.get("color");if(i){e=e||[];var n;if(s.each(e,function(e){var t=new l(e),i=t.get("color");(t.get("itemStyle.normal.color")||i&&"none"!==i)&&(n=!0)}),!n){(e[0]||(e[0]={})).color=i.slice()}return e}}var r=i(14),a=i(443),s=i(0),l=i(9),c=i(4),u=i(40),h=c.encodeHTML,d=c.addCommas;e.exports=r.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],_viewRoot:null,defaultOption:{progressive:0,hoverLayerThreshold:1/0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{normal:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}}},label:{normal:{show:!0,position:"inside",textStyle:{color:"#fff",ellipsis:!0}}},itemStyle:{normal:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(e,t){var i=e.name;null==i&&(i=e.name);var r={name:i,children:e.data};n(r);var s=e.levels||[];return s=e.levels=o(s,t),a.createTree(r,this,s).data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var t=this.getData(),i=this.getRawValue(e),n=d(s.isArray(i)?i[0]:i),o=t.getName(e);return h(o+": "+n)},getDataParams:function(e){var t=r.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=u.wrapTreePathInfo(i,this),t},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},s.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var t=this._idIndexMap;t||(t=this._idIndexMap={},this._idIndexMapCount=0);var i=t[e];return null==i&&(t[e]=i=this._idIndexMapCount++),i},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}})},function(e,t,i){function n(){return{nodeGroup:[],background:[],content:[]}}function o(e,t,i,n,o,l,c,u,h,d){function p(e,t){I?!e.invisible&&l.push(e):(t(),e.__tmWillVisible||(e.invisible=!1))}function f(t,i,n,o,r){var a=c.getModel(),s=a.get("name");if(M.isLeafRoot){var l=e.get("drillDownIcon",!0);s=l?l+" "+s:s}g(s,t,a,x,n,o,r),g(s,i,a,b,n,o,r)}function g(e,t,i,n,o,r,a){var l=i.getModel(n),c=l.getModel("textStyle");s.setText(t,l,o),t.textAlign=c.get("align"),t.textVerticalAlign=c.get("baseline");var u=c.getTextRect(e);!l.getShallow("show")||u.height>a?t.text="":u.width>r?t.text=c.get("ellipsis")?c.truncateText(e,r,null,{minChar:2}):"":t.text=e}function y(e,n,a,s){var l=null!=L&&i[e][L],c=o[e];return l?(i[e][L]=null,_(c,l,e)):I||(l=new n({z:r(a,s)}),l.__tmDepth=a,l.__tmStorageName=e,A(c,l,e)),t[e][C]=l}function _(e,t,i){(e[C]={}).old="nodeGroup"===i?t.position.slice():a.extend({},t.shape)}function A(e,t,i){var r=e[C]={},a=c.parentNode;if(a&&(!n||"drillDown"===n.direction)){var s=0,l=0,u=o.background[a.getRawIndex()];!n&&u&&u.old&&(s=u.old.width,l=u.old.height),r.old="nodeGroup"===i?[0,l]:{x:s,y:l,width:0,height:0}}r.fadein="nodeGroup"!==i}if(c){var M=c.getLayout();if(M&&M.isInView){var k=M.width,T=M.height,I=M.invisible,C=c.getRawIndex(),L=u&&u.getRawIndex(),D=y("nodeGroup",m);if(D){if(h.add(D),D.attr("position",[M.x||0,M.y||0]),D.__tmNodeWidth=k,D.__tmNodeHeight=T,M.isAboveViewRoot)return D;var P=y("background",v,d,w);P&&(P.setShape({x:0,y:0,width:k,height:T}),p(P,function(){P.setStyle("fill",c.getVisual("borderColor",!0))}),D.add(P));var z=c.viewChildren;if(!z||!z.length){var E=y("content",v,d,S);E&&function(t){E.dataIndex=c.dataIndex,E.seriesIndex=e.seriesIndex;var i=M.borderWidth,n=Math.max(k-2*i,0),o=Math.max(T-2*i,0);E.culling=!0,E.setShape({x:i,y:i,width:n,height:o});var r=c.getVisual("color",!0);p(E,function(){var e={fill:r},t=c.getModel("itemStyle.emphasis").getItemStyle();f(e,t,r,n,o),E.setStyle(e),s.setHoverStyle(E,t)}),t.add(E)}(D)}return D}}}}function r(e,t){var i=e*_+t;return(i-1)/i}var a=i(0),s=i(2),l=i(49),c=i(40),u=i(324),h=i(58),d=i(10),p=i(21),f=i(460),g=a.bind,m=s.Group,v=s.Rect,y=a.each,x=["label","normal"],b=["label","emphasis"],_=10,w=1,S=2;e.exports=i(1).extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage=n(),this._oldTree,this._breadcrumb,this._controller,this._state="ready",this._mayClick},render:function(e,t,i,n){var o=t.findComponents({mainType:"series",subType:"treemap",query:n});if(!(a.indexOf(o,e)<0)){this.seriesModel=e,this.api=i,this.ecModel=t;var r=c.retrieveTargetInfo(n,e),s=n&&n.type,l=e.layoutInfo,u=!this._oldTree,h=this._storage,d="treemapRootToNode"===s&&r&&h?{rootNodeGroup:h.nodeGroup[r.node.getRawIndex()],direction:n.direction}:null,p=this._giveContainerGroup(l),f=this._doRender(p,e,d);u||s&&"treemapZoomToNode"!==s&&"treemapRootToNode"!==s?f.renderFinally():this._doAnimation(p,f,e,d),this._resetController(i),this._renderBreadcrumb(e,i,r)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new m,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,i){function r(e,t,i,n,o){function s(e){return e.getId()}function c(a,s){var l=null!=a?e[a]:null,c=null!=s?t[s]:null,u=g(l,c,i,o);u&&r(l&&l.viewChildren||[],c&&c.viewChildren||[],u,n,o+1)}n?(t=e,y(e,function(e,t){!e.isRemoved()&&c(t,t)})):new l(t,e,s,s).add(c).update(c).remove(a.curry(c,null)).execute()}function s(){y(m,function(e){y(e,function(e){e.parent&&e.parent.remove(e)})}),y(f,function(e){e.invisible=!0,e.dirty()})}var c=t.getData().tree,u=this._oldTree,h=n(),d=n(),p=this._storage,f=[],g=a.curry(o,t,d,p,i,h,f);r(c.root?[c.root]:[],u&&u.root?[u.root]:[],e,c===u||!u,0);var m=function(e){var t=n();return e&&y(e,function(e,i){var n=t[i];y(e,function(e){e&&(n.push(e),e.__tmWillDelete=1)})}),t}(p);return this._oldTree=c,this._storage=d,{lastsForAnimation:h,willDeleteEls:m,renderFinally:s}},_doAnimation:function(e,t,i,n){if(i.get("animation")){var o=i.get("animationDurationUpdate"),r=i.get("animationEasing"),s=f.createWrap();y(t.willDeleteEls,function(e,t){y(e,function(e,i){if(!e.invisible){var a,l=e.parent;if(n&&"drillDown"===n.direction)a=l===n.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,u=0;l.__tmWillDelete||(c=l.__tmNodeWidth/2,u=l.__tmNodeHeight/2),a="nodeGroup"===t?{position:[c,u],style:{opacity:0}}:{shape:{x:c,y:u,width:0,height:0},style:{opacity:0}}}a&&s.add(e,a,o,r)}})}),y(this._storage,function(e,i){y(e,function(e,n){var l=t.lastsForAnimation[i][n],c={};l&&("nodeGroup"===i?l.old&&(c.position=e.position.slice(),e.attr("position",l.old)):(l.old&&(c.shape=a.extend({},e.shape),e.setShape(l.old)),l.fadein?(e.setStyle("opacity",0),c.style={opacity:1}):1!==e.style.opacity&&(c.style={opacity:1})),s.add(e,c,o,r))})},this),this._state="animating",s.done(g(function(){this._state="ready",t.renderFinally()},this)).start()}},_resetController:function(e){var t=this._controller;t||(t=this._controller=new h(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",g(this._onPan,this)),t.on("zoom",g(this._onZoom,this)));var i=new d(0,0,e.getWidth(),e.getHeight());t.setContainsPoint(function(e,t){return i.contain(e,t)})},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e,t){if(this._mayClick=!1,"animating"!==this._state&&(Math.abs(e)>3||Math.abs(t)>3)){var i=this.seriesModel.getData().tree.root;if(!i)return;var n=i.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e,y:n.y+t,width:n.width,height:n.height}})}},_onZoom:function(e,t,i){if(this._mayClick=!1,"animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var o=n.getLayout();if(!o)return;var r=new d(o.x,o.y,o.width,o.height),a=this.seriesModel.layoutInfo;t-=a.x,i-=a.y;var s=p.create();p.translate(s,s,[-t,-i]),p.scale(s,s,[e,e]),p.translate(s,s,[t,i]),r.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.height}})}},_initEvents:function(e){function t(e){var t=this.seriesModel.get("nodeClick",!0);if(t){var i=this.findTarget(e.offsetX,e.offsetY);if(i){var n=i.node;if(n.getLayout().isLeafRoot)this._rootToNode(i);else if("zoomToNode"===t)this._zoomToNode(i);else if("link"===t){var o=n.hostTree.data.getItemModel(n.dataIndex),r=o.get("link",!0),a=o.get("target",!0)||"blank";r&&window.open(r,a)}}}}e.on("mousedown",function(e){"ready"===this._state&&(this._mayClick=!0)},this),e.on("mouseup",function(e){this._mayClick&&(this._mayClick=!1,"ready"===this._state&&t.call(this,e))},this)},_renderBreadcrumb:function(e,t,i){function n(t){"animating"!==this._state&&(c.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}i||(i=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||(i={node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new u(this.group))).render(e,t,i.node,g(n,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=n(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var i;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(n){var o=this._storage.background[n.getRawIndex()];if(o){var r=o.transformCoordToLocal(e,t),a=o.shape;if(!(a.x<=r[0]&&r[0]<=a.x+a.width&&a.y<=r[1]&&r[1]<=a.y+a.height))return!1;i={node:n,offsetX:r[0],offsetY:r[1]}}},this),i}})},function(e,t,i){for(var n=i(1),o=i(40),r=function(){},a=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<a.length;s++)n.registerAction({type:a[s],update:"updateView"},r);n.registerAction({type:"treemapRootToNode",update:"updateView"},function(e,t){function i(t,i){var n=o.retrieveTargetInfo(e,t);if(n){var r=t.getViewRoot();r&&(e.direction=o.aboveViewRoot(r,n.node)?"rollUp":"drillDown"),t.resetViewRoot(n.node)}}t.eachComponent({mainType:"series",subType:"treemap",query:e},i)})},function(e,t,i){function n(e,t,i){var n={mainType:"series",subType:"treemap",query:i};e.eachComponent(n,function(e){var n=t.getWidth(),r=t.getHeight(),a=e.option,s=m.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),l=a.size||[],c=_(w(s.width,l[0]),n),u=_(w(s.height,l[1]),r),g=i&&i.type,x=v.retrieveTargetInfo(i,e),b="treemapRender"===g||"treemapMove"===g?i.rootRect:null,A=e.getViewRoot(),M=v.getPathToRoot(A);if("treemapMove"!==g){var k="treemapZoomToNode"===g?h(e,x,A,c,u):b?[b.width,b.height]:[c,u],T=a.sort;T&&"asc"!==T&&"desc"!==T&&(T="desc");var I={squareRatio:a.squareRatio,sort:T,leafDepth:a.leafDepth};A.hostTree.clearLayouts();var C={x:0,y:0,width:k[0],height:k[1],area:k[0]*k[1]};A.setLayout(C),o(A,I,!1,0);var C=A.getLayout();S(M,function(e,t){var i=(M[t+1]||A).getValue();e.setLayout(f.extend({dataExtent:[i,i],borderWidth:0},C))})}var L=e.getData().tree.root;L.setLayout(d(s,b,x),!0),e.setLayoutInfo(s),p(L,new y(-s.x,-s.y,n,r),M,A,0)})}function o(e,t,i,n){var a,s;if(!e.isRemoved()){var l=e.getLayout();a=l.width,s=l.height;var h=e.getModel("itemStyle.normal"),d=h.get("borderWidth"),p=h.get("gapWidth")/2,f=d-p,g=e.getModel();e.setLayout({borderWidth:d},!0),a=x(a-2*f,0),s=x(s-2*f,0);var m=a*s,v=r(e,g,m,t,i,n);if(v.length){var y={x:f,y:f,width:a,height:s},_=b(a,s),w=1/0,S=[];S.area=0;for(var A=0,M=v.length;A<M;){var k=v[A];S.push(k),S.area+=k.getLayout().area;var T=c(S,_,t.squareRatio);T<=w?(A++,w=T):(S.area-=S.pop().getLayout().area,u(S,_,y,p,!1),_=b(y.width,y.height),S.length=S.area=0,w=1/0)}if(S.length&&u(S,_,y,p,!0),!i){var I=g.get("childrenVisibleMin");null!=I&&m<I&&(i=!0)}for(var A=0,M=v.length;A<M;A++)o(v[A],t,i,n+1)}}}function r(e,t,i,n,o,r){var c=e.children||[],u=n.sort;"asc"!==u&&"desc"!==u&&(u=null);var h=null!=n.leafDepth&&n.leafDepth<=r;if(o&&!h)return e.viewChildren=[];c=f.filter(c,function(e){return!e.isRemoved()}),s(c,u);var d=l(t,c,u);if(0===d.sum)return e.viewChildren=[];if(d.sum=a(t,i,d.sum,u,c),0===d.sum)return e.viewChildren=[];for(var p=0,g=c.length;p<g;p++){var m=c[p].getValue()/d.sum*i;c[p].setLayout({area:m})}return h&&(c.length&&e.setLayout({isLeafRoot:!0},!0),c.length=0),e.viewChildren=c,e.setLayout({dataExtent:d.dataExtent},!0),c}function a(e,t,i,n,o){if(!n)return i;for(var r=e.get("visibleMin"),a=o.length,s=a,l=a-1;l>=0;l--){var c=o["asc"===n?a-l-1:l].getValue();c/i*t<r&&(s=l,i-=c)}return"asc"===n?o.splice(0,a-s):o.splice(s,a-s),i}function s(e,t){return t&&e.sort(function(e,i){return"asc"===t?e.getValue()-i.getValue():i.getValue()-e.getValue()}),e}function l(e,t,i){for(var n=0,o=0,r=t.length;o<r;o++)n+=t[o].getValue();var a,s=e.get("visualDimension");if(t&&t.length)if("value"===s&&i)a=[t[t.length-1].getValue(),t[0].getValue()],"asc"===i&&a.reverse();else{var a=[1/0,-(1/0)];S(t,function(e){var t=e.getValue(s);t<a[0]&&(a[0]=t),t>a[1]&&(a[1]=t)})}else a=[NaN,NaN];return{sum:n,dataExtent:a}}function c(e,t,i){for(var n,o=0,r=1/0,a=0,s=e.length;a<s;a++)(n=e[a].getLayout().area)&&(n<r&&(r=n),n>o&&(o=n));var l=e.area*e.area,c=t*t*i;return l?x(c*o/l,l/(c*r)):1/0}function u(e,t,i,n,o){var r=t===i.width?0:1,a=1-r,s=["x","y"],l=["width","height"],c=i[s[r]],u=t?e.area/t:0;(o||u>i[l[a]])&&(u=i[l[a]]);for(var h=0,d=e.length;h<d;h++){var p=e[h],f={},g=u?p.getLayout().area/u:0,m=f[l[a]]=x(u-2*n,0),v=i[s[r]]+i[l[r]]-c,y=h===d-1||v<g?v:g,_=f[l[r]]=x(y-2*n,0);f[s[a]]=i[s[a]]+b(n,m/2),f[s[r]]=c+b(n,_/2),c+=y,p.setLayout(f,!0)}i[s[a]]+=u,i[l[a]]-=u}function h(e,t,i,n,o){var r=(t||{}).node,a=[n,o];if(!r||r===i)return a;for(var s,l=n*o,c=l*e.option.zoomToNodeRatio;s=r.parentNode;){for(var u=0,h=s.children,d=0,p=h.length;d<p;d++)u+=h[d].getValue();var f=r.getValue();if(0===f)return a;c*=u/f;var m=s.getModel("itemStyle.normal").get("borderWidth");isFinite(m)&&(c+=4*m*m+4*m*Math.pow(c,.5)),c>g.MAX_SAFE_INTEGER&&(c=g.MAX_SAFE_INTEGER),r=s}c<l&&(c=l);var v=Math.pow(c/l,.5);return[n*v,o*v]}function d(e,t,i){if(t)return{x:t.x,y:t.y};var n={x:0,y:0};if(!i)return n;var o=i.node,r=o.getLayout();if(!r)return n;for(var a=[r.width/2,r.height/2],s=o;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}function p(e,t,i,n,o){var r=e.getLayout(),a=i[o],s=a&&a===e;if(!(a&&!s||o===i.length&&e!==n)){e.setLayout({isInView:!0,invisible:!s&&!t.intersect(r),isAboveViewRoot:s},!0);var l=new y(t.x-r.x,t.y-r.y,t.width,t.height);S(e.viewChildren||[],function(e){p(e,l,i,n,o+1)})}}var f=i(0),g=i(3),m=i(7),v=i(40),y=i(10),v=i(40),x=Math.max,b=Math.min,_=g.parsePercent,w=f.retrieve,S=f.each;e.exports=n},function(e,t,i){function n(e,t,i,s,c,h){var d=e.getModel(),f=e.getLayout();if(f&&!f.invisible&&f.isInView){var m,v=e.getModel(g),y=i[e.depth],x=o(v,t,y,s),b=v.get("borderColor"),_=v.get("borderColorSaturation");null!=_&&(m=r(x),b=a(_,m)),e.setVisual("borderColor",b);var w=e.viewChildren;if(w&&w.length){var S=l(e,d,f,v,x,w);p.each(w,function(e,t){if(e.depth>=c.length||e===c[e.depth]){n(e,u(d,x,e,t,S,h),i,s,c,h)}})}else m=r(x),e.setVisual("color",m)}}function o(e,t,i,n){var o=p.extend({},t);return p.each(["color","colorAlpha","colorSaturation"],function(r){var a=e.get(r,!0);null==a&&i&&(a=i[r]),null==a&&(a=t[r]),null==a&&(a=n.get(r)),null!=a&&(o[r]=a)}),o}function r(e){var t=s(e,"color");if(t){var i=s(e,"colorAlpha"),n=s(e,"colorSaturation");return n&&(t=d.modifyHSL(t,null,null,n)),i&&(t=d.modifyAlpha(t,i)),t}}function a(e,t){return null!=t?d.modifyHSL(t,null,null,e):null}function s(e,t){var i=e[t];if(null!=i&&"none"!==i)return i}function l(e,t,i,n,o,r){if(r&&r.length){var a=c(t,"color")||null!=o.color&&"none"!==o.color&&(c(t,"colorAlpha")||c(t,"colorSaturation"));if(a){var s=t.get("visualMin"),l=t.get("visualMax"),u=i.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var d=t.get("colorMappingBy"),p={type:a.name,dataExtent:u,visual:a.range};"color"!==p.type||"index"!==d&&"id"!==d?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var f=new h(p);return f.__drColorMappingBy=d,f}}}function c(e,t){var i=e.get(t);return f(i)&&i.length?{name:t,range:i}:null}function u(e,t,i,n,o,r){var a=p.extend({},t);if(o){var s=o.type,l="color"===s&&o.__drColorMappingBy,c="index"===l?n:"id"===l?r.mapIdToIndex(i.getId()):i.getValue(e.get("visualDimension"));a[s]=o.mapValueToVisual(c)}return a}var h=i(35),d=i(27),p=i(0),f=p.isArray,g="itemStyle.normal";e.exports=function(e,t,i){var o={mainType:"series",subType:"treemap",query:i};e.eachComponent(o,function(e){var t=e.getData().tree,i=t.root,o=e.getModel(g);if(!i.isRemoved()){n(i,{},p.map(t.levelModels,function(e){return e?e.get(g):null}),o,e.getViewRoot().getAncestors(),e)}})}},function(e,t,i){"use strict";i(87),i(332)},function(e,t,i){"use strict";i(144),i(333)},function(e,t,i){"use strict";function n(e,t,i,n){var o=e.coordToPoint([t,n]),r=e.coordToPoint([i,n]);return{x1:o[0],y1:o[1],x2:r[0],y2:r[1]}}var o=i(0),r=i(2),a=i(9),s=["axisLine","axisLabel","axisTick","splitLine","splitArea"];i(34).extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var i=e.axis,n=i.polar,r=n.getRadiusAxis().getExtent(),a=i.getTicksCoords();"category"!==i.type&&a.pop(),o.each(s,function(t){!e.get(t+".show")||i.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,n,a,r)},this)}},_axisLine:function(e,t,i,n){var o=e.getModel("axisLine.lineStyle"),a=new r.Circle({shape:{cx:t.cx,cy:t.cy,r:n[1]},style:o.getLineStyle(),z2:1,silent:!0});a.style.fill=null,this.group.add(a)},_axisTick:function(e,t,i,a){var s=e.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),c=o.map(i,function(e){return new r.Line({shape:n(t,a[1],a[1]+l,e)})});this.group.add(r.mergePath(c,{style:o.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_axisLabel:function(e,t,i,n){for(var o=e.axis,s=e.get("data"),l=e.getModel("axisLabel"),c=l.getModel("textStyle"),u=e.getFormattedLabels(),h=l.get("margin"),d=o.getLabelsCoords(),p=0;p<i.length;p++){var f=n[1],g=t.coordToPoint([f+h,d[p]]),m=t.cx,v=t.cy,y=Math.abs(g[0]-m)/f<.3?"center":g[0]>m?"left":"right",x=Math.abs(g[1]-v)/f<.3?"middle":g[1]>v?"top":"bottom",b=c;s&&s[p]&&s[p].textStyle&&(b=new a(s[p].textStyle,c)),this.group.add(new r.Text({style:{x:g[0],y:g[1],fill:b.getTextColor()||e.get("axisLine.lineStyle.color"),text:u[p],textAlign:y,textVerticalAlign:x,textFont:b.getFont()},silent:!0}))}},_splitLine:function(e,t,i,a){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=0;d<i.length;d++){var p=u++%c.length;h[p]=h[p]||[],h[p].push(new r.Line({shape:n(t,a[0],a[1],i[d])}))}for(var d=0;d<h.length;d++)this.group.add(r.mergePath(h[d],{style:o.defaults({stroke:c[d%c.length]},l.getLineStyle()),silent:!0,z:e.get("z")}))},_splitArea:function(e,t,i,n){var a=e.getModel("splitArea"),s=a.getModel("areaStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var u=[],h=Math.PI/180,d=-i[0]*h,p=Math.min(n[0],n[1]),f=Math.max(n[0],n[1]),g=e.get("clockwise"),m=1;m<i.length;m++){var v=c++%l.length;u[v]=u[v]||[],u[v].push(new r.Sector({shape:{cx:t.cx,cy:t.cy,r0:p,r:f,startAngle:d,endAngle:-i[m]*h,clockwise:g},silent:!0})),d=-i[m]*h}for(var m=0;m<u.length;m++)this.group.add(r.mergePath(u[m],{style:o.defaults({fill:l[m%l.length]},s.getAreaStyle()),silent:!0}))}})},function(e,t,i){var n=i(0),o=i(2),r=i(33),a=i(34),s=i(118),l=r.ifIgnoreOnTick,c=r.getInterval,u=["axisLine","axisLabel","axisTick","axisName"],h=["splitArea","splitLine"],d=a.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,i,a){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new o.Group,this.group.add(this._axisGroup),e.get("show")){var c=e.getCoordSysModel(),p=s.layout(c,e),f=new r(e,p);n.each(u,f.add,f),this._axisGroup.add(f.getGroup()),n.each(h,function(t){e.get(t+".show")&&this["_"+t](e,c,p.labelInterval)},this),o.groupTransition(l,this._axisGroup,e),d.superCall(this,"render",e,t,i,a)}},_splitLine:function(e,t,i){var r=e.axis;if(!r.scale.isBlank()){var a=e.getModel("splitLine"),s=a.getModel("lineStyle"),u=s.get("color"),h=c(a,i);u=n.isArray(u)?u:[u];for(var d=t.coordinateSystem.getRect(),p=r.isHorizontal(),f=0,g=r.getTicksCoords(),m=r.scale.getTicks(),v=[],y=[],x=s.getLineStyle(),b=0;b<g.length;b++)if(!l(r,b,h)){var _=r.toGlobalCoord(g[b]);p?(v[0]=_,v[1]=d.y,y[0]=_,y[1]=d.y+d.height):(v[0]=d.x,v[1]=_,y[0]=d.x+d.width,y[1]=_);var w=f++%u.length;this._axisGroup.add(new o.Line(o.subPixelOptimizeLine({anid:"line_"+m[b],shape:{x1:v[0],y1:v[1],x2:y[0],y2:y[1]},style:n.defaults({stroke:u[w]},x),silent:!0})))}}},_splitArea:function(e,t,i){var r=e.axis;if(!r.scale.isBlank()){var a=e.getModel("splitArea"),s=a.getModel("areaStyle"),u=s.get("color"),h=t.coordinateSystem.getRect(),d=r.getTicksCoords(),p=r.scale.getTicks(),f=r.toGlobalCoord(d[0]),g=r.toGlobalCoord(d[0]),m=0,v=c(a,i),y=s.getAreaStyle();u=n.isArray(u)?u:[u];for(var x=1;x<d.length;x++)if(!l(r,x,v)){var b,_,w,S,A=r.toGlobalCoord(d[x]);r.isHorizontal()?(b=f,_=h.y,w=A-b,S=h.height):(b=h.x,_=g,w=h.width,S=A-_);var M=m++%u.length;this._axisGroup.add(new o.Rect({anid:"area_"+p[x],shape:{x:b,y:_,width:w,height:S},style:n.defaults({fill:u[M]},y),silent:!0})),f=b+w,g=_+S}}}});d.extend({type:"xAxis"}),d.extend({type:"yAxis"})},function(e,t,i){function n(e,t,i){return i&&"axisAreaSelect"===i.type&&t.findComponents({mainType:"parallelAxis",query:i})[0]===e}var o=i(0),r=i(33),a=i(80),s=i(2),l=["axisLine","axisLabel","axisTick","axisName"],c=i(1).extendComponentView({type:"parallelAxis",init:function(e,t){c.superApply(this,"init",arguments),(this._brushController=new a(t.getZr())).on("brush",o.bind(this._onBrush,this))},render:function(e,t,i,a){if(!n(e,t,a)){this.axisModel=e,this.api=i,this.group.removeAll();var c=this._axisGroup;if(this._axisGroup=new s.Group,this.group.add(this._axisGroup),e.get("show")){var u,h=t.getComponent("parallel",e.get("parallelIndex")).coordinateSystem,d=e.getAreaSelectStyle(),p=d.width,f=e.axis.dim,g=h.getAxisLayout(f),m=o.indexOf(h.dimensions,f),v=g.axisExpandWindow;v&&(m<=v[0]||m>=v[1])&&(u=!1);var y=o.extend({axisLabelShow:u,strokeContainThreshold:p},g),x=new r(e,y);o.each(l,x.add,x),this._axisGroup.add(x.getGroup()),this._refreshBrushController(y,d,e,p),s.groupTransition(c,this._axisGroup,e)}}},_refreshBrushController:function(e,t,i,n){var r=i.axis,a=o.map(i.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[r.dataToCoord(e[0],!0),r.dataToCoord(e[1],!0)]}}),l=r.getExtent(),c=l[1]-l[0],u=Math.min(30,.1*Math.abs(c)),h=s.BoundingRect.create({x:l[0],y:-n/2,width:c,height:n});h.x-=u,h.width+=2*u,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,position:e.position}).setPanels([{panelId:"pl",rect:h}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(a)},_onBrush:function(e,t){var i=this.axisModel,n=i.axis,r=o.map(e,function(e){return[n.coordToData(e.range[0],!0),n.coordToData(e.range[1],!0)]});(!i.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:r})},dispose:function(){this._brushController.dispose()}});e.exports=c},function(e,t,i){"use strict";function n(e,t,i){return{position:[e.cx,e.cy],rotation:i/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}var o=i(0),r=i(2),a=i(33),s=["axisLine","axisLabel","axisTick","axisName"],l=["splitLine","splitArea"];i(34).extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var i=e.axis,r=i.polar,c=r.getAngleAxis(),u=i.getTicksCoords(),h=c.getExtent()[0],d=i.getExtent(),p=n(r,e,h),f=new a(e,p);o.each(s,f.add,f),this.group.add(f.getGroup()),o.each(l,function(t){e.get(t+".show")&&!i.scale.isBlank()&&this["_"+t](e,r,h,d,u)},this)}},_splitLine:function(e,t,i,n,a){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=0;d<a.length;d++){var p=u++%c.length;h[p]=h[p]||[],h[p].push(new r.Circle({shape:{cx:t.cx,cy:t.cy,r:a[d]},silent:!0}))}for(var d=0;d<h.length;d++)this.group.add(r.mergePath(h[d],{style:o.defaults({stroke:c[d%c.length],fill:null},l.getLineStyle()),silent:!0}))},_splitArea:function(e,t,i,n,a){var s=e.getModel("splitArea"),l=s.getModel("areaStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=a[0],p=1;p<a.length;p++){var f=u++%c.length;h[f]=h[f]||[],h[f].push(new r.Sector({shape:{cx:t.cx,cy:t.cy,r0:d,r:a[p],startAngle:0,endAngle:2*Math.PI},silent:!0})),d=a[p]}for(var p=0;p<h.length;p++)this.group.add(r.mergePath(h[p],{style:o.defaults({fill:c[p%c.length]},l.getAreaStyle()),silent:!0}))}})},function(e,t,i){var n=i(33),o=i(0),r=i(2),a=i(119),s=n.getInterval,l=n.ifIgnoreOnTick,c=["axisLine","axisLabel","axisTick","axisName"],u=i(34).extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,i,r){var s=this.group;s.removeAll();var l=a.layout(e),h=new n(e,l);o.each(c,h.add,h),s.add(h.getGroup()),e.get("splitLine.show")&&this._splitLine(e,l.labelInterval),u.superCall(this,"render",e,t,i,r)},_splitLine:function(e,t){var i=e.axis;if(!i.scale.isBlank()){var n=e.getModel("splitLine"),o=n.getModel("lineStyle"),a=o.get("width"),c=o.get("color"),u=s(n,t);c=c instanceof Array?c:[c];for(var h=e.coordinateSystem.getRect(),d=i.isHorizontal(),p=[],f=0,g=i.getTicksCoords(),m=[],v=[],y=0;y<g.length;++y)if(!l(i,y,u)){var x=i.toGlobalCoord(g[y]);d?(m[0]=x,m[1]=h.y,v[0]=x,v[1]=h.y+h.height):(m[0]=h.x,m[1]=x,v[0]=h.x+h.width,v[1]=x);var b=f++%c.length;p[b]=p[b]||[],p[b].push(new r.Line(r.subPixelOptimizeLine({shape:{x1:m[0],y1:m[1],x2:v[0],y2:v[1]},style:{lineWidth:a},silent:!0})))}for(var y=0;y<p.length;++y)this.group.add(r.mergePath(p[y],{style:{stroke:c[y%c.length],lineDash:o.getLineDash(a),lineWidth:a},silent:!0}))}}});e.exports=u},function(e,t,i){var n=i(1),o={type:"axisAreaSelect",event:"axisAreaSelected",update:"updateVisual"};n.registerAction(o,function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},function(t){t.axis.model.setActiveIntervals(e.intervals)})}),n.registerAction("parallelAxisExpand",function(e,t){t.eachComponent({mainType:"parallel",query:e},function(t){t.setAxisExpand(e)})})},function(e,t,i){var n=i(1),o=n.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,textStyle:{color:"#fff"},padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});e.exports=o},function(e,t,i){var n=i(122),o=i(1).extendComponentView({type:"axisPointer",render:function(e,t,i){var o=t.getComponent("tooltip"),r=e.get("triggerOn")||o&&o.get("triggerOn")||"mousemove|click";n.register("axisPointer",i,function(e,t,i){"none"!==r&&("leave"===e||r.indexOf(e)>=0)&&i({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})})},remove:function(e,t){n.disopse(t.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(e,t){n.unregister("axisPointer",t),o.superApply(this._model,"dispose",arguments)}})},function(e,t,i){"use strict";function n(e,t,i,n,o){var r=t.axis,s=r.dataToCoord(e),u=n.getAngleAxis().getExtent()[0];u=u/180*Math.PI;var h,d,p,f=n.getRadiusAxis().getExtent();if("radius"===r.dim){var g=l.create();l.rotate(g,g,u),l.translate(g,g,[n.cx,n.cy]),h=a.applyTransform([s,-o],g);var m=t.getModel("axisLabel").get("rotate")||0,v=c.innerTextLayout(u,m*Math.PI/180,-1);d=v.textAlign,p=v.textVerticalAlign}else{var y=f[1];h=n.coordToPoint([y+o,s]);var x=n.cx,b=n.cy;d=Math.abs(h[0]-x)/y<.3?"center":h[0]>x?"left":"right",p=Math.abs(h[1]-b)/y<.3?"middle":h[1]>b?"top":"bottom"}return{position:h,align:d,verticalAlign:p}}var o=i(4),r=i(78),a=i(2),s=i(57),l=i(21),c=i(33),u=i(34),h=r.extend({makeElOption:function(e,t,i,r,a){var l=i.axis;"angle"===l.dim&&(this.animationThreshold=Math.PI/18);var c,u=l.polar,h=u.getOtherAxis(l),p=h.getExtent();c=l["dataTo"+o.capitalFirst(l.dim)](t);var f=s.buildElStyle(r),g=d[r.get("type")](l,u,c,p,f);g.style=f,e.graphicKey=g.type,e.pointer=g;var m=r.get("label.margin"),v=n(t,i,r,u,m);s.buildLabelElOption(e,i,r,a,v)}}),d={line:function(e,t,i,n,o){return"angle"===e.dim?{type:"Line",shape:s.makeLineShape(t.coordToPoint([n[0],i]),t.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:i}}},shadow:function(e,t,i,n,o){var r=e.getBandWidth(),a=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:s.makeSectorShape(t.cx,t.cy,n[0],n[1],(-i-r/2)*a,(r/2-i)*a)}:{type:"Sector",shape:s.makeSectorShape(t.cx,t.cy,i-r/2,i+r/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",h),e.exports=h},function(e,t,i){"use strict";function n(e){return e.isHorizontal()?0:1}function o(e,t){var i=e.getRect();return[i[u[t]],i[u[t]]+i[h[t]]]}var r=i(2),a=i(78),s=i(57),l=i(119),c=i(34),u=["x","y"],h=["width","height"],d=a.extend({makeElOption:function(e,t,i,r,a){var c=i.axis,u=c.coordinateSystem,h=o(u,1-n(c)),d=u.dataToPoint(t)[0],f=s.buildElStyle(r),g=p[r.get("type")](c,d,h,f);g.style=f,e.graphicKey=g.type,e.pointer=g;var m=l.layout(i);s.buildCartesianSingleLabelElOption(t,e,m,i,r,a)},getHandleTransform:function(e,t,i){var n=l.layout(t,{labelInside:!1});return n.labelMargin=i.get("handle.margin"),{position:s.getTransformedPosition(t.axis,e,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,i,r){var a=i.axis,s=a.coordinateSystem,l=n(a),c=o(s,l),u=e.position;u[l]+=t[l],u[l]=Math.min(c[1],u[l]),u[l]=Math.max(c[0],u[l]);var h=o(s,1-l),d=(h[1]+h[0])/2,p=[d,d];return p[l]=u[l],{position:u,rotation:e.rotation,cursorPoint:p,tooltipOption:{verticalAlign:"middle"}}}}),p={line:function(e,t,i,o){var a=s.makeLineShape([t,i[0]],[t,i[1]],n(e));return r.subPixelOptimizeLine({shape:a,style:o}),{type:"Line",shape:a}},shadow:function(e,t,i,o){var r=e.getBandWidth(),a=i[1]-i[0];return{type:"Rect",shape:s.makeRectShape([t-r/2,i[0]],[r,a],n(e))}}};c.registerAxisPointerClass("SingleAxisPointer",d),e.exports=d},function(e,t,i){function n(e,t,i,n,r,g,m,v){var _=[];_=null!=i.x&&null!=i.y?[i.x,i.y]:y({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},r).point;var w=e.axesInfo,S="leave"===t||f(_),A={},M={},k={list:[],map:{}},T=[],I={showPointer:b(a,M),showTooltip:b(s,k),highlight:b(l,T)};return x(e.coordSysMap,function(t,n){var r=t.containPoint(_);x(e.coordSysAxesInfo[n],function(e,t){var n=e.axis;S||!r||d(i,n)||o(e,n.pointToData(_),I,!1,A)})}),x(w,function(e,t){var i=e.linkGroup;i&&!M[t]&&x(i.axesInfo,function(t,n){var r=M[n];if(t!==e&&r){var a=r.value;i.mapper&&(a=e.axis.scale.parse(i.mapper(a,p(t),p(e)))),o(e,a,I,!0,A)}})}),c(M,w),u(k,_,m,n),h(T,n,g,v),A}function o(e,t,i,n,o){var a=e.axis;if(!a.scale.isBlank()&&a.containData(t)){if(!e.involveSeries)return void i.showPointer(e,t);var s=r(t,e),l=s.payloadBatch,c=s.snapToValue;l[0]&&null==o.seriesIndex&&g.extend(o,l[0]),!n&&e.snap&&a.containData(c)&&null!=c&&(t=c),i.highlight("highlight",l),i.showPointer(e,t,l),i.showTooltip(e,s,c)}}function r(e,t){var i=t.axis,n=i.dim,o=e,r=[],a=Number.MAX_VALUE,s=-1;return x(t.seriesModels,function(t,l){var c,u,h=t.coordDimToDataDim(n);if(t.getAxisTooltipData){var d=t.getAxisTooltipData(h,e,i);u=d.dataIndices,c=d.nestestValue}else{if(u=t.getData().indexOfNearest(h[0],e,!1,"category"===i.type?.5:null),!u.length)return;c=t.getData().get(h[0],u[0])}if(null!=c&&isFinite(c)){var p=e-c,f=Math.abs(p);f<=a&&((f<a||p>=0&&s<0)&&(a=f,s=p,o=c,r.length=0),x(u,function(e){r.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:r,snapToValue:o}}function a(e,t,i,n){e[t.key]={value:i,payloadBatch:n}}function s(e,t,i,n){var o=i.payloadBatch,r=t.axis,a=r.model,s=t.axisPointerModel;if(t.triggerTooltip&&o.length){var l=t.coordSys.model,c=v.makeKey(l),u=e.map[c];u||(u=e.map[c]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(u)),u.dataByAxis.push({axisDim:r.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:n,valueLabelOpt:{precision:s.get("label.precision"),formatter:s.get("label.formatter")},seriesDataIndices:o.slice()})}}function l(e,t,i){e.push.apply(e,i)}function c(e,t){x(t,function(t,i){var n=t.axisPointerModel.option,o=e[i];o?(!t.useHandle&&(n.status="show"),n.value=o.value,n.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(n.status="hide")})}function u(e,t,i,n){if(f(t)||!e.list.length)return void n({type:"hideTip"});var o=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:i,dataIndexInside:o.dataIndexInside,dataIndex:o.dataIndex,seriesIndex:o.seriesIndex,dataByCoordSys:e.list})}function h(e,t,i,n){var o=i.getZr();n="lastHighlights"+(n||"");var r=_(o)[n]||{},a=_(o)[n]={};g.each(e,function(e){var t=e.seriesIndex+" | "+e.dataIndex;a[t]=e});var s=[],l=[];g.each(r,function(e,t){!a[t]&&l.push(e)}),g.each(a,function(e,t){!r[t]&&s.push(e)}),l.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:l}),s.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:s})}function d(e,t){var i=1;return x(e,function(e,t){i&=!/^.+(AxisId|AxisName|AxisIndex)$/.test(t)}),!i&&x([["AxisId","id"],["AxisIndex","componentIndex"],["AxisName","name"]],function(n){var o=m.normalizeToArray(e[t.dim+n[0]]);i|=g.indexOf(o,t.model[n[1]])>=0}),!i}function p(e){var t=e.axis.model,i={},n=i.axisDim=e.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=t.componentIndex,i.axisName=i[n+"AxisName"]=t.name,i.axisId=i[n+"AxisId"]=t.id,i}function f(e){return null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}var g=i(0),m=i(5),v=i(56),y=i(121),x=g.each,b=g.curry,_=m.makeGetter();e.exports=n},function(e,t,i){i(1).registerPreprocessor(i(347)),i(349),i(344),i(345),i(346),i(397)},function(e,t,i){function n(e,t){return r.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new s(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick},t,!0)}var o=i(1),r=i(0),a=i(64),s=i(9),l=["#ddd"],c=o.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)",width:null},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var i=this.option;!t&&a.replaceVisualOption(i,e,["inBrush","outOfBrush"]),i.inBrush=i.inBrush||{},i.outOfBrush=i.outOfBrush||{color:l}},setAreas:function(e){__DEV__&&(r.assert(r.isArray(e)),r.each(e,function(e){r.assert(e.brushType,"Illegal areas")})),e&&(this.areas=r.map(e,function(e){return n(this.option,e)},this))},setBrushOption:function(e){this.brushOption=n(this.option,e),this.brushType=this.brushOption.brushType}});e.exports=c},function(e,t,i){function n(e,t,i,n){(!n||n.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts()).enableBrush(e.brushOption).updateCovers(e.areas.slice())}var o=i(0),r=i(80),a=i(1);e.exports=a.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new r(t.getZr())).on("brush",o.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,n.apply(this,arguments)},updateView:n,updateLayout:n,updateVisual:n,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:o.clone(e),$from:i})}})},function(e,t,i){var n=i(1);n.registerAction({type:"brush",event:"brush",update:"updateView"},function(e,t){t.eachComponent({mainType:"brush",query:e},function(t){t.setAreas(e.areas)})}),n.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){})},function(e,t,i){function n(e){var t={};o.each(e,function(e){t[e]=1}),e.length=0,o.each(t,function(t,i){e.push(i)})}var o=i(0),r=["rect","polygon","keep","clear"];e.exports=function(e,t){var i=e&&e.brush;if(o.isArray(i)||(i=i?[i]:[]),i.length){var a=[];o.each(i,function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(a=a.concat(t))});var s=e&&e.toolbox;o.isArray(s)&&(s=s[0]),s||(s={feature:{}},e.toolbox=[s]);var l=s.feature||(s.feature={}),c=l.brush||(l.brush={}),u=c.type||(c.type=[]);u.push.apply(u,a),n(u),t&&!u.length&&u.push.apply(u,r)}}},function(e,t,i){function n(e){var t=["x","y"],i=["width","height"];return{point:function(t,i,n){var r=n.range;return o(t[e],r)},rect:function(n,r,a){var s=a.range,l=[n[t[e]],n[t[e]]+n[i[e]]];return l[1]<l[0]&&l.reverse(),o(l[0],s)||o(l[1],s)||o(s[0],l)||o(s[1],l)}}}function o(e,t){return t[0]<=e&&e<=t[1]}function r(e,t,i,n,o){for(var r=0,s=o[o.length-1];r<o.length;r++){var l=o[r];if(a(e,t,i,n,l[0],l[1],s[0],s[1]))return!0;s=l}}function a(e,t,i,n,o,r,a,c){var u=l(i-e,o-a,n-t,r-c);if(s(u))return!1;var h=l(o-e,o-a,r-t,r-c)/u;if(h<0||h>1)return!1;var d=l(i-e,o-e,n-t,r-t)/u;return!(d<0||d>1)}function s(e){return e<=1e-6&&e>=-1e-6}function l(e,t,i,n){return e*n-t*i}var c=i(166).contain,u=i(10),h={lineX:n(0),lineY:n(1),rect:{point:function(e,t,i){return i.boundingRect.contain(e[0],e[1])},rect:function(e,t,i){return i.boundingRect.intersect(e)}},polygon:{point:function(e,t,i){return i.boundingRect.contain(e[0],e[1])&&c(i.range,e[0],e[1])},rect:function(e,t,i){var n=i.range;if(n.length<=1)return!1;var o=e.x,a=e.y,s=e.width,l=e.height,h=n[0];return!!(c(n,o,a)||c(n,o+s,a)||c(n,o,a+l)||c(n,o+s,a+l)||u.create(e).contain(h[0],h[1])||r(o,a,o+s,a,n)||r(o,a,o,a+l,n)||r(o+s,a,o+s,a+l,n)||r(o,a+l,o+s,a+l,n))||void 0}}};e.exports=h},function(e,t,i){function n(e,t,i,n,r){if(r){var a=e.getZr();if(!a[x]){a[y]||(a[y]=o);g.createOrUpdate(a,y,i,t)(e,n)}}}function o(e,t){if(!e.isDisposed()){var i=e.getZr();i[x]=!0,e.dispatchAction({type:"brushSelect",batch:t}),i[x]=!1}}function r(e,t,i,n){for(var o=i.getItemLayout(n),r=0,a=t.length;r<a;r++){var s=t[r];if(e[s.brushType](o,s.selectors,s))return!0}}function a(e){var t=e.brushSelector;if(d.isString(t)){var i=[];return d.each(f,function(e,n){i[n]=e[t]}),i}if(d.isFunction(t)){var n={};return d.each(f,function(e,i){n[i]=t}),n}return t}function s(e,t){var i=e.option.seriesIndex;return null!=i&&"all"!==i&&(d.isArray(i)?d.indexOf(i,t)<0:t!==i)}function l(e){var t=e.selectors={};return d.each(f[e.brushType],function(i,n){t[n]=function(n){return i(n,t,e)}}),e}function c(e){return new p(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var u=i(1),h=i(64),d=i(0),p=i(10),f=i(348),g=i(51),m=i(127),v=["inBrush","outOfBrush"],y="__ecBrushSelect",x="__ecInBrushSelectEvent",b=u.PRIORITY.VISUAL.BRUSH;u.registerLayout(b,function(e,t,i){e.eachComponent({mainType:"brush"},function(t){i&&"takeGlobalCursor"===i.type&&t.setBrushOption("brush"===i.key?i.brushOption:{brushType:!1}),(t.brushTargetManager=new m(t.option,e)).setInputRanges(t.areas,e)})}),u.registerVisual(b,function(e,t,i){var o,c,u=[];e.eachComponent({mainType:"brush"},function(t,i){function n(e){return"all"===x||b[e]}function p(e){return!!e.length}function f(e,t){var i=e.coordinateSystem;A|=i.hasAxisbrushed(),n(t)&&i.eachActiveState(e.getData(),function(e,t){"active"===e&&(w[t]=1)})}function g(i,o,l){var c=a(i);if(c&&!s(t,o)&&(d.each(M,function(n){c[n.brushType]&&t.brushTargetManager.controlSeries(n,i,e)&&l.push(n),A|=p(l)}),n(o)&&p(l))){var u=i.getData();u.each(function(e){r(c,l,u,e)&&(w[e]=1)})}}var m={brushId:t.id,brushIndex:i,brushName:t.name,areas:d.clone(t.areas),selected:[]};u.push(m);var y=t.option,x=y.brushLink,b=[],w=[],S=[],A=0;i||(o=y.throttleType,c=y.throttleDelay);var M=d.map(t.areas,function(e){return l(d.defaults({boundingRect:_[e.brushType](e)},e))}),k=h.createVisualMappings(t.option,v,function(e){e.mappingMethod="fixed"});d.isArray(x)&&d.each(x,function(e){b[e]=1}),e.eachSeries(function(e,t){var i=S[t]=[];"parallel"===e.subType?f(e,t):g(e,t,i)}),e.eachSeries(function(e,t){var i={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};m.selected.push(i);var o=a(e),s=S[t],l=e.getData(),c=n(t)?function(e){return w[e]?(i.dataIndex.push(l.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(e){return r(o,s,l,e)?(i.dataIndex.push(l.getRawIndex(e)),"inBrush"):"outOfBrush"};(n(t)?A:p(s))&&h.applyVisual(v,k,l,c)})}),n(t,o,c,u,i)});var _={lineX:d.noop,lineY:d.noop,rect:function(e){return c(e.range)},polygon:function(e){for(var t,i=e.range,n=0,o=i.length;n<o;n++){t=t||[[1/0,-(1/0)],[1/0,-(1/0)]];var r=i[n];r[0]<t[0][0]&&(t[0][0]=r[0]),r[0]>t[0][1]&&(t[0][1]=r[0]),r[1]<t[1][0]&&(t[1][0]=r[1]),r[1]>t[1][1]&&(t[1][1]=r[1])}return t&&c(t)}}},function(e,t,i){"use strict";i(413),i(414),i(351)},function(e,t,i){"use strict";var n=i(0),o=i(2),r=i(4),a=i(3),s={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},l={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]};e.exports=i(1).extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,i){var n=this.group;n.removeAll();var o=e.coordinateSystem,r=o.getHandledRangeInfo(),a=o.getOrient();this._renderDayRect(e,r,n),this._renderLines(e,r,a,n),this._renderYearText(e,r,a,n),this._renderMonthText(e,a,n),this._renderWeekText(e,r,a,n)},_renderDayRect:function(e,t,i){for(var n=e.coordinateSystem,r=e.getModel("itemStyle.normal").getItemStyle(),a=n.getCellWidth(),s=n.getCellHeight(),l=t.start.time;l<=t.end.time;l=n.getNextNDay(l,1).time){var c=n.dataToRect([l],!0).tl,u=new o.Rect({shape:{x:c[0],y:c[1],width:a,height:s},style:r});i.add(u)}},_renderLines:function(e,t,i,n){function o(t){r._firstDayOfMonth.push(a.getDateInfo(t)),r._firstDayPoints.push(a.dataToRect([t],!0).tl);var o=r._getLinePointsOfOneWeek(e,t,i);r._tlpoints.push(o[0]),r._blpoints.push(o[o.length-1]),l&&r._drawSplitline(o,s,n)}var r=this,a=e.coordinateSystem,s=e.getModel("splitLine.lineStyle").getLineStyle(),l=e.get("splitLine.show"),c=s.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,h=0;u.time<=t.end.time;h++){o(u.formatedDate),0===h&&(u=a.getDateInfo(t.start.y+"-"+t.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=a.getDateInfo(d)}o(a.getNextNDay(t.end.time,1).formatedDate),l&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,c,i),s,n),l&&this._drawSplitline(r._getEdgesPoints(r._blpoints,c,i),s,n)},_getEdgesPoints:function(e,t,i){var n=[e[0].slice(),e[e.length-1].slice()],o="horizontal"===i?0:1;return n[0][o]=n[0][o]-t/2,n[1][o]=n[1][o]+t/2,n},_drawSplitline:function(e,t,i){var n=new o.Polyline({z2:20,shape:{points:e},style:t});i.add(n)},_getLinePointsOfOneWeek:function(e,t,i){var n=e.coordinateSystem;t=n.getDateInfo(t);for(var o=[],r=0;r<7;r++){var a=n.getNextNDay(t.time,r),s=n.dataToRect([a.time],!0);o[2*a.day]=s.tl,o[2*a.day+1]=s["horizontal"===i?"bl":"tr"]}return o},_formatterLabel:function(e,t){return"string"==typeof e&&e?r.formatTplSimple(e,t):"function"==typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,i,n){e=e.slice();var o=["center","bottom"];"top"===i&&(e[1]-=n),"bottom"===i&&(e[1]+=n,o=["center","top"]),"left"===i&&(e[0]-=n),"right"===i&&(e[0]+=n,o=["center","top"]);var r=0;return"left"!==i&&"right"!==i||(r=Math.PI/2),{rotation:r,origin:e,style:{x:e[0],y:e[1],textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(e,t,i,r){var a=e.getModel("yearLabel");if(a.get("show")){var s=e.getModel("yearLabel.textStyle"),l=a.get("margin"),c=a.get("position");c||(c="horizontal"!==i?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],h=(u[0][0]+u[1][0])/2,d=(u[0][1]+u[1][1])/2,p="horizontal"===i?0:1,f={top:[h,u[p][1]],bottom:[h,u[1-p][1]],left:[u[1-p][0],d],right:[u[p][0],d]},g=t.start.y;+t.end.y>+t.start.y&&(g=g+"-"+t.end.y);var m=a.get("formatter"),v={start:t.start.y,end:t.end.y,nameMap:g},y=this._formatterLabel(m,v),x=new o.Text(n.merge({z2:30,style:{text:y,font:s.getFont(),fill:s.getTextColor()}},this._yearTextPositionControl(f[c],i,c,l)));r.add(x)}},_monthTextPositionControl:function(e,t,i,n,o){var r="left",a="top",s=e[0],l=e[1];return"horizontal"===i?(l+=o,t&&(r="center"),"start"===n&&(a="bottom")):(s+=o,t&&(a="middle"),"start"===n&&(r="right")),{x:s,y:l,textAlign:r,textVerticalAlign:a}},_renderMonthText:function(e,t,i){var r=e.getModel("monthLabel");if(r.get("show")){var a=e.getModel("monthLabel.textStyle"),l=r.get("nameMap"),c=r.get("margin"),u=r.get("position"),h=r.get("align"),d=[this._tlpoints,this._blpoints];n.isString(l)&&(l=s[l.toUpperCase()]||[]);var p="start"===u?0:1,f="horizontal"===t?0:1;c="start"===u?-c:c;for(var g="center"===h,m=0;m<d[p].length-1;m++){var v=d[p][m].slice(),y=this._firstDayOfMonth[m];if(g){var x=this._firstDayPoints[m];v[f]=(x[f]+d[0][m+1][f])/2}var b=r.get("formatter"),_=l[+y.m-1],w={yyyy:y.y,yy:(y.y+"").slice(2),MM:y.m,M:+y.m,nameMap:_},S=this._formatterLabel(b,w),A=new o.Text({z2:30,style:n.extend({text:S,font:a.getFont(),fill:a.getTextColor()},this._monthTextPositionControl(v,g,t,u,c))});i.add(A)}}},_weekTextPositionControl:function(e,t,i,n,o){var r="center",a="middle",s=e[0],l=e[1],c="start"===i;return"horizontal"===t?(s=s+n+(c?1:-1)*o[0]/2,r=c?"right":"left"):(l=l+n+(c?1:-1)*o[1]/2,a=c?"bottom":"top"),{x:s,y:l,textAlign:r,textVerticalAlign:a}},_renderWeekText:function(e,t,i,r){var s=e.getModel("dayLabel");if(s.get("show")){var c=e.coordinateSystem,u=e.getModel("dayLabel.textStyle"),h=s.get("position"),d=s.get("nameMap"),p=s.get("margin"),f=c.getFirstDayOfWeek();n.isString(d)&&(d=l[d.toUpperCase()]||[]);var g=c.getNextNDay(t.end.time,7-t.lweek).time,m=[c.getCellWidth(),c.getCellHeight()];p=a.parsePercent(p,m["horizontal"===i?0:1]),"start"===h&&(g=c.getNextNDay(t.start.time,-(7+t.fweek)).time,p=-p);for(var v=0;v<7;v++){var y=c.getNextNDay(g,v),x=c.dataToRect([y.time],!0).center,b=v;b=Math.abs((v+f)%7);var _=new o.Text({z2:30,style:n.extend({text:d[b],font:u.getFont(),fill:u.getTextColor()},this._weekTextPositionControl(x,i,h,p,m))});r.add(_)}}}})},function(e,t,i){i(126),i(46),i(47),i(358),i(359),i(354),i(355),i(124),i(123)},function(e,t,i){function n(e,t,i){var n=[1/0,-(1/0)];return c(i,function(e){var i=e.getData();i&&c(e.coordDimToDataDim(t),function(e){var t=i.getDataExtent(e);t[0]<n[0]&&(n[0]=t[0]),t[1]>n[1]&&(n[1]=t[1])})}),n[1]<n[0]&&(n=[NaN,NaN]),o(e,n),n}function o(e,t){var i=e.getAxisModel(),n=i.getMin(!0),o="category"===i.get("type"),r=o&&(i.get("data")||[]).length;null!=n&&"dataMin"!==n?t[0]=n:o&&(t[0]=r>0?0:NaN);var a=i.getMax(!0);return null!=a&&"dataMax"!==a?t[1]=a:o&&(t[1]=r>0?r-1:NaN),i.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function r(e,t){var i=e.getAxisModel(),n=e._percentWindow,o=e._valueWindow;if(n){var r=s.getPixelPrecision(o,[0,500]),a=t||0===n[0]&&100===n[1];i.setRange(a?null:+o[0].toFixed(r),a?null:+o[1].toFixed(r))}}var a=i(0),s=i(3),l=i(79),c=a.each,u=s.asc,h=function(e,t,i,n){this._dimName=e,this._axisIndex=t,this._valueWindow,this._percentWindow,this._dataExtent,this.ecModel=n,this._dataZoomModel=i};h.prototype={constructor:h,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries(function(i){if(l.isCoordSupported(i.get("coordinateSystem"))){var n=this._dimName,o=t.queryComponents({mainType:n+"Axis",index:i.get(n+"AxisIndex"),id:i.get(n+"AxisId")})[0];this._axisIndex===(o&&o.componentIndex)&&e.push(i)}},this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,i=this._dimName,n=this.ecModel,o=this.getAxisModel(),r="x"===i||"y"===i;r?(t="gridIndex",e="x"===i?"y":"x"):(t="polarIndex",e="angle"===i?"radius":"angle");var a;return n.eachComponent(e+"Axis",function(e){(e.get(t)||0)===(o.get(t)||0)&&(a=e)}),a},calculateDataWindow:function(e){var t=this._dataExtent,i=this.getAxisModel(),n=i.axis.scale,o=this._dataZoomModel.getRangePropMode(),r=[0,100],a=[e.start,e.end],l=[];return c(["startValue","endValue"],function(t){l.push(null!=e[t]?n.parse(e[t]):null)}),c([0,1],function(e){var i=l[e],c=a[e];"percent"===o[e]?(null==c&&(c=r[e]),i=n.parse(s.linearMap(c,r,t,!0))):c=s.linearMap(i,t,r,!0),l[e]=i,a[e]=c}),{valueWindow:u(l),percentWindow:u(a)}},reset:function(e){if(e===this._dataZoomModel){this._dataExtent=n(this,this._dimName,this.getTargetSeriesModels());var t=this.calculateDataWindow(e.option);this._valueWindow=t.valueWindow,this._percentWindow=t.percentWindow,r(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,r(this,!0))},filterData:function(e){function t(e){return e>=r[0]&&e<=r[1]}if(e===this._dataZoomModel){var i=this._dimName,n=this.getTargetSeriesModels(),o=e.get("filterMode"),r=this._valueWindow,a=this.getOtherAxisModel();e.get("$fromToolbox")&&a&&"category"===a.get("type")&&(o="empty"),c(n,function(e){var n=e.getData();n&&c(e.coordDimToDataDim(i),function(i){"empty"===o?e.setData(n.map(i,function(e){return t(e)?e:NaN})):n.filterSelf(i,t)})})}}},e.exports=h},function(e,t,i){e.exports=i(46).extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1}})},function(e,t,i){function n(e){var t=[0,100];return!(e[0]<=t[1])&&(e[0]=t[1]),!(e[1]<=t[1])&&(e[1]=t[1]),!(e[0]>=t[0])&&(e[0]=t[0]),!(e[1]>=t[0])&&(e[1]=t[0]),e}var o=i(47),r=i(0),a=i(82),s=i(360),l=r.bind,c=o.extend({type:"dataZoom.inside",init:function(e,t){this._range},render:function(e,t,i,n){c.superApply(this,"render",arguments),s.shouldRecordRange(n,e.id)&&(this._range=e.getPercentRange()),r.each(this.getTargetCoordInfo(),function(t,n){var o=r.map(t,function(e){return s.generateCoordId(e.model)});r.each(t,function(t){var r=t.model;s.register(i,{coordId:s.generateCoordId(r),allCoordIds:o,containsPoint:function(e,t){return r.coordinateSystem.containPoint([e,t])},dataZoomId:e.id,throttleRate:e.get("throttle",!0),panGetRange:l(this._onPan,this,t,n),zoomGetRange:l(this._onZoom,this,t,n)})},this)},this)},dispose:function(){s.unregister(this.api,this.dataZoomModel.id),c.superApply(this,"dispose",arguments),this._range=null},_onPan:function(e,t,i,n,o,r,s,l,c){if(this.dataZoomModel.option.disabled)return this._range;var h=this._range.slice(),d=e.axisModels[0];if(d){var p=u[t]([r,s],[l,c],d,i,e),f=p.signal*(h[1]-h[0])*p.pixel/p.pixelLength;return a(f,h,[0,100],"rigid"),this._range=h}},_onZoom:function(e,t,i,o,r,a){var s=this.dataZoomModel.option;if(s.disabled||s.zoomLock)return this._range;var l=this._range.slice(),c=e.axisModels[0];if(c){var h=u[t](null,[r,a],c,i,e),d=(h.pixel-h.pixelStart)/h.pixelLength*(l[1]-l[0])+l[0];return o=Math.max(1/o,0),l[0]=(l[0]-d)*o+d,l[1]=(l[1]-d)*o+d,this._range=n(l)}}}),u={grid:function(e,t,i,n,o){var r=i.axis,a={},s=o.model.coordinateSystem.getRect();return e=e||[0,0],"x"===r.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=r.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=r.inverse?-1:1),a},polar:function(e,t,i,n,o){var r=i.axis,a={},s=o.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===i.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=r.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=c[1]-c[0],a.pixelStart=c[0],a.signal=r.inverse?-1:1),a},singleAxis:function(e,t,i,n,o){var r=i.axis,a=o.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===r.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=r.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=r.inverse?-1:1),s}};e.exports=c},function(e,t,i){var n=i(46);e.exports=n.extend({type:"dataZoom.select"})},function(e,t,i){e.exports=i(47).extend({type:"dataZoom.select"})},function(e,t,i){var n=i(46),o=n.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});e.exports=o},function(e,t,i){function n(e){return{x:"y",y:"x",radius:"angle",angle:"radius"}[e]}var o=i(0),r=i(2),a=i(51),s=i(47),l=r.Rect,c=i(3),u=c.linearMap,h=i(7),d=i(82),p=i(26),f=c.asc,g=o.bind,m=o.each,v="horizontal",y=5,x=["line","bar","candlestick","scatter"],b=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,i,n){if(b.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),this.dataZoomModel.get("show")===!1)return void this.group.removeAll();n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()},remove:function(){b.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){b.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new r.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,i=this._findCoordRect(),n={width:t.getWidth(),height:t.getHeight()},r=this._orient===v?{right:n.width-i.x-i.width,top:n.height-30-7,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=h.getLayoutParams(e.option);o.each(["right","top","width","height"],function(e){"ph"===a[e]&&(a[e]=r[e])});var s=h.getLayoutRect(a,n,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),o=n&&n.get("inverse"),r=this._displayables.barGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(i!==v||o?i===v&&o?{scale:a?[-1,1]:[-1,-1]}:"vertical"!==i||o?{scale:a?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:a?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:a?[1,1]:[1,-1]});var s=e.getBoundingRect([r]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size;this._displayables.barGroup.add(new l({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,i=e.series,n=i.getRawData(),a=i.getShadowDim?i.getShadowDim():e.otherDim;if(null!=a){var s=n.getDataExtent(a),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var c,h=[0,t[1]],d=[0,t[0]],p=[[t[0],0],[0,0]],f=[],g=d[1]/(n.count()-1),m=0,v=Math.round(n.count()/t[0]);n.each([a],function(e,t){if(v>0&&t%v)return void(m+=g);var i=null==e||isNaN(e)||""===e,n=i?0:u(e,s,h,!0);i&&!c&&t?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!i&&c&&(p.push([m,0]),f.push([m,0])),p.push([m,n]),f.push([m,n]),m+=g,c=i});var y=this.dataZoomModel;this._displayables.barGroup.add(new r.Polygon({shape:{points:p},style:o.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new r.Polyline({shape:{points:f},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(t!==!1){var i,r=this.ecModel;return e.eachTargetAxis(function(a,s){var l=e.getAxisProxy(a.name,s).getTargetSeriesModels();o.each(l,function(e){if(!(i||t!==!0&&o.indexOf(x,e.get("type"))<0)){var l,c=r.getComponent(a.axis,s).axis,u=n(a.name),h=e.coordinateSystem;null!=u&&h.getOtherAxis&&(l=h.getOtherAxis(c).inverse),i={thisAxis:c,series:e,thisDim:a.name,otherDim:u,otherAxisInverse:l}}},this)},this),i}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],i=e.handleLabels=[],n=this._displayables.barGroup,o=this._size,a=this.dataZoomModel;n.add(e.filler=new l({draggable:!0,cursor:"move",drift:g(this._onDragMove,this,"all"),onmousemove:function(e){p.stop(e.event)},ondragstart:g(this._showDataInfo,this,!0),ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),n.add(new l(r.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})));var s=a.get("handleIcon");m([0,1],function(e){var o=r.makePath(s,{style:{strokeNoScale:!0},rectHover:!0,cursor:"vertical"===this._orient?"ns-resize":"ew-resize",draggable:!0,drift:g(this._onDragMove,this,e),onmousemove:function(e){p.stop(e.event)},ondragend:g(this._onDragEnd,this),onmouseover:g(this._showDataInfo,this,!0),onmouseout:g(this._showDataInfo,this,!1)},{x:-.5,y:0,width:1,height:1},"center"),l=o.getBoundingRect();this._handleHeight=c.parsePercent(a.get("handleSize"),this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,o.setStyle(a.getModel("handleStyle").getItemStyle());var u=a.get("handleColor");null!=u&&(o.style.fill=u),n.add(t[e]=o);var h=a.textStyleModel;this.group.add(i[e]=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",fill:h.getTextColor(),textFont:h.getFont()},z2:10}))},this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[u(e[0],[0,100],t,!0),u(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var i=this._handleEnds,n=this._getViewExtent();d(t,i,n,"all"===e||this.dataZoomModel.get("zoomLock")?"rigid":"cross",e),this._range=f([u(i[0],n,[0,100],!0),u(i[1],n,[0,100],!0)])},_updateView:function(e){var t=this._displayables,i=this._handleEnds,n=f(i.slice()),o=this._size;m([0,1],function(e){var n=t.handles[e],r=this._handleHeight;n.attr({scale:[r,r],position:[i[e],o[1]/2-r/2]})},this),t.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:o[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){function t(e){var t=r.getTransform(n.handles[e].parent,this.group),i=r.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+y,c=r.applyTransform([d[e]+(0===e?-l:l),this._size[1]/2],t);o[e].setStyle({x:c[0],y:c[1],textVerticalAlign:a===v?"middle":i,textAlign:a===v?i:"center",text:s[e]})}var i=this.dataZoomModel,n=this._displayables,o=n.handleLabels,a=this._orient,s=["",""];if(i.get("showDetail")){var l=i.findRepresentativeAxisProxy();if(l){var c=l.getAxisModel().axis,u=this._range,h=e?l.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:l.getDataValueWindow();s=[this._formatLabel(h[0],c),this._formatLabel(h[1],c)]}}var d=f(this._handleEnds.slice());t.call(this,0),t.call(this,1)},_formatLabel:function(e,t){var i=this.dataZoomModel,n=i.get("labelFormatter"),r=i.get("labelPrecision");null!=r&&"auto"!==r||(r=t.getPixelPrecision());var a=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(r,20));return o.isFunction(n)?n(e,a):o.isString(n)?n.replace("{value}",a):a},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,i){this._dragging=!0;var n=this._applyBarTransform([t,i],!0);this._updateInterval(e,n[0]);var o=this.dataZoomModel.get("realtime");this._updateView(!o),o&&o&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),this._dispatchZoomAction()},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_applyBarTransform:function(e,t){var i=this._displayables.barGroup.getLocalTransform();return r.applyTransform(e,i,t)},_findCoordRect:function(){var e;if(m(this.getTargetCoordInfo(),function(t){if(!e&&t.length){var i=t[0].model.coordinateSystem;e=i.getRect&&i.getRect()}}),!e){var t=this.api.getWidth(),i=this.api.getHeight();e={x:.2*t,y:.2*i,width:.6*t,height:.6*i}}return e}});e.exports=b},function(e,t,i){function n(e){var t=e.getZr();return t[f]||(t[f]={})}function o(e,t,i){var n=new h(e.getZr());return n.enable(),n.on("pan",p(a,i)),n.on("zoom",p(s,i)),n}function r(e){u.each(e,function(t,i){t.count||(t.controller.dispose(),delete e[i])})}function a(e,t,i,n,o,r,a){l(e,function(s){return s.panGetRange(e.controller,t,i,n,o,r,a)})}function s(e,t,i,n){l(e,function(o){return o.zoomGetRange(e.controller,t,i,n)})}function l(e,t){var i=[];u.each(e.dataZoomInfos,function(e){var n=t(e);n&&i.push({dataZoomId:e.dataZoomId,start:n[0],end:n[1]})}),e.dispatchAction(i)}function c(e,t){e.dispatchAction({type:"dataZoom",batch:t})}var u=i(0),h=i(58),d=i(51),p=u.curry,f="\0_ec_dataZoom_roams",g={register:function(e,t){var i=n(e),a=t.dataZoomId,s=t.coordId;u.each(i,function(e,i){var n=e.dataZoomInfos;n[a]&&u.indexOf(t.allCoordIds,s)<0&&(delete n[a],e.count--)}),r(i);var l=i[s];l||(l=i[s]={coordId:s,dataZoomInfos:{},count:0},l.controller=o(e,t,l),l.dispatchAction=u.curry(c,e)),l.controller.setContainsPoint(t.containsPoint),d.createOrUpdate(l,"dispatchAction",t.throttleRate,"fixRate"),!l.dataZoomInfos[a]&&l.count++,l.dataZoomInfos[a]=t},unregister:function(e,t){var i=n(e);u.each(i,function(e){e.controller.dispose();var i=e.dataZoomInfos;i[t]&&(delete i[t],e.count--)}),r(i)},shouldRecordRange:function(e,t){if(e&&"dataZoom"===e.type&&e.batch)for(var i=0,n=e.batch.length;i<n;i++)if(e.batch[i].dataZoomId===t)return!1;return!0},generateCoordId:function(e){return e.type+"\0_"+e.id}};e.exports=g},function(e,t,i){i(126),i(46),i(47),i(356),i(357),i(124),i(123)},function(e,t,i){function n(e,t){t.update="updateView",o.registerAction(t,function(t,i){var n={};return i.eachComponent({mainType:"geo",query:t},function(i){i[e](t.name);var o=i.coordinateSystem;r.each(o.regions,function(e){n[e.name]=i.isSelected(e.name)||!1})}),{selected:n,name:t.name}})}i(421),i(60),i(363),i(105);var o=i(1),r=i(0);n("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),n("select",{type:"geoSelect",event:"geoselected"}),n("unSelect",{type:"geoUnSelect",event:"geounselected"})},function(e,t,i){"use strict";var n=i(128);e.exports=i(1).extendComponentView({type:"geo",init:function(e,t){var i=new n(t,!0);this._mapDraw=i,this.group.add(i.group)},render:function(e,t,i,n){if(!n||"geoToggleSelect"!==n.type||n.from!==this.uid){var o=this._mapDraw;e.get("show")?o.draw(e,t,i,this,n):this._mapDraw.group.removeAll(),this.group.silent=e.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}})},function(e,t,i){function n(e,t,i,n){var o=i.type;__DEV__&&h.assert(o,"graphic type MUST be set");var r=p[o.charAt(0).toUpperCase()+o.slice(1)];__DEV__&&h.assert(r,"graphic type can not be found");var a=new r(i);t.add(a),n[e]=a,a.__ecGraphicId=e}function o(e,t){var i=e&&e.parent;i&&("group"===e.type&&e.traverse(function(e){o(e,t)}),delete t[e.__ecGraphicId],i.remove(e))}function r(e){return e=h.extend({},e),h.each(["id","parentId","$action","hv","bounding"].concat(f.LOCATION_PARAMS),function(t){delete e[t]}),e}function a(e,t){var i;return h.each(t,function(t){null!=e[t]&&"auto"!==e[t]&&(i=!0)}),i}function s(e,t){var i=e.exist;if(t.id=e.keyInfo.id,!t.type&&i&&(t.type=i.type),null==t.parentId){var n=t.parentOption;n?t.parentId=n.id:i&&(t.parentId=i.parentId)}t.parentOption=null}function l(e,t,i){var n=h.extend({},i),o=e[t],r=i.$action||"merge";if("merge"===r)if(o){if(__DEV__){var a=i.type;h.assert(!a||o.type===a,'Please set $action: "replace" to change `type`')}h.merge(o,n,!0),f.mergeLayoutParam(o,n,{ignoreSize:!0}),f.copyLayoutParams(i,o)}else e[t]=n;else"replace"===r?e[t]=n:"remove"===r&&o&&(e[t]=null)}function c(e,t){e&&(e.hv=t.hv=[a(t,["left","right"]),a(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0)))}var u=i(1),h=i(0),d=i(5),p=i(2),f=i(7);u.registerPreprocessor(function(e){var t=e.graphic;h.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])});var g=u.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,g.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var i=this.option,n=(t?i:e).elements,o=i.elements=t?[]:i.elements,r=[];this._flatten(n,r);var a=d.mappingToExists(o,r);d.makeIdAndName(a);var u=this._elOptionsToUpdate=[];h.each(a,function(e,t){var i=e.option;__DEV__&&h.assert(h.isObject(i)||e.exist,"Empty graphic option definition"),i&&(u.push(i),s(e,i),l(o,t,i),c(o[t],i))},this);for(var p=o.length-1;p>=0;p--)null==o[p]?o.splice(p,1):delete o[p].$action},_flatten:function(e,t,i){h.each(e,function(e){if(e){i&&(e.parentOption=i),t.push(e);var n=e.children;"group"===e.type&&n&&this._flatten(n,t,e),delete e.children}},this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});u.extendComponentView({type:"graphic",init:function(e,t){this._elMap={},this._lastGraphicModel},render:function(e,t,i){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e,i),this._relocate(e,i)},_updateElements:function(e,t){var i=e.useElOptionsToUpdate();if(i){var a=this._elMap,s=this.group;h.each(i,function(e){var t=e.$action,i=e.id,l=a[i],c=e.parentId,u=null!=c?a[c]:s;e.hv&&e.hv[1]&&"text"===e.type&&(e.style=h.defaults({textBaseline:"middle"},e.style),e.style.textVerticalAlign=null);var d=r(e);__DEV__&&l&&h.assert(u===l.parent,"Changing parent is not supported."),t&&"merge"!==t?"replace"===t?(o(l,a),n(i,u,d,a)):"remove"===t&&o(l,a):l?l.attr(d):n(i,u,d,a),a[i]&&(a[i].__ecGraphicWidth=e.width,a[i].__ecGraphicHeight=e.height)})}},_relocate:function(e,t){for(var i=e.option.elements,n=this.group,o=this._elMap,r=i.length-1;r>=0;r--){var a=i[r],s=o[a.id];if(s){var l=s.parent,c=l===n?{width:t.getWidth(),height:t.getHeight()}:{width:l.__ecGraphicWidth||0,height:l.__ecGraphicHeight||0};f.positionElement(s,a,c,null,{hv:a.hv,boundingMode:a.bounding})}}},_clear:function(){var e=this._elMap;h.each(e,function(t){o(t,e)}),this._elMap={}},dispose:function(){this._clear()}})},function(e,t,i){i(48),i(120),i(45)},function(e,t,i){i(367),i(369),i(368),i(1).registerProcessor(i(370))},function(e,t,i){"use strict";var n=i(0),o=i(9),r=i(1).extendComponentModel({type:"legend",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{}},mergeOption:function(e){r.superCall(this,"mergeOption",e)},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,i=0;i<e.length;i++){var n=e[i].get("name");if(this.isSelected(n)){this.select(n),t=!0;break}}!t&&this.select(e[0].get("name"))}},_updateData:function(e){var t=n.map(this.get("data")||[],function(e){return"string"!=typeof e&&"number"!=typeof e||(e={name:e}),new o(e,this,this.ecModel)},this);this._data=t;var i=n.map(e.getSeries(),function(e){return e.name});e.eachSeries(function(e){if(e.legendDataProvider){var t=e.legendDataProvider();i=i.concat(t.mapArray(t.getName))}}),this._availableNames=i},getData:function(){return this._data},select:function(e){var t=this.option.selected;if("single"===this.get("selectedMode")){var i=this._data;n.each(i,function(e){t[e.get("name")]=!1})}t[e]=!0},unSelect:function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},toggleSelected:function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},isSelected:function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&n.indexOf(this._availableNames,e)>=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,inactiveColor:"#ccc",textStyle:{color:"#333"},selectedMode:!0,tooltip:{show:!1}}});e.exports=r},function(e,t,i){function n(e,t){t.dispatchAction({type:"legendToggleSelect",name:e})}function o(e,t,i){var n=i.getZr().storage.getDisplayList()[0];n&&n.useHoverLayer||e.get("legendHoverLink")&&i.dispatchAction({type:"highlight",seriesName:e.name,name:t})}function r(e,t,i){var n=i.getZr().storage.getDisplayList()[0];n&&n.useHoverLayer||e.get("legendHoverLink")&&i.dispatchAction({type:"downplay",seriesName:e.name,name:t})}var a=i(0),s=i(20),l=i(2),c=i(130),u=a.curry;e.exports=i(1).extendComponentView({type:"legend",init:function(){this._symbolTypeStore={}},render:function(e,t,i){var s=this.group;if(s.removeAll(),e.get("show")){var h=e.get("selectedMode"),d=e.get("align");"auto"===d&&(d="right"===e.get("left")&&"vertical"===e.get("orient")?"right":"left");var p={};a.each(e.getData(),function(a){var c=a.get("name");if(""===c||"\n"===c)return void s.add(new l.Group({newline:!0}));var f=t.getSeriesByName(c)[0];if(!p[c]){if(f){var g=f.getData(),m=g.getVisual("color");"function"==typeof m&&(m=m(f.getDataParams(0)));var v=g.getVisual("legendSymbol")||"roundRect",y=g.getVisual("symbol");this._createItem(c,a,e,v,y,d,m,h).on("click",u(n,c,i)).on("mouseover",u(o,f,null,i)).on("mouseout",u(r,f,null,i)),p[c]=!0}else t.eachRawSeries(function(t){if(!p[c]&&t.legendDataProvider){var s=t.legendDataProvider(),l=s.indexOfName(c);if(l<0)return;var f=s.getItemVisual(l,"color");this._createItem(c,a,e,"roundRect",null,d,f,h).on("click",u(n,c,i)).on("mouseover",u(o,t,c,i)).on("mouseout",u(r,t,c,i)),p[c]=!0}},this);__DEV__&&(p[c]||console.warn(c+" series not exists. Legend data should be same with series name or data name."))}},this),c.layout(s,e,i),c.addBackground(s,e)}},_createItem:function(e,t,i,n,o,r,c,u){var h=i.get("itemWidth"),d=i.get("itemHeight"),p=i.get("inactiveColor"),f=i.isSelected(e),g=new l.Group,m=t.getModel("textStyle"),v=t.get("icon"),y=t.getModel("tooltip"),x=y.parentModel;if(n=v||n,g.add(s.createSymbol(n,0,0,h,d,f?c:p)),!v&&o&&(o!==n||"none"==o)){var b=.8*d;"none"===o&&(o="circle"),g.add(s.createSymbol(o,(h-b)/2,(d-b)/2,b,b,f?c:p))}var _="left"===r?h+5:-5,w=r,S=i.get("formatter"),A=e;"string"==typeof S&&S?A=S.replace("{name}",null!=e?e:""):"function"==typeof S&&(A=S(e));var M=new l.Text({style:{text:A,x:_,y:d/2,fill:f?m.getTextColor():p,textFont:m.getFont(),textAlign:w,textVerticalAlign:"middle"}});g.add(M);var k=new l.Rect({shape:g.getBoundingRect(),invisible:!0,tooltip:y.get("show")?a.extend({content:e,formatter:x.get("formatter",!0)||function(){return e},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:e,$vars:["name"]}},y.option):null});return g.add(k),g.eachChild(function(e){e.silent=!0}),k.silent=!u,this.group.add(g),l.setHoverStyle(g),g}})},function(e,t,i){function n(e,t,i){var n,o={},a="toggleSelected"===e;return i.eachComponent("legend",function(i){a&&null!=n?i[n?"select":"unSelect"](t.name):(i[e](t.name),n=i.isSelected(t.name));var s=i.getData();r.each(s,function(e){var t=e.get("name");if("\n"!==t&&""!==t){var n=i.isSelected(t);o[t]=t in o?o[t]&&n:n}})}),{name:t.name,selected:o}}var o=i(1),r=i(0);o.registerAction("legendToggleSelect","legendselectchanged",r.curry(n,"toggleSelected")),o.registerAction("legendSelect","legendselected",r.curry(n,"select")),o.registerAction("legendUnSelect","legendunselected",r.curry(n,"unSelect"))},function(e,t){e.exports=function(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(e){for(var i=0;i<t.length;i++)if(!t[i].isSelected(e.name))return!1;return!0})}},function(e,t,i){i(374),i(375),i(1).registerPreprocessor(function(e){e.markArea=e.markArea||{}})},function(e,t,i){i(376),i(377),i(1).registerPreprocessor(function(e){e.markLine=e.markLine||{}})},function(e,t,i){i(378),i(379),i(1).registerPreprocessor(function(e){e.markPoint=e.markPoint||{}})},function(e,t,i){e.exports=i(83).extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{normal:{show:!0,position:"top"},emphasis:{show:!0,position:"top"}},itemStyle:{normal:{borderWidth:0}}}})},function(e,t,i){function n(e){return!isNaN(e)&&!isFinite(e)}function o(e,t,i,o){var r=1-e;return n(t[r])&&n(i[r])}function r(e,t){var i=t.coord[0],n=t.coord[1];return!("cartesian2d"!==e.type||!i||!n||!o(1,i,n,e)&&!o(0,i,n,e))||(p.dataFilter(e,{coord:i,x:t.x0,y:t.y0})||p.dataFilter(e,{coord:n,x:t.x1,y:t.y1}))}function a(e,t,i,o,r){var a,s=o.coordinateSystem,l=e.getItemModel(t),c=u.parsePercent(l.get(i[0]),r.getWidth()),h=u.parsePercent(l.get(i[1]),r.getHeight());if(isNaN(c)||isNaN(h)){if(o.getMarkerPosition)a=o.getMarkerPosition(e.getValues(i,t));else{var d=e.get(i[0],t),p=e.get(i[1],t);a=s.dataToPoint([d,p],!0)}if("cartesian2d"===s.type){var f=s.getAxis("x"),g=s.getAxis("y"),d=e.get(i[0],t),p=e.get(i[1],t);n(d)?a[0]=f.toGlobalCoord(f.getExtent()["x0"===i[0]?0:1]):n(p)&&(a[1]=g.toGlobalCoord(g.getExtent()["y0"===i[1]?0:1]))}isNaN(c)||(a[0]=c),isNaN(h)||(a[1]=h)}else a=[c,h];return a}function s(e,t,i){var n,o,a=["x0","y0","x1","y1"];e?(n=l.map(e&&e.dimensions,function(e){var i=t.getData().getDimensionInfo(t.coordDimToDataDim(e)[0])||{};return i.name=e,i}),o=new c(l.map(a,function(e,t){return{name:e,type:n[t%2].type}}),i)):(n=[{name:"value",type:"float"}],o=new c(n,i));var s=l.map(i.get("data"),l.curry(f,t,e,i));e&&(s=l.filter(s,l.curry(r,e)));var u=e?function(e,t,i,n){return e.coord[Math.floor(n/2)][n%2]}:function(e){return e.value};return o.initData(s,null,u),o.hasItemOption=!0,o}var l=i(0),c=i(11),u=i(3),h=i(2),d=i(27),p=i(85),f=function(e,t,i,n){var o=p.dataTransform(e,n[0]),r=p.dataTransform(e,n[1]),a=l.retrieve,s=o.coord,c=r.coord;s[0]=a(s[0],-(1/0)),s[1]=a(s[1],-(1/0)),c[0]=a(c[0],1/0),c[1]=a(c[1],1/0);var u=l.mergeAll([{},o,r]);return u.coord=[o.coord,r.coord],u.x0=o.x,u.y0=o.y,u.x1=r.x,u.y1=r.y,u},g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];i(84).extend({type:"markArea",updateLayout:function(e,t,i){t.eachSeries(function(e){var t=e.markAreaModel;if(t){var n=t.getData();n.each(function(t){var o=l.map(g,function(o){return a(n,t,o,e,i)});n.setItemLayout(t,o),n.getItemGraphicEl(t).setShape("points",o)})}},this)},renderSeries:function(e,t,i,n){var o=e.coordinateSystem,r=e.name,c=e.getData(),u=this.markerGroupMap,p=u[r];p||(p=u[r]={group:new h.Group}),this.group.add(p.group),p.__keep=!0;var f=s(o,e,t);t.setData(f),f.each(function(t){f.setItemLayout(t,l.map(g,function(i){return a(f,t,i,e,n)})),f.setItemVisual(t,{color:c.getVisual("color")})}),f.diff(p.__data).add(function(e){var t=new h.Polygon({shape:{points:f.getItemLayout(e)}});f.setItemGraphicEl(e,t),p.group.add(t)}).update(function(e,i){var n=p.__data.getItemGraphicEl(i);h.updateProps(n,{shape:{points:f.getItemLayout(e)}},t,e),p.group.add(n),f.setItemGraphicEl(e,n)}).remove(function(e){var t=p.__data.getItemGraphicEl(e);p.group.remove(t)}).execute(),f.eachItemGraphicEl(function(e,i){var n=f.getItemModel(i),o=n.getModel("label.normal"),r=n.getModel("label.emphasis"),a=f.getItemVisual(i,"color");e.useStyle(l.defaults(n.getModel("itemStyle.normal").getItemStyle(),{fill:d.modifyAlpha(a,.4),stroke:a})),e.hoverStyle=n.getModel("itemStyle.normal").getItemStyle();var s=f.getName(i)||"",c=a||e.style.fill;o.getShallow("show")?(h.setText(e.style,o,c),e.style.text=l.retrieve(t.getFormattedLabel(i,"normal"),s)):e.style.text="",r.getShallow("show")?(h.setText(e.hoverStyle,r,c),e.hoverStyle.text=l.retrieve(t.getFormattedLabel(i,"emphasis"),s)):e.hoverStyle.text="",h.setHoverStyle(e,{}),e.dataModel=t}),p.__data=f,p.group.silent=t.get("silent")||e.get("silent")}})},function(e,t,i){e.exports=i(83).extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"end"},emphasis:{show:!0}},lineStyle:{normal:{type:"dashed"},emphasis:{width:3}},animationEasing:"linear"}})},function(e,t,i){function n(e){return!isNaN(e)&&!isFinite(e)}function o(e,t,i,o){var r=1-e,a=o.dimensions[e];return n(t[r])&&n(i[r])&&t[e]===i[e]&&o.getAxis(a).containData(t[e])}function r(e,t){if("cartesian2d"===e.type){var i=t[0].coord,n=t[1].coord;if(i&&n&&(o(1,i,n,e)||o(0,i,n,e)))return!0}return h.dataFilter(e,t[0])&&h.dataFilter(e,t[1])}function a(e,t,i,o,r){var a,s=o.coordinateSystem,l=e.getItemModel(t),c=u.parsePercent(l.get("x"),r.getWidth()),h=u.parsePercent(l.get("y"),r.getHeight());if(isNaN(c)||isNaN(h)){if(o.getMarkerPosition)a=o.getMarkerPosition(e.getValues(e.dimensions,t));else{var d=s.dimensions,p=e.get(d[0],t),f=e.get(d[1],t);a=s.dataToPoint([p,f])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y"),d=s.dimensions;n(e.get(d[0],t))?a[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):n(e.get(d[1],t))&&(a[1]=m.toGlobalCoord(m.getExtent()[i?0:1]))}isNaN(c)||(a[0]=c),isNaN(h)||(a[1]=h)}else a=[c,h];e.setItemLayout(t,a)}function s(e,t,i){var n;n=e?l.map(e&&e.dimensions,function(e){var i=t.getData().getDimensionInfo(t.coordDimToDataDim(e)[0])||{};return i.name=e,i}):[{name:"value",type:"float"}];var o=new c(n,i),a=new c(n,i),s=new c([],i),u=l.map(i.get("data"),l.curry(p,t,e,i));e&&(u=l.filter(u,l.curry(r,e)));var d=e?h.dimValueGetter:function(e){return e.value};return o.initData(l.map(u,function(e){return e[0]}),null,d),a.initData(l.map(u,function(e){return e[1]}),null,d),s.initData(l.map(u,function(e){return e[2]})),s.hasItemOption=!0,{from:o,to:a,line:s}}var l=i(0),c=i(11),u=i(3),h=i(85),d=i(76),p=function(e,t,i,n){var o=e.getData(),r=n.type;if(!l.isArray(n)&&("min"===r||"max"===r||"average"===r||null!=n.xAxis||null!=n.yAxis)){var a,s;if(null!=n.yAxis||null!=n.xAxis)a=null!=n.yAxis?"y":"x",t.getAxis(a),s=l.retrieve(n.yAxis,n.xAxis);else{var c=h.getAxisInfo(n,o,t,e);a=c.valueDataDim,c.valueAxis,s=h.numCalculate(o,a,r)}var u="x"===a?0:1,d=1-u,p=l.clone(n),f={};p.type=null,p.coord=[],f.coord=[],p.coord[d]=-(1/0),f.coord[d]=1/0;var g=i.get("precision");g>=0&&"number"==typeof s&&(s=+s.toFixed(g)),p.coord[u]=f.coord[u]=s,n=[p,f,{type:r,valueIndex:n.valueIndex,value:s}]}return n=[h.dataTransform(e,n[0]),h.dataTransform(e,n[1]),l.extend({},n[2])],n[2].type=n[2].type||"",l.merge(n[2],n[0]),l.merge(n[2],n[1]),n};i(84).extend({type:"markLine",updateLayout:function(e,t,i){t.eachSeries(function(e){var t=e.markLineModel;if(t){var n=t.getData(),o=t.__from,r=t.__to;o.each(function(t){a(o,t,!0,e,i),a(r,t,!1,e,i)}),n.each(function(e){n.setItemLayout(e,[o.getItemLayout(e),r.getItemLayout(e)])}),this.markerGroupMap[e.name].updateLayout()}},this)},renderSeries:function(e,t,i,n){function o(t,i,o){var r=t.getItemModel(i);a(t,i,o,e,n),t.setItemVisual(i,{symbolSize:r.get("symbolSize")||x[o?0:1],symbol:r.get("symbol",!0)||y[o?0:1],color:r.get("itemStyle.normal.color")||u.getVisual("color")})}var r=e.coordinateSystem,c=e.name,u=e.getData(),h=this.markerGroupMap,p=h[c];p||(p=h[c]=new d),this.group.add(p.group);var f=s(r,e,t),g=f.from,m=f.to,v=f.line;t.__from=g,t.__to=m,t.setData(v);var y=t.get("symbol"),x=t.get("symbolSize");l.isArray(y)||(y=[y,y]),"number"==typeof x&&(x=[x,x]),f.from.each(function(e){o(g,e,!0),o(m,e,!1)}),v.each(function(e){var t=v.getItemModel(e).get("lineStyle.normal.color");v.setItemVisual(e,{color:t||g.getItemVisual(e,"color")}),v.setItemLayout(e,[g.getItemLayout(e),m.getItemLayout(e)]),v.setItemVisual(e,{fromSymbolSize:g.getItemVisual(e,"symbolSize"),fromSymbol:g.getItemVisual(e,"symbol"),toSymbolSize:m.getItemVisual(e,"symbolSize"),toSymbol:m.getItemVisual(e,"symbol")})}),p.updateData(v),f.line.eachItemGraphicEl(function(e,i){e.traverse(function(e){e.dataModel=t})}),p.__keep=!0,p.group.silent=t.get("silent")||e.get("silent")}})},function(e,t,i){e.exports=i(83).extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{normal:{show:!0,position:"inside"},emphasis:{show:!0}},itemStyle:{normal:{borderWidth:2}}}})},function(e,t,i){function n(e,t,i){var n=t.coordinateSystem;e.each(function(o){var r,a=e.getItemModel(o),l=s.parsePercent(a.get("x"),i.getWidth()),c=s.parsePercent(a.get("y"),i.getHeight());if(isNaN(l)||isNaN(c)){if(t.getMarkerPosition)r=t.getMarkerPosition(e.getValues(e.dimensions,o));else if(n){var u=e.get(n.dimensions[0],o),h=e.get(n.dimensions[1],o);r=n.dataToPoint([u,h])}}else r=[l,c];isNaN(l)||(r[0]=l),isNaN(c)||(r[1]=c),e.setItemLayout(o,r)})}function o(e,t,i){var n;n=e?a.map(e&&e.dimensions,function(e){var i=t.getData().getDimensionInfo(t.coordDimToDataDim(e)[0])||{};return i.name=e,i}):[{name:"value",type:"float"}];var o=new l(n,i),r=a.map(i.get("data"),a.curry(c.dataTransform,t));return e&&(r=a.filter(r,a.curry(c.dataFilter,e))),o.initData(r,null,e?c.dimValueGetter:function(e){return e.value}),o}var r=i(44),a=i(0),s=i(3),l=i(11),c=i(85);i(84).extend({type:"markPoint",updateLayout:function(e,t,i){t.eachSeries(function(e){var t=e.markPointModel;t&&(n(t.getData(),e,i),this.markerGroupMap[e.name].updateLayout(t))},this)},renderSeries:function(e,t,i,a){var s=e.coordinateSystem,l=e.name,c=e.getData(),u=this.markerGroupMap,h=u[l];h||(h=u[l]=new r);var d=o(s,e,t);t.setData(d),n(t.getData(),e,a),d.each(function(e){var i=d.getItemModel(e),n=i.getShallow("symbolSize");"function"==typeof n&&(n=n(t.getRawValue(e),t.getDataParams(e))),d.setItemVisual(e,{symbolSize:n,color:i.get("itemStyle.normal.color")||c.getVisual("color"),symbol:i.getShallow("symbol")})}),h.updateData(d),this.group.add(h.group),d.eachItemGraphicEl(function(e){e.traverse(function(e){e.dataModel=t})}),h.__keep=!0,h.group.silent=t.get("silent")||e.get("silent")}})},function(e,t,i){i(147),i(337),i(334)},function(e,t,i){"use strict";i(87),i(330),i(384),i(45),i(340),i(1).extendComponentView({type:"polar"})},function(e,t,i){i(436),i(437),i(383)},function(e,t,i){var n=i(33),o=i(0),r=i(2),a=["axisLine","axisLabel","axisTick","axisName"];e.exports=i(1).extendComponentView({type:"radar",render:function(e,t,i){this.group.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,i=t.getIndicatorAxes(),r=o.map(i,function(e){return new n(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});o.each(r,function(e){o.each(a,e.add,e),this.group.add(e.getGroup())},this)},_buildSplitLineAndArea:function(e){function t(e,t,i){var n=i%t.length;return e[n]=e[n]||[],n}var i=e.coordinateSystem,n=i.getIndicatorAxes();if(n.length){var a=e.get("shape"),s=e.getModel("splitLine"),l=e.getModel("splitArea"),c=s.getModel("lineStyle"),u=l.getModel("areaStyle"),h=s.get("show"),d=l.get("show"),p=c.get("color"),f=u.get("color");p=o.isArray(p)?p:[p],f=o.isArray(f)?f:[f];var g=[],m=[];if("circle"===a)for(var v=n[0].getTicksCoords(),y=i.cx,x=i.cy,b=0;b<v.length;b++){if(h){var _=t(g,p,b);g[_].push(new r.Circle({shape:{cx:y,cy:x,r:v[b]}}))}if(d&&b<v.length-1){var _=t(m,f,b);m[_].push(new r.Ring({shape:{cx:y,cy:x,r0:v[b],r:v[b+1]}}))}}else for(var w=-1,S=o.map(n,function(e,t){var n=e.getTicksCoords();return w=Math.max(n.length-1,w),o.map(n,function(e){return i.coordToPoint(e,t)})}),A=[],b=0;b<=w;b++){for(var M=[],k=0;k<n.length;k++)M.push(S[k][b]);if(M[0]?M.push(M[0].slice()):__DEV__&&console.error("Can't draw value axis "+b),h){var _=t(g,p,b);g[_].push(new r.Polyline({shape:{points:M}}))}if(d&&A){var _=t(m,f,b-1);m[_].push(new r.Polygon({shape:{points:M.concat(A)}}))}A=M.slice().reverse()}var T=c.getLineStyle(),I=u.getAreaStyle();o.each(m,function(e,t){this.group.add(r.mergePath(e,{style:o.defaults({stroke:"none",fill:f[t%f.length]},I),silent:!0}))},this),o.each(g,function(e,t){this.group.add(r.mergePath(e,{style:o.defaults({fill:"none",stroke:p[t%p.length]},T),silent:!0}))},this)}}})},function(e,t,i){i(87),i(335)},function(e,t,i){i(1).registerPreprocessor(i(391)),i(393),i(392),i(386),i(387)},function(e,t,i){var n=i(389),o=i(0),r=i(5),a=n.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",normal:{show:!0,interval:"auto",rotate:0,textStyle:{color:"#304654"}},emphasis:{show:!0,textStyle:{color:"#c23531"}}},itemStyle:{normal:{color:"#304654",borderWidth:1},emphasis:{color:"#c23531"}},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",normal:{color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});o.mixin(a,r.dataFormatMixin),e.exports=a},function(e,t,i){function n(e,t){return c.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function o(e,t,i,n){return l.makePath(e.get(t).replace(/^path:\/\//,""),s.clone(n||{}),new f(i[0],i[1],i[2],i[3]),"center")}function r(e,t,i,n,o,r){var a=t.get("color");if(o)o.setColor(a),i.add(o),r&&r.onUpdate(o);else{var l=e.get("symbol");o=d.createSymbol(l,-1,-1,2,2,a),o.setStyle("strokeNoScale",!0),i.add(o),r&&r.onCreate(o)}var c=t.getItemStyle(["color","symbol","symbolSize"]);o.setStyle(c),n=s.merge({rectHover:!0,z2:100},n,!0);var u=e.get("symbolSize");u=u instanceof Array?u.slice():[+u,+u],u[0]/=2,u[1]/=2,n.scale=u;var h=e.get("symbolOffset");if(h){var p=n.position=n.position||[0,0];p[0]+=m.parsePercent(h[0],u[0]),p[1]+=m.parsePercent(h[1],u[1])}var f=e.get("symbolRotate");return n.rotation=(f||0)*Math.PI/180||0,o.attr(n),o.updateTransform(),o}function a(e,t,i,n,o){if(!e.dragging){var r=n.getModel("checkpointStyle"),a=i.dataToCoord(n.getData().get(["value"],t));o||!r.get("animation",!0)?e.attr({position:[a,0]}):(e.stopAnimation(!0),e.animateTo({position:[a,0]},r.get("animationDuration",!0),r.get("animationEasing",!0)))}}var s=i(0),l=i(2),c=i(7),u=i(390),h=i(388),d=i(20),p=i(18),f=i(10),g=i(21),m=i(3),v=i(4),y=v.encodeHTML,x=s.bind,b=s.each,_=Math.PI;e.exports=u.extend({type:"timeline.slider",init:function(e,t){this.api=t,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,i,n){if(this.model=e,this.api=i,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var o=this._layout(e,i),r=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),s=this._axis=this._createAxis(o,e);e.formatTooltip=function(e){return y(s.scale.getLabel(e))},b(["AxisLine","AxisTick","Control","CurrentPointer"],function(t){this["_render"+t](o,r,s,e)},this),this._renderAxisLabel(o,a,s,e),this._position(o,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(e,t){var i=e.get("label.normal.position"),o=e.get("orient"),r=n(e,t);null==i||"auto"===i?i="horizontal"===o?r.y+r.height/2<t.getHeight()/2?"-":"+":r.x+r.width/2<t.getWidth()/2?"+":"-":isNaN(i)&&(i={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[o][i]);var a={horizontal:"center",vertical:i>=0||"+"===i?"left":"right"},s={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},l={horizontal:0,vertical:_/2},c="vertical"===o?r.height:r.width,u=e.getModel("controlStyle"),h=u.get("show"),d=h?u.get("itemSize"):0,p=h?u.get("itemGap"):0,f=d+p,g=e.get("label.normal.rotate")||0;g=g*_/180;var m,v,y,x,b=u.get("position",!0),h=u.get("show",!0),w=h&&u.get("showPlayBtn",!0),S=h&&u.get("showPrevBtn",!0),A=h&&u.get("showNextBtn",!0),M=0,k=c;return"left"===b||"bottom"===b?(w&&(m=[0,0],M+=f),S&&(v=[M,0],M+=f),A&&(y=[k-d,0],k-=f)):(w&&(m=[k-d,0],k-=f),S&&(v=[0,0],M+=f),A&&(y=[k-d,0],k-=f)),x=[M,k],e.get("inverse")&&x.reverse(),{viewRect:r,mainLength:c,orient:o,rotation:l[o],labelRotation:g,labelPosOpt:i,labelAlign:a[o],labelBaseline:s[o],playPosition:m,prevBtnPosition:v,nextBtnPosition:y,axisExtent:x,controlSize:d,controlGap:p}},_position:function(e,t){function i(e){var t=e.position;e.origin=[h[0][0]-t[0],h[1][0]-t[1]]}function n(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function o(e,t,i,n,o){e[n]+=i[n][o]-t[n][o]}var r=this._mainGroup,a=this._labelGroup,s=e.viewRect;if("vertical"===e.orient){var l=g.create(),c=s.x,u=s.y+s.height;g.translate(l,l,[-c,-u]),g.rotate(l,l,-_/2),g.translate(l,l,[c,u]),s=s.clone(),s.applyTransform(l)}var h=n(s),d=n(r.getBoundingRect()),p=n(a.getBoundingRect()),f=r.position,m=a.position;m[0]=f[0]=h[0][0];var v=e.labelPosOpt;if(isNaN(v)){var y="+"===v?0:1;o(f,d,h,1,y),o(m,p,h,1,1-y)}else{var y=v>=0?0:1;o(f,d,h,1,y),m[1]=f[1]+v}r.attr("position",f),a.attr("position",m),r.rotation=a.rotation=e.rotation,i(r),i(a)},_createAxis:function(e,t){var i=t.getData(),n=t.get("axisType"),o=p.createScaleByModel(t,n),r=i.getDataExtent("value");o.setExtent(r[0],r[1]),this._customizeScale(o,i),o.niceTicks();var a=new h("value",o,e.axisExtent,n);return a.model=t,a},_customizeScale:function(e,t){e.getTicks=function(){return t.mapArray(["value"],function(e){return e})},e.getTicksLabels=function(){return s.map(this.getTicks(),e.getLabel,e)}},_createGroup:function(e){var t=this["_"+e]=new l.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,i,n){var o=i.getExtent();n.get("lineStyle.show")&&t.add(new l.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:s.extend({lineCap:"round"},n.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,i,n){var o=n.getData(),a=i.scale.getTicks();b(a,function(e,a){var s=i.dataToCoord(e),c=o.getItemModel(a),u=c.getModel("itemStyle.normal"),h=c.getModel("itemStyle.emphasis"),d={position:[s,0],onclick:x(this._changeTimeline,this,a)},p=r(c,u,t,d);l.setHoverStyle(p,h.getItemStyle()),c.get("tooltip")?(p.dataIndex=a,p.dataModel=n):p.dataIndex=p.dataModel=null},this)},_renderAxisLabel:function(e,t,i,n){var o=n.getModel("label.normal");if(o.get("show")){var r=n.getData(),a=i.scale.getTicks(),s=p.getFormattedLabels(i,o.get("formatter")),c=i.getLabelInterval();b(a,function(n,o){if(!i.isLabelIgnored(o,c)){var a=r.getItemModel(o),u=a.getModel("label.normal.textStyle"),h=a.getModel("label.emphasis.textStyle"),d=i.dataToCoord(n),p=new l.Text({style:{text:s[o],textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline,textFont:u.getFont(),fill:u.getTextColor()},position:[d,0],rotation:e.labelRotation-e.rotation,onclick:x(this._changeTimeline,this,o),silent:!1});t.add(p),l.setHoverStyle(p,h.getItemStyle())}},this)}},_renderControl:function(e,t,i,n){function r(e,i,r,d){if(e){var p={position:e,origin:[a/2,0],rotation:d?-s:0,rectHover:!0,style:c,onclick:r},f=o(n,i,h,p);t.add(f),l.setHoverStyle(f,u)}}var a=e.controlSize,s=e.rotation,c=n.getModel("controlStyle.normal").getItemStyle(),u=n.getModel("controlStyle.emphasis").getItemStyle(),h=[0,-a/2,a,a],d=n.getPlayState(),p=n.get("inverse",!0);r(e.nextBtnPosition,"controlStyle.nextIcon",x(this._changeTimeline,this,p?"-":"+")),r(e.prevBtnPosition,"controlStyle.prevIcon",x(this._changeTimeline,this,p?"+":"-")),r(e.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),x(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(e,t,i,n){var o=n.getData(),s=n.getCurrentIndex(),l=o.getItemModel(s).getModel("checkpointStyle"),c=this,u={onCreate:function(e){e.draggable=!0,e.drift=x(c._handlePointerDrag,c),e.ondragend=x(c._handlePointerDragend,c),a(e,s,i,n,!0)},onUpdate:function(e){a(e,s,i,n)}};this._currentPointer=r(l,l,this._mainGroup,{},this._currentPointer,u)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var i=this._toAxisCoord(e)[0],n=this._axis,o=m.asc(n.getExtent().slice());i>o[1]&&(i=o[1]),i<o[0]&&(i=o[0]),this._currentPointer.position[0]=i,this._currentPointer.dirty();var r=this._findNearestTick(i),a=this.model;(t||r!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(r)},_doPlayStop:function(){function e(){var e=this.model;this._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(x(e,this),this.model.get("playInterval")))},_toAxisCoord:function(e){var t=this._mainGroup.getLocalTransform();return l.applyTransform(e,t,!0)},_findNearestTick:function(e){var t,i=this.model.getData(),n=1/0,o=this._axis;return i.each(["value"],function(i,r){var a=o.dataToCoord(i),s=Math.abs(a-e);s<n&&(n=s,t=r)}),t},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})}})},function(e,t,i){var n=i(0),o=i(29),r=i(18),a=function(e,t,i,n){o.call(this,e,t,i),this.type=n||"value",this._autoLabelInterval,this.model=null};a.prototype={constructor:a,getLabelInterval:function(){var e=this.model,t=e.getModel("label.normal"),i=t.get("interval");if(null!=i&&"auto"!=i)return i;var i=this._autoLabelInterval;return i||(i=this._autoLabelInterval=r.getAxisLabelInterval(n.map(this.scale.getTicks(),this.dataToCoord,this),r.getFormattedLabels(this,t.get("formatter")),t.getModel("textStyle").getFont(),"horizontal"===e.get("orient"))),i},isLabelIgnored:function(e){if("category"===this.type){var t=this.getLabelInterval();return"function"==typeof t&&!t(e,this.scale.getLabel(e))||e%(t+1)}}},n.inherits(a,o),e.exports=a},function(e,t,i){var n=i(12),o=i(11),r=i(0),a=i(5),s=n.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{normal:{},emphasis:{}},label:{normal:{textStyle:{color:"#000"}},emphasis:{}},data:[]},init:function(e,t,i){this._data,this._names,this.mergeDefaultAndTheme(e,i),this._initData()},mergeOption:function(e){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],i=e.axisType,n=this._names=[];if("category"===i){var s=[];r.each(t,function(e,t){var i,o=a.getDataItemValue(e);r.isObject(e)?(i=r.clone(e),i.value=t):i=t,s.push(i),r.isString(o)||null!=o&&!isNaN(o)||(o=""),n.push(o+"")}),t=s}var l={category:"ordinal",time:"time"}[i]||"number";(this._data=new o([{name:"value",type:l}],this)).initData(t,n)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});e.exports=s},function(e,t,i){var n=i(90);e.exports=n.extend({type:"timeline"})},function(e,t,i){function n(e){var t=e.type,i={number:"value",time:"time"};if(i[t]&&(e.axisType=i[t],delete e.type),o(e),r(e,"controlPosition")){var n=e.controlStyle||(e.controlStyle={});r(n,"position")||(n.position=e.controlPosition),"none"!==n.position||r(n,"show")||(n.show=!1,delete n.position),delete e.controlPosition}a.each(e.data||[],function(e){a.isObject(e)&&!a.isArray(e)&&(!r(e,"value")&&r(e,"name")&&(e.value=e.name),o(e))})}function o(e){var t=e.itemStyle||(e.itemStyle={}),i=t.emphasis||(t.emphasis={}),n=e.label||e.label||{},o=n.normal||(n.normal={}),s={normal:1,emphasis:1};a.each(n,function(e,t){s[t]||r(o,t)||(o[t]=e)}),i.label&&!r(n,"emphasis")&&(n.emphasis=i.label,delete i.label)}function r(e,t){return e.hasOwnProperty(t)}var a=i(0);e.exports=function(e){var t=e&&e.timeline;a.isArray(t)||(t=t?[t]:[]),a.each(t,function(e){e&&n(e)})}},function(e,t,i){var n=i(1),o=i(0);n.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(e,t){var i=t.getComponent("timeline");return i&&null!=e.currentIndex&&(i.setCurrentIndex(e.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),t.resetOption("timeline"),o.defaults({currentIndex:i.option.currentIndex},e)}),n.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(e,t){var i=t.getComponent("timeline");i&&null!=e.playState&&i.setPlayState(e.playState)})},function(e,t,i){i(12).registerSubTypeDefaulter("timeline",function(){return"slider"})},function(e,t,i){i(395),i(396),i(402),i(400),i(398),i(399),i(401)},function(e,t,i){var n=i(28),o=i(0),r=i(1).extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},mergeDefaultAndTheme:function(e){r.superApply(this,"mergeDefaultAndTheme",arguments),o.each(this.option.feature,function(e,t){var i=n.get(t);i&&o.merge(e,i.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"}}}});e.exports=r},function(e,t,i){(function(t){function n(e){return 0===e.indexOf("my")}var o=i(28),r=i(0),a=i(2),s=i(9),l=i(49),c=i(130),u=i(25);e.exports=i(1).extendComponentView({type:"toolbox",render:function(e,t,i,h){function d(r,a){var l,c=y[r],u=y[a],d=m[c],f=new s(d,e,e.ecModel);if(c&&!u){if(n(c))l={model:f,onclick:f.option.onclick,featureName:c};else{var g=o.get(c);if(!g)return;l=new g(f,t,i)}v[c]=l}else{if(!(l=v[u]))return;l.model=f,l.ecModel=t,l.api=i}return!c&&u?void(l.dispose&&l.dispose(t,i)):!f.get("show")||l.unusable?void(l.remove&&l.remove(t,i)):(p(f,l,c),f.setIconStatus=function(e,t){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[e]=t,n[e]&&n[e].trigger(t)},void(l.render&&l.render(f,t,i,h)))}function p(n,o,s){var l=n.getModel("iconStyle"),c=o.getIcons?o.getIcons():n.get("icon"),u=n.get("title")||{};if("string"==typeof c){var h=c,d=u;c={},u={},c[s]=h,u[s]=d}var p=n.iconPaths={};r.each(c,function(s,c){var h=l.getModel("normal").getItemStyle(),d=l.getModel("emphasis").getItemStyle(),m={x:-g/2,y:-g/2,width:g,height:g},v=0===s.indexOf("image://")?(m.image=s.slice(8),new a.Image({style:m})):a.makePath(s.replace("path://",""),{style:h,hoverStyle:d,rectHover:!0},m,"center");a.setHoverStyle(v),e.get("showTitle")&&(v.__title=u[c],v.on("mouseover",function(){var e=l.getModel("emphasis").getItemStyle();v.setStyle({text:u[c],textPosition:e.textPosition||"bottom",textFill:e.fill||e.stroke||"#000",textAlign:e.textAlign||"center"})}).on("mouseout",function(){v.setStyle({textFill:null})})),v.trigger(n.get("iconStatus."+c)||"normal"),f.add(v),v.on("click",r.bind(o.onclick,o,t,i,c)),p[c]=v})}var f=this.group;if(f.removeAll(),e.get("show")){var g=+e.get("itemSize"),m=e.get("feature")||{},v=this._features||(this._features={}),y=[];r.each(m,function(e,t){y.push(t)}),new l(this._featureNames||[],y).add(d).update(d).remove(r.curry(d,null)).execute(),this._featureNames=y,c.layout(f,e,i),c.addBackground(f,e),f.eachChild(function(e){var t=e.__title,n=e.hoverStyle;if(n&&t){var o=u.getBoundingRect(t,n.font),r=e.position[0]+f.position[0],a=e.position[1]+f.position[1]+g,s=!1;a+o.height>i.getHeight()&&(n.textPosition="top",s=!0);var l=s?-5-o.height:g+8;r+o.width/2>i.getWidth()?(n.textPosition=["100%",l],n.textAlign="right"):r-o.width/2<0&&(n.textPosition=[0,l],n.textAlign="left")}})}},updateView:function(e,t,i,n){r.each(this._features,function(e){e.updateView&&e.updateView(e.model,t,i,n)})},updateLayout:function(e,t,i,n){r.each(this._features,function(e){e.updateLayout&&e.updateLayout(e.model,t,i,n)})},remove:function(e,t){r.each(this._features,function(i){i.remove&&i.remove(e,t)}),this.group.removeAll()},dispose:function(e,t){r.each(this._features,function(i){i.dispose&&i.dispose(e,t)})}})}).call(t,i(159))},function(e,t,i){"use strict";function n(e,t,i){this.model=e,this.ecModel=t,this.api=i,this._brushType,this._brushMode}var o=i(28),r=i(0);n.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}};var a=n.prototype;a.render=a.updateView=a.updateLayout=function(e,t,i){var n,o,a;t.eachComponent({mainType:"brush"},function(e){n=e.brushType,o=e.brushOption.brushMode||"single",a|=e.areas.length}),this._brushType=n,this._brushMode=o,r.each(e.get("type",!0),function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?a:t===n)?"emphasis":"normal")})},a.getIcons=function(){var e=this.model,t=e.get("icon",!0),i={};return r.each(e.get("type",!0),function(e){t[e]&&(i[e]=t[e])}),i},a.onclick=function(e,t,i){var t=this.api,n=this._brushType,o=this._brushMode;"clear"===i?t.dispatchAction({type:"brush",areas:[]}):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===o?"single":"multiple":o}})},o.register("brush",n),e.exports=n},function(e,t,i){function n(e){var t={},i=[],n=[];return e.eachRawSeries(function(e){var o=e.coordinateSystem;if(!o||"cartesian2d"!==o.type&&"polar"!==o.type)i.push(e);else{var r=o.getBaseAxis();if("category"===r.type){var a=r.dim+"_"+r.index;t[a]||(t[a]={categoryAxis:r,valueAxis:o.getOtherAxis(r),series:[]},n.push({axisDim:r.dim,axisIndex:r.index})),t[a].series.push(e)}else i.push(e)}}),{seriesGroupByCategoryAxis:t,other:i,meta:n}}function o(e){var t=[];return f.each(e,function(e,i){var n=e.categoryAxis,o=e.valueAxis,r=o.dim,a=[" "].concat(f.map(e.series,function(e){return e.name})),s=[n.model.getCategories()];f.each(e.series,function(e){s.push(e.getRawData().mapArray(r,function(e){return e}))});for(var l=[a.join(v)],c=0;c<s[0].length;c++){for(var u=[],h=0;h<s.length;h++)u.push(s[h][c]);l.push(u.join(v))}t.push(l.join("\n"))}),t.join("\n\n"+m+"\n\n")}function r(e){return f.map(e,function(e){var t=e.getRawData(),i=[e.name],n=[];return t.each(t.dimensions,function(){for(var e=arguments.length,o=arguments[e-1],r=t.getName(o),a=0;a<e-1;a++)n[a]=arguments[a];i.push((r?r+v:"")+n.join(v))}),i.join("\n")}).join("\n\n"+m+"\n\n")}function a(e){var t=n(e);return{value:f.filter([o(t.seriesGroupByCategoryAxis),r(t.other)],function(e){return e.replace(/[\n\t\s]/g,"")}).join("\n\n"+m+"\n\n"),meta:t.meta}}function s(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function l(e){if(e.slice(0,e.indexOf("\n")).indexOf(v)>=0)return!0}function c(e){for(var t=e.split(/\n+/g),i=s(t.shift()).split(y),n=[],o=f.map(i,function(e){return{name:e,data:[]}}),r=0;r<t.length;r++){var a=s(t[r]).split(y);n.push(a.shift());for(var l=0;l<a.length;l++)o[l]&&(o[l].data[r]=a[l])}return{series:o,categories:n}}function u(e){for(var t=e.split(/\n+/g),i=s(t.shift()),n=[],o=0;o<t.length;o++){var r,a=s(t[o]).split(y),l="",c=!1;isNaN(a[0])?(c=!0,l=a[0],a=a.slice(1),n[o]={name:l,value:[]},r=n[o].value):r=n[o]=[];for(var u=0;u<a.length;u++)r.push(+a[u]);1===r.length&&(c?n[o].value=r[0]:n[o]=r[0])}return{name:i,data:n}}function h(e,t){var i=e.split(new RegExp("\n*"+m+"\n*","g")),n={series:[]};return f.each(i,function(e,i){if(l(e)){var o=c(e),r=t[i],a=r.axisDim+"Axis";r&&(n[a]=n[a]||[],n[a][r.axisIndex]={data:o.categories},n.series=n.series.concat(o.series))}else{var o=u(e);n.series.push(o)}}),n}function d(e){this._dom=null,this.model=e}function p(e,t){return f.map(e,function(e,i){var n=t&&t[i];return f.isObject(n)&&!f.isArray(n)?(f.isObject(e)&&!f.isArray(e)&&(e=e.value),f.defaults({value:e},n)):e})}var f=i(0),g=i(26),m=new Array(60).join("-"),v="\t",y=new RegExp("["+v+"]+","g");d.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"},d.prototype.onclick=function(e,t){function i(){n.removeChild(r),A._dom=null}var n=t.getDom(),o=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",r.style.backgroundColor=o.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=o.get("lang")||[];s.innerHTML=l[0]||o.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=o.get("textColor");var c=document.createElement("div"),u=document.createElement("textarea");c.style.cssText="display:block;width:100%;overflow:auto;";var d=o.get("optionToContent"),p=o.get("contentToOption"),m=a(e);if("function"==typeof d){var y=d(t.getOption());"string"==typeof y?c.innerHTML=y:f.isDom(y)&&c.appendChild(y)}else c.appendChild(u),u.readOnly=o.get("readOnly"),u.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",u.style.color=o.get("textColor"),u.style.borderColor=o.get("textareaBorderColor"),u.style.backgroundColor=o.get("textareaColor"),u.value=m.value;var x=m.meta,b=document.createElement("div");b.style.cssText="position:absolute;bottom:0;left:0;right:0;";var _="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",w=document.createElement("div"),S=document.createElement("div");_+=";background-color:"+o.get("buttonColor"),_+=";color:"+o.get("buttonTextColor");var A=this;g.addEventListener(w,"click",i),g.addEventListener(S,"click",function(){var e;try{e="function"==typeof p?p(c,t.getOption()):h(u.value,x)}catch(e){throw i(),new Error("Data view format error "+e)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),i()}),w.innerHTML=l[1],S.innerHTML=l[2],S.style.cssText=_,w.style.cssText=_,!o.get("readOnly")&&b.appendChild(S),b.appendChild(w),g.addEventListener(u,"keydown",function(e){if(9===(e.keyCode||e.which)){var t=this.value,i=this.selectionStart,n=this.selectionEnd;this.value=t.substring(0,i)+v+t.substring(n),this.selectionStart=this.selectionEnd=i+1,g.stop(e)}}),r.appendChild(s),r.appendChild(c),r.appendChild(b),c.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},d.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},d.prototype.dispose=function(e,t){this.remove(e,t)},i(28).register("dataView",d),i(1).registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(e,t){var i=[];f.each(e.newOption.series,function(e){var n=t.getSeriesByName(e.name)[0];if(n){var o=n.get("data");i.push({name:e.name,data:p(e.data,o)})}else i.push(f.extend({type:"scatter"},e))}),t.mergeOption(f.defaults({series:i},e.newOption))}),e.exports=d},function(e,t,i){"use strict";function n(e,t,i){(this._brushController=new l(i.getZr())).on("brush",s.bind(this._onBrush,this)).mount(),this._isZoomActive}function o(e){var t={};return s.each(["xAxisIndex","yAxisIndex"],function(i){t[i]=e[i],null==t[i]&&(t[i]="all"),(t[i]===!1||"none"===t[i])&&(t[i]=[])}),t}function r(e,t){e.setIconStatus("back",u.count(t)>1?"emphasis":"normal")}function a(e,t,i,n){var r=i._isZoomActive;n&&"takeGlobalCursor"===n.type&&(r="dataZoomSelect"===n.key&&n.dataZoomSelectActive),i._isZoomActive=r,e.setIconStatus("zoom",r?"emphasis":"normal");var a=new c(o(e.option),t,{include:["grid"]});i._brushController.setPanels(a.makePanelOpts(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"})).enableBrush(!!r&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}var s=i(0),l=i(80),c=i(127),u=i(125),h=s.each;i(361);var d="\0_ec_\0toolbox-dataZoom_";n.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 p=n.prototype;p.render=function(e,t,i,n){this.model=e,this.ecModel=t,this.api=i,a(e,t,this,n),r(e,t)},p.onclick=function(e,t,i){f[i].call(this)},p.remove=function(e,t){this._brushController.unmount()},p.dispose=function(e,t){this._brushController.dispose()};var f={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(u.pop(this.ecModel))}};p._onBrush=function(e,t){function i(e,t,i){var o=n(e,t.getAxis(e).model,a);o&&(r[o.id]={dataZoomId:o.id,startValue:i[0],endValue:i[1]})}function n(e,t,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},function(i){i.getAxisModel(e,t.componentIndex)&&(n=i)}),n}if(t.isEnd&&e.length){var r={},a=this.ecModel;this._brushController.updateCovers([]);new c(o(this.model.option),a,{include:["grid"]}).matchOutputRanges(e,a,function(e,t,n){if("cartesian2d"===n.type){var o=e.brushType;"rect"===o?(i("x",n,t[0]),i("y",n,t[1])):i({lineX:"x",lineY:"y"}[o],n,t)}}),u.push(a,r),this._dispatchZoomAction(r)}},p._dispatchZoomAction=function(e){var t=[];h(e,function(e,i){t.push(s.clone(e))}),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},i(28).register("dataZoom",n),i(1).registerPreprocessor(function(e){function t(e,t){if(t){var o=e+"Index",r=t[o];null==r||"all"==r||s.isArray(r)||(r=r===!1||"none"===r?[]:[r]),i(e,function(t,i){if(null==r||"all"==r||s.indexOf(r,i)!==-1){var a={type:"select",$fromToolbox:!0,id:d+e+i};a[o]=i,n.push(a)}})}}function i(t,i){var n=e[t];s.isArray(n)||(n=n?[n]:[]),h(n,i)}if(e){var n=e.dataZoom||(e.dataZoom=[]);s.isArray(n)||(e.dataZoom=n=[n]);var o=e.toolbox;if(o&&(s.isArray(o)&&(o=o[0]),o&&o.feature)){var r=o.feature.dataZoom;t("xAxis",r),t("yAxis",r)}}}),e.exports=n},function(e,t,i){"use strict";function n(e){this.model=e}var o=i(0);n.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 r=n.prototype;r.getIcons=function(){var e=this.model,t=e.get("icon"),i={};return o.each(e.get("type"),function(e){t[e]&&(i[e]=t[e])}),i};var a={line:function(e,t,i,n){if("bar"===e)return o.merge({id:t,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.line")||{},!0)},bar:function(e,t,i,n){if("line"===e)return o.merge({id:t,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get("option.bar")||{},!0)},stack:function(e,t,i,n){if("line"===e||"bar"===e)return o.merge({id:t,stack:"__ec_magicType_stack__"},n.get("option.stack")||{},!0)},tiled:function(e,t,i,n){if("line"===e||"bar"===e)return o.merge({id:t,stack:""},n.get("option.tiled")||{},!0)}},s=[["line","bar"],["stack","tiled"]];r.onclick=function(e,t,i){var n=this.model,r=n.get("seriesIndex."+i);if(a[i]){var l={series:[]},c=function(t){var r=t.subType,s=t.id,c=a[i](r,s,t,n);c&&(o.defaults(c,t.option),l.series.push(c));var u=t.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===i||"bar"===i)){var h=u.getAxesByScale("ordinal")[0];if(h){var d=h.dim,p=d+"Axis",f=e.queryComponents({mainType:p,index:t.get(name+"Index"),id:t.get(name+"Id")})[0],g=f.componentIndex;l[p]=l[p]||[];for(var m=0;m<=g;m++)l[p][g]=l[p][g]||{};l[p][g].boundaryGap="bar"===i}}};o.each(s,function(e){o.indexOf(e,i)>=0&&o.each(e,function(e){n.setIconStatus(e,"normal")})}),n.setIconStatus(i,"emphasis"),e.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},c),t.dispatchAction({type:"changeMagicType",currentType:i,newOption:l})}},i(1).registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)}),i(28).register("magicType",n),e.exports=n},function(e,t,i){"use strict";function n(e){this.model=e}var o=i(125);n.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:"还原"},n.prototype.onclick=function(e,t,i){o.clear(e),t.dispatchAction({type:"restore",from:this.uid})},i(28).register("restore",n),i(1).registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")}),e.exports=n},function(e,t,i){function n(e){this.model=e}var o=i(13);n.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:["右键另存为图片"]},n.prototype.unusable=!o.canvasSupported,n.prototype.onclick=function(e,t){var i=this.model,n=i.get("name")||e.get("title.0.text")||"echarts",r=document.createElement("a"),a=i.get("type",!0)||"png";r.download=n+"."+a,r.target="_blank";var s=t.getConnectedDataURL({type:a,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if(r.href=s,"function"!=typeof MouseEvent||o.browser.ie||o.browser.edge){var l=i.get("lang"),c='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(l&&l[0]||"")+'" /></body>';window.open().document.write(c)}else{var u=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});r.dispatchEvent(u)}},i(28).register("saveAsImage",n),e.exports=n},function(e,t,i){function n(e){var t="left "+e+"s cubic-bezier(0.23, 1, 0.32, 1),top "+e+"s cubic-bezier(0.23, 1, 0.32, 1)";return s.map(f,function(e){return e+"transition:"+t}).join(";")}function o(e){var t=[],i=e.get("fontSize"),n=e.getTextColor();return n&&t.push("color:"+n),t.push("font:"+e.getFont()),i&&t.push("line-height:"+Math.round(3*i/2)+"px"),h(["decoration","align"],function(i){var n=e.get(i);n&&t.push("text-"+i+":"+n)}),t.join(";")}function r(e){var t=[],i=e.get("transitionDuration"),r=e.get("backgroundColor"),a=e.getModel("textStyle"),s=e.get("padding");return i&&t.push(n(i)),r&&(p.canvasSupported?t.push("background-Color:"+r):(t.push("background-Color:#"+l.toHex(r)),t.push("filter:alpha(opacity=70)"))),h(["width","color","radius"],function(i){var n="border-"+i,o=d(n),r=e.get(o);null!=r&&t.push(n+":"+r+("color"===i?"":"px"))}),t.push(o(a)),null!=s&&t.push("padding:"+u.normalizeCssArray(s).join("px ")+"px"),t.join(";")+";"}function a(e,t){var i=document.createElement("div"),n=this._zr=t.getZr();this.el=i,this._x=t.getWidth()/2,this._y=t.getHeight()/2,e.appendChild(i),this._container=e,this._show=!1,this._hideTimeout;var o=this;i.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!o._enterable){var i=n.handler;c.normalizeEvent(e,t,!0),i.dispatch("mousemove",t)}},i.onmouseleave=function(){o._enterable&&o._show&&o.hideLater(o._hideDelay),o._inContent=!1}}var s=i(0),l=i(27),c=i(26),u=i(4),h=s.each,d=u.toCamelCase,p=i(13),f=["","-webkit-","-moz-","-o-"];a.prototype={constructor:a,_enterable:!0,update:function(){var e=this._container,t=e.currentStyle||document.defaultView.getComputedStyle(e),i=e.style;"absolute"!==i.position&&"absolute"!==t.position&&(i.position="relative")},show:function(e){clearTimeout(this._hideTimeout);var t=this.el;t.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+r(e)+";left:"+this._x+"px;top:"+this._y+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",this._show=!0},setContent:function(e){this.el.innerHTML=e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var i,n=this._zr;n&&n.painter&&(i=n.painter.getViewportRoot())&&(e+=i.offsetLeft||0,t+=i.offsetTop||0);var o=this.el.style;o.left=e+"px",o.top=t+"px",this._x=e,this._y=t},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(s.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show}},e.exports=a},function(e,t,i){i(1).extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:8,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}})},function(e,t,i){function n(e){for(var t=e.pop();e.length;){var i=e.pop();i&&(i instanceof m&&(i=i.get("tooltip",!0)),"string"==typeof i&&(i={formatter:i}),t=new m(i,t,t.ecModel))}return t}function o(e,t){return e.dispatchAction||u.bind(t.dispatchAction,t)}function r(e,t,i,n,o,r,a){var s=i.clientWidth,l=i.clientHeight;return e+s+r>n?e-=s+r:e+=r,t+l+a>o?t-=l+a:t+=a,[e,t]}function a(e,t,i,n,o){var r=i.clientWidth,a=i.clientHeight;return e=Math.min(e+r,n)-r,t=Math.min(t+a,o)-a,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function s(e,t,i){var n=i[0],o=i[1],r=0,a=0,s=t.width,l=t.height;switch(e){case"inside":r=t.x+s/2-n/2,a=t.y+l/2-o/2;break;case"top":r=t.x+s/2-n/2,a=t.y-o-5;break;case"bottom":r=t.x+s/2-n/2,a=t.y+l+5;break;case"left":r=t.x-n-5,a=t.y+l/2-o/2;break;case"right":r=t.x+s+5,a=t.y+l/2-o/2}return[r,a]}function l(e){return"center"===e||"middle"===e}var c=i(403),u=i(0),h=i(4),d=i(3),p=i(121),f=i(7),g=i(13),m=i(9),v=i(122),y=i(18),x=i(57),b=u.bind,_=u.each,w=d.parsePercent;i(1).extendComponentView({type:"tooltip",init:function(e,t){if(!g.node){var i=new c(t.getDom(),t);this._tooltipContent=i}},render:function(e,t,i){if(!g.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=i,this._lastDataByCoordSys,this._alwaysShowContent=e.get("alwaysShowContent");var n=this._tooltipContent;n.update(),n.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel,t=e.get("triggerOn");v.register("itemTooltip",this._api,b(function(e,i,n){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(i,n):"leave"===e&&this._hide(n))},this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){n.manuallyShowTip(e,t,i,{x:n._lastX,y:n._lastY})})}},manuallyShowTip:function(e,t,i,n){if(n.from!==this.uid&&!g.node){var r=o(n,i);this._ticket="";var a=n.seriesIndex;if(n.dataByCoordSys)this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,event:{},dataByCoordSys:n.dataByCoordSys,tooltipOption:n.tooltipOption},r);else if(null!=a){var s=p(n,t),l=s.point[0],c=s.point[1];null!=l&&null!=c&&this._tryShow({offsetX:l,offsetY:c,position:n.position,target:s.el,event:{}},r)}else null!=n.x&&null!=n.y&&this._tryShow({offsetX:n.x,offsetY:n.y,position:n.position,target:i.getZr().handler.findHover(n.x,n.y),event:{}},r)}},manuallyHideTip:function(e,t,i,n){var r=this._tooltipContent;this._alwaysShowContent||r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,n.from!==this.uid&&this._hide(o(n,i))},_tryShow:function(e,t){var i=e.target;if(this._tooltipModel){this._lastX=e.offsetX,this._lastY=e.offsetY;var n=e.dataByCoordSys;n&&n.length?this._showAxisTooltip(n,e):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,i,t)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,i,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var i=e.get("showDelay");t=u.bind(t,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(t,i):t()},_showAxisTooltip:function(e,t){var i=this._ecModel,o=this._tooltipModel,r=[t.offsetX,t.offsetY],a=[],s=[],l=n([t.tooltipOption,o]);_(e,function(e){_(e.dataByAxis,function(e){var t=i.getComponent(e.axisDim+"Axis",e.axisIndex),n=e.value,o=[];if(t&&null!=n){var r=x.getValueLabel(n,t.axis,i,e.seriesDataIndices,e.valueLabelOpt);u.each(e.seriesDataIndices,function(a){var l=i.getSeriesByIndex(a.seriesIndex),c=a.dataIndexInside,u=l&&l.getDataParams(c);u.axisDim=e.axisDim,u.axisIndex=e.axisIndex,u.axisType=e.axisType,u.axisId=e.axisId,u.axisValue=y.getAxisRawValue(t.axis,n),u.axisValueLabel=r,u&&(s.push(u),o.push(l.formatTooltip(c,!0)))});var l=r;a.push((l?h.encodeHTML(l)+"<br />":"")+o.join("<br />"))}})},this),a.reverse(),a=a.join("<br /><br />");var c=t.position;this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(l,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(l,a,s,Math.random(),r[0],r[1],c)})},_showSeriesItemTooltip:function(e,t,i){var o=this._ecModel,r=t.seriesIndex,a=o.getSeriesByIndex(r),s=t.dataModel||a,l=t.dataIndex,c=t.dataType,u=s.getData(),h=n([u.getItemModel(l),s,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),d=h.get("trigger");if(null==d||"item"===d){var p=s.getDataParams(l,c),f=s.formatTooltip(l,!1,c),g="item_"+s.name+"_"+l;this._showOrMove(h,function(){this._showTooltipContent(h,f,p,g,e.offsetX,e.offsetY,e.position,e.target)}),i({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(e,t,i){var n=t.tooltip;if("string"==typeof n){var o=n;n={content:o,formatter:o}}var r=new m(n,this._tooltipModel,this._ecModel),a=r.get("content"),s=Math.random();this._showOrMove(r,function(){this._showTooltipContent(r,a,r.get("formatterParams")||{},s,e.offsetX,e.offsetY,e.position,t)}),i({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,i,n,o,r,a,s){if(this._ticket="",e.get("showContent")&&e.get("show")){var l=this._tooltipContent,c=e.get("formatter");a=a||e.get("position");var u=t;if(c&&"string"==typeof c)u=h.formatTpl(c,i,!0);else if("function"==typeof c){var d=b(function(t,n){t===this._ticket&&(l.setContent(n),this._updatePosition(e,a,o,r,l,i,s))},this);this._ticket=n,u=c(i,n,d)}l.setContent(u),l.show(e),this._updatePosition(e,a,o,r,l,i,s)}},_updatePosition:function(e,t,i,n,o,c,h){var d=this._api.getWidth(),p=this._api.getHeight();t=t||e.get("position");var g=o.getSize(),m=e.get("align"),v=e.get("verticalAlign"),y=h&&h.getBoundingRect().clone();if(h&&y.applyTransform(h.transform),"function"==typeof t&&(t=t([i,n],c,o.el,y,{viewSize:[d,p],contentSize:g.slice()})),u.isArray(t))i=w(t[0],d),n=w(t[1],p);else if(u.isObject(t)){t.width=g[0],t.height=g[1];var x=f.getLayoutRect(t,{width:d,height:p});i=x.x,n=x.y,m=null,v=null}else if("string"==typeof t&&h){var b=s(t,y,g);i=b[0],n=b[1]}else{var b=r(i,n,o.el,d,p,m?0:20,v?0:20);i=b[0],n=b[1]}if(m&&(i-=l(m)?g[0]/2:"right"===m?g[0]:0),v&&(n-=l(v)?g[1]/2:"bottom"===v?g[1]:0),e.get("confine")){var b=a(i,n,o.el,d,p);i=b[0],n=b[1]}o.moveTo(i,n)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,i=!!t&&t.length===e.length;return _(t,function(t,n){var o=t.dataByAxis||{},r=e[n]||{},a=r.dataByAxis||[];i&=o.length===a.length,_(o,function(e,t){var n=a[t]||{},o=e.seriesDataIndices||[],r=n.seriesDataIndices||[];i&=e.value===n.value&&e.axisType===n.axisType&&e.axisId===n.axisId&&o.length===r.length,_(o,function(e,t){var n=r[t];i&=e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex})})}),this._lastDataByCoordSys=e,!!i},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){g.node||(this._tooltipContent.hide(),v.unregister("itemTooltip",t))}})},function(e,t,i){i(411),i(412)},function(e,t,i){function n(e,t,i){if(i[0]===i[1])return i.slice();for(var n=(i[1]-i[0])/200,o=i[0],r=[],a=0;a<=200&&o<i[1];a++)r.push(o),o+=n;return r.push(i[1]),r}var o=i(135),r=i(0),a=i(3),s=[20,140],l=o.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:!0},optionUpdated:function(e,t){l.superApply(this,"optionUpdated",arguments),this.resetTargetSeries(),this.resetExtent(),this.resetVisual(function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){l.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=s[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=s[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):r.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){o.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)},this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=a.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},getValueState:function(e){var t=this.option.range,i=this.getExtent();return(t[0]<=i[0]||t[0]<=e)&&(t[1]>=i[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries(function(i){var n=[],o=i.getData();o.each(this.getDataDimension(o),function(t,i){e[0]<=t&&t<=e[1]&&n.push(i)},!0,this),t.push({seriesId:i.id,dataIndex:n})},this),t},getVisualMeta:function(e){function t(t,i){r.push({value:t,color:e(t,i)})}for(var i=n(this,"outOfRange",this.getExtent()),o=n(this,"inRange",this.option.range.slice()),r=[],a=0,s=0,l=o.length,c=i.length;s<c&&(!o.length||i[s]<=o[0]);s++)i[s]<o[a]&&t(i[s],"outOfRange");for(var u=1;a<l;a++,u=0)u&&r.length&&t(o[a],"outOfRange"),t(o[a],"inRange");for(var u=1;s<c;s++)(!o.length||o[o.length-1]<i[s])&&(u&&(r.length&&t(r[r.length-1].value,"outOfRange"),u=0),t(i[s],"outOfRange"));var h=r.length;return{stops:r,outerColors:[h?r[0].color:"transparent",h?r[h-1].color:"transparent"]}}});e.exports=l},function(e,t,i){function n(e,t,i,n){return new c.Polygon({shape:{points:e},draggable:!!i,cursor:t,drift:i,onmousemove:function(e){m.stop(e.event)},ondragend:n})}function o(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}function r(e,t,i,n){return e?[[0,-x(t,b(i,0))],[w,0],[0,x(t,b(n-i,0))]]:[[0,0],[5,-5],[5,5]]}function a(e,t,i){var n=_/2,o=e.get("hoverLinkDataSize");return o&&(n=v(o,t,i,!0)/2),n}function s(e){return!e.get("realtime")&&e.get("hoverLinkOnHandle")}var l=i(136),c=i(2),u=i(0),h=i(3),d=i(82),p=i(172),f=i(137),g=i(5),m=i(26),v=h.linearMap,y=u.each,x=Math.min,b=Math.max,_=12,w=6,S=l.extend({type:"visualMap.continuous",init:function(){S.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(e,t,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var i=e.get("text");this._renderEndsText(t,i,0),this._renderEndsText(t,i,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},_renderEndsText:function(e,t,i){if(t){var n=t[1-i];n=null!=n?n+"":"";var o=this.visualMapModel,r=o.get("textGap"),a=o.itemSize,s=this._shapes.barGroup,l=this._applyTransform([a[0]/2,0===i?-r:a[1]+r],s),u=this._applyTransform(0===i?"bottom":"top",s),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new c.Text({style:{x:l[0],y:l[1],textVerticalAlign:"horizontal"===h?"middle":u,textAlign:"horizontal"===h?u:"center",text:n,textFont:d.getFont(),fill:d.getTextColor()}}))}},_renderBar:function(e){var t=this.visualMapModel,i=this._shapes,o=t.itemSize,r=this._orient,a=this._useHandle,s=f.getItemAlign(t,this.api,o),l=i.barGroup=this._createBarGroup(s);l.add(i.outOfRange=n()),l.add(i.inRange=n(null,a?"move":null,u.bind(this._dragHandle,this,"all",!1),u.bind(this._dragHandle,this,"all",!0)));var c=t.textStyleModel.getTextRect("国"),h=b(c.width,c.height);a&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(l,0,o,h,r,s),this._createHandle(l,1,o,h,r,s)),this._createIndicator(l,o,h,r),e.add(l)},_createHandle:function(e,t,i,r,a){var s=u.bind(this._dragHandle,this,t,!1),l=u.bind(this._dragHandle,this,t,!0),h=n(o(t,r),"move",s,l);h.position[0]=i[0],e.add(h);var d=this.visualMapModel.textStyleModel,p=new c.Text({draggable:!0,drift:s,onmousemove:function(e){m.stop(e.event)},ondragend:l,style:{x:0,y:0,text:"",textFont:d.getFont(),fill:d.getTextColor()}});this.group.add(p);var f=["horizontal"===a?r/2:1.5*r,"horizontal"===a?0===t?-(1.5*r):1.5*r:0===t?-r/2:r/2],g=this._shapes;g.handleThumbs[t]=h,g.handleLabelPoints[t]=f,g.handleLabels[t]=p},_createIndicator:function(e,t,i,o){var r=n([[0,0]],"move");r.position[0]=t[0],r.attr({invisible:!0,silent:!0}),e.add(r);var a=this.visualMapModel.textStyleModel,s=new c.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:a.getFont(),fill:a.getTextColor()}});this.group.add(s);var l=["horizontal"===o?i/2:w+3,0],u=this._shapes;u.indicator=r,u.indicatorLabel=s,u.indicatorLabelPoint=l},_dragHandle:function(e,t,i,n){if(this._useHandle){if(this._dragging=!t,!t){var o=this._applyTransform([i,n],this._shapes.barGroup,!0);this._updateInterval(e,o[1]),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():s(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},_resetInterval:function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),i=e.getExtent(),n=[0,e.itemSize[1]];this._handleEnds=[v(t[0],i,n,!0),v(t[1],i,n,!0)]},_updateInterval:function(e,t){t=t||0;var i=this.visualMapModel,n=this._handleEnds;d(t,n,[0,i.itemSize[1]],"all"===e?"rigid":"push",e);var o=i.getExtent(),r=[0,i.itemSize[1]];this._dataInterval=[v(n[0],r,o,!0),v(n[1],r,o,!0)]},_updateView:function(e){var t=this.visualMapModel,i=t.getExtent(),n=this._shapes,o=[0,t.itemSize[1]],r=e?o:this._handleEnds,a=this._createBarVisual(this._dataInterval,i,r,"inRange"),s=this._createBarVisual(i,i,o,"outOfRange");n.inRange.setStyle({fill:a.barColor,opacity:a.opacity}).setShape("points",a.barPoints),n.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(r,a)},_createBarVisual:function(e,t,i,n){var o={forceState:n,convertOpacityToAlpha:!0},r=this._makeColorGradient(e,o),a=[this.getControllerVisual(e[0],"symbolSize",o),this.getControllerVisual(e[1],"symbolSize",o)],s=this._createBarPoints(i,a);return{barColor:new p(0,0,0,1,r),barPoints:s,handlesColor:[r[0].color,r[r.length-1].color]}},_makeColorGradient:function(e,t){var i=[],n=(e[1]-e[0])/100;i.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var o=1;o<100;o++){var r=e[0]+n*o;if(r>e[1])break;i.push({color:this.getControllerVisual(r,"color",t),offset:o/100})}return i.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),i},_createBarPoints:function(e,t){var i=this.visualMapModel.itemSize;return[[i[0]-t[0],e[0]],[i[0],e[0]],[i[0],e[1]],[i[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,i=this.visualMapModel.get("inverse");return new c.Group("horizontal"!==t||i?"horizontal"===t&&i?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||i?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,o=i.handleThumbs,r=i.handleLabels;y([0,1],function(a){var s=o[a];s.setStyle("fill",t.handlesColor[a]),s.position[1]=e[a];var l=c.applyTransform(i.handleLabelPoints[a],c.getTransform(s,this.group));r[a].setStyle({x:l[0],y:l[1],text:n.formatValueText(this._dataInterval[a]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===a?"bottom":"top":"left",i.barGroup)})},this)}},_showIndicator:function(e,t,i,n){var o=this.visualMapModel,a=o.getExtent(),s=o.itemSize,l=[0,s[1]],u=v(e,a,l,!0),h=this._shapes,d=h.indicator;if(d){d.position[1]=u,d.attr("invisible",!1),d.setShape("points",r(!!i,n,u,s[1]));var p={convertOpacityToAlpha:!0},f=this.getControllerVisual(e,"color",p);d.setStyle("fill",f);var g=c.applyTransform(h.indicatorLabelPoint,c.getTransform(d,this.group)),m=h.indicatorLabel;m.attr("invisible",!1);var y=this._applyTransform("left",h.barGroup),x=this._orient;m.setStyle({text:(i?i:"")+o.formatValueText(t),textVerticalAlign:"horizontal"===x?y:"middle",textAlign:"horizontal"===x?"center":y,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",function(t){if(e._hovering=!0,!e._dragging){var i=e.visualMapModel.itemSize,n=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);n[1]=x(b(0,n[1]),i[1]),e._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}}).on("mouseout",function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var o=[0,n[1]],r=i.getExtent();e=x(b(o[0],e),o[1]);var l=a(i,r,o),c=[e-l,e+l],u=v(e,o,r,!0),h=[v(c[0],o,r,!0),v(c[1],o,r,!0)];c[0]<o[0]&&(h[0]=-(1/0)),c[1]>o[1]&&(h[1]=1/0),t&&(h[0]===-(1/0)?this._showIndicator(u,h[1],"< ",l):h[1]===1/0?this._showIndicator(u,h[0],"> ",l):this._showIndicator(u,u,"≈ ",l));var d=this._hoverLinkDataIndices,p=[];(t||s(i))&&(p=this._hoverLinkDataIndices=i.findTargetDataIndices(h));var m=g.compressBatches(d,p);this._dispatchHighDown("downplay",f.convertDataIndex(m[0])),this._dispatchHighDown("highlight",f.convertDataIndex(m[1]))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,i=this.visualMapModel;if(t&&null!=t.dataIndex){var n=this.ecModel.getSeriesByIndex(t.seriesIndex);if(i.isTargetSeries(n)){var o=n.getData(t.dataType),r=o.getDimension(i.getDataDimension(o)),a=o.get(r,t.dataIndex,!0);isNaN(a)||this._showIndicator(a,a)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",f.convertDataIndex(e)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,i,n){var o=c.getTransform(t,n?null:this.group);return c[u.isArray(e)?"applyTransform":"transformDirection"](e,o,i)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});e.exports=S},function(e,t,i){function n(e,t){var i=e.inverse;("vertical"===e.orient?!i:i)&&t.reverse()}var o=i(135),r=i(0),a=i(35),s=i(152),l=i(3).reformIntervals,c=o.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(e,t){c.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetTargetSeries(),this.resetExtent();var i=this._mode=this._determineMode();u[this._mode].call(this),this._resetSelected(e,t);var n=this.option.categories;this.resetVisual(function(e,t){"categories"===i?(e.mappingMethod="category",e.categories=r.clone(n)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=r.map(this._pieceList,function(e){var e=r.clone(e);return"inRange"!==t&&(e.visual=null),e}))})},completeVisualOption:function(){function e(e,t,i){return e&&e[t]&&(r.isObject(e[t])?e[t].hasOwnProperty(i):e[t]===i)}var t=this.option,i={},n=a.listVisualTypes(),l=this.isCategory();r.each(t.pieces,function(e){r.each(n,function(t){e.hasOwnProperty(t)&&(i[t]=1)})}),r.each(i,function(i,n){var o=0;r.each(this.stateList,function(i){o|=e(t,i,n)||e(t.target,i,n)},this),!o&&r.each(this.stateList,function(e){(t[e]||(t[e]={}))[n]=s.get(n,"inRange"===e?"active":"inactive",l)})},this),o.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,t){var i=this.option,n=this._pieceList,o=(t?i:e).selected||{};if(i.selected=o,r.each(n,function(e,t){var i=this.getSelectedMapKey(e);o.hasOwnProperty(i)||(o[i]=!0)},this),"single"===i.selectedMode){var a=!1;r.each(n,function(e,t){var i=this.getSelectedMapKey(e);o[i]&&(a?o[i]=!1:a=!0)},this)}},getSelectedMapKey:function(e){return"categories"===this._mode?e.value+"":e.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=r.clone(e)},getValueState:function(e){var t=a.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries(function(i){var n=[],o=i.getData();o.each(this.getDataDimension(o),function(t,i){a.findPieceIndex(t,this._pieceList)===e&&n.push(i)},!0,this),t.push({seriesId:i.id,dataIndex:n})},this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var i=e.interval||[];t=i[0]===-(1/0)&&i[1]===1/0?0:(i[0]+i[1])/2}return t},getVisualMeta:function(e){function t(t,r){var a=o.getRepresentValue({interval:t});r||(r=o.getValueState(a));var s=e(a,r);t[0]===-(1/0)?n[0]=s:t[1]===1/0?n[1]=s:i.push({value:t[0],color:s},{value:t[1],color:s})}if(!this.isCategory()){var i=[],n=[],o=this,a=this._pieceList.slice();if(a.length){var s=a[0].interval[0];s!==-(1/0)&&a.unshift({interval:[-(1/0),s]}),s=a[a.length-1].interval[1],s!==1/0&&a.push({interval:[s,1/0]})}else a.push({interval:[-(1/0),1/0]});var l=-(1/0);return r.each(a,function(e){var i=e.interval;i&&(i[0]>l&&t([l,i[0]],"outOfRange"),t(i.slice()),l=i[1])},this),{stops:i,outerColors:n}}}}),u={splitNumber:function(){var e=this.option,t=this._pieceList,i=e.precision,n=this.getExtent(),o=e.splitNumber;o=Math.max(parseInt(o,10),1),e.splitNumber=o;for(var a=(n[1]-n[0])/o;+a.toFixed(i)!==a&&i<5;)i++;e.precision=i,a=+a.toFixed(i);var s=0;e.minOpen&&t.push({index:s++,interval:[-(1/0),n[0]],close:[0,0]});for(var c=n[0],u=s+o;s<u;c+=a){var h=s===o-1?n[1]:c+a;t.push({index:s++,interval:[c,h],close:[1,1]})}e.maxOpen&&t.push({index:s++,interval:[n[1],1/0],close:[0,0]}),l(t),r.each(t,function(e){e.text=this.formatValueText(e.interval)},this)},categories:function(){var e=this.option;r.each(e.categories,function(e){this._pieceList.push({text:this.formatValueText(e,!0),value:e})},this),n(e,this._pieceList)},pieces:function(){var e=this.option,t=this._pieceList;r.each(e.pieces,function(e,i){r.isObject(e)||(e={value:e});var n={text:"",index:i};if(null!=e.label&&(n.text=e.label),e.hasOwnProperty("value")){var o=n.value=e.value;n.interval=[o,o],n.close=[1,1]}else{for(var s=n.interval=[],l=n.close=[0,0],c=[1,0,1],u=[-(1/0),1/0],h=[],d=0;d<2;d++){for(var p=[["gte","gt","min"],["lte","lt","max"]][d],f=0;f<3&&null==s[d];f++)s[d]=e[p[f]],l[d]=c[f],h[d]=2===f;null==s[d]&&(s[d]=u[d])}h[0]&&s[1]===1/0&&(l[0]=0),h[1]&&s[0]===-(1/0)&&(l[1]=0),__DEV__&&s[0]>s[1]&&console.warn("Piece "+i+"is illegal: "+s+" lower bound should not greater then uppper bound."),s[0]===s[1]&&l[0]&&l[1]&&(n.value=s[0])}n.visual=a.retrieveVisuals(e),t.push(n)},this),n(e,t),l(t),r.each(t,function(e){var t=e.close,i=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,i)},this)}};e.exports=c},function(e,t,i){var n=i(136),o=i(0),r=i(2),a=i(20),s=i(7),l=i(137),c=n.extend({type:"visualMap.piecewise",doRender:function(){function e(e){var a=e.piece,s=new r.Group;s.onclick=o.bind(this._onItemClick,this,a),this._enableHoverLink(s,e.indexInModelPieceList);var d=i.getRepresentValue(a);if(this._createItemSymbol(s,d,[0,0,h[0],h[1]]),f){var p=this.visualMapModel.getValueState(d);s.add(new r.Text({style:{x:"right"===u?-n:h[0]+n,y:h[1]/2,text:a.text,textVerticalAlign:"middle",textAlign:u,textFont:l,fill:c,opacity:"outOfRange"===p?.5:1}}))}t.add(s)}var t=this.group;t.removeAll();var i=this.visualMapModel,n=i.get("textGap"),a=i.textStyleModel,l=a.getFont(),c=a.getTextColor(),u=this._getItemAlign(),h=i.itemSize,d=this._getViewData(),p=d.endsText,f=o.retrieve(i.get("showLabel",!0),!p);p&&this._renderEndsText(t,p[0],h,f,u),o.each(d.viewPieceList,e,this),p&&this._renderEndsText(t,p[1],h,f,u),s.box(i.get("orient"),t,i.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(e,t){function i(e){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:e,batch:l.convertDataIndex(i.findTargetDataIndices(t))})}e.on("mouseover",o.bind(i,this,"highlight")).on("mouseout",o.bind(i,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return l.getItemAlign(e,this.api,e.itemSize);var i=t.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(e,t,i,n,o){if(t){var a=new r.Group,s=this.visualMapModel.textStyleModel;a.add(new r.Text({style:{x:n?"right"===o?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?o:"center",text:t,textFont:s.getFont(),fill:s.getTextColor()}})),e.add(a)}},_getViewData:function(){var e=this.visualMapModel,t=o.map(e.getPieceList(),function(e,t){return{piece:e,indexInModelPieceList:t}}),i=e.get("text"),n=e.get("orient"),r=e.get("inverse");return("horizontal"===n?r:!r)?t.reverse():i&&(i=i.slice().reverse()),{viewPieceList:t,endsText:i}},_createItemSymbol:function(e,t,i){e.add(a.createSymbol(this.getControllerVisual(t,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,i=t.option,n=o.clone(i.selected),r=t.getSelectedMapKey(e);"single"===i.selectedMode?(n[r]=!0,o.each(n,function(e,t){n[t]=t===r})):n[r]=!n[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}});e.exports=c},function(e,t,i){i(1).registerPreprocessor(i(138)),i(139),i(140),i(407),i(408),i(141)},function(e,t,i){i(1).registerPreprocessor(i(138)),i(139),i(140),i(409),i(410),i(141)},function(e,t,i){"use strict";function n(e,t,i){this._model=e}function o(e,t,i,n){var o=i.calendarModel,r=i.seriesModel,a=o?o.coordinateSystem:r?r.coordinateSystem:null;return a===this?a[e](n):null}var r=i(7),a=i(3),s=i(0);n.prototype={constructor:n,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"}]},getHandledRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){e=a.parseDate(e);var t=e.getFullYear(),i=e.getMonth()+1;i=i<10?"0"+i:i;var n=e.getDate();n=n<10?"0"+n:n;var o=e.getDay();return o=Math.abs((o+7-this.getFirstDayOfWeek())%7),{y:t,m:i,d:n,day:o,time:e.getTime(),formatedDate:t+"-"+i+"-"+n,date:e}},getNextNDay:function(e,t){if(0===(t=t||0))return this.getDateInfo(e);var i=this.getDateInfo(e).time;return this.getDateInfo(i+864e5*t)},update:function(e,t){function i(e,t){return null!=e[t]&&"auto"!==e[t]}this._firstDayOfWeek=this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle.normal").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),l=this._model.getBoxLayoutParams(),c="horizontal"===this._orient?[n,7]:[7,n];s.each([0,1],function(e){i(a,e)&&(l[o[e]]=a[e]*c[e])});var u={width:t.getWidth(),height:t.getHeight()},h=this._rect=r.getLayoutRect(l,u);s.each([0,1],function(e){i(a,e)||(a[e]=h[o[e]]/c[e])}),this._sw=a[0],this._sh=a[1]},dataToPoint:function(e,t){var i=this.getDateInfo(e[0]),n=this._rangeInfo,o=i.formatedDate;if(!(t||i.time>=n.start.time&&i.time<=n.end.time))return[NaN,NaN];var r=i.day,a=this._getRangeInfo([n.start.time,o]).weeks;return"vertical"===this._orient?[this._rect.x+r*this._sw+this._sw/2,this._rect.y+(a-1)*this._sh+this._sh/2]:[this._rect.x+(a-1)*this._sw+this._sw/2,this._rect.y+r*this._sh+this._sh/2]},pointToData:function(e){var t=this.pointToDate(e);return t&&t.time},dataToRect:function(e,t){var i=this.dataToPoint(e,t);return{contentShape:{x:i[0]-(this._sw-this._lineWidth)/2,y:i[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:i,tl:[i[0]-this._sw/2,i[1]-this._sh/2],tr:[i[0]+this._sw/2,i[1]-this._sh/2],br:[i[0]+this._sw/2,i[1]+this._sh/2],bl:[i[0]-this._sw/2,i[1]+this._sh/2]}},pointToDate:function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,i=Math.floor((e[1]-this._rect.y)/this._sh)+1,n=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(i,t-1,n):this._getDateByWeeksAndDay(t,i-1,n)},convertToPixel:s.curry(o,"dataToPoint"),convertFromPixel:s.curry(o,"pointToData"),_initRangeOption:function(){var e=this._model.get("range"),t=e;if(s.isArray(t)&&1===t.length&&(t=t[0]),/^\d{4}$/.test(t)&&(e=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var i=this.getDateInfo(t),n=i.date;n.setMonth(n.getMonth()+1);var o=this.getNextNDay(n,-1);e=[i.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(e=[t,t]);var r=this._getRangeInfo(e);return r.start.time>r.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t=this.getDateInfo(e[0]),i=this.getDateInfo(e[1]),n=Math.floor(i.time/864e5)-Math.floor(t.time/864e5)+1,o=Math.floor((n+t.day+6)/7);return{range:[t.formatedDate,i.formatedDate],start:t,end:i,allDay:n,weeks:o,fweek:t.day,lweek:i.day}},_getDateByWeeksAndDay:function(e,t,i){var n=this._getRangeInfo(i);if(e>n.weeks||0===e&&t<n.fweek||e===n.weeks&&t>n.lweek)return!1;var o=7*(e-1)-n.fweek+t,r=n.start.time+864e5*o;return this.getDateInfo(r)}},n.dimensions=n.prototype.dimensions,n.getDimensionsInfo=n.prototype.getDimensionsInfo,n.create=function(e,t){var i=[];return e.eachComponent("calendar",function(o){var r=new n(o,e,t);i.push(r),o.coordinateSystem=r}),e.eachSeries(function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=i[e.get("calendarIndex")||0])}),i},i(22).register("calendar",n),e.exports=n},function(e,t,i){"use strict";function n(e,t){var i=e.cellSize;r.isArray(i)?1===i.length&&(i[1]=i[0]):i=e.cellSize=[i,i];var n=r.map([0,1],function(e){return a.sizeCalculable(t,e)&&(i[e]="auto"),null!=i[e]&&"auto"!==i[e]});a.mergeLayoutParam(e,t,{type:"box",ignoreSize:n})}var o=i(12),r=i(0),a=i(7),s=o.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{normal:{color:"#fff",borderWidth:1,borderColor:"#ccc"}},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",textStyle:{color:"#000"}},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,textStyle:{color:"#000"}},yearLabel:{show:!0,position:null,margin:30,formatter:null,textStyle:{color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}}},init:function(e,t,i,o){var r=a.getLayoutParams(e);s.superApply(this,"init",arguments),n(e,r)},mergeOption:function(e,t){s.superApply(this,"mergeOption",arguments),n(this.option,e)}});e.exports=s},function(e,t,i){var n=i(0),o=i(29),r=i(419),a=function(e,t,i,n,r){o.call(this,e,t,i),this.type=n||"value",this.position=r||"bottom"};a.prototype={constructor:a,index:0,onZero:!1,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},getLabelInterval:function(){var e=this._labelInterval;return e||(e=this._labelInterval=r(this)),e},isLabelIgnored:function(e){if("category"===this.type){var t=this.getLabelInterval();return"function"==typeof t&&!t(e,this.scale.getLabel(e))||e%(t+1)}},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},n.inherits(a,o),e.exports=a},function(e,t,i){"use strict";function n(e){return this._axes[e]}var o=i(0),r=function(e){this._axes={},this._dimList=[],this.name=e||""};r.prototype={constructor:r,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return o.map(this._dimList,n,this)},getAxesByScale:function(e){return e=e.toLowerCase(),o.filter(this.getAxes(),function(t){return t.scale.type===e})},addAxis:function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(e,t){for(var i=this._dimList,n=e instanceof Array?[]:{},o=0;o<i.length;o++){var r=i[o],a=this._axes[r];n[r]=a[t](e[r])}return n}},e.exports=r},function(e,t,i){"use strict";function n(e){r.call(this,e)}var o=i(0),r=i(416);n.prototype={constructor:n,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(e){var t=this.getAxis("x"),i=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&i.contain(i.toLocalCoord(e[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoints:function(e,t){return e.mapArray(["x","y"],function(e,t){return this.dataToPoint([e,t])},t,this)},dataToPoint:function(e,t){var i=this.getAxis("x"),n=this.getAxis("y");return[i.toGlobalCoord(i.dataToCoord(e[0],t)),n.toGlobalCoord(n.dataToCoord(e[1],t))]},pointToData:function(e,t){var i=this.getAxis("x"),n=this.getAxis("y");return[i.coordToData(i.toLocalCoord(e[0]),t),n.coordToData(n.toLocalCoord(e[1]),t)]},getOtherAxis:function(e){return this.getAxis("x"===e.dim?"y":"x")}},o.inherits(n,r),e.exports=n},function(e,t,i){"use strict";i(144);var n=i(12);e.exports=n.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}})},function(e,t,i){"use strict";var n=i(0),o=i(18);e.exports=function(e){var t=e.model,i=t.getModel("axisLabel"),r=i.get("interval");return"category"!==e.type||"auto"!==r?"auto"===r?0:r:o.getAxisLabelInterval(n.map(e.scale.getTicks(),e.dataToCoord,e),t.getFormattedLabels(),i.getModel("textStyle").getFont(),e.isHorizontal())}},function(e,t,i){function n(e,t,i,n,o){l.call(this,e),this.map=t,this._nameCoordMap={},this.loadGeoJson(i,n,o)}function o(e,t,i,n){var o=i.geoModel,r=i.seriesModel,a=o?o.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return a===this?a[e](n):null}var r=i(146),a=i(0),s=i(10),l=i(142),c=[i(423),i(424),i(422)];n.prototype={constructor:n,type:"geo",dimensions:["lng","lat"],containCoord:function(e){for(var t=this.regions,i=0;i<t.length;i++)if(t[i].contain(e))return!0;return!1},loadGeoJson:function(e,t,i){try{this.regions=e?r(e):[]}catch(e){throw"Invalid geoJson format\n"+e.message}t=t||{},i=i||{};for(var n=this.regions,o={},s=0;s<n.length;s++){var l=n[s].name;l=i[l]||l,n[s].name=l,o[l]=n[s],this.addGeoCoord(l,n[s].center);var u=t[l];u&&n[s].transformTo(u.left,u.top,u.width,u.height)}this._regionsMap=o,this._rect=null,a.each(c,function(e){e(this)},this)},transformTo:function(e,t,i,n){var o=this.getBoundingRect();o=o.clone(),o.y=-o.y-o.height;var r=this._viewTransform;r.transform=o.calculateTransform(new s(e,t,i,n)),r.decomposeTransform();var a=r.scale;a[1]=-a[1],r.updateTransform(),this._updateTransform()},getRegion:function(e){return this._regionsMap[e]},getRegionByCoord:function(e){for(var t=this.regions,i=0;i<t.length;i++)if(t[i].contain(e))return t[i]},addGeoCoord:function(e,t){this._nameCoordMap[e]=t},getGeoCoord:function(e){return this._nameCoordMap[e]},getBoundingRect:function(){if(this._rect)return this._rect;for(var e,t=this.regions,i=0;i<t.length;i++){var n=t[i].getBoundingRect();e=e||n.clone(),e.union(n)}return this._rect=e||new s(0,0,0,0)},dataToPoints:function(e){var t=[];return e.mapArray(["lng","lat"],function(e,i){return t[0]=e,t[1]=i,this.dataToPoint(t)},this)},dataToPoint:function(e){if("string"==typeof e&&(e=this.getGeoCoord(e)),e)return l.prototype.dataToPoint.call(this,e)},convertToPixel:a.curry(o,"dataToPoint"),convertFromPixel:a.curry(o,"pointToData")},a.mixin(n,l),e.exports=n},function(e,t,i){"use strict";var n=i(5),o=i(12),r=i(9),a=i(0),s=i(81),l=i(60),c=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){o.prototype.init.apply(this,arguments),n.defaultEmphasis(e.label,["position","show","textStyle","distance","formatter"])},optionUpdated:function(){var e=this.option,t=this;e.regions=l.getFilledRegions(e.regions,e.map),this._optionModelMap=a.reduce(e.regions||[],function(e,i){return i.name&&(e[i.name]=new r(i,t)),e},{}),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:.75,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{normal:{show:!1,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(e){return this._optionModelMap[e]||new r(null,this,this.ecModel)},getFormattedLabel:function(e,t){var i=this.getRegionModel(e),n=i.get("label."+t+".formatter"),o={name:e};if("function"==typeof n)return o.status=t,n(o);if("string"==typeof n){var r=o.seriesName;return n.replace("{a}",null!=r?r:"")}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});a.mixin(c,s),e.exports=c},function(e,t,i){var n=i(0),o={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};e.exports=function(e){n.each(e.regions,function(e){var t=o[e.name];if(t){var i=e.center;i[0]=t[0],i[1]=t[1]}})}},function(e,t,i){for(var n=i(145),o=i(0),r=[126,25],a=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;s<a.length;s++)for(var l=0;l<a[s].length;l++)a[s][l][0]/=10.5,a[s][l][1]/=-14,a[s][l][0]+=r[0],a[s][l][1]+=r[1];e.exports=function(e){"china"===e.map&&e.regions.push(new n("南海诸岛",o.map(a,function(e){return{type:"polygon",exterior:e}}),r))}},function(e,t,i){var n=i(0),o={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};e.exports=function(e){n.each(e.regions,function(e){var t=o[e.name];if(t){var i=e.center;i[0]+=t[0]/10.5,i[1]+=-t[1]/14}})}},function(e,t,i){function n(e,t){return t.type||(t.data?"category":"value")}var o=i(12),r=i(0),a=i(50),s=i(59),l=i(3),c=o.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return a([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]]).call(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var t=this.activeIntervals=r.clone(e);if(t)for(var i=t.length-1;i>=0;i--)l.asc(t[i])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e)return"inactive";for(var i=0,n=t.length;i<n;i++)if(t[i][0]<=e&&e<=t[i][1])return"active";return"inactive"}}),u={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};r.merge(c.prototype,i(41)),s("parallel",c,n,u),e.exports=c},function(e,t,i){function n(e,t,i){this._axesMap={},this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,t,i)}var o=i(7),r=i(18),a=i(0),s=i(427),l=i(2),c=i(21),u=a.each,h=Math.PI;n.prototype={type:"parallel",constructor:n,_init:function(e,t,i){var n=e.dimensions,o=e.parallelAxisIndex;u(n,function(e,i){var n=o[i],a=t.getComponent("parallelAxis",n),l=this._axesMap[e]=new s(e,r.createScaleByModel(a),[0,0],a.get("type"),n),c="category"===l.type;l.onBand=c&&a.get("boundaryGap"),l.inverse=a.get("inverse"),a.axis=l,l.model=a},this)},update:function(e,t){this._updateAxesFromSeries(this._model,e)},_updateAxesFromSeries:function(e,t){t.eachSeries(function(i){if(e.contains(i,t)){var n=i.getData();u(this.dimensions,function(e){var t=this._axesMap[e];t.scale.unionExtentFromData(n,e),r.niceScaleExtent(t.scale,t.model)},this)}},this)},resize:function(e,t){this._rect=o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes(e)},getRect:function(){return this._rect},_layoutAxes:function(e){var t=this._rect,i=e.get("layout"),n=this._axesMap,o=this.dimensions,r=[t.width,t.height],a="horizontal"===i?0:1,s=r[a],l=r[1-a],d=[0,l];u(n,function(e){var t=e.inverse?1:0;e.setExtent(d[t],d[1-t])});var p,f=e.get("axisExpandable"),g=e.get("axisExpandWidth"),m=e.get("axisExpandCenter"),v=e.get("axisExpandCount")||0;if(null!=m){var y=Math.max(0,Math.floor(m-(v-1)/2)),x=y+v-1;x>=o.length&&(x=o.length-1,y=Math.max(0,Math.floor(x-v+1))),p=[y,x]}var b=f&&p&&g?function(e,t,i){var n,o=p[1]-p[0],r=(t-g*o)/(i-1-o);return n=e<p[0]?(e-1)*r:e<=p[1]?p[0]*r+(e-p[0])*g:e===i-1?t:p[0]*r+o*g+(e-p[1])*r,{position:n,axisNameAvailableWidth:p[0]<e&&e<p[1]?g:r}}:function(e,t,i){var n=t/(i-1);return{position:n*e,axisNameAvailableWidth:n}};u(o,function(e,n){var r=b(n,s,o.length),a={horizontal:{x:r.position,y:l},vertical:{x:0,y:r.position}},u={horizontal:h/2,vertical:0},d=[a[i].x+t.x,a[i].y+t.y],f=u[i],g=c.create();c.rotate(g,g,f),c.translate(g,g,d),this._axesLayout[e]={position:d,rotation:f,transform:g,axisNameAvailableWidth:r.axisNameAvailableWidth,tickDirection:1,labelDirection:1,axisExpandWindow:p}},this)},getAxis:function(e){return this._axesMap[e]},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap[t].dataToCoord(e),t)},eachActiveState:function(e,t,i){for(var n=this.dimensions,o=this._axesMap,r=this.hasAxisbrushed(),a=0,s=e.count();a<s;a++){var l,c=e.getValues(n,a);if(r){l="active";for(var u=0,h=n.length;u<h;u++){if("inactive"===o[n[u]].model.getActiveState(c[u],u)){l="inactive";break}}}else l="normal";t.call(i,l,a)}},hasAxisbrushed:function(){for(var e=this.dimensions,t=this._axesMap,i=!1,n=0,o=e.length;n<o;n++)"normal"!==t[e[n]].model.getActiveState()&&(i=!0);return i},axisCoordToPoint:function(e,t){var i=this._axesLayout[t];return l.applyTransform([e,0],i.transform)},getAxisLayout:function(e){return a.clone(this._axesLayout[e])},findClosestAxisDim:function(e){var t,i=1/0;return a.each(this._axesLayout,function(n,o){var r=l.applyTransform(e,n.transform,!0),a=this._axesMap[o].getExtent();if(!(r[0]<a[0]||r[0]>a[1])){var s=Math.abs(r[1]);s<i&&(i=s,t=o)}},this),t}},e.exports=n},function(e,t,i){var n=i(0),o=i(29),r=function(e,t,i,n,r){o.call(this,e,t,i),this.type=n||"value",this.axisIndex=r};r.prototype={constructor:r,model:null},n.inherits(r,o),e.exports=r},function(e,t,i){var n=i(0),o=i(12);i(425),o.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,parallelAxisDefault:null},init:function(){o.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&n.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var i=e.get("parallelIndex");return null!=i&&t.getComponent("parallel",i)===this},setAxisExpand:function(e){n.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth"],function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])},this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],i=n.filter(this.dependentModels.parallelAxis,function(e){return e.get("parallelIndex")===this.componentIndex});n.each(i,function(i){e.push("dim"+i.get("dim")),t.push(i.componentIndex)})}})},function(e,t,i){function n(e){if(!e.parallel){var t=!1;r.each(e.series,function(e){e&&"parallel"===e.type&&(t=!0)}),t&&(e.parallel=[{}])}}function o(e){var t=a.normalizeToArray(e.parallelAxis);r.each(t,function(t){if(r.isObject(t)){var i=t.parallelIndex||0,n=a.normalizeToArray(e.parallel)[i];n&&n.parallelAxisDefault&&r.merge(t,n.parallelAxisDefault,!1)}})}var r=i(0),a=i(5);e.exports=function(e){n(e),o(e)}},function(e,t,i){"use strict";function n(e,t){t=t||[0,360],r.call(this,"angle",e,t),this.type="category"}var o=i(0),r=i(29);n.prototype={constructor:n,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToAngle:r.prototype.dataToCoord,angleToData:r.prototype.coordToData},o.inherits(n,r),e.exports=n},function(e,t,i){"use strict";function n(e,t){return t.type||(t.data?"category":"value")}var o=i(0),r=i(12),a=i(59),s=r.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});o.merge(s.prototype,i(41));var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};a("angle",s,n,l.angle),a("radius",s,n,l.radius)},function(e,t,i){"use strict";var n=i(434),o=i(430),r=function(e){this.name=e||"",this.cx=0,this.cy=0,this._radiusAxis=new n,this._angleAxis=new o,this._radiusAxis.polar=this._angleAxis.polar=this};r.prototype={type:"polar",axisPointerEnabled:!0,constructor:r,dimensions:["radius","angle"],model:null,containPoint:function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},getAxis:function(e){return this["_"+e+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(e){var t=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===e&&t.push(i),n.scale.type===e&&t.push(n),t},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoints:function(e){return e.mapArray(this.dimensions,function(e,t){return this.dataToPoint([e,t])},this)},dataToPoint:function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},pointToData:function(e,t){var i=this.pointToCoord(e);return[this._radiusAxis.radiusToData(i[0],t),this._angleAxis.angleToData(i[1],t)]},pointToCoord:function(e){var t=e[0]-this.cx,i=e[1]-this.cy,n=this.getAngleAxis(),o=n.getExtent(),r=Math.min(o[0],o[1]),a=Math.max(o[0],o[1]);n.inverse?r=a-360:a=r+360;var s=Math.sqrt(t*t+i*i);t/=s,i/=s;for(var l=Math.atan2(-i,t)/Math.PI*180,c=l<r?1:-1;l<r||l>a;)l+=360*c;return[s,l]},coordToPoint:function(e){var t=e[0],i=e[1]/180*Math.PI;return[Math.cos(i)*t+this.cx,-Math.sin(i)*t+this.cy]}},e.exports=r},function(e,t,i){"use strict";i(431),i(1).extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var t;return this.ecModel.eachComponent(e,function(e){e.getCoordSysModel()===this&&(t=e)},this),t},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}})},function(e,t,i){"use strict";function n(e,t){r.call(this,"radius",e,t),this.type="category"}var o=i(0),r=i(29);n.prototype={constructor:n,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:r.prototype.dataToCoord,radiusToData:r.prototype.coordToData},o.inherits(n,r),e.exports=n},function(e,t,i){function n(e,t,i){r.call(this,e,t,i),this.type="value",this.angle=0,this.name="",this.model}var o=i(0),r=i(29);o.inherits(n,r),e.exports=n},function(e,t,i){function n(e,t,i){this._model=e,this.dimensions=[],this._indicatorAxes=o.map(e.getIndicatorModels(),function(e,t){var i="indicator_"+t,n=new r(i,new a);return n.name=e.get("name"),n.model=e,e.axis=n,this.dimensions.push(i),n},this),this.resize(e,i),this.cx,this.cy,this.r,this.startAngle}var o=i(0),r=i(435),a=i(62),s=i(3),l=i(18);n.prototype.getIndicatorAxes=function(){return this._indicatorAxes},n.prototype.dataToPoint=function(e,t){var i=this._indicatorAxes[t];return this.coordToPoint(i.dataToCoord(e),t)},n.prototype.coordToPoint=function(e,t){var i=this._indicatorAxes[t],n=i.angle;return[this.cx+e*Math.cos(n),this.cy-e*Math.sin(n)]},n.prototype.pointToData=function(e){var t=e[0]-this.cx,i=e[1]-this.cy,n=Math.sqrt(t*t+i*i);t/=n,i/=n;for(var o,r=Math.atan2(-i,t),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var c=this._indicatorAxes[l],u=Math.abs(r-c.angle);u<a&&(o=c,s=l,a=u)}return[s,+(o&&o.coodToData(n))]},n.prototype.resize=function(e,t){var i=e.get("center"),n=t.getWidth(),r=t.getHeight(),a=Math.min(n,r)/2;this.cx=s.parsePercent(i[0],n),this.cy=s.parsePercent(i[1],r),this.startAngle=e.get("startAngle")*Math.PI/180,this.r=s.parsePercent(e.get("radius"),a),o.each(this._indicatorAxes,function(e,t){e.setExtent(0,this.r);var i=this.startAngle+t*Math.PI*2/this._indicatorAxes.length;i=Math.atan2(Math.sin(i),Math.cos(i)),e.angle=i},this)},n.prototype.update=function(e,t){function i(e){var t=Math.pow(10,Math.floor(Math.log(e)/Math.LN10)),i=e/t;return 2===i?i=5:i*=2,i*t}var n=this._indicatorAxes,r=this._model;o.each(n,function(e){e.scale.setExtent(1/0,-(1/0))}),e.eachSeriesByType("radar",function(t,i){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===r){var a=t.getData();o.each(n,function(e){e.scale.unionExtentFromData(a,e.dim)})}},this);var a=r.get("splitNumber");o.each(n,function(e,t){var n=l.getScaleExtent(e.scale,e.model);l.niceScaleExtent(e.scale,e.model);var o=e.model,r=e.scale,c=o.getMin(),u=o.getMax(),h=r.getInterval();if(null!=c&&null!=u)r.setInterval((u-c)/a);else if(null!=c){var d;do{d=c+h*a,r.setExtent(+c,d),r.setInterval(h),h=i(h)}while(d<n[1]&&isFinite(d)&&isFinite(n[1]))}else if(null!=u){var p;do{p=u-h*a,r.setExtent(p,+u),r.setInterval(h),h=i(h)}while(p>n[0]&&isFinite(p)&&isFinite(n[0]))}else{var f=r.getTicks().length-1;f>a&&(h=i(h));var g=Math.round((n[0]+n[1])/2/h)*h,m=Math.round(a/2);r.setExtent(s.round(g-m*h),s.round(g+(a-m)*h)),r.setInterval(h)}})},n.dimensions=[],n.create=function(e,t){var i=[];return e.eachComponent("radar",function(o){var r=new n(o,e,t);i.push(r),o.coordinateSystem=r}),e.eachSeriesByType("radar",function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=i[e.get("radarIndex")||0])}),i},i(22).register("radar",n),e.exports=n},function(e,t,i){function n(e,t){return s.defaults({show:t},e)}var o=i(143),r=o.valueAxis,a=i(9),s=i(0),l=i(41),c=i(1).extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),i=this.get("scale"),n=this.get("axisLine"),o=this.get("axisTick"),r=this.get("axisLabel"),c=this.get("name.textStyle"),u=this.get("name.show"),h=this.get("name.formatter"),d=this.get("nameGap"),p=this.get("triggerEvent"),f=s.map(this.get("indicator")||[],function(f){if(null!=f.max&&f.max>0&&!f.min?f.min=0:null!=f.min&&f.min<0&&!f.max&&(f.max=0),f=s.merge(s.clone(f),{boundaryGap:e,splitNumber:t,scale:i,axisLine:n,axisTick:o,axisLabel:r,name:f.text,nameLocation:"end",nameGap:d,nameTextStyle:c,triggerEvent:p},!1),u||(f.name=""),"string"==typeof h){var g=f.name;f.name=h.replace("{value}",null!=g?g:"")}else"function"==typeof h&&(f.name=h(f.name,f));var m=s.extend(new a(f,null,this.ecModel),l);return m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this.getIndicatorModels=function(){return f}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:s.merge({lineStyle:{color:"#bbb"}},r.axisLine),axisLabel:n(r.axisLabel,!1),axisTick:n(r.axisTick,!1),splitLine:n(r.splitLine,!0),splitArea:n(r.splitArea,!0),indicator:[]}});e.exports=c},function(e,t,i){function n(e,t){return t.type||(t.data?"category":"value")}var o=i(12),r=i(59),a=i(0),s=o.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),l={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:2,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:2}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};a.merge(s.prototype,i(41)),r("single",s,n,l),e.exports=s},function(e,t,i){function n(e,t,i){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,i),this.model=e}var o=i(440),r=i(18),a=i(7);n.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:n,_init:function(e,t,i){var n=this.dimension,a=new o(n,r.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===a.type;a.onBand=s&&e.get("boundaryGap"),a.inverse=e.get("inverse"),a.orient=e.get("orient"),e.axis=a,a.model=e,a.coordinateSystem=this,this._axis=a},update:function(e,t){e.eachSeries(function(e){if(e.coordinateSystem===this){var t=e.getData(),i=this.dimension;this._axis.scale.unionExtentFromData(t,e.coordDimToDataDim(i)),r.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(e,t){this._rect=a.getLayoutRect({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,i=t.isHorizontal(),n=i?[0,e.width]:[0,e.height],o=t.reverse?1:0;t.setExtent(n[o],n[1-o]),this._updateAxisTransform(t,i?e.x:e.y)},_updateAxisTransform:function(e,t){var i=e.getExtent(),n=i[0]+i[1],o=e.isHorizontal();e.toGlobalCoord=o?function(e){return e+t}:function(e){return n-e+t},e.toLocalCoord=o?function(e){return e-t}:function(e){return n-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),i=this.getAxis();return"horizontal"===i.orient?i.contain(i.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:i.contain(i.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),i=this.getRect(),n=[],o="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),n[o]=t.toGlobalCoord(t.dataToCoord(+e)),n[1-o]=0===o?i.y+i.height/2:i.x+i.width/2,n}},e.exports=n},function(e,t,i){var n=i(0),o=i(29),r=i(18),a=function(e,t,i,n,r){o.call(this,e,t,i),this.type=n||"value",this.position=r||"bottom",this.orient=null,this._labelInterval=null};a.prototype={constructor:a,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getLabelInterval:function(){var e=this._labelInterval;if(!e){var t=this.model,i=t.getModel("axisLabel"),o=i.get("interval");if("category"!==this.type||"auto"!==o)return e=this._labelInterval="auto"===o?0:o;e=this._labelInterval=r.getAxisLabelInterval(n.map(this.scale.getTicks(),this.dataToCoord,this),t.getFormattedLabels(),i.getModel("textStyle").getFont(),this.isHorizontal())}return e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},n.inherits(a,o),e.exports=a},function(e,t,i){function n(e,t){var i=[];return e.eachComponent("singleAxis",function(n,r){var a=new o(n,e,t);a.name="single_"+r,a.resize(n,t),n.coordinateSystem=a,i.push(a)}),e.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var i=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=i&&i.coordinateSystem}}),i}var o=i(439);i(22).register("single",{create:n,dimensions:o.prototype.dimensions})},function(e,t,i){"use strict";function n(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function o(e,t,i){this.node1=e,this.node2=t,this.dataIndex=null==i?-1:i}var r=i(0),a=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},s=a.prototype;s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(e,t){e=e||""+t;var i=this._nodesMap;if(!i[e]){var o=new n(e,t);return o.hostGraph=this,this.nodes.push(o),i[e]=o,o}},s.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},s.getNodeById=function(e){return this._nodesMap[e]},s.addEdge=function(e,t,i){var r=this._nodesMap,a=this._edgesMap;if("number"==typeof e&&(e=this.nodes[e]),"number"==typeof t&&(t=this.nodes[t]),e instanceof n||(e=r[e]),t instanceof n||(t=r[t]),e&&t){var s=e.id+"-"+t.id;if(!a[s]){var l=new o(e,t,i);return l.hostGraph=this,this._directed&&(e.outEdges.push(l),t.inEdges.push(l)),e.edges.push(l),e!==t&&t.edges.push(l),this.edges.push(l),a[s]=l,l}}},s.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},s.getEdge=function(e,t){e instanceof n&&(e=e.id),t instanceof n&&(t=t.id);var i=this._edgesMap;return this._directed?i[e+"-"+t]:i[e+"-"+t]||i[t+"-"+e]},s.eachNode=function(e,t){for(var i=this.nodes,n=i.length,o=0;o<n;o++)i[o].dataIndex>=0&&e.call(t,i[o],o)},s.eachEdge=function(e,t){for(var i=this.edges,n=i.length,o=0;o<n;o++)i[o].dataIndex>=0&&i[o].node1.dataIndex>=0&&i[o].node2.dataIndex>=0&&e.call(t,i[o],o)},s.breadthFirstTraverse=function(e,t,i,o){if(t instanceof n||(t=this._nodesMap[t]),t){for(var r="out"===i?"outEdges":"in"===i?"inEdges":"edges",a=0;a<this.nodes.length;a++)this.nodes[a].__visited=!1;if(!e.call(o,t,null))for(var s=[t];s.length;)for(var l=s.shift(),c=l[r],a=0;a<c.length;a++){var u=c[a],h=u.node1===l?u.node2:u.node1;if(!h.__visited){if(e.call(h,h,l))return;s.push(h),h.__visited=!0}}}},s.update=function(){for(var e=this.data,t=this.edgeData,i=this.nodes,n=this.edges,o=0,r=i.length;o<r;o++)i[o].dataIndex=-1;for(var o=0,r=e.count();o<r;o++)i[e.getRawIndex(o)].dataIndex=o;t.filterSelf(function(e){var i=n[t.getRawIndex(e)];return i.node1.dataIndex>=0&&i.node2.dataIndex>=0});for(var o=0,r=n.length;o<r;o++)n[o].dataIndex=-1;for(var o=0,r=t.count();o<r;o++)n[t.getRawIndex(o)].dataIndex=o},s.clone=function(){for(var e=new a(this._directed),t=this.nodes,i=this.edges,n=0;n<t.length;n++)e.addNode(t[n].id,t[n].dataIndex);for(var n=0;n<i.length;n++){var o=i[n];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},n.prototype={constructor:n,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(e){if(!(this.dataIndex<0)){return this.hostGraph.data.getItemModel(this.dataIndex).getModel(e)}}},o.prototype.getModel=function(e){if(!(this.dataIndex<0)){return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(e)}};var l=function(e,t){return{getValue:function(i){var n=this[e][t];return n.get(n.getDimension(i||"value"),this.dataIndex)},setVisual:function(i,n){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,i,n)},getVisual:function(i,n){return this[e][t].getItemVisual(this.dataIndex,i,n)},setLayout:function(i,n){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};r.mixin(n,l("hostGraph","data")),r.mixin(o,l("hostGraph","edgeData")),a.Node=n,a.Edge=o,e.exports=a},function(e,t,i){function n(e,t){this.root,this.data,this._nodes=[],this.hostModel=e,this.levelModels=r.map(t||[],function(t){return new a(t,e,e.ecModel)})}function o(e,t){var i=t.children;e.parentNode!==t&&(i.push(e),e.parentNode=t)}var r=i(0),a=i(9),s=i(11),l=i(148),c=i(19),u=function(e,t){this.name=e||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=t};u.prototype={constructor:u,isRemoved:function(){return this.dataIndex<0},eachNode:function(e,t,i){"function"==typeof e&&(i=t,t=e,e=null),e=e||{},r.isString(e)&&(e={order:e});var n,o=e.order||"preorder",a=this[e.attr||"children"];"preorder"===o&&(n=t.call(i,this));for(var s=0;!n&&s<a.length;s++)a[s].eachNode(e,t,i);"postorder"===o&&t.call(i,this)},updateDepthAndHeight:function(e){var t=0;this.depth=e;for(var i=0;i<this.children.length;i++){var n=this.children[i];n.updateDepthAndHeight(e+1),n.height>t&&(t=n.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,i=this.children,n=i.length;t<n;t++){var o=i[t].getNodeById(e);if(o)return o}},contains:function(e){if(e===this)return!0;for(var t=0,i=this.children,n=i.length;t<n;t++){var o=i[t].contains(e);if(o)return o}},getAncestors:function(e){for(var t=[],i=e?this:this.parentNode;i;)t.push(i),i=i.parentNode;return t.reverse(),t},getValue:function(e){var t=this.hostTree.data;return t.get(t.getDimension(e||"value"),this.dataIndex)},setLayout:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostTree,i=t.data.getItemModel(this.dataIndex),n=this.getLevelModel();return i.getModel(e,(n||t.hostModel).getModel(e))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)}},n.prototype={constructor:n,type:"tree",eachNode:function(e,t,i){this.root.eachNode(e,t,i)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,i=0,n=t.length;i<n;i++)t[i].dataIndex=-1;for(var i=0,n=e.count();i<n;i++)t[e.getRawIndex(i)].dataIndex=i},clearLayouts:function(){this.data.clearItemLayouts()}},n.createTree=function(e,t,i){function a(e,t){var i=e.value;p=Math.max(p,r.isArray(i)?i.length:1),d.push(e);var n=new u(e.name,h);t?o(n,t):h.root=n,h._nodes.push(n);var s=e.children;if(s)for(var l=0;l<s.length;l++)a(s[l],n)}var h=new n(t,i),d=[],p=1;a(e),h.root.updateDepthAndHeight(0);var f=c([{name:"value"}],d,{dimCount:p}),g=new s(f,t);return g.initData(d),l({mainData:g,struct:h,structAttr:"tree"}),h.update(),h},e.exports=n},function(e,t,i){var n=i(32),o=i(20),r=i(18),a=i(41),s=i(9),l=i(0);e.exports={createList:function(e){var t=e.get("data");return n(t,e,e.ecModel)},completeDimensions:i(19),createSymbol:o.createSymbol,createScale:function(e,t){var i=t;t instanceof s||(i=new s(t),l.mixin(i,a));var n=r.createScaleByModel(i);return n.setExtent(e[0],e[1]),r.niceScaleExtent(n,i),n},mixinAxisModelCommonMethods:function(e){l.mixin(e,a)}}},function(e,t,i){var n=i(2),o=i(0),r=Math.PI;e.exports=function(e,t){t=t||{},o.defaults(t,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var i=new n.Rect({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4}),a=new n.Arc({shape:{startAngle:-r/2,endAngle:-r/2+.1,r:10},style:{stroke:t.color,lineCap:"round",lineWidth:5},zlevel:t.zlevel,z:10001}),s=new n.Rect({style:{fill:"none",text:t.text,textPosition:"right",textDistance:10,textFill:t.textColor},zlevel:t.zlevel,z:10001});a.animateShape(!0).when(1e3,{endAngle:3*r/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:3*r/2}).delay(300).start("circularInOut");var l=new n.Group;return l.add(a),l.add(s),l.add(i),l.resize=function(){var t=e.getWidth()/2,n=e.getHeight()/2;a.setShape({cx:t,cy:n});var o=a.shape.r;s.setShape({x:t-o,y:n-o,width:2*o,height:2*o}),i.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},l.resize(),l}},function(e,t,i){function n(e,t){u.each(t,function(t,i){x.hasClass(i)||("object"==typeof t?e[i]=e[i]?u.merge(e[i],t,!1):u.clone(t):null==e[i]&&(e[i]=t))})}function o(e){e=e,this.option={},this.option[_]=1,this._componentsMap={series:[]},this._seriesIndices=null,n(e,this._theme.option),u.merge(e,b,!1),this.mergeOption(e)}function r(e,t){u.isArray(t)||(t=t?[t]:[]);var i={};return p(t,function(t){i[t]=(e[t]||[]).slice()}),i}function a(e,t,i){return t.type?t.type:i?i.subType:x.determineSubType(e,t)}function s(e){return g(e,function(e){return e.componentIndex})||[]}function l(e,t){return t.hasOwnProperty("subType")?f(e,function(e){return e.subType===t.subType}):e}function c(e){if(__DEV__&&!e._seriesIndices)throw new Error("Series has not been initialized yet.")}var u=i(0),h=i(5),d=i(9),p=u.each,f=u.filter,g=u.map,m=u.isArray,v=u.indexOf,y=u.isObject,x=i(12),b=i(448),_="\0_ec_inner",w=d.extend({constructor:w,init:function(e,t,i,n){i=i||{},this.option=null,this._theme=new d(i),this._optionManager=n},setOption:function(e,t,i){u.assert(!(_ in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null,i)},resetOption:function(e,t){var i=!1,n=this._optionManager;if(!e||"recreate"===e){var r=n.mountOption("recreate"===e);this.option&&"recreate"!==e?(!t&&this.restoreData(),this.mergeOption(r)):o.call(this,r),i=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var a=n.getTimelineOption(this);a&&(this.mergeOption(a),i=!0)}if(!e||"recreate"===e||"media"===e){var s=n.getMediaOption(this,this._api);s.length&&p(s,function(e){this.mergeOption(e,i=!0)},this)}return i},mergeOption:function(e){function t(t,o){var l=h.normalizeToArray(e[t]),c=h.mappingToExists(n[t],l);h.makeIdAndName(c),p(c,function(e,i){var n=e.option;y(n)&&(e.keyInfo.mainType=t,e.keyInfo.subType=a(t,n,e.exist))});var d=r(n,o);i[t]=[],n[t]=[],p(c,function(e,o){var r=e.exist,a=e.option;if(u.assert(y(a)||r,"Empty component definition"),a){var s=x.getClass(t,e.keyInfo.subType,!0);if(r&&r instanceof s)r.name=e.keyInfo.name,r.mergeOption(a,this),r.optionUpdated(a,!1);else{var l=u.extend({dependentModels:d,componentIndex:o},e.keyInfo);r=new s(a,this,this,l),u.extend(r,l),r.init(a,this,this,l),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);n[t][o]=r,i[t][o]=r.option},this),"series"===t&&(this._seriesIndices=s(n.series))}var i=this.option,n=this._componentsMap,o=[];p(e,function(e,t){null!=e&&(x.hasClass(t)?o.push(t):i[t]=null==i[t]?u.clone(e):u.merge(i[t],e,!0))}),x.topologicalTravel(o,x.getAllClassMainTypes(),t,this),this._seriesIndices=this._seriesIndices||[]},getOption:function(){var e=u.clone(this.option);return p(e,function(t,i){if(x.hasClass(i)){for(var t=h.normalizeToArray(t),n=t.length-1;n>=0;n--)h.isIdInner(t[n])&&t.splice(n,1);e[i]=t}}),delete e[_],e},getTheme:function(){return this._theme},getComponent:function(e,t){var i=this._componentsMap[e];if(i)return i[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var i=e.index,n=e.id,o=e.name,r=this._componentsMap[t];if(!r||!r.length)return[];var a;if(null!=i)m(i)||(i=[i]),a=f(g(i,function(e){return r[e]}),function(e){return!!e});else if(null!=n){var s=m(n);a=f(r,function(e){return s&&v(n,e.id)>=0||!s&&e.id===n})}else if(null!=o){var c=m(o);a=f(r,function(e){return c&&v(o,e.name)>=0||!c&&e.name===o})}else a=r.slice();return l(a,e)},findComponents:function(e){var t=e.query,i=e.mainType,n=function(e){var t=i+"Index",n=i+"Id",o=i+"Name";return!e||null==e[t]&&null==e[n]&&null==e[o]?null:{mainType:i,index:e[t],id:e[n],name:e[o]}}(t),o=n?this.queryComponents(n):this._componentsMap[i];return function(t){return e.filter?f(t,e.filter):t}(l(o,e))},eachComponent:function(e,t,i){var n=this._componentsMap;if("function"==typeof e)i=t,t=e,p(n,function(e,n){p(e,function(e,o){t.call(i,n,e,o)})});else if(u.isString(e))p(n[e],t,i);else if(y(e)){var o=this.findComponents(e);p(o,t,i)}},getSeriesByName:function(e){var t=this._componentsMap.series;return f(t,function(t){return t.name===e})},getSeriesByIndex:function(e){return this._componentsMap.series[e]},getSeriesByType:function(e){var t=this._componentsMap.series;return f(t,function(t){return t.subType===e})},getSeries:function(){return this._componentsMap.series.slice()},eachSeries:function(e,t){c(this),p(this._seriesIndices,function(i){var n=this._componentsMap.series[i];e.call(t,n,i)},this)},eachRawSeries:function(e,t){p(this._componentsMap.series,e,t)},eachSeriesByType:function(e,t,i){c(this),p(this._seriesIndices,function(n){var o=this._componentsMap.series[n];o.subType===e&&t.call(i,o,n)},this)},eachRawSeriesByType:function(e,t,i){return p(this.getSeriesByType(e),t,i)},isSeriesFiltered:function(e){return c(this),u.indexOf(this._seriesIndices,e.componentIndex)<0},filterSeries:function(e,t){c(this);var i=f(this._componentsMap.series,e,t);this._seriesIndices=s(i)},restoreData:function(){var e=this._componentsMap;this._seriesIndices=s(e.series);var t=[];p(e,function(e,i){t.push(i)}),x.topologicalTravel(t,x.getAllClassMainTypes(),function(t,i){p(e[t],function(e){e.restoreData()})})}});u.mixin(w,i(150)),e.exports=w},function(e,t,i){function n(e){this._api=e,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function o(e,t,i){var n,o,r=[],a=[],s=e.timeline;if(e.baseOption&&(o=e.baseOption),(s||e.options)&&(o=o||{},r=(e.options||[]).slice()),e.media){o=o||{};var l=e.media;d(l,function(e){e&&e.option&&(e.query?a.push(e):n||(n=e))})}return o||(o=e),o.timeline||(o.timeline=s),d([o].concat(r).concat(c.map(a,function(e){return e.option})),function(e){d(t,function(t){t(e,i)})}),{baseOption:o,timelineOptions:r,mediaDefault:n,mediaList:a}}function r(e,t,i){var n={width:t,height:i,aspectratio:t/i},o=!0;return c.each(e,function(e,t){var i=t.match(m);if(i&&i[1]&&i[2]){var r=i[1],s=i[2].toLowerCase();a(n[s],e,r)||(o=!1)}}),o}function a(e,t,i){return"min"===i?e>=t:"max"===i?e<=t:e===t}function s(e,t){return e.join(",")===t.join(",")}function l(e,t){t=t||{},d(t,function(t,i){if(null!=t){var n=e[i];if(h.hasClass(i)){t=u.normalizeToArray(t),n=u.normalizeToArray(n);var o=u.mappingToExists(n,t);e[i]=f(o,function(e){return e.option&&e.exist?g(e.exist,e.option,!0):e.exist||e.option})}else e[i]=g(n,t,!0)}})}var c=i(0),u=i(5),h=i(12),d=c.each,p=c.clone,f=c.map,g=c.merge,m=/^(min|max)?(.+)$/;n.prototype={constructor:n,setOption:function(e,t){e=p(e,!0);var i=this._optionBackup,n=o.call(this,e,t,!i);this._newBaseOption=n.baseOption,i?(l(i.baseOption,n.baseOption),n.timelineOptions.length&&(i.timelineOptions=n.timelineOptions),n.mediaList.length&&(i.mediaList=n.mediaList),n.mediaDefault&&(i.mediaDefault=n.mediaDefault)):this._optionBackup=n},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=f(t.timelineOptions,p),this._mediaList=f(t.mediaList,p),this._mediaDefault=p(t.mediaDefault),this._currentMediaIndices=[],p(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,i=this._timelineOptions;if(i.length){var n=e.getComponent("timeline");n&&(t=p(i[n.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t=this._api.getWidth(),i=this._api.getHeight(),n=this._mediaList,o=this._mediaDefault,a=[],l=[];if(!n.length&&!o)return l;for(var c=0,u=n.length;c<u;c++)r(n[c].query,t,i)&&a.push(c);return!a.length&&o&&(a=[-1]),a.length&&!s(a,this._currentMediaIndices)&&(l=f(a,function(e){return p(e===-1?o.option:n[e].option)})),this._currentMediaIndices=a,l}},e.exports=n},function(e,t){var i="";"undefined"!=typeof navigator&&(i=navigator.platform||""),e.exports={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],textStyle:{fontFamily:i.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3}},function(e,t,i){e.exports={getAreaStyle:i(50)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]])}},function(e,t){e.exports={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}}},function(e,t,i){var n=i(50)([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]);e.exports={getItemStyle:function(e,t){var i=n.call(this,e,t),o=this.getBorderLineDash();return o&&(i.lineDash=o),i},getBorderLineDash:function(){var e=this.get("borderType");return"solid"===e||null==e?null:"dashed"===e?[5,5]:[1,1]}}},function(e,t,i){var n=i(50)([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);e.exports={getLineStyle:function(e){var t=n.call(this,e),i=this.getLineDash(t.lineWidth);return i&&(t.lineDash=i),t},getLineDash:function(e){null==e&&(e=1);var t=this.get("type"),i=Math.max(e,2),n=4*e;return"solid"===t||null==t?null:"dashed"===t?[n,n]:[i,i]}}},function(e,t,i){function n(e,t){return e&&e.getShallow(t)}var o=i(25);e.exports={getTextColor:function(){var e=this.ecModel;return this.getShallow("color")||e&&e.get("textStyle.color")},getFont:function(){var e=this.ecModel,t=e&&e.getModel("textStyle");return[this.getShallow("fontStyle")||n(t,"fontStyle"),this.getShallow("fontWeight")||n(t,"fontWeight"),(this.getShallow("fontSize")||n(t,"fontSize")||12)+"px",this.getShallow("fontFamily")||n(t,"fontFamily")||"sans-serif"].join(" ")},getTextRect:function(e){return o.getBoundingRect(e,this.getFont(),this.getShallow("align"),this.getShallow("baseline"))},truncateText:function(e,t,i,n){return o.truncateText(e,t,this.getFont(),i,n)}}},function(e,t,i){function n(e,t){t=t.split(",");for(var i=e,n=0;n<t.length&&null!=(i=i&&i[t[n]]);n++);return i}function o(e,t,i,n){t=t.split(",");for(var o,r=e,a=0;a<t.length-1;a++)o=t[a],null==r[o]&&(r[o]={}),r=r[o];(n||null==r[t[a]])&&(r[t[a]]=i)}function r(e){h(l,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var a=i(0),s=i(455),l=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],c=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],u=["bar","boxplot","candlestick","chord","effectScatter","funnel","gauge","lines","graph","heatmap","line","map","parallel","pie","radar","sankey","scatter","treemap"],h=a.each;e.exports=function(e){h(e.series,function(e){if(a.isObject(e)){var t=e.type;if(s(e),"pie"!==t&&"gauge"!==t||null!=e.clockWise&&(e.clockwise=e.clockWise),"gauge"===t){var i=n(e,"pointer.color");null!=i&&o(e,"itemStyle.normal.color",i)}for(var l=0;l<u.length;l++)if(u[l]===e.type){r(e);break}}}),e.dataRange&&(e.visualMap=e.dataRange),h(c,function(t){var i=e[t];i&&(a.isArray(i)||(i=[i]),h(i,function(e){r(e)}))})}},function(e,t,i){function n(e){var t=e&&e.itemStyle;t&&o.each(r,function(i){var n=t.normal,r=t.emphasis;n&&n[i]&&(e[i]=e[i]||{},e[i].normal?o.merge(e[i].normal,n[i]):e[i].normal=n[i],n[i]=null),r&&r[i]&&(e[i]=e[i]||{},e[i].emphasis?o.merge(e[i].emphasis,r[i]):e[i].emphasis=r[i],r[i]=null)})}var o=i(0),r=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];e.exports=function(e){if(e){n(e),n(e.markPoint),n(e.markLine);var t=e.data;if(t){for(var i=0;i<t.length;i++)n(t[i]);var r=e.markPoint;if(r&&r.data)for(var a=r.data,i=0;i<a.length;i++)n(a[i]);var s=e.markLine;if(s&&s.data)for(var l=s.data,i=0;i<l.length;i++)o.isArray(l[i])?(n(l[i][0]),n(l[i][1])):n(l[i])}}}},function(e,t){var i={average:function(e){for(var t=0,i=0,n=0;n<e.length;n++)isNaN(e[n])||(t+=e[n],i++);return 0===i?NaN:t/i},sum:function(e){for(var t=0,i=0;i<e.length;i++)t+=e[i]||0;return t},max:function(e){for(var t=-(1/0),i=0;i<e.length;i++)e[i]>t&&(t=e[i]);return t},min:function(e){for(var t=1/0,i=0;i<e.length;i++)e[i]<t&&(t=e[i]);return t},nearest:function(e){return e[0]}},n=function(e,t){return Math.round(e.length/2)};e.exports=function(e,t,o){t.eachSeriesByType(e,function(e){var t=e.getData(),o=e.get("sampling"),r=e.coordinateSystem;if("cartesian2d"===r.type&&o){var a=r.getBaseAxis(),s=r.getOtherAxis(a),l=a.getExtent(),c=l[1]-l[0],u=Math.round(t.count()/c);if(u>1){var h;"string"==typeof o?h=i[o]:"function"==typeof o&&(h=o),h&&(t=t.downSample(s.dim,1/u,h,n),e.setData(t))}}},this)}},function(e,t,i){function n(e,t){return h(e,u(t))}var o=i(0),r=i(63),a=i(3),s=i(62),l=r.prototype,c=s.prototype,u=a.getPrecisionSafe,h=a.round,d=Math.floor,p=Math.ceil,f=Math.pow,g=Math.log,m=r.extend({type:"log",base:10,$constructor:function(){r.apply(this,arguments),this._originalScale=new s},getTicks:function(){var e=this._originalScale,t=this._extent,i=e.getExtent();return o.map(c.getTicks.call(this),function(o){var r=a.round(f(this.base,o));return r=o===t[0]&&e.__fixMin?n(r,i[0]):r,r=o===t[1]&&e.__fixMax?n(r,i[1]):r},this)},getLabel:c.getLabel,scale:function(e){return e=l.scale.call(this,e),f(this.base,e)},setExtent:function(e,t){var i=this.base;e=g(e)/g(i),t=g(t)/g(i),c.setExtent.call(this,e,t)},getExtent:function(){var e=this.base,t=l.getExtent.call(this);t[0]=f(e,t[0]),t[1]=f(e,t[1]);var i=this._originalScale,o=i.getExtent();return i.__fixMin&&(t[0]=n(t[0],o[0])),i.__fixMax&&(t[1]=n(t[1],o[1])),t},unionExtent:function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=g(e[0])/g(t),e[1]=g(e[1])/g(t),l.unionExtent.call(this,e)},unionExtentFromData:function(e,t){this.unionExtent(e.getDataExtent(t,!0,function(e){return e>0}))},niceTicks:function(e){e=e||10;var t=this._extent,i=t[1]-t[0];if(!(i===1/0||i<=0)){var n=a.quantity(i),o=e/i*n;for(o<=.5&&(n*=10);!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0;)n*=10;var r=[a.round(p(t[0]/n)*n),a.round(d(t[1]/n)*n)];this._interval=n,this._niceExtent=r}},niceExtent:function(e,t,i){c.niceExtent.call(this,e,t,i);var n=this._originalScale;n.__fixMin=t,n.__fixMax=i}});o.each(["contain","normalize"],function(e){m.prototype[e]=function(t){return t=g(t)/g(this.base),l[e].call(this,t)}}),m.create=function(){return new m},e.exports=m},function(e,t,i){var n=i(0),o=i(63),r=o.prototype,a=o.extend({type:"ordinal",init:function(e,t){this._data=e,this._extent=t||[0,e.length-1]},parse:function(e){return"string"==typeof e?n.indexOf(this._data,e):Math.round(e)},contain:function(e){return e=this.parse(e),r.contain.call(this,e)&&null!=this._data[e]},normalize:function(e){return r.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(r.scale.call(this,e))},getTicks:function(){for(var e=[],t=this._extent,i=t[0];i<=t[1];)e.push(i),i++;return e},getLabel:function(e){return this._data[e]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(e,t){this.unionExtent(e.getDataExtent(t,!1))},niceTicks:n.noop,niceExtent:n.noop});a.create=function(){return new a},e.exports=a},function(e,t,i){var n=i(0),o=i(3),r=i(4),a=i(62),s=a.prototype,l=Math.ceil,c=Math.floor,u=function(e,t,i,n){for(;i<n;){var o=i+n>>>1;e[o][2]<t?i=o+1:n=o}return i},h=a.extend({type:"time",getLabel:function(e){var t=this._stepLvl,i=new Date(e);return r.formatTime(t[0],i)},niceExtent:function(e,t,i){var n=this._extent;if(n[0]===n[1]&&(n[0]-=864e5,n[1]+=864e5),n[1]===-(1/0)&&n[0]===1/0){var r=new Date;n[1]=new Date(r.getFullYear(),r.getMonth(),r.getDate()),n[0]=n[1]-864e5}this.niceTicks(e);var a=this._interval;t||(n[0]=o.round(c(n[0]/a)*a)),i||(n[1]=o.round(l(n[1]/a)*a))},niceTicks:function(e){e=e||10;var t=this._extent,i=t[1]-t[0],n=i/e,r=d.length,a=u(d,n,0,r),s=d[Math.min(a,r-1)],h=s[2];if("year"===s[0]){var p=i/h;h*=o.nice(p/e,!0)}var f=[l(t[0]/h)*h,c(t[1]/h)*h];this._stepLvl=s,this._interval=h,this._niceExtent=f},parse:function(e){return+o.parseDate(e)}});n.each(["contain","normalize"],function(e){h.prototype[e]=function(t){return s[e].call(this,this.parse(t))}});var d=[["hh:mm:ss",1,1e3],["hh:mm:ss",5,5e3],["hh:mm:ss",10,1e4],["hh:mm:ss",15,15e3],["hh:mm:ss",30,3e4],["hh:mm\nMM-dd",1,6e4],["hh:mm\nMM-dd",5,3e5],["hh:mm\nMM-dd",10,6e5],["hh:mm\nMM-dd",15,9e5],["hh:mm\nMM-dd",30,18e5],["hh:mm\nMM-dd",1,36e5],["hh:mm\nMM-dd",2,72e5],["hh:mm\nMM-dd",6,216e5],["hh:mm\nMM-dd",12,432e5],["MM-dd\nyyyy",1,864e5],["week",7,6048e5],["month",1,26784e5],["quarter",3,8208e6],["half-year",6,16416e6],["year",1,32832e6]];h.create=function(){return new h},e.exports=h},function(e,t,i){function n(){var e,t=[],i={};return{add:function(e,n,r,a,s){return o.isString(a)&&(s=a,a=0),!i[e.id]&&(i[e.id]=1,t.push({el:e,target:n,time:r,delay:a,easing:s}),!0)},done:function(t){return e=t,this},start:function(){function n(){--o||(t.length=0,i={},e&&e())}for(var o=t.length,r=0,a=t.length;r<a;r++){var s=t[r];s.el.animateTo(s.target,s.time,s.delay,s.easing,n)}return this}}}var o=i(0);e.exports={createWrap:n}},function(e,t,i){var n=i(72);e.exports=function(e){function t(t){var i=(t.visualColorAccessPath||"itemStyle.normal.color").split("."),o=t.getData(),r=t.get(i)||t.getColorFromPalette(t.get("name"));o.setVisual("color",r),e.isSeriesFiltered(t)||("function"!=typeof r||r instanceof n||o.each(function(e){o.setItemVisual(e,"color",r(t.getDataParams(e)))}),o.each(function(e){var t=o.getItemModel(e),n=t.get(i,!0);null!=n&&o.setItemVisual(e,"color",n)}))}e.eachRawSeries(t)}},function(e,t,i){var n,o,r;!function(a,s){o=[t,i(228)],n=s,void 0!==(r="function"==typeof n?n.apply(t,o):n)&&(e.exports=r)}(0,function(e,t){if(!t)return void function(e){"undefined"!=typeof console&&console&&console.error&&console.error(e)}("ECharts is not Loaded");var i=["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],n={color:i,title:{textStyle:{fontWeight:"normal",color:"#008acd"}},visualMap:{itemWidth:15,color:["#5ab1ef","#e0ffff"]},toolbox:{iconStyle:{normal:{borderColor:i[0]}}},tooltip:{backgroundColor:"rgba(50,50,50,0.5)",axisPointer:{type:"line",lineStyle:{color:"#008acd"},crossStyle:{color:"#008acd"},shadowStyle:{color:"rgba(200,200,200,0.2)"}}},dataZoom:{dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd"},grid:{borderColor:"#eee"},categoryAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitLine:{lineStyle:{color:["#eee"]}}},valueAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.1)","rgba(200,200,200,0.1)"]}},splitLine:{lineStyle:{color:["#eee"]}}},timeline:{lineStyle:{color:"#008acd"},controlStyle:{normal:{color:"#008acd"},emphasis:{color:"#008acd"}},symbol:"emptyCircle",symbolSize:3},line:{smooth:!0,symbol:"emptyCircle",symbolSize:3},candlestick:{itemStyle:{normal:{color:"#d87a80",color0:"#2ec7c9",lineStyle:{color:"#d87a80",color0:"#2ec7c9"}}}},scatter:{symbol:"circle",symbolSize:4},map:{label:{normal:{textStyle:{color:"#d87a80"}}},itemStyle:{normal:{borderColor:"#eee",areaColor:"#ddd"},emphasis:{areaColor:"#fe994e"}}},graph:{color:i},gauge:{axisLine:{lineStyle:{color:[[.2,"#2ec7c9"],[.8,"#5ab1ef"],[1,"#d87a80"]],width:10}},axisTick:{splitNumber:10,length:15,lineStyle:{color:"auto"}},splitLine:{length:22,lineStyle:{color:"auto"}},pointer:{width:5}}};t.registerTheme("macarons",n)})},,,,,,,,,,,,,,,,,function(e,t){t.read=function(e,t,i,n,o){var r,a,s=8*o-n-1,l=(1<<s)-1,c=l>>1,u=-7,h=i?o-1:0,d=i?-1:1,p=e[t+h];for(h+=d,r=p&(1<<-u)-1,p>>=-u,u+=s;u>0;r=256*r+e[t+h],h+=d,u-=8);for(a=r&(1<<-u)-1,r>>=-u,u+=n;u>0;a=256*a+e[t+h],h+=d,u-=8);if(0===r)r=1-c;else{if(r===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),r-=c}return(p?-1:1)*a*Math.pow(2,r-n)},t.write=function(e,t,i,n,o,r){var a,s,l,c=8*r-o-1,u=(1<<c)-1,h=u>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:r-1,f=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+h>=1?d/l:d*Math.pow(2,1-h),t*l>=2&&(a++,l/=2),a+h>=u?(s=0,a=u):a+h>=1?(s=(t*l-1)*Math.pow(2,o),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,o),a=0));o>=8;e[i+p]=255&s,p+=f,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[i+p]=255&a,p+=f,a/=256,c-=8);e[i+p-f]|=128*g}},function(e,t){var i={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},function(e,t,i){e.exports=i.p+"b02bdc1b846fd65473922f5f62832108.ttf"},function(e,t){e.exports="data:application/font-woff;base64,d09GRgABAAAAAB9EABAAAAAANAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABbAAAABoAAAAcdCWJ3kdERUYAAAGIAAAAHQAAACAAWAAET1MvMgAAAagAAABNAAAAYFdvXOBjbWFwAAAB+AAAAFAAAAFS5mHtc2N2dCAAAAJIAAAAGAAAACQNZf70ZnBnbQAAAmAAAAT8AAAJljD3npVnYXNwAAAHXAAAAAgAAAAIAAAAEGdseWYAAAdkAAAUPAAAIUw4RPqwaGVhZAAAG6AAAAAvAAAANgxJKwtoaGVhAAAb0AAAAB4AAAAkCQwFDGhtdHgAABvwAAAAVgAAAKyk5AaSbG9jYQAAHEgAAABYAAAAWJwQpAxtYXhwAAAcoAAAACAAAAAgAU4CJG5hbWUAABzAAAABNQAAAit/uX3PcG9zdAAAHfgAAACyAAABsMLAXoJwcmVwAAAerAAAAJUAAACVpbm+ZnicY2BgYGQAgjO2i86D6MufP7fDaABY8wj8AAB4nGNgZGBg4ANiCQYQYGJgBEItIGYB8xgABhgAXQAAAHicY2Bh4WX8wsDKwMA0k+kMAwNDP4RmfM1gzMgJFGVgY2aAAUYBBgQISHNNYTjAUPFMnbnhfwNDDHMDQwNIDUiOWQKsRIGBEQCQ/wz4AAAAeJxjYGBgZoBgGQZGBhDwAfIYwXwWBgMgzQGETEC64pnKM/X//8Eshmdq////75ZikWKG6gIDRjYGOJcRpIeJARUwMtAMMNPOaJIAAAr1C6J4nGNgQANGDEbMEv8fMjf8b4DRAEVmCF94nJ1VaXfTRhSVvGRP2pLEUETbMROnNBqZsAUDLgQpsgvp4kBoJegiJzFd+AN87Gf9mqfQntOP/LTeO14SWnpO2xxL776ZO2/TexNxjKjseSCuUUdKXveksv5UKvGzpK7rXp4o6fWSumynnpIWUStNlczF/SO5RHUuVrJJsEnG616inqs874PSSzKsKEsi2iLayrwsTVNPHD9NtTi9ZJCmgZSMgp1Ko48QqlEvkaoOZUqHXr2eipsFUjYa8aijonoQKu4czzmljTpgpHKVw1yxWW3ke0nW8/qP0kSn2Nt+nGDDY/QjV4FUjMzA9jQeh08k09FeIjORf+y4TpSFUhtcAK9qsMegSvGhuPFBthPI1HjN8XVRqTQyFee6z7LZLB2PlRDlwd/YoZQbur+Ds9OmqFZjcfvAMwY5KZQoekgWgA5Tmaf2CNo8tEBmjfqj4hzwdQgvshBlKs+ULOhQBzJndveTYtrdSddkcaBfBjJvdveS3cfDRa+O9WW7vmAKZzF6khSLixHchzLrp0y71AhHGRdzwMU8XuLWtELIyAKMSiPMUVv4ntmoa5wdY290Ho/VU2TSRfzdTH49OKlY4TjLekfcSJy7x67rwlUgiwinGu8njizqUGWw+vvSkussOGGYZ8VCxZcXvncR+S8xbj+Qd0zhUr5rihLle6YoU54xRYVyGYWlXDHFFOWqKaYpa6aYoTxrilnKc0am/X/p+334Pocz5+Gb0oNvygvwTfkBfFN+CN+UH8E3pYJvyjp8U16Eb0pt4G0pUxGqmLF0+O0lWrWhajkzuMA+D2TNiPZFbwTSMEp11Ukpdb+lVf4k+euix2Prk5K6NWlsiLu6abP4+HTGb25dMuqGnatPjCPloT109dg0oVP7zeHfzl3dKi65q4hqw6g2IpgEgDbotwLxTfNsOxDzll18/EMwAtTPqTVUU3Xt1JUaD/K8q7sYnuTA44hjoI3rrq7ASxNTVkPz4WcpMhX7g7yplWrnsHX5ZFs1hzakwtsi9pVknKbtveRVSZWV96q0Xj6fhiF6ehbXhLZs3cmkEqFRM87x8K4qRdmRlnLUP0Lnl6K+B5xxdkHrwzHuRN1BtTXsdPj5ZiNrCyaGprS9E6BkLF0VY1HlWZxjdA1rHW/cEp6upycW8Sk2mY/CSnV9lI9uI80rdllm0ahKdXSX9lnsqzb9MjtoWB1nP2mqNu7qYVuNKlI9Vb4GtAd2Vt34UA8rPuqgUVU12+jayGM0LmvGfwzIYlz560arJtPv4JZqp81izV1Bc9+YLPdOL2+9yX4r56aRpv9Woy0jl/0cjvltEeDfOSh2U9ZAvTVpiHEB2QsYLtVE5w7N3cYg4jr7H53T/W/NwiA5q22N2Tz14erpKJI7THmcZZtZ1vUozVG0k8Q+RWKrw4nBTY3hWG7KBgbk7j+s38M94K4siw+8bSSAuM/axKie6uDuHlcjNOwruQ8YmWPHuQ2wA+ASxObYtSsdALvSJecOwGfkEDwgh+AhOQS75NwE+Jwcgi/IIfiSHIKvyLkF0COHYI8cgkfkEDwmpw2wTw7BE3IIviaH4BtyWgAJOQQpOQRPySF4ZmRzUuZvqch1oO8sugH0ve0aKFtQfjByZcLOqFh23yKyDywi9dDI1Qn1iIqlDiwi9blFpP5o5NqE+hMVS/3ZIlJ/sYjUF8aXmYGU13oveUcHfwIrvqx+AAEAAf//AA94nKVaC3Bc1Xk+/zn3uXe1e3fva6V9aXe1u5JWXq32aUlIun7IGGTZlsAPGTABHEUOIQkUcAgMESUEKMnQItl0SId2mEwyzWNipqV5kpB0ChNDQzLBtBPaztQJM23iaWdo+gi1rvufu7ItOWCcZnX3nHPP8z/nf33/WRFKsoRAlX6RMCKTPrdACGGUsH2EAtApQinsErAEWwiRJVHAbiwihku1SCZSrEVyWdD/7ZVX6BdX9mbpPI4VycDZf2bfZjFikwoZIbPkIByZOm7s3u9eTYF0hDpIaJ6wEITYQQKKAtfroCoBST0YgaAkSMGDRBO0w2FQiBRUpP0kIItU0ALCXBRCoY4Z0tERCG2OTx13cMapS8yoqIH533LKGE654/KmFOYva05350XTwTzOFwLl0P9vwrm5Obf3mmtGR6tDjnPNwWsOXrd/dHZ0dmpLqzE0Uh1xKk5lJjIUi/RarmGXQCpBNkSTkGnUC416mZbAyoiWaZshmpMKJShmZOxRzJbpGDhZybRr1Wa94EhyiKVgVKo2i2UoForQqI/TUajaSYDOeNc10Xwiyv4QArFi6iHvavoMWOlcKJQOdW/wrhpIZs3Ozm5DORKMRoMd0einFUnUBCqEQ/ktM7vdHsdWRVUUJe9zYrjL+na6j6Yh2Fns2tGnJ4SO7nj0pkfqzshI3lEBFhfBiHeHvjAR6Yrgc1+XbfSE9A4l1tWRixgmHPm5FjOCycLPUIRR9h4QCF0kSdLvFgNAiQMCpS4AoWSBARXoggiCcCN2TJKk4ZiOFC3l7WYLmmWQZBXKIEuW6UClZjs2/zrwL9H+EDwfpYVG1Lvdu9WoG2YUvgf8QwMAn1KkDljSN3RT3TsGCxHQ9Zite7fzZhE4SQSLZxdRZzhdWTed7HSsAJGAgMvbyDTvMoPUw2SfRfUSFDg9KZ+eFNKTyxah0igUC/xbBOnSC8LCpen16SFnF+nZy6aniasWQmAjO0KAx1JtIT3NVpN/W/RtpMe7zacHPuj98So98PhvQQ9+F5Fvn2jzzUE+BZBj1EVeUYHzjdAF3nM936AgySCloNni54Tk1PGccnhG/FukMVzX2+Kvi8Qc9df1Js6vSz9+abp9uhg5yr5OnyQacVyT0wnT/IRmeNtkPYKH0xaeQi6TlRx4KrErAR9ppadXxOl069kExOH9jR07Gv6Za2c/wzrYZhIk0l8EREDVK9RxqG1FTKkIUIhj5+aOHU3vs5CP745fmAc+8i7jm7jhgoTj7RbQt+Jx7ym+GMy/43jcy7E1e7mI0f5eoFl1wJZwL4XWRXuh9+H0n21OTTX9ucbP/rtYZgdIlIw8p+J4cKeO96DljKDHoAt8RuQawaXQ/IXX190495xlWroQLYko14U6rqniwraJvMzRnt6Ed29yeCYBLj2U3D2cWNmX6Isk4CFe9l6ghxLDu5NYh/qMMixwnQqTAhl1N6aAMi7AAlkggigsSCAycQH9GFvw3dg0d2OzBL3YNl3XC3rBjHU6umyUCJpHM0Wr47ReBgZSdpAW6hNIUhr8BCmjH3ztW4/t3v3Yt9qZ7D2mGIr8Q1muyab8R1DFtKoobPF8D5553/Mek2Xlh4rf+AQMKUoVh+H5XaA9TUqk4VZjukIErn94QCKIBOaRYgGl/xD6UkGcJqIozPBdTVrRLrMrKpkllPeqY5th1EdJRprRTmSLnO4iWg9sinaPg16G7hDoNg2c0FKapp04oUEAS5inAxdeG2CffvTR094vMIWvnNC0QJq3pbRA4OWXA2sGrKiPnj7fd90+wqTG91Hrz8QEgfJ9UBBQjedxDwSfQ3ju63THTJgJR8d9COh40LNUU9QMAWvWB6GQDeMmMJHMNO4KE7s6gdvEhDdfxIsRWW7g8S8fxaQhSUePShJ/P7rM32X56Hqe0EnZUmqKsrSkYGbJy0uY1GV5eVnGzFKWuI6f503eza7lDNcYLsEwg9xBneGcQDFWkWIZ7aKKBCOVaIwwQdVUuX6iP6HEu8caNU2w4GEsWeYoFuBhrLIs7x4s+DU/Xy149/i9rd/ojOPJqq0kHIGRPvKkq+mAIutG0WZNTB3XUAPz6O+AyQzkeY7mJCbPKSARIk1jJpFZEYhEtiHQsbFz6kJnbPWb9hJZZjOEsYCMunt5syEg0XrMTE/ejJjdqlPK1MYRLhRylVwFs6xkVaxKDjPTdmqNXLbQVi4bkQltnpx/fHlBWfrxsrKw/Pj8mwfMoPZp2ZA/EwgaB9jy/OGjyuHl5cPK0cPzy+zLtv56IPC6bvuyB6t8SpJRMugOjLYatd5U25cFOcdom2PU5xjzOTa4oSfXZwl6ybiki81fsvU9/C8lv5t/pu/pLtfoXQLRdcXdMNyoDVWKyUSMb77jXTZfHshl/c2/iz+fgAq68/w7NJ739RX2tiKG3tlpUgnAI+/a/B57p8HL2Dkl7z/7EHsY940+jGsnAURVQHjM8QFCGfONPJdeyibrZj3CnQwq43n/vNa/fb1rexcM1OPbVj61LV6DDeteb4nFIFHZurVCvxqLeW8Obd06xGMiUkIcdxLXd0gc7cMzqyrnowW4XgOVKLKq7AuATFBp9hJUkRnUIEICEo8tqti5h3eGhffo65ba3fwKSSXS/rUDGJOnMJPZLB/K1c9JJGKxRDqRTiVj8Vg8Gsk3MhE9aJUQ9ucsrnsIEmqZarMRqSNwaOQAQzf+pT/wPvxkNVEsJFghUSjGa0+u/B19wXsZ4ULojjuKiTP/kygWE0xJFO8482E6tvLXMHbWt0ESWcSzwD/SidHjANlItpLd5Ab3ADdPQIS5sBhiWKAy0DkiBwNUUWVlrkOjqiSp0zxXpRkdJFWazOe6ugjZOb39ys2brhhtNiqDfb25gfxAV7Yrm07iAp1NoxaJlLhRwVhFSkLO5DC9vaN6YRDERr1Z82MTf48Z3C0gsvCxVbbQYO9Spr+fiT3S2fcKHcrF6B/EcqlQ2Lu3J5HM4R4XG1Mri1NwT9jWdTv8dNgOh89n9Pv3x/OFrvsB7P6uQqErlhEF6nbjxz3zwlQDLT5pTMHPtUhE874Y1PUg7H3nMpfpPXiOX8Jz7ECJGnabaNAFxDEMkS+j81wMBAbCHFd6X7y5A6VkEoFwPGYbOg4L1qUweqE1HM4Zpi/ljUiNV+DJWPAN709mR+j4yOzsSKY/6YVSfb9O9uPDFr0nVn49PDs7TH8xPHvmuWR/XwqW+1MA/cl1tkZA5Bl1w7KE9IhkDNtujEO41GJ5KLZkB11eIXvttVCDN089f8/P7ipf/+Bfeq/sgTffeP6eN+4qP3g9158LeCFGekjdHSIgcdyGIsIQ3zDcp0iID3j4PkUyGdGzmUTcMvVYJIZwTV8PGIAHrDxeNXw/E+EvjYsQgvdGur801l9KZqtZfC4CBCdLYyV8vNNOJuN4/xvr7o6twQB+PEIEypAZGLUTKrRJJWwaXSQnkZFJy8rlDdEoRcwUtFFXrh1HpwBJzJbBd4LnoNNjuuPod790550vnX7pTifjwOJjvJo34ptfe+dLd2Mn7uYvnFeaDJIJst2d1CSVoVIxtHdzAUFhvp33C2jpfasxWa1ku6M6JSOtykR1or/YPZgd7HL0dDQdkEmYhoOhEicxCaaNEX1zDO0ju+h9fXv9ovZ6AeZ/Nbhly+CvKpvplqELRfhvzDZXzlW0S3DdlsH/rGzFmqGtNH+hYeUNrOc931pf78vcSdx3iZikQj7qhnosXURbkrMpqgWGGnE0pLYPJrmDC2wigsBtIdMYN7P92Gr6ng+x59zaNrdzTTVjwvRqo8CN6F+VWrFYN/IRMnyvKaE6zlocxkAkJaBmjdMJiISEHMrfILDFFdK3Lzr69AP3D9z/wNOj0X19Zxap3JkoOYxYpaQjSeHaZ+77dF/fIw/fWyyw0khPNFxdvHn3rps/UQsbPSPe2ytvMdWOhkKGIctUD234vf3bJ2+6OZv1MR4MIZGvop9Lu4l1vtyP1hBjiESjGguVjAyGTr6y15u72M2Zcjlz5mlM4dXy5jI+xPdbBAI4338RZD/6roybEpk/3TTPoe14EJUb/MNReZTrFAqxcFE+efMkPvDquizQrl3ztNdc5WGYDJFR0N3gaJVSeah3lYdB5FKVyCIV5YOESiKVDhFJECWMeQQmCuyQbwOUNn8Z46EbaMD5y7lfa4+k87/dUC4aQ5ccykeJMhHn1g50m5c7Bq339OpIBtv4VZ0NZHhjo14u9eQSXZahSiQMIRUZt94p51iZoo6FgSHcLAzSMsUXGkG3luHuCri/8j3X0tjevWP0pzz9FEhxw0yJ4vGAo0UFdgMNJOMJWd7en6ZLqX7vKvc6Fx9W2ju28iN/WGVsr/dJqgQ1UfT+1QgI4m1Mi0ZVdR+8kiqVUt4+SG4Yn9g/Pj6wGmus2p+4j7ZEQsVp1EPGUS6qkCjSGayik0YuZ+S6eVSa8S1fpm2IIxkuNrlMxDfO8DVvKV0qpeG20hUluI0XvSVe/AEmv9HUxrnFs99nz7MRlNskKbo9NsqqgqEl5RdV/EIPyxjd0xsJScSxk2wI4VJPW1RtMQQFjL/Gqe3YURljZR4hU+HYsdeOHYMDU9/42tar6/WlF1+8+n2JK182jGjDfIk3vXZs4Iqe1uTVL/7Ncr1+9fu8//jICaOBarHqC7+M53Et+RC5m9zuqh+69YN1gV87tO+N7VWfgGKHfoJyZV2VO343Ygj81CjsOd+LW6Su1bv2OWzltxTnBlKYROEJ3n3XHbd/+LadO2KOiEa7DBgeF3n8xAMR/w0lhkf//N4Sg1AULcDISpZ4wYdIaYxgsMaxsR+/zvTfEOsjXEr7t2atcZiAcT5Vq8kLrTaiGoK2vKFtYWdYIqJPZDJhUdQ69AGjW5L0YjA4+FBFCxZ1c8BAEewIimI4k5nQIwnUb1SDRCTs+kOCHeEBsz1Eq2zeUtG0Xt0Y4GLboYmCnsm4up4QuB3yhGs/9rE/P3JkD7yoJwVmbNw4EdaLWkenFmZUUjuCAwPBDlWSY0FDEAKFSHhi43CUCUndrNo5SX7HMdqGDZo/RjMFphV0fWLjRuPCGO+tuz5/Fz4oTjXEYX+Lsn4L2exO1IbQ4+/fi6ETjYQpEZnLAQplPhADkcJvAJVbbtq+7YrR3kKiy0E4lufwhPqX6vUWvyzNc37wUJLzDdEqHnut6vPDyfO4kl/O88oqr7JMzsx236KIXUzkgyXJpixyBrWQeey2eJ/j9DXHm30OP7olzQ51hEJ6eti0YzHbHE6Hw1hha3CYB1Axy9o4fqEpyVu8J+Hc50OBWBBHh9J/qvU1J5r+zGlVZPicVHVRoqzTtFsZf3LGJFFXX2OiKIiqiFVWZ6eFk2Y2WmZMkAU98BNRFUQlEBDROgqvqyE0maytz/TsI8IonvEV5BDZ4rqpLgpCfxG9Kp6zWxMpwkoBhAVuPBfQQYnkMMF1fJMqziIXxG2Hbtm9a3Sk2UjGo3jMou1kJbmJwstFuoUSXhhc1RIeufpqgIIvj0PR1wQsO2iReOeqgy++KrVHczVoVtvqkjqnSBK/jmLD4QDTgAp1NZE+HkICmWL8sne7fgM6blnGQOwGfXvvLw0FgbsQejaVUGsCBKmqn8gdyD5wojkcqovR6LOD9vhpp6ze0Hll5w1q2Tk9bg8+G42K9dBw84Q1PKKCwtToqd49XU8FFRYCgdqs0XMyIqPTjJzsaTAbwWcYbfdTXXt6T0VVpoB6xLJqR7r7x045zfBTfZsli2atkyMjJ60staTNfU+Fm86psf7uI0FuLs+dfZHEXOviu2x0MRSl1r92e89DKdLd1rB1ORsLBIOXQd8qRln1NTpJkA1k0t1M0NNSUfJxt8hxt6Tg0UvCgTUAXOb32pOpJJC+Yk8uuSE1EHOiEVUhOujoZEUffa9GCzSaDQFi9Oo4B7DZwpgfIiZRD7mVowRx+Myj3/nRdx6dwUz86TdvvfWbPPF+aiYSvYk/w9RcRPy+0O7A+7En2l0w8Y4mjTeNZNJ4LlFMkvWxjkNypOT28l9GBY4SsBqty9yFa+m2vbcsw/HvRNfdSJNVO9zwI9aIjwEujnB+5Uc27eeiW+iVcnYolxv6p85crhOMzmy2k8fuebR1b5yPK0bJFvIBssO9ioSIqoTUfeEOlLMAlUCR5jhC5PAQTxrjeE2Tp4ksazNEk7XJ+UM3Hbxu7trZXTuuunKTa9SNBv/UdKeE0Sj/4dEnmP9q6LzHu8Fj9hRwmI0xPDo3tM2ixftEzoWyuTbHRgGtJB+S5oyD+4NqCaUsUFKDXwmqA2rQT77iV/hN+1aeCQQordJAwBuBcrcov472aCaobprYsPLDDRObeL8fDwYa8b+PNwKDP1aD8EtvkU8Ji7zpXcqeST+28kg4FgzG6D/slCiVbsEVVx5pzexs0XtxZTX40VguF/tocK0sxEmNuFy2y0kq8zBfAmmByIJ8GIVcgGmqoK8Bhn0PoG7yO38QJoEMVXpyGOxHwx0BBUUoDnGVh3B+XJlsR5uj6DRsHpv5P99CcdwHP1yQuENpthweJqP+luk4TaFeffyJZG/yCS7T7UIyCbec2lKc2Dnxuc9/7v5NmyZ2vfranlPh/pT3hU3Hjz9YLj/op/D2Eh+zlOhLnC+s/OPP9vzk1Z3upk2fwLE4Q++WU+FUP0QwAPnkV48/ODj44PGvXri33IXnYGFMsMvd0d1JBRlcSeUZnsc8IjpRBvEQYjmRymL71oP/AwKZVfhvuNscm5JSf082mbCHnCE9HNQUmVjUCqCuZ87rBwrTuVseQHDUvuyJ+N63sfrTjo3CJYTPDMXz+UaezeTrhbz37YSxG992G4l4Xv+uMWx8V88vFrrAxU5xfu3Fc++FrgL9kjXn3cdvfuCTc1Y+Hou+blmvR2Px/P8BEpxdcHicY2BkYGAA4iUXFTLj+W2+MsizMIDA5c+f2xH0/wZWPeYGIJeDgQkkCgBf1AyCAHicY2BkYGBu+N/AEMOawAAErHoMjAyoQBsAVCkDJAAAeJxjLGNQYgACxlAGBuaXDDosQDYLAyMjEDOA2YwMzEA2NxgD2awJDHYQNWiYkYERiEHsVCDWBuIGIA7FqhYTq0P1GrPYMTCBMUJOFUz7MzAAAGi0Bh0AAAAAACgAKAAoAWQBsAH4AkACjAKyAtIC8gMYA1oDuAQcBIYE1gVaBdgGVAaUBxoHvggOCDQIiAjMCUgJyAnwCioLDAtMC5QMgg00DfIOQg6qDvgPsBA0EKYAAQAAACsAdwAGAAAAAAACACYANABsAAAAigF3AAAAAHicdY9Na8JAEIbfaNQWivTY45BL9bBhE6L4cZX4D3oXSTSQGkjWj0v/QQs99dxjf2ZfN0uhBxNm55mZd2dnADzgCx6un4cBHh134CNw3CW9Ovap+XbcQ+pNHfcx8D6o9Px7Zob21pU7uMOT4y5WeHbsU/PpuId3/DjuY+i9IUMJhQJbVDgAWamKbUX4y7RhagNjfY0drwlihND0C9r/Nm1uysycFlMVMUJaHUxa1btM4lDLQtxjpKmaq1hH1Nya54WVGg0r7QORe3xJM/xzbHCkr7Cn5jqqYIQTNSGHSDBmrNhbMLNU85zYDgpru4x20cV2TyyfeQasBzbK7dlwmKxuCg4ecY2lGJNvjqbaFwcjo5MO58lYVCkzUbVMtKi1xJruIlEi6izBOhCVi2puLvsLTjBRRQAAAHicbc3LNsJxGEbh3/47JHKIQomcwlomfV8Uw5Cb6ApMzLoCF46lPfSu9a49fEpV/vb9VbL8t/vfU6oyp2KFVdZYp8YGdTbZosE2O+yyR5N9DmjR5pAjjunQ5YQep5zR55wLLrnimgE33HJXW3x+zMbDoQ2bdmQf7KMd24l9ss92al/sq32zM/u+bOiHfuiHfuiHfuiHfuiHfuiHfuiHfuiHfuqnfuqnfuqnbk5+APaSXBUAAEu4AMhSWLEBAY5ZuQgACABjILABI0QgsAMjcLAORSAgS7gADlFLsAZTWliwNBuwKFlgZiCKVViwAiVhsAFFYyNisAIjRLMKCQUEK7MKCwUEK7MODwUEK1myBCgJRVJEswoNBgQrsQYBRLEkAYhRWLBAiFixBgNEsSYBiFFYuAQAiFixBgFEWVlZWbgB/4WwBI2xBQBEAAAA"},function(e,t,i){i(499);var n=i(37)(i(208),i(491),null,null);e.exports=n.exports},function(e,t,i){i(500);var n=i(37)(i(209),i(492),null,null);e.exports=n.exports},function(e,t,i){i(501);var n=i(37)(i(210),i(493),null,null);e.exports=n.exports},function(e,t,i){i(502);var n=i(37)(i(211),i(494),null,null);e.exports=n.exports},function(e,t,i){i(496);var n=i(37)(i(212),i(488),null,null);e.exports=n.exports},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-table",{staticStyle:{width:"100%"},attrs:{data:e.proxies,"default-sort":{prop:"name",order:"ascending"}}},[i("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([["default",function(t){return[i("el-popover",{ref:"popover4",staticStyle:{"margin-left":"0px"},attrs:{placement:"right",width:"600",trigger:"click"}},[i("my-traffic-chart",{attrs:{proxy_name:t.row.name}})],1),e._v(" "),i("el-button",{directives:[{name:"popover",rawName:"v-popover:popover4",arg:"popover4"}],staticStyle:{"margin-bottom":"10px"},attrs:{type:"primary",size:"small",icon:"view"}},[e._v("Traffic Statistics")]),e._v(" "),i("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[i("el-form-item",{attrs:{label:"Name"}},[i("span",[e._v(e._s(t.row.name))])]),e._v(" "),i("el-form-item",{attrs:{label:"Type"}},[i("span",[e._v(e._s(t.row.type))])]),e._v(" "),i("el-form-item",{attrs:{label:"Addr"}},[i("span",[e._v(e._s(t.row.addr))])]),e._v(" "),i("el-form-item",{attrs:{label:"Encryption"}},[i("span",[e._v(e._s(t.row.encryption))])]),e._v(" "),i("el-form-item",{attrs:{label:"Compression"}},[i("span",[e._v(e._s(t.row.compression))])])],1)]}]])}),e._v(" "),i("el-table-column",{attrs:{label:"Name",prop:"name",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Port",prop:"port",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Connections",prop:"conns",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic In",prop:"traffic_in",formatter:e.formatTrafficIn,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic Out",prop:"traffic_out",formatter:e.formatTrafficOut,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"status",prop:"status",sortable:""},scopedSlots:e._u([["default",function(t){return["online"===t.row.status?i("el-tag",{attrs:{type:"success"}},[e._v(e._s(t.row.status))]):i("el-tag",{attrs:{type:"danger"}},[e._v(e._s(t.row.status))])]}]])})],1)],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"app"}},[i("header",{staticClass:"grid-content header-color"},[i("el-row",[i("a",{staticClass:"brand",attrs:{href:"#"}},[e._v("frp")])])],1),e._v(" "),i("section",[i("el-row",{attrs:{gutter:20}},[i("el-col",{attrs:{id:"side-nav",xs:24,md:4}},[i("el-menu",{attrs:{"default-active":"1",mode:"vertical",theme:"light",router:"false"},on:{select:e.handleSelect}},[i("el-menu-item",{attrs:{index:"/"}},[e._v("Overview")]),e._v(" "),i("el-submenu",{attrs:{index:"/proxies"}},[i("template",{slot:"title"},[e._v("Proxies")]),e._v(" "),i("el-menu-item",{attrs:{index:"/proxies/tcp"}},[e._v("TCP")]),e._v(" "),i("el-menu-item",{attrs:{index:"/proxies/udp"}},[e._v("UDP")]),e._v(" "),i("el-menu-item",{attrs:{index:"/proxies/http"}},[e._v("HTTP")]),e._v(" "),i("el-menu-item",{attrs:{index:"/proxies/https"}},[e._v("HTTPS")])],2),e._v(" "),i("el-menu-item",{attrs:{index:""}},[e._v("Help")])],1)],1),e._v(" "),i("el-col",{attrs:{xs:24,md:20}},[i("div",{attrs:{id:"content"}},[i("router-view")],1)])],1)],1),e._v(" "),i("footer")])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticStyle:{width:"600px",height:"400px"},attrs:{id:e.proxy_name}})},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-row",[i("el-col",{attrs:{md:12}},[i("div",{staticClass:"source"},[i("el-form",{staticClass:"server_info",attrs:{"label-position":"left"}},[i("el-form-item",{attrs:{label:"Http Port"}},[i("span",[e._v(e._s(e.vhost_http_port))])]),e._v(" "),i("el-form-item",{attrs:{label:"Https Port"}},[i("span",[e._v(e._s(e.vhost_https_port))])]),e._v(" "),i("el-form-item",{attrs:{label:"Auth Timeout"}},[i("span",[e._v(e._s(e.auth_timeout))])]),e._v(" "),i("el-form-item",{attrs:{label:"Subdomain Host"}},[i("span",[e._v(e._s(e.subdomain_host))])]),e._v(" "),i("el-form-item",{attrs:{label:"Max PoolCount"}},[i("span",[e._v(e._s(e.max_pool_count))])]),e._v(" "),i("el-form-item",{attrs:{label:"HeartBeat Timeout"}},[i("span",[e._v(e._s(e.heart_beat_timeout))])]),e._v(" "),i("el-form-item",{attrs:{label:"Client Counts"}},[i("span",[e._v(e._s(e.client_counts))])]),e._v(" "),i("el-form-item",{attrs:{label:"Current Conns"}},[i("span",[e._v(e._s(e.cur_conns))])]),e._v(" "),i("el-form-item",{attrs:{label:"Proxy Counts"}},[i("span",[e._v(e._s(e.proxy_counts))])])],1)],1)]),e._v(" "),i("el-col",{attrs:{md:12}},[i("div",{staticStyle:{width:"400px",height:"250px","margin-bottom":"30px"},attrs:{id:"traffic"}}),e._v(" "),i("div",{staticStyle:{width:"400px",height:"250px"},attrs:{id:"proxies"}})])],1)],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-table",{staticStyle:{width:"100%"},attrs:{data:e.proxies,"default-sort":{prop:"name",order:"ascending"}}},[i("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([["default",function(t){return[i("el-popover",{ref:"popover4",staticStyle:{"margin-left":"0px"},attrs:{placement:"right",width:"600",trigger:"click"}},[i("my-traffic-chart",{attrs:{proxy_name:t.row.name}})],1),e._v(" "),i("el-button",{directives:[{name:"popover",rawName:"v-popover:popover4",arg:"popover4"}],staticStyle:{"margin-bottom":"10px"},attrs:{type:"primary",size:"small",icon:"view"}},[e._v("Traffic Statistics")]),e._v(" "),i("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[i("el-form-item",{attrs:{label:"Name"}},[i("span",[e._v(e._s(t.row.name))])]),e._v(" "),i("el-form-item",{attrs:{label:"Type"}},[i("span",[e._v(e._s(t.row.type))])]),e._v(" "),i("el-form-item",{attrs:{label:"Domains"}},[i("span",[e._v(e._s(t.row.custom_domains))])]),e._v(" "),i("el-form-item",{attrs:{label:"SubDomain"}},[i("span",[e._v(e._s(t.row.subdomain))])]),e._v(" "),i("el-form-item",{attrs:{label:"locations"}},[i("span",[e._v(e._s(t.row.locations))])]),e._v(" "),i("el-form-item",{attrs:{label:"HostRewrite"}},[i("span",[e._v(e._s(t.row.host_header_rewrite))])]),e._v(" "),i("el-form-item",{attrs:{label:"Encryption"}},[i("span",[e._v(e._s(t.row.encryption))])]),e._v(" "),i("el-form-item",{attrs:{label:"Compression"}},[i("span",[e._v(e._s(t.row.compression))])])],1)]}]])}),e._v(" "),i("el-table-column",{attrs:{label:"Name",prop:"name",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Port",prop:"port",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Connections",prop:"conns",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic In",prop:"traffic_in",formatter:e.formatTrafficIn,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic Out",prop:"traffic_out",formatter:e.formatTrafficOut,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"status",prop:"status",sortable:""},scopedSlots:e._u([["default",function(t){return["online"===t.row.status?i("el-tag",{attrs:{type:"success"}},[e._v(e._s(t.row.status))]):i("el-tag",{attrs:{type:"danger"}},[e._v(e._s(t.row.status))])]}]])})],1)],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-table",{staticStyle:{width:"100%"},attrs:{data:e.proxies,"default-sort":{prop:"name",order:"ascending"}}},[i("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([["default",function(t){return[i("el-popover",{ref:"popover4",staticStyle:{"margin-left":"0px"},attrs:{placement:"right",width:"600",trigger:"click"}},[i("my-traffic-chart",{attrs:{proxy_name:t.row.name}})],1),e._v(" "),i("el-button",{directives:[{name:"popover",rawName:"v-popover:popover4",arg:"popover4"}],staticStyle:{"margin-bottom":"10px"},attrs:{type:"primary",size:"small",icon:"view"}},[e._v("Traffic Statistics")]),e._v(" "),i("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[i("el-form-item",{attrs:{label:"Name"}},[i("span",[e._v(e._s(t.row.name))])]),e._v(" "),i("el-form-item",{attrs:{label:"Type"}},[i("span",[e._v(e._s(t.row.type))])]),e._v(" "),i("el-form-item",{attrs:{label:"Domains"}},[i("span",[e._v(e._s(t.row.custom_domains))])]),e._v(" "),i("el-form-item",{attrs:{label:"SubDomain"}},[i("span",[e._v(e._s(t.row.subdomain))])]),e._v(" "),i("el-form-item",{attrs:{label:"Encryption"}},[i("span",[e._v(e._s(t.row.encryption))])]),e._v(" "),i("el-form-item",{attrs:{label:"Compression"}},[i("span",[e._v(e._s(t.row.compression))])])],1)]}]])}),e._v(" "),i("el-table-column",{attrs:{label:"Name",prop:"name",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Port",prop:"port",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Connections",prop:"conns",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic In",prop:"traffic_in",formatter:e.formatTrafficIn,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic Out",prop:"traffic_out",formatter:e.formatTrafficOut,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"status",prop:"status",sortable:""},scopedSlots:e._u([["default",function(t){return["online"===t.row.status?i("el-tag",{attrs:{type:"success"}},[e._v(e._s(t.row.status))]):i("el-tag",{attrs:{type:"danger"}},[e._v(e._s(t.row.status))])]}]])})],1)],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-table",{staticStyle:{width:"100%"},attrs:{data:e.proxies,"default-sort":{prop:"name",order:"ascending"}}},[i("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([["default",function(t){return[i("el-popover",{ref:"popover4",staticStyle:{"margin-left":"0px"},attrs:{placement:"right",width:"600",trigger:"click"}},[i("my-traffic-chart",{attrs:{proxy_name:t.row.name}})],1),e._v(" "),i("el-button",{directives:[{name:"popover",rawName:"v-popover:popover4",arg:"popover4"}],staticStyle:{"margin-bottom":"10px"},attrs:{type:"primary",size:"small",icon:"view",name:t.row.name},on:{click:e.fetchData2}},[e._v("Traffic Statistics")]),e._v(" "),i("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left",inline:""}},[i("el-form-item",{attrs:{label:"Name"}},[i("span",[e._v(e._s(t.row.name))])]),e._v(" "),i("el-form-item",{attrs:{label:"Type"}},[i("span",[e._v(e._s(t.row.type))])]),e._v(" "),i("el-form-item",{attrs:{label:"Addr"}},[i("span",[e._v(e._s(t.row.addr))])]),e._v(" "),i("el-form-item",{attrs:{label:"Encryption"}},[i("span",[e._v(e._s(t.row.encryption))])]),e._v(" "),i("el-form-item",{attrs:{label:"Compression"}},[i("span",[e._v(e._s(t.row.compression))])])],1)]}]])}),e._v(" "),i("el-table-column",{attrs:{label:"Name",prop:"name",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Port",prop:"port",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Connections",prop:"conns",sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic In",prop:"traffic_in",formatter:e.formatTrafficIn,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"Traffic Out",prop:"traffic_out",formatter:e.formatTrafficOut,sortable:""}}),e._v(" "),i("el-table-column",{attrs:{label:"status",prop:"status",sortable:""},scopedSlots:e._u([["default",function(t){return["online"===t.row.status?i("el-tag",{attrs:{type:"success"}},[e._v(e._s(t.row.status))]):i("el-tag",{attrs:{type:"danger"}},[e._v(e._s(t.row.status))])]}]])})],1)],1)},staticRenderFns:[]}},function(e,t,i){"use strict";function n(e,t){e||"undefined"!=typeof console&&console.warn("[vue-router] "+t)}function o(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:n(!1,'props in "'+e.path+'" is a '+typeof t+", expecting an object, function or boolean.")}}function r(e,t){if(void 0===t&&(t={}),e){var i;try{i=a(e)}catch(e){i={}}for(var n in t)i[n]=t[n];return i}return t}function a(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var i=e.replace(/\+/g," ").split("="),n=Le(i.shift()),o=i.length>0?Le(i.join("=")):null;void 0===t[n]?t[n]=o:Array.isArray(t[n])?t[n].push(o):t[n]=[t[n],o]}),t):t}function s(e){var t=e?Object.keys(e).map(function(t){var i=e[t];if(void 0===i)return"";if(null===i)return Ce(t);if(Array.isArray(i)){var n=[];return i.slice().forEach(function(e){void 0!==e&&(null===e?n.push(Ce(t)):n.push(Ce(t)+"="+Ce(e)))}),n.join("&")}return Ce(t)+"="+Ce(i)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}function l(e,t,i){var n={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:t.query||{},params:t.params||{},fullPath:u(t),matched:e?c(e):[]};return i&&(n.redirectedFrom=u(i)),Object.freeze(n)}function c(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function u(e){var t=e.path,i=e.query;void 0===i&&(i={});var n=e.hash;return void 0===n&&(n=""),(t||"/")+s(i)+n}function h(e,t){return t===Pe?e===t:!!t&&(e.path&&t.path?e.path.replace(De,"")===t.path.replace(De,"")&&e.hash===t.hash&&d(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&d(e.query,t.query)&&d(e.params,t.params)))}function d(e,t){void 0===e&&(e={}),void 0===t&&(t={});var i=Object.keys(e),n=Object.keys(t);return i.length===n.length&&i.every(function(i){return String(e[i])===String(t[i])})}function p(e,t){return 0===e.path.replace(De,"/").indexOf(t.path.replace(De,"/"))&&(!t.hash||e.hash===t.hash)&&f(e.query,t.query)}function f(e,t){for(var i in t)if(!(i in e))return!1;return!0}function g(e){if(!(e.metaKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.target&&e.target.getAttribute){var t=e.target.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function m(e){if(e)for(var t,i=0;i<e.length;i++){if(t=e[i],"a"===t.tag)return t;if(t.children&&(t=m(t.children)))return t}}function v(e){if(!v.installed){v.installed=!0,ke=e,Object.defineProperty(e.prototype,"$router",{get:function(){return this.$root._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this.$root._route}}),e.mixin({beforeCreate:function(){this.$options.router&&(this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current))}}),e.component("router-view",Te),e.component("router-link",Oe);var t=e.config.optionMergeStrategies;t.beforeRouteEnter=t.beforeRouteLeave=t.created}}function y(e,t,i){if("/"===e.charAt(0))return e;if("?"===e.charAt(0)||"#"===e.charAt(0))return t+e;var n=t.split("/");i&&n[n.length-1]||n.pop();for(var o=e.replace(/^\//,"").split("/"),r=0;r<o.length;r++){var a=o[r];"."!==a&&(".."===a?n.pop():n.push(a))}return""!==n[0]&&n.unshift(""),n.join("/")}function x(e){var t="",i="",n=e.indexOf("#");n>=0&&(t=e.slice(n),e=e.slice(0,n));var o=e.indexOf("?");return o>=0&&(i=e.slice(o+1),e=e.slice(0,o)),{path:e,query:i,hash:t}}function b(e){return e.replace(/\/\//g,"/")}function _(e,t,i){var n=t||Object.create(null),o=i||Object.create(null);return e.forEach(function(e){w(n,o,e)}),{pathMap:n,nameMap:o}}function w(e,t,i,n,o){var r=i.path,a=i.name,s={path:S(r,n),components:i.components||{default:i.component},instances:{},name:a,parent:n,matchAs:o,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};if(i.children&&i.children.forEach(function(i){var n=o?b(o+"/"+i.path):void 0;w(e,t,i,s,n)}),void 0!==i.alias)if(Array.isArray(i.alias))i.alias.forEach(function(o){var r={path:o,children:i.children};w(e,t,r,n,s.path)});else{var l={path:i.alias,children:i.children};w(e,t,l,n,s.path)}e[s.path]||(e[s.path]=s),a&&(t[a]||(t[a]=s))}function S(e,t){return e=e.replace(/\/$/,""),"/"===e[0]?e:null==t?e:b(t.path+"/"+e)}function A(e,t){for(var i,n=[],o=0,r=0,a="",s=t&&t.delimiter||"/";null!=(i=Ue.exec(e));){var l=i[0],c=i[1],u=i.index;if(a+=e.slice(r,u),r=u+l.length,c)a+=c[1];else{var h=e[r],d=i[2],p=i[3],f=i[4],g=i[5],m=i[6],v=i[7];a&&(n.push(a),a="");var y=null!=d&&null!=h&&h!==d,x="+"===m||"*"===m,b="?"===m||"*"===m,_=i[2]||s,w=f||g;n.push({name:p||o++,prefix:d||"",delimiter:_,optional:b,repeat:x,partial:y,asterisk:!!v,pattern:w?L(w):v?".*":"[^"+C(_)+"]+?"})}}return r<e.length&&(a+=e.substr(r)),a&&n.push(a),n}function M(e,t){return I(A(e,t))}function k(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function T(e){return encodeURI(e).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function I(e){for(var t=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(t[i]=new RegExp("^(?:"+e[i].pattern+")$"));return function(i,n){for(var o="",r=i||{},a=n||{},s=a.pretty?k:encodeURIComponent,l=0;l<e.length;l++){var c=e[l];if("string"!=typeof c){var u,h=r[c.name];if(null==h){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(Ve(h)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var d=0;d<h.length;d++){if(u=s(h[d]),!t[l].test(u))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(u)+"`");o+=(0===d?c.prefix:c.delimiter)+u}}else{if(u=c.asterisk?T(h):s(h),!t[l].test(u))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+u+'"');o+=c.prefix+u}}else o+=c}return o}}function C(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function L(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function D(e,t){return e.keys=t,e}function P(e){return e.sensitive?"":"i"}function z(e,t){var i=e.source.match(/\((?!\?)/g);if(i)for(var n=0;n<i.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return D(e,t)}function E(e,t,i){for(var n=[],o=0;o<e.length;o++)n.push(N(e[o],t,i).source);return D(new RegExp("(?:"+n.join("|")+")",P(i)),t)}function O(e,t,i){return R(A(e,i),t,i)}function R(e,t,i){Ve(t)||(i=t||i,t=[]),i=i||{};for(var n=i.strict,o=i.end!==!1,r="",a=0;a<e.length;a++){var s=e[a];if("string"==typeof s)r+=C(s);else{var l=C(s.prefix),c="(?:"+s.pattern+")";t.push(s),s.repeat&&(c+="(?:"+l+c+")*"),c=s.optional?s.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")",r+=c}}var u=C(i.delimiter||"/"),h=r.slice(-u.length)===u;return n||(r=(h?r.slice(0,-u.length):r)+"(?:"+u+"(?=$))?"),r+=o?"$":n&&h?"":"(?="+u+"|$)",D(new RegExp("^"+r,P(i)),t)}function N(e,t,i){return Ve(t)||(i=t||i,t=[]),i=i||{},e instanceof RegExp?z(e,t):Ve(e)?E(e,t,i):O(e,t,i)}function V(e){var t,i,n=je[e];return n?(t=n.keys,i=n.regexp):(t=[],i=Be(e,t),je[e]={keys:t,regexp:i}),{keys:t,regexp:i}}function B(e,t,i){try{return(Ze[e]||(Ze[e]=Be.compile(e)))(t||{},{pretty:!0})}catch(e){return""}}function G(e,t,i){var n="string"==typeof e?{path:e}:e;if(n.name||n._normalized)return n;if(!n.path&&n.params&&t){n=F({},n),n._normalized=!0;var o=F(F({},t.params),n.params);if(t.name)n.name=t.name,n.params=o;else if(t.matched){var a=t.matched[t.matched.length-1].path;n.path=B(a,o,"path "+t.path)}return n}var s=x(n.path||""),l=t&&t.path||"/",c=s.path?y(s.path,l,i||n.append):t&&t.path||"/",u=r(s.query,n.query),h=n.hash||s.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:c,query:u,hash:h}}function F(e,t){for(var i in t)e[i]=t[i];return e}function H(e){function t(e){_(e,c,u)}function i(e,t,i){var n=G(e,t),o=n.name;if(o){var r=u[o],s=V(r.path).keys.filter(function(e){return!e.optional}).map(function(e){return e.name});if("object"!=typeof n.params&&(n.params={}),t&&"object"==typeof t.params)for(var l in t.params)!(l in n.params)&&s.indexOf(l)>-1&&(n.params[l]=t.params[l]);if(r)return n.path=B(r.path,n.params,'named route "'+o+'"'),a(r,n,i)}else if(n.path){n.params={};for(var h in c)if(W(h,n.params,n.path))return a(c[h],n,i)}return a(null,n)}function o(e,t){var o=e.redirect,r="function"==typeof o?o(l(e,t)):o;if("string"==typeof r&&(r={path:r}),!r||"object"!=typeof r)return a(null,t);var s=r,c=s.name,h=s.path,d=t.query,p=t.hash,f=t.params;if(d=s.hasOwnProperty("query")?s.query:d,p=s.hasOwnProperty("hash")?s.hash:p,f=s.hasOwnProperty("params")?s.params:f,c){u[c];return i({_normalized:!0,name:c,query:d,hash:p,params:f},void 0,t)}if(h){var g=U(h,e);return i({_normalized:!0,path:B(g,f,'redirect route with path "'+g+'"'),query:d,hash:p},void 0,t)}return n(!1,"invalid redirect option: "+JSON.stringify(r)),a(null,t)}function r(e,t,n){var o=B(n,t.params,'aliased route with path "'+n+'"'),r=i({_normalized:!0,path:o});if(r){var s=r.matched,l=s[s.length-1];return t.params=r.params,a(l,t)}return a(null,t)}function a(e,t,i){return e&&e.redirect?o(e,i||t):e&&e.matchAs?r(e,t,e.matchAs):l(e,t,i)}var s=_(e),c=s.pathMap,u=s.nameMap;return{match:i,addRoutes:t}}function W(e,t,i){var n=V(e),o=n.regexp,r=n.keys,a=i.match(o);if(!a)return!1;if(!t)return!0;for(var s=1,l=a.length;s<l;++s){var c=r[s-1],u="string"==typeof a[s]?decodeURIComponent(a[s]):a[s];c&&(t[c.name]=u)}return!0}function U(e,t){return y(e,t.parent?t.parent.path:"/",!0)}function j(){window.addEventListener("popstate",function(e){Y(),e.state&&e.state.key&&te(e.state.key)})}function Z(e,t,i,n){if(e.app){var o=e.options.scrollBehavior;o&&e.app.$nextTick(function(){var e=q(),r=o(t,i,n?e:null);if(r){var a="object"==typeof r;if(a&&"string"==typeof r.selector){var s=document.querySelector(r.selector);s?e=X(s):J(r)&&(e=Q(r))}else a&&J(r)&&(e=Q(r));e&&window.scrollTo(e.x,e.y)}})}}function Y(){var e=ee();e&&(Ye[e]={x:window.pageXOffset,y:window.pageYOffset})}function q(){var e=ee();if(e)return Ye[e]}function X(e){var t=document.documentElement,i=t.getBoundingClientRect(),n=e.getBoundingClientRect();return{x:n.left-i.left,y:n.top-i.top}}function J(e){return K(e.x)||K(e.y)}function Q(e){return{x:K(e.x)?e.x:window.pageXOffset,y:K(e.y)?e.y:window.pageYOffset}}function K(e){return"number"==typeof e}function $(){return Xe.now().toFixed(3)}function ee(){return Je}function te(e){Je=e}function ie(e,t){Y();var i=window.history;try{t?i.replaceState({key:Je},"",e):(Je=$(),i.pushState({key:Je},"",e))}catch(i){window.location[t?"replace":"assign"](e)}}function ne(e){ie(e,!0)}function oe(e,t,i){var n=function(o){o>=e.length?i():e[o]?t(e[o],function(){n(o+1)}):n(o+1)};n(0)}function re(e){if(!e)if(Re){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/"}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function ae(e,t){var i,n=Math.max(e.length,t.length);for(i=0;i<n&&e[i]===t[i];i++);return{updated:t.slice(0,i),activated:t.slice(i),deactivated:e.slice(i)}}function se(e,t,i,n){var o=me(e,function(e,n,o,r){var a=le(e,t);if(a)return Array.isArray(a)?a.map(function(e){return i(e,n,o,r)}):i(a,n,o,r)});return ve(n?o.reverse():o)}function le(e,t){return"function"!=typeof e&&(e=ke.extend(e)),e.options[t]}function ce(e){return se(e,"beforeRouteLeave",he,!0)}function ue(e){return se(e,"beforeRouteUpdate",he)}function he(e,t){return function(){return e.apply(t,arguments)}}function de(e,t,i){return se(e,"beforeRouteEnter",function(e,n,o,r){return pe(e,o,r,t,i)})}function pe(e,t,i,n,o){return function(r,a,s){return e(r,a,function(e){s(e),"function"==typeof e&&n.push(function(){fe(e,t.instances,i,o)})})}}function fe(e,t,i,n){t[i]?e(t[i]):n()&&setTimeout(function(){fe(e,t,i,n)},16)}function ge(e){return me(e,function(e,t,i,o){if("function"==typeof e&&!e.options)return function(t,r,a){var s=ye(function(e){i.components[o]=e,a()}),l=ye(function(e){n(!1,"Failed to resolve async component "+o+": "+e),a(!1)}),c=e(s,l);c&&"function"==typeof c.then&&c.then(s,l)}})}function me(e,t){return ve(e.map(function(e){return Object.keys(e.components).map(function(i){return t(e.components[i],e.instances[i],e,i)})}))}function ve(e){return Array.prototype.concat.apply([],e)}function ye(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}function xe(e){var t=window.location.pathname;return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}function be(e){var t=xe(e);if(!/^\/#/.test(t))return window.location.replace(b(e+"/#"+t)),!0}function _e(){var e=we();return"/"===e.charAt(0)||(Ae("/"+e),!1)}function we(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.slice(t+1)}function Se(e){window.location.hash=e}function Ae(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)}function Me(e,t,i){var n="hash"===i?"#"+t:t;return e?b(e+"/"+n):n}var ke,Te={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var i=t.props,n=t.children,r=t.parent,a=t.data;a.routerView=!0;for(var s=i.name,l=r.$route,c=r._routerViewCache||(r._routerViewCache={}),u=0,h=!1;r;)r.$vnode&&r.$vnode.data.routerView&&u++,r._inactive&&(h=!0),r=r.$parent;if(a.routerViewDepth=u,h)return e(c[s],a,n);var d=l.matched[u];if(!d)return c[s]=null,e();var p=c[s]=d.components[s],f=a.hook||(a.hook={});return f.init=function(e){d.instances[s]=e.child},f.prepatch=function(e,t){d.instances[s]=t.child},f.destroy=function(e){d.instances[s]===e.child&&(d.instances[s]=void 0)},a.props=o(l,d.props&&d.props[s]),e(p,a,n)}},Ie=function(e){return"%"+e.charCodeAt(0).toString(16)},Ce=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,Ie).replace(/%2C/g,",")},Le=decodeURIComponent,De=/\/?$/,Pe=l(null,{path:"/"}),ze=[String,Object],Ee=[String,Array],Oe={name:"router-link",props:{to:{type:ze,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,event:{type:Ee,default:"click"}},render:function(e){var t=this,i=this.$router,n=this.$route,o=i.resolve(this.to,n,this.append),r=o.location,a=o.route,s=o.href,c={},u=this.activeClass||i.options.linkActiveClass||"router-link-active",d=r.path?l(null,r):a;c[u]=this.exact?h(n,d):p(n,d);var f=function(e){g(e)&&(t.replace?i.replace(r):i.push(r))},v={click:g};Array.isArray(this.event)?this.event.forEach(function(e){v[e]=f}):v[this.event]=f;var y={class:c};if("a"===this.tag)y.on=v,y.attrs={href:s};else{var x=m(this.$slots.default);if(x){x.isStatic=!1;var b=ke.util.extend;(x.data=b({},x.data)).on=v;(x.data.attrs=b({},x.data.attrs)).href=s}else y.on=v}return e(this.tag,y,this.$slots.default)}},Re="undefined"!=typeof window,Ne=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},Ve=Ne,Be=N,Ge=A,Fe=M,He=I,We=R,Ue=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Be.parse=Ge,Be.compile=Fe,Be.tokensToFunction=He,Be.tokensToRegExp=We;var je=Object.create(null),Ze=Object.create(null),Ye=Object.create(null),qe=Re&&function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),Xe=Re&&window.performance&&window.performance.now?window.performance:Date,Je=$(),Qe=function(e,t){this.router=e,this.base=re(t),this.current=Pe,this.pending=null,this.ready=!1,this.readyCbs=[]};Qe.prototype.listen=function(e){this.cb=e},Qe.prototype.onReady=function(e){this.ready?e():this.readyCbs.push(e)},Qe.prototype.transitionTo=function(e,t,i){var n=this,o=this.router.match(e,this.current);this.confirmTransition(o,function(){n.updateRoute(o),t&&t(o),n.ensureURL(),n.ready||(n.ready=!0,n.readyCbs.forEach(function(e){e(o)}))},i)},Qe.prototype.confirmTransition=function(e,t,i){var n=this,o=this.current,r=function(){i&&i()};if(h(e,o)&&e.matched.length===o.matched.length)return this.ensureURL(),r();var a=ae(this.current.matched,e.matched),s=a.updated,l=a.deactivated,c=a.activated,u=[].concat(ce(l),this.router.beforeHooks,ue(s),c.map(function(e){return e.beforeEnter}),ge(c));this.pending=e;var d=function(t,i){if(n.pending!==e)return r();t(e,o,function(e){e===!1?(n.ensureURL(!0),r()):"string"==typeof e||"object"==typeof e?("object"==typeof e&&e.replace?n.replace(e):n.push(e),r()):i(e)})};oe(u,d,function(){var i=[];oe(de(c,i,function(){return n.current===e}),d,function(){if(n.pending!==e)return r();n.pending=null,t(e),n.router.app&&n.router.app.$nextTick(function(){i.forEach(function(e){return e()})})})})},Qe.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(i){i&&i(e,t)})};var Ke=function(e){function t(t,i){var n=this;e.call(this,t,i);var o=t.options.scrollBehavior;o&&j(),window.addEventListener("popstate",function(e){n.transitionTo(xe(n.base),function(e){o&&Z(t,e,n.current,!0)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,i){var n=this;this.transitionTo(e,function(e){ie(b(n.base+e.fullPath)),Z(n.router,e,n.current,!1),t&&t(e)},i)},t.prototype.replace=function(e,t,i){var n=this;this.transitionTo(e,function(e){ne(b(n.base+e.fullPath)),Z(n.router,e,n.current,!1),t&&t(e)},i)},t.prototype.ensureURL=function(e){if(xe(this.base)!==this.current.fullPath){var t=b(this.base+this.current.fullPath);e?ie(t):ne(t)}},t.prototype.getCurrentLocation=function(){return xe(this.base)},t}(Qe),$e=function(e){function t(t,i,n){e.call(this,t,i),n&&be(this.base)||_e()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;window.addEventListener("hashchange",function(){_e()&&e.transitionTo(we(),function(e){Ae(e.fullPath)})})},t.prototype.push=function(e,t,i){this.transitionTo(e,function(e){Se(e.fullPath),t&&t(e)},i)},t.prototype.replace=function(e,t,i){this.transitionTo(e,function(e){Ae(e.fullPath),t&&t(e)},i)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;we()!==t&&(e?Se(t):Ae(t))},t.prototype.getCurrentLocation=function(){return we()},t}(Qe),et=function(e){function t(t,i){e.call(this,t,i),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,i){var n=this;this.transitionTo(e,function(e){n.stack=n.stack.slice(0,n.index+1).concat(e),n.index++,t&&t(e)},i)},t.prototype.replace=function(e,t,i){var n=this;this.transitionTo(e,function(e){n.stack=n.stack.slice(0,n.index).concat(e),t&&t(e)},i)},t.prototype.go=function(e){var t=this,i=this.index+e;if(!(i<0||i>=this.stack.length)){var n=this.stack[i];this.confirmTransition(n,function(){t.index=i,t.updateRoute(n)})}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Qe),tt=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.afterHooks=[],this.matcher=H(e.routes||[]);var t=e.mode||"hash";switch(this.fallback="history"===t&&!qe,this.fallback&&(t="hash"),Re||(t="abstract"),this.mode=t,t){case"history":this.history=new Ke(this,e.base);break;case"hash":this.history=new $e(this,e.base,this.fallback);break;case"abstract":this.history=new et(this,e.base)}},it={currentRoute:{}};tt.prototype.match=function(e,t,i){return this.matcher.match(e,t,i)},it.currentRoute.get=function(){return this.history&&this.history.current},tt.prototype.init=function(e){var t=this;if(this.apps.push(e),!this.app){this.app=e;var i=this.history;if(i instanceof Ke)i.transitionTo(i.getCurrentLocation());else if(i instanceof $e){var n=function(){i.setupListeners()};i.transitionTo(i.getCurrentLocation(),n,n)}i.listen(function(e){t.apps.forEach(function(t){t._route=e})})}},tt.prototype.beforeEach=function(e){this.beforeHooks.push(e)},tt.prototype.afterEach=function(e){this.afterHooks.push(e)},tt.prototype.onReady=function(e){this.history.onReady(e)},tt.prototype.push=function(e,t,i){this.history.push(e,t,i)},tt.prototype.replace=function(e,t,i){this.history.replace(e,t,i)},tt.prototype.go=function(e){this.history.go(e)},tt.prototype.back=function(){this.go(-1)},tt.prototype.forward=function(){this.go(1)},tt.prototype.getMatchedComponents=function(e){var t=e?this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},tt.prototype.resolve=function(e,t,i){var n=G(e,t||this.history.current,i),o=this.match(n,t),r=o.redirectedFrom||o.fullPath;return{location:n,route:o,href:Me(this.history.base,r,this.mode),normalizedTo:n,resolved:o}},tt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==Pe&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(tt.prototype,it),tt.install=v,tt.version="2.2.1",Re&&window.Vue&&window.Vue.use(tt),t.a=tt},function(e,t,i){var n=i(220);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("7a01456a",n,!0)},function(e,t,i){var n=i(221);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("927c941a",n,!0)},function(e,t,i){var n=i(222);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("63e3f719",n,!0)},function(e,t,i){var n=i(223);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("00f6a0cc",n,!0)},function(e,t,i){var n=i(224);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("40322540",n,!0)},function(e,t,i){var n=i(225);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("0841007c",n,!0)},function(e,t,i){var n=i(226);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);i(38)("eb5bcc74",n,!0)},function(e,t){e.exports=function(e,t){for(var i=[],n={},o=0;o<t.length;o++){var r=t[o],a=r[0],s=r[1],l=r[2],c=r[3],u={id:e+":"+o,css:s,media:l,sourceMap:c};n[a]?n[a].parts.push(u):i.push(n[a]={id:a,parts:[u]})}return i}},function(e,t,i){"use strict";function n(e,t,i){return{type:e,event:i,target:t,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch}}function o(){}function r(e,t,i){if(e[e.rectHover?"rectContain":"contain"](t,i)){for(var n=e;n;){if(n.silent||n.clipPath&&!n.clipPath.contain(t,i))return!1;n=n.parent}return!0}return!1}var a=i(0),s=i(531),l=i(39);o.prototype.dispose=function(){};var c=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],u=function(e,t,i,n){l.call(this),this.storage=e,this.painter=t,this.painterRoot=n,i=i||new o,this.proxy=i,i.handler=this,this._hovered,this._lastTouchMoment,this._lastX,this._lastY,s.call(this),a.each(c,function(e){i.on&&i.on(e,this[e],this)},this)};u.prototype={constructor:u,mousemove:function(e){var t=e.zrX,i=e.zrY,n=this.findHover(t,i,null),o=this._hovered,r=this.proxy;this._hovered=n,r.setCursor&&r.setCursor(n?n.cursor:"default"),o&&n!==o&&o.__zr&&this.dispatchToElement(o,"mouseout",e),this.dispatchToElement(n,"mousemove",e),n&&n!==o&&this.dispatchToElement(n,"mouseover",e)},mouseout:function(e){this.dispatchToElement(this._hovered,"mouseout",e);var t,i=e.toElement||e.relatedTarget;do{i=i&&i.parentNode}while(i&&9!=i.nodeType&&!(t=i===this.painterRoot));!t&&this.trigger("globalout",{event:e})},resize:function(e){this._hovered=null},dispatch:function(e,t){var i=this[e];i&&i.call(this,t)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},dispatchToElement:function(e,t,i){for(var o="on"+t,r=n(t,e,i),a=e;a&&(a[o]&&(r.cancelBubble=a[o].call(a,r)),a.trigger(t,r),a=a.parent,!r.cancelBubble););r.cancelBubble||(this.trigger(t,r),this.painter&&this.painter.eachOtherLayer(function(e){"function"==typeof e[o]&&e[o].call(e,r),e.trigger&&e.trigger(t,r)}))},findHover:function(e,t,i){for(var n=this.storage.getDisplayList(),o=n.length-1;o>=0;o--)if(!n[o].silent&&n[o]!==i&&!n[o].ignore&&r(n[o],e,t))return n[o]}},a.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){u.prototype[e]=function(t){var i=this.findHover(t.zrX,t.zrY,null);if("mousedown"===e)this._downel=i,this._upel=i;else if("mosueup"===e)this._upel=i;else if("click"===e&&this._downel!==this._upel)return;this.dispatchToElement(i,e,t)}}),a.mixin(u,l),a.mixin(u,s),e.exports=u},function(e,t,i){function n(){return!1}function o(e,t,i,n){var o=document.createElement(t),r=i.getWidth(),a=i.getHeight(),s=o.style;return s.position="absolute",s.left=0,s.top=0,s.width=r+"px",s.height=a+"px",o.width=r*n,o.height=a*n,o.setAttribute("data-zr-dom-id",e),o}var r=i(0),a=i(69),s=i(174),l=i(173),c=function(e,t,i){var s;i=i||a.devicePixelRatio,"string"==typeof e?s=o(e,"canvas",t,i):r.isObject(e)&&(s=e,e=s.id),this.id=e,this.dom=s;var l=s.style;l&&(s.onselectstart=n,l["-webkit-user-select"]="none",l["user-select"]="none",l["-webkit-touch-callout"]="none",l["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",l.padding=0,l.margin=0,l["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=t,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=i};c.prototype={constructor:c,elCount:0,__dirty:!0,initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var e=this.dpr;this.domBack=o("back-"+this.id,"canvas",this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!=e&&this.ctxBack.scale(e,e)},resize:function(e,t){var i=this.dpr,n=this.dom,o=n.style,r=this.domBack;o.width=e+"px",o.height=t+"px",n.width=e*i,n.height=t*i,r&&(r.width=e*i,r.height=t*i,1!=i&&this.ctxBack.scale(i,i))},clear:function(e){var t=this.dom,i=this.ctx,n=t.width,o=t.height,r=this.clearColor,a=this.motionBlur&&!e,c=this.lastFrameAlpha,u=this.dpr;if(a&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(t,0,0,n/u,o/u)),i.clearRect(0,0,n,o),r){var h;r.colorStops?(h=r.__canvasGradient||s.getGradient(i,r,{x:0,y:0,width:n,height:o}),r.__canvasGradient=h):r.image&&(h=l.prototype.getCanvasPattern.call(r,i)),i.save(),i.fillStyle=h||r,i.fillRect(0,0,n,o),i.restore()}if(a){var d=this.domBack;i.save(),i.globalAlpha=c,i.drawImage(d,0,0,n,o),i.restore()}}},e.exports=c},function(e,t,i){"use strict";function n(e){return parseInt(e,10)}function o(e){return!!e&&(!!e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh)}function r(e){e.__unusedCount++}function a(e){1==e.__unusedCount&&e.clear()}function s(e,t,i){return y.copy(e.getBoundingRect()),e.transform&&y.applyTransform(e.transform),x.width=t,x.height=i,!y.intersect(x)}function l(e,t){if(e==t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var i=0;i<e.length;i++)if(e[i]!==t[i])return!0}function c(e,t){for(var i=0;i<e.length;i++){var n=e[i],o=n.path;n.setTransform(t),o.beginPath(t),n.buildPath(o,n.shape),t.clip(),n.restoreTransform(t)}}function u(e,t){var i=document.createElement("div");return i.style.cssText=["position:relative","overflow:hidden","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",i}var h=i(69),d=i(0),p=i(99),f=i(10),g=i(100),m=i(505),v=i(164),y=new f(0,0,0,0),x=new f(0,0,0,0),b=function(e,t,i){var n=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=i=d.extend({},i||{}),this.dpr=i.devicePixelRatio||h.devicePixelRatio,this._singleCanvas=n,this.root=e;var o=e.style;o&&(o["-webkit-tap-highlight-color"]="transparent",o["-webkit-user-select"]=o["user-select"]=o["-webkit-touch-callout"]="none",e.innerHTML=""),this.storage=t;var r=this._zlevelList=[],a=this._layers={};if(this._layerConfig={},n){null!=i.width&&(e.width=i.width),null!=i.height&&(e.height=i.height);var s=e.width,l=e.height;this._width=s,this._height=l;var c=new m(e,this,1);c.initContext(),a[0]=c,r.push(0),this._domRoot=e}else{this._width=this._getSize(0),this._height=this._getSize(1);var p=this._domRoot=u(this._width,this._height);e.appendChild(p)}this._progressiveLayers=[],this._hoverlayer,this._hoverElements=[]};b.prototype={constructor:b,isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},refresh:function(e){var t=this.storage.getDisplayList(!0),i=this._zlevelList;this._paintList(t,e);for(var n=0;n<i.length;n++){var o=i[n],r=this._layers[o];!r.__builtin__&&r.refresh&&r.refresh()}return this.refreshHover(),this._progressiveLayers.length&&this._startProgessive(),this},addHover:function(e,t){if(!e.__hoverMir){var i=new e.constructor({style:e.style,shape:e.shape});i.__from=e,e.__hoverMir=i,i.setStyle(t),this._hoverElements.push(i)}},removeHover:function(e){var t=e.__hoverMir,i=this._hoverElements,n=d.indexOf(i,t);n>=0&&i.splice(n,1),e.__hoverMir=null},clearHover:function(e){for(var t=this._hoverElements,i=0;i<t.length;i++){var n=t[i].__from;n&&(n.__hoverMir=null)}t.length=0},refreshHover:function(){var e=this._hoverElements,t=e.length,i=this._hoverlayer;if(i&&i.clear(),t){g(e,this.storage.displayableSortFunc),i||(i=this._hoverlayer=this.getLayer(1e5));var n={};i.ctx.save();for(var o=0;o<t;){var r=e[o],a=r.__from;a&&a.__zr?(o++,a.invisible||(r.transform=a.transform,r.invTransform=a.invTransform,r.__clipPaths=a.__clipPaths,this._doPaintEl(r,i,!0,n))):(e.splice(o,1),a.__hoverMir=null,t--)}i.ctx.restore()}},_startProgessive:function(){function e(){i===t._progressiveToken&&t.storage&&(t._doPaintList(t.storage.getDisplayList()),t._furtherProgressive?(t._progress++,v(e)):t._progressiveToken=-1)}var t=this;if(t._furtherProgressive){var i=t._progressiveToken=+new Date;t._progress++,v(e)}},_clearProgressive:function(){this._progressiveToken=-1,this._progress=0,d.each(this._progressiveLayers,function(e){e.__dirty&&e.clear()})},_paintList:function(e,t){null==t&&(t=!1),this._updateLayerStatus(e),this._clearProgressive(),this.eachBuiltinLayer(r),this._doPaintList(e,t),this.eachBuiltinLayer(a)},_doPaintList:function(e,t){function i(e){var t=r.dpr||1;r.save(),r.globalAlpha=1,r.shadowBlur=0,n.__dirty=!0,r.setTransform(1,0,0,1,0,0),r.drawImage(e.dom,0,0,u*t,h*t),r.restore()}for(var n,o,r,a,s,l,c=0,u=this._width,h=this._height,f=this._progress,g=0,m=e.length;g<m;g++){var v=e[g],y=this._singleCanvas?0:v.zlevel,x=v.__frame;if(x<0&&s&&(i(s),s=null),o!==y&&(r&&r.restore(),a={},o=y,n=this.getLayer(o),n.__builtin__||p("ZLevel "+o+" has been used by unkown layer "+n.id),r=n.ctx,r.save(),n.__unusedCount=0,(n.__dirty||t)&&n.clear()),n.__dirty||t){if(x>=0){if(!s){if(s=this._progressiveLayers[Math.min(c++,4)],s.ctx.save(),s.renderScope={},s&&s.__progress>s.__maxProgress){g=s.__nextIdxNotProg-1;continue}l=s.__progress,s.__dirty||(f=l),s.__progress=f+1}x===f&&this._doPaintEl(v,s,!0,s.renderScope)}else this._doPaintEl(v,n,t,a);v.__dirty=!1}}s&&i(s),r&&r.restore(),this._furtherProgressive=!1,d.each(this._progressiveLayers,function(e){e.__maxProgress>=e.__progress&&(this._furtherProgressive=!0)},this)},_doPaintEl:function(e,t,i,n){var o=t.ctx,r=e.transform;if((t.__dirty||i)&&!e.invisible&&0!==e.style.opacity&&(!r||r[0]||r[3])&&(!e.culling||!s(e,this._width,this._height))){var a=e.__clipPaths;(n.prevClipLayer!==t||l(a,n.prevElClipPaths))&&(n.prevElClipPaths&&(n.prevClipLayer.ctx.restore(),n.prevClipLayer=n.prevElClipPaths=null,n.prevEl=null),a&&(o.save(),c(a,o),n.prevClipLayer=t,n.prevElClipPaths=a)),e.beforeBrush&&e.beforeBrush(o),e.brush(o,n.prevEl||null),n.prevEl=e,e.afterBrush&&e.afterBrush(o)}},getLayer:function(e){if(this._singleCanvas)return this._layers[0];var t=this._layers[e];return t||(t=new m("zr_"+e,this,this.dpr),t.__builtin__=!0,this._layerConfig[e]&&d.merge(t,this._layerConfig[e],!0),this.insertLayer(e,t),t.initContext()),t},insertLayer:function(e,t){var i=this._layers,n=this._zlevelList,r=n.length,a=null,s=-1,l=this._domRoot;if(i[e])return void p("ZLevel "+e+" has been used already");if(!o(t))return void p("Layer of zlevel "+e+" is not valid");if(r>0&&e>n[0]){for(s=0;s<r-1&&!(n[s]<e&&n[s+1]>e);s++);a=i[n[s]]}if(n.splice(s+1,0,e),i[e]=t,!t.virtual)if(a){var c=a.dom;c.nextSibling?l.insertBefore(t.dom,c.nextSibling):l.appendChild(t.dom)}else l.firstChild?l.insertBefore(t.dom,l.firstChild):l.appendChild(t.dom)},eachLayer:function(e,t){var i,n,o=this._zlevelList;for(n=0;n<o.length;n++)i=o[n],e.call(t,this._layers[i],i)},eachBuiltinLayer:function(e,t){var i,n,o,r=this._zlevelList;for(o=0;o<r.length;o++)n=r[o],i=this._layers[n],i.__builtin__&&e.call(t,i,n)},eachOtherLayer:function(e,t){var i,n,o,r=this._zlevelList;for(o=0;o<r.length;o++)n=r[o],i=this._layers[n],i.__builtin__||e.call(t,i,n)},getLayers:function(){return this._layers},_updateLayerStatus:function(e){var t=this._layers,i=this._progressiveLayers,n={},o={};this.eachBuiltinLayer(function(e,t){n[t]=e.elCount,e.elCount=0,e.__dirty=!1}),d.each(i,function(e,t){o[t]=e.elCount,e.elCount=0,e.__dirty=!1});for(var r,a,s=0,l=0,c=0,u=e.length;c<u;c++){var h=e[c],p=this._singleCanvas?0:h.zlevel,f=t[p],g=h.progressive;if(f&&(f.elCount++,f.__dirty=f.__dirty||h.__dirty),g>=0){a!==g&&(a=g,l++);var v=h.__frame=l-1;if(!r){var y=Math.min(s,4);r=i[y],r||(r=i[y]=new m("progressive",this,this.dpr),r.initContext()),r.__maxProgress=0}r.__dirty=r.__dirty||h.__dirty,r.elCount++,r.__maxProgress=Math.max(r.__maxProgress,v),r.__maxProgress>=r.__progress&&(f.__dirty=!0)}else h.__frame=-1,r&&(r.__nextIdxNotProg=c,s++,r=null)}r&&(s++,r.__nextIdxNotProg=c),this.eachBuiltinLayer(function(e,t){n[t]!==e.elCount&&(e.__dirty=!0)}),i.length=Math.min(s,5),d.each(i,function(e,t){o[t]!==e.elCount&&(h.__dirty=!0),e.__dirty&&(e.__progress=0)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(e){e.clear()},configLayer:function(e,t){if(t){var i=this._layerConfig;i[e]?d.merge(i[e],t,!0):i[e]=t;var n=this._layers[e];n&&d.merge(n,i[e],!0)}},delLayer:function(e){var t=this._layers,i=this._zlevelList,n=t[e];n&&(n.dom.parentNode.removeChild(n.dom),delete t[e],i.splice(d.indexOf(i,e),1))},resize:function(e,t){var i=this._domRoot;i.style.display="none";var n=this._opts;if(null!=e&&(n.width=e),null!=t&&(n.height=t),e=this._getSize(0),t=this._getSize(1),i.style.display="",this._width!=e||t!=this._height){i.style.width=e+"px",i.style.height=t+"px";for(var o in this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(e,t);d.each(this._progressiveLayers,function(i){i.resize(e,t)}),this.refresh(!0)}return this._width=e,this._height=t,this},clearLayer:function(e){var t=this._layers[e];t&&t.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(e){if(e=e||{},this._singleCanvas)return this._layers[0].dom;var t=new m("image",this,e.pixelRatio||this.dpr);t.initContext(),t.clearColor=e.backgroundColor,t.clear();for(var i=this.storage.getDisplayList(!0),n={},o=0;o<i.length;o++){var r=i[o];this._doPaintEl(r,t,!0,n)}return t.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,i=["width","height"][e],o=["clientWidth","clientHeight"][e],r=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=t[i]&&"auto"!==t[i])return parseFloat(t[i]);var s=this.root,l=document.defaultView.getComputedStyle(s);return(s[o]||n(l[i])||n(s.style[i]))-(n(l[r])||0)-(n(l[a])||0)|0},pathToImage:function(e,t){t=t||this.dpr;var n=document.createElement("canvas"),o=n.getContext("2d"),r=e.getBoundingRect(),a=e.style,s=a.shadowBlur,l=a.shadowOffsetX,c=a.shadowOffsetY,u=a.hasStroke()?a.lineWidth:0,h=Math.max(u/2,-l+s),d=Math.max(u/2,l+s),p=Math.max(u/2,-c+s),f=Math.max(u/2,c+s),g=r.width+h+d,m=r.height+p+f;n.width=g*t,n.height=m*t,o.scale(t,t),o.clearRect(0,0,g,m),o.dpr=t;var v={position:e.position,rotation:e.rotation,scale:e.scale};e.position=[h-r.x,p-r.y],e.rotation=0,e.scale=[1,1],e.updateTransform(),e&&e.brush(o);var y=i(101),x=new y({style:{x:0,y:0,image:n}});return null!=v.position&&(x.position=e.position=v.position),null!=v.rotation&&(x.rotation=e.rotation=v.rotation),null!=v.scale&&(x.scale=e.scale=v.scale),x}},e.exports=b},function(e,t,i){"use strict";function n(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var o=i(0),r=i(13),a=i(70),s=i(100),l=function(){this._elements={},this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(e,t){for(var i=0;i<this._roots.length;i++)this._roots[i].traverse(e,t)},getDisplayList:function(e,t){return t=t||!1,e&&this.updateDisplayList(t),this._displayList},updateDisplayList:function(e){this._displayListLen=0;for(var t=this._roots,i=this._displayList,o=0,a=t.length;o<a;o++)this._updateAndAddDisplayable(t[o],null,e);i.length=this._displayListLen,r.canvasSupported&&s(i,n)},_updateAndAddDisplayable:function(e,t,i){if(!e.ignore||i){e.beforeUpdate(),e.__dirty&&e.update(),e.afterUpdate();var n=e.clipPath;if(n){t=t?t.slice():[];for(var o=n,r=e;o;)o.parent=r,o.updateTransform(),t.push(o),r=o,o=o.clipPath}if(e.isGroup){for(var a=e._children,s=0;s<a.length;s++){var l=a[s];e.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,t,i)}e.__dirty=!1}else e.__clipPaths=t,this._displayList[this._displayListLen++]=e}},addRoot:function(e){this._elements[e.id]||(e instanceof a&&e.addChildrenToStorage(this),this.addToMap(e),this._roots.push(e))},delRoot:function(e){if(null==e){for(var t=0;t<this._roots.length;t++){var i=this._roots[t];i instanceof a&&i.delChildrenFromStorage(this)}return this._elements={},this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(e instanceof Array)for(var t=0,n=e.length;t<n;t++)this.delRoot(e[t]);else{var r;r="string"==typeof e?this._elements[e]:e;var s=o.indexOf(this._roots,r);s>=0&&(this.delFromMap(r.id),this._roots.splice(s,1),r instanceof a&&r.delChildrenFromStorage(this))}},addToMap:function(e){return e instanceof a&&(e.__storage=this),e.dirty(!1),this._elements[e.id]=e,this},get:function(e){return this._elements[e]},delFromMap:function(e){var t=this._elements,i=t[e];return i&&(delete t[e],i instanceof a&&(i.__storage=null)),this},dispose:function(){this._elements=this._renderList=this._roots=null},displayableSortFunc:n},e.exports=l},function(e,t,i){"use strict";var n=i(0),o=i(26).Dispatcher,r=i(164),a=i(163),s=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,o.call(this)};s.prototype={constructor:s,addClip:function(e){this._clips.push(e)},addAnimator:function(e){e.animation=this;for(var t=e.getClips(),i=0;i<t.length;i++)this.addClip(t[i])},removeClip:function(e){var t=n.indexOf(this._clips,e);t>=0&&this._clips.splice(t,1)},removeAnimator:function(e){for(var t=e.getClips(),i=0;i<t.length;i++)this.removeClip(t[i]);e.animation=null},_update:function(){for(var e=(new Date).getTime()-this._pausedTime,t=e-this._time,i=this._clips,n=i.length,o=[],r=[],a=0;a<n;a++){var s=i[a],l=s.step(e,t);l&&(o.push(l),r.push(s))}for(var a=0;a<n;)i[a]._needsRemove?(i[a]=i[n-1],i.pop(),n--):a++;n=o.length;for(var a=0;a<n;a++)r[a].fire(o[a]);this._time=e,this.onframe(t),this.trigger("frame",t),this.stage.update&&this.stage.update()},_startLoop:function(){function e(){t._running&&(r(e),!t._paused&&t._update())}var t=this;this._running=!0,r(e)},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},animate:function(e,t){t=t||{};var i=new a(e,t.loop,t.getter,t.setter);return this.addAnimator(i),i}},n.mixin(s,o),e.exports=s},function(e,t,i){function n(e){this._target=e.target,this._life=e.life||1e3,this._delay=e.delay||0,this._initialized=!1,this.loop=null!=e.loop&&e.loop,this.gap=e.gap||0,this.easing=e.easing||"Linear",this.onframe=e.onframe,this.ondestroy=e.ondestroy,this.onrestart=e.onrestart,this._pausedTime=0,this._paused=!1}var o=i(510);n.prototype={constructor:n,step:function(e,t){if(this._initialized||(this._startTime=e+this._delay,this._initialized=!0),this._paused)return void(this._pausedTime+=t);var i=(e-this._startTime-this._pausedTime)/this._life;if(!(i<0)){i=Math.min(i,1);var n=this.easing,r="string"==typeof n?o[n]:n,a="function"==typeof r?r(i):i;return this.fire("frame",a),1==i?this.loop?(this.restart(e),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(e){var t=(e-this._startTime-this._pausedTime)%this._life;this._startTime=e-t+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(e,t){e="on"+e,this[e]&&this[e](this._target,t)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}},e.exports=n},function(e,t){var i={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,i=.1;return 0===e?0:1===e?1:(!i||i<1?(i=1,t=.1):t=.4*Math.asin(1/i)/(2*Math.PI),-(i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)))},elasticOut:function(e){var t,i=.1;return 0===e?0:1===e?1:(!i||i<1?(i=1,t=.1):t=.4*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/.4)+1)},elasticInOut:function(e){var t,i=.1;return 0===e?0:1===e?1:(!i||i<1?(i=1,t=.1):t=.4*Math.asin(1/i)/(2*Math.PI),(e*=2)<1?-.5*(i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)):i*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-i.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*i.bounceIn(2*e):.5*i.bounceOut(2*e-1)+.5}};e.exports=i},function(e,t,i){var n=i(168).normalizeRadian,o=2*Math.PI;e.exports={containStroke:function(e,t,i,r,a,s,l,c,u){if(0===l)return!1;var h=l;c-=e,u-=t;var d=Math.sqrt(c*c+u*u);if(d-h>i||d+h<i)return!1;if(Math.abs(r-a)%o<1e-4)return!0;if(s){var p=r;r=n(a),a=n(p)}else r=n(r),a=n(a);r>a&&(a+=o);var f=Math.atan2(u,c);return f<0&&(f+=o),f>=r&&f<=a||f+o>=r&&f+o<=a}}},function(e,t,i){var n=i(31);e.exports={containStroke:function(e,t,i,o,r,a,s,l,c,u,h){if(0===c)return!1;var d=c;return!(h>t+d&&h>o+d&&h>a+d&&h>l+d||h<t-d&&h<o-d&&h<a-d&&h<l-d||u>e+d&&u>i+d&&u>r+d&&u>s+d||u<e-d&&u<i-d&&u<r-d&&u<s-d)&&n.cubicProjectPoint(e,t,i,o,r,a,s,l,u,h,null)<=d/2}}},function(e,t,i){"use strict";function n(e,t){return Math.abs(e-t)<x}function o(){var e=_[0];_[0]=_[1],_[1]=e}function r(e,t,i,n,r,a,s,l,c,u){if(u>t&&u>n&&u>a&&u>l||u<t&&u<n&&u<a&&u<l)return 0;var h=g.cubicRootAt(t,n,a,l,u,b);if(0===h)return 0;for(var d,p,f=0,m=-1,v=0;v<h;v++){var y=b[v],x=0===y||1===y?.5:1;g.cubicAt(e,i,r,s,y)<c||(m<0&&(m=g.cubicExtrema(t,n,a,l,_),_[1]<_[0]&&m>1&&o(),d=g.cubicAt(t,n,a,l,_[0]),m>1&&(p=g.cubicAt(t,n,a,l,_[1]))),2==m?y<_[0]?f+=d<t?x:-x:y<_[1]?f+=p<d?x:-x:f+=l<p?x:-x:y<_[0]?f+=d<t?x:-x:f+=l<d?x:-x)}return f}function a(e,t,i,n,o,r,a,s){if(s>t&&s>n&&s>r||s<t&&s<n&&s<r)return 0;var l=g.quadraticRootAt(t,n,r,s,b);if(0===l)return 0;var c=g.quadraticExtremum(t,n,r);if(c>=0&&c<=1){for(var u=0,h=g.quadraticAt(t,n,r,c),d=0;d<l;d++){var p=0===b[d]||1===b[d]?.5:1,f=g.quadraticAt(e,i,o,b[d]);f<a||(b[d]<c?u+=h<t?p:-p:u+=r<h?p:-p)}return u}var p=0===b[0]||1===b[0]?.5:1,f=g.quadraticAt(e,i,o,b[0]);return f<a?0:r<t?p:-p}function s(e,t,i,n,o,r,a,s){if((s-=t)>i||s<-i)return 0;var l=Math.sqrt(i*i-s*s);b[0]=-l,b[1]=l;var c=Math.abs(n-o);if(c<1e-4)return 0;if(c%y<1e-4){n=0,o=y;var u=r?1:-1;return a>=b[0]+e&&a<=b[1]+e?u:0}if(r){var l=n;n=f(o),o=f(l)}else n=f(n),o=f(o);n>o&&(o+=y);for(var h=0,d=0;d<2;d++){var p=b[d];if(p+e>a){var g=Math.atan2(s,p),u=r?1:-1;g<0&&(g=y+g),(g>=n&&g<=o||g+y>=n&&g+y<=o)&&(g>Math.PI/2&&g<1.5*Math.PI&&(u=-u),h+=u)}}return h}function l(e,t,i,o,l){for(var u=0,f=0,g=0,y=0,x=0,b=0;b<e.length;){var _=e[b++];switch(_===c.M&&b>1&&(i||(u+=m(f,g,y,x,o,l))),1==b&&(f=e[b],g=e[b+1],y=f,x=g),_){case c.M:y=e[b++],x=e[b++],f=y,g=x;break;case c.L:if(i){if(v(f,g,e[b],e[b+1],t,o,l))return!0}else u+=m(f,g,e[b],e[b+1],o,l)||0;f=e[b++],g=e[b++];break;case c.C:if(i){if(h.containStroke(f,g,e[b++],e[b++],e[b++],e[b++],e[b],e[b+1],t,o,l))return!0}else u+=r(f,g,e[b++],e[b++],e[b++],e[b++],e[b],e[b+1],o,l)||0;f=e[b++],g=e[b++];break;case c.Q:if(i){if(d.containStroke(f,g,e[b++],e[b++],e[b],e[b+1],t,o,l))return!0}else u+=a(f,g,e[b++],e[b++],e[b],e[b+1],o,l)||0;f=e[b++],g=e[b++];break;case c.A:var w=e[b++],S=e[b++],A=e[b++],M=e[b++],k=e[b++],T=e[b++],I=(e[b++],1-e[b++]),C=Math.cos(k)*A+w,L=Math.sin(k)*M+S;b>1?u+=m(f,g,C,L,o,l):(y=C,x=L);var D=(o-w)*M/A+w;if(i){if(p.containStroke(w,S,M,k,k+T,I,t,D,l))return!0}else u+=s(w,S,M,k,k+T,I,D,l);f=Math.cos(k+T)*A+w,g=Math.sin(k+T)*M+S;break;case c.R:y=f=e[b++],x=g=e[b++];var P=e[b++],z=e[b++],C=y+P,L=x+z;if(i){if(v(y,x,C,x,t,o,l)||v(C,x,C,L,t,o,l)||v(C,L,y,L,t,o,l)||v(y,L,y,x,t,o,l))return!0}else u+=m(C,x,C,L,o,l),u+=m(y,L,y,x,o,l);break;case c.Z:if(i){if(v(f,g,y,x,t,o,l))return!0}else u+=m(f,g,y,x,o,l);f=y,g=x}}return i||n(g,x)||(u+=m(f,g,y,x,o,l)||0),0!==u}var c=i(53).CMD,u=i(165),h=i(512),d=i(167),p=i(511),f=i(168).normalizeRadian,g=i(31),m=i(169),v=u.containStroke,y=2*Math.PI,x=1e-4,b=[-1,-1,-1],_=[-1,-1];e.exports={contain:function(e,t,i){return l(e,0,!1,t,i)},containStroke:function(e,t,i,n){return l(e,t,!0,i,n)}}},function(e,t,i){"use strict";function n(e){var t=e[1][0]-e[0][0],i=e[1][1]-e[0][1];return Math.sqrt(t*t+i*i)}function o(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var r=i(26),a=function(){this._track=[]};a.prototype={constructor:a,recognize:function(e,t,i){return this._doTrack(e,t,i),this._recognize(e)},clear:function(){return this._track.length=0,this},_doTrack:function(e,t,i){var n=e.touches;if(n){for(var o={points:[],touches:[],target:t,event:e},a=0,s=n.length;a<s;a++){var l=n[a],c=r.clientToLocal(i,l,{});o.points.push([c.zrX,c.zrY]),o.touches.push(l)}this._track.push(o)}},_recognize:function(e){for(var t in s)if(s.hasOwnProperty(t)){var i=s[t](this._track,e);if(i)return i}}};var s={pinch:function(e,t){var i=e.length;if(i){var r=(e[i-1]||{}).points,a=(e[i-2]||{}).points||r;if(a&&a.length>1&&r&&r.length>1){var s=n(r)/n(a);!isFinite(s)&&(s=1),t.pinchScale=s;var l=o(r);return t.pinchX=l[0],t.pinchY=l[1],{type:"pinch",target:e[0].target,event:t}}}}};e.exports=a},function(e,t,i){function n(e){return"mousewheel"===e&&d.browser.firefox?"DOMMouseScroll":e}function o(e,t,i){var n=e._gestureMgr;"start"===i&&n.clear();var o=n.recognize(t,e.handler.findHover(t.zrX,t.zrY,null),e.dom);if("end"===i&&n.clear(),o){var r=o.type;t.gestureEvent=r,e.handler.dispatchToElement(o.target,r,o.event)}}function r(e){e._touching=!0,clearTimeout(e._touchTimer),e._touchTimer=setTimeout(function(){e._touching=!1},700)}function a(e){var t=e.pointerType;return"pen"===t||"touch"===t}function s(e){function t(e,t){return function(){if(!t._touching)return e.apply(t,arguments)}}u.each(y,function(t){e._handlers[t]=u.bind(_[t],e)}),u.each(b,function(t){e._handlers[t]=u.bind(_[t],e)}),u.each(v,function(i){e._handlers[i]=t(_[i],e)})}function l(e){function t(t,i){u.each(t,function(t){f(e,n(t),i._handlers[t])},i)}h.call(this),this.dom=e,this._touching=!1,this._touchTimer,this._gestureMgr=new p,this._handlers={},s(this),d.pointerEventsSupported?t(b,this):(d.touchEventsSupported&&t(y,this),t(v,this))}var c=i(26),u=i(0),h=i(39),d=i(13),p=i(514),f=c.addEventListener,g=c.removeEventListener,m=c.normalizeEvent,v=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],y=["touchstart","touchend","touchmove"],x={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},b=u.map(v,function(e){var t=e.replace("mouse","pointer");return x[t]?t:e}),_={mousemove:function(e){e=m(this.dom,e),this.trigger("mousemove",e)},mouseout:function(e){e=m(this.dom,e);var t=e.toElement||e.relatedTarget;if(t!=this.dom)for(;t&&9!=t.nodeType;){if(t===this.dom)return;t=t.parentNode}this.trigger("mouseout",e)},touchstart:function(e){e=m(this.dom,e),e.zrByTouch=!0,this._lastTouchMoment=new Date,o(this,e,"start"),_.mousemove.call(this,e),_.mousedown.call(this,e),r(this)},touchmove:function(e){e=m(this.dom,e),e.zrByTouch=!0,o(this,e,"change"),_.mousemove.call(this,e),r(this)},touchend:function(e){e=m(this.dom,e),e.zrByTouch=!0,o(this,e,"end"),_.mouseup.call(this,e),+new Date-this._lastTouchMoment<300&&_.click.call(this,e),r(this)},pointerdown:function(e){_.mousedown.call(this,e)},pointermove:function(e){a(e)||_.mousemove.call(this,e)},pointerup:function(e){_.mouseup.call(this,e)},pointerout:function(e){a(e)||_.mouseout.call(this,e)}};u.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){_[e]=function(t){t=m(this.dom,t),this.trigger(e,t)}});var w=l.prototype;w.dispose=function(){for(var e=v.concat(y),t=0;t<e.length;t++){var i=e[t];g(this.dom,n(i),this._handlers[i])}},w.setCursor=function(e){this.dom.style.cursor=e||"default"},u.mixin(l,h),e.exports=l},function(e,t,i){var n=i(15);e.exports=n.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var e=this.__dirtyPath,t=this.shape.paths,i=0;i<t.length;i++)e=e||t[i].__dirtyPath;this.__dirtyPath=e,this.__dirty=this.__dirty||e},beforeBrush:function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),i=0;i<e.length;i++)e[i].path.setScale(t[0],t[1])},buildPath:function(e,t){for(var i=t.paths||[],n=0;n<i.length;n++)i[n].buildPath(e,i[n].shape,!0)},afterBrush:function(){for(var e=this.shape.paths,t=0;t<e.length;t++)e[t].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),n.prototype.getBoundingRect.call(this)}})},function(e,t,i){"use strict";var n=i(0),o=i(72),r=function(e,t,i,n,r){this.x=null==e?.5:e,this.y=null==t?.5:t,this.r=null==i?.5:i,this.type="radial",this.global=r||!1,o.call(this,n)};r.prototype={constructor:r},n.inherits(r,o),e.exports=r},function(e,t){e.exports={buildPath:function(e,t){var i,n,o,r,a=t.x,s=t.y,l=t.width,c=t.height,u=t.r;l<0&&(a+=l,l=-l),c<0&&(s+=c,c=-c),"number"==typeof u?i=n=o=r=u:u instanceof Array?1===u.length?i=n=o=r=u[0]:2===u.length?(i=o=u[0],n=r=u[1]):3===u.length?(i=u[0],n=r=u[1],o=u[2]):(i=u[0],n=u[1],o=u[2],r=u[3]):i=n=o=r=0;var h;i+n>l&&(h=i+n,i*=l/h,n*=l/h),o+r>l&&(h=o+r,o*=l/h,r*=l/h),n+o>c&&(h=n+o,n*=c/h,o*=c/h),i+r>c&&(h=i+r,i*=c/h,r*=c/h),e.moveTo(a+i,s),e.lineTo(a+l-n,s),0!==n&&e.quadraticCurveTo(a+l,s,a+l,s+n),e.lineTo(a+l,s+c-o),0!==o&&e.quadraticCurveTo(a+l,s+c,a+l-o,s+c),e.lineTo(a+r,s+c),0!==r&&e.quadraticCurveTo(a,s+c,a,s+c-r),e.lineTo(a,s+i),0!==i&&e.quadraticCurveTo(a,s,a+i,s)}}},function(e,t,i){var n=i(6),o=n.min,r=n.max,a=n.scale,s=n.distance,l=n.add;e.exports=function(e,t,i,c){var u,h,d,p,f=[],g=[],m=[],v=[];if(c){d=[1/0,1/0],p=[-(1/0),-(1/0)];for(var y=0,x=e.length;y<x;y++)o(d,d,e[y]),r(p,p,e[y]);o(d,d,c[0]),r(p,p,c[1])}for(var y=0,x=e.length;y<x;y++){var b=e[y];if(i)u=e[y?y-1:x-1],h=e[(y+1)%x];else{if(0===y||y===x-1){f.push(n.clone(e[y]));continue}u=e[y-1],h=e[y+1]}n.sub(g,h,u),a(g,g,t);var _=s(b,u),w=s(b,h),S=_+w;0!==S&&(_/=S,w/=S),a(m,g,-_),a(v,g,w);var A=l([],b,m),M=l([],b,v);c&&(r(A,A,d),o(A,A,p),r(M,M,d),o(M,M,p)),f.push(A),f.push(M)}return i&&f.push(f.shift()),f}},function(e,t,i){function n(e,t,i,n,o,r,a){var s=.5*(i-e),l=.5*(n-t);return(2*(t-i)+s+l)*a+(-3*(t-i)-2*s-l)*r+s*o+t}var o=i(6);e.exports=function(e,t){for(var i=e.length,r=[],a=0,s=1;s<i;s++)a+=o.distance(e[s-1],e[s]);var l=a/2;l=l<i?i:l;for(var s=0;s<l;s++){var c,u,h,d=s/(l-1)*(t?i:i-1),p=Math.floor(d),f=d-p,g=e[p%i];t?(c=e[(p-1+i)%i],u=e[(p+1)%i],h=e[(p+2)%i]):(c=e[0===p?p:p-1],u=e[p>i-2?i-1:p+1],h=e[p>i-3?i-1:p+2]);var m=f*f,v=f*m;r.push([n(c[0],g[0],u[0],h[0],f,m,v),n(c[1],g[1],u[1],h[1],f,m,v)])}return r}},function(e,t,i){e.exports=i(15).extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(e,t){var i=t.cx,n=t.cy,o=Math.max(t.r,0),r=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(r),c=Math.sin(r);e.moveTo(l*o+i,c*o+n),e.arc(i,n,o,r,a,!s)}})},function(e,t,i){"use strict";function n(e,t,i){var n=e.cpx2,o=e.cpy2;return null===n||null===o?[(i?h:c)(e.x1,e.cpx1,e.cpx2,e.x2,t),(i?h:c)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(i?u:l)(e.x1,e.cpx1,e.x2,t),(i?u:l)(e.y1,e.cpy1,e.y2,t)]}var o=i(31),r=i(6),a=o.quadraticSubdivide,s=o.cubicSubdivide,l=o.quadraticAt,c=o.cubicAt,u=o.quadraticDerivativeAt,h=o.cubicDerivativeAt,d=[];e.exports=i(15).extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var i=t.x1,n=t.y1,o=t.x2,r=t.y2,l=t.cpx1,c=t.cpy1,u=t.cpx2,h=t.cpy2,p=t.percent;0!==p&&(e.moveTo(i,n),null==u||null==h?(p<1&&(a(i,l,o,p,d),l=d[1],o=d[2],a(n,c,r,p,d),c=d[1],r=d[2]),e.quadraticCurveTo(l,c,o,r)):(p<1&&(s(i,l,u,o,p,d),l=d[1],u=d[2],o=d[3],s(n,c,h,r,p,d),c=d[1],h=d[2],r=d[3]),e.bezierCurveTo(l,c,u,h,o,r)))},pointAt:function(e){return n(this.shape,e,!1)},tangentAt:function(e){var t=n(this.shape,e,!0);return r.normalize(t,t)}})},function(e,t,i){"use strict";e.exports=i(15).extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(e,t,i){i&&e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI,!0)}})},function(e,t,i){e.exports=i(15).extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var i=t.x1,n=t.y1,o=t.x2,r=t.y2,a=t.percent;0!==a&&(e.moveTo(i,n),a<1&&(o=i*(1-a)+o*a,r=n*(1-a)+r*a),e.lineTo(o,r))},pointAt:function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]}})},function(e,t,i){var n=i(176);e.exports=i(15).extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(e,t){n.buildPath(e,t,!0)}})},function(e,t,i){var n=i(176);e.exports=i(15).extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(e,t){n.buildPath(e,t,!1)}})},function(e,t,i){var n=i(518);e.exports=i(15).extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(e,t){var i=t.x,o=t.y,r=t.width,a=t.height;t.r?n.buildPath(e,t):e.rect(i,o,r,a),e.closePath()}})},function(e,t,i){e.exports=i(15).extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(e,t){var i=t.cx,n=t.cy,o=2*Math.PI;e.moveTo(i+t.r,n),e.arc(i,n,t.r,0,o,!1),e.moveTo(i+t.r0,n),e.arc(i,n,t.r0,0,o,!0)}})},function(e,t,i){var n=i(13),o=i(15),r=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];e.exports=o.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:n.browser.ie&&n.browser.version>=11?function(){var e,t=this.__clipPaths,i=this.style;if(t)for(var n=0;n<t.length;n++){var a=t[n]&&t[n].shape;if(a&&a.startAngle===a.endAngle){for(var s=0;s<r.length;s++)r[s][2]=i[r[s][0]],i[r[s][0]]=r[s][1];e=!0;break}}if(o.prototype.brush.apply(this,arguments),e)for(var s=0;s<r.length;s++)i[r[s][0]]=r[s][2]}:o.prototype.brush,buildPath:function(e,t){var i=t.cx,n=t.cy,o=Math.max(t.r0||0,0),r=Math.max(t.r,0),a=t.startAngle,s=t.endAngle,l=t.clockwise,c=Math.cos(a),u=Math.sin(a);e.moveTo(c*o+i,u*o+n),e.lineTo(c*r+i,u*r+n),e.arc(i,n,r,a,s,!l),e.lineTo(Math.cos(s)*o+i,Math.sin(s)*o+n),0!==o&&e.arc(i,n,o,s,a,l),e.closePath()}})},function(e,t,i){"use strict";var n=i(163),o=i(0),r=o.isString,a=o.isFunction,s=o.isObject,l=i(99),c=function(){this.animators=[]};c.prototype={constructor:c,animate:function(e,t){var i,r=!1,a=this,s=this.__zr;if(e){var c=e.split("."),u=a;r="shape"===c[0];for(var h=0,d=c.length;h<d;h++)u&&(u=u[c[h]]);u&&(i=u)}else i=a;if(!i)return void l('Property "'+e+'" is not existed in element '+a.id);var p=a.animators,f=new n(i,t);return f.during(function(e){a.dirty(r)}).done(function(){p.splice(o.indexOf(p,f),1)}),p.push(f),s&&s.animation.addAnimator(f),f},stopAnimation:function(e){for(var t=this.animators,i=t.length,n=0;n<i;n++)t[n].stop(e);return t.length=0,this},animateTo:function(e,t,i,n,o){function s(){--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(t)?(o=t,t=500):t||(t=500),this.stopAnimation(),this._animateToShallow("",this,e,t,i,n,o);var l=this.animators.slice(),c=l.length;c||o&&o();for(var u=0;u<l.length;u++)l[u].done(s).start(n)},_animateToShallow:function(e,t,i,n,r){var a={},l=0;for(var c in i)if(i.hasOwnProperty(c))if(null!=t[c])s(i[c])&&!o.isArrayLike(i[c])?this._animateToShallow(e?e+"."+c:c,t[c],i[c],n,r):(a[c]=i[c],l++);else if(null!=i[c])if(e){var u={};u[e]={},u[e][c]=i[c],this.attr(u)}else this.attr(c,i[c]);return l>0&&this.animate(e,!1).when(null==n?500:n,a).delay(r||0),this}},e.exports=c},function(e,t){function i(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this),this.on("globalout",this._dragEnd,this)}i.prototype={constructor:i,_dragStart:function(e){var t=e.target;t&&t.draggable&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.dispatchToElement(t,"dragstart",e.event))},_drag:function(e){var t=this._draggingTarget;if(t){var i=e.offsetX,n=e.offsetY,o=i-this._x,r=n-this._y;this._x=i,this._y=n,t.drift(o,r,e),this.dispatchToElement(t,"drag",e.event);var a=this.findHover(i,n,t),s=this._dropTarget;this._dropTarget=a,t!==a&&(s&&a!==s&&this.dispatchToElement(s,"dragleave",e.event),a&&a!==s&&this.dispatchToElement(a,"dragenter",e.event))}},_dragEnd:function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.dispatchToElement(t,"dragend",e.event),this._dropTarget&&this.dispatchToElement(this._dropTarget,"drop",e.event),this._draggingTarget=null,this._dropTarget=null}},e.exports=i},function(e,t,i){function n(e,t,i,n,o,r,a,s,l,c,u){var g=l*(f/180),y=p(g)*(e-i)/2+d(g)*(t-n)/2,x=-1*d(g)*(e-i)/2+p(g)*(t-n)/2,b=y*y/(a*a)+x*x/(s*s);b>1&&(a*=h(b),s*=h(b));var _=(o===r?-1:1)*h((a*a*(s*s)-a*a*(x*x)-s*s*(y*y))/(a*a*(x*x)+s*s*(y*y)))||0,w=_*a*x/s,S=_*-s*y/a,A=(e+i)/2+p(g)*w-d(g)*S,M=(t+n)/2+d(g)*w+p(g)*S,k=v([1,0],[(y-w)/a,(x-S)/s]),T=[(y-w)/a,(x-S)/s],I=[(-1*y-w)/a,(-1*x-S)/s],C=v(T,I);m(T,I)<=-1&&(C=f),m(T,I)>=1&&(C=0),0===r&&C>0&&(C-=2*f),1===r&&C<0&&(C+=2*f),u.addData(c,A,M,a,s,k,C,g,r)}function o(e){if(!e)return[];var t,i=e.replace(/-/g," -").replace(/ /g," ").replace(/ /g,",").replace(/,,/g,",");for(t=0;t<u.length;t++)i=i.replace(new RegExp(u[t],"g"),"|"+u[t]);var o,r=i.split("|"),a=0,l=0,c=new s,h=s.CMD;for(t=1;t<r.length;t++){var d,p=r[t],f=p.charAt(0),g=0,m=p.slice(1).replace(/e,-/g,"e-").split(",");m.length>0&&""===m[0]&&m.shift();for(var v=0;v<m.length;v++)m[v]=parseFloat(m[v]);for(;g<m.length&&!isNaN(m[g])&&!isNaN(m[0]);){var y,x,b,_,w,S,A,M=a,k=l;switch(f){case"l":a+=m[g++],l+=m[g++],d=h.L,c.addData(d,a,l);break;case"L":a=m[g++],l=m[g++],d=h.L,c.addData(d,a,l);break;case"m":a+=m[g++],l+=m[g++],d=h.M,c.addData(d,a,l),f="l";break;case"M":a=m[g++],l=m[g++],d=h.M,c.addData(d,a,l),f="L";break;case"h":a+=m[g++],d=h.L,c.addData(d,a,l);break;case"H":a=m[g++],d=h.L,c.addData(d,a,l);break;case"v":l+=m[g++],d=h.L,c.addData(d,a,l);break;case"V":l=m[g++],d=h.L,c.addData(d,a,l);break;case"C":d=h.C,c.addData(d,m[g++],m[g++],m[g++],m[g++],m[g++],m[g++]),a=m[g-2],l=m[g-1];break;case"c":d=h.C,c.addData(d,m[g++]+a,m[g++]+l,m[g++]+a,m[g++]+l,m[g++]+a,m[g++]+l),a+=m[g-2],l+=m[g-1];break;case"S":y=a,x=l;var T=c.len(),I=c.data;o===h.C&&(y+=a-I[T-4],x+=l-I[T-3]),d=h.C,M=m[g++],k=m[g++],a=m[g++],l=m[g++],c.addData(d,y,x,M,k,a,l);break;case"s":y=a,x=l;var T=c.len(),I=c.data;o===h.C&&(y+=a-I[T-4],x+=l-I[T-3]),d=h.C,M=a+m[g++],k=l+m[g++],a+=m[g++],l+=m[g++],c.addData(d,y,x,M,k,a,l);break;case"Q":M=m[g++],k=m[g++],a=m[g++],l=m[g++],d=h.Q,c.addData(d,M,k,a,l);break;case"q":M=m[g++]+a,k=m[g++]+l,a+=m[g++],l+=m[g++],d=h.Q,c.addData(d,M,k,a,l);break;case"T":y=a,x=l;var T=c.len(),I=c.data;o===h.Q&&(y+=a-I[T-4],x+=l-I[T-3]),a=m[g++],l=m[g++],d=h.Q,c.addData(d,y,x,a,l);break;case"t":y=a,x=l;var T=c.len(),I=c.data;o===h.Q&&(y+=a-I[T-4],x+=l-I[T-3]),a+=m[g++],l+=m[g++],d=h.Q,c.addData(d,y,x,a,l);break;case"A":b=m[g++],_=m[g++],w=m[g++],S=m[g++],A=m[g++],M=a,k=l,a=m[g++],l=m[g++],d=h.A,n(M,k,a,l,S,A,b,_,w,d,c);break;case"a":b=m[g++],_=m[g++],w=m[g++],S=m[g++],A=m[g++],M=a,k=l,a+=m[g++],l+=m[g++],d=h.A,n(M,k,a,l,S,A,b,_,w,d,c)}}"z"!==f&&"Z"!==f||(d=h.Z,c.addData(d)),o=d}return c.toStatic(),c}function r(e,t){var i,n=o(e);return t=t||{},t.buildPath=function(e){e.setData(n.data),i&&l(e,i);var t=e.getContext();t&&e.rebuildPath(t)},t.applyTransform=function(e){i||(i=c.create()),c.mul(i,e,i),this.dirty(!0)},t}var a=i(15),s=i(53),l=i(533),c=i(21),u=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"],h=Math.sqrt,d=Math.sin,p=Math.cos,f=Math.PI,g=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},m=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(g(e)*g(t))},v=function(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(m(e,t))};e.exports={createFromString:function(e,t){return new a(r(e,t))},extendFromString:function(e,t){return a.extend(r(e,t))},mergePath:function(e,t){for(var i=[],n=e.length,o=0;o<n;o++){var r=e[o];r.__dirty&&r.buildPath(r.path,r.shape,!0),i.push(r.path)}var s=new a(t);return s.buildPath=function(e){e.appendPath(i);var t=e.getContext();t&&e.rebuildPath(t)},s}}},function(e,t,i){function n(e,t){var i,n,r,u,h,d,p=e.data,f=o.M,g=o.C,m=o.L,v=o.R,y=o.A,x=o.Q;for(r=0,u=0;r<p.length;){switch(i=p[r++],u=r,n=0,i){case f:n=1;break;case m:n=1;break;case g:n=3;break;case x:n=2;break;case y:var b=t[4],_=t[5],w=l(t[0]*t[0]+t[1]*t[1]),S=l(t[2]*t[2]+t[3]*t[3]),A=c(-t[1]/S,t[0]/w);p[r++]+=b,p[r++]+=_,p[r++]*=w,p[r++]*=S,p[r++]+=A,p[r++]+=A,r+=2,u=r;break;case v:d[0]=p[r++],d[1]=p[r++],a(d,d,t),p[u++]=d[0],p[u++]=d[1],d[0]+=p[r++],d[1]+=p[r++],a(d,d,t),p[u++]=d[0],p[u++]=d[1]}for(h=0;h<n;h++){var d=s[h];d[0]=p[r++],d[1]=p[r++],a(d,d,t),p[u++]=d[0],p[u++]=d[1]}}}var o=i(53).CMD,r=i(6),a=r.applyTransform,s=[[],[],[]],l=Math.sqrt,c=Math.atan2;e.exports=n},function(e,t,i){function n(e){return parseInt(e,10)}function o(e,t){a.initVML(),this.root=e,this.storage=t;var i=document.createElement("div"),n=document.createElement("div");i.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",n.style.cssText="position:absolute;left:0;top:0;",e.appendChild(i),this._vmlRoot=n,this._vmlViewport=i,this.resize();var o=t.delFromMap,r=t.addToMap;t.delFromMap=function(e){var i=t.get(e);o.call(t,e),i&&i.onRemove&&i.onRemove(n)},t.addToMap=function(e){e.onAdd&&e.onAdd(n),r.call(t,e)},this._firstPaint=!0}var r=i(99),a=i(179);o.prototype={constructor:o,getViewportRoot:function(){return this._vmlViewport},refresh:function(){var e=this.storage.getDisplayList(!0,!0);this._paintList(e)},_paintList:function(e){for(var t=this._vmlRoot,i=0;i<e.length;i++){var n=e[i];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(t),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(t),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,t),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(t),this._firstPaint=!1)},resize:function(e,t){var e=null==e?this._getWidth():e,t=null==t?this._getHeight():t;if(this._width!=e||this._height!=t){this._width=e,this._height=t;var i=this._vmlViewport.style;i.width=e+"px",i.height=t+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var e=this.root,t=e.currentStyle;return(e.clientWidth||n(t.width))-n(t.paddingLeft)-n(t.paddingRight)|0},_getHeight:function(){var e=this.root,t=e.currentStyle;return(e.clientHeight||n(t.height))-n(t.paddingTop)-n(t.paddingBottom)|0}};for(var s=["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],l=0;l<s.length;l++){var c=s[l];o.prototype[c]=function(e){return function(){r('In IE8.0 VML mode painter not support method "'+e+'"')}}(c)}e.exports=o},function(e,t,i){if(!i(13).canvasSupported){var n=i(6),o=i(10),r=i(53).CMD,a=i(27),s=i(25),l=i(177),c=i(71),u=i(101),h=i(175),d=i(15),p=i(72),f=i(179),g=Math.round,m=Math.sqrt,v=Math.abs,y=Math.cos,x=Math.sin,b=Math.max,_=n.applyTransform,w=21600,S=w/2,A=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=w+","+w,e.coordorigin="0,0"},M=function(e){return String(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},k=function(e,t,i){return"rgb("+[e,t,i].join(",")+")"},T=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},I=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},C=function(e,t,i){return 1e5*(parseFloat(e)||0)+1e3*(parseFloat(t)||0)+i},L=function(e,t){return"string"==typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e},D=function(e,t,i){var n=a.parse(t);i=+i,isNaN(i)&&(i=1),n&&(e.color=k(n[0],n[1],n[2]),e.opacity=i*n[3])},P=function(e){var t=a.parse(e);return[k(t[0],t[1],t[2]),t[3]]},z=function(e,t,i){var n=t.fill;if(null!=n)if(n instanceof p){var o,r=0,a=[0,0],s=0,l=1,c=i.getBoundingRect(),u=c.width,h=c.height;if("linear"===n.type){o="gradient";var d=i.transform,f=[n.x*u,n.y*h],g=[n.x2*u,n.y2*h];d&&(_(f,f,d),_(g,g,d));var m=g[0]-f[0],v=g[1]-f[1];r=180*Math.atan2(m,v)/Math.PI,r<0&&(r+=360),r<1e-6&&(r=0)}else{o="gradientradial";var f=[n.x*u,n.y*h],d=i.transform,y=i.scale,x=u,S=h;a=[(f[0]-c.x)/x,(f[1]-c.y)/S],d&&_(f,f,d),x/=y[0]*w,S/=y[1]*w;var A=b(x,S);s=0/A,l=2*n.r/A-s}var M=n.colorStops.slice();M.sort(function(e,t){return e.offset-t.offset});for(var k=M.length,T=[],I=[],C=0;C<k;C++){var L=M[C],z=P(L.color);I.push(L.offset*l+s+" "+z[0]),0!==C&&C!==k-1||T.push(z)}if(k>=2){var E=T[0][0],O=T[1][0],R=T[0][1]*t.opacity,N=T[1][1]*t.opacity;e.type=o,e.method="none",e.focus="100%",e.angle=r,e.color=E,e.color2=O,e.colors=I.join(","),e.opacity=N,e.opacity2=R}"radial"===o&&(e.focusposition=a.join(","))}else D(e,n,t.opacity)},E=function(e,t){null!=t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof p||D(e,t.stroke,t.opacity)},O=function(e,t,i,n){var o="fill"==t,r=e.getElementsByTagName(t)[0];null!=i[t]&&"none"!==i[t]&&(o||!o&&i.lineWidth)?(e[o?"filled":"stroked"]="true",i[t]instanceof p&&I(e,r),r||(r=f.createNode(t)),o?z(r,i,n):E(r,i),T(e,r)):(e[o?"filled":"stroked"]="false",I(e,r))},R=[[],[],[]],N=function(e,t){var i,n,o,a,s,l,c=r.M,u=r.C,h=r.L,d=r.A,p=r.Q,f=[];for(a=0;a<e.length;){switch(o=e[a++],n="",i=0,o){case c:n=" m ",i=1,s=e[a++],l=e[a++],R[0][0]=s,R[0][1]=l;break;case h:n=" l ",i=1,s=e[a++],l=e[a++],R[0][0]=s,R[0][1]=l;break;case p:case u:n=" c ",i=3;var v,b,A=e[a++],M=e[a++],k=e[a++],T=e[a++];o===p?(v=k,b=T,k=(k+2*A)/3,T=(T+2*M)/3,A=(s+2*A)/3,M=(l+2*M)/3):(v=e[a++],b=e[a++]),R[0][0]=A,R[0][1]=M,R[1][0]=k,R[1][1]=T,R[2][0]=v,R[2][1]=b,s=v,l=b;break;case d:var I=0,C=0,L=1,D=1,P=0;t&&(I=t[4],C=t[5],L=m(t[0]*t[0]+t[1]*t[1]),D=m(t[2]*t[2]+t[3]*t[3]),P=Math.atan2(-t[1]/D,t[0]/L));var z=e[a++],E=e[a++],O=e[a++],N=e[a++],V=e[a++]+P,B=e[a++]+V+P;a++;var G=e[a++],F=z+y(V)*O,H=E+x(V)*N,A=z+y(B)*O,M=E+x(B)*N,W=G?" wa ":" at ";Math.abs(F-A)<1e-4&&(Math.abs(B-V)>.01?G&&(F+=.0125):Math.abs(H-E)<1e-4?G&&F<z||!G&&F>z?M-=.0125:M+=.0125:G&&H<E||!G&&H>E?A+=.0125:A-=.0125),f.push(W,g(((z-O)*L+I)*w-S),",",g(((E-N)*D+C)*w-S),",",g(((z+O)*L+I)*w-S),",",g(((E+N)*D+C)*w-S),",",g((F*L+I)*w-S),",",g((H*D+C)*w-S),",",g((A*L+I)*w-S),",",g((M*D+C)*w-S)),s=A,l=M;break;case r.R:var U=R[0],j=R[1];U[0]=e[a++],U[1]=e[a++],j[0]=U[0]+e[a++],j[1]=U[1]+e[a++],t&&(_(U,U,t),_(j,j,t)),U[0]=g(U[0]*w-S),j[0]=g(j[0]*w-S),U[1]=g(U[1]*w-S),j[1]=g(j[1]*w-S),f.push(" m ",U[0],",",U[1]," l ",j[0],",",U[1]," l ",j[0],",",j[1]," l ",U[0],",",j[1]);break;case r.Z:f.push(" x ")}if(i>0){f.push(n);for(var Z=0;Z<i;Z++){var Y=R[Z];t&&_(Y,Y,t),f.push(g(Y[0]*w-S),",",g(Y[1]*w-S),Z<i-1?",":"")}}}return f.join("")};d.prototype.brushVML=function(e){var t=this.style,i=this._vmlEl;i||(i=f.createNode("shape"),A(i),this._vmlEl=i),O(i,"fill",t,this),O(i,"stroke",t,this);var n=this.transform,o=null!=n,r=i.getElementsByTagName("stroke")[0];if(r){var a=t.lineWidth;if(o&&!t.strokeNoScale){var s=n[0]*n[3]-n[1]*n[2];a*=m(v(s))}r.weight=a+"px"}var l=this.path;this.__dirtyPath&&(l.beginPath(),this.buildPath(l,this.shape),l.toStatic(),this.__dirtyPath=!1),i.path=N(l.data,this.transform),i.style.zIndex=C(this.zlevel,this.z,this.z2),T(e,i),null!=t.text?this.drawRectText(e,this.getBoundingRect()):this.removeRectText(e)},d.prototype.onRemove=function(e){I(e,this._vmlEl),this.removeRectText(e)},d.prototype.onAdd=function(e){T(e,this._vmlEl),this.appendRectText(e)};var V=function(e){return"object"==typeof e&&e.tagName&&"IMG"===e.tagName.toUpperCase()};u.prototype.brushVML=function(e){var t,i,n=this.style,o=n.image;if(V(o)){var r=o.src;if(r===this._imageSrc)t=this._imageWidth,i=this._imageHeight;else{var a=o.runtimeStyle,s=a.width,l=a.height;a.width="auto",a.height="auto",t=o.width,i=o.height,a.width=s,a.height=l,this._imageSrc=r,this._imageWidth=t,this._imageHeight=i}o=r}else o===this._imageSrc&&(t=this._imageWidth,i=this._imageHeight);if(o){var c=n.x||0,u=n.y||0,h=n.width,d=n.height,p=n.sWidth,v=n.sHeight,y=n.sx||0,x=n.sy||0,w=p&&v,S=this._vmlEl;S||(S=f.doc.createElement("div"),A(S),this._vmlEl=S);var M,k=S.style,I=!1,L=1,D=1;if(this.transform&&(M=this.transform,L=m(M[0]*M[0]+M[1]*M[1]),D=m(M[2]*M[2]+M[3]*M[3]),I=M[1]||M[2]),I){var P=[c,u],z=[c+h,u],E=[c,u+d],O=[c+h,u+d];_(P,P,M),_(z,z,M),_(E,E,M),_(O,O,M);var R=b(P[0],z[0],E[0],O[0]),N=b(P[1],z[1],E[1],O[1]),B=[];B.push("M11=",M[0]/L,",","M12=",M[2]/D,",","M21=",M[1]/L,",","M22=",M[3]/D,",","Dx=",g(c*L+M[4]),",","Dy=",g(u*D+M[5])),k.padding="0 "+g(R)+"px "+g(N)+"px 0",k.filter="progid:DXImageTransform.Microsoft.Matrix("+B.join("")+", SizingMethod=clip)"}else M&&(c=c*L+M[4],u=u*D+M[5]),k.filter="",k.left=g(c)+"px",k.top=g(u)+"px";var G=this._imageEl,F=this._cropEl;G||(G=f.doc.createElement("div"),this._imageEl=G);var H=G.style;if(w){if(t&&i)H.width=g(L*t*h/p)+"px",H.height=g(D*i*d/v)+"px";else{var W=new Image,U=this;W.onload=function(){W.onload=null,t=W.width,i=W.height,H.width=g(L*t*h/p)+"px",H.height=g(D*i*d/v)+"px",U._imageWidth=t,U._imageHeight=i,U._imageSrc=o},W.src=o}F||(F=f.doc.createElement("div"),F.style.overflow="hidden",this._cropEl=F);var j=F.style;j.width=g((h+y*h/p)*L),j.height=g((d+x*d/v)*D),j.filter="progid:DXImageTransform.Microsoft.Matrix(Dx="+-y*h/p*L+",Dy="+-x*d/v*D+")",F.parentNode||S.appendChild(F),G.parentNode!=F&&F.appendChild(G)}else H.width=g(L*h)+"px",H.height=g(D*d)+"px",S.appendChild(G),F&&F.parentNode&&(S.removeChild(F),this._cropEl=null);var Z="",Y=n.opacity;Y<1&&(Z+=".Alpha(opacity="+g(100*Y)+") "),Z+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+o+", SizingMethod=scale)",H.filter=Z,S.style.zIndex=C(this.zlevel,this.z,this.z2),T(e,S),null!=n.text&&this.drawRectText(e,this.getBoundingRect())}},u.prototype.onRemove=function(e){I(e,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(e)},u.prototype.onAdd=function(e){T(e,this._vmlEl),this.appendRectText(e)};var B,G={},F=0,H=document.createElement("div"),W=function(e){var t=G[e];if(!t){F>100&&(F=0,G={});var i,n=H.style;try{n.font=e,i=n.fontFamily.split(",")[0]}catch(e){}t={style:n.fontStyle||"normal",variant:n.fontVariant||"normal",weight:n.fontWeight||"normal",size:0|parseFloat(n.fontSize||12),family:i||"Microsoft YaHei"},G[e]=t,F++}return t};s.measureText=function(e,t){var i=f.doc;B||(B=i.createElement("div"),B.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",f.doc.body.appendChild(B));try{B.style.font=t}catch(e){}return B.innerHTML="",B.appendChild(i.createTextNode(e)),{width:B.offsetWidth}};for(var U=new o,j=function(e,t,i,n){var o=this.style,r=o.text;if(null!=r&&(r+=""),r){var a,l,c=o.textAlign,u=W(o.textFont),h=u.style+" "+u.variant+" "+u.weight+" "+u.size+'px "'+u.family+'"',d=o.textBaseline,p=o.textVerticalAlign;i=i||s.getBoundingRect(r,h,c,d);var m=this.transform;if(m&&!n&&(U.copy(t),U.applyTransform(m),t=U),n)a=t.x,l=t.y;else{var v=o.textPosition,y=o.textDistance;if(v instanceof Array)a=t.x+L(v[0],t.width),l=t.y+L(v[1],t.height),c=c||"left",d=d||"top";else{var x=s.adjustTextPositionOnRect(v,t,i,y);a=x.x,l=x.y,c=c||x.textAlign,d=d||x.textBaseline}}if(p){switch(p){case"middle":l-=i.height/2;break;case"bottom":l-=i.height}d="top"}var b=u.size;switch(d){case"hanging":case"top":l+=b/1.75;break;case"middle":break;default:l-=b/2.25}switch(c){case"left":break;case"center":a-=i.width/2;break;case"right":a-=i.width}var w,S,k,I=f.createNode,D=this._textVmlEl;D?(k=D.firstChild,w=k.nextSibling,S=w.nextSibling):(D=I("line"),w=I("path"),S=I("textpath"),k=I("skew"),S.style["v-text-align"]="left",A(D),w.textpathok=!0,S.on=!0,D.from="0 0",D.to="1000 0.05",T(D,k),T(D,w),T(D,S),this._textVmlEl=D);var P=[a,l],z=D.style;m&&n?(_(P,P,m),k.on=!0,k.matrix=m[0].toFixed(3)+","+m[2].toFixed(3)+","+m[1].toFixed(3)+","+m[3].toFixed(3)+",0,0",k.offset=(g(P[0])||0)+","+(g(P[1])||0),k.origin="0 0",z.left="0px",z.top="0px"):(k.on=!1,z.left=g(a)+"px",z.top=g(l)+"px"),S.string=M(r);try{S.style.font=h}catch(e){}O(D,"fill",{fill:n?o.fill:o.textFill,opacity:o.opacity},this),O(D,"stroke",{stroke:n?o.stroke:o.textStroke,opacity:o.opacity,lineDash:o.lineDash},this),D.style.zIndex=C(this.zlevel,this.z,this.z2),T(e,D)}},Z=function(e){I(e,this._textVmlEl),this._textVmlEl=null},Y=function(e){T(e,this._textVmlEl)},q=[l,c,u,d,h],X=0;X<q.length;X++){var J=q[X].prototype;J.drawRectText=j,J.removeRectText=Z,J.appendRectText=Y}h.prototype.brushVML=function(e){var t=this.style;null!=t.text?this.drawRectText(e,{x:t.x||0,y:t.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(e)},h.prototype.onRemove=function(e){this.removeRectText(e)},h.prototype.onAdd=function(e){this.appendRectText(e)}}},function(e,t,i){i(535),i(180).registerPainter("vml",i(534))}],[214]);