12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4f90706c"],{"00a2":function(t,e,n){var i=n("e83b"),r=n("4341"),a=function(t,e,n,i,a){r.call(this,t,e,n),this.type=i||"value",this.position=a||"bottom"};a.prototype={constructor:a,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},getGlobalExtent:function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},i.inherits(a,r);var o=a;t.exports=o},"013f":function(t,e,n){var i=n("4ce5"),r=n("224c"),a=n("008a"),o=n("eafa"),s=n("5dd2");t.exports=function(t,e){var n=1==t,l=2==t,c=3==t,u=4==t,h=6==t,d=5==t||h,f=e||s;return function(e,s,p){for(var g,v,m=a(e),y=r(m),x=i(s,p,3),_=o(y.length),b=0,w=n?f(e,_):l?f(e,0):void 0;_>b;b++)if((d||b in y)&&(g=y[b],v=x(g,b,m),t))if(n)w[b]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return b;case 2:w.push(g)}else if(u)return!1;return h?-1:c||u?u:w}}},"014b":function(t,e,n){var i=n("e83b"),r=n("81f6"),a=n("e8ad"),o=a.makeInner,s=n("770e"),l=s.enableClassExtend,c=s.enableClassCheck,u=n("8a5b"),h=n("7729"),d=n("1535"),f=n("a278"),p=i.mixin,g=o();function v(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function m(t,e,n){for(var i=0;i<e.length;i++)if(e[i]&&(t=t&&"object"===typeof t?t[e[i]]:null,null==t))break;return null==t&&n&&(t=n.get(e)),t}function y(t,e){var n=g(t).getParent;return n?n.call(t,e):t.parentModel}v.prototype={constructor:v,init:null,mergeOption:function(t){i.merge(this.option,t,!0)},get:function(t,e){return null==t?this.option:m(this.option,this.parsePath(t),!e&&y(this,t))},getShallow:function(t,e){var n=this.option,i=null==n?n:n[t],r=!e&&y(this,t);return null==i&&r&&(i=r.getShallow(t)),i},getModel:function(t,e){var n,i=null==t?this.option:m(this.option,t=this.parsePath(t));return e=e||(n=y(this,t))&&n.getModel(t),new v(i,e,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){var t=this.constructor;return new t(i.clone(this.option))},setReadOnly:function(t){},parsePath:function(t){return"string"===typeof t&&(t=t.split(".")),t},customizeGetParent:function(t){g(this).getParent=t},isAnimationEnabled:function(){if(!r.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},l(v),c(v),p(v,u),p(v,h),p(v,d),p(v,f);var x=v;t.exports=x},"01bb":function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("e83b")),a=r.createHashMap,o=r.isString,s=r.isArray,l=r.each,c=(r.assert,n("c529")),u=c.parseXML,h=a(),d={registerMap:function(t,e,n){var i;return s(e)?i=e:e.svg?i=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),i=[{type:"geoJSON",source:e,specialAreas:n}]),l(i,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON");var n=f[e];n(t)})),h.set(t,i)},retrieveMap:function(t){return h.get(t)}},f={geoJSON:function(t){var e=t.source;t.geoJSON=o(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=u(t.source)}};t.exports=d},"028e":function(t,e){var n={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-n.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}},i=n;t.exports=i},"03f7":function(t,e,n){var i=n("e83b"),r=n("a6c5"),a=n("f2e8"),o=a.parsePercent,s=n("2731"),l=i.each,c=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function h(t,e,n,i,r){var a=0,o=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,c){var u,h,d=l.position,f=l.getBoundingRect(),p=e.childAt(c+1),g=p&&p.getBoundingRect();if("horizontal"===t){var v=f.width+(g?-g.x+f.x:0);u=a+v,u>i||l.newline?(a=0,u=v,o+=s+n,s=f.height):s=Math.max(s,f.height)}else{var m=f.height+(g?-g.y+f.y:0);h=o+m,h>r||l.newline?(a+=s+n,o=0,h=m,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=a,d[1]=o,"horizontal"===t?a=u+n:o=h+n)}))}var d=h,f=i.curry(h,"vertical"),p=i.curry(h,"horizontal");function g(t,e,n){var i=e.width,r=e.height,a=o(t.x,i),l=o(t.y,r),c=o(t.x2,i),u=o(t.y2,r);return(isNaN(a)||isNaN(parseFloat(t.x)))&&(a=0),(isNaN(c)||isNaN(parseFloat(t.x2)))&&(c=i),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(u)||isNaN(parseFloat(t.y2)))&&(u=r),n=s.normalizeCssArray(n||0),{width:Math.max(c-a-n[1]-n[3],0),height:Math.max(u-l-n[0]-n[2],0)}}function v(t,e,n){n=s.normalizeCssArray(n||0);var i=e.width,a=e.height,l=o(t.left,i),c=o(t.top,a),u=o(t.right,i),h=o(t.bottom,a),d=o(t.width,i),f=o(t.height,a),p=n[2]+n[0],g=n[1]+n[3],v=t.aspect;switch(isNaN(d)&&(d=i-u-g-l),isNaN(f)&&(f=a-h-p-c),null!=v&&(isNaN(d)&&isNaN(f)&&(v>i/a?d=.8*i:f=.8*a),isNaN(d)&&(d=v*f),isNaN(f)&&(f=d/v)),isNaN(l)&&(l=i-u-d-g),isNaN(c)&&(c=a-h-f-p),t.left||t.right){case"center":l=i/2-d/2-n[3];break;case"right":l=i-d-g;break}switch(t.top||t.bottom){case"middle":case"center":c=a/2-f/2-n[0];break;case"bottom":c=a-f-p;break}l=l||0,c=c||0,isNaN(d)&&(d=i-g-l-(u||0)),isNaN(f)&&(f=a-p-c-(h||0));var m=new r(l+n[3],c+n[0],d,f);return m.margin=n,m}function m(t,e,n,a,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],c=o&&o.boundingMode||"all";if(s||l){var u;if("raw"===c)u="group"===t.type?new r(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(u=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();u=u.clone(),u.applyTransform(h)}e=v(i.defaults({width:u.width,height:u.height},e),n,a);var d=t.position,f=s?e.x-u.x:0,p=l?e.y-u.y:0;t.attr("position","raw"===c?[f,p]:[d[0]+f,d[1]+p])}}function y(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]}function x(t,e,n){!i.isObject(n)&&(n={});var r=n.ignoreSize;!i.isArray(r)&&(r=[r,r]);var a=s(u[0],0),o=s(u[1],1);function s(n,i){var a={},o=0,s={},u=0,d=2;if(l(n,(function(e){s[e]=t[e]})),l(n,(function(t){c(e,t)&&(a[t]=s[t]=e[t]),h(a,t)&&o++,h(s,t)&&u++})),r[i])return h(e,n[1])?s[n[2]]=null:h(e,n[2])&&(s[n[1]]=null),s;if(u!==d&&o){if(o>=d)return a;for(var f=0;f<n.length;f++){var p=n[f];if(!c(a,p)&&c(t,p)){a[p]=t[p];break}}return a}return s}function c(t,e){return t.hasOwnProperty(e)}function h(t,e){return null!=t[e]&&"auto"!==t[e]}function d(t,e,n){l(t,(function(t){e[t]=n[t]}))}d(u[0],t,a),d(u[1],t,o)}function _(t){return b({},t)}function b(t,e){return e&&t&&l(c,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}e.LOCATION_PARAMS=c,e.HV_NAMES=u,e.box=d,e.vbox=f,e.hbox=p,e.getAvailableSize=g,e.getLayoutRect=v,e.positionElement=m,e.sizeCalculable=y,e.mergeLayoutParam=x,e.getLayoutParams=_,e.copyLayoutParams=b},"073b":function(t,e,n){var i=n("e83b"),r=n("b7b2"),a=n("a886"),o=n("a8844"),s=r.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]}});function l(t,e){return e.type||(e.data?"category":"value")}i.merge(s.prototype,o);var c={offset:0};a("x",s,l,c),a("y",s,l,c);var u=s;t.exports=u},"09e3":function(t,e,n){var i=n("e83b"),r=n("e8ad");function a(t,e){var n,a=[],o=t.seriesIndex;if(null==o||!(n=e.getSeriesByIndex(o)))return{point:[]};var s=n.getData(),l=r.queryDataIndex(s,t);if(null==l||l<0||i.isArray(l))return{point:[]};var c=s.getItemGraphicEl(l),u=n.coordinateSystem;if(n.getTooltipPosition)a=n.getTooltipPosition(l)||[];else if(u&&u.dataToPoint)a=u.dataToPoint(s.getValues(i.map(u.dimensions,(function(t){return s.mapDimension(t)})),l,!0))||[];else if(c){var h=c.getBoundingRect().clone();h.applyTransform(c.transform),a=[h.x+h.width/2,h.y+h.height/2]}return{point:a,el:c}}t.exports=a},"0abc":function(t,e,n){var i=n("a670"),r=n("a6c5"),a=n("e83b"),o=n("0c25");function s(t){i.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var n=this.style,i=n.image;n.bind(t,this,e);var r=this._image=o.createOrUpdateImage(i,this._image,this,this.onload);if(r&&o.isImageReady(r)){var a=n.x||0,s=n.y||0,l=n.width,c=n.height,u=r.width/r.height;if(null==l&&null!=c?l=c*u:null==c&&null!=l?c=l/u:null==l&&null==c&&(l=r.width,c=r.height),this.setTransform(t),n.sWidth&&n.sHeight){var h=n.sx||0,d=n.sy||0;t.drawImage(r,h,d,n.sWidth,n.sHeight,a,s,l,c)}else if(n.sx&&n.sy){h=n.sx,d=n.sy;var f=l-h,p=c-d;t.drawImage(r,h,d,f,p,a,s,l,c)}else t.drawImage(r,a,s,l,c);null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new r(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},a.inherits(s,i);var l=s;t.exports=l},"0ad5":function(t,e,n){var i=n("b8e3"),r=n("e83b"),a=n("1e39"),o=n("38a2");n("1c06"),n("ccff"),n("784b"),i.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!r.isArray(e)&&(t.axisPointer.link=[e])}})),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=a.collect(t,e)})),i.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},o)},"0ae7":function(t,e,n){var i=n("75c3"),r=n("81f6"),a=n("e83b"),o=n("4801"),s=n("5206"),l=n("f709"),c=n("8d3f"),u=n("116f"),h=!r.canvasSupported,d={canvas:l},f={},p="4.2.0";function g(t,e){var n=new _(i(),t,e);return f[n.id]=n,n}function v(t){if(t)t.dispose();else{for(var e in f)f.hasOwnProperty(e)&&f[e].dispose();f={}}return this}function m(t){return f[t]}function y(t,e){d[t]=e}function x(t){delete f[t]}var _=function(t,e,n){n=n||{},this.dom=e,this.id=t;var i=this,l=new s,f=n.renderer;if(h){if(!d.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&d[f]||(f="canvas");var p=new d[f](e,l,n,t);this.storage=l,this.painter=p;var g=r.node||r.worker?null:new u(p.getViewportRoot(),p.root);this.handler=new o(l,p,g,p.root),this.animation=new c({stage:{update:a.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var v=l.delFromStorage,m=l.addToStorage;l.delFromStorage=function(t){v.call(l,t),t&&t.removeSelfFromZr(i)},l.addToStorage=function(t){m.call(l,t),t.addSelfToZr(i)}};_.prototype={constructor:_,getId:function(){return this.id},add:function(t){this.storage.addRoot(t),this._needsRefresh=!0},remove:function(t){this.storage.delRoot(t),this._needsRefresh=!0},configLayer:function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this._needsRefresh=!0},setBackgroundColor:function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var t;this._needsRefresh&&(t=!0,this.refreshImmediately()),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),t&&this.trigger("rendered")},addHover:function(t,e){if(this.painter.addHover){var n=this.painter.addHover(t,e);return this.refreshHover(),n}},removeHover:function(t){this.painter.removeHover&&(this.painter.removeHover(t),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(t,e){return this.painter.pathToImage(t,e)},setCursorStyle:function(t){this.handler.setCursorStyle(t)},findHover:function(t,e){return this.handler.findHover(t,e)},on:function(t,e,n){this.handler.on(t,e,n)},off:function(t,e){this.handler.off(t,e)},trigger:function(t,e){this.handler.trigger(t,e)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,x(this.id)}},e.version=p,e.init=g,e.dispose=v,e.getInstance=m,e.registerPainter=y},"0c25":function(t,e,n){var i=n("c51b"),r=new i(50);function a(t){if("string"===typeof t){var e=r.get(t);return e&&e.image}return t}function o(t,e,n,i,a){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=r.get(t),c={hostEl:n,cb:i,cbPayload:a};return o?(e=o.image,!l(e)&&o.pending.push(c)):(e=new Image,e.onload=e.onerror=s,r.put(t,e.__cachedImgObj={image:e,pending:[c]}),e.src=e.__zrImageSrc=t),e}return t}return e}function s(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function l(t){return t&&t.width&&t.height}e.findExistImage=a,e.createOrUpdateImage=o,e.isImageReady=l},"0c4d":function(t,e,n){var i=n("75c3"),r=n("57b9"),a=n("258f"),o=n("a387"),s=n("e83b"),l=function(t){a.call(this,t),r.call(this,t),o.call(this,t),this.id=t.id||i()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];n||(n=this[t]=[]),n[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this.clipPath&&this.clipPath.addSelfToZr(t)},removeSelfFromZr:function(t){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this.clipPath&&this.clipPath.removeSelfFromZr(t)}},s.mixin(l,o),s.mixin(l,a),s.mixin(l,r);var c=l;t.exports=c},"0eb3":function(t,e){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function i(t,e){return{target:t,topTarget:e&&e.topTarget}}n.prototype={constructor:n,_dragStart:function(t){var e=t.target;e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(i(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,r=t.offsetY,a=n-this._x,o=r-this._y;this._x=n,this._y=r,e.drift(a,o,t),this.dispatchToElement(i(e,t),"drag",t.event);var s=this.findHover(n,r,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(i(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(i(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(i(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(i(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var r=n;t.exports=r},"0fa1":function(t,e,n){var i=n("6918"),r=n("df81"),a=function(t){this.name=t||"",this.cx=0,this.cy=0,this._radiusAxis=new i,this._angleAxis=new r,this._radiusAxis.polar=this._angleAxis.polar=this};a.prototype={type:"polar",axisPointerEnabled:!0,constructor:a,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},pointToCoord:function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),a=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);i.inverse?a=o-360:o=a+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;var l=Math.atan2(-n,e)/Math.PI*180,c=l<a?1:-1;while(l<a||l>o)l+=360*c;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI,i=Math.cos(n)*e+this.cx,r=-Math.sin(n)*e+this.cy;return[i,r]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),n=e.getExtent().slice();n[0]>n[1]&&n.reverse();var i=t.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i,a=this.r,o=this.r0;return r<=a*a&&r>=o*o}}}};var o=a;t.exports=o},1010:function(t,e,n){var i=n("89e3"),r=n("a6c5"),a=n("d5a3"),o=a.WILL_BE_RESTORED,s=new r,l=function(){};l.prototype={constructor:l,drawRectText:function(t,e){var n=this.style;e=n.textRect||e,this.__dirty&&i.normalizeTextStyle(n,!0);var r=n.text;if(null!=r&&(r+=""),i.needDrawText(r,n)){t.save();var a=this.transform;n.transformText?this.setTransform(t):a&&(s.copy(e),s.applyTransform(a),e=s),i.renderText(this,t,r,n,e,o),t.restore()}}};var c=l;t.exports=c},"10d0":function(t,e,n){var i=n("e83b"),r=n("0c4d"),a=n("a6c5"),o=function(t){for(var e in t=t||{},r.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},childCount:function(){return this._children.length},add:function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},addBefore:function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,r=this._children,a=i.indexOf(r,t);return a<0?this:(r.splice(a,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(n)),e&&e.refresh(),this)},removeAll:function(){var t,e,n=this._children,i=this.__storage;for(e=0;e<n.length;e++)t=n[e],i&&(i.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(i)),t.parent=null;return n.length=0,this},eachChild:function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},traverse:function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n];t.call(e,i),"group"===i.type&&i.traverse(t,e)}return this},addChildrenToStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.addToStorage(n),n instanceof o&&n.addChildrenToStorage(t)}},delChildrenFromStorage:function(t){for(var e=0;e<this._children.length;e++){var n=this._children[e];t.delFromStorage(n),n instanceof o&&n.delChildrenFromStorage(t)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(t){for(var e=null,n=new a(0,0,0,0),i=t||this._children,r=[],o=0;o<i.length;o++){var s=i[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),c=s.getLocalTransform(r);c?(n.copy(l),n.applyTransform(c),e=e||n.clone(),e.union(n)):(e=e||l.clone(),e.union(l))}}return e||n}},i.inherits(o,r);var s=o;t.exports=s},"116f":function(t,e,n){var i=n("7708"),r=i.addEventListener,a=i.removeEventListener,o=i.normalizeEvent,s=i.getNativeEvent,l=n("e83b"),c=n("57b9"),u=n("81f6"),h=300,d=u.domSupported,f=function(){var t=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=l.map(t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:i}}(),p={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function g(t){return"mousewheel"===t&&u.browser.firefox?"DOMMouseScroll":t}function v(t){var e=t.pointerType;return"pen"===e||"touch"===e}function m(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function y(t){t&&(t.zrByTouch=!0)}function x(t,e){return o(t.dom,new b(t,e),!0)}function _(t,e){var n=!1;do{e=e&&e.parentNode}while(e&&9!==e.nodeType&&!(n=e===t.painterRoot));return n}function b(t,e){this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}var w=b.prototype;w.stopPropagation=w.stopImmediatePropagation=w.preventDefault=l.noop;var S={mousedown:function(t){t=o(this.dom,t),this._mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=o(this.dom,t);var e=this._mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||I(this,!0),this.trigger("mousemove",t)},mouseup:function(t){t=o(this.dom,t),I(this,!1),this.trigger("mouseup",t)},mouseout:function(t){t=o(this.dom,t),this._pointerCapturing&&(t.zrEventControl="no_globalout");var e=t.toElement||t.relatedTarget;t.zrIsToLocalDOM=_(this,e),this.trigger("mouseout",t)},touchstart:function(t){t=o(this.dom,t),y(t),this._lastTouchMoment=new Date,this.handler.processGesture(t,"start"),S.mousemove.call(this,t),S.mousedown.call(this,t)},touchmove:function(t){t=o(this.dom,t),y(t),this.handler.processGesture(t,"change"),S.mousemove.call(this,t)},touchend:function(t){t=o(this.dom,t),y(t),this.handler.processGesture(t,"end"),S.mouseup.call(this,t),+new Date-this._lastTouchMoment<h&&S.click.call(this,t)},pointerdown:function(t){S.mousedown.call(this,t)},pointermove:function(t){v(t)||S.mousemove.call(this,t)},pointerup:function(t){S.mouseup.call(this,t)},pointerout:function(t){v(t)||S.mouseout.call(this,t)}};l.each(["click","mousewheel","dblclick","contextmenu"],(function(t){S[t]=function(e){e=o(this.dom,e),this.trigger(t,e)}}));var M={pointermove:function(t){v(t)||M.mousemove.call(this,t)},pointerup:function(t){M.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this._pointerCapturing;I(this,!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function T(t,e){var n=e.domHandlers;u.pointerEventsSupported?l.each(f.pointer,(function(i){C(e,i,(function(e){n[i].call(t,e)}))})):(u.touchEventsSupported&&l.each(f.touch,(function(i){C(e,i,(function(r){n[i].call(t,r),m(e)}))})),l.each(f.mouse,(function(i){C(e,i,(function(r){r=s(r),e.touching||n[i].call(t,r)}))})))}function A(t,e){function n(n){function i(i){i=s(i),_(t,i.target)||(i=x(t,i),e.domHandlers[n].call(t,i))}C(e,n,i,{capture:!0})}u.pointerEventsSupported?l.each(p.pointer,n):u.touchEventsSupported||l.each(p.mouse,n)}function C(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,r(t.domTarget,g(e),n,i)}function D(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&a(t.domTarget,g(n),e[n],t.listenerOpts[n]);t.mounted={}}function I(t,e){if(t._mayPointerCapture=null,d&&t._pointerCapturing^e){t._pointerCapturing=e;var n=t._globalHandlerScope;e?A(t,n):D(n)}}function k(t,e){this.domTarget=t,this.domHandlers=e,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function O(t,e){c.call(this),this.dom=t,this.painterRoot=e,this._localHandlerScope=new k(t,S),d&&(this._globalHandlerScope=new k(document,M)),this._pointerCapturing=!1,this._mayPointerCapture=null,T(this,this._localHandlerScope)}var P=O.prototype;P.dispose=function(){D(this._localHandlerScope),d&&D(this._globalHandlerScope)},P.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},l.mixin(O,c);var L=O;t.exports=L},"124d":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"container",staticClass:"statistical-page"},[n("div",{staticClass:"navs"},[n("div",{staticClass:"list"},[n("div",{staticClass:"item",class:"today"==t.time?"on":"",on:{click:function(e){return t.setTime("today")}}},[t._v("\n 今天\n ")]),n("div",{staticClass:"item",class:"yesterday"==t.time?"on":"",on:{click:function(e){return t.setTime("yesterday")}}},[t._v("\n 昨天\n ")]),n("div",{staticClass:"item",class:"seven"==t.time?"on":"",on:{click:function(e){return t.setTime("seven")}}},[t._v("\n 最近7天\n ")]),n("div",{staticClass:"item",class:"month"==t.time?"on":"",on:{click:function(e){return t.setTime("month")}}},[t._v("\n 本月\n ")]),n("div",{staticClass:"item",class:"date"==t.time?"on":"",on:{click:t.dateTitle}},[t._v("\n 自定义\n ")])])]),n("div",{staticClass:"wrapper"},[n("div",{staticClass:"title"},[t._v("\n "+t._s(t.title)+t._s(1==this.where.type?"营业额(元)":"订单量(份)")+"\n ")]),n("div",{staticClass:"money"},[t._v(t._s(t.time_price))]),n("div",{staticClass:"increase acea-row row-between-wrapper"},[n("div",[t._v("\n "+t._s(t.title)+"增长率:"),n("span",{class:1===t.increase_time_status?"red":"green"},[t._v(t._s(1===t.increase_time_status?"":"-")+t._s(t.growth_rate)+"%\n "),n("span",{staticClass:"iconfont",class:1===t.increase_time_status?"icon-xiangshang1":"icon-xiangxia2"})])]),n("div",[t._v("\n "+t._s(t.title)+"增长:"),n("span",{class:1===t.increase_time_status?"red":"green"},[t._v(t._s(1===t.increase_time_status?"":"-")+t._s(t.increase_time)+"\n "),n("span",{staticClass:"iconfont",class:1===t.increase_time_status?"icon-xiangshang1":"icon-xiangxia2"})])])])]),n("div",{staticClass:"chart"},[n("div",{staticClass:"company"},[t._v("\n "+t._s(1===t.where.type?"单位(元)":"单位(份)")+"\n ")]),n("ECharts",{attrs:{options:t.polar}})],1),n("div",{staticClass:"public-wrapper"},[t._m(0),t._m(1),n("div",{staticClass:"conter"},t._l(t.list,(function(e,i){return n("div",{key:i,staticClass:"item acea-row row-between-wrapper"},[n("div",{staticClass:"data"},[t._v(t._s(e.time))]),n("div",{staticClass:"browse"},[t._v(t._s(e.count))]),n("div",{staticClass:"turnover"},[t._v(t._s(e.price))])])})),0)]),n("div",{staticClass:"calendar-wrapper",class:!0===t.current?"on":""},[n("div",{staticClass:"calendar"},[n("Calendar",{ref:"calendar",attrs:{clean:t.clean,lunar:t.lunar,range:t.isrange,multi:t.ismulti,value:t.value,weekSwitch:t.weekSwitch,monthRange:t.monthRange,rangeMonthFormat:"yyyy年MM月",monFirst:"",responsive:"",begin:[1992,5,20],end:[2049,5,20]},on:{select:t.select,next:t.next,prev:t.prev}})],1)]),n("div",{directives:[{name:"show",rawName:"v-show",value:!0===t.current,expression:"current === true"}],staticClass:"mask",on:{touchmove:function(t){t.preventDefault()},click:t.close}}),n("Loading",{attrs:{loaded:t.loaded,loading:t.loading}})],1)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"title"},[n("span",{staticClass:"iconfont icon-xiangxishuju"}),t._v("详细数据\n ")])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"nav acea-row row-between-wrapper"},[n("div",{staticClass:"data"},[t._v("日期")]),n("div",{staticClass:"browse"},[t._v("订单量")]),n("div",{staticClass:"turnover"},[t._v("成交额")])])}],a=(n("6d57"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"echarts"})}),o=[],s=(n("cc57"),n("b8e3")),l=n.n(s),c=n("12b1"),u=n.n(c);let h=null;function d(t){return h||(h=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(window)),h(t)}let f=null;function p(t){f||(f=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(t){clearTimeout(t)}).bind(window)),f(t)}function g(t){var e=document.createElement("style");return e.type="text/css",e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t)),(document.querySelector("head")||document.body).appendChild(e),e}function v(t,e={}){let n=document.createElement(t);return Object.keys(e).forEach(t=>{n[t]=e[t]}),n}function m(t,e,n){let i=window.getComputedStyle(t,n||null)||{display:"none"};return i[e]}function y(t){if(!document.documentElement.contains(t))return{detached:!0,rendered:!1};let e=t;while(e!==document){if("none"===m(e,"display"))return{detached:!1,rendered:!1};e=e.parentNode}return{detached:!1,rendered:!0}}var x='.resize-triggers{visibility:hidden;opacity:0}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}';let _=0,b=null;function w(t,e){t.__resize_mutation_handler__||(t.__resize_mutation_handler__=T.bind(t));let n=t.__resize_listeners__;if(!n)if(t.__resize_listeners__=[],window.ResizeObserver){let{offsetWidth:e,offsetHeight:n}=t,i=new ResizeObserver(()=>{(t.__resize_observer_triggered__||(t.__resize_observer_triggered__=!0,t.offsetWidth!==e||t.offsetHeight!==n))&&C(t)}),{detached:r,rendered:a}=y(t);t.__resize_observer_triggered__=!1===r&&!1===a,t.__resize_observer__=i,i.observe(t)}else if(t.attachEvent&&t.addEventListener)t.__resize_legacy_resize_handler__=function(){C(t)},t.attachEvent("onresize",t.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",t.__resize_mutation_handler__);else if(_||(b=g(x)),D(t),t.__resize_rendered__=y(t).rendered,window.MutationObserver){let e=new MutationObserver(t.__resize_mutation_handler__);e.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),t.__resize_mutation_observer__=e}t.__resize_listeners__.push(e),_++}function S(t,e){if(t.detachEvent&&t.removeEventListener)return t.detachEvent("onresize",t.__resize_legacy_resize_handler__),void document.removeEventListener("DOMSubtreeModified",t.__resize_mutation_handler__);let n=t.__resize_listeners__;n&&(n.splice(n.indexOf(e),1),n.length||(t.__resize_observer__?(t.__resize_observer__.unobserve(t),t.__resize_observer__.disconnect(),t.__resize_observer__=null):(t.__resize_mutation_observer__&&(t.__resize_mutation_observer__.disconnect(),t.__resize_mutation_observer__=null),t.removeEventListener("scroll",A),t.removeChild(t.__resize_triggers__.triggers),t.__resize_triggers__=null),t.__resize_listeners__=null),!--_&&b&&b.parentNode.removeChild(b))}function M(t){let{width:e,height:n}=t.__resize_last__,{offsetWidth:i,offsetHeight:r}=t;return i!==e||r!==n?{width:i,height:r}:null}function T(){let{rendered:t,detached:e}=y(this);t!==this.__resize_rendered__&&(!e&&this.__resize_triggers__&&(I(this),this.addEventListener("scroll",A,!0)),this.__resize_rendered__=t,C(this))}function A(){I(this),this.__resize_raf__&&p(this.__resize_raf__),this.__resize_raf__=d(()=>{let t=M(this);t&&(this.__resize_last__=t,C(this))})}function C(t){t&&t.__resize_listeners__&&t.__resize_listeners__.forEach(e=>{e.call(t)})}function D(t){let e=m(t,"position");e&&"static"!==e||(t.style.position="relative"),t.__resize_old_position__=e,t.__resize_last__={};let n=v("div",{className:"resize-triggers"}),i=v("div",{className:"resize-expand-trigger"}),r=v("div"),a=v("div",{className:"resize-contract-trigger"});i.appendChild(r),n.appendChild(i),n.appendChild(a),t.appendChild(n),t.__resize_triggers__={triggers:n,expand:i,expandChild:r,contract:a},I(t),t.addEventListener("scroll",A,!0),t.__resize_last__={width:t.offsetWidth,height:t.offsetHeight}}function I(t){let{expand:e,expandChild:n,contract:i}=t.__resize_triggers__,{scrollWidth:r,scrollHeight:a}=i,{offsetWidth:o,offsetHeight:s,scrollWidth:l,scrollHeight:c}=e;i.scrollLeft=r,i.scrollTop=a,n.style.width=o+1+"px",n.style.height=s+1+"px",e.scrollLeft=l,e.scrollTop=c}var k=["legendselectchanged","legendselected","legendunselected","legendscroll","datazoom","datarangeselected","timelinechanged","timelineplaychanged","restore","dataviewchanged","magictypechanged","geoselectchanged","geoselected","geounselected","pieselectchanged","pieselected","pieunselected","mapselectchanged","mapselected","mapunselected","axisareaselected","focusnodeadjacency","unfocusnodeadjacency","brush","brushselected","rendered","finished","click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],O=["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],P=["theme","initOptions","autoresize"],L=["manualUpdate","watchShallow"],E={props:{options:Object,theme:[String,Object],initOptions:Object,group:String,autoresize:Boolean,watchShallow:Boolean,manualUpdate:Boolean},data:function(){return{lastArea:0}},watch:{group:function(t){this.chart.group=t}},methods:{mergeOptions:function(t,e,n){this.manualUpdate&&(this.manualOptions=t),this.chart?this.delegateMethod("setOption",t,e,n):this.init(t)},appendData:function(t){this.delegateMethod("appendData",t)},resize:function(t){this.delegateMethod("resize",t)},dispatchAction:function(t){this.delegateMethod("dispatchAction",t)},convertToPixel:function(t,e){return this.delegateMethod("convertToPixel",t,e)},convertFromPixel:function(t,e){return this.delegateMethod("convertFromPixel",t,e)},containPixel:function(t,e){return this.delegateMethod("containPixel",t,e)},showLoading:function(t,e){this.delegateMethod("showLoading",t,e)},hideLoading:function(){this.delegateMethod("hideLoading")},getDataURL:function(t){return this.delegateMethod("getDataURL",t)},getConnectedDataURL:function(t){return this.delegateMethod("getConnectedDataURL",t)},clear:function(){this.delegateMethod("clear")},dispose:function(){this.delegateMethod("dispose")},delegateMethod:function(t){var e;this.chart||this.init();for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return(e=this.chart)[t].apply(e,i)},delegateGet:function(t){return this.chart||this.init(),this.chart[t]()},getArea:function(){return this.$el.offsetWidth*this.$el.offsetHeight},init:function(t){var e=this;if(!this.chart){var n=l.a.init(this.$el,this.theme,this.initOptions);this.group&&(n.group=this.group),n.setOption(t||this.manualOptions||this.options||{},!0),k.forEach((function(t){n.on(t,(function(n){e.$emit(t,n)}))})),O.forEach((function(t){n.getZr().on(t,(function(n){e.$emit("zr:".concat(t),n)}))})),this.autoresize&&(this.lastArea=this.getArea(),this.__resizeHandler=u()((function(){0===e.lastArea?(e.mergeOptions({},!0),e.resize(),e.mergeOptions(e.options||e.manualOptions||{},!0)):e.resize(),e.lastArea=e.getArea()}),100,{leading:!0}),w(this.$el,this.__resizeHandler)),Object.defineProperties(this,{width:{configurable:!0,get:function(){return e.delegateGet("getWidth")}},height:{configurable:!0,get:function(){return e.delegateGet("getHeight")}},isDisposed:{configurable:!0,get:function(){return!!e.delegateGet("isDisposed")}},computedOptions:{configurable:!0,get:function(){return e.delegateGet("getOption")}}}),this.chart=n}},initOptionsWatcher:function(){var t=this;this.__unwatchOptions&&(this.__unwatchOptions(),this.__unwatchOptions=null),this.manualUpdate||(this.__unwatchOptions=this.$watch("options",(function(e,n){!t.chart&&e?t.init():t.chart.setOption(e,e!==n)}),{deep:!this.watchShallow}))},destroy:function(){this.autoresize&&S(this.$el,this.__resizeHandler),this.dispose(),this.chart=null},refresh:function(){this.chart&&(this.destroy(),this.init())}},created:function(){var t=this;this.initOptionsWatcher(),P.forEach((function(e){t.$watch(e,(function(){t.refresh()}),{deep:!0})})),L.forEach((function(e){t.$watch(e,(function(){t.initOptionsWatcher(),t.refresh()}))}))},mounted:function(){this.options&&this.init()},activated:function(){this.autoresize&&this.chart&&this.chart.resize()},destroyed:function(){this.chart&&this.destroy()},connect:function(t){"string"!==typeof t&&(t=t.map((function(t){return t.chart}))),l.a.connect(t)},disconnect:function(t){l.a.disConnect(t)},registerMap:function(t,e,n){l.a.registerMap(t,e,n)},registerTheme:function(t,e){l.a.registerTheme(t,e)},graphic:l.a.graphic},R=E,N=(n("c76c"),n("623f")),z=Object(N["a"])(R,a,o,!1,null,null,null),B=z.exports,F=(n("1564"),n("dd31"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"calendar",staticClass:"mpvue-calendar"},[t.isMonthRange?t._e():n("div",{staticClass:"calendar-tools"},[n("div",{staticClass:"calendar-prev",on:{click:t.prev}},[t.arrowLeft?n("img",{attrs:{src:t.arrowLeft}}):n("i",{staticClass:"iconfont icon-arrow-left"})]),n("div",{staticClass:"calendar-next",on:{click:t.next}},[t.arrowRight?n("img",{attrs:{src:t.arrowRight}}):n("i",{staticClass:"iconfont icon-arrow-right"})]),n("div",{staticClass:"calendar-info",on:{click:function(e){return e.stopPropagation(),t.changeYear(e)}}},[n("div",{staticClass:"mc-month"},[t.isIos?n("div",{class:["mc-month-inner",t.oversliding?"":"month-transition"],style:{top:t.monthPosition+t.unit}},t._l(t.monthsLoop,(function(e,i){return n("span",{key:i},[t._v(t._s(e))])})),0):n("div",{staticClass:"mc-month-text"},[t._v(t._s(t.monthText))])]),n("div",{staticClass:"mc-year"},[t._v(t._s(t.year))])])]),n("table",{attrs:{cellpadding:"5"}},[n("div",{staticClass:"mc-head",class:["mc-head",{"mc-month-range-mode-head":t.isMonthRange}]},[n("div",{staticClass:"mc-head-box"},t._l(t.weeks,(function(e,i){return n("div",{key:i,staticClass:"mc-week"},[t._v(t._s(e))])})),0)]),t._l(t.monthRangeDays,(function(e,i){return n("div",{key:i,class:["mc-body",{"mc-range-mode":t.range,"week-switch":t.weekSwitch&&!t.isMonthRange,"month-range-mode":t.isMonthRange}]},[t.isMonthRange?n("div",{staticClass:"month-rang-head"},[t._v(t._s(t.rangeOfMonths[i][2]))]):t._e(),t._l(e,(function(e,r){return n("tr",{key:r,class:{gregorianStyle:!t.lunar}},t._l(e,(function(e,a){return n("td",{key:a,staticClass:"mc-day",class:[{selected:e.selected,"mc-today-element":e.isToday,disabled:e.disabled,"mc-range-select-one":t.rangeBgHide&&e.selected,lunarStyle:t.lunar,"mc-range-row-first":0===a&&e.selected,"month-last-date":e.lastDay,"month-first-date":1===e.day,"mc-range-row-last":6===a&&e.selected,"mc-last-month":e.lastMonth,"mc-next-month":e.nextMonth},e.className,e.rangeClassName],style:t.itemStyle,on:{click:function(n){return t.select(r,a,e,n,i)}}},[t.showToday.show&&e.isToday?n("span",{staticClass:"mc-today calendar-date"},[t._v(t._s(t.showToday.text))]):n("span",{class:[{"mc-date-red":a===(t.monFirst?5:0)||6===a},"calendar-date"]},[t._v(t._s(e.day))]),e.content?n("div",{staticClass:"slot-element"},[t._v(t._s(e.content))]):t._e(),e.eventName&&!t.clean?n("div",{staticClass:"mc-text remark-text"},[t._v(t._s(e.eventName))]):t._e(),e.eventName&&t.clean?n("div",{staticClass:"mc-dot"}):t._e(),!t.lunar||e.eventName&&!t.clean?t._e():n("div",{staticClass:"mc-text",class:{isLunarFestival:e.isAlmanac||e.isLunarFestival,isGregorianFestival:e.isGregorianFestival,isTerm:e.isTerm}},[t._v("\n "+t._s(e.almanac||e.lunar)+"\n ")]),t.range&&e.selected?n("div",{staticClass:"mc-range-bg"}):t._e()])})),0)}))],2)}))],2),n("div",{staticClass:"mpvue-calendar-change",class:{show:t.yearsShow}},[t.weekSwitch?t._e():n("div",{staticClass:"calendar-years"},t._l(t.years,(function(e){return n("span",{key:e,class:{active:e===t.year},on:{click:function(n){return n.stopPropagation(),t.selectYear(e)}}},[t._v(t._s(e))])})),0),n("div",{class:["calendar-months",{"calendar-week-switch-months":t.weekSwitch}]},t._l(t.months,(function(e,i){return n("span",{key:e,class:{active:i===t.month},on:{click:function(e){return e.stopPropagation(),t.changeMonth(i)}}},[t._v(t._s(e))])})),0)])])}),H=[];n("e204");function W(t){if(Array.isArray(t))return t}function V(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),e&&n.length===e)break}catch(l){r=!0,a=l}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw a}}return n}}function G(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function j(t,e){return W(t)||V(t,e)||G()}n("9dd9"),n("e10e"),n("e697"),n("163d"),n("9a33");var U={lunarInfo:[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],solarMonth:[31,28,31,30,31,30,31,31,30,31,30,31],Gan:["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Zhi:["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Animals:["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],solarTerm:["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],sTermInfo:["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],nStr1:["日","一","二","三","四","五","六","七","八","九","十"],nStr2:["初","十","廿","卅"],nStr3:["正","二","三","四","五","六","七","八","九","十","冬","腊"],lYearDays:function(t){var e,n=348;for(e=32768;e>8;e>>=1)n+=U.lunarInfo[t-1900]&e?1:0;return n+U.leapDays(t)},leapMonth:function(t){return 15&U.lunarInfo[t-1900]},leapDays:function(t){return U.leapMonth(t)?65536&U.lunarInfo[t-1900]?30:29:0},monthDays:function(t,e){return e>12||e<1?-1:U.lunarInfo[t-1900]&65536>>e?30:29},solarDays:function(t,e){if(e>12||e<1)return-1;var n=e-1;return 1==n?t%4==0&&t%100!=0||t%400==0?29:28:U.solarMonth[n]},toGanZhiYear:function(t){var e=(t-3)%10,n=(t-3)%12;return 0==e&&(e=10),0==n&&(n=12),U.Gan[e-1]+U.Zhi[n-1]},toAstro:function(t,e){var n="魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯",i=[20,19,21,21,21,22,23,23,23,23,22,22];return n.substr(2*t-(e<i[t-1]?2:0),2)+"座"},toGanZhi:function(t){return U.Gan[t%10]+U.Zhi[t%12]},getTerm:function(t,e){if(t<1900||t>2100)return-1;if(e<1||e>24)return-1;var n=U.sTermInfo[t-1900],i=[parseInt("0x"+n.substr(0,5)).toString(),parseInt("0x"+n.substr(5,5)).toString(),parseInt("0x"+n.substr(10,5)).toString(),parseInt("0x"+n.substr(15,5)).toString(),parseInt("0x"+n.substr(20,5)).toString(),parseInt("0x"+n.substr(25,5)).toString()],r=[i[0].substr(0,1),i[0].substr(1,2),i[0].substr(3,1),i[0].substr(4,2),i[1].substr(0,1),i[1].substr(1,2),i[1].substr(3,1),i[1].substr(4,2),i[2].substr(0,1),i[2].substr(1,2),i[2].substr(3,1),i[2].substr(4,2),i[3].substr(0,1),i[3].substr(1,2),i[3].substr(3,1),i[3].substr(4,2),i[4].substr(0,1),i[4].substr(1,2),i[4].substr(3,1),i[4].substr(4,2),i[5].substr(0,1),i[5].substr(1,2),i[5].substr(3,1),i[5].substr(4,2)];return parseInt(r[e-1])},toChinaMonth:function(t){if(t>12||t<1)return-1;var e=U.nStr3[t-1];return e+="月",e},toChinaDay:function(t){var e;switch(t){case 10:e="初十";break;case 20:e="二十";break;case 30:e="三十";break;default:e=U.nStr2[Math.floor(t/10)],e+=U.nStr1[t%10]}return e},getAnimal:function(t){return U.Animals[(t-4)%12]},solar2lunar:function(t,e,n){if(t<1900||t>2100)return-1;if(1900==t&&1==e&&n<31)return-1;if(t)i=new Date(t,parseInt(e)-1,n);else var i=new Date;var r,a=0,o=0,s=(t=i.getFullYear(),e=i.getMonth()+1,n=i.getDate(),(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate())-Date.UTC(1900,0,31))/864e5);for(r=1900;r<2101&&s>0;r++)o=U.lYearDays(r),s-=o;s<0&&(s+=o,r--);var l=new Date,c=!1;l.getFullYear()==t&&l.getMonth()+1==e&&l.getDate()==n&&(c=!0);var u=i.getDay(),h=U.nStr1[u];0==u&&(u=7);var d=r,f=(a=U.leapMonth(r),!1);for(r=1;r<13&&s>0;r++)a>0&&r==a+1&&0==f?(--r,f=!0,o=U.leapDays(d)):o=U.monthDays(d,r),1==f&&r==a+1&&(f=!1),s-=o;0==s&&a>0&&r==a+1&&(f?f=!1:(f=!0,--r)),s<0&&(s+=o,--r);var p=r,g=s+1,v=e-1,m=U.toGanZhiYear(d),y=U.getTerm(d,2*e-1),x=U.getTerm(d,2*e),_=U.toGanZhi(12*(t-1900)+e+11);n>=y&&(_=U.toGanZhi(12*(t-1900)+e+12));var b=!1,w=null;y==n&&(b=!0,w=U.solarTerm[2*e-2]),x==n&&(b=!0,w=U.solarTerm[2*e-1]);var S=Date.UTC(t,v,1,0,0,0,0)/864e5+25567+10,M=U.toGanZhi(S+n-1),T=U.toAstro(e,n);return{lYear:d,lMonth:p,lDay:g,Animal:U.getAnimal(d),IMonthCn:(f?"闰":"")+U.toChinaMonth(p),IDayCn:U.toChinaDay(g),cYear:t,cMonth:e,cDay:n,gzYear:m,gzMonth:_,gzDay:M,isToday:c,isLeap:f,nWeek:u,ncWeek:"星期"+h,isTerm:b,Term:w,astro:T}},lunar2solar:function(t,e,n,i){i=!!i;var r=U.leapMonth(t);U.leapDays(t);if(i&&r!=e)return-1;if(2100==t&&12==e&&n>1||1900==t&&1==e&&n<31)return-1;var a=U.monthDays(t,e),o=a;if(i&&(o=U.leapDays(t,e)),t<1900||t>2100||n>o)return-1;for(var s=0,l=1900;l<t;l++)s+=U.lYearDays(l);var c=0,u=!1;for(l=1;l<e;l++)c=U.leapMonth(t),u||c<=l&&c>0&&(s+=U.leapDays(t),u=!0),s+=U.monthDays(t,l);i&&(s+=a);var h=Date.UTC(1900,1,30,0,0,0),d=new Date(864e5*(s+n-31)+h),f=d.getUTCFullYear(),p=d.getUTCMonth()+1,g=d.getUTCDate();return U.solar2lunar(f,p,g)}},Y={"1-1":"春节","1-15":"元宵节","2-2":"龙头节","5-5":"端午节","7-7":"七夕节","7-15":"中元节","8-15":"中秋节","9-9":"重阳节","10-1":"寒衣节","10-15":"下元节","12-8":"腊八节","12-23":"小年"},q={"1-1":"元旦","2-14":"情人节","3-8":"妇女节","3-12":"植树节","5-1":"劳动节","5-4":"青年节","6-1":"儿童节","7-1":"建党节","8-1":"建军节","9-10":"教师节","10-1":"国庆节","12-24":"平安夜","12-25":"圣诞节"},X=!!window,$=new Date,Z=[$.getFullYear(),$.getMonth()+1,$.getDate()].join("-"),K=U,J=(n("fcd0"),{props:{multi:{type:Boolean,default:!1},arrowLeft:{type:String,default:""},arrowRight:{type:String,default:""},clean:{type:Boolean,default:!1},now:{type:[String,Boolean],default:!0},range:{type:Boolean,default:!1},completion:{type:Boolean,default:!1},value:{type:Array,default:function(){return[]}},begin:{type:Array,default:function(){return[]}},end:{type:Array,default:function(){return[]}},zero:{type:Boolean,default:!1},disabled:{type:Array,default:function(){return[]}},almanacs:{type:Object,default:function(){return{}}},tileContent:{type:Array,default:function(){return[]}},lunar:{type:Boolean,default:!1},monFirst:{type:Boolean,default:!1},weeks:{type:Array,default:function(){return this.monFirst?["一","二","三","四","五","六","日"]:["日","一","二","三","四","五","六"]}},months:{type:Array,default:function(){return["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]}},events:{type:Object,default:function(){return{}}},weekSwitch:{type:Boolean,default:!1},monthRange:{type:Array,default:function(){return[]}},responsive:{type:Boolean,default:!1},rangeMonthFormat:{type:String,default:""}},data:function(){return{years:[],yearsShow:!1,year:0,month:0,monthPosition:0,day:0,days:[],multiDays:[],today:[],handleMultiDay:[],firstRender:!0,isIos:!0,showToday:{},monthText:"",festival:{lunar:Y,gregorian:q},rangeBegin:[],rangeEnd:[],multiDaysData:[],monthsLoop:[],itemWidth:50,unit:X?"px":"rpx",positionH:X?-24:-40,monthIndex:0,oversliding:!1,rangeBgHide:!1,monthRangeDays:[],rangeOfMonths:[],monthDays:[],weekIndex:0,startWeekIndex:0,positionWeek:!0,isMonthRange:!1}},computed:{itemStyle:function(){return{width:"".concat(this.itemWidth,"px"),height:"".concat(this.itemWidth,"px"),fontSize:"".concat(this.itemWidth/4,"px"),lineHeight:this.lunar?"".concat(this.itemWidth/1.5,"px"):"".concat(this.itemWidth,"px")}}},watch:{events:function(){this.isRendeRangeMode()||this.render(this.year,this.month,"_WATCHRENDER_","events")},disabled:function(){this.isRendeRangeMode()||this.render(this.year,this.month,"_WATCHRENDER_","disabled")},value:function(){if(!this.isRendeRangeMode("_WATCHRENDERVALUE_")){var t,e=this.value,n=e[0]||this.year,i=e[1]-1||this.month;if(this.multi)n=(e[e.length-1]||[])[0]||this.year,i=(e[e.length-1]||[])[1]-1||this.month;else if(this.range){if(!this.isUserSelect)return e.length&&(n=e[0][0],i=e[0][1]-1,t=e[0][2]),this.render(n,i,"_WATCHRENDERVALUE_",[n,i,t]);n=this.year,i=this.month,this.isUserSelect=!1}this.render(n,i,"_WATCHRENDERVALUE_")}},tileContent:function(){this.isRendeRangeMode()||this.render(this.year,this.month,"_WATCHRENDER_","tileContent")},almanacs:function(){this.isRendeRangeMode()||this.render(this.year,this.month,"_WATCHRENDER_","almanacs")},monthRange:function(){this.isRendeRangeMode()||this.render(this.year,this.month,"_WATCHRENDER_","almanacs")},responsive:function(){this.responsive&&this.addResponsiveListener()},weekSwitch:function(){this.isRendeRangeMode()||this.render(this.year,this.month,"_WATCHRENDER_","almanacs")}},created:function(){this.isMonthRange=!!this.monthRange.length;var t=this.months.concat();t.unshift(this.months[this.months.length-1]),t.push(this.months[0]),this.monthsLoop=t,this.monthsLoopCopy=this.monthsLoop.concat()},mounted:function(){var t=this;this.resize(),X?this.responsive&&this.addResponsiveListener():wx.getSystemInfo({success:function(e){t.isIos="iOS"===(e.system.split(" ")||[])[0]}}),this.oversliding=!0,this.initRender=!0,this.init()},beforeDestroy:function(){X&&window.removeEventListener("resize",this.resize)},methods:{init:function(){var t=new Date;if(this.year=t.getFullYear(),this.month=t.getMonth(),this.day=t.getDate(),this.monthIndex=this.month+1,this.value.length||this.multi)if(this.range){this.year=Number(this.value[0][0]),this.month=this.value[0][1]-1,this.day=Number(this.value[0][2]);var e=Number(this.value[1][0]),n=this.value[1][1]-1,i=this.value[1][2];this.rangeBegin=[this.year,this.month,this.day],this.rangeEnd=[e,n,i]}else if(this.multi){this.multiDays=this.value;var r=this.handleMultiDay;if(this.firstRender){this.firstRender=!1;var a=(this.value[0]||[])[0],o=(this.value[0]||[])[1];isFinite(a)&&isFinite(o)&&(this.month=parseInt(o,10)-1,this.year=parseInt(a,10))}else this.handleMultiDay.length?(this.month=parseInt(r[r.length-1][1],10)-1,this.year=parseInt(r[r.length-1][0],10),this.handleMultiDay=[]):(this.month=parseInt(this.value[this.value.length-1][1],10)-1,this.year=parseInt(this.value[this.value.length-1][0],10));this.day=parseInt((this.value[0]||[])[2],10)}else this.year=parseInt(this.value[0],10),this.month=parseInt(this.value[1],10)-1,this.day=parseInt(this.value[2],10);this.updateHeadMonth(),this.isRendeRangeMode()||this.render(this.year,this.month)},renderOption:function(t,e,n,i){var r=!this.monthRange.length&&this.weekSwitch,a=this.value,o=!r&&!i,s=function(i){return i.find((function(i){var r=i.split("-");return t===Number(r[0])&&e===r[1]-1&&n===Number(r[2])}))};if(this.range){var l=new Date(t,e+1,0).getDate()===n?{lastDay:!0}:null,c=Object.assign({day:n},this.getLunarInfo(t,e+1,n),this.getEvents(t,e+1,n),l),u=c.date,h=c.day,d=this.rangeBegin.concat(),f=this.rangeEnd.concat();if(d[1]+=1,f[1]+=1,(r||o)&&(f.join("-")===u&&(c.rangeClassName="mc-range-end"),d.join("-")===u&&(c.rangeClassName="mc-range-begin")),t===f[0]&&e+1===f[1]&&h===f[2]-1&&(c.rangeClassName=c.rangeClassName?["mc-range-begin","mc-range-second-to-last"]:"mc-range-second-to-last"),this.rangeBegin.length){var p=+new Date(this.rangeBegin[0],this.rangeBegin[1],this.rangeBegin[2]),g=+new Date(this.rangeEnd[0],this.rangeEnd[1],this.rangeEnd[2]),v=+new Date(t,e,n);p<=v&&g>=v&&(c.selected=!0)}if(this.begin.length){var m=+new Date(parseInt(this.begin[0],10),parseInt(this.begin[1],10)-1,parseInt(this.begin[2],10));m>+new Date(t,e,n)&&(c.disabled=!0)}if(this.end.length){var y=Number(new Date(parseInt(this.end[0],10),parseInt(this.end[1],10)-1,parseInt(this.end[2],10)));y<Number(new Date(t,e,n))&&(c.disabled=!0)}i&&!r?c.disabled=!0:this.disabled.length&&s(this.disabled)&&(c.disabled=!0);var x="".concat(t,"-").concat(e+1,"-1"),_="".concat(t,"-").concat(e+1,"-").concat(new Date(t,e+1,0).getDate());return x===u&&c.selected&&!c.rangeClassName&&(c.rangeClassName="mc-range-month-first"),_===u&&c.selected&&!c.rangeClassName&&(c.rangeClassName="mc-range-month-last"),this.isCurrentMonthToday(c)&&(c.isToday=!0),!r&&i&&(c.selected=!1),c}if(this.multi){var b;if(this.value.find((function(i){return t===i[0]&&e===i[1]-1&&n===i[2]})))b=Object.assign({day:n,selected:!0},this.getLunarInfo(t,e+1,n),this.getEvents(t,e+1,n));else{if(b=Object.assign({day:n,selected:!1},this.getLunarInfo(t,e+1,n),this.getEvents(t,e+1,n)),this.begin.length){var w=+new Date(parseInt(this.begin[0],10),parseInt(this.begin[1],10)-1,parseInt(this.begin[2],10));w>+new Date(t,e,n)&&(b.disabled=!0)}if(this.end.length){var S=+new Date(parseInt(this.end[0],10),parseInt(this.end[1],10)-1,parseInt(this.end[2],10));S<+new Date(t,e,n)&&(b.disabled=!0)}this.disabled.length&&s(this.disabled)&&(b.disabled=!0)}return b.selected&&this.multiDaysData.length!==this.value.length&&this.multiDaysData.push(b),this.isCurrentMonthToday(b)&&(b.isToday=!0),i&&!r&&(b.disabled=!0,b.selected=!1),b}var M={},T=e+1;if(a[0]===t&&a[1]===T&&a[2]===n)Object.assign(M,{day:n,selected:!0},this.getLunarInfo(t,T,n),this.getEvents(t,T,n));else{if(Object.assign(M,{day:n,selected:!1},this.getLunarInfo(t,T,n),this.getEvents(t,T,n)),this.begin.length){var A=+new Date(parseInt(this.begin[0],10),parseInt(this.begin[1],10)-1,parseInt(this.begin[2],10));A>Number(new Date(t,e,n))&&(M.disabled=!0)}if(this.end.length){var C=+new Date(parseInt(this.end[0],10),parseInt(this.end[1],10)-1,parseInt(this.end[2],10));C<+new Date(t,e,n)&&(M.disabled=!0)}this.disabled.length&&s(this.disabled)&&(M.disabled=!0)}return this.isCurrentMonthToday(M)&&(M.isToday=!0),i&&!r&&(M.disabled=!0,M.selected=!1),M},isCurrentMonthToday:function(t){var e=Z===t.date;return!!e&&(this.weekSwitch?e:Number(Z.split("-")[1])===this.month+1)},watchRender:function(t){var e=this.weekSwitch,n=JSON.parse(JSON.stringify(this.monthDays));if("events"===t){var i=this.events||{};Object.keys(i).forEach((function(t){n.some((function(e){return e.some((function(e){if(e.date===t)return e.eventName=i[t],!0}))}))})),this.monthDays=n}else if("disabled"===t){var r=this.disabled||[];r.forEach((function(t){n.some((function(e){return e.some((function(e){if(e.date===t)return e.disabled=!0,!0}))}))}))}else if("almanacs"===t){var a=this.almanacs||{};Object.keys(a).forEach((function(t){n.some((function(e){return e.some((function(e){if(e.date.slice(5,20)===t)return e.lunar=a[t],!0}))}))}))}else if("tileContent"===t){var o=this.tileContent||[];o.forEach((function(t){n.some((function(e){return e.some((function(e){if(e.date===t.date)return e.className=t.className,e.content=t.content,!0}))}))}))}e?(this.monthDays=n,this.days=[n[this.weekIndex]],this.monthRangeDays=[this.days]):(this.days=n,this.monthRangeDays=[this.days])},render:function(t,e,n,i){var r=this,a=this.weekSwitch,o="CUSTOMRENDER"===n,s="_WATCHRENDERVALUE_"===n;if(this.year=t,this.month=e,"_WATCHRENDER_"===n)return this.watchRender(i);this.range&&s&&(Array.isArray((this.value||[])[0])?(this.rangeBegin=[this.value[0][0],this.value[0][1]-1,this.value[0][2]],this.rangeEnd=[this.value[1][0],this.value[1][1]-1,this.value[1][2]]):(this.rangeBegin=[],this.rangeEnd=[])),s&&a&&(this.positionWeek=!0),o&&(this.year=t,this.month=e,this.positionWeek=!0,a&&!i&&(this.startWeekIndex=0,this.weekIndex=0),this.updateHeadMonth());var l=new Date(t,e,1).getDay(),c=new Date(t,e+1,0).getDate(),u=new Date(t,e,0).getDate();this.year=t;var h=1,d=0,f=1,p=[];for(h;h<=c;h++){var g=new Date(t,e,h).getDay(),v=void 0;if(0===g)p[d]=[];else if(1===h){p[d]=[],v=u-l+1;for(var m=0;m<l;m++)p[d].push(Object.assign(this.renderOption(this.computedPrevYear(t,e),this.computedPrevMonth(!1,e),v,"prevMonth"),{lastMonth:!0})),v++}if(p[d].push(this.renderOption(t,e,h)),6===g&&h<c)d++;else if(h===c){for(var y=1,x=this.monFirst?7:6,_=g;_<x;_++)p[d].push(Object.assign(this.renderOption(this.computedNextYear(t,e),this.computedNextMonth(!1,e),y,"nextMonth"),{nextMonth:!0})),y++;f=y}}var b=this.completion;if(this.monFirst){if(!l){for(var w=u,S=[],M=1;M<=7;M++)S.unshift(Object.assign(this.renderOption(this.computedPrevYear(t,e),this.computedPrevMonth(!1,e),w,"prevMonth"),{lastMonth:!0})),w--;p.unshift(S)}if(p.forEach((function(t,e){if(!e)return t.splice(0,1);p[e-1].length<7&&p[e-1].push(t.splice(0,1)[0])})),this.isMonthRange&&p[p.length-1][0].nextMonth&&p.splice(p.length-1,1),!b&&!a){var T=p.length-1,A=T-1,C=p[T][0].date.split("-")[1]!==p[A][6].date.split("-")[1];C&&p.splice(T,1)}}if(b&&!a&&p.length<=5&&f>0)for(var D=p.length;D<=5;D++){p[D]=[];for(var I=f+7*(D-d-1),k=I;k<=I+6;k++)p[D].push(Object.assign({day:k,disabled:!0,nextMonth:!0},this.getLunarInfo(this.computedNextYear(),this.computedNextMonth(!0),k),this.getEvents(this.computedNextYear(),this.computedNextMonth(!0),k)))}if(this.tileContent.length&&p.forEach((function(t,e){t.forEach((function(t){var e=r.tileContent.find((function(e){return e.date===t.date}));if(e){var n=e||{},i=n.className,a=n.content;t.className=i,t.content=a}}))})),a){var O=p.length,P=p[O-1][0].date.split("-")[1],L=p[O-2][0].date.split("-")[1];P!==L&&p.splice(O-1,1)}if(this.monthDays=p,a&&!this.isMonthRange){if(this.positionWeek){var E="",R=!0;if(Array.isArray(i)?E=[i[0],i[1]+1,i[2]].join("-"):(this.multi||s)&&(E=this.thisTimeSelect?this.thisTimeSelect:this.multi?this.value[this.value.length-1].join("-"):this.value.join("-")),"SETTODAY"===i)E=Z;else if(o)if("string"===typeof i)E=[t,Number(e)+1,i].join("-"),R=!0;else if("number"===typeof i){var N=i>p.length?p.length-1:i;this.startWeekIndex=N,this.weekIndex=N,this.positionWeek=!1,R=!1}var z=E||Z;R&&p.some((function(t,e){var n=t.find((function(t){return t.date===z}));if(n)return r.startWeekIndex=e,r.weekIndex=e,!0})),this.positionWeek=!1}this.days=[p[this.startWeekIndex]],this.initRender&&(this.setMonthRangeofWeekSwitch(),this.initRender=!1)}else this.days=p;var B="今";return"boolean"!==typeof this.now||this.now?"string"===typeof this.now?this.showToday={show:!0,text:this.now||B}:this.showToday={show:!0,text:B}:this.showToday={show:!1},this.monthRangeDays=[this.days],s&&this.updateHeadMonth(),this.days},rendeRange:function(t){var e=this,n=[],i=this,r=this.monthRange;function a(t,e){var n=/([y]+)(.*?)([M]+)(.*?)$/i,r=i.rangeMonthFormat||"yyyy-MM";return n.exec(r),String(t).substring(4-RegExp.$1.length)+RegExp.$2+String(e).substring(2-RegExp.$3.length)+RegExp.$4}if(r[0]===r[1]){var o=r[0].split("-"),s=j(o,2),l=s[0],c=s[1];n.push([Number(l),Number(c),a(l,c)])}else{var u=r[0].split("-"),h=r[1].split("-"),d=+u[0],f=+u[1],p=+h[0],g=+h[1]>12?12:+h[1];while(d<p||f<=g)n.push([d,f,a(d,f)]),12===f&&d!==p&&(d++,f=0),f++}this.rangeOfMonths=n;var v=n.map((function(n){var i=j(n,2),r=i[0],a=i[1];return e.render(r,a-1,t)}));this.monthRangeDays=v},isRendeRangeMode:function(t){if(this.isMonthRange=!!this.monthRange.length,this.isMonthRange)return this.rendeRange(t),!0},renderer:function(t,e,n){var i=t||this.year,r="number"===typeof parseInt(e,10)?e-1:this.month;this.initRender=!0,this.render(i,r,"CUSTOMRENDER",n),!this.weekSwitch&&(this.monthsLoop=this.monthsLoopCopy.concat())},computedPrevYear:function(t,e){var n=t;return e-1<0&&n--,n},computedPrevMonth:function(t,e){var n=e;return e-1<0?n=11:n--,t?n+1:n},computedNextYear:function(t,e){var n=t;return e+1>11&&n++,n},computedNextMonth:function(t,e){var n=e;return e+1>11?n=0:n++,t?n+1:n},getLunarInfo:function(t,e,n){var i=K.solar2lunar(t,e,n),r=i||{},a=r.Term,o=r.lMonth,s=r.lDay,l=r.lYear,c="";12===o&&s===K.monthDays(l,12)&&(c="除夕");var u=i.IDayCn,h=!1,d=!1;this.festival.lunar["".concat(i.lMonth,"-").concat(i.lDay)]?(u=this.festival.lunar["".concat(i.lMonth,"-").concat(i.lDay)],h=!0):this.festival.gregorian["".concat(e,"-").concat(n)]&&(u=this.festival.gregorian["".concat(e,"-").concat(n)],d=!0);var f={date:"".concat(t,"-").concat(e,"-").concat(n),lunar:c||a||u,isLunarFestival:h,isGregorianFestival:d,isTerm:!!c||i.isTerm};return Object.keys(this.almanacs).length&&Object.assign(f,{almanac:this.almanacs["".concat(e,"-").concat(n)]||"",isAlmanac:!!this.almanacs["".concat(e,"-").concat(n)]}),f},getEvents:function(t,e,n){if(Object.keys(this.events).length){var i=this.events["".concat(t,"-").concat(e,"-").concat(n)],r={};return i&&(r.eventName=i),r}},prev:function(t){var e=this;if(t&&t.stopPropagation(),!this.isMonthRange){var n=this.weekSwitch,i=function(i){if(1===e.monthIndex)e.oversliding=!1,e.month=11,e.year=parseInt(e.year,10)-1,e.monthIndex=e.monthIndex-1;else{if(0===e.monthIndex)return e.oversliding=!0,e.monthIndex=12,setTimeout((function(){return e.prev(t)}),50),e.updateHeadMonth("custom");13===e.monthIndex?(e.month=11,e.year=parseInt(e.year,10)-1,e.monthIndex=e.monthIndex-1):(e.oversliding=!1,e.month=parseInt(e.month,10)-1,e.monthIndex=e.monthIndex-1)}e.updateHeadMonth("custom"),e.render(e.year,e.month),"function"===typeof i&&i();var r=n?e.weekIndex:void 0;e.$emit("prev",e.year,e.month+1,r)};if(!this.weekSwitch)return i();var r=function(){e.weekIndex=e.weekIndex-1,e.days=[e.monthDays[e.weekIndex]],e.monthRangeDays=[e.days],e.setMonthRangeofWeekSwitch(),e.$emit("prev",e.year,e.month+1,e.weekIndex)},a=(this.days[0]||[])[0]||{};if(a.lastMonth||1===a.day){var o=function(){var t=e.monthDays.length,n=a.lastMonth?t-1:t;e.startWeekIndex=n,e.weekIndex=n,r()};i(o)}else r()}},next:function(t){var e=this;if(t&&t.stopPropagation(),!this.isMonthRange){var n=this.weekSwitch,i=function(){if(12===e.monthIndex)e.oversliding=!1,e.month=0,e.year=parseInt(e.year,10)+1,e.monthIndex=e.monthIndex+1;else if(0===e.monthIndex&&11===e.month)e.oversliding=!1,e.month=0,e.year=parseInt(e.year,10)+1,e.monthIndex=e.monthIndex+1;else{if(13===e.monthIndex)return e.oversliding=!0,e.monthIndex=1,setTimeout((function(){return e.next(t)}),50),e.updateHeadMonth("custom");e.oversliding=!1,e.month=parseInt(e.month,10)+1,e.monthIndex=e.monthIndex+1}e.updateHeadMonth("custom"),e.render(e.year,e.month);var i=n?e.weekIndex:void 0;e.$emit("next",e.year,e.month+1,i)};if(!this.weekSwitch)return i();var r=function(){e.weekIndex=e.weekIndex+1,e.days=[e.monthDays[e.weekIndex]],e.monthRangeDays=[e.days],e.setMonthRangeofWeekSwitch(),e.$emit("next",e.year,e.month+1,e.weekIndex)},a=(this.days[0]||[])[6]||{};if(a.nextMonth||a.day===new Date(this.year,this.month+1,0).getDate()){var o=a.nextMonth?1:0;this.startWeekIndex=o,this.weekIndex=o,i()}else r()}},select:function(t,e,n,i,r){var a=this;i&&i.stopPropagation();var o=this.weekSwitch;if(n.lastMonth&&!o)return this.prev(i);if(n.nextMonth&&!o)return this.next(i);if(!n.disabled){(n||{}).event=(this.events||{})[n.date]||"";var s=n.selected,l=n.day,c=n.date,u=c.split("-"),h=Number(u[0]),d=u[1]-1,f=Number(u[1]),p=Number(u[2]);if(this.range){this.isUserSelect=!0;var g=function(t){return t.map((function(t,e){var n=1===e?t+1:t;return a.zero?a.zeroPad(n):n}))};if(0===this.rangeBegin.length||0!==this.rangeEndTemp)this.rangeBegin=[h,d,p],this.rangeBeginTemp=this.rangeBegin,this.rangeEnd=[h,d,p],this.thisTimeSelect=this.rangeEnd,this.rangeEndTemp=0,this.$emit("select",g(this.rangeBegin),void 0);else{if(this.rangeEnd=[h,d,p],this.thisTimeSelect=[h,d,p],this.rangeBegin.join("-")===this.rangeEnd.join("-"))return this.rangeEndTemp=0;this.rangeEndTemp=1,+new Date(this.rangeEnd[0],this.rangeEnd[1],this.rangeEnd[2])<+new Date(this.rangeBegin[0],this.rangeBegin[1],this.rangeBegin[2])&&(this.rangeBegin=this.rangeEnd,this.rangeEnd=this.rangeBeginTemp);var v=g(this.rangeBegin),m=g(this.rangeEnd);this.value.splice(0,1,v),this.value.splice(1,1,m),this.$emit("select",v,m)}this.rangeBgHide=!this.rangeEndTemp||this.rangeBegin.join("-")===this.rangeEnd.join("-"),this.positionWeek=!0,this.isMonthRange?this.rendeRange():this.render(this.year,this.month,void 0,this.thisTimeSelect)}else if(this.multi){var y=this.value.findIndex((function(t){return t.join("-")===c}));~y?this.handleMultiDay=this.value.splice(y,1):this.value.push([Number(Number(u[0])),Number(u[1]),l]),this.monthRangeDays[r][t][e].selected=!s,this.monthDays[t][e].selected?this.multiDaysData.push(n):this.multiDaysData=this.multiDaysData.filter((function(t){return t.date!==c})),this.thisTimeSelect=c,this.$emit("select",this.value,this.multiDaysData)}else{var x=this.value.splice(),_=x.join("-");this.monthRangeDays.some((function(t){return t.some((function(t){return!!t.find((function(t){if(t.date===_)return t.selected=!1,!0}))}))})),this.monthRangeDays[r][t][e].selected=!0,this.day=l;var b=[h,f,p];this.value[0]=h,this.value[1]=f,this.value[2]=p,this.today=[t,e],this.$emit("select",b,n)}}},changeYear:function(){if(this.yearsShow)return this.yearsShow=!1,!1;this.yearsShow=!0,this.years=[];for(var t=this.year-5;t<this.year+7;t++)this.years.push(t)},changeMonth:function(t){this.oversliding&&(this.oversliding=!1),this.yearsShow=!1,this.month=t,this.render(this.year,this.month,"CUSTOMRENDER",0),this.updateHeadMonth(),this.weekSwitch&&this.setMonthRangeofWeekSwitch(),this.$emit("selectMonth",this.month+1,this.year)},selectYear:function(t){this.yearsShow=!1,this.year=t,this.render(this.year,this.month),this.$emit("selectYear",t)},setToday:function(){var t=new Date;this.year=t.getFullYear(),this.month=t.getMonth(),this.day=t.getDate(),this.positionWeek=!0,this.render(this.year,this.month,void 0,"SETTODAY"),this.updateHeadMonth()},setMonthRangeofWeekSwitch:function(){var t=this;this.monthsLoop=this.monthsLoopCopy.concat(),this.days[0].reduce((function(e,n){if(e){var i=((e||{}).date||"").split("-"),r=(i[0],i[1]),a=((n||{}).date||"").split("-")[1];if(r===a)return n;var o=t.months[r-1],s=t.months[a-1];t.monthsLoop[t.monthIndex]="".concat(o,"~").concat(s)}}))},dateInfo:function(t,e,n){return K.solar2lunar(t,e,n)},zeroPad:function(t){return String(t<10?"0".concat(t):t)},updateHeadMonth:function(t){t||(this.monthIndex=this.month+1),this.monthPosition=this.monthIndex*this.positionH,this.monthText=this.months[this.month]},addResponsiveListener:function(){window.addEventListener("resize",this.resize)},resize:function(){var t=this.$refs.calendar;this.itemWidth=(t.clientWidth/7-4).toFixed(5)}}}),Q=J,tt=Object(N["a"])(Q,F,H,!1,null,null,null),et=tt.exports,nt=(n("81aa"),n("50fc")),it=n("3a5e"),rt=(new Date).getFullYear(),at=(new Date).getMonth()+1,ot=(new Date).getDate(),st={name:"Statistics",components:{ECharts:B,Calendar:et,Loading:it["a"]},props:{},data:function(){return{polar:{tooltip:{trigger:"axis"},legend:{data:[""]},toolbox:{show:!1,feature:{mark:{show:!0},dataView:{show:!0,readOnly:!1},magicType:{show:!0,type:["line"]},restore:{show:!0},saveAsImage:{show:!0}}},calculable:!0,xAxis:[{type:"category",boundaryGap:!1,data:["周一","周二","周三","周四","周五","周六","周日"],splitLine:{show:!1},axisLine:{lineStyle:{color:"#999",width:1}}}],yAxis:[{type:"value",splitLine:{show:!0,lineStyle:{color:["#f5f5f5"],width:1,type:"solid"}},axisLine:{lineStyle:{color:"#999",width:1}}}],series:[{name:"邮件营销",type:"line",stack:"总量",itemStyle:{normal:{color:"#2291f8",lineStyle:{color:"#2291f8"}}},data:[120,132.5,101,134,90,150,30]}],grid:{x:30,x2:10,y:20,y2:110,left:40},animationDuration:2e3},value:[[rt,at,ot-1],[rt,at,ot]],isrange:!0,weekSwitch:!1,ismulti:!1,monFirst:!0,clean:!1,lunar:!1,renderValues:[],monthRange:[],current:!1,where:{start:"",stop:"",type:""},types:"",time:"",title:"",growth_rate:"",increase_time:"",increase_time_status:"",time_price:"",loaded:!1,loading:!1,filter:{page:1,limit:10,start:"",stop:""},list:[]}},watch:{"$route.params":function(t){var e=this;void 0!=t&&(e.setType(t.type),e.setTime(t.time),e.getIndex())}},mounted:function(){var t=this;this.handelRenderValues(),this.setTime(this.$route.params.time),this.setType(this.$route.params.type),this.getInfo(),this.$scroll(this.$refs.container,(function(){!t.loading&&t.getInfo()}))},computed:{monthRangeText:function(){return this.monthRange.length?"固定":"指定范围"}},methods:{getIndex:function(){var t=this;Object(nt["f"])(t.where).then((function(e){var n=e.data.chart,i=[],r=[];n.forEach((function(t){i.push(t.time),r.push(t.num)})),t.polar.xAxis[0].data=i,t.polar.series[0].data=r,t.growth_rate=e.data.growth_rate,t.increase_time=e.data.increase_time,t.increase_time_status=e.data.increase_time_status,t.time_price=e.data.time}),(function(e){t.$dialog.error(e.msg)}))},setTime:function(t){this.time=t;var e=(new Date).getFullYear(),n=(new Date).getMonth()+1,i=(new Date).getDate();switch(this.list=[],this.filter.page=1,this.loaded=!1,this.loading=!1,t){case"today":this.where.start=new Date(Date.parse(e+"/"+n+"/"+i)).getTime()/1e3,this.where.stop=new Date(Date.parse(e+"/"+n+"/"+i)).getTime()/1e3+86400-1,this.title="今日",this.getIndex(),this.getInfo();break;case"yesterday":this.where.start=new Date(Date.parse(e+"/"+n+"/"+i)).getTime()/1e3-86400,this.where.stop=new Date(Date.parse(e+"/"+n+"/"+i)).getTime()/1e3-1,this.title="昨日",this.getIndex(),this.getInfo();break;case"month":this.where.start=new Date(e,(new Date).getMonth(),1).getTime()/1e3,this.where.stop=new Date(e,n,1).getTime()/1e3-1,this.title="本月",this.getIndex(),this.getInfo();break;case"seven":this.where.start=new Date(Date.parse(e+"/"+n+"/"+i)).getTime()/1e3+86400-604800,this.where.stop=new Date(Date.parse(e+"/"+n+"/"+i)).getTime()/1e3+86400-1,this.title="七日",this.getIndex(),this.getInfo();break}},setType:function(t){switch(t){case"price":this.where.type=1;break;case"order":this.where.type=2;break}},clickSomeThing:function(t){console.log(t),this.value=[[2019,4,1],[2019,4,8]]},setMonthRange:function(){this.monthRange=this.monthRange.length?[]:["2019-4","2020-1"]},switchMode:function(){var t=this;this.weekSwitch=!this.weekSwitch,setTimeout((function(){t.$refs.calendar.renderer(2019,1)}),0)},handelRenderValues:function(t){if(this.ismulti)this.renderValues=this.value.map((function(t){return t.join("-")}));else if(this.isrange){var e=[];t||this.value,this.value.forEach((function(t,n){e.push(t.join("-")),n||e.push("~")})),this.renderValues=e}else this.renderValues=[this.value.join("-")]},multiMode:function(){this.ismulti=!0,this.isrange=!1,this.value=[[rt,at,16],[rt,at,18]],this.handelRenderValues(),this.$refs.calendar.renderer(rt,at)},rangeMode:function(){this.ismulti=!1,this.isrange=!0,this.value=[[rt,at,16],[rt,at,22]],this.handelRenderValues(),this.$refs.calendar.renderer(rt,at)},valueMode:function(){this.ismulti=!1,this.isrange=!1,this.value=[rt,at,16],this.handelRenderValues(),this.$refs.calendar.renderer(rt,at)},selectMonth:function(t,e){console.log(e,t)},prev:function(t,e,n){console.log(t,e,n)},next:function(t,e,n){console.log(t,e,n)},selectYear:function(t){console.log(t)},setToday:function(){this.$refs.calendar.setToday()},dateInfo:function(){var t=this.$refs.calendar.dateInfo(2018,8,23);console.log(t)},renderer:function(){this.monthRange.length&&(this.monthRange=["2018-8","2018-8"]),this.$refs.calendar.renderer(2018,8)},select:function(t,e){this.isrange?this.handelRenderValues([t,e]):this.ismulti?this.handelRenderValues(t):this.handelRenderValues([t]),this.where.start==new Date(t)/1e3&&this.where.stop==new Date(e)/1e3+86400-1||(this.list=[],this.filter.page=1,this.loaded=!1,this.loading=!1,this.time="date",this.title="",this.where.start=new Date(Date.parse(t[0]+"/"+t[1]+"/"+t[2])).getTime()/1e3,this.where.stop=new Date(Date.parse(e[0]+"/"+e[1]+"/"+e[2])).getTime()/1e3+86400-1,this.getIndex(),this.getInfo())},dateTitle:function(){this.current=!0},close:function(){this.current=!1},getInfo:function(){var t=this;t.loading||t.loaded||(t.loading=!0,t.filter.start=t.where.start,t.filter.stop=t.where.stop,Object(nt["e"])(t.filter).then((function(e){t.loading=!1,t.loaded=e.data.length<t.filter.limit,t.list.push.apply(t.list,e.data),t.filter.page=t.filter.page+1}),(function(e){t.$dialog.message(e.msg)})))}}},lt=st,ct=(n("9b9f"),Object(N["a"])(lt,i,r,!1,null,"54c784aa",null));e["default"]=ct.exports},"12b1":function(t,e,n){var i=n("dbbd"),r=n("9650"),a=n("fdf7"),o="Expected a function",s=Math.max,l=Math.min;function c(t,e,n){var c,u,h,d,f,p,g=0,v=!1,m=!1,y=!0;if("function"!=typeof t)throw new TypeError(o);function x(e){var n=c,i=u;return c=u=void 0,g=e,d=t.apply(i,n),d}function _(t){return g=t,f=setTimeout(S,e),v?x(t):d}function b(t){var n=t-p,i=t-g,r=e-n;return m?l(r,h-i):r}function w(t){var n=t-p,i=t-g;return void 0===p||n>=e||n<0||m&&i>=h}function S(){var t=r();if(w(t))return M(t);f=setTimeout(S,b(t))}function M(t){return f=void 0,y&&c?x(t):(c=u=void 0,d)}function T(){void 0!==f&&clearTimeout(f),g=0,c=p=u=f=void 0}function A(){return void 0===f?d:M(r())}function C(){var t=r(),n=w(t);if(c=arguments,u=this,p=t,n){if(void 0===f)return _(p);if(m)return clearTimeout(f),f=setTimeout(S,e),x(p)}return void 0===f&&(f=setTimeout(S,e)),d}return e=a(e)||0,i(n)&&(v=!!n.leading,m="maxWait"in n,h=m?s(a(n.maxWait)||0,e):h,y="trailing"in n?!!n.trailing:y),C.cancel=T,C.flush=A,C}t.exports=c},1347:function(t,e,n){var i=n("7708"),r=function(){this._track=[]};function a(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function o(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}r.prototype={constructor:r,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,n){var r=t.touches;if(r){for(var a={points:[],touches:[],target:e,event:t},o=0,s=r.length;o<s;o++){var l=r[o],c=i.clientToLocal(n,l,{});a.points.push([c.zrX,c.zrY]),a.touches.push(l)}this._track.push(a)}},_recognize:function(t){for(var e in s)if(s.hasOwnProperty(e)){var n=s[e](this._track,t);if(n)return n}}};var s={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var s=a(i)/a(r);!isFinite(s)&&(s=1),e.pinchScale=s;var l=o(i);return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},l=r;t.exports=l},1535:function(t,e,n){var i=n("bc29"),r=n("d02e"),a=["textStyle","color"],o={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(a):null)},getFont:function(){return r.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return i.getBoundingRect(t,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};t.exports=o},1564:function(t,e,n){var i=n("b8e3");n("2e0f"),n("d4a2");var r=n("9ae3"),a=n("fbf0"),o=n("af07");n("a6dd"),i.registerVisual(r("line","circle","line")),i.registerLayout(a("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,o("line"))},1734:function(t,e,n){var i=n("028e");function r(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}r.prototype={constructor:r,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var n=(t-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var r=this.easing,a="string"===typeof r?i[r]:r,o="function"===typeof a?a(n):n;return this.fire("frame",o),1===n?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var a=r;t.exports=a},1804:function(t,e,n){var i=n("94d9"),r=n("f881"),a=r.subPixelOptimizeLine,o={},s=i.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n,i,r,s;this.subPixelOptimize?(a(o,e,this.style),n=o.x1,i=o.y1,r=o.x2,s=o.y2):(n=e.x1,i=e.y1,r=e.x2,s=e.y2);var l=e.percent;0!==l&&(t.moveTo(n,i),l<1&&(r=n*(1-l)+r*l,s=i*(1-l)+s*l),t.lineTo(r,s))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}});t.exports=s},"1a01":function(t,e,n){var i=n("e83b"),r=i.each,a=i.isString;function o(t,e,n){n=n||{};var i,o,s,l,c=n.byIndex,u=n.stackedCoordDimension,h=!(!t||!t.get("stack"));if(r(e,(function(t,n){a(t)&&(e[n]=t={name:t}),h&&!t.isExtraCoord&&(c||i||!t.ordinalMeta||(i=t),o||"ordinal"===t.type||"time"===t.type||u&&u!==t.coordDim||(o=t))})),!o||c||i||(c=!0),o){s="__\0ecstackresult",l="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var d=o.coordDim,f=o.type,p=0;r(e,(function(t){t.coordDim===d&&p++})),e.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:i&&i.name,isStackedByIndex:c,stackedOverDimension:l,stackResultDimension:s}}function s(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function l(t,e){return s(t,e)?t.getCalculationInfo("stackResultDimension"):e}e.enableDataStack=o,e.isDimensionStacked=s,e.getStackedDimension=l},"1a8a":function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("e83b")),a=n("0fa1"),o=n("f2e8"),s=o.parsePercent,l=n("48ce"),c=l.createScaleByModel,u=l.niceScaleExtent,h=n("8394"),d=n("1a01"),f=d.getStackedDimension;function p(t,e,n){var i=e.get("center"),a=n.getWidth(),o=n.getHeight();t.cx=s(i[0],a),t.cy=s(i[1],o);var l=t.getRadiusAxis(),c=Math.min(a,o)/2,u=e.get("radius");null==u?u=[0,"100%"]:r.isArray(u)||(u=[0,u]),u=[s(u[0],c),s(u[1],c)],l.inverse?l.setExtent(u[1],u[0]):l.setExtent(u[0],u[1])}function g(t,e){var n=this,i=n.getAngleAxis(),a=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();r.each(e.mapDimension("radius",!0),(function(t){a.scale.unionExtentFromData(e,f(e,t))})),r.each(e.mapDimension("angle",!0),(function(t){i.scale.unionExtentFromData(e,f(e,t))}))}})),u(i.scale,i.model),u(a.scale,a.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),s=360/i.scale.count();i.inverse?o[1]+=s:o[1]-=s,i.setExtent(o[0],o[1])}}function v(t,e){if(t.type=e.get("type"),t.scale=c(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}n("3e82");var m={dimensions:a.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new a(i);r.update=g;var o=r.getRadiusAxis(),s=r.getAngleAxis(),l=t.findAxisModel("radiusAxis"),c=t.findAxisModel("angleAxis");v(o,l),v(s,c),p(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=n.coordinateSystem}})),n}};h.register("polar",m)},"1b7d":function(t,e,n){var i=n("e83b"),r=n("1d5c"),a=n("c722"),o=r.prototype,s=r.extend({type:"ordinal",init:function(t,e){t&&!i.isArray(t)||(t=new a({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),o.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return o.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(o.scale.call(this,t))},getTicks:function(){var t=[],e=this._extent,n=e[0];while(n<=e[1])t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:i.noop,niceExtent:i.noop});s.create=function(){return new s};var l=s;t.exports=l},"1c06":function(t,e,n){var i=n("b8e3"),r=i.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),a=r;t.exports=a},"1d5c":function(t,e,n){var i=n("770e");function r(t){this._setting=t||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}r.prototype.parse=function(t){return t},r.prototype.getSetting=function(t){return this._setting[t]},r.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},r.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},r.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},r.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r.prototype.getLabel=null,i.enableClassExtend(r),i.enableClassManagement(r,{registerWhenExtend:!0});var a=r;t.exports=a},"1e39":function(t,e,n){var i=n("e83b"),r=n("014b"),a=i.each,o=i.curry;function s(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(n,t,e),n.seriesInvolved&&u(n,t),n}function l(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),s=r.get("link",!0)||[],l=[];a(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var u=m(n.model),d=t.coordSysAxesInfo[u]={};t.coordSysMap[u]=n;var f=n.model,p=f.getModel("tooltip",i);if(a(n.getAxes(),o(_,!1,null)),n.getTooltipAxes&&i&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get("axisPointer.type"),x=n.getTooltipAxes(p.get("axisPointer.axis"));(g||y)&&a(x.baseAxes,o(_,!y||"cross",g)),y&&a(x.otherAxes,o(_,"cross",!1))}}function _(i,a,o){var u=o.model.getModel("axisPointer",r),f=u.get("show");if(f&&("auto"!==f||i||v(u))){null==a&&(a=u.get("triggerTooltip")),u=i?c(o,p,r,e,i,a):u;var g=u.get("snap"),y=m(o.model),x=a||g||"category"===o.type,_=t.axesInfo[y]={key:y,axis:o,coordSys:n,axisPointerModel:u,triggerTooltip:a,involveSeries:x,snap:g,useHandle:v(u),seriesModels:[]};d[y]=_,t.seriesInvolved|=x;var b=h(s,o);if(null!=b){var w=l[b]||(l[b]={axesInfo:{}});w.axesInfo[y]=_,w.mapper=s[b].mapper,_.linkGroup=w}}}}))}function c(t,e,n,o,s,l){var c=e.getModel("axisPointer"),u={};a(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){u[t]=i.clone(c.get(t))})),u.snap="category"!==t.type&&!!l,"cross"===c.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=c.get("label.show");if(h.show=null==d||d,!l){var f=u.lineStyle=c.get("crossStyle");f&&i.defaults(h,f.textStyle)}}return t.model.getModel("axisPointer",new r(u,n,o))}function u(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get("tooltip.trigger",!0),r=e.get("tooltip.show",!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get("axisPointer.show",!0)&&a(t.coordSysAxesInfo[m(n.model)],(function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}),this)}function h(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var a=t[r]||{};if(d(a[i+"AxisId"],n.id)||d(a[i+"AxisIndex"],n.componentIndex)||d(a[i+"AxisName"],n.name))return r}}function d(t,e){return"all"===t||i.isArray(t)&&i.indexOf(t,e)>=0||t===e}function f(t){var e=p(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,a=n.get("status"),o=n.get("value");null!=o&&(o=i.parse(o));var s=v(n);null==a&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o<l[0]&&(o=l[0]),r.value=o,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function p(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[m(t)]}function g(t){var e=p(t);return e&&e.axisPointerModel}function v(t){return!!t.get("handle.show")}function m(t){return t.type+"||"+t.id}e.collect=s,e.fixValue=f,e.getAxisInfo=p,e.getAxisPointerModel=g,e.makeKey=m},"1e85":function(t,e,n){var i=n("d5cc");function r(t,e,n,r,a,o,s,l,c,u,h){if(0===c)return!1;var d=c;if(h>e+d&&h>r+d&&h>o+d&&h>l+d||h<e-d&&h<r-d&&h<o-d&&h<l-d||u>t+d&&u>n+d&&u>a+d&&u>s+d||u<t-d&&u<n-d&&u<a-d&&u<s-d)return!1;var f=i.cubicProjectPoint(t,e,n,r,a,o,s,l,u,h,null);return f<=d/2}e.containStroke=r},"204e":function(t,e,n){var i=n("94d9"),r=i.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var n=.5522848,i=e.cx,r=e.cy,a=e.rx,o=e.ry,s=a*n,l=o*n;t.moveTo(i-a,r),t.bezierCurveTo(i-a,r-l,i-s,r-o,i,r-o),t.bezierCurveTo(i+s,r-o,i+a,r-l,i+a,r),t.bezierCurveTo(i+a,r+l,i+s,r+o,i,r+o),t.bezierCurveTo(i-s,r+o,i-a,r+l,i-a,r),t.closePath()}});t.exports=r},"210e":function(t,e,n){var i=n("e83b"),r=i.retrieve,a=i.defaults,o=i.extend,s=i.each,l=(i.map,n("2731")),c=n("d02e"),u=n("014b"),h=n("f2e8"),d=h.isRadianAroundZero,f=h.remRadian,p=n("c794"),g=p.createSymbol,v=n("ac11"),m=n("900e"),y=m.applyTransform,x=n("48ce"),_=x.shouldShowAllLabels,b=Math.PI,w=function(t,e){this.opt=e,this.axisModel=t,a(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new c.Group;var n=new c.Group({position:e.position.slice(),rotation:e.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};w.prototype={constructor:w,hasBuilder:function(t){return!!S[t]},add:function(t){S[t].call(this)},getGroup:function(){return this.group}};var S={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),i=this._transform,r=[n[0],0],a=[n[1],0];i&&(y(r,r,i),y(a,a,i));var l=o({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new c.Line({anid:"line",subPixelOptimize:!0,shape:{x1:r[0],y1:r[1],x2:a[0],y2:a[1]},style:l,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1}));var u=e.get("axisLine.symbol"),h=e.get("axisLine.symbolSize"),d=e.get("axisLine.symbolOffset")||0;if("number"===typeof d&&(d=[d,d]),null!=u){"string"===typeof u&&(u=[u,u]),"string"!==typeof h&&"number"!==typeof h||(h=[h,h]);var f=h[0],p=h[1];s([{rotate:t.rotation+Math.PI/2,offset:d[0],r:0},{rotate:t.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((r[0]-a[0])*(r[0]-a[0])+(r[1]-a[1])*(r[1]-a[1]))}],(function(e,n){if("none"!==u[n]&&null!=u[n]){var i=g(u[n],-f/2,-p/2,f,p,l.stroke,!0),a=e.r+e.offset,o=[r[0]+a*Math.cos(t.rotation),r[1]-a*Math.sin(t.rotation)];i.attr({rotation:e.rotate,position:o,silent:!0,z2:11}),this.group.add(i)}}),this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,n=L(this,t,e),i=R(this,t,e);D(t,i,n),E(this,t,e)},axisName:function(){var t=this.opt,e=this.axisModel,n=r(t.axisName,e.get("name"));if(n){var i,a,s=e.get("nameLocation"),u=t.nameDirection,h=e.getModel("nameTextStyle"),d=e.get("nameGap")||0,f=this.axisModel.axis.getExtent(),p=f[0]>f[1]?-1:1,g=["start"===s?f[0]-p*d:"end"===s?f[1]+p*d:(f[0]+f[1])/2,O(s)?t.labelOffset+u*d:0],v=e.get("nameRotate");null!=v&&(v=v*b/180),O(s)?i=T(t.rotation,null!=v?v:t.rotation,u):(i=A(t,s,v||0,f),a=t.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(i.rotation)),!isFinite(a)&&(a=null)));var m=h.getFont(),y=e.get("nameTruncate",!0)||{},x=y.ellipsis,_=r(t.nameTruncateMaxWidth,y.maxWidth,a),w=null!=x&&null!=_?l.truncateText(n,_,m,x,{minChar:2,placeholder:y.placeholder}):n,S=e.get("tooltip",!0),D=e.mainType,I={componentType:D,name:n,$vars:["name"]};I[D+"Index"]=e.componentIndex;var k=new c.Text({anid:"name",__fullText:n,__truncatedText:w,position:g,rotation:i.rotation,silent:C(e),z2:1,tooltip:S&&S.show?o({content:n,formatter:function(){return n},formatterParams:I},S):null});c.setTextStyle(k.style,h,{text:w,textFont:m,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:h.get("align")||i.textAlign,textVerticalAlign:h.get("verticalAlign")||i.textVerticalAlign}),e.get("triggerEvent")&&(k.eventData=M(e),k.eventData.targetType="axisName",k.eventData.name=n),this._dumbGroup.add(k),k.updateTransform(),this.group.add(k),k.decomposeTransform()}}},M=w.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},T=w.innerTextLayout=function(t,e,n){var i,r,a=f(e-t);return d(a)?(r=n>0?"top":"bottom",i="center"):d(a-b)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=a>0&&a<b?n>0?"right":"left":n>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:r}};function A(t,e,n,i){var r,a,o=f(n-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return d(o-b/2)?(a=l?"bottom":"top",r="center"):d(o-1.5*b)?(a=l?"top":"bottom",r="center"):(a="middle",r=o<1.5*b&&o>b/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:r,textVerticalAlign:a}}var C=w.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function D(t,e,n){if(!_(t.axis)){var i=t.get("axisLabel.showMinLabel"),r=t.get("axisLabel.showMaxLabel");e=e||[],n=n||[];var a=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],c=n[0],u=n[1],h=n[n.length-1],d=n[n.length-2];!1===i?(I(a),I(c)):k(a,o)&&(i?(I(o),I(u)):(I(a),I(c))),!1===r?(I(s),I(h)):k(l,s)&&(r?(I(l),I(d)):(I(s),I(h)))}}function I(t){t&&(t.ignore=!0)}function k(t,e,n){var i=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(i&&r){var a=v.identity([]);return v.rotate(a,a,-t.rotation),i.applyTransform(v.mul([],a,t.getLocalTransform())),r.applyTransform(v.mul([],a,e.getLocalTransform())),i.intersect(r)}}function O(t){return"middle"===t||"center"===t}function P(t,e,n,i,r){for(var a=[],o=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;o[0]=u,o[1]=0,s[0]=u,s[1]=n,e&&(y(o,o,e),y(s,s,e));var h=new c.Line({anid:r+"_"+t[l].tickValue,subPixelOptimize:!0,shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:i,z2:2,silent:!0});a.push(h)}return a}function L(t,e,n){var i=e.axis,r=e.getModel("axisTick");if(r.get("show")&&!i.scale.isBlank()){for(var o=r.getModel("lineStyle"),s=n.tickDirection*r.get("length"),l=i.getTicksCoords(),c=P(l,t._transform,s,a(o.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}),"ticks"),u=0;u<c.length;u++)t.group.add(c[u]);return c}}function E(t,e,n){var i=e.axis,r=e.getModel("minorTick");if(r.get("show")&&!i.scale.isBlank()){var o=i.getMinorTicksCoords();if(o.length)for(var s=r.getModel("lineStyle"),l=n.tickDirection*r.get("length"),c=a(s.getLineStyle(),a(e.getModel("axisTick").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})),u=0;u<o.length;u++)for(var h=P(o[u],t._transform,l,c,"minorticks_"+u),d=0;d<h.length;d++)t.group.add(h[d])}}function R(t,e,n){var i=e.axis,a=r(n.axisLabelShow,e.get("axisLabel.show"));if(a&&!i.scale.isBlank()){var o=e.getModel("axisLabel"),l=o.get("margin"),h=i.getViewLabels(),d=(r(n.labelRotate,o.get("rotate"))||0)*b/180,f=T(n.rotation,d,n.labelDirection),p=e.getCategories&&e.getCategories(!0),g=[],v=C(e),m=e.get("triggerEvent");return s(h,(function(r,a){var s=r.tickValue,h=r.formattedLabel,d=r.rawLabel,y=o;p&&p[s]&&p[s].textStyle&&(y=new u(p[s].textStyle,o,e.ecModel));var x=y.getTextColor()||e.get("axisLine.lineStyle.color"),_=i.dataToCoord(s),b=[_,n.labelOffset+n.labelDirection*l],w=new c.Text({anid:"label_"+s,position:b,rotation:f.rotation,silent:v,z2:10});c.setTextStyle(w.style,y,{text:h,textAlign:y.getShallow("align",!0)||f.textAlign,textVerticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||f.textVerticalAlign,textFill:"function"===typeof x?x("category"===i.type?d:"value"===i.type?s+"":s,a):x}),m&&(w.eventData=M(e),w.eventData.targetType="axisLabel",w.eventData.value=d),t._dumbGroup.add(w),w.updateTransform(),g.push(w),t.group.add(w),w.decomposeTransform()})),g}}var N=w;t.exports=N},2161:function(t,e,n){var i=n("94d9"),r=n("f697"),a=n("f881"),o=a.subPixelOptimizeRect,s={},l=i.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var n,i,a,l;this.subPixelOptimize?(o(s,e,this.style),n=s.x,i=s.y,a=s.width,l=s.height,s.r=e.r,e=s):(n=e.x,i=e.y,a=e.width,l=e.height),e.r?r.buildPath(t,e):t.rect(n,i,a,l),t.closePath()}});t.exports=l},"22cf":function(t,e,n){var i=n("e83b"),r=n("333d"),a=function(t,e,n,i,a){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=a||!1,r.call(this,i)};a.prototype={constructor:a},i.inherits(a,r);var o=a;t.exports=o},2346:function(t,e,n){var i=n("75c4");t.exports=Array.isArray||function(t){return"Array"==i(t)}},"23f1":function(t,e,n){var i=n("94d9"),r=n("3075"),a=n("48d3"),o=Math.sqrt,s=Math.sin,l=Math.cos,c=Math.PI,u=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},h=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(u(t)*u(e))},d=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(h(t,e))};function f(t,e,n,i,r,a,u,f,p,g,v){var m=p*(c/180),y=l(m)*(t-n)/2+s(m)*(e-i)/2,x=-1*s(m)*(t-n)/2+l(m)*(e-i)/2,_=y*y/(u*u)+x*x/(f*f);_>1&&(u*=o(_),f*=o(_));var b=(r===a?-1:1)*o((u*u*(f*f)-u*u*(x*x)-f*f*(y*y))/(u*u*(x*x)+f*f*(y*y)))||0,w=b*u*x/f,S=b*-f*y/u,M=(t+n)/2+l(m)*w-s(m)*S,T=(e+i)/2+s(m)*w+l(m)*S,A=d([1,0],[(y-w)/u,(x-S)/f]),C=[(y-w)/u,(x-S)/f],D=[(-1*y-w)/u,(-1*x-S)/f],I=d(C,D);h(C,D)<=-1&&(I=c),h(C,D)>=1&&(I=0),0===a&&I>0&&(I-=2*c),1===a&&I<0&&(I+=2*c),v.addData(g,M,T,u,f,A,I,m,a)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function v(t){if(!t)return new r;for(var e,n=0,i=0,a=n,o=i,s=new r,l=r.CMD,c=t.match(p),u=0;u<c.length;u++){for(var h,d=c[u],v=d.charAt(0),m=d.match(g)||[],y=m.length,x=0;x<y;x++)m[x]=parseFloat(m[x]);var _=0;while(_<y){var b,w,S,M,T,A,C,D=n,I=i;switch(v){case"l":n+=m[_++],i+=m[_++],h=l.L,s.addData(h,n,i);break;case"L":n=m[_++],i=m[_++],h=l.L,s.addData(h,n,i);break;case"m":n+=m[_++],i+=m[_++],h=l.M,s.addData(h,n,i),a=n,o=i,v="l";break;case"M":n=m[_++],i=m[_++],h=l.M,s.addData(h,n,i),a=n,o=i,v="L";break;case"h":n+=m[_++],h=l.L,s.addData(h,n,i);break;case"H":n=m[_++],h=l.L,s.addData(h,n,i);break;case"v":i+=m[_++],h=l.L,s.addData(h,n,i);break;case"V":i=m[_++],h=l.L,s.addData(h,n,i);break;case"C":h=l.C,s.addData(h,m[_++],m[_++],m[_++],m[_++],m[_++],m[_++]),n=m[_-2],i=m[_-1];break;case"c":h=l.C,s.addData(h,m[_++]+n,m[_++]+i,m[_++]+n,m[_++]+i,m[_++]+n,m[_++]+i),n+=m[_-2],i+=m[_-1];break;case"S":b=n,w=i;var k=s.len(),O=s.data;e===l.C&&(b+=n-O[k-4],w+=i-O[k-3]),h=l.C,D=m[_++],I=m[_++],n=m[_++],i=m[_++],s.addData(h,b,w,D,I,n,i);break;case"s":b=n,w=i;k=s.len(),O=s.data;e===l.C&&(b+=n-O[k-4],w+=i-O[k-3]),h=l.C,D=n+m[_++],I=i+m[_++],n+=m[_++],i+=m[_++],s.addData(h,b,w,D,I,n,i);break;case"Q":D=m[_++],I=m[_++],n=m[_++],i=m[_++],h=l.Q,s.addData(h,D,I,n,i);break;case"q":D=m[_++]+n,I=m[_++]+i,n+=m[_++],i+=m[_++],h=l.Q,s.addData(h,D,I,n,i);break;case"T":b=n,w=i;k=s.len(),O=s.data;e===l.Q&&(b+=n-O[k-4],w+=i-O[k-3]),n=m[_++],i=m[_++],h=l.Q,s.addData(h,b,w,n,i);break;case"t":b=n,w=i;k=s.len(),O=s.data;e===l.Q&&(b+=n-O[k-4],w+=i-O[k-3]),n+=m[_++],i+=m[_++],h=l.Q,s.addData(h,b,w,n,i);break;case"A":S=m[_++],M=m[_++],T=m[_++],A=m[_++],C=m[_++],D=n,I=i,n=m[_++],i=m[_++],h=l.A,f(D,I,n,i,A,C,S,M,T,h,s);break;case"a":S=m[_++],M=m[_++],T=m[_++],A=m[_++],C=m[_++],D=n,I=i,n+=m[_++],i+=m[_++],h=l.A,f(D,I,n,i,A,C,S,M,T,h,s);break}}"z"!==v&&"Z"!==v||(h=l.Z,s.addData(h),n=a,i=o),e=h}return s.toStatic(),s}function m(t,e){var n=v(t);return e=e||{},e.buildPath=function(t){if(t.setData){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e)}else{e=t;n.rebuildPath(e)}},e.applyTransform=function(t){a(n,t),this.dirty(!0)},e}function y(t,e){return new i(m(t,e))}function x(t,e){return i.extend(m(t,e))}function _(t,e){for(var n=[],r=t.length,a=0;a<r;a++){var o=t[a];o.path||o.createPathProxy(),o.__dirtyPath&&o.buildPath(o.path,o.shape,!0),n.push(o.path)}var s=new i(e);return s.createPathProxy(),s.buildPath=function(t){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e)},s}e.createFromString=y,e.extendFromString=x,e.mergePath=_},"258f":function(t,e,n){var i=n("ac11"),r=n("900e"),a=i.identity,o=5e-5;function s(t){return t>o||t<-o}var l=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=l.prototype;c.transform=null,c.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var u=[];c.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),r=this.transform;if(n||e){r=r||i.create(),n?this.getLocalTransform(r):a(r),e&&(n?i.mul(r,t.transform,r):i.copy(r,t.transform)),this.transform=r;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(u);var s=u[0]<0?-1:1,l=u[1]<0?-1:1,c=((u[0]-s)*o+s)/u[0]||0,h=((u[1]-l)*o+l)/u[1]||0;r[0]*=c,r[1]*=c,r[2]*=h,r[3]*=h}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,r)}else r&&a(r)},c.getLocalTransform=function(t){return l.getLocalTransform(this,t)},c.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},c.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var h=[],d=i.create();c.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=this.position,r=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),i[0]=t[4],i[1]=t[5],r[0]=e,r[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},c.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(i.mul(h,t.invTransform,e),e=h);var n=this.origin;n&&(n[0]||n[1])&&(d[4]=n[0],d[5]=n[1],i.mul(h,e,d),h[4]-=n[0],h[5]-=n[1],e=h),this.setLocalTransform(e)}},c.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},c.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.applyTransform(n,n,i),n},c.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.applyTransform(n,n,i),n},l.getLocalTransform=function(t,e){e=e||[],a(e);var n=t.origin,r=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),i.scale(e,e,r),o&&i.rotate(e,e,o),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=s[0],e[5]+=s[1],e};var f=l;t.exports=f},"25a9":function(t,e,n){var i=n("e83b");function r(t){return this._axes[t]}var a=function(t){this._axes={},this._dimList=[],this.name=t||""};a.prototype={constructor:a,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return i.map(this._dimList,r,this)},getAxesByScale:function(t){return t=t.toLowerCase(),i.filter(this.getAxes(),(function(e){return e.scale.type===t}))},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},r=0;r<n.length;r++){var a=n[r],o=this._axes[a];i[a]=o[e](t[a])}return i}};var o=a;t.exports=o},2731:function(t,e,n){var i=n("e83b"),r=n("bc29"),a=n("f2e8");function o(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:""))}function s(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var l=i.normalizeCssArray,c=/([&<>"'])/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"};function h(t){return null==t?"":(t+"").replace(c,(function(t,e){return u[e]}))}var d=["a","b","c","d","e","f","g"],f=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,n){i.isArray(e)||(e=[e]);var r=e.length;if(!r)return"";for(var a=e[0].$vars||[],o=0;o<a.length;o++){var s=d[o];t=t.replace(f(s),f(s,0))}for(var l=0;l<r;l++)for(var c=0;c<a.length;c++){var u=e[l][a[c]];t=t.replace(f(d[c],l),n?h(u):u)}return t}function g(t,e,n){return i.each(e,(function(e,i){t=t.replace("{"+i+"}",n?h(e):e)})),t}function v(t,e){t=i.isString(t)?{color:t,extraCssText:e}:t||{};var n=t.color,r=t.type,a=(e=t.extraCssText,t.renderMode||"html"),o=t.markerId||"X";return n?"html"===a?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+h(n)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+h(n)+";"+(e||"")+'"></span>':{renderMode:a,content:"{marker"+o+"|} ",style:{color:n}}:""}function m(t,e){return t+="","0000".substr(0,e-t.length)+t}function y(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=a.parseDate(e),r=n?"UTC":"",o=i["get"+r+"FullYear"](),s=i["get"+r+"Month"]()+1,l=i["get"+r+"Date"](),c=i["get"+r+"Hours"](),u=i["get"+r+"Minutes"](),h=i["get"+r+"Seconds"](),d=i["get"+r+"Milliseconds"]();return t=t.replace("MM",m(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",m(l,2)).replace("d",l).replace("hh",m(c,2)).replace("h",c).replace("mm",m(u,2)).replace("m",u).replace("ss",m(h,2)).replace("s",h).replace("SSS",m(d,3)),t}function x(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}var _=r.truncateText;function b(t){return r.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function w(t,e,n,i,a,o,s,l){return r.getBoundingRect(t,e,n,i,a,l,o,s)}e.addCommas=o,e.toCamelCase=s,e.normalizeCssArray=l,e.encodeHTML=h,e.formatTpl=p,e.formatTplSimple=g,e.getTooltipMarker=v,e.formatTime=y,e.capitalFirst=x,e.truncateText=_,e.getTextBoundingRect=b,e.getTextRect=w},"27fa":function(t,e,n){var i=n("b9af"),r=Object.prototype,a=r.hasOwnProperty,o=r.toString,s=i?i.toStringTag:void 0;function l(t){var e=a.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(l){}var r=o.call(t);return i&&(e?t[s]=n:delete t[s]),r}t.exports=l},2868:function(t,e){function n(t){return t}function i(t,e,i,r,a){this._old=t,this._new=e,this._oldKeyGetter=i||n,this._newKeyGetter=r||n,this.context=a}function r(t,e,n,i,r){for(var a=0;a<t.length;a++){var o="_ec_"+r[i](t[a],a),s=e[o];null==s?(n.push(o),e[o]=a):(s.length||(e[o]=s=[s]),s.push(a))}}i.prototype={constructor:i,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t=this._old,e=this._new,n={},i={},a=[],o=[];for(r(t,n,a,"_oldKeyGetter",this),r(e,i,o,"_newKeyGetter",this),u=0;u<t.length;u++){var s=a[u],l=i[s];if(null!=l){var c=l.length;c?(1===c&&(i[s]=null),l=l.shift()):i[s]=null,this._update&&this._update(l,u)}else this._remove&&this._remove(u)}for(var u=0;u<o.length;u++){s=o[u];if(i.hasOwnProperty(s)){l=i[s];if(null==l)continue;if(l.length){var h=0;for(c=l.length;h<c;h++)this._add&&this._add(l[h])}else this._add&&this._add(l)}}}};var a=i;t.exports=a},"28cf":function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("e8ad")),a=r.makeInner,o=r.getDataItemValue,s=n("e83b"),l=s.createHashMap,c=s.each,u=s.map,h=s.isArray,d=s.isString,f=s.isObject,p=s.isTypedArray,g=s.isArrayLike,v=s.extend,m=(s.assert,n("e83c")),y=n("72b8"),x=y.SOURCE_FORMAT_ORIGINAL,_=y.SOURCE_FORMAT_ARRAY_ROWS,b=y.SOURCE_FORMAT_OBJECT_ROWS,w=y.SOURCE_FORMAT_KEYED_COLUMNS,S=y.SOURCE_FORMAT_UNKNOWN,M=y.SOURCE_FORMAT_TYPED_ARRAY,T=y.SERIES_LAYOUT_BY_ROW,A={Must:1,Might:2,Not:3},C=a();function D(t){var e=t.option.source,n=S;if(p(e))n=M;else if(h(e)){0===e.length&&(n=_);for(var i=0,r=e.length;i<r;i++){var a=e[i];if(null!=a){if(h(a)){n=_;break}if(f(a)){n=b;break}}}}else if(f(e)){for(var o in e)if(e.hasOwnProperty(o)&&g(e[o])){n=w;break}}else if(null!=e)throw new Error("Invalid data");C(t).sourceFormat=n}function I(t){return C(t).source}function k(t){C(t).datasetMap=l()}function O(t){var e=t.option,n=e.data,i=p(n)?M:x,r=!1,a=e.seriesLayoutBy,o=e.sourceHeader,s=e.dimensions,l=B(t);if(l){var c=l.option;n=c.source,i=C(l).sourceFormat,r=!0,a=a||c.seriesLayoutBy,null==o&&(o=c.sourceHeader),s=s||c.dimensions}var u=P(n,i,a,o,s);C(t).source=new m({data:n,fromDataset:r,seriesLayoutBy:a,sourceFormat:i,dimensionsDefine:u.dimensionsDefine,startIndex:u.startIndex,dimensionsDetectCount:u.dimensionsDetectCount,encodeDefine:e.encode})}function P(t,e,n,i,r){if(!t)return{dimensionsDefine:L(r)};var a,s;if(e===_)"auto"===i||null==i?E((function(t){null!=t&&"-"!==t&&(d(t)?null==s&&(s=1):s=0)}),n,t,10):s=i?1:0,r||1!==s||(r=[],E((function(t,e){r[e]=null!=t?t:""}),n,t)),a=r?r.length:n===T?t.length:t[0]?t[0].length:null;else if(e===b)r||(r=R(t));else if(e===w)r||(r=[],c(t,(function(t,e){r.push(e)})));else if(e===x){var l=o(t[0]);a=h(l)&&l.length||1}return{startIndex:s,dimensionsDefine:L(r),dimensionsDetectCount:a}}function L(t){if(t){var e=l();return u(t,(function(t,n){if(t=v({},f(t)?t:{name:t}),null==t.name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var i=e.get(t.name);return i?t.name+="-"+i.count++:e.set(t.name,{count:1}),t}))}}function E(t,e,n,i){if(null==i&&(i=1/0),e===T)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var a=n[0]||[];for(r=0;r<a.length&&r<i;r++)t(a[r],r)}}function R(t){var e,n=0;while(n<t.length&&!(e=t[n++]));if(e){var i=[];return c(e,(function(t,e){i.push(e)})),i}}function N(t,e,n){var i={},r=B(e);if(!r||!t)return i;var a,o,s=[],l=[],u=e.ecModel,h=C(u).datasetMap,d=r.uid+"_"+n.seriesLayoutBy;t=t.slice(),c(t,(function(e,n){!f(e)&&(t[n]={name:e}),"ordinal"===e.type&&null==a&&(a=n,o=v(t[n])),i[e.name]=[]}));var p=h.get(d)||h.set(d,{categoryWayDim:o,valueWayDim:0});function g(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function v(t){var e=t.dimsDef;return e?e.length:1}return c(t,(function(t,e){var n=t.name,r=v(t);if(null==a){var o=p.valueWayDim;g(i[n],o,r),g(l,o,r),p.valueWayDim+=r}else if(a===e)g(i[n],0,r),g(s,0,r);else{o=p.categoryWayDim;g(i[n],o,r),g(l,o,r),p.categoryWayDim+=r}})),s.length&&(i.itemName=s),l.length&&(i.seriesName=l),i}function z(t,e,n){var i={},r=B(t);if(!r)return i;var a,o=e.sourceFormat,s=e.dimensionsDefine;o!==b&&o!==w||c(s,(function(t,e){"name"===(f(t)?t.name:t)&&(a=e)}));var l=function(){for(var t={},i={},r=[],l=0,c=Math.min(5,n);l<c;l++){var u=H(e.data,o,e.seriesLayoutBy,s,e.startIndex,l);r.push(u);var h=u===A.Not;if(h&&null==t.v&&l!==a&&(t.v=l),(null==t.n||t.n===t.v||!h&&r[t.n]===A.Not)&&(t.n=l),d(t)&&r[t.n]!==A.Not)return t;h||(u===A.Might&&null==i.v&&l!==a&&(i.v=l),null!=i.n&&i.n!==i.v||(i.n=l))}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(i)?i:null}();if(l){i.value=l.v;var u=null!=a?a:l.n;i.itemName=[u],i.seriesName=[u]}return i}function B(t){var e=t.option,n=e.data;if(!n)return t.ecModel.getComponent("dataset",e.datasetIndex||0)}function F(t,e){return H(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function H(t,e,n,i,r,a){var s,l,c,u=5;if(p(t))return A.Not;if(i){var g=i[a];f(g)?(l=g.name,c=g.type):d(g)&&(l=g)}if(null!=c)return"ordinal"===c?A.Must:A.Not;if(e===_)if(n===T){for(var v=t[a],m=0;m<(v||[]).length&&m<u;m++)if(null!=(s=C(v[r+m])))return s}else for(m=0;m<t.length&&m<u;m++){var y=t[r+m];if(y&&null!=(s=C(y[a])))return s}else if(e===b){if(!l)return A.Not;for(m=0;m<t.length&&m<u;m++){var S=t[m];if(S&&null!=(s=C(S[l])))return s}}else if(e===w){if(!l)return A.Not;v=t[l];if(!v||p(v))return A.Not;for(m=0;m<v.length&&m<u;m++)if(null!=(s=C(v[m])))return s}else if(e===x)for(m=0;m<t.length&&m<u;m++){S=t[m];var M=o(S);if(!h(M))return A.Not;if(null!=(s=C(M[a])))return s}function C(t){var e=d(t);return null!=t&&isFinite(t)&&""!==t?e?A.Might:A.Not:e&&"-"!==t?A.Must:void 0}return A.Not}e.BE_ORDINAL=A,e.detectSourceFormat=D,e.getSource=I,e.resetSourceDefaulter=k,e.prepareSource=O,e.makeSeriesEncodeForAxisCoordSys=N,e.makeSeriesEncodeForNameBased=z,e.guessOrdinal=F},"28fd":function(t,e,n){var i=n("f2e8"),r=i.round;function a(t,e,n,a){var s={},c=t[1]-t[0],u=s.interval=i.nice(c/e,!0);null!=n&&u<n&&(u=s.interval=n),null!=a&&u>a&&(u=s.interval=a);var h=s.intervalPrecision=o(u),d=s.niceTickExtent=[r(Math.ceil(t[0]/u)*u,h),r(Math.floor(t[1]/u)*u,h)];return l(d,t),s}function o(t){return i.getPrecisionSafe(t)+2}function s(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function l(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=a,e.getIntervalPrecision=o,e.fixExtent=l},"2e0f":function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("d83c")),a=n("c3dd"),o=a.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return r(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});t.exports=o},"2f9b":function(t,e){function n(t,e,n,i,r,a,o){if(0===r)return!1;var s=r,l=0,c=t;if(o>e+s&&o>i+s||o<e-s&&o<i-s||a>t+s&&a>n+s||a<t-s&&a<n-s)return!1;if(t===n)return Math.abs(a-t)<=s/2;l=(e-i)/(t-n),c=(t*i-n*e)/(t-n);var u=l*a-o+c,h=u*u/(l*l+1);return h<=s/2*s/2}e.containStroke=n},3075:function(t,e,n){var i=n("d5cc"),r=n("900e"),a=n("bef6"),o=n("a6c5"),s=n("d7ad"),l=s.devicePixelRatio,c={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],h=[],d=[],f=[],p=Math.min,g=Math.max,v=Math.cos,m=Math.sin,y=Math.sqrt,x=Math.abs,_="undefined"!==typeof Float32Array,b=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};b.prototype={constructor:b,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){n=n||0,this._ux=x(n/l/t)||0,this._uy=x(n/l/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(c.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=x(t-this._xi)>this._ux||x(e-this._yi)>this._uy||this._len<5;return this.addData(c.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,r,a){return this.addData(c.C,t,e,n,i,r,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,r,a):this._ctx.bezierCurveTo(t,e,n,i,r,a)),this._xi=r,this._yi=a,this},quadraticCurveTo:function(t,e,n,i){return this.addData(c.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,r,a){return this.addData(c.A,t,e,n,n,i,r-i,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,a),this._xi=v(r)*n+t,this._yi=m(r)*n+e,this},arcTo:function(t,e,n,i,r){return this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(c.R,t,e,n,i),this},closePath:function(){this.addData(c.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;n<t.length;n++)e+=t[n];this._dashSum=e}return this},setLineDashOffset:function(t){return this._dashOffset=t,this},len:function(){return this._len},setData:function(t){var e=t.length;this.data&&this.data.length===e||!_||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();_&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var a=t[r].data,o=0;o<a.length;o++)this.data[i++]=a[o];this._len=i},addData:function(t){if(this._saveData){var e=this.data;this._len+arguments.length>e.length&&(this._expandData(),e=this.data);for(var n=0;n<arguments.length;n++)e[this._len++]=arguments[n];this._prevCmd=t}},_expandData:function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(t,e){var n,i,r=this._dashSum,a=this._dashOffset,o=this._lineDash,s=this._ctx,l=this._xi,c=this._yi,u=t-l,h=e-c,d=y(u*u+h*h),f=l,v=c,m=o.length;u/=d,h/=d,a<0&&(a=r+a),a%=r,f-=a*u,v-=a*h;while(u>0&&f<=t||u<0&&f>=t||0===u&&(h>0&&v<=e||h<0&&v>=e))i=this._dashIdx,n=o[i],f+=u*n,v+=h*n,this._dashIdx=(i+1)%m,u>0&&f<l||u<0&&f>l||h>0&&v<c||h<0&&v>c||s[i%2?"moveTo":"lineTo"](u>=0?p(f,t):g(f,t),h>=0?p(v,e):g(v,e));u=f-t,h=v-e,this._dashOffset=-y(u*u+h*h)},_dashedBezierTo:function(t,e,n,r,a,o){var s,l,c,u,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,v=this._xi,m=this._yi,x=i.cubicAt,_=0,b=this._dashIdx,w=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(v,t,n,a,s+.1)-x(v,t,n,a,s),c=x(m,e,r,o,s+.1)-x(m,e,r,o,s),_+=y(l*l+c*c);for(;b<w;b++)if(S+=p[b],S>f)break;s=(S-f)/_;while(s<=1)u=x(v,t,n,a,s),h=x(m,e,r,o,s),b%2?g.moveTo(u,h):g.lineTo(u,h),s+=p[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(a,o),l=a-u,c=o-h,this._dashOffset=-y(l*l+c*c)},_dashedQuadraticTo:function(t,e,n,i){var r=n,a=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,r,a)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,_&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=d[0]=d[1]=Number.MAX_VALUE,h[0]=h[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,s=0,l=0;l<t.length;){var p=t[l++];switch(1===l&&(e=t[l],n=t[l+1],i=e,s=n),p){case c.M:i=t[l++],s=t[l++],e=i,n=s,d[0]=i,d[1]=s,f[0]=i,f[1]=s;break;case c.L:a.fromLine(e,n,t[l],t[l+1],d,f),e=t[l++],n=t[l++];break;case c.C:a.fromCubic(e,n,t[l++],t[l++],t[l++],t[l++],t[l],t[l+1],d,f),e=t[l++],n=t[l++];break;case c.Q:a.fromQuadratic(e,n,t[l++],t[l++],t[l],t[l+1],d,f),e=t[l++],n=t[l++];break;case c.A:var g=t[l++],y=t[l++],x=t[l++],_=t[l++],b=t[l++],w=t[l++]+b;l+=1;var S=1-t[l++];1===l&&(i=v(b)*x+g,s=m(b)*_+y),a.fromArc(g,y,x,_,b,w,S,d,f),e=v(w)*x+g,n=m(w)*_+y;break;case c.R:i=e=t[l++],s=n=t[l++];var M=t[l++],T=t[l++];a.fromLine(i,s,i+M,s+T,d,f);break;case c.Z:e=i,n=s;break}r.min(u,u,d),r.max(h,h,f)}return 0===l&&(u[0]=u[1]=h[0]=h[1]=0),new o(u[0],u[1],h[0]-u[0],h[1]-u[1])},rebuildPath:function(t){for(var e,n,i,r,a,o,s=this.data,l=this._ux,u=this._uy,h=this._len,d=0;d<h;){var f=s[d++];switch(1===d&&(i=s[d],r=s[d+1],e=i,n=r),f){case c.M:e=i=s[d++],n=r=s[d++],t.moveTo(i,r);break;case c.L:a=s[d++],o=s[d++],(x(a-i)>l||x(o-r)>u||d===h-1)&&(t.lineTo(a,o),i=a,r=o);break;case c.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),i=s[d-2],r=s[d-1];break;case c.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),i=s[d-2],r=s[d-1];break;case c.A:var p=s[d++],g=s[d++],y=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],T=y>_?y:_,A=y>_?1:y/_,C=y>_?_/y:1,D=Math.abs(y-_)>.001,I=b+w;D?(t.translate(p,g),t.rotate(S),t.scale(A,C),t.arc(0,0,T,b,I,1-M),t.scale(1/A,1/C),t.rotate(-S),t.translate(-p,-g)):t.arc(p,g,T,b,I,1-M),1===d&&(e=v(b)*y+p,n=m(b)*_+g),i=v(I)*y+p,r=m(I)*_+g;break;case c.R:e=i=s[d],n=r=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case c.Z:t.closePath(),i=e,r=n}}}},b.CMD=c;var w=b;t.exports=w},"32dd":function(t,e,n){var i=n("e83b"),r=i.createHashMap,a=i.each,o=i.isString,s=i.defaults,l=i.extend,c=i.isObject,u=i.clone,h=n("e8ad"),d=h.normalizeToArray,f=n("28cf"),p=f.guessOrdinal,g=f.BE_ORDINAL,v=n("e83c"),m=n("dacd"),y=m.OTHER_DIMENSIONS,x=n("4c4a");function _(t,e,n){v.isInstance(e)||(e=v.seriesDataToSource(e)),n=n||{},t=(t||[]).slice();for(var i=(n.dimsDef||[]).slice(),h=r(),f=r(),m=[],_=b(e,t,i,n.dimCount),S=0;S<_;S++){var M=i[S]=l({},c(i[S])?i[S]:{name:i[S]}),T=M.name,A=m[S]=new x;null!=T&&null==h.get(T)&&(A.name=A.displayName=T,h.set(T,S)),null!=M.type&&(A.type=M.type),null!=M.displayName&&(A.displayName=M.displayName)}var C=n.encodeDef;!C&&n.encodeDefaulter&&(C=n.encodeDefaulter(e,_)),C=r(C),C.each((function(t,e){if(t=d(t).slice(),1===t.length&&!o(t[0])&&t[0]<0)C.set(e,!1);else{var n=C.set(e,[]);a(t,(function(t,i){o(t)&&(t=h.get(t)),null!=t&&t<_&&(n[i]=t,I(m[t],e,i))}))}}));var D=0;function I(t,e,n){null!=y.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,f.set(e,!0))}a(t,(function(t,e){var n,i,r;if(o(t))n=t,t={};else{n=t.name;var l=t.ordinalMeta;t.ordinalMeta=null,t=u(t),t.ordinalMeta=l,i=t.dimsDef,r=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}var h=C.get(n);if(!1!==h){h=d(h);if(!h.length)for(var f=0;f<(i&&i.length||1);f++){while(D<m.length&&null!=m[D].coordDim)D++;D<m.length&&h.push(D++)}a(h,(function(e,a){var o=m[e];if(I(s(o,t),n,a),null==o.name&&i){var l=i[a];!c(l)&&(l={name:l}),o.name=o.displayName=l.name,o.defaultTooltip=l.defaultTooltip}r&&s(o.otherDims,r)}))}}));var k=n.generateCoord,O=n.generateCoordCount,P=null!=O;O=k?O||1:0;for(var L=k||"value",E=0;E<_;E++){A=m[E]=m[E]||new x;var R=A.coordDim;null==R&&(A.coordDim=w(L,f,P),A.coordDimIndex=0,(!k||O<=0)&&(A.isExtraCoord=!0),O--),null==A.name&&(A.name=w(A.coordDim,h)),null!=A.type||p(e,E,A.name)!==g.Must&&(!A.isExtraCoord||null==A.otherDims.itemName&&null==A.otherDims.seriesName)||(A.type="ordinal")}return m}function b(t,e,n,i){var r=Math.max(t.dimensionsDetectCount||1,e.length,n.length,i||0);return a(e,(function(t){var e=t.dimsDef;e&&(r=Math.max(r,e.length))})),r}function w(t,e,n){if(n||null!=e.get(t)){var i=0;while(null!=e.get(t+i))i++;t+=i}return e.set(t,!0),t}var S=_;t.exports=S},"333d":function(t,e){var n=function(t){this.colorStops=t||[]};n.prototype={constructor:n,addColorStop:function(t,e){this.colorStops.push({offset:t,color:e})}};var i=n;t.exports=i},3423:function(t,e,n){var i=n("e83b"),r=i.inherits,a=n("a670"),o=n("a6c5");function s(t){a.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},s.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},s.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},s.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},s.prototype.brush=function(t,e){for(var n=this._cursor;n<this._displayables.length;n++){var i=this._displayables[n];i.beforeBrush&&i.beforeBrush(t),i.brush(t,n===this._cursor?null:this._displayables[n-1]),i.afterBrush&&i.afterBrush(t)}this._cursor=n;for(n=0;n<this._temporaryDisplayables.length;n++){i=this._temporaryDisplayables[n];i.beforeBrush&&i.beforeBrush(t),i.brush(t,0===n?null:this._temporaryDisplayables[n-1]),i.afterBrush&&i.afterBrush(t)}this._temporaryDisplayables=[],this.notClear=!0};var l=[];s.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(l)),t.union(i)}this._rect=t}return this._rect},s.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){var a=this._displayables[r];if(a.contain(t,e))return!0}return!1},r(s,a);var c=s;t.exports=c},3679:function(t,e,n){var i=n("e83b"),r=n("d02e"),a=n("014b"),o=n("d630"),s=n("210e"),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function c(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function u(t){var e=t.getRadiusAxis();return e.inverse?0:1}function h(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var d=o.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,r=n.polar,a=r.getRadiusAxis().getExtent(),o=n.getTicksCoords(),s=n.getMinorTicksCoords(),c=i.map(n.getViewLabels(),(function(t){t=i.clone(t);return t.coord=n.dataToCoord(t.tickValue),t}));h(c),h(o),i.each(l,(function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,r,o,s,a,c)}),this)}},_axisLine:function(t,e,n,i,a){var o,s=t.getModel("axisLine.lineStyle"),l=u(e),c=l?0:1;o=0===a[c]?new r.Circle({shape:{cx:e.cx,cy:e.cy,r:a[l]},style:s.getLineStyle(),z2:1,silent:!0}):new r.Ring({shape:{cx:e.cx,cy:e.cy,r:a[l],r0:a[c]},style:s.getLineStyle(),z2:1,silent:!0}),o.style.fill=null,this.group.add(o)},_axisTick:function(t,e,n,a,o){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=o[u(e)],d=i.map(n,(function(t){return new r.Line({shape:c(e,[h,h+l],t.coord)})}));this.group.add(r.mergePath(d,{style:i.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,n,a,o){if(a.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),d=o[u(e)],f=[],p=0;p<a.length;p++)for(var g=0;g<a[p].length;g++)f.push(new r.Line({shape:c(e,[d,d+h],a[p][g].coord)}));this.group.add(r.mergePath(f,{style:i.defaults(l.getModel("lineStyle").getLineStyle(),i.defaults(s.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}))}))}},_axisLabel:function(t,e,n,o,l,c){var h=t.getCategories(!0),d=t.getModel("axisLabel"),f=d.get("margin"),p=t.get("triggerEvent");i.each(c,(function(n,i){var o=d,c=n.tickValue,g=l[u(e)],v=e.coordToPoint([g+f,n.coord]),m=e.cx,y=e.cy,x=Math.abs(v[0]-m)/g<.3?"center":v[0]>m?"left":"right",_=Math.abs(v[1]-y)/g<.3?"middle":v[1]>y?"top":"bottom";h&&h[c]&&h[c].textStyle&&(o=new a(h[c].textStyle,d,d.ecModel));var b=new r.Text({silent:s.isLabelSilent(t)});this.group.add(b),r.setTextStyle(b.style,o,{x:v[0],y:v[1],textFill:o.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:x,textVerticalAlign:_}),p&&(b.eventData=s.makeAxisEventDataBase(t),b.eventData.targetType="axisLabel",b.eventData.value=n.rawLabel)}),this)},_splitLine:function(t,e,n,a,o){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),h=0;u=u instanceof Array?u:[u];for(var d=[],f=0;f<n.length;f++){var p=h++%u.length;d[p]=d[p]||[],d[p].push(new r.Line({shape:c(e,o,n[f].coord)}))}for(f=0;f<d.length;f++)this.group.add(r.mergePath(d[f],{style:i.defaults({stroke:u[f%u.length]},l.getLineStyle()),silent:!0,z:t.get("z")}))},_minorSplitLine:function(t,e,n,i,a){if(i.length){for(var o=t.getModel("minorSplitLine"),s=o.getModel("lineStyle"),l=[],u=0;u<i.length;u++)for(var h=0;h<i[u].length;h++)l.push(new r.Line({shape:c(e,a,i[u][h].coord)}));this.group.add(r.mergePath(l,{style:s.getLineStyle(),silent:!0,z:t.get("z")}))}},_splitArea:function(t,e,n,a,o){if(n.length){var s=t.getModel("splitArea"),l=s.getModel("areaStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=Math.PI/180,f=-n[0].coord*d,p=Math.min(o[0],o[1]),g=Math.max(o[0],o[1]),v=t.get("clockwise"),m=1;m<n.length;m++){var y=u++%c.length;h[y]=h[y]||[],h[y].push(new r.Sector({shape:{cx:e.cx,cy:e.cy,r0:p,r:g,startAngle:f,endAngle:-n[m].coord*d,clockwise:v},silent:!0})),f=-n[m].coord*d}for(m=0;m<h.length;m++)this.group.add(r.mergePath(h[m],{style:i.defaults({fill:c[m%c.length]},l.getAreaStyle()),silent:!0}))}}});t.exports=d},"38a2":function(t,e,n){var i=n("e83b"),r=n("e8ad"),a=r.makeInner,o=n("1e39"),s=n("09e3"),l=i.each,c=i.curry,u=a();function h(t,e,n){var r=t.currTrigger,a=[t.x,t.y],o=t,u=t.dispatchAction||i.bind(n.dispatchAction,n),h=e.getComponent("axisPointer").coordSysAxesInfo;if(h){b(a)&&(a=s({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var f=b(a),w=o.axesInfo,S=h.axesInfo,M="leave"===r||b(a),T={},A={},C={list:[],map:{}},D={showPointer:c(p,A),showTooltip:c(g,C)};l(h.coordSysMap,(function(t,e){var n=f||t.containPoint(a);l(h.coordSysAxesInfo[e],(function(t,e){var i=t.axis,r=x(w,t);if(!M&&n&&(!w||r)){var o=r&&r.value;null!=o||f||(o=i.pointToData(a)),null!=o&&d(t,o,D,!1,T)}}))}));var I={};return l(S,(function(t,e){var n=t.linkGroup;n&&!A[e]&&l(n.axesInfo,(function(e,i){var r=A[i];if(e!==t&&r){var a=r.value;n.mapper&&(a=t.axis.scale.parse(n.mapper(a,_(e),_(t)))),I[t.key]=a}}))})),l(I,(function(t,e){d(S[e],t,D,!0,T)})),v(A,S,T),m(C,a,t,u),y(S,u,n),T}}function d(t,e,n,r,a){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var s=f(e,t),l=s.payloadBatch,c=s.snapToValue;l[0]&&null==a.seriesIndex&&i.extend(a,l[0]),!r&&t.snap&&o.containData(c)&&null!=c&&(e=c),n.showPointer(t,e,l,a),n.showTooltip(t,s,c)}else n.showPointer(t,e)}function f(t,e){var n=e.axis,i=n.dim,r=t,a=[],o=Number.MAX_VALUE,s=-1;return l(e.seriesModels,(function(e,c){var u,h,d=e.getData().mapDimension(i,!0);if(e.getAxisTooltipData){var f=e.getAxisTooltipData(d,t,n);h=f.dataIndices,u=f.nestestValue}else{if(h=e.getData().indicesOfNearest(d[0],t,"category"===n.type?.5:null),!h.length)return;u=e.getData().get(d[0],h[0])}if(null!=u&&isFinite(u)){var p=t-u,g=Math.abs(p);g<=o&&((g<o||p>=0&&s<0)&&(o=g,s=p,r=u,a.length=0),l(h,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:r}}function p(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function g(t,e,n,i){var r=n.payloadBatch,a=e.axis,s=a.model,l=e.axisPointerModel;if(e.triggerTooltip&&r.length){var c=e.coordSys.model,u=o.makeKey(c),h=t.map[u];h||(h=t.map[u]={coordSysId:c.id,coordSysIndex:c.componentIndex,coordSysType:c.type,coordSysMainType:c.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:a.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:i,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:r.slice()})}}function v(t,e,n){var i=n.axesInfo=[];l(e,(function(e,n){var r=e.axisPointerModel.option,a=t[n];a?(!e.useHandle&&(r.status="show"),r.value=a.value,r.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}function m(t,e,n,i){if(!b(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}function y(t,e,n){var r=n.getZr(),a="axisPointerLastHighlights",o=u(r)[a]||{},s=u(r)[a]={};l(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&l(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t}))}));var c=[],h=[];i.each(o,(function(t,e){!s[e]&&h.push(t)})),i.each(s,(function(t,e){!o[e]&&c.push(t)})),h.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:h}),c.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:c})}function x(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}function _(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function b(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=h},"38af":function(t,e,n){var i=n("e83b"),r=n("d83c"),a=n("48ce"),o=n("a8844"),s=n("014b"),l=n("03f7");l.getLayoutRect;e.getLayoutRect=l.getLayoutRect;var c=n("1a01"),u=c.enableDataStack,h=c.isDimensionStacked,d=c.getStackedDimension,f=n("32dd");e.completeDimensions=f;var p=n("e311");e.createDimensions=p;var g=n("c794");function v(t){return r(t.getSource(),t)}e.createSymbol=g.createSymbol;var m={isDimensionStacked:h,enableDataStack:u,getStackedDimension:d};function y(t,e){var n=e;s.isInstance(e)||(n=new s(e),i.mixin(n,o));var r=a.createScaleByModel(n);return r.setExtent(t[0],t[1]),a.niceScaleExtent(r,n),r}function x(t){i.mixin(t,o)}e.createList=v,e.dataStack=m,e.createScale=y,e.mixinAxisModelCommonMethods=x},"3aca":function(t,e,n){n("1a8a"),n("fe27")},"3c4c":function(t,e,n){var i=n("900e"),r=i.distance;function a(t,e,n,i,r,a,o){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*o+(-3*(e-n)-2*s-l)*a+s*r+e}function o(t,e){for(var n=t.length,i=[],o=0,s=1;s<n;s++)o+=r(t[s-1],t[s]);var l=o/2;l=l<n?n:l;for(s=0;s<l;s++){var c,u,h,d=s/(l-1)*(e?n:n-1),f=Math.floor(d),p=d-f,g=t[f%n];e?(c=t[(f-1+n)%n],u=t[(f+1)%n],h=t[(f+2)%n]):(c=t[0===f?f:f-1],u=t[f>n-2?n-1:f+1],h=t[f>n-3?n-1:f+2]);var v=p*p,m=p*v;i.push([a(c[0],g[0],u[0],h[0],p,v,m),a(c[1],g[1],u[1],h[1],p,v,m)])}return i}t.exports=o},"3cab":function(t,e){var n="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},"3dce":function(t,e,n){var i=n("d5cc"),r=i.quadraticProjectPoint;function a(t,e,n,i,a,o,s,l,c){if(0===s)return!1;var u=s;if(c>e+u&&c>i+u&&c>o+u||c<e-u&&c<i-u&&c<o-u||l>t+u&&l>n+u&&l>a+u||l<t-u&&l<n-u&&l<a-u)return!1;var h=r(t,e,n,i,a,o,l,c,null);return h<=u/2}e.containStroke=a},"3e82":function(t,e,n){var i=n("b8e3");n("95b0");var r=i.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e,n=this.ecModel;return n.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});t.exports=r},"41a4":function(t,e,n){var i=n("94d9"),r=n("f0ca"),a=i.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){r.buildPath(t,e,!1)}});t.exports=a},4341:function(t,e,n){var i=n("e83b"),r=i.each,a=i.map,o=n("f2e8"),s=o.linearMap,l=o.getPixelPrecision,c=o.round,u=n("aa1b"),h=u.createAxisTicks,d=u.createAxisLabels,f=u.calculateCategoryInterval,p=[0,1],g=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function v(t,e){var n=t[1]-t[0],i=e,r=n/i/2;t[0]+=r,t[1]-=r}function m(t,e,n,i){var a=e.length;if(t.onBand&&!n&&a){var o,s,l=t.getExtent();if(1===a)e[0].coord=l[0],o=e[1]={coord:l[0]};else{var u=e[a-1].tickValue-e[0].tickValue,h=(e[a-1].coord-e[0].coord)/u;r(e,(function(t){t.coord-=h/2}));var d=t.scale.getExtent();s=1+d[1]-e[a-1].tickValue,o={coord:e[a-1].coord+h*s},e.push(o)}var f=l[0]>l[1];p(e[0].coord,l[0])&&(i?e[0].coord=l[0]:e.shift()),i&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]}),p(l[1],o.coord)&&(i?o.coord=l[1]:e.pop()),i&&p(o.coord,l[1])&&e.push({coord:l[1]})}function p(t,e){return t=c(t),e=c(e),f?t>e:t<e}}g.prototype={constructor:g,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&(n=n.slice(),v(n,i.count())),s(t,p,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),v(n,i.count()));var r=s(t,n,p,e);return this.scale.scale(r)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=h(this,e),i=n.ticks,r=a(i,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this),o=e.get("alignWithLabel");return m(this,r,o,t.clamp),r},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),i=a(n,(function(t){return a(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return i},getViewLabels:function(){return d(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var y=g;t.exports=y},4364:function(t,e){var n={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")}}};t.exports=n},"43e2":function(t,e,n){var i=n("e83b"),r=n("1d5c"),a=n("f2e8"),o=n("d0db"),s=r.prototype,l=o.prototype,c=a.getPrecisionSafe,u=a.round,h=Math.floor,d=Math.ceil,f=Math.pow,p=Math.log,g=r.extend({type:"log",base:10,$constructor:function(){r.apply(this,arguments),this._originalScale=new o},getTicks:function(t){var e=this._originalScale,n=this._extent,r=e.getExtent();return i.map(l.getTicks.call(this,t),(function(t){var i=a.round(f(this.base,t));return i=t===n[0]&&e.__fixMin?v(i,r[0]):i,i=t===n[1]&&e.__fixMax?v(i,r[1]):i,i}),this)},getMinorTicks:l.getMinorTicks,getLabel:l.getLabel,scale:function(t){return t=s.scale.call(this,t),f(this.base,t)},setExtent:function(t,e){var n=this.base;t=p(t)/p(n),e=p(e)/p(n),l.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=s.getExtent.call(this);e[0]=f(t,e[0]),e[1]=f(t,e[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(e[0]=v(e[0],i[0])),n.__fixMax&&(e[1]=v(e[1],i[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=p(t[0])/p(e),t[1]=p(t[1])/p(e),s.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=a.quantity(n),r=t/n*i;r<=.5&&(i*=10);while(!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0)i*=10;var o=[a.round(d(e[0]/i)*i),a.round(h(e[1]/i)*i)];this._interval=i,this._niceExtent=o}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function v(t,e){return u(t,c(e))}i.each(["contain","normalize"],(function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}})),g.create=function(){return new g};var m=g;t.exports=m},"44e5":function(t,e,n){var i=n("94d9"),r=i.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)}});t.exports=r},"46ce":function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},4740:function(t,e,n){var i=n("f696"),r=1e-8;function a(t,e){return Math.abs(t-e)<r}function o(t,e,n){var r=0,o=t[0];if(!o)return!1;for(var s=1;s<t.length;s++){var l=t[s];r+=i(o[0],o[1],l[0],l[1],e,n),o=l}var c=t[0];return a(o[0],c[0])&&a(o[1],c[1])||(r+=i(o[0],o[1],c[0],c[1],e,n)),0!==r}e.contain=o},4801:function(t,e,n){var i=n("e83b"),r=n("900e"),a=n("0eb3"),o=n("57b9"),s=n("7708"),l=n("1347"),c="silent";function u(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:h}}function h(){s.stop(this.event)}function d(){}d.prototype.dispose=function(){};var f=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(t,e,n,i){o.call(this),this.storage=t,this.painter=e,this.painterRoot=i,n=n||new d,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,a.call(this),this.setHandlerProxy(n)};function g(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){var i,r=t;while(r){if(r.clipPath&&!r.clipPath.contain(e,n))return!1;r.silent&&(i=!0),r=r.parent}return!i||c}return!1}function v(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(i.each(f,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,i=v(this,e,n),r=this._hovered,a=r.target;a&&!a.__zr&&(r=this.findHover(r.x,r.y),a=r.target);var o=this._hovered=i?{x:e,y:n}:this.findHover(e,n),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==a&&this.dispatchToElement(o,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!n&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){var r="on"+e,a=u(e,t,n);while(i)if(i[r]&&(a.cancelBubble=i[r].call(i,a)),i.trigger(e,a),i=i.parent,a.cancelBubble)break;a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,a),t.trigger&&t.trigger(e,a)})))}},findHover:function(t,e,n){for(var i=this.storage.getDisplayList(),r={x:t,y:e},a=i.length-1;a>=0;a--){var o;if(i[a]!==n&&!i[a].ignore&&(o=g(i[a],t,e))&&(!r.topTarget&&(r.topTarget=i[a]),o!==c)){r.target=i[a];break}}return r},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r,this.dispatchToElement({target:i.target},r,i.event)}}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){p.prototype[t]=function(e){var n,i,a=e.zrX,o=e.zrY,s=v(this,a,o);if("mouseup"===t&&s||(n=this.findHover(a,o),i=n.target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||r.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}})),i.mixin(p,o),i.mixin(p,a);var m=p;t.exports=m},"48b9":function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("5243"))},"48ce":function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("e83b")),a=n("1b7d"),o=n("d0db"),s=n("1d5c"),l=n("f2e8"),c=n("eaaf"),u=c.prepareLayoutBarSeries,h=c.makeColumnLayout,d=c.retrieveColumnLayout,f=n("a6c5");function p(t,e){var n,i,a,o=t.type,s=e.getMin(),c=e.getMax(),d=null!=s,f=null!=c,p=t.getExtent();"ordinal"===o?n=e.getCategories().length:(i=e.get("boundaryGap"),r.isArray(i)||(i=[i||0,i||0]),"boolean"===typeof i[0]&&(i=[0,0]),i[0]=l.parsePercent(i[0],1),i[1]=l.parsePercent(i[1],1),a=p[1]-p[0]||Math.abs(p[0])),null==s&&(s="ordinal"===o?n?0:NaN:p[0]-i[0]*a),null==c&&(c="ordinal"===o?n?n-1:NaN:p[1]+i[1]*a),"dataMin"===s?s=p[0]:"function"===typeof s&&(s=s({min:p[0],max:p[1]})),"dataMax"===c?c=p[1]:"function"===typeof c&&(c=c({min:p[0],max:p[1]})),(null==s||!isFinite(s))&&(s=NaN),(null==c||!isFinite(c))&&(c=NaN),t.setBlank(r.eqNaN(s)||r.eqNaN(c)||"ordinal"===o&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(s>0&&c>0&&!d&&(s=0),s<0&&c<0&&!f&&(c=0));var v=e.ecModel;if(v&&"time"===o){var m,y=u("bar",v);if(r.each(y,(function(t){m|=t.getBaseAxis()===e.axis})),m){var x=h(y),_=g(s,c,e,x);s=_.min,c=_.max}}return[s,c]}function g(t,e,n,i){var a=n.axis.getExtent(),o=a[1]-a[0],s=d(i,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;r.each(s,(function(t){l=Math.min(t.offset,l)}));var c=-1/0;r.each(s,(function(t){c=Math.max(t.offset+t.width,c)})),l=Math.abs(l),c=Math.abs(c);var u=l+c,h=e-t,f=1-(l+c)/o,p=h/f-h;return e+=p*(c/u),t-=p*(l/u),{min:t,max:e}}function v(t,e){var n=p(t,e),i=null!=e.getMin(),r=null!=e.getMax(),a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:a,fixMin:i,fixMax:r,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)}function m(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new a(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(s.getClass(e)||o).create(t)}}function y(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function x(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"string"===typeof e?(e=function(e){return function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}}(e),e):"function"===typeof e?function(i,r){return null!=n&&(r=i-n),e(_(t,i),r)}:function(e){return t.scale.getLabel(e)}}function _(t,e){return"category"===t.type?t.scale.getLabel(e):e}function b(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,r,a="category"===t.type,o=n.getExtent();a?r=n.count():(i=n.getTicks(),r=i.length);var s,l=t.getLabelModel(),c=x(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;h<r;h+=u){var d=i?i[h]:o[0]+h,f=c(d),p=l.getTextRect(f),g=w(p,l.get("rotate")||0);s?s.union(g):s=g}return s}}function w(t,e){var n=e*Math.PI/180,i=t.plain(),r=i.width,a=i.height,o=r*Math.cos(n)+a*Math.sin(n),s=r*Math.sin(n)+a*Math.cos(n),l=new f(i.x,i.y,o,s);return l}function S(t){var e=t.get("interval");return null==e?"auto":e}function M(t){return"category"===t.type&&0===S(t.getLabelModel())}n("8114"),n("43e2"),e.getScaleExtent=p,e.niceScaleExtent=v,e.createScaleByModel=m,e.ifAxisCrossZero=y,e.makeLabelFormatter=x,e.getAxisRawValue=_,e.estimateLabelUnionRect=b,e.getOptionCategoryInterval=S,e.shouldShowAllLabels=M},"48d3":function(t,e,n){var i=n("3075"),r=n("900e"),a=r.applyTransform,o=i.CMD,s=[[],[],[]],l=Math.sqrt,c=Math.atan2;function u(t,e){var n,i,r,u,h,d=t.data,f=o.M,p=o.C,g=o.L,v=o.R,m=o.A,y=o.Q;for(r=0,u=0;r<d.length;){switch(n=d[r++],u=r,i=0,n){case f:i=1;break;case g:i=1;break;case p:i=3;break;case y:i=2;break;case m:var x=e[4],_=e[5],b=l(e[0]*e[0]+e[1]*e[1]),w=l(e[2]*e[2]+e[3]*e[3]),S=c(-e[1]/w,e[0]/b);d[r]*=b,d[r++]+=x,d[r]*=w,d[r++]+=_,d[r++]*=b,d[r++]*=w,d[r++]+=S,d[r++]+=S,r+=2,u=r;break;case v:M[0]=d[r++],M[1]=d[r++],a(M,M,e),d[u++]=M[0],d[u++]=M[1],M[0]+=d[r++],M[1]+=d[r++],a(M,M,e),d[u++]=M[0],d[u++]=M[1]}for(h=0;h<i;h++){var M=s[h];M[0]=d[r++],M[1]=d[r++],a(M,M,e),d[u++]=M[0],d[u++]=M[1]}}}t.exports=u},"49fd":function(t,e){var n=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")};var i=n;t.exports=i},"4b36":function(t,e,n){var i=n("a670"),r=n("e83b"),a=n("bc29"),o=n("89e3"),s=n("d5a3"),l=s.ContextCachedBy,c=function(t){i.call(this,t)};c.prototype={constructor:c,type:"text",brush:function(t,e){var n=this.style;this.__dirty&&o.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var i=n.text;null!=i&&(i+=""),o.needDrawText(i,n)?(this.setTransform(t),o.renderText(this,t,i,n,null,e),this.restoreTransform(t)):t.__attrCachedBy=l.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&o.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var n=a.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(n.x+=t.x||0,n.y+=t.y||0,o.getStroke(t.textStroke,t.textStrokeWidth)){var i=t.textStrokeWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect}},r.inherits(c,i);var u=c;t.exports=u},"4c4a":function(t,e,n){var i=n("e83b");function r(t){null!=t&&i.extend(this,t),this.otherDims={}}var a=r;t.exports=a},"501b":function(t,e,n){var i=n("e83b"),r=n("50ae"),a=n("f17a"),o=a.retrieveRawValue;function s(t,e){var n=e.getModel("aria");if(n.get("show"))if(n.get("description"))t.setAttribute("aria-label",n.get("description"));else{var a=0;e.eachSeries((function(t,e){++a}),this);var s,l=n.get("data.maxCount")||10,c=n.get("series.maxCount")||10,u=Math.min(a,c);if(!(a<1)){var h=v();s=h?p(g("general.withTitle"),{title:h}):g("general.withoutTitle");var d=[],f=a>1?"series.multiple.prefix":"series.single.prefix";s+=p(g(f),{seriesCount:a}),e.eachSeries((function(t,e){if(e<u){var n,i=t.get("name"),r="series."+(a>1?"multiple":"single")+".";n=g(i?r+"withName":r+"withoutName"),n=p(n,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:m(t.subType)});var s=t.getData();window.data=s,s.count()>l?n+=p(g("data.partialData"),{displayCnt:l}):n+=g("data.allData");for(var c=[],h=0;h<s.count();h++)if(h<l){var f=s.getName(h),v=o(s,h);c.push(p(g(f?"data.withName":"data.withoutName"),{name:f,value:v}))}n+=c.join(g("data.separator.middle"))+g("data.separator.end"),d.push(n)}})),s+=d.join(g("series.multiple.separator.middle"))+g("series.multiple.separator.end"),t.setAttribute("aria-label",s)}}function p(t,e){if("string"!==typeof t)return t;var n=t;return i.each(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}function g(t){var e=n.get(t);if(null==e){for(var i=t.split("."),a=r.aria,o=0;o<i.length;++o)a=a[i[o]];return a}return e}function v(){var t=e.getModel("title").option;return t&&t.length&&(t=t[0]),t&&t.text}function m(t){return r.series.typeNames[t]||"自定义图"}}t.exports=s},"507a":function(t,e,n){var i=n("e83b"),r=n("333d"),a=function(t,e,n,i,a,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==i?0:i,this.type="linear",this.global=o||!1,r.call(this,a)};a.prototype={constructor:a},i.inherits(a,r);var o=a;t.exports=o},"50ae":function(t,e){var n={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};t.exports=n},"50fc":function(t,e,n){"use strict";n.d(e,"d",(function(){return r})),n.d(e,"e",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"h",(function(){return s})),n.d(e,"i",(function(){return l})),n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return u})),n.d(e,"g",(function(){return h})),n.d(e,"f",(function(){return d})),n.d(e,"j",(function(){return f})),n.d(e,"k",(function(){return p}));var i=n("b775");function r(){return i["a"].get("/admin/order/statistics",{},{login:!0})}function a(t){return i["a"].get("/admin/order/data",t,{login:!0})}function o(t){return i["a"].get("/admin/order/list",t,{login:!0})}function s(t){return i["a"].post("/admin/order/price",t,{login:!0})}function l(t){return i["a"].post("/admin/order/remark",t,{login:!0})}function c(t){return i["a"].get("/admin/order/detail/"+t,{},{login:!0})}function u(t){return i["a"].get("/admin/order/delivery/gain/"+t,{},{login:!0})}function h(t){return i["a"].post("/admin/order/delivery/keep",t,{login:!0})}function d(t){return i["a"].get("/admin/order/time",t,{login:!0})}function f(t){return i["a"].post("/admin/order/offline",t,{login:!0})}function p(t){return i["a"].post("/admin/order/refund",t,{login:!0})}},5206:function(t,e,n){var i=n("e83b"),r=n("81f6"),a=n("10d0"),o=n("eaa7");function s(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},getDisplayList:function(t,e){return e=e||!1,t&&this.updateDisplayList(e),this._displayList},updateDisplayList:function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,a=e.length;i<a;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,r.canvasSupported&&o(n,s)},_updateAndAddDisplayable:function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var i=t.clipPath;if(i){e=e?e.slice():[];var r=i,a=t;while(r)r.parent=a,r.updateTransform(),e.push(r),a=r,r=r.clipPath}if(t.isGroup){for(var o=t._children,s=0;s<o.length;s++){var l=o[s];t.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,e,n)}t.__dirty=!1}else t.__clipPaths=e,this._displayList[this._displayListLen++]=t}},addRoot:function(t){t.__storage!==this&&(t instanceof a&&t.addChildrenToStorage(this),this.addToStorage(t),this._roots.push(t))},delRoot:function(t){if(null==t){for(var e=0;e<this._roots.length;e++){var n=this._roots[e];n instanceof a&&n.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(t instanceof Array){e=0;for(var r=t.length;e<r;e++)this.delRoot(t[e])}else{var o=i.indexOf(this._roots,t);o>=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof a&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var c=l;t.exports=c},5521:function(t,e,n){var i=n("94d9"),r=i.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(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),a=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(a),c=Math.sin(a);t.moveTo(l*r+n,c*r+i),t.arc(n,i,r,a,o,!s)}});t.exports=r},"57b9":function(t,e){var n=Array.prototype.slice,i=function(t){this._$handlers={},this._$eventProcessor=t};function r(t,e){var n=t._$eventProcessor;return null!=e&&n&&n.normalizeQuery&&(e=n.normalizeQuery(e)),e}function a(t,e,n,i,a,o){var s=t._$handlers;if("function"===typeof n&&(a=i,i=n,n=null),!i||!e)return t;n=r(t,n),s[e]||(s[e]=[]);for(var l=0;l<s[e].length;l++)if(s[e][l].h===i)return t;var c={h:i,one:o,query:n,ctx:a||t,callAtLast:i.zrEventfulCallAtLast},u=s[e].length-1,h=s[e][u];return h&&h.callAtLast?s[e].splice(u,0,c):s[e].push(c),t}i.prototype={constructor:i,one:function(t,e,n,i){return a(this,t,e,n,i,!0)},on:function(t,e,n,i){return a(this,t,e,n,i,!1)},isSilent:function(t){var e=this._$handlers;return!e[t]||!e[t].length},off:function(t,e){var n=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,a=n[t].length;r<a;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},trigger:function(t){var e=this._$handlers[t],i=this._$eventProcessor;if(e){var r=arguments,a=r.length;a>3&&(r=n.call(r,1));for(var o=e.length,s=0;s<o;){var l=e[s];if(i&&i.filter&&null!=l.query&&!i.filter(t,l.query))s++;else{switch(a){case 1:l.h.call(l.ctx);break;case 2:l.h.call(l.ctx,r[1]);break;case 3:l.h.call(l.ctx,r[1],r[2]);break;default:l.h.apply(l.ctx,r);break}l.one?(e.splice(s,1),o--):s++}}}return i&&i.afterTrigger&&i.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],i=this._$eventProcessor;if(e){var r=arguments,a=r.length;a>4&&(r=n.call(r,1,r.length-1));for(var o=r[r.length-1],s=e.length,l=0;l<s;){var c=e[l];if(i&&i.filter&&null!=c.query&&!i.filter(t,c.query))l++;else{switch(a){case 1:c.h.call(o);break;case 2:c.h.call(o,r[1]);break;case 3:c.h.call(o,r[1],r[2]);break;default:c.h.apply(o,r);break}c.one?(e.splice(l,1),s--):l++}}}return i&&i.afterTrigger&&i.afterTrigger(t),this}};var o=i;t.exports=o},"5af1":function(t,e){var n=2*Math.PI;function i(t){return t%=n,t<0&&(t+=n),t}e.normalizeRadian=i},"5b1c":function(t,e,n){n("073b");var i=n("b7b2"),r=i.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});t.exports=r},"5da3":function(t,e,n){n("073b"),n("9daa")},"5dd2":function(t,e,n){var i=n("81dc");t.exports=function(t,e){return new(i(t))(e)}},"5f2f":function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("e83b")),a=n("014b"),o=n("2868"),s=n("e83c"),l=n("f17a"),c=l.defaultDimValueGetters,u=l.DefaultDataProvider,h=n("dacd"),d=h.summarizeDimensions,f=n("4c4a"),p=r.isObject,g="undefined",v=-1,m="e\0\0",y={float:typeof Float64Array===g?Array:Float64Array,int:typeof Int32Array===g?Array:Int32Array,ordinal:Array,number:Array,time:Array},x=typeof Uint32Array===g?Array:Uint32Array,_=typeof Int32Array===g?Array:Int32Array,b=typeof Uint16Array===g?Array:Uint16Array;function w(t){return t._rawCount>65535?x:b}function S(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var M=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],T=["_extent","_approximateExtent","_rawExtent"];function A(t,e){r.each(M.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,r.each(T,(function(n){t[n]=r.clone(e[n])})),t._calculationInfo=r.extend(e._calculationInfo)}var C=function(t,e){t=t||["x","y"];for(var n={},i=[],a={},o=0;o<t.length;o++){var s=t[o];r.isString(s)?s=new f({name:s}):s instanceof f||(s=new f(s));var l=s.name;s.type=s.type||"float",s.coordDim||(s.coordDim=l,s.coordDimIndex=0),s.otherDims=s.otherDims||{},i.push(l),n[l]=s,s.index=o,s.createInvertedIndices&&(a[l]=[])}this.dimensions=i,this._dimensionInfos=n,this.hostModel=e,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=d(this),this._invertedIndicesMap=a,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},D=C.prototype;function I(t,e,n,i,r){var a=y[e.type],o=i-1,s=e.name,l=t[s][o];if(l&&l.length<n){for(var c=new a(Math.min(r-o*n,n)),u=0;u<l.length;u++)c[u]=l[u];t[s][o]=c}for(var h=i*n;h<r;h+=n)t[s].push(new a(Math.min(r-h,n)))}function k(t){var e=t._invertedIndicesMap;r.each(e,(function(n,i){var r=t._dimensionInfos[i],a=r.ordinalMeta;if(a){n=e[i]=new _(a.categories.length);for(var o=0;o<n.length;o++)n[o]=v;for(o=0;o<t._count;o++)n[t.get(i,o)]=o}}))}function O(t,e,n){var i;if(null!=e){var r=t._chunkSize,a=Math.floor(n/r),o=n%r,s=t.dimensions[e],l=t._storage[s][a];if(l){i=l[o];var c=t._dimensionInfos[s].ordinalMeta;c&&c.categories.length&&(i=c.categories[i])}}return i}function P(t){return t}function L(t){return t<this._count&&t>=0?this._indices[t]:-1}function E(t,e){var n=t._idList[e];return null==n&&(n=O(t,t._idDimIdx,e)),null==n&&(n=m+e),n}function R(t){return r.isArray(t)||(t=[t]),t}function N(t,e){var n=t.dimensions,i=new C(r.map(n,t.getDimensionInfo,t),t.hostModel);A(i,t);for(var a=i._storage={},o=t._storage,s=0;s<n.length;s++){var l=n[s];o[l]&&(r.indexOf(e,l)>=0?(a[l]=z(o[l]),i._rawExtent[l]=B(),i._extent[l]=null):a[l]=o[l])}return i}function z(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=S(t[n]);return e}function B(){return[1/0,-1/0]}D.type="list",D.hasItemOption=!0,D.getDimension=function(t){return"number"!==typeof t&&(isNaN(t)||this._dimensionInfos.hasOwnProperty(t))||(t=this.dimensions[t]),t},D.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},D.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},D.mapDimension=function(t,e){var n=this._dimensionsSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return!0===e?(i||[]).slice():i&&i[e]},D.initData=function(t,e,n){var i=s.isInstance(t)||r.isArrayLike(t);i&&(t=new u(t,this.dimensions.length)),this._rawData=t,this._storage={},this._indices=null,this._nameList=e||[],this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=c[this._rawData.getSource().sourceFormat],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._dimValueGetterArrayRows=c.arrayRows,this._rawExtent={},this._initDataFromProvider(0,t.count()),t.pure&&(this.hasItemOption=!1)},D.getProvider=function(){return this._rawData},D.appendData=function(t){var e=this._rawData,n=this.count();e.appendData(t);var i=e.count();e.persistent||(i+=n),this._initDataFromProvider(n,i)},D.appendValues=function(t,e){for(var n=this._chunkSize,i=this._storage,r=this.dimensions,a=r.length,o=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e?e.length:0),c=this._chunkCount,u=0;u<a;u++){var h=r[u];o[h]||(o[h]=B()),i[h]||(i[h]=[]),I(i,this._dimensionInfos[h],n,c,l),this._chunkCount=i[h].length}for(var d=new Array(a),f=s;f<l;f++){for(var p=f-s,g=Math.floor(f/n),v=f%n,m=0;m<a;m++){h=r[m];var y=this._dimValueGetterArrayRows(t[p]||d,h,p,m);i[h][g][v]=y;var x=o[h];y<x[0]&&(x[0]=y),y>x[1]&&(x[1]=y)}e&&(this._nameList[f]=e[p])}this._rawCount=this._count=l,this._extent={},k(this)},D._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,i=this._chunkSize,r=this._rawData,a=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,c=this._nameList,u=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;p<s;p++){var g=o[p];h[g]||(h[g]=B());var v=l[g];0===v.otherDims.itemName&&(n=this._nameDimIdx=p),0===v.otherDims.itemId&&(this._idDimIdx=p),a[g]||(a[g]=[]),I(a,v,i,f,e),this._chunkCount=a[g].length}for(var m=new Array(s),y=t;y<e;y++){m=r.getItem(y,m);for(var x=Math.floor(y/i),_=y%i,b=0;b<s;b++){g=o[b];var w=a[g][x],S=this._dimValueGetter(m,g,y,b);w[_]=S;var M=h[g];S<M[0]&&(M[0]=S),S>M[1]&&(M[1]=S)}if(!r.pure){var T=c[y];if(m&&null==T)if(null!=m.name)c[y]=T=m.name;else if(null!=n){var A=o[n],C=a[A][x];if(C){T=C[_];var D=l[A].ordinalMeta;D&&D.categories.length&&(T=D.categories[T])}}var O=null==m?null:m.id;null==O&&null!=T&&(d[T]=d[T]||0,O=T,d[T]>0&&(O+="__ec__"+d[T]),d[T]++),null!=O&&(u[y]=O)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},k(this)}},D.count=function(){return this._count},D.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){r=new e(n);for(var i=0;i<n;i++)r[i]=t[i]}else r=new e(t.buffer,0,n)}else{e=w(this);var r=new e(this.count());for(i=0;i<r.length;i++)r[i]=i}return r},D.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._storage;if(!n[t])return NaN;e=this.getRawIndex(e);var i=Math.floor(e/this._chunkSize),r=e%this._chunkSize,a=n[t][i],o=a[r];return o},D.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._storage[t];if(!n)return NaN;var i=Math.floor(e/this._chunkSize),r=e%this._chunkSize,a=n[i];return a[r]},D._getFast=function(t,e){var n=Math.floor(e/this._chunkSize),i=e%this._chunkSize,r=this._storage[t][n];return r[i]},D.getValues=function(t,e){var n=[];r.isArray(t)||(e=t,t=this.dimensions);for(var i=0,a=t.length;i<a;i++)n.push(this.get(t[i],e));return n},D.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this.get(e[n],t)))return!1;return!0},D.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],n=B();if(!e)return n;var i,r=this.count(),a=!this._indices;if(a)return this._rawExtent[t].slice();if(i=this._extent[t],i)return i.slice();i=n;for(var o=i[0],s=i[1],l=0;l<r;l++){var c=this._getFast(t,this.getRawIndex(l));c<o&&(o=c),c>s&&(s=c)}return i=[o,s],this._extent[t]=i,i},D.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},D.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},D.getCalculationInfo=function(t){return this._calculationInfo[t]},D.setCalculationInfo=function(t,e){p(t)?r.extend(this._calculationInfo,t):this._calculationInfo[t]=e},D.getSum=function(t){var e=this._storage[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var a=this.get(t,i);isNaN(a)||(n+=a)}return n},D.getMedian=function(t){var e=[];this.each(t,(function(t,n){isNaN(t)||e.push(t)}));var n=[].concat(e).sort((function(t,e){return t-e})),i=this.count();return 0===i?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},D.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t],i=n[e];return null==i||isNaN(i)?v:i},D.indexOfName=function(t){for(var e=0,n=this.count();e<n;e++)if(this.getName(e)===t)return e;return-1},D.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;var i=0,r=this._count-1;while(i<=r){var a=(i+r)/2|0;if(e[a]<t)i=a+1;else{if(!(e[a]>t))return a;r=a-1}}return-1},D.indicesOfNearest=function(t,e,n){var i=this._storage,r=i[t],a=[];if(!r)return a;null==n&&(n=1/0);for(var o=1/0,s=-1,l=0,c=0,u=this.count();c<u;c++){var h=e-this.get(t,c),d=Math.abs(h);d<=n&&((d<o||d===o&&h>=0&&s<0)&&(o=d,s=h,l=0),h===s&&(a[l++]=c))}return a.length=l,a},D.getRawIndex=P,D.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n<this.dimensions.length;n++){var i=this.dimensions[n];e.push(this.get(i,t))}return e},D.getName=function(t){var e=this.getRawIndex(t);return this._nameList[e]||O(this,this._nameDimIdx,e)||""},D.getId=function(t){return E(this,this.getRawIndex(t))},D.each=function(t,e,n,i){"use strict";if(this._count){"function"===typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this,t=r.map(R(t),this.getDimension,this);for(var a=t.length,o=0;o<this.count();o++)switch(a){case 0:e.call(n,o);break;case 1:e.call(n,this.get(t[0],o),o);break;case 2:e.call(n,this.get(t[0],o),this.get(t[1],o),o);break;default:for(var s=0,l=[];s<a;s++)l[s]=this.get(t[s],o);l[s]=o,e.apply(n,l)}}},D.filterSelf=function(t,e,n,i){"use strict";if(this._count){"function"===typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this,t=r.map(R(t),this.getDimension,this);for(var a=this.count(),o=w(this),s=new o(a),l=[],c=t.length,u=0,h=t[0],d=0;d<a;d++){var f,p=this.getRawIndex(d);if(0===c)f=e.call(n,d);else if(1===c){var g=this._getFast(h,p);f=e.call(n,g,d)}else{for(var v=0;v<c;v++)l[v]=this._getFast(h,p);l[v]=d,f=e.apply(n,l)}f&&(s[u++]=p)}return u<a&&(this._indices=s),this._count=u,this._extent={},this.getRawIndex=this._indices?L:P,this}},D.selectRange=function(t){"use strict";if(this._count){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);var i=e.length;if(i){var r=this.count(),a=w(this),o=new a(r),s=0,l=e[0],c=t[l][0],u=t[l][1],h=!1;if(!this._indices){var d=0;if(1===i){for(var f=this._storage[e[0]],p=0;p<this._chunkCount;p++)for(var g=f[p],v=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<v;m++){var y=g[m];(y>=c&&y<=u||isNaN(y))&&(o[s++]=d),d++}h=!0}else if(2===i){f=this._storage[l];var x=this._storage[e[1]],_=t[e[1]][0],b=t[e[1]][1];for(p=0;p<this._chunkCount;p++){g=f[p];var S=x[p];for(v=Math.min(this._count-p*this._chunkSize,this._chunkSize),m=0;m<v;m++){y=g[m];var M=S[m];(y>=c&&y<=u||isNaN(y))&&(M>=_&&M<=b||isNaN(M))&&(o[s++]=d),d++}}h=!0}}if(!h)if(1===i)for(m=0;m<r;m++){var T=this.getRawIndex(m);y=this._getFast(l,T);(y>=c&&y<=u||isNaN(y))&&(o[s++]=T)}else for(m=0;m<r;m++){var A=!0;for(T=this.getRawIndex(m),p=0;p<i;p++){var C=e[p];y=this._getFast(n,T);(y<t[C][0]||y>t[C][1])&&(A=!1)}A&&(o[s++]=this.getRawIndex(m))}return s<r&&(this._indices=o),this._count=s,this._extent={},this.getRawIndex=this._indices?L:P,this}}},D.mapArray=function(t,e,n,i){"use strict";"function"===typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this;var r=[];return this.each(t,(function(){r.push(e&&e.apply(this,arguments))}),n),r},D.map=function(t,e,n,i){"use strict";n=n||i||this,t=r.map(R(t),this.getDimension,this);var a=N(this,t);a._indices=this._indices,a.getRawIndex=a._indices?L:P;for(var o=a._storage,s=[],l=this._chunkSize,c=t.length,u=this.count(),h=[],d=a._rawExtent,f=0;f<u;f++){for(var p=0;p<c;p++)h[p]=this.get(t[p],f);h[c]=f;var g=e&&e.apply(n,h);if(null!=g){"object"!==typeof g&&(s[0]=g,g=s);for(var v=this.getRawIndex(f),m=Math.floor(v/l),y=v%l,x=0;x<g.length;x++){var _=t[x],b=g[x],w=d[_],S=o[_];S&&(S[m][y]=b),b<w[0]&&(w[0]=b),b>w[1]&&(w[1]=b)}}}return a},D.downSample=function(t,e,n,i){for(var r=N(this,[t]),a=r._storage,o=[],s=Math.floor(1/e),l=a[t],c=this.count(),u=this._chunkSize,h=r._rawExtent[t],d=new(w(this))(c),f=0,p=0;p<c;p+=s){s>c-p&&(s=c-p,o.length=s);for(var g=0;g<s;g++){var v=this.getRawIndex(p+g),m=Math.floor(v/u),y=v%u;o[g]=l[m][y]}var x=n(o),_=this.getRawIndex(Math.min(p+i(o,x)||0,c-1)),b=Math.floor(_/u),S=_%u;l[b][S]=x,x<h[0]&&(h[0]=x),x>h[1]&&(h[1]=x),d[f++]=_}return r._count=f,r._indices=d,r.getRawIndex=L,r},D.getItemModel=function(t){var e=this.hostModel;return new a(this.getRawDataItem(t),e,e&&e.ecModel)},D.diff=function(t){var e=this;return new o(t?t.getIndices():[],this.getIndices(),(function(e){return E(t,e)}),(function(t){return E(e,t)}))},D.getVisual=function(t){var e=this._visual;return e&&e[t]},D.setVisual=function(t,e){if(p(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},D.setLayout=function(t,e){if(p(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},D.getLayout=function(t){return this._layout[t]},D.getItemLayout=function(t){return this._itemLayouts[t]},D.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?r.extend(this._itemLayouts[t]||{},e):e},D.clearItemLayouts=function(){this._itemLayouts.length=0},D.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],r=i&&i[e];return null!=r||n?r:this.getVisual(e)},D.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=i,p(e))for(var a in e)e.hasOwnProperty(a)&&(i[a]=e[a],r[a]=!0);else i[e]=n,r[e]=!0},D.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var F=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};D.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(F,e)),this._graphicEls[t]=e},D.getItemGraphicEl=function(t){return this._graphicEls[t]},D.eachItemGraphicEl=function(t,e){r.each(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},D.cloneShallow=function(t){if(!t){var e=r.map(this.dimensions,this.getDimensionInfo,this);t=new C(e,this.hostModel)}if(t._storage=this._storage,A(t,this),this._indices){var n=this._indices.constructor;t._indices=new n(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?L:P,t},D.wrapMethod=function(t,e){var n=this[t];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(r.slice(arguments)))})},D.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],D.CHANGABLE_METHODS=["filterSelf","selectRange"];var H=C;t.exports=H},"64fe":function(t,e,n){var i=n("e8ad"),r=i.makeInner,a=i.normalizeToArray,o=r();function s(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}var l={clearColorPalette:function(){o(this).colorIdx=0,o(this).colorNameMap={}},getColorFromPalette:function(t,e,n){e=e||this;var i=o(e),r=i.colorIdx||0,l=i.colorNameMap=i.colorNameMap||{};if(l.hasOwnProperty(t))return l[t];var c=a(this.get("color",!0)),u=this.get("colorLayer",!0),h=null!=n&&u?s(u,n):c;if(h=h||c,h&&h.length){var d=h[r];return t&&(l[t]=d),i.colorIdx=(r+1)%h.length,d}}};t.exports=l},"652c":function(t,e,n){var i=n("e83b"),r=n("a6c5"),a=n("25a9");function o(t){a.call(this,t)}o.prototype={constructor:o,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,n){var i=this.getAxis("x"),r=this.getAxis("y");return n=n||[],n[0]=i.toGlobalCoord(i.dataToCoord(t[0])),n[1]=r.toGlobalCoord(r.dataToCoord(t[1])),n},clampData:function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),a=i.getExtent(),o=n.parse(t[0]),s=i.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(r[0],r[1]),o),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),e},pointToData:function(t,e){var n=this.getAxis("x"),i=this.getAxis("y");return e=e||[],e[0]=n.coordToData(n.toLocalCoord(t[0])),e[1]=i.coordToData(i.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),a=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-i,s=new r(n,i,a,o);return s}},i.inherits(o,a);var s=o;t.exports=s},"67cd":function(t,e,n){var i=n("b7b2"),r=n("f43a"),a=n("28cf"),o=a.detectSourceFormat,s=n("72b8"),l=s.SERIES_LAYOUT_BY_COLUMN;i.extend({type:"dataset",defaultOption:{seriesLayoutBy:l,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){o(this)}}),r.extend({type:"dataset"})},6918:function(t,e,n){var i=n("e83b"),r=n("4341");function a(t,e){r.call(this,"radius",t,e),this.type="category"}a.prototype={constructor:a,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToRadius:r.prototype.dataToCoord,radiusToData:r.prototype.coordToData},i.inherits(a,r);var o=a;t.exports=o},"6a1f":function(t,e,n){var i=n("94d9"),r=n("900e"),a=n("d5cc"),o=a.quadraticSubdivide,s=a.cubicSubdivide,l=a.quadraticAt,c=a.cubicAt,u=a.quadraticDerivativeAt,h=a.cubicDerivativeAt,d=[];function f(t,e,n){var i=t.cpx2,r=t.cpy2;return null===i||null===r?[(n?h:c)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?h:c)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?u:l)(t.x1,t.cpx1,t.x2,e),(n?u:l)(t.y1,t.cpy1,t.y2,e)]}var p=i.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,i=e.y1,r=e.x2,a=e.y2,l=e.cpx1,c=e.cpy1,u=e.cpx2,h=e.cpy2,f=e.percent;0!==f&&(t.moveTo(n,i),null==u||null==h?(f<1&&(o(n,l,r,f,d),l=d[1],r=d[2],o(i,c,a,f,d),c=d[1],a=d[2]),t.quadraticCurveTo(l,c,r,a)):(f<1&&(s(n,l,u,r,f,d),l=d[1],u=d[2],r=d[3],s(i,c,h,a,f,d),c=d[1],h=d[2],a=d[3]),t.bezierCurveTo(l,c,u,h,r,a)))},pointAt:function(t){return f(this.shape,t,!1)},tangentAt:function(t){var e=f(this.shape,t,!0);return r.normalize(e,e)}});t.exports=p},"6aa9":function(t,e,n){var i=n("0ae7");e.zrender=i;var r=n("ac11");e.matrix=r;var a=n("900e");e.vector=a;var o=n("e83b"),s=n("a0ff");e.color=s;var l=n("d02e"),c=n("f2e8");e.number=c;var u=n("2731");e.format=u;var h=n("9268");h.throttle;e.throttle=h.throttle;var d=n("38af");e.helper=d;var f=n("d152");e.parseGeoJSON=f;var p=n("5f2f");e.List=p;var g=n("014b");e.Model=g;var v=n("4341");e.Axis=v;var m=n("81f6");e.env=m;var y=f,x={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){x[t]=o[t]}));var _={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){_[t]=l[t]})),e.parseGeoJson=y,e.util=x,e.graphic=_},"6b49":function(t,e,n){var i=n("94d9"),r=n("f0ca"),a=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){r.buildPath(t,e,!0)}});t.exports=a},"6c1c":function(t,e,n){var i=n("333d"),r=n("e83b"),a=r.isFunction,o={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=(t.visualColorAccessPath||"itemStyle.color").split("."),o=t.get(r),s=!a(o)||o instanceof i?null:o;o&&!s||(o=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",o);var l=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),c=t.get(l);if(n.setVisual("borderColor",c),!e.isSeriesFiltered(t)){s&&n.each((function(e){n.setItemVisual(e,"color",s(t.getDataParams(e)))}));var u=function(t,e){var n=t.getItemModel(e),i=n.get(r,!0),a=n.get(l,!0);null!=i&&t.setItemVisual(e,"color",i),null!=a&&t.setItemVisual(e,"borderColor",a)};return{dataEach:n.hasItemOption?u:null}}}};t.exports=o},7180:function(t,e,n){var i=n("3075"),r=n("2f9b"),a=n("1e85"),o=n("3dce"),s=n("e6b2"),l=n("5af1"),c=l.normalizeRadian,u=n("d5cc"),h=n("f696"),d=i.CMD,f=2*Math.PI,p=1e-4;function g(t,e){return Math.abs(t-e)<p}var v=[-1,-1,-1],m=[-1,-1];function y(){var t=m[0];m[0]=m[1],m[1]=t}function x(t,e,n,i,r,a,o,s,l,c){if(c>e&&c>i&&c>a&&c>s||c<e&&c<i&&c<a&&c<s)return 0;var h=u.cubicRootAt(e,i,a,s,c,v);if(0===h)return 0;for(var d,f,p=0,g=-1,x=0;x<h;x++){var _=v[x],b=0===_||1===_?.5:1,w=u.cubicAt(t,n,r,o,_);w<l||(g<0&&(g=u.cubicExtrema(e,i,a,s,m),m[1]<m[0]&&g>1&&y(),d=u.cubicAt(e,i,a,s,m[0]),g>1&&(f=u.cubicAt(e,i,a,s,m[1]))),2===g?_<m[0]?p+=d<e?b:-b:_<m[1]?p+=f<d?b:-b:p+=s<f?b:-b:_<m[0]?p+=d<e?b:-b:p+=s<d?b:-b)}return p}function _(t,e,n,i,r,a,o,s){if(s>e&&s>i&&s>a||s<e&&s<i&&s<a)return 0;var l=u.quadraticRootAt(e,i,a,s,v);if(0===l)return 0;var c=u.quadraticExtremum(e,i,a);if(c>=0&&c<=1){for(var h=0,d=u.quadraticAt(e,i,a,c),f=0;f<l;f++){var p=0===v[f]||1===v[f]?.5:1,g=u.quadraticAt(t,n,r,v[f]);g<o||(v[f]<c?h+=d<e?p:-p:h+=a<d?p:-p)}return h}p=0===v[0]||1===v[0]?.5:1,g=u.quadraticAt(t,n,r,v[0]);return g<o?0:a<e?p:-p}function b(t,e,n,i,r,a,o,s){if(s-=e,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);v[0]=-l,v[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u%f<1e-4){i=0,r=f;var h=a?1:-1;return o>=v[0]+t&&o<=v[1]+t?h:0}if(a){l=i;i=c(r),r=c(l)}else i=c(i),r=c(r);i>r&&(r+=f);for(var d=0,p=0;p<2;p++){var g=v[p];if(g+t>o){var m=Math.atan2(s,g);h=a?1:-1;m<0&&(m=f+m),(m>=i&&m<=r||m+f>=i&&m+f<=r)&&(m>Math.PI/2&&m<1.5*Math.PI&&(h=-h),d+=h)}}return d}function w(t,e,n,i,l){for(var c=0,u=0,f=0,p=0,v=0,m=0;m<t.length;){var y=t[m++];switch(y===d.M&&m>1&&(n||(c+=h(u,f,p,v,i,l))),1===m&&(u=t[m],f=t[m+1],p=u,v=f),y){case d.M:p=t[m++],v=t[m++],u=p,f=v;break;case d.L:if(n){if(r.containStroke(u,f,t[m],t[m+1],e,i,l))return!0}else c+=h(u,f,t[m],t[m+1],i,l)||0;u=t[m++],f=t[m++];break;case d.C:if(n){if(a.containStroke(u,f,t[m++],t[m++],t[m++],t[m++],t[m],t[m+1],e,i,l))return!0}else c+=x(u,f,t[m++],t[m++],t[m++],t[m++],t[m],t[m+1],i,l)||0;u=t[m++],f=t[m++];break;case d.Q:if(n){if(o.containStroke(u,f,t[m++],t[m++],t[m],t[m+1],e,i,l))return!0}else c+=_(u,f,t[m++],t[m++],t[m],t[m+1],i,l)||0;u=t[m++],f=t[m++];break;case d.A:var w=t[m++],S=t[m++],M=t[m++],T=t[m++],A=t[m++],C=t[m++];m+=1;var D=1-t[m++],I=Math.cos(A)*M+w,k=Math.sin(A)*T+S;m>1?c+=h(u,f,I,k,i,l):(p=I,v=k);var O=(i-w)*T/M+w;if(n){if(s.containStroke(w,S,T,A,A+C,D,e,O,l))return!0}else c+=b(w,S,T,A,A+C,D,O,l);u=Math.cos(A+C)*M+w,f=Math.sin(A+C)*T+S;break;case d.R:p=u=t[m++],v=f=t[m++];var P=t[m++],L=t[m++];I=p+P,k=v+L;if(n){if(r.containStroke(p,v,I,v,e,i,l)||r.containStroke(I,v,I,k,e,i,l)||r.containStroke(I,k,p,k,e,i,l)||r.containStroke(p,k,p,v,e,i,l))return!0}else c+=h(I,v,I,k,i,l),c+=h(p,k,p,v,i,l);break;case d.Z:if(n){if(r.containStroke(u,f,p,v,e,i,l))return!0}else c+=h(u,f,p,v,i,l);u=p,f=v;break}}return n||g(f,v)||(c+=h(u,f,p,v,i,l)||0),0!==c}function S(t,e,n){return w(t,0,!1,e,n)}function M(t,e,n,i){return w(t,e,!0,n,i)}e.contain=S,e.containStroke=M},"72b8":function(t,e){var n="original",i="arrayRows",r="objectRows",a="keyedColumns",o="unknown",s="typedArray",l="column",c="row";e.SOURCE_FORMAT_ORIGINAL=n,e.SOURCE_FORMAT_ARRAY_ROWS=i,e.SOURCE_FORMAT_OBJECT_ROWS=r,e.SOURCE_FORMAT_KEYED_COLUMNS=a,e.SOURCE_FORMAT_UNKNOWN=o,e.SOURCE_FORMAT_TYPED_ARRAY=s,e.SERIES_LAYOUT_BY_COLUMN=l,e.SERIES_LAYOUT_BY_ROW=c},7346:function(t,e,n){var i=n("94d9"),r=n("900e"),a=n("b0c3"),o=r.min,s=r.max,l=r.scaleAndAdd,c=r.copy,u=[],h=[],d=[];function f(t){return isNaN(t[0])||isNaN(t[1])}function p(t,e,n,i,r,a,o,s,l,c,u){return"none"!==c&&c?g.apply(this,arguments):v.apply(this,arguments)}function g(t,e,n,i,r,a,o,s,l,u,p){for(var g=0,v=n,m=0;m<i;m++){var y=e[v];if(v>=r||v<0)break;if(f(y)){if(p){v+=a;continue}break}if(v===n)t[a>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var x=e[g],_="y"===u?1:0,b=(y[_]-x[_])*l;c(h,x),h[_]=x[_]+b,c(d,y),d[_]=y[_]-b,t.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=v,v+=a}return m}function v(t,e,n,i,a,p,g,v,m,y,x){for(var _=0,b=n,w=0;w<i;w++){var S=e[b];if(b>=a||b<0)break;if(f(S)){if(x){b+=p;continue}break}if(b===n)t[p>0?"moveTo":"lineTo"](S[0],S[1]),c(h,S);else if(m>0){var M=b+p,T=e[M];if(x)while(T&&f(e[M]))M+=p,T=e[M];var A=.5,C=e[_];T=e[M];if(!T||f(T))c(d,S);else{var D,I;if(f(T)&&!x&&(T=S),r.sub(u,T,C),"x"===y||"y"===y){var k="x"===y?0:1;D=Math.abs(S[k]-C[k]),I=Math.abs(S[k]-T[k])}else D=r.dist(S,C),I=r.dist(S,T);A=I/(I+D),l(d,S,u,-m*(1-A))}o(h,h,v),s(h,h,g),o(d,d,v),s(d,d,g),t.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,u,m*A)}else t.lineTo(S[0],S[1]);_=b,b+=p}return w}function m(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var r=0;r<t.length;r++){var a=t[r];a[0]<n[0]&&(n[0]=a[0]),a[1]<n[1]&&(n[1]=a[1]),a[0]>i[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1])}return{min:e?n:i,max:e?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:a(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,r=n.length,a=m(n,e.smoothConstraint);if(e.connectNulls){for(;r>0;r--)if(!f(n[r-1]))break;for(;i<r;i++)if(!f(n[i]))break}while(i<r)i+=p(t,n,i,r,r,1,a.min,a.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),x=i.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:a(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,a=n.length,o=e.smoothMonotone,s=m(n,e.smoothConstraint),l=m(i,e.smoothConstraint);if(e.connectNulls){for(;a>0;a--)if(!f(n[a-1]))break;for(;r<a;r++)if(!f(n[r]))break}while(r<a){var c=p(t,n,r,a,a,1,s.min,s.max,e.smooth,o,e.connectNulls);p(t,i,r+c-1,c,a,-1,l.min,l.max,e.stackedOnSmooth,o,e.connectNulls),r+=c+1,t.closePath()}}});e.Polyline=y,e.Polygon=x},"75ad":function(t,e){var n=Math.log(2);function i(t,e,r,a,o,s){var l=a+"-"+o,c=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var u=Math.round(Math.log((1<<c)-1&~o)/n);return t[r][u]}var h=a|1<<r,d=r+1;while(a&1<<d)d++;for(var f=0,p=0,g=0;p<c;p++){var v=1<<p;v&o||(f+=(g%2?-1:1)*t[r][p]*i(t,e-1,d,h,o|v,s),g++)}return s[l]=f,f}function r(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],r={},a=i(n,8,0,0,0,r);if(0!==a){for(var o=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==o[l]&&(o[l]=0),o[l]+=((s+l)%2?-1:1)*i(n,7,0===s?1:0,1<<s,1<<l,r)/a*e[s];return function(t,e,n){var i=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/i,t[1]=(e*o[3]+n*o[4]+o[5])/i}}}e.buildTransformer=r},"75c3":function(t,e){var n=2311;function i(){return n++}t.exports=i},7708:function(t,e,n){var i=n("57b9");e.Dispatcher=i;var r=n("81f6"),a=n("75ad"),o=a.buildTransformer,s="undefined"!==typeof window&&!!window.addEventListener,l=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c="___zrEVENTSAVED",u=[];function h(t,e,n,i){return n=n||{},i||!r.canvasSupported?d(t,e,n):r.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):d(t,e,n),n}function d(t,e,n){if(t.getBoundingClientRect&&r.domSupported){var i=e.clientX,a=e.clientY;if("CANVAS"===t.nodeName.toUpperCase()){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=a-o.top)}var s=t[c]||(t[c]={}),l=p(f(t,s),s);if(l)return l(u,i,a),n.zrX=u[0],void(n.zrY=u[1])}n.zrX=n.zrY=0}function f(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,l=a%2,c=(a>>1)%2;s.cssText=["position:absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","width:0","height:0",i[l]+":0",r[c]+":0",i[1-l]+":auto",r[1-c]+":auto",""].join("!important;"),t.appendChild(o),n.push(o)}return n}function p(t,e){for(var n=e.transformer,i=e.srcCoords,r=!0,a=[],s=[],l=0;l<4;l++){var c=t[l].getBoundingClientRect(),u=2*l,h=c.left,d=c.top;a.push(h,d),r&=i&&h===i[u]&&d===i[u+1],s.push(t[l].offsetLeft,t[l].offsetTop)}return r?n:(e.srcCoords=a,e.transformer=o(a,s))}function g(t){return t||window.event}function v(t,e,n){if(e=g(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf("touch")>=0;if(r){var a="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];a&&h(t,a,e,n)}else h(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&l.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function m(t,e,n,i){s?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)}function y(t,e,n,i){s?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)}var x=s?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function _(t){return 2===t.which||3===t.which}function b(t){return t.which>1}e.clientToLocal=h,e.getNativeEvent=g,e.normalizeEvent=v,e.addEventListener=m,e.removeEventListener=y,e.stop=x,e.isMiddleOrRightButtonOnMouseUpDown=_,e.notLeftMouse=b},"770e":function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("e83b")),a=".",o="___EC__COMPONENT__CONTAINER___";function s(t){var e={main:"",sub:""};return t&&(t=t.split(a),e.main=t[0]||"",e.sub=t[1]||""),e}function l(t){r.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function c(t,e){t.$constructor=t,t.extend=function(t){var e=this,n=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return r.extend(n.prototype,t),n.extend=this.extend,n.superCall=d,n.superApply=f,r.inherits(n,this),n.superClass=e,n}}var u=0;function h(t){var e=["__\0is_clz",u++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function d(t,e){var n=r.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function f(t,e,n){return this.superClass.prototype[e].apply(t,n)}function p(t,e){e=e||{};var n={};function i(t){var e=n[t.main];return e&&e[o]||(e=n[t.main]={},e[o]=!0),e}if(t.registerClass=function(t,e){if(e)if(l(e),e=s(e),e.sub){if(e.sub!==o){var r=i(e);r[e.sub]=t}}else n[e.main]=t;return t},t.getClass=function(t,e,i){var r=n[t];if(r&&r[o]&&(r=e?r[e]:null),i&&!r)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){t=s(t);var e=[],i=n[t.main];return i&&i[o]?r.each(i,(function(t,n){n!==o&&e.push(t)})):e.push(i),e},t.hasClass=function(t){return t=s(t),!!n[t.main]},t.getAllClassMainTypes=function(){var t=[];return r.each(n,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){t=s(t);var e=n[t.main];return e&&e[o]},t.parseClassType=s,e.registerWhenExtend){var a=t.extend;a&&(t.extend=function(e){var n=a.call(this,e);return t.registerClass(n,e.type)})}return t}function g(t,e){}e.parseClassType=s,e.enableClassExtend=c,e.enableClassCheck=h,e.enableClassManagement=p,e.setReadOnly=g},7729:function(t,e,n){var i=n("e0f2"),r=i([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a={getAreaStyle:function(t,e){return r(this,t,e)}};t.exports=a},7826:function(t,e,n){var i=n("e8ad"),r=i.makeInner;function a(){var t=r();return function(e){var n=t(e),i=e.pipelineContext,r=n.large,a=n.progressiveRender,o=n.large=i.large,s=n.progressiveRender=i.progressiveRender;return!!(r^o||a^s)&&"reset"}}t.exports=a},"784b":function(t,e,n){var i=n("b654"),r=n("9739"),a=n("7b16"),o=n("d630"),s=i.extend({makeElOption:function(t,e,n,i,o){var s=n.axis,u=s.grid,h=i.get("type"),d=l(u,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(e,!0));if(h&&"none"!==h){var p=r.buildElStyle(i),g=c[h](s,f,d);g.style=p,t.graphicKey=g.type,t.pointer=g}var v=a.layout(u.model,n);r.buildCartesianSingleLabelElOption(e,t,v,n,i,o)},getHandleTransform:function(t,e,n){var i=a.layout(e.axis.grid.model,e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:r.getTransformedPosition(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var r=n.axis,a=r.grid,o=r.getGlobalExtent(!0),s=l(a,r).getOtherAxis(r).getGlobalExtent(),c="x"===r.dim?0:1,u=t.position;u[c]+=e[c],u[c]=Math.min(o[1],u[c]),u[c]=Math.max(o[0],u[c]);var h=(s[1]+s[0])/2,d=[h,h];d[c]=u[c];var f=[{verticalAlign:"middle"},{align:"center"}];return{position:u,rotation:t.rotation,cursorPoint:d,tooltipOption:f[c]}}});function l(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var c={line:function(t,e,n){var i=r.makeLineShape([e,n[0]],[e,n[1]],u(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),a=n[1]-n[0];return{type:"Rect",shape:r.makeRectShape([e-i/2,n[0]],[i,a],u(t))}}};function u(t){return"x"===t.dim?0:1}o.registerAxisPointerClass("CartesianAxisPointer",s);var h=s;t.exports=h},7937:function(t,e,n){var i=n("e83b"),r=n("81f6"),a=n("e8ad"),o=a.makeInner,s=o(),l=i.each;function c(t,e,n){if(!r.node){var i=e.getZr();s(i).records||(s(i).records={}),u(i,e);var a=s(i).records[t]||(s(i).records[t]={});a.handler=n}}function u(t,e){function n(n,i){t.on(n,(function(n){var r=p(e);l(s(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),h(r.pendings,e)}))}s(t).initialized||(s(t).initialized=!0,n("click",i.curry(f,"click")),n("mousemove",i.curry(f,"mousemove")),n("globalout",d))}function h(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function d(t,e,n){t.handler("leave",null,n)}function f(t,e,n,i){e.handler(t,n,i)}function p(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}function g(t,e){if(!r.node){var n=e.getZr(),i=(s(n).records||{})[t];i&&(s(n).records[t]=null)}}e.register=c,e.unregister=g},7944:function(t,e,n){var i=n("e83b"),r=n("770e"),a=r.parseClassType,o=0;function s(t){return[t||"",o++,Math.random().toFixed(5)].join("_")}function l(t){var e={};return t.registerSubTypeDefaulter=function(t,n){t=a(t),e[t.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=a(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r},t}function c(t,e){function n(t){var n={},o=[];return i.each(t,(function(s){var l=r(n,s),c=l.originalDeps=e(s),u=a(c,t);l.entryCount=u.length,0===l.entryCount&&o.push(s),i.each(u,(function(t){i.indexOf(l.predecessor,t)<0&&l.predecessor.push(t);var e=r(n,t);i.indexOf(e.successor,t)<0&&e.successor.push(s)}))})),{graph:n,noEntryList:o}}function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function a(t,e){var n=[];return i.each(t,(function(t){i.indexOf(e,t)>=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,r,a){if(t.length){var o=n(e),s=o.graph,l=o.noEntryList,c={};i.each(t,(function(t){c[t]=!0}));while(l.length){var u=l.pop(),h=s[u],d=!!c[u];d&&(r.call(a,u,h.originalDeps.slice()),delete c[u]),i.each(h.successor,d?p:f)}i.each(c,(function(){throw new Error("Circle dependency may exists")}))}function f(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function p(t){c[t]=!0,f(t)}}}e.getUID=s,e.enableSubTypeDefaulter=l,e.enableTopologicalTravel=c},"7b16":function(t,e,n){var i=n("e83b");function r(t,e,n){n=n||{};var r=t.coordinateSystem,a=e.axis,o={},s=a.getAxesOnZeroOf()[0],l=a.position,c=s?"onZero":l,u=a.dim,h=r.getRect(),d=[h.x,h.x+h.width,h.y,h.y+h.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,g="x"===u?[d[2]-p,d[3]+p]:[d[0]-p,d[1]+p];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));g[f.onZero]=Math.max(Math.min(v,g[1]),g[0])}o.position=["y"===u?g[f[c]]:d[0],"x"===u?g[f[c]]:d[3]],o.rotation=Math.PI/2*("x"===u?0:1);var m={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=m[l],o.labelOffset=s?g[f[l]]-g[f.onZero]:0,e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),i.retrieve(n.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var y=e.get("axisLabel.rotate");return o.labelRotate="top"===c?-y:y,o.z2=1,o}e.layout=r},"7b3f":function(t,e){var n="#eee",i=function(){return{axisLine:{lineStyle:{color:n}},axisTick:{lineStyle:{color:n}},axisLabel:{textStyle:{color:n}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:n}}}},r=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],a={color:r,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:n},crossStyle:{color:n},label:{color:"#000"}}},legend:{textStyle:{color:n}},textStyle:{color:n},title:{textStyle:{color:n}},toolbox:{iconStyle:{normal:{borderColor:n}}},dataZoom:{textStyle:{color:n}},visualMap:{textStyle:{color:n}},timeline:{lineStyle:{color:n},itemStyle:{normal:{color:r[1]}},label:{normal:{textStyle:{color:n}}},controlStyle:{normal:{color:n,borderColor:n}}},timeAxis:i(),logAxis:i(),valueAxis:i(),categoryAxis:i(),line:{symbol:"circle"},graph:{color:r},gauge:{title:{textStyle:{color:n}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};a.categoryAxis.splitLine.show=!1;var o=a;t.exports=o},"7cb4":function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("e83b")),a=r.createHashMap,o=(r.retrieve,r.each);function s(t){this.coordSysName=t,this.coordSysDims=[],this.axisMap=a(),this.categoryAxisMap=a(),this.firstCategoryDimIndex=null}function l(t){var e=t.get("coordinateSystem"),n=new s(e),i=c[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}var c={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis")[0],a=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",a),u(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),u(a)&&(i.set("y",a),e.firstCategoryDimIndex,e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],n.set("single",r),u(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar")[0],a=r.findAxisModel("radiusAxis"),o=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",o),u(a)&&(i.set("radius",a),e.firstCategoryDimIndex=0),u(o)&&(i.set("angle",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,a=r.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();o(a.parallelAxisIndex,(function(t,a){var o=r.getComponent("parallelAxis",t),l=s[a];n.set(l,o),u(o)&&null==e.firstCategoryDimIndex&&(i.set(l,o),e.firstCategoryDimIndex=a)}))}};function u(t){return"category"===t.get("type")}e.getCoordSysInfoBySeries=l},8096:function(t,e,n){var i=n("48b9"),r="object"==typeof self&&self&&self.Object===Object&&self,a=i||r||Function("return this")();t.exports=a},8114:function(t,e,n){var i=n("e83b"),r=n("f2e8"),a=n("2731"),o=n("28fd"),s=n("d0db"),l=s.prototype,c=Math.ceil,u=Math.floor,h=1e3,d=60*h,f=60*d,p=24*f,g=function(t,e,n,i){while(n<i){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},v=s.extend({type:"time",getLabel:function(t){var e=this._stepLvl,n=new Date(t);return a.formatTime(e[0],n,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=p,e[1]+=p),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-p}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=r.round(u(e[0]/i)*i)),t.fixMax||(e[1]=r.round(c(e[1]/i)*i))},niceTicks:function(t,e,n){t=t||10;var i=this._extent,a=i[1]-i[0],s=a/t;null!=e&&s<e&&(s=e),null!=n&&s>n&&(s=n);var l=m.length,h=g(m,s,0,l),d=m[Math.min(h,l-1)],f=d[1];if("year"===d[0]){var p=a/f,v=r.nice(p/t,!0);f*=v}var y=this.getSetting("useUTC")?0:60*new Date(+i[0]||+i[1]).getTimezoneOffset()*1e3,x=[Math.round(c((i[0]-y)/f)*f+y),Math.round(u((i[1]-y)/f)*f+y)];o.fixExtent(x,i),this._stepLvl=d,this._interval=f,this._niceExtent=x},parse:function(t){return+r.parseDate(t)}});i.each(["contain","normalize"],(function(t){v.prototype[t]=function(e){return l[t].call(this,this.parse(e))}}));var m=[["hh:mm:ss",h],["hh:mm:ss",5*h],["hh:mm:ss",10*h],["hh:mm:ss",15*h],["hh:mm:ss",30*h],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",5*d],["hh:mm\nMM-dd",10*d],["hh:mm\nMM-dd",15*d],["hh:mm\nMM-dd",30*d],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];v.create=function(t){return new v({useUTC:t.ecModel.get("useUTC")})};var y=v;t.exports=y},"81aa":function(t,e,n){},"81dc":function(t,e,n){var i=n("fb68"),r=n("2346"),a=n("cb3d")("species");t.exports=function(t){var e;return r(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&(e=e[a],null===e&&(e=void 0))),void 0===e?Array:e}},"81f6":function(t,e){var n={};n="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:r(navigator.userAgent);var i=n;function r(t){var e={},n={},i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),a&&(n.edge=!0,n.version=a[1]),o&&(n.weChat=!0),{browser:n,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!==typeof document}}t.exports=i},8394:function(t,e,n){var i=n("e83b"),r={};function a(){this._coordinateSystems=[]}a.prototype={constructor:a,create:function(t,e){var n=[];i.each(r,(function(i,r){var a=i.create(t,e);n=n.concat(a||[])})),this._coordinateSystems=n},update:function(t,e){i.each(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},a.register=function(t,e){r[t]=e},a.get=function(t){return r[t]};var o=a;t.exports=o},8944:function(t,e,n){var i=n("e83b"),r=n("c794"),a=r.createSymbol,o=n("d02e"),s=n("f2e8"),l=s.parsePercent,c=n("dd6e"),u=c.getDefaultLabel;function h(t,e,n){o.Group.call(this),this.updateData(t,e,n)}var d=h.prototype,f=h.getSymbolSize=function(t,e){var n=t.getItemVisual(e,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function p(t){return[t[0]/2,t[1]/2]}function g(t,e){this.parent.drift(t,e)}d._createSymbol=function(t,e,n,i,r){this.removeAll();var o=e.getItemVisual(n,"color"),s=a(t,-1,-1,2,2,o,r);s.attr({z2:100,culling:!0,scale:p(i)}),s.drift=g,this._symbolType=t,this.add(s)},d.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},d.getSymbolPath=function(){return this.childAt(0)},d.getScale=function(){return this.childAt(0).scale},d.highlight=function(){this.childAt(0).trigger("emphasis")},d.downplay=function(){this.childAt(0).trigger("normal")},d.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},d.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},d.updateData=function(t,e,n){this.silent=!1;var i=t.getItemVisual(e,"symbol")||"circle",r=t.hostModel,a=f(t,e),s=i!==this._symbolType;if(s){var l=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(i,t,e,a,l)}else{var c=this.childAt(0);c.silent=!1,o.updateProps(c,{scale:p(a)},r,e)}if(this._updateCommon(t,e,a,n),s){c=this.childAt(0);var u=n&&n.fadeIn,h={scale:c.scale.slice()};u&&(h.style={opacity:c.style.opacity}),c.scale=[0,0],u&&(c.style.opacity=0),o.initProps(c,h,r,e)}this._seriesModel=r};var v=["itemStyle"],m=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"];function _(t,e){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===e){var n=this.__symbolOriginalScale,i=n[1]/n[0],r={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*i)]};this.animateTo(r,400,"elasticOut")}else"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}d._updateCommon=function(t,e,n,r){var a=this.childAt(0),s=t.hostModel,c=t.getItemVisual(e,"color");"image"!==a.type?a.useStyle({strokeNoScale:!0}):a.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var h=r&&r.itemStyle,d=r&&r.hoverItemStyle,f=r&&r.symbolRotate,g=r&&r.symbolOffset,b=r&&r.labelModel,w=r&&r.hoverLabelModel,S=r&&r.hoverAnimation,M=r&&r.cursorStyle;if(!r||t.hasItemOption){var T=r&&r.itemModel?r.itemModel:t.getItemModel(e);h=T.getModel(v).getItemStyle(["color"]),d=T.getModel(m).getItemStyle(),f=T.getShallow("symbolRotate"),g=T.getShallow("symbolOffset"),b=T.getModel(y),w=T.getModel(x),S=T.getShallow("hoverAnimation"),M=T.getShallow("cursor")}else d=i.extend({},d);var A=a.style;a.attr("rotation",(f||0)*Math.PI/180||0),g&&a.attr("position",[l(g[0],n[0]),l(g[1],n[1])]),M&&a.attr("cursor",M),a.setColor(c,r&&r.symbolInnerColor),a.setStyle(h);var C=t.getItemVisual(e,"opacity");null!=C&&(A.opacity=C);var D=t.getItemVisual(e,"liftZ"),I=a.__z2Origin;null!=D?null==I&&(a.__z2Origin=a.z2,a.z2+=D):null!=I&&(a.z2=I,a.__z2Origin=null);var k=r&&r.useNameLabel;function O(e,n){return k?t.getName(e):u(t,e)}o.setLabelStyle(A,d,b,w,{labelFetcher:s,labelDataIndex:e,defaultText:O,isRectText:!0,autoColor:c}),a.__symbolOriginalScale=p(n),a.hoverStyle=d,a.highDownOnUpdate=S&&s.isAnimationEnabled()?_:null,o.setHoverStyle(a)},d.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,(!e||!e.keepLabel)&&(n.style.text=null),o.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},i.inherits(h,o.Group);var b=h;t.exports=b},"89e3":function(t,e,n){var i=n("e83b"),r=i.retrieve2,a=i.retrieve3,o=i.each,s=i.normalizeCssArray,l=i.isString,c=i.isObject,u=n("bc29"),h=n("f697"),d=n("0c25"),f=n("b3bb"),p=n("d5a3"),g=p.ContextCachedBy,v=p.WILL_BE_RESTORED,m=u.DEFAULT_FONT,y={left:1,right:1,center:1},x={top:1,bottom:1,middle:1},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],b={},w={};function S(t){return M(t),o(t.rich,M),t}function M(t){if(t){t.font=u.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||y[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||x[n]?n:"top";var i=t.textPadding;i&&(t.textPadding=s(t.textPadding))}}function T(t,e,n,i,r,a){i.rich?C(t,e,n,i,r,a):A(t,e,n,i,r,a)}function A(t,e,n,i,r,a){"use strict";var o,s=O(i),l=!1,c=e.__attrCachedBy===g.PLAIN_TEXT;a!==v?(a&&(o=a.style,l=!s&&c&&o),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):c&&(e.__attrCachedBy=g.NONE);var h=i.font||m;l&&h===(o.font||m)||(e.font=h);var d=t.__computedFont;t.__styleFont!==h&&(t.__styleFont=h,d=t.__computedFont=e.font);var p=i.textPadding,y=i.textLineHeight,x=t.__textCotentBlock;x&&!t.__dirtyText||(x=t.__textCotentBlock=u.parsePlainText(n,d,p,y,i.truncate));var b=x.outerHeight,S=x.lines,M=x.lineHeight,T=E(w,t,i,r),A=T.baseX,C=T.baseY,D=T.textAlign||"left",k=T.textVerticalAlign;I(e,i,r,A,C);var L=u.adjustTextY(C,b,k),R=A,B=L;if(s||p){var H=u.getWidth(n,d),W=H;p&&(W+=p[1]+p[3]);var V=u.adjustTextX(A,W,D);s&&P(t,e,i,V,L,W,b),p&&(R=F(A,D,p),B+=p[0])}e.textAlign=D,e.textBaseline="middle",e.globalAlpha=i.opacity||1;for(var G=0;G<_.length;G++){var j=_[G],U=j[0],Y=j[1],q=i[U];l&&q===o[U]||(e[Y]=f(e,Y,q||j[2]))}B+=M/2;var X=i.textStrokeWidth,$=l?o.textStrokeWidth:null,Z=!l||X!==$,K=!l||Z||i.textStroke!==o.textStroke,J=N(i.textStroke,X),Q=z(i.textFill);if(J&&(Z&&(e.lineWidth=X),K&&(e.strokeStyle=J)),Q&&(l&&i.textFill===o.textFill||(e.fillStyle=Q)),1===S.length)J&&e.strokeText(S[0],R,B),Q&&e.fillText(S[0],R,B);else for(G=0;G<S.length;G++)J&&e.strokeText(S[G],R,B),Q&&e.fillText(S[G],R,B),B+=M}function C(t,e,n,i,r,a){a!==v&&(e.__attrCachedBy=g.NONE);var o=t.__textCotentBlock;o&&!t.__dirtyText||(o=t.__textCotentBlock=u.parseRichText(n,i)),D(t,e,o,i,r)}function D(t,e,n,i,r){var a=n.width,o=n.outerWidth,s=n.outerHeight,l=i.textPadding,c=E(w,t,i,r),h=c.baseX,d=c.baseY,f=c.textAlign,p=c.textVerticalAlign;I(e,i,r,h,d);var g=u.adjustTextX(h,o,f),v=u.adjustTextY(d,s,p),m=g,y=v;l&&(m+=l[3],y+=l[0]);var x=m+a;O(i)&&P(t,e,i,g,v,o,s);for(var _=0;_<n.lines.length;_++){var b,S=n.lines[_],M=S.tokens,T=M.length,A=S.lineHeight,C=S.width,D=0,L=m,R=x,N=T-1;while(D<T&&(b=M[D],!b.textAlign||"left"===b.textAlign))k(t,e,b,i,A,y,L,"left"),C-=b.width,L+=b.width,D++;while(N>=0&&(b=M[N],"right"===b.textAlign))k(t,e,b,i,A,y,R,"right"),C-=b.width,R-=b.width,N--;L+=(a-(L-m)-(x-R)-C)/2;while(D<=N)b=M[D],k(t,e,b,i,A,y,L+b.width/2,"center"),L+=b.width,D++;y+=A}}function I(t,e,n,i,r){if(n&&e.textRotation){var a=e.textOrigin;"center"===a?(i=n.width/2+n.x,r=n.height/2+n.y):a&&(i=a[0]+n.x,r=a[1]+n.y),t.translate(i,r),t.rotate(-e.textRotation),t.translate(-i,-r)}}function k(t,e,n,i,o,s,l,c){var u=i.rich[n.styleName]||{};u.text=n.text;var h=n.textVerticalAlign,d=s+o/2;"top"===h?d=s+n.height/2:"bottom"===h&&(d=s+o-n.height/2),!n.isLineHolder&&O(u)&&P(t,e,u,"right"===c?l-n.width:"center"===c?l-n.width/2:l,d-n.height/2,n.width,n.height);var f=n.textPadding;f&&(l=F(l,c,f),d-=n.height/2-f[2]-n.textHeight/2),R(e,"shadowBlur",a(u.textShadowBlur,i.textShadowBlur,0)),R(e,"shadowColor",u.textShadowColor||i.textShadowColor||"transparent"),R(e,"shadowOffsetX",a(u.textShadowOffsetX,i.textShadowOffsetX,0)),R(e,"shadowOffsetY",a(u.textShadowOffsetY,i.textShadowOffsetY,0)),R(e,"textAlign",c),R(e,"textBaseline","middle"),R(e,"font",n.font||m);var p=N(u.textStroke||i.textStroke,v),g=z(u.textFill||i.textFill),v=r(u.textStrokeWidth,i.textStrokeWidth);p&&(R(e,"lineWidth",v),R(e,"strokeStyle",p),e.strokeText(n.text,l,d)),g&&(R(e,"fillStyle",g),e.fillText(n.text,l,d))}function O(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function P(t,e,n,i,r,a,o){var s=n.textBackgroundColor,u=n.textBorderWidth,f=n.textBorderColor,p=l(s);if(R(e,"shadowBlur",n.textBoxShadowBlur||0),R(e,"shadowColor",n.textBoxShadowColor||"transparent"),R(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),R(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),p||u&&f){e.beginPath();var g=n.textBorderRadius;g?h.buildPath(e,{x:i,y:r,width:a,height:o,r:g}):e.rect(i,r,a,o),e.closePath()}if(p)if(R(e,"fillStyle",s),null!=n.fillOpacity){var v=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(c(s)){var m=s.image;m=d.createOrUpdateImage(m,null,t,L,s),m&&d.isImageReady(m)&&e.drawImage(m,i,r,a,o)}if(u&&f)if(R(e,"lineWidth",u),R(e,"strokeStyle",f),null!=n.strokeOpacity){v=e.globalAlpha;e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=v}else e.stroke()}function L(t,e){e.image=t}function E(t,e,n,i){var r=n.x||0,a=n.y||0,o=n.textAlign,s=n.textVerticalAlign;if(i){var l=n.textPosition;if(l instanceof Array)r=i.x+B(l[0],i.width),a=i.y+B(l[1],i.height);else{var c=e&&e.calculateTextPosition?e.calculateTextPosition(b,n,i):u.calculateTextPosition(b,n,i);r=c.x,a=c.y,o=o||c.textAlign,s=s||c.textVerticalAlign}var h=n.textOffset;h&&(r+=h[0],a+=h[1])}return t=t||{},t.baseX=r,t.baseY=a,t.textAlign=o,t.textVerticalAlign=s,t}function R(t,e,n){return t[e]=f(t,e,n),t[e]}function N(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function z(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function B(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function F(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function H(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}e.normalizeTextStyle=S,e.renderText=T,e.getBoxPosition=E,e.getStroke=N,e.getFill=z,e.parsePercent=B,e.needDrawText=H},"8a5b":function(t,e,n){var i=n("e0f2"),r=i([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),a={getLineStyle:function(t){var e=r(this,t);return e.lineDash=this.getLineDash(e.lineWidth),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),i=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[i,i]:[n,n])}};t.exports=a},"8d3f":function(t,e,n){var i=n("e83b"),r=n("7708"),a=r.Dispatcher,o=n("3cab"),s=n("f576"),l=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,a.call(this)};l.prototype={constructor:l,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),n=0;n<e.length;n++)this.addClip(e[n])},removeClip:function(t){var e=i.indexOf(this._clips,t);e>=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n<e.length;n++)this.removeClip(e[n]);t.animation=null},_update:function(){for(var t=(new Date).getTime()-this._pausedTime,e=t-this._time,n=this._clips,i=n.length,r=[],a=[],o=0;o<i;o++){var s=n[o],l=s.step(t,e);l&&(r.push(l),a.push(s))}for(o=0;o<i;)n[o]._needsRemove?(n[o]=n[i-1],n.pop(),i--):o++;i=r.length;for(o=0;o<i;o++)a[o].fire(r[o]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){var t=this;function e(){t._running&&(o(e),!t._paused&&t._update())}this._running=!0,o(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=[]},isFinished:function(){return!this._clips.length},animate:function(t,e){e=e||{};var n=new s(t,e.loop,e.getter,e.setter);return this.addAnimator(n),n}},i.mixin(l,a);var c=l;t.exports=c},"8e3a":function(t,e,n){var i=n("a6c5"),r=n("bef6"),a=n("900e"),o=n("4740");function s(t,e,n){if(this.name=t,this.geometries=e,n)n=[n[0],n[1]];else{var i=this.getBoundingRect();n=[i.x+i.width/2,i.y+i.height/2]}this.center=n}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],o=[-e,-e],s=[],l=[],c=this.geometries,u=0;u<c.length;u++)if("polygon"===c[u].type){var h=c[u].exterior;r.fromPoints(h,s,l),a.min(n,n,s),a.max(o,o,l)}return 0===u&&(n[0]=n[1]=o[0]=o[1]=0),this._rect=new i(n[0],n[1],o[0]-n[0],o[1]-n[1])},contain:function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++)if("polygon"===n[i].type){var a=n[i].exterior,s=n[i].interiors;if(o.contain(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(o.contain(s[l]))continue t;return!0}}return!1},transformTo:function(t,e,n,r){var o=this.getBoundingRect(),s=o.width/o.height;n?r||(r=n/s):n=s*r;for(var l=new i(t,e,n,r),c=o.calculateTransform(l),u=this.geometries,h=0;h<u.length;h++)if("polygon"===u[h].type){for(var d=u[h].exterior,f=u[h].interiors,p=0;p<d.length;p++)a.applyTransform(d[p],d[p],c);for(var g=0;g<(f?f.length:0);g++)for(p=0;p<f[g].length;p++)a.applyTransform(f[g][p],f[g][p],c)}o=this._rect,o.copy(l),this.center=[o.x+o.width/2,o.y+o.height/2]},cloneShallow:function(t){null==t&&(t=this.name);var e=new s(t,this.geometries,this.center);return e._rect=this._rect,e.transformTo=null,e}};var l=s;t.exports=l},"900e":function(t,e){var n="undefined"===typeof Float32Array?Array:Float32Array;function i(t,e){var i=new n(2);return null==t&&(t=0),null==e&&(e=0),i[0]=t,i[1]=e,i}function r(t,e){return t[0]=e[0],t[1]=e[1],t}function a(t){var e=new n(2);return e[0]=t[0],e[1]=t[1],e}function o(t,e,n){return t[0]=e,t[1]=n,t}function s(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function l(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function c(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function u(t){return Math.sqrt(d(t))}var h=u;function d(t){return t[0]*t[0]+t[1]*t[1]}var f=d;function p(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function g(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function v(t,e){return t[0]*e[0]+t[1]*e[1]}function m(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function y(t,e){var n=u(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function x(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var _=x;function b(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var w=b;function S(t,e){return t[0]=-e[0],t[1]=-e[1],t}function M(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function T(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function A(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function C(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}e.create=i,e.copy=r,e.clone=a,e.set=o,e.add=s,e.scaleAndAdd=l,e.sub=c,e.len=u,e.length=h,e.lenSquare=d,e.lengthSquare=f,e.mul=p,e.div=g,e.dot=v,e.scale=m,e.normalize=y,e.distance=x,e.dist=_,e.distanceSquare=b,e.distSquare=w,e.negate=S,e.lerp=M,e.applyTransform=T,e.min=A,e.max=C},9268:function(t,e){var n="\0__throttleOriginMethod",i="\0__throttleRate",r="\0__throttleType";function a(t,e,n){var i,r,a,o,s,l=0,c=0,u=null;function h(){c=(new Date).getTime(),u=null,t.apply(a,o||[])}e=e||0;var d=function(){i=(new Date).getTime(),a=this,o=arguments;var t=s||e,d=s||n;s=null,r=i-(d?l:c)-t,clearTimeout(u),d?u=setTimeout(h,t):r>=0?h():u=setTimeout(h,-r),l=i};return d.clear=function(){u&&(clearTimeout(u),u=null)},d.debounceNextCall=function(t){s=t},d}function o(t,e,o,s){var l=t[e];if(l){var c=l[n]||l,u=l[r],h=l[i];if(h!==o||u!==s){if(null==o||!s)return t[e]=c;l=t[e]=a(c,o,"debounce"===s),l[n]=c,l[r]=s,l[i]=o}return l}}function s(t,e){var i=t[e];i&&i[n]&&(t[e]=i[n])}e.throttle=a,e.createOrUpdate=o,e.clear=s},"92d6":function(t,e,n){var i=n("1a01"),r=i.isDimensionStacked,a=n("e83b"),o=a.map;function s(t,e,n){var i,a=t.getBaseAxis(),s=t.getOtherAxis(a),c=l(s,n),u=a.dim,h=s.dim,d=e.mapDimension(h),f=e.mapDimension(u),p="x"===h||"radius"===h?1:0,g=o(t.dimensions,(function(t){return e.mapDimension(t)})),v=e.getCalculationInfo("stackResultDimension");return(i|=r(e,g[0]))&&(g[0]=v),(i|=r(e,g[1]))&&(g[1]=v),{dataDimsForPoint:g,valueStart:c,valueAxisDim:h,baseAxisDim:u,stacked:!!i,valueDim:d,baseDim:f,baseDataOffset:p,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function l(t,e){var n=0,i=t.scale.getExtent();return"start"===e?n=i[0]:"end"===e?n=i[1]:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}function c(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=n.get(t.baseDim,i),o[1-a]=r,e.dataToPoint(o)}e.prepareDataCoordInfo=s,e.getStackedOnPoint=c},"939d":function(t,e,n){var i=n("c9aa"),r=n("46ce"),a="[object Symbol]";function o(t){return"symbol"==typeof t||r(t)&&i(t)==a}t.exports=o},"94d9":function(t,e,n){var i=n("a670"),r=n("e83b"),a=n("3075"),o=n("7180"),s=n("49fd"),l=s.prototype.getCanvasPattern,c=Math.abs,u=new a(!0);function h(t){i.call(this,t),this.path=null}h.prototype={constructor:h,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n,i=this.style,r=this.path||u,a=i.hasStroke(),o=i.hasFill(),s=i.fill,c=i.stroke,h=o&&!!s.colorStops,d=a&&!!c.colorStops,f=o&&!!s.image,p=a&&!!c.image;(i.bind(t,this,e),this.setTransform(t),this.__dirty)&&(h&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,s,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,c,n)));h?t.fillStyle=this._fillGradient:f&&(t.fillStyle=l.call(s,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=l.call(c,t));var g=i.lineDash,v=i.lineDashOffset,m=!!t.setLineDash,y=this.getGlobalScale();if(r.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!m&&a?(r.beginPath(t),g&&!m&&(r.setLineDash(g),r.setLineDashOffset(v)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o)if(null!=i.fillOpacity){var x=t.globalAlpha;t.globalAlpha=i.fillOpacity*i.opacity,r.fill(t),t.globalAlpha=x}else r.fill(t);if(g&&m&&(t.setLineDash(g),t.lineDashOffset=v),a)if(null!=i.strokeOpacity){x=t.globalAlpha;t.globalAlpha=i.strokeOpacity*i.opacity,r.stroke(t),t.globalAlpha=x}else r.stroke(t);g&&m&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new a},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var i=this.path;i||(i=this.path=new a),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),t=i.getBoundingRect()}if(this._rect=t,e.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){r.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(r.width+=o/s,r.height+=o/s,r.x-=o/s/2,r.y-=o/s/2)}return r}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var a=this.path.data;if(r.hasStroke()){var s=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(r.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(a,s/l,t,e)))return!0}if(r.hasFill())return o.contain(a,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):i.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(r.isObject(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1}},h.extend=function(t){var e=function(e){h.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}t.init&&t.init.call(this,e)};for(var n in r.inherits(e,h),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},r.inherits(h,i);var d=h;t.exports=d},"95b0":function(t,e,n){var i=n("e83b"),r=n("b7b2"),a=n("a886"),o=n("a8844"),s=r.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});i.merge(s.prototype,o);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function c(t,e){return e.type||(e.data?"category":"value")}a("angle",s,c,l.angle),a("radius",s,c,l.radius)},9650:function(t,e,n){var i=n("8096"),r=function(){return i.Date.now()};t.exports=r},9739:function(t,e,n){var i=n("e83b"),r=n("d02e"),a=n("bc29"),o=n("2731"),s=n("ac11"),l=n("48ce"),c=n("210e");function u(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle(),e.fill=null):"shadow"===n&&(e=i.getAreaStyle(),e.stroke=null),e}function h(t,e,n,i,r){var s=n.get("value"),l=f(s,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),c=n.getModel("label"),u=o.normalizeCssArray(c.get("padding")||0),h=c.getFont(),p=a.getBoundingRect(l,h),g=r.position,v=p.width+u[1]+u[3],m=p.height+u[0]+u[2],y=r.align;"right"===y&&(g[0]-=v),"center"===y&&(g[0]-=v/2);var x=r.verticalAlign;"bottom"===x&&(g[1]-=m),"middle"===x&&(g[1]-=m/2),d(g,v,m,i);var _=c.get("backgroundColor");_&&"auto"!==_||(_=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:v,height:m,r:c.get("borderRadius")},position:g.slice(),style:{text:l,textFont:h,textFill:c.getTextColor(),textPosition:"inside",textPadding:u,fill:_,stroke:c.get("borderColor")||"transparent",lineWidth:c.get("borderWidth")||0,shadowBlur:c.get("shadowBlur"),shadowColor:c.get("shadowColor"),shadowOffsetX:c.get("shadowOffsetX"),shadowOffsetY:c.get("shadowOffsetY")},z2:10}}function d(t,e,n,i){var r=i.getWidth(),a=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,a)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function f(t,e,n,r,a){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:a.precision}),s=a.formatter;if(s){var c={value:l.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};i.each(r,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&c.seriesData.push(r)})),i.isString(s)?o=s.replace("{value}",o):i.isFunction(s)&&(o=s(c))}return o}function p(t,e,n){var i=s.create();return s.rotate(i,i,n.rotation),s.translate(i,i,n.position),r.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function g(t,e,n,i,r,a){var o=c.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get("label.margin"),h(e,i,r,a,{position:p(i.axis,t,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function v(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function m(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function y(t,e,n,i,r,a){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:a,clockwise:!0}}e.buildElStyle=u,e.buildLabelElOption=h,e.getValueLabel=f,e.getTransformedPosition=p,e.buildCartesianSingleLabelElOption=g,e.makeLineShape=v,e.makeRectShape=m,e.makeSectorShape=y},9981:function(t,e,n){var i=n("94d9"),r=n("b0c3"),a=i.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:r(i.prototype.brush),buildPath:function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=e.startAngle,s=e.endAngle,l=e.clockwise,c=Math.cos(o),u=Math.sin(o);t.moveTo(c*r+n,u*r+i),t.lineTo(c*a+n,u*a+i),t.arc(n,i,a,o,s,!l),t.lineTo(Math.cos(s)*r+n,Math.sin(s)*r+i),0!==r&&t.arc(n,i,r,s,o,l),t.closePath()}});t.exports=a},"9ae3":function(t,e,n){var i=n("e83b"),r=i.isFunction;function a(t,e,n){return{seriesType:t,performRawSeries:!0,reset:function(t,i,a){var o=t.getData(),s=t.get("symbol"),l=t.get("symbolSize"),c=t.get("symbolKeepAspect"),u=r(s),h=r(l),d=u||h,f=!u&&s?s:e,p=h?null:l;if(o.setVisual({legendSymbol:n||f,symbol:f,symbolSize:p,symbolKeepAspect:c}),!i.isSeriesFiltered(t))return{dataEach:o.hasItemOption||d?g:null};function g(e,n){if(d){var i=t.getRawValue(n),r=t.getDataParams(n);u&&e.setItemVisual(n,"symbol",s(i,r)),h&&e.setItemVisual(n,"symbolSize",l(i,r))}if(e.hasItemOption){var a=e.getItemModel(n),o=a.getShallow("symbol",!0),c=a.getShallow("symbolSize",!0),f=a.getShallow("symbolKeepAspect",!0);null!=o&&e.setItemVisual(n,"symbol",o),null!=c&&e.setItemVisual(n,"symbolSize",c),null!=f&&e.setItemVisual(n,"symbolKeepAspect",f)}}}}}t.exports=a},"9b9f":function(t,e,n){"use strict";var i=n("f914"),r=n.n(i);r.a},"9daa":function(t,e,n){var i=n("e83b"),r=n("d02e"),a=n("210e"),o=n("d630"),s=n("7b16"),l=["axisLine","axisTickLabel","axisName"],c=["splitArea","splitLine","minorSplitLine"],u=o.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,n,o){this.group.removeAll();var h=this._axisGroup;if(this._axisGroup=new r.Group,this.group.add(this._axisGroup),t.get("show")){var d=t.getCoordSysModel(),f=s.layout(d,t),p=new a(t,f);i.each(l,p.add,p),this._axisGroup.add(p.getGroup()),i.each(c,(function(e){t.get(e+".show")&&this["_"+e](t,d)}),this),r.groupTransition(h,this._axisGroup,t),u.superCall(this,"render",t,e,n,o)}},remove:function(){this._splitAreaColors=null},_splitLine:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var a=t.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=i.isArray(s)?s:[s];for(var l=e.coordinateSystem.getRect(),c=n.isHorizontal(),u=0,h=n.getTicksCoords({tickModel:a}),d=[],f=[],p=o.getLineStyle(),g=0;g<h.length;g++){var v=n.toGlobalCoord(h[g].coord);c?(d[0]=v,d[1]=l.y,f[0]=v,f[1]=l.y+l.height):(d[0]=l.x,d[1]=v,f[0]=l.x+l.width,f[1]=v);var m=u++%s.length,y=h[g].tickValue;this._axisGroup.add(new r.Line({anid:null!=y?"line_"+h[g].tickValue:null,subPixelOptimize:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:i.defaults({stroke:s[m]},p),silent:!0}))}}},_minorSplitLine:function(t,e){var n=t.axis,i=t.getModel("minorSplitLine"),a=i.getModel("lineStyle"),o=e.coordinateSystem.getRect(),s=n.isHorizontal(),l=n.getMinorTicksCoords();if(l.length)for(var c=[],u=[],h=a.getLineStyle(),d=0;d<l.length;d++)for(var f=0;f<l[d].length;f++){var p=n.toGlobalCoord(l[d][f].coord);s?(c[0]=p,c[1]=o.y,u[0]=p,u[1]=o.y+o.height):(c[0]=o.x,c[1]=p,u[0]=o.x+o.width,u[1]=p),this._axisGroup.add(new r.Line({anid:"minor_line_"+l[d][f].tickValue,subPixelOptimize:!0,shape:{x1:c[0],y1:c[1],x2:u[0],y2:u[1]},style:h,silent:!0}))}},_splitArea:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var a=t.getModel("splitArea"),o=a.getModel("areaStyle"),s=o.get("color"),l=e.coordinateSystem.getRect(),c=n.getTicksCoords({tickModel:a,clamp:!0});if(c.length){var u=s.length,h=this._splitAreaColors,d=i.createHashMap(),f=0;if(h)for(var p=0;p<c.length;p++){var g=h.get(c[p].tickValue);if(null!=g){f=(g+(u-1)*p)%u;break}}var v=n.toGlobalCoord(c[0].coord),m=o.getAreaStyle();s=i.isArray(s)?s:[s];for(p=1;p<c.length;p++){var y,x,_,b,w=n.toGlobalCoord(c[p].coord);n.isHorizontal()?(y=v,x=l.y,_=w-y,b=l.height,v=y+_):(y=l.x,x=v,_=l.width,b=w-x,v=x+b);var S=c[p-1].tickValue;null!=S&&d.set(S,f),this._axisGroup.add(new r.Rect({anid:null!=S?"area_"+S:null,shape:{x:y,y:x,width:_,height:b},style:i.defaults({fill:s[f]},m),silent:!0})),f=(f+1)%u}this._splitAreaColors=d}}}});u.extend({type:"xAxis"}),u.extend({type:"yAxis"})},"9db0":function(t,e,n){var i=n("e83b"),r=i.each,a=n("10d0"),o=n("7944"),s=n("770e"),l=n("e8ad"),c=n("d02e"),u=n("a533"),h=u.createTask,d=n("7826"),f=l.makeInner(),p=d();function g(){this.group=new a,this.uid=o.getUID("viewChart"),this.renderTask=h({plan:x,reset:_}),this.renderTask.context={view:this}}g.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){y(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){y(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var v=g.prototype;function m(t,e,n){if(t&&(t.trigger(e,n),t.isGroup&&!c.isHighDownDispatcher(t)))for(var i=0,r=t.childCount();i<r;i++)m(t.childAt(i),e,n)}function y(t,e,n){var i=l.queryDataIndex(t,e),a=e&&null!=e.highlightKey?c.getHighlightDigit(e.highlightKey):null;null!=i?r(l.normalizeToArray(i),(function(e){m(t.getItemGraphicEl(e),n,a)})):t.eachItemGraphicEl((function(t){m(t,n,a)}))}function x(t){return p(t.model)}function _(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=r&&f(r).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](e,n,i,r),b[l]}v.updateView=v.updateLayout=v.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},s.enableClassExtend(g,["dispose"]),s.enableClassManagement(g,{registerWhenExtend:!0}),g.markUpdateMethod=function(t,e){f(t).updateMethod=e};var b={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},w=g;t.exports=w},a0ff:function(t,e,n){var i=n("c51b"),r={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]};function a(t){return t=Math.round(t),t<0?0:t>255?255:t}function o(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function c(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function u(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n){return t+(e-t)*n}function d(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new i(20),g=null;function v(t,e){g&&f(g,e),g=p.put(t,g||e.slice())}function m(t,e){if(t){e=e||[];var n=p.get(t);if(n)return f(e,n);t+="";var i=t.replace(/ /g,"").toLowerCase();if(i in r)return f(e,r[i]),v(t,e),e;if("#"!==i.charAt(0)){var a=i.indexOf("("),o=i.indexOf(")");if(-1!==a&&o+1===i.length){var s=i.substr(0,a),u=i.substr(a+1,o-(a+1)).split(","),h=1;switch(s){case"rgba":if(4!==u.length)return void d(e,0,0,0,1);h=c(u.pop());case"rgb":return 3!==u.length?void d(e,0,0,0,1):(d(e,l(u[0]),l(u[1]),l(u[2]),h),v(t,e),e);case"hsla":return 4!==u.length?void d(e,0,0,0,1):(u[3]=c(u[3]),y(u,e),v(t,e),e);case"hsl":return 3!==u.length?void d(e,0,0,0,1):(y(u,e),v(t,e),e);default:return}}d(e,0,0,0,1)}else{if(4===i.length){var g=parseInt(i.substr(1),16);return g>=0&&g<=4095?(d(e,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),v(t,e),e):void d(e,0,0,0,1)}if(7===i.length){g=parseInt(i.substr(1),16);return g>=0&&g<=16777215?(d(e,(16711680&g)>>16,(65280&g)>>8,255&g,1),v(t,e),e):void d(e,0,0,0,1)}}}}function y(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=c(t[1]),r=c(t[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return e=e||[],d(e,a(255*u(s,o,n+1/3)),a(255*u(s,o,n)),a(255*u(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function x(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o,c=(s+o)/2;if(0===l)e=0,n=0;else{n=c<.5?l/(s+o):l/(2-s-o);var u=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-a)/6+l/2)/l;i===s?e=d-h:r===s?e=1/3+u-d:a===s&&(e=2/3+h-u),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,c];return null!=t[3]&&f.push(t[3]),f}}function _(t,e){var n=m(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:t[i]<0&&(n[i]=0);return D(n,4===n.length?"rgba":"rgb")}}function b(t){var e=m(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function w(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),l=e[r],c=e[o],u=i-r;return n[0]=a(h(l[0],c[0],u)),n[1]=a(h(l[1],c[1],u)),n[2]=a(h(l[2],c[2],u)),n[3]=s(h(l[3],c[3],u)),n}}var S=w;function M(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),l=m(e[r]),c=m(e[o]),u=i-r,d=D([a(h(l[0],c[0],u)),a(h(l[1],c[1],u)),a(h(l[2],c[2],u)),s(h(l[3],c[3],u))],"rgba");return n?{color:d,leftIndex:r,rightIndex:o,value:i}:d}}var T=M;function A(t,e,n,i){if(t=m(t),t)return t=x(t),null!=e&&(t[0]=o(e)),null!=n&&(t[1]=c(n)),null!=i&&(t[2]=c(i)),D(y(t),"rgba")}function C(t,e){if(t=m(t),t&&null!=e)return t[3]=s(e),D(t,"rgba")}function D(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}e.parse=m,e.lift=_,e.toHex=b,e.fastLerp=w,e.fastMapToColor=S,e.lerp=M,e.mapToColor=T,e.modifyHSL=A,e.modifyAlpha=C,e.stringify=D},a1dc:function(t,e,n){var i=n("e83b"),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function a(t){i.each(r,(function(e){this[e]=i.bind(t[e],t)}),this)}var o=a;t.exports=o},a1f8:function(t,e){var n=Object.prototype,i=n.toString;function r(t){return i.call(t)}t.exports=r},a278:function(t,e,n){var i=n("e0f2"),r=i([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),a={getItemStyle:function(t,e){var n=r(this,t,e),i=this.getBorderLineDash();return i&&(n.lineDash=i),n},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};t.exports=a},a387:function(t,e,n){var i=n("f576"),r=n("c0b9"),a=n("e83b"),o=a.isString,s=a.isFunction,l=a.isObject,c=a.isArrayLike,u=a.indexOf,h=function(){this.animators=[]};function d(t,e,n,i,r,a,l,c){o(i)?(a=r,r=i,i=0):s(r)?(a=r,r="linear",i=0):s(i)?(a=i,i=0):s(n)?(a=n,n=500):n||(n=500),t.stopAnimation(),f(t,"",t,e,n,i,c);var u=t.animators.slice(),h=u.length;function d(){h--,h||a&&a()}h||a&&a();for(var p=0;p<u.length;p++)u[p].done(d).start(r,l)}function f(t,e,n,i,r,a,o){var s={},u=0;for(var h in i)i.hasOwnProperty(h)&&(null!=n[h]?l(i[h])&&!c(i[h])?f(t,e?e+"."+h:h,n[h],i[h],r,a,o):(o?(s[h]=n[h],p(t,e,h,i[h])):s[h]=i[h],u++):null==i[h]||o||p(t,e,h,i[h]));u>0&&t.animate(e,!1).when(null==r?500:r,s).delay(a||0)}function p(t,e,n,i){if(e){var r={};r[e]={},r[e][n]=i,t.attr(r)}else t.attr(n,i)}h.prototype={constructor:h,animate:function(t,e){var n,a=!1,o=this,s=this.__zr;if(t){var l=t.split("."),c=o;a="shape"===l[0];for(var h=0,d=l.length;h<d;h++)c&&(c=c[l[h]]);c&&(n=c)}else n=o;if(n){var f=o.animators,p=new i(n,e);return p.during((function(t){o.dirty(a)})).done((function(){f.splice(u(f,p),1)})),f.push(p),s&&s.animation.addAnimator(p),p}r('Property "'+t+'" is not existed in element '+o.id)},stopAnimation:function(t){for(var e=this.animators,n=e.length,i=0;i<n;i++)e[i].stop(t);return e.length=0,this},animateTo:function(t,e,n,i,r,a){d(this,t,e,n,i,r,a)},animateFrom:function(t,e,n,i,r,a){d(this,t,e,n,i,r,a,!0)}};var g=h;t.exports=g},a38d:function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("e83b")),a=r.each,o=r.filter,s=r.map,l=r.isArray,c=r.indexOf,u=r.isObject,h=r.isString,d=r.createHashMap,f=r.assert,p=r.clone,g=r.merge,v=r.extend,m=r.mixin,y=n("e8ad"),x=n("014b"),_=n("b7b2"),b=n("eadb"),w=n("64fe"),S=n("28cf"),M=S.resetSourceDefaulter,T="\0_ec_inner",A=x.extend({init:function(t,e,n,i){n=n||{},this.option=null,this._theme=new x(n),this._optionManager=i},setOption:function(t,e){f(!(T in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var i=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(i)):I.call(this,i),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var r=n.getTimelineOption(this);r&&(this.mergeOption(r),e=!0)}if(!t||"recreate"===t||"media"===t){var o=n.getMediaOption(this,this._api);o.length&&a(o,(function(t){this.mergeOption(t,e=!0)}),this)}return e},mergeOption:function(t){var e=this.option,n=this._componentsMap,i=[];function r(i,r){var o=y.normalizeToArray(t[i]),s=y.mappingToExists(n.get(i),o);y.makeIdAndName(s),a(s,(function(t,e){var n=t.option;u(n)&&(t.keyInfo.mainType=i,t.keyInfo.subType=O(i,n,t.exist))}));var l=k(n,r);e[i]=[],n.set(i,[]),a(s,(function(t,r){var a=t.exist,o=t.option;if(f(u(o)||a,"Empty component definition"),o){var s=_.getClass(i,t.keyInfo.subType,!0);if(a&&a.constructor===s)a.name=t.keyInfo.name,a.mergeOption(o,this),a.optionUpdated(o,!1);else{var c=v({dependentModels:l,componentIndex:r},t.keyInfo);a=new s(o,this,this,c),v(a,c),a.init(o,this,this,c),a.optionUpdated(null,!0)}}else a.mergeOption({},this),a.optionUpdated({},!1);n.get(i)[r]=a,e[i][r]=a.option}),this),"series"===i&&P(this,n.get("series"))}M(this),a(t,(function(t,n){null!=t&&(_.hasClass(n)?n&&i.push(n):e[n]=null==e[n]?p(t):g(e[n],t,!0))})),_.topologicalTravel(i,_.getAllClassMainTypes(),r,this),this._seriesIndicesMap=d(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=p(this.option);return a(t,(function(e,n){if(_.hasClass(n)){e=y.normalizeToArray(e);for(var i=e.length-1;i>=0;i--)y.isIdInner(e[i])&&e.splice(i,1);t[n]=e}})),delete t[T],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,a=t.name,u=this._componentsMap.get(e);if(!u||!u.length)return[];if(null!=i)l(i)||(i=[i]),n=o(s(i,(function(t){return u[t]})),(function(t){return!!t}));else if(null!=r){var h=l(r);n=o(u,(function(t){return h&&c(r,t.id)>=0||!h&&t.id===r}))}else if(null!=a){var d=l(a);n=o(u,(function(t){return d&&c(a,t.name)>=0||!d&&t.name===a}))}else n=u.slice();return L(n,t)},findComponents:function(t){var e=t.query,n=t.mainType,i=a(e),r=i?this.queryComponents(i):this._componentsMap.get(n);return s(L(r,t));function a(t){var e=n+"Index",i=n+"Id",r=n+"Name";return!t||null==t[e]&&null==t[i]&&null==t[r]?null:{mainType:n,index:t[e],id:t[i],name:t[r]}}function s(e){return t.filter?o(e,t.filter):e}},eachComponent:function(t,e,n){var i=this._componentsMap;if("function"===typeof t)n=e,e=t,i.each((function(t,i){a(t,(function(t,r){e.call(n,i,t,r)}))}));else if(h(t))a(i.get(t),e,n);else if(u(t)){var r=this.findComponents(t);a(r,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){E(this),a(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},eachRawSeries:function(t,e){a(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){E(this),a(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},eachRawSeriesByType:function(t,e,n){return a(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return E(this),null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){E(this);var n=o(this._componentsMap.get("series"),t,e);P(this,n)},restoreData:function(t){var e=this._componentsMap;P(this,e.get("series"));var n=[];e.each((function(t,e){n.push(e)})),_.topologicalTravel(n,_.getAllClassMainTypes(),(function(n,i){a(e.get(n),(function(e){("series"!==n||!C(e,t))&&e.restoreData()}))}))}});function C(t,e){if(e){var n=e.seiresIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}function D(t,e){var n=t.color&&!t.colorLayer;a(e,(function(e,i){"colorLayer"===i&&n||_.hasClass(i)||("object"===typeof e?t[i]=t[i]?g(t[i],e,!1):p(e):null==t[i]&&(t[i]=e))}))}function I(t){t=t,this.option={},this.option[T]=1,this._componentsMap=d({series:[]}),this._seriesIndices,this._seriesIndicesMap,D(t,this._theme.option),g(t,b,!1),this.mergeOption(t)}function k(t,e){l(e)||(e=e?[e]:[]);var n={};return a(e,(function(e){n[e]=(t.get(e)||[]).slice()})),n}function O(t,e,n){var i=e.type?e.type:n?n.subType:_.determineSubType(t,e);return i}function P(t,e){t._seriesIndicesMap=d(t._seriesIndices=s(e,(function(t){return t.componentIndex}))||[])}function L(t,e){return e.hasOwnProperty("subType")?o(t,(function(t){return t.subType===e.subType})):t}function E(t){}m(A,w);var R=A;t.exports=R},a533:function(t,e,n){var i=n("e83b"),r=(i.assert,i.isArray),a=n("f993");a.__DEV__;function o(t){return new s(t)}function s(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0,this.context}var l=s.prototype;l.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var a=this.context;a.data=a.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,s=f(this._modBy),l=this._modDataCount||0,c=f(t&&t.modBy),d=t&&t.modDataCount||0;function f(t){return!(t>=1)&&(t=1),t}s===c&&l===d||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=h(this,i)),this._modBy=c,this._modDataCount=d;var p=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,v=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!i&&(o||g<v)){var m=this._progress;if(r(m))for(var y=0;y<m.length;y++)u(this,m[y],g,v,c,d);else u(this,m,g,v,c,d)}this._dueIndex=v;var x=null!=this._settedOutputEnd?this._settedOutputEnd:v;this._outputDueEnd=x}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var c=function(){var t,e,n,i,r,a={reset:function(l,c,u,h){e=l,t=c,n=u,i=h,r=Math.ceil(i/n),a.next=n>1&&i>0?s:o}};return a;function o(){return e<t?e++:null}function s(){var a=e%r*n+Math.ceil(e/r),o=e>=t?null:a<i?a:e;return e++,o}}();function u(t,e,n,i,r,a){c.reset(n,i,r,a),t._callingProgress=e,t._callingProgress({start:n,end:i,count:i-n,next:c.next},t.context)}function h(t,e){var n,i;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&(n=t._reset(t.context),n&&n.progress&&(i=n.forceFirstProgress,n=n.progress),r(n)&&!n.length&&(n=null)),t._progress=n,t._modBy=t._modDataCount=null;var a=t._downstream;return a&&a.dirty(),i}l.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},l.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},l.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},l.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},l.getUpstream=function(){return this._upstream},l.getDownstream=function(){return this._downstream},l.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e.createTask=o},a5d3:function(t,e,n){var i=n("92d6"),r=i.prepareDataCoordInfo,a=i.getStackedOnPoint;function o(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}function s(t,e,n,i,s,l,c,u){for(var h=o(t,e),d=[],f=[],p=[],g=[],v=[],m=[],y=[],x=r(s,e,c),_=r(l,t,u),b=0;b<h.length;b++){var w=h[b],S=!0;switch(w.cmd){case"=":var M=t.getItemLayout(w.idx),T=e.getItemLayout(w.idx1);(isNaN(M[0])||isNaN(M[1]))&&(M=T.slice()),d.push(M),f.push(T),p.push(n[w.idx]),g.push(i[w.idx1]),y.push(e.getRawIndex(w.idx1));break;case"+":var A=w.idx;d.push(s.dataToPoint([e.get(x.dataDimsForPoint[0],A),e.get(x.dataDimsForPoint[1],A)])),f.push(e.getItemLayout(A).slice()),p.push(a(x,s,e,A)),g.push(i[A]),y.push(e.getRawIndex(A));break;case"-":A=w.idx;var C=t.getRawIndex(A);C!==A?(d.push(t.getItemLayout(A)),f.push(l.dataToPoint([t.get(_.dataDimsForPoint[0],A),t.get(_.dataDimsForPoint[1],A)])),p.push(n[A]),g.push(a(_,l,t,A)),y.push(C)):S=!1}S&&(v.push(w),m.push(m.length))}m.sort((function(t,e){return y[t]-y[e]}));var D=[],I=[],k=[],O=[],P=[];for(b=0;b<m.length;b++){A=m[b];D[b]=d[A],I[b]=f[A],k[b]=p[A],O[b]=g[A],P[b]=v[A]}return{current:D,next:I,stackedOnCurrent:k,stackedOnNext:O,status:P}}t.exports=s},a670:function(t,e,n){var i=n("e83b"),r=n("f746"),a=n("0c4d"),o=n("1010");function s(t){for(var e in t=t||{},a.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new r(t.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return i.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?a.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new r(t,this),this.dirty(!1),this},calculateTextPosition:null},i.inherits(s,a),i.mixin(s,o);var l=s;t.exports=l},a6c5:function(t,e,n){var i=n("900e"),r=n("ac11"),a=i.applyTransform,o=Math.min,s=Math.max;function l(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}l.prototype={constructor:l,union:function(t){var e=o(t.x,this.x),n=o(t.y,this.y);this.width=s(t.x+t.width,this.x+this.width)-e,this.height=s(t.y+t.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:function(){var t=[],e=[],n=[],i=[];return function(r){if(r){t[0]=n[0]=this.x,t[1]=i[1]=this.y,e[0]=i[0]=this.x+this.width,e[1]=n[1]=this.y+this.height,a(t,t,r),a(e,e,r),a(n,n,r),a(i,i,r),this.x=o(t[0],e[0],n[0],i[0]),this.y=o(t[1],e[1],n[1],i[1]);var l=s(t[0],e[0],n[0],i[0]),c=s(t[1],e[1],n[1],i[1]);this.width=l-this.x,this.height=c-this.y}}}(),calculateTransform:function(t){var e=this,n=t.width/e.width,i=t.height/e.height,a=r.create();return r.translate(a,a,[-e.x,-e.y]),r.scale(a,a,[n,i]),r.translate(a,a,[t.x,t.y]),a},intersect:function(t){if(!t)return!1;t instanceof l||(t=l.create(t));var e=this,n=e.x,i=e.x+e.width,r=e.y,a=e.y+e.height,o=t.x,s=t.x+t.width,c=t.y,u=t.y+t.height;return!(i<o||s<n||a<c||u<r)},contain:function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(t){return new l(t.x,t.y,t.width,t.height)};var c=l;t.exports=c},a6dd:function(t,e,n){var i=n("b8e3"),r=n("e83b"),a=n("d02e");n("f877"),n("5da3"),i.extendComponentView({type:"grid",render:function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new a.Rect({shape:t.coordinateSystem.getRect(),style:r.defaults({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))}}),i.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))},a8844:function(t,e,n){var i=n("e83b"),r={getMin:function(t){var e=this.option,n=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!==typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(t){var e=this.option,n=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!==typeof n&&!i.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:i.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};t.exports=r},a886:function(t,e,n){var i=n("e83b"),r=n("d68a"),a=n("b7b2"),o=n("03f7"),s=o.getLayoutParams,l=o.mergeLayoutParam,c=n("c722"),u=["value","category","time","log"];function h(t,e,n,o){i.each(u,(function(a){e.extend({type:t+"Axis."+a,mergeDefaultAndTheme:function(e,r){var o=this.layoutMode,c=o?s(e):{},u=r.getTheme();i.merge(e,u.get(a+"Axis")),i.merge(e,this.getDefaultOption()),e.type=n(t,e),o&&l(e,c,o)},optionUpdated:function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=c.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:i.mergeAll([{},r[a+"Axis"],o],!0)})})),a.registerSubTypeDefaulter(t+"Axis",i.curry(n,t))}t.exports=h},aa1b:function(t,e,n){var i=n("e83b"),r=n("bc29"),a=n("e8ad"),o=a.makeInner,s=n("48ce"),l=s.makeLabelFormatter,c=s.getOptionCategoryInterval,u=s.shouldShowAllLabels,h=o();function d(t){return"category"===t.type?p(t):m(t)}function f(t,e){return"category"===t.type?v(t,e):{ticks:t.scale.getTicks()}}function p(t){var e=t.getLabelModel(),n=g(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function g(t,e){var n,r,a=y(t,"labels"),o=c(e),s=x(a,o);return s||(i.isFunction(o)?n=T(t,o):(r="auto"===o?b(t):o,n=M(t,r)),_(a,o,{labels:n,labelCategoryInterval:r}))}function v(t,e){var n,r,a=y(t,"ticks"),o=c(e),s=x(a,o);if(s)return s;if(e.get("show")&&!t.scale.isBlank()||(n=[]),i.isFunction(o))n=T(t,o,!0);else if("auto"===o){var l=g(t,t.getLabelModel());r=l.labelCategoryInterval,n=i.map(l.labels,(function(t){return t.tickValue}))}else r=o,n=M(t,r,!0);return _(a,o,{ticks:n,tickCategoryInterval:r})}function m(t){var e=t.scale.getTicks(),n=l(t);return{labels:i.map(e,(function(e,i){return{formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e}}))}}function y(t,e){return h(t)[e]||(h(t)[e]=[])}function x(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function _(t,e,n){return t.push({key:e,value:n}),n}function b(t){var e=h(t).autoInterval;return null!=e?e:h(t).autoInterval=t.calculateCategoryInterval()}function w(t){var e=S(t),n=l(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,a=t.scale,o=a.getExtent(),s=a.count();if(o[1]-o[0]<1)return 0;var c=1;s>40&&(c=Math.max(1,Math.floor(s/40)));for(var u=o[0],d=t.dataToCoord(u+1)-t.dataToCoord(u),f=Math.abs(d*Math.cos(i)),p=Math.abs(d*Math.sin(i)),g=0,v=0;u<=o[1];u+=c){var m=0,y=0,x=r.getBoundingRect(n(u),e.font,"center","top");m=1.3*x.width,y=1.3*x.height,g=Math.max(g,m,7),v=Math.max(v,y,7)}var _=g/f,b=v/p;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var w=Math.max(0,Math.floor(Math.min(_,b))),M=h(t.model),T=t.getExtent(),A=M.lastAutoInterval,C=M.lastTickCount;return null!=A&&null!=C&&Math.abs(A-w)<=1&&Math.abs(C-s)<=1&&A>w&&M.axisExtend0===T[0]&&M.axisExtend1===T[1]?w=A:(M.lastTickCount=s,M.lastAutoInterval=w,M.axisExtend0=T[0],M.axisExtend1=T[1]),w}function S(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function M(t,e,n){var i=l(t),r=t.scale,a=r.getExtent(),o=t.getLabelModel(),s=[],c=Math.max((e||0)+1,1),h=a[0],d=r.count();0!==h&&c>1&&d/c>2&&(h=Math.round(Math.ceil(h/c)*c));var f=u(t),p=o.get("showMinLabel")||f,g=o.get("showMaxLabel")||f;p&&h!==a[0]&&m(a[0]);for(var v=h;v<=a[1];v+=c)m(v);function m(t){s.push(n?t:{formattedLabel:i(t),rawLabel:r.getLabel(t),tickValue:t})}return g&&v-c!==a[1]&&m(a[1]),s}function T(t,e,n){var r=t.scale,a=l(t),o=[];return i.each(r.getTicks(),(function(t){var i=r.getLabel(t);e(t,i)&&o.push(n?t:{formattedLabel:a(t),rawLabel:i,tickValue:t})})),o}e.createAxisLabels=d,e.createAxisTicks=f,e.calculateCategoryInterval=w},ac11:function(t,e){var n="undefined"===typeof Float32Array?Array:Float32Array;function i(){var t=new n(6);return r(t),t}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function o(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],a=e[0]*n[2]+e[2]*n[3],o=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t}function s(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function l(t,e,n){var i=e[0],r=e[2],a=e[4],o=e[1],s=e[3],l=e[5],c=Math.sin(n),u=Math.cos(n);return t[0]=i*u+o*c,t[1]=-i*c+o*u,t[2]=r*u+s*c,t[3]=-r*c+u*s,t[4]=u*a+c*l,t[5]=u*l-c*a,t}function c(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function u(t,e){var n=e[0],i=e[2],r=e[4],a=e[1],o=e[3],s=e[5],l=n*o-a*i;return l?(l=1/l,t[0]=o*l,t[1]=-a*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-o*r)*l,t[5]=(a*r-n*s)*l,t):null}function h(t){var e=i();return a(e,t),e}e.create=i,e.identity=r,e.copy=a,e.mul=o,e.translate=s,e.rotate=l,e.scale=c,e.invert=u,e.clone=h},ad6c:function(t,e,n){var i=n("900e"),r=i.min,a=i.max,o=i.scale,s=i.distance,l=i.add,c=i.clone,u=i.sub;function h(t,e,n,i){var h,d,f,p,g=[],v=[],m=[],y=[];if(i){f=[1/0,1/0],p=[-1/0,-1/0];for(var x=0,_=t.length;x<_;x++)r(f,f,t[x]),a(p,p,t[x]);r(f,f,i[0]),a(p,p,i[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(n)h=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){g.push(c(t[x]));continue}h=t[x-1],d=t[x+1]}u(v,d,h),o(v,v,e);var w=s(b,h),S=s(b,d),M=w+S;0!==M&&(w/=M,S/=M),o(m,v,-w),o(y,v,S);var T=l([],b,m),A=l([],b,y);i&&(a(T,T,f),r(T,T,p),a(A,A,f),r(A,A,p)),g.push(T),g.push(A)}return n&&g.push(g.shift()),g}t.exports=h},af07:function(t,e){var n={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},i=function(t,e){return Math.round(t.length/2)};function r(t){return{seriesType:t,modifyOutputEnd:!0,reset:function(t,e,r){var a=t.getData(),o=t.get("sampling"),s=t.coordinateSystem;if("cartesian2d"===s.type&&o){var l,c=s.getBaseAxis(),u=s.getOtherAxis(c),h=c.getExtent(),d=h[1]-h[0],f=Math.round(a.count()/d);if(f>1)"string"===typeof o?l=n[o]:"function"===typeof o&&(l=o),l&&t.setData(a.downSample(a.mapDimension(u.dim),1/f,l,i))}}}}t.exports=r},afc5:function(t,e,n){var i=n("d02e"),r=n("f2e8"),a=r.round;function o(t,e,n){var r=t.getArea(),a=t.getBaseAxis().isHorizontal(),o=r.x,s=r.y,l=r.width,c=r.height,u=n.get("lineStyle.width")||2;o-=u/2,s-=u/2,l+=u,c+=u;var h=new i.Rect({shape:{x:o,y:s,width:l,height:c}});return e&&(h.shape[a?"width":"height"]=0,i.initProps(h,{shape:{width:l,height:c}},n)),h}function s(t,e,n){var r=t.getArea(),o=new i.Sector({shape:{cx:a(t.cx,1),cy:a(t.cy,1),r0:a(r.r0,1),r:a(r.r,1),startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return e&&(o.shape.endAngle=r.startAngle,i.initProps(o,{shape:{endAngle:r.endAngle}},n)),o}function l(t,e,n){return t?"polar"===t.type?s(t,e,n):"cartesian2d"===t.type?o(t,e,n):null:null}e.createGridClipPath=o,e.createPolarClipPath=s,e.createClipPath=l},b0c3:function(t,e,n){var i=n("81f6"),r=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function a(t){return i.browser.ie&&i.browser.version>=11?function(){var e,n=this.__clipPaths,i=this.style;if(n)for(var a=0;a<n.length;a++){var o=n[a],s=o&&o.shape,l=o&&o.type;if(s&&("sector"===l&&s.startAngle===s.endAngle||"rect"===l&&(!s.width||!s.height))){for(var c=0;c<r.length;c++)r[c][2]=i[r[c][0]],i[r[c][0]]=r[c][1];e=!0;break}}if(t.apply(this,arguments),e)for(c=0;c<r.length;c++)i[r[c][0]]=r[c][2]}:t}t.exports=a},b3bb:function(t,e){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function i(t,e,i){return n.hasOwnProperty(e)?i*t.dpr:i}t.exports=i},b430:function(t,e){var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],i={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]};t.exports=i},b50f:function(t,e,n){var i=n("e83b"),r=n("e8ad"),a=n("b7b2"),o=i.each,s=i.clone,l=i.map,c=i.merge,u=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function d(t,e,n){var r,a,s=[],l=[],c=t.timeline;if(t.baseOption&&(a=t.baseOption),(c||t.options)&&(a=a||{},s=(t.options||[]).slice()),t.media){a=a||{};var u=t.media;o(u,(function(t){t&&t.option&&(t.query?l.push(t):r||(r=t))}))}return a||(a=t),a.timeline||(a.timeline=c),o([a].concat(s).concat(i.map(l,(function(t){return t.option}))),(function(t){o(e,(function(e){e(t,n)}))})),{baseOption:a,timelineOptions:s,mediaDefault:r,mediaList:l}}function f(t,e,n){var r={width:e,height:n,aspectratio:e/n},a=!0;return i.each(t,(function(t,e){var n=e.match(u);if(n&&n[1]&&n[2]){var i=n[1],o=n[2].toLowerCase();p(r[o],t,i)||(a=!1)}})),a}function p(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function g(t,e){return t.join(",")===e.join(",")}function v(t,e){e=e||{},o(e,(function(e,n){if(null!=e){var i=t[n];if(a.hasClass(n)){e=r.normalizeToArray(e),i=r.normalizeToArray(i);var o=r.mappingToExists(i,e);t[n]=l(o,(function(t){return t.option&&t.exist?c(t.exist,t.option,!0):t.exist||t.option}))}else t[n]=c(i,e,!0)}}))}h.prototype={constructor:h,setOption:function(t,e){t&&i.each(r.normalizeToArray(t.series),(function(t){t&&t.data&&i.isTypedArray(t.data)&&i.setAsPrimitive(t.data)})),t=s(t);var n=this._optionBackup,a=d.call(this,t,e,!n);this._newBaseOption=a.baseOption,n?(v(n.baseOption,a.baseOption),a.timelineOptions.length&&(n.timelineOptions=a.timelineOptions),a.mediaList.length&&(n.mediaList=a.mediaList),a.mediaDefault&&(n.mediaDefault=a.mediaDefault)):this._optionBackup=a},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=s(n[i.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,r=this._mediaDefault,a=[],o=[];if(!i.length&&!r)return o;for(var c=0,u=i.length;c<u;c++)f(i[c].query,e,n)&&a.push(c);return!a.length&&r&&(a=[-1]),a.length&&!g(a,this._currentMediaIndices)&&(o=l(a,(function(t){return s(-1===t?r.option:i[t].option)}))),this._currentMediaIndices=a,o}};var m=h;t.exports=m},b57f:function(t,e,n){var i=n("e83b"),r=n("d02e"),a=Math.PI;function o(t,e){e=e||{},i.defaults(e,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var n=new r.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),o=new r.Arc({shape:{startAngle:-a/2,endAngle:-a/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),s=new r.Rect({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});o.animateShape(!0).when(1e3,{endAngle:3*a/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*a/2}).delay(300).start("circularInOut");var l=new r.Group;return l.add(o),l.add(s),l.add(n),l.resize=function(){var e=t.getWidth()/2,i=t.getHeight()/2;o.setShape({cx:e,cy:i});var r=o.shape.r;s.setShape({x:e-r,y:i-r,width:2*r,height:2*r}),n.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},l.resize(),l}t.exports=o},b654:function(t,e,n){var i=n("e83b"),r=n("770e"),a=n("d02e"),o=n("1e39"),s=n("7708"),l=n("9268"),c=n("e8ad"),u=c.makeInner,h=u(),d=i.clone,f=i.bind;function p(){}function g(t,e,n,i){v(h(n).lastProp,i)||(h(n).lastProp=i,e?a.updateProps(n,i,t):(n.stopAnimation(),n.attr(i)))}function v(t,e){if(i.isObject(t)&&i.isObject(e)){var n=!0;return i.each(e,(function(e,i){n=n&&v(t[i],e)})),!!n}return t===e}function m(t,e){t[e.get("label.show")?"show":"hide"]()}function y(t){return{position:t.position.slice(),rotation:t.rotation||0}}function x(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,r){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,r||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,c=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(c&&c.hide());l&&l.show(),c&&c.show();var u={};this.makeElOption(u,o,t,e,n);var h=u.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var f=i.curry(g,e,d);this.updatePointerEl(l,u,f,e),this.updateLabelEl(l,u,f,e)}else l=this._group=new a.Group,this.createPointerEl(l,u,t,e),this.createLabelEl(l,u,t,e),n.getZr().add(l);x(l,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,a=e.get("snap");if(!a&&!r)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(r&&i.getBandWidth()>s)return!0;if(a){var l=o.getAxisInfo(t).seriesDataCount,c=i.getExtent();return Math.abs(c[0]-c[1])/l>s}return!1}return!0===n},makeElOption:function(t,e,n,i,r){},createPointerEl:function(t,e,n,i){var r=e.pointer;if(r){var o=h(t).pointerEl=new a[r.type](d(e.pointer));t.add(o)}},createLabelEl:function(t,e,n,i){if(e.label){var r=h(t).labelEl=new a.Rect(d(e.label));t.add(r),m(r,i)}},updatePointerEl:function(t,e,n){var i=h(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){var r=h(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{shape:e.label.shape,position:e.label.position}),m(r,i))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,r=this._api.getZr(),o=this._handle,c=n.getModel("handle"),u=n.get("status");if(!c.get("show")||!u||"hide"===u)return o&&r.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=a.createIcon(c.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:f(this._onHandleDragMove,this,0,0),drift:f(this._onHandleDragMove,this),ondragend:f(this._onHandleDragEnd,this)}),r.add(o)),x(o,n,!1);var h=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];o.setStyle(c.getItemStyle(null,h));var d=c.get("size");i.isArray(d)||(d=[d,d]),o.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",c.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){g(this._axisPointerModel,!e&&this._moveAnimation,this._handle,y(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(y(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(y(i)),h(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},_onHandleDragEnd:function(t){this._dragging=!1;var e=this._handle;if(e){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}},p.prototype.constructor=p,r.enableClassExtend(p);var _=p;t.exports=_},b7b2:function(t,e,n){var i=n("e83b"),r=n("014b"),a=n("7944"),o=n("770e"),s=o.enableClassManagement,l=o.parseClassType,c=n("e8ad"),u=c.makeInner,h=n("03f7"),d=n("4364"),f=u(),p=r.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,n,i){r.call(this,t,e,n,i),this.uid=a.getUID("ec_cpt_model")},init:function(t,e,n,i){this.mergeDefaultAndTheme(t,n)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,r=n?h.getLayoutParams(t):{},a=e.getTheme();i.merge(t,a.get(this.mainType)),i.merge(t,this.getDefaultOption()),n&&h.mergeLayoutParam(t,r,n)},mergeOption:function(t,e){i.merge(this.option,t,!0);var n=this.layoutMode;n&&h.mergeLayoutParam(this.option,t,n)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=f(this);if(!t.defaultOption){var e=[],n=this.constructor;while(n){var r=n.prototype.defaultOption;r&&e.push(r),n=n.superClass}for(var a={},o=e.length-1;o>=0;o--)a=i.merge(a,e[o],!0);t.defaultOption=a}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});function g(t){var e=[];return i.each(p.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=i.map(e,(function(t){return l(t).main})),"dataset"!==t&&i.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}s(p,{registerWhenExtend:!0}),a.enableSubTypeDefaulter(p),a.enableTopologicalTravel(p,g),i.mixin(p,d);var v=p;t.exports=v},b88b:function(t,e,n){var i=n("e83b"),r=i.createHashMap,a=i.each;function o(t){var e=r();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),a={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(a)}})),e.each(s)}function s(t){a(t,(function(e,n){var i=[],r=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,l=o.map(a,(function(a,l,c){var u,h,d=o.get(e.stackedDimension,c);if(isNaN(d))return r;s?h=o.getRawIndex(c):u=o.get(e.stackedByDimension,c);for(var f=NaN,p=n-1;p>=0;p--){var g=t[p];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,u)),h>=0){var v=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&v>0||d<=0&&v<0){d+=v,f=v;break}}}return i[0]=d,i[1]=f,i}));o.hostModel.setData(l),e.data=l}))}t.exports=o},b8e3:function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("0ae7")),a=n("e83b"),o=n("a0ff"),s=n("81f6"),l=n("eaa7"),c=n("57b9"),u=n("a38d"),h=n("a1dc"),d=n("8394"),f=n("b50f"),p=n("d71e"),g=n("b88b"),v=n("b7b2"),m=n("c3dd"),y=n("f43a"),x=n("9db0"),_=n("d02e"),b=n("e8ad"),w=n("9268"),S=w.throttle,M=n("6c1c"),T=n("501b"),A=n("b57f"),C=n("f92d"),D=n("b430"),I=n("7b3f");n("67cd");var k=n("01bb"),O=a.assert,P=a.each,L=a.isFunction,E=a.isObject,R=v.parseClassType,N="4.6.0",z={zrender:"4.2.0"},B=1,F=1e3,H=800,W=900,V=5e3,G=1e3,j=1100,U=2e3,Y=3e3,q=3500,X=4e3,$=5e3,Z={PROCESSOR:{FILTER:F,SERIES_FILTER:H,STATISTIC:V},VISUAL:{LAYOUT:G,PROGRESSIVE_LAYOUT:j,GLOBAL:U,CHART:Y,POST_CHART_LAYOUT:q,COMPONENT:X,BRUSH:$}},K="__flagInMainProcess",J="__optionUpdated",Q=/^[a-zA-Z0-9_]+$/;function tt(t,e){return function(n,i,r){e||!this._disposed?(n=n&&n.toLowerCase(),c.prototype[t].call(this,n,i,r)):_t(this.id)}}function et(){c.call(this)}function nt(t,e,n){n=n||{},"string"===typeof e&&(e=Pt[e]),this.id,this.group,this._dom=t;var i="canvas",o=this._zr=r.init(t,{renderer:n.renderer||i,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=S(a.bind(o.flush,o),17);e=a.clone(e);e&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new d;var s=this._api=Mt(this);function u(t,e){return t.__prio-e.__prio}l(Ot,u),l(Dt,u),this._scheduler=new C(this,s,Dt,Ot),c.call(this,this._ecEventProcessor=new Tt),this._messageCenter=new et,this._initEvents(),this.resize=a.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),dt(o,this),a.setAsPrimitive(this)}et.prototype.on=tt("on",!0),et.prototype.off=tt("off",!0),et.prototype.one=tt("one",!0),a.mixin(et,c);var it=nt.prototype;function rt(t,e,n){if(this._disposed)_t(this.id);else{var i,r=this._model,a=this._coordSysMgr.getCoordinateSystems();e=b.parseFinder(r,e);for(var o=0;o<a.length;o++){var s=a[o];if(s[t]&&null!=(i=s[t](r,e,n)))return i}}}it._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[J]){var e=this[J].silent;this[K]=!0,ot(this),at.update.call(this),this[K]=!1,this[J]=!1,ut.call(this,e),ht.call(this,e)}else if(t.unfinished){var n=B,i=this._model,r=this._api;t.unfinished=!1;do{var a=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),lt(this,i),t.performVisualTasks(i),mt(this,this._model,r,"remain"),n-=+new Date-a}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},it.getDom=function(){return this._dom},it.getZr=function(){return this._zr},it.setOption=function(t,e,n){if(this._disposed)_t(this.id);else{var i;if(E(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[K]=!0,!this._model||e){var r=new f(this._api),a=this._theme,o=this._model=new u;o.scheduler=this._scheduler,o.init(null,null,a,r)}this._model.setOption(t,It),n?(this[J]={silent:i},this[K]=!1):(ot(this),at.update.call(this),this._zr.flush(),this[J]=!1,this[K]=!1,ut.call(this,i),ht.call(this,i))}},it.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},it.getModel=function(){return this._model},it.getOption=function(){return this._model&&this._model.getOption()},it.getWidth=function(){return this._zr.getWidth()},it.getHeight=function(){return this._zr.getHeight()},it.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},it.getRenderedCanvas=function(t){if(s.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},it.getSvgDataUrl=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return a.each(e,(function(t){t.stopAnimation(!0)})),t.painter.pathToDataUrl()}},it.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,i=[],r=this;P(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return P(i,(function(t){t.group.ignore=!1})),a}_t(this.id)},it.getConnectedDataURL=function(t){if(this._disposed)_t(this.id);else if(s.canvasSupported){var e=this.group,n=Math.min,i=Math.max,o=1/0;if(Rt[e]){var l=o,c=o,u=-o,h=-o,d=[],f=t&&t.pixelRatio||1;a.each(Et,(function(r,o){if(r.group===e){var s=r.getRenderedCanvas(a.clone(t)),f=r.getDom().getBoundingClientRect();l=n(f.left,l),c=n(f.top,c),u=i(f.right,u),h=i(f.bottom,h),d.push({dom:s,left:f.left,top:f.top})}})),l*=f,c*=f,u*=f,h*=f;var p=u-l,g=h-c,v=a.createCanvas();v.width=p,v.height=g;var m=r.init(v);return t.connectedBackgroundColor&&m.add(new _.Rect({shape:{x:0,y:0,width:p,height:g},style:{fill:t.connectedBackgroundColor}})),P(d,(function(t){var e=new _.Image({style:{x:t.left*f-l,y:t.top*f-c,image:t.dom}});m.add(e)})),m.refreshImmediately(),v.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},it.convertToPixel=a.curry(rt,"convertToPixel"),it.convertFromPixel=a.curry(rt,"convertFromPixel"),it.containPixel=function(t,e){if(!this._disposed){var n,i=this._model;return t=b.parseFinder(i,t),a.each(t,(function(t,i){i.indexOf("Models")>=0&&a.each(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n|=!!r.containPoint(e);else if("seriesModels"===i){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(n|=a.containPoint(e,t))}}),this)}),this),!!n}_t(this.id)},it.getVisual=function(t,e){var n=this._model;t=b.parseFinder(n,t,{defaultMainType:"series"});var i=t.seriesModel,r=i.getData(),a=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?r.indexOfRawIndex(t.dataIndex):null;return null!=a?r.getItemVisual(a,e):r.getVisual(e)},it.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},it.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var at={prepareAndUpdate:function(t){ot(this),at.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,r=this._coordSysMgr,a=this._scheduler;if(e){a.restoreData(e,t),a.performSeriesTasks(e),r.create(e,n),a.performDataProcessorTasks(e,t),lt(this,e),r.update(e,n),pt(e),a.performVisualTasks(e,t),gt(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(s.canvasSupported)i.setBackgroundColor(l);else{var c=o.parse(l);l=o.stringify(c,"rgb"),0===c[3]&&(l="transparent")}yt(e,n)}},updateTransform:function(t){var e=this._model,n=this,i=this._api;if(e){var r=[];e.eachComponent((function(a,o){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,i,t);l&&l.update&&r.push(s)}else r.push(s)}));var o=a.createHashMap();e.eachSeries((function(r){var a=n._chartsMap[r.__viewId];if(a.updateTransform){var s=a.updateTransform(r,e,i,t);s&&s.update&&o.set(r.uid,1)}else o.set(r.uid,1)})),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),mt(n,e,i,t,o),yt(e,this._api)}},updateView:function(t){var e=this._model;e&&(x.markUpdateMethod(t,"updateView"),pt(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),gt(this,this._model,this._api,t),yt(e,this._api))},updateVisual:function(t){at.update.call(this,t)},updateLayout:function(t){at.update.call(this,t)}};function ot(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),ft(t,"component",e,n),ft(t,"chart",e,n),n.plan()}function st(t,e,n,i,r){var o=t._model;if(i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var c=n.excludeSeriesId;null!=c&&(c=a.createHashMap(b.normalizeToArray(c))),o&&o.eachComponent(l,(function(e){c&&null!=c.get(e.id)||u(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else P(t._componentsViews.concat(t._chartsViews),u);function u(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}}function lt(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))}function ct(t,e){var n=t.type,i=t.escapeConnect,r=At[n],o=r.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&R(s[0]),this[K]=!0;var c=[t],u=!1;t.batch&&(u=!0,c=a.map(t.batch,(function(e){return e=a.defaults(a.extend({},e),t),e.batch=null,e})));var h,d=[],f="highlight"===n||"downplay"===n;P(c,(function(t){h=r.action(t,this._model,this._api),h=h||a.extend({},t),h.type=o.event||h.type,d.push(h),f?st(this,l,t,"series"):s&&st(this,l,t,s.main,s.sub)}),this),"none"===l||f||s||(this[J]?(ot(this),at.update.call(this,t),this[J]=!1):at[l].call(this,t)),h=u?{type:o.event||n,escapeConnect:i,batch:d}:d[0],this[K]=!1,!e&&this._messageCenter.trigger(h.type,h)}function ut(t){var e=this._pendingActions;while(e.length){var n=e.shift();ct.call(this,n,t)}}function ht(t){!t&&this.trigger("updated")}function dt(t,e){t.on("rendered",(function(){e.trigger("rendered"),!t.animation.isFinished()||e[J]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))}function ft(t,e,n,i){for(var r="component"===e,a=r?t._componentsViews:t._chartsViews,o=r?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,c=0;c<a.length;c++)a[c].__alive=!1;function u(t){var e="_ec_"+t.id+"_"+t.type,c=o[e];if(!c){var u=R(t.type),h=r?y.getClass(u.main,u.sub):x.getClass(u.sub);c=new h,c.init(n,l),o[e]=c,a.push(c),s.add(c.group)}t.__viewId=c.__id=e,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!r&&i.prepareView(c,t,n,l)}r?n.eachComponent((function(t,e){"series"!==t&&u(e)})):n.eachSeries(u);for(c=0;c<a.length;){var h=a[c];h.__alive?c++:(!r&&h.renderTask.dispose(),s.remove(h.group),h.dispose(n,l),a.splice(c,1),delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}}function pt(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function gt(t,e,n,i){vt(t,e,n,i),P(t._chartsViews,(function(t){t.__alive=!1})),mt(t,e,n,i),P(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))}function vt(t,e,n,i,r){P(r||t._componentsViews,(function(t){var r=t.__model;t.render(r,e,n,i),St(r,t)}))}function mt(t,e,n,i,r){var a,o=t._scheduler;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var s=n.renderTask;o.updatePayload(s,i),r&&r.get(e.uid)&&s.dirty(),a|=s.perform(o.getPerformArgs(s)),n.group.silent=!!e.get("silent"),St(e,n),wt(e,n)})),o.unfinished|=a,bt(t,e),T(t._zr.dom,e)}function yt(t,e){P(kt,(function(n){n(t,e)}))}it.resize=function(t){if(this._disposed)_t(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[K]=!0,n&&ot(this),at.update.call(this),this[K]=!1,ut.call(this,i),ht.call(this,i)}}},it.showLoading=function(t,e){if(this._disposed)_t(this.id);else if(E(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Lt[t]){var n=Lt[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},it.hideLoading=function(){this._disposed?_t(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},it.makeActionFromEvent=function(t){var e=a.extend({},t);return e.type=Ct[t.type],e},it.dispatchAction=function(t,e){this._disposed?_t(this.id):(E(e)||(e={silent:!!e}),At[t.type]&&this._model&&(this[K]?this._pendingActions.push(t):(ct.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&s.browser.weChat&&this._throttledZrFlush(),ut.call(this,e.silent),ht.call(this,e.silent))))},it.appendData=function(t){if(this._disposed)_t(this.id);else{var e=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(e);i.appendData(t),this._scheduler.unfinished=!0}},it.on=tt("on",!1),it.off=tt("off",!1),it.one=tt("one",!1);var xt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function _t(t){}function bt(t,e){var n=t._zr,i=n.storage,r=0;i.traverse((function(t){r++})),r>e.get("hoverLayerThreshold")&&!s.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.useHoverLayer=!0}))}}))}function wt(t,e){var n=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||t.style.blend!==n&&t.setStyle("blend",n),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.setStyle("blend",n)}))}))}function St(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))}))}function Mt(t){var e=t._coordSysMgr;return a.extend(new h(t),{getCoordinateSystems:a.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){while(e){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}}})}function Tt(){this.eventInfo}it._initEvents=function(){P(xt,(function(t){var e=function(e){var n,i=this.getModel(),r=e.target,o="globalout"===t;if(o)n={};else if(r&&null!=r.dataIndex){var s=r.dataModel||i.getSeriesByIndex(r.seriesIndex);n=s&&s.getDataParams(r.dataIndex,r.dataType,r)||{}}else r&&r.eventData&&(n=a.extend({},r.eventData));if(n){var l=n.componentType,c=n.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",c=n.seriesIndex);var u=l&&null!=c&&i.getComponent(l,c),h=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:r,packedEvent:n,model:u,view:h},this.trigger(t,n)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),P(Ct,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},it.isDisposed=function(){return this._disposed},it.clear=function(){this._disposed?_t(this.id):this.setOption({series:[]},!0)},it.dispose=function(){if(this._disposed)_t(this.id);else{this._disposed=!0,b.setAttribute(this.getDom(),Bt,"");var t=this._api,e=this._model;P(this._componentsViews,(function(n){n.dispose(e,t)})),P(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete Et[this.id]}},a.mixin(nt,c),Tt.prototype={constructor:Tt,normalizeQuery:function(t){var e={},n={},i={};if(a.isString(t)){var r=R(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};a.each(t,(function(t,r){for(var a=!1,l=0;l<o.length;l++){var c=o[l],u=r.lastIndexOf(c);if(u>0&&u===r.length-c.length){var h=r.slice(0,u);"data"!==h&&(e.mainType=h,e[c.toLowerCase()]=t,a=!0)}}s.hasOwnProperty(r)&&(n[r]=t,a=!0),a||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},filter:function(t,e,n){var i=this.eventInfo;if(!i)return!0;var r=i.targetEl,a=i.packedEvent,o=i.model,s=i.view;if(!o||!s)return!0;var l=e.cptQuery,c=e.dataQuery;return u(l,o,"mainType")&&u(l,o,"subType")&&u(l,o,"index","componentIndex")&&u(l,o,"name")&&u(l,o,"id")&&u(c,a,"name")&&u(c,a,"dataIndex")&&u(c,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,a));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var At={},Ct={},Dt=[],It=[],kt=[],Ot=[],Pt={},Lt={},Et={},Rt={},Nt=new Date-0,zt=new Date-0,Bt="_echarts_instance_";function Ft(t){var e=0,n=1,i=2,r="__connectUpdateStatus";function a(t,e){for(var n=0;n<t.length;n++){var i=t[n];i[r]=e}}P(Ct,(function(o,s){t._messageCenter.on(s,(function(o){if(Rt[t.group]&&t[r]!==e){if(o&&o.escapeConnect)return;var s=t.makeActionFromEvent(o),l=[];P(Et,(function(e){e!==t&&e.group===t.group&&l.push(e)})),a(l,e),P(l,(function(t){t[r]!==n&&t.dispatchAction(s)})),a(l,i)}}))}))}function Ht(t,e,n){var i=Ut(t);if(i)return i;var r=new nt(t,e,n);return r.id="ec_"+Nt++,Et[r.id]=r,b.setAttribute(t,Bt,r.id),Ft(r),r}function Wt(t){if(a.isArray(t)){var e=t;t=null,P(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+zt++,P(e,(function(e){e.group=t}))}return Rt[t]=!0,t}function Vt(t){Rt[t]=!1}var Gt=Vt;function jt(t){"string"===typeof t?t=Et[t]:t instanceof nt||(t=Ut(t)),t instanceof nt&&!t.isDisposed()&&t.dispose()}function Ut(t){return Et[b.getAttribute(t,Bt)]}function Yt(t){return Et[t]}function qt(t,e){Pt[t]=e}function Xt(t){It.push(t)}function $t(t,e){ne(Dt,t,e,F)}function Zt(t){kt.push(t)}function Kt(t,e,n){"function"===typeof e&&(n=e,e="");var i=E(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,O(Q.test(i)&&Q.test(e)),At[i]||(At[i]={action:n,actionInfo:t}),Ct[e]=i}function Jt(t,e){d.register(t,e)}function Qt(t){var e=d.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function te(t,e){ne(Ot,t,e,G,"layout")}function ee(t,e){ne(Ot,t,e,Y,"visual")}function ne(t,e,n,i,r){(L(e)||E(e))&&(n=e,e=i);var a=C.wrapStageHandler(n,r);return a.__prio=e,a.__raw=n,t.push(a),a}function ie(t,e){Lt[t]=e}function re(t){return v.extend(t)}function ae(t){return y.extend(t)}function oe(t){return m.extend(t)}function se(t){return x.extend(t)}function le(t){a.$override("createCanvas",t)}function ce(t,e,n){k.registerMap(t,e,n)}function ue(t){var e=k.retrieveMap(t);return e&&e[0]&&{geoJson:e[0].geoJSON,specialAreas:e[0].specialAreas}}ee(U,M),Xt(p),$t(W,g),ie("default",A),Kt({type:"highlight",event:"highlight",update:"highlight"},a.noop),Kt({type:"downplay",event:"downplay",update:"downplay"},a.noop),qt("light",D),qt("dark",I);var he={};e.version=N,e.dependencies=z,e.PRIORITY=Z,e.init=Ht,e.connect=Wt,e.disConnect=Vt,e.disconnect=Gt,e.dispose=jt,e.getInstanceByDom=Ut,e.getInstanceById=Yt,e.registerTheme=qt,e.registerPreprocessor=Xt,e.registerProcessor=$t,e.registerPostUpdate=Zt,e.registerAction=Kt,e.registerCoordinateSystem=Jt,e.getCoordinateSystemDimensions=Qt,e.registerLayout=te,e.registerVisual=ee,e.registerLoading=ie,e.extendComponentModel=re,e.extendComponentView=ae,e.extendSeriesModel=oe,e.extendChartView=se,e.setCanvasCreator=le,e.registerMap=ce,e.getMap=ue,e.dataTool=he;var de=n("6aa9");(function(){for(var t in de)de.hasOwnProperty(t)&&(e[t]=de[t])})()},b9af:function(t,e,n){var i=n("8096"),r=i.Symbol;t.exports=r},bc29:function(t,e,n){var i=n("a6c5"),r=n("0c25"),a=n("e83b"),o=a.getContext,s=a.extend,l=a.retrieve2,c=a.retrieve3,u=a.trim,h={},d=0,f=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,g="12px sans-serif",v={};function m(t,e){v[t]=e}function y(t,e){e=e||g;var n=t+":"+e;if(h[n])return h[n];for(var i=(t+"").split("\n"),r=0,a=0,o=i.length;a<o;a++)r=Math.max(O(i[a],e).width,r);return d>f&&(d=0,h={}),d++,h[n]=r,r}function x(t,e,n,i,r,a,o,s){return o?b(t,e,n,i,r,a,o,s):_(t,e,n,i,r,a,s)}function _(t,e,n,r,a,o,s){var l=P(t,e,a,o,s),c=y(t,e);a&&(c+=a[1]+a[3]);var u=l.outerHeight,h=w(0,c,n),d=S(0,u,r),f=new i(h,d,c,u);return f.lineHeight=l.lineHeight,f}function b(t,e,n,r,a,o,s,l){var c=L(t,{rich:s,truncate:l,font:e,textAlign:n,textPadding:a,textLineHeight:o}),u=c.outerWidth,h=c.outerHeight,d=w(0,u,n),f=S(0,h,r);return new i(d,f,u,h)}function w(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function S(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function M(t,e,n){var i=e.textPosition,r=e.textDistance,a=n.x,o=n.y;r=r||0;var s=n.height,l=n.width,c=s/2,u="left",h="top";switch(i){case"left":a-=r,o+=c,u="right",h="middle";break;case"right":a+=r+l,o+=c,h="middle";break;case"top":a+=l/2,o-=r,u="center",h="bottom";break;case"bottom":a+=l/2,o+=s+r,u="center";break;case"inside":a+=l/2,o+=c,u="center",h="middle";break;case"insideLeft":a+=r,o+=c,h="middle";break;case"insideRight":a+=l-r,o+=c,u="right",h="middle";break;case"insideTop":a+=l/2,o+=r,u="center";break;case"insideBottom":a+=l/2,o+=s-r,u="center",h="bottom";break;case"insideTopLeft":a+=r,o+=r;break;case"insideTopRight":a+=l-r,o+=r,u="right";break;case"insideBottomLeft":a+=r,o+=s-r,h="bottom";break;case"insideBottomRight":a+=l-r,o+=s-r,u="right",h="bottom";break}return t=t||{},t.x=a,t.y=o,t.textAlign=u,t.textVerticalAlign=h,t}function T(t,e,n){var i={textPosition:t,textDistance:n};return M({},i,e)}function A(t,e,n,i,r){if(!e)return"";var a=(t+"").split("\n");r=C(e,n,i,r);for(var o=0,s=a.length;o<s;o++)a[o]=D(a[o],r);return a.join("\n")}function C(t,e,n,i){i=s({},i),i.font=e;n=l(n,"...");i.maxIterations=l(i.maxIterations,2);var r=i.minChar=l(i.minChar,0);i.cnCharWidth=y("国",e);var a=i.ascCharWidth=y("a",e);i.placeholder=l(i.placeholder,"");for(var o=t=Math.max(0,t-1),c=0;c<r&&o>=a;c++)o-=a;var u=y(n,e);return u>o&&(n="",u=0),o=t-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=o,i.containerWidth=t,i}function D(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var a=y(t,i);if(a<=n)return t;for(var o=0;;o++){if(a<=r||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?I(t,r,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*r/a):0;t=t.substr(0,s),a=y(t,i)}return""===t&&(t=e.placeholder),t}function I(t,e,n,i){for(var r=0,a=0,o=t.length;a<o&&r<e;a++){var s=t.charCodeAt(a);r+=0<=s&&s<=127?n:i}return a}function k(t){return y("国",t)}function O(t,e){return v.measureText(t,e)}function P(t,e,n,i,r){null!=t&&(t+="");var a=l(i,k(e)),o=t?t.split("\n"):[],s=o.length*a,c=s,u=!0;if(n&&(c+=n[0]+n[2]),t&&r){u=!1;var h=r.outerHeight,d=r.outerWidth;if(null!=h&&c>h)t="",o=[];else if(null!=d)for(var f=C(d-(n?n[1]+n[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),p=0,g=o.length;p<g;p++)o[p]=D(o[p],f)}return{lines:o,height:s,outerHeight:c,lineHeight:a,canCacheByTextString:u}}function L(t,e){var n={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return n;var i,a=p.lastIndex=0;while(null!=(i=p.exec(t))){var o=i.index;o>a&&E(n,t.substring(a,o)),E(n,i[2],i[1]),a=p.lastIndex}a<t.length&&E(n,t.substring(a,t.length));var s=n.lines,u=0,h=0,d=[],f=e.textPadding,g=e.truncate,v=g&&g.outerWidth,m=g&&g.outerHeight;f&&(null!=v&&(v-=f[1]+f[3]),null!=m&&(m-=f[0]+f[2]));for(var x=0;x<s.length;x++){for(var _=s[x],b=0,w=0,S=0;S<_.tokens.length;S++){var M=_.tokens[S],T=M.styleName&&e.rich[M.styleName]||{},C=M.textPadding=T.textPadding,D=M.font=T.font||e.font,I=M.textHeight=l(T.textHeight,k(D));if(C&&(I+=C[0]+C[2]),M.height=I,M.lineHeight=c(T.textLineHeight,e.textLineHeight,I),M.textAlign=T&&T.textAlign||e.textAlign,M.textVerticalAlign=T&&T.textVerticalAlign||"middle",null!=m&&u+M.lineHeight>m)return{lines:[],width:0,height:0};M.textWidth=y(M.text,D);var O=T.textWidth,P=null==O||"auto"===O;if("string"===typeof O&&"%"===O.charAt(O.length-1))M.percentWidth=O,d.push(M),O=0;else{if(P){O=M.textWidth;var L=T.textBackgroundColor,R=L&&L.image;R&&(R=r.findExistImage(R),r.isImageReady(R)&&(O=Math.max(O,R.width*I/R.height)))}var N=C?C[1]+C[3]:0;O+=N;var z=null!=v?v-w:null;null!=z&&z<O&&(!P||z<N?(M.text="",M.textWidth=O=0):(M.text=A(M.text,z-N,D,g.ellipsis,{minChar:g.minChar}),M.textWidth=y(M.text,D),O=M.textWidth+N))}w+=M.width=O,T&&(b=Math.max(b,M.lineHeight))}_.width=w,_.lineHeight=b,u+=b,h=Math.max(h,w)}n.outerWidth=n.width=l(e.textWidth,h),n.outerHeight=n.height=l(e.textHeight,u),f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]);for(x=0;x<d.length;x++){M=d[x];var B=M.percentWidth;M.width=parseInt(B,10)/100*h}return n}function E(t,e,n){for(var i=""===e,r=e.split("\n"),a=t.lines,o=0;o<r.length;o++){var s=r[o],l={styleName:n,text:s,isLineHolder:!s&&!i};if(o)a.push({tokens:[l]});else{var c=(a[a.length-1]||(a[0]={tokens:[]})).tokens,u=c.length;1===u&&c[0].isLineHolder?c[0]=l:(s||!u||i)&&c.push(l)}}}function R(t){var e=(t.fontSize||t.fontFamily)&&[t.fontStyle,t.fontWeight,(t.fontSize||12)+"px",t.fontFamily||"sans-serif"].join(" ");return e&&u(e)||t.textFont||t.font}v.measureText=function(t,e){var n=o();return n.font=e||g,n.measureText(t)},e.DEFAULT_FONT=g,e.$override=m,e.getWidth=y,e.getBoundingRect=x,e.adjustTextX=w,e.adjustTextY=S,e.calculateTextPosition=M,e.adjustTextPositionOnRect=T,e.truncateText=A,e.getLineHeight=k,e.measureText=O,e.parsePlainText=P,e.parseRichText=L,e.makeFont=R},bef6:function(t,e,n){var i=n("900e"),r=n("d5cc"),a=Math.min,o=Math.max,s=Math.sin,l=Math.cos,c=2*Math.PI,u=i.create(),h=i.create(),d=i.create();function f(t,e,n){if(0!==t.length){var i,r=t[0],s=r[0],l=r[0],c=r[1],u=r[1];for(i=1;i<t.length;i++)r=t[i],s=a(s,r[0]),l=o(l,r[0]),c=a(c,r[1]),u=o(u,r[1]);e[0]=s,e[1]=c,n[0]=l,n[1]=u}}function p(t,e,n,i,r,s){r[0]=a(t,n),r[1]=a(e,i),s[0]=o(t,n),s[1]=o(e,i)}var g=[],v=[];function m(t,e,n,i,s,l,c,u,h,d){var f,p=r.cubicExtrema,m=r.cubicAt,y=p(t,n,s,c,g);for(h[0]=1/0,h[1]=1/0,d[0]=-1/0,d[1]=-1/0,f=0;f<y;f++){var x=m(t,n,s,c,g[f]);h[0]=a(x,h[0]),d[0]=o(x,d[0])}for(y=p(e,i,l,u,v),f=0;f<y;f++){var _=m(e,i,l,u,v[f]);h[1]=a(_,h[1]),d[1]=o(_,d[1])}h[0]=a(t,h[0]),d[0]=o(t,d[0]),h[0]=a(c,h[0]),d[0]=o(c,d[0]),h[1]=a(e,h[1]),d[1]=o(e,d[1]),h[1]=a(u,h[1]),d[1]=o(u,d[1])}function y(t,e,n,i,s,l,c,u){var h=r.quadraticExtremum,d=r.quadraticAt,f=o(a(h(t,n,s),1),0),p=o(a(h(e,i,l),1),0),g=d(t,n,s,f),v=d(e,i,l,p);c[0]=a(t,s,g),c[1]=a(e,l,v),u[0]=o(t,s,g),u[1]=o(e,l,v)}function x(t,e,n,r,a,o,f,p,g){var v=i.min,m=i.max,y=Math.abs(a-o);if(y%c<1e-4&&y>1e-4)return p[0]=t-n,p[1]=e-r,g[0]=t+n,void(g[1]=e+r);if(u[0]=l(a)*n+t,u[1]=s(a)*r+e,h[0]=l(o)*n+t,h[1]=s(o)*r+e,v(p,u,h),m(g,u,h),a%=c,a<0&&(a+=c),o%=c,o<0&&(o+=c),a>o&&!f?o+=c:a<o&&f&&(a+=c),f){var x=o;o=a,a=x}for(var _=0;_<o;_+=Math.PI/2)_>a&&(d[0]=l(_)*n+t,d[1]=s(_)*r+e,v(p,d,p),m(g,d,g))}e.fromPoints=f,e.fromLine=p,e.fromCubic=m,e.fromQuadratic=y,e.fromArc=x},bf70:function(t,e,n){var i=n("e83b"),r=n("f2e8"),a=r.parsePercent,o=n("1a01"),s=o.isDimensionStacked;function l(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function c(t,e){return e.dim+t.model.componentIndex}function u(t,e,n){var r={},a=h(i.filter(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),o=c(n,i),u=l(t),h=a[o][u],d=h.offset,f=h.width,p=n.getOtherAxis(i),g=t.coordinateSystem.cx,v=t.coordinateSystem.cy,m=t.get("barMinHeight")||0,y=t.get("barMinAngle")||0;r[u]=r[u]||[];for(var x=e.mapDimension(p.dim),_=e.mapDimension(i.dim),b=s(e,x),w="radius"!==i.dim||!t.get("roundCap",!0),S=p.getExtent()[0],M=0,T=e.count();M<T;M++){var A=e.get(x,M),C=e.get(_,M);if(!isNaN(A)){var D,I,k,O,P=A>=0?"p":"n",L=S;if(b&&(r[u][C]||(r[u][C]={p:S,n:S}),L=r[u][C][P]),"radius"===p.dim){var E=p.dataToRadius(A)-S,R=i.dataToAngle(C);Math.abs(E)<m&&(E=(E<0?-1:1)*m),D=L,I=L+E,k=R-d,O=k-f,b&&(r[u][C][P]=I)}else{var N=p.dataToAngle(A,w)-S,z=i.dataToRadius(C);Math.abs(N)<y&&(N=(N<0?-1:1)*y),D=z+d,I=D+f,k=L,O=L+N,b&&(r[u][C][P]=O)}e.setItemLayout(M,{cx:g,cy:v,r0:D,r:I,startAngle:-k*Math.PI/180,endAngle:-O*Math.PI/180})}}}}),this)}function h(t,e){var n={};i.each(t,(function(t,e){var i=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),s=c(r,o),u=o.getExtent(),h="category"===o.type?o.getBandWidth():Math.abs(u[1]-u[0])/i.count(),d=n[s]||{bandWidth:h,remainedWidth:h,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=d.stacks;n[s]=d;var p=l(t);f[p]||d.autoWidthCount++,f[p]=f[p]||{width:0,maxWidth:0};var g=a(t.get("barWidth"),h),v=a(t.get("barMaxWidth"),h),m=t.get("barGap"),y=t.get("barCategoryGap");g&&!f[p].width&&(g=Math.min(d.remainedWidth,g),f[p].width=g,d.remainedWidth-=g),v&&(f[p].maxWidth=v),null!=m&&(d.gap=m),null!=y&&(d.categoryGap=y)}));var r={};return i.each(n,(function(t,e){r[e]={};var n=t.stacks,o=t.bandWidth,s=a(t.categoryGap,o),l=a(t.gap,1),c=t.remainedWidth,u=t.autoWidthCount,h=(c-s)/(u+(u-1)*l);h=Math.max(h,0),i.each(n,(function(t,e){var n=t.maxWidth;n&&n<h&&(n=Math.min(n,c),t.width&&(n=Math.min(n,t.width)),c-=n,t.width=n,u--)})),h=(c-s)/(u+(u-1)*l),h=Math.max(h,0);var d,f=0;i.each(n,(function(t,e){t.width||(t.width=h),d=t,f+=t.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;i.each(n,(function(t,n){r[e][n]=r[e][n]||{offset:p,width:t.width},p+=t.width*(1+l)}))})),r}var d=u;t.exports=d},bfb4:function(t,e,n){var i=n("f17a"),r=i.retrieveRawValue,a=n("2731"),o=a.getTooltipMarker,s=a.formatTpl,l=n("e8ad"),c=l.getTooltipRenderMode,u=/\{@(.+?)\}/g,h={getDataParams:function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),a=n.getName(t),s=n.getRawDataItem(t),l=n.getItemVisual(t,"color"),u=n.getItemVisual(t,"borderColor"),h=this.ecModel.getComponent("tooltip"),d=h&&h.get("renderMode"),f=c(d),p=this.mainType,g="series"===p,v=n.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:a,dataIndex:r,data:s,dataType:e,value:i,color:l,borderColor:u,dimensionNames:v?v.dimensionNames:null,encode:v?v.encode:null,marker:o({color:l,renderMode:f}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,i,a){e=e||"normal";var o=this.getData(n),l=o.getItemModel(t),c=this.getDataParams(t,n);null!=i&&c.value instanceof Array&&(c.value=c.value[i]);var h=l.get("normal"===e?[a||"label","formatter"]:[e,a||"label","formatter"]);if("function"===typeof h)return c.status=e,c.dimensionIndex=i,h(c);if("string"===typeof h){var d=s(h,c);return d.replace(u,(function(e,n){var i=n.length;return"["===n.charAt(0)&&"]"===n.charAt(i-1)&&(n=+n.slice(1,i-1)),r(o,t,n)}))}},getRawValue:function(t,e){return r(this.getData(e),t)},formatTooltip:function(){}};t.exports=h},c0b9:function(t,e,n){var i=n("d7ad"),r=i.debugMode,a=function(){};1===r&&(a=console.error);var o=a;t.exports=o},c3dd:function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("e83b")),a=n("81f6"),o=n("2731"),s=o.formatTime,l=o.encodeHTML,c=o.addCommas,u=o.getTooltipMarker,h=n("e8ad"),d=n("b7b2"),f=n("64fe"),p=n("bfb4"),g=n("03f7"),v=g.getLayoutParams,m=g.mergeLayoutParam,y=n("a533"),x=y.createTask,_=n("28cf"),b=_.prepareSource,w=_.getSource,S=n("f17a"),M=S.retrieveRawValue,T=h.makeInner(),A=d.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=x({count:I,reset:k}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),b(this);var r=this.getInitialData(t,n);P(r,this),this.dataTask.context.data=r,T(this).dataBeforeProcessed=r,C(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?v(t):{},a=this.subType;d.hasClass(a)&&(a+="Series"),r.merge(t,e.getTheme().get(this.subType)),r.merge(t,this.getDefaultOption()),h.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&m(t,i,n)},mergeOption:function(t,e){t=r.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&m(this.option,t,n),b(this);var i=this.getInitialData(t,e);P(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,T(this).dataBeforeProcessed=i,C(this)},fillDataTextStyle:function(t){if(t&&!r.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&h.defaultEmphasis(t[n],"label",e)},getInitialData:function(){},appendData:function(t){var e=this.getRawData();e.appendData(t.data)},getData:function(t){var e=E(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return T(this).data},setData:function(t){var e=E(this);if(e){var n=e.context;n.data!==t&&e.modifyOutputEnd&&e.setOutputEnd(t.count()),n.outputData=t,e!==this.dataTask&&(n.data=t)}T(this).data=t},getSource:function(){return w(this)},getRawData:function(){return T(this).dataBeforeProcessed},getBaseAxis:function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},formatTooltip:function(t,e,n,i){var a=this;i=i||"html";var o="html"===i?"<br/>":"\n",d="richText"===i,f={},p=0;function g(n){var o=r.reduce(n,(function(t,e,n){var i=m.getDimensionInfo(n);return t|(i&&!1!==i.tooltip&&null!=i.displayName)}),0),h=[];function g(t,n){var r=m.getDimensionInfo(n);if(r&&!1!==r.otherDims.tooltip){var g=r.type,v="sub"+a.seriesIndex+"at"+p,y=u({color:w,type:"subItem",renderMode:i,markerId:v}),x="string"===typeof y?y:y.content,_=(o?x+l(r.displayName||"-")+": ":"")+l("ordinal"===g?t+"":"time"===g?e?"":s("yyyy/MM/dd hh:mm:ss",t):c(t));_&&h.push(_),d&&(f[v]=w,++p)}}y.length?r.each(y,(function(e){g(M(m,t,e),e)})):r.each(n,g);var v=o?d?"\n":"<br/>":"",x=v+h.join(v||", ");return{renderMode:i,content:x,style:f}}function v(t){return{renderMode:i,content:l(c(t)),style:f}}var m=this.getData(),y=m.mapDimension("defaultedTooltip",!0),x=y.length,_=this.getRawValue(t),b=r.isArray(_),w=m.getItemVisual(t,"color");r.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var S=x>1||b&&!x?g(_):v(x?M(m,t,y[0]):b?_[0]:_),T=S.content,A=a.seriesIndex+"at"+p,C=u({color:w,type:"item",renderMode:i,markerId:A});f[A]=w,++p;var D=m.getName(t),I=this.name;h.isNameSpecified(this)||(I=""),I=I?l(I)+(e?": ":o):"";var k="string"===typeof C?C:C.content,O=e?k+I+T:I+k+(D?l(D)+": "+T:T);return{html:O,markers:f}},isAnimationEnabled:function(){if(a.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel,r=f.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function C(t){var e=t.name;h.isNameSpecified(t)||(t.name=D(t)||e)}function D(t){var e=t.getRawData(),n=e.mapDimension("seriesName",!0),i=[];return r.each(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}function I(t){return t.model.getRawData().count()}function k(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),O}function O(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function P(t,e){r.each(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,r.curry(L,e))}))}function L(t){var e=E(t);e&&e.setOutputEnd(this.count())}function E(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}r.mixin(A,p),r.mixin(A,f);var R=A;t.exports=R},c51b:function(t,e){var n=function(){this.head=null,this.tail=null,this._len=0},i=n.prototype;i.insert=function(t){var e=new r(t);return this.insertEntry(e),e},i.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},i.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},i.len=function(){return this._len},i.clear=function(){this.head=this.tail=null,this._len=0};var r=function(t){this.value=t,this.next,this.prev},a=function(t){this._list=new n,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},o=a.prototype;o.put=function(t,e){var n=this._list,i=this._map,a=null;if(null==i[t]){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete i[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new r(e),s.key=t,n.insertEntry(s),i[t]=s}return a},o.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}};var s=a;t.exports=s},c529:function(t,e,n){var i=n("10d0"),r=n("0abc"),a=n("4b36"),o=n("e3aa"),s=n("2161"),l=n("204e"),c=n("1804"),u=n("94d9"),h=n("6b49"),d=n("41a4"),f=n("507a"),p=n("f746"),g=n("ac11"),v=n("23f1"),m=v.createFromString,y=n("e83b"),x=y.isString,_=y.extend,b=y.defaults,w=y.trim,S=y.each,M=/[\s,]+/;function T(t){if(x(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}9===t.nodeType&&(t=t.firstChild);while("svg"!==t.nodeName.toLowerCase()||1!==t.nodeType)t=t.nextSibling;return t}function A(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}A.prototype.parse=function(t,e){e=e||{};var n=T(t);if(!n)throw new Error("Illegal svg");var r=new i;this._root=r;var a=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||e.width),l=parseFloat(n.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(l)&&(l=null),L(n,r,null,!0);var c,u,h=n.firstChild;while(h)this._parseNode(h,r),h=h.nextSibling;if(a){var d=w(a).split(M);d.length>=4&&(c={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(c&&null!=o&&null!=l&&(u=H(c,o,l),!e.ignoreViewBox)){var f=r;r=new i,r.add(f),f.scale=u.scale.slice(),f.position=u.position.slice()}return e.ignoreRootClip||null==o||null==l||r.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:r,width:o,height:l,viewBoxRect:c,viewBoxTransform:u}},A.prototype._parseNode=function(t,e){var n,i=t.nodeName.toLowerCase();if("defs"===i?this._isDefine=!0:"text"===i&&(this._isText=!0),this._isDefine){var r=D[i];if(r){var a=r.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=a)}}else{r=C[i];r&&(n=r.call(this,t,e),e.add(n))}var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===i?this._isDefine=!1:"text"===i&&(this._isText=!1)},A.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,i=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var r=new a({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});k(e,r),L(t,r,this._defs);var o=r.style.fontSize;o&&o<9&&(r.style.fontSize=9,r.scale=r.scale||[1,1],r.scale[0]*=o/9,r.scale[1]*=o/9);var s=r.getBoundingRect();return this._textX+=s.width,e.add(r),r};var C={g:function(t,e){var n=new i;return k(e,n),L(t,n,this._defs),n},rect:function(t,e){var n=new s;return k(e,n),L(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),n},circle:function(t,e){var n=new o;return k(e,n),L(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new c;return k(e,n),L(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),n},ellipse:function(t,e){var n=new l;return k(e,n),L(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),n},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=O(n));var i=new h({shape:{points:n||[]}});return k(e,i),L(t,i,this._defs),i},polyline:function(t,e){var n=new u;k(e,n),L(t,n,this._defs);var i=t.getAttribute("points");i&&(i=O(i));var r=new d({shape:{points:i||[]}});return r},image:function(t,e){var n=new r;return k(e,n),L(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),n},text:function(t,e){var n=t.getAttribute("x")||0,r=t.getAttribute("y")||0,a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(a),this._textY=parseFloat(r)+parseFloat(o);var s=new i;return k(e,s),L(t,s,this._defs),s},tspan:function(t,e){var n=t.getAttribute("x"),r=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new i;return k(e,s),L(t,s,this._defs),this._textX+=a,this._textY+=o,s},path:function(t,e){var n=t.getAttribute("d")||"",i=m(n);return k(e,i),L(t,i,this._defs),i}},D={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),i=parseInt(t.getAttribute("x2")||10,10),r=parseInt(t.getAttribute("y2")||0,10),a=new f(e,n,i,r);return I(t,a),a},radialgradient:function(t){}};function I(t,e){var n=t.firstChild;while(n){if(1===n.nodeType){var i=n.getAttribute("offset");i=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var r=n.getAttribute("stop-color")||"#000000";e.addColorStop(i,r)}n=n.nextSibling}}function k(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),b(e.__inheritedStyle,t.__inheritedStyle))}function O(t){for(var e=w(t).split(M),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),a=parseFloat(e[i+1]);n.push([r,a])}return n}var P={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function L(t,e,n,i){var r=e.__inheritedStyle||{},a="text"===e.type;if(1===t.nodeType&&(z(t,e),_(r,F(t)),!i))for(var o in P)if(P.hasOwnProperty(o)){var s=t.getAttribute(o);null!=s&&(r[P[o]]=s)}var l=a?"textFill":"fill",c=a?"textStroke":"stroke";e.style=e.style||new p;var u=e.style;null!=r.fill&&u.set(l,R(r.fill,n)),null!=r.stroke&&u.set(c,R(r.stroke,n)),S(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){var e="lineWidth"===t&&a?"textStrokeWidth":t;null!=r[t]&&u.set(e,parseFloat(r[t]))})),r.textBaseline&&"auto"!==r.textBaseline||(r.textBaseline="alphabetic"),"alphabetic"===r.textBaseline&&(r.textBaseline="bottom"),"start"===r.textAlign&&(r.textAlign="left"),"end"===r.textAlign&&(r.textAlign="right"),S(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(t){null!=r[t]&&u.set(t,r[t])})),r.lineDash&&(e.style.lineDash=w(r.lineDash).split(M)),u[c]&&"none"!==u[c]&&(e[c]=!0),e.__inheritedStyle=r}var E=/url\(\s*#(.*?)\)/;function R(t,e){var n=e&&t&&t.match(E);if(n){var i=w(n[1]),r=e[i];return r}return t}var N=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function z(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=null,r=[];n.replace(N,(function(t,e,n){r.push(e,n)}));for(var a=r.length-1;a>0;a-=2){var o=r[a],s=r[a-1];switch(i=i||g.create(),s){case"translate":o=w(o).split(M),g.translate(i,i,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=w(o).split(M),g.scale(i,i,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=w(o).split(M),g.rotate(i,i,parseFloat(o[0]));break;case"skew":o=w(o).split(M),console.warn("Skew transform is not supported yet");break;case"matrix":o=w(o).split(M);i[0]=parseFloat(o[0]),i[1]=parseFloat(o[1]),i[2]=parseFloat(o[2]),i[3]=parseFloat(o[3]),i[4]=parseFloat(o[4]),i[5]=parseFloat(o[5]);break}}e.setLocalTransform(i)}}var B=/([^\s:;]+)\s*:\s*([^:;]+)/g;function F(t){var e=t.getAttribute("style"),n={};if(!e)return n;var i,r={};B.lastIndex=0;while(null!=(i=B.exec(e)))r[i[1]]=i[2];for(var a in P)P.hasOwnProperty(a)&&null!=r[a]&&(n[P[a]]=r[a]);return n}function H(t,e,n){var i=e/t.width,r=n/t.height,a=Math.min(i,r),o=[a,a],s=[-(t.x+t.width/2)*a+e/2,-(t.y+t.height/2)*a+n/2];return{scale:o,position:s}}function W(t,e){var n=new A;return n.parse(t,e)}e.parseXML=T,e.makeViewBoxTransform=H,e.parseSVG=W},c722:function(t,e,n){var i=n("e83b"),r=i.createHashMap,a=i.isObject,o=i.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}s.createByAxisModel=function(t){var e=t.option,n=e.data,i=n&&o(n,u);return new s({categories:i,needCollect:!i,deduplication:!1!==e.dedplication})};var l=s.prototype;function c(t){return t._map||(t._map=r(t.categories))}function u(t){return a(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return c(this).get(t)},l.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!==typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=c(this);return e=i.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e};var h=s;t.exports=h},c76c:function(t,e,n){"use strict";var i=n("e542"),r=n.n(i);r.a},c794:function(t,e,n){var i=n("e83b"),r=n("d02e"),a=n("a6c5"),o=n("bc29"),s=o.calculateTextPosition,l=r.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,a=e.height/2;t.moveTo(n,i-a),t.lineTo(n+r,i+a),t.lineTo(n-r,i+a),t.closePath()}}),c=r.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,a=e.height/2;t.moveTo(n,i-a),t.lineTo(n+r,i),t.lineTo(n,i+a),t.lineTo(n-r,i),t.closePath()}}),u=r.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,a=Math.max(r,e.height),o=r/2,s=o*o/(a-o),l=i-a+o+s,c=Math.asin(s/o),u=Math.cos(c)*o,h=Math.sin(c),d=Math.cos(c),f=.6*o,p=.7*o;t.moveTo(n-u,l+s),t.arc(n,l,o,Math.PI-c,2*Math.PI+c),t.bezierCurveTo(n+u-h*f,l+s+d*f,n,i-p,n,i),t.bezierCurveTo(n,i-p,n-u+h*f,l+s+d*f,n-u,l+s),t.closePath()}}),h=r.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,a=e.y,o=i/3*2;t.moveTo(r,a),t.lineTo(r+o,a+n),t.lineTo(r,a+n/4*3),t.lineTo(r-o,a+n),t.lineTo(r,a),t.closePath()}}),d={line:r.Line,rect:r.Rect,roundRect:r.Rect,square:r.Rect,circle:r.Circle,diamond:c,pin:u,arrow:h,triangle:l},f={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var a=Math.min(n,i);r.x=t,r.y=e,r.width=a,r.height=a},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},p={};i.each(d,(function(t,e){p[e]=new t}));var g=r.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=s(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.textPosition&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=p[i];r||(i="rect",r=p[i]),f[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function v(t,e){if("image"!==this.type){var n=this.style,i=this.shape;i&&"line"===i.symbolType?n.stroke=t:this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff"):(n.fill&&(n.fill=t),n.stroke&&(n.stroke=t)),this.dirty(!1)}}function m(t,e,n,i,o,s,l){var c,u=0===t.indexOf("empty");return u&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),c=0===t.indexOf("image://")?r.makeImage(t.slice(8),new a(e,n,i,o),l?"center":"cover"):0===t.indexOf("path://")?r.makePath(t.slice(7),{},new a(e,n,i,o),l?"center":"cover"):new g({shape:{symbolType:t,x:e,y:n,width:i,height:o}}),c.__isEmptyBrush=u,c.setColor=v,c.setColor(s),c}e.createSymbol=m},c9aa:function(t,e,n){var i=n("b9af"),r=n("27fa"),a=n("a1f8"),o="[object Null]",s="[object Undefined]",l=i?i.toStringTag:void 0;function c(t){return null==t?void 0===t?s:o:l&&l in Object(t)?r(t):a(t)}t.exports=c},ccff:function(t,e,n){var i=n("b8e3"),r=n("7937"),a=i.extendComponentView({type:"axisPointer",render:function(t,e,n){var i=e.getComponent("tooltip"),a=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";r.register("axisPointer",n,(function(t,e,n){"none"!==a&&("leave"===t||a.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){r.unregister(e.getZr(),"axisPointer"),a.superApply(this._model,"remove",arguments)},dispose:function(t,e){r.unregister("axisPointer",e),a.superApply(this._model,"dispose",arguments)}}),o=a;t.exports=o},cf4a:function(t,e,n){var i=n("94d9"),r=i.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n<e.length;n++)t=t||e[n].__dirtyPath;this.__dirtyPath=t,this.__dirty=this.__dirty||t},beforeBrush:function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},buildPath:function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},afterBrush:function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),i.prototype.getBoundingRect.call(this)}});t.exports=r},d02e:function(t,e,n){var i=n("e83b"),r=n("23f1"),a=n("a0ff"),o=n("ac11"),s=n("900e"),l=n("94d9"),c=n("258f"),u=n("0abc");e.Image=u;var h=n("10d0");e.Group=h;var d=n("4b36");e.Text=d;var f=n("e3aa");e.Circle=f;var p=n("9981");e.Sector=p;var g=n("44e5");e.Ring=g;var v=n("6b49");e.Polygon=v;var m=n("41a4");e.Polyline=m;var y=n("2161");e.Rect=y;var x=n("1804");e.Line=x;var _=n("6a1f");e.BezierCurve=_;var b=n("5521");e.Arc=b;var w=n("cf4a");e.CompoundPath=w;var S=n("507a");e.LinearGradient=S;var M=n("22cf");e.RadialGradient=M;var T=n("a6c5");e.BoundingRect=T;var A=n("3423");e.IncrementalDisplayable=A;var C=n("f881"),D=Math.max,I=Math.min,k={},O=1,P={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},L="emphasis",E="normal",R=1,N={},z={};function B(t){return l.extend(t)}function F(t,e){return r.extendFromString(t,e)}function H(t,e){z[t]=e}function W(t){if(z.hasOwnProperty(t))return z[t]}function V(t,e,n,i){var a=r.createFromString(t,e);return n&&("center"===i&&(n=j(n,a.getBoundingRect())),Y(a,n)),a}function G(t,e,n){var i=new u({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(j(e,r))}}});return i}function j(t,e){var n,i=e.width/e.height,r=t.height*i;r<=t.width?n=t.height:(r=t.width,n=r/i);var a=t.x+t.width/2,o=t.y+t.height/2;return{x:a-r/2,y:o-n/2,width:r,height:n}}var U=r.mergePath;function Y(t,e){if(t.applyTransform){var n=t.getBoundingRect(),i=n.calculateTransform(e);t.applyTransform(i)}}function q(t){return C.subPixelOptimizeLine(t.shape,t.shape,t.style),t}function X(t){return C.subPixelOptimizeRect(t.shape,t.shape,t.style),t}var $=C.subPixelOptimize;function Z(t){return null!=t&&"none"!==t}var K=i.createHashMap(),J=0;function Q(t){if("string"!==typeof t)return t;var e=K.get(t);return e||(e=a.lift(t,-.1),J<1e4&&(K.set(t,e),J++)),e}function tt(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var n=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var i=t.style;for(var r in e)null!=e[r]&&(n[r]=i[r]);n.fill=i.fill,n.stroke=i.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function et(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var n=t.__zr,i=t.useHoverLayer&&n&&"canvas"===n.painter.type;if(t.__highlighted=i?"layer":"plain",!(t.isGroup||!n&&t.useHoverLayer)){var r=t,a=t.style;i&&(r=n.addHover(t),a=r.style),Mt(a),i||tt(r),a.extendFrom(e),nt(a,e,"fill"),nt(a,e,"stroke"),St(a),i||(t.dirty(!1),t.z2+=O)}}}function nt(t,e,n){!Z(e[n])&&Z(t[n])&&(t[n]=Q(t[n]))}function it(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var n=t.style,i=t.__cachedNormalStl;i&&(Mt(n),t.setStyle(i),St(n));var r=t.__cachedNormalZ2;null!=r&&t.z2-r===O&&(t.z2=r)}}function rt(t,e,n){var i,r=E,a=E;t.__highlighted&&(r=L,i=!0),e(t,n),t.__highlighted&&(a=L,i=!0),t.isGroup&&t.traverse((function(t){!t.isGroup&&e(t,n)})),i&&t.__highDownOnUpdate&&t.__highDownOnUpdate(r,a)}function at(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,it(t),et(t))}function ot(t){!ut(this,t)&&!this.__highByOuter&&rt(this,et)}function st(t){!ut(this,t)&&!this.__highByOuter&&rt(this,it)}function lt(t){this.__highByOuter|=1<<(t||0),rt(this,et)}function ct(t){!(this.__highByOuter&=~(1<<(t||0)))&&rt(this,it)}function ut(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function ht(t,e){dt(t,!0),rt(t,at,e)}function dt(t,e){var n=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!n||t.__highDownDispatcher){var i=n?"off":"on";t[i]("mouseover",ot)[i]("mouseout",st),t[i]("emphasis",lt)[i]("normal",ct),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n}}function ft(t){return!(!t||!t.__highDownDispatcher)}function pt(t){var e=N[t];return null==e&&R<=32&&(e=N[t]=R++),e}function gt(t,e,n,r,a,o,s){a=a||k;var l,c=a.labelFetcher,u=a.labelDataIndex,h=a.labelDimIndex,d=n.getShallow("show"),f=r.getShallow("show");(d||f)&&(c&&(l=c.getFormattedLabel(u,"normal",null,h)),null==l&&(l=i.isFunction(a.defaultText)?a.defaultText(u,a):a.defaultText));var p=d?l:null,g=f?i.retrieve2(c?c.getFormattedLabel(u,"emphasis",null,h):null,l):null;null==p&&null==g||(mt(t,n,o,a),mt(e,r,s,a,!0)),t.text=p,e.text=g}function vt(t,e,n){var r=t.style;e&&(Mt(r),t.setStyle(e),St(r)),r=t.__hoverStl,n&&r&&(Mt(r),i.extend(r,n),St(r))}function mt(t,e,n,r,a){return xt(t,e,r,a),n&&i.extend(t,n),t}function yt(t,e,n){var i,r={isRectText:!0};!1===n?i=!0:r.autoColor=n,xt(t,e,r,i)}function xt(t,e,n,r){if(n=n||k,n.isRectText){var a;n.getTextPosition?a=n.getTextPosition(e,r):(a=e.getShallow("position")||(r?null:"inside"),"outside"===a&&(a="top")),t.textPosition=a,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=i.retrieve2(e.getShallow("distance"),r?null:5)}var s,l=e.ecModel,c=l&&l.option.textStyle,u=_t(e);if(u)for(var h in s={},u)if(u.hasOwnProperty(h)){var d=e.getModel(["rich",h]);bt(s[h]={},d,c,n,r)}return t.rich=s,bt(t,e,c,n,r,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),t}function _t(t){var e;while(t&&t!==t.ecModel){var n=(t.option||k).rich;if(n)for(var i in e=e||{},n)n.hasOwnProperty(i)&&(e[i]=1);t=t.parentModel}return e}function bt(t,e,n,r,a,o){n=!a&&n||k,t.textFill=wt(e.getShallow("color"),r)||n.color,t.textStroke=wt(e.getShallow("textBorderColor"),r)||n.textBorderColor,t.textStrokeWidth=i.retrieve2(e.getShallow("textBorderWidth"),n.textBorderWidth),a||(o&&(t.insideRollbackOpt=r,St(t)),null==t.textFill&&(t.textFill=r.autoColor)),t.fontStyle=e.getShallow("fontStyle")||n.fontStyle,t.fontWeight=e.getShallow("fontWeight")||n.fontWeight,t.fontSize=e.getShallow("fontSize")||n.fontSize,t.fontFamily=e.getShallow("fontFamily")||n.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&r.disableBox||(t.textBackgroundColor=wt(e.getShallow("backgroundColor"),r),t.textPadding=e.getShallow("padding"),t.textBorderColor=wt(e.getShallow("borderColor"),r),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||n.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||n.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||n.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function wt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function St(t){var e,n=t.textPosition,i=t.insideRollbackOpt;if(i&&null==t.textFill){var r=i.autoColor,a=i.isRectText,o=i.useInsideStyle,s=!1!==o&&(!0===o||a&&n&&"string"===typeof n&&n.indexOf("inside")>=0),l=!s&&null!=r;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=r)}t.insideRollback=e}function Mt(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function Tt(t,e){var n=e&&e.getModel("textStyle");return i.trim([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}function At(t,e,n,i,r,a){"function"===typeof r&&(a=r,r=null);var o=i&&i.isAnimationEnabled();if(o){var s=t?"Update":"",l=i.getShallow("animationDuration"+s),c=i.getShallow("animationEasing"+s),u=i.getShallow("animationDelay"+s);"function"===typeof u&&(u=u(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),"function"===typeof l&&(l=l(r)),l>0?e.animateTo(n,l,u||0,c,a,!!a):(e.stopAnimation(),e.attr(n),a&&a())}else e.stopAnimation(),e.attr(n),a&&a()}function Ct(t,e,n,i,r){At(!0,t,e,n,i,r)}function Dt(t,e,n,i,r){At(!1,t,e,n,i,r)}function It(t,e){var n=o.identity([]);while(t&&t!==e)o.mul(n,t.getLocalTransform(),n),t=t.parent;return n}function kt(t,e,n){return e&&!i.isArrayLike(e)&&(e=c.getLocalTransform(e)),n&&(e=o.invert([],e)),s.applyTransform([],t,e)}function Ot(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return a=kt(a,e,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function Pt(t,e,n,r){if(t&&e){var a=o(t);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=a[t.anid];if(e){var i=l(t);t.attr(l(e)),Ct(t,i,n,t.dataIndex)}}}))}function o(t){var e={};return t.traverse((function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)})),e}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=i.extend({},t.shape)),e}}function Lt(t,e){return i.map(t,(function(t){var n=t[0];n=D(n,e.x),n=I(n,e.x+e.width);var i=t[1];return i=D(i,e.y),i=I(i,e.y+e.height),[n,i]}))}function Et(t,e){var n=D(t.x,e.x),i=I(t.x+t.width,e.x+e.width),r=D(t.y,e.y),a=I(t.y+t.height,e.y+e.height);if(i>=n&&a>=r)return{x:n,y:r,width:i-n,height:a-r}}function Rt(t,e,n){e=i.extend({rectHover:!0},e);var r=e.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),i.defaults(r,n),new u(e)):V(t.replace("path://",""),e,n,"center")}function Nt(t,e,n,i,r){for(var a=0,o=r[r.length-1];a<r.length;a++){var s=r[a];if(zt(t,e,n,i,s[0],s[1],o[0],o[1]))return!0;o=s}}function zt(t,e,n,i,r,a,o,s){var l=n-t,c=i-e,u=o-r,h=s-a,d=Bt(u,h,l,c);if(Ft(d))return!1;var f=t-r,p=e-a,g=Bt(f,p,l,c)/d;if(g<0||g>1)return!1;var v=Bt(f,p,u,h)/d;return!(v<0||v>1)}function Bt(t,e,n,i){return t*i-n*e}function Ft(t){return t<=1e-6&&t>=-1e-6}H("circle",f),H("sector",p),H("ring",g),H("polygon",v),H("polyline",m),H("rect",y),H("line",x),H("bezierCurve",_),H("arc",b),e.Z2_EMPHASIS_LIFT=O,e.CACHED_LABEL_STYLE_PROPERTIES=P,e.extendShape=B,e.extendPath=F,e.registerShape=H,e.getShapeClass=W,e.makePath=V,e.makeImage=G,e.mergePath=U,e.resizePath=Y,e.subPixelOptimizeLine=q,e.subPixelOptimizeRect=X,e.subPixelOptimize=$,e.setElementHoverStyle=at,e.setHoverStyle=ht,e.setAsHighDownDispatcher=dt,e.isHighDownDispatcher=ft,e.getHighlightDigit=pt,e.setLabelStyle=gt,e.modifyLabelStyle=vt,e.setTextStyle=mt,e.setText=yt,e.getFont=Tt,e.updateProps=Ct,e.initProps=Dt,e.getTransform=It,e.applyTransform=kt,e.transformDirection=Ot,e.groupTransition=Pt,e.clipPointsByRect=Lt,e.clipRectByRect=Et,e.createIcon=Rt,e.linePolygonIntersect=Nt,e.lineLineIntersect=zt},d0db:function(t,e,n){var i=n("f2e8"),r=n("2731"),a=n("1d5c"),o=n("28fd"),s=i.round,l=a.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,a=[];if(!e)return a;var o=1e4;n[0]<i[0]&&(t?a.push(s(i[0]-e)):a.push(n[0]));var l=i[0];while(l<=i[1]){if(a.push(l),l=s(l+e,r),l===a[a.length-1])break;if(a.length>o)return[]}var c=a.length?a[a.length-1]:i[1];return n[1]>c&&(t?a.push(c+e):a.push(n[1])),a},getMinorTicks:function(t){for(var e=this.getTicks(!0),n=[],r=this.getExtent(),a=1;a<e.length;a++){var o=e[a],s=e[a-1],l=0,c=[],u=o-s,h=u/t;while(l<t-1){var d=i.round(s+(l+1)*h);d>r[0]&&d<r[1]&&c.push(d),l++}n.push(c)}return n},getLabel:function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=i.getPrecisionSafe(t)||0:"auto"===n&&(n=this._intervalPrecision),t=s(t,n,!0),r.addCommas(t)},niceTicks:function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var a=o.intervalScaleNiceTicks(i,t,e,n);this._intervalPrecision=a.intervalPrecision,this._interval=a.interval,this._niceExtent=a.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax?e[0]-=n/2:(e[1]+=n/2,e[0]-=n/2)}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=s(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=s(Math.ceil(e[1]/r)*r))}});l.create=function(){return new l};var c=l;t.exports=c},d152:function(t,e,n){var i=n("e83b"),r=n("8e3a");function a(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,i=0;i<n.length;i++)for(var r=n[i],a=r.geometry,s=a.coordinates,l=a.encodeOffsets,c=0;c<s.length;c++){var u=s[c];if("Polygon"===a.type)s[c]=o(u,l[c],e);else if("MultiPolygon"===a.type)for(var h=0;h<u.length;h++){var d=u[h];u[h]=o(d,l[c][h],e)}}return t.UTF8Encoding=!1,t}function o(t,e,n){for(var i=[],r=e[0],a=e[1],o=0;o<t.length;o+=2){var s=t.charCodeAt(o)-64,l=t.charCodeAt(o+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=a,r=s,a=l,i.push([s/n,l/n])}return i}function s(t){return a(t),i.map(i.filter(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var e=t.properties,n=t.geometry,a=n.coordinates,o=[];"Polygon"===n.type&&o.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===n.type&&i.each(a,(function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var s=new r(e.name,o,e.cp);return s.properties=e,s}))}t.exports=s},d4a2:function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("e83b")),a=n("fde2"),o=n("8944"),s=n("a5d3"),l=n("d02e"),c=n("e8ad"),u=n("7346"),h=u.Polyline,d=u.Polygon,f=n("9db0"),p=n("92d6"),g=p.prepareDataCoordInfo,v=p.getStackedOnPoint,m=n("afc5"),y=m.createGridClipPath,x=m.createPolarClipPath;function _(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++){var i=t[n],r=e[n];if(i[0]!==r[0]||i[1]!==r[1])return}return!0}}function b(t){return"number"===typeof t?t:t?.5:0}function w(t,e,n){if(!n.valueDim)return[];for(var i=[],r=0,a=e.count();r<a;r++)i.push(v(n,t,e,r));return i}function S(t,e,n){for(var i=e.getBaseAxis(),r="x"===i.dim||"radius"===i.dim?0:1,a=[],o=0;o<t.length-1;o++){var s=t[o+1],l=t[o];a.push(l);var c=[];switch(n){case"end":c[r]=s[r],c[1-r]=l[1-r],a.push(c);break;case"middle":var u=(l[r]+s[r])/2,h=[];c[r]=h[r]=u,c[1-r]=l[1-r],h[1-r]=s[1-r],a.push(c),a.push(h);break;default:c[r]=l[r],c[1-r]=s[1-r],a.push(c)}}return t[o]&&a.push(t[o]),a}function M(t,e){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()&&"cartesian2d"===e.type){for(var i,a,o=n.length-1;o>=0;o--){var s=n[o].dimension,c=t.dimensions[s],u=t.getDimensionInfo(c);if(i=u&&u.coordDim,"x"===i||"y"===i){a=n[o];break}}if(a){var h=e.getAxis(i),d=r.map(a.stops,(function(t){return{coord:h.toGlobalCoord(h.dataToCoord(t.value)),color:t.color}})),f=d.length,p=a.outerColors.slice();f&&d[0].coord>d[f-1].coord&&(d.reverse(),p.reverse());var g=10,v=d[0].coord-g,m=d[f-1].coord+g,y=m-v;if(y<.001)return"transparent";r.each(d,(function(t){t.offset=(t.coord-v)/y})),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var x=new l.LinearGradient(0,0,0,0,d,!0);return x[i]=v,x[i+"2"]=m,x}}}function T(t,e,n){var i=t.get("showAllSymbol"),a="auto"===i;if(!i||a){var o=n.getAxesByScale("ordinal")[0];if(o&&(!a||!A(o,e))){var s=e.mapDimension(o.dim),l={};return r.each(o.getViewLabels(),(function(t){l[t.tickValue]=1})),function(t){return!l.hasOwnProperty(e.get(s,t))}}}}function A(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),a=Math.max(1,Math.round(r/5)),s=0;s<r;s+=a)if(1.5*o.getSymbolSize(e,s)[t.isHorizontal()?1:0]>i)return!1;return!0}function C(t,e,n){if("cartesian2d"===t.type){var i=t.getBaseAxis().isHorizontal(),r=y(t,e,n);if(!n.get("clip",!0)){var a=r.shape,o=Math.max(a.width,a.height);i?(a.y-=o,a.height+=2*o):(a.x-=o,a.width+=2*o)}return r}return x(t,e,n)}var D=f.extend({type:"line",init:function(){var t=new l.Group,e=new a;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var i=t.coordinateSystem,a=this.group,o=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),c=o.mapArray(o.getItemLayout),u="polar"===i.type,h=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,v=this._lineGroup,m=t.get("animation"),y=!l.isEmpty(),x=l.get("origin"),A=g(i,o,x),D=w(i,o,A),I=t.get("showSymbol"),k=I&&!u&&T(t,o,i),O=this._data;O&&O.eachItemGraphicEl((function(t,e){t.__temp&&(a.remove(t),O.setItemGraphicEl(e,null))})),I||d.remove(),a.add(v);var P,L=!u&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(P=i.getArea(),null!=P.width?(P.x-=.1,P.y-=.1,P.width+=.2,P.height+=.2):P.r0&&(P.r0-=.5,P.r1+=.5)),this._clipShapeForSymbol=P,f&&h.type===i.type&&L===this._step?(y&&!p?p=this._newPolygon(c,D,i,m):p&&!y&&(v.remove(p),p=this._polygon=null),v.setClipPath(C(i,!1,t)),I&&d.updateData(o,{isIgnore:k,clipShape:P}),o.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),_(this._stackedOnPoints,D)&&_(this._points,c)||(m?this._updateAnimation(o,D,i,n,L,x):(L&&(c=S(c,i,L),D=S(D,i,L)),f.setShape({points:c}),p&&p.setShape({points:c,stackedOnPoints:D})))):(I&&d.updateData(o,{isIgnore:k,clipShape:P}),L&&(c=S(c,i,L),D=S(D,i,L)),f=this._newPolyline(c,i,m),y&&(p=this._newPolygon(c,D,i,m)),v.setClipPath(C(i,!0,t)));var E=M(o,i)||o.getVisual("color");f.useStyle(r.defaults(s.getLineStyle(),{fill:"none",stroke:E,lineJoin:"bevel"}));var R=t.get("smooth");if(R=b(t.get("smooth")),f.setShape({smooth:R,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var N=o.getCalculationInfo("stackedOnSeries"),z=0;p.useStyle(r.defaults(l.getAreaStyle(),{fill:E,opacity:.7,lineJoin:"bevel"})),N&&(z=b(N.get("smooth"))),p.setShape({smooth:R,stackedOnSmooth:z,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=o,this._coordSys=i,this._stackedOnPoints=D,this._points=c,this._step=L,this._valueOrigin=x},dispose:function(){},highlight:function(t,e,n,i){var r=t.getData(),a=c.queryDataIndex(r,i);if(!(a instanceof Array)&&null!=a&&a>=0){var s=r.getItemGraphicEl(a);if(!s){var l=r.getItemLayout(a);if(!l)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l[0],l[1]))return;s=new o(r,a),s.position=l,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,r.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else f.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var r=t.getData(),a=c.queryDataIndex(r,i);if(null!=a&&a>=0){var o=r.getItemGraphicEl(a);o&&(o.__temp?(r.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else f.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new d({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,i,r,a){var o=this._polyline,c=this._polygon,u=t.hostModel,h=s(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,a),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;r&&(d=S(h.current,n,r),f=S(h.stackedOnCurrent,n,r),p=S(h.next,n,r),g=S(h.stackedOnNext,n,r)),o.shape.__points=h.current,o.shape.points=d,l.updateProps(o,{shape:{points:p}},u),c&&(c.setShape({points:d,stackedOnPoints:f}),l.updateProps(c,{shape:{points:p,stackedOnPoints:g}},u));for(var v=[],m=h.status,y=0;y<m.length;y++){var x=m[y].cmd;if("="===x){var _=t.getItemGraphicEl(m[y].idx1);_&&v.push({el:_,ptIdx:y})}}o.animators&&o.animators.length&&o.animators[0].during((function(){for(var t=0;t<v.length;t++){var e=v[t].el;e.attr("position",o.shape.__points[v[t].ptIdx])}}))},remove:function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});t.exports=D},d5a3:function(t,e){var n={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},i=9;e.ContextCachedBy=n,e.WILL_BE_RESTORED=i},d5cc:function(t,e,n){var i=n("900e"),r=i.create,a=i.distSquare,o=Math.pow,s=Math.sqrt,l=1e-8,c=1e-4,u=s(3),h=1/3,d=r(),f=r(),p=r();function g(t){return t>-l&&t<l}function v(t){return t>l||t<-l}function m(t,e,n,i,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*i+3*a*n)}function y(t,e,n,i,r){var a=1-r;return 3*(((e-t)*a+2*(n-e)*r)*a+(i-n)*r*r)}function x(t,e,n,i,r,a){var l=i+3*(e-n)-t,c=3*(n-2*e+t),d=3*(e-t),f=t-r,p=c*c-3*l*d,v=c*d-9*l*f,m=d*d-3*c*f,y=0;if(g(p)&&g(v))if(g(c))a[0]=0;else{var x=-d/c;x>=0&&x<=1&&(a[y++]=x)}else{var _=v*v-4*p*m;if(g(_)){var b=v/p,w=(x=-c/l+b,-b/2);x>=0&&x<=1&&(a[y++]=x),w>=0&&w<=1&&(a[y++]=w)}else if(_>0){var S=s(_),M=p*c+1.5*l*(-v+S),T=p*c+1.5*l*(-v-S);M=M<0?-o(-M,h):o(M,h),T=T<0?-o(-T,h):o(T,h);x=(-c-(M+T))/(3*l);x>=0&&x<=1&&(a[y++]=x)}else{var A=(2*p*c-3*l*v)/(2*s(p*p*p)),C=Math.acos(A)/3,D=s(p),I=Math.cos(C),k=(x=(-c-2*D*I)/(3*l),w=(-c+D*(I+u*Math.sin(C)))/(3*l),(-c+D*(I-u*Math.sin(C)))/(3*l));x>=0&&x<=1&&(a[y++]=x),w>=0&&w<=1&&(a[y++]=w),k>=0&&k<=1&&(a[y++]=k)}}return y}function _(t,e,n,i,r){var a=6*n-12*e+6*t,o=9*e+3*i-3*t-9*n,l=3*e-3*t,c=0;if(g(o)){if(v(a)){var u=-l/a;u>=0&&u<=1&&(r[c++]=u)}}else{var h=a*a-4*o*l;if(g(h))r[0]=-a/(2*o);else if(h>0){var d=s(h),f=(u=(-a+d)/(2*o),(-a-d)/(2*o));u>=0&&u<=1&&(r[c++]=u),f>=0&&f<=1&&(r[c++]=f)}}return c}function b(t,e,n,i,r,a){var o=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,c=(s-o)*r+o,u=(l-s)*r+s,h=(u-c)*r+c;a[0]=t,a[1]=o,a[2]=c,a[3]=h,a[4]=h,a[5]=u,a[6]=l,a[7]=i}function w(t,e,n,i,r,o,l,u,h,g,v){var y,x,_,b,w,S=.005,M=1/0;d[0]=h,d[1]=g;for(var T=0;T<1;T+=.05)f[0]=m(t,n,r,l,T),f[1]=m(e,i,o,u,T),b=a(d,f),b<M&&(y=T,M=b);M=1/0;for(var A=0;A<32;A++){if(S<c)break;x=y-S,_=y+S,f[0]=m(t,n,r,l,x),f[1]=m(e,i,o,u,x),b=a(f,d),x>=0&&b<M?(y=x,M=b):(p[0]=m(t,n,r,l,_),p[1]=m(e,i,o,u,_),w=a(p,d),_<=1&&w<M?(y=_,M=w):S*=.5)}return v&&(v[0]=m(t,n,r,l,y),v[1]=m(e,i,o,u,y)),s(M)}function S(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function M(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function T(t,e,n,i,r){var a=t-2*e+n,o=2*(e-t),l=t-i,c=0;if(g(a)){if(v(o)){var u=-l/o;u>=0&&u<=1&&(r[c++]=u)}}else{var h=o*o-4*a*l;if(g(h)){u=-o/(2*a);u>=0&&u<=1&&(r[c++]=u)}else if(h>0){var d=s(h),f=(u=(-o+d)/(2*a),(-o-d)/(2*a));u>=0&&u<=1&&(r[c++]=u),f>=0&&f<=1&&(r[c++]=f)}}return c}function A(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function C(t,e,n,i,r){var a=(e-t)*i+t,o=(n-e)*i+e,s=(o-a)*i+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=n}function D(t,e,n,i,r,o,l,u,h){var g,v=.005,m=1/0;d[0]=l,d[1]=u;for(var y=0;y<1;y+=.05){f[0]=S(t,n,r,y),f[1]=S(e,i,o,y);var x=a(d,f);x<m&&(g=y,m=x)}m=1/0;for(var _=0;_<32;_++){if(v<c)break;var b=g-v,w=g+v;f[0]=S(t,n,r,b),f[1]=S(e,i,o,b);x=a(f,d);if(b>=0&&x<m)g=b,m=x;else{p[0]=S(t,n,r,w),p[1]=S(e,i,o,w);var M=a(p,d);w<=1&&M<m?(g=w,m=M):v*=.5}}return h&&(h[0]=S(t,n,r,g),h[1]=S(e,i,o,g)),s(m)}e.cubicAt=m,e.cubicDerivativeAt=y,e.cubicRootAt=x,e.cubicExtrema=_,e.cubicSubdivide=b,e.cubicProjectPoint=w,e.quadraticAt=S,e.quadraticDerivativeAt=M,e.quadraticRootAt=T,e.quadraticExtremum=A,e.quadraticSubdivide=C,e.quadraticProjectPoint=D},d630:function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("b8e3")),a=n("1e39"),o=r.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,i){this.axisPointerClass&&a.fixValue(t),o.superApply(this,"render",arguments),s(this,t,e,n,i,!0)},updateAxisPointer:function(t,e,n,i,r){s(this,t,e,n,i,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),o.superApply(this,"remove",arguments)},dispose:function(t,e){l(this,e),o.superApply(this,"dispose",arguments)}});function s(t,e,n,i,r,s){var c=o.getAxisPointerClass(t.axisPointerClass);if(c){var u=a.getAxisPointerModel(e);u?(t._axisPointer||(t._axisPointer=new c)).render(e,u,i,s):l(t,i)}}function l(t,e,n){var i=t._axisPointer;i&&i.dispose(e,n),t._axisPointer=null}var c=[];o.registerAxisPointerClass=function(t,e){c[t]=e},o.getAxisPointerClass=function(t){return t&&c[t]};var u=o;t.exports=u},d68a:function(t,e,n){var i=n("e83b"),r={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,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,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)"]}}},a={};a.categoryAxis=i.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},r),a.valueAxis=i.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},r),a.timeAxis=i.defaults({scale:!0,min:"dataMin",max:"dataMax"},a.valueAxis),a.logAxis=i.defaults({scale:!0,logBase:10},a.valueAxis);var o=a;t.exports=o},d71e:function(t,e,n){var i=n("e83b"),r=i.each,a=i.isArray,o=i.isObject,s=n("e0e3"),l=n("e8ad"),c=l.normalizeToArray;function u(t,e){e=e.split(",");for(var n=t,i=0;i<e.length;i++)if(n=n&&n[e[i]],null==n)break;return n}function h(t,e,n,i){e=e.split(",");for(var r,a=t,o=0;o<e.length-1;o++)r=e[o],null==a[r]&&(a[r]={}),a=a[r];(i||null==a[e[o]])&&(a[e[o]]=n)}function d(t){r(f,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var f=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],p=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function g(t,e){s(t,e),t.series=c(t.series),r(t.series,(function(t){if(o(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e)null!=t.clockWise&&(t.clockwise=t.clockWise);else if("gauge"===e){var n=u(t,"pointer.color");null!=n&&h(t,"itemStyle.color",n)}d(t)}})),t.dataRange&&(t.visualMap=t.dataRange),r(p,(function(e){var n=t[e];n&&(a(n)||(n=[n]),r(n,(function(t){d(t)})))}))}t.exports=g},d7ad:function(t,e){var n=1;"undefined"!==typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var i=0,r=n;e.debugMode=i,e.devicePixelRatio=r},d83c:function(t,e,n){var i=n("e83b"),r=n("5f2f"),a=n("e311"),o=n("72b8"),s=o.SOURCE_FORMAT_ORIGINAL,l=n("dacd"),c=l.getDimensionTypeByAxis,u=n("e8ad"),h=u.getDataItemValue,d=n("8394"),f=n("7cb4"),p=f.getCoordSysInfoBySeries,g=n("e83c"),v=n("1a01"),m=v.enableDataStack,y=n("28cf"),x=y.makeSeriesEncodeForAxisCoordSys;function _(t,e,n){n=n||{},g.isInstance(t)||(t=g.seriesDataToSource(t));var o,s=e.get("coordinateSystem"),l=d.get(s),u=p(e);u&&(o=i.map(u.coordSysDims,(function(t){var e={name:t},n=u.axisMap.get(t);if(n){var i=n.get("type");e.type=c(i)}return e}))),o||(o=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var h,f,v=a(t,{coordDimensions:o,generateCoord:n.generateCoord,encodeDefaulter:n.useEncodeDefaulter?i.curry(x,o,e):null});u&&i.each(v,(function(t,e){var n=t.coordDim,i=u.categoryAxisMap.get(n);i&&(null==h&&(h=e),t.ordinalMeta=i.getOrdinalMeta()),null!=t.otherDims.itemName&&(f=!0)})),f||null==h||(v[h].otherDims.itemName=0);var y=m(e,v),_=new r(v,e);_.setCalculationInfo(y);var w=null!=h&&b(t)?function(t,e,n,i){return i===h?n:this.defaultDimValueGetter(t,e,n,i)}:null;return _.hasItemOption=!1,_.initData(t,null,w),_}function b(t){if(t.sourceFormat===s){var e=w(t.data||[]);return null!=e&&!i.isArray(h(e))}}function w(t){var e=0;while(e<t.length&&null==t[e])e++;return t[e]}var S=_;t.exports=S},dacd:function(t,e,n){var i=n("e83b"),r=i.each,a=i.createHashMap,o=(i.assert,n("f993")),s=(o.__DEV__,a(["tooltip","label","itemName","itemId","seriesName"]));function l(t){var e={},n=e.encode={},i=a(),o=[],l=[],u=e.userOutput={dimensionNames:t.dimensions.slice(),encode:{}};r(t.dimensions,(function(e){var r=t.getDimensionInfo(e),a=r.coordDim;if(a){var d=r.coordDimIndex;c(n,a)[d]=e,r.isExtraCoord||(i.set(a,1),h(r.type)&&(o[0]=e),c(u.encode,a)[d]=r.index),r.defaultTooltip&&l.push(e)}s.each((function(t,e){var i=c(n,e),a=r.otherDims[e];null!=a&&!1!==a&&(i[a]=r.name)}))}));var d=[],f={};i.each((function(t,e){var i=n[e];f[e]=i[0],d=d.concat(i)})),e.dataDimsOnCoord=d,e.encodeFirstDimNotExtra=f;var p=n.label;p&&p.length&&(o=p.slice());var g=n.tooltip;return g&&g.length?l=g.slice():l.length||(l=o.slice()),n.defaultedLabel=o,n.defaultedTooltip=l,e}function c(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function u(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function h(t){return!("ordinal"===t||"time"===t)}e.OTHER_DIMENSIONS=s,e.summarizeDimensions=l,e.getDimensionTypeByAxis=u},db05:function(t,e,n){var i=n("2731"),r=n("b654"),a=n("d02e"),o=n("9739"),s=n("ac11"),l=n("210e"),c=n("d630"),u=r.extend({makeElOption:function(t,e,n,r,a){var s=n.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l,c=s.polar,u=c.getOtherAxis(s),f=u.getExtent();l=s["dataTo"+i.capitalFirst(s.dim)](e);var p=r.get("type");if(p&&"none"!==p){var g=o.buildElStyle(r),v=d[p](s,c,l,f,g);v.style=g,t.graphicKey=v.type,t.pointer=v}var m=r.get("label.margin"),y=h(e,n,r,c,m);o.buildLabelElOption(t,n,r,a,y)}});function h(t,e,n,i,r){var o=e.axis,c=o.dataToCoord(t),u=i.getAngleAxis().getExtent()[0];u=u/180*Math.PI;var h,d,f,p=i.getRadiusAxis().getExtent();if("radius"===o.dim){var g=s.create();s.rotate(g,g,u),s.translate(g,g,[i.cx,i.cy]),h=a.applyTransform([c,-r],g);var v=e.getModel("axisLabel").get("rotate")||0,m=l.innerTextLayout(u,v*Math.PI/180,-1);d=m.textAlign,f=m.textVerticalAlign}else{var y=p[1];h=i.coordToPoint([y+r,c]);var x=i.cx,_=i.cy;d=Math.abs(h[0]-x)/y<.3?"center":h[0]>x?"left":"right",f=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:f}}var d={line:function(t,e,n,i,r){return"angle"===t.dim?{type:"Line",shape:o.makeLineShape(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i,r){var a=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,i[0],i[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,n-a/2,n+a/2,0,2*Math.PI)}}};c.registerAxisPointerClass("PolarAxisPointer",u);var f=u;t.exports=f},dbbd:function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},dd31:function(t,e,n){var i=n("b8e3"),r=n("e83b"),a=n("bf70");n("1a8a"),n("fda0"),n("3aca"),n("0ad5"),n("db05"),i.registerLayout(r.curry(a,"bar")),i.extendComponentView({type:"polar"})},dd6e:function(t,e,n){var i=n("f17a"),r=i.retrieveRawValue;function a(t,e){var n=t.mapDimension("defaultedLabel",!0),i=n.length;if(1===i)return r(t,e,n[0]);if(i){for(var a=[],o=0;o<n.length;o++){var s=r(t,e,n[o]);a.push(s)}return a.join(" ")}}e.getDefaultLabel=a},df81:function(t,e,n){var i=n("e83b"),r=n("bc29"),a=n("4341"),o=n("e8ad"),s=o.makeInner,l=s();function c(t,e){e=e||[0,360],a.call(this,"angle",t,e),this.type="category"}c.prototype={constructor:c,pointToData:function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},dataToAngle:a.prototype.dataToCoord,angleToData:a.prototype.coordToData,calculateCategoryInterval:function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),a=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],s=t.dataToCoord(o+1)-t.dataToCoord(o),c=Math.abs(s),u=r.getBoundingRect(o,e.getFont(),"center","top"),h=Math.max(u.height,7),d=h/c;isNaN(d)&&(d=1/0);var f=Math.max(0,Math.floor(d)),p=l(t.model),g=p.lastAutoInterval,v=p.lastTickCount;return null!=g&&null!=v&&Math.abs(g-f)<=1&&Math.abs(v-a)<=1&&g>f?f=g:(p.lastTickCount=a,p.lastAutoInterval=f),f}},i.inherits(c,a);var u=c;t.exports=u},e0e3:function(t,e,n){var i=n("e83b"),r=n("e8ad"),a=i.each,o=i.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=s.length;n<r;n++){var a=s[n],o=e.normal,l=e.emphasis;o&&o[a]&&(t[a]=t[a]||{},t[a].normal?i.merge(t[a].normal,o[a]):t[a].normal=o[a],o[a]=null),l&&l[a]&&(t[a]=t[a]||{},t[a].emphasis?i.merge(t[a].emphasis,l[a]):t[a].emphasis=l[a],l[a]=null)}}function c(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var r=t[e].normal,a=t[e].emphasis;r&&(n?(t[e].normal=t[e].emphasis=null,i.defaults(t[e],r)):t[e]=r),a&&(t.emphasis=t.emphasis||{},t.emphasis[e]=a)}}function u(t){c(t,"itemStyle"),c(t,"lineStyle"),c(t,"areaStyle"),c(t,"label"),c(t,"labelLine"),c(t,"upperLabel"),c(t,"edgeLabel")}function h(t,e){var n=o(t)&&t[e],i=o(n)&&n.textStyle;if(i)for(var a=0,s=r.TEXT_STYLE_OPTIONS.length;a<s;a++){e=r.TEXT_STYLE_OPTIONS[a];i.hasOwnProperty(e)&&(n[e]=i[e])}}function d(t){t&&(u(t),h(t,"label"),t.emphasis&&h(t.emphasis,"label"))}function f(t){if(o(t)){l(t),u(t),h(t,"label"),h(t,"upperLabel"),h(t,"edgeLabel"),t.emphasis&&(h(t.emphasis,"label"),h(t.emphasis,"upperLabel"),h(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(l(e),d(e));var n=t.markLine;n&&(l(n),d(n));var r=t.markArea;r&&d(r);var a=t.data;if("graph"===t.type){a=a||t.nodes;var s=t.links||t.edges;if(s&&!i.isTypedArray(s))for(var f=0;f<s.length;f++)d(s[f]);i.each(t.categories,(function(t){u(t)}))}if(a&&!i.isTypedArray(a))for(f=0;f<a.length;f++)d(a[f]);e=t.markPoint;if(e&&e.data){var p=e.data;for(f=0;f<p.length;f++)d(p[f])}n=t.markLine;if(n&&n.data){var g=n.data;for(f=0;f<g.length;f++)i.isArray(g[f])?(d(g[f][0]),d(g[f][1])):d(g[f])}"gauge"===t.type?(h(t,"axisLabel"),h(t,"title"),h(t,"detail")):"treemap"===t.type?(c(t.breadcrumb,"itemStyle"),i.each(t.levels,(function(t){u(t)}))):"tree"===t.type&&u(t.leaves)}}function p(t){return i.isArray(t)?t:t?[t]:[]}function g(t){return(i.isArray(t)?t[0]:t)||{}}function v(t,e){a(p(t.series),(function(t){o(t)&&f(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),a(n,(function(e){a(p(t[e]),(function(t){t&&(h(t,"axisLabel"),h(t.axisPointer,"label"))}))})),a(p(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;h(e,"axisLabel"),h(e&&e.axisPointer,"label")})),a(p(t.calendar),(function(t){c(t,"itemStyle"),h(t,"dayLabel"),h(t,"monthLabel"),h(t,"yearLabel")})),a(p(t.radar),(function(t){h(t,"name")})),a(p(t.geo),(function(t){o(t)&&(d(t),a(p(t.regions),(function(t){d(t)})))})),a(p(t.timeline),(function(t){d(t),c(t,"label"),c(t,"itemStyle"),c(t,"controlStyle",!0);var e=t.data;i.isArray(e)&&i.each(e,(function(t){i.isObject(t)&&(c(t,"label"),c(t,"itemStyle"))}))})),a(p(t.toolbox),(function(t){c(t,"iconStyle"),a(t.feature,(function(t){c(t,"iconStyle")}))})),h(g(t.axisPointer),"label"),h(g(t.tooltip).axisPointer,"label")}t.exports=v},e0f2:function(t,e,n){var i=n("e83b");function r(t){for(var e=0;e<t.length;e++)t[e][1]||(t[e][1]=t[e][0]);return function(e,n,r){for(var a={},o=0;o<t.length;o++){var s=t[o][1];if(!(n&&i.indexOf(n,s)>=0||r&&i.indexOf(r,s)<0)){var l=e.getShallow(s);null!=l&&(a[t[o][0]]=l)}}return a}}t.exports=r},e204:function(t,e,n){"use strict";var i=n("e46b"),r=n("013f")(6),a="findIndex",o=!0;a in[]&&Array(1)[a]((function(){o=!1})),i(i.P+i.F*o,"Array",{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("0e8b")(a)},e311:function(t,e,n){var i=n("32dd");function r(t,e){return e=e||{},i(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,encodeDefaulter:e.encodeDefaulter,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}t.exports=r},e3aa:function(t,e,n){var i=n("94d9"),r=i.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=r},e542:function(t,e,n){},e697:function(t,e,n){"use strict";var i=n("e46b"),r=n("013f")(5),a="find",o=!0;a in[]&&Array(1)[a]((function(){o=!1})),i(i.P+i.F*o,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("0e8b")(a)},e6b2:function(t,e,n){var i=n("5af1"),r=i.normalizeRadian,a=2*Math.PI;function o(t,e,n,i,o,s,l,c,u){if(0===l)return!1;var h=l;c-=t,u-=e;var d=Math.sqrt(c*c+u*u);if(d-h>n||d+h<n)return!1;if(Math.abs(i-o)%a<1e-4)return!0;if(s){var f=i;i=r(o),o=r(f)}else i=r(i),o=r(o);i>o&&(o+=a);var p=Math.atan2(u,c);return p<0&&(p+=a),p>=i&&p<=o||p+a>=i&&p+a<=o}e.containStroke=o},e83b:function(t,e){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},i={"[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},r=Object.prototype.toString,a=Array.prototype,o=a.forEach,s=a.filter,l=a.slice,c=a.map,u=a.reduce,h={};function d(t,e){"createCanvas"===t&&(y=null),h[t]=e}function f(t){if(null==t||"object"!==typeof t)return t;var e=t,a=r.call(t);if("[object Array]"===a){if(!$(t)){e=[];for(var o=0,s=t.length;o<s;o++)e[o]=f(t[o])}}else if(i[a]){if(!$(t)){var l=t.constructor;if(t.constructor.from)e=l.from(t);else{e=new l(t.length);for(o=0,s=t.length;o<s;o++)e[o]=f(t[o])}}}else if(!n[a]&&!$(t)&&!B(t))for(var c in e={},t)t.hasOwnProperty(c)&&(e[c]=f(t[c]));return e}function p(t,e,n){if(!R(e)||!R(t))return n?f(e):t;for(var i in e)if(e.hasOwnProperty(i)){var r=t[i],a=e[i];!R(a)||!R(r)||P(a)||P(r)||B(a)||B(r)||N(a)||N(r)||$(a)||$(r)?!n&&i in t||(t[i]=f(e[i],!0)):p(r,a,n)}return t}function g(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=p(n,t[i],e);return n}function v(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function m(t,e,n){for(var i in e)e.hasOwnProperty(i)&&(n?null!=e[i]:null==t[i])&&(t[i]=e[i]);return t}var y,x=function(){return h.createCanvas()};function _(){return y||(y=x().getContext("2d")),y}function b(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function w(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function S(t,e,n){t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,m(t,e,n)}function M(t){if(t)return"string"!==typeof t&&"number"===typeof t.length}function T(t,e,n){if(t&&e)if(t.forEach&&t.forEach===o)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(n,t[a],a,t)}function A(t,e,n){if(t&&e){if(t.map&&t.map===c)return t.map(e,n);for(var i=[],r=0,a=t.length;r<a;r++)i.push(e.call(n,t[r],r,t));return i}}function C(t,e,n,i){if(t&&e){if(t.reduce&&t.reduce===u)return t.reduce(e,n,i);for(var r=0,a=t.length;r<a;r++)n=e.call(i,n,t[r],r,t);return n}}function D(t,e,n){if(t&&e){if(t.filter&&t.filter===s)return t.filter(e,n);for(var i=[],r=0,a=t.length;r<a;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}}function I(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}function k(t,e){var n=l.call(arguments,2);return function(){return t.apply(e,n.concat(l.call(arguments)))}}function O(t){var e=l.call(arguments,1);return function(){return t.apply(this,e.concat(l.call(arguments)))}}function P(t){return"[object Array]"===r.call(t)}function L(t){return"function"===typeof t}function E(t){return"[object String]"===r.call(t)}function R(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function N(t){return!!n[r.call(t)]}function z(t){return!!i[r.call(t)]}function B(t){return"object"===typeof t&&"number"===typeof t.nodeType&&"object"===typeof t.ownerDocument}function F(t){return t!==t}function H(t){for(var e=0,n=arguments.length;e<n;e++)if(null!=arguments[e])return arguments[e]}function W(t,e){return null!=t?t:e}function V(t,e,n){return null!=t?t:null!=e?e:n}function G(){return Function.call.apply(l,arguments)}function j(t){if("number"===typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function U(t,e){if(!t)throw new Error(e)}function Y(t){return null==t?null:"function"===typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}h.createCanvas=function(){return document.createElement("canvas")};var q="__ec_primitive__";function X(t){t[q]=!0}function $(t){return t[q]}function Z(t){var e=P(t);this.data={};var n=this;function i(t,i){e?n.set(t,i):n.set(i,t)}t instanceof Z?t.each(i):t&&T(t,i)}function K(t){return new Z(t)}function J(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function Q(){}Z.prototype={constructor:Z,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){for(var n in void 0!==e&&(t=k(t,e)),this.data)this.data.hasOwnProperty(n)&&t(this.data[n],n)},removeKey:function(t){delete this.data[t]}},e.$override=d,e.clone=f,e.merge=p,e.mergeAll=g,e.extend=v,e.defaults=m,e.createCanvas=x,e.getContext=_,e.indexOf=b,e.inherits=w,e.mixin=S,e.isArrayLike=M,e.each=T,e.map=A,e.reduce=C,e.filter=D,e.find=I,e.bind=k,e.curry=O,e.isArray=P,e.isFunction=L,e.isString=E,e.isObject=R,e.isBuiltInObject=N,e.isTypedArray=z,e.isDom=B,e.eqNaN=F,e.retrieve=H,e.retrieve2=W,e.retrieve3=V,e.slice=G,e.normalizeCssArray=j,e.assert=U,e.trim=Y,e.setAsPrimitive=X,e.isPrimitive=$,e.createHashMap=K,e.concatArray=J,e.noop=Q},e83c:function(t,e,n){var i=n("e83b"),r=i.createHashMap,a=i.isTypedArray,o=n("770e"),s=o.enableClassCheck,l=n("72b8"),c=l.SOURCE_FORMAT_ORIGINAL,u=l.SERIES_LAYOUT_BY_COLUMN,h=l.SOURCE_FORMAT_UNKNOWN,d=l.SOURCE_FORMAT_TYPED_ARRAY,f=l.SOURCE_FORMAT_KEYED_COLUMNS;function p(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===f?{}:[]),this.sourceFormat=t.sourceFormat||h,this.seriesLayoutBy=t.seriesLayoutBy||u,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&r(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}p.seriesDataToSource=function(t){return new p({data:t,sourceFormat:a(t)?d:c,fromDataset:!1})},s(p);var g=p;t.exports=g},e8ad:function(t,e,n){var i=n("e83b"),r=n("81f6"),a=i.each,o=i.isObject,s=i.isArray,l="series\0";function c(t){return t instanceof Array?t:null==t?[]:[t]}function u(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var a=n[i];!t.emphasis[e].hasOwnProperty(a)&&t[e].hasOwnProperty(a)&&(t.emphasis[e][a]=t[e][a])}}}var h=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function d(t){return!o(t)||s(t)||t instanceof Date?t:t.value}function f(t){return o(t)&&!(t instanceof Array)}function p(t,e){e=(e||[]).slice();var n=i.map(t||[],(function(t,e){return{exist:t}}));return a(e,(function(t,i){if(o(t)){for(var r=0;r<n.length;r++)if(!n[r].option&&null!=t.id&&n[r].exist.id===t.id+"")return n[r].option=t,void(e[i]=null);for(r=0;r<n.length;r++){var a=n[r].exist;if(!n[r].option&&(null==a.id||null==t.id)&&null!=t.name&&!m(t)&&!m(a)&&a.name===t.name+"")return n[r].option=t,void(e[i]=null)}}})),a(e,(function(t,e){if(o(t)){for(var i=0;i<n.length;i++){var r=n[i].exist;if(!n[i].option&&!m(r)&&null==t.id){n[i].option=t;break}}i>=n.length&&n.push({option:t})}})),n}function g(t){var e=i.createHashMap();a(t,(function(t,n){var i=t.exist;i&&e.set(i.id,t)})),a(t,(function(t,n){var r=t.option;i.assert(!r||null==r.id||!e.get(r.id)||e.get(r.id)===t,"id duplicates: "+(r&&r.id)),r&&null!=r.id&&e.set(r.id,t),!t.keyInfo&&(t.keyInfo={})})),a(t,(function(t,n){var i=t.exist,r=t.option,a=t.keyInfo;if(o(r)){if(a.name=null!=r.name?r.name+"":i?i.name:l+n,i)a.id=i.id;else if(null!=r.id)a.id=r.id+"";else{var s=0;do{a.id="\0"+a.name+"\0"+s++}while(e.get(a.id))}e.set(a.id,t)}}))}function v(t){var e=t.name;return!(!e||!e.indexOf(l))}function m(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function y(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[a(n),a(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++)for(var a=t[i].seriesId,o=c(t[i].dataIndex),s=n&&n[a],l=0,u=o.length;l<u;l++){var h=o[l];s&&s[h]?s[h]=null:(e[a]||(e[a]={}))[h]=1}}function a(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=a(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}function x(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?i.isArray(e.dataIndex)?i.map(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?i.isArray(e.name)?i.map(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function _(){var t="__\0ec_inner_"+b+++"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}}var b=0;function w(t,e,n){if(i.isString(e)){var r={};r[e+"Index"]=0,e=r}var o=n&&n.defaultMainType;!o||S(e,o+"Index")||S(e,o+"Id")||S(e,o+"Name")||(e[o+"Index"]=0);var s={};return a(e,(function(r,a){r=e[a];if("dataIndex"!==a&&"dataIndexInside"!==a){var o=a.match(/^(\w+)(Index|Id|Name)$/)||[],l=o[1],c=(o[2]||"").toLowerCase();if(!(!l||!c||null==r||"index"===c&&"none"===r||n&&n.includeMainTypes&&i.indexOf(n.includeMainTypes,l)<0)){var u={mainType:l};"index"===c&&"all"===r||(u[c]=r);var h=t.queryComponents(u);s[l+"Models"]=h,s[l+"Model"]=h[0]}}else s[a]=r})),s}function S(t,e){return t&&t.hasOwnProperty(e)}function M(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function T(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function A(t){return"auto"===t?r.domSupported?"html":"richText":t||"html"}function C(t,e){var n=i.createHashMap(),r=[];return i.each(t,(function(t){var i=e(t);(n.get(i)||(r.push(i),n.set(i,[]))).push(t)})),{keys:r,buckets:n}}e.normalizeToArray=c,e.defaultEmphasis=u,e.TEXT_STYLE_OPTIONS=h,e.getDataItemValue=d,e.isDataItemOption=f,e.mappingToExists=p,e.makeIdAndName=g,e.isNameSpecified=v,e.isIdInner=m,e.compressBatches=y,e.queryDataIndex=x,e.makeInner=_,e.parseFinder=w,e.setAttribute=M,e.getAttribute=T,e.getTooltipRenderMode=A,e.groupData=C},eaa7:function(t,e){var n=32,i=7;function r(t){var e=0;while(t>=n)e|=1&t,t>>=1;return t+e}function a(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){while(r<n&&i(t[r],t[r-1])<0)r++;o(t,e,r)}else while(r<n&&i(t[r],t[r-1])>=0)r++;return r-e}function o(t,e,n){n--;while(e<n){var i=t[e];t[e++]=t[n],t[n--]=i}}function s(t,e,n,i,r){for(i===e&&i++;i<n;i++){var a,o=t[i],s=e,l=i;while(s<l)a=s+l>>>1,r(o,t[a])<0?l=a:s=a+1;var c=i-s;switch(c){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(c>0)t[s+c]=t[s+c-1],c--}t[s]=o}}function l(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])>0){s=i-r;while(l<s&&a(t,e[n+r+l])>0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}else{s=r+1;while(l<s&&a(t,e[n+r-l])<=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var c=o;o=r-l,l=r-c}o++;while(o<l){var u=o+(l-o>>>1);a(t,e[n+u])>0?o=u+1:l=u}return l}function c(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])<0){s=r+1;while(l<s&&a(t,e[n+r-l])<0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var c=o;o=r-l,l=r-c}else{s=i-r;while(l<s&&a(t,e[n+r+l])>=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}o++;while(o<l){var u=o+(l-o>>>1);a(t,e[n+u])<0?l=u:o=u+1}return l}function u(t,e){var n,r,a=i,o=0,s=0;o=t.length;var u=[];function h(t,e){n[s]=t,r[s]=e,s+=1}function d(){while(s>1){var t=s-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]<r[t+1]&&t--;else if(r[t]>r[t+1])break;p(t)}}function f(){while(s>1){var t=s-2;t>0&&r[t-1]<r[t+1]&&t--,p(t)}}function p(i){var a=n[i],o=r[i],u=n[i+1],h=r[i+1];r[i]=o+h,i===s-3&&(n[i+1]=n[i+2],r[i+1]=r[i+2]),s--;var d=c(t[u],t,a,o,0,e);a+=d,o-=d,0!==o&&(h=l(t[a+o-1],t,u,h,h-1,e),0!==h&&(o<=h?g(a,o,u,h):v(a,o,u,h)))}function g(n,r,o,s){var h=0;for(h=0;h<r;h++)u[h]=t[n+h];var d=0,f=o,p=n;if(t[p++]=t[f++],0!==--s)if(1!==r){var g,v,m,y=a;while(1){g=0,v=0,m=!1;do{if(e(t[f],u[d])<0){if(t[p++]=t[f++],v++,g=0,0===--s){m=!0;break}}else if(t[p++]=u[d++],g++,v=0,1===--r){m=!0;break}}while((g|v)<y);if(m)break;do{if(g=c(t[f],u,d,r,0,e),0!==g){for(h=0;h<g;h++)t[p+h]=u[d+h];if(p+=g,d+=g,r-=g,r<=1){m=!0;break}}if(t[p++]=t[f++],0===--s){m=!0;break}if(v=l(u[d],t,f,s,0,e),0!==v){for(h=0;h<v;h++)t[p+h]=t[f+h];if(p+=v,f+=v,s-=v,0===s){m=!0;break}}if(t[p++]=u[d++],1===--r){m=!0;break}y--}while(g>=i||v>=i);if(m)break;y<0&&(y=0),y+=2}if(a=y,a<1&&(a=1),1===r){for(h=0;h<s;h++)t[p+h]=t[f+h];t[p+s]=u[d]}else{if(0===r)throw new Error;for(h=0;h<r;h++)t[p+h]=u[d+h]}}else{for(h=0;h<s;h++)t[p+h]=t[f+h];t[p+s]=u[d]}else for(h=0;h<r;h++)t[p+h]=u[d+h]}function v(n,r,o,s){var h=0;for(h=0;h<s;h++)u[h]=t[o+h];var d=n+r-1,f=s-1,p=o+s-1,g=0,v=0;if(t[p--]=t[d--],0!==--r)if(1!==s){var m=a;while(1){var y=0,x=0,_=!1;do{if(e(u[f],t[d])<0){if(t[p--]=t[d--],y++,x=0,0===--r){_=!0;break}}else if(t[p--]=u[f--],x++,y=0,1===--s){_=!0;break}}while((y|x)<m);if(_)break;do{if(y=r-c(u[f],t,n,r,r-1,e),0!==y){for(p-=y,d-=y,r-=y,v=p+1,g=d+1,h=y-1;h>=0;h--)t[v+h]=t[g+h];if(0===r){_=!0;break}}if(t[p--]=u[f--],1===--s){_=!0;break}if(x=s-l(t[d],u,0,s,s-1,e),0!==x){for(p-=x,f-=x,s-=x,v=p+1,g=f+1,h=0;h<x;h++)t[v+h]=u[g+h];if(s<=1){_=!0;break}}if(t[p--]=t[d--],0===--r){_=!0;break}m--}while(y>=i||x>=i);if(_)break;m<0&&(m=0),m+=2}if(a=m,a<1&&(a=1),1===s){for(p-=r,d-=r,v=p+1,g=d+1,h=r-1;h>=0;h--)t[v+h]=t[g+h];t[p]=u[f]}else{if(0===s)throw new Error;for(g=p-(s-1),h=0;h<s;h++)t[g+h]=u[h]}}else{for(p-=r,d-=r,v=p+1,g=d+1,h=r-1;h>=0;h--)t[v+h]=t[g+h];t[p]=u[f]}else for(g=p-(s-1),h=0;h<s;h++)t[g+h]=u[h]}n=[],r=[],this.mergeRuns=d,this.forceMergeRuns=f,this.pushRun=h}function h(t,e,i,o){i||(i=0),o||(o=t.length);var l=o-i;if(!(l<2)){var c=0;if(l<n)return c=a(t,i,o,e),void s(t,i,o,i+c,e);var h=new u(t,e),d=r(l);do{if(c=a(t,i,o,e),c<d){var f=l;f>d&&(f=d),s(t,i,i+f,i+c,e),c=f}h.pushRun(i,c),h.mergeRuns(),l-=c,i+=c}while(0!==l);h.forceMergeRuns()}}t.exports=h},eaaf:function(t,e,n){var i=n("e83b"),r=n("f2e8"),a=r.parsePercent,o=n("1a01"),s=o.isDimensionStacked,l=n("7826"),c="__ec_stack_",u=.5,h="undefined"!==typeof Float32Array?Float32Array:Array;function d(t){return t.get("stack")||c+t.seriesIndex}function f(t){return t.dim+t.index}function p(t){var e=[],n=t.axis,r="axis0";if("category"===n.type){for(var a=n.getBandWidth(),o=0;o<t.count;o++)e.push(i.defaults({bandWidth:a,axisKey:r,stackId:c+o},t));var s=y(e),l=[];for(o=0;o<t.count;o++){var u=s[r][c+o];u.offsetCenter=u.offset+u.width/2,l.push(u)}return l}}function g(t,e){var n=[];return e.eachSeriesByType(t,(function(t){w(t)&&!S(t)&&n.push(t)})),n}function v(t){var e={};i.each(t,(function(t){var n=t.coordinateSystem,i=n.getBaseAxis();if("time"===i.type||"value"===i.type)for(var r=t.getData(),a=i.dim+"_"+i.index,o=r.mapDimension(i.dim),s=0,l=r.count();s<l;++s){var c=r.get(o,s);e[a]?e[a].push(c):e[a]=[c]}}));var n=[];for(var r in e)if(e.hasOwnProperty(r)){var a=e[r];if(a){a.sort((function(t,e){return t-e}));for(var o=null,s=1;s<a.length;++s){var l=a[s]-a[s-1];l>0&&(o=null===o?l:Math.min(o,l))}n[r]=o}}return n}function m(t){var e=v(t),n=[];return i.each(t,(function(t){var i,r=t.coordinateSystem,o=r.getBaseAxis(),s=o.getExtent();if("category"===o.type)i=o.getBandWidth();else if("value"===o.type||"time"===o.type){var l=o.dim+"_"+o.index,c=e[l],u=Math.abs(s[1]-s[0]),h=o.scale.getExtent(),p=Math.abs(h[1]-h[0]);i=c?u/p*c:u}else{var g=t.getData();i=Math.abs(s[1]-s[0])/g.count()}var v=a(t.get("barWidth"),i),m=a(t.get("barMaxWidth"),i),y=a(t.get("barMinWidth")||1,i),x=t.get("barGap"),_=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:v,barMaxWidth:m,barMinWidth:y,barGap:x,barCategoryGap:_,axisKey:f(o),stackId:d(t)})})),y(n)}function y(t){var e={};i.each(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,a=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=a.stacks;e[i]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var c=t.barMaxWidth;c&&(o[s].maxWidth=c);var u=t.barMinWidth;u&&(o[s].minWidth=u);var h=t.barGap;null!=h&&(a.gap=h);var d=t.barCategoryGap;null!=d&&(a.categoryGap=d)}));var n={};return i.each(e,(function(t,e){n[e]={};var r=t.stacks,o=t.bandWidth,s=a(t.categoryGap,o),l=a(t.gap,1),c=t.remainedWidth,u=t.autoWidthCount,h=(c-s)/(u+(u-1)*l);h=Math.max(h,0),i.each(r,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,c-=i+l*i,u--}else{var i=h;e&&e<i&&(i=Math.min(e,c)),n&&n>i&&(i=n),i!==h&&(t.width=i,c-=i+l*i,u--)}})),h=(c-s)/(u+(u-1)*l),h=Math.max(h,0);var d,f=0;i.each(r,(function(t,e){t.width||(t.width=h),d=t,f+=t.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;i.each(r,(function(t,i){n[e][i]=n[e][i]||{bandWidth:o,offset:p,width:t.width},p+=t.width*(1+l)}))})),n}function x(t,e,n){if(t&&e){var i=t[f(e)];return null!=i&&null!=n&&(i=i[d(n)]),i}}function _(t,e){var n=g(t,e),r=m(n),a={},o={};i.each(n,(function(t){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),l=d(t),c=r[f(i)][l],u=c.offset,h=c.width,p=n.getOtherAxis(i),g=t.get("barMinHeight")||0;a[l]=a[l]||[],o[l]=o[l]||[],e.setLayout({bandWidth:c.bandWidth,offset:u,size:h});for(var v=e.mapDimension(p.dim),m=e.mapDimension(i.dim),y=s(e,v),x=p.isHorizontal(),_=M(i,p,y),b=0,w=e.count();b<w;b++){var S=e.get(v,b),T=e.get(m,b);if(!isNaN(S)&&!isNaN(T)){var A,C,D,I,k=S>=0?"p":"n",O=_;if(y&&(a[l][T]||(a[l][T]={p:_,n:_}),O=a[l][T][k]),x){var P=n.dataToPoint([S,T]);A=O,C=P[1]+u,D=P[0]-_,I=h,Math.abs(D)<g&&(D=(D<0?-1:1)*g),y&&(a[l][T][k]+=D)}else{P=n.dataToPoint([T,S]);A=P[0]+u,C=O,D=h,I=P[1]-_,Math.abs(I)<g&&(I=(I<=0?-1:1)*g),y&&(a[l][T][k]+=I)}e.setItemLayout(b,{x:A,y:C,width:D,height:I})}}}),this)}var b={seriesType:"bar",plan:l(),reset:function(t){if(w(t)&&S(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),a=e.mapDimension(r.dim),o=e.mapDimension(i.dim),s=r.isHorizontal(),l=s?0:1,c=x(m([t]),i,t).width;return c>u||(c=u),{progress:d}}function d(t,e){var u,d=t.count,f=new h(2*d),p=new h(d),g=[],v=[],m=0,y=0;while(null!=(u=t.next()))v[l]=e.get(a,u),v[1-l]=e.get(o,u),g=n.dataToPoint(v,null,g),f[m++]=g[0],f[m++]=g[1],p[y++]=u;e.setLayout({largePoints:f,largeDataIndices:p,barWidth:c,valueAxisStart:M(i,r,!1),valueAxisHorizontal:s})}}};function w(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function S(t){return t.pipelineContext&&t.pipelineContext.large}function M(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=p,e.prepareLayoutBarSeries=g,e.makeColumnLayout=m,e.retrieveColumnLayout=x,e.layout=_,e.largeLayout=b},eadb:function(t,e){var n="";"undefined"!==typeof navigator&&(n=navigator.platform||"");var i={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};t.exports=i},eb8c:function(t,e,n){var i=n("e83b"),r=n("d7ad"),a=r.devicePixelRatio,o=n("f746"),s=n("49fd");function l(){return!1}function c(t,e,n){var r=i.createCanvas(),a=e.getWidth(),o=e.getHeight(),s=r.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=a+"px",s.height=o+"px",r.setAttribute("data-zr-dom-id",t)),r.width=a*n,r.height=o*n,r}var u=function(t,e,n){var r;n=n||a,"string"===typeof t?r=c(t,e,n):i.isObject(t)&&(r=t,t=r.id),this.id=t,this.dom=r;var o=r.style;o&&(r.onselectstart=l,o["-webkit-user-select"]="none",o["user-select"]="none",o["-webkit-touch-callout"]="none",o["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",o["padding"]=0,o["margin"]=0,o["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=e,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};u.prototype={constructor:u,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var t=this.dpr;this.domBack=c("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},resize:function(t,e){var n=this.dpr,i=this.dom,r=i.style,a=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,a&&(a.width=t*n,a.height=e*n,1!==n&&this.ctxBack.scale(n,n))},clear:function(t,e){var n,i=this.dom,r=this.ctx,a=i.width,l=i.height,c=(e=e||this.clearColor,this.motionBlur&&!t),u=this.lastFrameAlpha,h=this.dpr;(c&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/h,l/h)),r.clearRect(0,0,a,l),e&&"transparent"!==e)&&(e.colorStops?(n=e.__canvasGradient||o.getGradient(r,e,{x:0,y:0,width:a,height:l}),e.__canvasGradient=n):e.image&&(n=s.prototype.getCanvasPattern.call(e,r)),r.save(),r.fillStyle=n||e,r.fillRect(0,0,a,l),r.restore());if(c){var d=this.domBack;r.save(),r.globalAlpha=u,r.drawImage(d,0,0,a,l),r.restore()}}};var h=u;t.exports=h},f0ca:function(t,e,n){var i=n("3c4c"),r=n("ad6c");function a(t,e,n){var a=e.points,o=e.smooth;if(a&&a.length>=2){if(o&&"spline"!==o){var s=r(a,o,n,e.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var l=a.length,c=0;c<(n?l:l-1);c++){var u=s[2*c],h=s[2*c+1],d=a[(c+1)%l];t.bezierCurveTo(u[0],u[1],h[0],h[1],d[0],d[1])}}else{"spline"===o&&(a=i(a,n)),t.moveTo(a[0][0],a[0][1]);c=1;for(var f=a.length;c<f;c++)t.lineTo(a[c][0],a[c][1])}n&&t.closePath()}}e.buildPath=a},f17a:function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("e83b")),a=(r.isTypedArray,r.extend),o=(r.assert,r.each),s=r.isObject,l=n("e8ad"),c=l.getDataItemValue,u=l.isDataItemOption,h=n("f2e8"),d=h.parseDate,f=n("e83c"),p=n("72b8"),g=p.SOURCE_FORMAT_TYPED_ARRAY,v=p.SOURCE_FORMAT_ARRAY_ROWS,m=p.SOURCE_FORMAT_ORIGINAL,y=p.SOURCE_FORMAT_OBJECT_ROWS;function x(t,e){f.isInstance(t)||(t=f.seriesDataToSource(t)),this._source=t;var n=this._data=t.data,i=t.sourceFormat;i===g&&(this._offset=0,this._dimSize=e,this._data=n);var r=b[i===v?i+"_"+t.seriesLayoutBy:i];a(this,r)}var _=x.prototype;_.pure=!1,_.persistent=!0,_.getSource=function(){return this._source};var b={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:M},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],n=this._data,i=0;i<n.length;i++){var r=n[i];e.push(r?r[t]:null)}return e},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:w,getItem:S,appendData:M},keyedColumns:{pure:!0,count:function(){var t=this._source.dimensionsDefine[0].name,e=this._data[t];return e?e.length:0},getItem:function(t){for(var e=[],n=this._source.dimensionsDefine,i=0;i<n.length;i++){var r=this._data[n[i].name];e.push(r?r[t]:null)}return e},appendData:function(t){var e=this._data;o(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},original:{count:w,getItem:S,appendData:M},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(t,e){t-=this._offset,e=e||[];for(var n=this._dimSize*t,i=0;i<this._dimSize;i++)e[i]=this._data[n+i];return e},appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}}};function w(){return this._data.length}function S(t){return this._data[t]}function M(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}var T={arrayRows:A,objectRows:function(t,e,n,i){return null!=n?t[i]:t},keyedColumns:A,original:function(t,e,n,i){var r=c(t);return null!=n&&r instanceof Array?r[n]:r},typedArray:A};function A(t,e,n,i){return null!=n?t[n]:t}var C={arrayRows:D,objectRows:function(t,e,n,i){return I(t[e],this._dimensionInfos[e])},keyedColumns:D,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return!this._rawData.pure&&u(t)&&(this.hasItemOption=!0),I(r instanceof Array?r[i]:r,this._dimensionInfos[e])},typedArray:function(t,e,n,i){return t[i]}};function D(t,e,n,i){return I(t[i],this._dimensionInfos[e])}function I(t,e){var n=e&&e.type;if("ordinal"===n){var i=e&&e.ordinalMeta;return i?i.parseAndCollect(t):t}return"time"===n&&"number"!==typeof t&&null!=t&&"-"!==t&&(t=+d(t)),null==t||""===t?NaN:+t}function k(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r,a,o=t.getProvider().getSource().sourceFormat,s=t.getDimensionInfo(n);return s&&(r=s.name,a=s.index),T[o](i,e,a,r)}}}function O(t,e,n){if(t){var i=t.getProvider().getSource().sourceFormat;if(i===m||i===y){var r=t.getRawDataItem(e);return i!==m||s(r)||(r=null),r?r[n]:void 0}}}e.DefaultDataProvider=x,e.defaultDimValueGetters=C,e.retrieveRawValue=k,e.retrieveRawAttr=O},f2e8:function(t,e,n){var i=n("e83b"),r=1e-4;function a(t){return t.replace(/^\s+|\s+$/g,"")}function o(t,e,n,i){var r=e[1]-e[0],a=n[1]-n[0];if(0===r)return 0===a?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/r*a+n[0]}function s(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?a(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function l(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function c(t){return t.sort((function(t,e){return t-e})),t}function u(t){if(t=+t,isNaN(t))return 0;var e=1,n=0;while(Math.round(t*e)/e!==t)e*=10,n++;return n}function h(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return i<0?-i:0}var r=e.indexOf(".");return r<0?0:e.length-1-r}function d(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),a=Math.round(n(Math.abs(e[1]-e[0]))/i),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20}function f(t,e,n){if(!t[e])return 0;var r=i.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===r)return 0;var a=Math.pow(10,n),o=i.map(t,(function(t){return(isNaN(t)?0:t)/r*a*100})),s=100*a,l=i.map(o,(function(t){return Math.floor(t)})),c=i.reduce(l,(function(t,e){return t+e}),0),u=i.map(o,(function(t,e){return t-l[e]}));while(c<s){for(var h=Number.NEGATIVE_INFINITY,d=null,f=0,p=u.length;f<p;++f)u[f]>h&&(h=u[f],d=f);++l[d],u[d]=0,++c}return l[e]/a}var p=9007199254740991;function g(t){var e=2*Math.PI;return(t%e+e)%e}function v(t){return t>-r&&t<r}var m=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function y(t){if(t instanceof Date)return t;if("string"===typeof t){var e=m.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))}function x(t){return Math.pow(10,_(t))}function _(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function b(t,e){var n,i=_(t),r=Math.pow(10,i),a=t/r;return n=e?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10,t=n*r,i>=-20?+t.toFixed(i<0?-i:0):t}function w(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],a=n-i;return a?r+a*(t[i]-r):r}function S(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,a=t[i].close,o=0;o<2;o++)r[o]<=e&&(r[o]=e,a[o]=o?1:1-n),e=r[o],n=a[o];r[0]===r[1]&&a[0]*a[1]!==1?t.splice(i,1):i++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]===(n?-1:1)||!n&&s(t,e,1))}}function M(t){return t-parseFloat(t)>=0}e.linearMap=o,e.parsePercent=s,e.round=l,e.asc=c,e.getPrecision=u,e.getPrecisionSafe=h,e.getPixelPrecision=d,e.getPercentWithPrecision=f,e.MAX_SAFE_INTEGER=p,e.remRadian=g,e.isRadianAroundZero=v,e.parseDate=y,e.quantity=x,e.quantityExponent=_,e.nice=b,e.quantile=w,e.reformIntervals=S,e.isNumeric=M},f43a:function(t,e,n){var i=n("10d0"),r=n("7944"),a=n("770e"),o=function(){this.group=new i,this.uid=r.getUID("viewComponent")};o.prototype={constructor:o,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){},filterForExposedEvent:null};var s=o.prototype;s.updateView=s.updateLayout=s.updateVisual=function(t,e,n,i){},a.enableClassExtend(o),a.enableClassManagement(o,{registerWhenExtend:!0});var l=o;t.exports=l},f576:function(t,e,n){var i=n("1734"),r=n("a0ff"),a=n("e83b"),o=a.isArrayLike,s=Array.prototype.slice;function l(t,e){return t[e]}function c(t,e,n){t[e]=n}function u(t,e,n){return(e-t)*n+t}function h(t,e,n){return n>.5?e:t}function d(t,e,n,i,r){var a=t.length;if(1===r)for(var o=0;o<a;o++)i[o]=u(t[o],e[o],n);else{var s=a&&t[0].length;for(o=0;o<a;o++)for(var l=0;l<s;l++)i[o][l]=u(t[o][l],e[o][l],n)}}function f(t,e,n){var i=t.length,r=e.length;if(i!==r){var a=i>r;if(a)t.length=r;else for(var o=i;o<r;o++)t.push(1===n?e[o]:s.call(e[o]))}var l=t[0]&&t[0].length;for(o=0;o<t.length;o++)if(1===n)isNaN(t[o])&&(t[o]=e[o]);else for(var c=0;c<l;c++)isNaN(t[o][c])&&(t[o][c]=e[o][c])}function p(t,e,n){if(t===e)return!0;var i=t.length;if(i!==e.length)return!1;if(1===n){for(var r=0;r<i;r++)if(t[r]!==e[r])return!1}else{var a=t[0].length;for(r=0;r<i;r++)for(var o=0;o<a;o++)if(t[r][o]!==e[r][o])return!1}return!0}function g(t,e,n,i,r,a,o,s,l){var c=t.length;if(1===l)for(var u=0;u<c;u++)s[u]=v(t[u],e[u],n[u],i[u],r,a,o);else{var h=t[0].length;for(u=0;u<c;u++)for(var d=0;d<h;d++)s[u][d]=v(t[u][d],e[u][d],n[u][d],i[u][d],r,a,o)}}function v(t,e,n,i,r,a,o){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*o+(-3*(e-n)-2*s-l)*a+s*r+e}function m(t){if(o(t)){var e=t.length;if(o(t[0])){for(var n=[],i=0;i<e;i++)n.push(s.call(t[i]));return n}return s.call(t)}return t}function y(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function x(t){var e=t[t.length-1].value;return o(e&&e[0])?2:1}function _(t,e,n,a,s,l){var c=t._getter,m=t._setter,_="spline"===e,b=a.length;if(b){var w,S=a[0].value,M=o(S),T=!1,A=!1,C=M?x(a):0;a.sort((function(t,e){return t.time-e.time})),w=a[b-1].time;for(var D=[],I=[],k=a[0].value,O=!0,P=0;P<b;P++){D.push(a[P].time/w);var L=a[P].value;if(M&&p(L,k,C)||!M&&L===k||(O=!1),k=L,"string"===typeof L){var E=r.parse(L);E?(L=E,T=!0):A=!0}I.push(L)}if(l||!O){var R=I[b-1];for(P=0;P<b-1;P++)M?f(I[P],R,C):!isNaN(I[P])||isNaN(R)||A||T||(I[P]=R);M&&f(c(t._target,s),R,C);var N,z,B,F,H,W,V=0,G=0;if(T)var j=[0,0,0,0];var U=function(t,e){var n;if(e<0)n=0;else if(e<G){for(N=Math.min(V+1,b-1),n=N;n>=0;n--)if(D[n]<=e)break;n=Math.min(n,b-2)}else{for(n=V;n<b;n++)if(D[n]>e)break;n=Math.min(n-1,b-2)}V=n,G=e;var i=D[n+1]-D[n];if(0!==i)if(z=(e-D[n])/i,_)if(F=I[n],B=I[0===n?n:n-1],H=I[n>b-2?b-1:n+1],W=I[n>b-3?b-1:n+2],M)g(B,F,H,W,z,z*z,z*z*z,c(t,s),C);else{if(T)r=g(B,F,H,W,z,z*z,z*z*z,j,1),r=y(j);else{if(A)return h(F,H,z);r=v(B,F,H,W,z,z*z,z*z*z)}m(t,s,r)}else if(M)d(I[n],I[n+1],z,c(t,s),C);else{var r;if(T)d(I[n],I[n+1],z,j,1),r=y(j);else{if(A)return h(I[n],I[n+1],z);r=u(I[n],I[n+1],z)}m(t,s,r)}},Y=new i({target:t._target,life:w,loop:t._loop,delay:t._delay,onframe:U,ondestroy:n});return e&&"spline"!==e&&(Y.easing=e),Y}}}var b=function(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||l,this._setter=i||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==t&&n[i].push({time:0,value:m(r)})}n[i].push({time:t,value:e[i]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].pause();this._paused=!0},resume:function(){for(var t=0;t<this._clipList.length;t++)this._clipList[t].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var t=this._doneList,e=t.length,n=0;n<e;n++)t[n].call(this)},start:function(t,e){var n,i=this,r=0,a=function(){r--,r||i._doneCallback()};for(var o in this._tracks)if(this._tracks.hasOwnProperty(o)){var s=_(this,t,a,this._tracks[o],o,e);s&&(this._clipList.push(s),r++,this.animation&&this.animation.addClip(s),n=s)}if(n){var l=n.onframe;n.onframe=function(t,e){l(t,e);for(var n=0;n<i._onframeList.length;n++)i._onframeList[n](t,e)}}return r||this._doneCallback(),this},stop:function(t){for(var e=this._clipList,n=this.animation,i=0;i<e.length;i++){var r=e[i];t&&r.onframe(this._target,1),n&&n.removeClip(r)}e.length=0},delay:function(t){return this._delay=t,this},done:function(t){return t&&this._doneList.push(t),this},getClips:function(){return this._clipList}};var w=b;t.exports=w},f696:function(t,e){function n(t,e,n,i,r,a){if(a>e&&a>i||a<e&&a<i)return 0;if(i===e)return 0;var o=i<e?1:-1,s=(a-e)/(i-e);1!==s&&0!==s||(o=i<e?.5:-.5);var l=s*(n-t)+t;return l===r?1/0:l>r?o:0}t.exports=n},f697:function(t,e){function n(t,e){var n,i,r,a,o,s=e.x,l=e.y,c=e.width,u=e.height,h=e.r;c<0&&(s+=c,c=-c),u<0&&(l+=u,u=-u),"number"===typeof h?n=i=r=a=h:h instanceof Array?1===h.length?n=i=r=a=h[0]:2===h.length?(n=r=h[0],i=a=h[1]):3===h.length?(n=h[0],i=a=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],a=h[3]):n=i=r=a=0,n+i>c&&(o=n+i,n*=c/o,i*=c/o),r+a>c&&(o=r+a,r*=c/o,a*=c/o),i+r>u&&(o=i+r,i*=u/o,r*=u/o),n+a>u&&(o=n+a,n*=u/o,a*=u/o),t.moveTo(s+n,l),t.lineTo(s+c-i,l),0!==i&&t.arc(s+c-i,l+i,i,-Math.PI/2,0),t.lineTo(s+c,l+u-r),0!==r&&t.arc(s+c-r,l+u-r,r,0,Math.PI/2),t.lineTo(s+a,l+u),0!==a&&t.arc(s+a,l+u-a,a,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}e.buildPath=n},f709:function(t,e,n){var i=n("d7ad"),r=i.devicePixelRatio,a=n("e83b"),o=n("c0b9"),s=n("a6c5"),l=n("eaa7"),c=n("eb8c"),u=n("3cab"),h=n("0abc"),d=n("81f6"),f=1e5,p=314159,g=.01,v=.001;function m(t){return parseInt(t,10)}function y(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}var x=new s(0,0,0,0),_=new s(0,0,0,0);function b(t,e,n){return x.copy(t.getBoundingRect()),t.transform&&x.applyTransform(t.transform),_.width=e,_.height=n,!x.intersect(_)}function w(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function S(t,e){for(var n=0;n<t.length;n++){var i=t[n];i.setTransform(e),e.beginPath(),i.buildPath(e,i.shape),e.clip(),i.restoreTransform(e)}}function M(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var T=function(t,e,n){this.type="canvas";var i=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=a.extend({},n||{}),this.dpr=n.devicePixelRatio||r,this._singleCanvas=i,this.root=t;var o=t.style;o&&(o["-webkit-tap-highlight-color"]="transparent",o["-webkit-user-select"]=o["user-select"]=o["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var s=this._zlevelList=[],l=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,i){var u=t.width,h=t.height;null!=n.width&&(u=n.width),null!=n.height&&(h=n.height),this.dpr=n.devicePixelRatio||1,t.width=u*this.dpr,t.height=h*this.dpr,this._width=u,this._height=h;var d=new c(t,this,this.dpr);d.__builtin__=!0,d.initContext(),l[p]=d,d.zlevel=p,s.push(p),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var f=this._domRoot=M(this._width,this._height);t.appendChild(f)}this._hoverlayer=null,this._hoverElements=[]};T.prototype={constructor:T,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(t){var e=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,t,this._redrawId);for(var i=0;i<n.length;i++){var r=n[i],a=this._layers[r];if(!a.__builtin__&&a.refresh){var o=0===i?this._backgroundColor:null;a.refresh(o)}}return this.refreshHover(),this},addHover:function(t,e){if(!t.__hoverMir){var n=new t.constructor({style:t.style,shape:t.shape,z:t.z,z2:t.z2,silent:t.silent});return n.__from=t,t.__hoverMir=n,e&&n.setStyle(e),this._hoverElements.push(n),n}},removeHover:function(t){var e=t.__hoverMir,n=this._hoverElements,i=a.indexOf(n,e);i>=0&&n.splice(i,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n<e.length;n++){var i=e[n].__from;i&&(i.__hoverMir=null)}e.length=0},refreshHover:function(){var t=this._hoverElements,e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){l(t,this.storage.displayableSortFunc),n||(n=this._hoverlayer=this.getLayer(f));var i={};n.ctx.save();for(var r=0;r<e;){var a=t[r],o=a.__from;o&&o.__zr?(r++,o.invisible||(a.transform=o.transform,a.invTransform=o.invTransform,a.__clipPaths=o.__clipPaths,this._doPaintEl(a,n,!0,i))):(t.splice(r,1),o.__hoverMir=null,e--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(f)},_paintList:function(t,e,n){if(this._redrawId===n){e=e||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),!i){var r=this;u((function(){r._paintList(t,e,n)}))}}},_compositeManually:function(){var t=this.getLayer(p).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)}))},_doPaintList:function(t,e){for(var n=[],i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i],o=this._layers[r];o.__builtin__&&o!==this._hoverlayer&&(o.__dirty||e)&&n.push(o)}for(var s=!0,l=0;l<n.length;l++){o=n[l];var c=o.ctx,u={};c.save();var h=e?o.__startIndex:o.__drawIndex,f=!e&&o.incremental&&Date.now,p=f&&Date.now(),g=o.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(o.__startIndex===o.__endIndex)o.clear(!1,g);else if(h===o.__startIndex){var v=t[h];v.incremental&&v.notClear&&!e||o.clear(!1,g)}-1===h&&(console.error("For some unknown reason. drawIndex is -1"),h=o.__startIndex);for(var m=h;m<o.__endIndex;m++){var y=t[m];if(this._doPaintEl(y,o,e,u),y.__dirty=y.__dirtyText=!1,f){var x=Date.now()-p;if(x>15)break}}o.__drawIndex=m,o.__drawIndex<o.__endIndex&&(s=!1),u.prevElClipPaths&&c.restore(),c.restore()}return d.wxa&&a.each(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),s},_doPaintEl:function(t,e,n,i){var r=e.ctx,a=t.transform;if((e.__dirty||n)&&!t.invisible&&0!==t.style.opacity&&(!a||a[0]||a[3])&&(!t.culling||!b(t,this._width,this._height))){var o=t.__clipPaths,s=i.prevElClipPaths;s&&!w(o,s)||(s&&(r.restore(),i.prevElClipPaths=null,i.prevEl=null),o&&(r.save(),S(o,r),i.prevElClipPaths=o)),t.beforeBrush&&t.beforeBrush(r),t.brush(r,i.prevEl||null),i.prevEl=t,t.afterBrush&&t.afterBrush(r)}},getLayer:function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=p);var n=this._layers[t];return n||(n=new c("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]&&a.merge(n,this._layerConfig[t],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},insertLayer:function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,a=null,s=-1,l=this._domRoot;if(n[t])o("ZLevel "+t+" has been used already");else if(y(e)){if(r>0&&t>i[0]){for(s=0;s<r-1;s++)if(i[s]<t&&i[s+1]>t)break;a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var c=a.dom;c.nextSibling?l.insertBefore(e.dom,c.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,r=this._zlevelList;for(i=0;i<r.length;i++)n=r[i],t.call(e,this._layers[n],n)},eachBuiltinLayer:function(t,e){var n,i,r,a=this._zlevelList;for(r=0;r<a.length;r++)i=a[r],n=this._layers[i],n.__builtin__&&t.call(e,n,i)},eachOtherLayer:function(t,e){var n,i,r,a=this._zlevelList;for(r=0;r<a.length;r++)i=a[r],n=this._layers[i],n.__builtin__||t.call(e,n,i)},getLayers:function(){return this._layers},_updateLayerStatus:function(t){function e(t){r&&(r.__endIndex!==t&&(r.__dirty=!0),r.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){var i=t[n];if(i.zlevel!==t[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var r=null,a=0;for(n=0;n<t.length;n++){i=t[n];var s,l=i.zlevel;i.incremental?(s=this.getLayer(l+v,this._needsManuallyCompositing),s.incremental=!0,a=1):s=this.getLayer(l+(a>0?g:0),this._needsManuallyCompositing),s.__builtin__||o("ZLevel "+l+" has been used by unkown layer "+s.id),s!==r&&(s.__used=!0,s.__startIndex!==n&&(s.__dirty=!0),s.__startIndex=n,s.incremental?s.__drawIndex=-1:s.__drawIndex=n,e(n),r=s),i.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=n))}e(n),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?a.merge(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===t||r===t+g){var o=this._layers[r];a.merge(o,n[t],!0)}}}},delLayer:function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(a.indexOf(n,t),1))},resize:function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||e!==this._height){for(var r in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(r)&&this._layers[r].resize(t,e);a.each(this._progressiveLayers,(function(n){n.resize(t,e)})),this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(p).resize(t,e)}return this},clearLayer:function(t){var e=this._layers[t];e&&e.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[p].dom;var e=new c("image",this,t.pixelRatio||this.dpr);if(e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor),t.pixelRatio<=this.dpr){this.refresh();var n=e.dom.width,i=e.dom.height,r=e.ctx;this.eachLayer((function(t){t.__builtin__?r.drawImage(t.dom,0,0,n,i):t.renderToCanvas&&(e.ctx.save(),t.renderToCanvas(e.ctx),e.ctx.restore())}))}else for(var a={},o=this.storage.getDisplayList(!0),s=0;s<o.length;s++){var l=o[s];this._doPaintEl(l,e,!0,a)}return e.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],r=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[i]||m(s[n])||m(o.style[n]))-(m(s[r])||0)-(m(s[a])||0)|0},pathToImage:function(t,e){e=e||this.dpr;var n=document.createElement("canvas"),i=n.getContext("2d"),r=t.getBoundingRect(),a=t.style,o=a.shadowBlur*e,s=a.shadowOffsetX*e,l=a.shadowOffsetY*e,c=a.hasStroke()?a.lineWidth:0,u=Math.max(c/2,-s+o),d=Math.max(c/2,s+o),f=Math.max(c/2,-l+o),p=Math.max(c/2,l+o),g=r.width+u+d,v=r.height+f+p;n.width=g*e,n.height=v*e,i.scale(e,e),i.clearRect(0,0,g,v),i.dpr=e;var m={position:t.position,rotation:t.rotation,scale:t.scale};t.position=[u-r.x,f-r.y],t.rotation=0,t.scale=[1,1],t.updateTransform(),t&&t.brush(i);var y=h,x=new y({style:{x:0,y:0,image:n}});return null!=m.position&&(x.position=t.position=m.position),null!=m.rotation&&(x.rotation=t.rotation=m.rotation),null!=m.scale&&(x.scale=t.scale=m.scale),x}};var A=T;t.exports=A},f746:function(t,e,n){var i=n("b3bb"),r=n("d5a3"),a=r.ContextCachedBy,o=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],s=function(t){this.extendFrom(t,!1)};function l(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,a=null==e.y?0:e.y,o=null==e.y2?0:e.y2;e.global||(i=i*n.width+n.x,r=r*n.width+n.x,a=a*n.height+n.y,o=o*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,a=isNaN(a)?0:a,o=isNaN(o)?0:o;var s=t.createLinearGradient(i,a,r,o);return s}function c(t,e,n){var i=n.width,r=n.height,a=Math.min(i,r),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;e.global||(o=o*i+n.x,s=s*r+n.y,l*=a);var c=t.createRadialGradient(o,s,0,o,s,l);return c}s.prototype={constructor:s,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,n){var r=this,s=n&&n.style,l=!s||t.__attrCachedBy!==a.STYLE_BIND;t.__attrCachedBy=a.STYLE_BIND;for(var c=0;c<o.length;c++){var u=o[c],h=u[0];(l||r[h]!==s[h])&&(t[h]=i(t,h,r[h]||u[1]))}if((l||r.fill!==s.fill)&&(t.fillStyle=r.fill),(l||r.stroke!==s.stroke)&&(t.strokeStyle=r.stroke),(l||r.opacity!==s.opacity)&&(t.globalAlpha=null==r.opacity?1:r.opacity),(l||r.blend!==s.blend)&&(t.globalCompositeOperation=r.blend||"source-over"),this.hasStroke()){var d=r.lineWidth;t.lineWidth=d/(this.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1)}},hasFill:function(){var t=this.fill;return null!=t&&"none"!==t},hasStroke:function(){var t=this.stroke;return null!=t&&"none"!==t&&this.lineWidth>0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var i="radial"===e.type?c:l,r=i(t,e,n),a=e.colorStops,o=0;o<a.length;o++)r.addColorStop(a[o].offset,a[o].color);return r}};for(var u=s.prototype,h=0;h<o.length;h++){var d=o[h];d[0]in u||(u[d[0]]=d[1])}s.getGradient=u.getGradient;var f=s;t.exports=f},f877:function(t,e,n){var i=n("f993"),r=(i.__DEV__,n("e83b")),a=r.isObject,o=r.each,s=r.map,l=r.indexOf,c=(r.retrieve,n("03f7")),u=c.getLayoutRect,h=n("48ce"),d=h.createScaleByModel,f=h.ifAxisCrossZero,p=h.niceScaleExtent,g=h.estimateLabelUnionRect,v=n("652c"),m=n("00a2"),y=n("8394"),x=n("1a01"),_=x.getStackedDimension;function b(t,e,n){return t.getCoordSysModel()===e}function w(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}n("5b1c");var S=w.prototype;function M(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,a=t[e],o=n.model,s=o.get("axisLine.onZero"),l=o.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)T(a[l])&&(r=a[l]);else for(var c in a)if(a.hasOwnProperty(c)&&T(a[c])&&!i[u(a[c])]){r=a[c];break}r&&(i[u(r)]=!0)}function u(t){return t.dim+"_"+t.index}}function T(t){return t&&"category"!==t.type&&"time"!==t.type&&f(t)}function A(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}S.type="grid",S.axisPointerEnabled=!0,S.getRect=function(){return this._rect},S.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),o(n.x,(function(t){p(t.scale,t.model)})),o(n.y,(function(t){p(t.scale,t.model)}));var i={};o(n.x,(function(t){M(n,"y",t,i)})),o(n.y,(function(t){M(n,"x",t,i)})),this.resize(this.model,e)},S.resize=function(t,e,n){var i=u(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=i;var r=this._axesList;function a(){o(r,(function(t){var e=t.isHorizontal(),n=e?[0,i.width]:[0,i.height],r=t.inverse?1:0;t.setExtent(n[r],n[1-r]),A(t,e?i.x:i.y)}))}a(),!n&&t.get("containLabel")&&(o(r,(function(t){if(!t.model.get("axisLabel.inside")){var e=g(t);if(e){var n=t.isHorizontal()?"height":"width",r=t.model.get("axisLabel.margin");i[n]-=e[n]+r,"top"===t.position?i.y+=e.height+r:"left"===t.position&&(i.x+=e.width+r)}}})),a())},S.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n){if(null==e)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[e]}},S.getAxes=function(){return this._axesList.slice()},S.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}a(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},S.getCartesians=function(){return this._coordsList.slice()},S.convertToPixel=function(t,e,n){var i=this._findConvertTarget(t,e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},S.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(t,e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},S._findConvertTarget=function(t,e){var n,i,r=e.seriesModel,a=e.xAxisModel||r&&r.getReferringComponents("xAxis")[0],o=e.yAxisModel||r&&r.getReferringComponents("yAxis")[0],s=e.gridModel,c=this._coordsList;if(r)n=r.coordinateSystem,l(c,n)<0&&(n=null);else if(a&&o)n=this.getCartesian(a.componentIndex,o.componentIndex);else if(a)i=this.getAxis("x",a.componentIndex);else if(o)i=this.getAxis("y",o.componentIndex);else if(s){var u=s.coordinateSystem;u===this&&(n=this._coordsList[0])}return{cartesian:n,axis:i}},S.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},S._initCartesian=function(t,e,n){var i={left:!1,right:!1,top:!1,bottom:!1},r={x:{},y:{}},a={x:0,y:0};if(e.eachComponent("xAxis",s("x"),this),e.eachComponent("yAxis",s("y"),this),!a.x||!a.y)return this._axesMap={},void(this._axesList=[]);function s(n){return function(o,s){if(b(o,t,e)){var l=o.get("position");"x"===n?"top"!==l&&"bottom"!==l&&(l=i.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=i.left?"right":"left"),i[l]=!0;var c=new m(n,d(o),[0,0],o.get("type"),l),u="category"===c.type;c.onBand=u&&o.get("boundaryGap"),c.inverse=o.get("inverse"),o.axis=c,c.model=o,c.grid=this,c.index=s,this._axesList.push(c),r[n][s]=c,a[n]++}}}this._axesMap=r,o(r.x,(function(e,n){o(r.y,(function(i,r){var a="x"+n+"y"+r,o=new v(a);o.grid=this,o.model=t,this._coordsMap[a]=o,this._coordsList.push(o),o.addAxis(e),o.addAxis(i)}),this)}),this)},S._updateScale=function(t,e){function n(t,e,n){o(t.mapDimension(e.dim,!0),(function(n){e.scale.unionExtentFromData(t,_(t,n))}))}o(this._axesList,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeries((function(i){if(I(i)){var r=D(i,t),a=r[0],o=r[1];if(!b(a,e,t)||!b(o,e,t))return;var s=this.getCartesian(a.componentIndex,o.componentIndex),l=i.getData(),c=s.getAxis("x"),u=s.getAxis("y");"list"===l.type&&(n(l,c,i),n(l,u,i))}}),this)},S.getTooltipAxes=function(t){var e=[],n=[];return o(this.getCartesians(),(function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),a=i.getOtherAxis(r);l(e,r)<0&&e.push(r),l(n,a)<0&&n.push(a)})),{baseAxes:e,otherAxes:n}};var C=["xAxis","yAxis"];function D(t,e){return s(C,(function(e){var n=t.getReferringComponents(e)[0];return n}))}function I(t){return"cartesian2d"===t.get("coordinateSystem")}w.create=function(t,e){var n=[];return t.eachComponent("grid",(function(i,r){var a=new w(i,t,e);a.name="grid_"+r,a.resize(i,e,!0),i.coordinateSystem=a,n.push(a)})),t.eachSeries((function(e){if(I(e)){var n=D(e,t),i=n[0],r=n[1],a=i.getCoordSysModel(),o=a.coordinateSystem;e.coordinateSystem=o.getCartesian(i.componentIndex,r.componentIndex)}})),n},w.dimensions=w.prototype.dimensions=v.prototype.dimensions,y.register("cartesian2d",w);var k=w;t.exports=k},f881:function(t,e){var n=Math.round;function i(t,e,i){var r=i&&i.lineWidth;if(e&&r){var o=e.x1,s=e.x2,l=e.y1,c=e.y2;n(2*o)===n(2*s)?t.x1=t.x2=a(o,r,!0):(t.x1=o,t.x2=s),n(2*l)===n(2*c)?t.y1=t.y2=a(l,r,!0):(t.y1=l,t.y2=c)}}function r(t,e,n){var i=n&&n.lineWidth;if(e&&i){var r=e.x,o=e.y,s=e.width,l=e.height;t.x=a(r,i,!0),t.y=a(o,i,!0),t.width=Math.max(a(r+s,i,!1)-t.x,0===s?0:1),t.height=Math.max(a(o+l,i,!1)-t.y,0===l?0:1)}}function a(t,e,i){var r=n(2*t);return(r+n(e))%2===0?r/2:(r+(i?1:-1))/2}e.subPixelOptimizeLine=i,e.subPixelOptimizeRect=r,e.subPixelOptimize=a},f914:function(t,e,n){},f92d:function(t,e,n){var i=n("e83b"),r=i.each,a=i.map,o=i.isFunction,s=i.createHashMap,l=i.noop,c=n("a533"),u=c.createTask,h=n("7944"),d=h.getUID,f=n("a38d"),p=n("a1dc"),g=n("e8ad"),v=g.normalizeToArray;function m(t,e,n,i){this.ecInstance=t,this.api=e,this.unfinished;n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice();this._allHandlers=n.concat(i),this._stageTaskMap=s()}var y=m.prototype;function x(t,e,n,i,a){var o;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}a=a||{},r(e,(function(e,r){if(!a.visualType||a.visualType===e.visualType){var l=t._stageTaskMap.get(e.uid),c=l.seriesTaskMap,u=l.overallTask;if(u){var h,d=u.agentStubMap;d.each((function(t){s(a,t)&&(t.dirty(),h=!0)})),h&&u.dirty(),_(u,i);var f=t.getPerformArgs(u,a.block);d.each((function(t){t.perform(f)})),o|=u.perform(f)}else c&&c.each((function(r,l){s(a,r)&&r.dirty();var c=t.getPerformArgs(r,a.block);c.skip=!e.performRawSeries&&n.isSeriesFiltered(r.context.model),_(r,i),o|=r.perform(c)}))}})),t.unfinished|=o}y.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},y.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,a=r?n.step:null,o=i&&i.modDataCount,s=null!=o?Math.ceil(o/a):null;return{step:a,modBy:s,modDataCount:o}}},y.getPipeline=function(t){return this._pipelineMap.get(t)},y.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),r=i.count(),a=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,o=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:a,modDataCount:s,large:o}},y.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),P(e,t,t.dataTask)}))},y.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;r(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,[]);i.reset&&b(this,i,r,e,n),i.overallReset&&w(this,i,r,e,n)}),this)},y.prepareView=function(t,e,n,i){var r=t.renderTask,a=r.context;a.model=e,a.ecModel=n,a.api=i,r.__block=!t.incrementalPrepareRender,P(this,e,r)},y.performDataProcessorTasks=function(t,e){x(this,this._dataProcessorHandlers,t,e,{block:!0})},y.performVisualTasks=function(t,e,n){x(this,this._visualHandlers,t,e,n)},y.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},y.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var _=y.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function b(t,e,n,i,r){var a=n.seriesTaskMap||(n.seriesTaskMap=s()),o=e.seriesType,l=e.getTargetSeries;function c(n){var o=n.uid,s=a.get(o)||a.set(o,u({plan:C,reset:D,count:O}));s.context={model:n,ecModel:i,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},P(t,n,s)}e.createOnAllSeries?i.eachRawSeries(c):o?i.eachRawSeriesByType(o,c):l&&l(i,r).each(c);var h=t._pipelineMap;a.each((function(t,e){h.get(e)||(t.dispose(),a.removeKey(e))}))}function w(t,e,n,i,a){var o=n.overallTask=n.overallTask||u({reset:S});o.context={ecModel:i,api:a,overallReset:e.overallReset,scheduler:t};var l=o.agentStubMap=o.agentStubMap||s(),c=e.seriesType,h=e.getTargetSeries,d=!0,f=e.modifyOutputEnd;function p(e){var n=e.uid,i=l.get(n);i||(i=l.set(n,u({reset:M,onDirty:A})),o.dirty()),i.context={model:e,overallProgress:d,modifyOutputEnd:f},i.agent=o,i.__block=d,P(t,e,i)}c?i.eachRawSeriesByType(c,p):h?h(i,a).each(p):(d=!1,r(i.getSeries(),p));var g=t._pipelineMap;l.each((function(t,e){g.get(e)||(t.dispose(),o.dirty(),l.removeKey(e))}))}function S(t){t.overallReset(t.ecModel,t.api,t.payload)}function M(t,e){return t.overallProgress&&T}function T(){this.agent.dirty(),this.getDownstream().dirty()}function A(){this.agent&&this.agent.dirty()}function C(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function D(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=v(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?a(e,(function(t,e){return k(e)})):I}var I=k(0);function k(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var a=e.start;a<e.end;a++)r.dataEach(i,a);else r&&r.progress&&r.progress(e,i)}}function O(t){return t.data.count()}function P(t,e,n){var i=e.uid,r=t._pipelineMap.get(i);!r.head&&(r.head=n),r.tail&&r.tail.pipe(n),r.tail=n,n.__idxInPipeline=r.count++,n.__pipeline=r}function L(t){E=null;try{t(R,N)}catch(e){}return E}m.wrapStageHandler=function(t,e){return o(t)&&(t={overallReset:t,seriesType:L(t)}),t.uid=d("stageHandler"),e&&(t.visualType=e),t};var E,R={},N={};function z(t,e){for(var n in e.prototype)t[n]=l}z(R,f),z(N,p),R.eachSeriesByType=R.eachRawSeriesByType=function(t){E=t},R.eachComponent=function(t){"series"===t.mainType&&t.subType&&(E=t.subType)};var B=m;t.exports=B},f993:function(t,e,n){(function(t){var n;"undefined"!==typeof window?n=window.__DEV__:"undefined"!==typeof t&&(n=t.__DEV__),"undefined"===typeof n&&(n=!0);var i=n;e.__DEV__=i}).call(this,n("5243"))},fbf0:function(t,e,n){var i=n("e83b"),r=i.map,a=n("7826"),o=n("1a01"),s=o.isDimensionStacked;function l(t){return{seriesType:t,plan:a(),reset:function(t){var e=t.getData(),n=t.coordinateSystem,i=t.pipelineContext,a=i.large;if(n){var o=r(n.dimensions,(function(t){return e.mapDimension(t)})).slice(0,2),l=o.length,c=e.getCalculationInfo("stackResultDimension");return s(e,o[0])&&(o[0]=c),s(e,o[1])&&(o[1]=c),l&&{progress:u}}function u(t,e){for(var i=t.end-t.start,r=a&&new Float32Array(i*l),s=t.start,c=0,u=[],h=[];s<t.end;s++){var d;if(1===l){var f=e.get(o[0],s);d=!isNaN(f)&&n.dataToPoint(f,null,h)}else{f=u[0]=e.get(o[0],s);var p=u[1]=e.get(o[1],s);d=!isNaN(f)&&!isNaN(p)&&n.dataToPoint(u,null,h)}a?(r[c++]=d?d[0]:NaN,r[c++]=d?d[1]:NaN):e.setItemLayout(s,d&&d.slice()||[NaN,NaN])}a&&e.setLayout("symbolPoints",r)}}}}t.exports=l},fcd0:function(t,e,n){},fda0:function(t,e,n){n("1a8a"),n("3679")},fde2:function(t,e,n){var i=n("d02e"),r=n("8944"),a=n("e83b"),o=a.isObject;function s(t){this.group=new i.Group,this._symbolCtor=t||r}var l=s.prototype;function c(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function u(t){return null==t||o(t)||(t={isIgnore:t}),t||{}}function h(t){var e=t.hostModel;return{itemStyle:e.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:e.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label"),cursorStyle:e.get("cursor")}}l.updateData=function(t,e){e=u(e);var n=this.group,r=t.hostModel,a=this._data,o=this._symbolCtor,s=h(t);a||n.removeAll(),t.diff(a).add((function(i){var r=t.getItemLayout(i);if(c(t,r,i,e)){var a=new o(t,i,s);a.attr("position",r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(l,u){var h=a.getItemGraphicEl(u),d=t.getItemLayout(l);c(t,d,l,e)?(h?(h.updateData(t,l,s),i.updateProps(h,{position:d},r)):(h=new o(t,l),h.attr("position",d)),n.add(h),t.setItemGraphicEl(l,h)):n.remove(h)})).remove((function(t){var e=a.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}))})).execute(),this._data=t},l.isPersistent=function(){return!0},l.updateLayout=function(){var t=this._data;t&&t.eachItemGraphicEl((function(e,n){var i=t.getItemLayout(n);e.attr("position",i)}))},l.incrementalPrepareUpdate=function(t){this._seriesScope=h(t),this._data=null,this.group.removeAll()},l.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}n=u(n);for(var r=t.start;r<t.end;r++){var a=e.getItemLayout(r);if(c(e,a,r,n)){var o=new this._symbolCtor(e,r,this._seriesScope);o.traverse(i),o.attr("position",a),this.group.add(o),e.setItemGraphicEl(r,o)}}},l.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}))})):e.removeAll()};var d=s;t.exports=d},fdf7:function(t,e,n){var i=n("dbbd"),r=n("939d"),a=NaN,o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;function h(t){if("number"==typeof t)return t;if(r(t))return a;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var n=l.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):s.test(t)?a:+t}t.exports=h},fe27:function(t,e,n){var i=n("e83b"),r=n("d02e"),a=n("210e"),o=n("d630"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea","minorSplitLine"],c=o.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,r=n.polar,o=r.getAngleAxis(),c=n.getTicksCoords(),h=n.getMinorTicksCoords(),d=o.getExtent()[0],f=n.getExtent(),p=u(r,t,d),g=new a(t,p);i.each(s,g.add,g),this.group.add(g.getGroup()),i.each(l,(function(e){t.get(e+".show")&&!n.scale.isBlank()&&this["_"+e](t,r,d,f,c,h)}),this)}},_splitLine:function(t,e,n,a,o){var s=t.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=0;d<o.length;d++){var f=u++%c.length;h[f]=h[f]||[],h[f].push(new r.Circle({shape:{cx:e.cx,cy:e.cy,r:o[d].coord}}))}for(d=0;d<h.length;d++)this.group.add(r.mergePath(h[d],{style:i.defaults({stroke:c[d%c.length],fill:null},l.getLineStyle()),silent:!0}))},_minorSplitLine:function(t,e,n,a,o,s){if(s.length){for(var l=t.getModel("minorSplitLine"),c=l.getModel("lineStyle"),u=[],h=0;h<s.length;h++)for(var d=0;d<s[h].length;d++)u.push(new r.Circle({shape:{cx:e.cx,cy:e.cy,r:s[h][d].coord}}));this.group.add(r.mergePath(u,{style:i.defaults({fill:null},c.getLineStyle()),silent:!0}))}},_splitArea:function(t,e,n,a,o){if(o.length){var s=t.getModel("splitArea"),l=s.getModel("areaStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var h=[],d=o[0].coord,f=1;f<o.length;f++){var p=u++%c.length;h[p]=h[p]||[],h[p].push(new r.Sector({shape:{cx:e.cx,cy:e.cy,r0:d,r:o[f].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),d=o[f].coord}for(f=0;f<h.length;f++)this.group.add(r.mergePath(h[f],{style:i.defaults({fill:c[f%c.length]},l.getAreaStyle()),silent:!0}))}}});function u(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}t.exports=c}}]);
- //# sourceMappingURL=chunk-4f90706c.c9c4f180.js.map
|