Agriculture-front-end/dist/assets/install.6cb28b74.js

43 lines
409 KiB
JavaScript
Raw Normal View History

2023-07-09 20:38:38 +08:00
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var Ks=function(e,t){return Ks=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Ks(e,t)};function G(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ks(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Dg=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),Lg=function(){function e(){this.browser=new Dg,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return e}(),Rr=new Lg;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Rr.wxa=!0,Rr.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Rr.worker=!0:typeof navigator>"u"?(Rr.node=!0,Rr.svgSupported=!0):Ig(navigator.userAgent,Rr);function Ig(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}const st=Rr;var Vu=12,Rg="sans-serif",Vr=Vu+"px "+Rg,Ag=20,Eg=100,Pg="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function Og(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r<e.length;r++){var n=String.fromCharCode(r+32),i=(e.charCodeAt(r)-Ag)/Eg;t[n]=i}return t}var kg=Og(Pg),Tn={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(r,n){if(!e){var i=Tn.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==n&&(t=e.font=n||Vr),e.measureText(r);r=r||"",n=n||Vr;var a=/^([0-9]*?)px$/.exec(n),o=+(a&&a[1])||Vu,s=0;if(n.indexOf("mono")>=0)s=o*r.length;else for(var u=0;u<r.length;u++){var l=kg[r[u]];s+=l==null?o:l*o}return{width:s}}}(),loadImage:function(e,t,r){var n=new Image;return n.onload=t,n.onerror=r,n.src=e,n}},Fv=nr(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),Nv=nr(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),Mn=Object.prototype.toString,so=Array.prototype,Bg=so.forEach,Fg=so.filter,Wu=so.slice,Ng=so.map,Bl=function(){}.constructor,Pi=Bl?Bl.prototype:null,Uu="__proto__",zg=2311;function zv(){return zg++}function Nr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function tt(e){if(e==null||typeof e!="object")return e;var t=e,r=Mn.call(e);if(r==="[object Array]"){if(!ri(e)){t=[];for(var n=0,i=e.length;n<i;n++)t[n]=tt(e[n])}}else if(Nv[r]){if(!ri(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}}}else if(!Fv[r]&&!ri(e)&&!Aa(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==Uu&&(t[o]=tt(e[o]))}return t}function ut(e,t,r){if(!B(t)||!B(e))return r?tt(t):e;for(var n in t)if(t.hasOwnProperty(n)&&n!==Uu){var i=e[n],a=t[n];B(a)&&B(i)&&!k(a)&&!k(i)&&!Aa(a)&&!Aa(i)&&!Fl(a)&&!Fl(i)&&!ri(a)&&!ri(i)?ut(i,a,r):(r||!(n in e))&&(e[n]=tt(t[
`),a=i.length;if(a===1)return vf(i[0],t,r,n);for(var o=new Q(0,0,0,0),s=0;s<i.length;s++){var u=vf(i[s],t,r,n);s===0?o.copy(u):o.union(u)}return o}function Qn(e,t,r){return r==="right"?e-=t:r==="center"&&(e-=t/2),e}function vn(e,t,r){return r==="middle"?e-=t/2:r==="bottom"&&(e-=t),e}function Zu(e){return qt("\u56FD",e)}function Ur(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function hc(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,u=r.x,l=r.y,f="left",h="top";if(n instanceof Array)u+=Ur(n[0],r.width),l+=Ur(n[1],r.height),f=null,h=null;else switch(n){case"left":u-=i,l+=s,f="right",h="middle";break;case"right":u+=i+o,l+=s,h="middle";break;case"top":u+=o/2,l-=i,f="center",h="bottom";break;case"bottom":u+=o/2,l+=a+i,f="center";break;case"inside":u+=o/2,l+=s,f="center",h="middle";break;case"insideLeft":u+=i,l+=s,h="middle";break;case"insideRight":u+=o-i,l+=s,f="right",h="middle";break;case"insideTop":u+=o/2,l+=i,f="center";break;case"insideBottom":u+=o/2,l+=a-i,f="center",h="bottom";break;case"insideTopLeft":u+=i,l+=i;break;case"insideTopRight":u+=o-i,l+=i,f="right";break;case"insideBottomLeft":u+=i,l+=a-i,h="bottom";break;case"insideBottomRight":u+=o-i,l+=a-i,f="right",h="bottom";break}return e=e||{},e.x=u,e.y=l,e.align=f,e.verticalAlign=h,e}var rs="__zr_normal__",ns=yi.concat(["ignore"]),a0=nr(yi,function(e,t){return e[t]=!0,e},{ignore:!1}),Jr={},o0=new Q(0,0,0,0),Ku=function(){function e(t){this.id=zv(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,u=!1;a.parent=i?this:null;var l=!1;if(a.copyTransform(r),n.position!=null){var f=o0;n.layoutRect?f.copy(n.layoutRect):f.copy(this.getBoundingRect()),i||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Jr,n,f):hc(Jr,n,f),a.x=Jr.x,a.y=Jr.y,o=Jr.align,s=Jr.verticalAlign;var h=n.origin;if(h&&n.rotation!=null){var c=void 0,v=void 0;h==="center"?(c=f.width*.5,v=f.height*.5):(c=Ur(h[0],f.width),v=Ur(h[1],f.height)),l=!0,a.originX=-a.x+c+(i?0:f.x),a.originY=-a.y+v+(i?0:f.y)}}n.rotation!=null&&(a.rotation=n.rotation);var d=n.offset;d&&(a.x+=d[0],a.y+=d[1],l||(a.originX=-d[0],a.originY=-d[1]));var y=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,p=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,_=void 0,m=void 0;y&&this.canBeInsideText()?(g=n.insideFill,_=n.insideStroke,(g==null||g==="auto")&&(g=this.getInsideTextFill()),(_==null||_==="auto")&&(_=this.getInsideTextStroke(g),m=!0)):(g=n.outsideFill,_=n.outsideStroke,(g==null||g==="auto")&&(g=this.getOutsideFill()),(_==null||_==="auto")&&(_=this.getOutsideStroke(g),m=!0)),g=g||"#000",(g!==p.fill||_!==p.stroke||m!==p.autoStroke||o!==p.align||s!==p.verticalAlign)&&(u=!0,p.fill=g,p.stroke=_,p.autoStroke=m,p.align=o,p.verticalAlign=s,r.setDefaultTextStyle(p)),r.__dirty|=Xt,u&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?vu:hu},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&pe(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,Li(n,"rgba")},e.prototype.traverse=fun
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var Jn={},pc={};function h0(e){delete pc[e]}function v0(e){if(!e)return!1;if(typeof e=="string")return Ba(e,1)<fu;if(e.colorStops){for(var t=e.colorStops,r=0,n=t.length,i=0;i<n;i++)r+=Ba(t[i].color,1);return r/=n,r<fu}return!1}var c0=function(){function e(t,r,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=r,this.id=t;var a=new by,o=n.renderer||"canvas";if(Jn[o]||(o=it(Jn)[0]),!Jn[o])throw new Error("Renderer '"+o+"' is not imported. Please import it first.");n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new Jn[o](r,a,n,t),u=n.ssr||s.ssrOnly;this.storage=a,this.painter=s;var l=!st.node&&!st.worker&&!u?new Jy(s.getViewportRoot(),s.root):null;this.handler=new yy(a,s,l,s.root),this.animation=new Uy({stage:{update:u?null:function(){return i._flush(!0)}}}),u||this.animation.start()}return e.prototype.add=function(t){!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh()},e.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=v0(t)},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},e.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},e.prototype.flush=function(){this._flush(!1)},e.prototype._flush=function(t){var r,n=cn();this._needsRefresh&&(r=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(r=!0,this.refreshHoverImmediately());var i=cn();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},e.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this.handler.off(t,r)},e.prototype.trigger=function(t,r){this.handler.trigger(t,r)},e.prototype.clear=function(){for(var t=this.storage.getRoots(),r=0;r<t.length;r++)t[r]instanceof Ii&&t[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},e.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,h0(this.id)},e}();function cf(e,t){var r=new c0(zv(),e,t);return pc[r.id]=r,r}function d0(e,t){Jn[e]=t}var df=1e-4,gc=20;function p0(e){return e.replace(/^\s+|\s+$/g,"")}function pf(e,t,r,n){var i=t[0],a=t[1],o=r[0],s=r[1],u=a-i,l=s-o;if(u===0)return l===0?o:(o+s)/2;if(n)if(u>0){if(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/u*l+o}function dt(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom
`);i=Rc(t,r,n,i);for(var o=0,s=a.length;o<s;o++)a[o]=Ac(a[o],i);return a.join(`
`)}function Rc(e,t,r,n){n=n||{};var i=O({},n);i.font=t,r=K(r,"..."),i.maxIterations=K(n.maxIterations,2);var a=i.minChar=K(n.minChar,0);i.cnCharWidth=qt("\u56FD",t);var o=i.ascCharWidth=qt("a",t);i.placeholder=K(n.placeholder,"");for(var s=e=Math.max(0,e-1),u=0;u<a&&s>=o;u++)s-=o;var l=qt(r,t);return l>s&&(r="",l=0),s=e-l,i.ellipsis=r,i.ellipsisWidth=l,i.contentWidth=s,i.containerWidth=e,i}function Ac(e,t){var r=t.containerWidth,n=t.font,i=t.contentWidth;if(!r)return"";var a=qt(e,n);if(a<=r)return e;for(var o=0;;o++){if(a<=i||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?K0(e,i,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*i/a):0;e=e.substr(0,s),a=qt(e,n)}return e===""&&(e=t.placeholder),e}function K0(e,t,r,n){for(var i=0,a=0,o=e.length;a<o&&i<t;a++){var s=e.charCodeAt(a);i+=0<=s&&s<=127?r:n}return a}function Q0(e,t){e!=null&&(e+="");var r=t.overflow,n=t.padding,i=t.font,a=r==="truncate",o=Zu(i),s=K(t.lineHeight,o),u=!!t.backgroundColor,l=t.lineOverflow==="truncate",f=t.width,h;f!=null&&(r==="break"||r==="breakAll")?h=e?Ec(e,t.font,f,r==="breakAll",0).lines:[]:h=e?e.split(`
`):[];var c=h.length*s,v=K(t.height,c);if(c>v&&l){var d=Math.floor(v/s);h=h.slice(0,d)}if(e&&a&&f!=null)for(var y=Rc(f,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),p=0;p<h.length;p++)h[p]=Ac(h[p],y);for(var g=v,_=0,p=0;p<h.length;p++)_=Math.max(qt(h[p],i),_);f==null&&(f=_);var m=_;return n&&(g+=n[0]+n[2],m+=n[1]+n[3],f+=n[1]+n[3]),u&&(m=f),{lines:h,height:v,outerWidth:m,outerHeight:g,lineHeight:s,calculatedLineHeight:o,contentWidth:_,contentHeight:c,width:f}}var J0=function(){function e(){}return e}(),Mf=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),j0=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function t_(e,t){var r=new j0;if(e!=null&&(e+=""),!e)return r;for(var n=t.width,i=t.height,a=t.overflow,o=(a==="break"||a==="breakAll")&&n!=null?{width:n,accumWidth:0,breakAll:a==="breakAll"}:null,s=ss.lastIndex=0,u;(u=ss.exec(e))!=null;){var l=u.index;l>s&&us(r,e.substring(s,l),t,o),us(r,u[2],t,o,u[1]),s=ss.lastIndex}s<e.length&&us(r,e.substring(s,e.length),t,o);var f=[],h=0,c=0,v=t.padding,d=a==="truncate",y=t.lineOverflow==="truncate";function p(z,N,$){z.width=N,z.lineHeight=$,h+=$,c=Math.max(c,N)}t:for(var g=0;g<r.lines.length;g++){for(var _=r.lines[g],m=0,w=0,b=0;b<_.tokens.length;b++){var S=_.tokens[b],M=S.styleName&&t.rich[S.styleName]||{},C=S.textPadding=M.padding,D=C?C[1]+C[3]:0,L=S.font=M.font||t.font;S.contentHeight=Zu(L);var x=K(M.height,S.contentHeight);if(S.innerHeight=x,C&&(x+=C[0]+C[2]),S.height=x,S.lineHeight=ga(M.lineHeight,t.lineHeight,x),S.align=M&&M.align||t.align,S.verticalAlign=M&&M.verticalAlign||"middle",y&&i!=null&&h+S.lineHeight>i){b>0?(_.tokens=_.tokens.slice(0,b),p(_,w,m),r.lines=r.lines.slice(0,g+1)):r.lines=r.lines.slice(0,g);break t}var I=M.width,R=I==null||I==="auto";if(typeof I=="string"&&I.charAt(I.length-1)==="%")S.percentWidth=I,f.push(S),S.contentWidth=qt(S.text,L);else{if(R){var A=M.backgroundColor,P=A&&A.image;P&&(P=q0(P),_o(P)&&(S.width=Math.max(S.width,P.width*x/P.height)))}var E=d&&n!=null?n-w:null;E!=null&&E<S.width?!R||E<D?(S.text="",S.width=S.contentWidth=0):(S.text=Z0(S.text,E-D,L,t.ellipsis,{minChar:t.truncateMinChar}),S.width=S.contentWidth=qt(S.text,L)):S.contentWidth=qt(S.text,L)}S.width+=D,w+=S.width,M&&(m=Math.max(m,S.lineHeight))}p(_,w,m)}r.outerWidth=r.width=K(n,c),r.outerHeight=r.height=K(i,h),r.contentHeight=h,r.contentWidth=c,v&&(r.outerWidth+=v[1]+v[3],r.outerHeight+=v[0]+v[2]);for(var g=0;g<f.length;g++){var S=f[g],Y=S.percentWidth;S.width=parseInt(Y,10)/100*r.width}return r}function us(e,t,r,n,i){var a=t==="",o=i&&r.rich[i]||{},s=e.lines,u=o.font||r.font,l=!1,f,h;if(n){var c=o.padding,v=c?c[1]+c[3]:0;if(o.width!=null&&o.width!=="auto"){var d=Ur(o.width,n.width)+v;s.length>0&&d+n.accumWidth>n.width&&(f=t.split(`
`),l=!0),n.accumWidth=d}else{var y=Ec(t,u,n.width,n.breakAll,n.accumWidth);n.accumWidth=y.accumWidth+v,h=y.linesWidths,f=y.lines}}else f=t.split(`
`);for(var p=0;p<f.length;p++){var g=f[p],_=new J0;if(_.styleName=i,_.text=g,_.isLineHolder=!g&&!a,typeof o.width=="number"?_.width=o.width:_.width=h?h[p]:qt(g,u),!p&&!l){var m=(s[s.length-1]||(s[0]=new Mf)).tokens,w=m.length;w===1&&m[0].isLineHolder?m[0]=_:(g||!w||a)&&m.push(_)}else s.push(new Mf([_]))}}function e_(e){var t=e.charCodeAt(0);return t>=33&&t<=383}var r_=nr(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function n_(e){return e_(e)?!!r_[e]:!0}function Ec(e,t,r,n,i){for(var a=[],o=[],s="",u="",l=0,f=0,h=0;h<e.length;h++){var c=e.charAt(h);if(c===`
`){u&&(s+=u,f+=l),a.push(s),o.push(f),s="",u="",l=0,f=0;continue}var v=qt(c,t),d=n?!1:!n_(c);if(a.length?f+v>r:i+f+v>r){f?(s||u)&&(d?(s||(s=u,u="",l=0,f=l),a.push(s),o.push(f-l),u+=c,l+=v,s="",f=l):(u&&(s+=u,u="",l=0),a.push(s),o.push(f),s=c,f=v)):d?(a.push(u),o.push(l),u=c,l=v):(a.push(c),o.push(v));continue}f+=v,d?(u+=c,l+=v):(u&&(s+=u,u="",l=0),s+=c)}return!a.length&&!s&&(s=e,u="",l=0),u&&(s+=u),s&&(a.push(s),o.push(f)),a.length===1&&(f+=i),{accumWidth:f,lines:a,linesWidths:o}}var du="__zr_style_"+Math.round(Math.random()*10),Hr={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},mo={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Hr[du]=!0;var Cf=["z","z2","invisible"],i_=["invisible"],a_=function(e){G(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=it(r),i=0;i<n.length;i++){var a=n[i];a==="style"?this.useStyle(r[a]):e.prototype.attrKV.call(this,a,r[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(r,n,i,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&o_(this,r,n)||o&&!o[0]&&!o[3])return!1;if(i&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(a&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},t.prototype.contain=function(r,n){return this.rectContain(r,n)},t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.rectContain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();return a.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var r=this._paintRect;if(!this._paintRect||this.__dirty){var n=this.transform,i=this.getBoundingRect(),a=this.style,o=a.shadowBlur||0,s=a.shadowOffsetX||0,u=a.shadowOffsetY||0;r=this._paintRect||(this._paintRect=new Q(0,0,0,0)),n?Q.applyTransform(r,i,n):r.copy(i),(o||s||u)&&(r.width+=o*2+Math.abs(s),r.height+=o*2+Math.abs(u),r.x=Math.min(r.x,r.x+s-o),r.y=Math.min(r.y,r.y+u-o));var l=this.dirtyRectTolerance;r.isZero()||(r.x=Math.floor(r.x-l),r.y=Math.floor(r.y-l),r.width=Math.ceil(r.width+1+l*2),r.height=Math.ceil(r.height+1+l*2))}return r},t.prototype.setPrevPaintRect=function(r){r?(this._prevPaintRect=this._prevPaintRect||new Q(0,0,0,0),this._prevPaintRect.copy(r)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(r){return this.animate("style",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(r,n){r!=="style"?e.prototype.attrKV.call(this,r,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(r,n){return typeof r=="string"?this.style[r]=n:O(this.style,r),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(r){r||this.markRedraw(),this.__dirty|=Zn,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&Zn)},t.prototype.styleUpdated=function(){this.__dirty&=~Zn},t.prototype.createStyle=function(r){return lo(Hr,r)},t.prototype.useStyle=function(r){r[du]||(r=this.createStyle(r)),this.__inHover?this.__hoverStyle=r:this.style=r,this.dirtyStyle()},t.prototype.isStyleObject=function(r){return r[du]},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(r,n,Cf)},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.prototype._applyStateObj.call(this,r,n,i,a,o,s);var u=!(n&&a),l;if(n&&n.style?o?a?l=n.style:(l=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),a?this.style:i.style),this._mergeStyle(l,n.style)):u&&(l=i.style),l)if(o){var f=this.style;if(th
yyyy`);var n=Ie(t),i=r?"getUTC":"get",a=n[i+"FullYear"](),o=n[i+"Month"]()+1,s=n[i+"Date"](),u=n[i+"Hours"](),l=n[i+"Minutes"](),f=n[i+"Seconds"](),h=n[i+"Milliseconds"]();return e=e.replace("MM",Yt(o,2)).replace("M",o).replace("yyyy",a).replace("yy",a%100+"").replace("dd",Yt(s,2)).replace("d",s).replace("hh",Yt(u,2)).replace("h",u).replace("mm",Yt(l,2)).replace("m",l).replace("ss",Yt(f,2)).replace("s",f).replace("SSS",Yt(h,3)),e}function P1(e,t){return t=t||"transparent",U(e)?e:B(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function kC(e,t){if(t==="_blank"||t==="blank"){var r=window.open();r.opener=null,r.location.href=e}else window.open(e,t)}var Da=T,O1=["left","right","top","bottom","width","height"],Br=[["width","left","right"],["height","top","bottom"]];function pl(e,t,r,n,i){var a=0,o=0;n==null&&(n=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(u,l){var f=u.getBoundingRect(),h=t.childAt(l+1),c=h&&h.getBoundingRect(),v,d;if(e==="horizontal"){var y=f.width+(c?-c.x+f.x:0);v=a+y,v>n||u.newline?(a=0,v=y,o+=s+r,s=f.height):s=Math.max(s,f.height)}else{var p=f.height+(c?-c.y+f.y:0);d=o+p,d>i||u.newline?(a+=s+r,o=0,d=p,s=f.width):s=Math.max(s,f.width)}u.newline||(u.x=a,u.y=o,u.markRedraw(),e==="horizontal"?a=v+r:o=d+r)})}var BC=pl;zr(pl,"vertical");zr(pl,"horizontal");function FC(e,t,r){var n=t.width,i=t.height,a=dt(e.left,n),o=dt(e.top,i),s=dt(e.right,n),u=dt(e.bottom,i);return(isNaN(a)||isNaN(parseFloat(e.left)))&&(a=0),(isNaN(s)||isNaN(parseFloat(e.right)))&&(s=n),(isNaN(o)||isNaN(parseFloat(e.top)))&&(o=0),(isNaN(u)||isNaN(parseFloat(e.bottom)))&&(u=i),r=Hd(r||0),{width:Math.max(s-a-r[1]-r[3],0),height:Math.max(u-o-r[0]-r[2],0)}}function k1(e,t,r){r=Hd(r||0);var n=t.width,i=t.height,a=dt(e.left,n),o=dt(e.top,i),s=dt(e.right,n),u=dt(e.bottom,i),l=dt(e.width,n),f=dt(e.height,i),h=r[2]+r[0],c=r[1]+r[3],v=e.aspect;switch(isNaN(l)&&(l=n-s-c-a),isNaN(f)&&(f=i-u-h-o),v!=null&&(isNaN(l)&&isNaN(f)&&(v>n/i?l=n*.8:f=i*.8),isNaN(l)&&(l=v*f),isNaN(f)&&(f=l/v)),isNaN(a)&&(a=n-s-l-c),isNaN(o)&&(o=i-u-f-h),e.left||e.right){case"center":a=n/2-l/2-r[3];break;case"right":a=n-l-c;break}switch(e.top||e.bottom){case"middle":case"center":o=i/2-f/2-r[0];break;case"bottom":o=i-f-h;break}a=a||0,o=o||0,isNaN(l)&&(l=n-c-a-(s||0)),isNaN(f)&&(f=i-h-o-(u||0));var d=new Q(a+r[3],o+r[0],l,f);return d.margin=r,d}function NC(e,t,r,n,i,a){var o=!i||!i.hv||i.hv[0],s=!i||!i.hv||i.hv[1],u=i&&i.boundingMode||"all";if(a=a||e,a.x=e.x,a.y=e.y,!o&&!s)return!1;var l;if(u==="raw")l=e.type==="group"?new Q(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(l=e.getBoundingRect(),e.needLocalTransform()){var f=e.getLocalTransform();l=l.clone(),l.applyTransform(f)}var h=k1(ct({width:l.width,height:l.height},t),r,n),c=o?h.x-l.x:0,v=s?h.y-l.y:0;return u==="raw"?(a.x=c,a.y=v):(a.x+=c,a.y+=v),a===e&&e.markRedraw(),!0}function zC(e,t){return e[Br[t][0]]!=null||e[Br[t][1]]!=null&&e[Br[t][2]]!=null}function $a(e){var t=e.layoutMode||e.constructor.layoutMode;return B(t)?t:t?{type:t}:null}function Xa(e,t,r){var n=r&&r.ignoreSize;!k(n)&&(n=[n,n]);var i=o(Br[0],0),a=o(Br[1],1);l(Br[0],e,i),l(Br[1],e,a);function o(f,h){var c={},v=0,d={},y=0,p=2;if(Da(f,function(m){d[m]=e[m]}),Da(f,function(m){s(t,m)&&(c[m]=d[m]=t[m]),u(c,m)&&v++,u(d,m)&&y++}),n[h])return u(t,f[1])?d[f[2]]=null:u(t,f[2])&&(d[f[1]]=null),d;if(y===p||!v)return d;if(v>=p)return c;for(var g=0;g<f.length;g++){var _=f[g];if(!s(c,_)&&s(e,_)){c[_]=e[_];break}}return c}function s(f,h){return f.hasOwnProperty(h)}function u(f,h){return f[h]!=null&&f[h]!=="auto"}function l(f,h,c){Da(f,function(v){h[v]=c[v]})}}function Gd(e){return B1({},e)}function B1(e,t){return t&&e&&Da(O1,function(r){t.hasOwnProperty(r)&&(e[r]=t[r])}),e}var F1=pt(),Dn=function(e){G(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return a.uid=Co("ec_cpt_model"),a}return t.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=$a(this),a=i?Gd(r):{},o=n.getTheme();ut(r,o.get(this.mainType)),ut(r,this.getDefaultOption()),i&&Xa(r,a,i)},t.prototype.mergeOption=function(r,n){ut(this.o
import { `+n+` } from 'echarts/components';
echarts.use([`+n+"]);"),qa[n]=!0)}})}var qd=function(e){G(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(r,n,i,a,o,s){a=a||{},this.option=null,this._theme=new Ge(a),this._locale=new Ge(o),this._optionManager=s},t.prototype.setOption=function(r,n,i){W(r!=null,"option is null/undefined"),W(r[Ds]!==gh,"please use chart.getOption()");var a=mh(n);this._optionManager.setOption(r,i,a),this._resetOption(null,a)},t.prototype.resetOption=function(r,n){return this._resetOption(r,mh(n))},t.prototype._resetOption=function(r,n){var i=!1,a=this._optionManager;if(!r||r==="recreate"){var o=a.mountOption(r==="recreate");Z1(o),!this.option||r==="recreate"?ph(this,o):(this.restoreData(),this._mergeOption(o,n)),i=!0}if((r==="timeline"||r==="media")&&this.restoreData(),!r||r==="recreate"||r==="timeline"){var s=a.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,n))}if(!r||r==="recreate"||r==="media"){var u=a.getMediaOption(this);u.length&&T(u,function(l){i=!0,this._mergeOption(l,n)},this)}return i},t.prototype.mergeOption=function(r){this._mergeOption(r,null)},t.prototype._mergeOption=function(r,n){var i=this.option,a=this._componentsMap,o=this._componentsCount,s=[],u=X(),l=n&&n.replaceMergeMainTypeMap;H1(this),T(r,function(h,c){h!=null&&(ft.hasClass(c)?c&&(s.push(c),u.set(c,!0)):i[c]=i[c]==null?tt(h):ut(i[c],h,!0))}),l&&l.each(function(h,c){ft.hasClass(c)&&!u.get(c)&&(s.push(c),u.set(c,!0))}),ft.topologicalTravel(s,ft.getAllClassMainTypes(),f,this);function f(h){var c=W1(this,h,wt(r[h])),v=a.get(h),d=v?l&&l.get(h)?"replaceMerge":"normalMerge":"replaceAll",y=C0(v,c,d);E0(y,h,ft),i[h]=null,a.set(h,null),o.set(h,0);var p=[],g=[],_=0,m,w;T(y,function(b,S){var M=b.existing,C=b.newOption;if(!C)M&&(M.mergeOption({},this),M.optionUpdated({},!1));else{var D=h==="series",L=ft.getClass(h,b.keyInfo.subType,!D);if(!L){{var x=b.keyInfo.subType,I=q1[x];qa[x]||(qa[x]=!0,Dt(I?"Series "+x+` is used but not imported.
import { `+I+` } from 'echarts/charts';
echarts.use([`+I+"]);":"Unkown series "+x))}return}if(h==="tooltip"){if(m){w||(Qu("Currently only one tooltip component is allowed."),w=!0);return}m=!0}if(M&&M.constructor===L)M.name=b.keyInfo.name,M.mergeOption(C,this),M.optionUpdated(C,!1);else{var R=O({componentIndex:S},b.keyInfo);M=new L(C,this,this,R),O(M,R),b.brandNew&&(M.__requireNewView=!0),M.init(C,this,this),M.optionUpdated(null,!0)}}M?(p.push(M.option),g.push(M),_++):(p.push(void 0),g.push(void 0))},this),i[h]=p,a.set(h,g),o.set(h,_),h==="series"&&Ji(this)}this._seriesIndices||Ji(this)},t.prototype.getOption=function(){var r=tt(this.option);return T(r,function(n,i){if(ft.hasClass(i)){for(var a=wt(n),o=a.length,s=!1,u=o-1;u>=0;u--)a[u]&&!Sn(a[u])?s=!0:(a[u]=null,!s&&o--);a.length=o,r[i]=a}}),delete r[Ds],r},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(r){this._payload=r},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(r,n){var i=this._componentsMap.get(r);if(i){var a=i[n||0];if(a)return a;if(n==null){for(var o=0;o<i.length;o++)if(i[o])return i[o]}}},t.prototype.queryComponents=function(r){var n=r.mainType;if(!n)return[];var i=r.index,a=r.id,o=r.name,s=this._componentsMap.get(n);if(!s||!s.length)return[];var u;return i!=null?(u=[],T(wt(i),function(l){s[l]&&u.push(s[l])})):a!=null?u=yh("id",a,s):o!=null?u=yh("name",o,s):u=gt(s,function(l){return!!l}),_h(u,r)},t.prototype.findComponents=function(r){var n=r.query,i=r.mainType,a=s(n),o=a?this.queryComponents(a):gt(this._componentsMap.get(i),function(l){return!!l});return u(_h(o,r));function s(l){var f=i+"Index",h=i+"Id",c=i+"Name";return l&&(l[f]!=null||l[h]!=null||l[c]!=null)?{mainType:i,index:l[f],id:l[h],name:l[c]}:null}function u(l){return r.filter?gt(l,r.filter):l}},t.prototype.eachComponent=function(r,n,i){var a=this._componentsMap;if(q(r)){var o=n,s=r;a.each(function(h,c){for(var v=0;h&&v<h.length;v++){var d=h[v];d&&s.call(o,c,d,d.componentIndex)}})}else for(var u=U(r)?a.get(r):B(r)?this.findComponents(r):null,l=0;u&&l<u.length;l++){var f=u[l];f&&n.call(i,f,f.componentIndex)}},t.prototype.getSeriesByName=function(r){var n=ge(r,null);return gt(this._componentsMap.get("series"),function(i){return!!i&&n!=null&&i.name===n})},t.prototype.getSeriesByIndex=function(r){return this._componentsMap.get("series")[r]},t.prototype.getSeriesByType=function(r){return gt(this._componentsMap.get("series"),function(n){return!!n&&n.subType===r})},t.prototype.getSeries=function(){return gt(this._componentsMap.get("series"),function(r){return!!r})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(r,n){Nn(this),T(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];r.call(n,a,i)},this)},t.prototype.eachRawSeries=function(r,n){T(this._componentsMap.get("series"),function(i){i&&r.call(n,i,i.componentIndex)})},t.prototype.eachSeriesByType=function(r,n,i){Nn(this),T(this._seriesIndices,function(a){var o=this._componentsMap.get("series")[a];o.subType===r&&n.call(i,o,a)},this)},t.prototype.eachRawSeriesByType=function(r,n,i){return T(this.getSeriesByType(r),n,i)},t.prototype.isSeriesFiltered=function(r){return Nn(this),this._seriesIndicesMap.get(r.componentIndex)==null},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(r,n){Nn(this);var i=[];T(this._seriesIndices,function(a){var o=this._componentsMap.get("series")[a];r.call(n,o,a)&&i.push(a)},this),this._seriesIndices=i,this._seriesIndicesMap=X(i)},t.prototype.restoreData=function(r){Ji(this);var n=this._componentsMap,i=[];n.each(function(a,o){ft.hasClass(o)&&i.push(o)}),ft.topologicalTravel(i,ft.getAllClassMainTypes(),function(a){T(n.get(a),function(o){o&&(a!=="series"||!K1(o,r))&&o.restoreData()})})},t.internalField=function(){Ji=function(r){var n=r._seriesIndices=[];T(r._componentsMap.get("series"),function(i){i&&n.push(i.componentIndex)}),r._seriesIndicesMap=X(n)},Nn=function(r
`)}).join(`
`);T0(l)}return F(u,function(f,h){var c="";B(f)||(c="A transform should not return some empty results.",Ot(c)),f.data||(c="Transform result data should be not be null or undefined",Ot(c));var v=jd(f.data);Sl(v)||(c="Transform result data should be array rows or object rows.",Ot(c));var d,y=t[0];if(y&&h===0&&!f.dimensions){var p=y.startIndex;p&&(f.data=y.data.slice(0,p).concat(f.data)),d={seriesLayoutBy:Le,sourceHeader:p,dimensions:y.metaRawOption.dimensions}}else d={seriesLayoutBy:Le,sourceHeader:0,dimensions:f.dimensions};return Lu(f.data,d,null)})}function Sl(e){return e===Gt||e===me}var Eo="undefined",zw=typeof Uint32Array===Eo?Array:Uint32Array,Hw=typeof Uint16Array===Eo?Array:Uint16Array,sp=typeof Int32Array===Eo?Array:Int32Array,Eh=typeof Float64Array===Eo?Array:Float64Array,up={float:Eh,int:sp,ordinal:Array,number:Array,time:Eh},Es;function Hn(e){return e>65535?zw:Hw}function an(){return[1/0,-1/0]}function Gw(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function Ph(e,t,r,n,i){var a=up[r||"float"];if(i){var o=e[t],s=o&&o.length;if(s!==n){for(var u=new a(n),l=0;l<s;l++)u[l]=o[l];e[t]=u}}else e[t]=new a(n)}var Iu=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=X()}return e.prototype.initData=function(t,r,n){W(q(t.getItem)&&q(t.count),"Inavlid data provider."),this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),a=this.defaultDimValueGetter=Es[i.sourceFormat];this._dimValueGetter=n||a,this._rawExtent=[];var o=tp(i);this._dimensions=F(r,function(s){return o&&W(s.property!=null),{type:s.type,property:s.property}}),this._initDataFromProvider(0,t.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(t,r){var n=this._calcDimNameToIdx,i=this._dimensions,a=n.get(t);if(a!=null){if(i[a].type===r)return a}else a=i.length;return i[a]={type:r},n.set(t,a),this._chunks[a]=new up[r||"float"](this._rawCount),this._rawExtent[a]=an(),a},e.prototype.collectOrdinalMeta=function(t,r){var n=this._chunks[t],i=this._dimensions[t],a=this._rawExtent,o=i.ordinalOffset||0,s=n.length;o===0&&(a[t]=an());for(var u=a[t],l=o;l<s;l++){var f=n[l]=r.parseAndCollect(n[l]);u[0]=Math.min(f,u[0]),u[1]=Math.max(f,u[1])}i.ordinalMeta=r,i.ordinalOffset=s,i.type="ordinal"},e.prototype.getOrdinalMeta=function(t){var r=this._dimensions[t],n=r.ordinalMeta;return n},e.prototype.getDimensionProperty=function(t){var r=this._dimensions[t];return r&&r.property},e.prototype.appendData=function(t){W(!this._indices,"appendData can only be called on raw data.");var r=this._provider,n=this.count();r.appendData(t);var i=r.count();return r.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},e.prototype.appendValues=function(t,r){for(var n=this._chunks,i=this._dimensions,a=i.length,o=this._rawExtent,s=this.count(),u=s+Math.max(t.length,r||0),l=0;l<a;l++){var f=i[l];Ph(n,l,f.type,u,!0)}for(var h=[],c=s;c<u;c++)for(var v=c-s,d=0;d<a;d++){var f=i[d],y=Es.arrayRows.call(this,t[v]||h,f.property,v,d);n[d][c]=y;var p=o[d];y<p[0]&&(p[0]=y),y>p[1]&&(p[1]=y)}return this._rawCount=this._count=u,{start:s,end:u}},e.prototype._initDataFromProvider=function(t,r,n){for(var i=this._provider,a=this._chunks,o=this._dimensions,s=o.length,u=this._rawExtent,l=F(o,function(_){return _.property}),f=0;f<s;f++){var h=o[f];u[f]||(u[f]=an()),Ph(a,f,h.type,r,n)}if(i.fillStorage)i.fillStorage(t,r,a,u);else for(var c=[],v=t;v<r;v++){c=i.getItem(v,c);for(var d=0;d<s;d++){var y=a[d],p=this._dimValueGetter(c,l[d],v,d);y[v]=p;var g=u[d];p<g[0]&&(g[0]=p),p>g[1]&&(g[1]=p)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=r,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,r){if(!(r>=0&&r<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(r)]:NaN},e.prototype.getValues=function(t,r){var n=[],i=[];if(r==null){r=t,t=[];for(var a=0;a<this._dimens
`,`
`,`
`];function Ru(e,t){return t.type=e,t}function Au(e){return e.type==="section"}function vp(e){return Au(e)?Uw:Yw}function cp(e){if(Au(e)){var t=0,r=e.blocks.length,n=r>1||r>0&&!e.noHeader;return T(e.blocks,function(i){var a=cp(i);a>=t&&(t=a+ +(n&&(!a||Au(i)&&!i.noHeader)))}),t}return 0}function Uw(e,t,r,n){var i=t.noHeader,a=$w(cp(t)),o=[],s=t.blocks||[];W(!s||k(s)),s=s||[];var u=e.orderMode;if(t.sortBlocks&&u){s=s.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(Wr(l,u)){var f=new Lw(l[u],null);s.sort(function(d,y){return f.evaluate(d.sortParam,y.sortParam)})}else u==="seriesDesc"&&s.reverse()}T(s,function(d,y){var p=t.valueFormatter,g=vp(d)(p?O(O({},e),{valueFormatter:p}):e,d,y>0?a.html:0,n);g!=null&&o.push(g)});var h=e.renderMode==="richText"?o.join(a.richText):Eu(o.join(""),i?r:a.html);if(i)return h;var c=Cu(t.header,"ordinal",e.useUTC),v=hp(n,e.renderMode).nameStyle;return e.renderMode==="richText"?dp(e,c,v)+a.richText+h:Eu('<div style="'+v+";"+fp+';">'+$t(c)+"</div>"+h,r)}function Yw(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,u=t.name,l=e.useUTC,f=t.valueFormatter||e.valueFormatter||function(w){return w=k(w)?w:[w],F(w,function(b,S){return Cu(b,k(v)?v[S]:v,l)})};if(!(a&&o)){var h=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),c=a?"":Cu(u,"ordinal",l),v=t.valueType,d=o?[]:f(t.value),y=!s||!a,p=!s&&a,g=hp(n,i),_=g.nameStyle,m=g.valueStyle;return i==="richText"?(s?"":h)+(a?"":dp(e,c,_))+(o?"":Zw(e,d,y,p,m)):Eu((s?"":h)+(a?"":Xw(c,!s,_))+(o?"":qw(d,y,p,m)),r)}}function $C(e,t,r,n,i,a){if(!!e){var o=vp(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function $w(e){return{html:Vw[e],richText:Ww[e]}}function Eu(e,t){var r='<div style="clear:both"></div>',n="margin: "+t+"px 0 0";return'<div style="'+n+";"+fp+';">'+e+r+"</div>"}function Xw(e,t,r){var n=t?"margin-left:2px":"";return'<span style="'+r+";"+n+'">'+$t(e)+"</span>"}function qw(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=k(e)?e:[e],'<span style="'+a+";"+n+'">'+F(e,function(o){return $t(o)}).join("&nbsp;&nbsp;")+"</span>"}function dp(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function Zw(e,t,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(k(t)?t.join(" "):t,a)}function Kw(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return P1(n)}function XC(e,t){var r=e.get("padding");return r!=null?r:t==="richText"?[8,10]:10}var qC=function(){function e(){this.richTextStyles={},this._nextStyleNameId=mc()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var i=n==="richText"?this._generateStyleName():null,a=E1({color:r,type:t,renderMode:n,markerId:i});return U(a)?a:(W(i),this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};k(r)?T(r,function(a){return O(n,a)}):O(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e}();function Qw(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),u=k(s),l=Kw(t,r),f,h,c,v;if(o>1||u&&!o){var d=Jw(s,t,r,a,l);f=d.inlineValues,h=d.inlineValueTypes,c=d.blocks,v=d.inlineValues[0]}else if(o){var y=i.getDimensionInfo(a[0]);v=f=Za(i,r,a[0]),h=y.type}else v=f=u?s[0]:s;var p=Mc(t),g=p&&t.name||"",_=i.getName(r),m=n?g:_;return Ru("section",{header:g,noHeader:n||!p,sortParam:v,blocks:[Ru("nameValue",{markerType:"item",markerColor:l,name:m,noName:!Ne(m),value:f,valueType:h})].concat(c||[])})}function Jw(e,t,r,n,i){var a=t.getData(),o=nr(e,function(h,c,v){var d=a.getDimensionInfo(v);return h=h||d&&d.tooltip!==!1&&d.displayName!=null},!1),s=[],u=[],l=[];n.length?T(n,function(h){f(Za(a,r,h),h)}):T(e,f);function f(h,c){var v=a.getDimensionInfo(c);!v||v.otherDims.tooltip===!1||(o?l.push(Ru("nameValue",{markerType:"subItem",markerColor:i,name:v.displayName,valu