(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[2],{"+6XX":function(e,t,n){var r=n("y1pI");function i(e){return r(this.__data__,e)>-1}e.exports=i},"+Hau":function(e,t,n){"use strict";n.d(t,"d",function(){return s}),n.d(t,"c",function(){return l}),n.d(t,"b",function(){return u}),n.d(t,"a",function(){return c}),n.d(t,"e",function(){return f}),n.d(t,"i",function(){return p}),n.d(t,"B",function(){return m}),n.d(t,"y",function(){return v}),n.d(t,"m",function(){return y}),n.d(t,"q",function(){return b}),n.d(t,"l",function(){return x}),n.d(t,"h",function(){return _}),n.d(t,"r",function(){return w}),n.d(t,"n",function(){return S}),n.d(t,"j",function(){return k}),n.d(t,"w",function(){return j}),n.d(t,"f",function(){return M}),n.d(t,"o",function(){return C}),n.d(t,"u",function(){return T}),n.d(t,"z",function(){return I}),n.d(t,"s",function(){return D}),n.d(t,"k",function(){return A}),n.d(t,"x",function(){return E}),n.d(t,"g",function(){return P}),n.d(t,"p",function(){return L}),n.d(t,"v",function(){return N}),n.d(t,"A",function(){return R}),n.d(t,"t",function(){return z});var r=n("bYtY"),i=n("OELB"),o=n("71kh"),a=n("Qxkt"),s=1e3,l=60*s,u=60*l,c=24*u,f=365*c,d={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},h="{yyyy}-{MM}-{dd}",p={year:"{yyyy}",month:"{yyyy}-{MM}",day:h,hour:h+" "+d.hour,minute:h+" "+d.minute,second:h+" "+d.second,millisecond:d.none},g=["year","month","day","hour","minute","second","millisecond"],m=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function v(e,t){return e+="","0000".substr(0,t-e.length)+e}function y(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function b(e){return e===y(e)}function x(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function _(e,t,n,r){var s=i["l"](e),l=s[k(n)](),u=s[j(n)]()+1,c=Math.floor((u-1)/3)+1,f=s[M(n)](),d=s["get"+(n?"UTC":"")+"Day"](),h=s[C(n)](),p=(h-1)%12+1,g=s[T(n)](),m=s[I(n)](),y=s[D(n)](),b=r instanceof a["a"]?r:Object(o["d"])(r||o["a"])||Object(o["c"])(),x=b.getModel("time"),_=x.get("month"),w=x.get("monthAbbr"),O=x.get("dayOfWeek"),S=x.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,l%100+"").replace(/{Q}/g,c+"").replace(/{MMMM}/g,_[u-1]).replace(/{MMM}/g,w[u-1]).replace(/{MM}/g,v(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,v(f,2)).replace(/{d}/g,f+"").replace(/{eeee}/g,O[d]).replace(/{ee}/g,S[d]).replace(/{e}/g,d+"").replace(/{HH}/g,v(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,v(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,v(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,v(m,2)).replace(/{s}/g,m+"").replace(/{SSS}/g,v(y,3)).replace(/{S}/g,y+"")}function w(e,t,n,i,o){var a=null;if(r["y"](n))a=n;else if(r["u"](n))a=n(e.value,t,{level:e.level});else{var s=r["l"]({},d);if(e.level>0)for(var l=0;l=0;--l)if(u[c]){a=u[c];break}a=a||s.none}if(r["r"](a)){var h=null==e.level?0:e.level>=0?e.level:a.length+e.level;h=Math.min(h,a.length-1),a=a[h]}}return _(new Date(e.value),a,o,i)}function O(e,t){var n=i["l"](e),r=n[j(t)]()+1,o=n[M(t)](),a=n[C(t)](),s=n[T(t)](),l=n[I(t)](),u=n[D(t)](),c=0===u,f=c&&0===l,d=f&&0===s,h=d&&0===a,p=h&&1===o,g=p&&1===r;return g?"year":p?"month":h?"day":d?"hour":f?"minute":c?"second":"millisecond"}function S(e,t,n){var o=r["w"](e)?i["l"](e):e;switch(t=t||O(e,n),t){case"year":return o[k(n)]();case"half-year":return o[j(n)]()>=6?1:0;case"quarter":return Math.floor((o[j(n)]()+1)/4);case"month":return o[j(n)]();case"day":return o[M(n)]();case"half-day":return o[C(n)]()/24;case"hour":return o[C(n)]();case"minute":return o[T(n)]();case"second":return o[I(n)]();case"millisecond":return o[D(n)]()}}function k(e){return e?"getUTCFullYear":"getFullYear"}function j(e){return e?"getUTCMonth":"getMonth"}function M(e){return e?"getUTCDate":"getDate"}function C(e){return e?"getUTCHours":"getHours"}function T(e){return e?"getUTCMinutes":"getMinutes"}function I(e){return e?"getUTCSeconds":"getSeconds"}function D(e){return e?"getUTCMilliseconds":"getMilliseconds"}function A(e){return e?"setUTCFullYear":"setFullYear"}function E(e){return e?"setUTCMonth":"setMonth"}function P(e){return e?"setUTCDate":"setDate"}function L(e){return e?"setUTCHours":"setHours"}function N(e){return e?"setUTCMinutes":"setMinutes"}function R(e){return e?"setUTCSeconds":"setSeconds"}function z(e){return e?"setUTCMilliseconds":"setMilliseconds"}},"+K+b":function(e,t,n){var r=n("JHRd");function i(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}e.exports=i},"+Qka":function(e,t,n){var r=n("fmRc"),i=n("t2Dn"),o=n("cq/+"),a=n("T1AV"),s=n("GoyQ"),l=n("mTTR"),u=n("itsj");function c(e,t,n,f,d){e!==t&&o(t,function(o,l){if(d||(d=new r),s(o))a(e,t,l,n,c,f,d);else{var h=f?f(u(e,l),o,l+"",e,t,d):void 0;void 0===h&&(h=o),i(e,l,h)}},l)}e.exports=c},"+TT/":function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"d",function(){return d}),n.d(t,"f",function(){return h}),n.d(t,"b",function(){return p}),n.d(t,"e",function(){return g}),n.d(t,"c",function(){return m});var r=n("bYtY"),i=n("mFDi"),o=n("OELB"),a=n("7aKB"),s=r["j"],l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function c(e,t,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;t.eachChild(function(l,u){var c,f,d=l.getBoundingRect(),h=t.childAt(u+1),p=h&&h.getBoundingRect();if("horizontal"===e){var g=d.width+(p?-p.x+d.x:0);c=o+g,c>r||l.newline?(o=0,c=g,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var m=d.height+(p?-p.y+d.y:0);f=a+m,f>i||l.newline?(o+=s+n,a=0,f=m,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===e?o=c+n:a=f+n)})}var f=c;r["h"](c,"vertical"),r["h"](c,"horizontal");function d(e,t,n){n=a["f"](n||0);var r=t.width,s=t.height,l=Object(o["m"])(e.left,r),u=Object(o["m"])(e.top,s),c=Object(o["m"])(e.right,r),f=Object(o["m"])(e.bottom,s),d=Object(o["m"])(e.width,r),h=Object(o["m"])(e.height,s),p=n[2]+n[0],g=n[1]+n[3],m=e.aspect;switch(isNaN(d)&&(d=r-c-g-l),isNaN(h)&&(h=s-f-p-u),null!=m&&(isNaN(d)&&isNaN(h)&&(m>r/s?d=.8*r:h=.8*s),isNaN(d)&&(d=m*h),isNaN(h)&&(h=d/m)),isNaN(l)&&(l=r-c-d-g),isNaN(u)&&(u=s-f-h-p),e.left||e.right){case"center":l=r/2-d/2-n[3];break;case"right":l=r-d-g;break}switch(e.top||e.bottom){case"middle":case"center":u=s/2-h/2-n[0];break;case"bottom":u=s-h-p;break}l=l||0,u=u||0,isNaN(d)&&(d=r-g-l-(c||0)),isNaN(h)&&(h=s-p-u-(f||0));var v=new i["a"](l+n[3],u+n[0],d,h);return v.margin=n,v}function h(e,t,n,o,a,s){var l,u=!a||!a.hv||a.hv[0],c=!a||!a.hv||a.hv[1],f=a&&a.boundingMode||"all";if(s=s||e,s.x=e.x,s.y=e.y,!u&&!c)return!1;if("raw"===f)l="group"===e.type?new i["a"](0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(l=e.getBoundingRect(),e.needLocalTransform()){var h=e.getLocalTransform();l=l.clone(),l.applyTransform(h)}var p=d(r["i"]({width:l.width,height:l.height},t),n,o),g=u?p.x-l.x:0,m=c?p.y-l.y:0;return"raw"===f?(s.x=g,s.y=m):(s.x+=g,s.y+=m),s===e&&e.markRedraw(),!0}function p(e){var t=e.layoutMode||e.constructor.layoutMode;return r["x"](t)?t:t?{type:t}:null}function g(e,t,n){var i=n&&n.ignoreSize;!r["r"](i)&&(i=[i,i]);var o=l(u[0],0),a=l(u[1],1);function l(n,r){var o={},a=0,l={},u=0,d=2;if(s(n,function(t){l[t]=e[t]}),s(n,function(e){c(t,e)&&(o[e]=l[e]=t[e]),f(o,e)&&a++,f(l,e)&&u++}),i[r])return f(t,n[1])?l[n[2]]=null:f(t,n[2])&&(l[n[1]]=null),l;if(u!==d&&a){if(a>=d)return o;for(var h=0;h0?"top":"bottom",r="center"):Object(f["h"])(o-x)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},e}(),w={axisLine:function(e,t,n,i){var s=t.get(["axisLine","show"]);if("auto"===s&&e.handleAutoShown&&(s=e.handleAutoShown("axisLine")),s){var l=t.axis.getExtent(),u=i.transform,c=[l[0],0],f=[l[1],0],h=c[0]>f[0];u&&(Object(p["b"])(c,c,u),Object(p["b"])(f,f,u));var g=Object(r["l"])({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),m=new o["a"]({shape:{x1:c[0],y1:c[1],x2:f[0],y2:f[1]},style:g,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});a["subPixelOptimizeLine"](m.shape,m.style.lineWidth),m.anid="line",n.add(m);var v=t.get(["axisLine","symbol"]);if(null!=v){var y=t.get(["axisLine","symbolSize"]);Object(r["y"])(v)&&(v=[v,v]),(Object(r["y"])(y)||Object(r["w"])(y))&&(y=[y,y]);var b=Object(d["b"])(t.get(["axisLine","symbolOffset"])||0,y),x=y[0],_=y[1];Object(r["j"])([{rotate:e.rotation+Math.PI/2,offset:b[0],r:0},{rotate:e.rotation-Math.PI/2,offset:b[1],r:Math.sqrt((c[0]-f[0])*(c[0]-f[0])+(c[1]-f[1])*(c[1]-f[1]))}],function(t,r){if("none"!==v[r]&&null!=v[r]){var i=Object(d["a"])(v[r],-x/2,-_/2,x,_,g.stroke,!0),o=t.r+t.offset,a=h?f:c;i.attr({rotation:t.rotate,x:a[0]+o*Math.cos(e.rotation),y:a[1]-o*Math.sin(e.rotation),silent:!0,z2:11}),n.add(i)}})}}},axisTickLabel:function(e,t,n,i){var o=T(n,i,t,e),a=D(n,i,t,e);if(S(t,a,o),I(n,i,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var s=y(Object(r["D"])(a,function(e){return{label:e,priority:e.z2,defaultAttr:{ignore:e.ignore}}}));b(s)}},axisName:function(e,t,n,i){var o=Object(r["J"])(e.axisName,t.get("name"));if(o){var c,f,d=t.get("nameLocation"),h=e.nameDirection,p=t.getModel("nameTextStyle"),g=t.get("nameGap")||0,m=t.axis.getExtent(),v=m[0]>m[1]?-1:1,y=["start"===d?m[0]-v*g:"end"===d?m[1]+v*g:(m[0]+m[1])/2,M(d)?e.labelOffset+h*g:0],b=t.get("nameRotate");null!=b&&(b=b*x/180),M(d)?c=_.innerTextLayout(e.rotation,null!=b?b:e.rotation,h):(c=O(e.rotation,d,b||0,m),f=e.axisNameAvailableWidth,null!=f&&(f=Math.abs(f/Math.sin(c.rotation)),!isFinite(f)&&(f=null)));var w=p.getFont(),S=t.get("nameTruncate",!0)||{},k=S.ellipsis,j=Object(r["J"])(e.nameTruncateMaxWidth,S.maxWidth,f),C=new s["a"]({x:y[0],y:y[1],rotation:c.rotation,silent:_.isLabelSilent(t),style:Object(u["a"])(p,{text:o,font:w,overflow:"truncate",width:j,ellipsis:k,fill:p.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:p.get("align")||c.textAlign,verticalAlign:p.get("verticalAlign")||c.textVerticalAlign}),z2:1});if(a["setTooltipConfig"]({el:C,componentModel:t,itemName:o}),C.__fullText=o,C.anid="name",t.get("triggerEvent")){var T=_.makeAxisEventDataBase(t);T.targetType="axisName",T.name=o,Object(l["a"])(C).eventData=T}i.add(C),C.updateTransform(),n.add(C),C.decomposeTransform()}}};function O(e,t,n,r){var i,o,a=Object(f["p"])(n-e),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;return Object(f["h"])(a-x/2)?(o=l?"bottom":"top",i="center"):Object(f["h"])(a-1.5*x)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*x&&a>x/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function S(e,t,n){if(!Object(g["j"])(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],f=n[n.length-1],d=n[n.length-2];!1===r?(k(o),k(u)):j(o,a)&&(r?(k(a),k(c)):(k(o),k(u))),!1===i?(k(s),k(f)):j(l,s)&&(i?(k(l),k(d)):(k(s),k(f)))}}function k(e){e&&(e.ignore=!0)}function j(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(n&&r){var i=h["c"]([]);return h["f"](i,i,-e.rotation),n.applyTransform(h["e"]([],i,e.getLocalTransform())),r.applyTransform(h["e"]([],i,t.getLocalTransform())),n.intersect(r)}}function M(e){return"middle"===e||"center"===e}function C(e,t,n,r,i){for(var s=[],l=[],u=[],c=0;ct&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n10&&"cartesian2d"===l.type&&s){var c=l.getBaseAxis(),f=l.getOtherAxis(c),d=c.getExtent(),h=n.getDevicePixelRatio(),p=Math.abs(d[1]-d[0])*(h||1),g=Math.round(u/p);if(isFinite(g)&&g>1){"lttb"===s&&e.setData(a.lttbDownSample(a.mapDimension(f.dim),1/g));var m=void 0;Object(r["y"])(s)?m=i[s]:Object(r["u"])(s)&&(m=s),m&&e.setData(a.downSample(a.mapDimension(f.dim),1/g,m,o))}}}}}},"/f6Q":function(e,t,n){"use strict";var r=n("AGgm").isSpace;e.exports=function(e,t,n,i){var o,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(o=e.src.charCodeAt(u++),42!==o&&45!==o&&95!==o)return!1;a=1;while(u=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(l["a"]),f=c,d=n("Qe9p"),h=n("LcXL"),p=n("dqUG"),g=n("x6Kt"),m=n("IwbS"),v=n("fWwa"),y=n("eDfh"),b=n("eRkO"),x=n("+TT/"),_=n("sS/r"),w=n("oVpE"),O=n("s8Fb"),S=o["h"],k=o["j"],j=h["a"],M=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return Object(i["a"])(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new j),this.group.add(this._selectorGroup=new j),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var i=e.get("align"),a=e.get("orient");i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===a?"right":"left");var s=e.get("selector",!0),l=e.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===a?"end":"start"),this.renderInner(i,e,t,n,s,a,l);var u=e.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},f=e.get("padding"),d=x["d"](u,c,f),h=this.layoutInner(e,i,d,r,s,l),p=x["d"](o["i"]({width:h.width,height:h.height},u),c,f);this.group.x=p.x-h.x,this.group.y=p.y-h.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Object(b["b"])(h,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,r,i,a,s){var l=this.getContentGroup(),u=o["f"](),c=t.get("selectedMode"),f=[];n.eachRawSeries(function(e){!e.get("legendHoverLink")&&f.push(e.id)}),k(t.getData(),function(i,a){var s=i.get("name");if(!this.newlineDisabled&&(""===s||"\n"===s)){var h=new j;return h.newline=!0,void l.add(h)}var p=n.getSeriesByName(s)[0];if(!u.get(s)){if(p){var g=p.getData(),m=g.getVisual("legendLineStyle")||{},v=g.getVisual("legendIcon"),y=g.getVisual("style"),b=this._createItem(p,s,a,i,t,e,m,y,v,c,r);b.on("click",S(I,s,null,r,f)).on("mouseover",S(A,p.name,null,r,f)).on("mouseout",S(E,p.name,null,r,f)),u.set(s,!0)}else n.eachRawSeries(function(n){if(!u.get(s)&&n.legendVisualProvider){var l=n.legendVisualProvider;if(!l.containName(s))return;var h=l.indexOfName(s),p=l.getItemVisual(h,"style"),g=l.getItemVisual(h,"legendIcon"),m=Object(d["d"])(p.fill);m&&0===m[3]&&(m[3]=.2,p=o["l"](o["l"]({},p),{fill:Object(d["e"])(m,"rgba")}));var v=this._createItem(n,s,a,i,t,e,{},p,g,c,r);v.on("click",S(I,null,s,r,f)).on("mouseover",S(A,null,s,r,f)).on("mouseout",S(E,null,s,r,f)),u.set(s,!0)}},this);0}},this),i&&this._createSelector(i,t,r,a,s)},t.prototype._createSelector=function(e,t,n,r,i){var o=this.getSelectorGroup();k(e,function(e){var r=e.type,i=new p["a"]({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(i);var a=t.getModel("selectorLabel"),s=t.getModel(["emphasis","selectorLabel"]);Object(y["e"])(i,{normal:a,emphasis:s},{defaultText:e.title}),Object(v["m"])(i)})},t.prototype._createItem=function(e,t,n,r,i,a,s,l,u,c,f){var d=e.visualDrawType,h=i.get("itemWidth"),b=i.get("itemHeight"),x=i.isSelected(t),_=r.get("symbolRotate"),w=r.get("symbolKeepAspect"),O=r.get("icon");u=O||u||"roundRect";var S=C(u,r,s,l,d,x,f),k=new j,M=r.getModel("textStyle");if(!o["u"](e.getLegendIcon)||O&&"inherit"!==O){var I="inherit"===O&&e.getData().getVisual("symbol")?"inherit"===_?e.getData().getVisual("symbolRotate"):_:0;k.add(T({itemWidth:h,itemHeight:b,icon:u,iconRotate:I,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:w}))}else k.add(e.getLegendIcon({itemWidth:h,itemHeight:b,icon:u,iconRotate:_,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:w}));var D="left"===a?h+5:-5,A=a,E=i.get("formatter"),P=t;o["y"](E)&&E?P=E.replace("{name}",null!=t?t:""):o["u"](E)&&(P=E(t));var L=r.get("inactiveColor");k.add(new p["a"]({style:Object(y["a"])(M,{text:P,x:D,y:b/2,fill:x?M.getTextColor():L,align:A,verticalAlign:"middle"})}));var N=new g["a"]({shape:k.getBoundingRect(),invisible:!0}),R=r.getModel("tooltip");return R.get("show")&&m["setTooltipConfig"]({el:N,componentModel:i,itemName:t,itemTooltipOption:R.option}),k.add(N),k.eachChild(function(e){e.silent=!0}),N.silent=!c,this.getContentGroup().add(k),Object(v["m"])(k),k.__legendDataIndex=n,k},t.prototype.layoutInner=function(e,t,n,r,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();x["a"](e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),i){x["a"]("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),f=[-c.x,-c.y],d=e.get("selectorButtonGap",!0),h=e.getOrient().index,p=0===h?"width":"height",g=0===h?"height":"width",m=0===h?"y":"x";"end"===o?f[h]+=l[p]+d:u[h]+=c[p]+d,f[1-h]+=l[g]/2-c[g]/2,s.x=f[0],s.y=f[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[p]=l[p]+d+c[p],v[g]=Math.max(l[g],c[g]),v[m]=Math.min(0,c[m]+f[1-h]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(_["a"]);function C(e,t,n,r,i,o,a){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),k(e,function(n,r){"inherit"===e[r]&&(e[r]=t[r])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=0===e.lastIndexOf("empty",0)?"fill":"stroke",f=l.getShallow("decal");u.decal=f&&"inherit"!==f?Object(O["a"])(f,a):r.decal,"inherit"===u.fill&&(u.fill=r[i]),"inherit"===u.stroke&&(u.stroke=r[c]),"inherit"===u.opacity&&(u.opacity=("fill"===i?r:n).opacity),s(u,r);var d=t.getModel("lineStyle"),h=d.getLineStyle();if(s(h,n),"auto"===u.fill&&(u.fill=r.fill),"auto"===u.stroke&&(u.stroke=r.fill),"auto"===h.stroke&&(h.stroke=r.fill),!o){var p=t.get("inactiveBorderWidth"),g=u[c];u.lineWidth="auto"===p?r.lineWidth>0&&g?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),h.stroke=d.get("inactiveColor"),h.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:h}}function T(e){var t=e.icon||"roundRect",n=Object(w["a"])(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function I(e,t,n,r){E(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),A(e,t,n,r)}function D(e){var t,n=e.getZr().storage.getDisplayList(),r=0,i=n.length;while(rn[i],m=[-d.x,-d.y];t||(m[r]=u[l]);var v=[0,0],y=[-h.x,-h.y],b=o["K"](e.get("pageButtonGap",!0),e.get("itemGap",!0));if(p){var _=e.get("pageButtonPosition",!0);"end"===_?y[r]+=n[i]-h[i]:v[r]+=h[i]+b}y[1-r]+=d[a]/2-h[a]/2,u.setPosition(m),c.setPosition(v),f.setPosition(y);var w={x:0,y:0};if(w[i]=p?n[i]:d[i],w[a]=Math.max(d[a],h[a]),w[s]=Math.min(0,h[s]+y[1-r]),c.__rectSize=n[i],p){var O={x:0,y:0};O[i]=Math.max(n[i]-h[i]-b,0),O[a]=w[a],c.setClipPath(new g["a"]({shape:O})),c.__rectSize=O[i]}else f.eachChild(function(e){e.attr({invisible:!0,silent:!0})});var S=this._getPageInfo(e);return null!=S.pageIndex&&G["h"](u,{x:S.contentPosition[0],y:S.contentPosition[1]},p?e:null),this._updatePageInfoView(e,S),w},t.prototype._pageGo=function(e,t,n){var r=this._getPageInfo(t)[e];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;o["j"](["pagePrev","pageNext"],function(r){var i=r+"DataIndex",o=null!=t[i],a=n.childOfName(r);a&&(a.setStyle("fill",o?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")});var r=n.childOfName("pageText"),i=e.get("pageFormatter"),a=t.pageIndex,s=null!=a?a+1:0,l=t.pageCount;r&&i&&r.setStyle("text",o["y"](i)?i.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):i({current:s,total:l}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=e.getOrient().index,o=U[i],a=H[i],s=this._findTargetItemIndex(t),l=n.children(),u=l[s],c=l.length,f=c?1:0,d={contentPosition:[n.x,n.y],pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var h=y(u);d.contentPosition[i]=-h.s;for(var p=s+1,g=h,m=h,v=null;p<=c;++p)v=y(l[p]),(!v&&m.e>g.s+r||v&&!b(v,g.s))&&(g=m.i>g.i?m:v,g&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount)),m=v;for(p=s-1,g=h,m=h,v=null;p>=-1;--p)v=y(l[p]),v&&b(m,v.s)||!(g.i=t&&e.s<=t+r}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var t,n,r=this.getContentGroup();return r.eachChild(function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===e&&(t=i)}),null!=t?t:n},t.type="legend.scroll",t}(P),K=q;function Z(e){e.registerAction("legendScroll","legendscroll",function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(e){e.setScrollDataIndex(n)})})}function X(e){Object(r["a"])(z),e.registerComponentModel(V),e.registerComponentView(K),Z(e)}function Q(e){Object(r["a"])(z),Object(r["a"])(X)}n.d(t,"a",function(){return Q})},"03A+":function(e,t,n){var r=n("JTzB"),i=n("ExA7"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},"0Cz8":function(e,t,n){var r=n("Xi7e"),i=n("ebwN"),o=n("e4Nc"),a=200;function s(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length65535?l:u}function p(){return[1/0,-1/0]}function g(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function m(e,t,n,r,i){var o=d[n||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;uv[1]&&(v[1]=g)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=Object(i["D"])(a,function(e){return e.property}),c=0;cb[1]&&(b[1]=y)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t=0&&t=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&ne))return o;i=o-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks,i=r[e],o=[];if(!i)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,u=0,c=this.count();u=0&&s<0)&&(a=h,s=d,l=0),d===s&&(o[l++]=u))}return o.length=l,o},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var i=0;i=f&&b<=d||isNaN(b))&&(l[u++]=m),m++}g=!0}else if(2===o){v=p[r[0]];var x=p[r[1]],_=e[r[1]][0],w=e[r[1]][1];for(y=0;y=f&&b<=d||isNaN(b))&&(O>=_&&O<=w||isNaN(O))&&(l[u++]=m),m++}g=!0}}if(!g)if(1===o)for(y=0;y=f&&b<=d||isNaN(b))&&(l[u++]=S)}else for(y=0;ye[M][1])&&(k=!1)}k&&(l[u++]=t.getRawIndex(y))}return uv[1]&&(v[1]=m)}}}},e.prototype.lttbDownSample=function(e,t){var n,r,i,o=this.clone([e],!0),a=o._chunks,s=a[e],l=this.count(),u=0,c=Math.floor(1/t),f=this.getRawIndex(0),d=new(h(this._rawCount))(Math.min(2*(Math.ceil(l/c)+2),l));d[u++]=f;for(var p=1;pn&&(n=r,i=x))}M>0&&Mu-g&&(s=u-g,a.length=s);for(var m=0;mc[1]&&(c[1]=y),f[d++]=b}return i._count=d,i._indices=f,i._updateGetRawIdx(),i},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,i=0,o=this.count();is&&(s=c)}return r=[a,s],this._extent[e]=r,r},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,i=0;i=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return Object(o["b"])(e[r],this._dimensions[r])}r={arrayRows:e,objectRows:function(e,t,n,r){return Object(o["b"])(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var i=e&&(null==e.value?e:e.value);return Object(o["b"])(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}();t["b"]=v},"1M3H":function(e,t,n){"use strict";e.exports=n("CK61")},"1nBO":function(e,t,n){"use strict";var r=n("AGgm").normalizeReference,i=n("AGgm").isSpace;e.exports=function(e,t,n,o){var a,s,l,u,c,f,d,h,p,g,m,v,y,b,x,_,w=0,O=e.bMarks[t]+e.tShift[t],S=e.eMarks[t],k=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(O))return!1;while(++O3)&&!(e.sCount[k]<0)){for(b=!1,f=0,d=x.length;f0){var h=d.duration,p=d.delay,g=d.easing,m={duration:h,delay:p||0,easing:g,done:s,force:!!s||!!l,setToFinal:!f,scope:e,during:l};c?t.animateFrom(n,m):t.animateTo(n,m)}else t.stopAnimation(),!c&&t.attr(n),l&&l(1),s&&s()}function l(e,t,n,r,i,o){s("update",e,t,n,r,i,o)}function u(e,t,n,r,i,o){s("enter",e,t,n,r,i,o)}function c(e){if(!e.__zr)return!0;for(var t=0;tt[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();r["c"](i),t["a"]=i},"4Vez":function(e,t,n){var r=n("e+LU"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function l(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}e.exports=l},"4fNk":function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},"4kuk":function(e,t,n){var r=n("SfRM"),i=n("Hvzi"),o=n("u8Dt"),a=n("ekgI"),s=n("JSQU");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t32))return l;if(41===i){if(0===o)break;o--}t++}}return s===t?l:0!==o?l:(l.str=r(e.slice(s,t)),l.lines=a,l.pos=t,l.ok=!0,l)}},"5Tg0":function(e,t,n){(function(e){var r=n("Kz5y"),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a?r.Buffer:void 0,l=s?s.allocUnsafe:void 0;function u(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}e.exports=u}).call(this,n("YuTi")(e))},"6A5J":function(e,t,n){"use strict";var r=n("AGgm").isSpace;e.exports=function(e,t,n,i){var o,a,s,l,u,c,f,d,h,p,g,m,v,y,b,x,_,w,O,S,k=e.lineMax,j=e.bMarks[t]+e.tShift[t],M=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(j++))return!1;if(i)return!0;l=h=e.sCount[t]+1,32===e.src.charCodeAt(j)?(j++,l++,h++,o=!1,x=!0):9===e.src.charCodeAt(j)?(x=!0,(e.bsCount[t]+h)%4===3?(j++,l++,h++,o=!1):o=!0):x=!1,p=[e.bMarks[t]],e.bMarks[t]=j;while(j=M,y=[e.sCount[t]],e.sCount[t]=h-l,b=[e.tShift[t]],e.tShift[t]=j-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",d=t+1;d=M)break;if(62!==e.src.charCodeAt(j++)||S){if(c)break;for(_=!1,s=0,u=w.length;s=M,g.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(x?1:0),y.push(e.sCount[d]),e.sCount[d]=h-l,b.push(e.tShift[d]),e.tShift[d]=j-e.bMarks[d]}}for(m=e.blkIndent,e.blkIndent=0,O=e.push("blockquote_open","blockquote",1),O.markup=">",O.map=f=[t,0],e.md.block.tokenize(e,t,d),O=e.push("blockquote_close","blockquote",-1),O.markup=">",e.lineMax=k,e.parentType=v,f[1]=e.line,s=0;s-1?l:c}():c;function p(e,t){e=e.toUpperCase(),d[e]=new r["a"](t),f[e]=t}function g(e){if(Object(s["y"])(e)){var t=f[e.toUpperCase()]||{};return e===l||e===u?Object(s["d"])(t):Object(s["E"])(Object(s["d"])(t),Object(s["d"])(f[c]),!1)}return Object(s["E"])(Object(s["d"])(e),Object(s["d"])(f[c]),!1)}function m(e){return d[e]}function v(){return d[c]}p(u,o),p(l,a)},"77Zs":function(e,t,n){var r=n("Xi7e");function i(){this.__data__=new r,this.size=0}e.exports=i},"7G+c":function(e,t,n){"use strict";n.d(t,"e",function(){return l}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return f}),n.d(t,"d",function(){return d}),n.d(t,"f",function(){return v});var r=n("bYtY"),i=n("B/3G"),o=n("4NO4"),a=n("D5nY"),s=function(){function e(e){this.data=e.data||(e.sourceFormat===i["d"]?{}:[]),this.sourceFormat=e.sourceFormat||i["h"],this.seriesLayoutBy=e.seriesLayoutBy||i["a"],this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var n=0;n1?"."+t[1]:"")}function l(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var u=r["H"];function c(e,t,n){var i="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function l(e){return e&&r["O"](e)?e:"-"}function u(e){return!(null==e||isNaN(e)||!isFinite(e))}var c="time"===t,f=e instanceof Date;if(c||f){var d=c?Object(o["l"])(e):e;if(!isNaN(+d))return Object(a["h"])(d,i,n);if(f)return"-"}if("ordinal"===t)return r["z"](e)?l(e):r["w"](e)&&u(e)?e+"":"-";var h=Object(o["k"])(e);return u(h)?s(h):r["z"](e)?l(e):"boolean"===typeof e?e+"":"-"}var f=["a","b","c","d","e","f","g"],d=function(e,t){return"{"+e+(null==t?"":t)+"}"};function h(e,t,n){r["r"](t)||(t=[t]);var o=t.length;if(!o)return"";for(var a=t[0].$vars||[],s=0;s':'';var l=n.markerId||"markerX";return{renderMode:s,content:"{"+l+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}}function g(e,t){return t=t||"transparent",r["y"](e)?e:r["x"](e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function m(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}},"7bO/":function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"take",function(){return Me}),n.d(r,"takem",function(){return Ce}),n.d(r,"put",function(){return Te}),n.d(r,"all",function(){return Ie}),n.d(r,"race",function(){return De}),n.d(r,"call",function(){return Ee}),n.d(r,"apply",function(){return Pe}),n.d(r,"cps",function(){return Le}),n.d(r,"fork",function(){return Ne}),n.d(r,"spawn",function(){return Re}),n.d(r,"join",function(){return ze}),n.d(r,"cancel",function(){return Fe}),n.d(r,"select",function(){return Be}),n.d(r,"actionChannel",function(){return Ye}),n.d(r,"cancelled",function(){return Ve}),n.d(r,"flush",function(){return Ge}),n.d(r,"getContext",function(){return We}),n.d(r,"setContext",function(){return Ue}),n.d(r,"takeEvery",function(){return yt}),n.d(r,"takeLatest",function(){return bt}),n.d(r,"throttle",function(){return xt});var i=Object.assign||function(e){for(var t=1;t=0&&e.splice(n,1)}var O={from:function(e){var t=Array(e.length);for(var n in e)b(e,n)&&(t[n]=e[n]);return t}};function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=i({},e),n=new Promise(function(e,n){t.resolve=e,t.reject=n});return t.promise=n,t}function k(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=void 0,r=new Promise(function(r){n=setTimeout(function(){return r(t)},e)});return r[c]=function(){return clearTimeout(n)},r}function j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++e}}var M=j(),C=function(e){throw e},T=function(e){return{value:e,done:!0}};function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],i={name:n,next:e,throw:t,return:T};return r&&(i[l]=!0),"undefined"!==typeof Symbol&&(i[Symbol.iterator]=function(){return i}),i}function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";"undefined"===typeof window?console.log("redux-saga "+e+": "+t+"\n"+(n&&n.stack||n)):console[e](t,n)}function A(e,t){return function(){return e.apply(void 0,arguments)}}var E=function(e,t){return e+" has been deprecated in favor of "+t+", please update your code"},P=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},L=function(e,t){return(e?e+".":"")+"setContext(props): argument "+t+" is not a plain object"},N=function(e){return function(t){return e(Object.defineProperty(t,f,{value:!0}))}},R="Channel's Buffer overflow!",z=1,F=2,B=3,Y=4,V={isEmpty:p,put:g,take:g};function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=arguments[1],n=new Array(e),r=0,i=0,o=0,a=function(t){n[i]=t,i=(i+1)%e,r++},s=function(){if(0!=r){var t=n[o];return n[o]=null,r--,o=(o+1)%e,t}},l=function(){var e=[];while(r)e.push(s());return e};return{isEmpty:function(){return 0==r},put:function(s){if(r0&&void 0!==arguments[0]?arguments[0]:W.fixed(),t=!1,n=[];function r(){if(t&&n.length)throw P("Cannot have a closed channel with pending takers");if(n.length&&!e.isEmpty())throw P("Cannot have pending takers with non empty buffer")}function i(i){if(r(),v(i,x.notUndef,ie),!t){if(!n.length)return e.put(i);for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:W.none(),n=arguments[2];arguments.length>2&&v(n,x.func,"Invalid match function passed to eventChannel");var r=oe(t),i=function(){r.__closed__||(o&&o(),r.close())},o=e(function(e){te(e)?i():n&&!n(e)||r.put(e)});if(r.__closed__&&o(),!x.func(o))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:r.take,flush:r.flush,close:i}}function se(e){var t=ae(function(t){return e(function(e){e[f]?t(e):K(function(){return t(e)})})});return $({},t,{take:function(e,n){arguments.length>1&&(v(n,x.func,"channel.take's matcher argument must be a function"),e[u]=n),t.take(e)}})}var le=a("IO"),ue="TAKE",ce="PUT",fe="ALL",de="RACE",he="CALL",pe="CPS",ge="FORK",me="JOIN",ve="CANCEL",ye="SELECT",be="ACTION_CHANNEL",xe="CANCELLED",_e="FLUSH",we="GET_CONTEXT",Oe="SET_CONTEXT",Se="\n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)",ke=function(e,t){var n;return n={},n[le]=!0,n[e]=t,n},je=function(e){return v(qe.fork(e),x.object,"detach(eff): argument must be a fork effect"),e[ge].detached=!0,e};function Me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*";if(arguments.length&&v(arguments[0],x.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),x.pattern(e))return ke(ue,{pattern:e});if(x.channel(e))return ke(ue,{channel:e});throw new Error("take(patternOrChannel): argument "+String(e)+" is not valid channel or a valid pattern")}Me.maybe=function(){var e=Me.apply(void 0,arguments);return e[ue].maybe=!0,e};var Ce=A(Me.maybe,E("takem","take.maybe"));function Te(e,t){return arguments.length>1?(v(e,x.notUndef,"put(channel, action): argument channel is undefined"),v(e,x.channel,"put(channel, action): argument "+e+" is not a valid channel"),v(t,x.notUndef,"put(channel, action): argument action is undefined")):(v(e,x.notUndef,"put(action): argument action is undefined"),t=e,e=null),ke(ce,{channel:e,action:t})}function Ie(e){return ke(fe,e)}function De(e){return ke(de,e)}function Ae(e,t,n){v(t,x.notUndef,e+": argument fn is undefined");var r=null;if(x.array(t)){var i=t;r=i[0],t=i[1]}else if(t.fn){var o=t;r=o.context,t=o.fn}return r&&x.string(t)&&x.func(r[t])&&(t=r[t]),v(t,x.func,e+": argument "+t+" is not a function"),{context:r,fn:t,args:n}}function Ee(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:[];return ke(he,Ae("apply",{context:e,fn:t},n))}function Le(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r1)return Ie(t.map(function(e){return ze(e)}));var r=t[0];return v(r,x.notUndef,"join(task): argument task is undefined"),v(r,x.task,"join(task): argument "+r+" is not a valid Task object "+Se),ke(me,r)}function Fe(){for(var e=arguments.length,t=Array(e),n=0;n1)return Ie(t.map(function(e){return Fe(e)}));var r=t[0];return 1===t.length&&(v(r,x.notUndef,"cancel(task): argument task is undefined"),v(r,x.task,"cancel(task): argument "+r+" is not a valid Task object "+Se)),ke(ve,r||d)}function Be(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1&&(v(t,x.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),v(t,x.buffer,"actionChannel(pattern, buffer): argument "+t+" is not a valid buffer")),ke(be,{pattern:e,buffer:t})}function Ve(){return ke(xe,{})}function Ge(e){return v(e,x.channel,"flush(channel): argument "+e+" is not valid channel"),ke(_e,e)}function We(e){return v(e,x.string,"getContext(prop): argument "+e+" is not a string"),ke(we,e)}function Ue(e){return v(e,x.object,L(null,e)),ke(Oe,e)}Te.resolve=function(){var e=Te.apply(void 0,arguments);return e[ce].resolve=!0,e},Te.sync=A(Te.resolve,E("put.sync","put.resolve"));var He=function(e){return function(t){return t&&t[le]&&t[e]}},qe={take:He(ue),put:He(ce),all:He(fe),race:He(de),call:He(he),cps:He(pe),fork:He(ge),join:He(me),cancel:He(ve),select:He(ye),actionChannel:He(be),cancelled:He(xe),flush:He(_e),getContext:He(we),setContext:He(Oe)},Ke=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:function(){return g},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"anonymous",u=arguments[8];v(e,x.iterator,Qe);var f="[...effects]",h=A(ee,E(f,"all("+f+")")),p=o.sagaMonitor,m=o.logger,y=o.onError,b=m||D,k=function(e){var t=e.sagaStack;!t&&e.stack&&(t=-1!==e.stack.split("\n")[0].indexOf(e.message)?e.stack:"Error: "+e.message+"\n"+e.stack),b("error","uncaught at "+l,t||e.message||e)},j=se(t),C=Object.create(i);z.cancel=g;var T=fe(a,l,e,u),I={name:l,cancel:N,isRunning:!0},P=nt(l,I,F);function N(){I.isRunning&&!I.isCancelled&&(I.isCancelled=!0,z(Je))}function R(){e._isRunning&&!e._isCancelled&&(e._isCancelled=!0,P.cancelAll(),F(Je))}return u&&(u.cancel=R),e._isRunning=!0,z(),T;function z(t,n){if(!I.isRunning)throw new Error("Trying to resume an already finished generator");try{var r=void 0;n?r=e.throw(t):t===Je?(I.isCancelled=!0,z.cancel(),r=x.func(e.return)?e.return(Je):{done:!0,value:Je}):r=t===$e?x.func(e.return)?e.return():{done:!0}:e.next(t),r.done?(I.isMainRunning=!1,I.cont&&I.cont(r.value)):B(r.value,a,"",z)}catch(e){I.isCancelled&&k(e),I.isMainRunning=!1,I.cont(e,!0)}}function F(t,n){e._isRunning=!1,j.close(),n?(t instanceof Error&&Object.defineProperty(t,"sagaStack",{value:"at "+l+" \n "+(t.sagaStack||t.stack),configurable:!0}),T.cont||(t instanceof Error&&y?y(t):k(t)),e._error=t,e._isAborted=!0,e._deferredEnd&&e._deferredEnd.reject(t)):(e._result=t,e._deferredEnd&&e._deferredEnd.resolve(t)),T.cont&&T.cont(t,n),T.joiners.forEach(function(e){return e.cb(t,n)}),T.joiners=null}function B(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],i=M();p&&p.effectTriggered({effectId:i,parentEffectId:t,label:n,effect:e});var o=void 0;function a(e,t){o||(o=!0,r.cancel=g,p&&(t?p.effectRejected(i,e):p.effectResolved(i,e)),r(e,t))}a.cancel=g,r.cancel=function(){if(!o){o=!0;try{a.cancel()}catch(e){k(e)}a.cancel=g,p&&p.effectCancelled(i)}};var s=void 0;return x.promise(e)?Y(e,a):x.helper(e)?X(it(e),i,a):x.iterator(e)?V(e,i,l,a):x.array(e)?h(e,i,a):(s=qe.take(e))?G(s,a):(s=qe.put(e))?U(s,a):(s=qe.all(e))?ee(s,i,a):(s=qe.race(e))?ne(s,i,a):(s=qe.call(e))?H(s,i,a):(s=qe.cps(e))?q(s,a):(s=qe.fork(e))?X(s,i,a):(s=qe.join(e))?$(s,a):(s=qe.cancel(e))?J(s,a):(s=qe.select(e))?re(s,a):(s=qe.actionChannel(e))?ie(s,a):(s=qe.flush(e))?le(s,a):(s=qe.cancelled(e))?oe(s,a):(s=qe.getContext(e))?ue(s,a):(s=qe.setContext(e))?ce(s,a):a(e)}function Y(e,t){var n=e[c];x.func(n)?t.cancel=n:x.func(e.abort)&&(t.cancel=function(){return e.abort()}),e.then(t,function(e){return t(e,!0)})}function V(e,i,a,s){ot(e,t,n,r,C,o,i,a,s)}function G(e,t){var n=e.channel,r=e.pattern,i=e.maybe;n=n||j;var o=function(e){return e instanceof Error?t(e,!0):te(e)&&!i?t($e):t(e)};try{n.take(o,tt(r))}catch(e){return t(e,!0)}t.cancel=o.cancel}function U(e,t){var r=e.channel,i=e.action,o=e.resolve;K(function(){var e=void 0;try{e=(r?r.put:n)(i)}catch(e){if(r||o)return t(e,!0);k(e)}if(!o||!x.promise(e))return t(e);Y(e,t)})}function H(e,t,n){var r=e.context,i=e.fn,o=e.args,a=void 0;try{a=i.apply(r,o)}catch(e){return n(e,!0)}return x.promise(a)?Y(a,n):x.iterator(a)?V(a,t,i.name,n):n(a)}function q(e,t){var n=e.context,r=e.fn,i=e.args;try{var o=function(e,n){return x.undef(e)?t(n):t(e,!0)};r.apply(n,i.concat(o)),o.cancel&&(t.cancel=function(){return o.cancel()})}catch(e){return t(e,!0)}}function X(e,i,a){var s=e.context,l=e.fn,u=e.args,c=e.detached,f=rt({context:s,fn:l,args:u});try{Z();var d=ot(f,t,n,r,C,o,i,l.name,c?null:g);c?a(d):f._isRunning?(P.addTask(d),a(d)):f._error?P.abort(f._error):a(d)}finally{Q()}}function $(e,t){if(e.isRunning()){var n={task:T,cb:t};t.cancel=function(){return w(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())}function J(e,t){e===d&&(e=T),e.isRunning()&&e.cancel(),t()}function ee(e,t,n){var r=Object.keys(e);if(!r.length)return n(x.array(e)?[]:{});var i=0,o=void 0,a={},s={};function l(){i===r.length&&(o=!0,n(x.array(e)?O.from(Ke({},a,{length:r.length})):a))}r.forEach(function(e){var t=function(t,r){o||(r||te(t)||t===$e||t===Je?(n.cancel(),n(t,r)):(a[e]=t,i++,l()))};t.cancel=g,s[e]=t}),n.cancel=function(){o||(o=!0,r.forEach(function(e){return s[e].cancel()}))},r.forEach(function(n){return B(e[n],t,n,s[n])})}function ne(e,t,n){var r=void 0,i=Object.keys(e),o={};i.forEach(function(t){var a=function(o,a){if(!r)if(a)n.cancel(),n(o,!0);else if(!te(o)&&o!==$e&&o!==Je){var s;n.cancel(),r=!0;var l=(s={},s[t]=o,s);n(x.array(e)?[].slice.call(Ke({},l,{length:i.length})):l)}};a.cancel=g,o[t]=a}),n.cancel=function(){r||(r=!0,i.forEach(function(e){return o[e].cancel()}))},i.forEach(function(n){r||B(e[n],t,n,o[n])})}function re(e,t){var n=e.selector,i=e.args;try{var o=n.apply(void 0,[r()].concat(i));t(o)}catch(e){t(e,!0)}}function ie(e,n){var r=e.pattern,i=e.buffer,o=tt(r);o.pattern=r,n(ae(t,i||W.fixed(),o))}function oe(e,t){t(!!I.isCancelled)}function le(e,t){e.flush(t)}function ue(e,t){t(C[e])}function ce(e,t){_.assign(C,e),t()}function fe(e,t,n,r){var i,o,a;return n._deferredEnd=null,o={},o[s]=!0,o.id=e,o.name=t,i="done",a={},a[i]=a[i]||{},a[i].get=function(){if(n._deferredEnd)return n._deferredEnd.promise;var e=S();return n._deferredEnd=e,n._isRunning||(n._error?e.reject(n._error):e.resolve(n._result)),e.promise},o.cont=r,o.joiners=[],o.cancel=R,o.isRunning=function(){return n._isRunning},o.isCancelled=function(){return n._isCancelled},o.isAborted=function(){return n._isAborted},o.result=function(){return n._result},o.error=function(){return n._error},o.setContext=function(e){v(e,x.object,L("task",e)),_.assign(C,e)},Xe(o,a),o}}var at="runSaga(storeInterface, saga, ...args)",st=at+": saga argument must be a Generator function!";function lt(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function ct(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=void 0===t?{}:t,r=ut(e,["context"]),i=r.sagaMonitor,o=r.logger,a=r.onError;if(x.func(r))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(o&&!x.func(o))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(a&&!x.func(a))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(r.emitter&&!x.func(r.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function s(e){var t=e.getState,l=e.dispatch,u=ne();return u.emit=(r.emitter||m)(u.emit),s.run=lt.bind(null,{context:n,subscribe:u.subscribe,dispatch:l,getState:t,sagaMonitor:i,logger:o,onError:a}),function(e){return function(t){i&&i.actionDispatched&&i.actionDispatched(t);var n=e(t);return u.emit(t),n}}}return s.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},s.setContext=function(e){v(e,x.object,L("sagaMiddleware",e)),_.assign(n,e)},s}var ft={done:!0,value:void 0},dt={};function ht(e){return x.channel(e)?"channel":Array.isArray(e)?String(e.map(function(e){return String(e)})):String(e)}function pt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",r=void 0,i=t;function o(t,n){if(i===dt)return ft;if(n)throw i=dt,n;r&&r(t);var o=e[i](),a=o[0],s=o[1],l=o[2];return i=a,r=l,i===dt?ft:s}return I(o,function(e){return o(null,e)},n,!0)}function gt(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i2?n-2:0),i=2;i3?r-3:0),o=3;o2?n-2:0),i=2;i2?n-2:0),i=2;i3?r-3:0),o=3;o0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}e.exports=o},"8wmI":function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},"9Nap":function(e,t,n){var r=n("/9aa"),i=1/0;function o(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}e.exports=o},"9ggG":function(e,t,n){var r=n("Z0cm"),i=n("/9aa"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}e.exports=s},"9lhp":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("bYtY"),i="undefined"!==typeof Float32Array,o=i?Float32Array:Array;function a(e){return Object(r["r"])(e)?i?new Float32Array(e):e:new o(e)}},AGgm:function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===r(e)}var o=Object.prototype.hasOwnProperty;function a(e,t){return o.call(e,t)}function s(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function l(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function u(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function c(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var f=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,d=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(f.source+"|"+d.source,"gi"),p=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=n("vWgF");function m(e,t){var n=0;return a(g,t)?g[t]:35===t.charCodeAt(0)&&p.test(t)&&(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10),u(n))?c(n):e}function v(e){return e.indexOf("\\")<0?e:e.replace(f,"$1")}function y(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(h,function(e,t,n){return t||m(e,n)})}var b=/[&<>"]/,x=/[&<>"]/g,_={"&":"&","<":"<",">":">",'"':"""};function w(e){return _[e]}function O(e){return b.test(e)?e.replace(x,w):e}var S=/[.?*+^$[\]\\(){}|-]/g;function k(e){return e.replace(S,"\\$&")}function j(e){switch(e){case 9:case 32:return!0}return!1}function M(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var C=n("fKCf");function T(e){return C.test(e)}function I(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function D(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=n("2KYT"),t.lib.ucmicro=n("1dGX"),t.assign=s,t.isString=i,t.has=a,t.unescapeMd=v,t.unescapeAll=y,t.isValidEntityCode=u,t.fromCodePoint=c,t.escapeHtml=O,t.arrayReplaceAt=l,t.isSpace=j,t.isWhiteSpace=M,t.isMdAsciiPunct=I,t.isPunctChar=T,t.escapeRE=k,t.normalizeReference=D},AP2z:function(e,t,n){var r=n("nmnc"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function l(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}e.exports=l},AVZG:function(e,t,n){"use strict";n.d(t,"c",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s});var r=n("bYtY"),i=n("4NO4");function o(e,t,n){n=n||{};var i=e.coordinateSystem,o=t.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,c=o.dim,f=i.getRect(),d=[f.x,f.x+f.width,f.y,f.y+f.height],h={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,g="x"===c?[d[2]-p,d[3]+p]:[d[0]-p,d[1]+p];if(s){var m=s.toGlobalCoord(s.dataToCoord(0));g[h.onZero]=Math.max(Math.min(m,g[1]),g[0])}a.position=["y"===c?g[h[u]]:d[0],"x"===c?g[h[u]]:d[3]],a.rotation=Math.PI/2*("x"===c?0:1);var v={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=v[l],a.labelOffset=s?g[h[l]]-g[h.onZero]:0,t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),r["J"](n.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var y=t.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-y:y,a.z2=1,a}function a(e){return"cartesian2d"===e.get("coordinateSystem")}function s(e){var t={xAxisModel:null,yAxisModel:null};return r["j"](t,function(n,r){var o=r.replace(/Model$/,""),a=e.getReferringComponents(o,i["b"]).models[0];t[r]=a}),t}},"B/3G":function(e,t,n){"use strict";n.d(t,"i",function(){return i}),n.d(t,"f",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"e",function(){return s}),n.d(t,"d",function(){return l}),n.d(t,"g",function(){return u}),n.d(t,"h",function(){return c}),n.d(t,"a",function(){return f}),n.d(t,"b",function(){return d});var r=n("bYtY"),i=Object(r["f"])(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),o="original",a="arrayRows",s="objectRows",l="keyedColumns",u="typedArray",c="unknown",f="column",d="row"},B1jb:function(e,t,n){"use strict";var r=n("AGgm").isSpace;e.exports=function(e,t,n,i){var o,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(o=e.src.charCodeAt(u),35!==o||u>=c)return!1;a=1,o=e.src.charCodeAt(++u);while(35===o&&u6||uu&&r(e.src.charCodeAt(s-1))&&(c=s),e.line=t+1,l=e.push("heading_open","h"+String(a),1),l.markup="########".slice(0,a),l.map=[t,e.line],l=e.push("inline","",0),l.content=e.src.slice(u,c).trim(),l.map=[t,e.line],l.children=[],l=e.push("heading_close","h"+String(a),-1),l.markup="########".slice(0,a),!0))}},B8du:function(e,t){function n(){return!1}e.exports=n},"BPd+":function(e,t,n){"use strict";n.d(t,"b",function(){return v}),n.d(t,"a",function(){return y});var r=n("B/3G"),i=n("4NO4"),o=n("bYtY"),a=n("KxfA"),s=n("t9mh"),l=n("7a4p"),u=n("7G+c"),c=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(e){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(e){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(e,t){},e.prototype.retrieveValueFromItem=function(e,t){},e.prototype.convertValue=function(e,t){return Object(s["b"])(e,t)},e}();function f(e,t){var n=new c,i=e.data,s=n.sourceFormat=e.sourceFormat,u=e.startIndex,f="";e.seriesLayoutBy!==r["a"]&&Object(l["c"])(f);var m=[],v={},y=e.dimensionsDefine;if(y)Object(o["j"])(y,function(e,t){var n=e.name,r={index:t,name:n,displayName:e.displayName};if(m.push(r),null!=n){var i="";Object(o["o"])(v,n)&&Object(l["c"])(i),v[n]=r}});else for(var b=0;b=0))try{t.hostname=f.toASCII(t.hostname)}catch(e){}return c.encode(c.format(t))}function y(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||m.indexOf(t.protocol)>=0))try{t.hostname=f.toUnicode(t.hostname)}catch(e){}return c.decode(c.format(t),c.decode.defaultChars+"%")}function b(e,t){if(!(this instanceof b))return new b(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new l,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new u,this.validateLink=g,this.normalizeLink=v,this.normalizeLinkText=y,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return r.assign(this.options,e),this},b.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&(t=e,e=d[t],!e))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},b.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},b.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},CWsV:function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(t=this.attrs,n=0,r=t.length;n=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},CXva:function(e,t,n){"use strict";var r=n("CWsV"),i=n("AGgm").isWhiteSpace,o=n("AGgm").isPunctChar,a=n("AGgm").isMdAsciiPunct;function s(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},s.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(o),i},s.prototype.scanDelims=function(e,t){var n,r,s,l,u,c,f,d,h,p=e,g=!0,m=!0,v=this.posMax,y=this.src.charCodeAt(e);n=e>0?this.src.charCodeAt(e-1):32;while(p=0;a--)r[a]&&!u["j"](r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,e[n]=r}}),delete e[w],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){var r=n[t||0];if(r)return r;if(null==t)for(var i=0;i=t:"max"===n?e<=t:e===t}function B(e,t){return e.join(",")===t.join(",")}var Y=N,V=o["j"],G=o["x"],W=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function U(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=W.length;n=0;g--){var m=e[g];if(s||(d=m.data.rawIndexOf(m.stackedByDimension,f)),d>=0){var v=m.data.getByRawIndex(m.stackResultDimension,d);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&h>=0&&v>0||"samesign"===l&&h<=0&&v<0){h=Object(de["a"])(h,v),p=v;break}}}return r[0]=h,r[1]=p,r})})}var ge=n("T4UG"),me=n("sS/r"),ve=n("6Ic6"),ye=n("x6Kt"),be=n("Dagg"),xe=n("3soF"),_e=n("y+Vt"),we=n("hhxK"),Oe=n("fWwa"),Se=n("iLNv"),ke=n("KCsZ"),je=n("VR9l"),Me=n("OQFs"),Ce=Object(u["m"])(),Te={itemStyle:Object(ke["a"])(je["a"],!0),lineStyle:Object(ke["a"])(Me["a"],!0)},Ie={lineStyle:"stroke",itemStyle:"fill"};function De(e,t){var n=e.visualStyleMapper||Te[t];return n||(console.warn("Unkown style type '"+t+"'."),Te.itemStyle)}function Ae(e,t){var n=e.visualDrawType||Ie[t];return n||(console.warn("Unkown style type '"+t+"'."),"fill")}var Ee={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),a=De(e,r),s=a(i),l=i.getShallow("decal");l&&(n.setVisual("decal",l),l.dirty=!0);var u=Ae(e,r),c=s[u],f=Object(o["u"])(c)?c:null,d="auto"===s.fill||"auto"===s.stroke;if(!s[u]||f||d){var h=e.getColorFromPalette(e.name,null,t.getSeriesCount());s[u]||(s[u]=h,n.setVisual("colorFromPalette",!0)),s.fill="auto"===s.fill||Object(o["u"])(s.fill)?h:s.fill,s.stroke="auto"===s.stroke||Object(o["u"])(s.stroke)?h:s.stroke}if(n.setVisual("style",s),n.setVisual("drawType",u),!t.isSeriesFiltered(e)&&f)return n.setVisual("colorFromPalette",!1),{dataEach:function(t,n){var r=e.getDataParams(n),i=Object(o["l"])({},s);i[u]=f(r),t.setItemVisual(n,"style",i)}}}},Pe=new c["a"],Le={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e)){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=De(e,r),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(e,t){var n=e.getRawDataItem(t);if(n&&n[r]){Pe.option=n[r];var s=i(Pe),l=e.ensureUniqueItemVisual(t,"style");Object(o["l"])(l,s),Pe.option.decal&&(e.setItemVisual(t,"decal",Pe.option.decal),Pe.option.decal.dirty=!0),a in s&&e.setItemVisual(t,"colorFromPalette",!1)}}:null}}}},Ne={performRawSeries:!0,overallReset:function(e){var t=Object(o["f"])();e.eachSeries(function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var r=e.type+"-"+n,i=t.get(r);i||(i={},t.set(r,i)),Ce(e).scope=i}}),e.eachSeries(function(t){if(!t.isColorBySeries()&&!e.isSeriesFiltered(t)){var n=t.getRawData(),r={},i=t.getData(),o=Ce(t).scope,a=t.visualStyleAccessPath||"itemStyle",s=Ae(t,a);i.each(function(e){var t=i.getRawIndex(e);r[t]=e}),n.each(function(e){var a=r[e],l=i.getItemVisual(a,"colorFromPalette");if(l){var u=i.ensureUniqueItemVisual(a,"style"),c=n.getName(e)||e+"",f=n.count();u[s]=t.getColorFromPalette(c,o,f)}})}})}},Re=n("LcXL"),ze=n("dqUG"),Fe=n("jTL6"),Be=Math.PI;function Ye(e,t){t=t||{},o["i"](t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Re["a"],r=new ye["a"]({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i,a=new ze["a"]({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),s=new ye["a"]({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return n.add(s),t.showSpinner&&(i=new Fe["a"]({shape:{startAngle:-Be/2,endAngle:-Be/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),i.animateShape(!0).when(1e3,{endAngle:3*Be/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*Be/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=a.getBoundingRect().width,o=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-2*o-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner&&n?0:5+n/2)+(t.showSpinner?0:n/2)+(n?0:o),u=e.getHeight()/2;t.showSpinner&&i.setShape({cx:l,cy:u}),s.setShape({x:l-o,y:u-o,width:2*o,height:2*o}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var Ve=n("n7yn"),Ge=n("iRjW"),We=function(){function e(e,t,n,r){this._stageTaskMap=Object(o["f"])(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return e.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each(function(e){var t=e.overallTask;t&&t.dirty()})},e.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,i=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex,o=i?n.step:null,a=r&&r.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData(),i=r.count(),o=n.progressiveEnabled&&t.incrementalPrepareRender&&i>=n.threshold,a=e.get("large")&&i>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?i:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},e.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=Object(o["f"])();e.eachSeries(function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),t._pipe(e,e.dataTask)})},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;Object(o["j"])(this._allHandlers,function(r){var i=e.get(r.uid)||e.set(r.uid,{}),a="";Object(o["b"])(!(r.reset&&r.overallReset),a),r.reset&&this._createSeriesStageTask(r,i,t,n),r.overallReset&&this._createOverallStageTask(r,i,t,n)},this)},e.prototype.prepareView=function(e,t,n,r){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=n,o.api=r,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},e.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},e.prototype.performVisualTasks=function(e,t,n){this._performStageTasks(this._visualHandlers,e,t,n)},e.prototype._performStageTasks=function(e,t,n,r){r=r||{};var i=!1,a=this;function s(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}Object(o["j"])(e,function(e,o){if(!r.visualType||r.visualType===e.visualType){var l=a._stageTaskMap.get(e.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var f,d=c.agentStubMap;d.each(function(e){s(r,e)&&(e.dirty(),f=!0)}),f&&c.dirty(),a.updatePayload(c,n);var h=a.getPerformArgs(c,r.block);d.each(function(e){e.perform(h)}),c.perform(h)&&(i=!0)}else u&&u.each(function(o,l){s(r,o)&&o.dirty();var u=a.getPerformArgs(o,r.block);u.skip=!e.performRawSeries&&t.isSeriesFiltered(o.context.model),a.updatePayload(o,n),o.perform(u)&&(i=!0)})}}),this.unfinished=i||this.unfinished},e.prototype.performSeriesTasks=function(e){var t;e.eachSeries(function(e){t=e.dataTask.perform()||t}),this.unfinished=t||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)})},e.prototype.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)},e.prototype._createSeriesStageTask=function(e,t,n,r){var i=this,a=t.seriesTaskMap,s=t.seriesTaskMap=Object(o["f"])(),l=e.seriesType,u=e.getTargetSeries;function c(t){var o=t.uid,l=s.set(o,a&&a.get(o)||Object(Ve["a"])({plan:Ze,reset:Xe,count:Je}));l.context={model:t,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(t,l)}e.createOnAllSeries?n.eachRawSeries(c):l?n.eachRawSeriesByType(l,c):u&&u(n,r).each(c)},e.prototype._createOverallStageTask=function(e,t,n,r){var i=this,a=t.overallTask=t.overallTask||Object(Ve["a"])({reset:Ue});a.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:i};var s=a.agentStubMap,l=a.agentStubMap=Object(o["f"])(),u=e.seriesType,c=e.getTargetSeries,f=!0,d=!1,h="";function p(e){var t=e.uid,n=l.set(t,s&&s.get(t)||(d=!0,Object(Ve["a"])({reset:He,onDirty:Ke})));n.context={model:e,overallProgress:f},n.agent=a,n.__block=f,i._pipe(e,n)}Object(o["b"])(!e.createOnAllSeries,h),u?n.eachRawSeriesByType(u,p):c?c(n,r).each(p):(f=!1,Object(o["j"])(n.getSeries(),p)),d&&a.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=t),r.tail&&r.tail.pipe(t),r.tail=t,t.__idxInPipeline=r.count++,t.__pipeline=r},e.wrapStageHandler=function(e,t){return Object(o["u"])(e)&&(e={overallReset:e,seriesType:et(e)}),e.uid=Object(Ge["c"])("stageHandler"),t&&(e.visualType=t),e},e}();function Ue(e){e.overallReset(e.ecModel,e.api,e.payload)}function He(e){return e.overallProgress&&qe}function qe(){this.agent.dirty(),this.getDownstream().dirty()}function Ke(){this.agent&&this.agent.dirty()}function Ze(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function Xe(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Object(u["p"])(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Object(o["D"])(t,function(e,t){return $e(t)}):Qe}var Qe=$e(0);function $e(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o0&&c===i.length-u.length){var f=i.slice(0,c);"data"!==f&&(t.mainType=f,t[u.toLowerCase()]=e,o=!0)}}s.hasOwnProperty(i)&&(n[i]=e,o=!0),o||(r[i]=e)})}return{cptQuery:t,dataQuery:n,otherQuery:r}},e.prototype.filter=function(e,t){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=t.cptQuery,l=t.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(e,t.otherQuery,r,i));function u(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),mt=["symbol","symbolSize","symbolRotate","symbolOffset"],vt=mt.concat(["symbolKeepAspect"]),yt={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){for(var r={},i={},a=!1,s=0;s0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,n){if(!this[Qt])if(this._disposed)An(this.id);else{var r,i,a;if(Object(o["x"])(t)&&(n=t.lazyUpdate,r=t.silent,i=t.replaceMerge,a=t.transition,t=t.notMerge),this[Qt]=!0,!this._model||t){var s=new Y(this._api),l=this._theme,u=this._model=new I;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,s)}this._model.setOption(e,{replaceMerge:i},Nn);var c={seriesTransition:a,optionChanged:!0};if(n)this[$t]={silent:r,updateParams:c},this[Qt]=!1,this.getZr().wakeUp();else{try{un(this),dn.update.call(this,null,c)}catch(e){throw this[$t]=null,this[Qt]=!1,e}this._ssr||this._zr.flush(),this[$t]=null,this[Qt]=!1,mn.call(this,r),vn.call(this,r)}}},t.prototype.setTheme=function(){Object(_["a"])("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Et&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var t=this._zr.painter;return t.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var t=this._zr.painter;return t.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(a["a"].svgSupported){var e=this._zr,t=e.storage.getDisplayList();return Object(o["j"])(t,function(e){e.stopAnimation(null,!0)}),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,n=this._model,r=[],i=this;Object(o["j"])(t,function(e){n.eachComponent({mainType:e},function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)})});var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return Object(o["j"])(r,function(e){e.group.ignore=!1}),a}An(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,r=Math.min,a=Math.max,s=1/0;if(Yn[n]){var l=s,u=s,c=-s,f=-s,d=[],h=e&&e.pixelRatio||this.getDevicePixelRatio();Object(o["j"])(Bn,function(i,s){if(i.group===n){var h=t?i.getZr().painter.getSvgDom().innerHTML:i.renderToCanvas(Object(o["d"])(e)),p=i.getDom().getBoundingClientRect();l=r(p.left,l),u=r(p.top,u),c=a(p.right,c),f=a(p.bottom,f),d.push({dom:h,left:p.left,top:p.top})}}),l*=h,u*=h,c*=h,f*=h;var p=c-l,g=f-u,m=Dt["d"].createCanvas(),v=i["a"](m,{renderer:t?"svg":"canvas"});if(v.resize({width:p,height:g}),t){var y="";return Object(o["j"])(d,function(e){var t=e.left-l,n=e.top-u;y+=''+e.dom+""}),v.painter.getSvgRoot().innerHTML=y,e.connectedBackgroundColor&&v.painter.setBackgroundColor(e.connectedBackgroundColor),v.refreshImmediately(),v.painter.toDataURL()}return e.connectedBackgroundColor&&v.add(new ye["a"]({shape:{x:0,y:0,width:p,height:g},style:{fill:e.connectedBackgroundColor}})),Object(o["j"])(d,function(e){var t=new be["a"]({style:{x:e.left*h-l,y:e.top*h-u,image:e.dom}});v.add(t)}),v.refreshImmediately(),m.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}An(this.id)},t.prototype.convertToPixel=function(e,t){return hn(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return hn(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){if(!this._disposed){var n,r=this._model,i=u["q"](r,e);return Object(o["j"])(i,function(e,r){r.indexOf("Models")>=0&&Object(o["j"])(e,function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(t);else if("seriesModels"===r){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n=n||o.containPoint(t,e))}else 0},this)},this),!!n}An(this.id)},t.prototype.getVisual=function(e,t){var n=this._model,r=u["q"](n,e,{defaultMainType:"series"}),i=r.seriesModel;var o=i.getData(),a=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?o.indexOfRawIndex(r.dataIndex):null;return null!=a?xt(o,a,t):_t(o,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;Object(o["j"])(Dn,function(t){var n=function(n){var r,i=e.getModel(),a=n.target,s="globalout"===t;if(s?r={}:a&&Object(jt["a"])(a,function(e){var t=Object(we["a"])(e);if(t&&null!=t.dataIndex){var n=t.dataModel||i.getSeriesByIndex(t.seriesIndex);return r=n&&n.getDataParams(t.dataIndex,t.dataType)||{},!0}if(t.eventData)return r=Object(o["l"])({},t.eventData),!0},!0),r){var l=r.componentType,u=r.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=r.seriesIndex);var c=l&&null!=u&&i.getComponent(l,u),f=c&&e["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];0,r.event=n,r.type=t,e._$eventProcessor.eventInfo={targetEl:a,packedEvent:r,model:c,view:f},e.trigger(t,r)}};n.zrEventfulCallAtLast=!0,e._zr.on(t,n,e)}),Object(o["j"])(Pn,function(t,n){e._messageCenter.on(n,function(e){this.trigger(n,e)},e)}),Object(o["j"])(["selectchanged"],function(t){e._messageCenter.on(t,function(e){this.trigger(t,e)},e)}),Ot(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?An(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)An(this.id);else{this._disposed=!0;var e=this.getDom();e&&u["u"](this.getDom(),Gn,"");var t=this,n=t._api,r=t._model;Object(o["j"])(t._componentsViews,function(e){e.dispose(r,n)}),Object(o["j"])(t._chartsViews,function(e){e.dispose(r,n)}),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Bn[t.id]}},t.prototype.resize=function(e){if(!this[Qt])if(this._disposed)An(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this[$t]&&(null==r&&(r=this[$t].silent),n=!0,this[$t]=null),this[Qt]=!0;try{n&&un(this),dn.update.call(this,{type:"resize",animation:Object(o["l"])({duration:0},e&&e.animation)})}catch(e){throw this[Qt]=!1,e}this[Qt]=!1,mn.call(this,r),vn.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed)An(this.id);else if(Object(o["x"])(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Fn[e]){var n=Fn[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){this._disposed?An(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=Object(o["l"])({},e);return t.type=Pn[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)An(this.id);else if(Object(o["x"])(t)||(t={silent:!!t}),En[e.type]&&this._model)if(this[Qt])this._pendingActions.push(e);else{var n=t.silent;gn.call(this,e,n);var r=t.flush;r?this._zr.flush():!1!==r&&a["a"].browser.weChat&&this._throttledZrFlush(),mn.call(this,n),vn.call(this,n)}},t.prototype.updateLabelLayout=function(){It.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)An(this.id);else{var t=e.seriesIndex,n=this.getModel(),r=n.getSeriesByIndex(t);0,r.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){e.clearColorPalette(),e.eachSeries(function(e){e.clearColorPalette()})}function t(e){var t=[],n=[],r=!1;if(e.eachComponent(function(e,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===e?n:t).push({zlevel:o,z:a,idx:i.componentIndex,type:e,key:s})}),r){var i,a,l=t.concat(n);Object(s["a"])(l,function(e,t){return e.zlevel===t.zlevel?e.z-t.z:e.zlevel-t.zlevel}),Object(o["j"])(l,function(t){var n=e.getComponent(t.type,t.idx),r=t.zlevel,o=t.key;null!=i&&(r=Math.max(i,r)),o?(r===i&&o!==a&&r++,a=o):a&&(r===i&&r++,a=""),i=r,n.setZLevel(r)})}}function n(e){for(var t=[],n=e.currentStates,r=0;rt.get("hoverLayerThreshold")&&!a["a"].node&&!a["a"].worker&&t.eachSeries(function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.eachRendered(function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)})}})}function l(e,t){var n=e.get("blendMode")||null;t.eachRendered(function(e){e.isGroup||(e.style.blend=n)})}function c(e,t){if(!e.preventAutoZ){var n=e.get("z")||0,r=e.get("zlevel")||0;t.eachRendered(function(e){return f(e,n,r,-1/0),!0})}}function f(e,t,n,r){var i=e.getTextContent(),o=e.getTextGuideLine(),a=e.isGroup;if(a)for(var s=e.childrenRef(),l=0;l0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;t.eachRendered(function(e){if(e.states&&e.states.emphasis){if(xe["d"](e))return;if(e instanceof _e["b"]&&Object(Oe["B"])(e),e.__dirty){var t=e.prevStates;t&&e.useStates(t)}if(i){e.stateTransition=a;var r=e.getTextContent(),o=e.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}e.__dirty&&n(e)}})}un=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),cn(e,!0),cn(e,!1),t.plan()},cn=function(e,t){for(var n=e._model,r=e._scheduler,i=t?e._componentsViews:e._chartsViews,o=t?e._componentsMap:e._chartsMap,a=e._zr,s=e._api,l=0;l=0)){nr.push(n);var a=ot.wrapStageHandler(n,i);a.__prio=t,a.__raw=n,e.push(a)}}function ir(e,t){Fn[e]=t}function or(e,t,n){var r=Object(At["a"])("registerMap");r&&r(e,t,n)}var ar=St["b"];tr(Vt,Ee),tr(Ut,Le),tr(Ut,Ne),tr(Vt,yt),tr(Ut,bt),tr(Zt,Ct),qn(fe),Kn(Nt,he),ir("default",Ye),$n({type:Oe["c"],event:Oe["c"],update:Oe["c"]},o["G"]),$n({type:Oe["b"],event:Oe["b"],update:Oe["b"]},o["G"]),$n({type:Oe["f"],event:Oe["f"],update:Oe["f"]},o["G"]),$n({type:Oe["i"],event:Oe["i"],update:Oe["i"]},o["G"]),$n({type:Oe["h"],event:Oe["h"],update:Oe["h"]},o["G"]),Hn("light",st),Hn("dark",ht)},GDDg:function(e,t,n){"use strict";var r=n("bYtY"),i=n("Qxkt"),o=n("gPAo"),a=n("KxfA"),s=n("B/3G"),l=function(){function e(e,t){this._encode=e,this._schema=t}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function u(e,t){var n={},i=n.encode={},o=Object(r["f"])(),a=[],u=[],f={};Object(r["j"])(e.dimensions,function(t){var n=e.getDimensionInfo(t),r=n.coordDim;if(r){0;var l=n.coordDimIndex;c(i,r)[l]=t,n.isExtraCoord||(o.set(r,1),d(n.type)&&(a[0]=t),c(f,r)[l]=e.getDimensionIndex(n.name)),n.defaultTooltip&&u.push(t)}s["i"].each(function(e,t){var r=c(i,t),o=n.otherDims[t];null!=o&&!1!==o&&(r[o]=n.name)})});var h=[],p={};o.each(function(e,t){var n=i[t];p[t]=n[0],h=h.concat(n)}),n.dataDimsOnCoord=h,n.dataDimIndicesOnCoord=Object(r["D"])(h,function(t){return e.getDimensionInfo(t).storeDimIndex}),n.encodeFirstDimNotExtra=p;var g=i.label;g&&g.length&&(a=g.slice());var m=i.tooltip;return m&&m.length?u=m.slice():u.length||(u=a.slice()),i.defaultedLabel=a,i.defaultedTooltip=u,n.userOutput=new l(f,t),n}function c(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function f(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function d(e){return!("ordinal"===e||"time"===e)}var h,p,g,m,v,y,b,x=function(){function e(e){this.otherDims={},null!=e&&r["l"](this,e)}return e}(),_=x,w=n("4NO4"),O=n("hhxK"),S=n("7G+c"),k=n("0M5g"),j=n("gLkn"),M=r["x"],C=r["D"],T="undefined"===typeof Int32Array?Array:Int32Array,I="e\0\0",D=-1,A=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],E=["_approximateExtent"],P=function(){function e(e,t){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;Object(j["d"])(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(i=!0,n=e),n=n||["x","y"];for(var o={},a=[],s={},l=!1,u={},c=0;c=t)){var n=this._store,r=n.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,a=r.getSource().sourceFormat,l=a===s["f"];if(l&&!r.pure)for(var u=[],c=e;c0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,i=n[e];i||(i=n[e]={});var o=i[t];return null==o&&(o=this.getVisual(t),r["r"](o)?o=o.slice():M(o)&&(o=r["l"]({},o)),i[t]=o),o},e.prototype.setItemVisual=function(e,t,n){var i=this._itemVisuals[e]||{};this._itemVisuals[e]=i,M(t)?r["l"](i,t):i[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){M(e)?r["l"](this._layout,e):this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?r["l"](this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var n=this.hostModel&&this.hostModel.seriesIndex;Object(O["b"])(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){r["j"](this._graphicEls,function(n,r){n&&e&&e.call(t,n,r)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:C(this.dimensions,this._getDimInfo,this),this.hostModel)),v(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];r["u"](n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(r["N"](arguments)))})},e.internalField=function(){h=function(e){var t=e._invertedIndicesMap;r["j"](t,function(n,r){var i=e._dimInfos[r],o=i.ordinalMeta,a=e._store;if(o){n=t[r]=new T(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),r[t]=s}}}(),e}(),L=P,N=n("D5nY");function R(e,t){Object(S["e"])(e)||(e=Object(S["c"])(e)),t=t||{};var n=t.coordDimensions||[],i=t.dimensionsDefine||e.dimensionsDefine||[],o=Object(r["f"])(),a=[],l=F(e,n,i,t.dimensionsCount),u=t.canOmitUnusedDimensions&&Object(j["e"])(l),c=i===e.dimensionsDefine,f=c?Object(j["c"])(e):Object(j["b"])(i),d=t.encodeDefine;!d&&t.encodeDefaulter&&(d=t.encodeDefaulter(e,l));for(var h=Object(r["f"])(d),p=new k["a"](l),g=0;g0&&(i.name=o+(a-1)),a++,t.set(o,a)}}function F(e,t,n,i){var o=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,i||0);return Object(r["j"])(t,function(e){var t;Object(r["x"])(e)&&(t=e.dimsDef)&&(o=Math.max(o,t.length))}),o}function B(e,t,n){var r=t.data;if(n||r.hasOwnProperty(e)){var i=0;while(r.hasOwnProperty(e+i))i++;e+=i}return t.set(e,!0),e}var Y=n("HznI"),V=function(){function e(e){this.coordSysDims=[],this.axisMap=Object(r["f"])(),this.categoryAxisMap=Object(r["f"])(),this.coordSysName=e}return e}();function G(e){var t=e.get("coordinateSystem"),n=new V(t),r=W[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var W={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",w["b"]).models[0],o=e.getReferringComponents("yAxis",w["b"]).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),U(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),U(o)&&(r.set("y",o),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",w["b"]).models[0];t.coordSysDims=["single"],n.set("single",i),U(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",w["b"]).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),U(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),U(a)&&(r.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,i){var o=e.ecModel,a=o.getComponent("parallel",e.get("parallelIndex")),s=t.coordSysDims=a.dimensions.slice();Object(r["j"])(a.parallelAxisIndex,function(e,r){var a=o.getComponent("parallelAxis",e),l=s[r];n.set(l,a),U(a)&&(i.set(l,a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=r))})}};function U(e){return"category"===e.get("type")}var H=n("7hqr");function q(e,t){var n,i=e.get("coordinateSystem"),o=Y["a"].get(i);return t&&t.coordSysDims&&(n=r["D"](t.coordSysDims,function(e){var n={name:e},r=t.axisMap.get(e);if(r){var i=r.get("type");n.type=f(i)}return n})),n||(n=o&&(o.getDimensionsInfo?o.getDimensionsInfo():o.dimensions.slice())||["x","y"]),n}function K(e,t,n){var i,o;return n&&r["j"](e,function(e,r){var a=e.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=r),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(o=!0)}),o||null==i||(e[i].otherDims.itemName=0),i}function Z(e,t,n){n=n||{};var i,o=t.getSourceManager(),a=!1;e?(a=!0,i=Object(S["c"])(e)):(i=o.getSource(),a=i.sourceFormat===s["f"]);var l=G(t),u=q(t,l),c=n.useEncodeDefaulter,f=r["u"](c)?c:c?r["h"](N["c"],u,t):null,d={coordDimensions:u,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:f,canOmitUnusedDimensions:!a},h=R(i,d),p=K(h.dimensions,n.createInvertedIndices,l),g=a?null:o.getSharedDataStore(h),m=Object(H["a"])(t,{schema:h,store:g}),v=new L(h,t);v.setCalculationInfo(m);var y=null!=p&&X(i)?function(e,t,n,r){return r===p?n:this.defaultDimValueGetter(e,t,n,r)}:null;return v.hasItemOption=!1,v.initData(a?i:g,null,y),v}function X(e){if(e.sourceFormat===s["f"]){var t=Q(e.data||[]);return!r["r"](Object(w["g"])(t))}}function Q(e){var t=0;while(t=4)return!1;for(d=e.parentType,e.parentType="paragraph";h3)){if(e.sCount[h]>=e.blkIndent&&(l=e.bMarks[h]+e.tShift[h],u=e.eMarks[h],l=u)))){c=61===f?1:2;break}if(!(e.sCount[h]<0)){for(i=!1,o=0,a=p.length;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.history||Object(c["b"])(),n={initialReducer:{router:I(t)},setupMiddlewares:function(e){return[D(t)].concat(Object(o["a"])(e))},setupApp:function(e){e._history=z(t)}},r=Object(p["a"])(e,n),a=r.start;return r.router=s,r.start=l,r;function s(e){u()(A(e),"[app.router] router should be function, but got ".concat(Object(i["a"])(e))),r._router=e}function l(e){L(e)&&(e=d.a.querySelector(e),u()(e,"[app.start] container ".concat(e," not found"))),u()(!e||P(e),"[app.start] container should be HTMLElement"),u()(r._router,"[app.start] router must be registered before app.start()"),r._store||a.call(r);var t=r._store;if(r._getProvider=N.bind(null,t,r),!e)return N(t,this,this._router);R(e,t,r,r._router),r._plugin.apply("onHmr")(R.bind(null,e,t,r))}}function P(e){return"object"===Object(i["a"])(e)&&null!==e&&e.nodeType&&e.nodeName}function L(e){return"string"===typeof e}function N(e,t,n){var i=function(i){return s.a.createElement(h["a"],{store:e},n(Object(r["a"])({app:t,history:t._history},i)))};return i}function R(e,t,r,i){var o=n("i8i4");o.render(s.a.createElement(N(t,r,i)),e)}function z(e){var t=e.listen;return e.listen=function(n){var r=n.toString(),i="handleLocationChange"===n.name&&r.indexOf("onLocationChanged")>-1||r.indexOf(".inTimeTravelling")>-1&&r.indexOf(".inTimeTravelling")>-1&&r.indexOf("arguments[2]")>-1;return n(e.location,e.action),t.call(e,function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&r++,"text"===i[t].type&&t+11||n>0&&!e.noHeader;return Object(o["j"])(e.blocks,function(e){var n=g(e);n>=t&&(t=n+ +(r&&(!n||h(e)&&!e.noHeader)))}),t}return 0}function m(e,t,n,s){var c=t.noHeader,f=b(g(t)),d=[],h=t.blocks||[];Object(o["b"])(!h||Object(o["r"])(h)),h=h||[];var m=e.orderMode;if(t.sortBlocks&&m){h=h.slice();var v={valueAsc:"asc",valueDesc:"desc"};if(Object(o["o"])(v,m)){var y=new a["a"](v[m],null);h.sort(function(e,t){return y.evaluate(e.sortParam,t.sortParam)})}else"seriesDesc"===m&&h.reverse()}Object(o["j"])(h,function(n,r){var i=t.valueFormatter,a=p(n)(i?Object(o["l"])(Object(o["l"])({},e),{valueFormatter:i}):e,n,r>0?f.html:0,s);null!=a&&d.push(a)});var _="richText"===e.renderMode?d.join(f.richText):x(d.join(""),c?n:f.html);if(c)return _;var w=Object(i["e"])(t.header,"ordinal",e.useUTC),S=u(s,e.renderMode).nameStyle;return"richText"===e.renderMode?O(e,w,S)+f.richText+_:x('
'+Object(r["a"])(w)+"
"+_,n)}function v(e,t,n,r){var a=e.renderMode,s=t.noName,l=t.noValue,c=!t.markerType,f=t.name,d=e.useUTC,h=t.valueFormatter||e.valueFormatter||function(e){return e=Object(o["r"])(e)?e:[e],Object(o["D"])(e,function(e,t){return Object(i["e"])(e,Object(o["r"])(m)?m[t]:m,d)})};if(!s||!l){var p=c?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",a),g=s?"":Object(i["e"])(f,"ordinal",d),m=t.valueType,v=l?[]:h(t.value),y=!c||!s,b=!c&&s,k=u(r,a),j=k.nameStyle,M=k.valueStyle;return"richText"===a?(c?"":p)+(s?"":O(e,g,j))+(l?"":S(e,v,y,b,M)):x((c?"":p)+(s?"":_(g,!c,j))+(l?"":w(v,y,b,M)),n)}}function y(e,t,n,r,i,o){if(e){var a=p(e),s={useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return a(s,e,0,o)}}function b(e){return{html:c[e],richText:f[e]}}function x(e,t){var n='
',r="margin: "+t+"px 0 0";return'
'+e+n+"
"}function _(e,t,n){var i=t?"margin-left:2px":"";return''+Object(r["a"])(e)+""}function w(e,t,n,i){var a=n?"10px":"20px",s=t?"float:right;margin-left:"+a:"";return e=Object(o["r"])(e)?e:[e],''+Object(o["D"])(e,function(e){return Object(r["a"])(e)}).join("  ")+""}function O(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function S(e,t,n,r,i){var a=[i],s=r?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Object(o["r"])(t)?t.join(" "):t,a)}function k(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return Object(i["b"])(r)}function j(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var M=function(){function e(){this.richTextStyles={},this._nextStyleNameId=Object(s["f"])()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var r="richText"===n?this._generateStyleName():null,a=Object(i["d"])({color:t,type:e,renderMode:n,markerId:r});return Object(o["y"])(a)?a:(this.richTextStyles[r]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};Object(o["r"])(t)?Object(o["j"])(t,function(e){return Object(o["l"])(n,e)}):Object(o["l"])(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}()},Ioao:function(e,t,n){var r=n("heNW"),i=Math.max;function o(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);while(++a=0||(f.push(e),Object(l["u"])(e)&&(e={install:e}),e.install(d))}},IwbS:function(e,t,n){"use strict";n.r(t),n.d(t,"extendShape",function(){return L}),n.d(t,"extendPath",function(){return R}),n.d(t,"registerShape",function(){return z}),n.d(t,"getShapeClass",function(){return F}),n.d(t,"makePath",function(){return B}),n.d(t,"makeImage",function(){return Y}),n.d(t,"mergePath",function(){return G}),n.d(t,"resizePath",function(){return W}),n.d(t,"subPixelOptimizeLine",function(){return U}),n.d(t,"subPixelOptimizeRect",function(){return H}),n.d(t,"subPixelOptimize",function(){return q}),n.d(t,"getTransform",function(){return K}),n.d(t,"applyTransform",function(){return Z}),n.d(t,"transformDirection",function(){return X}),n.d(t,"groupTransition",function(){return J}),n.d(t,"clipPointsByRect",function(){return ee}),n.d(t,"clipRectByRect",function(){return te}),n.d(t,"createIcon",function(){return ne}),n.d(t,"linePolygonIntersect",function(){return re}),n.d(t,"lineLineIntersect",function(){return ie}),n.d(t,"setTooltipConfig",function(){return se}),n.d(t,"traverseElements",function(){return ue});var r=n("NC18"),i=n("Fofx"),o=n("QBsz"),a=n("y+Vt");n.d(t,"Path",function(){return a["b"]});var s=n("hYLj"),l=n("Dagg");n.d(t,"Image",function(){return l["a"]});var u=n("LcXL");n.d(t,"Group",function(){return u["a"]});var c=n("dqUG");n.d(t,"Text",function(){return c["a"]});var f=n("2fw6");n.d(t,"Circle",function(){return f["a"]});var d=n("rmlV");n.d(t,"Ellipse",function(){return d["a"]});var h=n("SqI9");n.d(t,"Sector",function(){return h["a"]});var p=n("RXMa");n.d(t,"Ring",function(){return p["a"]});var g=n("h7HQ");n.d(t,"Polygon",function(){return g["a"]});var m=n("1Jh7");n.d(t,"Polyline",function(){return m["a"]});var v=n("x6Kt");n.d(t,"Rect",function(){return v["a"]});var y=n("yxFR");n.d(t,"Line",function(){return y["a"]});var b=n("rA99");n.d(t,"BezierCurve",function(){return b["a"]});var x=n("jTL6");n.d(t,"Arc",function(){return x["a"]});var _=n("1MYJ");n.d(t,"CompoundPath",function(){return _["a"]});var w=n("SKnc");n.d(t,"LinearGradient",function(){return w["a"]});var O=n("3e3G");n.d(t,"RadialGradient",function(){return O["a"]});var S=n("mFDi");n.d(t,"BoundingRect",function(){return S["a"]});var k=n("yoD8");n.d(t,"OrientedBoundingRect",function(){return k["a"]});var j=n("3Oj7");n.d(t,"Point",function(){return j["a"]});var M=n("OS9S");n.d(t,"IncrementalDisplayable",function(){return M["a"]});var C=n("nPnh"),T=n("bYtY"),I=n("hhxK"),D=n("3soF");n.d(t,"updateProps",function(){return D["h"]}),n.d(t,"initProps",function(){return D["c"]}),n.d(t,"removeElement",function(){return D["e"]}),n.d(t,"removeElementWithFadeOut",function(){return D["f"]}),n.d(t,"isElementRemoved",function(){return D["d"]});var A=Math.max,E=Math.min,P={};function L(e){return a["b"].extend(e)}var N=r["c"];function R(e,t){return N(e,t)}function z(e,t){P[e]=t}function F(e){if(P.hasOwnProperty(e))return P[e]}function B(e,t,n,i){var o=r["b"](e,t);return n&&("center"===i&&(n=V(n,o.getBoundingRect())),W(o,n)),o}function Y(e,t,n){var r=new l["a"]({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var i={width:e.width,height:e.height};r.setStyle(V(t,i))}}});return r}function V(e,t){var n,r=t.width/t.height,i=e.height*r;i<=e.width?n=e.height:(i=e.width,n=i/r);var o=e.x+e.width/2,a=e.y+e.height/2;return{x:o-i/2,y:a-n/2,width:i,height:n}}var G=r["d"];function W(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}}function U(e,t){return C["b"](e,e,{lineWidth:t}),e}function H(e){return C["c"](e.shape,e.shape,e.style),e}var q=C["a"];function K(e,t){var n=i["c"]([]);while(e&&e!==t)i["e"](n,e.getLocalTransform(),n),e=e.parent;return n}function Z(e,t,n){return t&&!Object(T["s"])(t)&&(t=s["c"].getLocalTransform(t)),n&&(t=i["d"]([],t)),o["b"]([],e,t)}function X(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0];return o=Z(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Q(e){return!e.isGroup}function $(e){return null!=e.shape}function J(e,t,n){if(e&&t){var r=i(e);t.traverse(function(e){if(Q(e)&&e.anid){var t=r[e.anid];if(t){var i=o(e);e.attr(o(t)),Object(D["h"])(e,i,n,Object(I["a"])(e).dataIndex)}}})}function i(e){var t={};return e.traverse(function(e){Q(e)&&e.anid&&(t[e.anid]=e)}),t}function o(e){var t={x:e.x,y:e.y,rotation:e.rotation};return $(e)&&(t.shape=Object(T["l"])({},e.shape)),t}}function ee(e,t){return Object(T["D"])(e,function(e){var n=e[0];n=A(n,t.x),n=E(n,t.x+t.width);var r=e[1];return r=A(r,t.y),r=E(r,t.y+t.height),[n,r]})}function te(e,t){var n=A(e.x,t.x),r=E(e.x+e.width,t.x+t.width),i=A(e.y,t.y),o=E(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function ne(e,t,n){var r=Object(T["l"])({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),Object(T["i"])(i,n),new l["a"](r)):B(e.replace("path://",""),r,n,"center")}function re(e,t,n,r,i){for(var o=0,a=i[i.length-1];o1)return!1;var m=oe(h,p,c,f)/d;return!(m<0||m>1)}function oe(e,t,n,r){return e*r-n*t}function ae(e){return e<=1e-6&&e>=-1e-6}function se(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Object(T["y"])(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=e.formatterParamsExtra;l&&Object(T["j"])(Object(T["B"])(l),function(e){Object(T["o"])(s,e)||(s[e]=l[e],s.$vars.push(e))});var u=Object(I["a"])(e.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:Object(T["i"])({content:r,formatterParams:s},i)}}function le(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function ue(e,t){if(e)if(Object(T["r"])(e))for(var n=0;n=0||o&&r["p"](o,l)<0)){var u=n.getShallow(l,t);null!=u&&(a[e[s][0]]=u)}}return a}}},KMkd:function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},KOyK:function(e,t,n){"use strict";var r=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,i=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,t){var n,o,a,s,l,u,c=e.pos;if(60!==e.src.charCodeAt(c))return!1;for(l=e.pos,u=e.posMax;;){if(++c>=u)return!1;if(s=e.src.charCodeAt(c),60===s)return!1;if(62===s)break}return n=e.src.slice(l+1,c),i.test(n)?(o=e.md.normalizeLink(n),!!e.md.validateLink(o)&&(t||(a=e.push("link_open","a",1),a.attrs=[["href",o]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(n),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=n.length+2,!0)):!!r.test(n)&&(o=e.md.normalizeLink("mailto:"+n),!!e.md.validateLink(o)&&(t||(a=e.push("link_open","a",1),a.attrs=[["href",o]],a.markup="autolink",a.info="auto",a=e.push("text","",0),a.content=e.md.normalizeLinkText(n),a=e.push("link_close","a",-1),a.markup="autolink",a.info="auto"),e.pos+=n.length+2,!0))}},KfNM:function(e,t){var n=Object.prototype,r=n.toString;function i(e){return r.call(e)}e.exports=i},KxfA:function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"c",function(){return g}),n.d(t,"b",function(){return y}),n.d(t,"d",function(){return _}),n.d(t,"e",function(){return O});var r,i,o,a,s,l=n("bYtY"),u=n("4NO4"),c=n("7G+c"),f=n("B/3G"),d=function(){function e(e,t){var n=Object(c["e"])(e)?e:Object(c["c"])(e);this._source=n;var r=this._data=n.data;n.sourceFormat===f["g"]&&(this._offset=0,this._dimSize=t,this._data=r),s(this,r,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(e,t){},e.prototype.appendData=function(e){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var e;s=function(e,i,o){var s=o.sourceFormat,u=o.seriesLayoutBy,c=o.startIndex,d=o.dimensionsDefine,h=a[w(s,u)];if(Object(l["l"])(e,h),s===f["g"])e.getItem=t,e.count=r,e.fillStorage=n;else{var p=g(s,u);e.getItem=Object(l["c"])(p,null,i,c,d);var m=y(s,u);e.count=Object(l["c"])(m,null,i,c,d)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,r=this._dimSize,i=r*e,o=0;ou&&(u=h)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(e){for(var t=0;t-1?(l+="top:50%",c+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(l+="left:50%",c+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var f=o*Math.PI/180,d=s+i,p=d*Math.abs(Math.cos(f))+d*Math.abs(Math.sin(f)),g=Math.round(100*((p-Math.SQRT2*i)/2+Math.SQRT2*i-(p-d)/2))/100;l+=";"+a+":-"+g+"px";var m=t+" solid "+i+"px;",v=["position:absolute;width:"+s+"px;height:"+s+"px;",l+";"+c+";","border-bottom:"+m,"border-right:"+m,"background-color:"+r+";"];return'
'}function j(e,t){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+e/2+"s "+n,i="opacity"+r+",visibility"+r;return t||(r=" "+e+"s "+n,i+=c["a"].transformSupported?","+w+r:",left"+r+",top"+r),_+":"+i}function M(e,t,n){var r=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!c["a"].transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=c["a"].transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+w+":"+a+";":[["top",0],["left",0],[m,a]]}function C(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px");var i=e.get("textShadowColor"),o=e.get("textShadowBlur")||0,a=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&o&&t.push("text-shadow:"+a+"px "+s+"px "+o+"px "+i),Object(u["j"])(["decoration","align"],function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)}),t.join(";")}function T(e,t,n){var r=[],i=e.get("transitionDuration"),o=e.get("backgroundColor"),a=e.get("shadowBlur"),s=e.get("shadowColor"),l=e.get("shadowOffsetX"),c=e.get("shadowOffsetY"),f=e.getModel("textStyle"),d=Object(x["d"])(e,"html"),p=l+"px "+c+"px "+a+"px "+s;return r.push("box-shadow:"+p),t&&i&&r.push(j(i,n)),o&&r.push("background-color:"+o),Object(u["j"])(["width","color","radius"],function(t){var n="border-"+t,i=Object(h["g"])(n),o=e.get(i);null!=o&&r.push(n+":"+o+("color"===t?"":"px"))}),r.push(C(f)),null!=d&&r.push("padding:"+Object(h["f"])(d).join("px ")+"px"),r.join(";")+";"}function I(e,t,n,r,i){var o=t&&t.painter;if(n){var a=o&&o.getViewportRoot();a&&Object(d["d"])(e,a,document.body,r,i)}else{e[0]=r,e[1]=i;var s=o&&o.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var D=function(){function e(e,t,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,c["a"].wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=t.getZr(),o=this._appendToBody=n&&n.appendToBody;I(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),o?document.body.appendChild(r):e.appendChild(r),this._container=e;var a=this;r.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},r.onmousemove=function(e){if(e=e||window.event,!a._enterable){var t=i.handler,n=i.painter.getViewportRoot();Object(f["d"])(n,e,!0),t.dispatch("mousemove",e)}},r.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return e.prototype.update=function(e){var t=this._container,n=b(t,"position"),r=t.style;"absolute"!==r.position&&"absolute"!==n&&(r.position="relative");var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this.el.className=e.get("className")||""},e.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=O+T(e,!this._firstShow,this._longHide)+M(i[0],i[1],!0)+"border-color:"+Object(h["b"])(t)+";"+(e.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(e,t,n,r,i){var o=this.el;if(null!=e){var a="";if(Object(u["y"])(i)&&"item"===n.get("trigger")&&!p(n)&&(a=k(n,r,i)),Object(u["y"])(e))o.innerHTML=e+a;else if(e){o.innerHTML="",Object(u["r"])(e)||(e=[e]);for(var s=0;s=0?this._tryShow(n,r):"leave"===e&&this._hide(r))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,n=this._api,r=e.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&i.manuallyShowTip(e,t,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,t,n,r){if(r.from!==this.uid&&!c["a"].node&&n.getDom()){var i=ie(r,n);this._ticket="";var o=r.dataByCoordSys,a=ue(r,t,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y){var l=te;l.x=r.x,l.y=r.y,l.update(),Object(Q["a"])(l).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:l},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return;var u=Object(V["a"])(r,t),f=u.point[0],d=u.point[1];null!=f&&null!=d&&this._tryShow({offsetX:f,offsetY:d,target:u.el,position:r.position,positionDefault:"bottom"},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},t.prototype.manuallyHideTip=function(e,t,n,r){var i=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(ie(r,n))},t.prototype._manuallyAxisShowTip=function(e,t,n,r){var i=r.seriesIndex,o=r.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=t.getSeriesByIndex(i);if(s){var l=s.getData(),u=re([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===u.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}}},t.prototype._tryShow=function(e,t){var n=e.target,r=this._tooltipModel;if(r){this._lastX=e.offsetX,this._lastY=e.offsetY;var i=e.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,e);else if(n){var o,a;this._lastDataByCoordSys=null,Object(J["a"])(n,function(e){return null!=Object(Q["a"])(e).dataIndex?(o=e,!0):null!=Object(Q["a"])(e).tooltipConfig?(a=e,!0):void 0},!0),o?this._showSeriesItemTooltip(e,o,t):a?this._showComponentItemTooltip(e,a,t):this._hide(t)}else this._lastDataByCoordSys=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var n=e.get("showDelay");t=Object(u["c"])(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},t.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,r=this._tooltipModel,i=[t.offsetX,t.offsetY],o=re([t.tooltipOption],r),a=this._renderMode,s=[],l=Object(x["c"])("section",{blocks:[],noHeader:!0}),c=[],f=new x["a"];Object(u["j"])(e,function(e){Object(u["j"])(e.dataByAxis,function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),i=e.value;if(t&&null!=i){var o=q["d"](i,t.axis,n,e.seriesDataIndices,e.valueLabelOpt),d=Object(x["c"])("section",{header:o,noHeader:!Object(u["O"])(o),sortBlocks:!0,blocks:[]});l.blocks.push(d),Object(u["j"])(e.seriesDataIndices,function(l){var p=n.getSeriesByIndex(l.seriesIndex),g=l.dataIndexInside,m=p.getDataParams(g);if(!(m.dataIndex<0)){m.axisDim=e.axisDim,m.axisIndex=e.axisIndex,m.axisType=e.axisType,m.axisId=e.axisId,m.axisValue=H["c"](t.axis,{value:i}),m.axisValueLabel=o,m.marker=f.makeTooltipMarker("item",Object(h["b"])(m.color),a);var v=Object($["b"])(p.formatTooltip(g,!0,null)),y=v.frag;if(y){var b=re([p],r).get("valueFormatter");d.blocks.push(b?Object(u["l"])({valueFormatter:b},y):y)}v.text&&c.push(v.text),s.push(m)}})}})}),l.blocks.reverse(),c.reverse();var d=t.position,p=o.get("order"),g=Object(x["b"])(l,f,a,p,n.get("useUTC"),o.get("textStyle"));g&&c.unshift(g);var m="richText"===a?"\n\n":"
",v=c.join(m);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(o,d,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,v,s,Math.random()+"",i[0],i[1],d,null,f)})},t.prototype._showSeriesItemTooltip=function(e,t,n){var r=this._ecModel,i=Object(Q["a"])(t),o=i.seriesIndex,a=r.getSeriesByIndex(o),s=i.dataModel||a,l=i.dataIndex,c=i.dataType,f=s.getData(c),d=this._renderMode,p=e.positionDefault,g=re([f.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),m=g.get("trigger");if(null==m||"item"===m){var v=s.getDataParams(l,c),y=new x["a"];v.marker=y.makeTooltipMarker("item",Object(h["b"])(v.color),d);var b=Object($["b"])(s.formatTooltip(l,!1,c)),_=g.get("order"),w=g.get("valueFormatter"),O=b.frag,S=O?Object(x["b"])(w?Object(u["l"])({valueFormatter:w},O):O,y,d,_,r.get("useUTC"),g.get("textStyle")):b.text,k="item_"+s.name+"_"+l;this._showOrMove(g,function(){this._showTooltipContent(g,S,v,k,e.offsetX,e.offsetY,e.position,e.target,y)}),n({type:"showTip",dataIndexInside:l,dataIndex:f.getRawIndex(l),seriesIndex:o,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,n){var r=Object(Q["a"])(t),i=r.tooltipConfig,o=i.option||{};if(Object(u["y"])(o)){var a=o;o={content:a,formatter:a}}var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var c=e.positionDefault,f=re(s,this._tooltipModel,c?{position:c}:null),d=f.get("content"),h=Math.random()+"",p=new x["a"];this._showOrMove(f,function(){var n=Object(u["d"])(f.get("formatterParams")||{});this._showTooltipContent(f,d,n,h,e.offsetX,e.offsetY,e.position,t,p)}),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,t,n,r,i,o,a,s,l){if(this._ticket="",e.get("showContent")&&e.get("show")){var c=this._tooltipContent;c.setEnterable(e.get("enterable"));var f=e.get("formatter");a=a||e.get("position");var d=t,p=this._getNearestPoint([i,o],n,e.get("trigger"),e.get("borderColor")),g=p.color;if(f)if(Object(u["y"])(f)){var m=e.ecModel.get("useUTC"),v=Object(u["r"])(n)?n[0]:n,y=v&&v.axisType&&v.axisType.indexOf("time")>=0;d=f,y&&(d=Object(X["h"])(v.axisValue,d,m)),d=Object(h["c"])(d,n,!0)}else if(Object(u["u"])(f)){var b=Object(u["c"])(function(t,r){t===this._ticket&&(c.setContent(r,l,e,g,a),this._updatePosition(e,a,i,o,c,n,s))},this);this._ticket=r,d=f(n,r,b)}else d=f;c.setContent(d,l,e,g,a),c.show(e,g),this._updatePosition(e,a,i,o,c,n,s)}},t.prototype._getNearestPoint=function(e,t,n,r){return"axis"===n||Object(u["r"])(t)?{color:r||("html"===this._renderMode?"#fff":"none")}:Object(u["r"])(t)?void 0:{color:r||t.color||t.borderColor}},t.prototype._updatePosition=function(e,t,n,r,i,o,a){var s=this._api.getWidth(),l=this._api.getHeight();t=t||e.get("position");var c=i.getSize(),f=e.get("align"),d=e.get("verticalAlign"),h=a&&a.getBoundingRect().clone();if(a&&h.applyTransform(a.transform),Object(u["u"])(t)&&(t=t([n,r],o,i.el,h,{viewSize:[s,l],contentSize:c.slice()})),Object(u["r"])(t))n=Object(B["m"])(t[0],s),r=Object(B["m"])(t[1],l);else if(Object(u["x"])(t)){var g=t;g.width=c[0],g.height=c[1];var m=Object(G["d"])(g,{width:s,height:l});n=m.x,r=m.y,f=null,d=null}else if(Object(u["y"])(t)&&a){var v=se(t,h,c,e.get("borderWidth"));n=v[0],r=v[1]}else{v=oe(n,r,i,s,l,f?null:20,d?null:20);n=v[0],r=v[1]}if(f&&(n-=le(f)?c[0]/2:"right"===f?c[0]:0),d&&(r-=le(d)?c[1]/2:"bottom"===d?c[1]:0),p(e)){v=ae(n,r,i,s,l);n=v[0],r=v[1]}i.moveTo(n,r)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===e.length;return i&&Object(u["j"])(n,function(n,o){var a=n.dataByAxis||[],s=e[o]||{},l=s.dataByAxis||[];i=i&&a.length===l.length,i&&Object(u["j"])(a,function(e,n){var o=l[n]||{},a=e.seriesDataIndices||[],s=o.seriesDataIndices||[];i=i&&e.value===o.value&&e.axisType===o.axisType&&e.axisId===o.axisId&&a.length===s.length,i&&Object(u["j"])(a,function(e,t){var n=s[t];i=i&&e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex}),r&&Object(u["j"])(e.seriesDataIndices,function(e){var n=e.seriesIndex,o=t[n],a=r[n];o&&a&&a.data!==o.data&&(i=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=t,!!i},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,t){!c["a"].node&&t.getDom()&&(Object(ee["a"])(this,"_updatePosition"),this._tooltipContent.dispose(),U["b"]("itemTooltip",t))},t.type="tooltip",t}(Z["a"]);function re(e,t,n){var r,i=t.ecModel;n?(r=new W["a"](n,i,i),r=new W["a"](t.option,r,i)):r=t;for(var o=e.length-1;o>=0;o--){var a=e[o];a&&(a instanceof W["a"]&&(a=a.get("tooltip",!0)),Object(u["y"])(a)&&(a={formatter:a}),a&&(r=new W["a"](a,r,i)))}return r}function ie(e,t){return e.dispatchAction||Object(u["c"])(t.dispatchAction,t)}function oe(e,t,n,r,i,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(e+l+o+2>r?e-=l+o:e+=o),null!=a&&(t+u+a>i?t-=u+a:t+=a),[e,t]}function ae(e,t,n,r,i){var o=n.getSize(),a=o[0],s=o[1];return e=Math.min(e+a,r)-a,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function se(e,t,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-i/2,l=t.y+c/2-o/2;break;case"top":s=t.x+u/2-i/2,l=t.y-o-a;break;case"bottom":s=t.x+u/2-i/2,l=t.y+c+a;break;case"left":s=t.x-i-a,l=t.y+c/2-o/2;break;case"right":s=t.x+u+a,l=t.y+c/2-o/2}return[s,l]}function le(e){return"center"===e||"middle"===e}function ue(e,t,n){var r=Object(K["r"])(e).queryOptionMap,i=r.keys()[0];if(i&&"series"!==i){var o=Object(K["t"])(t,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse(function(t){var n=Object(Q["a"])(t).tooltipConfig;if(n&&n.name===e.name)return s=t,!0}),s?{componentMainType:i,componentIndex:a.componentIndex,el:s}:void 0}}}var ce=ne;function fe(e){Object(i["a"])(r["a"]),e.registerComponentModel(l),e.registerComponentView(ce),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},u["G"]),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},u["G"])}n.d(t,"a",function(){return fe})},LcsW:function(e,t,n){var r=n("kekF"),i=r(Object.getPrototypeOf,Object);e.exports=i},LsHQ:function(e,t,n){var r=n("EA7m"),i=n("mv/X");function o(e){return r(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);while(++r=0}function c(e){return e+"Axis"}function f(e,t){var n,r=Object(o["f"])(),i=[],a=Object(o["f"])();e.eachComponent({mainType:"dataZoom",query:t},function(e){a.get(e.uid)||l(e)});do{n=!1,e.eachComponent("dataZoom",s)}while(n);function s(e){!a.get(e.uid)&&u(e)&&(l(e),n=!0)}function l(e){a.set(e.uid,!0),i.push(e),c(e)}function u(e){var t=!1;return e.eachTargetAxis(function(e,n){var i=r.get(e);i&&i[n]&&(t=!0)}),t}function c(e){e.eachTargetAxis(function(e,t){(r.get(e)||r.set(e,[]))[t]=!0})}return i}var d=n("4NO4"),h=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},e}(),p=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return Object(i["a"])(t,e),t.prototype.init=function(e,t,n){var r=g(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this._doInit(r)},t.prototype.mergeOption=function(e){var t=g(e);Object(o["E"])(this.option,e,!0),Object(o["E"])(this.settledOption,t,!0),this._doInit(t)},t.prototype._doInit=function(e){var t=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var n=this.settledOption;Object(o["j"])([["start","startValue"],["end","endValue"]],function(e,r){"value"===this._rangePropMode[r]&&(t[e[0]]=n[e[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=Object(o["f"])(),n=this._fillSpecifiedTargetAxis(t);n?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(t,this._orient)),this._noTarget=!0,t.each(function(e){e.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var t=!1;return Object(o["j"])(s,function(n){var r=this.getReferringComponents(c(n),d["a"]);if(r.specified){t=!0;var i=new h;Object(o["j"])(r.models,function(e){i.add(e.componentIndex)}),e.set(n,i)}},this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var n=this.ecModel,r=!0;if(r){var i="vertical"===t?"y":"x",a=n.findComponents({mainType:i+"Axis"});l(a,i)}if(r){a=n.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}});l(a,"single")}function l(t,n){var i=t[0];if(i){var a=new h;if(a.add(i.componentIndex),e.set(n,a),r=!1,"x"===n||"y"===n){var s=i.getReferringComponents("grid",d["b"]).models[0];s&&Object(o["j"])(t,function(e){i.componentIndex!==e.componentIndex&&s===e.getReferringComponents("grid",d["b"]).models[0]&&a.add(e.componentIndex)})}}}r&&Object(o["j"])(s,function(t){if(r){var i=n.findComponents({mainType:c(t),filter:function(e){return"category"===e.get("type",!0)}});if(i[0]){var o=new h;o.add(i[0].componentIndex),e.set(t,o),r=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(t){!e&&(e=t)},this),"y"===e?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get("rangeMode");Object(o["j"])([["start","startValue"],["end","endValue"]],function(r,i){var o=null!=e[r[0]],a=null!=e[r[1]];o&&!a?t[i]="percent":!o&&a?t[i]="value":n?t[i]=n[i]:o&&(t[i]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(t,n){null==e&&(e=this.ecModel.getComponent(c(t),n))},this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each(function(n,r){Object(o["j"])(n.indexList,function(n){e.call(t,r,n)})})},t.prototype.getAxisProxy=function(e,t){var n=this.getAxisModel(e,t);if(n)return n.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent(c(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;Object(o["j"])([["start","startValue"],["end","endValue"]],function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;Object(o["j"])(["start","startValue","end","endValue"],function(n){t[n]=e[n]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,n=this._targetAxisInfoMap.keys(),r=0;ro&&(t[1-r]=t[r]+u.sign*o),t}function j(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function M(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}var C=n("aX7z"),T=n("U4/e"),I=o["j"],D=S["b"],A=function(){function e(e,t,n,r){this._dimName=e,this._axisIndex=t,this.ecModel=r,this._dataZoomModel=n}return e.prototype.hostedBy=function(e){return this._dataZoomModel===e},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries(function(t){if(u(t)){var n=c(this._dimName),r=t.getReferringComponents(n,d["b"]).models[0];r&&this._axisIndex===r.componentIndex&&e.push(t)}},this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return o["d"](this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,n=this._dataExtent,r=this.getAxisModel(),i=r.axis.scale,o=this._dataZoomModel.getRangePropMode(),a=[0,100],s=[],l=[];I(["start","end"],function(r,u){var c=e[r],f=e[r+"Value"];"percent"===o[u]?(null==c&&(c=a[u]),f=i.parse(S["i"](c,a,n))):(t=!0,f=null==f?n[u]:i.parse(f),c=S["i"](f,n,a)),l[u]=f,s[u]=c}),D(l),D(s);var u=this._minMaxSpan;function c(e,t,n,r,o){var a=o?"Span":"ValueSpan";k(0,e,n,"all",u["min"+a],u["max"+a]);for(var s=0;s<2;s++)t[s]=S["i"](e[s],n,r,!0),o&&(t[s]=i.parse(t[s]))}return t?c(l,s,n,a,!1):c(s,l,a,n,!0),{valueWindow:l,percentWindow:s}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=E(this,this._dimName,t),this._updateMinMaxSpan();var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(e,t){if(e===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=e.get("filterMode"),a=this._valueWindow;"none"!==i&&I(r,function(e){var t=e.getData(),r=t.mapDimensionsAll(n);if(r.length){if("weakFilter"===i){var l=t.getStore(),u=o["D"](r,function(e){return t.getDimensionIndex(e)},t);t.filterSelf(function(e){for(var t,n,i,o=0;oa[1];if(c&&!f&&!d)return!0;c&&(i=!0),f&&(t=!0),d&&(n=!0)}return i&&t&&n})}else I(r,function(n){if("empty"===i)e.setData(t=t.map(n,function(e){return s(e)?e:NaN}));else{var r={};r[n]=a,t.selectRange(r)}});I(r,function(e){t.setApproximateExtent(a,e)})}})}function s(e){return e>=a[0]&&e<=a[1]}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,n=this._dataExtent;I(["min","max"],function(r){var i=t.get(r+"Span"),o=t.get(r+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=S["i"](n[0]+o,n,[0,100],!0):null!=i&&(o=S["i"](i,[0,100],n,!0)-n[0]),e[r+"Span"]=i,e[r+"ValueSpan"]=o},this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,n=this._valueWindow;if(t){var r=S["d"](n,[0,500]);r=Math.min(r,20);var i=e.axis.scale.rawExtentInfo;0!==t[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==t[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(r)),i.freeze()}},e}();function E(e,t,n){var r=[1/0,-1/0];I(n,function(e){Object(C["k"])(r,e.getData(),t)});var i=e.getAxisModel(),o=Object(T["a"])(i.axis.scale,i,r).calculate();return[o.min,o.max]}var P=A,L={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(r,i){var o=e.getComponent(c(r),i);t(r,i,o,n)})})}t(function(e,t,n,r){n.__dzAxisProxy=null});var n=[];t(function(t,r,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new P(t,r,o,e),n.push(i.__dzAxisProxy))});var r=Object(o["f"])();return Object(o["j"])(n,function(e){Object(o["j"])(e.getTargetSeriesModels(),function(e){r.set(e.uid,e)})}),r},overallReset:function(e,t){e.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(t,n){e.getAxisProxy(t,n).reset(e)}),e.eachTargetAxis(function(n,r){e.getAxisProxy(n,r).filterData(e,t)})}),e.eachComponent("dataZoom",function(e){var t=e.findRepresentativeAxisProxy();if(t){var n=t.getDataPercentWindow(),r=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}})}},N=L;function R(e){e.registerAction("dataZoom",function(e,t){var n=f(t,e);Object(o["j"])(n,function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var z=!1;function F(e){z||(z=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,N),R(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function B(e){e.registerComponentModel(y),e.registerComponentView(O),F(e)}var Y=function(){function e(){}return e}(),V={};function G(e,t){V[e]=t}function W(e){return V[e]}var U=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(i["a"])(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;o["j"](this.option.feature,function(e,n){var r=W(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(t)),o["E"](e,r.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(a["a"]),H=U,q=n("6GrX"),K=n("IwbS"),Z=n("fWwa"),X=n("Qxkt"),Q=n("gPAo"),$=n("eRkO"),J=n("iRjW"),ee=n("dqUG"),te=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i["a"])(t,e),t.prototype.render=function(e,t,n,r){var i=this.group;if(i.removeAll(),e.get("show")){var a=+e.get("itemSize"),s="vertical"===e.get("orient"),l=e.get("feature")||{},u=this._features||(this._features={}),c=[];o["j"](l,function(e,t){c.push(t)}),new Q["a"](this._featureNames||[],c).add(f).update(f).remove(o["h"](f,null)).execute(),this._featureNames=c,$["a"](i,e,n),i.add($["b"](i.getBoundingRect(),e)),s||i.eachChild(function(e){var t=e.__title,r=e.ensureState("emphasis"),s=r.textConfig||(r.textConfig={}),l=e.getTextContent(),u=l&&l.ensureState("emphasis");if(u&&!o["u"](u)&&t){var c=u.style||(u.style={}),f=q["d"](t,ee["a"].makeFont(c)),d=e.x+i.x,h=e.y+i.y+a,p=!1;h+f.height>n.getHeight()&&(s.position="top",p=!0);var g=p?-5-f.height:a+10;d+f.width/2>n.getWidth()?(s.position=["100%",g],c.align="right"):d-f.width/2<0&&(s.position=[0,g],c.align="left")}})}function f(i,o){var a,s=c[i],f=c[o],h=l[s],p=new X["a"](h,e,e.ecModel);if(r&&null!=r.newTitle&&r.featureName===s&&(h.title=r.newTitle),s&&!f){if(ne(s))a={onclick:p.option.onclick,featureName:s};else{var g=W(s);if(!g)return;a=new g}u[s]=a}else if(a=u[f],!a)return;a.uid=Object(J["c"])("toolbox-feature"),a.model=p,a.ecModel=t,a.api=n;var m=a instanceof Y;s||!f?!p.get("show")||m&&a.unusable?m&&a.remove&&a.remove(t,n):(d(p,a,s),p.setIconStatus=function(e,t){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,r[e]&&("emphasis"===t?Z["o"]:Z["z"])(r[e])},a instanceof Y&&a.render&&a.render(p,t,n,r)):m&&a.dispose&&a.dispose(t,n)}function d(r,l,u){var c,f,d=r.getModel("iconStyle"),h=r.getModel(["emphasis","iconStyle"]),p=l instanceof Y&&l.getIcons?l.getIcons():r.get("icon"),g=r.get("title")||{};o["y"](p)?(c={},c[u]=p):c=p,o["y"](g)?(f={},f[u]=g):f=g;var m=r.iconPaths={};o["j"](c,function(u,c){var p=K["createIcon"](u,{},{x:-a/2,y:-a/2,width:a,height:a});p.setStyle(d.getItemStyle());var g=p.ensureState("emphasis");g.style=h.getItemStyle();var v=new ee["a"]({style:{text:f[c],align:h.get("textAlign"),borderRadius:h.get("textBorderRadius"),padding:h.get("textPadding"),fill:null},ignore:!0});p.setTextContent(v),K["setTooltipConfig"]({el:p,componentModel:e,itemName:c,formatterParamsExtra:{title:f[c]}}),p.__title=f[c],p.on("mouseover",function(){var t=h.getItemStyle(),r=s?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";v.setStyle({fill:h.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:h.get("textBackgroundColor")}),p.setTextConfig({position:h.get("textPosition")||r}),v.ignore=!e.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==r.get(["iconStatus",c])&&n.leaveEmphasis(this),v.hide()}),("emphasis"===r.get(["iconStatus",c])?Z["o"]:Z["z"])(p),i.add(p),p.on("click",o["c"](l.onclick,l,t,n,c)),m[c]=p})}},t.prototype.updateView=function(e,t,n,r){o["j"](this._features,function(e){e instanceof Y&&e.updateView&&e.updateView(e.model,t,n,r)})},t.prototype.remove=function(e,t){o["j"](this._features,function(n){n instanceof Y&&n.remove&&n.remove(e,t)}),this.group.removeAll()},t.prototype.dispose=function(e,t){o["j"](this._features,function(n){n instanceof Y&&n.dispose&&n.dispose(e,t)})},t.type="toolbox",t}(b["a"]);function ne(e){return 0===e.indexOf("my")}var re=te,ie=n("ItGF"),oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i["a"])(t,e),t.prototype.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",i="svg"===t.getZr().painter.getType(),a=i?"svg":n.get("type",!0)||"png",s=t.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=ie["a"].browser;if(Object(o["u"])(MouseEvent)&&(l.newEdge||!l.ie&&!l.edge)){var u=document.createElement("a");u.download=r+"."+a,u.target="_blank",u.href=s;var c=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});u.dispatchEvent(c)}else if(window.navigator.msSaveOrOpenBlob||i){var f=s.split(","),d=f[0].indexOf("base64")>-1,h=i?decodeURIComponent(f[1]):f[1];d&&(h=window.atob(h));var p=r+"."+a;if(window.navigator.msSaveOrOpenBlob){var g=h.length,m=new Uint8Array(g);while(g--)m[g]=h.charCodeAt(g);var v=new Blob([m]);window.navigator.msSaveOrOpenBlob(v,p)}else{var y=document.createElement("iframe");document.body.appendChild(y);var b=y.contentWindow,x=b.document;x.open("image/svg+xml","replace"),x.write(h),x.close(),b.focus(),x.execCommand("SaveAs",!0,p),document.body.removeChild(y)}}else{var _=n.get("lang"),w='',O=window.open();O.document.write(w),O.document.title=r}},t.getDefaultOption=function(e){var t={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return t},t}(Y),ae=oe,se=n("G+eS"),le="__ec_magicType_stack__",ue=[["line","bar"],["stack"]],ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i["a"])(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return o["j"](e.get("type"),function(e){t[e]&&(n[e]=t[e])}),n},t.getDefaultOption=function(e){var t={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return t},t.prototype.onclick=function(e,t,n){var r=this.model,i=r.get(["seriesIndex",n]);if(fe[n]){var a,s={series:[]},l=function(e){var t=e.subType,i=e.id,a=fe[n](t,i,e,r);a&&(o["i"](a,e.option),s.series.push(a));var l=e.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===n||"bar"===n)){var u=l.getAxesByScale("ordinal")[0];if(u){var c=u.dim,f=c+"Axis",h=e.getReferringComponents(f,d["b"]).models[0],p=h.componentIndex;s[f]=s[f]||[];for(var g=0;g<=p;g++)s[f][p]=s[f][p]||{};s[f][p].boundaryGap="bar"===n}}};o["j"](ue,function(e){o["p"](e,n)>=0&&o["j"](e,function(e){r.setIconStatus(e,"normal")})}),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},l);var u=n;"stack"===n&&(a=o["E"]({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(u="tiled")),t.dispatchAction({type:"changeMagicType",currentType:u,newOption:s,newTitle:a,featureName:"magicType"})}},t}(Y),fe={line:function(e,t,n,r){if("bar"===e)return o["E"]({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if("line"===e)return o["E"]({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var i=n.get("stack")===le;if("line"===e||"bar"===e)return r.setIconStatus("stack",i?"normal":"emphasis"),o["E"]({id:t,stack:i?"":le},r.get(["option","stack"])||{},!0)}};se["c"]({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});var de=ce,he=n("YH21"),pe=new Array(60).join("-"),ge="\t";function me(e){var t={},n=[],r=[];return e.eachRawSeries(function(e){var i=e.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(e);else{var o=i.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;t[a]||(t[a]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[a].series.push(e)}else n.push(e)}}),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function ve(e){var t=[];return o["j"](e,function(e,n){var r=e.categoryAxis,i=e.valueAxis,a=i.dim,s=[" "].concat(o["D"](e.series,function(e){return e.name})),l=[r.model.getCategories()];o["j"](e.series,function(e){var t=e.getRawData();l.push(e.getRawData().mapArray(t.mapDimension(a),function(e){return e}))});for(var u=[s.join(ge)],c=0;c=0)return!0}var we=new RegExp("["+ge+"]+","g");function Oe(e){for(var t=e.split(/\n+/g),n=xe(t.shift()).split(we),r=[],i=o["D"](n,function(e){return{name:e,data:[]}}),a=0;a=0;i--){var o=n[i];if(o[r])break}if(i<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(a){var s=a.getPercentRange();n[0][r]={dataZoomId:r,start:s[0],end:s[1]}}}}),n.push(t)}function Ae(e){var t=Le(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return Te(n,function(e,n){for(var i=t.length-1;i>=0;i--)if(e=t[i][n],e){r[n]=e;break}}),r}function Ee(e){Ie(e).snapshots=null}function Pe(e){return Le(e).length}function Le(e){var t=Ie(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var Ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i["a"])(t,e),t.prototype.onclick=function(e,t){Ee(e),t.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){var t={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])};return t},t}(Y);se["c"]({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});var Re=Ne,ze=n("b9Ot"),Fe=n("LcXL"),Be=n("x6Kt"),Ye=n("1Jh7"),Ve=n("h7HQ"),Ge="\0_ec_interaction_mutex";function We(e,t,n){var r=He(e);r[t]=n}function Ue(e,t,n){var r=He(e),i=r[t];i===n&&(r[t]=null)}function He(e){return e[Ge]||(e[Ge]={})}se["c"]({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},o["G"]);var qe=!0,Ke=Math.min,Ze=Math.max,Xe=Math.pow,Qe=1e4,$e=6,Je=6,et="globalPan",tt={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},nt={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},rt={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},it=0,ot=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new Fe["a"],n._uid="brushController_"+it++,Object(o["j"])(Rt,function(e,t){this._handlers[t]=Object(o["c"])(e,this)},n),n}return Object(i["a"])(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||We(t,et,this._uid),Object(o["j"])(this._handlers,function(e,n){t.on(n,e)}),this._brushType=e.brushType,this._brushOption=Object(o["E"])(Object(o["d"])(rt),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;Ue(e,et,this._uid),Object(o["j"])(this._handlers,function(t,n){e.off(n,t)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};Object(o["j"])(e,function(e){t[e.panelId]=Object(o["d"])(e)})}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=Object(o["D"])(e,function(e){return Object(o["E"])(Object(o["d"])(rt),e,!0)});var t="\0-brush-index-",n=this._covers,r=this._covers=[],i=this,a=this._creatingCover;return new Q["a"](n,e,l,s).add(u).update(u).remove(c).execute(),this;function s(e,n){return(null!=e.id?e.id:t+n)+"-"+e.brushType}function l(e,t){return s(e.__brushOption,t)}function u(t,o){var s=e[t];if(null!=o&&n[o]===a)r[t]=n[o];else{var l=r[t]=null!=o?(n[o].__brushOption=s,n[o]):st(i,at(i,s));ct(i,l)}}function c(e){n[e]!==a&&i.group.remove(n[e])}},t.prototype.unmount=function(){return this.enableBrush(!1),pt(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(ze["a"]);function at(e,t){var n=Bt[t.brushType].createCover(e,t);return n.__brushOption=t,ut(n,t),e.group.add(n),n}function st(e,t){var n=ft(t);return n.endCreating&&(n.endCreating(e,t),ut(t,t.__brushOption)),t}function lt(e,t){var n=t.__brushOption;ft(t).updateCoverShape(e,t,n.range,n)}function ut(e,t){var n=t.z;null==n&&(n=Qe),e.traverse(function(e){e.z=n,e.z2=n})}function ct(e,t){ft(t).updateCommon(e,t),lt(e,t)}function ft(e){return Bt[e.__brushOption.brushType]}function dt(e,t,n){var r,i=e._panels;if(!i)return qe;var a=e._transform;return Object(o["j"])(i,function(e){e.isTargetByCursor(t,n,a)&&(r=e)}),r}function ht(e,t){var n=e._panels;if(!n)return qe;var r=t.__brushOption.panelId;return null!=r?n[r]:qe}function pt(e){var t=e._covers,n=t.length;return Object(o["j"])(t,function(t){e.group.remove(t)},e),t.length=0,!!n}function gt(e,t){var n=Object(o["D"])(e._covers,function(e){var t=e.__brushOption,n=Object(o["d"])(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}});e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function mt(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],i=n[0]-r[0],o=n[1]-r[1],a=Xe(i*i+o*o,.5);return a>$e}function vt(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function yt(e,t,n,r){var i=new Fe["a"];return i.add(new Be["a"]({name:"main",style:wt(n),silent:!0,draggable:!0,cursor:"move",drift:Object(o["h"])(Mt,e,t,i,["n","s","w","e"]),ondragend:Object(o["h"])(gt,t,{isEnd:!0})})),Object(o["j"])(r,function(n){i.add(new Be["a"]({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(o["h"])(Mt,e,t,i,n),ondragend:Object(o["h"])(gt,t,{isEnd:!0})}))}),i}function bt(e,t,n,r){var i=r.brushStyle.lineWidth||0,o=Ze(i,Je),a=n[0][0],s=n[1][0],l=a-i/2,u=s-i/2,c=n[0][1],f=n[1][1],d=c-o+i/2,h=f-o+i/2,p=c-a,g=f-s,m=p+i,v=g+i;_t(e,t,"main",a,s,p,g),r.transformable&&(_t(e,t,"w",l,u,o,v),_t(e,t,"e",d,u,o,v),_t(e,t,"n",l,u,m,o),_t(e,t,"s",l,h,m,o),_t(e,t,"nw",l,u,o,o),_t(e,t,"ne",d,u,o,o),_t(e,t,"sw",l,h,o,o),_t(e,t,"se",d,h,o,o))}function xt(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(wt(n)),i.attr({silent:!r,cursor:r?"move":"default"}),Object(o["j"])([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(n){var i=t.childOfName(n.join("")),o=1===n.length?kt(e,n[0]):jt(e,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?nt[o]+"-resize":null})})}function _t(e,t,n,r,i,o,a){var s=t.childOfName(n);s&&s.setShape(Dt(It(e,t,[[r,i],[r+o,i+a]])))}function wt(e){return Object(o["i"])({strokeNoScale:!0},e.brushStyle)}function Ot(e,t,n,r){var i=[Ke(e,n),Ke(t,r)],o=[Ze(e,n),Ze(t,r)];return[[i[0],o[0]],[i[1],o[1]]]}function St(e){return K["getTransform"](e.group)}function kt(e,t){var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},i=K["transformDirection"](n[t],St(e));return r[i]}function jt(e,t){var n=[kt(e,t[0]),kt(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function Mt(e,t,n,r,i,a){var s=n.__brushOption,l=e.toRectRange(s.range),u=Tt(t,i,a);Object(o["j"])(r,function(e){var t=tt[e];l[t[0]][t[1]]+=u[t[0]]}),s.range=e.fromRectRange(Ot(l[0][0],l[1][0],l[0][1],l[1][1])),ct(t,n),gt(t,{isEnd:!1})}function Ct(e,t,n,r){var i=t.__brushOption.range,a=Tt(e,n,r);Object(o["j"])(i,function(e){e[0]+=a[0],e[1]+=a[1]}),ct(e,t),gt(e,{isEnd:!1})}function Tt(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function It(e,t,n){var r=ht(e,t);return r&&r!==qe?r.clipPath(n,e._transform):Object(o["d"])(n)}function Dt(e){var t=Ke(e[0][0],e[1][0]),n=Ke(e[0][1],e[1][1]),r=Ze(e[0][0],e[1][0]),i=Ze(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:i-n}}function At(e,t,n){if(e._brushType&&!Ft(e,t.offsetX,t.offsetY)){var r=e._zr,i=e._covers,o=dt(e,t,n);if(!e._dragging)for(var a=0;ar.getWidth()||n<0||n>r.getHeight()}var Bt={lineX:Yt(0),lineY:Yt(1),rect:{createCover:function(e,t){function n(e){return e}return yt({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=vt(e);return Ot(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){bt(e,t,n,r)},updateCommon:xt,contain:Pt},polygon:{createCover:function(e,t){var n=new Fe["a"];return n.add(new Ye["a"]({name:"main",style:wt(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Ve["a"]({name:"main",draggable:!0,drift:Object(o["h"])(Ct,e,t),ondragend:Object(o["h"])(gt,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:It(e,t,n)})},updateCommon:xt,contain:Pt}};function Yt(e){return{createCover:function(t,n){return yt({toRectRange:function(t){var n=[t,[0,100]];return e&&n.reverse(),n},fromRectRange:function(t){return t[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=vt(t),r=Ke(n[0][e],n[1][e]),i=Ze(n[0][e],n[1][e]);return[r,i]},updateCoverShape:function(t,n,r,i){var o,a=ht(t,n);if(a!==qe&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[r,o];e&&l.reverse(),bt(t,n,l,i)},updateCommon:xt,contain:Pt}}var Vt=ot,Gt=n("mFDi"),Wt={axisPointer:1,tooltip:1,brush:1};function Ut(e,t,n){var r=t.getComponentByElement(e.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!Wt.hasOwnProperty(r.mainType)&&i&&i.model!==n}function Ht(e){return e=Zt(e),function(t){return K["clipPointsByRect"](t,e)}}function qt(e,t){return e=Zt(e),function(n){var r=null!=t?t:n,i=r?e.width:e.height,o=r?e.x:e.y;return[o,o+(i||0)]}}function Kt(e,t,n){var r=Zt(e);return function(e,i){return r.contain(i[0],i[1])&&!Ut(e,t,n)}}function Zt(e){return Gt["a"].create(e)}var Xt=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],Qt=function(){function e(e,t,n){var r=this;this._targetInfoList=[];var i=Jt(t,e);Object(o["j"])(en,function(e,t){(!n||!n.include||Object(o["p"])(n.include,t)>=0)&&e(i,r._targetInfoList)})}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=rn[e.brushType](0,n,t);e.__rangeOffset={offset:an[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}}),e},e.prototype.matchOutputRanges=function(e,t,n){Object(o["j"])(e,function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&Object(o["j"])(r.coordSyses,function(r){var i=rn[e.brushType](1,r,e.range,!0);n(e,i.values,r,t)})},this)},e.prototype.setInputRanges=function(e,t){Object(o["j"])(e,function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var r=rn[e.brushType](0,n.coordSys,e.coordRange),i=e.__rangeOffset;e.range=i?an[e.brushType](r.values,i.offset,ln(r.xyMinMax,i.xyMinMax)):r.values}},this)},e.prototype.makePanelOpts=function(e,t){return Object(o["D"])(this._targetInfoList,function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:Ht(r),isTargetByCursor:Kt(r,e,n.coordSysModel),getLinearBrushOtherExtent:qt(r)}})},e.prototype.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return!0===r||r&&Object(o["p"])(r.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=Jt(t,e),i=0;ie[1]&&e.reverse(),e}function Jt(e,t){return Object(d["q"])(e,t,{includeMainTypes:Xt})}var en={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,i=e.gridModels,a=Object(o["f"])(),s={},l={};(n||r||i)&&(Object(o["j"])(n,function(e){var t=e.axis.grid.model;a.set(t.id,t),s[t.id]=!0}),Object(o["j"])(r,function(e){var t=e.axis.grid.model;a.set(t.id,t),l[t.id]=!0}),Object(o["j"])(i,function(e){a.set(e.id,e),s[e.id]=!0,l[e.id]=!0}),a.each(function(e){var i=e.coordinateSystem,a=[];Object(o["j"])(i.getCartesians(),function(e,t){(Object(o["p"])(n,e.getAxis("x").model)>=0||Object(o["p"])(r,e.getAxis("y").model)>=0)&&a.push(e)}),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:a[0],coordSyses:a,getPanelRect:nn.grid,xAxisDeclared:s[e.id],yAxisDeclared:l[e.id]})}))},geo:function(e,t){Object(o["j"])(e.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:nn.geo})})}},tn=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],nn={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(K["getTransform"](e)),t}},rn={lineX:Object(o["h"])(on,0),lineY:Object(o["h"])(on,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),o=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),a=[$t([i[0],o[0]]),$t([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n,r){var i=[[1/0,-1/0],[1/0,-1/0]],a=Object(o["D"])(n,function(n){var o=e?t.pointToData(n,r):t.dataToPoint(n,r);return i[0][0]=Math.min(i[0][0],o[0]),i[1][0]=Math.min(i[1][0],o[1]),i[0][1]=Math.max(i[0][1],o[0]),i[1][1]=Math.max(i[1][1],o[1]),o});return{values:a,xyMinMax:i}}};function on(e,t,n,r){var i=n.getAxis(["x","y"][e]),a=$t(Object(o["D"])([0,1],function(e){return t?i.coordToData(i.toLocalCoord(r[e]),!0):i.toGlobalCoord(i.dataToCoord(r[e]))})),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}var an={lineX:Object(o["h"])(sn,0),lineY:Object(o["h"])(sn,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return Object(o["D"])(e,function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]})}};function sn(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function ln(e,t){var n=un(e),r=un(t),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function un(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var cn=Qt,fn=n("Lx9C"),dn=o["j"],hn=Object(d["n"])("toolbox-dataZoom_"),pn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i["a"])(t,e),t.prototype.render=function(e,t,n,r){this._brushController||(this._brushController=new Vt(n.getZr()),this._brushController.on("brush",o["c"](this._onBrush,this)).mount()),yn(e,t,this,r,n),vn(e,t)},t.prototype.onclick=function(e,t,n){gn[n].call(this)},t.prototype.remove=function(e,t){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(e.isEnd&&t.length){var n={},r=this.ecModel;this._brushController.updateCovers([]);var i=new cn(mn(this.model),r,{include:["grid"]});i.matchOutputRanges(t,r,function(e,t,n){if("cartesian2d"===n.type){var r=e.brushType;"rect"===r?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[r],n,t)}}),De(r,n),this._dispatchZoomAction(n)}function o(e,t,i){var o=t.getAxis(e),s=o.model,l=a(e,s,r),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(i=k(0,i.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:i[0],endValue:i[1]})}function a(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){var i=n.getAxisModel(e,t.componentIndex);i&&(r=n)}),r}},t.prototype._dispatchZoomAction=function(e){var t=[];dn(e,function(e,n){t.push(o["d"](e))}),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},t.getDefaultOption=function(e){var t={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return t},t}(Y),gn={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(Ae(this.ecModel))}};function mn(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}function vn(e,t){e.setIconStatus("back",Pe(t)>1?"emphasis":"normal")}function yn(e,t,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var a=new cn(mn(e),t,{include:["grid"]}),s=a.makePanelOpts(i,function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}Object(fn["b"])("dataZoom",function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var r=t.getModel(n),i=[],o=mn(r),a=Object(d["q"])(e,o);return dn(a.xAxisModels,function(e){return s(e,"xAxis","xAxisIndex")}),dn(a.yAxisModels,function(e){return s(e,"yAxis","yAxisIndex")}),i}function s(e,t,n){var o=e.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:hn+t+o};a[n]=o,i.push(a)}});var bn=pn;function xn(e){e.registerComponentModel(H),e.registerComponentView(re),G("saveAsImage",ae),G("magicType",de),G("dataView",Ce),G("dataZoom",bn),G("restore",Re),Object(r["a"])(B)}n.d(t,"a",function(){return xn})},MMmD:function(e,t,n){var r=n("lSCD"),i=n("shjB");function o(e){return null!=e&&i(e.length)&&!r(e)}e.exports=o},MrPd:function(e,t,n){var r=n("hypo"),i=n("ljhN"),o=Object.prototype,a=o.hasOwnProperty;function s(e,t,n){var o=e[t];a.call(e,t)&&i(o,n)&&(void 0!==n||t in e)||r(e,t,n)}e.exports=s},N5VM:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&e.handleMarkers(_,t);for(r=0;r-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),t},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},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,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(o["b"]),u=l,c=n("bYtY"),f=n("3soF"),d=n("IwbS"),h=n("hhxK"),p=n("fWwa"),g=n("x3X8"),m=n("eDfh"),v=n("Dagg"),y=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.updateData(t,n,r,i),o}return Object(r["a"])(t,e),t.prototype._createSymbol=function(e,t,n,r,i){this.removeAll();var o=Object(a["a"])(e,-1,-1,2,2,null,i);o.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),o.drift=b,this._symbolType=e,this.add(o)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){Object(p["o"])(this.childAt(0))},t.prototype.downplay=function(){Object(p["z"])(this.childAt(0))},t.prototype.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},t.prototype.setDraggable=function(e,t){var n=this.childAt(0);n.draggable=e,n.cursor=!t&&e?"move":n.cursor},t.prototype.updateData=function(e,n,r,i){this.silent=!1;var o=e.getItemVisual(n,"symbol")||"circle",a=e.hostModel,s=t.getSymbolSize(e,n),l=o!==this._symbolType,u=i&&i.disableAnimation;if(l){var c=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,e,n,s,c)}else{var d=this.childAt(0);d.silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};u?d.attr(h):f["h"](d,h,a,n),Object(f["g"])(d)}if(this._updateCommon(e,n,s,r,i),l){d=this.childAt(0);if(!u){h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,f["c"](d,h,a,n)}}u&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,t,n,r,i){var o,s,l,u,f,d,h,y,b,x=this.childAt(0),_=e.hostModel;if(r&&(o=r.emphasisItemStyle,s=r.blurItemStyle,l=r.selectItemStyle,u=r.focus,f=r.blurScope,h=r.labelStatesModels,y=r.hoverScale,b=r.cursorStyle,d=r.emphasisDisabled),!r||e.hasItemOption){var w=r&&r.itemModel?r.itemModel:e.getItemModel(t),O=w.getModel("emphasis");o=O.getModel("itemStyle").getItemStyle(),l=w.getModel(["select","itemStyle"]).getItemStyle(),s=w.getModel(["blur","itemStyle"]).getItemStyle(),u=O.get("focus"),f=O.get("blurScope"),d=O.get("disabled"),h=Object(m["c"])(w),y=O.getShallow("scale"),b=w.getShallow("cursor")}var S=e.getItemVisual(t,"symbolRotate");x.attr("rotation",(S||0)*Math.PI/180||0);var k=Object(a["b"])(e.getItemVisual(t,"symbolOffset"),n);k&&(x.x=k[0],x.y=k[1]),b&&x.attr("cursor",b);var j=e.getItemVisual(t,"style"),M=j.fill;if(x instanceof v["a"]){var C=x.style;x.useStyle(Object(c["l"])({image:C.image,x:C.x,y:C.y,width:C.width,height:C.height},j))}else x.__isEmptyBrush?x.useStyle(Object(c["l"])({},j)):x.useStyle(j),x.style.decal=null,x.setColor(M,i&&i.symbolInnerColor),x.style.strokeNoScale=!0;var T=e.getItemVisual(t,"liftZ"),I=this._z2;null!=T?null==I&&(this._z2=x.z2,x.z2+=T):null!=I&&(x.z2=I,this._z2=null);var D=i&&i.useNameLabel;function A(t){return D?e.getName(t):Object(g["b"])(e,t)}Object(m["e"])(x,h,{labelFetcher:_,labelDataIndex:t,defaultText:A,inheritColor:M,defaultOpacity:j.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var E=x.ensureState("emphasis");E.style=o,x.ensureState("select").style=l,x.ensureState("blur").style=s;var P=null==y||!0===y?Math.max(1.1,3/this._sizeY):isFinite(y)&&y>0?+y:1;E.scaleX=this._sizeX*P,E.scaleY=this._sizeY*P,this.setSymbolScale(1),Object(p["E"])(this,u,f,d)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,n){var r=this.childAt(0),i=Object(h["a"])(this).dataIndex,o=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var a=r.getTextContent();a&&f["e"](a,{style:{opacity:0}},t,{dataIndex:i,removeOpt:o,cb:function(){r.removeTextContent()}})}else r.removeTextContent();f["e"](r,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:i,cb:e,removeOpt:o})},t.getSymbolSize=function(e,t){return Object(a["c"])(e.getItemVisual(t,"symbolSize"))},t}(s["a"]);function b(e,t){this.parent.drift(e,t)}var x=y;function _(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function w(e){return null==e||Object(c["x"])(e)||(e={isIgnore:e}),e||{}}function O(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Object(m["c"])(t),cursorStyle:t.get("cursor")}}var S=function(){function e(e){this.group=new s["a"],this._SymbolCtor=e||x}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=w(t);var n=this.group,r=e.hostModel,i=this._data,o=this._SymbolCtor,a=t.disableAnimation,s=O(e),l={disableAnimation:a},u=t.getSymbolPoint||function(t){return e.getItemLayout(t)};i||n.removeAll(),e.diff(i).add(function(r){var i=u(r);if(_(e,i,r,t)){var a=new o(e,r,s,l);a.setPosition(i),e.setItemGraphicEl(r,a),n.add(a)}}).update(function(c,d){var h=i.getItemGraphicEl(d),p=u(c);if(_(e,p,c,t)){var g=e.getItemVisual(c,"symbol")||"circle",m=h&&h.getSymbolType&&h.getSymbolType();if(!h||m&&m!==g)n.remove(h),h=new o(e,c,s,l),h.setPosition(p);else{h.updateData(e,c,s,l);var v={x:p[0],y:p[1]};a?h.attr(v):f["h"](h,v,r)}n.add(h),e.setItemGraphicEl(c,h)}else n.remove(h)}).remove(function(e){var t=i.getItemGraphicEl(e);t&&t.fadeOut(function(){n.remove(t)},r)}).execute(),this._getSymbolPoint=u,this._data=e},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl(function(t,n){var r=e._getSymbolPoint(n);t.setPosition(r),t.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=O(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=w(n);for(var i=e.start;i0?n=r[0]:r[1]<0&&(n=r[1]),n}function T(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}var I=n("9lhp");function D(e,t){var n=[];return t.diff(e).add(function(e){n.push({cmd:"+",idx:e})}).update(function(e,t){n.push({cmd:"=",idx:t,idx1:e})}).remove(function(e){n.push({cmd:"-",idx:e})}).execute(),n}function A(e,t,n,r,i,o,a,s){for(var l=D(e,t),u=[],c=[],f=[],d=[],h=[],p=[],g=[],m=M(i,t,a),v=e.getLayout("points")||[],y=t.getLayout("points")||[],b=0;b=i||g<0)break;if(Y(v,y)){if(l){g+=o;continue}break}if(g===n)e[o>0?"moveTo":"lineTo"](v,y),f=v,d=y;else{var b=v-u,x=y-c;if(b*b+x*x<.5){g+=o;continue}if(a>0){var _=g+o,w=t[2*_],O=t[2*_+1];while(w===v&&O===y&&m=r||Y(w,O))h=v,p=y;else{j=w-u,M=O-c;var I=v-u,D=w-v,A=y-c,E=O-y,P=void 0,L=void 0;if("x"===s){P=Math.abs(I),L=Math.abs(D);var N=j>0?1:-1;h=v-N*P*a,p=y,C=v+N*L*a,T=y}else if("y"===s){P=Math.abs(A),L=Math.abs(E);var R=M>0?1:-1;h=v,p=y-R*P*a,C=v,T=y+R*L*a}else P=Math.sqrt(I*I+A*A),L=Math.sqrt(D*D+E*E),k=L/(L+P),h=v-j*a*(1-k),p=y-M*a*(1-k),C=v+j*a*k,T=y+M*a*k,C=F(C,B(w,v)),T=F(T,B(O,y)),C=B(C,F(w,v)),T=B(T,F(O,y)),j=C-v,M=T-y,h=v-j*P/L,p=y-M*P/L,h=F(h,B(u,v)),p=F(p,B(c,y)),h=B(h,F(u,v)),p=B(p,F(c,y)),j=v-h,M=y-p,C=v+j*L/P,T=y+M*L/P}e.bezierCurveTo(f,d,h,p,v,y),f=C,d=T}else e.lineTo(v,y)}u=v,c=y,g+=o}return m}var G=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),W=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return Object(r["a"])(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new G},t.prototype.buildPath=function(e,t){var n=t.points,r=0,i=n.length/2;if(t.connectNulls){for(;i>0;i--)if(!Y(n[2*i-2],n[2*i-1]))break;for(;r=0){var y=s?(d-r)*v+r:(f-n)*v+n;return s?[e,y]:[y,e]}n=f,r=d;break;case a.C:f=o[u++],d=o[u++],h=o[u++],p=o[u++],g=o[u++],m=o[u++];var b=s?Object(z["f"])(n,f,h,g,e,l):Object(z["f"])(r,d,p,m,e,l);if(b>0)for(var x=0;x=0){y=s?Object(z["a"])(r,d,p,m,_):Object(z["a"])(n,f,h,g,_);return s?[e,y]:[y,e]}}n=g,r=m;break}}},t}(N["b"]),U=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r["a"])(t,e),t}(G),H=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return Object(r["a"])(t,e),t.prototype.getDefaultShape=function(){return new U},t.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,o=n.length/2,a=t.smoothMonotone;if(t.connectNulls){for(;o>0;o--)if(!Y(n[2*o-2],n[2*o-1]))break;for(;it){r?i.push(a(r,l,t)):n&&i.push(a(n,l,0),a(n,l,t));break}n&&(i.push(a(n,l,0)),n=null),i.push(l),r=l}}return i}function oe(e,t,n){var r=e.getVisual("visualMeta");if(r&&r.length&&e.count()&&"cartesian2d"===t.type){for(var i,o,a=r.length-1;a>=0;a--){var s=e.getDimensionInfo(r[a].dimension);if(i=s&&s.coordDim,"x"===i||"y"===i){o=r[a];break}}if(o){var l=t.getAxis(i),u=c["D"](o.stops,function(e){return{coord:l.toGlobalCoord(l.dataToCoord(e.value)),color:e.color}}),f=u.length,d=o.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),d.reverse());var h=ie(u,"x"===i?n.getWidth():n.getHeight()),p=h.length;if(!p&&f)return u[0].coord<0?d[1]?d[1]:u[f-1].color:d[0]?d[0]:u[0].color;var g=10,m=h[0].coord-g,v=h[p-1].coord+g,y=v-m;if(y<.001)return"transparent";c["j"](h,function(e){e.offset=(e.coord-m)/y}),h.push({offset:p?h[p-1].offset:.5,color:d[1]||"transparent"}),h.unshift({offset:p?h[0].offset:.5,color:d[0]||"transparent"});var b=new E["a"](0,0,0,0,h,!0);return b[i]=m,b[i+"2"]=v,b}}}function ae(e,t,n){var r=e.get("showAllSymbol"),i="auto"===r;if(!r||i){var o=n.getAxesByScale("ordinal")[0];if(o&&(!i||!se(o,t))){var a=t.mapDimension(o.dim),s={};return c["j"](o.getViewLabels(),function(e){var t=o.scale.getRawOrdinalNumber(e.tickValue);s[t]=1}),function(e){return!s.hasOwnProperty(t.get(a,e))}}}}function se(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;ar)return!1;return!0}function le(e,t){return isNaN(e)||isNaN(t)}function ue(e){for(var t=e.length/2;t>0;t--)if(!le(e[2*t-2],e[2*t-1]))break;return t-1}function ce(e,t){return[e[2*t],e[2*t+1]]}function fe(e,t,n){for(var r,i,o=e.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=t||r>=t&&i<=t){l=u;break}s=u,r=i}else r=i;return{range:[s,l],t:(t-r)/(i-r)}}function de(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t0&&"bolder"===e.get(["emphasis","lineStyle","width"])){var F=v.getState("emphasis").style;F.lineWidth=+v.style.lineWidth+1}Object(h["a"])(v).seriesIndex=e.seriesIndex,Object(p["E"])(v,N,R,z);var B=te(e.get("smooth")),Y=e.get("smoothMonotone");if(v.setShape({smooth:B,smoothMonotone:Y,connectNulls:j}),y){var V=a.getCalculationInfo("stackedOnSeries"),G=0;y.useStyle(c["i"](l.getAreaStyle(),{fill:A,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),V&&(G=te(V.get("smooth"))),y.setShape({smooth:B,stackedOnSmooth:G,smoothMonotone:Y,connectNulls:j}),Object(p["D"])(y,e,"areaStyle"),Object(h["a"])(y).seriesIndex=e.seriesIndex,Object(p["E"])(y,N,R,z)}var W=function(e){r._changePolyState(e)};a.eachItemGraphicEl(function(e){e&&(e.onHoverStateChange=W)}),this._polyline.onHoverStateChange=W,this._data=a,this._coordSys=i,this._stackedOnPoints=S,this._points=u,this._step=D,this._valueOrigin=w,e.get("triggerLineEvent")&&(this.packEventData(e,v),y&&this.packEventData(e,y))},t.prototype.packEventData=function(e,t){Object(h["a"])(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,t,n,r){var i=e.getData(),o=L["s"](i,r);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=i.getLayout("points"),s=i.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=e.get("zlevel")||0,f=e.get("z")||0;s=new x(i,o),s.x=l,s.y=u,s.setZ(c,f);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=f,d.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else q["a"].prototype.highlight.call(this,e,t,n,r)},t.prototype.downplay=function(e,t,n,r){var i=e.getData(),o=L["s"](i,r);if(this._changePolyState("normal"),null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else q["a"].prototype.downplay.call(this,e,t,n,r)},t.prototype._changePolyState=function(e){var t=this._polygon;Object(p["C"])(this._polyline,e),t&&Object(p["C"])(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new W({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t,t},t.prototype._newPolygon=function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new H({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var r,i,o=t.getBaseAxis(),a=o.inverse;"cartesian2d"===t.type?(r=o.isHorizontal(),i=!1):"polar"===t.type&&(r="angle"===o.dim,i=!0);var s=e.hostModel,l=s.get("animationDuration");c["u"](l)&&(l=l(null));var u=s.get("animationDelay")||0,f=c["u"](u)?u(null):u;e.eachItemGraphicEl(function(e,o){var s=e;if(s){var d=[e.x,e.y],h=void 0,p=void 0,g=void 0;if(n)if(i){var m=n,v=t.pointToCoord(d);r?(h=m.startAngle,p=m.endAngle,g=-v[1]/180*Math.PI):(h=m.r0,p=m.r,g=v[0])}else{var y=n;r?(h=y.x,p=y.x+y.width,g=e.x):(h=y.y+y.height,p=y.y,g=e.y)}var b=p===h?0:(g-h)/(p-h);a&&(b=1-b);var x=c["u"](u)?u(o):l*b+f,_=s.getSymbolPath(),w=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,t,n){var r=e.getModel("endLabel");if(de(e)){var i=e.getData(),o=this._polyline,a=i.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||(s=this._endLabel=new P["a"]({z2:200}),s.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=ue(a);l>=0&&(Object(m["e"])(o,Object(m["c"])(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:l,defaultText:function(e,t,n){return null!=n?Object(g["a"])(i,n):Object(g["b"])(i,e)},enableTextSetter:!0},pe(r,t)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,r,i,o,a){var s=this._endLabel,l=this._polyline;if(s){e<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,f=c.get("connectNulls"),d=o.get("precision"),h=o.get("distance")||0,p=a.getBaseAxis(),g=p.isHorizontal(),v=p.inverse,y=t.shape,b=v?g?y.x:y.y+y.height:g?y.x+y.width:y.y,x=(g?h:0)*(v?-1:1),_=(g?0:-h)*(v?-1:1),w=g?"x":"y",O=fe(u,b,w),S=O.range,k=S[1]-S[0],j=void 0;if(k>=1){if(k>1&&!f){var M=ce(u,S[0]);s.attr({x:M[0]+x,y:M[1]+_}),i&&(j=c.getRawValue(S[0]))}else{M=l.getPointOn(b,w);M&&s.attr({x:M[0]+x,y:M[1]+_});var C=c.getRawValue(S[0]),T=c.getRawValue(S[1]);i&&(j=L["i"](n,d,C,T,O.t))}r.lastFrameIndex=S[0]}else{var I=1===e||r.lastFrameIndex>0?S[0]:0;M=ce(u,I);i&&(j=c.getRawValue(I)),s.attr({x:M[0]+x,y:M[1]+_})}i&&Object(m["d"])(s).setLabelText(j)}},t.prototype._doUpdateAnimation=function(e,t,n,r,i,o,a){var s=this._polyline,l=this._polygon,u=e.hostModel,c=A(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,o),d=c.current,h=c.stackedOnCurrent,p=c.next,g=c.stackedOnNext;if(i&&(d=re(c.current,n,i,a),h=re(c.stackedOnCurrent,n,i,a),p=re(c.next,n,i,a),g=re(c.stackedOnNext,n,i,a)),ee(d,p)>3e3||l&&ee(h,g)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:g})));s.shape.__points=c.current,s.shape.points=d;var m={shape:{points:p}};c.current!==d&&(m.shape.__points=c.next),s.stopAnimation(),f["h"](s,m,u),l&&(l.setShape({points:d,stackedOnPoints:h}),l.stopAnimation(),f["h"](l,{shape:{stackedOnPoints:g}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var v=[],y=c.status,b=0;b0){if(e<=i)return a;if(e>=o)return s}else{if(e>=i)return a;if(e<=o)return s}else{if(e===i)return a;if(e===o)return s}return(e-i)/l*u+a}function l(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return r["y"](e)?a(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function u(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),o),e=(+e).toFixed(t),n?e:+e}function c(e){return e.sort(function(e,t){return e-t}),e}function f(e){if(e=+e,isNaN(e))return 0;if(e>1e-14)for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n;return d(e)}function d(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function h(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function p(e,t){var n=Math.max(f(e),f(t)),r=e+t;return n>o?r:u(r,n)}function g(e){var t=2*Math.PI;return(e%t+t)%t}function m(e){return e>-i&&e=10&&t++,t}function _(e,t){var n,r=x(e),i=Math.pow(10,r),o=e/i;return n=t?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,e=n*i,r>=-20?+e.toFixed(r<0?-r:0):e}function w(e){var t=parseFloat(e);return t==e&&(0!==t||!r["y"](e)||e.indexOf("x")<=0)?t:NaN}function O(e){return!isNaN(w(e))}function S(){return Math.round(9*Math.random())}function k(e,t){return 0===t?e:k(t,e%t)}function j(e,t){return null==e?t:null==t?e:e*t/k(e,t)}},OKJ2:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return l});var r=n("bYtY"),i=n("KxfA"),o=n("7aKB"),a=/\{@(.+?)\}/g,s=function(){function e(){}return e.prototype.getDataParams=function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),o=n.getName(e),a=n.getRawDataItem(e),s=n.getItemVisual(e,"style"),l=s&&s[n.getItemVisual(e,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,f="series"===c,d=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:f?this.subType:null,seriesIndex:this.seriesIndex,seriesId:f?this.id:null,seriesName:f?this.name:null,name:o,dataIndex:i,data:a,dataType:t,value:r,color:l,borderColor:u,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,n,s,l,u){t=t||"normal";var c=this.getData(n),f=this.getDataParams(e,n);if(u&&(f.value=u.interpolatedValue),null!=s&&r["r"](f.value)&&(f.value=f.value[s]),!l){var d=c.getItemModel(e);l=d.get("normal"===t?["label","formatter"]:[t,"label","formatter"])}if(r["u"](l))return f.status=t,f.dimensionIndex=s,l(f);if(r["y"](l)){var h=Object(o["c"])(l,f);return h.replace(a,function(t,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=Object(i["e"])(c,e,a);if(u&&r["r"](u.interpolatedValue)){var l=c.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""})}},e.prototype.getRawValue=function(e,t){return Object(i["e"])(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function l(e){var t,n;return r["x"](e)?e.type&&(n=e):t=e,{text:t,frag:n}}},OQFs:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});var r=n("KCsZ"),i=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=Object(r["a"])(i),a=function(){function e(){}return e.prototype.getLineStyle=function(e){return o(this,e)},e}()},Q1l4:function(e,t){function n(e,t){var n=-1,r=e.length;t||(t=Array(r));while(++nt)return e[r];return e[n-1]}function s(e,t,n,r,i,o,s){o=o||e;var l=t(o),u=l.paletteIdx||0,c=l.paletteNameMap=l.paletteNameMap||{};if(c.hasOwnProperty(i))return c[i];var f=null!=s&&r?a(r,s):n;if(f=f||n,f&&f.length){var d=f[u];return i&&(c[i]=d),l.paletteIdx=(u+1)%f.length,d}}function l(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}},QIyF:function(e,t,n){var r=n("Kz5y"),i=function(){return r.Date.now()};e.exports=i},QcOe:function(e,t,n){var r=n("GoyQ"),i=n("6sVZ"),o=n("7Ix3"),a=Object.prototype,s=a.hasOwnProperty;function l(e){if(!r(e))return o(e);var t=i(e),n=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&n.push(a);return n}e.exports=l},QjYF:function(e,t,n){"use strict";var r=n("AGgm").isSpace;e.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;while(o3)&&!(e.sCount[l]<0)){for(r=!1,i=0,o=u.length;i40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(r)),f=Math.abs(u*Math.sin(r)),d=0,h=0;l<=o[1];l+=s){var p=0,g=0,m=L["d"](n({value:l}),t.font,"center","top");p=1.3*m.width,g=1.3*m.height,d=Math.max(d,p,7),h=Math.max(h,g,7)}var v=d/c,y=h/f;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var b=Math.max(0,Math.floor(Math.min(v,y))),x=N(e.model),_=e.getExtent(),w=x.lastAutoInterval,O=x.lastTickCount;return null!=w&&null!=O&&Math.abs(w-b)<=1&&Math.abs(O-a)<=1&&w>b&&x.axisExtent0===_[0]&&x.axisExtent1===_[1]?b=w:(x.lastTickCount=a,x.lastAutoInterval=b,x.axisExtent0=_[0],x.axisExtent1=_[1]),b}function K(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function Z(e,t,n){var r=Object(S["h"])(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=o[0],c=i.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var f=Object(S["j"])(e),d=a.get("showMinLabel")||f,h=a.get("showMaxLabel")||f;d&&u!==o[0]&&g(o[0]);for(var p=u;p<=o[1];p+=l)g(p);function g(e){var t={value:e};s.push(n?e:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:e})}return h&&p-l!==o[1]&&g(o[1]),s}function X(e,t,n){var r=e.scale,i=Object(S["h"])(e),o=[];return u["j"](r.getTicks(),function(e){var a=r.getLabel(e),s=e.value;t(e.value,a)&&o.push(n?s:{formattedLabel:i(e),rawLabel:a,tickValue:s})}),o}var Q=[0,1],$=function(){function e(e,t,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=n||[0,0]}return e.prototype.contain=function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return Object(P["d"])(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&(n=n.slice(),J(n,r.count())),Object(P["i"])(e,Q,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&(n=n.slice(),J(n,r.count()));var i=Object(P["i"])(e,n,Q,t);return this.scale.scale(i)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=z(this,t),r=n.ticks,i=Object(u["D"])(r,function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}},this),o=t.get("alignWithLabel");return ee(this,i,o,e.clamp),i},e.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var n=this.scale.getMinorTicks(t),r=Object(u["D"])(n,function(e){return Object(u["D"])(e,function(e){return{coord:this.dataToCoord(e),tickValue:e}},this)},this);return r},e.prototype.getViewLabels=function(){return R(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},e.prototype.calculateCategoryInterval=function(){return q(this)},e}();function J(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function ee(e,t,n,r){var i=t.length;if(e.onBand&&!n&&i){var o,a,s=e.getExtent();if(1===i)t[0].coord=s[0],o=t[1]={coord:s[0]};else{var l=t[i-1].tickValue-t[0].tickValue,c=(t[i-1].coord-t[0].coord)/l;Object(u["j"])(t,function(e){e.coord-=c/2});var f=e.scale.getExtent();a=1+f[1]-t[i-1].tickValue,o={coord:t[i-1].coord+c*a},t.push(o)}var d=s[0]>s[1];h(t[0].coord,s[0])&&(r?t[0].coord=s[0]:t.shift()),r&&h(s[0],t[0].coord)&&t.unshift({coord:s[0]}),h(s[1],o.coord)&&(r?o.coord=s[1]:t.pop()),r&&h(o.coord,s[1])&&t.push({coord:s[1]})}function h(e,t){return e=Object(P["q"])(e),t=Object(P["q"])(t),d?e>t:et[1]&&t.reverse(),t},t.prototype.pointToData=function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},t.prototype.setCategorySortInfo=function(e){if("category"!==this.type)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(te),re=ne,ie=n("AVZG"),oe=n("lE7J"),ae=n("ieMj"),se=Math.log;function le(e,t,n){var r=ae["a"].prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=Object(S["f"])(e,t),u=l.extent,c=l.fixMin,f=l.fixMax;if("log"===e.type){var d=se(e.base);u=[se(u[0])/d,se(u[1])/d]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:f});var h=r.getExtent.call(e);c&&(u[0]=h[0]),f&&(u[1]=h[1]);var p=r.getInterval.call(e),g=u[0],m=u[1];if(c&&f)p=(m-g)/a;else if(c){m=u[0]+p*a;while(mu[0]&&isFinite(g)&&isFinite(u[0]))p=Object(oe["c"])(p),g=u[1]-p*a}else{var v=e.getTicks().length-1;v>a&&(p=Object(oe["c"])(p));var y=p*a;m=Math.ceil(u[1]/p)*p,g=Object(P["q"])(m-y),g<0&&u[0]>=0?(g=0,m=Object(P["q"])(y)):m>0&&u[1]<=0&&(m=0,g=-Object(P["q"])(y))}var b=(i[0].value-o[0].value)/s,x=(i[a].value-o[a].value)/s;r.setExtent.call(e,g+p*b,m+p*x),r.setInterval.call(e,p),(b||x)&&r.setNiceExtent.call(e,g+p,m-p)}var ue=function(){function e(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=I,this._initCartesian(e,t,n),this.model=e}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(e,t){var n=this._axesMap;function r(e){var t,n=Object(u["B"])(e),r=n.length;if(r){for(var i=[],o=r-1;o>=0;o--){var a=+n[o],s=e[a],l=s.model,c=s.scale;Object(oe["e"])(c)&&l.get("alignTicks")&&null==l.get("interval")?i.push(s):(Object(S["i"])(c,l),Object(oe["e"])(c)&&(t=s))}i.length&&(t||(t=i.pop(),Object(S["i"])(t.scale,t.model)),Object(u["j"])(i,function(e){le(e.scale,e.model,t.scale)}))}}this._updateScale(e,this.model),r(n.x),r(n.y);var i={};Object(u["j"])(n.x,function(e){fe(n,"y",e,i)}),Object(u["j"])(n.y,function(e){fe(n,"x",e,i)}),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var r=e.getBoxLayoutParams(),i=!n&&e.get("containLabel"),o=Object(b["d"])(r,{width:t.getWidth(),height:t.getHeight()});this._rect=o;var a=this._axesList;function s(){Object(u["j"])(a,function(e){var t=e.isHorizontal(),n=t?[0,o.width]:[0,o.height],r=e.inverse?1:0;e.setExtent(n[r],n[1-r]),he(e,t?o.x:o.y)})}s(),i&&(Object(u["j"])(a,function(e){if(!e.model.get(["axisLabel","inside"])){var t=Object(S["b"])(e);if(t){var n=e.isHorizontal()?"height":"width",r=e.model.get(["axisLabel","margin"]);o[n]-=t[n]+r,"top"===e.position?o.y+=t.height+r:"left"===e.position&&(o.x+=t.width+r)}}}),s()),Object(u["j"])(this._coordsList,function(e){e.calcAffineTransform()})},e.prototype.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n)return n[t||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}Object(u["x"])(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var r=0,i=this._coordsList;r=a)return-1;if(n=e.src.charCodeAt(o++),n<48||n>57)return-1;for(;;){if(o>=a)return-1;if(n=e.src.charCodeAt(o++),!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-i>=10)return-1}return o=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(L=!0),(T=o(e,t))>=0){if(h=!0,D=e.bMarks[t]+e.tShift[t],b=Number(e.src.slice(D,T-1)),L&&1!==b)return!1}else{if(!((T=i(e,t))>=0))return!1;h=!1}if(L&&e.skipSpaces(T)>=e.eMarks[t])return!1;if(y=e.src.charCodeAt(T-1),r)return!0;v=e.tokens.length,h?(P=e.push("ordered_list_open","ol",1),1!==b&&(P.attrs=[["start",b]])):P=e.push("bullet_list_open","ul",1),P.map=m=[t,0],P.markup=String.fromCharCode(y),_=t,I=!1,E=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";while(_=x?1:w-d,f>4&&(f=1),c=d+f,P=e.push("list_item_open","li",1),P.markup=String.fromCharCode(y),P.map=p=[t,0],h&&(P.info=e.src.slice(D,T-1)),M=e.tight,j=e.tShift[t],k=e.sCount[t],O=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=l-e.bMarks[t],e.sCount[t]=w,l>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!I||(N=!1),I=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=O,e.tShift[t]=j,e.sCount[t]=k,e.tight=M,P=e.push("list_item_close","li",-1),P.markup=String.fromCharCode(y),_=t=e.line,p[1]=_,l=e.bMarks[t],_>=n)break;if(e.sCount[_]=4)break;for(A=!1,u=0,g=E.length;u9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,n=this._sourceHost,r=this._getUpstreamSourceManagers(),o=!!r.length;if(x(n)){var a=n,s=void 0,l=void 0,u=void 0;if(o){var c=r[0];c.prepareSource(),u=c.getSource(),s=u.data,l=u.sourceFormat,t=[c._getVersionSign()]}else s=a.get("data",!0),l=Object(i["A"])(s)?p["g"]:p["f"],t=[];var f=this._getSourceMetaRawOption()||{},d=u&&u.metaRawOption||{},g=Object(i["K"])(f.seriesLayoutBy,d.seriesLayoutBy)||null,m=Object(i["K"])(f.sourceHeader,d.sourceHeader),v=Object(i["K"])(f.dimensions,d.dimensions),y=g!==d.seriesLayoutBy||!!m!==!!d.sourceHeader||v;e=y?[Object(h["b"])(s,{seriesLayoutBy:g,sourceHeader:m,dimensions:v},l)]:[]}else{var b=n;if(o){var _=this._applyTransform(r);e=_.sourceList,t=_.upstreamSignList}else{var w=b.get("source",!0);e=[Object(h["b"])(w,this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,r=n.get("transform",!0),o=n.get("fromTransformResult",!0);if(null!=o){var a="";1!==e.length&&_(a)}var s=[],l=[];return Object(i["j"])(e,function(e){e.prepareSource();var t=e.getSource(o||0),n="";null==o||t||_(n),s.push(t),l.push(e._getVersionSign())}),r?t=Object(m["a"])(r,s,{datasetIndex:n.componentIndex}):null!=o&&(t=[Object(h["a"])(s[0])]),{sourceList:t,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t1||p&&!d){var m=S(h,s,l,f,g);t=m.inlineValues,n=m.inlineValueTypes,r=m.blocks,o=m.inlineValues[0]}else if(d){var v=c.getDimensionInfo(f[0]);o=t=Object(y["e"])(c,l,f[0]),n=v.type}else o=t=p?h[0]:h;var b=Object(a["l"])(s),x=b&&s.name||"",_=c.getName(l),O=u?x:_;return Object(w["c"])("section",{header:x,noHeader:u||!b,sortParam:o,blocks:[Object(w["c"])("nameValue",{markerType:"item",markerColor:g,name:O,noName:!Object(i["O"])(O),value:t,valueType:n})].concat(r||[])})}function S(e,t,n,r,o){var a=t.getData(),s=Object(i["I"])(e,function(e,t,n){var r=a.getDimensionInfo(n);return e||r&&!1!==r.tooltip&&null!=r.displayName},!1),l=[],u=[],c=[];function f(e,t){var n=a.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(s?c.push(Object(w["c"])("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:e,valueType:n.type})):(l.push(e),u.push(n.type)))}return r.length?Object(i["j"])(r,function(e){f(Object(y["e"])(a,n,e),e)}):Object(i["j"])(e,f),{inlineValues:l,inlineValueTypes:u,blocks:c}}n.d(t,"a",function(){return M});var k=a["m"]();function j(e,t){return e.getName(t)||e.getId(t)}var M="__universalTransitionEnabled",C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return Object(r["a"])(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=Object(f["a"])({count:D,reset:A}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n);var r=k(this).sourceManager=new b(this);r.prepareSource();var i=this.getInitialData(e,n);P(i,this),this.dataTask.context.data=i,k(this).dataBeforeProcessed=i,T(this),this._initSelectedMapFromData(i)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=Object(c["b"])(this),r=n?Object(c["c"])(e):{},o=this.subType;s["a"].hasClass(o)&&(o+="Series"),i["E"](e,t.getTheme().get(this.subType)),i["E"](e,this.getDefaultOption()),a["e"](e,"label",["show"]),this.fillDataTextStyle(e.data),n&&Object(c["e"])(e,r,n)},t.prototype.mergeOption=function(e,t){e=i["E"](this.option,e,!0),this.fillDataTextStyle(e.data);var n=Object(c["b"])(this);n&&Object(c["e"])(this.option,e,n);var r=k(this).sourceManager;r.dirty(),r.prepareSource();var o=this.getInitialData(e,t);P(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,k(this).dataBeforeProcessed=o,T(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(e){if(e&&!i["A"](e))for(var t=["show"],n=0;nthis.getShallow("animationThreshold")&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,i=l["a"].prototype.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(t);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(o)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t);return("all"===n||n[j(r,e)])&&!r.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[M])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,r,o=this.option,a=o.selectedMode,s=t.length;if(a&&s)if("series"===a)o.selectedMap="all";else if("multiple"===a){i["x"](o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u0&&this._innerSelect(e,t)}},t.registerClass=function(e){return s["a"].registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}(s["a"]);function T(e){var t=e.name;a["l"](e)||(e.name=I(e)||t)}function I(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return i["j"](n,function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)}),r.join(" ")}function D(e){return e.model.getRawData().count()}function A(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),E}function E(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function P(e,t){i["j"](i["e"](e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,i["h"](L,t))})}function L(e,t){var n=N(e);return n&&n.setOutputEnd((t||this).count()),t}function N(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}i["F"](C,u["a"]),i["F"](C,l["a"]),Object(d["e"])(C,s["a"]);t["b"]=C},TCYN:function(e,t,n){"use strict";var r=/\r\n?|\n/g,i=/\0/g;e.exports=function(e){var t;t=e.src.replace(r,"\n"),t=t.replace(i,"\ufffd"),e.src=t}},TLR5:function(e,t,n){"use strict";var r=n("SINd"),i=[["text",n("usqY")],["newline",n("QjYF")],["escape",n("bgCn")],["backticks",n("SpRm")],["strikethrough",n("kiyR").tokenize],["emphasis",n("yKnv").tokenize],["link",n("zQ/W")],["image",n("ky0j")],["autolink",n("KOyK")],["html_inline",n("wtjL")],["entity",n("W1Rp")]],o=[["balance_pairs",n("g40J")],["strikethrough",n("kiyR").postProcess],["emphasis",n("yKnv").postProcess],["text_collapse",n("IIUr")]];function a(){var e;for(this.ruler=new r,e=0;e=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),o=this.ruler2.getRules(""),a=o.length,i=0;ie&&(e=t),e},t.prototype.brushSelector=function(e,t,n){return n.rect(t.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Object(f["d"])(c.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(c),h=d,p=n("y+Vt"),g=n("LcXL"),m=n("IwbS"),v=n("3soF"),y=n("x6Kt"),b=n("SqI9"),x=n("hhxK"),_=n("fWwa"),w=n("eDfh"),O=n("iLNv"),S=n("sK/D"),k=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return e}(),j=function(e){function t(t){var n=e.call(this,t)||this;return n.type="sausage",n}return Object(a["a"])(t,e),t.prototype.getDefaultShape=function(){return new k},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=.5*(o-i),s=i+a,l=t.startAngle,u=t.endAngle,c=t.clockwise,f=2*Math.PI,d=c?u-lMath.PI/2&&f<1.5*Math.PI&&(f-=Math.PI),e.setTextConfig({rotation:f})}}function P(e,t,n){return t*Math.sin(e)*(n?-1:1)}function L(e,t,n){return t*Math.cos(e)*(n?1:-1)}var N=Math.max,R=Math.min;function z(e,t){var n=e.getArea&&e.getArea();if(Object(T["a"])(e,"cartesian2d")){var r=e.getBaseAxis();if("category"!==r.type||!r.onBand){var i=t.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}var F=function(e){function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return Object(a["a"])(t,e),t.prototype.render=function(e,t,n,r){this._model=e,this._removeOnRenderedListener(n),this._updateDrawMode(e);var i=e.get("coordinateSystem");("cartesian2d"===i||"polar"===i)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n,r))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,t){this._progressiveEls=[],this._incrementalRenderLarge(e,t)},t.prototype.eachRendered=function(e){Object(m["traverseElements"])(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e,t,n,r){var i,o=this.group,a=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=e.isAnimationEnabled()?e:null,f=V(e,l);f&&this._enableRealtimeSort(f,a,n);var d=e.get("clip",!0)||f,h=z(l,a);o.removeClipPath();var p=e.get("roundCap",!0),m=e.get("showBackground",!0),y=e.getModel("backgroundStyle"),b=y.get("borderRadius")||0,x=[],_=this._backgroundEls,O=r&&r.isInitSort,S=r&&"changeAxisOrder"===r.type;function k(e){var t=K[l.type](a,e),n=oe(l,i,t);return n.useStyle(y.getItemStyle()),"cartesian2d"===l.type&&n.setShape("r",b),x[e]=n,n}a.diff(s).add(function(t){var n=a.getItemModel(t),r=K[l.type](a,t,n);if(m&&k(t),a.hasValue(t)&&q[l.type](r)){var s=!1;d&&(s=B[l.type](h,r));var g=Y[l.type](e,a,t,r,i,c,u.model,!1,p);f&&(g.forceLabelAnimation=!0),Q(g,a,t,n,r,e,i,"polar"===l.type),O?g.attr({shape:r}):f?G(f,c,g,r,t,i,!1,!1):Object(v["c"])(g,{shape:r},e,t),a.setItemGraphicEl(t,g),o.add(g),g.ignore=s}}).update(function(t,n){var r=a.getItemModel(t),g=K[l.type](a,t,r);if(m){var j=void 0;0===_.length?j=k(n):(j=_[n],j.useStyle(y.getItemStyle()),"cartesian2d"===l.type&&j.setShape("r",b),x[t]=j);var M=K[l.type](a,t),C=ie(i,M,l);Object(v["h"])(j,{shape:C},c,t)}var T=s.getItemGraphicEl(n);if(a.hasValue(t)&&q[l.type](g)){var I=!1;if(d&&(I=B[l.type](h,g),I&&o.remove(T)),T?Object(v["g"])(T):T=Y[l.type](e,a,t,g,i,c,u.model,!!T,p),f&&(T.forceLabelAnimation=!0),S){var D=T.getTextContent();if(D){var A=Object(w["d"])(D);null!=A.prevValue&&(A.prevValue=A.value)}}else Q(T,a,t,r,g,e,i,"polar"===l.type);O?T.attr({shape:g}):f?G(f,c,T,g,t,i,!0,S):Object(v["h"])(T,{shape:g},e,t,null),a.setItemGraphicEl(t,T),T.ignore=I,o.add(T)}else o.remove(T)}).remove(function(t){var n=s.getItemGraphicEl(t);n&&Object(v["f"])(n,e,t)}).execute();var j=this._backgroundGroup||(this._backgroundGroup=new g["a"]);j.removeAll();for(var M=0;Mo)return!0;o=u}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,r=n.getExtent(),i=Math.max(0,r[0]),o=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=o;++i)if(e.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},t.prototype._updateSortWithinSameData=function(e,t,n,r){if(this._isOrderChangedWithinSameData(e,t,n)){var i=this._dataSort(e,n,t);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},t.prototype._dispatchInitSort=function(e,t,n){var r=t.baseAxis,i=this._dataSort(e,r,function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)});n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},t.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},t.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var t=this.group,n=this._data;e&&e.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(t){Object(v["f"])(t,e,Object(x["a"])(t).dataIndex)})):t.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(C["a"]),B={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,o=e.y+e.height,a=N(t.x,e.x),s=R(t.x+t.width,i),l=N(t.y,e.y),u=R(t.y+t.height,o),c=si?s:a,t.y=f&&l>o?u:l,t.width=c?0:s-a,t.height=f?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=R(t.r,e.r),o=N(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(n<0){r=t.r;t.r=t.r0,t.r0=r}return a}},Y={cartesian2d:function(e,t,n,i,o,a,s,l,u){var c=new y["a"]({shape:Object(r["l"])({},i),z2:1});if(c.__dataIndex=n,c.name="item",a){var f=c.shape,d=o?"height":"width";f[d]=0}return c},polar:function(e,t,n,r,i,o,a,s,l){var u=!i&&l?M:b["a"],c=new u({shape:r,z2:1});c.name="item";var f=X(i);if(c.calculateTextPosition=A(f,{isRoundCap:u===M}),o){var d=c.shape,h=i?"r":"endAngle",p={};d[h]=i?0:r.startAngle,p[h]=r[h],(s?v["h"]:v["c"])(c,{shape:p},o)}return c}};function V(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&"category"===r.type&&"cartesian2d"===t.type)return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function G(e,t,n,r,i,o,a,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?v["h"]:v["c"])(n,{shape:l},t,i,null);var c=t?e.baseAxis.model:null;(a?v["h"]:v["c"])(n,{shape:u},c,i)}function W(e,t){for(var n=0;n0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function Z(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function X(e){return function(e){var t=e?"Arc":"Angle";return function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}}}(e)}function Q(e,t,n,i,o,a,s,l){var u=t.getItemVisual(n,"style");l||e.setShape("r",i.get(["itemStyle","borderRadius"])||0),e.useStyle(u);var c=i.getShallow("cursor");c&&e.attr("cursor",c);var f=l?s?o.r>=o.r0?"endArc":"startArc":o.endAngle>=o.startAngle?"endAngle":"startAngle":s?o.height>=0?"bottom":"top":o.width>=0?"right":"left",d=Object(w["c"])(i);Object(w["e"])(e,d,{labelFetcher:a,labelDataIndex:n,defaultText:Object(I["b"])(a.getData(),n),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:f});var h=e.getTextContent();if(l&&h){var p=i.get(["label","position"]);e.textConfig.inside="middle"===p||null,E(e,"outside"===p?f:p,X(s),i.get(["label","rotate"]))}Object(w["f"])(h,d,a.getRawValue(n),function(e){return Object(I["a"])(t,e)});var g=i.getModel(["emphasis"]);Object(_["E"])(e,g.get("focus"),g.get("blurScope"),g.get("disabled")),Object(_["D"])(e,i),Z(o)&&(e.style.fill="none",e.style.stroke="none",Object(r["j"])(e.states,function(e){e.style&&(e.style.fill=e.style.stroke="none")}))}function $(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var r=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,o)}var J=function(){function e(){}return e}(),ee=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeBar",n}return Object(a["a"])(t,e),t.prototype.getDefaultShape=function(){return new J},t.prototype.buildPath=function(e,t){for(var n=t.points,r=this.baseDimIdx,i=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=0?n:null},30,!1);function re(e,t,n){for(var r=e.baseDimIdx,i=1-r,o=e.shape.points,a=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,f=o.length/3;c=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}function ie(e,t,n){if(Object(T["a"])(n,"cartesian2d")){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}i=n.getArea();var o=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:o.r0,r:e?i.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:2*Math.PI}}function oe(e,t,n){var r="polar"===e.type?b["a"]:y["a"];return new r({shape:ie(t,n,e),silent:!0,z2:0})}var ae=F;function se(e){e.registerChartView(ae),e.registerSeriesModel(h),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,r["h"](i["b"],"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Object(i["a"])("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,Object(o["a"])("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},function(t){e.sortInfo&&t.axis.setCategorySortInfo(e.sortInfo)})})}n.d(t,"a",function(){return se})},TO8r:function(e,t){var n=/\s/;function r(e){var t=e.length;while(t--&&n.test(e.charAt(t)));return t}e.exports=r},"U4/e":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("bYtY"),i=n("6GrX"),o=function(){function e(e,t,n){this._prepareParams(e,t,n)}return e.prototype._prepareParams=function(e,t,n){n[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var d=this._determinedMin,h=this._determinedMax;return null!=d&&(s=d,u=!0),null!=h&&(l=h,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:f}},e.prototype.modifyDataMinMax=function(e,t){this[s[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){var n=a[e];this[n]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function l(e,t,n){var r=e.rawExtentInfo;return r||(r=new o(e,t,n),e.rawExtentInfo=r,r)}function u(e,t){return null==t?null:Object(r["k"])(t)?NaN:e.parse(t)}},"UNi/":function(e,t){function n(e,t){var n=-1,r=Array(e);while(++n`\\x00-\\x20]+",o="'[^']*'",a='"[^"]*"',s="(?:"+i+"|"+o+"|"+a+")",l="(?:\\s+"+r+"(?:\\s*=\\s*"+s+")?)",u="<[A-Za-z][A-Za-z0-9\\-]*"+l+"*\\s*\\/?>",c="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",f="\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e",d="<[?][\\s\\S]*?[?]>",h="]*>",p="",g=new RegExp("^(?:"+u+"|"+c+"|"+f+"|"+d+"|"+h+"|"+p+")"),m=new RegExp("^(?:"+u+"|"+c+")");e.exports.HTML_TAG_RE=g,e.exports.HTML_OPEN_CLOSE_TAG_RE=m},W1Rp:function(e,t,n){"use strict";var r=n("vWgF"),i=n("AGgm").has,o=n("AGgm").isValidEntityCode,a=n("AGgm").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,u,c,f=e.pos,d=e.posMax;if(38!==e.src.charCodeAt(f))return!1;if(f+1|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(l=e.src.slice(u,c),i=0;i=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1130?"\u4e0a\u5348":r<1230?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}});return t})},Xi7e:function(e,t,n){var r=n("KMkd"),i=n("adU4"),o=n("tMB7"),a=n("+6XX"),s=n("Z8oC");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t=0&&e=0&&e=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(o["a"]);o["a"].registerClass(l);var u=l,c=n("ieMj"),f=n("nVfU"),d=n("mFDi"),h=n("OELB"),p=n("+Hau"),g=function(e,t,n,r){while(n>>1;e[i][1]n&&(this._approxInterval=n);var o=v.length,a=Math.min(g(v,this._approxInterval,0,o),o-1);this._interval=v[a][1],this._minLevelUnit=v[Math.max(a-1,0)][0]},t.prototype.parse=function(e){return Object(r["w"])(e)?e:+h["l"](e)},t.prototype.contain=function(e){return s["a"](this.parse(e),this._extent)},t.prototype.normalize=function(e){return s["f"](this.parse(e),this._extent)},t.prototype.scale=function(e){return s["g"](e,this._extent)},t.type="time",t}(c["a"]),v=[["second",p["d"]],["minute",p["c"]],["hour",p["b"]],["quarter-day",6*p["b"]],["half-day",12*p["b"]],["day",1.2*p["a"]],["half-week",3.5*p["a"]],["week",7*p["a"]],["month",31*p["a"]],["quarter",95*p["a"]],["half-year",p["e"]/2],["year",p["e"]]];function y(e,t,n,r){var i=h["l"](t),o=h["l"](n),a=function(e){return Object(p["n"])(i,e,r)===Object(p["n"])(o,e,r)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},f=function(){return c()&&a("minute")},d=function(){return f()&&a("second")},g=function(){return d()&&a("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return f();case"second":return d();case"millisecond":return g()}}function b(e,t){return e/=p["a"],e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function x(e){var t=30*p["a"];return e/=t,e>6?6:e>3?3:e>2?2:1}function _(e){return e/=p["b"],e>12?12:e>6?6:e>3.5?4:e>2?2:1}function w(e,t){return e/=t?p["c"]:p["d"],e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function O(e){return h["j"](e,!0)}function S(e,t,n){var r=new Date(e);switch(Object(p["m"])(t)){case"year":case"month":r[Object(p["x"])(n)](0);case"day":r[Object(p["g"])(n)](1);case"hour":r[Object(p["p"])(n)](0);case"minute":r[Object(p["v"])(n)](0);case"second":r[Object(p["A"])(n)](0),r[Object(p["t"])(n)](0)}return r.getTime()}function k(e,t,n,i){var o=1e4,a=p["B"],s=0;function l(e,t,n,r,o,a,s){var l=new Date(t),u=t,c=l[r]();while(u1&&0===u&&o.unshift({value:o[0].value-d})}}for(u=0;u=i[0]&&M<=i[1]&&d++)}var C=(i[1]-i[0])/t;if(d>1.5*C&&h>C/1.5)break;if(c.push(k),d>C||e===a[g])break}f=[]}}}var T=Object(r["m"])(Object(r["D"])(c,function(e){return Object(r["m"])(e,function(e){return e.value>=i[0]&&e.value<=i[1]&&!e.notAdd})}),function(e){return e.length>0}),I=[],D=T.length-1;for(g=0;g0)r*=10;var o=[h["q"](D(t[0]/r)*r),h["q"](I(t[1]/r)*r)];this._interval=r,this._niceExtent=o}},t.prototype.calcNiceExtent=function(e){C.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=E(e)/E(this.base),s["a"](e,this._extent)},t.prototype.normalize=function(e){return e=E(e)/E(this.base),s["f"](e,this._extent)},t.prototype.scale=function(e){return e=s["g"](e,this._extent),A(this.base,e)},t.type="log",t}(o["a"]),L=P.prototype;function N(e,t){return T(e,h["e"](t))}L.getMinorTicks=C.getMinorTicks,L.getLabel=C.getLabel,o["a"].registerClass(P);var R=P,z=n("7hqr"),F=n("U4/e");function B(e,t){var n=e.type,i=Object(F["a"])(e,t,e.getExtent()).calculate();e.setBlank(i.isBlank);var o=i.min,a=i.max,s=t.ecModel;if(s&&"time"===n){var l=Object(f["d"])("bar",s),u=!1;if(r["j"](l,function(e){u=u||e.getBaseAxis()===t.axis}),u){var c=Object(f["c"])(l),d=Y(o,a,t,c);o=d.min,a=d.max}}return{extent:[o,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function Y(e,t,n,i){var o=n.axis.getExtent(),a=o[1]-o[0],s=Object(f["e"])(i,n.axis);if(void 0===s)return{min:e,max:t};var l=1/0;r["j"](s,function(e){l=Math.min(e.offset,l)});var u=-1/0;r["j"](s,function(e){u=Math.max(e.offset+e.width,u)}),l=Math.abs(l),u=Math.abs(u);var c=l+u,d=t-e,h=1-(l+u)/a,p=d/h-d;return t+=p*(u/c),e-=p*(l/c),{min:e,max:t}}function V(e,t){var n=t,r=B(e,n),i=r.extent,o=n.get("splitNumber");e instanceof R&&(e.base=n.get("logBase"));var a=e.type,s=n.get("interval"),l="interval"===a||"time"===a;e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&e.setInterval&&e.setInterval(s)}function G(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new u({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new j({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(o["a"].getClass(t)||c["a"])}}function W(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function U(e){var t=e.getLabelModel().get("formatter"),n="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?function(t){return function(n,r){return e.scale.getFormattedLabel(n,r,t)}}(t):r["y"](t)?function(t){return function(n){var r=e.scale.getLabel(n),i=t.replace("{value}",null!=r?r:"");return i}}(t):r["u"](t)?function(t){return function(r,i){return null!=n&&(i=r.value-n),t(H(e,r),i,null!=r.level?{level:r.level}:null)}}(t):function(t){return e.scale.getLabel(t)}}function H(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function q(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var r,i,o=n.getExtent();n instanceof u?i=n.count():(r=n.getTicks(),i=r.length);var a,s=e.getLabelModel(),l=U(e),c=1;i>40&&(c=Math.ceil(i/40));for(var f=0;fe[1]&&(e[1]=r[1])})}n.d(t,"f",function(){return B}),n.d(t,"i",function(){return V}),n.d(t,"a",function(){return G}),n.d(t,"g",function(){return W}),n.d(t,"h",function(){return U}),n.d(t,"c",function(){return H}),n.d(t,"b",function(){return q}),n.d(t,"e",function(){return Z}),n.d(t,"j",function(){return X}),n.d(t,"d",function(){return Q}),n.d(t,"k",function(){return $})},adU4:function(e,t,n){var r=n("y1pI"),i=Array.prototype,o=i.splice;function a(e){var t=this.__data__,n=r(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():o.call(t,n,1),--this.size,!0}e.exports=a},b80T:function(e,t,n){var r=n("UNi/"),i=n("03A+"),o=n("Z0cm"),a=n("DSRE"),s=n("wJg7"),l=n("c6wG"),u=Object.prototype,c=u.hasOwnProperty;function f(e,t){var n=o(e),u=!n&&i(e),f=!n&&!u&&a(e),d=!n&&!u&&!f&&l(e),h=n||u||f||d,p=h?r(e.length,String):[],g=p.length;for(var m in e)!t&&!c.call(e,m)||h&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||p.push(m);return p}e.exports=f},bLfw:function(e,t,n){"use strict";var r=n("mrSG"),i=n("bYtY"),o=n("Qxkt"),a=n("iRjW"),s=n("Yl7c"),l=n("4NO4"),u=n("+TT/"),c=Object(l["m"])(),f=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.uid=a["c"]("ec_cpt_model"),i}return Object(r["a"])(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=u["b"](this),r=n?u["c"](e):{},o=t.getTheme();i["E"](e,o.get(this.mainType)),i["E"](e,this.getDefaultOption()),n&&u["e"](e,r,n)},t.prototype.mergeOption=function(e,t){i["E"](this.option,e,!0);var n=u["b"](this);n&&u["e"](this.option,e,n)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!Object(s["d"])(e))return e.defaultOption;var t=c(this);if(!t.defaultOption){var n=[],r=e;while(r){var o=r.prototype.defaultOption;o&&n.push(o),r=r.superClass}for(var a={},l=n.length-1;l>=0;l--)a=i["E"](a,n[l],!0);t.defaultOption=a}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",r=e+"Id";return Object(l["t"])(this.ecModel,e,{index:this.get(n,!0),id:this.get(r,!0)},t)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(o["a"]);function d(e){var t=[];return i["j"](f.getClassesByMainType(e),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=i["D"](t,function(e){return Object(s["f"])(e).main}),"dataset"!==e&&i["p"](t,"dataset")<=0&&t.unshift("dataset"),t}Object(s["e"])(f,o["a"]),Object(s["c"])(f),a["a"](f),a["b"](f,d),t["a"]=f},bgCn:function(e,t,n){"use strict";for(var r=n("AGgm").isSpace,i=[],o=0;o<256;o++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),e.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(o++,o=n)break;if(e.sCount[s]=u){e.line=n;break}for(i=0;i0&&this.handleMarkers(O);var M=this.editor.$options;l.editorOptions.forEach(function(t){M.hasOwnProperty(t)?e.editor.setOption(t,e.props[t]):e.props[t]&&console.warn("ReactAce: editor option "+t+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}),this.handleOptions(this.props),Array.isArray(_)&&_.forEach(function(t){"string"===typeof t.exec?e.editor.commands.bindKey(t.bindKey,t.exec):e.editor.commands.addCommand(t)}),b&&this.editor.setKeyboardHandler("ace/keyboard/"+b),n&&(this.refEditor.className+=" "+n),x&&x(this.editor),this.editor.resize(),a&&this.editor.focus()},t.prototype.componentDidUpdate=function(e){for(var t=e,n=this.props,r=0;r"+o(e[t].content)+""},a.code_block=function(e,t,n,r,i){var a=e[t];return""+o(e[t].content)+"\n"},a.fence=function(e,t,n,r,a){var s,l,u,c,f,d=e[t],h=d.info?i(d.info).trim():"",p="",g="";return h&&(u=h.split(/(\s+)/g),p=u[0],g=u.slice(2).join("")),s=n.highlight&&n.highlight(d.content,p,g)||o(d.content),0===s.indexOf(""+s+"\n"):"
"+s+"
\n"},a.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"
\n":"
\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
\n":"
\n":"\n"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">",i)},s.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,s=e.length;a=0,a=!1;if(e instanceof l["b"]){var s=f(e),u=o&&s.selectFill||s.normalFill,c=o&&s.selectStroke||s.normalStroke;if(k(u)||k(c)){r=r||{};var d=r.style||{};"inherit"===d.fill?(a=!0,r=Object(i["l"])({},r),d=Object(i["l"])({},d),d.fill=u):!k(d.fill)&&k(u)?(a=!0,r=Object(i["l"])({},r),d=Object(i["l"])({},d),d.fill=M(u)):!k(d.stroke)&&k(c)&&(a||(r=Object(i["l"])({},r),d=Object(i["l"])({},d)),d.stroke=M(c)),r.style=d}}if(r&&null==r.z2){a||(r=Object(i["l"])({},r));var h=e.z2EmphasisLift;r.z2=e.z2+(null!=h?h:y)}return r}function B(e,t,n){if(n&&null==n.z2){n=Object(i["l"])({},n);var r=e.z2SelectLift;n.z2=e.z2+(null!=r?r:b)}return n}function Y(e,t,n){var r=Object(i["p"])(e.currentStates,t)>=0,o=e.style.opacity,a=r?null:z(e,["opacity"],t,{opacity:1});n=n||{};var s=n.style||{};return null==s.opacity&&(n=Object(i["l"])({},n),s=Object(i["l"])({opacity:r?o:.1*a.opacity},s),n.style=s),n}function V(e,t){var n=this.states[e];if(this.style){if("emphasis"===e)return F(this,e,t,n);if("blur"===e)return Y(this,e,n);if("select"===e)return B(this,e,n)}return n}function G(e){e.stateProxy=V;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=V),n&&(n.stateProxy=V)}function W(e,t){!$(e,t)&&!e.__highByOuter&&N(e,T)}function U(e,t){!$(e,t)&&!e.__highByOuter&&N(e,I)}function H(e,t){e.__highByOuter|=1<<(t||0),N(e,T)}function q(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&N(e,I)}function K(e){N(e,D)}function Z(e){N(e,A)}function X(e){N(e,E)}function Q(e){N(e,P)}function $(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function J(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(t,i){var o=d(i),a="series"===t,s=a?e.getViewOfSeriesModel(i):e.getViewOfComponentModel(i);!a&&r.push(s),o.isBlured&&(s.group.traverse(function(e){A(e)}),a&&n.push(i)),o.isBlured=!1}),Object(i["j"])(r,function(e){e&&e.toggleBlurSeries&&e.toggleBlurSeries(n,!1,t)})}function ee(e,t,n,r){var o=r.getModel();function a(e,t){for(var n=0;n0){var o={dataIndex:i,seriesIndex:e.seriesIndex};null!=r&&(o.dataType=r),t.push(o)}})}),t}function ue(e,t,n){me(e,!0),N(e,G),de(e,t,n)}function ce(e){me(e,!1)}function fe(e,t,n,r){r?ce(e):ue(e,t,n)}function de(e,t,n){var r=Object(o["a"])(e);null!=t?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var he=["emphasis","blur","select"],pe={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ge(e,t,n,r){n=n||"itemStyle";for(var i=0;i=n)return l;if(o=e.charCodeAt(t),34!==o&&39!==o&&40!==o)return l;t++,40===o&&(o=41);while(t0&&this.level++,this.tokens.push(i),i},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et)if(!i(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;en)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,r){var o,a,s,l,u,c,f,d=e;if(e>=t)return"";for(c=new Array(t-e),o=0;dn?new Array(a-n+1).join(" ")+this.src.slice(l,u):this.src.slice(l,u)}return c.join("")},o.prototype.Token=r,e.exports=o},g40J:function(e,t,n){"use strict";function r(e,t){var n,r,i,o,a,s,l,u,c={},f=t.length;if(f){var d=0,h=-2,p=[];for(n=0;na;r-=p[r]+1)if(o=t[r],o.marker===i.marker&&o.open&&o.end<0&&(l=!1,(o.close||i.open)&&(o.length+i.length)%3===0&&(o.length%3===0&&i.length%3===0||(l=!0)),!l)){u=r>0&&!t[r-1].open?p[r-1]+1:0,p[n]=n-r+u,p[r]=u,i.open=!1,o.end=n,o.close=!1,s=-1,h=-2;break}-1!==s&&(c[i.marker][(i.open?3:0)+(i.length||0)%3]=s)}}}e.exports=function(e){var t,n=e.tokens_meta,i=e.tokens_meta.length;for(r(e,e.delimiters),t=0;t30}},gNPE:function(e,t,n){"use strict";var r=n("AGgm").isSpace;function i(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function o(e){var t,n=[],r=0,i=e.length,o=!1,a=0,s="";t=e.charCodeAt(r);while(rn)return!1;if(d=t+1,e.sCount[d]=4)return!1;if(u=e.bMarks[d]+e.tShift[d],u>=e.eMarks[d])return!1;if(O=e.src.charCodeAt(u++),124!==O&&45!==O&&58!==O)return!1;if(u>=e.eMarks[d])return!1;if(S=e.src.charCodeAt(u++),124!==S&&45!==S&&58!==S&&!r(S))return!1;if(45===O&&r(S))return!1;while(u=4)return!1;if(h=o(l),h.length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),p=h.length,0===p||p!==m.length)return!1;if(a)return!0;for(x=e.parentType,e.parentType="table",w=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),g.map=y=[t,0],g=e.push("thead_open","thead",1),g.map=[t,t+1],g=e.push("tr_open","tr",1),g.map=[t,t+1],c=0;c=4)break;for(h=o(l),h.length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),d===t+2&&(g=e.push("tbody_open","tbody",1),g.map=b=[t+2,0]),g=e.push("tr_open","tr",1),g.map=[d,d+1],c=0;c1){var c=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(c,a)}else 1===u?(n[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},i={},o=[],a=[];this._initIndexMap(e,n,o,"_oldKeyGetter"),this._initIndexMap(t,i,a,"_newKeyGetter");for(var s=0;s1&&1===d)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(1===f&&d>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(1===f&&1===d)this._update&&this._update(c,u),i[l]=null;else if(f>1&&d>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(f>1)for(var h=0;h1)for(var s=0;s=0?f():c=setTimeout(f,-i),l=r};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(e){s=e},d}function s(e,t,n,s){var l=e[t];if(l){var u=l[r]||l,c=l[o],f=l[i];if(f!==n||c!==s){if(null==n||!s)return e[t]=u;l=e[t]=a(u,n,"debounce"===s),l[r]=u,l[o]=s,l[i]=n}return l}}function l(e,t){var n=e[t];n&&n[r]&&(n.clear&&n.clear(),e[t]=n[r])}},iRjW:function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"a",function(){return s}),n.d(t,"b",function(){return l}),n.d(t,"d",function(){return u});var r=n("bYtY"),i=n("Yl7c"),o=Math.round(10*Math.random());function a(e){return[e||"",o++].join("_")}function s(e){var t={};e.registerSubTypeDefaulter=function(e,n){var r=Object(i["f"])(e);t[r.main]=n},e.determineSubType=function(n,r){var o=r.type;if(!o){var a=Object(i["f"])(n).main;e.hasSubTypes(n)&&t[a]&&(o=t[a](r))}return o}}function l(e,t){function n(e){var n={},a=[];return r["j"](e,function(s){var l=i(n,s),u=l.originalDeps=t(s),c=o(u,e);l.entryCount=c.length,0===l.entryCount&&a.push(s),r["j"](c,function(e){r["p"](l.predecessor,e)<0&&l.predecessor.push(e);var t=i(n,e);r["p"](t.successor,e)<0&&t.successor.push(s)})}),{graph:n,noEntryList:a}}function i(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function o(e,t){var n=[];return r["j"](e,function(e){r["p"](t,e)>=0&&n.push(e)}),n}e.topologicalTravel=function(e,t,i,o){if(e.length){var a=n(t),s=a.graph,l=a.noEntryList,u={};r["j"](e,function(e){u[e]=!0});while(l.length){var c=l.pop(),f=s[c],d=!!u[c];d&&(i.call(o,c,f.originalDeps.slice()),delete u[c]),r["j"](f.successor,d?p:h)}r["j"](u,function(){var e="";throw new Error(e)})}function h(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function p(e){u[e]=!0,h(e)}}}function u(e,t){return r["E"](r["E"]({},e,!0),t,!0)}},ieMj:function(e,t,n){"use strict";var r=n("mrSG"),i=n("OELB"),o=n("7aKB"),a=n("4NgU"),s=n("lE7J"),l=i["q"],u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return Object(r["a"])(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return s["a"](e,this._extent)},t.prototype.normalize=function(e){return s["f"](e,this._extent)},t.prototype.scale=function(e){return s["g"](e,this._extent)},t.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},t.prototype.unionExtent=function(e){var t=this._extent;e[0]t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=s["b"](e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!t)return o;var a=1e4;n[0]a)return[]}var u=o.length?o[o.length-1].value:r[1];return n[1]>u&&(e?o.push({value:l(u+t,i)}):o.push({value:n[1]})),o},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),i=1;ir[0]&&d=b)return!1;for(m=c,d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),d.ok&&(v=e.md.normalizeLink(d.str),e.md.validateLink(v)?c=d.pos:v=""),m=c;c=b||41!==e.src.charCodeAt(c))return e.pos=y,!1;c++}else{if("undefined"===typeof e.env.references)return!1;if(c=0?s=e.src.slice(m,c++):c=l+1):c=l+1,s||(s=e.src.slice(u,l)),f=e.env.references[r(s)],!f)return e.pos=y,!1;v=f.href,h=f.title}return t||(a=e.src.slice(u,l),e.md.inline.parse(a,e.md,e.env,g=[]),p=e.push("image","img",0),p.attrs=n=[["src",v],["alt",""]],p.children=g,p.content=a,h&&n.push(["title",h])),e.pos=c,e.posMax=b,!0}},l6yY:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("3CBa");function i(e){e.registerPainter("svg",r["a"])}},lE7J:function(e,t,n){"use strict";n.d(t,"e",function(){return i}),n.d(t,"d",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return c}),n.d(t,"f",function(){return f}),n.d(t,"g",function(){return d});var r=n("OELB");function i(e){return"interval"===e.type||"log"===e.type}function o(e,t,n,i){var o={},a=e[1]-e[0],l=o.interval=Object(r["j"])(a/t,!0);null!=n&&li&&(l=o.interval=i);var c=o.intervalPrecision=s(l),f=o.niceTickExtent=[Object(r["q"])(Math.ceil(e[0]/l)*l,c),Object(r["q"])(Math.floor(e[1]/l)*l,c)];return u(f,e),o}function a(e){var t=Math.pow(10,Object(r["o"])(e)),n=e/t;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Object(r["q"])(n*t)}function s(e){return Object(r["e"])(e)+2}function l(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function u(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),l(e,0,t),l(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function c(e,t){return e>=t[0]&&e<=t[1]}function f(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function d(e,t){return e*(t[1]-t[0])+t[0]}},lSCD:function(e,t,n){var r=n("NykK"),i=n("GoyQ"),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(e){if(!i(e))return!1;var t=r(e);return t==a||t==s||t==o||t==l}e.exports=u},lc5D:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("eF/C"),i=n("Uf63");t.diff=i.default;var o=n("N5VM");t.split=o.default,t.default=r.default},ljhN:function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},mSF0:function(e,t,n){"use strict";var r=n("AGgm").arrayReplaceAt;function i(e){return/^\s]/i.test(e)}function o(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,a,s,l,u,c,f,d,h,p,g,m,v,y,b,x,_=e.tokens;if(e.md.options.linkify)for(n=0,a=_.length;n=0;t--)if(u=s[t],"link_close"!==u.type){if("html_inline"===u.type&&(i(u.content)&&m>0&&m--,o(u.content)&&m++),!(m>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(d=u.content,x=e.md.linkify.match(d),c=[],g=u.level,p=0,f=0;fp&&(l=new e.Token("text","",0),l.content=d.slice(p,h),l.level=g,c.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",y]],l.level=g++,l.markup="linkify",l.info="auto",c.push(l),l=new e.Token("text","",0),l.content=b,l.level=g,c.push(l),l=new e.Token("link_close","a",-1),l.level=--g,l.markup="linkify",l.info="auto",c.push(l),p=x[f].lastIndex);p=1)&&(e=1),e}s===u&&l===c||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,a=this._doReset(i)),this._modBy=u,this._modDataCount=c;var d=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,p=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!i&&(a||h1&&r>0?s:a}};return o;function a(){return t=e?null:o=4))break;r++,i=r}return e.line=i,o=e.push("code_block","code",0),o.content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}},nVfU:function(e,t,n){"use strict";n.d(t,"d",function(){return f}),n.d(t,"c",function(){return h}),n.d(t,"e",function(){return g}),n.d(t,"b",function(){return m}),n.d(t,"a",function(){return v});var r=n("bYtY"),i=n("OELB"),o=n("7hqr"),a=n("zM3Q"),s=n("9lhp"),l="__ec_stack_";function u(e){return e.get("stack")||l+e.seriesIndex}function c(e){return e.dim+e.index}function f(e,t){var n=[];return t.eachSeriesByType(e,function(e){y(e)&&n.push(e)}),n}function d(e){var t={};Object(r["j"])(e,function(e){var n=e.coordinateSystem,r=n.getBaseAxis();if("time"===r.type||"value"===r.type)for(var i=e.getData(),o=r.dim+"_"+r.index,a=i.getDimensionIndex(i.mapDimension(r.dim)),s=i.getStore(),l=0,u=s.count();l0&&(a=null===a?l:Math.min(a,l))}n[i]=a}}return n}function h(e){var t=d(e),n=[];return Object(r["j"])(e,function(e){var r,o=e.coordinateSystem,a=o.getBaseAxis(),s=a.getExtent();if("category"===a.type)r=a.getBandWidth();else if("value"===a.type||"time"===a.type){var l=a.dim+"_"+a.index,f=t[l],d=Math.abs(s[1]-s[0]),h=a.scale.getExtent(),p=Math.abs(h[1]-h[0]);r=f?d/p*f:d}else{var g=e.getData();r=Math.abs(s[1]-s[0])/g.count()}var m=Object(i["m"])(e.get("barWidth"),r),v=Object(i["m"])(e.get("barMaxWidth"),r),y=Object(i["m"])(e.get("barMinWidth")||(b(e)?.5:1),r),x=e.get("barGap"),_=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:m,barMaxWidth:v,barMinWidth:y,barGap:x,barCategoryGap:_,axisKey:c(a),stackId:u(e)})}),p(n)}function p(e){var t={};Object(r["j"])(e,function(e,n){var r=e.axisKey,i=e.bandWidth,o=t[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;t[r]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=e.barMaxWidth;u&&(a[s].maxWidth=u);var c=e.barMinWidth;c&&(a[s].minWidth=c);var f=e.barGap;null!=f&&(o.gap=f);var d=e.barCategoryGap;null!=d&&(o.categoryGap=d)});var n={};return Object(r["j"])(t,function(e,t){n[t]={};var o=e.stacks,a=e.bandWidth,s=e.categoryGap;if(null==s){var l=Object(r["B"])(o).length;s=Math.max(35-4*l,15)+"%"}var u=Object(i["m"])(s,a),c=Object(i["m"])(e.gap,1),f=e.remainedWidth,d=e.autoWidthCount,h=(f-u)/(d+(d-1)*c);h=Math.max(h,0),Object(r["j"])(o,function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){r=e.width;t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,f-=r+c*r,d--}else{var r=h;t&&tr&&(r=n),r!==h&&(e.width=r,f-=r+c*r,d--)}}),h=(f-u)/(d+(d-1)*c),h=Math.max(h,0);var p,g=0;Object(r["j"])(o,function(e,t){e.width||(e.width=h),p=e,g+=e.width*(1+c)}),p&&(g-=p.width*c);var m=-g/2;Object(r["j"])(o,function(e,r){n[t][r]=n[t][r]||{bandWidth:a,offset:m,width:e.width},m+=e.width*(1+c)})}),n}function g(e,t,n){if(e&&t){var r=e[c(t)];return null!=r&&null!=n?r[u(n)]:r}}function m(e,t){var n=f(e,t),i=h(n);Object(r["j"])(n,function(e){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),o=u(e),a=i[c(r)][o],s=a.offset,l=a.width;t.setLayout({bandWidth:a.bandWidth,offset:s,size:l})})}function v(e){return{seriesType:e,plan:Object(a["a"])(),reset:function(e){if(y(e)){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),a=t.getDimensionIndex(t.mapDimension(i.dim)),l=t.getDimensionIndex(t.mapDimension(r.dim)),u=e.get("showBackground",!0),c=t.mapDimension(i.dim),f=t.getCalculationInfo("stackResultDimension"),d=Object(o["c"])(t,c)&&!!t.getCalculationInfo("stackedOnSeries"),h=i.isHorizontal(),p=x(r,i),g=b(e),m=e.get("barMinHeight")||0,v=f&&t.getDimensionIndex(f),_=t.getLayout("size"),w=t.getLayout("offset");return{progress:function(e,t){var r,i=e.count,o=g&&Object(s["a"])(3*i),c=g&&u&&Object(s["a"])(3*i),f=g&&Object(s["a"])(i),y=n.master.getRect(),b=h?y.width:y.height,x=t.getStore(),O=0;while(null!=(r=e.next())){var S=x.get(d?v:a,r),k=x.get(l,r),j=p,M=void 0;d&&(M=+S-x.get(a,r));var C=void 0,T=void 0,I=void 0,D=void 0;if(h){var A=n.dataToPoint([S,k]);if(d){var E=n.dataToPoint([M,k]);j=E[0]}C=j,T=A[1]+w,I=A[0]-j,D=_,Math.abs(I)a)return!0;if(o){var s=c["c"](e).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},e.prototype.makeElOption=function(e,t,n,r,i){},e.prototype.createPointerEl=function(e,t,n,r){var i=t.pointer;if(i){var o=p(e).pointerEl=new s[i.type](g(t.pointer));e.add(o)}},e.prototype.createLabelEl=function(e,t,n,r){if(t.label){var i=p(e).labelEl=new l["a"](g(t.label));e.add(i),x(i,r)}},e.prototype.updatePointerEl=function(e,t,n){var r=p(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,r){var i=p(e).labelEl;i&&(i.setStyle(t.label.style),n(i,{x:t.label.x,y:t.label.y}),x(i,r))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,a=n.getModel("handle"),l=n.get("status");if(!a.get("show")||!l||"hide"===l)return i&&r.remove(i),void(this._handle=null);this._handle||(t=!0,i=this._handle=s["createIcon"](a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){f["f"](e.event)},onmousedown:m(this._onHandleDragMove,this,0,0),drift:m(this._onHandleDragMove,this),ondragend:m(this._onHandleDragEnd,this)}),r.add(i)),w(i,n,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");o["r"](u)||(u=[u,u]),i.scaleX=u[0]/2,i.scaleY=u[1]/2,d["b"](this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){y(this._axisPointerModel,!t&&this._moveAnimation,this._handle,_(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(_(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(_(r)),p(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),d["a"](this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}},e}();function y(e,t,n,r){b(p(n).lastProp,r)||(p(n).lastProp=r,t?u["h"](n,r,e):(n.stopAnimation(),n.attr(r)))}function b(e,t){if(o["x"](e)&&o["x"](t)){var n=!0;return o["j"](t,function(t,r){n=n&&b(e[r],t)}),!!n}return e===t}function x(e,t){e[t.get(["label","show"])?"show":"hide"]()}function _(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function w(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse(function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=i&&(e.zlevel=i),e.silent=n)})}var O=v,S=n("/y7N"),k=n("AVZG"),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i["a"])(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis,a=o.grid,s=r.get("type"),l=M(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(t,!0));if(s&&"none"!==s){var c=S["b"](r),f=C[s](o,u,l);f.style=c,e.graphicKey=f.type,e.pointer=f}var d=k["c"](a.model,n);S["a"](t,e,d,n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=k["c"](t.axis.grid.model,t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=S["c"](t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=M(o,i).getOtherAxis(i).getGlobalExtent(),l="x"===i.dim?0:1,u=[e.x,e.y];u[l]+=t[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,f=[c,c];f[l]=u[l];var d=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:e.rotation,cursorPoint:f,tooltipOption:d[l]}},t}(O);function M(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var C={line:function(e,t,n){var r=S["e"]([t,n[0]],[t,n[1]],T(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:S["f"]([t-r/2,n[0]],[r,i],T(e))}}};function T(e){return"x"===e.dim?0:1}var I=j,D=n("bLfw"),A=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(i["a"])(t,e),t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},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}},t}(D["a"]),E=A,P=n("F9bG"),L=n("sS/r"),N=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return Object(i["a"])(t,e),t.prototype.render=function(e,t,n){var r=t.getComponent("tooltip"),i=e.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";P["a"]("axisPointer",n,function(e,t,n){"none"!==i&&("leave"===e||i.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})})},t.prototype.remove=function(e,t){P["b"]("axisPointer",t)},t.prototype.dispose=function(e,t){P["b"]("axisPointer",t)},t.type="axisPointer",t}(L["a"]),R=N,z=n("Ez2D"),F=Object(h["m"])();function B(e,t,n){var r=e.currTrigger,i=[e.x,e.y],a=e,s=e.dispatchAction||Object(o["c"])(n.dispatchAction,n),l=t.getComponent("axisPointer").coordSysAxesInfo;if(l){X(i)&&(i=Object(z["a"])({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var u=X(i),c=a.axesInfo,f=l.axesInfo,d="leave"===r||X(i),h={},p={},g={list:[],map:{}},m={showPointer:Object(o["h"])(G,p),showTooltip:Object(o["h"])(W,g)};Object(o["j"])(l.coordSysMap,function(e,t){var n=u||e.containPoint(i);Object(o["j"])(l.coordSysAxesInfo[t],function(e,t){var r=e.axis,o=K(c,e);if(!d&&n&&(!c||o)){var a=o&&o.value;null!=a||u||(a=r.pointToData(i)),null!=a&&Y(e,a,m,!1,h)}})});var v={};return Object(o["j"])(f,function(e,t){var n=e.linkGroup;n&&!p[t]&&Object(o["j"])(n.axesInfo,function(t,r){var i=p[r];if(t!==e&&i){var o=i.value;n.mapper&&(o=e.axis.scale.parse(n.mapper(o,Z(t),Z(e)))),v[e.key]=o}})}),Object(o["j"])(v,function(e,t){Y(f[t],e,m,!0,h)}),U(p,f,h),H(g,i,e,s),q(f,s,n),h}}function Y(e,t,n,r,i){var a=e.axis;if(!a.scale.isBlank()&&a.containData(t))if(e.involveSeries){var s=V(t,e),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==i.seriesIndex&&Object(o["l"])(i,l[0]),!r&&e.snap&&a.containData(u)&&null!=u&&(t=u),n.showPointer(e,t,l),n.showTooltip(e,s,u)}else n.showPointer(e,t)}function V(e,t){var n=t.axis,r=n.dim,i=e,a=[],s=Number.MAX_VALUE,l=-1;return Object(o["j"])(t.seriesModels,function(t,u){var c,f,d=t.getData().mapDimensionsAll(r);if(t.getAxisTooltipData){var h=t.getAxisTooltipData(d,e,n);f=h.dataIndices,c=h.nestestValue}else{if(f=t.getData().indicesOfNearest(d[0],e,"category"===n.type?.5:null),!f.length)return;c=t.getData().get(d[0],f[0])}if(null!=c&&isFinite(c)){var p=e-c,g=Math.abs(p);g<=s&&((g=0&&l<0)&&(s=g,l=p,i=c,a.length=0),Object(o["j"])(f,function(e){a.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:a,snapToValue:i}}function G(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function W(e,t,n,r){var i=n.payloadBatch,o=t.axis,a=o.model,s=t.axisPointerModel;if(t.triggerTooltip&&i.length){var l=t.coordSys.model,u=c["e"](l),f=e.map[u];f||(f=e.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(f)),f.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function U(e,t,n){var r=n.axesInfo=[];Object(o["j"])(t,function(t,n){var i=t.axisPointerModel.option,o=e[n];o?(!t.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:i.value})})}function H(e,t,n,r){if(!X(t)&&e.list.length){var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}else r({type:"hideTip"})}function q(e,t,n){var r=n.getZr(),i="axisPointerLastHighlights",a=F(r)[i]||{},s=F(r)[i]={};Object(o["j"])(e,function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&Object(o["j"])(n.seriesDataIndices,function(e){var t=e.seriesIndex+" | "+e.dataIndex;s[t]=e})});var l=[],u=[];Object(o["j"])(a,function(e,t){!s[t]&&u.push(e)}),Object(o["j"])(s,function(e,t){!a[t]&&l.push(e)}),u.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}function K(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function Z(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function X(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function Q(e){r["a"].registerAxisPointerClass("CartesianAxisPointer",I),e.registerComponentModel(E),e.registerComponentView(R),e.registerPreprocessor(function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!Object(o["r"])(t)&&(e.axisPointer.link=[t])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=Object(c["a"])(e,t)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},B)}n.d(t,"a",function(){return Q})},"rgI+":function(e,t,n){var r=n("e+LU"),i=n("4Vez"),o=n("3m0e"),a="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function u(e){return null==e?void 0===e?s:a:l&&l in Object(e)?i(e):o(e)}e.exports=u},rzDG:function(e,t,n){"use strict";var r=n("AGgm").isWhiteSpace,i=n("AGgm").isPunctChar,o=n("AGgm").isMdAsciiPunct,a=/['"]/,s=/['"]/g,l="\u2019";function u(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,a,c,f,d,h,p,g,m,v,y,b,x,_,w,O,S,k,j,M,C;for(j=[],n=0;n=0;S--)if(j[S].level<=p)break;if(j.length=S+1,"text"===a.type){c=a.content,d=0,h=c.length;e:while(d=0)m=c.charCodeAt(f.index-1);else for(S=n-1;S>=0;S--){if("softbreak"===e[S].type||"hardbreak"===e[S].type)break;if(e[S].content){m=e[S].content.charCodeAt(e[S].content.length-1);break}}if(v=32,d=48&&m<=57&&(O=w=!1),w&&O&&(w=y,O=b),w||O){if(O)for(S=j.length-1;S>=0;S--){if(g=j[S],j[S].level=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},s8Fb:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n("R1X6"),i=n("1RvN"),o=n("bYtY"),a=n("OELB"),s=n("oVpE"),l=n("UhB0"),u=n("cm6r"),c=new r["a"],f=new i["a"](100),d=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function h(e,t){if("none"===e)return null;var n=t.getDevicePixelRatio(),r=t.getZr(),i="svg"===r.painter.type;e.dirty&&c["delete"](e);var h=c.get(e);if(h)return h;var b=Object(o["i"])(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===b.backgroundColor&&(b.backgroundColor=null);var x={repeat:"repeat"};return _(x),x.rotation=b.rotation,x.scaleX=x.scaleY=i?1:1/n,c.set(e,x),e.dirty=!1,x;function _(e){for(var t,c=[n],h=!0,x=0;x=t||n<0||v&&r>=f}function O(){var e=i();if(w(e))return S(e);h=setTimeout(O,_(e))}function S(e){return h=void 0,y&&u?b(e):(u=c=void 0,d)}function k(){void 0!==h&&clearTimeout(h),g=0,u=p=c=h=void 0}function j(){return void 0===h?d:S(i())}function M(){var e=i(),n=w(e);if(u=arguments,c=this,p=e,n){if(void 0===h)return x(p);if(v)return clearTimeout(h),h=setTimeout(O,t),b(p)}return void 0===h&&(h=setTimeout(O,t)),d}return t=o(t)||0,r(n)&&(m=!!n.leading,v="maxWait"in n,f=v?s(o(n.maxWait)||0,t):f,y="trailing"in n?!!n.trailing:y),M.cancel=k,M.flush=j,M}e.exports=u},"sK/D":function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"c",function(){return u}),n.d(t,"a",function(){return c});var r=n("x6Kt"),i=n("3soF"),o=n("SqI9"),a=n("OELB"),s=n("bYtY");function l(e,t,n,o,a){var l=e.getArea(),u=l.x,c=l.y,f=l.width,d=l.height,h=n.get(["lineStyle","width"])||2;u-=h/2,c-=h/2,f+=h,d+=h,u=Math.floor(u),f=Math.round(f);var p=new r["a"]({shape:{x:u,y:c,width:f,height:d}});if(t){var g=e.getBaseAxis(),m=g.isHorizontal(),v=g.inverse;m?(v&&(p.shape.x+=f),p.shape.width=0):(v||(p.shape.y+=d),p.shape.height=0);var y=Object(s["u"])(a)?function(e){a(e,p)}:null;i["c"](p,{shape:{width:f,height:d,x:u,y:c}},n,null,o,y)}return p}function u(e,t,n){var r=e.getArea(),s=Object(a["q"])(r.r0,1),l=Object(a["q"])(r.r,1),u=new o["a"]({shape:{cx:Object(a["q"])(e.cx,1),cy:Object(a["q"])(e.cy,1),r0:s,r:l,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(t){var c="angle"===e.getBaseAxis().dim;c?u.shape.endAngle=r.startAngle:u.shape.r=s,i["c"](u,{shape:{endAngle:r.endAngle,r:l}},n)}return u}function c(e,t,n,r,i){return e?"polar"===e.type?u(e,t,n):"cartesian2d"===e.type?l(e,t,n,r,i):null:null}},"sS/r":function(e,t,n){"use strict";var r=n("LcXL"),i=n("iRjW"),o=n("Yl7c"),a=function(){function e(){this.group=new r["a"],this.uid=i["c"]("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){},e.prototype.updateLayout=function(e,t,n,r){},e.prototype.updateVisual=function(e,t,n,r){},e.prototype.toggleBlurSeries=function(e,t,n){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();o["b"](a),o["c"](a),t["a"]=a},shjB:function(e,t){var n=9007199254740991;function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}e.exports=r},t2Dn:function(e,t,n){var r=n("hypo"),i=n("ljhN");function o(e,t,n){(void 0===n||i(e[t],n))&&(void 0!==n||t in e)||r(e,t,n)}e.exports=o},t9mh:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return l});var r=n("OELB"),i=n("bYtY"),o=n("7a4p");function a(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"!==n||Object(i["w"])(e)||null==e||"-"===e||(e=+Object(r["l"])(e)),null==e||""===e?NaN:+e)}Object(i["f"])({number:function(e){return parseFloat(e)},time:function(e){return+Object(r["l"])(e)},trim:function(e){return Object(i["y"])(e)?Object(i["O"])(e):e}});var s={lt:function(e,t){return et},gte:function(e,t){return e>=t}},l=(function(){function e(e,t){if(!Object(i["w"])(t)){var n="";0,Object(o["c"])(n)}this._opFn=s[e],this._rvalFloat=Object(r["k"])(t)}e.prototype.evaluate=function(e){return Object(i["w"])(e)?this._opFn(e,this._rvalFloat):this._opFn(Object(r["k"])(e),this._rvalFloat)}}(),function(){function e(e,t){var n="desc"===e;this._resultLT=n?1:-1,null==t&&(t=n?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=Object(i["w"])(e)?e:Object(r["k"])(e),o=Object(i["w"])(t)?t:Object(r["k"])(t),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=Object(i["y"])(e),u=Object(i["y"])(t);l&&(n=u?e:0),u&&(o=l?t:0)}return no?-this._resultLT:0},e}());(function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=Object(r["k"])(t)}e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(t=Object(r["k"])(e)===this._rvalFloat)}return this._isEQ?t:!t}})()},tGEx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];t.editorOptions=r;var i=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];t.editorEvents=i;var o=function(){var e;return window.ace?(e=window.ace,e.acequire=window.ace.require||window.ace.acequire):e=n("bU/s"),e};t.getAceInstance=o;var a=function(e,t){var n=null;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout(function(){e.apply(r,i)},t)}};t.debounce=a},tLB3:function(e,t,n){var r=n("jXQH"),i=n("GoyQ"),o=n("/9aa"),a=NaN,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function f(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}e.exports=f},tMB7:function(e,t,n){var r=n("y1pI");function i(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=i},u0qK:function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,o=/\((c|tm|r|p)\)/gi,a={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function s(e,t){return a[t.toLowerCase()]}function l(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||(n.content=n.content.replace(o,s)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function u(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&l(e.tokens[t].children),r.test(e.tokens[t].content)&&u(e.tokens[t].children))}},u8Dt:function(e,t,n){var r=n("YESw"),i="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function s(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return a.call(t,e)?t[e]:void 0}e.exports=s},ugOi:function(e,t,n){var r=n("kewz"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},usqY:function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){var n=e.pos;while(nA.length&&A.push(e)}function L(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var s=!1;if(null===e)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case a:s=!0}}if(s)return n(r,e,""===t?"."+R(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l=4)return!1;if(d+3>h)return!1;if(i=e.src.charCodeAt(d),126!==i&&96!==i)return!1;if(l=d,d=e.skipChars(d,i),o=d-l,o<3)return!1;if(c=e.src.slice(l,d),a=e.src.slice(d,h),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;;){if(s++,s>=n)break;if(d=l=e.bMarks[s]+e.tShift[s],h=e.eMarks[s],d=4)&&(d=e.skipChars(d,i),!(d-l-1&&e%1==0&&e>>0;for(t=0;t0)for(n=0;n=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var R=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},B={};function Y(e,t,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),e&&(B[e]=i),t&&(B[t[0]]=function(){return N(i.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function V(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function G(e){var t,n,r=e.match(R);for(t=0,n=r.length;t=0&&z.test(e))e=e.replace(z,r),z.lastIndex=0,n-=1;return e}var H={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function q(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(R).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}var K="Invalid date";function Z(){return this._invalidDate}var X="%d",Q=/\d{1,2}/;function $(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,n,r){var i=this._relativeTime[n];return I(i)?i(e,t,n,r):i.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return I(n)?n(t):n.replace(/%s/i,t)}var ne={};function re(e,t){var n=e.toLowerCase();ne[n]=ne[n+"s"]=ne[t]=e}function ie(e){return"string"===typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function oe(e){var t,n,r={};for(n in e)l(e,n)&&(t=ie(n),t&&(r[t]=e[n]));return r}var ae={};function se(e,t){ae[e]=t}function le(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:ae[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}function ue(e){return e%4===0&&e%100!==0||e%400===0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function fe(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function de(e,t){return function(n){return null!=n?(pe(this,e,n),i.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=fe(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ge(e){return e=ie(e),I(this[e])?this[e]():this}function me(e,t){if("object"===typeof e){e=oe(e);var n,r=le(e);for(n=0;n68?1900:2e3)};var vt=de("FullYear",!0);function yt(){return ue(this.year())}function bt(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function xt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function _t(e,t,n){var r=7+t-n,i=(7+xt(e,0,r).getUTCDay()-t)%7;return-i+r-1}function wt(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=_t(e,r,i),u=1+7*(t-1)+s+l;return u<=0?(o=e-1,a=mt(o)+u):u>mt(e)?(o=e+1,a=u-mt(e)):(o=e,a=u),{year:o,dayOfYear:a}}function Ot(e,t,n){var r,i,o=_t(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+St(i,t,n)):a>St(e.year(),t,n)?(r=a-St(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function St(e,t,n){var r=_t(e,t,n),i=_t(e+1,t,n);return(mt(e)-r+i)/7}function kt(e){return Ot(e,this._week.dow,this._week.doy).week}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),re("week","w"),re("isoWeek","W"),se("week",5),se("isoWeek",5),Le("w",Oe),Le("ww",Oe,be),Le("W",Oe),Le("WW",Oe,be),Ye(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=fe(e)});var jt={dow:0,doy:6};function Mt(){return this._week.dow}function Ct(){return this._week.doy}function Tt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function It(e){var t=Ot(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Dt(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function At(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Et(e,t){return e.slice(t,7).concat(e.slice(0,t))}Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),re("day","d"),re("weekday","e"),re("isoWeekday","E"),se("day",11),se("weekday",11),se("isoWeekday",11),Le("d",Oe),Le("e",Oe),Le("E",Oe),Le("dd",function(e,t){return t.weekdaysMinRegex(e)}),Le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Le("dddd",function(e,t){return t.weekdaysRegex(e)}),Ye(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:v(n).invalidWeekday=e}),Ye(["d","e","E"],function(e,t,n,r){t[r]=fe(e)});var Pt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Lt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rt=Pe,zt=Pe,Ft=Pe;function Bt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Et(n,this._week.dow):e?n[e.day()]:n}function Yt(e){return!0===e?Et(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Vt(e){return!0===e?Et(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=g([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Ge.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Ge.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Ge.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?(i=Ge.call(this._weekdaysParse,a),-1!==i?i:(i=Ge.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Ge.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===t?(i=Ge.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Ge.call(this._weekdaysParse,a),-1!==i?i:(i=Ge.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=Ge.call(this._minWeekdaysParse,a),-1!==i?i:(i=Ge.call(this._weekdaysParse,a),-1!==i?i:(i=Ge.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function Wt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Gt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=g([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Dt(e,this.localeData()),this.add(e-t,"d")):t}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function qt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=At(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Kt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Rt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=zt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=g([2e3,1]).day(t),r=ze(this.weekdaysMin(n,"")),i=ze(this.weekdaysShort(n,"")),o=ze(this.weekdays(n,"")),a.push(r),s.push(i),l.push(o),u.push(r),u.push(i),u.push(o);a.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function $t(){return this.hours()%12||12}function Jt(){return this.hours()||24}function en(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,$t),Y("k",["kk",2],0,Jt),Y("hmm",0,0,function(){return""+$t.apply(this)+N(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+$t.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),en("a",!0),en("A",!1),re("hour","h"),se("hour",13),Le("a",tn),Le("A",tn),Le("H",Oe),Le("h",Oe),Le("k",Oe),Le("HH",Oe,be),Le("hh",Oe,be),Le("kk",Oe,be),Le("hmm",Se),Le("hmmss",ke),Le("Hmm",Se),Le("Hmmss",ke),Be(["H","HH"],qe),Be(["k","kk"],function(e,t,n){var r=fe(e);t[qe]=24===r?0:r}),Be(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),Be(["h","hh"],function(e,t,n){t[qe]=fe(e),v(n).bigHour=!0}),Be("hmm",function(e,t,n){var r=e.length-2;t[qe]=fe(e.substr(0,r)),t[Ke]=fe(e.substr(r)),v(n).bigHour=!0}),Be("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qe]=fe(e.substr(0,r)),t[Ke]=fe(e.substr(r,2)),t[Ze]=fe(e.substr(i)),v(n).bigHour=!0}),Be("Hmm",function(e,t,n){var r=e.length-2;t[qe]=fe(e.substr(0,r)),t[Ke]=fe(e.substr(r))}),Be("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qe]=fe(e.substr(0,r)),t[Ke]=fe(e.substr(r,2)),t[Ze]=fe(e.substr(i))});var rn=/[ap]\.?m?\.?/i,on=de("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:P,longDateFormat:H,invalidDate:K,ordinal:X,dayOfMonthOrdinalParse:Q,relativeTime:J,months:tt,monthsShort:nt,week:jt,weekdays:Pt,weekdaysMin:Nt,weekdaysShort:Lt,meridiemParse:rn},un={},cn={};function fn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0){if(r=pn(i.slice(0,t).join("-")),r)return r;if(n&&n.length>=t&&fn(i,n)>=t-1)break;t--}o++}return sn}function pn(n){var r=null;if(void 0===un[n]&&"undefined"!==typeof e&&e&&e.exports)try{r=sn._abbr,t,function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),gn(r)}catch(e){un[n]=null}return un[n]}function gn(e,t){var n;return e&&(n=c(t)?yn(e):mn(e,t),n?sn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function mn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=un[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])r=un[t.parentLocale]._config;else{if(n=pn(t.parentLocale),null==n)return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return un[e]=new E(A(r,t)),cn[e]&&cn[e].forEach(function(e){mn(e.name,e.config)}),gn(e),un[e]}return delete un[e],null}function vn(e,t){if(null!=t){var n,r,i=ln;null!=un[e]&&null!=un[e].parentLocale?un[e].set(A(un[e]._config,t)):(r=pn(e),null!=r&&(i=r._config),t=A(i,t),null==r&&(t.abbr=e),n=new E(t),n.parentLocale=un[e],un[e]=n),gn(e)}else null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===gn()&&gn(e)):null!=un[e]&&delete un[e]);return un[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!a(e)){if(t=pn(e),t)return t;e=[e]}return hn(e)}function bn(){return M(un)}function xn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[Ue]<0||n[Ue]>11?Ue:n[He]<1||n[He]>et(n[We],n[Ue])?He:n[qe]<0||n[qe]>24||24===n[qe]&&(0!==n[Ke]||0!==n[Ze]||0!==n[Xe])?qe:n[Ke]<0||n[Ke]>59?Ke:n[Ze]<0||n[Ze]>59?Ze:n[Xe]<0||n[Xe]>999?Xe:-1,v(e)._overflowDayOfYear&&(tHe)&&(t=He),v(e)._overflowWeeks&&-1===t&&(t=Qe),v(e)._overflowWeekday&&-1===t&&(t=$e),v(e).overflow=t),e}var _n=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,On=/Z|[+-]\d\d(?::?\d\d)?/,Sn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],kn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],jn=/^\/?Date\((-?\d+)/i,Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Cn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tn(e){var t,n,r,i,o,a,s=e._i,l=_n.exec(s)||wn.exec(s);if(l){for(v(e).iso=!0,t=0,n=Sn.length;tmt(o)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=xt(o,0,e._dayOfYear),e._a[Ue]=n.getUTCMonth(),e._a[He]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[qe]&&0===e._a[Ke]&&0===e._a[Ze]&&0===e._a[Xe]&&(e._nextDay=!0,e._a[qe]=0),e._d=(e._useUTC?xt:bt).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[qe]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==i&&(v(e).weekdayMismatch=!0)}}function Bn(e){var t,n,r,i,o,a,s,l,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=Rn(t.GG,e._a[We],Ot(Zn(),1,4).year),r=Rn(t.W,1),i=Rn(t.E,1),(i<1||i>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,u=Ot(Zn(),o,a),n=Rn(t.gg,e._a[We],u.year),r=Rn(t.w,u.week),null!=t.d?(i=t.d,(i<0||i>6)&&(l=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),r<1||r>St(n,o,a)?v(e)._overflowWeeks=!0:null!=l?v(e)._overflowWeekday=!0:(s=wt(n,r,i,o,a),e._a[We]=s.year,e._dayOfYear=s.dayOfYear)}function Yn(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],v(e).empty=!0;var t,n,r,o,a,s,l=""+e._i,u=l.length,c=0;for(r=U(e._f,e._locale).match(R)||[],t=0;t0&&v(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),c+=n.length),B[o]?(n?v(e).empty=!1:v(e).unusedTokens.push(o),Ve(o,n,e)):e._strict&&!n&&v(e).unusedTokens.push(o);v(e).charsLeftOver=u-c,l.length>0&&v(e).unusedInput.push(l),e._a[qe]<=12&&!0===v(e).bigHour&&e._a[qe]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[qe]=Vn(e._locale,e._a[qe],e._meridiem),s=v(e).era,null!==s&&(e._a[We]=e._locale.erasConvertYear(s,e._a[We])),Fn(e),xn(e)}else Ln(e);else Tn(e)}function Vn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Gn(e){var t,n,r,i,o,a,s=!1;if(0===e._f.length)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:b()});function $n(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Zn();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function wr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),t=Hn(t),t._a?(e=t._isUTC?g(t._a):Zn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Or(){return!!this.isValid()&&!this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC}function kr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}i.updateOffset=function(){};var jr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Mr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Cr(e,t){var n,r,i,o=e,a=null;return sr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:f(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(a=jr.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:fe(a[He])*n,h:fe(a[qe])*n,m:fe(a[Ke])*n,s:fe(a[Ze])*n,ms:fe(lr(1e3*a[Xe]))*n}):(a=Mr.exec(e))?(n="-"===a[1]?-1:1,o={y:Tr(a[2],n),M:Tr(a[3],n),w:Tr(a[4],n),d:Tr(a[5],n),h:Tr(a[6],n),m:Tr(a[7],n),s:Tr(a[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=Dr(Zn(o.from),Zn(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new ar(o),sr(e)&&l(e,"_locale")&&(r._locale=e._locale),sr(e)&&l(e,"_isValid")&&(r._isValid=e._isValid),r}function Tr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ir(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Dr(e,t){var n;return e.isValid()&&t.isValid()?(t=hr(t,e),e.isBefore(t)?n=Ir(e,t):(n=Ir(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ar(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),i=Cr(n,r),Er(this,i,e),this}}function Er(e,t,n,r){var o=t._milliseconds,a=lr(t._days),s=lr(t._months);e.isValid()&&(r=null==r||r,s&&ct(e,he(e,"Month")+s*n),a&&pe(e,"Date",he(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Cr.fn=ar.prototype,Cr.invalid=or;var Pr=Ar(1,"add"),Lr=Ar(-1,"subtract");function Nr(e){return"string"===typeof e||e instanceof String}function Rr(e){return S(e)||d(e)||Nr(e)||f(e)||Fr(e)||zr(e)||null===e||void 0===e}function zr(e){var t,n,r=s(e)&&!u(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;tn.valueOf():n.valueOf()9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):I(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ei(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(e+t+n+r)}function ti(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)}function ni(e,t){return this.isValid()&&(S(e)&&e.isValid()||Zn(e).isValid())?Cr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ri(e){return this.from(Zn(),e)}function ii(e,t){return this.isValid()&&(S(e)&&e.isValid()||Zn(e).isValid())?Cr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.to(Zn(),e)}function ai(e){var t;return void 0===e?this._locale._abbr:(t=yn(e),null!=t&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var si=j("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function li(){return this._locale}var ui=1e3,ci=60*ui,fi=60*ci,di=3506328*fi;function hi(e,t){return(e%t+t)%t}function pi(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-di:new Date(e,t,n).valueOf()}function gi(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-di:Date.UTC(e,t,n)}function mi(e){var t,n;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=hi(t+(this._isUTC?0:this.utcOffset()*ci),fi);break;case"minute":t=this._d.valueOf(),t-=hi(t,ci);break;case"second":t=this._d.valueOf(),t-=hi(t,ui);break}return this._d.setTime(t),i.updateOffset(this,!0),this}function vi(e){var t,n;if(e=ie(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fi-hi(t+(this._isUTC?0:this.utcOffset()*ci),fi)-1;break;case"minute":t=this._d.valueOf(),t+=ci-hi(t,ci)-1;break;case"second":t=this._d.valueOf(),t+=ui-hi(t,ui)-1;break}return this._d.setTime(t),i.updateOffset(this,!0),this}function yi(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function xi(){return new Date(this.valueOf())}function _i(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function wi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Oi(){return this.isValid()?this.toISOString():null}function Si(){return y(this)}function ki(){return p({},v(this))}function ji(){return v(this).overflow}function Mi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ci(e,t){var n,r,o,a=this._eras||yn("en")._eras;for(n=0,r=a.length;n=0)return l[r]}function Ii(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n}function Di(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;eo&&(t=o),Qi.call(this,e,t,n,r,i))}function Qi(e,t,n,r,i){var o=wt(e,t,n,r,i),a=xt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function $i(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),Le("N",zi),Le("NN",zi),Le("NNN",zi),Le("NNNN",Fi),Le("NNNNN",Bi),Be(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?v(n).era=i:v(n).invalidEra=e}),Le("y",Te),Le("yy",Te),Le("yyy",Te),Le("yyyy",Te),Le("yo",Yi),Be(["y","yy","yyy","yyyy"],We),Be(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[We]=n._locale.eraYearOrdinalParse(e,i):t[We]=parseInt(e,10)}),Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Gi("gggg","weekYear"),Gi("ggggg","weekYear"),Gi("GGGG","isoWeekYear"),Gi("GGGGG","isoWeekYear"),re("weekYear","gg"),re("isoWeekYear","GG"),se("weekYear",1),se("isoWeekYear",1),Le("G",Ie),Le("g",Ie),Le("GG",Oe,be),Le("gg",Oe,be),Le("GGGG",Me,_e),Le("gggg",Me,_e),Le("GGGGG",Ce,we),Le("ggggg",Ce,we),Ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=fe(e)}),Ye(["gg","GG"],function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),re("quarter","Q"),se("quarter",7),Le("Q",ye),Be("Q",function(e,t){t[Ue]=3*(fe(e)-1)}),Y("D",["DD",2],"Do","date"),re("date","D"),se("date",9),Le("D",Oe),Le("DD",Oe,be),Le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),Be(["D","DD"],He),Be("Do",function(e,t){t[He]=fe(e.match(Oe)[0])});var Ji=de("Date",!0);function eo(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}Y("DDD",["DDDD",3],"DDDo","dayOfYear"),re("dayOfYear","DDD"),se("dayOfYear",4),Le("DDD",je),Le("DDDD",xe),Be(["DDD","DDDD"],function(e,t,n){n._dayOfYear=fe(e)}),Y("m",["mm",2],0,"minute"),re("minute","m"),se("minute",14),Le("m",Oe),Le("mm",Oe,be),Be(["m","mm"],Ke);var to=de("Minutes",!1);Y("s",["ss",2],0,"second"),re("second","s"),se("second",15),Le("s",Oe),Le("ss",Oe,be),Be(["s","ss"],Ze);var no,ro,io=de("Seconds",!1);for(Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),re("millisecond","ms"),se("millisecond",16),Le("S",je,ye),Le("SS",je,be),Le("SSS",je,xe),no="SSSS";no.length<=9;no+="S")Le(no,Te);function oo(e,t){t[Xe]=fe(1e3*("0."+e))}for(no="S";no.length<=9;no+="S")Be(no,oo);function ao(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}ro=de("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var lo=O.prototype;function uo(e){return Zn(1e3*e)}function co(){return Zn.apply(null,arguments).parseZone()}function fo(e){return e}lo.add=Pr,lo.calendar=Vr,lo.clone=Gr,lo.diff=Xr,lo.endOf=vi,lo.format=ti,lo.from=ni,lo.fromNow=ri,lo.to=ii,lo.toNow=oi,lo.get=ge,lo.invalidAt=ji,lo.isAfter=Wr,lo.isBefore=Ur,lo.isBetween=Hr,lo.isSame=qr,lo.isSameOrAfter=Kr,lo.isSameOrBefore=Zr,lo.isValid=Si,lo.lang=si,lo.locale=ai,lo.localeData=li,lo.max=Qn,lo.min=Xn,lo.parsingFlags=ki,lo.set=me,lo.startOf=mi,lo.subtract=Lr,lo.toArray=_i,lo.toObject=wi,lo.toDate=xi,lo.toISOString=Jr,lo.inspect=ei,"undefined"!==typeof Symbol&&null!=Symbol.for&&(lo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),lo.toJSON=Oi,lo.toString=$r,lo.unix=bi,lo.valueOf=yi,lo.creationData=Mi,lo.eraName=Di,lo.eraNarrow=Ai,lo.eraAbbr=Ei,lo.eraYear=Pi,lo.year=vt,lo.isLeapYear=yt,lo.weekYear=Wi,lo.isoWeekYear=Ui,lo.quarter=lo.quarters=$i,lo.month=ft,lo.daysInMonth=dt,lo.week=lo.weeks=Tt,lo.isoWeek=lo.isoWeeks=It,lo.weeksInYear=Ki,lo.weeksInWeekYear=Zi,lo.isoWeeksInYear=Hi,lo.isoWeeksInISOWeekYear=qi,lo.date=Ji,lo.day=lo.days=Ut,lo.weekday=Ht,lo.isoWeekday=qt,lo.dayOfYear=eo,lo.hour=lo.hours=on,lo.minute=lo.minutes=to,lo.second=lo.seconds=io,lo.millisecond=lo.milliseconds=ro,lo.utcOffset=gr,lo.utc=vr,lo.local=yr,lo.parseZone=br,lo.hasAlignedHourOffset=xr,lo.isDST=_r,lo.isLocal=Or,lo.isUtcOffset=Sr,lo.isUtc=kr,lo.isUTC=kr,lo.zoneAbbr=ao,lo.zoneName=so,lo.dates=j("dates accessor is deprecated. Use date instead.",Ji),lo.months=j("months accessor is deprecated. Use month instead",ft),lo.years=j("years accessor is deprecated. Use year instead",vt),lo.zone=j("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",mr),lo.isDSTShifted=j("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",wr);var ho=E.prototype;function po(e,t,n,r){var i=yn(),o=g().set(r,t);return i[n](o,e)}function go(e,t,n){if(f(e)&&(t=e,e=void 0),e=e||"",null!=t)return po(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=po(e,r,n,"month");return i}function mo(e,t,n,r){"boolean"===typeof e?(f(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,f(t)&&(n=t,t=void 0),t=t||"");var i,o=yn(),a=e?o._week.dow:0,s=[];if(null!=n)return po(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=po(t,(i+a)%7,r,"day");return s}function vo(e,t){return go(e,t,"months")}function yo(e,t){return go(e,t,"monthsShort")}function bo(e,t,n){return mo(e,t,n,"weekdays")}function xo(e,t,n){return mo(e,t,n,"weekdaysShort")}function _o(e,t,n){return mo(e,t,n,"weekdaysMin")}ho.calendar=L,ho.longDateFormat=q,ho.invalidDate=Z,ho.ordinal=$,ho.preparse=fo,ho.postformat=fo,ho.relativeTime=ee,ho.pastFuture=te,ho.set=D,ho.eras=Ci,ho.erasParse=Ti,ho.erasConvertYear=Ii,ho.erasAbbrRegex=Ni,ho.erasNameRegex=Li,ho.erasNarrowRegex=Ri,ho.months=at,ho.monthsShort=st,ho.monthsParse=ut,ho.monthsRegex=pt,ho.monthsShortRegex=ht,ho.week=kt,ho.firstDayOfYear=Ct,ho.firstDayOfWeek=Mt,ho.weekdays=Bt,ho.weekdaysMin=Vt,ho.weekdaysShort=Yt,ho.weekdaysParse=Wt,ho.weekdaysRegex=Kt,ho.weekdaysShortRegex=Zt,ho.weekdaysMinRegex=Xt,ho.isPM=nn,ho.meridiem=an,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===fe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),i.lang=j("moment.lang is deprecated. Use moment.locale instead.",gn),i.langData=j("moment.langData is deprecated. Use moment.localeData instead.",yn);var wo=Math.abs;function Oo(){var e=this._data;return this._milliseconds=wo(this._milliseconds),this._days=wo(this._days),this._months=wo(this._months),e.milliseconds=wo(e.milliseconds),e.seconds=wo(e.seconds),e.minutes=wo(e.minutes),e.hours=wo(e.hours),e.months=wo(e.months),e.years=wo(e.years),this}function So(e,t,n,r){var i=Cr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function ko(e,t){return So(this,e,t,1)}function jo(e,t){return So(this,e,t,-1)}function Mo(e){return e<0?Math.floor(e):Math.ceil(e)}function Co(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Mo(Io(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=ce(o/1e3),l.seconds=e%60,t=ce(e/60),l.minutes=t%60,n=ce(t/60),l.hours=n%24,a+=ce(n/24),i=ce(To(a)),s+=i,a-=Mo(Io(i)),r=ce(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function To(e){return 4800*e/146097}function Io(e){return 146097*e/4800}function Do(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=ie(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+To(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Io(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Ao(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*fe(this._months/12):NaN}function Eo(e){return function(){return this.as(e)}}var Po=Eo("ms"),Lo=Eo("s"),No=Eo("m"),Ro=Eo("h"),zo=Eo("d"),Fo=Eo("w"),Bo=Eo("M"),Yo=Eo("Q"),Vo=Eo("y");function Go(){return Cr(this)}function Wo(e){return e=ie(e),this.isValid()?this[e+"s"]():NaN}function Uo(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ho=Uo("milliseconds"),qo=Uo("seconds"),Ko=Uo("minutes"),Zo=Uo("hours"),Xo=Uo("days"),Qo=Uo("months"),$o=Uo("years");function Jo(){return ce(this.days()/7)}var ea=Math.round,ta={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function na(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ra(e,t,n,r){var i=Cr(e).abs(),o=ea(i.as("s")),a=ea(i.as("m")),s=ea(i.as("h")),l=ea(i.as("d")),u=ea(i.as("M")),c=ea(i.as("w")),f=ea(i.as("y")),d=o<=n.ss&&["s",o]||o0,d[4]=r,na.apply(null,d)}function ia(e){return void 0===e?ea:"function"===typeof e&&(ea=e,!0)}function oa(e,t){return void 0!==ta[e]&&(void 0===t?ta[e]:(ta[e]=t,"s"===e&&(ta.ss=t-1),!0))}function aa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=ta;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(i=e),"object"===typeof t&&(o=Object.assign({},ta,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=ra(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var sa=Math.abs;function la(e){return(e>0)-(e<0)||+e}function ua(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,l=sa(this._milliseconds)/1e3,u=sa(this._days),c=sa(this._months),f=this.asSeconds();return f?(e=ce(l/60),t=ce(e/60),l%=60,e%=60,n=ce(c/12),c%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=la(this._months)!==la(f)?"-":"",a=la(this._days)!==la(f)?"-":"",s=la(this._milliseconds)!==la(f)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var ca=ar.prototype;return ca.isValid=ir,ca.abs=Oo,ca.add=ko,ca.subtract=jo,ca.as=Do,ca.asMilliseconds=Po,ca.asSeconds=Lo,ca.asMinutes=No,ca.asHours=Ro,ca.asDays=zo,ca.asWeeks=Fo,ca.asMonths=Bo,ca.asQuarters=Yo,ca.asYears=Vo,ca.valueOf=Ao,ca._bubble=Co,ca.clone=Go,ca.get=Wo,ca.milliseconds=Ho,ca.seconds=qo,ca.minutes=Ko,ca.hours=Zo,ca.days=Xo,ca.weeks=Jo,ca.months=Qo,ca.years=$o,ca.humanize=aa,ca.toISOString=ua,ca.toString=ua,ca.toJSON=ua,ca.locale=ai,ca.localeData=li,ca.toIsoString=j("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ua),ca.lang=si,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Le("x",Ie),Le("X",Ee),Be("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),Be("x",function(e,t,n){n._d=new Date(fe(e))}),i.version="2.29.1",o(Zn),i.fn=lo,i.min=Jn,i.max=er,i.now=tr,i.utc=g,i.unix=uo,i.months=vo,i.isDate=d,i.locale=gn,i.invalid=b,i.duration=Cr,i.isMoment=S,i.weekdays=bo,i.parseZone=co,i.localeData=yn,i.isDuration=sr,i.monthsShort=yo,i.weekdaysMin=_o,i.defineLocale=mn,i.updateLocale=vn,i.locales=bn,i.weekdaysShort=xo,i.normalizeUnits=ie,i.relativeTimeRounding=ia,i.relativeTimeThreshold=oa,i.calendarFormat=Yr,i.prototype=lo,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i})}).call(this,n("YuTi")(e))},wtjL:function(e,t,n){"use strict";var r=n("Vwaf").HTML_TAG_RE;function i(e){var t=32|e;return t>=97&&t<=122}e.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(n=e.src.charCodeAt(l+1),!(33!==n&&63!==n&&47!==n&&!i(n))&&(o=e.src.slice(l).match(r),!!o&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},x3X8:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});var r=n("KxfA"),i=n("bYtY");function o(e,t){var n=e.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var o=Object(r["e"])(e,t,n[0]);return null!=o?o+"":null}if(i){for(var a=[],s=0;s=0&&r.push(t[a])}return r.join(" ")}},xVpn:function(e,t,n){"use strict";var r=n("T4UG"),i=n("bYtY"),o=n("DlA6"),a=n("y+Vt"),s=n("3soF"),l=n("NC18");function u(e){return Object(i["r"])(e[0])}function c(e,t){for(var n=[],r=e.length,i=0;i=0;i--)if(!n[i].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[i].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var f={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r0){var h,p,g=r.getModel("universalTransition").get("delay"),m=Object.assign({setToFinal:!0},d);u(e)&&(h=e,p=t),u(t)&&(h=t,p=e);for(var v=h?h===e:e.length>t.length,y=h?c(p,h):c(v?t:e,[v?e:t]),b=0,x=0;xv))for(var r=n.getIndices(),i=b(n),o=0;o0&&i.group.traverse(function(e){e instanceof a["b"]&&!e.animators.length&&e.animateFrom({style:{opacity:0}},o)})})}function M(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function C(e){return Object(i["r"])(e)?e.sort().join(","):e}function T(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function I(e,t){var n=Object(i["f"])(),r=Object(i["f"])(),o=Object(i["f"])();return Object(i["j"])(e.oldSeries,function(t,n){var a=e.oldData[n],s=M(t),l=C(s);r.set(l,a),Object(i["r"])(s)&&Object(i["j"])(s,function(e){o.set(e,{data:a,key:l})})}),Object(i["j"])(t.updatedSeries,function(e){if(e.isUniversalTransitionEnabled()&&e.isAnimationEnabled()){var t=e.getData(),a=M(e),s=C(a),l=r.get(s);if(l)n.set(s,{oldSeries:[{divide:T(l),data:l}],newSeries:[{divide:T(t),data:t}]});else if(Object(i["r"])(a)){0;var u=[];Object(i["j"])(a,function(e){var t=r.get(e);t&&u.push({divide:T(t),data:t})}),u.length&&n.set(s,{oldSeries:u,newSeries:[{data:t,divide:T(t)}]})}else{var c=o.get(a);if(c){var f=n.get(c.key);f||(f={oldSeries:[{data:c.data,divide:T(c.data)}],newSeries:[]},n.set(c.key,f)),f.newSeries.push({data:t,divide:T(t)})}}}}),n}function D(e,t){for(var n=0;n=0&&o.push({data:t.oldData[n],divide:T(t.oldData[n]),dim:e.dimension})}),Object(i["j"])(Object(g["p"])(e.to),function(e){var t=D(n.updatedSeries,e);if(t>=0){var r=n.updatedSeries[t].getData();a.push({data:r,divide:T(r),dim:e.dimension})}}),o.length>0&&a.length>0&&j(o,a,r)}function E(e){e.registerUpdateLifecycle("series:beforeupdate",function(e,t,n){Object(i["j"])(Object(g["p"])(n.seriesTransition),function(e){Object(i["j"])(Object(g["p"])(e.to),function(e){for(var t=n.updatedSeries,i=0;i=0;n--)r=t[n],95!==r.marker&&42!==r.marker||-1!==r.end&&(i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,a=String.fromCharCode(r.marker),o=e.tokens[r.token],o.type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="",o=e.tokens[i.token],o.type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?a+a:a,o.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;nt}return!1}function X(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var Q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Q[e]=new X(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Q[t]=new X(t,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Q[e]=new X(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Q[e]=new X(e,2,!1,e,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Q[e]=new X(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Q[e]=new X(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){Q[e]=new X(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){Q[e]=new X(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){Q[e]=new X(e,5,!1,e.toLowerCase(),null,!1)});var $=/[\-:]([a-z])/g;function J(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace($,J);Q[t]=new X(t,1,!1,e,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace($,J);Q[t]=new X(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace($,J);Q[t]=new X(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){Q[e]=new X(e,1,!1,e.toLowerCase(),null,!1)}),Q.xlinkHref=new X("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){Q[e]=new X(e,1,!1,e.toLowerCase(),null,!0)});var ee=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function te(e,t,n,r){var i=Q.hasOwnProperty(t)?Q[t]:null,o=null!==i?0===i.type:!r&&(2=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Oe(n)}}function Fe(e,t){var n=Oe(t.value),r=Oe(t.defaultValue);null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Be(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Ye={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Ve(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ge(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ve(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var We,Ue=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==Ye.svg||"innerHTML"in e)e.innerHTML=t;else{for(We=We||document.createElement("div"),We.innerHTML=""+t.valueOf().toString()+"",t=We.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function He(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function qe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ke={animationend:qe("Animation","AnimationEnd"),animationiteration:qe("Animation","AnimationIteration"),animationstart:qe("Animation","AnimationStart"),transitionend:qe("Transition","TransitionEnd")},Ze={},Xe={};function Qe(e){if(Ze[e])return Ze[e];if(!Ke[e])return e;var t,n=Ke[e];for(t in n)if(n.hasOwnProperty(t)&&t in Xe)return Ze[e]=n[t];return e}C&&(Xe=document.createElement("div").style,"AnimationEvent"in window||(delete Ke.animationend.animation,delete Ke.animationiteration.animation,delete Ke.animationstart.animation),"TransitionEvent"in window||delete Ke.transitionend.transition);var $e=Qe("animationend"),Je=Qe("animationiteration"),et=Qe("animationstart"),tt=Qe("transitionend"),nt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rt=new("function"===typeof WeakMap?WeakMap:Map);function it(e){var t=rt.get(e);return void 0===t&&(t=new Map,rt.set(e,t)),t}function ot(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{t=e,0!==(1026&t.effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function at(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(e=e.alternate,null!==e&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function st(e){if(ot(e)!==e)throw Error(a(188))}function lt(e){var t=e.alternate;if(!t){if(t=ot(e),null===t)throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(r=i.return,null!==r){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return st(i),e;if(o===r)return st(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}function ut(e){if(e=lt(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function ct(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ft(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var dt=null;function ht(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;rvt.length&&vt.push(e)}function bt(e,t,n,r){if(vt.length){var i=vt.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function xt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;t=n.tag,5!==t&&6!==t||e.ancestors.push(n),n=Yn(r)}while(n);for(n=0;n=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=xn(r)}}function wn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?wn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function On(){for(var e=window,t=bn();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;e=t.contentWindow,t=bn(e.document)}return t}function Sn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var kn="$",jn="/$",Mn="$?",Cn="$!",Tn=null,In=null;function Dn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function An(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var En="function"===typeof setTimeout?setTimeout:void 0,Pn="function"===typeof clearTimeout?clearTimeout:void 0;function Ln(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Nn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===kn||n===Cn||n===Mn){if(0===t)return e;t--}else n===jn&&t++}e=e.previousSibling}return null}var Rn=Math.random().toString(36).slice(2),zn="__reactInternalInstance$"+Rn,Fn="__reactEventHandlers$"+Rn,Bn="__reactContainere$"+Rn;function Yn(e){var t=e[zn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bn]||n[zn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Nn(e);null!==e;){if(n=e[zn])return n;e=Nn(e)}return t}e=n,n=e.parentNode}return null}function Vn(e){return e=e[zn]||e[Bn],!e||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Gn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Wn(e){return e[Fn]||null}function Un(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Hn(e,t){var n=e.stateNode;if(!n)return null;var r=g(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}function qn(e,t,n){(t=Hn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=ct(n._dispatchListeners,t),n._dispatchInstances=ct(n._dispatchInstances,e))}function Kn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Un(t);for(t=n.length;0this.eventPool.length&&this.eventPool.push(e)}function sr(e){e.eventPool=[],e.getPooled=or,e.release=ar}i(ir.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nr)},persist:function(){this.isPersistent=nr},isPersistent:rr,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=rr,this._dispatchInstances=this._dispatchListeners=null}}),ir.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ir.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,sr(n),n},sr(ir);var lr=ir.extend({data:null}),ur=ir.extend({data:null}),cr=[9,13,27,32],fr=C&&"CompositionEvent"in window,dr=null;C&&"documentMode"in document&&(dr=document.documentMode);var hr=C&&"TextEvent"in window&&!dr,pr=C&&(!fr||dr&&8=dr),gr=String.fromCharCode(32),mr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},vr=!1;function yr(e,t){switch(e){case"keyup":return-1!==cr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function br(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}var xr=!1;function _r(e,t){switch(e){case"compositionend":return br(t);case"keypress":return 32!==t.which?null:(vr=!0,gr);case"textInput":return e=t.data,e===gr&&vr?null:e;default:return null}}function wr(e,t){if(xr)return"compositionend"===e||!fr&&yr(e,t)?(e=tr(),er=Jn=$n=null,xr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=document.documentMode,ii={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},oi=null,ai=null,si=null,li=!1;function ui(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return li||null==oi||oi!==bn(n)?null:(n=oi,"selectionStart"in n&&Sn(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),si&&ni(si,n)?null:(si=n,e=ir.getPooled(ii.select,ai,e,t),e.type="select",e.target=oi,Qn(e),e))}var ci={eventTypes:ii,extractEvents:function(e,t,n,r,i,o){if(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument),!(o=!i)){e:{i=it(i),o=j.onSelect;for(var a=0;aki||(e.current=Si[ki],Si[ki]=null,ki--)}function Mi(e,t){ki++,Si[ki]=e.current,e.current=t}var Ci={},Ti={current:Ci},Ii={current:!1},Di=Ci;function Ai(e,t){var n=e.type.contextTypes;if(!n)return Ci;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ei(e){return e=e.childContextTypes,null!==e&&void 0!==e}function Pi(){ji(Ii),ji(Ti)}function Li(e,t,n){if(Ti.current!==Ci)throw Error(a(168));Mi(Ti,t),Mi(Ii,n)}function Ni(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext(),r)if(!(o in e))throw Error(a(108,_e(t)||"Unknown",o));return i({},n,{},r)}function Ri(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ci,Di=Ti.current,Mi(Ti,e),Mi(Ii,Ii.current),!0}function zi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Ni(e,t,Di),r.__reactInternalMemoizedMergedChildContext=e,ji(Ii),ji(Ti),Mi(Ti,e)):ji(Ii),Mi(Ii,n)}var Fi=o.unstable_runWithPriority,Bi=o.unstable_scheduleCallback,Yi=o.unstable_cancelCallback,Vi=o.unstable_requestPaint,Gi=o.unstable_now,Wi=o.unstable_getCurrentPriorityLevel,Ui=o.unstable_ImmediatePriority,Hi=o.unstable_UserBlockingPriority,qi=o.unstable_NormalPriority,Ki=o.unstable_LowPriority,Zi=o.unstable_IdlePriority,Xi={},Qi=o.unstable_shouldYield,$i=void 0!==Vi?Vi:function(){},Ji=null,eo=null,to=!1,no=Gi(),ro=1e4>no?Gi:function(){return Gi()-no};function io(){switch(Wi()){case Ui:return 99;case Hi:return 98;case qi:return 97;case Ki:return 96;case Zi:return 95;default:throw Error(a(332))}}function oo(e){switch(e){case 99:return Ui;case 98:return Hi;case 97:return qi;case 96:return Ki;case 95:return Zi;default:throw Error(a(332))}}function ao(e,t){return e=oo(e),Fi(e,t)}function so(e,t,n){return e=oo(e),Bi(e,t,n)}function lo(e){return null===Ji?(Ji=[e],eo=Bi(Ui,co)):Ji.push(e),Xi}function uo(){if(null!==eo){var e=eo;eo=null,Yi(e)}co()}function co(){if(!to&&null!==Ji){to=!0;var e=0;try{var t=Ji;ao(99,function(){for(;e=t&&(Ka=!0),e.firstContext=null)}function wo(e,t){if(vo!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(vo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===mo){if(null===go)throw Error(a(308));mo=t,go.dependencies={expirationTime:0,firstContext:t,responders:null}}else mo=mo.next=t;return e._currentValue}var Oo=!1;function So(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ko(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function jo(e,t){return e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null},e.next=e}function Mo(e,t){if(e=e.updateQueue,null!==e){e=e.shared;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function Co(e,t){var n=e.alternate;null!==n&&ko(n,e),e=e.updateQueue,n=e.baseQueue,null===n?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function To(e,t,n,r){var o=e.updateQueue;Oo=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var l=a.next;a.next=s.next,s.next=l}a=s,o.shared.pending=null,l=e.alternate,null!==l&&(l=l.updateQueue,null!==l&&(l.baseQueue=s))}if(null!==a){l=a.next;var u=o.baseState,c=0,f=null,d=null,h=null;if(null!==l){var p=l;do{if(s=p.expirationTime,sc&&(c=s)}else{null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),Nl(s,p.suspenseConfig);e:{var m=e,v=p;switch(s=t,g=n,v.tag){case 1:if(m=v.payload,"function"===typeof m){u=m.call(g,u,s);break e}u=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(m=v.payload,s="function"===typeof m?m.call(g,u,s):m,null===s||void 0===s)break e;u=i({},u,s);break e;case 2:Oo=!0}}null!==p.callback&&(e.effectTag|=32,s=o.effects,null===s?o.effects=[p]:s.push(p))}if(p=p.next,null===p||p===l){if(s=o.shared.pending,null===s)break;p=a.next=s.next,s.next=l,o.baseQueue=a=s,o.shared.pending=null}}while(1)}null===h?f=u:h.next=d,o.baseState=f,o.baseQueue=h,Rl(c),e.expirationTime=c,e.memoizedState=u}}function Io(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;tg?(m=f,f=null):m=f.sibling;var v=h(i,f,s[g],l);if(null===v){null===f&&(f=m);break}e&&f&&null===v.alternate&&t(i,f),a=o(v,a,g),null===c?u=v:c.sibling=v,c=v,f=m}if(g===s.length)return n(i,f),u;if(null===f){for(;gm?(v=g,g=null):v=g.sibling;var b=h(i,g,y.value,u);if(null===b){null===g&&(g=v);break}e&&g&&null===b.alternate&&t(i,g),s=o(b,s,m),null===f?c=b:f.sibling=b,f=b,g=v}if(y.done)return n(i,g),c;if(null===g){for(;!y.done;m++,y=l.next())y=d(i,y.value,u),null!==y&&(s=o(y,s,m),null===f?c=y:f.sibling=y,f=y);return c}for(g=r(i,g);!y.done;m++,y=l.next())y=p(g,i,m,y.value,u),null!==y&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),s=o(y,s,m),null===f?c=y:f.sibling=y,f=y);return e&&g.forEach(function(e){return t(i,e)}),c}return function(e,r,o,l){var u="object"===typeof o&&null!==o&&o.type===ae&&null===o.key;u&&(o=o.props.children);var c="object"===typeof o&&null!==o;if(c)switch(o.$$typeof){case ie:e:{for(c=o.key,u=r;null!==u;){if(u.key===c){switch(u.tag){case 7:if(o.type===ae){n(e,u.sibling),r=i(u,o.props.children),r.return=e,e=r;break e}break;default:if(u.elementType===o.type){n(e,u.sibling),r=i(u,o.props),r.ref=Bo(e,u,o),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}o.type===ae?(r=su(o.props.children,e.mode,l,o.key),r.return=e,e=r):(l=au(o.type,o.key,o.props,null,e.mode,l),l.ref=Bo(e,r,o),l.return=e,e=l)}return s(e);case oe:e:{for(u=o.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),r=i(r,o.children||[]),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=uu(o,e.mode,l),r.return=e,e=r}return s(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),r=i(r,o),r.return=e,e=r):(n(e,r),r=lu(o,e.mode,l),r.return=e,e=r),s(e);if(Fo(o))return g(e,r,o,l);if(be(o))return m(e,r,o,l);if(c&&Yo(e,o),"undefined"===typeof o&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Go=Vo(!0),Wo=Vo(!1),Uo={},Ho={current:Uo},qo={current:Uo},Ko={current:Uo};function Zo(e){if(e===Uo)throw Error(a(174));return e}function Xo(e,t){switch(Mi(Ko,t),Mi(qo,e),Mi(Ho,Uo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ge(null,"");break;default:e=8===e?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ge(t,e)}ji(Ho),Mi(Ho,t)}function Qo(){ji(Ho),ji(qo),ji(Ko)}function $o(e){Zo(Ko.current);var t=Zo(Ho.current),n=Ge(t,e.type);t!==n&&(Mi(qo,e),Mi(Ho,n))}function Jo(e){qo.current===e&&(ji(Ho),ji(qo))}var ea={current:0};function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(n=n.dehydrated,null===n||n.data===Mn||n.data===Cn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function na(e,t){return{responder:e,props:t}}var ra=ee.ReactCurrentDispatcher,ia=ee.ReactCurrentBatchConfig,oa=0,aa=null,sa=null,la=null,ua=!1;function ca(){throw Error(a(321))}function fa(e,t){if(null===t)return!1;for(var n=0;no))throw Error(a(301));o+=1,la=sa=null,t.updateQueue=null,ra.current=Ra,e=n(r,i)}while(t.expirationTime===oa)}if(ra.current=Pa,t=null!==sa&&null!==sa.next,oa=0,la=sa=aa=null,ua=!1,t)throw Error(a(300));return e}function ha(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===la?aa.memoizedState=la=e:la=la.next=e,la}function pa(){if(null===sa){var e=aa.alternate;e=null!==e?e.memoizedState:null}else e=sa.next;var t=null===la?aa.memoizedState:la.next;if(null!==t)la=t,sa=e;else{if(null===e)throw Error(a(310));sa=e,e={memoizedState:sa.memoizedState,baseState:sa.baseState,baseQueue:sa.baseQueue,queue:sa.queue,next:null},null===la?aa.memoizedState=la=e:la=la.next=e}return la}function ga(e,t){return"function"===typeof t?t(e):t}function ma(e){var t=pa(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=sa,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=o=null,u=i;do{var c=u.expirationTime;if(caa.expirationTime&&(aa.expirationTime=c,Rl(c))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),Nl(c,u.suspenseConfig),r=u.eagerReducer===e?u.eagerState:e(r,u.action);u=u.next}while(null!==u&&u!==i);null===l?o=r:l.next=s,ei(r,t.memoizedState)||(Ka=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function va(e){var t=pa(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);ei(o,t.memoizedState)||(Ka=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ya(e){var t=ha();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ga,lastRenderedState:e},e=e.dispatch=Ea.bind(null,aa,e),[t.memoizedState,e]}function ba(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=aa.updateQueue,null===t?(t={lastEffect:null},aa.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,null===n?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function xa(){return pa().memoizedState}function _a(e,t,n,r){var i=ha();aa.effectTag|=e,i.memoizedState=ba(1|t,n,void 0,void 0===r?null:r)}function wa(e,t,n,r){var i=pa();r=void 0===r?null:r;var o=void 0;if(null!==sa){var a=sa.memoizedState;if(o=a.destroy,null!==r&&fa(r,a.deps))return void ba(t,n,o,r)}aa.effectTag|=e,i.memoizedState=ba(1|t,n,o,r)}function Oa(e,t){return _a(516,4,e,t)}function Sa(e,t){return wa(516,4,e,t)}function ka(e,t){return wa(4,2,e,t)}function ja(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ma(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,wa(4,2,ja.bind(null,t,e),n)}function Ca(){}function Ta(e,t){return ha().memoizedState=[e,void 0===t?null:t],e}function Ia(e,t){var n=pa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&fa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Da(e,t){var n=pa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&fa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Aa(e,t,n){var r=io();ao(98>r?98:r,function(){e(!0)}),ao(97<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(o,{is:r.is}):(e=l.createElement(o),"select"===o&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,o),e[zn]=t,e[Fn]=r,is(e,t,!1,!1),t.stateNode=e,l=gn(o,r),o){case"iframe":case"object":case"embed":nn("load",e),u=r;break;case"video":case"audio":for(u=0;ur.tailExpiration&&1t)&&yl.set(e,t)))}}function kl(e,t){e.expirationTimee?n:e,2>=e&&t!==e?0:e}function Ml(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=lo(Tl.bind(null,e));else{var t=jl(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=wl();if(1073741823===t?r=99:1===t||2===t?r=95:(r=10*(1073741821-t)-10*(1073741821-r),r=0>=r?99:250>=r?98:5250>=r?97:95),null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Xi&&Yi(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?lo(Tl.bind(null,e)):so(r,Cl.bind(null,e),{timeout:10*(1073741821-t)-ro()}),e.callbackNode=t}}}function Cl(e,t){if(_l=0,t)return t=wl(),pu(e,t),Ml(e),null;var n=jl(e);if(0!==n){if(t=e.callbackNode,($s&(Ws|Us))!==Vs)throw Error(a(327));if(Hl(),e===Js&&n===tl||El(e,n),null!==el){var r=$s;$s|=Ws;var i=Ll();do{try{Fl();break}catch(t){Pl(e,t)}}while(1);if(yo(),$s=r,Bs.current=i,nl===qs)throw t=rl,El(e,n),du(e,n),Ml(e),t;if(null===el)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=nl,Js=null,r){case Hs:case qs:throw Error(a(345));case Ks:pu(e,2=n){e.lastPingedTime=n,El(e,n);break}}if(o=jl(e),0!==o&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=En(Gl.bind(null,e),i);break}Gl(e);break;case Xs:if(du(e,n),r=e.lastSuspendedTime,n===r&&(e.nextKnownPendingLevel=Vl(i)),ll&&(i=e.lastPingedTime,0===i||i>=n)){e.lastPingedTime=n,El(e,n);break}if(i=jl(e),0!==i&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==ol?r=10*(1073741821-ol)-ro():1073741823===il?r=0:(r=10*(1073741821-il)-5e3,i=ro(),n=10*(1073741821-n)-i,r=i-r,0>r&&(r=0),r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fs(r/1960))-r,n=r?r=0:(i=0|s.busyDelayMs,o=ro()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)),r=o<=i?0:i+r-o),10 component higher in the tree to provide a loading indicator or placeholder to display."+we(a))}nl!==Qs&&(nl=Ks),s=vs(s,a),f=o;do{switch(f.tag){case 3:l=s,f.effectTag|=4096,f.expirationTime=t;var x=Ns(f,l,t);Co(f,x);break e;case 1:l=s;var _=f.type,w=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof _.getDerivedStateFromError||null!==w&&"function"===typeof w.componentDidCatch&&(null===pl||!pl.has(w)))){f.effectTag|=4096,f.expirationTime=t;var O=Rs(f,l,t);Co(f,O);break e}}f=f.return}while(null!==f)}el=Yl(el)}catch(e){t=e;continue}break}while(1)}function Ll(){var e=Bs.current;return Bs.current=Pa,null===e?Pa:e}function Nl(e,t){esl&&(sl=e)}function zl(){for(;null!==el;)el=Bl(el)}function Fl(){for(;null!==el&&!Qi();)el=Bl(el)}function Bl(e){var t=zs(e.alternate,e,tl);return e.memoizedProps=e.pendingProps,null===t&&(t=Yl(e)),Ys.current=null,t}function Yl(e){el=e;do{var t=el.alternate;if(e=el.return,0===(2048&el.effectTag)){if(t=gs(t,el,tl),1===tl||1!==el.childExpirationTime){for(var n=0,r=el.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}el.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=el.firstEffect),null!==el.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=el.firstEffect),e.lastEffect=el.lastEffect),1e?t:e}function Gl(e){var t=io();return ao(99,Wl.bind(null,e,t)),null}function Wl(e,t){do{Hl()}while(null!==ml);if(($s&(Ws|Us))!==Vs)throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=Vl(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Js&&(el=Js=null,tl=0),1l&&(c=l,l=s,s=c),c=_n(x,s),f=_n(x,l),c&&f&&(1!==w.rangeCount||w.anchorNode!==c.node||w.anchorOffset!==c.offset||w.focusNode!==f.node||w.focusOffset!==f.offset)&&(_=_.createRange(),_.setStart(c.node,c.offset),w.removeAllRanges(),s>l?(w.addRange(_),w.extend(f.node,f.offset)):(_.setEnd(f.node,f.offset),w.addRange(_)))))),_=[];for(w=x;w=w.parentNode;)1===w.nodeType&&_.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"===typeof x.focus&&x.focus(),x=0;x<_.length;x++)w=_[x],w.element.scrollLeft=w.left,w.element.scrollTop=w.top}tn=!!Tn,In=Tn=null,e.current=n,fl=i;do{try{for(x=e;null!==fl;){var O=fl.effectTag;if(36&O&&ks(x,fl.alternate,fl),128&O){_=void 0;var S=fl.ref;if(null!==S){var k=fl.stateNode;switch(fl.tag){case 5:_=k;break;default:_=k}"function"===typeof S?S(_):S.current=_}}fl=fl.nextEffect}}catch(e){if(null===fl)throw Error(a(330));Zl(fl,e),fl=fl.nextEffect}}while(null!==fl);fl=null,$i(),$s=o}else e.current=n;if(gl)gl=!1,ml=e,vl=t;else for(fl=i;null!==fl;)t=fl.nextEffect,fl.nextEffect=null,fl=t;if(t=e.firstPendingTime,0===t&&(pl=null),1073741823===t?e===xl?bl++:(bl=0,xl=e):bl=0,"function"===typeof $l&&$l(n.stateNode,r),Ml(e),dl)throw dl=!1,e=hl,hl=null,e;return($s&Gs)!==Vs?null:(uo(),null)}function Ul(){for(;null!==fl;){var e=fl.effectTag;0!==(256&e)&&ws(fl.alternate,fl),0===(512&e)||gl||(gl=!0,so(97,function(){return Hl(),null})),fl=fl.nextEffect}}function Hl(){if(90!==vl){var e=97=n?us(e,t,n):(Mi(ea,1&ea.current),t=hs(e,t,n),null!==t?t.sibling:null);Mi(ea,1&ea.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return ds(e,t,n);t.effectTag|=64}if(i=t.memoizedState,null!==i&&(i.rendering=null,i.tail=null),Mi(ea,ea.current),!r)return null}return hs(e,t,n)}Ka=!1}}else Ka=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=Ai(t,Ti.current),_o(t,n),i=da(null,t,r,e,i,n),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ei(r)){var o=!0;Ri(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,So(t);var s=r.getDerivedStateFromProps;"function"===typeof s&&Eo(t,r,s,e),i.updater=Po,t.stateNode=i,i._reactInternalFiber=t,zo(t,r,e,n),t=ns(null,t,r,!0,o,n)}else t.tag=0,Za(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,xe(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=iu(i),e=ho(i,e),o){case 0:t=es(null,t,i,e,n);break e;case 1:t=ts(null,t,i,e,n);break e;case 11:t=Xa(null,t,i,e,n);break e;case 14:t=Qa(null,t,i,ho(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ho(r,i),es(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ho(r,i),ts(e,t,r,i,n);case 3:if(rs(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=t.memoizedState,i=null!==i?i.element:null,ko(e,t),To(t,r,null,n),r=t.memoizedState.element,r===i)Ha(),t=hs(e,t,n);else{if((i=t.stateNode.hydrate)&&(Fa=Ln(t.stateNode.containerInfo.firstChild),za=t,i=Ba=!0),i)for(n=Wo(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Za(e,t,r,n),Ha();t=t.child}return t;case 5:return $o(t),null===e&&Ga(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,An(r,i)?s=null:null!==o&&An(r,o)&&(t.effectTag|=16),Ja(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Za(e,t,s,n),t=t.child),t;case 6:return null===e&&Ga(t),null;case 13:return us(e,t,n);case 4:return Xo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Go(t,null,r,n):Za(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ho(r,i),Xa(e,t,r,i,n);case 7:return Za(e,t,t.pendingProps,n),t.child;case 8:return Za(e,t,t.pendingProps.children,n),t.child;case 12:return Za(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var l=t.type._context;if(Mi(po,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,o=ei(l,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823),0===o){if(s.children===i.children&&!Ii.current){t=hs(e,t,n);break e}}else for(l=t.child,null!==l&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!==(c.observedBits&o)){1===l.tag&&(c=jo(n,null),c.tag=2,Mo(l,c)),l.expirationTime=t&&e<=t}function du(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;nt||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function hu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function pu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function gu(e,t,n,r){var i=t.current,o=wl(),s=Do.suspense;o=Ol(o,i,s);e:if(n){n=n._reactInternalFiber;t:{if(ot(n)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Ei(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var u=n.type;if(Ei(u)){n=Ni(n,u,l);break e}}n=l}else n=Ci;return null===t.context?t.context=n:t.pendingContext=n,t=jo(o,s),t.payload={element:e},r=void 0===r?null:r,null!==r&&(t.callback=r),Mo(i,t),Sl(i,o),o}function mu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function vu(e,t){e=e.memoizedState,null!==e&&null!==e.dehydrated&&e.retryTime=m)return!1;if(v=u,c=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),c.ok){for(h=e.md.normalizeLink(c.str),e.md.validateLink(h)?u=c.pos:h="",v=u;u=m||41!==e.src.charCodeAt(u))&&(y=!0),u++}if(y){if("undefined"===typeof e.env.references)return!1;if(u=0?a=e.src.slice(v,u++):u=s+1):u=s+1,a||(a=e.src.slice(l,s)),f=e.env.references[r(a)],!f)return e.pos=g,!1;h=f.href,p=f.title}return t||(e.pos=l,e.posMax=s,d=e.push("link_open","a",1),d.attrs=n=[["href",h]],p&&n.push(["title",p]),e.md.inline.tokenize(e),d=e.push("link_close","a",-1)),e.pos=u,e.posMax=m,!0}},zTMp:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return d}),n.d(t,"d",function(){return h}),n.d(t,"e",function(){return g});var r=n("Qxkt"),i=n("bYtY");function o(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return a(n,e,t),n.seriesInvolved&&l(n,e),n}function a(e,t,n){var r=t.getComponent("tooltip"),o=t.getComponent("axisPointer"),a=o.get("link",!0)||[],l=[];Object(i["j"])(n.getCoordinateSystems(),function(n){if(n.axisPointerEnabled){var c=g(n.model),f=e.coordSysAxesInfo[c]={};e.coordSysMap[c]=n;var d=n.model,h=d.getModel("tooltip",r);if(Object(i["j"])(n.getAxes(),Object(i["h"])(b,!1,null)),n.getTooltipAxes&&r&&h.get("show")){var m="axis"===h.get("trigger"),v="cross"===h.get(["axisPointer","type"]),y=n.getTooltipAxes(h.get(["axisPointer","axis"]));(m||v)&&Object(i["j"])(y.baseAxes,Object(i["h"])(b,!v||"cross",m)),v&&Object(i["j"])(y.otherAxes,Object(i["h"])(b,"cross",!1))}}function b(r,i,c){var d=c.model.getModel("axisPointer",o),m=d.get("show");if(m&&("auto"!==m||r||p(d))){null==i&&(i=d.get("triggerTooltip")),d=r?s(c,h,o,t,r,i):d;var v=d.get("snap"),y=g(c.model),b=i||v||"category"===c.type,x=e.axesInfo[y]={key:y,axis:c,coordSys:n,axisPointerModel:d,triggerTooltip:i,involveSeries:b,snap:v,useHandle:p(d),seriesModels:[],linkGroup:null};f[y]=x,e.seriesInvolved=e.seriesInvolved||b;var _=u(a,c);if(null!=_){var w=l[_]||(l[_]={axesInfo:{}});w.axesInfo[y]=x,w.mapper=a[_].mapper,x.linkGroup=w}}}})}function s(e,t,n,o,a,s){var l=t.getModel("axisPointer"),u=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],c={};Object(i["j"])(u,function(e){c[e]=Object(i["d"])(l.get(e))}),c.snap="category"!==e.type&&!!s,"cross"===l.get("type")&&(c.type="line");var f=c.label||(c.label={});if(null==f.show&&(f.show=!1),"cross"===a){var d=l.get(["label","show"]);if(f.show=null==d||d,!s){var h=c.lineStyle=l.get("crossStyle");h&&Object(i["i"])(f,h.textStyle)}}return e.model.getModel("axisPointer",new r["a"](c,n,o))}function l(e,t){t.eachSeries(function(t){var n=t.coordinateSystem,r=t.get(["tooltip","trigger"],!0),o=t.get(["tooltip","show"],!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==o&&!1!==t.get(["axisPointer","show"],!0)&&Object(i["j"])(e.coordSysAxesInfo[g(n.model)],function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())})})}function u(e,t){for(var n=t.model,r=t.dim,i=0;i=0||e===t}function f(e){var t=d(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=p(n);null==o&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a